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

I'm trying to make a players health the same as their level but my script is wrong how do i fix it?

here it is

local health = game.Players.Player.Leaderstats.Level
local player = game.Workspace.Player.Humanoid.MaxHealth

player = health

1 answer

✓ Accepted answer

Try doing this:

local health = game.Players.Player.Leaderstats.Level
local player = game.Workspace.Player.Humanoid.MaxHealth

player = health.Value

Hope this works!

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