doru90

Untitled

Mar 15th, 2020
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.20 KB | None | 0 0
  1. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
  2. # ____ _ _ _ #
  3. # | _ \ ___ _ _| |__ | | ___ | |_ _ _ __ ___ _ __ #
  4. # | | | |/ _ \| | | | '_ \| |/ _ \_ | | | | | '_ ` _ \| '_ \ #
  5. # | |_| | (_) | |_| | |_) | | __/ |_| | |_| | | | | | | |_) | #
  6. # |____/ \___/ \__,_|_.__/|_|\___|\___/ \__,_|_| |_| |_| .__/ #
  7. # |_| #
  8. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
  9. # # # #
  10. # # DEVELOPER: SEFYY # #
  11. # # TWITTER: @5EFYY # #
  12. # # VERSION: 1.2 # #
  13. # # # #
  14. # # # # # # # # # # # # # # # #
  15.  
  16.  
  17.  
  18.  
  19.  
  20. options:
  21. Prefix: &8&l&bDoubleJump&8&l|
  22.  
  23. DoubleJumpPerm: DoubleJump.Can
  24.  
  25. DoubleJumpCmdPerm: DoubleJump.Cmd
  26.  
  27. PermMsg: &cYou don't have permission.
  28.  
  29. DoubleJumpSound: ENDERDRAGON_WINGS #List http://bit.ly/29m29Q7
  30.  
  31. DoubleJumpParticle: CLOUD #List http://bit.ly/2ghzq1s
  32.  
  33. DoubleJumpParticleLevel: 10
  34.  
  35.  
  36.  
  37.  
  38.  
  39. # # # # # # # # # # # # # # # # # # # # # # # #
  40. # ____ _ _____ _ _ _ #
  41. # | _ \ ___ _ __ | |_ | ____|__| (_) |_ #
  42. # | | | |/ _ \| '_ \| __| | _| / _` | | __| #
  43. # | |_| | (_) | | | | |_ | |__| (_| | | |_ #
  44. # |____/ \___/|_| |_|\__| |_____\__,_|_|\__| #
  45. # #
  46. # # # # # # # # # # # # # # # # # # # # # # # #
  47. DJversion: 1.2
  48. Developer: SEFYY
  49. on flight toggle:
  50. player's gamemode is not creative:
  51. cancel event
  52. wait a tick
  53. set player's flight state to false
  54. push player upwards at speed 0.8
  55. push player forwards at speed 0.8
  56. show {@DoubleJumpParticleLevel} "{@DoubleJumpParticle}" particles at location of player for player offset by 0.4, 0.5, 0.4
  57. loop 3 times:
  58. play "{@DoubleJumpSound}" to player at volume 0.99
  59. on jump:
  60. player's gamemode is not creative:
  61. player has permission "{@DoubleJumpPerm}":
  62. {DoubleJump%player's uuid%} is not set:
  63. block below player is not air or water:
  64. set player's flight state to true
  65. on damage:
  66. damage cause is fall:
  67. {DoubleJump%victim's uuid%} is not set:
  68. cancel event
  69. command /doublejump <text=help>:
  70. aliases: dj
  71. permission: {@DoubleJumpCmdPerm}
  72. permission message: {@PermMsg}
  73. trigger:
  74. if arg-1 is "help":
  75. send "&b&m | | "
  76. send "&3 /dj true &7- &3DoubleJump Enable"
  77. send "&3 /dj false &7- &3DoubleJump Disable"
  78. send "&3 /dj help &7- &3View DoubleJump Help"
  79. send "&b&m | | "
  80. stop
  81.  
  82. if arg-1 is "false":
  83. {DoubleJump%player's uuid%} is not set:
  84. set {DoubleJump%player's uuid%} to 1
  85. send "{@Prefix} &3DoubleJump is disabled"
  86. stop
  87. if arg-1 is "true":
  88. {DoubleJump%player's uuid%} is set:
  89. delete {DoubleJump%player's uuid%}
  90. send "{@Prefix} &3DoubleJump is enabled"
  91. stop
  92.  
  93. else:
  94. send "&b&m | | "
  95. send "&3 /dj true &7- &3DoubleJump Enable"
  96. send "&3 /dj false &7- &3DoubleJump Disable"
  97. send "&3 /dj help &7- &3View DoubleJump Help"
  98. send "&b&m | | "
Add Comment
Please, Sign In to add comment