Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Skrypt by MrPatryk07
- #Nazwa: Dzialki
- #Opis:
- #Za pomoca cmd robi dzialke 8x8x8 ale trzeba byc w odleglosci od [wczesniej ustawionego] spawnu 50kratek.
- #
- command /setspawndzialki:
- permission: dzialki.admin
- trigger:
- set {dzialki.spawn} to location of player
- send "&4Ustawiles spawn!"
- command /dzialka:
- trigger:
- if {dzialki.spawn} is set
- if distance between {dzialki.spawn} and location of player is greater than 50
- make console execute command "pex user %name of player% add worldedit.*"
- make console execute command "pex user %name of player% add worldguard.*"
- make player execute command "//pos1"
- make player execute command "//pos2"
- make player execute command "//expand 8 n"
- make player execute command "//expand 8 e"
- make player execute command "//expand 8 s"
- make player execute command "//expand 8 w"
- make player execute command "//expand vert"
- wait 1 tick
- make player execute command "rg define %player%"
- wait 1 tick
- make console execute command "pex user %name of player% remove worldguard.*"
- make console execute command "pex user %name of player% remove worldedit.*"
- else:
- send "&4Musisz byc w odleglosci 50kratek od spawnu!"
Advertisement
Add Comment
Please, Sign In to add comment