Side Menu

Pop-up Menu

LocalScript under Frame

local openButton = script.Parent.Parent.open

local frame = script.Parent

frame.Visible = false

local function openMenu()
    frame.Visible = not frame.Visible
end

openButton.MouseButton1Click:Connect(openMenu)

Pop-up Menu with Button Template

LocalScript under Frame

local openButton = script.Parent.Parent.open
local button1 = script.Parent.Button1
local button2 = script.Parent.Button2
local button3 = script.Parent.Button3

local frame = script.Parent

frame.Visible = false

local function openMenu()
    frame.Visible = not frame.Visible
end

local function Button1()
    print("Button1 was clicked")
end

local function Button2()
    print("Button2 was clicked")
end

local function Button3()
    print("Button3 was clicked")
end

openButton.MouseButton1Click:Connect(openMenu)
button1.MouseButton1Click:Connect(Button1)
button2.MouseButton1Click:Connect(Button2)
button3.MouseButton1Click:Connect(Button3)