I’m trying to make a string that says “Current number: _”
When the player joins, I want to replace the _ with the number that player has.
The problem is if I use GetPropertyChangedSignal for this, it will not change the _ because the _ was turned into a number already. What should I do?
You could try using string.format()
like this:
string.format("Current number: %s", number) --// Returns a string with "%s" replaced with the number. There is no need to use `tostring(number)` since strings will auto-convert numbers to be put in the string.
You could also simply just do this:
local a = "Current number: "..number