Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Fixing lag with filtering enabled gun system?

Asked by 6 years ago

Hey, so I made some simple ray casting filtering enabled guns, with automatic fire.

However, they lag when multiple people are firing at once, I believe this is because I am continuously firing the event: ( script.Parent.shoot:FireServer(mouse.Hit.p) )

I'm not sure of any way else to make the guns work with Filtering Enabled, can anyone help?

0
https://scriptinghelpers.org/guides/how-to-use-remoteevents-properly There's an example with a gun a bit down the page. theCJarmy7 1293 — 6y
0
I should clarify I mean the game itself lags, like the entire server lags out. oldgoldie 0 — 6y
0
Provide the script for us. User#19524 175 — 6y

Answer this question