Advertisement
szumielxd

KityZima

Nov 29th, 2018
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.28 KB | None | 0 0
  1. on rightclick with 159:14:
  2. name of player's tool is "&2&lM&4&li&2&lo&4&lt&2&ln&4&li&2&lj &4&lP&2&lr&4&le&2&lz&4&le&2&ln&4&lt&2&le&4&lm":
  3. cancel event
  4. if "%region at player%" contains "spawn":
  5. send "&7Nie mozesz tu tego uzyc!"
  6. stop
  7. difference between now and {mikolajkit::%player%.czas} is smaller than 30 seconds:
  8. set {_d} to difference between now and {mikolajkit::%player%.czas}
  9. send "&7Odczekaj &a%difference between 30 seconds and {_d}% &7przed nastepnym rzutem"
  10. stop
  11. set {mikolajkit::%player%.czas} to now
  12. shoot snowball from player at speed 1
  13. send "&7Uzyles swojej umiejetnosci"
  14.  
  15.  
  16. command /playeff <integer> <text>:
  17. permission: wlasciciel
  18. trigger:
  19. set {_e} to arg 2 parsed as visual effect
  20. if {_e} is not set:
  21. parse error is set:
  22. send "Line 1 is invalid: %last parse error%"
  23. play arg 1 {_e} at player
  24.  
  25. on shoot:
  26. name of shooter's tool is "&2&lM&4&li&2&lo&4&lt&2&ln&4&li&2&lj &4&lP&2&lr&4&le&2&lz&4&le&2&ln&4&lt&2&le&4&lm":
  27. set {_p} to projectile
  28. set {_l} to location of projectile
  29. wait 2 ticks
  30. while {_l} is not location of projectile:
  31. set {_l} to location of projectile
  32. wait 2 ticks
  33. play 4000 firework's spark at location of projectile
  34. play raw sound "fireworks.launch" at location of projectile with pitch 0.7 volume 4
  35. wait 1 tick
  36. play raw sound "random.levelup" at location of projectile with pitch 1.5 volume 4
  37. loop all players:
  38. if distance between location of projectile and loop-player is smaller than 5:
  39. if "%region at loop-player%" do not contain "spawn":
  40. if "%loop-player%" is not "%shooter%":
  41. execute console command "kb exp add %loop-player% 1"
  42. damage loop-player by 4 hearts
  43. send "&2Magia &4Swiat&2!" to loop-player
  44.  
  45.  
  46. command /setname <text>:
  47. permission: mod
  48. trigger:
  49. set {_s} to arg
  50. replace all "&" with "ยง" in {_s}
  51. set name of player's tool to {_s}
  52.  
  53.  
  54. on load:
  55. delete {mikolajkit::*}
  56.  
  57.  
  58. on rightclick with cookie:
  59. name of player's tool is "&4&lPrzywolaj &2&lElfy":
  60. cancel event
  61. if "%region at player%" contains "spawn":
  62. send "&7Nie mozesz tu tego uzyc!"
  63. stop
  64. difference between now and {elfkit::%player%.czas} is smaller than 50 seconds:
  65. set {_d} to difference between now and {elfkit::%player%.czas}
  66. send "&7Odczekaj &a%difference between 50 seconds and {_d}% &7przed nastepna fala Elfow"
  67. stop
  68. set {_ds} to 40
  69. loop all players in player's world:
  70. "%loop-player%" is not "%player%":
  71. if distance between loop-player and player is smaller than {_ds}:
  72. set {_ds} to distance between loop-player and player
  73. set {_p} to loop-player
  74. if {_ds} is 40:
  75. send "&7W najblizszej okolicy nie ma zadnego gracza..."
  76. stop
  77. set {elfkit::%player%.czas} to now
  78. set player's tool to bow of infinity 1
  79. delete {_elfy::*}
  80. loop 4 times:
  81. spawn baby zombie at player
  82. set {_s} to spawned entity
  83.  
  84. set {_s}'s helmet to leather helmet
  85. dye {_s}'s helmet (0, 255, 0)
  86.  
  87. set {_s}'s chestplate to leather chestplate
  88. dye {_s}'s chestplate (0, 120, 0)
  89.  
  90. set {_s}'s leggings to leather leggings
  91. dye {_s}'s leggings (255, 0, 0)
  92.  
  93. set {_s}'s boots to leather boots
  94. dye {_s}'s boots (100, 50, 0)
  95.  
  96. wait 1 tick
  97. apply strength 2 to {_s} for 10 seconds
  98. apply speed 2 to {_s} for 10 seconds
  99. set {_s}'s target to {_p}
  100. set display name of {_s} to "&4&lElf &2%player%"
  101. add {_s} to {_elfy::*}
  102. send "&7Przywolales swoja zadna ciastek &aarmie Elfow&7!"
  103. loop 10 times:
  104. loop {_elfy::*}:
  105. set target of loop-value-2 to {_p}
  106. wait 1 second
  107. loop {_elfy::*}:
  108. teleport loop-value to location 200 meters below loop-value
  109. kill loop-value
  110. if player's inventory contains blaze rod:
  111. loop 36 times:
  112. if slot 36-loop-number of the player is bow:
  113. set slot 36-loop-number of the player to cookie named "&4&lPrzywolaj &2&lElfy"
  114.  
  115. on rightclick with ice:
  116. name of player's tool is "&b&lB&f&lo&b&lm&f&lb&b&la &3&lS&f&ln&3&li&f&le&3&lz&f&ln&3&la":
  117. cancel event
  118. if "%region at player%" contains "spawn":
  119. send "&7Nie mozesz tu tego uzyc!"
  120. stop
  121. difference between now and {balwankit::%player%.czas} is smaller than 45 seconds:
  122. set {_d} to difference between now and {balwankit::%player%.czas}
  123. send "&7Odczekaj jeszcze &a%difference between 45 seconds and {_d}% &7przed nastepna burza sniezna"
  124. stop
  125. set {balwankit::%player%.czas} to now
  126. make player run command "particle cloud %player's x-coordinates% %player's y-coordinates% %player's z-coordinates% 0.3 0.7 0.3 0.3 5000" as op
  127. send "&7Uzyles swojej umiejetnosci"
  128. loop all players in player's world:
  129. "%loop-player%" is not "%player%":
  130. if "%region at loop-player%" do not contain "spawn":
  131. if distance between loop-player and player is smaller than 10:
  132. apply slowness 6 to loop-player for 10 seconds
  133. apply weakness 2 to loop-player for 10 seconds
  134. apply jump boost 200 to loop-player for 10 seconds
  135. add loop-player to {_snowed::*}
  136. send "&3Zostales spowolniony przez Balwana&7!" to loop-value
  137. if {_snowed::*} is empty:
  138. stop
  139. loop 40 times:
  140. loop {_snowed::*}:
  141. make loop-value-2 run command "particle cloud ~ ~2.5 ~ 0.1 0.001 0.1 0.01 500" as op
  142. make loop-value-2 run command "particle snowshovel ~ ~2.5 ~ 0.1 0.01 0.2 0.01 5" as op
  143. wait 5 ticks
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement