Cant seem to get Region3 working. Ive tried tons of tutorials like AlvinBloxes and others. The issue what happens is it starts to spam and break. Even thought he player is in the region it would print say not in region and it would do both at the same time. I need massive help.
note: Orb is a part
repeat wait()
if orb then
local region = Region3.new(orb.Position - (orb.Size/2), orb.Position + (orb.Size/2))
local parts = game.Workspace:FindPartsInRegion3(region, orb)
for _, part in pairs(parts) do
end
end
until not orb