Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ------------------------------------------ #
- # ============== AUTOR / ZASADY ============ #
- # ------------------------------------------ #
- #Autorem skryptu jest KaVoGaming.
- #Nie Wolno Ci sie podszywac pod autora!
- # ------------------------------------------------ #
- # ============== Ustawienia generalne ============ #
- # ------------------------------------------------ #
- options:
- xMin: -100 #Minimalny teleport dla X
- xMax: 4000 #Maksymalny teleport dla X
- zMin: -100 #Minimalny teleport dla Z
- zMax: 4000 #Maksymalny teleport dla Z
- yMin: 70 #Minimalny teleport dla Y
- yMax: 120 #Maksymalny teleport dla Y
- world: world #Swiat w ktorym to ma byc wykonywane. (domyslnie jest world: world)
- #--------------------------------------#
- # ======== Bloki / MSG / PEX ========= #
- #--------------------------------------#
- blok1: end stone #Blok na ktorym moze byc losowy teleport
- permissions: losowe.tp #permisja dla gracza
- #--------------------------------------#
- # ======= Efekty / Sila / Czas ======= #
- #--------------------------------------#
- #Szybkosc
- efekt1: speed
- sila1: 3
- czas1: 40
- #Mdlosci
- efekt2: nausea
- sila2: 7
- czas2: 15
- #--------------------------------------#
- # =======- KOD SKRYPTU -======= #
- #--------------------------------------#
- command /ltpautor:
- trigger:
- send "&l----------&9LTP &6&lv1.0&f----------"
- send " &6Skrypt napisany dla &lMPCForum.pl &6Przez KaVoGaming"
- send " &cNie wolno ci podszywac sie pod Autora Skryptu"
- send "&l----------&9LTP &6&lv1.0&f----------"
- on rightclick on stone button:
- block behind target block is {@blok1}:
- 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}
- execute console command "/tppos %player% %{_targetx}% {@yMin} %{_targetz}%"
- apply {@efekt1} {@sila1} to the player for {@czas1} seconds
- apply {@efekt2} {@sila2} to the player for {@czas2} seconds
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement