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] Lucky Block


Rekomendowane odpowiedzi

Opublikowano

LUCKY BLOCK V-3

on script load:
    register new shaped recipe for sponge named "&6&lLucky Block" using cobblestone, diamond, cobblestone, diamond, gold block, diamond, cobblestone, diamond, cobblestone
on place sponge:
    name of player's tool is "&6&lLucky Block":
        set {s.%event-block%} to true
on break sponge:
    if {s.%event-block%} is true:
        play raw sound "random.levelup" at player with pitch 1 volume 5
        spawn 10 of particle fireworks Spark:1 offset by 0.5, 1, 0.5 at event-block
        set {s.%event-block%} to false
        cancel event
        set block to air
        set {lucky.%player%} to a random integer between 1 and 35
        if {lucky.%player%} is 1:
            drop 5 diamonds            
            message "&7Brawo! Znalazles &b5 Diamentow&7!"
            stop
        if {lucky.%player%} is 2:
            drop 2 sponge named "&6&lLucky Block"
            message "&7Brawo! Znalazles &6&l2 Lucky Blocki&7!"
            stop
        if {lucky.%player%} is 3:
            drop 5 emerald
            message "&7Brawo! Znalazles &25 Szmaragdow&7!"
            stop
        if {lucky.%player%} is 4:
            drop 1 enchanted golden apple
            message "&7Brawo! Znalazles &6&l1 Koxa&7!"
            stop
        if {lucky.%player%} is 5:
            drop 3 golden apple
            message "&7Brawo! Znalazles &63 Zlote jablka&7!"
            stop
        if {lucky.%player%} is 6:
            drop iron chestplate of unbreaking 3 and thorns 3 and protection 3 named "&e&lSzczesliwy Napiersnik"
            message "&7Brawo! Znalazles &e&lSzczesliwa Zbroje&7!"
            stop
        if {lucky.%player%} is 7:
            drop iron helmet of unbreaking 3 and thorns 3 and protection 3 named "&e&lSzczesliwy Helm"
            message "&7Brawo! Znalazles &e&lSzczesliwa Zbroje&7!"
            stop
        if {lucky.%player%} is 8:
            drop iron leggings of unbreaking 3 and thorns 3 and protection 3 named "&e&lSzczesliwe Spodnie"
            message "&7Brawo! Znalazles &e&lSzczesliwa Zbroje&7!"
            stop
        if {lucky.%player%} is 9:
            drop iron boots of unbreaking 3 and thorns 3 and protection 3 named "&e&lSzczesliwe Buty"
            message "&7Brawo! Znalazles &e&lSzczesliwa Zbroje&7!"
            stop
        if {lucky.%player%} is 10:
            drop stone sword of unbreaking 3 and sharpness 4 named "&e&lSzczesliwy Miecz"
            message "&7Brawo! Znalazles &e&lSzczesliwy Miecz&7!"
            stop
        if {lucky.%player%} is 11:
            poison the player for 30 seconds
            message "&7Brawo! Zostales Otruty!"
            stop
        if {lucku.%player%} is 12:
            drop 32 diamonds
            message "&6BOGACZ!"
            stop
        if {lucky.%player%} is 13:
            drop iron sword of sharpness 1 named "&cUnlucky Miecz"
            message "&7Brawo! Szczescie ci dopisuje"
            stop
        if {lucky.%player%} is 14:
            create an explosion of force 4 at the player
            message "&7BUM!"
            stop
        if {lucky.%player%} is 15:
            apply poison 2 to the player for 1 minute
            message "&7Cos sie stalo?"
            stop
        if {lucky.%player%} is 16:
            apply nausea 3 to the player for 10 seconds
            apply weakness to the player for 30 seconds
            apply blindness to the player for 10 seconds
            message "&7Ooo..."
            stop
        if {lucky.%player%} is 17:
            push the player upwards at speed 5
            message "&7..."
            stop
        if {lucky.%player%} is 18:
            strike lightning at the player
            message "&7Lubisz pioruny?"
            stop
        if {lucky.%player%} is 19:
            drop 1 diamond sword of Sharpness 3 named "&cMiecz &eMieczow"
            message "&7Cos jak excalibur... tylko gorszy"
            stop
        if {lucky.%player%} is 20:
            drop 10 diamonds
            drop 10 emeralds
            drop 10 gold ingot
            drop 10 iron ingot
            drop 10 coal
            spawn a creeper at the player's location
            message "&7Za bogactwo trzeba placic"
            stop
        if {lucky.%player%} is 21:
            drop 5 iron ingot
            message "&7Brawo! Znalazles &95 sztabek zlota&7!"
            stop
        if {lucky.%player%} is 22:
            drop 2 tnt
            message "&7Brawo! Znalazles &cTNT&7!"
            stop
        if {lucky.%player%} is 23:
            drop 10 obsidian
            message "&7Brawo! Znalazles &5Obsidian&7!"
            stop
        if {lucky.%player%} is 24:
            drop 5 gold ingot
            message "&7Brawo! Znalazles &6Zloto&7!"
            stop
        if {lucky.%player%} is 25:
            drop 1 ender pearl
            message "&7Brawo! Znalazles &5Perle endermana!"
            stop
        if {lucky.%player%} is 26:
            message "&cUnlucky Block&8>> witaj, mam dla ciebie niespodzianke"
            wait 1 second
            strike lightning at the player
            wait 1 second
            spawn a creeper at the player's location
            message "&cUnlucky Block&8>> podoba sie?"
            stop
        if {lucky.%player%} is 27:
            message "&eLucky Block&8>> witaj, mam dla ciebie niespodzianke"
            wait 1 second
            drop 10 diamonds
            drop 10 emeralds
            drop 10 gold ingots
            drop 10 iron ingots
            wait 1 second
            drop 2 sponge named "&6&lLucky Block"
            message "&eLucky Block&8>> podoba sie?"
            stop
        if {lucky.%player%} is 28:
            spawn a creeper at the event-block
            spawn a powered creeper at the event-block
            message "&7BADABUM!!!"
            stop
        if {lucky.%player%} is 29:
            spawn a 10 sheep at the event-block
            message "&7Owcze!"
            stop
        if {lucky.%player%} is 30:
            drop 1 diamond sword named "&7Zestaw &ePrzetrwania" with lore "&7Przetrwasz!"
            drop 1 diamond pickaxe named "&7Zestaw &ePrzetrwania" with lore "&7Przetrwasz!"
            drop 1 diamond axe named "&7Zestaw &ePrzetrwania" with lore "&7Przetrwasz!"
            drop 1 diamond shovel named "&7Zestaw &ePrzetrwania" with lore "&7Przetrwasz!"
            message "&7Brawo! Znalazles zestaw przetrwania!"
        if {lucky.%player%} is 31:
            drop 64 stone named "&7Zestaw &eBudowniczego" with lore "&7Zbudujesz wszystko!"
            drop 64 stone named "&7Zestaw &eBudowniczego" with lore "&7Zbudujesz wszystko!"
            drop 64 wood named "&7Zestaw &eBudowniczego" with lore "&7Zbudujesz wszystko!"
            message "&7Brawo! Znalazles zestaw przetrwania!"
        if {lucky.%player%} is 32:
            drop 1 carrot named "&7Zestaw &eFarmera" with lore "&7Zasadzisz wszystko!"
            drop 1 melon named "&7Zestaw &eFarmera" with lore "&7Zasadzisz wszystko!"
            drop 1 potato named "&7Zestaw &eFarmera" with lore "&7Zasadzisz wszystko!"
            drop 1 iron hoe named "&7Zestaw &eFarmera" with lore "&7Zasadzisz wszystko!"
            drop 1 pumpkin named "&7Zestaw &eFarmera" with lore "&7Zasadzisz wszystko!"
            drop 1 seeds named "&7Zestaw &eFarmera" with lore "&7Zasadzisz wszystko!"
            message "&7Brawo! Znalazles zestaw farmera!"
        if {lucky.%player%} is 33:
            drop 1 dirt
            spawn creeper at the player's location
            spawn zombie at the event-block
            spawn skeleton at the event-block
            message "&7Witaj!"
        if {lucky.%player%} is 34:
            drop 1 diamond sword of Sharpness 4 and KnockBack 2 named "&eExcalibur" with lore "&eOMG WTF LOL WOW"
            message "&7Brawo! Znalazles Excalibur!"
            stop
        if {lucky.%player%} is 35:
            spawn 1 creeper at the player's location
            drop 1 diamond
            message "&7Brawo!&c ..."
command /lucky [<text>]:
    trigger:
        if arg 1 is not set:
            send "&8<===&6&lLuckyPomoc&8===>"
            send "&6/lucky crafting &8<== Informacje na temat craftingu"
            send "&6/lucky autor &8<== Autor skryptu"
            send "&6/lucky wersja &8<== Wersja skryptu"
        if arg 1 is "wersja":
            send "&8Wersja skryptu:"
            send "&6Lucky for MPC - 3.0"
        if arg 1 is "autor":
            send "&8Autorem skryptu jest:"
            send "&6jemenik &8/ &6Przykładowy"
        if arg 1 is "crafting":
            wait 1 tick
            open chest with 3 rows named "&eCrafting LuckyBlocku" to player
            format slot 4 of player with 1 of cobblestone to be unstealable
            format slot 5 of player with 1 of diamond to be unstealable
            format slot 6 of player with 1 of cobblestone to be unstealable
            format slot 13 of player with 1 of diamond to be unstealable
            format slot 14 of player with 1 of gold block to be unstealable
            format slot 15 of player with 1 of diamond to be unstealable
            format slot 22 of player with 1 of cobblestone to be unstealable
            format slot 23 of player with 1 of diamond to be unstealable
            format slot 24 of player with 1 of cobblestone to be unstealable

Like?

 

Skrypt był testowany i działa poprawnie.

online.png

Opublikowano

Skrypt fajny ale jest tego już tylee. Po za tym jest też  na to plugin z tego co pamiętam :)

Sprzęt na którym pracuje :)

PŁYTA GŁÓWNA ASRock Z87 Extreme3 PROCESOR Intel CORE I5-4670K 3.4GHz KARTA GRAFICZNA Gigabyte GeForce GTX770 KARTA DŹWIĘKOWA Creative XFI Titanium HD CHŁODZENIE SilentiumPC Fortis HE1225 ZASILACZ Be Quiet! Pure Power L8-CM-630W
PAMIĘĆ RAM Kingston HyperX 2x4GB 1600MHz DDR3 DYSK SSD Plextor M5 Pro 2,5'' 128GB DYSK HDD Seagate 1 TB Barracuda ST1000DM003 NAPĘD DVD SAMSUNG S224BB OBUDOWA SilentiumPC Regnum L50 Pure Black SYSTEM OPERACYJNY Windows 7 Professional

 

 

Opublikowano

Skrypt należy do nas, sam go nam dałeś ale bezczelnie groziłeś potem nam botami i za degrada ból dupy dostałeś ;)

Wypierpapier stąd :D
Najlepsza wersje, zaraz milionerem bedziesz xD
Jeszcze kawałeczek:

 

       if arg 1 is "wersja":

            send "&8Wersja skryptu:"
            send "&6Lucky for DC - 3.0"

DC = DCraft.
A idź pan w 4 litery, napiszę autorski <3

bannergif.gif

Opublikowano

Skrypt należy do nas, sam go nam dałeś ale bezczelnie groziłeś potem nam botami i za degrada ból dupy dostałeś ;)

Wypierpapier stąd :D

Najlepsza wersje, zaraz milionerem bedziesz xD

Jeszcze kawałeczek:

DC = DCraft.

A idź pan w 4 litery, napiszę autorski <3

Sam chciałeś :)

DC - Dcraft?

Wiesz że jest MPC?

Nie trzeba było mnie obrażać, byłem właścicielem skryptu i miałem prawo go udostępnić tobie, oraz całemu światu.

Mam nadzieję że nie dostaniesz punktów karnych albo bana za ten post 8S.

 

 

Wiedziałem że mnie powyzywasz;).

Tak jak na skype i serwerze.

Co potrzebne do uruchomienia skriptu? :D

Skript

i

SkriptPlus

 

Lepiej żebyś używał także SkQuery.

online.png

  • 4 miesiące temu...

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...