Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

[Simple] Values ?

Asked by 9 years ago

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)
0
Is this a 'IntValue' type instance, or a 'StringValue' type instance? TheeDeathCaster 2368 — 9y
0
Its an 'IntValue' Timster111 25 — 9y

1 answer

Log in to vote
1
Answered by 9 years ago

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

0
not working qq Timster111 25 — 9y
0
ok try it now immakin a change dudemanloserr 15 — 9y
Ad

Answer this question