in your new class:
MethodProvider script;
public yourclass(MethodProvider _script) //constructor
{
this.script = _script;
}
public void somemethod()
{
script.myPlayer().something;
}
in your main class
yourclass c = new yourclass(this);
NotLikeThis
i have microsoft authenicator tho, no code i just have to click accept/deny when someone logs into my account, guess ill change pass anyway