So to sum it up, I've got a model called Flower with a lot of parts, and I'm trying to make all of those parts invisible when they're touched at once but it doesn't work.
(Here's my script)
function onTouched()
Parent.Parent.FindFirstChild("Humanoid")
if humanoid ~= nil then
Workspace.Flower:FindChildren.Transparency.new = 1
end
end

4 comments
will the number of parts change?
Uhhhmmmm looking at your code, I think you need to review your basics... http://wiki.roblox.com/index.php?title=AllTutorials#Scripting_Series
No the number of parts isnt supposed to change and it'd help if you said what was wrong rather than saying its all bad because of a few parts.
Your problem is how everything you're doing is completely wrong. If you want to code, Perci1 is meaning you should restart your learning. It's almost as if you're attempting to make a script as wrong as possible...basically