Hi, i've written a script that makes an entity do random actions , i give a variable a random value from 0 to 0.5 , each value between those gives the entity a random action to do , the problem i have is that the var re randomizes its value almost every frame , how can i make it randomize only one time with out stopping the current action given by its corresponding value??