--Listen for input



seat:GetPropertyChangedSignal("Occupant"):Connect(function()
if seat.Occupant ~= nil then 
seat.Sound.Volume = 1
seat.Sound.PlaybackSpeed = 2
for i,v in pairs(script.Parent.Parts.Effect.EffectPart:GetChildren()) do
if v.Name == "Effect" then
v.Enabled = true 
end
end
	else
seat.Sound.Volume = 0
seat.Sound.PlaybackSpeed = 2
for i,v in pairs(script.Parent.Parts.Effect.EffectPart:GetChildren()) do
if v.Name == "Effect" then
v.Enabled = false 
end
end
end
end)

seat:GetPropertyChangedSignal("Throttle"):Connect(function()
local goal = {}
local goal2 = {}

goal.Force = Vector3.new(seat.Throttle, 0, 0) * 100000
if seat.Throttle == 1 then goal2.PlaybackSpeed = 4	else goal2.PlaybackSpeed = 2 end
local Sound = TS:Create(seat.Sound,TI,goal2)
local Throttle = TS:Create(vectorForce,TI,goal)
Throttle:Play()
Sound:Play()
end)

seat:GetPropertyChangedSignal("Steer"):Connect(function()
	torque.Torque = Vector3.new(0, -seat.Steer, 0) * 500000
end)

