I had a important question because I am thinking of a efficient way to send data over to clients (server to client only) and I was stuck with the question:
Does the 50 kilobytes per second limit only apply to remote events or does this also apply to objects and such created on the server?
Basically what I plan on doing is make a custom humanoid NPC wielding a gun.
The NPC uses raycasts and such to move around, optimized and all, but unimportant for now.
I want to have about 400 - 600 of those NPCs and they’re all wielding guns and ranged weapons and such.
And to replicate their gun firing and such, I am unsure to if I should use remoteevents or create string object values instead with a string value containing the data for bullet direction, etc, encoded in JSON or something and just use childadded on the client.
Should I use remote events to replicate those 600 NPCs firing full automatic guns or should I use remote events instead? Will creating stringvalues containing a string of bullet info also count up towards the 50kbps limit?
What would be the best way to replicate it and keep the traffic low and not clog up the queue with thousands of bullets as well?
Does it matter much if I use stringvalues or remoteevents to replicate all of this, what is faster and more efficient in a case like this?
Edit: I know physics and remote events have their own bandwith, but I’m talking about object creation and the remote event 50kbps limit, not physics.