GetObjects (Method)
From Legacy Roblox Wiki
Jump to navigationJump to search
Protected:This item is protected. Attempting to use it in a Script or LocalScript will cause an error.
GetObjects( Content content ) | |
Returns | Table table containing the object |
Description: | Gets the models specified by the argument's content link. |
Member of: | DataModel |
Example
print( game:GetObjects( [[rbxasset://fonts\Character.rbxm]] ) ) --> table: 0AC94B60 print( game:GetObjects( [[rbxasset://fonts\Character.rbxm]] )[1] ) --> erik.cassel game:GetObjects( [[rbxasset://fonts\Character.rbxm]] )[1].Parent = Workspace -- will create the erik.cassel model and add it to the Workspace