Creating A Command to Toggle Player Collision

Hey there!
I have found the several admin systems have a command that makes all players non collidable. I have a game where this would be useful, but I don’t want to add a third admin system into it, as it already has HD and Adonis. How would I script a chat command to do this for all players?