Client to Server raycasting help

So the problem for me is pretty simple really, whenever my gun shoots on the client the server can’t see it to show the other players. I’m thinking the answer is to have a RemoteEvent fire every time the player shoots to show the ray to the server, but I’m assuming this can effect performance.

Instead of every time a player clicks it fires the server -

  • Have the server checking for the client rays, and then putting a replica that stays in the workspace and fades over a few seconds to show the trail? (Would this be a RemoteFunction?)

I’m trying to think of some ways around this that may potentially not spam the server, im not sure if theres any way around this, but if you know of one please reply to this thread.

I think the other way is just fine, I don’t think any problems will theoretically show up, because I have no problem from sending lots of events to the server at a time.

Okay, but I’ve had some weapons made before for a game and the server had high latency due to all the automatic weapons firing the server. That game got a horrible rating.