Help me with some lua please!!!
I'm not sure if this is where I can post this, or even if I'm allowed to. But I need some help when it comes to some changing text on a 3d2d ui. What I am trying to do is have a loop change text every 1 second. I want the text to cycle though. Here is what I have so far: Shit Code
Now before you roast me, I know it is not correct code, that is why I am here.
What it needs to do: every 1 second it needs to cycle through that list - text{}. So first Status will be set to "Words1" then "Words2" then "Words3" and back to "Words1" and so on. I am not sure how to do this. Please help, it would be appreciated.
https://pastebin.com/tNryasuz
The variable "status" is your text changing every second.
What Benn gave you will work. Although personally, I would have taken a slightly different approach to it. status is the string, although it's local so you'll need to access it from within that file.
https://pastebin.com/PybrH1KH
Thank you for the help, it's really appreciated! :)