Hello Ive been trying to make a script that pops up a GUI whenever you use a click detector inside a model. Here's the code.
script.Parent.MouseClick:connect(function()
script.Parent.Parent.Parent.Parent.StarterGui.CharacterBattle.Frame.Visible = true
end)
However it does not work. Whenever I click the model nothing happens.

1 comment
If you set the size of a GUI in StarterGui, it does not edit the player's GUI.