{ "_fv": 57, "_type": "procedure", "definition": { "procedurexml": "usehandno_ext_triggerSPECTATORlocal:usehandANDANDANDlocal:usehandCUSTOM:M79EQlocal:usehandreloading0local:usehandGTlocal:usehandammo0This example will test if the random number is less than 0.7 (70%). Random numbers range between (0.0 and 1.0). If it is true, then it will run what is in the \"do\" section of the if statement.LTRANDOM0.5global:recoilhorizon-1global:recoilhorizon1global:recoil0.1global:firing1CUSTOM:GunGrenadeFALSEFALSEDISALLOWEDMULTIPLYDIVIDElocal:usehanddamagelocal:usehandvelocityADD1MULTIPLY0.05local:usehandlevel00local:usehandvelocityCUSTOM:Spreadparticle minecraft:cloud ADDMULTIPLY1.8 ADDADDMINUS0.1MULTIPLY1.8 ADDMULTIPLY1.8 0.1 0.1 0.1 0.002 4 force @slocal:usehand15playsound target:m79_fire_1p player @a ~ ~ ~ 4 1local:usehandfireanim2local:usehandammoMINUSlocal:usehandammo1" } }