Created
January 6, 2025 01:02
-
-
Save lamarmarshall/5182587704b670b99d7fe1b1d557cb27 to your computer and use it in GitHub Desktop.
Roblox, array, for loop, change brick color, random
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local cubes = game.Workspace.ColorCubes:GetChildren() | |
for i = 1, #cubes do | |
cubes[i].Color = BrickColor.Random().Color | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment