I want to figure it out how to make this. I need a script about it but i don't know how to make it
like.
when the character is level 2, add 50 to max health
I want to figure it out how to make this. I need a script about it but i don't know how to make it
like.
when the character is level 2, add 50 to max health
Try This, you may have to tweak this script
game.Players.PlayerAdded:connect(function(player)
while true do
local lvl = player.leaderstats.level
local max = player.Humanoid.MaxHealth
if lvl.value == 2
then
max.Value = max.Value + 50
end
end
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
nah its just increases for level 2 i want it to increase it for every levels but thx.
Okay i did it somehow thanks.