Hey! I made a tool, and I want it to do stuff when it’s equipped. But the equipped function never fires, for testing purposes I made it print("equipped").
I have done research on this topic and found that the “RequiresHandle” value could be affecting this but it doesn’t, I have tested it with the value set to true and false but neither work.
The tool is found in ServerScriptService under the script that duplicates it when the player joins the game and puts in their backpack.
not sure why your code isnt working but i wrote this code that should work fine
local Tool = script.Parent
Tool.AncestryChanged:Connect(function()
local Character = Tool.Parent
if game.Players:GetPlayerFromCharacter(Character) then else return end
-- Rest of your code here
end)
What is inside the localscript. Does the localscript get disabled. Is the localscript moved to another location so script.Parent doesn’t work anymore?
It’s a very simple event and should usually work fine.