Behind the scenes, each script has a unique memory address even if it has the same name as another script, but as far as I know, there isn’t a method available that one can use to view it (although, one can see the memory address of a table value by using tostring
, but this method doesn’t work on Instances)
I have all beta features enabled on Studio, and Roblox seems to be experimenting with a UniqueId
property that all Instances seem to have. Currently it doesn’t seem to be able to be used, but once it’s available, it can provide a way to identify the script that owns the connection if you send its value with the connection
@C_Corpze From further research, the reason why the UniqueId
property is currently unable to be used is due to a bug: