random thing, you can use this
this is used in my project: shooter project, try it here: https://scratch.mit.edu/projects/1078465699/