Hello, I’m trying to make a static effect on the players screen with an image label run by a local script although when I use this script none of the images load.
Script:
local Frame1 = "rbxassetid://8769169471"
local Frame2 = "rbxassetid://8769168840"
local Frame3 = "rbxassetid://8769168631"
local Image = script.Parent
while true do
Image.Image = Frame1
wait()
Image.Image = Frame2
wait()
Image.Image = Frame3
wait()
end
Variable names would never cause this issue. Confusion can be caused between child and property names, though you should use FindFirstChild("Name") with children and .Name with properties. However, this is not the case for this particular issue.
local Frame1 = "http://www.roblox.com/asset/?id=8769169441"
local Frame2 = "http://www.roblox.com/asset/?id=8769168788"
local Frame3 = "http://www.roblox.com/asset/?id=8769168604"
local Image = script.Parent
while true do
Image.Image = Frame1
wait()
Image.Image = Frame2
wait()
Image.Image = Frame3
wait()
end
local Frame1 = "rbxassetid://8769169441"
local Frame2 = "rbxassetid://8769168788"
local Frame3 = "rbxassetid://8769168604"
local Image = script.Parent
while true do
Image.Image = Frame1
wait()
Image.Image = Frame2
wait()
Image.Image = Frame3
wait()
end
You must’ve done it incorrectly since the script you provided works with the IDs swapped.