Hello im have a script that, when you touch a part it turns black, but what im tring to make, is a script that after all the parts inside BlueFolder are black, the ... games text wiil change to GAME OVER:
local Status = game.ReplicatedStorage.GameStats.Status
local blue = workspace.BlueFolder
while true do
Status.Value = "Round 1 Starting!"
Status.Value = "3"
wait(0.8)
Status.Value = "2"
wait(0.8)
Status.Value = "1"
wait(0.8)
if blue == BrickColor.new("Black") then
Status.Value = "Game over"
wait(1)
end
end
it just that i dont get it.. i tryed blue:GetChildren, but i cant figure it out
if in ur answer you can give me some info,thanks
BlueFolder is a folder that contains parts called Blue, that have a script in them , that when a character touches it, it turns Black. this is the script that each one has:
part = script.Parent
part.Touched:connect(function()
part.BrickColor = BrickColor.new("Black")
wait(60 + 60)
part.BrickColor = BrickColor.new("Bright blue")
end)

4 comments
thankyou for ur answer, i m at a level in which i cant understand what it does exactly, but ima tring to figure it out.
thisi s too hard.. cant you ..
like.. make it more simple, i will ask ChatGPT.
MAn, you gotta try it, ChatGPT know all!! even lua!!