diff --git a/src/runner/instance.rs b/src/runner/instance.rs index c38e7e4..d0d1a77 100644 --- a/src/runner/instance.rs +++ b/src/runner/instance.rs @@ -244,6 +244,7 @@ impl mlua::UserData for Instance{ Some(&rbx_types::Variant::Int64(val))=>return val.into_lua(lua), Some(&rbx_types::Variant::Float32(val))=>return val.into_lua(lua), Some(&rbx_types::Variant::Float64(val))=>return val.into_lua(lua), + Some(&rbx_types::Variant::Ref(val))=>return Instance::new(val).into_lua(lua), Some(&rbx_types::Variant::CFrame(cf))=>return Into::::into(cf).into_lua(lua), Some(&rbx_types::Variant::Vector3(v))=>return Into::::into(v).into_lua(lua), other=>println!("instance.properties.get(i)={other:?}"),