Hello!
I am trying to make a digital billboard, similar to the ones in Times Square that cycle through advertisements. I have a SurfaceGui with two child ImageLabels (Sandwiches_Limited and Sandwiches_Unlimited) that contain the advertisements themselves. My coding attempts have been unsuccessful in creating a cycle. Here is the script I have right now, located in a LocalScript (child of the SurfaceGui):
while true do
script.Parent.Sandwiches_Limited.Visible = false
script.Parent.Sandwiches_Unilmited.Visible = true
wait(10)
script.Parent.Sandwiches_Limited.Visible = true
script.Parent.Sandwiches_Unilmited.Visible = false
wait(10)
end
If anybody knows how I could make this work, any help is appreciated! Thank you!
<3 Glory