Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Parts staying when should have been made transparent?

Asked by 4 years ago

Hey, basically, when a colour is selected, all the other colours are meant to disappear, but for some reason, this doesn't happen a few rounds in.

For example, the colour is yellow, but it leaves blue parts. I'll leave the code below.

01while #game.Players:GetPlayers() < 1 do
02 
03    --      S E I
04    for i = 1, 10, 1 do
05 
06        local colours = {"Red","Orange", "Yellow", "Green", "Dark Blue", "Light Blue", "Pink", "Purple", "White"}
07        local randomColour = math.random(1,#colours)
08        local Parts = game.Workspace.GameParts:GetChildren()
09 
10        print("Get ready!")
11 
12        wait(10)
13 
14        print ("Selecting safe part...")
15 
View all 49 lines...

1 answer

Log in to vote
0
Answered by 4 years ago

you are not using the names correctly

Ad

Answer this question