hmm
onleavezone might not work correctly if somebody leaves by disconnecting
if you can get a stable loop running, you could check how many people are in the zone every so often by setting the counter to 1, then decrementing each time a player enters the zone when you flash it (create and destroy it quickly), if it printcountunderflows, don't do anything, but if it doesn't, then there should only be one player left