So I made a car, but i'm trying to steer it in a direction. When I tried it, it sent the car straight into the middle of the map. Can you help? anyways here is part of the code. (no stealing ^^)
if key == "a" and vehicleseat.Occupant == player.Character.Humanoid then
local l1 = workspace.Car:WaitForChild("Left1")
canOff = true
repeat
l1.CFrame = CFrame.fromEulerAnglesXYZ(workspace.Car.PrimaryPart.Position.X,workspace.Car.PrimaryPart.Position.Y + 0.5,workspace.Car.PrimaryPart.Position.Z)
r1.CFrame = CFrame.fromEulerAnglesXYZ(workspace.Car.PrimaryPart.Position.X,workspace.Car.PrimaryPart.Position.Y + 0.5,workspace.Car.PrimaryPart.Position.Z)
wait(0.01)
until canOff == false or vehicleseat.Occupant == nil
end
