So I have a script set to pop up a gui when someone crosses a finish line (a transparent no collide wall) and I want it to say 1st, 2nd, 3rd and so on. So I figured I would just use a simple counter and variable to count how many people have made contact with the block but I can't seem to find a way where I could insert that variable into a text box within the UI.
P.S sorry if this is a super basic question, I'm new to lua and just trying to learn how this stuff works.
If you're using the GUI to display text, you'll want to use a TextLabel instead of a TextBox. A TextBox is user editable, while a TextLabel is not. After that you should just be able to set the Text property of the TextLabel in the script.