Using the export

You can use the 'inZone' export to check if the current player is in zone.

Example:

local inZone = exports.fusti_zombie:inZone()
if inZone then
   print("The player is in the zone!")
else
   print("The player is not in the zone!")
end

Last updated

Was this helpful?