# RemoteFunction(ロブロックス クラス) > サーバーとクライアントのあいだで、問い合わせて答えを受け取るための部品です。RemoteEventと違い、返事(戻り値)を受け取れます。 - URL:https://roblox.minecraft-okinawa.com/reference/classes/RemoteFunction/ - 公式:https://create.roblox.com/docs/reference/engine/classes/RemoteFunction - 受け継いでいるクラス:Instance ## メソッド - `RemoteFunction:InvokeClient(player: Player, arguments: Tuple): Tuple`:Invokes the RemoteFunction which in turn calls the Class.RemoteFunction.OnClientInvoke|OnClientInvoke callback. - `RemoteFunction:InvokeServer(arguments: Tuple): Tuple`:Invokes the RemoteFunction which in turn calls the Class.RemoteFunction.OnServerInvoke|OnServerInvoke callback. ## コールバック - `RemoteFunction:OnClientInvoke(arguments: Tuple): Tuple`:Callback for when the RemoteFunction is invoked with Class.RemoteFunction:InvokeClient()|InvokeClient(). - `RemoteFunction:OnServerInvoke(player: Player, arguments: Tuple): Tuple`:Callback for when the RemoteFunction is invoked with Class.RemoteFunction:InvokeServer()|InvokeServer(). 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)