By TrooperKing3005 | Version 1.0 | 2025
Overview
Tired of the limitations and hassle of Region3
and FindPartsInRegion3
?
Meet RegionService, a streamlined, event-driven, and flexible module designed to handle 3D regions effortlessly — no more looping through parts or complicated math!
With one simple function call, create custom regions, listen for player entry and exit events, and build responsive gameplay areas with ease.
Features
- Create regions by name, position (CFrame), and size (Vector3)
- Automatic tracking of players entering and leaving regions
- Event handlers:
PlayerEntered
,PlayerLeft
for clean and readable logic - Debug visualization with customizable options
- Supports any number of regions simultaneously
- Lightweight and easy to integrate into any game
- Pause/resume tracking for flexible control
- Clean API inspired by ProfileService for familiarity and ease of use
Example Usage
local RegionService = require(game.ReplicatedStorage.RegionService)
local speedZone = RegionService:CreateRegion("SpeedZone", workspace.SpeedPad.CFrame, workspace.SpeedPad.Size)
speedZone.PlayerEntered:Connect(function(player)
player.Character.Humanoid.WalkSpeed = 24
end)
speedZone.PlayerLeft:Connect(function(player)
player.Character.Humanoid.WalkSpeed = 16
end)
Getting Started
- Download the module from [https://create.roblox.com/store/asset/107751255342247/RegionService]
- Require it in your server scripts
- Create regions and connect events
- Enjoy simplified region management!
Future Plans
- Support for other shapes (spheres, cylinders)
- Performance optimizations
- Client-side region awareness for GUIs and effects
- Community contributions welcome!
License
This module is copyright © 2025 TrooperKing3005.
All rights reserved.
You’re welcome to use and learn from it, but please don’t redistribute or claim it as your own.
If you want to use it in your projects, just give credit!
Feedback and Contributions
I’d love to hear your feedback or contributions!
Reach me here or on Discord: Silver#9570