of     1   

Bowserking64
#36320536Sunday, October 31, 2010 11:23 PM GMT

I have a drop weapon in my enemy. Now i dont want him to drop every time he dies. only sometimes... is there a way to do that?
crazypotato4
#36320588Sunday, October 31, 2010 11:24 PM GMT

(when he dies) local dropRate = math.random(1,3) if dropRate == 1 then (drop the weapon) else (don't drop the weapon) end
brainiac680
#36320679Sunday, October 31, 2010 11:26 PM GMT

i would do something like: db = math.random(1,maxprobability you want) if db == 1 then dropweaponfunction() end just change that to fit your script.
Bowserking64
#36321149Sunday, October 31, 2010 11:37 PM GMT

@Brain Thanks it works :)

    of     1