But could you also tell me how this works?
Sorry for the late reply, didnt see your question.
Initaly it checks if the player varible in this case money is = to or more than 950 and if true fires a relay (although player score would work better but at the time i was a eventing newb so :S)
then the brick it checks if the random dice is = to 1, 2 3 etc utnill 6.
When the varible is = to 1 than it triggers event 9 and 10 which say you got a machine gun and give you a hammer (becuase of missing addons :S, although as said can be easly changed) it works on the same principle for all the others.
and at the end of this it removes the money that the spent on the item box (again would of worked better with score but meh)
Overlooking this, there is a few issues with it, but still works :D