http://pastebin.com/4LuU9uNa

I was just wondering some of the ways to reduce lag in a script like this.