Ad
Log in to vote
0

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

Asked by 7 days ago

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?

0
You should be able to just put the gui inside StarterGui where it will automatically be replicated to each player when they join. mattscy 1141 — 7d
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. IIApexGamerII 30 — 7d

1 answer

Log in to vote
0
Answered by 7 days ago

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)
Ad

Answer this question



Ad