Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would I change the properties of multiple parts at once?

Asked by 8 years ago
Edited 8 years ago

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


0
will the number of parts change? User#5423 17 — 8y
0
Uhhhmmmm looking at your code, I think you need to review your basics... http://wiki.roblox.com/index.php?title=AllTutorials#Scripting_Series Perci1 4988 — 8y
0
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. IAmSoloz 14 — 8y
0
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 alphawolvess 1784 — 8y

Answer this question