Heroes Battlegrounds Script [ Must Try ]

Vector3 movement = new Vector3(horizontal, 0, vertical);

using UnityEngine;

using System.Collections; using System.Collections.Generic; using UnityEngine; Heroes Battlegrounds Script

void Start() { player = GameObject.FindGameObjectWithTag("Player").transform; initialPosition = transform.position; } Vector3 movement = new Vector3(horizontal