Fixing player script