winfob.FL.Lock.MouseButton1Click:connect(function()if carSeat.WindowFL.Value==false then carSeat.WindowFL.Value=true carSeat.Parent.Parent.DoorLD.Window.SS.Motor.DesiredAngle=-0.25 else carSeat.WindowFL.Value=false carSeat.Parent.Parent.DoorLD.Window.SS.Motor.DesiredAngle=0 end end)winfob.FR.Lock.MouseButton1Click:connect(function()if carSeat.WindowFR.Value==false then carSeat.WindowFR.Value=true carSeat.Parent.Parent.DoorRD.Window.SS.Motor.DesiredAngle=.25 else carSeat.WindowFR.Value=false carSeat.Parent.Parent.DoorRD.Window.SS.Motor.DesiredAngle=0 end end)winfob.RL.Lock.MouseButton1Click:connect(function()if carSeat.WindowRL.Value==false then carSeat.WindowRL.Value=true carSeat.Parent.Parent.DoorL.W.SS.Motor.DesiredAngle=.25 else carSeat.WindowRL.Value=false carSeat.Parent.Parent.DoorL.W.SS.Motor.DesiredAngle=0 end end)winfob.RR.Lock.MouseButton1Click:connect(function()if carSeat.WindowRR.Value==false then carSeat.WindowRR.Value=true carSeat.Parent.Parent.DoorR.W.SS.Motor.DesiredAngle=.25 else carSeat.WindowRR.Value=false carSeat.Parent.Parent.DoorR.W.SS.Motor.DesiredAngle=0 end end)while true do wait()if gear==-1 then HUB.Parent.Gauges.Circle.Zero.Gear.Text="\082"carSeat.Parent.Parent.Trunk.R1.Material="\078\101\111\110"carSeat.Parent.Parent.Trunk.R2.Material="\078\101\111\110"carSeat.Parent.R1.Material="\078\101\111\110"carSeat.Parent.R2.Material="\078\101\111\110"carSeat.Parent.Parent.Trunk.R1.Transparency=0 carSeat.Parent.Parent.Trunk.R2.Transparency=0 carSeat.Parent.R1.Transparency=0 carSeat.Parent.R2.Transparency=0 carSeat.Parent.Runners.O.Disp.One.Visible=false carSeat.Parent.Runners.O.Disp.Two.Visible=true elseif gear==0 then HUB.Parent.Gauges.Circle.Zero.Gear.Text="\078"carSeat.Parent.Parent.Trunk.R1.Material="\083\109\111\111\116\104\080\108\097\115\116\105\099"carSeat.Parent.Parent.Trunk.R2.Material="\083\109\111\111\116\104\080\108\097\115\116\105\099"carSeat.Parent.R1.Material="\083\109\111\111\116\104\080\108\097\115\116\105\099"carSeat.Parent.R2.Material="\083\109\111\111\116\104\080\108\097\115\116\105\099"carSeat.Parent.Parent.Trunk.R1.Transparency=.9 carSeat.Parent.Parent.Trunk.R2.Transparency=.9 carSeat.Parent.R1.Transparency=.9 carSeat.Parent.Runners.O.Disp.One.Visible=true carSeat.Parent.Runners.O.Disp.Two.Visible=false carSeat.Parent.R2.Transparency=.9 elseif gear==1 then HUB.Parent.Gauges.Circle.Zero.Gear.Text="\068"end if carSeat.Throttle==1 and gear>=1 or gear==-1 and carSeat.Throttle==1 then if carSeat.InsaneMode.Value==true and carSeat.Power.Value<60 then carSeat.Power.Value=carSeat.Power.Value+3 elseif carSeat.InsaneMode.Value==false and carSeat.Power.Value<40 then carSeat.Power.Value=carSeat.Power.Value+2 end else carSeat.Power.Value=0 end limitButton.Parent.Time.Text=game.Lighting.TimeOfDay end
------CruisinWithMyHomies ^---

winfob.FL.Lock.MouseButton1Click:connect(function() --Window
	if carSeat.WindowFL.Value == false then
		carSeat.WindowFL.Value = true
		carSeat.Parent.Parent.DoorLD.Window.SS.Motor.DesiredAngle = -0.25
	else
		carSeat.WindowFL.Value = false
		carSeat.Parent.Parent.DoorLD.Window.SS.Motor.DesiredAngle = 0
	end
end)

winfob.FR.Lock.MouseButton1Click:connect(function() --Window
	if carSeat.WindowFR.Value == false then
		carSeat.WindowFR.Value = true
		carSeat.Parent.Parent.DoorRD.Window.SS.Motor.DesiredAngle = 0.25
	else
		carSeat.WindowFR.Value = false
		carSeat.Parent.Parent.DoorRD.Window.SS.Motor.DesiredAngle = 0
	end
end)

winfob.RL.Lock.MouseButton1Click:connect(function() --Window
	if carSeat.WindowRL.Value == false then
		carSeat.WindowRL.Value = true
		carSeat.Parent.Parent.DoorL.W.SS.Motor.DesiredAngle = 0.25
	else
		carSeat.WindowRL.Value = false
		carSeat.Parent.Parent.DoorL.W.SS.Motor.DesiredAngle = 0
	end
end)

winfob.RR.Lock.MouseButton1Click:connect(function() --Window
	if carSeat.WindowRR.Value == false then
		carSeat.WindowRR.Value = true
		carSeat.Parent.Parent.DoorR.W.SS.Motor.DesiredAngle = 0.25
	else
		carSeat.WindowRR.Value = false
		carSeat.Parent.Parent.DoorR.W.SS.Motor.DesiredAngle = 0
	end
end)
while true do --Loop
	wait()
	if gear == -1 then
		HUB.Parent.Gauges.Circle.Zero.Gear.Text = "R"
		carSeat.Parent.Parent.Trunk.R1.Material = "Neon"
		carSeat.Parent.Parent.Trunk.R2.Material = "Neon"
		carSeat.Parent.R1.Material = "Neon"
		carSeat.Parent.R2.Material = "Neon"
		carSeat.Parent.Parent.Trunk.R1.Transparency = 0
		carSeat.Parent.Parent.Trunk.R2.Transparency = 0
		carSeat.Parent.R1.Transparency = 0
		carSeat.Parent.R2.Transparency = 0
		carSeat.Parent.Runners.O.Disp.One.Visible = false
		carSeat.Parent.Runners.O.Disp.Two.Visible = true
	elseif gear == 0 then
		HUB.Parent.Gauges.Circle.Zero.Gear.Text = "N"
		carSeat.Parent.Parent.Trunk.R1.Material = "SmoothPlastic"
		carSeat.Parent.Parent.Trunk.R2.Material = "SmoothPlastic"
		carSeat.Parent.R1.Material = "SmoothPlastic"
		carSeat.Parent.R2.Material = "SmoothPlastic"
		carSeat.Parent.Parent.Trunk.R1.Transparency = 0.9
		carSeat.Parent.Parent.Trunk.R2.Transparency = 0.9
		carSeat.Parent.R1.Transparency = 0.9
		carSeat.Parent.Runners.O.Disp.One.Visible = true
		carSeat.Parent.Runners.O.Disp.Two.Visible = false
		carSeat.Parent.R2.Transparency = 0.9
	elseif gear == 1 then
		HUB.Parent.Gauges.Circle.Zero.Gear.Text = "D"
	end
	if carSeat.Throttle == 1 and gear >= 1 or gear == -1 and carSeat.Throttle == 1 then
		if carSeat.InsaneMode.Value == true and carSeat.Power.Value < 60 then
			carSeat.Power.Value = carSeat.Power.Value + 3
		elseif carSeat.InsaneMode.Value == false and carSeat.Power.Value < 40 then
			carSeat.Power.Value = carSeat.Power.Value + 2
		end
	else
		carSeat.Power.Value = 0
	end
	limitButton.Parent.Time.Text = game.Lighting.TimeOfDay
end
