i forgot to mention, “getpartsinart” just gives me an error saying its not a valid child, i saw on the documentation it tells me to use it, but it justs breaks the script
GetPartsInPart is a method of WorldRoot which WorkSpace inherits from. BaseParts don’t inherit from WorldRoot. So if you tried to index the part with GetPartsInPart, do this instead:
local partsInPart = workspace:GetPartsInPart(part)