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

Why won't the "wait(30)" work?

Asked by
Danfly 5
10 years ago

Whenever I try this script it doesnt work. Instead making it re-appear right away when you open the GUI. Without waiting 30 sec.

while true do
    wait(30)
game.Workspace.RegisterMain.Register01.Cloner.RegisterGUI.Lock.Visible = true

end
1
full script please.. Not enough information provided to fix the issue. lomo0987 250 — 10y
0
What is the context of this? Is it in the workspace, or a GUI, or? BlueTaslem 18071 — 10y
0
Basically all I want it to do is after 30sec a gui comes up every 30 secounds Danfly 5 — 10y
0
There is nothing wrong here assuming your path is correct. Perci1 4988 — 10y

1 answer

Log in to vote
-1
Answered by
iLegitus 130
10 years ago

Probably Do :

wait(30) Outside of the loop.

0
A while true do loop? WITHOUT a wait? That is never a good idea. iaz3 190 — 10y
Ad

Answer this question