owedkarma
(owedkarma)
July 28, 2021, 6:42am
4
Use a custom module for the region.
Disclaimer: Updates are planned to modernize ZonePlus for 2026 - you can listen out for these at our community server - please note inbetween I won’t be monitoring this thread or codebase
[ZonePlus v3]
Source Code | Documentation | Playground
ZonePlus utilises the new Spatial Query API and Whitelists to effectively determine players, parts and custom items within a zone. You can have as many zones as you like, as large as you like, with zero-to-minimal ad…
You can get a certain region simply by doing:
local Zone = require(game.ServerScriptService.Zone)
local Region = Zone.new(script.Parent)
Region.playerEntered:Connect(function(player)
print("Entered biome")
end)