Hi, so like bassicly lets say i make a for loop go through a model with 10 parts and changing the color to red, for some reason it waits before going to the next one? if that makes sence so like it waits to paint the first part to red then the second part to red then to third part to red, but i want it all to instantly go to red. please help
for _,Part in pairs(Model:GetChildren()) do
task.spawn(function()
Part.Color = Color3.new(1,0,0)
end)
end
task.spawn will put each iteration into its own thread
1 Like
Do you have any yields in your script? If not then the for loop should do all of it in a single frame
1 Like
This actually worked thank you
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.