I checked out this script from someone on this website 3 years ago but it doesn't seem to work:
local plr = game.Players.LocalPlayer; local stats = plr:WaitForChild("leaderstats");
stats.BodyTempering.Changed:connect(function(change) local hum = plr.Character:FindFirstChild("Humanoid"); hum.MaxHealth = change*+1; --Change health hum.Health = change*+1; end)
I have a leaderstat BodyTempering inside Localplayer.Player.Leaderstats and I'm trying to change the value of the MaxHealth and Health to BodyTempering+1 (Because it begins at 0). If anyone can help I would be very greatful. The script has no known errors and humanoid is working fine. BTW I also don't know where to place the script because I started a couple of weeks ago.

5 comments
Sorry about the indenting being weird, it just copy and pasted that way.
I already have the leaderstat created with a save ability so how do i call upon it?
what do you mean by call upon it?
For example game.players.localplayer.leaderstats.bodytempering.value
i'm not sure what you mean by BodyTempering. Is it a value you made?