local r={}for f,a in pairs(script:GetChildren())do table.insert(r,a)end local f={[1]=Color3.fromRGB(255,255,255),[2]=Color3.fromRGB(255,0,0);[3]=Color3.fromRGB(0,255,0),[4]=Color3.fromRGB(0,0,255);[5]=Color3.fromRGB(255,255,0);[6]=Color3.fromRGB(255,0,191),[7]=Color3.fromRGB(0,255,255),[8]=Color3.fromRGB(213,115,61);[9]=Color3.fromRGB(98,37,209),[10]=Color3.fromRGB(91,93,105)}local function a()local r=math.random(1,10)if f[r]then return f[r]end return Color3.fromRGB(255,255,255)end

local shapes = {}
for _, v in pairs(script:GetChildren()) do
	table.insert(shapes, v)
end

local colors = {
	[1] = Color3.fromRGB(255,255,255),
	[2] = Color3.fromRGB(255,0,0),
	[3] = Color3.fromRGB(0,255,0),
	[4] = Color3.fromRGB(0,0,255),
	[5] = Color3.fromRGB(255,255,0),
	[6] = Color3.fromRGB(255,0,191),
	[7] = Color3.fromRGB(0, 255, 255),
	[8] = Color3.fromRGB(213, 115, 61),
	[9] = Color3.fromRGB(98, 37, 209),
	[10] = Color3.fromRGB(91, 93, 105),
}

local function getColor()
	local num = math.random(1,10)
	if colors[num] then
		return colors[num]
	end
	return Color3.fromRGB(255,255,255)
end
