if script.Parent.Parent.Parent.IsOn.Value then script.Parent.Parent:TweenPosition(UDim2.new(0,200,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,200,0,0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,1,true)end end)local o=car.Taxi script.Parent.MouseButton1Click:connect(function()if car.Body.Taxi.F.L.L.Enabled==false then o: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)for o,Z in pairs(car.Body.Taxi.F:GetChildren())do Z.Material=Enum.Material.Neon Z.L.Enabled=true end elseif car.Body.Taxi.F.L.L.Enabled==true then o:FireServer("\076\105\103\104\116\115",0)script.Parent.BackgroundColor3=Color3.new(0,0,0)script.Parent.TextStrokeColor3=Color3.new(0,0,0)for o,Z in pairs(car.Body.Taxi.F:GetChildren())do Z.Material=Enum.Material.SmoothPlastic Z.L.Enabled=false end end end)

if 	script.Parent.Parent.Parent.IsOn.Value then
	script.Parent.Parent:TweenPosition(UDim2.new(0, 200, 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, 200, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,1,true)
	end
end)

	local handler = car.Taxi
			
	script.Parent.MouseButton1Click:connect(function()
		if car.Body.Taxi.F.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)
			for index, child in pairs(car.Body.Taxi.F:GetChildren()) do
			child.Material = Enum.Material.Neon
			child.L.Enabled = true
			end
		elseif car.Body.Taxi.F.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)
			for index, child in pairs(car.Body.Taxi.F:GetChildren()) do
			child.Material = Enum.Material.SmoothPlastic
			child.L.Enabled = false
			end
		end
	end)
