using System.Collections; using System.Collections.Generic; using UnityEngine; Dont forget to Dellet #yourScriptName and write your Script Name... public class DeadZone : MonoBehaviour { // Start is called before the first frame update [SerializeField] Transform spwanPoint; // Use this for initialization void Start () { } // Update is called once per frame void Update () { } void OnCollisionEnter2D(Collision2D Col){ //Write your first Character Name instead of YourPlayer1Name... if(Col.transform.name == "YourPlayer1Name"){ Col.transform.position = spwanPoint.position; } //Write your second Character Name instead of YourPlayer2Name... if(Col.transform.name == "YourPlayer2Name"){ Col.transform.position = spwanPoint.position; } } }