How to use Region3 with my custom stamper?
01 | local RbxStamper = LoadLibrary( "RbxStamper" ) |
02 | local InsertService = game:GetService( "InsertService" ) |
04 | local dispenser = game.workspace.Part |
05 | local player = game.Players.LocalPlayer |
06 | local mouse = player:GetMouse() |
12 | for _, base in pairs (game.workspace [ "Building Zones" ] :GetChildren()) do |
13 | if base:IsA( "Model" ) and base.Player.Value = = player.Name then |
20 | function setupDragger() |
22 | stampControl = RbxStamper.SetupStamperDragger(dispenser,mouse, nil ,Region 3. new(?????))) |
24 | warn( "Cannot find your building base." ) |
30 | stampControl.Stamped.Changed:connect( function (value) |
31 | stampControl.ReloadModel() |
35 | script.Parent.Equipped:connect( function () |
42 | script.Parent.Unequipped:connect( function () |
43 | if stampControl then stampControl.Destroy() pBase = nil end |
The only thing i'm stuck on is using Region3 for the area to stamp in. How do you accomplish this?
Thanks.