Some Dices please to make random numbers and advance in the animation timeline... or make a random numbers to interact with objects position in a game like boardgames

I am working with a racing board, mariokart lika game… and i need a random generator Like dices… to make advance a kart in the board… the dices make a ramdom number and that number take de variable in the seconds in The timeline o Set the counter time the result of the dice… and i dont known if the program have the fuction to make a object go backwards In the animated timeline… i need a function to make a kart if the answerd is incorrect… go backwards in the timeline and the dice drop de numbers of second this kard have to take…


Can you please use short sentences to describe your problem so we can understand it?