How to run a script to only 1 player in a multiplayer fps

So I am making a fps but I can’t run a script to only one player, instead to all the players; example, I shoot: the otherones shoot too, I reload: the other ones too.

So maybe a answer on how to shoot without the other one shoot also.


Don’t run the script on the server. Run it on the client, and synchronize appropriate variables/fields with the server end’s classes.

Look here for more info on how that would essentially work. You may also want to look here, and here, for some more in-depth example and help.

Also, take a look at this answer, for some more links to examples and tutorials (though some links are broken, most still work).