BarunYYT

Różdzki

Sep 8th, 2014
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. #Wyglad craftingu SPAWN:
  2. # [x] [g] [x]
  3. # [x] [g] [x]
  4. # [x] [s] [x]
  5. #
  6. #Wyglad craftingu GILDIA:
  7. # [e] [g] [e]
  8. # [d] [g] [d]
  9. # [e] [s] [e]
  10. #
  11.  
  12. # LEGĘDA
  13. #
  14. # x-nic
  15. # s-patyk
  16. # g-BLOK zlota
  17. # d-diament (NIE BLOK!)
  18. # e-emerald
  19.  
  20.  
  21.  
  22. on skript load:
  23. set {_x} to "&2Teleport na spawn"
  24. Recipe.new{ {_x} };
  25. {_x}.Recipe.registerIngredient{1, 1 stick};
  26. {_x}.Recipe.registerIngredient{1, 1 gold block};
  27. {_x}.Recipe.registerIngredient{1, 1 gold block};
  28. {_x}.Recipe.registerResult{1 balze rod of thorns 10 named "{_x}"};
  29. {_x}.Recipe.register;
  30.  
  31.  
  32. set {_y} to "Marmur"
  33. Recipe.new{ {_y} };
  34. {_y}.Recipe.registerIngredient{1, 1 emerald};
  35. {_y}.Recipe.registerIngredient{2, 1 gold block};
  36. {_y}.Recipe.registerIngredient{3, 1 emerald};
  37. {_y}.Recipe.registerIngredient{4, 1 diamond};
  38. {_y}.Recipe.registerIngredient{5, 1 gold block};
  39. {_y}.Recipe.registerIngredient{6, 1 diamond};
  40. {_y}.Recipe.registerIngredient{7, 1 emerald};
  41. {_y}.Recipe.registerIngredient{8, 1 gold block};
  42. {_y}.Recipe.registerIngredient{9, 1 emerald};
  43. {_y}.Recipe.registerResult{1 stick of thorns 10 named "{_y}"};
  44.  
  45.  
  46. on rightclick with stick:
  47. if tool of player is blaze rod named "&2Teleport na spwan"
  48. if {czasoczek.%player%} is true:
  49. display "&cMusisz odczekac 24h od nastepnego uzycia!" on bossbar with 100 percent by 10 seconds for player
  50. if {czasoczek.%player%} is false:
  51. set {_z} to 5
  52. loop {_z} time:
  53. wait 1 second
  54. remove 1 from {_z}
  55. display "&2Teleportacja za {_z}" on bossbar with 100 percent by 10 seconds for player
  56. if {_z} is 0:
  57. teleport player to {spawn}
  58.  
  59. set {czasoczek.%player%} to true
Advertisement
Add Comment
Please, Sign In to add comment