I'm trying to make a thing where someone can pick a lock, but has a chance to
A. Have their lockpick break
Or
B. Have a guard notice them and engage in combat (I might, later on, make a script to actually make the guard arrest them, but that's a whole different can of worms)
So, uh, how do I use variables to do this? I can make it pick a number between 1 and 10, but I can't make that number actually *do* anything except exist