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