PcoWSkbVqDnWTu_dm2ix
Collapse Sidebar

GetDebugId

Returns a coded string of the Instances DebugId used internally by Roblox.

Notes

  • This item is protected. Attempting to use it in a Script or LocalScript will cause an error
  • A debug ID is an ID used in debugging processes. It allows a debugger to read each instruction before an application processes it. All objects in Roblox act like processes and each run instructions (or ‘code’) that can be debugged if needed
  • This can be helpful for plugins which need to distinguish similar objects from one-another (such as objects that share the same name)

Parameters

Name Type Default Description
int
4

The scope length.

Returns

Return Type Summary

The Debug ID string.


Code Samples


Instance:GetDebugId