Hello.
I’m very very new to scripting as you can tell from the following lua block. What I need to know is if i can, and how, to select multiple parts to change in one script. I know I could tediously script in every single part, but that wouldn’t be practical. What I tried to do here is select a folder in workspace with multiple parts, all exactly the same and under the same name. I would know how to do this if I had to script each individual block, but is there a faster way?
local lights = game.Workspace.LightSet.Children
while true do
wait(1)
lights.BrickColor = BrickColor.new("Lilac")
lights.Material = Enum.Material.Neon
end
You’re Welcome!! Glad I could help. I recommend watching TheDevKing’s Advanced tutorial series but make sure you know the basics before diving in!! I learned all that from there. wish you the best of luck on your game!!
I agree with what you said, but the best way to learn(Not meant for everyone) is to look at the docs, since it has everything you need that isnt bug related.
They have really good examples and how to use things.