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

[Simple] Values ?

I want to make the value 100 when the player dies

game.Players.LocalPlayer.Character.Humanoid.Died:connect(function()
	game.Players.LocalPlayer.Health.Value = 100
end)

2 comments

0

Is this a 'IntValue' type instance, or a 'StringValue' type instance?

0

Its an 'IntValue'

1 answer

Replace game.Players.LocalPlayer.Health.Value = 100 with game.Players.LocalPlayer.Humanoid.Health = 100

2 comments

0

not working qq

0

ok try it now immakin a change

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