function main:disconnect/disconnectfunctions/duringlobby/wasingame if @a[tag=Ending]
function main:disconnect/disconnectfunctions/duringlobby/wasingame if @a[tag=Starting]
function main:disconnect/disconnectfunctions/duringlobby/wasingame if @a[tag=InGame]
function main:disconnect/disconnectfunctions/duringlobby/wasingame if @a[tag=Spectator]