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!
bro i do not think i will need it alot can give me 10 examples of when i may need it?
this method has been deprecated! I advise you to find a newer tutorial made within this year, because this DOES NOT work anymore
Can this be used to make something like a safe place where no one can take damage or something like that
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?
bro the ~= doesn't work wtf?!
FindPartsinRegion3() has been deprecated.
2020 was 4 years ago. Who knows, when you see this comment 2020 might be 7 years ago. Really messes with your head…
Btw, region3 can be used for things like jailbreak bank robberies, or any wait to get value sorta thing.
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?
4 years later and your tutorials always help me out. Ty TheDevKing
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
I believe region3 is deprecated now — I don't believe this works anymore?
how do i get rid of the texture on new instance parts?
is a part needed for a region?