3kIHaBRG
Język: Skript
|
Autor: Anonimowy
command /editmob: permission: edit.mob trigger: set {UUID::%player%} to uuid of clicked entity give stick named "Edytor Bytu" to player send "&215 sekund i ten patyk znika&4! &6Kliknij, aby edytować otrzymać przedmiot" wait 13 seconds remove all stick named "Edytor Bytu" from player close player's inventory send "&5Item został zabrany!" on rightclick with stick: set {UUID::%player%} to uuid of clicked entity if player is holding stick: if name of player's tool is "Edytor Bytu": open chest with 3 rows named "&2&lEdytor &3&lMoba" to player format gui slot 0 of player with Rotten Flesh named "&3Edytor moba &2Zombie" to run player command "/EditZombie" with permission "*" format gui slot 1 of player with Arrow named "&3Edytor moba &7Szkielet" to run player command "/EditSzkielet" with permission "*" format slot 26 of player with Red Wool named "&4Czerwony" with a lore "Zamykam GUI." to close format slot 17 of player with Yellow Wool named "&6Żółty" to be unstealable format slot 8 of player with Green Wool named "&2Zielony" to be unstealable if clicked entity is zombie: if player's tool is Rotten Flesh: if name of player's tool is "&3Edytor &2Zombiaka": open chest with 3 rows named "&3Edytor &2Zombiaka" to player format gui slot 0 of player with feather named "&2Bezruch &3Moba" with a lore "Kliknij, aby dać brak ruchu temu bytu" to run player command "/data merge entity %{UUID::%player%}% {NoAI:1b}" with permission "*" format gui slot 13 of player with Nether Star named "&6Nieśmiertelność &3moba" with a lore "Kliknij, aby dać nieśmiertelność temu bytowi" to run player command "/data merge entity %{UUID::%player%}% {Invulnerable:1}" with permission "*" format gui slot 5 of player with Egg named "&2Wyciszenie &3moba" with a lore "Kliknij, aby wyłączyć dźwięk dla tego bytu" to run player command "/data merge entity %{UUID::%player%}% {Silent:1}" with permission "*" format gui slot 6 of player with Armor Stand named "&0Grawitacja &3moba" with a lore "Kliknij, aby wyłączyć grawitację dla tego bytu" to run player command "/data merge entity %{UUID::%player%}% {NoGravity:1b}" with permission "*" format gui slot 7 of player with Armor Stand named "&7Ubiór &3Moba" with a lore "Kliknij, aby edytować ubiór tego potwora" format gui slot 11 of player with glowstone dust named "&6Oświecony" with a lore "Kliknij, aby oświetlić ten byt" to run player command "/data merge entity %{UUID::%player%}% {Glowing:1}" with permission "*" if clicked entity is Skeleton: if player's tool is arrow: if name of player's tool is "&3Edytor &7Szkieleta": set {UUID::%player%} to uuid of clicked entity open chest with 3 rows named "&3Edytor &7Szkieleta" to player format gui slot 4 of player with feather named "&2Bezruch &3Moba" with a lore "Kliknij, aby dać brak ruchu temu bytu" to run player command "/data merge entity %{UUID::%player%}% {NoAI:1b}" with permission "*" format gui slot 5 of player with Egg named "&2Wyciszenie &3Moba" with a lore "Kliknij, aby wyłączyć dźwięk dla tego bytu" to run player command "/data merge entity %{UUID::%player%}% {Silent:1}" with permission "*" format gui slot 6 of player with Armor Stand named "&0Grawitacja &3moba" with a lore "Kliknij, aby wyłączyć grawitację dla tego bytu" to run player command "/data merge entity %{UUID::%player%}% {NoGravity:1b}" with permission "*" format gui slot 12 of player with glowstone dust named "&6Oświecony" with a lore "Kliknij, aby oświetlić ten byt" to run player command "/data merge entity %{UUID::%player%}% {Glowing:1}" with permission "*" format gui slot 13 of player with carved pumpkin named "&7Ubiór &3Moba" with a lore "Kliknij, aby edytować ubiór tego potwora" to run player command "/OtworzGUI" with permission "*" if clicked entity is Wither Skeleton: if player's tool is Coal: if name of player's tool is "&3Edytor &8Wither &7Szkieleta": set {UUID::%player%} to uuid of clicked entity open chest with 3 rows named "&8Wither &7Szkielet" to player format gui slot 0 of player with feather named "&2Bezruch &3Moba" with a lore "Kliknij, aby dać brak ruchu temu bytu" to run player command "/data merge entity %{UUID::%player%}% {NoAI:1b}" with permission "*" format gui slot 26 of player with Nether Star named "&6Nieśmiertelność &3moba" with a lore "Kliknij, aby dać nieśmiertelność temu bytowi" to run player command "/data merge entity %{UUID::%player%}% {Invulnerable:1}" with permission "*" format gui slot 5 of player with Egg named "&2Wyciszenie &3moba" with a lore "Kliknij, aby wyłączyć dźwięk dla tego bytu" to run player command "/data merge entity %{UUID::%player%}% {Silent:1}" with permission "*" format gui slot 6 of player with Armor Stand named "&0Grawitacja &3moba" with a lore "Kliknij, aby wyłączyć grawitację dla tego bytu" to run player command "/data merge entity %{UUID::%player%}% {NoGravity:1b}" with permission "*" format gui slot 7 of player with carved pumpkin named "&7Ubiór &3Moba" with a lore "Kliknij, aby edytować ubiór tego potwora" to close then run player command "/OtworzGUI" format gui slot 8 of player with glowstone dust named "&6Oświecony" with a lore "Kliknij, aby oświetlić ten byt" to run player command "/data merge entity %{UUID::%player%}% {Glowing:1}" with permission "*" command /EditZombie [<text>]: usage: /EditZombie <value 1-64> permission: edit.zombie trigger: give Rotten Flesh of sharpness named "&3Edytor &2Zombiaka" with a lore "&6Kliknij &1na &2Zombiaka,&7aby edytować go &7w GUI" to player command /EditSzkielet: permission: edit.szkielet trigger: give arrow named "&3Edytor &7Szkieleta" with a lore " &7Kliknij prawy przycisk myszy na Szkieleta, aby edytować go w GUI" to player command /OtworzGUI: permission: otworz.gui trigger: open chest with 1 rows named "Ubiór Potwora" to player format gui slot 0 of player with Leather Helmet named "&1Głowa" with a lore "Kliknij, aby edytować głowę tego bytu" to run player command "/UbiorGlowy" with permission "*" format gui slot 1 of player with Leather Chestplate named "&4Tułów" with a lore "Kliknij, aby edytować tułów tego bytu" to run player command "/UbiorTulowia" with permission "*" format gui slot 2 of player with Leather leggings named "&bSpodnie" with a lore "Kliknij, aby edytować spodnie tego bytu" to run player command "/ubiorspodni" with permission "*" format gui slot 3 of player with Leather boots named "&cButy" with a lore "Kliknij, aby edytować buty tego bytu" to run player command "/Ubiorbutow" with permission "*" format gui slot 4 of player with Diamond Sword named "&3Miecz" with a lore "Kliknij, aby edytować Miecz tego bytu" to run player command "/MieczMoba" with permission "*" on inventory click: if inventory name of player's current inventory is "&3Edytor &2Zombiaka": if clicked slot is 0: if "%click type%" contains "RIGHT": execute player command "/data merge entity %{UUID::%player%}% {NoAI:0}" #send "&4Wyłączono bezruch dla tego bytu." if inventory name of player's current inventory is "&3Edytor &2Zombiaka": if clicked slot is 13: if "%click type%" contains "RIGHT": execute player command "/data merge entity %{UUID::%player%}% {Invulnerable:0}" #send "&2Wyłączono nieśmiertelność dla tego bytu." if inventory name of player's current inventory is "&3Edytor &2Zombiaka": if clicked slot is 6: if "%click type%" contains "RIGHT": execute player command "/data merge entity %{UUID::%player%}% {NoGravity:0}" #send "&4Włączono przyciąganie &2Ziemskie &4dla tego bytu." to player if inventory name of player's current inventory is "&3Edytor &2Zombiaka": if clicked slot is 5: if "%click type%" contains "RIGHT": execute player command "/data merge entity %{UUID::%player%}% {Silent:0}" #send "&2Włączono dźwięk dla tego bytu." to player if inventory name of player's current inventory is "&3Edytor &2Zombiaka": if clicked slot is 7: execute player command "/OtworzGUI" if inventory name of player's current inventory is "&3Edytor &2Zombiaka": if clicked slot is 11: if "%click type%" contains "RIGHT": execute player command "/data merge entity %{UUID::%player%}% {Glowing:0}" # ######## ### #### ### ########## ### # ### ## ### #### ### ########## ### # ### ### #### ### ### # ### ### ### ### ### ### # ###zkielet xd zbyt trudne do napisania -_- ###### ### ########## ### # ### ### ### ### ### ### # ### ### #### ### ### ### # ### ### #### ### ########## ### # ## ### ### #### ### ########## ############# # ####### if inventory name of player's current inventory is "&3Edytor &7Szkieleta": if clicked slot is 4: if "%click type%" contains "RIGHT": execute player command "/data merge entity %{UUID::%player%}% {NoAI:0}" if inventory name of player's current inventory is "&3Edytor &7Szkieleta": if clicked slot is 6: if "%click type%" contains "RIGHT": execute player command "/data merge entity %{UUID::%player%}% {NoGravity:0}" if inventory name of player's current inventory is "&3Edytor &7Szkieleta": if clicked slot is 5: if "%click type%" contains "RIGHT": execute player command "/data merge entity %{UUID::%player%}% {Silent:0}" if inventory name of player's current inventory is "&3Edytor &7Szkieleta": if clicked slot is 12: if "%click type%" contains "RIGHT": execute player command "/data merge entity %{UUID::%player%}% {Glowing:0}" if inventory name of player's current inventory is "&8Wither &7Szkielet": if clicked slot is 0: if "%click type%" contains "RIGHT": execute player command "/data merge entity %{UUID::%player%}% {NoAI:0}" if inventory name of player's current inventory is "&8Wither &7Szkielet": if clicked slot is 26: if "%click type%" contains "RIGHT": execute player command "/data merge entity %{UUID::%player%}% {Invulnerable:0}" if inventory name of player's current inventory is "&8Wither &7Szkielet": if clicked slot is 6: if "%click type%" contains "RIGHT": execute player command "/data merge entity %{UUID::%player%}% {NoGravity:0}" if inventory name of player's current inventory is "&8Wither &7Szkielet": if clicked slot is 5: if "%click type%" contains "RIGHT": execute player command "/data merge entity %{UUID::%player%}% {Silent:0}" if inventory name of player's current inventory is "&8Wither &7Szkielet": if clicked slot is 7: execute player command "/OtworzGUI" if inventory name of player's current inventory is "&8Wither &7Szkielet": if clicked slot is 8: if "%click type%" contains "RIGHT": execute player command "/data merge entity %{UUID::%player%}% {Glowing:0}" command /EditWitherSzkielet: permission: edit.witherszkielet trigger: give coal of sharpness named "&3Edytor &8Wither &7Szkieleta" with a lore "&6Kliknij &1na &8Wither &7Szkieleta,&7aby edytować go &7w GUI" to player