Ok i think there is a code but im not good with making variables random
i would like somthing like this on a key down event
60% chance that variable "Number" =0
40% chance that variable "Number" >=1 through variable "attack"
thank you if you can help me =p