Skip to main content
Connect to a Roblox signal (like RunService.Heartbeat). Automatically disconnects when your script unloads, so you don’t have to track the connection.
RBXScriptSignal
required
Signal to subscribe to.
function
required
Receives the signal’s arguments.
api.onUnload · Cleanup