Updated check Magnet function to create a force upon the player in direction of the magnet.