pillarworks/region

a lightweight zoneplus alternative

region

  • this module is a zoneplus alternative used in pillarworks.
  • this is a client module. this will not work on the server.
  • all credits goes to aymannkaadan for the original module that you can find here.

usage

local region = require(path.to.region)
local created_region = region.new(workspace.Part, {
	enter = function(player)
		print(player.Name .. " entered the region")
	end,
	exit = function(player)
		print(player.Name .. " exited the region")
	end,
})