Advanced Roblox Scripting Tutorial #17 – Region3 (Beginner to Pro 2019)

Advanced Roblox Scripting Tutorial #17 – Region3 (Beginner to Pro 2019)

Hey guys! Welcome back to another roblox scripting tutorial. In today’s video I am going to be teaching you about Region3. What is region3, How does region3 work. These are questions I’ll be answering in today’s video as I go in-depth and explain pretty much all there is to know about Region3. Alright enjoy the video!

–Join my Discord Server to learn and meet other developers!–
https://discord.gg/FKcSyRh

— Follow me on twitter! (my name is tapwater because thats my main channel): https://twitter.com/realtapwater

— Follow me on Instagram! (my name is tapwater because of my main channel): https://instagram.com/realtapwater

Link to Beginner’s Tutorial Series:
https://www.youtube.com/playlist?list=PLhieaQmOk7nIfMZ1UmvKGPrwuwQVwAvFa />
–What is this series about and who is it for?

So this series is meant for people who really want to learn exactly how to script, if that is you then I promise by the time you watch this whole series you will know exactly how to script on roblox. Anyways be sure to subscribe to see whenever I release a new tutorial and I will see you guys in the next one. Peace!

Alex
Alex

Hi, I'm Alex! I've been obsessed with Roblox ever since I first started playing at the age of 15. Now at 25, Roblox is still my number one hobby and passion.

When I'm not working my day job, you can find me gaming for hours on end, playing and creating all kinds of imaginative worlds. I love participating in building challenges and mini-games with friends. My favorite thing is designing intricate obstacle courses and racing tracks.

I run a Roblox gaming website where I post articles, guides, and tips about my gameplay and creations. I provide tricks and advice for fellow adult gamers and try to keep things entertaining with my fun writing style.

Articles: 2951

13 Comments

  1. this method has been deprecated! I advise you to find a newer tutorial made within this year, because this DOES NOT work anymore

  2. i dont get it, why cant you just make a transparent part with can collide off and do the if part touched commands to do the same thing?

  3. 2020 was 4 years ago. Who knows, when you see this comment 2020 might be 7 years ago. Really messes with your head…

  4. What i dont understand, is why he is using region to do this in the first place, would it not be easier to make a new part, make it transparent, and make a function that whenever a player touches it it kills them, its faster and less complicated, couls someone show me a practical use for reigon3?

  5. local region = Region3.new(Vector3.new(0, 0, 0), Vector3.new(15, 15, 15))

    local part = Instance.new("Part")

    part.Anchored = true

    part.Size = region.Size

    part.Parent = game.Workspace

    part.CanCollide = false

    while true do

    wait()

    local partsInRegion = workspace:FindPartsInRegion3(region, nil, 1000)

    for i, hitPart in pairs(partsInRegion) do

    local character = hitPart.Parent

    if character:IsA("Model") and character:FindFirstChild("Humanoid") then

    print("Player found in the region: " .. character.Name)

    local humanoid = character:FindFirstChild("Humanoid")

    humanoid:TakeDamage(10) — Adjust the damage amount as needed

    end

    end

    end

Leave a Reply

Your email address will not be published. Required fields are marked *