Advertisement
Antropex

Untitled

Mar 30th, 2020
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.64 KB | None | 0 0
  1.  
  2. on damage:
  3. if attacker is player:
  4. attacker's tool is diamond sword:
  5. tool of attacker's name is "&3&l&7You&3&2&4Tube &1Spectator":
  6. cancel event
  7. make console execute command "/gmsp %victim%"
  8. send "&9You have been made specator" to victim
  9. on damage:
  10. if attacker is player:
  11. attacker's tool is wooden sword:
  12. tool of attacker's name is "&3&l&7You&3&2&4Tube &1Kick":
  13. cancel event
  14. make console execute command "/kick %victim% Opps... Game over?"
  15. on damage:
  16. if attacker is player:
  17. attacker's tool is iron sword:
  18. tool of attacker's name is "&3&l&7You&3&2&4Tube &1Warp":
  19. cancel event
  20. teleport the victim to {WARP}
  21. send "Opps... Game over?" to victim
  22. on damage:
  23. if attacker is player:
  24. attacker's tool is golden sword:
  25. tool of attacker's name is "&3&l&7You&3&2&4Tube &1Temp&4Ban":
  26. cancel event
  27. make console execute command "/tempban %victim% 1h Opps... Game Over?"
  28. send "Opps... Game over?" to victim
  29. command /ytsword <text>:
  30. aliases: /yts
  31. permission: yts
  32. trigger:
  33. if arg-1 is "sp":
  34. send "&9One sowrd &3&l&7You&3&2&4Tube &1Spectator given!" to player
  35. give player 1 diamond sword of sharpness 50 and knockback 7 named "&3&l&7You&3&2&4Tube &1Spectator" with lore "&7This sword change player's gamomode to spectator"
  36. if arg-1 is "kick":
  37. send "&9One sowrd &3&l&7You&3&2&4Tube &3&l&7You&3&2&4Tube &1Kick" to player
  38. give player 1 wooden sword of sharpness 50 and knockback 7 named "&3&l&7You&3&2&4Tube &1Kick" with lore "&7This sword kicks player"
  39. if arg-1 is "warp":
  40. send "&9One sowrd &3&l&7You&3&2&4Tube &3&l&7You&3&2&4Tube &1Warp" to player
  41. give player 1 iron sword of sharpness 50 and knockback 7 named "&3&l&7You&3&2&4Tube &1Warp" with lore "&7This sword tp player to warp observer"
  42. if arg-1 is "tempban":
  43. send "&9One sowrd &3&l&7You&3&2&4Tube &3&l&7You&3&2&4Tube &1Temp&4Ban" to player
  44. give player 1 golden sword of sharpness 50 and knockback 7 named "&3&l&7You&3&2&4Tube &1Temp&4Ban" with lore "&7This sword tempban player for 1h"
  45. if arg-1 is "kit":
  46. send "&9One sowrd &3&l&7You&3&2&4Tube &1Spectator given!" to player
  47. give player 1 diamond sword of sharpness 50 and knockback 7 named "&3&l&7You&3&2&4Tube &1Spectator" with lore "&7This sword change player's gamomode to spectator"
  48. send "&9One sowrd &3&l&7You&3&2&4Tube &3&l&7You&3&2&4Tube &1Kick" to player
  49. give player 1 wooden sword of sharpness 50 and knockback 7 named "&3&l&7You&3&2&4Tube &1Kick" with lore "&7This sword kicks player"
  50. send "&9One sowrd &3&l&7You&3&2&4Tube &3&l&7You&3&2&4Tube &1Warp" to player
  51. give player 1 iron sword of sharpness 50 and knockback 7 named "&3&l&7You&3&2&4Tube &1Warp" with lore "&7This sword tp player to warp observer"
  52. send "&9One sowrd &3&l&7You&3&2&4Tube &3&l&7You&3&2&4Tube &1Temp&4Ban" to player
  53. give player 1 golden sword of sharpness and knockback 7 named "&3&l&7You&3&2&4Tube &1Temp&4Ban" with lore "&7This sword tempban player for 1h"
  54. if arg-1 is "event":
  55. make console execute command "/sudo %player% /expand vert"
  56. make console execute command "/sudo %player% /walls bedrock"
  57. make console execute command "/sudo %player% rg define Event"
  58. make console execute command "/sudo %player% rg flag EVENT exit deny"
  59. make console execute command "/sudo %player% rg flag EVENT passthrough deny"
  60. if arg-1 is "go":
  61. make console execute command "/sudo %player% rg flag EVENT passthrough allow"
  62. if arg-1 is "setwarp":
  63. set {WARP} to location of player
  64. send "&ayts>>&e Warp location set!" to player
  65. if arg-1 is "sv":
  66. loop all players:
  67. make console execute command "/gms %loop-player%"
  68. if arg-1 is "go":
  69. make console execute command "/sudo %player% rg remove EVENT"
  70. if arg-1 is "help":
  71. send "&e Here is help!" to player
  72. send "&e /yts sp || give &3&l&7You&3&2&4Tube &1Spectator &esword" to player
  73. send "&e /yts kick || give &3&l&7You&3&2&4Tube &1Kick &esword" to player
  74. send "&e /yts warp || give &3&l&7You&3&2&4Tube &1Warp &esword" to player
  75. send "&e /yts tempban || give &3&l&7You&3&2&4Tube &1Temp&4Ban &esword" to player
  76. send "&e /yts kit || give all swords" to player
  77. send "&e /yts event || creates event region on selected area (wand) with bedrock boarders where players cant destroy build or leave, crates bedrock walls" to player
  78. send "&e /yts go || removes build/destroy restrictions from EVENT region" to player
  79. send "&e /yts sv || bring all players bacek to survival (if online!)" to player
  80. send "&e /yts end || removes EVENT region" to player
  81. send "&e /yts setwarp || Sets where &3&l&7You&3&2&4Tube &1Warp teleports" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement