--//-//--


if carSeat.Throttle == -1 and carSeat.Steer == 1 then
	script.Parent.CC.Value = false
carSeat.Parent.Parent.LFW.FB.CanCollide = false
carSeat.Parent.Parent.LFW.RB.CanCollide = false

carSeat.Parent.Parent.LRW.FB.CanCollide = false
carSeat.Parent.Parent.LRW.RB.CanCollide = false

carSeat.Parent.Parent.RRW.FB.CanCollide = true
carSeat.Parent.Parent.RRW.RB.CanCollide = true

carSeat.Parent.Parent.RFW.FB.CanCollide = true
carSeat.Parent.Parent.RFW.RB.CanCollide = true

wait()
carSeat.Parent.Parent.RFW.FB.CanCollide = false
carSeat.Parent.Parent.RFW.RB.CanCollide = false

elseif carSeat.Throttle == -1 and carSeat.Steer == -1 then
	script.Parent.CC.Value = false
carSeat.Parent.Parent.LRW.FB.CanCollide = true
carSeat.Parent.Parent.LRW.RB.CanCollide = true

carSeat.Parent.Parent.RFW.FB.CanCollide = false
carSeat.Parent.Parent.RFW.RB.CanCollide = false

carSeat.Parent.Parent.RRW.FB.CanCollide = false
carSeat.Parent.Parent.RRW.RB.CanCollide = false

carSeat.Parent.Parent.LFW.FB.CanCollide = true
carSeat.Parent.Parent.LFW.RB.CanCollide = true

wait()
carSeat.Parent.Parent.LFW.FB.CanCollide = false
carSeat.Parent.Parent.LFW.RB.CanCollide = false

elseif carSeat.Throttle == 0 and script.Parent.CC.Value == true then
carSeat.Parent.Parent.LFW.FB.CanCollide = false
carSeat.Parent.Parent.LFW.RB.CanCollide = false

carSeat.Parent.Parent.LRW.FB.CanCollide = false
carSeat.Parent.Parent.LRW.RB.CanCollide = false

carSeat.Parent.Parent.RFW.FB.CanCollide = false
carSeat.Parent.Parent.RFW.RB.CanCollide = false

carSeat.Parent.Parent.RRW.FB.CanCollide = false
carSeat.Parent.Parent.RRW.RB.CanCollide = false

elseif carSeat.Throttle == 0 and script.Parent.CC.Value == false then
carSeat.Parent.Parent.LFW.FB.CanCollide = false
carSeat.Parent.Parent.LFW.RB.CanCollide = false

carSeat.Parent.Parent.LRW.FB.CanCollide = false
carSeat.Parent.Parent.LRW.RB.CanCollide = false

carSeat.Parent.Parent.RFW.FB.CanCollide = false
carSeat.Parent.Parent.RFW.RB.CanCollide = false

carSeat.Parent.Parent.RRW.FB.CanCollide = false
carSeat.Parent.Parent.RRW.RB.CanCollide = false

carSeat.Parent.Parent.RFW.VS.Throttle = 0
carSeat.Parent.Parent.LFW.VS.Throttle = 0
carSeat.Parent.Parent.RRW.VS.Throttle = 0
carSeat.Parent.Parent.LRW.VS.Throttle = 0
carSeat.Parent.Parent.RRW.VS.Torque = cst.Value
carSeat.Parent.Parent.RFW.VS.Torque = cst.Value
carSeat.Parent.Parent.LRW.VS.Torque = cst.Value
carSeat.Parent.Parent.LFW.VS.Torque = cst.Value

elseif carSeat.Throttle == 1 then
carSeat.Parent.Parent.LFW.FB.CanCollide = false
carSeat.Parent.Parent.LFW.RB.CanCollide = false

carSeat.Parent.Parent.LRW.FB.CanCollide = false
carSeat.Parent.Parent.LRW.RB.CanCollide = false

carSeat.Parent.Parent.RFW.FB.CanCollide = false
carSeat.Parent.Parent.RFW.RB.CanCollide = false

carSeat.Parent.Parent.RRW.FB.CanCollide = false
carSeat.Parent.Parent.RRW.RB.CanCollide = false

elseif carSeat.Throttle == -1 and carSeat.Steer == 0 and speed > 65 then
	script.Parent.CC.Value = false
carSeat.Parent.Parent.LFW.FB.CanCollide = true
carSeat.Parent.Parent.LFW.RB.CanCollide = true

carSeat.Parent.Parent.LRW.FB.CanCollide = true
carSeat.Parent.Parent.LRW.RB.CanCollide = true

carSeat.Parent.Parent.RFW.FB.CanCollide = true
carSeat.Parent.Parent.RFW.RB.CanCollide = true

carSeat.Parent.Parent.RRW.FB.CanCollide = true
carSeat.Parent.Parent.RRW.RB.CanCollide = true

elseif carSeat.Throttle == -1 and carSeat.Steer == 0 and speed < 65 then
	script.Parent.CC.Value = false
carSeat.Parent.Parent.LFW.FB.CanCollide = true
carSeat.Parent.Parent.LFW.RB.CanCollide = true

carSeat.Parent.Parent.LRW.FB.CanCollide = true
carSeat.Parent.Parent.LRW.RB.CanCollide = true

carSeat.Parent.Parent.RFW.FB.CanCollide = true
carSeat.Parent.Parent.RFW.RB.CanCollide = true

carSeat.Parent.Parent.RRW.FB.CanCollide = true
carSeat.Parent.Parent.RRW.RB.CanCollide = true

carSeat.Parent.Parent.RFW.VS.Throttle = 0
carSeat.Parent.Parent.LFW.VS.Throttle = 0
carSeat.Parent.Parent.RRW.VS.Throttle = 0
carSeat.Parent.Parent.LRW.VS.Throttle = 0
carSeat.Parent.Parent.RRW.VS.Torque = 6
carSeat.Parent.Parent.RFW.VS.Torque = 6
carSeat.Parent.Parent.LRW.VS.Torque = 6
carSeat.Parent.Parent.LFW.VS.Torque = 6

elseif carSeat.Velocity.Magnitude < 35 then
	script.Parent.CC.Value = false
			print("this is working")

		end
end