InputService.InputBegan:connect(DealWithInput)InputService.InputChanged:connect(DealWithInput)InputService.InputEnded:connect(DealWithInput)function findbricks(w,G,y)for w,g in pairs(w:GetChildren())do if g.Name==G then table.insert(y,g)end findbricks(g,G,y)end end findbricks(seat.Parent,"\076\105",fli)findbricks(seat.Parent,"\082\105",fri)findbricks(seat.Parent,"\082\076\105",rli)findbricks(seat.Parent,"\082\082\105",rri)findbricks(seat.Parent.Parent,"\072\076\076",hll)findbricks(seat.Parent.Parent,"\072\076\072",hlh)findbricks(seat.Parent,"\066\076",bl)findbricks(seat.Parent,"\082\082\076",rrl)findbricks(seat.Parent,"\082\101\118\076",rl)for w,G in pairs(fli)do G.BrickColor=indicatorOff G.Material=Enum.Material.SmoothPlastic end for w,G in pairs(fri)do G.BrickColor=indicatorOff G.Material=Enum.Material.SmoothPlastic end for w,G in pairs(rli)do G.BrickColor=indicatorOff G.Material=Enum.Material.SmoothPlastic end for w,G in pairs(rri)do G.BrickColor=indicatorOff G.Material=Enum.Material.SmoothPlastic end for w,G in pairs(hll)do G.BrickColor=headlightOff G.Material=Enum.Material.SmoothPlastic end for w,G in pairs(hlh)do G.BrickColor=headlightOff G.Material=Enum.Material.SmoothPlastic end for w,G in pairs(rrl)do G.BrickColor=rearrunOff G.Material=Enum.Material.SmoothPlastic end for w,G in pairs(bl)do G.BrickColor=brakelightOff G.Material=Enum.Material.SmoothPlastic end for w,G in pairs(rl)do G.BrickColor=reverseOff G.Material=Enum.Material.SmoothPlastic end for w,G in pairs(sl)do for w,G in pairs(G)do G.Enabled=false end end script.Parent.Parent.StockUI.Right.TurnSignals.Left.ImageTransparency=.7 script.Parent.Parent.StockUI.Right.TurnSignals.Right.ImageTransparency=.7 script.Parent.Parent.StockUI.Right.WarningLights.LoBeam.ImageTransparency=.7 script.Parent.Parent.StockUI.Right.WarningLights.HiBeam.ImageTransparency=.7
--[[
for _,i in pairs(light) do
	i.BrickColor = offcolor
	i.Material = Enum.Material.material
end
--]]

InputService.InputBegan:connect(DealWithInput)
InputService.InputChanged:connect(DealWithInput)
InputService.InputEnded:connect(DealWithInput)

function findbricks(search, query, tab)
	for _, i in pairs(search:GetChildren()) do
		if i.Name == query then
			table.insert(tab, i)
		end
		findbricks(i, query, tab)
	end
end

findbricks(seat.Parent, "Li", fli)
findbricks(seat.Parent, "Ri", fri)
findbricks(seat.Parent, "RLi", rli)
findbricks(seat.Parent, "RRi", rri)
findbricks(seat.Parent.Parent, "HLL", hll)
findbricks(seat.Parent.Parent, "HLH", hlh)
findbricks(seat.Parent, "BL", bl)
findbricks(seat.Parent, "RRL", rrl)
findbricks(seat.Parent, "RevL", rl)

for _, i in pairs(fli) do
	i.BrickColor = indicatorOff
	i.Material = Enum.Material.SmoothPlastic
end
for _, i in pairs(fri) do
	i.BrickColor = indicatorOff
	i.Material = Enum.Material.SmoothPlastic
end
for _, i in pairs(rli) do
	i.BrickColor = indicatorOff
	i.Material = Enum.Material.SmoothPlastic
end
for _, i in pairs(rri) do
	i.BrickColor = indicatorOff
	i.Material = Enum.Material.SmoothPlastic
end
for _, i in pairs(hll) do
	i.BrickColor = headlightOff
	i.Material = Enum.Material.SmoothPlastic
end
for _, i in pairs(hlh) do
	i.BrickColor = headlightOff
	i.Material = Enum.Material.SmoothPlastic
end
for _, i in pairs(rrl) do
	i.BrickColor = rearrunOff
	i.Material = Enum.Material.SmoothPlastic
end
for _, i in pairs(bl) do
	i.BrickColor = brakelightOff
	i.Material = Enum.Material.SmoothPlastic
end
for _, i in pairs(rl) do
	i.BrickColor = reverseOff
	i.Material = Enum.Material.SmoothPlastic
end
for _, a in pairs(sl) do
	for _, i in pairs(a) do
		i.Enabled = false
	end
end
script.Parent.Parent.StockUI.Right.TurnSignals.Left.ImageTransparency = 0.7
script.Parent.Parent.StockUI.Right.TurnSignals.Right.ImageTransparency = 0.7
script.Parent.Parent.StockUI.Right.WarningLights.LoBeam.ImageTransparency = 0.7
script.Parent.Parent.StockUI.Right.WarningLights.HiBeam.ImageTransparency = 0.7
