local screenGui = script.Parent local button = screenGui:WaitForChild("TextButton") -- 開くボタン local frame = screenGui:WaitForChild("Frame") -- 開く対象GUI -- 最初は非表示にする(※プロパティで設定済みならこの行は不要) frame.Visible = ...