How to detect parts inside parts?
this is very simple! all you must do is get the part u want then find if any parts r touching it
local table = nil local part = game.Workspace.Part table = part:GetTouchingParts() local part2 = game.Workspace.part2 -- part you want to c if its in this block if table[part2] then -- do stuff end
if u have any question feel free to ask
Closed as Not Constructive by User#20388, DeceptiveCaster, brokenVectors, Axceed_Xlr, and BlackOrange3343
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?