Advertisement
Guest User

pd

a guest
Mar 24th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.45 KB | None | 0 0
  1. options:
  2. logo: &c[&6HWK&eVerif&c]&a
  3.  
  4. command /spec <player> <text>:
  5. permission: hwkspec.use
  6. permission message: &cVous n'êtes pas autorisé à utiliser cette commande !
  7. usage: &cUtilisez : &c&l/spec (joueur) (help/on/off)
  8. trigger:
  9.  
  10. if arg 2 is "on":
  11. set {feather.teleport} to true
  12. hide player from all players
  13. give compass named "&cTeleporteur" to arg 1
  14. give stick of knockback 10 named "&bKBTesteur" to arg 1
  15. give bedrock named "&eBloqueur" to arg 1
  16. give feather named "&6TP Aléatoire" to arg 1
  17. send "&c[&6HWK&eVerif&c] &aMode invisible activé !" to arg 1
  18. send "&c[&6HWK&eVerif&c] &aMode invisible activé pour &a&l%arg 1% &a!" to player
  19. stop
  20.  
  21. if arg 2 is "off":
  22. set {feather.teleport} to false
  23. set {vanish.%player%.enable} to false
  24. reveal player to all players
  25. remove all compass named "&cTeleporteur" from arg 1
  26. remove all stick named "&bKBTesteur" from arg 1
  27. remove all bedrock named "&eBloqueur" from arg 1
  28. remove all feather named "&6TP Aléatoire" from arg 1
  29. send "&c[&6HWK&eVerif&c] &cMode invisible désactivé !" to arg 1
  30. send "&c[&6HWK&eVerif&c] &cMode invisible désactivé pour &c&l%arg 1% &a!" to player
  31. wait 1 tick
  32. set {spec.%player%.off} to true
  33. stop
  34.  
  35. if arg 2 is "help":
  36. send " &6HWKSPEC &e| &aHELP" to arg 1
  37. send " " to arg 1
  38. send "&aPour vous mettre en spec :" to arg 1
  39. send " &e- &a/spec &a&l[Joueur] [ON:OFF] " to arg 1
  40.  
  41. on right click with a feather:
  42. if {feather.teleport} is true:
  43. if name of tool of player is "&6TP Aléatoire":
  44. execute player command "/rtp"
  45. wait 1 tick
  46. send "{@logo} Vous avez été téléporté à un joueur aléatoire"
  47.  
  48. on join:
  49. loop all players:
  50. if {vanish.%player%.enable} is true:
  51. wait 1 tick
  52. send "{@logo}&a Tu es toujours en vanish !"
  53.  
  54. command /givestuff <text>:
  55. permission: hwkspec.give.stuff
  56. permission message: &cVous n'êtes pas autorisé à utiliser cette commande !
  57. usage: &cUtilisez : &c&l/givestuff spec
  58. trigger:
  59.  
  60. if arg 1 is "spec":
  61. if {vanish.%player%.enable} is true:
  62. set {menu.%player%.give} to true
  63. give compass named "&cTeleporteur" to player
  64. give stick of knockback 10 named "&bKBTesteur" to player
  65. give bedrock named "&eBloqueur" to player
  66. give feather named "&6TP Aléatoire" to player
  67. wait 1 tick
  68. send "{@logo} Menu donné !"
  69. else:
  70. send "{@logo}&c Tu n'es pas en vanish !"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement