Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /build [<text>]:
- trigger:
- if player is in world "world":
- if arg 1 is not set:
- set {_loc} to player's location
- set {_locs} to player's location
- open chest with 3 rows named "&6Random TP" to player
- wait 2 tick
- format slot 0 of player with Diamond named "&6%player%" with lore "&bBois: %{wood.%player%}%||&bBrique: %{brick.%player%}%" to be unstealable
- format slot 1 of player with Yellow Stained Glass Pane to be unstealable
- format slot 2 of player with Yellow Stained Glass Pane to be unstealable
- format slot 3 of player with Yellow Stained Glass Pane to be unstealable
- format slot 4 of player with Yellow Stained Glass Pane to be unstealable
- format slot 5 of player with Yellow Stained Glass Pane to be unstealable
- format slot 6 of player with Yellow Stained Glass Pane to be unstealable
- format slot 7 of player with Yellow Stained Glass Pane to be unstealable
- format slot 8 of player with Diamond named "&6%player%" with lore "&bBois: %{wood.%player%}%||&bBrique: %{brick.%player%}%" to be unstealable
- format slot 9 of player with Yellow Stained Glass Pane to be unstealable
- format slot 11 of player with Oak Wood Planks named "&6Build Mur" to close then run [make player execute command "/build mur"]
- format slot 10 of player with Orange Stained Glass Pane to be unstealable
- format slot 12 of player with Orange Stained Glass Pane to be unstealable
- format slot 13 of player with 126:0 named "&6Build Sol" to close then run [make player execute command "/build sol"]
- format slot 14 of player with Orange Stained Glass Pane to be unstealable
- format slot 16 of player with Orange Stained Glass Pane to be unstealable
- format slot 15 of player with brick stairs named "&6Build Escalier" to close then run [make player execute command "/build escalier"]
- format slot 17 of player with Yellow Stained Glass Pane to be unstealable
- format slot 18 of player with Diamond named "&6%player%" with lore "&bBois: %{wood.%player%}%||&bBrique: %{brick.%player%}%" to be unstealable
- format slot 19 of player with Yellow Stained Glass Pane to be unstealable
- format slot 20 of player with Yellow Stained Glass Pane to be unstealable
- format slot 21 of player with Yellow Stained Glass Pane to be unstealable
- format slot 23 of player with Yellow Stained Glass Pane to be unstealable
- format slot 24 of player with Yellow Stained Glass Pane to be unstealable
- format slot 25 of player with Yellow Stained Glass Pane to be unstealable
- format slot 26 of player with Diamond named "&6%player%" with lore "&bBois: %{wood.%player%}%||&bBrique: %{brick.%player%}%" to be unstealable
- while {_loc} = {_locs}: #ICI LE WHILE
- wait 5 tick
- set {_locs} to player's location
- if {_loc} = {_locs}:
- format slot 22 of player with TNT named " &f- &6Suppression des structures dans &b%{time.delete.buildF}% secondes&f !" to be unstealable
- set {_time} to {time.delete.buildF}
- else:
- wait 5 tick
- 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