I agree with the others, learn to script before taking steps.
Try scripting up your first few graphic user interface in GUIControls.
You will probably find it much easier to do than trying something
you probably won't get unless you really do want to learn.
Judging by your demands "
dude just tell me how to fix the error"
you obviously don't want to teach yourself these things.