Hello.

I am making a self driving car system. I got the collision system working.

So I want to make it so the car goes by it self (just straight), but when I change the Throttle value in the Car Seat in a loop it goes really slow, it's like it stutters and when I check the Throttle property it quickly changes Throttle from 0 to 1 then 1 to 0 etc.

I am currently just using NWSpacek's Transporter van for testing purposes.

Current code I have:


while true do
	workspace.Van.Drive.Throttle = 1
	wait()
end

And then I tried

workspace.Van.Drive.Changed:Connect(function()
	workspace.Van.Drive.Throttle = 1
end

but that is still not working. Here is how it's currently running: https://gyazo.com/44ce8305a7820e626bcf75db3a2fd3d2

I would appriciate it if you could help me with this issue.