I have a local script in the StarterPlayerScripts that contains int values. I want to modify these int values from a server script and when I tested, modifying them only worked in a local test not online. So how do I get a server script to get to a player's PlayerScripts folder?
i.e
- local script has int values of things like 'speed' and 'top speed'
- player touches a part in game to boost speed
- script looks for the values in the player's playerscripts
- value is there in local test but not there in online test
- script doesn't work online

5 comments
you can't, put the LocalScript somewhere else
What if I move the int values somewhere the server can access them but make so that they are only for the player playing? What place would be appropriate?
the player would be good
Like, the player object
Use RemoteEvents/RemoteFunctions to achieve this