function onKeyUp(w)if w==nil then return end w=w:lower()if w=="\099"then firingMg=false end end script.Parent.Selected:connect(onSelected)script.Parent.Deselected:connect(onDeselected)

function onKeyUp(key)
	if key == nil then return end
	key = key:lower()
	
	-- Stop firing MG
	if key == 'c' then
		firingMg = false;
	end
end

script.Parent.Selected:connect(onSelected)
script.Parent.Deselected:connect(onDeselected)
