# # Aktualizacje: https://skript.pl/temat/49597-pogmanhunt-skrypt-na-zbiorowe-manhunty/ # Youtube: https://www.youtube.com/channel/UCyBbwYdSEpjvhacbf2I_rEw # # Nie aktualizowane od: 21.07.2023 # on any movement: if {zmienna::*} is true: cancel event if {_game} is false: loop all players: set {zmienna::%loop-player%} to false command /manhunt [] []: aliases: uciekinier, huntowany, speedrunner usage: &cPoprawne użycie: &7/manhunt [gracz] [tak/nie] trigger: if player has permission "hunts.admin": if arg 1 and arg 2 is not set: send "&cPoprawne użycie: &7/manhunt [gracz] [tak/nie]" send "&7[tak/nie]&e chodzi tutaj o to, czy speedrunner ma dostać op itemy i 10 dodatkowych serc!" else: if arg 2 is "tak": set {_game} to true execute console command "lp user %arg% permission set hunter.hunter" apply saturation 250 to arg 1 for 11 seconds apply health boost 5 to arg 1 for 5 hours give netherite sword of sharpness 5 and unbreaking 3 named "&d&l%arg 1% IDOL XD" to arg-1 give netherite chestplate of protection 4 and unbreaking named "&d&l%arg 1% IDOL XD" to arg-1 give netherite leggings of protection 4 and unbreaking named "&d&l%arg 1% IDOL XD" to arg-1 give netherite boots of protection 4 and unbreaking 3 named "&d&l%arg 1% IDOL XD" to arg-1 give netherite helmet of protection 4 and unbreaking 3 named "&d&l%arg 1% IDOL XD" to arg-1 send "&aPomyślnie nadano potrzebne przedmioty i efekty dla gracza %arg 1%" send "" to all players send "&aManhunt rozpocznie się za 2 min. Speedrunner ucieka!" to all players loop all players: if player has permission "hunts.admin" or "hunter.hunter": else: set {zmienna::%loop-player%} to true wait 2 minutes set {zmienna::%loop-player%} to false stop loop else: if arg 2 is "nie": execute console command "lp user %arg% permission set hunter.hunter" send "&aPomyślnie wystartowano manhunt. Gracz %arg 1% jest speedrunnerem!" send "" to all players send "&aManhunt rozpocznie się za 2 min. Speedrunner ucieka!" to all players loop all players: if player has permission "hunts.admin" or "hunter.hunter": else: set {zmienna::%loop-player%} to true wait 2 minutes set {zmienna::%loop-player%} to false stop loop else: send "&cBłędna komenda!" command /przerwij: permission: hunts.admin trigger: set {_game} to false execute console command "title @a title {""text"":""KONIEC GRY!"",""bold"":true,""color"":""dark_red""}" execute console command "title @a subtitle {""text"":""Gra zakończona przez: %player% "",""color"":""yellow""}" on death of player: if victim has permission "hunter.hunter": execute console command "lp user %victim% permission unset hunter.hunter" execute console command "title @a title {""text"":""KONIEC GRY!"",""bold"":true,""color"":""dark_red""}" execute console command "title @a subtitle {""text"":""wygra\u0142: %attacker% "",""color"":""yellow""}" loop 20 times: send "Gracz %attacker% wygrał!" to all players set {_game} to false on death of ender dragon: execute console command "lp user %attacker% permission unset hunter.hunter" execute console command "title @a title {""text"":""KONIEC GRY!"",""bold"":true,""color"":""dark_red""}" execute console command "title @a subtitle {""text"":""wygra\u0142: %attacker% "",""color"":""yellow""}" loop 20 times: send "Gracz %attacker% wygrał!" to all players set {_game} to false#