I’m trying to make a gif out of a series of frames by updating the image every tick to make it look like a video yet when I update the frame there’s a small issue where the image turns white as it’s updating the next frame and this is making the whole screen look white, is there a way to get around this?
Here’s the code, may I note this wasn’t my final design or anywhere close to it, I just wanted to see if it would actually function just in case I didn’t have to waste any more time:
local Frames = {"I won't post the frames"}
local FrameView = script.Parent
local Count = 1
while wait(0.1) do
print(Frames[Count])
FrameView.Image = "rbxassetid://" .. Frames[Count]
Count = Count + 1
end
I think will probably be because the images haven’t been loaded onto the client in time, Roblox doesn’t usually download the image for an ImageLabel/Button until it is visible on the screen. You can preload them using PreloadAsync which will probably help (but if they don’t load before it’s called, It would probably still do that).