if script.Parent.Parent.Parent.IsOn.Value then script.Parent.Parent:TweenPosition(UDim2.new(0,0,0,0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,1,true)end script.Parent.Parent.Parent.IsOn.Changed:connect(function()if script.Parent.Parent.Parent.IsOn.Value then script.Parent.Parent:TweenPosition(UDim2.new(0,0,0,0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,1,true)end end)local Q=car.Neons local x=car.Body.Underglow.U.L.Color script.Parent.MouseButton1Click:connect(function()if car.Body.Underglow.U.L.L.Enabled==false then Q:FireServer("\076\105\103\104\116\115",1)script.Parent.BackgroundColor3=Color3.new(0,1.0,0)script.Parent.TextStrokeColor3=Color3.new(0,1.0,0)car.Body.Underglow.EFFECT.L.GUI.Enabled=true for Q,n in pairs(car.Body.Underglow.EFFECT.L.GUI:GetChildren())do n.ImageColor3=x end for Q,n in pairs(car.Body.Underglow.U:GetChildren())do n.Material=Enum.Material.Neon n.L.Color=x n.L.Enabled=true end elseif car.Body.Underglow.U.L.L.Enabled==true then Q:FireServer("\076\105\103\104\116\115",0)script.Parent.BackgroundColor3=Color3.new(0,0,0)script.Parent.TextStrokeColor3=Color3.new(0,0,0)car.Body.Underglow.EFFECT.L.GUI.Enabled=false for Q,x in pairs(car.Body.Underglow.U:GetChildren())do x.Material=Enum.Material.SmoothPlastic x.L.Enabled=false end end end)

if 	script.Parent.Parent.Parent.IsOn.Value then
	script.Parent.Parent:TweenPosition(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,1,true)
end

script.Parent.Parent.Parent.IsOn.Changed:connect(function()
	if script.Parent.Parent.Parent.IsOn.Value then
		script.Parent.Parent:TweenPosition(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,1,true)
	end
end)

	local handler = car.Neons
	local lightcolor = car.Body.Underglow.U.L.Color
	
	script.Parent.MouseButton1Click:connect(function()
		if car.Body.Underglow.U.L.L.Enabled == false then
			handler:FireServer("Lights",1)
			script.Parent.BackgroundColor3 = Color3.new(0,255/255,0)
			script.Parent.TextStrokeColor3 = Color3.new(0,255/255,0)
			car.Body.Underglow.EFFECT.L.GUI.Enabled = true
			for index, child in pairs(car.Body.Underglow.EFFECT.L.GUI:GetChildren()) do
			child.ImageColor3 = lightcolor
			end
			for index, child in pairs(car.Body.Underglow.U:GetChildren()) do
			child.Material = Enum.Material.Neon
			child.L.Color = lightcolor
			child.L.Enabled = true
			end
		elseif car.Body.Underglow.U.L.L.Enabled == true then
			handler:FireServer("Lights",0)
			script.Parent.BackgroundColor3 = Color3.new(0,0,0)
			script.Parent.TextStrokeColor3 = Color3.new(0,0,0)
			car.Body.Underglow.EFFECT.L.GUI.Enabled = false
			for index, child in pairs(car.Body.Underglow.U:GetChildren()) do
			child.Material = Enum.Material.SmoothPlastic
			child.L.Enabled = false
			end
		end
	end)
		
