How do I pass a cframe value through a remove event?

How do I pass a CFrame through a remove event? I am trying to replicate the movements from the vehicle local script to the server script so that all players can see the vehicle moving

You could do it like this:

RemoteEvent:FireServer(part.CFrame)
1 Like

Ah, awesome thank you. I was wondering whether you had any tips to reduce the lag? The remote event is in a while true loop so it keeps updating the server, but because it now keeps updating the vehicle is a bit more choppy than it originally was. Any tips to fix this?

If you don’t need to update the server every iteration of the while true loop, you could add a debounce to make it only fire every n iterations or once every n seconds.