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.

2 comments
script.Parent.Parent.Parent.Parent.Parent.Workspace lmao
Donkey, I tried using game.Workspace but that didn't work so I tried this