For example, lets say I dropped a part on a model. I want it to tell me if a specific part is in there or not. (I do not want to use getDecendents() because its not going to work in this situation). I haven't posted any code because I don't know what to do.
To clarify this question, I want to check if a specific int value is in the model that the part touched, but i can't use getDecendents because there is going to be multiple models with the same name.
Addition
So whipped up a script using you're help guys, but it says workspace.d.Script:8: attempt to index nil with 'GetDecendents' what is wrong now?
local part = script.Parent
part.Touched:Connect(function()
local par = part:GetTouchingParts()
local model = par.Parent
local z = model:GetDecendents()
print(z)
end)

1 comment
.Touched? GetTouchingParts()?