Refactored, for some reason playerData isnt being set correctly