If I have a client script that needs to reference a value for attack speed, I bet it isn’t safe to simply store it on the client. I am wondering if there is a general way to store such info. For example, if I need attack speed as 2 on a client script that needs the value to reference for animations, what would be the best way to access this value? Should I ask the server for it, or does it just not matter?
If the client is using the value in any way then the client can modify the value, no matter how you send/store it.
You should just do it in the easiest way.
Some people like to put these kinds of values in value instances or attributes, other people like to store them inside dedicated module scripts, and many people just write the values as variables at the top of the script.
The client can not only modify instances, they can modify the actual code that’s running too (e.g. they could just change the line that gets the value from the server to just use whatever value they want instead).