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

How to make a GUI popup when you click a part?

Asked by 6 years ago

I am making a game and it is hard bc this script is not working i am trying to make a gui pop up when you CLICK a part thats in workspace i tried this but it is not working can someone help me please

Quest1 = game.StarterGui.QuestLogs.Quest1
script.Parent.MouseClick:Connect(function()
Quest.Frame.Visible = true
end)

But its not working!! how do i make it work!!

0
Make sure to learn the basics of coding Bazuxk 95 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

You made it Quest instead of Quest1?

Quest1 = game.StarterGui.QuestLogs.Quest1
script.Parent.MouseClick:Connect(function()
Quest1.Frame.Visible = true
end)
Ad

Answer this question