game.Workspace.DummyCaptain.ClickDetector.MouseClick:Connect(function()
script.Parent.Parent.Parent.StarterGui.ShopClick.Frame.Visible = true
end)
✓ ANSWER ACCEPTED
why if me click the "DummyCaptain" the ShopGUI is not see at my screen?
2 answers
✓ Accepted answer
its a gui right? we dont need a clickdetector on it because we dont need one frames already have their own events and if the script was a normal script then change it to a local script and write this
game.Workspace.DummyCaptain.MouseClick:Connect(function()
script.Parent.Parent.StarterGui.ShopClick.Frame.Visible = not script.Parent.Parent.StarterGui.ShopClick.Frame.Visible
end)
1 comment
0
oh wait im sorry i've understand this so wrong give me your discord so i can give you the sloution
game.Workspace.DummyCaptain.ClickDetector.MouseClick:Connect(function() script.Parent.Parent.Parent.StarterGui.ShopClick.Frame.Visible = false end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
if this?