Do something when Tool is equipped or unequipped

0

If you have a tool named "Shield" in StarterPack

StarterPack/Shield/Script
local Tool = script.Parent

local function toolEquipped()
    print("Tool Equipped")
end
Tool.Equipped:Connect(toolEquipped)

local function toolUnequipped()
    print("Tool UnEquipped")
end
Tool.Unequipped:Connect(toolUnequipped)

  • 0 posts
  • 2 subtopics
  • 23 days ago by vince