You have to learn to script. Learning to script is like... learning to doublekickflip on a skateboard, You use trial and error, and learn along the way. You first need to learn the ollie. (The basics of scripting.) Then a simple kickflip. (A little more advanced.) And then top it off with the double kickflip. (Hard.) And to learn the basics, you do what you do when you are baby learning to speak, by watching other people do it. (Or in this case, study another script.) Mess with it to learn what each phrase means in coding.