Convert Player class to MoonScript