Help with random tool spawns

Does anyone know a video or what to do if I wanted random spawning tools maybe a key had 2 spawns outside and inside how do I make it where it randomly spawns either outside or inside

Just make a repetitive loop which will choose a random number, then according that number index it to a random spawn part which spawns the tool and make it spawn.