so uh i tried to make a custom charater scirpt that blocks baldi`s path
and theres tons of bugs can you please fix it? (im also a beginner at coding in unity)
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Test : MonoBehaviour
public void Baldi
private void Agent
{
this.Agent = get NavmeshAgent(Agent > Baldi)
this:baldi(Agent)
Agent.speed = 50.0f;
coolDown -= 1f * Time.deltaTime class.baldi(magnitude.SetDestination) = Trigger.True;
File file = Program;
}
private NavmeshAgent agent;
public Balid baldi;
public float speed = Agent;
public system
}