RBXScriptSignal

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.

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

Deprecated. Use Connect.

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

Deprecated. Use Wait.