SHARE
TWEET

Untitled

a guest Apr 20th, 2019 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on rightclick with diamond pickaxe:
  2.     if player's gamemode is survival:
  3.         if name of player's tool is "&7&lTopor Tyranow":
  4.             set {_czas1} to difference between {czas1.%player%} and now
  5.             if {_czas1} is less than 3 second:
  6.                 set {_czas1} to difference between {_czas1} and 3 second
  7.                 send "&ePonownie mozesz uzyc czaru za: &6&l%{_czas1}%" to player
  8.  
  9.                 stop
  10.             set {czas1.%player%} to now
  11.             stopEffect "%player%"
  12.             set {_loc} to location of player
  13.             drawWarpRings style 2, particle "snowshovel", RGB 0, 0, 0, center location of block at {_loc}, id "%player%1", rainbowMode true, scan false, height 0, radius 5, ringCount 10, ringDensity 10, visibleRange 32, pulseDelay 2
  14.             drawWarpRings style 2, particle "snowshovel", RGB 0, 0, 0, center location of block at {_loc}, id "%player%2", rainbowMode true, scan false, height 0, radius 4.5, ringCount 10, ringDensity 10, visibleRange 32, pulseDelay 2
  15.             drawWarpRings style 2, particle "snowshovel", RGB 0, 0, 0, center location of block at {_loc}, id "%player%3", rainbowMode true, scan false, height 0, radius 4, ringCount 10, ringDensity 10, visibleRange 32, pulseDelay 2
  16.             drawWarpRings style 2, particle "snowshovel", RGB 0, 0, 0, center location of block at {_loc}, id "%player%4", rainbowMode true, scan false, height 0, radius 3.5, ringCount 10, ringDensity 10, visibleRange 32, pulseDelay 2
  17.             drawWarpRings style 2, particle "snowshovel", RGB 0, 0, 0, center location of block at {_loc}, id "%player%5", rainbowMode true, scan false, height 0, radius 3, ringCount 10, ringDensity 10, visibleRange 32, pulseDelay 2
  18.             drawWarpRings style 2, particle "cloud", RGB 0, 0, 0, center location of block at {_loc}, id "%player%6", rainbowMode true, scan false, height 0, radius 2.5, ringCount 10, ringDensity 10, visibleRange 32, pulseDelay 2
  19.             drawWarpRings style 2, particle "cloud", RGB 0, 0, 0, center location of block at {_loc}, id "%player%7", rainbowMode true, scan false, height 0, radius 2, ringCount 10, ringDensity 10, visibleRange 32, pulseDelay 2
  20.             drawWarpRings style 2, particle "cloud", RGB 0, 0, 0, center location of block at {_loc}, id "%player%8", rainbowMode true, scan false, height 0, radius 1.5, ringCount 10, ringDensity 30, visibleRange 32, pulseDelay 2
  21.             drawWarpRings style 2, particle "cloud", RGB 0, 0, 0, center location of block at {_loc}, id "%player%9", rainbowMode true, scan false, height 0, radius 1, ringCount 10, ringDensity 20, visibleRange 32, pulseDelay 2
  22.             wait 2 tick
  23.             execute player command "off"
  24.             stopEffect "%player%1"
  25.             stopEffect "%player%2"
  26.             stopEffect "%player%3"
  27.             stopEffect "%player%4"
  28.             stopEffect "%player%5"
  29.             stopEffect "%player%6"
  30.             stopEffect "%player%7"
  31.             stopEffect "%player%8"
  32.             stopEffect "%player%9"
  33.             send "&7Uzyles umiejetnosci &7&lTopora Tyranow &7odrzuciles wrogow w promieniu 10 kratek!" to player
  34.             set {_team} to metadata value "TurniejWDTeam" of player
  35.             loop all players in radius 10 of player:
  36.                 if metadata value "TurniejWDTeam" of loop-player is not {_team}:
  37. #               if {team.%loop-players%} is not {team.%player%}:
  38.                     if {zaatakowany.%loop-players%} is not true:
  39.                         set {upadek.%loop-players%} to true
  40.                         push loop-players 1 blocks up
  41.                         push loop-players in direction of player with force 1
  42.                         remove slow from loop-players
  43.                         apply slow 2 to the loop-players for 3 seconds
  44.                         set {zaatakowany.%loop-players%} to true
  45.  
  46.                     wait 2 seconds
  47.                     set {zaatakowany.%loop-players%} to false
  48.  
  49.  
  50.  
  51. on damage:
  52.     if damage was caused by fall:
  53.         if {upadek.%victim%} is true:
  54.             set {upadek.%victim%} to false
  55.             set {zaatakowany.%victim%} to false
  56.             cancel event
  57.  
  58.  
  59. on respawn:
  60.     set {upadek.%player%} to false
  61.     set {zaatakowany.%player%} to false
  62.  
  63. on world change:
  64.     set {upadek.%player%} to false
  65.     set {zaatakowany.%player%} to false
  66.  
  67.  
  68. #script options:
  69. #   $ use permissions
  70.  
  71.  
  72. on rightclick with 401:
  73.     cancel event
  74.     set {_czas1} to difference between {czas1.%player%} and now
  75.     if {_czas1} is less than 10 second:
  76.         set {_czas1} to difference between {_czas1} and 10 second
  77.         set {_cz} to "%{_czas1}%"
  78.         replace "seconds" with "sekund" in {_cz}
  79.  
  80.         send "&ePonownie mozesz uzyc czaru za: &6&l%{_cz}%" to player
  81.         stop
  82.     set {czas1.%player%} to now
  83.  
  84.     remove 1 of tool from tool
  85.     set player's fly mode to true
  86. #   add "AAC.bypass" to player's permissions
  87.     spawn a firework at player's location
  88.     make player ride spawned entity
  89.     push spawned entity upwards at velocity 1.3
  90.     set {upadek.%player%} to true
  91.  
  92.     wait 2 seconds
  93.     set player's fly mode to false
  94.  
  95.  
  96.  
  97.  
  98. #command /zegar:
  99. #   permission: op
  100. #   trigger:
  101. #       execute server command "give %player% watch 1 {display:{Name:&7&lZegar Czasu},ench:[{id:16,lvl:5},{id:19,lvl:2}]}"
  102. #       execute server command "give %player% diamond_pickaxe 1 {display:{Name:&7&lTopor Tyranow},ench:[{id:16,lvl:5},{id:19,lvl:2}]}"
  103.  
  104. on leftclick with clock:
  105.     if player's gamemode is survival:
  106.         if name of player's tool is "&8&lZegar Czasu":
  107.             set {_zegar1} to difference between {zegar1.%player%} and now
  108.             if {_zegar1} is less than 25 second:
  109.                 set {_zegar1} to difference between {_zegar1} and 25 second
  110.                 send "&ePonownie mozesz uzyc czaru za: &6&l%{_zegar1}%" to player
  111.  
  112.                 stop
  113.             set {zegar1.%player%} to now
  114.             stopEffect "%player%"
  115.             set {_loc} to location of player
  116.             drawWarpRings style 22, particle "flame", RGB 0, 0, 0, center location of block at {_loc}, id "%player%1", rainbowMode true, scan false, height 0, radius 5, ringCount 10, ringDensity 10, visibleRange 32, pulseDelay 2
  117.             drawWarpRings style 22, particle "flame", RGB 0, 0, 0, center location of block at {_loc}, id "%player%2", rainbowMode true, scan false, height 0, radius 4.5, ringCount 10, ringDensity 10, visibleRange 32, pulseDelay 2
  118.             drawWarpRings style 22, particle "flame", RGB 0, 0, 0, center location of block at {_loc}, id "%player%3", rainbowMode true, scan false, height 0, radius 4, ringCount 10, ringDensity 10, visibleRange 32, pulseDelay 2
  119.             drawWarpRings style 32, particle "flame", RGB 0, 0, 0, center location of block at {_loc}, id "%player%4", rainbowMode true, scan false, height 0, radius 3.5, ringCount 10, ringDensity 10, visibleRange 32, pulseDelay 2
  120.             drawWarpRings style 32, particle "flame", RGB 0, 0, 0, center location of block at {_loc}, id "%player%5", rainbowMode true, scan false, height 0, radius 3, ringCount 10, ringDensity 10, visibleRange 32, pulseDelay 2
  121.             drawWarpRings style 32, particle "flame", RGB 0, 0, 0, center location of block at {_loc}, id "%player%6", rainbowMode true, scan false, height 0, radius 2.5, ringCount 10, ringDensity 10, visibleRange 32, pulseDelay 2
  122.             drawWarpRings style 2, particle "flame", RGB 0, 0, 0, center location of block at {_loc}, id "%player%7", rainbowMode true, scan false, height 0, radius 2, ringCount 10, ringDensity 10, visibleRange 32, pulseDelay 2
  123.             drawWarpRings style 2, particle "flame", RGB 0, 0, 0, center location of block at {_loc}, id "%player%8", rainbowMode true, scan false, height 0, radius 1.5, ringCount 10, ringDensity 30, visibleRange 32, pulseDelay 2
  124.             drawWarpRings style 2, particle "flame", RGB 0, 0, 0, center location of block at {_loc}, id "%player%9", rainbowMode true, scan false, height 0, radius 1, ringCount 10, ringDensity 20, visibleRange 32, pulseDelay 2
  125.             wait 5 tick
  126.             execute player command "off"
  127.             stopEffect "%player%1"
  128.             stopEffect "%player%2"
  129.             stopEffect "%player%3"
  130.             stopEffect "%player%4"
  131.             stopEffect "%player%5"
  132.             stopEffect "%player%6"
  133.             stopEffect "%player%7"
  134.             stopEffect "%player%8"
  135.             stopEffect "%player%9"
  136.             set {_team} to metadata value "TurniejWDTeam" of player
  137.             loop all players in radius 15 of player:
  138.                 if metadata value "TurniejWDTeam" of loop-player is not {_team}:
  139. #               if {team.%loop-player%} is not {team.%player%}:
  140.                     remove slow from loop-player
  141.                     apply slow 2 to the loop-player for 10 seconds
  142.                     send "&7Zostales spowolniony przez &6%player% &7ktory uzyl &7&lZegara Czasu&7!" to loop-player
  143.                     send "&7Spowolniles wszystkich przeciwnikow w promieniu 15 kratek!" to player
  144.    
  145.  
  146. on rightclick with clock:
  147.     if player's gamemode is survival:
  148.         if name of player's tool is "&8&lZegar Czasu":
  149.             set {_zegar1} to difference between {zegar1.%player%} and now
  150.             if {_zegar1} is less than 25 second:
  151.                 set {_zegar1} to difference between {_zegar1} and 25 second
  152.                 send "&ePonownie mozesz uzyc czaru za: &6&l%{_zegar1}%" to player      
  153.    
  154.                 stop
  155.             set {zegar1.%player%} to now
  156.             stopEffect "%player%"
  157.             set {_loc} to location of player
  158.             drawWarpRings style 22, particle "spell", RGB 0, 0, 0, center location of block at {_loc}, id "%player%1", rainbowMode true, scan false, height 0, radius 5, ringCount 10, ringDensity 10, visibleRange 32, pulseDelay 2
  159.             drawWarpRings style 22, particle "spell", RGB 0, 0, 0, center location of block at {_loc}, id "%player%2", rainbowMode true, scan false, height 0, radius 4.5, ringCount 10, ringDensity 10, visibleRange 32, pulseDelay 2
  160.             drawWarpRings style 22, particle "spell", RGB 0, 0, 0, center location of block at {_loc}, id "%player%3", rainbowMode true, scan false, height 0, radius 4, ringCount 10, ringDensity 10, visibleRange 32, pulseDelay 2
  161.             drawWarpRings style 32, particle "spell", RGB 0, 0, 0, center location of block at {_loc}, id "%player%4", rainbowMode true, scan false, height 0, radius 3.5, ringCount 10, ringDensity 10, visibleRange 32, pulseDelay 2
  162.             drawWarpRings style 32, particle "spell", RGB 0, 0, 0, center location of block at {_loc}, id "%player%5", rainbowMode true, scan false, height 0, radius 3, ringCount 10, ringDensity 10, visibleRange 32, pulseDelay 2
  163.             drawWarpRings style 32, particle "spell", RGB 0, 0, 0, center location of block at {_loc}, id "%player%6", rainbowMode true, scan false, height 0, radius 2.5, ringCount 10, ringDensity 10, visibleRange 32, pulseDelay 2
  164.             drawWarpRings style 2, particle "spell", RGB 0, 0, 0, center location of block at {_loc}, id "%player%7", rainbowMode true, scan false, height 0, radius 2, ringCount 10, ringDensity 10, visibleRange 32, pulseDelay 2
  165.             drawWarpRings style 2, particle "spell", RGB 0, 0, 0, center location of block at {_loc}, id "%player%8", rainbowMode true, scan false, height 0, radius 1.5, ringCount 10, ringDensity 30, visibleRange 32, pulseDelay 2
  166.             drawWarpRings style 2, particle "spell", RGB 0, 0, 0, center location of block at {_loc}, id "%player%9", rainbowMode true, scan false, height 0, radius 1, ringCount 10, ringDensity 20, visibleRange 32, pulseDelay 2
  167.             wait 5 tick
  168.             execute player command "off"
  169.             stopEffect "%player%1"
  170.             stopEffect "%player%2"
  171.             stopEffect "%player%3"
  172.             stopEffect "%player%4"
  173.             stopEffect "%player%5"
  174.             stopEffect "%player%6"
  175.             stopEffect "%player%7"
  176.             stopEffect "%player%8"
  177.             stopEffect "%player%9"
  178.             set {_team} to metadata value "TurniejWDTeam" of player
  179.             loop all players in radius 15 of player:
  180.                 if metadata value "TurniejWDTeam" of loop-player is not {_team}:
  181. #               if {team.%loop-player%} is {team.%player%}:
  182.                     remove speed from loop-player
  183.                     apply speed 2 to the loop-players for 10 seconds
  184.                     send "&7Zostales przyspieszony przez &6%player% &7ktory uzyl &7&lZegara Czasu&7!" to loop-player
  185.                     send "&7Przyspieszyles wszystkich sojusznikow w promieniu 15 kratek!" to player
  186.  
  187.  
  188.  
  189.  
  190. command /off:
  191.     trigger: admin
  192.     trigger:
  193.         stopEffect "%player%"
  194.         stopEffect id "%player%-drawImage"
  195.         stopEffect id "%player%"
  196.         stopEffect id "%player%-1"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top