The first argument of the tween is the object, so in your case, AreaUI. The third argument must be a table with the property you want to change, and the value to change it to. Like this:
I’m not sure if it is the case here, but it can be a little finicky when addressing a property via a variable, and then assigning that variable to something new with = .
Try to just say TextTransparency where you have put transparency, and see if that solves your issue.
Still doesn’t work for some reason. Is there any other reason this could be occurring? If not, I’ll file a bug report. I had a similar glitch when creating a tween which changes the color of the terrain depending on if its day/night
Im not really sure what your issue is. Looking at the code though, I notice that you have a delay after the first tween, but not the second one. ( In the while loop. )
This means the second tween will be immediately overwritten, playing the first tween over and over again.
I don’t think this is the problem anymore. Since I made a print after the code finishes, I realized it wasn’t even printing in the first place, which means that something went wrong with the initial code. I don’t see anything wrong with it though, can you?