Script looks good for first attempt!
Here is some feedback:
Don't get demotivated by the feedback, it's just some points to improve.
Always make your script readable... No matter what ^^
This is a small script and you won't have troubles finding code. (Atleast when writing it)
Some of my scripts have over 30 classes in them. (Try to make it more readable by using multiple classes)
If I wouldn't write it readable I wouldn't be able to modify/expand the script 1-2 months later.
At the moment you know perfectly how it works, but it will fade away slowly
Hope that helped ^^
Khaleesi