First, make an animated scratch project. Then, press [windows key]+[shift]+[S]. After that, click on the icon of a video camera beside a photo camera. Then, drag a space where your animated project is. (make sure it is not too big, or it won't be accepted in the later steps. Then, go to https://ezgif.com/video-to-gif and click [Choose File]. A pop-up should appear, so look to the left side in it and look for a movie tape picture with the word "Videos" beside it. click on it and you should see a file called "Screen Recordings". Click it 2-7 times. Then click on a picture that looks like your project video. then look at the bottom of the pop-up and click [Open]. Wait a bit, and your video should pop-up. Then look for [Convert to GIF] and click on it. A toolbar should pop-up beside your video. Click "Save", which should be in the toolbar. Then click "change" on your profile picture and go to downloads. It should be there.
But hey, just go to the website and you should probably be able to do it yourself.