I need help making a random item crate. You will be able to click the crate and it spawns in a random item like a life or something helpful.
3 Likes
https://ready.app.link/D9QmrNEC06
I made an integer variable that randomly sets a number from 1 to 3 every 0.33 seconds.
When backpack is tapped, if number 1 then spawn axe
if number 2 then spawn banana
If number 3 then spawn star
I Hope this simple code helps you.
5 Likes