Thanks for answering! The way you did the "wait" program was actually how I did it too
. I were just wondering if there was an easier way. But I still can't seem to solve the problem with displaying values. I've read the link you posted several times. I've also tried to just put value instead of "text", for example:
int value = 5;
sf::String val(value);
But this doesn't work. :/