So while I say a 'raycasting gun', I will use an answer for more complicated things, this is just a simple example I can think of.
Currently I am having the issue where, if I wanted to make a laser gun with Filtering Enabled on, when the beam is cast to from the gun to the target in the server (so that all players see the beam), there will be a slight delay with the raycasting as a RemoveEvent is being used.
Because of this, the beam's start position is delayed from where the current start position would be, causing the beam to be offset from the gun and look very ugly.
Aside from making the Ray local and thinking of clever ways (maybe with sounds and particles) to hide it, Are there any methods I can use to reduce the delay significantly? I'm guessing not, but I'd say its good to ask. Thanks.

2 comments
Raycast from the client and send that info to the server.
If you don't like the look only, I can give you the script where it positions the bullet smoothly