Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- xMin: -1500
- xMax: 1500
- zMin: -1500
- zMax: 1500
- yMin: 70
- yMax: 255
- world: world
- blok1: sponge
- blok2: end stone
- permissions: pex.stp
- danmsg: &9Teleportacja nastapi za chwile!&c Pamietaj, ze mozesz zginac!
- infmsg: &7Zostales przeteleprtoway na %{_targetx}%, %{_targetz}%
- tag: &7[&cSTP&7]
- efekt1: speed
- sila1: 3
- czas1: 30
- efekt2: nausea
- sila2: 7
- czas2: 8
- efekt3: blindness
- sila3: 6
- czas3: 6
- on rightclick on stone button:
- block behind target block is {@blok1} or {@blok2}:
- if player has permissions "{@permissions}":
- set {_targetx} to a random integer between {@xMin} and {@xMax}
- set {_targetz} to a random integer between {@zMin} and {@zMax}
- send "{@tag} {@danmsg}" to player
- wait 2 seconds
- apply {@efekt1} {@sila1} to the player for {@czas1} seconds
- apply {@efekt2} {@sila2} to the player for {@czas2} seconds
- apply {@efekt3} {@sila3} to the player for {@czas3} seconds
- send "{@tag} {@infmsg}" to player
- execute console command "/tppos %player% %{_targetx}% {@yMin} %{_targetz}%"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement