function newPlayer("Player")
Button = script.Parent
if Player onClick == Button
then
i = Instance.new("NumberValue")
i.Parent = Button
if i.Value == (0) then
i.Value = (1)
Player.MaxHealth = 125 -- Or helth
for i=1,1000 do
if i.Value = (0) then
i.Value = (1)
if i.Value = (1) then
Player.MaxHealth = 125
end
end
end
end
end
|