Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /sasuke1-1st-1-1 [<boolean>]:
- permission: skript.sasuke
- trigger:
- if arg 1 is true:
- set {sasuke1-1st-1-1::using} to false
- wait a tick
- if {sasuke1-1st-1-1::using} is true:
- stop
- set {sasuke1-1st-1-1::using} to true
- set {_location} to location at (4010, 5, 4008)
- set {_distance-short} to 10^8
- loop all players:
- set {_distance} to distance between loop-player and {_location}
- if {_distance-short} > {_distance}:
- set {_distance-short} to {_distance}
- set {_player} to loop-player
- if {_player} is not set:
- set {sasuke1-1st-1-1::using} to false
- stop
- apply speed 1 to {_player} for 70 ticks
- wait 50 ticks
- command "fill 4034 4 4009 4034 4 4007 redstone_block"
- wait 20 ticks
- command "fill 4034 4 4009 4034 4 4007 stained_glass 14"
- set {sasuke1-1st-1-1::using} to false
- command /sasuke1-1st-1-2:
- permission: skript.sasuke
- trigger:
- if {sasuke1-1st-1-2::using} is true:
- stop
- set {sasuke1-1st-1-2::using} to true
- wait 1 ticks
- command "setblock 4044 13 4002 water"
- wait 60 ticks
- command "setblock 4044 13 4002 air"
- wait 100 ticks
- set {sasuke1-1st-1-2::using} to false
- command /sudo <player> <text>:
- executable by: console
- trigger:
- execute arg-1 command arg-2
Add Comment
Please, Sign In to add comment