//This was "borrowed" from NTOPP go support it its not as bad as i thought it was before testing and its pretty impressive

addHook('MusicChange', function(old, new)
	if not (consoleplayer and consoleplayer.valid) return end
	if new == mapmusname and consoleplayer.ntoppv2_boogie then return 'MVITBY' end
	if ((gamestate == GS_LEVEL and consoleplayer.mo and consoleplayer.mo.skin == "bob")
	or (consoleplayer.skin == "bob")) then
		local music = {
			['PIZTIM'] = "BOBL1",
			['DEAOLI'] = "BOBL2",
			['PIJORE'] = "BOBL3",
			['OTMUSA'] = "BPOT",
			['OTMUSB'] = "BOBOT",
			['OVRTME'] = "BOBOT"
		}
		if music[new] and old == music[new] then return true end
		
		return music[new]
	end
end)