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

How do I make a gui appear on all players screen after waiting 30 seconds? [closed]

Asked by 10 years ago

How do I make a gui appear on all players screen after waiting 30 seconds?

The gui's name is "Map Chooser".

0
We are not here to make scripts for you. We are here to >>>HELP<<<< ConnorVIII 448 — 10y

Closed as Not Constructive by User#2

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
1
Answered by 10 years ago
wait(30) -- wait 30 seconds
for i,v in pairs(game.Players:GetChildren()) do -- loop through all the players
    v.PlayerGui["Map Chooser"].Visible = true -- make the map chooser visible. v is the current player in the loop, and we have to use brackets since the name has a space in it.
end
0
Thanks so much. FamousDoge 0 — 10y
0
I'm glad to have helped :) LightArceus 110 — 10y
Ad