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

Image Label Problem again, please help?[Not duplicate]

Asked by 9 years ago

This is the 3rd part of this problem. I look in the output and It says that the asset is not in proper asset format. Here is my script. BTW this isn't a duplicate.

frames = {230020795,230021055,230022130,230023083,230023938,230024173,230024269,230024743,230025991,230026076,230028638,230028781,230028829,230028881,230028915,230054690,230054720,230054806,230054865,230054930,230055354,230055573,230055616,230055672,230055788}--25
local i = 1

game:GetService("RunService").Heartbeat:connect(function()
    i = i+1
    if i > #frames then
        i = 1
    end
    game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id="..frames[i]-1)
    script.Parent.Image = "http://www.roblox.com/asset/?id="..(frames[i]-1)
end)

BTW I did make these decals by myself. I don't copy other people's stuff.

0
Subtract the ID's by one. TheeDeathCaster 2368 — 9y
0
Hey TheAlphaStigma, on line 10 you can see that it is attempted by taking the number in the table, and automatically subtracting one. AmericanStripes 610 — 9y
0
Oh, sorry, I didn't see that. TheeDeathCaster 2368 — 9y
0
There is a loading glitch for Decals where the actual ID will load 2-3 ID's before the 'buyable' one. E.x; 230023938's actual ID is 230023936, two numbers apart from each-other, I just tested this out in the studio, and that is the case to why some of the Images aren't loading. TheeDeathCaster 2368 — 9y

Answer this question