7mm

Skript: SASUKE

7mm
Mar 27th, 2018
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. command /push <text> <player> [<number>] [<number>]:
  2. trigger:
  3. if arg 3 is not set:
  4. set {_pushPowerLow} to 0.3
  5. else:
  6. set {_pushPowerLow} to arg 3
  7. if arg 4 is not set:
  8. set {_pushPowerHigh} to 1.5
  9. else:
  10. set {_pushPowerHigh} to arg 4
  11. set {_pushPower} to random number between {_pushPowerLow} to {_pushPowerHigh}
  12. if arg 1 is "px":
  13. push arg-2 east at speed {_pushPower}
  14. if arg 1 is "py":
  15. push arg-2 upwards at speed {_pushPower}
  16. if arg 1 is "pz":
  17. push arg-2 south at speed {_pushPower}
  18. if arg 1 is "nx":
  19. push arg-2 west at speed {_pushPower}
  20. if arg 1 is "ny":
  21. push arg-2 downwards at speed {_pushPower}
  22. if arg 1 is "nz":
  23. push arg-2 north at speed {_pushPower}
  24.  
  25. every minecraft tick:
  26. loop all players:
  27. execute console command "/scoreboard players tag %loop-player% remove rc_log_1"
  28. if {ct.rc_log_1.%loop-player%} is more than 0:
  29. remove 1 from {ct.rc_log_1.%loop-player%}
  30.  
  31. on rightclick on log:1:
  32. if {ct.rc_log_1.%player%} is not set:
  33. set {ct.rc_log_1.%player%} to 0
  34. if {ct.rc_log_1.%player%} is 0:
  35. execute console command "/scoreboard players tag %player% add rc_log_1"
  36. set {ct.rc_log_1.%player%} to 20
  37.  
  38. command /spiderwalk <player>:
  39. trigger:
  40. set {spiderwalk.use.%arg 1%} to true
  41.  
  42. every minecraft tick:
  43. loop all players:
  44. if {spiderwalk.use.%loop-player%} is true:
  45. if loop-player is sneaking:
  46. execute console command "/effect %loop-player% levitation 0 255"
  47. apply levitation 3 to loop-player for 5 ticks
  48. else:
  49. execute console command "/effect %loop-player% levitation 0 255"
  50. apply levitation 252 to loop-player for 5 ticks
  51. set {spiderwalk.use.%loop-player%} to false
Advertisement
Add Comment
Please, Sign In to add comment