Random Number/interger not working

I use code that creates a random number from 1 to 2000. An event happens if the number is below 6 and every single time i use the function to create a number it ends up below 6.

Could you show us the code you made so we can look into it?

Hi @Max_Vogel can you please link us to the remixed CoSpace so we can take a look for you?

image_2024-06-28_064209858

The “eagle say BRDM” line is just so i can check it in game

Could you show what is in the “Move” function as well?
It also helps if you show any code related to variable “ai”.