# RunContext(ロブロックス 列挙型(Enum)) > Controls the execution context of a Script, determining whether it runs as server, client, plugin, or legacy container-based code. - URL:https://roblox.minecraft-okinawa.com/reference/enums/RunContext/ - 公式:https://create.roblox.com/docs/reference/engine/enums/RunContext ## 選べる値 - Enum.RunContext.Legacy(0):Runs with legacy container-based behavior that depends on the script type, such as LocalScript or Script. - Enum.RunContext.Server(1):Runs on the server. - Enum.RunContext.Client(2):Runs on the client. - Enum.RunContext.Plugin(3):Runs as a descendant of Plugin instances. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)