Assets/scripts/DidIDie.cs(23,5): error CS8025: Parsing error

need help urgently for deadline. i tried to make a spawn point script

using UnityEngine;
using System.Collections;

public class DidIDie : MonoBehaviour {

Vector3 spawnPoint;
Quaternion spawnRot;
void Start () 
{
    spawnPoint = transform.position;
    spawnRot = transform.rotation;
}

void OnCollisionEnter2D(Collision2D coll) {
    if (coll.gameObject.tag == "InstaDeath")
         transform.position = spawnPoint;
	
	{
    if (coll.gameObject.tag == "CheckPoint")
	      spawnPoint = transform.position;	
    }
}

Line 14 and 17 both have unnecessary braces. Removing them should fix the problem.

Also, I don’t know if it’s because you didn’t copy it or whatever but you are missing a } at the very end.