You want to look into one of Unity's built in methods.https://docs.unity3d.com/ScriptReference/Random.Range.html
thanks dude but ill look later on