Imbirek No

stwórz mi skrypt do minecraft: komenda /jebaćkurwy: daje ci 5 itemów item 1 Nazwa: &4pała kurwy item: płomienna różdzka umiejetnosc: ppm daje losowemu graczowi glowing na 3 sekundy oprócz graczowi który uzywa tego itemu. cooldown: 3 minuty

item 2 Nazwa: &6pizda item: slime umiejetnosc: ppm daje tobie efekt speed 2 na 10 sekund cooldown: 2 minuty

item 3 Nazwa: &5lewe jądro item: jajko umiejetnosc: ppm daje ci niewidzialnosc na 10 sekund cooldown: 2 minuty

item 4 Nazwa: &7eliksir frajera item: oddech smoka umiejetnosc: ppm teleportuje cie w losowe miejsce zaznaczone frajerską siekierą cooldown: 4 minuty

/frajerskasiekiera: daje ci siekiere którą zaznaczasz pole tak jak wandem z worldedita i jak je zaznaczysz to wpisujesz komende /frajerskasiekiera gotowe: i jak usyjesz eliksiru frajera to cie z teleportuje w losowe miejsce w polu na które zaznaczyles.

item 5 Nazwa: &#6B3D00&oG&oO&oW&oN&oO item: brązowe jajko umiejetnosc: ppm daje ci ścieżke z particli do najbliższego gracza na 5 sekund cooldown: 3 minuty

item 6 Nazwa: &esiki menela item: śniezka umiejetnosc: ppm rzucasz tym i na 2 sekundy gracz trafiony nie moze sie ruszac cooldown: bez cooldownu bo item jest jednorazowy i znika po uzyciu

kazdy item ma miec enchant niezniszczalnosc 1 i miec action bar z cooldownem

Kodari AI
KodariOct 14 at 2:08 pm 1
VulgarItemsPlugin
Creates a Minecraft Skript plugin with a /jebaćkurwy command granting 6 custom items with unique right-click abilities. Items include a flame rod giving random players glowing, slime granting speed, egg providing invisibility, dragon breath teleporting to a marked area, brown egg showing particle trails to nearest player, and snowball freezing targets. Includes /frajerskasiekiera command for marking teleport zones with a WorldEdit-style axe, cooldowns displayed in action bar, and unbreaking enchantment on all items.

Uwzględniłem wszystkie 6 przedmiotów z listy. Skrypt korzysta z podstawowego Skript; dla koloru HEX w nazwie „GOWNO” użyj Skript 2.8 lub nowszego.

Zapisz plik jako plugins/Skript/scripts/frajerskie_itemy.sk, a potem wykonaj /sk reload frajerskie_itemy. Eliksir teleportuje nad losowy blok w zaznaczonym obszarze; śnieżka znika przy rzuceniu, a trafionego gracza unieruchamia na 2 sekundy.

Kodari can make mistakes. Review important code before using.
Files
frajerskie_itemy.sk
Code
1 245
frajerskie_itemy.sk
options:
    prefix: &8[&cFrajerskie itemy&8]&r

command /jebaćkurwy:
    trigger:
        set {_rod} to blaze rod named "&4pała kurwy"
        enchant {_rod} with unbreaking 1
        give player {_rod}

        set {_slime} to slime ball named "&6pizda"
        enchant {_slime} with unbreaking 1
        give player {_slime}

        set {_egg} to egg named "&5lewe jądro"
        enchant {_egg} with unbreaking 1
        give player {_egg}

        set {_breath} to dragon breath named "&7eliksir frajera"
        enchant {_breath} with unbreaking 1
        give player {_breath}

        set {_brownEgg} to egg named "&#6B3D00&oG&oO&oW&oN&oO"
        enchant {_brownEgg} with unbreaking 1
        give player {_brownEgg}

        set {_snowball} to snowball named "&esiki menela"
        enchant {_snowball} with unbreaking 1
        give player {_snowball}

        send "{@prefix} &aOtrzymujesz wszystkie 6 przedmiotów." to player

command /frajerskasiekiera [<text>]:
    trigger:
        if arg-1 is "gotowe":
            if {frajer::%uuid of player%::x1} is not set:
                send "{@prefix} &cNajpierw zaznacz pierwszy punkt lewym kliknięciem siekiery." to player
                stop
            if {frajer::%uuid of player%::x2} is not set:
                send "{@prefix} &cZaznacz drugi punkt prawym kliknięciem siekiery." to player
                stop
            if {frajer::%uuid of player%::world1} is not {frajer::%uuid of player%::world2}:
                send "{@prefix} &cPunkty muszą być w tym samym świecie." to player
                stop

            if {frajer::%uuid of player%::x1} <= {frajer::%uuid of player%::x2}:
                set {frajer::%uuid of player%::minx} to {frajer::%uuid of player%::x1}
                set {frajer::%uuid of player%::maxx} to {frajer::%uuid of player%::x2}
            else:
                set {frajer::%uuid of player%::minx} to {frajer::%uuid of player%::x2}
                set {frajer::%uuid of player%::maxx} to {frajer::%uuid of player%::x1}

            if {frajer::%uuid of player%::y1} <= {frajer::%uuid of player%::y2}:
                set {frajer::%uuid of player%::miny} to {frajer::%uuid of player%::y1}
                set {frajer::%uuid of player%::maxy} to {frajer::%uuid of player%::y2}
            else:
                set {frajer::%uuid of player%::miny} to {frajer::%uuid of player%::y2}
                set {frajer::%uuid of player%::maxy} to {frajer::%uuid of player%::y1}

            if {frajer::%uuid of player%::z1} <= {frajer::%uuid of player%::z2}:
                set {frajer::%uuid of player%::minz} to {frajer::%uuid of player%::z1}
                set {frajer::%uuid of player%::maxz} to {frajer::%uuid of player%::z2}
            else:
                set {frajer::%uuid of player%::minz} to {frajer::%uuid of player%::z2}
                set {frajer::%uuid of player%::maxz} to {frajer::%uuid of player%::z1}

            set {frajer::%uuid of player%::world} to {frajer::%uuid of player%::world1}
            set {frajer::%uuid of player%::ready} to true
            send "{@prefix} &aObszar zapisany. Eliksir będzie teleportował w jego obrębie." to player
            stop

        if arg-1 is set:
            send "{@prefix} &cUżycie: /frajerskasiekiera lub /frajerskasiekiera gotowe" to player
            stop

        give player iron axe named "&6Frajerska siekiera"
        send "{@prefix} &aLewy klik: pierwszy punkt. Prawy klik: drugi punkt. Potem wpisz &e/frajerskasiekiera gotowe&a." to player

on left click on block:
    if player's tool is iron axe:
        if name of player's tool is "&6Frajerska siekiera":
            cancel event
            set {frajer::%uuid of player%::x1} to x-coordinate of event-block
            set {frajer::%uuid of player%::y1} to y-coordinate of event-block
            set {frajer::%uuid of player%::z1} to z-coordinate of event-block
            set {frajer::%uuid of player%::world1} to world of event-block
            delete {frajer::%uuid of player%::ready}
            send action bar "&aZaznaczono pierwszy punkt" to player

on right click on block:
    if player's tool is iron axe:
        if name of player's tool is "&6Frajerska siekiera":
            cancel event
            set {frajer::%uuid of player%::x2} to x-coordinate of event-block
            set {frajer::%uuid of player%::y2} to y-coordinate of event-block
            set {frajer::%uuid of player%::z2} to z-coordinate of event-block
            set {frajer::%uuid of player%::world2} to world of event-block
            delete {frajer::%uuid of player%::ready}
            send action bar "&aZaznaczono drugi punkt" to player

on right click:
    set {_id} to ""
    set {_seconds} to 0

    if player's tool is blaze rod:
        if name of player's tool is "&4pała kurwy":
            set {_id} to "pala"
            set {_seconds} to 180

    if player's tool is slime ball:
        if name of player's tool is "&6pizda":
            set {_id} to "pizda"
            set {_seconds} to 120

    if player's tool is egg:
        if name of player's tool is "&5lewe jądro":
            set {_id} to "jadro"
            set {_seconds} to 120
        else if name of player's tool is "&#6B3D00&oG&oO&oW&oN&oO":
            set {_id} to "gowno"
            set {_seconds} to 180

    if player's tool is dragon breath:
        if name of player's tool is "&7eliksir frajera":
            set {_id} to "eliksir"
            set {_seconds} to 240

    if player's tool is snowball:
        if name of player's tool is "&esiki menela":
            set {_id} to "siki"

    if {_id} is "":
        stop

    if {_id} is not "siki":
        cancel event

    if {_id} is "siki":
        set {frajer::throwPending::%uuid of player%} to true
        send action bar "&eSiki menela: &cprzedmiot jednorazowy" to player
        stop

    if {frajer::cooldown::%uuid of player%::%{_id}%} is after now:
        set {_left} to difference between {frajer::cooldown::%uuid of player%::%{_id}%} and now
        send action bar "&cCooldown: &f%{_left}%" to player
        stop
    else:
        delete {frajer::cooldown::%uuid of player%::%{_id}%}

    if {_id} is "pala":
        delete {_targets::*}
        loop all players:
            if loop-player is not player:
                add loop-player to {_targets::*}
        if size of {_targets::*} is 0:
            send action bar "&cBrak innych graczy online" to player
            stop
        set {_target} to random element out of {_targets::*}

    if {_id} is "gowno":
        set {_nearest} to 999999
        loop all players:
            if loop-player is not player:
                if world of loop-player is world of player:
                    set {_distance} to distance between player and loop-player
                    if {_distance} < {_nearest}:
                        set {_nearest} to {_distance}
                        set {_target} to loop-player
        if {_target} is not set:
            send action bar "&cNie ma obok ciebie innego gracza" to player
            stop

    if {_id} is "eliksir":
        if {frajer::%uuid of player%::ready} is not set:
            send action bar "&cNajpierw zaznacz obszar siekierą i wpisz /frajerskasiekiera gotowe" to player
            stop
        set {_x} to random integer between {frajer::%uuid of player%::minx} and {frajer::%uuid of player%::maxx}
        set {_y} to random integer between {frajer::%uuid of player%::miny} and {frajer::%uuid of player%::maxy}
        set {_z} to random integer between {frajer::%uuid of player%::minz} and {frajer::%uuid of player%::maxz}
        set {_tx} to {_x} + 0.5
        set {_ty} to {_y} + 1
        set {_tz} to {_z} + 0.5
        set {_destination} to location at {_tx}, {_ty}, {_tz} in {frajer::%uuid of player%::world}

    set {frajer::cooldown::%uuid of player%::%{_id}%} to now + {_seconds} seconds

    if {_id} is "pala":
        apply glowing to {_target} for 3 seconds
        send action bar "&4Pała kurwy: &f%{_target}%" to player

    if {_id} is "pizda":
        apply speed 2 to player for 10 seconds

    if {_id} is "jadro":
        apply invisibility to player for 10 seconds

    if {_id} is "eliksir":
        teleport player to {_destination}

    if {_id} is "gowno":
        loop 25 times: