How do I control multiple tools/items with one script?


Description

I want to control tools/items that do similar things with one script to make it easier to edit; what is the best way to do this? There was a post I made a long while ago that I can’t seem to find that said something about a collection service or something along those lines to do this.


CollectionService essentially uses tags that you give to specific objects so you can manipulate them based on the tag. There are tag editor plugins to streamline giving a tag for objects. I used it with a tycoon, giving all Droppers a “dropper” tag. I would then run a script that gets all the dropper tags in the game and define their dropper loop. I remember having issues using it in a Tycoon but it’s an example of how it works.

2 Likes