Answers for "roblox if position of block"

0

roblox if position of block

local pos = Vector3.new(0,1,0) -- not the actual position
local region = GetFromRegionsTable(regionName)
local parts = game:GetService("Workspace"):FindPartsInRegion3(region)

for _,part in pairs(parts) do 
    if part.pos == pos then 
       print("Found part inside region!")
       break 
   end
end
Posted by: Guest on November-15-2020

Browse Popular Code Answers by Language