Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- On right click:
- set {_currentloc} to location of player
- loop 10 times:
- set {_randomx} to a random integer between -5 and 5
- set {_randomy} to a random integer between -5 and 5
- set {_destx} to the block {_randomx} west of the block at {_currentloc}
- set {_desty} to the block {_randomz} north of the block at {_destx}
- strike lightning effect at {_desty}
- wait 5 tick
Advertisement
Add Comment
Please, Sign In to add comment