RovibesROVIBES // ROBLOX INFO
ENJA
Live
DevForum5 days ago

[Studio Beta] Reference Instances Directly with Attributes

Summary

Roblox is introducing the InstanceHandle type for attributes, allowing developers to reference other instances directly without needing separate ObjectValue objects. This update simplifies data management and handles replication timing issues through the Wait() and Get() methods on the handle.

UpdateFeature
Read original article →
+85Vibe

Vibe score

-100 to +100

Community reactions

DevForum
Neutral0 eng

image 360×325 75 KB

DevForum
Neutral0 eng

Amazing update. Thank you so much!

DevForum
Neutral0 eng

image 516×387 39.1 KB

DevForum
Neutral0 eng

This is a huge win! Will these work as expected in Server Authority mode/ BindToSimulation loops?

DevForum
Neutral0 eng

I am so unbelievably happy. I’ve been wanting this since day 1 of attributes coming out

DevForum
Neutral0 eng

This topic was automatically opened after 10 minutes.

DevForum
Neutral0 eng

Huge!, One of the most awaited and requested features is finally live, Thank you guys for the progress, this allows us to be more focused on handling physicals instances as states and data

DevForum
Neutral0 eng

Needed this 3 years ago, fire update! Great work

DevForum
Neutral0 eng

Hi everyone, I like this feature but making a new type for it is very interesting and I want to see what others think Thank you everyone

DevForum
Neutral0 eng

I used to pray for times like this

DevForum
Neutral0 eng

This is huge. I LOVE IT! Cant wait to update my code to use it

DevForum
Neutral0 eng

This is amazing!! Question: What is the lifecycle management setup for these InstanceHandles? Do we need to destroy/disconnect them? How does that work w/ Attribute-based InstanceHandles?

DevForum
Neutral0 eng

Extremely happy to see this! Will we be getting enums added to the dropdown anytime soon? Setting them via command line or scripts only is a pain (outside of plugins such as this )

DevForum
Neutral0 eng

Here i was just wanting an Instance type for attributes, but they went and made it even BETTER for replication purposes. FIRE UPDATE!!!

DevForum
Neutral0 eng

I always wondered how this feature would be handled when it was finally added, and my first impression is that everything about this feels right. I really like the addition of InstanceHandle and that it has uses outside of attributes. This is a very exciting update.

DevForum
Neutral0 eng

They hold a weak reference to the instance itself (if it is present) and will be cleaned up automatically by the garbage collector when they are no longer referenced in your scripts.

DevForum
Neutral0 eng

i genuiney cannot contain my excitement, but i guess i have to or else the devforum will tell me that i need a structured sentence or whatever.

DevForum
Neutral0 eng

Finally! Thank you Roblox for making such a good and highly requested update! I can’t wait to use this!

DevForum
Neutral0 eng

Are there any plans to provide some sort of API to get an Instance’s underlying ID? local workspace_id = Instance.toId(workspace) local workspace_reference = Instance.fromId(id) Since most people nowadays use network modules that automatically serialize outgoing data, doing so would be more convenie