Your all wrong if this is for a server with an NPC Server.
NPC Code:
//#CLIENTSIDE
if (playerenters) {
showlocal;
}
if (playertouchsme) {
if (strequals(#g,GUILD_NAME)) {
hidelocal;
timeout = 3;
} else {
message Your not in this guild!;
}
}
if (timeout)
showlocal;
When something is hidden it automatically stops blocking the player.