Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you use the Region3 functon?

Asked by 8 years ago

I'm trying to create my own stamper, and I need an Region3 argument for the area to stamp in. I'm stuck on this part. Anyone know to use Region3? Thanks.

Below is my custom stamper tool code.

01local RbxStamper = LoadLibrary("RbxStamper")
02local InsertService = game:GetService("InsertService")
03 
04local dispenser = game.workspace.Part
05local player = game.Players.LocalPlayer
06local mouse = player:GetMouse()
07 
08local regionModule = require(game.workspace.RegionModule)
09 
10local stampControl
11local pBase = nil
12 
13function findBase()
14    for _, base in pairs(game.workspace["Building Zones"]:GetChildren()) do
15        if base:IsA("Model") and base.Player.Value == player.Name then
View all 47 lines...

Answer this question