That script would lag a lot. I recommend you using strings instead of flags, and you shouldnt use flags. If you dont get strings you should use this.variables which would cut down on the lag. I am not sure what the hat charprop is...if you find it for me I will script it. I am too busy to look for it.
__________________
This account is used by Psyhcu because I am too lazy to register my own.