Ideas how to spawn 1 of 5 weapons randomly

ththe_suicide_foxNov 26 201407672
    Halo and Forge Discussion

I'm currently building a map with a lot of scripting features, and I have a switch that activates everything with a timer to turn it all off after a point.

I also wanted to add a script so when everything shuts off a weapon will spawn on the map. The idea was to have it randomly be one of five weapons, sort of like a slot machine type of thing.

Any ideas? I can't seem to think of a way to make it work.