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

Gui doesn't appear when i clone it to StarterGui?

Asked by 4 years ago

I'm making an object that when clicked, opens a gui with some animated text. This is my code so far:

script.Parent.MouseClick:Connect(function()
    local gui = script.Parent.Parent.talk:Clone()
    gui.Parent = game.StarterGui
end)

The typing animation is in the Gui, but the main problem is that the explorer shows that the Gui is cloned to StarterGui, but i can't see it in game.

1 answer

Log in to vote
1
Answered by
0msh 333 Moderation Voter
4 years ago

I'll give a simple answer, you will need to clone it to the player's PlayerGui for the player to see.

0
^Facts, and just in case make sure the GUI is always enabled St_vnC 330 — 4y
Ad

Answer this question