Leaderstats won't change on serverinvoke

game:GetService("ReplicatedStorage").Jump.OnServerInvoke = function(player)
	print(player.Name)
	player.leaderstats.JumpPower.Value = player.leaderstats.JumpPower.Value + 0.2
		
end

I have this script there is no error in the output but the player’s leaderstats won’t change

this is the output

for this, instead of a remote function I’d recommend using a remote event.

1 Like

I wouldn’t make this remote at all personally, handle the whole thing on the server. Otherwise, you’re letting the client control it’s own stats.