DubleJump achei no pastebin


crashyq
 Share

Recommended Posts

  1. command /doublejump <text>:
  2.         aliases: dj
  3.         permission: doublej.use
  4.         trigger:
  5.                 if arg 1 is not set:
  6.                         open chest with 3 row named "&5DoubleJump Menu" to player
  7.                         wait 1 tick
  8.                         format slot 0 of player with white stained glass named " " to be unstealable
  9.                         format slot 1 of player with white stained glass named " " to be unstealable
  10.                         format slot 2 of player with white stained glass named " " to be unstealable
  11.                         format slot 3 of player with white stained glass named " " to be unstealable
  12.                         format slot 4 of player with white stained glass named " " to be unstealable
  13.                         format slot 5 of player with white stained glass named " " to be unstealable
  14.                         format slot 6 of player with white stained glass named " " to be unstealable
  15.                         format slot 7 of player with white stained glass named " " to be unstealable
  16.                         format slot 8 of player with white stained glass named " " to be unstealable
  17.                         format slot 9 of player with white stained glass named " " to be unstealable
  18.                         format slot 10 of player with blue stained glass named " " to be unstealable
  19.                         format slot 11 of player with green stained glass named "&aDoubleJump> ON" to close then [make player execute command"/doublejump on"]
  20.                         format slot 12 of player with blue stained glass named " " to be unstealable
  21.                         format slot 13 of player with blue stained glass named " " to be unstealable
  22.                         format slot 14 of player with blue stained glass named " " to be unstealable
  23.                         format slot 15 of player with red stained glass named "&cDoubleJump> OFF" to close then [make player execute command"/doublejump off"]
  24.                         format slot 16 of player with blue stained glass named " " to be unstealable
  25.                         format slot 17 of player with white stained glass named " " to be unstealable
  26.                         format slot 18 of player with white stained glass named " " to be unstealable
  27.                         format slot 19 of player with white stained glass named " " to be unstealable
  28.                         format slot 20 of player with white stained glass named " " to be unstealable
  29.                         format slot 21 of player with white stained glass named " " to be unstealable
  30.                         format slot 22 of player with white stained glass named " " to be unstealable
  31.                         format slot 23 of player with white stained glass named " " to be unstealable
  32.                         format slot 24 of player with white stained glass named " " to be unstealable
  33.                         format slot 25 of player with white stained glass named " " to be unstealable
  34.                         format slot 26 of player with white stained glass named " " to be unstealable
  35.                 if arg 1 is "on":
  36.                         set {doublejump.%player%} to true
  37.                         send "&cDoubleJump> &6Mode double saut activé."
  38.                         set player's flight state to true
  39.                 if arg 1 is "off":
  40.                         delete {doublejump.%player%}
  41.                         send "&cDoubleJump> &6Mode double saut désactivé."
  42.                         set player's flight state to false
  43.                 if arg 1 is "help" or "info" or "?":
  44.                         send "&c----&7[&2Help DoubleJump&7]&c----"
  45.                         send "&7- &6/doublejump &7(Ouvre le menu doublejump)"
  46.                         send "&7- &6/doublejump on &7(Active le mode doublejump)"
  47.                         send "&7- &6/doublejump off &7(Désactive le mode doublejump)"
  48.                         send "&c----------------"
  49.      
  50. on flight toggle:
  51.         player's gamemode is not creative
  52.         if {doublejump.%player%} is set:
  53.                 cancel event
  54.                 if {canjump.%player%} is not set:
  55.                         set {canjump.%player%} to false
  56.                         push player upwards at speed 1
  57.                         push player forwards at speed 1
  58.                         execute console command "/playsound mob.cat.meow @a %x-coordinate of player's location% %y-coordinate of player's location% %z-coordinate of player's location% 1 1 1"
  59.  
  60.                         wait 2 seconds
  61.                         delete {canjump.%player%}
  62.                 else:
  63.                         send "&cDoubleJump> &6Merci de patienter 2 secondes entre chaque double saut."
  64.  
  65. on damage of player:
  66.         if {canjump.%victim%} is false:
  67.                 cancel event
  68.  
  69. on quit:
  70.         delete {doublejump.%player%}
Edited by crashyq

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.