#changing the material and colour for 100+ items with one click detector

6 messages · Page 1 of 1 (latest)

dawn parcel
#

only a basic scripter here

#

^ also need the parts to light up individually as well as at once

dawn zephyr
#
local RandomFolderUPutTheStuffUWannaChange = workspace.RandomFolder

local clickDetector = script.Parent

clickDetector.MouseClick:Connect(function()
for i, v in RandomFolderUPutTheStuffUWannaChange:GetDescendants() do
   if v:IsA("BasePart") then
    v.BrickColor = BrickColor.new("White")
    v.Material = Enum.Materials.SmoothPlastic
end
end
end)

<33

dawn parcel
#

ok i fixed it thank you so much

#

i also need a way to turn it off though