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

Troubles scripting it so I can cycle decals..?

Asked by 10 years ago

I want to have a billboard that cycles decals. I've tried a few different things but can't seem to do it.

Could anyone give me a code block or something that would help me with this?

Appreciated!

1 answer

Log in to vote
1
Answered by 10 years ago

tables would be useful.

Here's an example:

local decals={"decal_id1","decal_id2","decal_id3"};
for i,v in next,decals do
print(v)
end
Ad

Answer this question