tsutitire2

Untitled

May 29th, 2020
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. Variables:
  2. {%player%.scope} = 0
  3. On leftclick with golden shovel:
  4. set {_%player%.sc} to 0
  5. if {%player%.scope} is 0:
  6. set {%player%.scope} to 1
  7. set {_%player%.sc} to 1
  8. set player's offhand tool to black dye
  9. if {%player%.scope} is 1:
  10. if {_%player%.sc} is 0:
  11. set {%player%.scope} to 0
  12. set player's offhand tool to air
  13. set {_%player%.sc} to 1
  14.  
  15.  
  16. On death:
  17. set victim's offhand tool to air
  18. set {%victim%.scope} to 0
  19. command /screset:
  20. trigger:
  21. set {%player%.scope} to 0
Add Comment
Please, Sign In to add comment