Skip to content

BindableEvent

An event object that behaves more similar to a Roblox object's event. This implementation also allows userdata types often made from newproxy() to be sent as arguments.

new

Returns a new BindableEvent

local bindableEvent = BindableEvent.new()

Connect

Returns a connection that can be disconnected

local connection = BindableEvent:Connect(function()

end)

connection:Disconnect()

Wait

Returns the arguments the next time the event fires

local args = {BindableEvent:Wait()}

Fire

{internal}

BindableEvent:Fire(...)