seat=script.Parent
local function onChange(property)
if property == "Throttle" then
leftdrive.AngularVelocity=maxspeed * seat.Throttle * gears
rightdrive.AngularVelocity=-maxspeed * seat.Throttle * gears
end
end
while wait (0.1) do
local speed = math.floor(seat.Velocity.Magnitude)
local gears
seat.Changed:connect(function()
if Speed < 5 then
gears=0.5
if Speed > 5 then
gears=1
This gives me an error,and the Problem is the gear dont updates If you keep press W,S and the throttle is Keep 1 or -1

2 comments
Is that the whole script?
Its the script which matters I guess,else there are only Variables and other things which dont deoend ob this