so i made a screen and scripted it so it chooses a random color from red, green ,blue, yellow. there are 4 platforms and i want to know how can i make the platform with the color that is shown on the screen to disappear. Here is script of random colors on screen:
wait(30)
while true do
wait(15)
local colors = {
Color3.fromRGB(245, 205, 48);
Color3.fromRGB(0, 137, 207);
Color3.fromRGB(250, 40, 28);
Color3.fromRGB(0,200,0);
}
local color = colors[math.random(1, #colors)]
script.Parent.Color = color
wait(3)
end

1 comment
k thanks, imma try