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

How Would I Copy A Gui Into Every Player At The Same Time?

So Let Me Explain I Want A GUI That Copies Into EVERY PLAYER At The SAME TIME.

How Can I Achieve This?

1 answer

✓ Accepted answer

I have your answer, but next time actually attempt to do it.

local children = game:GetService('Players'):GetChildren()
local gui = -- Put your directory here
for i, child in ipairs(children) do -- Looks for players
	local a = gui:Clone() -- Clones GUI
	a.Parent = child.PlayerGui -- Puts gui in child.PlayerGui (the guis of a player)
	print("Finished the cloning of p "..child.Name)
end

1 comment

0

I Did Try That But For Some Reason It Didn't Work With Me Probably A Typo I Dunno Anyways I Will Try That.

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