Hey Developers,
I’m currently making this system where a number of adverts get imported from a database I’ve setup, the ID’s of the adverts (decals) then get processed and a Image Label is created in a part.
I then want the advertisements to change every 10 seconds, tweening on and off the part, however as sometimes I could have let’s say up to 30 ads I can’t exactly set variables for every ad.
However as I mentioned as there could be a unknown amount of adverts on the system at anyone time it’s hard to preset positions and presets if that makes sense.
You might be able to put all the image ids into a big table, then clone the image label each time you want a new ad to show. You could call each specific item in the table for the id and set the image to that specific id
table[1]...table[2]...etc
until you’ve done each specific item, and then repeat. Mainly using a for loop.
just a thought instead of using different variables.