local button = script.Parent
local menu = button.Parent
button.MouseButton1Click:Connect(function()
menu.Visible = false
end)local TweenService = game:GetService("TweenService")
local frame = script.Parent
frame.Position = UDim2.new(0.5, -150, 1, 0) -- снизу
frame.AnchorPoint = Vector2.new(0.5, 0.5)
local tween = TweenService:Create(frame, TweenInfo.new(1), {
Position = UDim2.new(0.5, -150, 0.5, 0) -- центр экрана
})
tween:Play()