I believe this is a bug with any weapons that use raycast or other types of damage that do not use a function to check whether you're allowed to damage the person or not.
People should be careful when making these weapons so people in the minigame don't kill others that are out of that minigame, or teams.