function onKeyUp(K)if K==nil then return end K=K:lower()if K=="\099"then firingMg=false end end script.Parent.Selected:connect(onSelected)script.Parent.Deselected:connect(onDeselected)
-- When key released
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)
