@morash
that opens up a veryyy large number of security holes. For one, I can simply change the value of the IntValue if I wanted to.
RemoteEvents are much more secure.
And instead of using IntValues, just store it in a local _G key if the value isn't very important. IntValues are laggier than using a _G value, since you have to actually create a new instance, set its parent to replicated storage, etc. Whereas _G is simply table manipulation. |