local y=script.Parent.Car.Value.Body.Spotlight.RemoteEvent SpotlightFrame.On.MouseButton1Down:Connect(function()y:FireServer("\076\105\103\104\116\115 \111\110")script.Parent.AC6_Stock_Gauges.Frame.Beep:Play()end)SpotlightFrame.Off.MouseButton1Down:Connect(function()y:FireServer("\076\105\103\104\116\115 \111\102\102")script.Parent.AC6_Stock_Gauges.Frame.Beep:Play()end)SpotlightFrame.Right.MouseButton1Down:Connect(function()y:FireServer("\082\105\103\104\116 \115\116\097\114\116")end)SpotlightFrame.Right.MouseButton1Up:Connect(function()y:FireServer("\082\105\103\104\116 \115\116\111\112")end)SpotlightFrame.Left.MouseButton1Down:Connect(function()y:FireServer("\076\101\102\116 \115\116\097\114\116")end)SpotlightFrame.Left.MouseButton1Up:Connect(function()y:FireServer("\076\101\102\116 \115\116\111\112")end)
------------------------------------------------------
--========================SPOTLIGHT========================--

local SpotLightEvent = script.Parent.Car.Value.Body.Spotlight.RemoteEvent

SpotlightFrame.On.MouseButton1Down:Connect(function()
	SpotLightEvent:FireServer("Lights on")
	script.Parent.AC6_Stock_Gauges.Frame.Beep:Play()
end)
SpotlightFrame.Off.MouseButton1Down:Connect(function()
	SpotLightEvent:FireServer("Lights off")
	script.Parent.AC6_Stock_Gauges.Frame.Beep:Play()
end)

SpotlightFrame.Right.MouseButton1Down:Connect(function()
	SpotLightEvent:FireServer("Right start")
end)
SpotlightFrame.Right.MouseButton1Up:Connect(function()
	SpotLightEvent:FireServer("Right stop")
end)

SpotlightFrame.Left.MouseButton1Down:Connect(function()
	SpotLightEvent:FireServer("Left start")
end)
SpotlightFrame.Left.MouseButton1Up:Connect(function()
	SpotLightEvent:FireServer("Left stop")
end)

--======================SPOTLIGHT END======================--
