Tools and CollectionService

Does CollectionService/TagService work with tools? I need to know because I am making a game where you pick up tools and use them to progress through a maze.

Short answer: yes
Long Answer: Yes, tested it with:

local tool = game.Players.LocalPlayer.Backpack.Tool
tool:AddTag("deadly")

local CollectionService = game:GetService("CollectionService")
for _, object in pairs(CollectionService:GetTagged("deadly")) do

	print(object)

end
2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.