:GetTouchingParts() returning an empty table

yeah that could have been the reason why the table.find wasn’t working lol

if the basepart’s name is rice

for index, value in ipairs(partsIn) do
    if value.Name == "Rice" then
         --stuff
    end
end
2 Likes

yes you are able to do that, he showed you how to do it using the for loop

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.