Heey guys we are working on a skirpt called mystery murder.
now we want that the murder only can hit people with an sword but we dont no how to do that
our problem is that the murder can hit people with their own hand but we want that it only can be used by an sword.
Does some one know we now have something like this
now we want that the murder only can hit people with an sword but we dont no how to do that
our problem is that the murder can hit people with their own hand but we want that it only can be used by an sword.
Does some one know we now have something like this
code_language.skript:
on right click with wooden sword:
if name of tool of player is "&6&lGun":
if {murder:shootdelay} is false:
set {murder:gunshoot:%player%} to true
make the player shoot a snowball at speed 3
set {murder:shootdelay} to true
wait 2 seconds
set {murder:shootdelay} to false
delete {murder:gunshoot:%player%}
else:
send "{@MD} &7You need to wait before you can shoot again!"