the variables in this script will be changed when a remote event is triggered, I was wondering when changing these variables with a function called by a remote event, will they be the same for other players that call the function?
Since this is server sided, it would be the same for all; depending on how you call it. If each player is supposed to change the variable, make sure that you use an incremental system such as kills = kills+1. Also noticed a typo, it is ‘kills’ and not ‘kils’ in the OnClientEvent function.
Your callback function does not yield, so no other code can run before the callback completes. You do not need to worry about race conditions if you don’t yield.