function onTouched()
local Owner = script.Parent.Parent.owner.Value
if Owner ~= nil then
for i, v in pairs(script.Parent.Dropper:GetDescendants())
do v.Transparency = 0
do v.CanCollide = true
end
end
script.Parent.DropperScript.Disabled = false
script.Parent.Part:Destroy()
end
end
script.Parent.Part.touched:connect(onTouched)
COMMUNITY QUESTION
Why does the if statement fire even if Owner = nil? [ANSWERED IN QUESTION]
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
please tell us the FULL probl3m
wdym
Can you give a explanation of what you're trying to do with the Touched event?
Like Polarium said, please describe what you are trying to do accomplish in your game by writing this script, and maybe take a picture of your explorer so we know what instance are parents to others and how everything is arranged.