Returns every Instance Roblox is keeping alive on the client, including ones with no parent in the game hierarchy.
getinstances(): {Instance}
The result mixes two groups in one table: Instances reachable through game (workspace, Players, the rest of the visible hierarchy), and Instances that exist in memory but have their Parent set to nil.Common usage: locate an Instance by name when you don’t know its path in the hierarchy.