Now i see the problem i wasnt transferring the player before calling the generator.
Nice to hear it works now :)