1 | local tool = script.Parent |
2 | local HP = 10000 |
3 |
4 | while tool.Equipped = = true do |
5 | local hum = tool.Parent:FindFirstChild( "Humanoid" ) |
6 | hum.Health = hum.Health + HP |
7 | wait() |
8 | end |
I tried to make it so whenever the tool is equipped the player's HP just keep on increasing, I think that "tool.Equipped" part was wrong, can someone help?
tool.equipped
should be Tool.Activated
and, The humanoid variable could be wrong.