local carDirection = car:GetPivot():VectorToObjectSpace(carVelocity)
if carDirection.Z < -5 then
assignedCars[plr] = nil
plr:LoadCharacter()
end
This is my code at the moment, it works in some places, and doesn’t in others.
This video shows it, I’m going forward and it doesn’t flag it as backward for some time, but then later at a certain place it does.
I’d like to emphasise that by backwards movement, I don’t just mean reverse, I also mean the car facing backwards. And checking Y orientation does not work, as shown in the video.