Advertisement
Guest User

Untitled

a guest
Dec 19th, 2014
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. options:
  2. TPMessage: Teleportacja nastapi za 5 sekund! Prosimy sie nie ruszac!
  3. CancelMessage: Teleportacja zostala anulowana z powodu przesuniecia sie
  4. RodName: &aTeleport na spawn
  5. effect1: confusion
  6. effect2: blindness
  7. Item: blaze rod
  8. czas_tick: 100 #20 tick - 1 sekunda
  9. #Sloty crafting:
  10. #1 2 3
  11. #4 5 6
  12. #7 8 9
  13.  
  14.  
  15. on rightclick with {@Item}:
  16. if name of player's tool is "{@RodName}":
  17. send "{@TPMessage}"
  18. remove 1 {@Item} named "{@RodName}" from the player
  19. apply {@effect1} to the player for 8 seconds
  20. apply {@effect2} to the player for 8 seconds
  21. loop {@czas_tick} times:
  22. wait 1 tick
  23. on any movement:
  24. send "{@CancelMessage}"
  25. give 1 {@Item} named "{@RodName}" from the player
  26. cancel event
  27. teleport player to spawn
  28.  
  29.  
  30.  
  31. on load:
  32. register new shapeless recipe for {@Item} named "{@RodName}" using none, gold block, none, none, stick, none, none, stick, none
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement