Script to clone GUI to every player?

How would I be able to make a script that clones a GUI to everyone, but only for how many current players?

2 Likes

You can use this to clone a GUI on all players.

for _, player in pairs(game:GetService("Players"):GetPlayers()) do
	local Gui = game.ReplicatedStorage.ScreenGui:Clone() -- Put your gui here
	Gui.Parent = player.PlayerGui
end
5 Likes