script.Parent.Humanoid.MaxHealth = 50 * game.Players:WaitForChild('Stats').Level.Value
script.Parent.Humanoid.Health = 50 * game.Players:WaitForChild('Stats').Level.Value
its a script in startercharcterscripts
Edit: i change my script but still doing the same thing
game.Players.PlayerAdded:Connect(function(player)
script.Parent.Humanoid.MaxHealth = 50 * player:WaitForChild('Stats').Level.Value
script.Parent.Humanoid.Health = 50 * player:WaitForChild('Stats').Level.Value
end)

3 comments
do you have any errors? Is there such a thing as "Stats" in the "Players" folder (Because I feel like you're supposed to get the Level from a player). Can you please elaborate on what you're trying to do?
times the players health by 50 for every level up
i have no errors