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

How can i clone my INTRO GUI to a player when they join?

I have the intro gui all ready but, I don't know how to clone it to a player. Can someone provide a link or explain?

2 comments

0

You should be able to just put the gui inside StarterGui where it will automatically be replicated to each player when they join.

0

All you have to do is put it in "StarterGui", and it will automatically be replicated in each player's "PlayerGui" when they join.

1 answer

✓ Accepted answer

You can put it in StarterGui (this is the location for the players guis when they spawn)

Or you can do it the scriping way:

Local Script:

local gui = game.ReplicatedStorage.Gui:Clone()
gui.Parent = game.Players.LocalPlayer.PlayerGui

Server Script:

game.Players.PlayerAdded:connect(function(player)
local gui = game.ReplicatedStorage.Gui:Clone()
gui.Parent = player.PlayerGui
end)

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