How can I make my variables and logic work per individual player instead of all

How can I make my script work per player instead of global

Hey, check out the 4. Tracking Players Using Maps tutorial. It will show you how to do this.