For example, you have this:
x = "Player name = Hi. Player Value = 3. Player ID = 25167131."
How would you print 3?
For example, you have this:
x = "Player name = Hi. Player Value = 3. Player ID = 25167131."
How would you print 3?
I just kind of do this
x = "Player name = "..plr.Name..". Player Value = "..Value..". Player ID = "..plr.UserId.."."
The double dots lets you fit a variable into a string, and you can continue the string later on
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
Please enclose your code in the blocks created by the Lua button so we can better understand your request.
You could use the find function to retrieve the position, or use the match function to return it. (I recommend using the find function if you understand string manipulation.)