I want to change a local object (custom) attribute.
so my first thought was to send the object to a server script and deal with the attribute changes there, the problem is, server scripts can not change local objects.
i thought about copying each players local object to the serverStorage and then every change that the object in the serverStorage will go through would be copied to the client, now if i have a lot of players, it can be buggy, also i dont think that its the most efficent way to do so.
So my question is, and i would obviously want to avoid any attribute changes in a local script, if its a local object and i cant send it the a server script, how can i change the same object attribute safely (preventing exploiters from changing the object attribute), also what would be the most efficent and best way to do it?
hopefully i described my problem clearly Thanks for anyone whos willing to help me!