Yesterday I worked on a mechanic that tells you the exact location you are. For example, there are 2 platforms, one made of white blocks, and one made of black blocks, and it detects in which platform you are. Today, I really tried hard to make a mechanic that only detects if you are in or out of the platform. For example, there's a Village, and there's a Wilderness zone. The problem I have is to detect when he's out of the village, because trying to replace redstone blocks doesn't work at all.
I would be so thankful if someone could at least send me a world with the mechanic, or just tell me how to do this, because I'm gonna be depressed xd.
Thank for your attention ^^
EDIT!!!: I already solved it. Solution? Scoreboards XD