Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on place of stone:
- if player is in the world "{@world}":
- if player is holding a stone named "&4&lLille plotmine":
- loop blocks in radius 7 around the target block:
- if player can build at loop-block:
- cancel event
- make console execute command "/manuaddp %player% worldedit.*"
- wait 0.1 second
- set {pos2.x.%player%} to rounded down x coordinate of event-block
- set {pos2.y.%player%} to rounded down y coordinate of event-block
- set {pos2.z.%player%} to rounded down z coordinate of event-block
- set {pos1.x.%player%} to rounded down x coordinate of event-block
- set {pos1.y.%player%} to rounded down y coordinate of event-block
- set {pos1.z.%player%} to rounded down z coordinate of event-block
- set {pos3.x.%player%} to rounded down x coordinate of event-block
- set {pos3.y.%player%} to rounded down y coordinate of event-block
- set {pos3.z.%player%} to rounded down z coordinate of event-block
- set {pos4.x.%player%} to rounded down x coordinate of event-block
- set {pos4.y.%player%} to rounded down y coordinate of event-block
- set {pos4.z.%player%} to rounded down z coordinate of event-block
- remove 1 from {pos1.y.%player%}
- set {plotmine.location.%player%} to "x: %{pos1.x.%player%}%, y: %{pos1.y.%player%}%, z: %{pos1.z.%player%}%" parsed as a location
- if player can build at {plotmine.location.%player%}:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement