so i made a script that makes 1/4 platforms randomly disappear and i put that script in a gui , but how do i make the gui show the color of the platforms that disappear ? here is the script for the disappearing platforms:

view source

local platforms = workspace.PlatformsFolder -- platforms in a folder

colors = { --table of colors BrickColor.new("Really blue"), BrickColor.new("Really red"), BrickColor.new("Really yellow"), BrickColor.new("Really green") }

01 while true do 02 local color = colors[math.random(1,#colors)] 03 print(color) 04 for i,v in pairs (platforms:GetChildren()) do 05 for i,v in pairs goes through this table 06 if v:IsA("BasePart") then 07 if v.BrickColor == color then 08 v.CanCollide = false 09 v.Transparency = 1 10 else --if not 11 v.CanCollide = true 12 v.Transparency = 0 13 end 14 end 15 end 16 wait(5) end plsssss help meeeeeeee