Skip to content
Roblox API Reference

RemoteCommandService

Team Create service that executes Luau commands sent from a Studio client on the collaborative editing server and relays their output back to that client.
  • Not creatable
  • Service
Memory category
Instances
Own members
14
Inherited members
75
Subclasses
0
Siblings
608

Properties23

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Methods48

Inherited fromObject3
  • Get an event that fires when a given property of the object changes.
    Parameters
    ParameterDescription
    property: string
    The property to connect to.
    Returns
    TypeDescription
    RBXScriptSignal
    A signal that fires whenever the property changes.
  • Object:IsA(className: string): boolean
    Returns true if an object's class matches or inherits from a given class.
    • Custom Lua state
    • Thread safe
    Parameters
    ParameterDescription
    className: string
    The class against which the Object's class will be checked. Case-sensitive.
    Returns
    TypeDescription
    boolean
    Describes whether the Object's class matched or is a subclass of the given class.
  • Object:isA(className: string): boolean
    Deprecated: This deprecated function is a variant of Object:IsA() which should be used instead.
    • Deprecated
    • Custom Lua state
    Parameters
    Parameter
    className: string
    Returns
    Type
    boolean

    Use IsA instead.

Inherited fromInstance39
Defined byRemoteCommandService6
  • RemoteCommandService:ExecuteCommand(code: string,...: any,): ExecutedRemoteCommand
    • Roblox script security
    Parameters
    Parameter
    code: string
    ...: any
  • RemoteCommandService:ExecuteCommandAsync(code: string, ...: any): ...any
    • Yields
    • Roblox script security
    Parameters
    Parameter
    code: string
    ...: any
    Returns
    Type
    ...any
  • RemoteCommandService:GetExecutingPlayer(): Player
    Returns the Player for the Studio collaborator who started the command that is currently executing.
    • Capabilities: RemoteCommand
    Returns
    TypeDescription
    Player
    The Player representing the collaborator who started the running command, or nil if no connected player matches.
  • RemoteCommandService:GetReceivedUpdateSignal(): RBXScriptSignal
    Returns a signal that fires on the server each time the Studio client that started the command sends it an update.
    • Capabilities: RemoteCommand
    Returns
    TypeDescription
    RBXScriptSignal
    An event that fires with the values the initiating Studio client passes each time it sends an update to the running command.
  • RemoteCommandService:GetStoppingSignal(): RBXScriptSignal
    Returns a signal that fires on the server when the command that is currently executing is being stopped.
    • Capabilities: RemoteCommand
    Returns
    TypeDescription
    RBXScriptSignal
    An event that fires, with no arguments, when the running command is stopped.
  • RemoteCommandService:SendUpdate(...: any)
    Sends a set of values from the running command back to the Studio client that started it.
    • Capabilities: RemoteCommand
    Parameters
    ParameterDescription
    ...: any
    The values to deliver to the initiating Studio client.

Events18

Inherited fromObject1
Inherited fromInstance9
Defined byRemoteCommandService8