Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

I tried to make a god mode when the player equips the tool, it did not work what do I do?

local tool = script.Parent
local HP = 10000

while tool.Equipped == true do
	local hum = tool.Parent:FindFirstChild("Humanoid")
	hum.Health = hum.Health + HP
	wait()
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?

1 answer

✓ Accepted answer
  1. tool.equipped should be Tool.Activated and, The humanoid variable could be wrong.

This discussion is preserved as it was. New answers, comments, and votes are closed.