new_connection
Creates a new connections
modules.new_connection(name: string, connection: RBXScriptConnection)
Parameters
name
: Name of the connectionconnection
: The connection itself
Example
local RunService = game:GetService("RunService")
modules.new_connection("test_connection",RunService.Heartbeat:Connect(function()
print("Hello world")
end))
Last updated