• Hey! Guest! The 39th GMC Jam will take place between November 26th, 12:00 UTC and November 30th, 12:00 UTC. Why not join in! Click here to find out more!

I need help, please.

I'm making a flappy bird royale (¯\_(ツ)_/¯ ). I need that when i click the play button, it chooses between 2 numbers. If the number is 1, the game will start by day, if it is 2, it will be by night. I searched but found no good commands. I just need one that chooses between 2 numbers
 

chamaeleon

Member
I'm making a flappy bird royale (¯\_(ツ)_/¯ ). I need that when i click the play button, it chooses between 2 numbers. If the number is 1, the game will start by day, if it is 2, it will be by night. I searched but found no good commands. I just need one that chooses between 2 numbers
Have you looked at the random functions that allow you to choose a value or generate a value in a range?
 
Top