Here is the script
local Player = game.Players.LocalPlayer --get the local player
local LVL = Player:WaitForChild("LevelingSystem"):WaitForChild("Lvl") --common reason as to why some LocalScripts don't work in studio, things haven't loaded in
LVL:GetPropertyChangedSignal("Value"):Connect(function()
Player.Character.Humanoid.MaxHealth = LVL.Value * 100
wait(0.1)
Player.Character.Humanoid.Health = Player.Character.Humanoid.MaxHealth
end)

1 comment
just put line 7,8,9 at the start and use syndicatehalos answer