FANDOM


In RBX.lua, an RBXScriptSignal is a data type that defines something as an event. It can be connected to a function that will run when the event is fired.

Methods

Pubmethod RBXScriptConnection Connect(function func)

Connects the function to run when the event is fired. The arguments of the function are dependent on the event that is being connected.

Pubmethod RBXScriptConnection connect(function func) [deprecated]

Deprecated. Use Connect.

Pubmethod Tuple Wait()

Yields the script until the event is fired, and returns its parameters.

Pubmethod Tuple wait() [deprecated]

Deprecated. Use Wait.


Community content is available under CC-BY-SA unless otherwise noted.