pz_neko

Untitled

Jan 25th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. On right click:
  2. set {_currentloc} to location of player
  3. loop 10 times:
  4. set {_randomx} to a random integer between -5 and 5
  5. set {_randomy} to a random integer between -5 and 5
  6. set {_destx} to the block {_randomx} west of the block at {_currentloc}
  7. set {_desty} to the block {_randomz} north of the block at {_destx}
  8. strike lightning effect at {_desty}
  9. wait 5 tick
Advertisement
Add Comment
Please, Sign In to add comment