I made an input called: “Change face”. It is mouse 0. I used this way instead of a button or something cause I want people to customize it. I did a if statement in the update loop to check if the input is called. (it will change the sprite of image) It works alright, but one thing is that I put in some if statements to check the sprite of a image and then it changes to the next one, but it now changes the sprite multiple times.
Are you using Input.GetMouseButton? That returns true every frame that the mouse button is pressed, so if you are running at 60 frames a second and someone presses the button for a quarter of second, GetMouseButton will be true 15 times in a row.
Try GetMouseButtonDown or GetMouseButtonUp instead. These two functions only return true once each time the player presses the button.