In a local script:
game.Players.LocalPlayer.CharacterAdded:Connect(function()
local ll = game.Players.LocalPlayer.leaderstats.Sugar.Value
while true do
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = tonumber(ll / 20)
game.Players.LocalPlayer.Character.Humanoid.JumpPower = tonumber(ll / 20)
end
end)
It is meant to change the jump power and walk speed to the Sugar leaderstats divided by 10.
Thanks.

6 comments
Make sure your script isn't actuallly instantly failing. In general an infinite while loop without a wait inside will almost instantly break.
I know, I just forgot
Any changes made to a value in a localscript will not change on the server. So other players wouldn’t see you waking or jumping faster or higher. Change 11 to a word. I don’t think you can name variables numbers without having a letter before it.
If you can that’s bad practice lol.
Just use a ServerScript with "game.Players.PlayerAdded".
Is the local 11 a number? If so, changed that to something not a number.