LopataGaming

TP na spawn

Jan 26th, 2014
362
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2. ~~~~~~~~~Wersja skryptu v1.0~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3. ~~~~~~~~~Autor ŁopataGaming~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4. ~~~~~~~~~~Skrypt dodaje różdzkę tepelortacyjną na spawn~
  5. ~~~~~~~~~~Mogą być błędy ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  7.  
  8.  
  9.  
  10.                           ================================
  11.               =============CODE===============
  12.               ================================
  13.  
  14.  
  15.  
  16.  
  17.  
  18. command /Teleport:
  19.         permission: teleport.use
  20.         trigger:
  21.                 player has 1 gold block and 2 stick:
  22.                         remove gold block and 2 stick from player
  23.                         clear {Teleport.%player%}
  24.                         wait a tick
  25.                         if {Teleport.%player%} is 1:
  26.                                 send "&aDostales 1 różdżkę!"
  27.                                 give a 280 of knockback 10 named "&2Teleport" to the player
  28.                 else:
  29.                         send "&4Blad:&cNie posiadasz 1 bloku złota i 2 patyków !."
  30. on rightclick:
  31.         player is holding a stick named "&2Teleport":
  32.                 teleport player to spawn
  33.                 send "&aPrzeteleportowano!"
  34.                 wait a tick
  35.                 remove 1 280 of knockback 10 named "&2Teleport" from player
Advertisement
Add Comment
Please, Sign In to add comment