Total noob here, would like someone's help in creating a scoreboard.

Hey, Unity Fourms, I’m trying to make a simple game where you’re an animal and you jump over objects and collect coins.
Colliding with the objects, such as spikes, would make you respawn and your score would be reset.
The coins would add +1 to your score.
I’m trying to create a scoreboard where the collision with the “Coin” object would add one to your score.
Also, if anyone is willing to help me set up a respawning setup, that’d be nice. Thanks.

Assume the following is in a script attached to the coin.
To add 1 to the score when the player collides with a coin and assuming the player gameobject is tagged ‘Player’ and the players score is in a variable called ‘score’ in a script attached to the player and the script is called ‘Playercontroller’

void OnCollisionEnter(Collision col)
	{
		if(col.gameObject.tag == "Player")
		{
			Playercontroller playercontroller = col.transform.gameObject.GetComponent<Playercontroller>();
			playercontroller.score ++;
			Destroy (this.gameObject);
		}
	}

Sorry, but I’m new to Unity and coding in general, would you mind elaborating and possibly linking me on the part where you talked about the “score” variable in a script attached to the player?
What I’d like to know is how to create a script with such a variable in it, and I assume it has something to do with the GUI text.
Yes, I know, it’s a newbie thing to ask, but I’m determined to learn.
Thanks.

If you are determined to learn then go through all these tutorials.