Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[skrypt] skrypt na case (premium case) 1.8.8


vNaskes

Rekomendowane odpowiedzi

Opublikowano

Czesc chcial bym przedstawic wam skrypt na case aby dac case trzeba pisac command 

https://pastebin.com/QJCWbdRB

 

command /dajcase [<offlineplayer>] [<integer>] [<text>]:
    aliases: premiumcase, casee
    trigger:
        player has permission "goldpvp.case":
            arg 2 is not set:
                send " &8� &7Poprawne uzycie: &6/dajcase <nick/all> <ilosc>"
                stop
            arg 1 is "all":
                loop all players:
                    loop-player can hold arg 2 of chest named "&8[&9&lPremiumCase&8]":
                        give loop-player arg 2 of chest named "&8[&9&lPremiumCase&8]"
                    else:
                        drop arg 2 of chest named "&8[&9&lPremiumCase&8]" at loop-player
                send players title "&8* &2&lVEG&f&lHC&7&l.PL &8*" with subtitle "» &7Kazdy otrzymal &9&lPREMIUMCASE"
                stop
            arg 1 is not online:
                send "&cPodany gracz jest offline"
                send player title "&8* &2&lVEG&f&lHC&7&l.PL &8*" with subtitle "» &7Podany gracz jest &coffline"
                stop
            set {_n} to arg 1's name
            loop all players:
                loop-player's name is "%{_n}%":
                    set {_p} to loop-player
            send "&7Dales&f %arg 1% %arg 2%x &9&lPremiumCase"
            send player title "&8* &2&lVE&f&lHC&7&l.PL &8*" with subtitle "» &7Dales &9&lPremiumCase"
            send " &8� &7Otrzymales: &f%arg 2%x &l" to {_p}
            send players title "&8* &2&lVEG&f&lHC&7&l.PL &8*" with subtitle "» &7Otrzymales &9&lPremiumCase"
            arg 1 can hold arg 2 of chest named "&8[&9&lPremiumCase&8]":
                give arg 2 of chest named "&8[&9&lPremiumCase&8]" to {_p}
            else:
                drop arg 2 of chest named "&8[&9&lPremiumCase&8]" at {_p}
            stop
        send "&8� &cNie masz dostepu do tej komendy! &7(veghc.case)"
        stop
on place:
    block under event-block is end stone:
        stop
    block is not chest:
        stop
    player's tool is not chest named "&8[&9&lPremiumCase&8]":
        player's tool is not chest named "&9&lPrrrr":
            stop
    set event-block to air
    set {_i} to 0
    send "" to all players
    send "&8� &7Gracz &f%player% &7otworzyl &9&lPremiumCase" to all players
    send "" to all players
    send "&8� &7Wylosowane itemy:" to all players
    chance of 25%:
        drop diamond helmet of protection 4 and unbreaking 3 at event-block
        drop diamond chestplate of protection 4 and unbreaking 3 at event-block
        drop diamond leggings of protection 4 and unbreaking 3 at event-block
        drop diamond boots of protection 4 and unbreaking 3 at event-block
        send "&8� &a&oSet 4/3" to all players
        add 1 to {_i}
    chance of 5%:
        drop 373:16425 at event-block
        drop 373:16425 at event-block
        drop 373:16418 at event-block
        drop 373:16418 at event-block
        send "&8� &a&oPotki" to all players
        add 1 to {_i}
    chance of 15%:
        drop diamond leggings of protection 4 and unbreaking 3 at event-block
        send "&8� &a&oSpodnie 4/3" to all players
        add 1 to {_i}
    chance of 15%:
        drop diamond boots of protection 4 and unbreaking 3 at event-block
        send "&8� &a&oButy 4/3" to all players
        add 1 to {_i}
    chance of 20%:
        drop 64 emerald at event-block
        send "&8� &a&oEmeraldy x64" to all players
        add 1 to {_i}
    chance of 20%:
        drop 64 gold block at event-block
        send "&8� &a&oBloki zlota x64" to all players
        add 1 to {_i}
    chance of 20%:
        drop 64 emerald at event-block
        send "&8� &a&oEmeraldy x64" to all players
        add 1 to {_i}
    chance of 40%:
        drop diamond pickaxe of efficiency 6, fortune 3 and unbreaking 3 at event-block
        send "&8� &a&oKilof 6/3/3" to all players
        add 1 to {_i}
    chance of 60%:
        drop diamond sword of sharpness 5 and fire aspect 2 at event-block
        send "&8� &a&oMiecz 5/2" to all players
        add 1 to {_i}
    chance of 0.001%:
        add 1 to {_i}
    chance of 50%:
        drop 64 emerald block at event-block
        send "&8� &a&oBloki emeraldu x64" to all players
        add 1 to {_i}
    chance of 50%:
        drop 64 tnt at event-block
        send "&8� &a&oTnt x64" to all players
        add 1 to {_i}
    chance of 30%:
        drop 16 ender pearl at event-block
        send "&8� &a&oPerly x16" to all players
        add 1 to {_i}
    chance of 1%:
        drop beacon at event-block
        send "&8� &a&l&oBEACON!!!" to all players
        add 1 to {_i}
    if {_i} is 0:
    send "" to all players
    launch ball firework colored blue at event-block timed 0.5
    launch flickering ball firework colored pink at event-block timed 0.5
    launch ball firework colored blue at event-block timed 0.5
    launch flickering ball firework colored pink at event-block timed 0.5

to jest skrypt

 

POMOGLEM? ZAZNACZ SERDUSZKO OBOK POSTU POMAGAM W MINECRAFT I DISCORD
Pytania? napisz ponownie. W temacie lub na pv. Zajmuje sie pomoca w skryptach minecraft oraz niektore pluginy. Zarzadzanie serwerem. Pisze wlasne skrypty. 

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...