This is a sign in script with a password. The variable pasc will be set to 1 when the user has signed in or created a password. The variable data starts here is the start of the numbers you can use for saving data for a user. I've included four numbers that you can set. To set some of those numbers in the cloud variable you can use the set my block. You will need to copy the sprite, where all the scripts are. Soon I'll add comments in the code, but I don't feel like it right now. Ask any questions in the comments.
The script in Cat1 is to show a possible way to use this. Note: It won't work for new scratchers, (I think; I'm not quite sure on that). You may need to add a way around that. I've done this entirely myself. PLEASE add credit to me in your project before using this script.