Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Preloading doesn't preload assets?

I have an animated screen on a SurfaceGui that changes the ID, but it flashes white for most of the images, but I want it to smoothly change without any flashing.

This is a snippet of the part that preloads the assets. "Assets" is a table containing the Asset IDs of different decals.

for _, PriorityAssets in pairs(Assets) do
	ContentProvider:PreloadAsync({"http://www.roblox.com/asset/?id="..Assets})
end

1 answer

for _, PriorityAssets in pairs(Assets) do
	ContentProvider:PreloadAsync("http://www.roblox.com/asset/?id="..{Assets})
end

See if this works.

2 comments

0

That errors.

0

what's the error?

This discussion is preserved as it was. New answers, comments, and votes are closed.