Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.11 KB | None | 0 0
  1. command /build [<text>]:
  2. trigger:
  3. if player is in world "world":
  4. if arg 1 is not set:
  5. set {_loc} to player's location
  6. set {_locs} to player's location
  7. open chest with 3 rows named "&6Random TP" to player
  8. wait 2 tick
  9. format slot 0 of player with Diamond named "&6%player%" with lore "&bBois: %{wood.%player%}%||&bBrique: %{brick.%player%}%" to be unstealable
  10. format slot 1 of player with Yellow Stained Glass Pane to be unstealable
  11. format slot 2 of player with Yellow Stained Glass Pane to be unstealable
  12. format slot 3 of player with Yellow Stained Glass Pane to be unstealable
  13. format slot 4 of player with Yellow Stained Glass Pane to be unstealable
  14. format slot 5 of player with Yellow Stained Glass Pane to be unstealable
  15. format slot 6 of player with Yellow Stained Glass Pane to be unstealable
  16. format slot 7 of player with Yellow Stained Glass Pane to be unstealable
  17. format slot 8 of player with Diamond named "&6%player%" with lore "&bBois: %{wood.%player%}%||&bBrique: %{brick.%player%}%" to be unstealable
  18. format slot 9 of player with Yellow Stained Glass Pane to be unstealable
  19. format slot 11 of player with Oak Wood Planks named "&6Build Mur" to close then run [make player execute command "/build mur"]
  20. format slot 10 of player with Orange Stained Glass Pane to be unstealable
  21. format slot 12 of player with Orange Stained Glass Pane to be unstealable
  22. format slot 13 of player with 126:0 named "&6Build Sol" to close then run [make player execute command "/build sol"]
  23. format slot 14 of player with Orange Stained Glass Pane to be unstealable
  24. format slot 16 of player with Orange Stained Glass Pane to be unstealable
  25. format slot 15 of player with brick stairs named "&6Build Escalier" to close then run [make player execute command "/build escalier"]
  26. format slot 17 of player with Yellow Stained Glass Pane to be unstealable
  27. format slot 18 of player with Diamond named "&6%player%" with lore "&bBois: %{wood.%player%}%||&bBrique: %{brick.%player%}%" to be unstealable
  28. format slot 19 of player with Yellow Stained Glass Pane to be unstealable
  29. format slot 20 of player with Yellow Stained Glass Pane to be unstealable
  30. format slot 21 of player with Yellow Stained Glass Pane to be unstealable
  31. format slot 23 of player with Yellow Stained Glass Pane to be unstealable
  32. format slot 24 of player with Yellow Stained Glass Pane to be unstealable
  33. format slot 25 of player with Yellow Stained Glass Pane to be unstealable
  34. format slot 26 of player with Diamond named "&6%player%" with lore "&bBois: %{wood.%player%}%||&bBrique: %{brick.%player%}%" to be unstealable
  35. while {_loc} = {_locs}: #ICI LE WHILE
  36. wait 5 tick
  37. set {_locs} to player's location
  38. if {_loc} = {_locs}:
  39. format slot 22 of player with TNT named " &f- &6Suppression des structures dans &b%{time.delete.buildF}% secondes&f !" to be unstealable
  40. set {_time} to {time.delete.buildF}
  41. else:
  42. wait 5 tick
  43. remove 1 TNT named " &f- &6Suppression des structures dans &b%{_time}% secondes&f !" from player's inventory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement