Advertisement
gecko201577106

Untitled

Mar 26th, 2020
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.91 KB | None | 0 0
  1. options:
  2. Prefix: &8[&aGunGame&8]
  3. KeineRechte: &cDu hast keinen Zugriff.
  4.  
  5. on first join:
  6. set 1 to {tot.%player%}
  7. set slot 0 of player to wooden axe
  8.  
  9. command /test:
  10. trigger:
  11. send "Test"
  12. set 1 to {tot.%player%}
  13. set slot 0 of player to wooden axe
  14.  
  15. on drop:
  16. if {build.%player%} is 1:
  17. stop
  18. else:
  19. cancel event
  20. send "{@Prefix} &7Du kannst nichts Droppen"
  21.  
  22. command /build:
  23. permission: build.mode
  24. trigger:
  25. if {build.%player%} is 0:
  26. set {build.%player%} to 1
  27. send "{@Prefix} &7Du hast den BuildModus &aAktiviert" to player
  28. set gamemode of player to creative
  29. clear player's inventory
  30. set {lb.slient} to false
  31. stop
  32.  
  33. if {build.%player%} is 1:
  34. set {build.%player%} to 0
  35. send "{@Prefix} &7Du hast den BuildModus &cDeaktiviert" to player
  36. clear player's inventory
  37. wait 1 tick
  38. send "{@Prefix} &cBitte joine 1. neu um die Items zu bekommen!"
  39.  
  40. on walking on water:
  41. if {build.%player%} is 1:
  42. stop
  43. else:
  44. kill player
  45. send "{@Prefix} &7Du bist Runtergefallen"
  46.  
  47. on respawn:
  48. teleport player to {Spawn}
  49.  
  50. command /setspawn:
  51. trigger:
  52. set {Spawn} to location of player
  53. send "{@Prefix} &7Du hast &aerfolgreich &7den Spawn gesetzt."
  54.  
  55. on death:
  56. add 1 to {tot.%attacker%}
  57. send "{@Prefix} &7Du wurdest von &a%attacker% &7gekillt."
  58.  
  59. on death:
  60. if {tot.%player%} is smaller than 1:
  61. set slot 0 of player to wooden axe
  62.  
  63. on inventory click:
  64. if {build.%player%} is 1:
  65. stop
  66. else:
  67. cancel event
  68. send "{@Prefix} &7Du kannst die Items in deinen Inventar nicht ändern." to player
  69.  
  70. every 2 seconds:
  71. if {tot.%player%} is 1:
  72. set slot 0 of %player% inventory to 268
  73. if {tot.%player%} is 2:
  74. equip %player% with 299
  75. if {tot.%player% is 3:
  76. equip %player% with 298
  77. if {tot.%player%} is 4:
  78. equip %player% with 300
  79. if {tot.%player%} is 5:
  80. equip %player% with 301
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement