--			carSeat.Parent.Misc.IL.SS.Motor.DesiredAngle = -0.3

            wait(1/3)
            Debounce = false
        end
    elseif k == 'x' then -- hazards
        if not Debounce then
            Debounce = true
            handler:FireServer('blinkers', 'Hazards')
            wait(1/3)
            Debounce = false
        end
	elseif k == 'q' then
		carSeat.Parent.Misc.LP.SS.Motor.DesiredAngle = .1
	elseif k == 'e' then
		carSeat.Parent.Misc.RP.SS.Motor.DesiredAngle = -.1
    end
end)

Mouse.KeyUp:connect(function(key)
    local k = key:lower()
    if k == 's' then
        handler:FireServer('updateLights', 'brake', false)
    elseif k == 'z' then
	elseif k == 'q' then
		carSeat.Parent.Misc.LP.SS.Motor.DesiredAngle = 0
	elseif k == 'e' then
		carSeat.Parent.Misc.RP.SS.Motor.DesiredAngle = 0
    end
end)

handler.OnClientEvent:connect(function(...)
    local Args = {...}
    if Args[1] then
        if Args[1] == 'blink' then
            if Args[2] then
                local P = Args[2]
                if Args[3] then
                    local Play = Args[3]
                    script.Parent.Blink.Pitch = P
                    if Play == true then
                        script.Parent.Blink:Play()
                    elseif Play == false then
                        script.Parent.Blink:Stop()
                    end
                end
            end
        end
    end
end)
