--			car.Body.Dash.D.off.Enabled = false
--			car.Body.Dash.S.off.Enabled = false

			if e.Parent.Parent.Parent.Misc.FL.Window.SS.Motor.DesiredAngle == -.25 or e.Parent.Parent.Parent.Misc.FR.Window.SS.Motor.DesiredAngle == .25 or e.Parent.Parent.Parent.Misc.RL.Window.SS.Motor.DesiredAngle == -.25 or e.Parent.Parent.Parent.Misc.RR.Window.SS.Motor.DesiredAngle == .25 then
				e.Muffle.Enabled = false
				e.Muffle2.Enabled = false
			elseif e.Parent.Parent.Parent.Misc.FL.Door.SS.Motor.DesiredAngle == -1 or e.Parent.Parent.Parent.Misc.FR.Door.SS.Motor.DesiredAngle == 1 or e.Parent.Parent.Parent.Misc.RL.Door.SS.Motor.DesiredAngle == -1 or e.Parent.Parent.Parent.Misc.RR.Door.SS.Motor.DesiredAngle == 1 or e.Parent.Parent.Parent.Misc.TK.SS.Motor.DesiredAngle == 1 then
				e.Muffle.Enabled = false
				e.Muffle2.Enabled = false		
			elseif e.Parent.Parent.Parent.Misc.FL.Window.SS.Motor.DesiredAngle == 0 or e.Parent.Parent.Parent.Misc.FR.Window.SS.Motor.DesiredAngle == 0 or e.Parent.Parent.Parent.Misc.RL.Window.SS.Motor.DesiredAngle == 0 or e.Parent.Parent.Parent.Misc.RR.Window.SS.Motor.DesiredAngle == 0 then
				e.Muffle.Enabled = true
				e.Muffle2.Enabled = true			
			end		
		end
	end
end)

script.Parent.RightMouseClick:connect(function(p)
	if p.Name == owner.Value then
		alarm.Lights.Value = false
		alarm.Sound.Value = false
		local sc = script.Parent.SecuriCode:Clone()
		sc.Car.Value = carSeat.Parent
		sc.Parent = p.PlayerGui
	end
end)
