So I have this
players = game.Players:GetChildren() count = game.StarterGui.countdown counting = count:Clone() counting.Parent = players.PlayerGui wait(.5) players.PlayerGui.countdown.Frame.Visible = true
countdown is a Gui that I want to be visible when it activates. So uh, am I doing it right?
Your code was a bit off.
You need to add a for loop
to check all the players.
players = game.Players:GetChildren() for index, value in pairs(players) do --Special function that checks all children of the players count = game.StarterGui.countdown counting = count:Clone() counting.Parent = value:WaitForChild("PlayerGui")--Waits for the PlayerGui to load value:WaitForChild("PlayerGui").countdown.Frame.Visible = true end
If you are still unclear visit this wiki page: http://wiki.roblox.com/index.php?title=Function_dump/Basic_functions&redirect=no#pairs