Hafixie93

Walker 000

Dec 10th, 2020
327
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Robots 0.82 KB | None | 0 0
  1. ##### WALKER #####
  2. # SCRIPTINFLUFFY #
  3. # VERSION 0.1    #
  4.  
  5. command /ewalker <item>:
  6.     aliases: /ew, /walkere
  7.     trigger:
  8.         if {walker.enable.%player%} is 0:
  9.             message "Enabling Walker!"
  10.             wait 1 real second
  11.             message "Walker Enabled!"
  12.             set {walker.enable.%player%} to 1
  13.             set {walker.block.%player%} to arg 1
  14.         else:
  15.             message "Walker is already enabled!"
  16.            
  17. command /dwalker:
  18.     aliases: /dw, /walkerd
  19.     trigger:
  20.         if {walker.enable.%player%} is 1:
  21.             message "Disabling Walker!"
  22.             wait 1 real second
  23.             message "Walker Disabled!"
  24.             set {walker.enable.%player%} to 0
  25.         else:
  26.             message "Walker is already disabled!"
  27.            
  28. on any movement:
  29.     if {walker.enable.%player%} is 1:
  30.         if block below player is not air:
  31.             set block below player to {walker.block.%player%}
  32.     if {walker.enable.%player%} is 0:
  33.         stop
Add Comment
Please, Sign In to add comment