can anyone tell me how i can change everyones playergui using getplayer?
let's say i have a textlabel in a screengui inside the startgui. now how do i get all player and change the text in textlabel inside they're playergui?
Here's a script i just made while making this question so i don't really know if this will work. Will this script work or does it need some changes?
local function start ()
local players = game.Players:GetPlayers()
players.PlayerGui.TextLabel.Text = 30
for i=1, 30 do
wait(1)
players.PlayerGui.TextLabel.Text = players.PlayerGui.TextLabel.Text - 1
end
end)

3 comments
I tried my best to make the question understandable.
It is best to do thison the client side just notify all players that they should start the countdown
yes that was the original plan but bugs started to come out so im trying my best not to use client side as much as possible. or just rewrite the whole script