How to pick a random value, Then clone an object

Hello, I’m new to unity and this is the first game i’ve made, I’m having some issues, Can someone tell me what i’m doing wrong in code (Using C#)
using System.Collections;
using UnityEngine;

public class Cloner : MonoBehaviour{
	
	// Update is called once per frame
	void Update () {
		var rndizer = Random.Range( 1, 11 );
		if (rndizer("1")) {
			Rigidbody clone;
			clone = Instantiate(Enemy, transform.position, transfrom.rotation) as Rigidbody;
			clone.velocity = transform.TransformDirection(Vector3.forward * 10);
		}
	}
}

Please get back to me soon as possible. :frowning:

Maybe, change “rndizer(“1”)” to:

 void Update () {
  int rndizer = Random.Range(1, 11 ); //Random.Range() return int or float value
  if (rndizer == 1 ) {
   Rigidbody clone;
   clone = Instantiate(Enemy, transform.position, transfrom.rotation) as Rigidbody;
   clone.velocity = transform.TransformDirection(Vector3.forward * 10);
  }
 }