This commit is contained in:
aaron 2023-07-30 22:39:04 +01:00
parent 676bbbcc00
commit 96e577a626

View file

@ -16,7 +16,7 @@ local function recurse(instance: Instance, properties: { [unknown]: unknown }, e
recurse(instance, value :: {}, event_buffer)
elseif type(property) == "string" then
if type(value) == "function" then
if typeof((instance :: any)[property] == "RBXScriptSignal") then
if typeof((instance :: any)[property]) == "RBXScriptSignal" then
event_buffer[property] = value
else
bind.property(instance, property, value :: () -> ())