GetDebugId (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>MrNicNac
You did not need the brackets around the object.
>MrNicNac
You did not need the brackets around the object.
(No difference)

Revision as of 04:12, 26 December 2010

GetDebugId( Integer scopeLength )
Returns String DebugId
Description: Returns a coded string of the object's DebugId.
Member of: Instance











Here's an example of how to use GetDebugId():

function debugId( object, scopeLength )
   return object:GetDebugId( scopeLength )
end


print( debugId( Workspace ) ) --> 39FA_12
print( debugId( Workspace, 10 ) ) --> 39FA2FEF4D_12
print( debugId( Workspace, math.huge ) ) --> 12