SHARE
TWEET

Untitled

a guest Nov 19th, 2019 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 1) In normal in-game chat type in the follow four commands:
  2.  
  3. /scoreboard objectives add Jumps minecraft.custom:minecraft.jump
  4. /scoreboard players set @a Jumps 0
  5. /scoreboard objectives add DamageTaken minecraft.custom:minecraft.damage_taken
  6. /scoreboard players set @a DamageTaken 0
  7.  
  8. 2) Place down 2 repeating command blocks next to each other, facing upwards (unconditional, always active)
  9.  
  10. 3) Place 1 chain command block on top of each repeating command block, facing upwards (conditional, always active)
  11.  
  12. 4) To prevent a loop, choose which command block 2-tall tower to be the Jumps one, the other one will be the DamageTaken one. Inside of the Jumps chain command block, put in the following command:
  13.  
  14. scoreboard players set @p[scores={Jumps=1..}] Jumps 0
  15.  
  16. For the DamageTaken chain command block, put in the following command:
  17.  
  18. /scoreboard players set @p[scores={DamageTaken=1..}] DamageTaken 0
  19.  
  20. 5) Inside of the Jumps repeating command block, put in the following command:
  21. execute as @p[scores={Jumps=1..}] run spreadplayers ~ ~ 10 15 false @a
  22.  
  23. For the DamageTaken repeating command block, put in the following command:
  24. execute as @p[scores={DamageTaken=1..}] run spreadplayers ~ ~ 10 15 false @a
  25.  
  26. 6) You're all done, try jumping or getting damaged to test.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top