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

How can i make a gui that everyone sees?

Asked by 9 years ago

Im making a countdown gui, but it only shows the scripts effects on one gui, any way to make it go on all of the PLayerGuis?

1 answer

Log in to vote
0
Answered by
Kyokamii 133
9 years ago

You would need to do a for loop to get all the player guis.

for i,v in pairs(game.Players:GetPlayers()) do --Or GetChildren() not too sure lmao
if v then
v.PlayerGui.GuiName.TextThing.Text = "Countdown"
wait()
end
end

Basically, v is the player.

0
Sorry if bad answer I'm not too good at explaining stuff, but the loop gets all the players and put them in the v variable. Kyokamii 133 — 9y
Ad

Answer this question