Table not working properly?

How do you require the zone module? Please share.

Also, please separately call

print(zoneModule.Zones)

Just one line above where you call your check function.

(Also I think you are trying to make a standard zone system. Why not consider ZonePlus?