Sending numbers through remotes from server

Is it advisable to send int values from the server to the client? Can it be exploited?

I’m trying to update a player value that is decreasing.

The client would determine if the rate of decrease is slow or fast. Then, it sends a remote to the server to actually change that value and then return it to the client.

Remote events can be exploited by smart hackers, but yeah, feel free to send int values from the server to client, that is pretty safe, don’t send data from client to server that can change data in the server, that is very hackable.

Client → server → client hackable (data is sent to and from the client)
server → client → server (may be hackable, if the data sent changes anything in the server then it is hackable)
server → client (not hackable but can be altered for the client)
client → server (hackable)

2 Likes

No, the client can simply say my rate is 100000 or something.