RegionManger | Lightweight & Simple alternative to ZonePlus

RegionManager should mainly be used for checking if a player entered a zone or a box in the physical workspace, you can attach functions to each part for said OnEnter & OnExit!

Details & Information

How Do I use RegionManager?

It’s as simple as calling the .New function in the regionmanager, you are also able to fully cleanup regions when not needed by calling the .Remove function!

local Object = path.to.part
local RegionManager = require(path.to.module)

local NewRegion = RegionManager.New(Object, {
	CallbackEnter = function()
		print("Hey! I entered")
	end,
	
	CallbackExit = function()
		print("I left!")
	end,
})

Any code in the Enter function will get executed when the client player enters that zone, the exit function is explanatory.

Why Should I use RegionManager?

RegionManager is a simple & lightweight module that dosen’t use many resources, its main use is for simple tasks, you are free to expand on this!

Why Did you make this resource?

This is made for other people that do not want to use zoneplus for something as simple as entering and exiting a zone!

I also made this as my first community post, I had free time to & I saw the opportunity to. It did not take long, this is open for any use & I’d take any criticsm to improve the way I make things.

:star:| Get Here | :point_right: RegionManager - Creator Store | Please Report any issues you find!

4 Likes

Any suggestions for updates? Id love to see some so I can spend some time expanding on this