I want to give a player some cash, but if I do it in localscript saving doesn't work, because Changed events don't work when localscript performs it.
I need a remote event for increasing player cash through Script.
Fire should look like:
game.ReplicatedStorage.AddCash:FireServer(5)
so I want to increase localplayer's cash by 5.
Please send me, how to make it in server script.

1 comment
It doesn't need to be in a serverscript with leaderstats it can be in a separate script within workspace. (I also answered your question!)