Hello. Thank you for your comment. It has many components, but it is random. The movement of the goalkeeper depends on how you have set up the formation of the team. If you play in an attacking formation, you are more likely to get kicked. Your rank also increases your chances. Based on these, the machine decides whether it is more likely to protect it or not.