Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Wyglad craftingu SPAWN:
- # [x] [g] [x]
- # [x] [g] [x]
- # [x] [s] [x]
- #
- #Wyglad craftingu GILDIA:
- # [e] [g] [e]
- # [d] [g] [d]
- # [e] [s] [e]
- #
- # LEGĘDA
- #
- # x-nic
- # s-patyk
- # g-BLOK zlota
- # d-diament (NIE BLOK!)
- # e-emerald
- on skript load:
- set {_x} to "&2Teleport na spawn"
- Recipe.new{ {_x} };
- {_x}.Recipe.registerIngredient{1, 1 stick};
- {_x}.Recipe.registerIngredient{1, 1 gold block};
- {_x}.Recipe.registerIngredient{1, 1 gold block};
- {_x}.Recipe.registerResult{1 balze rod of thorns 10 named "{_x}"};
- {_x}.Recipe.register;
- set {_y} to "Marmur"
- Recipe.new{ {_y} };
- {_y}.Recipe.registerIngredient{1, 1 emerald};
- {_y}.Recipe.registerIngredient{2, 1 gold block};
- {_y}.Recipe.registerIngredient{3, 1 emerald};
- {_y}.Recipe.registerIngredient{4, 1 diamond};
- {_y}.Recipe.registerIngredient{5, 1 gold block};
- {_y}.Recipe.registerIngredient{6, 1 diamond};
- {_y}.Recipe.registerIngredient{7, 1 emerald};
- {_y}.Recipe.registerIngredient{8, 1 gold block};
- {_y}.Recipe.registerIngredient{9, 1 emerald};
- {_y}.Recipe.registerResult{1 stick of thorns 10 named "{_y}"};
- on rightclick with stick:
- if tool of player is blaze rod named "&2Teleport na spwan"
- if {czasoczek.%player%} is true:
- display "&cMusisz odczekac 24h od nastepnego uzycia!" on bossbar with 100 percent by 10 seconds for player
- if {czasoczek.%player%} is false:
- set {_z} to 5
- loop {_z} time:
- wait 1 second
- remove 1 from {_z}
- display "&2Teleportacja za {_z}" on bossbar with 100 percent by 10 seconds for player
- if {_z} is 0:
- teleport player to {spawn}
- set {czasoczek.%player%} to true
Advertisement
Add Comment
Please, Sign In to add comment