Ping is effecting gun performance

Okay so I made a gun that shoots and its well
The problem is that the player’s ping is severely effecting the performance of the gun.
The firerate is pretty fast but once your ping reaches like 100 then the firerate stutters and it slows down, not firing at normal speed.
Im not sure why this is happening, I see other games have good performing guns while you have like 200 ping yet mine falters at like 100.

Anyone know why this is the case?
for context, my gun fires on a local script and a bullet is created on a server script

The reason you’re seeing a difference in your games vs other games is most likely how you’re handling RemoteEvents.

On the client, do you fire exactly when they click to shoot? Do you have any yielding functions that might make it appear slower?

the remote event gets fired when you click shoot and there is a wait() after it which acts as a firerate

Why don’t you use SetNetworkOwner?

there really isnt anything to set a network owner to considering its mainly just scripts and raycasting