script.Parent.ClickDetector.MouseClick:Connect(function()
local gui = game.Players.LocalPlayer.PlayerGui.WantLuck -- Name of Gui
gui.Frame.Visible = true
end)
This seems like it should work to me. I have tried this script in both Local and regular script. Every time I click the part nothing happens. No errors in the output. How would you make a script that opens a gui after being clicked?
