using UnityEngine; public class Player : MonoBehaviour { public static Player localPlayer; public bool isLocalPlayer; public Transform torso; private void Start() { if (isLocalPlayer) { localPlayer = this; } } }