[UnSolved] Getting Every instance that you can add In studio in a loop

This module will do the exact thing for you:
(2) API Service - Roblox
Then type this code:

local API = require(game:GetService("ServerScriptService"):WaitForChild("APIService")) -- Or replace with path to module
local classes = API.RobloxAPI
for i, v in ipairs(classes) do
	print(v["Name"])
end

This will print every single roblox class’s name which you can customize to your liking. Here is a directory for a class:
image
Marking this as a solution really helps!

I was asleep I’ll try it out now.

@TheManInCity It doesn’t print anything.
image

I Could but It doesn’t have all the instances and when Roblox updates I’ll have to add the new instances again…

Can someone help please?

Try checking out this forum, copy the solution code and paste it, it has all of the instances, just put them in a loop.

Hope this helps :slight_smile:

I’ve tried that, it didn’t print anything.

I think an API is actually needed for these stuff.

local classes = "ABTestService Accessory Accoutrement AdService AdvancedDragger AlignOrientation AlignPosition AnalysticsSettings AnalyticsService AngularVelocity Animation AnimationController AnimationTrack Animator AppStorageService ArcHandles AssetCounterService AssetManagerService AssetService Atmosphere Attachment AvatarEditorService Backpack BackpackItem BadgeService BallSocketConstraint BasePlayerGui BaseScript Beam BillboardGui BinaryStringValue BindableEvent BindableFunction BlockMesh BloomEffect BlurEffect BodyAngularVelocity BodyColors BodyForce BodyGyro BodyMover BodyPosition BodyThrust BodyVelocity Bone BoolValue BoxHandleAdornment BrickColorValue BrowserService BulkImportService CacheableContentProvider Camera CatalogPages CFrameValue ChangeHistoryService CharacterAppearance CharacterMesh Chat ChorusSoundEffect ClickDetector ClientReplicator Clothing ClusterPacketCache CollectionService Color3Value ColorCorrectionEffect CompressorSoundEffect ConeHandleAdornment Configuration Constraint ContentProvider ContextActionService Controller ControllerService CookiesService CoreGui CorePackages CoreScript CoreScriptSyncService CornerWedgePart CSGDictionaryService CylinderHandleAdornment CylindricalConstraint DataModel DataModelSession DataStorePages DataStoreService Debris DebuggerBreakpoint DebuggerManager DebuggerWatch Decal DepthOfFieldEffect Dialog DialogChoice DistortionSoundEffect DockWidgetPluginGui DraftsService Dragger DynamicRotate EchoSoundEffect EmotesPages EqualizerSoundEffect EventIngestService Explosion Feature File FileMesh Fire FlagStandService FlangeSoundEffect FlyweightService Folder ForceField FormFactorPart Frame FriendPages FriendService GamepadService GamePassService GenericSettings Geometry GlobalDataStore GoogleAnalyticsConfiguration GroupService GuiBase GuiBase3d GuidRegistryService GuiLabel GuiService HandleAdornment Handles HandlesBase HapticService HingeConstraint HttpRbxApiService HttpRequest HttpService Humanoid HumanoidController HumanoidDescription ILegacyStudioBridge ImageButton ImageHandleAdornment ImageLabel InputObject InsertService InstanceAdornment InternalContainer IntValue InventoryPages JointInstance KeyboardService Keyframe KeyframeMarker KeyframeSequence KeyframeSequenceProvider LanguageService LegacyStudioBridge Light Lighting LineForce LineHandleAdornment LocalizationService LocalizationTable LocalScript LocalStorageService LoginService LogService LuaSettings LuaWebService ManualGlue ManualSurfaceJointInstance ManualWeld MarketplaceService MemStorageConnection MemStorageService MeshContentProvider MeshPart MessagingService Model ModuleScript Motor Motor6D Mouse MouseService MultipleDocumentInterfaceInstance NegateOperation NetworkClient NetworkReplicator NetworkServer NoCollisionConstraint NonReplicatedCSGDictionaryService NotificationService NumberValue ObjectValue OrderedDataStore OutfitPages PackageService Pages Pants ParabolaAdornment Part PartAdornment ParticleEmitter PartOperation PartOperationAsset Path PathfindingService PermissionsService PhysicsService PhysicsSettings PitchShiftSoundEffect Platform Player PlayerEmulatorService PlayerGui PlayerMouse Players PlayerScripts Plugin PluginAction PluginDebugService PluginDragEvent PluginGui PluginGuiService PluginManager PluginManagerInterface PluginMenu PluginMouse PluginToolbar PluginToolbarButton PointLight PolicyService Pose PostEffect PrismaticConstraint ProximityPrompt PVAdornment QWidgetPluginGui RayValue RbxAnalyticsService ReflectionMetadata ReflectionMetadataCallbacks ReflectionMetadataClass ReflectionMetadataClasses ReflectionMetadataEnum ReflectionMetadataEnumItem ReflectionMetadataEnums ReflectionMetadataEvents ReflectionMetadataFunctions ReflectionMetadataItem ReflectionMetadataMember ReflectionMetadataProperties ReflectionMetadataYieldFunctions RemoteEvent RemoteFunction RenderingTest ReplicatedFirst ReplicatedScriptService ReplicatedStorage ReverbSoundEffect RobloxPluginGuiService RocketPropulsion RodConstraint RopeConstraint Rotate RotateP RotateV RunningAverageItemDouble RunningAverageItemInt RunningAverageTimeIntervalItem RunService RuntimeScriptService ScreenGui Script ScriptContext ScriptDebugger ScriptService ScrollingFrame Seat Selection SelectionBox SelectionLasso SelectionSphere ServerReplicator ServerScriptService ServerStorage SessionService Shirt ShirtGraphic SkateboardController Sky SlidingBallConstraint Smoke Snap SocialService SolidModelContentProvider Sound SoundEffect SoundGroup SoundService Sparkles SpawnerService SpawnLocation SpecialMesh SphereHandleAdornment SpotLight SpringConstraint StandalonePluginScripts StandardPages StarterCharacterScripts StarterGear StarterGui StarterPack StarterPlayer StarterPlayerScripts Stats StatsItem StopWatchReporter StringValue Studio StudioData StudioService StudioTheme SunRaysEffect SurfaceAppearance SurfaceGui SurfaceLight SurfaceSelection TaskScheduler Team Teams TeleportService Terrain TerrainRegion TestService TextBox TextButton TextFilterResult TextLabel TextService Texture ThirdPartyUserService TimerService Tool Torque TotalCountTimeIntervalItem TouchInputService TracerService Trail Translator TremoloSoundEffect TriangleMeshPart TrussPart Tween TweenService UGCValidationService UIAspectRatioConstraint UIBase UIComponent UIConstraint UICorner UIGradient UIGridLayout UILayout UIListLayout UIPadding UIPageLayout UIScale UISizeConstraint UITableLayout UITextSizeConstraint UnionOperation UnvalidatedAssetService UserGameSettings UserInputService UserService UserSettings UserStorageService ValueBase Vector3Value VectorForce VehicleController VehicleSeat VelocityMotor VersionControlService VideoFrame ViewportFrame VirtualInputManager VirtualUser WedgePart Weld WeldConstraint Workspace"

If you insert a comma in between each one of these (it is a lot lol), you could put them in a table, and then do something like this:

for i, v in pairs(YourTableName) do
    print(v)
end

If I am correct, this will print the items in order. From there, you could do:

local Folder = Instance.new(“Folder”, game.Workspace)

for i, v in pairs(YourTableName) do
    local NewItem = Instance.new(v)
    print(v)
end

This might have some errors but it should be fine.

1 Like

Tables will take a very long time to do I would rather make an automated system than making a table and when Roblox updates I’ll have to add the new instances again.

Can somebody help…?
It has been 19 hours.

Any help is appreciated…

Hey again,

I have devised a bit of code that inserts everything it can into a folder in the workspace. Just make sure you have a folder in the workspace named “Folder”.

local Classes = {

	'Accessory',

	'Accoutrement',

	'AlignOrientation',

	'AlignPosition',

	'AngularVelocity',

	'Animation',

	'AnimationController',

	'ArcHandles',

	'Atmosphere',

	'Backpack',

	'BallSocketConstraint',

	'Beam',

	'BillboardGui',

	'BinaryStringValue',

	'BindableEvent',

	'BindableFunction',

	'BlockMesh',

	'BloomEffect',

	'BlurEffect',

	'BodyAngularVelocity',

	'BodyColors',

	'BodyForce',

	'BodyGyro',

	'BodyPosition',

	'BodyThrust',

	'BodyVelocity',

	'BoolValue',

	'BoxHandleAdornment',

	'BrickColorValue',

	'Camera',

	'CFrameValue',

	'CharacterMesh',

	'ChorusSoundEffect',

	'ClickDetector',

	'Color3Value',

	'ColorCorrectionEffect',

	'CompressorSoundEffect',

	'ConeHandleAdornment',

	'Configuration',

	'CornerWedgePart',

	'CylinderHandleAdornment',

	'CylindricalConstraint',

	'Decal',

	'DepthOfFieldEffect',

	'Dialog',

	'DialogChoice',

	'DistortionSoundEffect',

	'EchoSoundEffect',

	'EqualizerSoundEffect',

	'Explosion',

	'FileMesh',

	'Fire',

	'FlangeSoundEffect',

	'Folder',

	'ForceField',

	'Frame',

	'Handles',

	'HingeConstraint',

	'Humanoid',

	'HumanoidController',

	'HumanoidDescription',

	'ImageButton',

	'ImageHandleAdornment',

	'ImageLabel',

	'IntValue',

	'Keyframe',

	'KeyframeMarker',

	'KeyframeSequence',

	'LineForce',

	'LineHandleAdornment',

	'LocalizationTable',

	'LocalScript',

	'ManualGlue',

	'ManualWeld',

	'MeshPart',

	'Model',

	'ModuleScript',

	'Motor',

	'Motor6D',

	'NegateOperation',

	'NoCollisionConstraint',

	'NumberValue',

	'ObjectValue',

	'Pants',

	'Part',

	'ParticleEmitter',

	'PartOperation',

	'PartOperationAsset',

	'PitchShiftSoundEffect',

	'PointLight',

	'Pose',

	'PrismaticConstraint',

	'ProximityPrompt',

	'RayValue',

	'ReflectionMetadata',

	'ReflectionMetadataCallbacks',

	'ReflectionMetadataClass',

	'ReflectionMetadataClasses',

	'ReflectionMetadataEnum',

	'ReflectionMetadataEnumItem',

	'ReflectionMetadataEnums',

	'ReflectionMetadataEvents',

	'ReflectionMetadataFunctions',

	'ReflectionMetadataMember',

	'ReflectionMetadataProperties',

	'ReflectionMetadataYieldFunctions',

	'RemoteEvent',

	'RemoteFunction',

	'RenderingTest',

	'ReverbSoundEffect',

	'RocketPropulsion',

	'RodConstraint',

	'RopeConstraint',

	'Rotate',

	'RotateP',

	'RotateV',

	'ScreenGui',

	'Script',

	'ScrollingFrame',

	'Seat',

	'SelectionBox',

	'SelectionSphere',

	'Shirt',

	'ShirtGraphic',

	'SkateboardController',

	'Sky',

	'Smoke',

	'Snap',

	'Sound',

	'SoundGroup',

	'Sparkles',

	'SpawnLocation',

	'SpecialMesh',

	'SphereHandleAdornment',

	'SpotLight',

	'SpringConstraint',

	'StandalonePluginScripts',

	'StarterGear',

	'StringValue',

	'SunRaysEffect',

	'SurfaceAppearance',

	'SurfaceGui',

	'SurfaceLight',

	'SurfaceSelection',

	'Team',

	'TerrainRegion',

	'TextBox',

	'TextButton',

	'TextLabel',

	'Texture',

	'Tool',

	'Torque',

	'Trail',

	'TremoloSoundEffect',

	'TrussPart',

	'Tween',

	'UIAspectRatioConstraint',

	'UICorner',

	'UIGradient',

	'UIGridLayout',

	'UIListLayout',

	'UIPadding',

	'UIPageLayout',

	'UIScale',

	'UISizeConstraint',

	'UITableLayout',

	'UITextSizeConstraint',

	'UnionOperation',

	'Vector3Value',

	'VectorForce',

	'VehicleController',

	'VehicleSeat',

	'VelocityMotor',

	'VideoFrame',

	'ViewportFrame',

	'WedgePart',

	'Weld',

	'WeldConstraint',

}

local Folder = game.Workspace.Folder

for i, v in pairs(Classes) do
	local NewItem = Instance.new(v, Folder)
end

Let me know if further help is needed.

1 Like

I’ve tried that using a frame but it crashed me.
I think I’ll have to use an API for it instead.

Did you try what I put? Put the the module and the api printing script in serverscriptservice

There isn’t every single object value in there… Like actor

Yup Doesn’t print anything.

There are a few API dumps like this
https ://raw.githubusercontent.com/MaximumADHD/Roblox-Client-Tracker/roblox/Mini-API-Dump.json
It might not be up to date
pretty sure boatbomber made one too but I can’t find it.

Can you give me a code example with looping through it?

I pulled that specific API dump from this post

It probably has it inside somewhere