Any calls to MethodProvider need to happen in or after onStart(). Also, your player will need to be logged in to retrieve myPlayer() if I'm not mistaken.
Edit: This thread belongs in Script Help. Please make it there next time
Looking for someone experienced and familiar with what they're doing. PM me on OSB, on skype, or post below. Make sure your post/pm displays any past work you've completed, because if it doesn't, it's not worth sending it.
there are a lot of threads on this already. you can scroll through the community discussion forum and see another 3 just like this one from the past week