local plyInHuntingZone = false function playerInZone() return plyInHuntingZone end exports('playerInHuntingZone', function(x) return plyInHuntingZone end) --Polyzone CreateThread(function() function onEnter(self) plyInHuntingZone = true end function onExit(self) plyInHuntingZone = false end local polypoints = Config.PolyzonePoints local poly = lib.zones.poly({ points = { table.unpack(polypoints) }, thickness = Config.Polyzone.thickness, debug = Config.Polyzone.debug, onEnter = onEnter, onExit = onExit }) end)