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 11 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 11 years ago

tables would be useful.

Here's an example:

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

Answer this question