public float maxSpeed = 10f;
public Rigidbody rigidbody;
void Update()
{
// Trying to Limit Speed
if(rigidbody.velocity.magnitude > maxSpeed){
rigidbody.velocity = Vector3.ClampMagnitude(rigidbody.velocity, maxSpeed);
}
}