What is the function for this? /clearMusicBricks or /clearMusicBricks playername?
/ClearMusicBricks playername would be
function serverCmdClearMusicBricks(%client, %playername){}
the first argument with these servercmd's is the object(read:client) calling them.
Is your script working with the... modified version(read: fixed version) of Jes00's code for it?
Is MainBrickGroup a thing? I've never seen anyone use it.
EDIT: umm... MainBrickGroup.getCount returns 3... always? Probably just me being stupid, but it's not my problem in the first place.