Mirage-Skripter

Homerun-bat

Jul 7th, 2019
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. on damage:
  2. attacker's tool is stick
  3. if name of attacker's tool is "&c&lホームランバットLv1":
  4. push the victim up at speed 3
  5. wait 1 tick
  6. push the victim forwards at speed 5
  7. if name of attacker's tool is "&c&lホームランバットLv2":
  8. push the victim up at speed 4
  9. wait 1 tick
  10. push the victim forwards at speed 10
  11. if name of attacker's tool is "&c&lホームランバットLv3":
  12. push the victim up at speed 5
  13. wait 1 tick
  14. push the victim forwards at speed 15
  15.  
  16. command /homerun [<integer>]:
  17. permission: mirage.skript.homerunbat
  18. trigger:
  19. if arg-1 is set:
  20. if arg-1 is 1 or 2 or 3:
  21. give stick named "&c&lホームランバットLv%arg-1%" to player
  22. send "&9》 &c&lホームランバットLv%arg-1%&aを受け取りました。"
  23. else:
  24. send "&9》 &c1,2,3のどれかを記述してください。"
  25. else:
  26. send "&9》 &c1,2,3のどれかを記述してください。"
Add Comment
Please, Sign In to add comment