Is there a way to preload every mesh/decal in your game without having to type each individual ID for them? like a script that would grab all the meshes/decals and preload them
COMMUNITY QUESTION
Is there a way to preload meshes/decals all at once?
1 answer
You can use a "for" loop for the preloading, with a table full of ids. For Example:
local IDs = {}
for i = 1, #IDs do
game:GetService("ContentProvider"):Preload(IDs[i])
end
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
I wanted it to detect all of the IDs in my game so I wouldn't have to type them all in the local IDs