A part has 6 textures on every side, and this part has the script below. I want the script to change all the texture components at the same time every 1 second, but it only changes 1 texture from one at a time. Why is it changing only one texture instead of all of them? I changed the ID of the decal so you others don't use it.
while true do
for _, child in pairs(script.Parent:GetChildren()) do
if child.ClassName == "Texture" then
child.Texture = "rbxassetid://(ID)"
wait(1)
child.Texture = "rbxassetid://(ID)"
wait(1)
end
end
end

1 comment
Thanks!