Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Roblox Failing to Load Images for Loading Screen?

Asked by
seansy 0
4 years ago

I'll just post the code and then try my best to explain what's up.

FPS = 15 -- How many frames per second it will run at. Maximum is 30 due to engine restrictions. GIF = {image IDs are here} script.Parent.Frame:WaitForChild("Logo") local frame = script.Parent:WaitForChild("Frame") local logo = frame:WaitForChild("Logo") -- Did you know GIF is supposed to be pronounced JIF?

function animation()

for N,F in ipairs(GIF) do game:GetService("ContentProvider"):Preload("http://www.roblox.com/library/?id="..F) -- This preloads each decal, so you don't have to deal with flashing decals. end

while true do for N,F in ipairs(GIF) do -- Run through the GIF table. logo.Image = "http://www.roblox.com/library/?id="..F- 1 wait(1/FPS) end end end

animation()

So yea, the output keeps spraying the same error about 100 messages per second. They look like this:

Image "http://www.roblox.com/library/?id=4486602396" failed to load in "Players.seansy.PlayerGui.LogoAnimation.Frame.Logo.Image": Request failed

Not sure what's going on here to be honest. It's a group game and the assets are uploaded the group as well, so I'm unsure why the images refuse to load. I've also noticed that the ImageLabel is actually going through the images correctly, but they aren't visible due to the loading issue. Any help is appreciate, thanks in advance.

Answer this question