Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

The GUI doesn't pop up when the Union is clicked, why?

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

0

script.Parent.Parent.Parent.Parent.Parent.Workspace lmao

0

Donkey, I tried using game.Workspace but that didn't work so I tried this

1 answer

you just have to use game.Workspace not script.Parent.Parent.Parent.Parent.Parent.Workspace.

3 comments

0

It didn't work

0

oh

0

maby try cloning the gui into the players PlayerGui

This discussion is preserved as it was. New answers, comments, and votes are closed.