Global
Getting Started
In this page, you will learn everything about the methods for global registers.
Methods
RegisterGlobal
Registers a connection & thread in the global registry.
If a connection & thread with the same name already exists, it is disconnected first. This ensures only one active connection per name is stored.
UnregisterGlobal
Unregisters (removes) a connection & thread from the global registry.
If the connection is an RBXScriptConnection & thread, it is disconnected before removal.
GetGlobalConnections
Returns the entire global registry table.
Useful for iterating over all stored global connections.
GetGlobal
Retrieves a single connection by name from the global registry.
Returns nil if the connection does not exist.
HasGlobal
Checks whether a connection with the given name exists in the global registry.
Returns true if found, false otherwise.
UnregisterGlobals
Disconnects and removes all connections from the global registry.
Disconnects any RBXScriptConnection & thread before clearing it from the table.
Use this when you want to completely clear all local connections.