ServerScriptService.Health:1: attempt to index nil with 'WaitForChild' So This Is The Error I Been Getting And This Is My Script
local maxhp = game.Players.LocalPlayer:WaitForChild("Humanoid").MaxHealth
local Endurance = game.Players.LocalPlayer:WaitForChild("leaderstats").Endurance
while wait() do
maxhp = 100 + (Endurance.Value)
end
This Is A Normal Script Too, And Its In ServerScriptStorage
