Very simple coding, really.
Idk Credit: If I remember correctly, I got this information from Funut. His YouTube channel and his Scratch account is listed below Youtube: https://www.youtube.com/channel/UCsID64th1ocXiIqcRLW_svg Scratch: https://scratch.mit.edu/users/FUNUT/