of     1   

gangman67
#183526717Saturday, February 13, 2016 8:09 PM GMT

Ok, so Currently for Stamina on a player. when the player clicks the shift he runs and the stamina lowers. Im doing this all from the server though I I dont know if thats bad or good, like should I do it from the server or should I make a local variable in the local script an make the client do all the math and stuff, Could this be more exploitable?
super10099
#183526959Saturday, February 13, 2016 8:11 PM GMT

if you made it do from a local script, the player can change the variables.. i tink
LongKillKreations
#183526988Saturday, February 13, 2016 8:11 PM GMT

If there is very noticeable latency when handling it from the server, and you can't work around this, it might be best to handle this locally. If it was exploited, I can't image just being able to sprint all the time, for example, is a big deal (and they could just change their speed, anyway).
DrHaximus
#183527163Saturday, February 13, 2016 8:14 PM GMT

the client can already change its own speed locally, to be fair. if latency is an issue, handle the sprinting on the client and asynchronously moderate the sprinting on the server to watch for any foul play
gangman67
#183527913Saturday, February 13, 2016 8:25 PM GMT

Ah ok currently latency is not an issue but if it becomes one then I will switch and see if that helps thanks
gangman67
#183528198Saturday, February 13, 2016 8:28 PM GMT

If I made it a local private module could they still easily exploit it?

    of     1