Here is my code:
01 | while workspace [ "Water, Start, Timer, and Platforms" ] .Start.Transparency = = 0 do |
02 | for _,v in pairs (workspace [ "Water, Start, Timer, and Platforms" ] .Platforms:GetChildren()) do |
03 | if v:IsA( "BasePart" ) then |
04 | v.Transparency = 1 |
05 | end |
06 | end |
07 | end |
08 |
09 | while workspace [ "Water, Start, Timer, and Platforms" ] .Start.Transparency = = 1 do |
10 | for _,v in pairs (workspace [ "Water, Start, Timer, and Platforms" ] .Platforms:GetChildren()) do |
11 | if v:IsA( "BasePart" ) then |
12 | v.Transparency = 0 |
13 | end |
14 | end |
15 | end |
Any suggestions?
add a wait()
01 | while workspace [ "Water, Start, Timer, and Platforms" ] .Start.Transparency = = 0 do |
02 | for _,v in pairs (workspace [ "Water, Start, Timer, and Platforms" ] .Platforms:GetChildren()) do |
03 | if v:IsA( "BasePart" ) then |
04 | v.Transparency = 1 |
05 | end |
06 | end |
07 | wait() |
08 | end |
09 |
10 | while workspace [ "Water, Start, Timer, and Platforms" ] .Start.Transparency = = 1 do |
11 | for _,v in pairs (workspace [ "Water, Start, Timer, and Platforms" ] .Platforms:GetChildren()) do |
12 | if v:IsA( "BasePart" ) then |
13 | v.Transparency = 0 |
14 | end |
15 | end |
16 | wait() |
17 | end |