Hello developers, I’ve recently made a script that will increase your jump value on the leaderboard and your jump power each time you jump, however, it does not work.
local player = game.Players.LocalPlayer
local character = player.Character
local humanoid = character.Humanoid
local leaderstats = game.Players.LocalPlayer:WaitForChild("leaderstats")
humanoid:GetPropertyChangedSignal("Jump"):Connect(function()
leaderstats.jumps.Value = leaderstats.jumps.Value + 1
humanoid.JumpPower = humanoid.JumpPower + 1
end)
If somebody knows the solution to this, please leave a reply.
Thanks!