Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on break of sponge:
- cancel event
- set event-block to air
- chance of 10%:
- give a brown dye named "&6&lHovno" with lore "&dA poriadne smradlave, ale||&dvykaly vraj nosia stastie!||&dSkus to nabuduce &aznovu...||&7 ||&c&lMidas&7&lCraft||&5[LuckyBlock item]" to the player
- send "&8[&cMidas&7Craft&8] &7Otvoril si &eLuckyBlock &7a nasiel si tam... poriadne velke &6Hovno&7!" to player
- stop
- chance of 9%:
- give a light gray dye named "&6&lPouzity kondom" with lore "&dBohuzial, znovu pouzit by|| si ho asi nechcel.||&dSkus to nabuduce &aznovu...||&7 ||&c&lMidas&7&lCraft||&5[LuckyBlock item]" to the player
- send "&8[&cMidas&7Craft&8] &7Otvoril si &eLuckyBlock &7a nasiel si tam... pouzity &cKondom&7!" to player
- stop
- chance of 9%:
- give a poisonous potato named "&6&lZhnity zemiak" with lore "&dPrisiel si neskoro, tento|| zemiak jednoducho zhnil.||&dSkus to nabuduce &aznovu...||&7 ||&c&lMidas&7&lCraft||&5[LuckyBlock item]" to the player
- send "&8[&cMidas&7Craft&8] &7Otvoril si &eLuckyBlock &7a nasiel si tam... &bZhnity zemiak&7!" to player
- stop
- chance of 12%:
- give a coal ore to the player
- send "&8[&cMidas&7Craft&8] &7Otvoril si &eLuckyBlock &7a nasiel si tam... &9uhelnu rudu&7!" to player
- stop
- chance of 12%:
- give a emerald ore to the player
- send "&8[&cMidas&7Craft&8] &7Otvoril si &eLuckyBlock &7a nasiel si tam... &9emeraldovu rudu&7!" to player
- stop
- chance of 9%:
- give a diamond ore to the player
- send "&8[&cMidas&7Craft&8] &7Otvoril si &eLuckyBlock &7a nasiel si tam... &9diamantovu rudu&7!" to player
- stop
- chance of 6%:
- set block above the player to anvil
- send "&8[&cMidas&7Craft&8] &7Otvoril si &eLuckyBlock &7a nasiel si tam... padajucu &aKovadlinu&7!" to player
- stop
- chance of 6%:
- strike lightning at the player
- send "&8[&cMidas&7Craft&8] &7Otvoril si &eLuckyBlock &7cim si nahneval boha hromu a ten ta zasiahol &aBleskom&7!" to player
- stop
- chance of 6%:
- ignite the player for 10 seconds
- send "&8[&cMidas&7Craft&8] &7Otvoril si &eLuckyBlock &7ktory ta &6podpalil &7na 10 sekund!" to player
- stop
- chance of 6%:
- poison the player for 10 seconds
- send "&8[&cMidas&7Craft&8] &7Otvoril si &eLuckyBlock&7, ktory patril bosorke! Ta ta preto &6otravila&7 na 10 sekund!" to player
- stop
- chance of 5%:
- execute console command "crate key %player% HadesovPoklad 1"
- send "&8[&cMidas&7Craft&8] &7Otvoril si &eLuckyBlock &7a nasiel si tam &8Kluc od pokladu boha Hadesa&7! &eGratulujeme!" to player
- broadcast "&8[&cMidas&7Craft&8] &aHrac &6%player% &anasiel v &eLuckyBlocku&a kluc od pokladu! Gratulujeme!"
- stop
- chance of 4%:
- execute console command "crate key %player% ZeleznyPoklad 1"
- send "&8[&cMidas&7Craft&8] &7Otvoril si &eLuckyBlock &7a nasiel si tam &fKluc od pokladu boha Dionyza&7! &eGratulujeme!" to player
- broadcast "&8[&cMidas&7Craft&8] &aHrac &6%player% &anasiel v &eLuckyBlocku&a kluc od pokladu! Gratulujeme!"
- stop
- chance of 3%:
- execute console command "crate key %player% ZlatyPoklad 1"
- send "&8[&cMidas&7Craft&8] &7Otvoril si &eLuckyBlock &7a nasiel si tam &fZelezny kluc od pokladu&7! &eGratulujeme!" to player
- broadcast "&8[&cMidas&7Craft&8] &aHrac &6%player% &anasiel v &eLuckyBlocku&a kluc od pokladu! Gratulujeme!"
- stop
- chance of 2%:
- execute console command "crate key %player% DiamantovyPoklad 1"
- send "&8[&cMidas&7Craft&8] &7Otvoril si &eLuckyBlock &7a nasiel si tam &fZelezny kluc od pokladu&7! &eGratulujeme!" to player
- broadcast "&8[&cMidas&7Craft&8] &aHrac &6%player% &anasiel v &eLuckyBlocku&a kluc od pokladu! Gratulujeme!"
- stop
- chance of 1%:
- execute console command "crate key %player% DiovPoklad 1"
- send "&8[&cMidas&7Craft&8] &7Otvoril si &eLuckyBlock &7a nasiel si tam &fZelezny kluc od pokladu&7! &eGratulujeme!" to player
- broadcast "&8[&cMidas&7Craft&8] &aHrac &6%player% &anasiel v &eLuckyBlocku&a kluc od pokladu! Gratulujeme!"
- stop
- options:
- lb_line: &7&m+----------&r&7[ &6&lLucky&e&lBlock &7]&r&7&m----------+
- version: 1.3
- tag: &6&lLucky&e&lBlock
- on load:
- send "&6&lLucky&e&lBlock &7- &aSkript enabled&7!" to console
- loop all players:
- set {luckyblock:joinn:%loop-player%} to false
- if text from "https://pastebin.com/raw/gHeMaYZs" is not "1.3":
- wait 1.5 seconds
- send "&6&lLucky&e&lBlock &7- &aNew version available!" to console
- else:
- send "&6&lLucky&e&lBlock &7- &aYou are running the latest version" to console
- if {luckyblock::multiverseinv} is not set:
- set {luckyblock::multiverseinv} to false
- on join:
- set {_player} to player
- on skript stop:
- send "&6&lLucky&e&lBlock &7- &cSkript disabled&7!" to console
- command /luckyblock <text>:
- usage: /luckyblock help
- aliases: /lb, /luckyb, /lblock
- trigger:
- if arg 1 is not set:
- message "&fCorrect usage: /luckyblock help"
- if arg 1 is "help":
- message " "
- message "{@lb_line}"
- message " "
- message " &dPlayer Commands "
- message " "
- message "&e/luckyblock info&7: Show the skript info"
- message "&e/luckyblock help&7: Show command list"
- message "&e/luckyblock gui&7: Open luckyblock gui"
- message " "
- message "&e/luckyblock admin&7: Show admin commands."
- message "{@lb_line}"
- if arg 1 is "info":
- message " "
- message "{@lb_line}"
- message " "
- message " &dInfo Skript "
- message " "
- message "&eAuthor&7: DrackeFG"
- message "&eVersion&7: {@version}"
- message "&eDescription&7: Simple skript for using LuckyBlock"
- message "&eSpigot&7: https://goo.gl/jF6Mne"
- message ""
- message "{@lb_line}"
- if arg 1 is "admin":
- if player has permission "luckyblock.admin":
- message " "
- message "{@lb_line}"
- message " "
- message " &dAdmin Commands "
- message " "
- message "&e/luckyblock&7: Show this Message"
- message "&e/luckyblock info&7: Show the skript info"
- message "&e/luckyblock reload&7: reload the skript"
- message "&e/luckyblock version&7: Show the version of the script"
- message " "
- message "&e/luckyblock help&7 Show player commands."
- message "{@lb_line}"
- if arg 1 is "version":
- if player has permission "luckyblock.admin.version":
- message "&6&lLucky&e&lBlock &7- &aVersion&7: &r{@version}"
- if arg 1 is "gui":
- message ""
- message "{@tag} &8» &7You opened the {@tag} &4GUI"
- open chest with 1 rows named "{@tag} &7- &4GUI" to player
- wait 1 ticks
- format slot 2 of player with ("luck" parsed as offline player)'s skull named "&eSponge &cx1" with lore "&8» &cGet &ex1 {@tag}" to close then run [give a sponge named "{@tag}" to player]
- format slot 6 of player with ("luck" parsed as offline player)'s skull named "&eSponge &cx32" with lore "&8» &cGet &ex32 {@tag}" to close then run [give 32 sponge named "{@tag}" to player]
- if arg 1 is "reload":
- if player has permission "luckyblock.admin.reload":
- message "&6&lLucky&e&lBlock &7- &aSkript successfully reloaded!"
- command "/skript reload LuckyBlockPlus"
Advertisement
Add Comment
Please, Sign In to add comment