Help with collectables

A post was split to a new topic: My script doesn’t work