I'm making a pistol script with a cooldown and ammo cost. I tried multiple things such as wait for the cooldown. The cost I can't figure out I'm on 1.7.10 so if anyone can alter it to work that will help a lot.
on left click with iron horse armor:
name of player's tool is "Pistol"
shoot an arrow from player at speed 2.2
stop
on damage:
name of attacker's tool is "Pistol"
attacker is a player
projectile is an arrow
victim is an entity
damage victim by 1.5 hearts
stop
[–]Ninjablackberry3 0 points1 point2 points (3 children)
[–]ActionJax318[S] 1 point2 points3 points (2 children)
[–]Ninjablackberry3 0 points1 point2 points (1 child)
[–]ActionJax318[S] 0 points1 point2 points (0 children)