Firstly, why are you using WorldFrame instead of the unit frame? Secondly, casting spells is a secure function and will need more than what you've started with. I've never worked with it myself, so I won't try to give any help which would most likely be wrong.