tool.Equipped not firing!

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").

script.Parent.Equipped:Connect(function()
	print("equipped")
end)

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.
image

The tool is found in ServerScriptService under the script that duplicates it when the player joins the game and puts in their backpack.

image

Any help is appreciated.

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)

Is the state Enabled value set to true?

The state Enabled value is set to true.

@zddeisRBLX I would like to be able to figure out how to use .Equipped.

put a print right before the Tool.Equipped event and see if it prints

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.

Aha! I am an idiot, I had a :Wait() that was continuously waiting to prevent it from firing. Thankyou for the help everyone else though.

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