scoreboard players tag @a[tag=AFKCancel] remove AFK
#execute @a[tag=AFKCancel] ~ ~ ~ scoreboard players tag @s[tag=LobbyAFK] add Lobby
scoreboard players tag @a[tag=AFKCancel] add Lobby
scoreboard players tag @a[tag=AFKCancel] remove LobbyAFK
scoreboard players reset @a[tag=AFKCancel] AFKTitleTimer
execute @a[tag=AFKCancel] ~ ~ ~ kill @e[c=1,r=2,tag=HologramAFK,type=armor_stand]
clear @a[tag=AFKCancel]
title @a[tag=AFKCancel] times 0 20 10
title @a[tag=AFKCancel] title {"text":" "}
title @a[tag=AFKCancel] subtitle {"text":"You're no longer AFK","color":"aqua"}
function main:disconnect/disconnectfunctions/mainalways if @a[tag=AFKCancel]
scoreboard players tag @a[tag=AFKCancel] remove AFKCancel