#Which is more efficient, instance values stored in server storage or replicated storage, or instance
1 messages · Page 1 of 1 (latest)
the fastest is to have the variable in the script probably
if you don't want to do it that way, then it depends whether you need a value on the client at any time, in case you only need to check the booleans value on the server, then drop it inside server storage
Yea it really just depends on what your use-case is. There's no inefficiency to be had with any of it because there's no complexity to determining whether a variable is true or false, it just either is or it isn't. From a memory standpoint. If you must contain the data in the hierarchy, attributes are the superior option over BoolValue objects
Depends on what exactly you're trying to do. Usually from my experience attribute or script assigned is the fastest.
Server storage would be better because any changes you make won't need to be sent to the clients but if you put anything in replicated storage then if you make any changes then that data needs to be sent to all clients