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

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

Asked by 4 years ago

here it is

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

player = health

1 answer

Log in to vote
0
Answered by
B_rnz 171
4 years ago

Try doing this:

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

player = health.Value

Hope this works!

Ad

Answer this question