Surprise Me!

How to take the gun script to a new level on Total Miner

2016-07-13 18 Dailymotion

HOW TO SET UP A GUN SCRIPT.<br />---------------------------------------------------------------------------------<br />---------------------------------------------------------------------------------<br /><br />SetEventScript [ItemSwing] [GunName] [IfScriptName]<br /><br />--------------------------------------------------------------------------------------------<br /><br />If<br />Intersect [ray] [vRel;0,0,0,] [vRel;900,0,0] [players\mobs]<br />Then<br />Context [player] [target]<br />Health [-50]<br /><br />-----------------------------------------------------------------------------------------------<br />-----------------------------------------------------------------------------------------------<br />AMMO SCRIPT <br />-----------------------------------------------------------------------------------------------<br />-----------------------------------------------------------------------------------------------<br /><br />If<br />Hasinventory [player] [WhatEverYouWantTheAmmoToBe] [compare] [1]<br />Then<br />Inventory [player] [Take] [TheAmmo] [1]<br />ParticleEmitter [vRel; +1,0,-1] [3,5 [2,5] 3,5] [vRel; +2,+3,0] [2,2,2,2] [225,235,245,255]<br /><br />scritp [NameOfIfFile]<br />Else<br />Notify [Out of ammo] [Local [r,g,b]<br />EndIf<br /><br />-----------------------------------------------------------------------------------------------<br />If you need help contact me on xbox.

Buy Now on CodeCanyon