Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to clone?

Asked by 8 years ago

Hey, why won't this work? It's meant to clone the GUI to the player's Starter GUI.

player = game.Players.LocalPlayer

script.Parent.ChildAdded:connect(function()
    local gui = script.Parent.ScreenGui:clone()
    gui.Parent = player.PlayerGui
end)

Thanks

0
maybe because you're waiting for a child to be added but there are no children being added e.e? Ryzox 220 — 8y
0
Fixed it, nvm AgentL3r 40 — 8y

Answer this question