BloodHead2001

Untitled

Nov 26th, 2014
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.06 KB | None | 0 0
  1. #Autor: Twaq
  2. #Wersja: 1.0 Beta :P
  3. #Info: Skype moj w razie czego :* --> Mateusz.Michalski525
  4. #Info2: Prosze nie pisac czy bede pisac skypty da kogos.
  5. #Info3: Nie kopiujcie zadnej czesci do swojego skryptu!!!
  6. #Pozdrawiam!
  7. #------------------------------ :KOD: ------------------------------
  8. command /TQSS_Stoniarka [<text>]:
  9. permission message: &7Na serwerze nie odnaleziono komedy &7/TQSS_Stoniarka
  10. permission: tq.ally
  11. trigger:
  12. if arg 1 is "on":
  13. if {stoniarka.%player%} is false:
  14. set {stoniarka.%player%} to true
  15. send "&aTryb stoniarki Wlaczony!"
  16. set {anticmd.%player%} to true
  17. wait 3 tick
  18. set {anticmd.%player%} to false
  19. else:
  20. set {stoniarka.%player%} to true
  21. send "&aTryb stoniarki Wlaczony!"
  22. set {anticmd.%player%} to true
  23. wait 3 tick
  24. set {anticmd.%player%} to false
  25. if arg 1 is "off":
  26. if {stoniarka.%player%} is true:
  27. set {stoniarka.%player%} to false
  28. send "&cTryb Stoniarki Wylaczony!"
  29. set {anticmd.%player%} to true
  30. wait 3 tick
  31. set {anticmd.%player%} to false
  32. else:
  33. set {stoniarka.%player%} to false
  34. send "&cTryb Stoniarki Wylaczony!"
  35. set {anticmd.%player%} to true
  36. wait 3 tick
  37. set {anticmd.%player%} to false
  38. on mine of stone:
  39. if {stoniarka.%player%} is true:
  40. wait 5 seconds
  41. set block to stone
  42. on join:
  43. set {stoniarka.%player%} to false
  44. on right click:
  45. if clicked block is stone:
  46. if player is holding any pickaxe:
  47. if {stoniarka.%player%} is false:
  48. run player command "/TQSS_Stoniarka on" as op
  49. if {stoniarka.%player%} is true:
  50. run player command "/TQSS_Stoniarka off" as op
  51. on command "/TQSS_Stoniarka":
  52. if {anticmd.%player%} is true:
  53. cancel event
Advertisement
Add Comment
Please, Sign In to add comment