tool = script.Parent

tool.Equipped:connect(function()
	print "Equipped"
	humanoid = tool.Parent:FindFirstChild('Humanoid')
end)

tool.Activated:connect(function()
	print "activated"
	humanoid.Health = humanoid.Health - 5
end)

Pretty self-explanatory, but none of the events are firing for some reason. Anyone know why?

5 comments

0

Are you using a script to run this? (Not a localscript)

0

Would that matter Ruben?

0

Works for me. This is a LocalScript right?

0

Could it be because of how he defines Humanoid?

0

It is a localscript. And the events don't fire at all. No errors, it doesn't print. Nothing.