Welcome to the first EVER scratch project (to my understanding) that can calculate how much time you spent away from the game! To start, triple click the first and only item in the "Save Code" list. Now copy it with ctrl+c. Paste it somewhere you'll remember with ctrl+v. When you're ready, copy the code from where you pasted it, load in this project, click "calculate time," and finally, paste your code in. The code will do the rest! The time spent offline will be told to you, and the longest time offline will go into the "Longest Offline Time" variable. Want to know how the code works? I've organised the code and put it all vertically. Start at the top and work your way down while reading the comments I've added in. Feel free to show some variables to see the inner mechanisms of the system in action. Any questions or confusions? Put them in the comments! I'll respond whenever I can! Stay safe everyone.
I watched a ton of YouTube videos to learn how to make a "cloud variable" show text. It involves encoding a string, in this case a player username, and putting that encoded string of what is now numbers into a cloud variable. This will be decoded to be shown how it should be. It's kind of like having a cloud variable show text. The way I did it was a little different than what the videos showed, though. I don't remember the videos I watched, but if you find one about what I described, chances are I watched it.