Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to change guis all at once?

This script only changes each player's gui one at a time. How do you change the text of everyone's gui all at once?

function countdown()
	local players = game.Players:GetPlayers()
	for i = 1, #players do
		players[i].Character.Humanoid.NameOcclusion = Enum.NameOcclusion.OccludeAll
		local stats = players[i].PlayerGui.fullGui.everything.gamePlay.informer
		local spawn = game.ServerStorage.WeaponSpawns:Clone()
		spawn.Parent = Workspace
		stats.Text = '3'
		wait(1)
		stats.Text = '2'
		wait(1)
		stats.Text = '1'
		wait(1)
		stats.Text = 'Begin!'
		stats.FontSize = 'Size48'
		wait(2)
		stats.Text = ''
		wait(1)
		stats.Text = 'Objective: Find a weapon.	'
		stats.FontSize = 'Size36'
	end
end
countdown()

1 comment

0

wait(1) sounds like a second to me. maybe wait(0.1) could be helpful

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.