Whenever JumpPower on the character is increased the leaderboard doesn't update. Is there something i'm missing?
game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
local leaderstats = Instance.new('Folder')
leaderstats.Name='leaderstats'
leaderstats.Parent = player
local jumpPower = character.Humanoid.JumpPower
local height = Instance.new('IntValue')
height.Value = 0
height.Parent = leaderstats
height.Name = 'Height'
local jump = Instance.new('IntValue')
jump.Value = jumpPower
jump.Parent = leaderstats
jump.Name = 'Jump'
end)
end)

1 comment
You need to figure out how to see if the player jumps, and then add +1 to the Jump value