Leaderstats won't change for players but changes only for me

  1. What do you want to achieve? Keep it simple and clear!
    I had a game and when everyone joined they had the same stats. When I told them to click, they said they already clicked the clicker button but then it wouldn’t change.

  2. What is the issue? Include screenshots / videos if possible!
    image
    Remote


    Clicker script for remote
    image

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I have tried putting in a remote event to tell the server when they clicked. I have also tried changing the locations of the datastores.

1 Like

Instead of OnClientEvent do OnServerEvent as the Client one is meant for the client to listen to requests from the Server.

Also, I just saw in your local script you do event:FireClient() but you need to do event:FireServer() as you’re trying to invoke the server. Also you do not need to give the player as that is automatically added.

Thanks ScriptTops for helping. I thank you so much.