I'm trying to tell when a player equips a tool. This is in the PlayerGui, not the tool... Nothing happens when I try it:
local character = game.Workspace:WaitForChild(game.Players.LocalPlayer.Name) character.DescendantAdded:connect(function(descendant) if descendant.ClassName == "Tool" then print("Tool") end end)
You need to put this script in starterplayerscripts, it works when I put it in staterplayerscripts.