patison234

1 Zestaw Skryptów! v.4.0 Dodano Odc. 7

Oct 31st, 2013
1,214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ######################
  2. #  Wiezienie Odc. 2  #
  3. ######################
  4. command /zamknij <text>:
  5.     trigger:
  6.         if arg 1 is player:
  7.             teleport player to {lobby}
  8.             send "jestes w wiezieniu!"
  9.             set {wiezienie.%player%} to true
  10.             wait 5 seconds
  11.             set {wiezienie.%player%} to false
  12. command /opusc:
  13.     trigger:
  14.         if {wiezienie.%player%} is true:
  15.             send "nie mozesz teraz tego uzyc!"
  16.         else:
  17.             send "Wyszedles z wiezienia!"
  18.             teleport player to spawn
  19. ####################
  20. # TnTRun Odc. 3    #
  21. ####################
  22. command /set:
  23.     trigger:
  24.         set {lobby} to location of player
  25.        
  26. on step on gravel or sand:
  27.     if {start.%player%.tntrun} is true:
  28.         if block under the player is gravel or sand:
  29.             if block 2 under the player is tnt:
  30.                 set block under the player to air
  31.                 set block 2 under the player to air
  32.                 send "Dziala"
  33. command /run <text>:
  34.     trigger:
  35.         if arg 1 is "set":
  36.             set {tnt.start} to location of player
  37.         if arg 1 is "run":
  38.             teleport player to {tnt.start}
  39.             send "Dolaczyles"s
  40.             set {start.%player%.tntrun} to true
  41.         if arg 1 is "opusc":
  42.             set {start.%player%.tntrun} to false
  43. ################
  44. # Serca Odc. 4 #
  45. ################
  46. command /dodaj:
  47.     trigger:
  48.         set the maximum health of player to 20
  49.         send "Dodano"
  50.         stop
  51. ################
  52. # Loop Odc. 5 #
  53. ################
  54. on portal:
  55.     if {portal.enter} is false:
  56.         send "Nether aktualnie wylaczony"
  57.         cancel event
  58.         stop
  59. command /portal <text>:
  60.     trigger:
  61.         if arg 1 is "on":
  62.             set {portal.enter} to true
  63.             send "Nether Otawrty!"
  64.             stop
  65.         if arg 1 is "off":
  66.             set {portal.enter} to false
  67.             send "Nether zamkniety!"
  68.             stop
  69. every 1 seconds:
  70.     loop all players:
  71.         if loop-player has 64 diamond:
  72.             give 12 emerald named "&anagroda" to the loop-player
  73.             remove 64 diamond from the loop-player
  74.  
  75. every 1 seconds:
  76.     loop all players:
  77.         if loop-player is holding a pickaxe:
  78.             repair loop-player's tool
  79.  
  80. ################
  81. # Sklep Odc. 6 #
  82. ################
  83. on rightclick on button:
  84.     if block behind the event-block is sponge:
  85.         set {_x} to a random integer between 1 and 10
  86.         send "&aLosowy numerek to %{_x}%!"
  87. on rightclick on sign:
  88.     if block behind the event-block is sponge:
  89.         set {_x} to line 2 of the clicked block parsed as item
  90.         give {_x} to the player
  91. ################
  92. # TnT Odc. 7   #
  93. ################
  94. on player drop of 289:
  95.     wait 3 seconds
  96.     create an explosion of force 4 at the player
  97.  
  98. every 1 seconds:
  99.     loop all players:
  100.         if loop-player's gamemode is creative:
  101.             stop
  102.         if loop-player's gamemode is survival:
  103.             biome at the loop-player is desert
  104.             create a fake explosion at the loop-player
  105.             damage loop-player by 1 hearts
Advertisement
Add Comment
Please, Sign In to add comment