I been trying to make a script where I press a Union and a GUI would come up, the union has a clickdetector and the GUI is in the right places, I have no clue why is this happening I would like some answers to find the solution to this problem. Thanks
local guist = script.Parent.Parent.Parent.Frame script.Parent.Parent.Parent.Parent.Parent.Workspace.Union1Click.ClickDetector.MouseClick:Connect(function() guist.Visible = true print("works") end)
The print doesn't even work in the output.
you just have to use game.Workspace not script.Parent.Parent.Parent.Parent.Parent.Workspace.