I am trying to make an attack when you hold an item, here's the script I tried, but failed.

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

When I hold my item it doesn't print anything.

5 comments

0

remove the wait

0

Nope, still.

3

I had this problem before. Does the tool have a handle part? If youre not trying to use a handle, go in the properties of the tool and deselect "RequiresHandle".

1

Tools whose RequiresHandle property is true and does not have a handle, the Equipped, Activated, Unequipped, and Deactivated events won't fire.

1

@ScrubSadmir, YOU'RE MY LORD AND SAVIOR. THANK YOU.