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

My In-Game Video Keeps Flickering?

Asked by 4 years ago
Edited 4 years ago

So I wanted to make a video In-Game and make it repeat but the video keeps flickering for some reason, here is the script (the script is not a localscript, it's a normal one)

while true do
    for i = 1,25 do
        for _,v in pairs(script.Parent:GetChildren()) do
            if v:IsA("Decal") then
                v.Texture = string.format("rbxgameasset://Images/d",i)
            end
        end
        wait()
    end
end

I put the video images in rbxgameasset://Images/ thinking that it would preload, it didn't. (note that I have no clue if preloading will solve the flickering issue.) What can I do?

0
Yea i think the problem here is the game hasn't preloaded yet (Or it preloaded) Maybe you can slow down the framerate ? Nguyenlegiahung 1091 — 4y
0
I tried making a preload script but I don't know how to preload the assets from rbxgameasset googleUSE 0 — 4y

Answer this question