script.Parent:WaitForChild("\086\097\108\117\101\115")local w=game:GetService("\085\115\101\114\073\110\112\117\116\083\101\114\118\105\099\101")local f=script.Parent.Car.Value local Q=f.Body.Lights local I=f.Body.TK local n=script.Parent.Values local s=n.Brake local O=n.Gear local B=n.Brake.Value local v=Q.RunL local e=Q.RunR local F=I.RLeft local D=I.RRight local g=Q.Brake local P=I.Brake local X=Q.B local q=Q.L local K=Q.L2 local E=Q.HB local h=I.RB local Z=I.Reverse local V=false local d=false local Y=false local G=false local A=false local j=false local p=false local S=false function DealWithInput(w,Q)if Q then return end if w.KeyCode==Enum.KeyCode.S or w.KeyCode==Enum.KeyCode.Down then if w.UserInputState==Enum.UserInputState.Begin then S=true g.BrickColor=BrickColor.new("\082\101\097\108\108\121 \114\101\100")g.Material=Enum.Material.Neon P.BrickColor=BrickColor.new("\082\101\097\108\108\121 \114\101\100")P.Material=Enum.Material.Neon elseif w.UserInputState==Enum.UserInputState.End then S=false g.BrickColor=BrickColor.new("\067\114\105\109\115\111\110")g.Material=Enum.Material.SmoothPlastic P.BrickColor=BrickColor.new("\067\114\105\109\115\111\110")P.Material=Enum.Material.SmoothPlastic end elseif w.KeyCode==Enum.KeyCode.Z then if w.UserInputState==Enum.UserInputState.Begin then if Y then return end V=not V d=false if p then repeat wait()until not p end while V do v.BrickColor=BrickColor.new("\068\101\101\112 \111\114\097\110\103\101")v.Material=Enum.Material.Neon F.BrickColor=BrickColor.new("\068\101\101\112 \111\114\097\110\103\101")F.Material=Enum.Material.Neon f.DriveSeat.Indicator.Value=true f.DriveSeat.LI.Value=true wait(.33333333333333)v.BrickColor=BrickColor.new("\078\101\111\110 \111\114\097\110\103\101")v.Material=Enum.Material.SmoothPlastic f.DriveSeat.Indicator.Value=false f.DriveSeat.LI.Value=false if not A then F.BrickColor=BrickColor.new("\078\101\111\110 \111\114\097\110\103\101")F.Material=Enum.Material.SmoothPlastic else F.BrickColor=BrickColor.new("\078\101\111\110 \111\114\097\110\103\101")F.Material=Enum.Material.SmoothPlastic end wait(.33333333333333)if not V then v.Material=Enum.Material.SmoothPlastic v.BrickColor=BrickColor.new("\078\101\111\110 \111\114\097\110\103\101")end end end elseif w.KeyCode==Enum.KeyCode.X then if w.UserInputState==Enum.UserInputState.Begin then if Y==false then Y=true V=true d=true else Y=false V=false d=false end if Y then V=false d=false end if p then repeat wait()until not p end while Y do v.BrickColor=BrickColor.new("\068\101\101\112 \111\114\097\110\103\101")v.Material=Enum.Material.Neon e.BrickColor=BrickColor.new("\068\101\101\112 \111\114\097\110\103\101")e.Material=Enum.Material.Neon F.BrickColor=BrickColor.new("\068\101\101\112 \111\114\097\110\103\101")F.Material=Enum.Material.Neon D.BrickColor=BrickColor.new("\068\101\101\112 \111\114\097\110\103\101")D.Material=Enum.Material.Neon f.DriveSeat.Indicator.Value=true f.DriveSeat.LI.Value=true f.DriveSeat.RI.Value=true wait(.33333333333333)v.BrickColor=BrickColor.new("\078\101\111\110 \111\114\097\110\103\101")v.Material=Enum.Material.SmoothPlastic e.BrickColor=BrickColor.new("\078\101\111\110 \111\114\097\110\103\101")e.Material=Enum.Material.SmoothPlastic F.BrickColor=BrickColor.new("\078\101\111\110 \111\114\097\110\103\101")F.Material=Enum.Material.SmoothPlastic D.BrickColor=BrickColor.new("\078\101\111\110 \111\114\097\110\103\101")D.Material=Enum.Material.SmoothPlastic f.DriveSeat.Indicator.Value=false f.DriveSeat.LI.Value=false f.DriveSeat.RI.Value=false wait(.33333333333333)if not Y then v.Material=Enum.Material.SmoothPlastic e.Material=Enum.Material.SmoothPlastic v.BrickColor=BrickColor.new("\078\101\111\110 \111\114\097\110\103\101")e.BrickColor=BrickColor.new("\078\101\111\110 \111\114\097\110\103\101")end end end elseif w.KeyCode==Enum.KeyCode.C then if w.UserInputState==Enum.UserInputState.Begin then if Y then return end d=not d V=false if p then repeat wait()until not p end while d do e.BrickColor=BrickColor.new("\068\101\101\112 \111\114\097\110\103\101")e.Material=Enum.Material.Neon D.BrickColor=BrickColor.new("\068\101\101\112 \111\114\097\110\103\101")D.Material=Enum.Material.Neon f.DriveSeat.Indicator.Value=true f.DriveSeat.RI.Value=true wait(.33333333333333)e.BrickColor=BrickColor.new("\078\101\111\110 \111\114\097\110\103\101")e.Material=Enum.Material.SmoothPlastic f.DriveSeat.Indicator.Value=false f.DriveSeat.RI.Value=false if not A then D.BrickColor=BrickColor.new("\078\101\111\110 \111\114\097\110\103\101")D.Material=Enum.Material.SmoothPlastic else D.BrickColor=BrickColor.new("\078\101\111\110 \111\114\097\110\103\101")D.Material=Enum.Material.SmoothPlastic end wait(.33333333333333)if not d then e.Material=Enum.Material.SmoothPlastic e.BrickColor=BrickColor.new("\078\101\111\110 \111\114\097\110\103\101")end end end elseif w.KeyCode==Enum.KeyCode.L and w.UserInputState==Enum.UserInputState.Begin then if A and not j then j=true elseif A and j then A=false j=false elseif not A then A=true end if j then E.BrickColor=BrickColor.new("\080\101\097\114\108")E.Material=Enum.Material.Neon K.SpotLight.Enabled=true h.BrickColor=BrickColor.new("\082\101\097\108\108\121 \114\101\100")h.Material=Enum.Material.Neon elseif not j then E.BrickColor=BrickColor.new("\073\110\115\116\105\116\117\116\105\111\110\097\108 \119\104\105\116\101")E.Material=Enum.Material.SmoothPlastic K.SpotLight.Enabled=false if not A then h.BrickColor=BrickColor.new("\067\114\105\109\115\111\110")h.Material=Enum.Material.SmoothPlastic elseif not A or j then h.BrickColor=BrickColor.new("\067\114\105\109\115\111\110")h.Material=Enum.Material.SmoothPlastic end end if A then X.BrickColor=BrickColor.new("\080\101\097\114\108")X.Material=Enum.Material.Neon q.SpotLight.Enabled=true h.BrickColor=BrickColor.new("\082\101\097\108\108\121 \114\101\100")h.Material=Enum.Material.Neon if not j then X.BrickColor=BrickColor.new("\080\101\097\114\108")h.BrickColor=BrickColor.new("\082\101\097\108\108\121 \114\101\100")h.Material=Enum.Material.Neon else end elseif not A then X.BrickColor=BrickColor.new("\073\110\115\116\105\116\117\116\105\111\110\097\108 \119\104\105\116\101")X.Material=Enum.Material.SmoothPlastic q.SpotLight.Enabled=false if not S then end end end end w.InputBegan:connect(DealWithInput)w.InputChanged:connect(DealWithInput)w.InputEnded:connect(DealWithInput)O.Changed:connect(function()if O.Value==-1 then Z.Material=Enum.Material.Neon else Z.Material=Enum.Material.SmoothPlastic end end)
-- Decompiled with Visenya | https://targaryentech.com
script.Parent:WaitForChild("Values")
local is = game:GetService("UserInputService")
local cr = script.Parent.Car.Value
local lt = cr.Body.Lights
local tk = cr.Body.TK
local vl = script.Parent.Values
local GBrake = vl.Brake
local gr = vl.Gear
local bk = vl.Brake.Value
local l1 = lt.RunL
local r1 = lt.RunR
local b1 = tk.RLeft
local b2 = tk.RRight
local b3 = lt.Brake
local b4 = tk.Brake
local lw = lt.B
local lww = lt.L
local lwww = lt.L2
local hi = lt.HB
local rb = tk.RB
local rv = tk.Reverse
local left = false
local right = false
local hazards = false
local reverse = false
local headlt = false
local highlt = false
local relay = false
local brake = false
function DealWithInput(input, processed)
	if processed then
		return
	end
	if input.KeyCode == Enum.KeyCode.S or input.KeyCode == Enum.KeyCode.Down then
		if input.UserInputState == Enum.UserInputState.Begin then
			brake = true
			b3.BrickColor = BrickColor.new("Really red")
			b3.Material = Enum.Material.Neon
			b4.BrickColor = BrickColor.new("Really red")
			b4.Material = Enum.Material.Neon
		elseif input.UserInputState == Enum.UserInputState.End then
			brake = false
			b3.BrickColor = BrickColor.new("Crimson")
			b3.Material = Enum.Material.SmoothPlastic
			b4.BrickColor = BrickColor.new("Crimson")
			b4.Material = Enum.Material.SmoothPlastic
		end
	elseif input.KeyCode == Enum.KeyCode.Z then
		if input.UserInputState == Enum.UserInputState.Begin then
			if hazards then
				return
			end
			left = not left
			right = false
			if relay then
				repeat
					wait()
				until not relay
			end
			while left do
				l1.BrickColor = BrickColor.new("Deep orange")
				l1.Material = Enum.Material.Neon
				b1.BrickColor = BrickColor.new("Deep orange")
				b1.Material = Enum.Material.Neon
				cr.DriveSeat.Indicator.Value = true
				cr.DriveSeat.LI.Value = true
				wait(0.3333333333333333)
				l1.BrickColor = BrickColor.new("Neon orange")
				l1.Material = Enum.Material.SmoothPlastic
				cr.DriveSeat.Indicator.Value = false
				cr.DriveSeat.LI.Value = false
				if not headlt then
					b1.BrickColor = BrickColor.new("Neon orange")
					b1.Material = Enum.Material.SmoothPlastic
				else
					b1.BrickColor = BrickColor.new("Neon orange")
					b1.Material = Enum.Material.SmoothPlastic
				end
				wait(0.3333333333333333)
				if not left then
					l1.Material = Enum.Material.SmoothPlastic
					l1.BrickColor = BrickColor.new("Neon orange")
				end
			end
		end
	elseif input.KeyCode == Enum.KeyCode.X then
		if input.UserInputState == Enum.UserInputState.Begin then
			if hazards == false then
				hazards = true
				left = true
				right = true
			else
				hazards = false
				left = false
				right = false
			end
			if hazards then
				left = false
				right = false
			end
			if relay then
				repeat
					wait()
				until not relay
			end
			while hazards do
				l1.BrickColor = BrickColor.new("Deep orange")
				l1.Material = Enum.Material.Neon
				r1.BrickColor = BrickColor.new("Deep orange")
				r1.Material = Enum.Material.Neon
				b1.BrickColor = BrickColor.new("Deep orange")
				b1.Material = Enum.Material.Neon
				b2.BrickColor = BrickColor.new("Deep orange")
				b2.Material = Enum.Material.Neon
				cr.DriveSeat.Indicator.Value = true
				cr.DriveSeat.LI.Value = true
				cr.DriveSeat.RI.Value = true
				wait(0.3333333333333333)
				l1.BrickColor = BrickColor.new("Neon orange")
				l1.Material = Enum.Material.SmoothPlastic
				r1.BrickColor = BrickColor.new("Neon orange")
				r1.Material = Enum.Material.SmoothPlastic
				b1.BrickColor = BrickColor.new("Neon orange")
				b1.Material = Enum.Material.SmoothPlastic
				b2.BrickColor = BrickColor.new("Neon orange")
				b2.Material = Enum.Material.SmoothPlastic
				cr.DriveSeat.Indicator.Value = false
				cr.DriveSeat.LI.Value = false
				cr.DriveSeat.RI.Value = false
				wait(0.3333333333333333)
				if not hazards then
					l1.Material = Enum.Material.SmoothPlastic
					r1.Material = Enum.Material.SmoothPlastic
					l1.BrickColor = BrickColor.new("Neon orange")
					r1.BrickColor = BrickColor.new("Neon orange")
				end
			end
		end
	elseif input.KeyCode == Enum.KeyCode.C then
		if input.UserInputState == Enum.UserInputState.Begin then
			if hazards then
				return
			end
			right = not right
			left = false
			if relay then
				repeat
					wait()
				until not relay
			end
			while right do
				r1.BrickColor = BrickColor.new("Deep orange")
				r1.Material = Enum.Material.Neon
				b2.BrickColor = BrickColor.new("Deep orange")
				b2.Material = Enum.Material.Neon
				cr.DriveSeat.Indicator.Value = true
				cr.DriveSeat.RI.Value = true
				wait(0.3333333333333333)
				r1.BrickColor = BrickColor.new("Neon orange")
				r1.Material = Enum.Material.SmoothPlastic
				cr.DriveSeat.Indicator.Value = false
				cr.DriveSeat.RI.Value = false
				if not headlt then
					b2.BrickColor = BrickColor.new("Neon orange")
					b2.Material = Enum.Material.SmoothPlastic
				else
					b2.BrickColor = BrickColor.new("Neon orange")
					b2.Material = Enum.Material.SmoothPlastic
				end
				wait(0.3333333333333333)
				if not right then
					r1.Material = Enum.Material.SmoothPlastic
					r1.BrickColor = BrickColor.new("Neon orange")
				end
			end
		end
	elseif input.KeyCode == Enum.KeyCode.L and input.UserInputState == Enum.UserInputState.Begin then
		if headlt and not highlt then
			highlt = true
		elseif headlt and highlt then
			headlt = false
			highlt = false
		elseif not headlt then
			headlt = true
		end
		if highlt then
			hi.BrickColor = BrickColor.new("Pearl")
			hi.Material = Enum.Material.Neon
			lwww.SpotLight.Enabled = true
			rb.BrickColor = BrickColor.new("Really red")
			rb.Material = Enum.Material.Neon
		elseif not highlt then
			hi.BrickColor = BrickColor.new("Institutional white")
			hi.Material = Enum.Material.SmoothPlastic
			lwww.SpotLight.Enabled = false
			if not headlt then
				rb.BrickColor = BrickColor.new("Crimson")
				rb.Material = Enum.Material.SmoothPlastic
			elseif not headlt or highlt then
				rb.BrickColor = BrickColor.new("Crimson")
				rb.Material = Enum.Material.SmoothPlastic
			end
		end
		if headlt then
			lw.BrickColor = BrickColor.new("Pearl")
			lw.Material = Enum.Material.Neon
			lww.SpotLight.Enabled = true
			rb.BrickColor = BrickColor.new("Really red")
			rb.Material = Enum.Material.Neon
			if not highlt then
				lw.BrickColor = BrickColor.new("Pearl")
				rb.BrickColor = BrickColor.new("Really red")
				rb.Material = Enum.Material.Neon
			else
			end
		elseif not headlt then
			lw.BrickColor = BrickColor.new("Institutional white")
			lw.Material = Enum.Material.SmoothPlastic
			lww.SpotLight.Enabled = false
			if not brake then
			end
		end
	end
end
is.InputBegan:connect(DealWithInput)
is.InputChanged:connect(DealWithInput)
is.InputEnded:connect(DealWithInput)
gr.Changed:connect(function()
	if gr.Value == -1 then
		rv.Material = Enum.Material.Neon
	else
		rv.Material = Enum.Material.SmoothPlastic
	end
end)
