So I know players can inject their own code. This makes me wonder though, what if a player injected code that fired RemoteEvents constantly and endlessly, wouldn't that slow down the server?
Thanks
Taken directly from the wiki:
For most devices and connections, a Roblox server can only send and receive about 50 KB/sec of data to each client, not including physics updates. That said, it is highly recommended to maintain a lower value during normal gameplay as sudden spikes in data transfer can cause lag and an overall subpar user experience.
Every time a remote event is fired or a remote function invoked, a packet of data is sent over the network between the server and client. This packet is counted towards the 50 KB/sec limit. If too many packets are sent (remote event or function used often), or too much data is sent per packet (lots of large arguments to the event or function), the latency of the connected clients can be adversely affected.
Yes, a client can spam remote events and functions, but I don't think it work slow down the server that much.