Weird random Vector3 when Passed through RemoteEvent and replicated across all clients

Hello, I’ve been hard at work on some new guns, and I’ve decided to make all the bullets replicated, however for some reason the value passed is always different(and totally random) from the value I wanted.

The bottom value here is the actual Vector3 value while the top is what seems to be returned after being passed onto the server and then replicated across all clients.

Here is the Gun’s localscript where the values are sent from(They’re all vector3):

Here is the Gun’s serverscript where it’s then passed

And here is where the replicater seems to print off the Vector3s as random numbers:

I’m hoping this can be solved without me giving the whole entirety of my three scripts, trust me, that would not be pretty.

Is the arbitrary position maybe ‘p’? It looks like that is what gets used instead of pos2 unless you’re firing into the sky.

This is kind of embarrassing, I forgot to disable ray collisions with any attachments, consider this solved.

1 Like