Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /tama:
- trigger:
- add 64 to {gun.%player%.tama}
- command /gun:
- trigger:
- set {gun.%player%.shoot} to true
- give player iron hoe named "&6&lTest &c%{gun.%player%.tama}%"
- set {gun.%player%.effect} to true
- on rightclick:
- if {gun.%player%.shoot} is true:
- if {gun.%player%.tama} is more than 1:
- player is holding iron hoe named "&6&lTEST &c%{gun.%player%.tama}%"
- set name of player's tool to "&6&lTEST &c%{gun.%player%.tama}%"
- subtract 1 from {gun.%player%.tama}
- set {gun.%player%.shoot} to false
- wait 1 ticks
- shoot an arrow at speed 40
- set {gun.%player%.shoot} to true
- on leftclick:
- player is holding iron hoe
- if {gun.%player%.effect} is true:
- execute console command "/effect @p minecraft:slowness 9999 255"
- set {gun.%player%.effect} to false
- stop
- if {gun.%player%.effect} is false:
- execute console command "/effect @p clear"
- set {gun.%player%.effect} to true
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement