local prompt = script.Parent
prompt.Triggered:Connect(function(player)
local PlayerGui = player:WaitForChild("PlayerGui")
local ScreenGui = PlayerGui.MenuGUI
local Frame = ScreenGui.MainFrame.G001
if Frame.Visible == false then
Frame.Visible = true
end
end)
Button: LocalScript
script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.Visible = not script.Parent.Parent.Visible
end)