Guest User

Untitled

a guest
Dec 23rd, 2013
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1. ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
  2. Name: DeathHead
  3. Version: 1.0
  4. Skript: 2.0.2
  5. ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
  6.  
  7. ╔════════════════════════════════════════
  8. ║ Licencja DeathHead by FejminTV ║
  9. ║ Zezwalam na: ║
  10. ║ - edytowanie komunikatow ║
  11. ║ Nie zezwalam na: ║
  12. ║ - Uznwanie sie autorem ║
  13. ║ - Wykorzystywania kody do wlasnych skryptow ║
  14. ║ - Robienie z niego jakich kolwiek reklam ║
  15. ║ - Zarabianie na skrypcie ║
  16. ║ - Usuwanie informacji o autorze ║
  17. ╚════════════════════════════════════════
  18.  
  19. variables:
  20. {tree.status} = 1
  21. options:
  22. permission: &4Nie masz uprawnien by uzywac tej komendy!
  23. tag: &8[&cTreeAssist&8]
  24. on break of wood:
  25. {tree.status} is 1:
  26. if player has permission "tree":
  27. player is holding axe:
  28. loop blocks upwards:
  29. loop-block is wood:
  30. drop the loop-block-1 at event-block
  31. set the loop-block-1 to air
  32. add 1 to {tool.%player%}
  33. loop blocks in radius 1 around loop-block:
  34. if loop-block-1 is leaves:
  35. set {tree.%player%} to true
  36. set the loop-block-1 to air
  37. else:
  38. send "{@tag} {@permission}"
  39. stop
  40.  
  41. command /tree [<text>]:
  42. trigger:
  43. if player has permission "tree":
  44. if arg 1 is "off":
  45. set {tree.status} to 0
  46. send "{@tag} &7TreeAssist jest &cOFF"
  47. if arg 1 is "on":
  48. set {tree.status} to 1
  49. send "{@tag} &7TreeAssist jest &aON"
  50. else:
  51. send "{@tag} &c/tree &7(&con&7/&coff&7)"
  52. stop
  53. else:
  54. send "{@tag} {@permission}"
  55. stop
Advertisement
Add Comment
Please, Sign In to add comment