you needed to use sprite flip of player.not local scale
Oh thanks, I'll keep that in mind for the future!