#Cant increase jump height

1 messages · Page 1 of 1 (latest)

balmy axle
#

So this is my script and i cant increase a player jump height after buying it can anyone help me?
this is the code on the server side:
IncreaseJumpheightFunction.OnServerInvoke = function(player, cost)
local buySuccessful = false

if player.leaderstats.Coins.Value >= cost then
    player.leaderstats.Coins.Value -= cost
    buySuccessful = true
end

return buySuccessful

end

I am still learning remote functions so its not that good

bitter cedar
#

set jumpheight instead of jumppower

balmy axle
bitter cedar
#

you probably dont have enough coins, add prints to check if code is running