while true do
wait()
if script.Parent.Throttle == 1 then
script.Parent.Value.Value = script.Parent.Value.Value + 1
wait(0.3)
end
if script.Parent.Throttle == -1 then
script.Parent.Value.Value = script.Parent.Value.Value - 1
wait(0.3)
end
if script.Parent.Value.Value == -1 then
script.Parent.Value.Value = 0
wait()
end
script.Parent.BodyVelocity.Velocity = script.Parent.CFrame.LookVector*(script.Parent.Value.Value)
end
This is the script I’m using.
I’ve used VectorForce instead of BodyThrust, but I don’t like it because even if I use the brakes, it runs backwards past 0.