I’ve been looking at a lot of people’s DevForum topics, modules, source code, and other scripts, and I’ve noticed a few things.
Some DevForum topics relating to increasing performance say that you have clients handle a lot of things.
I’ve also seen in some source code for guns, the scripter coded it where when the player activated the gun, a LocalScript fired an event to every client for of them to create bullets, and the server didn’t get involved in this.
If this would help increase performance, I would like to do the same, but I don’t see how damage would be applied to characters hit by the bullets if the server isn’t involved.
Are effects, tweens, bullets, and a lot of other things supposed to be run on the client? And how would I handle them when the server needs to know about when they’re run on clients only?
I’m especially asking about what you run on the client, like tweens.
Also, on games like JailBreak where you point your gun and your character’s Motor6D are updated, doesn’t that require a lot of firing RemoteEvents from client to server to update the C0 or C1 based on the player’s mouse position?