Advertisement
Guest User

Untitled

a guest
Oct 18th, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. on join:
  2. send "&cConnection reussie."
  3. set {hub.%player%} to true
  4. teleport player at {lobby}
  5. clear player's inventory
  6. give chest named "&cClick-droit" to player
  7. teleport
  8. stop
  9.  
  10. on damage:
  11. if {hub.%victim%} is true:
  12. cancel event
  13.  
  14.  
  15. on quit:
  16. set {hub.%player%} to true
  17. clear player's inventory
  18.  
  19.  
  20. on death:
  21. set {hub.%player%} to true
  22. teleport player at {lobby}
  23. give chest named "&cClick-droit" to player
  24.  
  25.  
  26.  
  27. on right click:
  28. if player's tool is a chest:
  29. wait 3 tick
  30. open chest with 1 row named "FFA" to player
  31. format slot 2 of player with bedrock named "&7soon" to close
  32. format slot 4 of player with green wool named "normal" to close then run [make player execute command "/joinffa"]
  33. format slot 6 of player with bedrock named "&7soon" to close
  34. stop
  35.  
  36.  
  37. on command "/joinffa":
  38. set {hub.%sender%} to false
  39. wait 3 ticks
  40. set {spawn_} to a random element out of {spawns::*}
  41. wait 3 ticks
  42. teleport sender at {spawn_}
  43. set player's inventory's serialized contents to {stuff.1}
  44. set helmet of player to {stuff.2}
  45. set chestplate of player to {stuff.3}
  46. set leggings of player to {stuff.4}
  47. set boots of player to {stuff.5}
  48.  
  49.  
  50.  
  51.  
  52.  
  53. command /invset:
  54. permission: inv.set
  55. trigger:
  56. set player's inventory's serialized contents to {stuff.1}
  57. set helmet of player to {stuff.2}
  58. set chestplate of player to {stuff.3}
  59. set leggings of player to {stuff.4}
  60. set boots of player to {stuff.5}
  61. send "&cinventaire sauvergardé."
  62.  
  63.  
  64. command /spawnset <text>:
  65. permission: spawn.set
  66. trigger:
  67. if arg 1 is'nt set:
  68. send "&c/spawnset spawn ou texte"
  69. stop
  70. if arg 1 is "spawn":
  71. set {lobby} to player's location
  72. send "&cspawn defini."
  73. stop
  74. if arg 1 is set:
  75. set player's location to {spawn.%arg 1%}
  76. add {spawn.%arg 1%} to {spawns::*}
  77. send "&cposition '%arg 1%' definie."
  78. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement