Correct me if this is the wrong category
I’ve noticed a lot games in there loading screens say they are,
LOADING THE MAP
or
LOADING TEXTURES
Or whatever.
So I am wondering, is there a way to load things into the game?
Such as scripts, textures, parts, meshes, etc?
Or do they just say that to seem cool?
Thanks!
Orbular3
(Orbular3)
May 24, 2023, 5:33pm
#2
Use ContentProvider:PreloadAsync({items to load})
. This pauses the script until all items have been loaded
3 Likes
Do I do this in a local script or server script?
Orbular3
(Orbular3)
May 24, 2023, 6:37pm
#4
You can do it in either although its probably more useful in a local script
If you want to show up objects that is being loaded, you can use
ContentProvider:PreloadAsync({game}, function(asset)
print('Loading rbxassetid://'..asset)
end)
2 Likes
Most of time it shows loading screen until all parts,decals and sounds have been loaded in.
Dauser said that you can see objects that are loading in his reply:
If you want to show up objects that is being loaded, you can use
ContentProvider:PreloadAsync({game}, function(asset)
print('Loading rbxassetid://'..asset)
end)