ZShTapBv
Język: Skript
|
Autor: Anonimowy
variables: {Turbodropserwer} = false {Turbodrop.%player%} = false {lapis.%player%} = true {coal.%player%} = true {gold.%player%} = true {diamond.%player%} = true {tnt.%player%} = true {redstone.%player%} = true {string.%player%} = true {obsidian.%player%} = true {pearl.%player%} = true {iron.%player%} = true {apple.%player%} = true {emerald.%player%} = true {cobblestonewlaczono.%player%} = true {wykopanystone.%player%} = 0 {lvl.%player%} = 1 {potrzebadolvl.%player%} = 100 command /lapis: trigger: if {lapis.%player%} is true: set {lapis.%player%} to false else: set {lapis.%player%} to true command /coal: trigger: if {coal.%player%} is true: set {coal.%player%} to false else: set {coal.%player%} to true command /gold: trigger: if {gold.%player%} is true: set {gold.%player%} to false else: set {gold.%player%} to true command /diamond: trigger: if {diamond.%player%} is true: set {diamond.%player%} to false else: set {diamond.%player%} to true command /tnt: trigger: if {tnt.%player%} is true: set {tnt.%player%} to false else: set {tnt.%player%} to true command /redstone: trigger: if {redstone.%player%} is true: set {redstone.%player%} to false else: set {redstone.%player%} to true command /string: trigger: if {string.%player%} is true: set {string.%player%} to false else: set {string.%player%} to true command /obsidian: trigger: if {obsidian.%player%} is true: set {obsidian.%player%} to false else: set {obsidian.%player%} to true command /pearl: trigger: if {pearl.%player%} is true: set {pearl.%player%} to false else: set {pearl.%player%} to true command /iron: trigger: if {iron.%player%} is true: set {iron.%player%} to false else: set {iron.%player%} to true command /apple: trigger: if {apple.%player%} is true: set {apple.%player%} to false else: set {apple.%player%} to true command /emerald: trigger: if {emerald.%player%} is true: set {emerald.%player%} to false else: set {emerald.%player%} to true command /wlaczwszystkiedropy: trigger: set {lapis.%player%} to true set {coal.%player%} to true set {gold.%player%} to true set {diamond.%player%} to true set {tnt.%player%} to true set {redstone.%player%} to true set {string.%player%} to true set {obsidian.%player%} to true set {pearl.%player%} to true set {iron.%player%} to true set {apple.%player%} to true set {emerald.%player%} to true set {cobblestonewlaczono} to false command /wylaczwszystkiedropy: trigger: set {lapis.%player%} to false set {coal.%player%} to false set {gold.%player%} to false set {diamond.%player%} to false set {tnt.%player%} to false set {redstone.%player%} to false set {string.%player%} to false set {obsidian.%player%} to false set {pearl.%player%} to false set {iron.%player%} to false set {apple.%player%} to false set {emerald.%player%} to false set {cobblestonewlaczono} to true command /wylaczcobblea: trigger: set {cobblestonewlaczono} to false command /wlaczcobblea: trigger: set {cobblestonewlaczono} to true command /xp: trigger: send "&6Do nastepnego &2lvl &6potrzeba wykopac &1&l%{potrzebadolvl.%player%}% &7stonea&6." command /lvl: trigger: send "&6Masz lvl: &2&l%{lvl.%player%}%&6." command /turbodrop: trigger: player has permission "turbodrop.serwer": {Turbodropserwer}: set {Turbodropserwer} to false send "&5&lTurbodrop &2&ldla serwera zostal wylaczony!" to all players send players title "&5&lTurbodrop &4&lOFF!" else: set {Turbodropserwer} to true send "&5&lTurbodrop &2&ldla serwera zostal wlaczony przez: &4&l%player%!" to all players send players title "&5&lTurbodrop &2&lON!" else: send "&4&lNie masz permisji!" command /turbodropgracz <player>: trigger: player has permission "turbodrop.gracz": set {Turbodrop.%player-arg%} to true send "&6&l%player-arg% &2&lzakupil &5&lTurbodrop &6&lna &5&l12 &2&lgodzin&6&l!" to all players send player-arg title "&5&lTurbodrop &2&lON!" wait 12 hours set {Turbodrop.%player-arg%} to false else: send "&4&lNie masz permisji!" command /wylaczturbodropgracz: trigger: set {Turbodrop.%player%} to false on mine stone: {potrzebadolvl.%player%} is 0: add 1 to {lvl.%player%} send player title "&1Awans! Nowy poziom: &2&l%{lvl.%player%}%&1!" for 3 seconds set {potrzebadolvl.%player%} to (100 * {lvl.%player%}) add 1 to {wykopanystone.%player%} set {potrzebadolvl.%player%} to ({lvl.%player%}*100-{wykopanystone.%player%}) drop 50 exp #Drop emerald if {Turbodropserwer} is false: if {Turbodrop.%player%} is false: if {emerald.%player%} is true: chance of 6%: drop 1 of emerald send "&6Gratulacje! Wypadł Ci &2emerald&6!" else: if {emerald.%player%} is true: chance of 24%: drop 1 of emerald send "&6Gratulacje! Wypadł Ci &2emerald&6!" else: if {emerald.%player%} is true: chance of 24%: drop 1 of emerald send "&6Gratulacje! Wypadł Ci &2emerald&6!" #Drop apple if {Turbodropserwer} is false: if {Turbodrop.%player%} is false: if {apple.%player%} is true: chance of 1%: drop 1 of apple send "&6Gratulacje! Wypadło Ci &cjablko&6!" else: if {apple.%player%} is true: chance of 4%: drop 1 of apple send "&6Gratulacje! Wypadł Ci &cjablko&6!" else: if {apple.%player%} is true: chance of 4%: drop 1 of apple send "&6Gratulacje! Wypadł Ci &cjablko&6!" #Drop iron if {Turbodropserwer} is false: if {Turbodrop.%player%} is false: if {iron.%player%} is true: chance of 5%: drop 1 of iron ingot send "&6Gratulacje! Wypadło Ci &7zelazo&6!" else: if {iron.%player%} is true: chance of 20%: drop 1 of iron ingot send "&6Gratulacje! Wypadło Ci &7zelazo&6!" else: if {iron.%player%} is true: chance of 20%: drop 1 of iron ingot send "&6Gratulacje! Wypadło Ci &7zelazo&6!" #Drop pearl if {Turbodropserwer} is false: if {Turbodrop.%player%} is false: if {pearl.%player%} is true: chance of 5%: drop 1 of ender pearl send "&6Gratulacje! Wypadła Ci &1perla&6!" else: if {pearl.%player%} is true: chance of 20%: drop 1 of ender pearl send "&6Gratulacje! Wypadła Ci &1perla&6!" else: if {pearl.%player%} is true: chance of 20%: drop 1 of ender pearl send "&6Gratulacje! Wypadła Ci &1perla&6!" #Drop obsidian if {Turbodropserwer} is false: if {Turbodrop.%player%} is false: if {obsidian.%player%} is true: chance of 8%: drop 1 of obsidian send "&6Gratulacje! Wypadł Ci &9obsydian&6!" else: if {obsidian.%player%} is true: chance of 32%: drop 1 of obsidian send "&6Gratulacje! Wypadł Ci &9obsydian&6!" else: if {obsidian.%player%} is true: chance of 32%: drop 1 of obsidian send "&6Gratulacje! Wypadł Ci &9obsydian&6!" #Drop string if {Turbodropserwer} is false: if {Turbodrop.%player%} is false: if {string.%player%} is true: chance of 2%: drop 1 of string send "&6Gratulacje! Wypadła Ci &fnic&6!" else: if {string.%player%} is true: chance of 8%: drop 1 of string send "&6Gratulacje! Wypadła Ci &fnic&6!" else: if {string.%player%} is true: chance of 8%: drop 1 of string send "&6Gratulacje! Wypadła Ci &fnic&6!" #Drop redstone if {Turbodropserwer} is false: if {Turbodrop.%player%} is false: if {redstone.%player%} is true: chance of 12%: drop 1 of redstone send "&6Gratulacje! Wypadł Ci &4redstone&6!" else: if {redstone.%player%} is true: chance of 40%: drop 1 of redstone send "&6Gratulacje! Wypadł Ci &4redstone&6!" else: if {redstone.%player%} is true: chance of 40%: drop 1 of redstone send "&6Gratulacje! Wypadł Ci &4redstone&6!" #Drop tnt if {Turbodropserwer} is false: if {Turbodrop.%player%} is false: if {tnt.%player%} is true: chance of 2%: drop 1 of tnt send "&6Gratulacje! Wypadło Ci &4tnt&6!" else: if {tnt.%player%} is true: chance of 8%: drop 1 of tnt send "&6Gratulacje! Wypadło Ci &4tnt&6!" else: if {tnt.%player%} is true: chance of 8%: drop 1 of tnt send "&6Gratulacje! Wypadło Ci &4tnt&6!" #Drop diamond if {Turbodropserwer} is false: if {Turbodrop.%player%} is false: if {diamond.%player%} is true: chance of 6%: drop 1 of diamond send "&6Gratulacje! Wypadł Ci &9diament&6!" else: if {diamond.%player%} is true: chance of 25%: drop 1 of diamond send "&6Gratulacje! Wypadł Ci &9diament&6!" else: if {diamond.%player%} is true: chance of 25%: drop 1 of diamond send "&6Gratulacje! Wypadł Ci &9diament&6!" #Drop gold if {Turbodropserwer} is false: if {Turbodrop.%player%} is false: if {gold.%player%} is true: chance of 3%: drop 1 of gold ingot send "&6Gratulacje! Wypadła Ci &lsztabka zlota&6!" else: if {gold.%player%} is true: chance of 12%: drop 1 of gold ingot send "&6Gratulacje! Wypadła Ci &lsztabka zlota&6!" else: if {gold.%player%} is true: chance of 12%: drop 1 of gold ingot send "&6Gratulacje! Wypadła Ci sztabka zlota&6!" #Drop coal if {Turbodropserwer} is false: if {Turbodrop.%player%} is false: if {coal.%player%} is true: chance of 8%: drop 1 of coal send "&6Gratulacje! Wypadł Ci &7&lwegiel&6!" else: if {coal.%player%} is true: chance of 25%: drop 1 of coal send "&6Gratulacje! Wypadł Ci &7&lwegiel&6!" else: if {coal.%player%} is true: chance of 25%: drop 1 of coal send "&6Gratulacje! Wypadł Ci &7&lwegiel&6!" #Drop lapis if {Turbodropserwer} is false: if {Turbodrop.%player%} is false: if {lapis.%player%} is true: chance of 15%: drop 1 of lapis lazuli send "&6Gratulacje! Wypadł Ci &3lapis&6!" else: if {lapis.%player%} is true: chance of 60%: drop 1 of lapis lazuli send "&6Gratulacje! Wypadł Ci &3lapis&6!" else: if {lapis.%player%} is true: chance of 60%: drop 1 of lapis lazuli send "&6Gratulacje! Wypadł Ci &3lapis&6!" {cobblestonewlaczono}: cancel event set event-block to air command /drop: trigger: open chest with 4 rows named "&4&lCrafterzy &3&lDROP" to player {emerald.%player%} is false: format slot 0 of player with 1 of emerald named "&2&lEMERALD" with lore "&8» &7Szansa: &66%%||&8» &7Szansa &5&lTURBODROP&7: &624%%||&8» &7Drop: &4&lWYLACZONY!" to close then run [make player execute command "/emerald"] else: format slot 0 of player with 1 of emerald named "&2&lEMERALD" with lore "&8» &7Szansa: &66%%||&8» &7Szansa &5&lTURBODROP&7: &624%%||&8» &7Drop: &2&lWLACZONY!" to close then run [make player execute command "/emerald"] {apple.%player%} is false: format slot 1 of player with 1 of apple named "&c&lJABLKO" with lore "&8» &7Szansa: &61%%||&8» &7Szansa &5&lTURBODROP&7: &64%%||&8» &7Drop: &4&lWYLACZONY!" to close then run [make player execute command "/apple"] else: format slot 1 of player with 1 of apple named "&c&lJABLKO" with lore "&8» &7Szansa: &61%%||&8» &7Szansa &5&lTURBODROP&7: &64%%||&8» &7Drop: &2&lWLACZONY!" to close then run [make player execute command "/apple"] {iron.%player%} is false: format slot 2 of player with 1 of iron ingot named "&7&lIRON" with lore "&8» &7Szansa: &65%%||&8» &7Szansa &5&lTURBODROP&7: &620%%||&8» &7Drop: &4&lWYLACZONY!" to close then run [make player execute command "/iron"] else: format slot 2 of player with 1 of iron ingot named "&7&lIRON" with lore "&8» &7Szansa: &65%%||&8» &7Szansa &5&lTURBODROP&7: &620%%||&8» &7Drop: &2&lWLACZONY!" to close then run [make player execute command "/iron"] {pearl.%player%} is false: format slot 3 of player with 1 of ender pearl named "&1&lPERLA" with lore "&8» &7Szansa: &65%%||&8» &7Szansa &5&lTURBODROP&7: &620%%||&8» &7Drop: &4&lWYLACZONY!" to close then run [make player execute command "/pearl"] else: format slot 3 of player with 1 of ender pearl named "&1&lPERLA" with lore "&8» &7Szansa: &65%%||&8» &7Szansa &5&lTURBODROP&7: &620%%||&8» &7Drop: &2&lWLACZONY!" to close then run [make player execute command "/pearl"] {obsidian.%player%} is false: format slot 4 of player with 1 of obsidian named "&9&lOBSYDIAN" with lore "&8» &7Szansa: &68%%||&8» &7Szansa &5&lTURBODROP&7: &632%%||&8» &7Drop: &4&lWYLACZONY!" to close then run [make player execute command "/obsidian"] else: format slot 4 of player with 1 of obsidian named "&9&lOBSYDIAN" with lore "&8» &7Szansa: &68%%||&8» &7Szansa &5&lTURBODROP&7: &632%%||&8» &7Drop: &2&lWLACZONY!" to close then run [make player execute command "/obsidian"] {string.%player%} is false: format slot 5 of player with 1 of string named "&f&lNITKA" with lore "&8» &7Szansa: &62%%||&8» &7Szansa &5&lTURBODROP&7: &68%%||&8» &7Drop: &4&lWYLACZONY!" to close then run [make player execute command "/string"] else: format slot 5 of player with 1 of string named "&f&lNITKA" with lore "&8» &7Szansa: &62%%||&8» &7Szansa &5&lTURBODROP&7: &68%%||&8» &7Drop: &2&lWLACZONY!" to close then run [make player execute command "/string"] {redstone.%player%} is false: format slot 6 of player with 1 of redstone named "&4&lREDSTONE" with lore "&8» &7Szansa: &612%%||&8» &7Szansa &5&lTURBODROP&7: &640%%||&8» &7Drop: &4&lWYLACZONY!" to close then run [make player execute command "/redstone"] else: format slot 6 of player with 1 of redstone named "&4&lREDSTONE" with lore "&8» &7Szansa: &612%%||&8» &7Szansa &5&lTURBODROP&7: &640%%||&8» &7Drop: &2&lWLACZONY!" to close then run [make player execute command "/redstone"] {tnt.%player%} is false: format slot 7 of player with 1 of tnt named "&4&lTnT" with lore "&8» &7Szansa: &62%%||&8» &7Szansa &5&lTURBODROP&7: &68%%||&8» &7Drop: &4&lWYLACZONY!" to close then run [make player execute command "/tnt"] else: format slot 7 of player with 1 of tnt named "&4&lTnT" with lore "&8» &7Szansa: &62%%||&8» &7Szansa &5&lTURBODROP&7: &68%%||&8» &7Drop: &2&lWLACZONY!" to close then run [make player execute command "/tnt"] {diamond.%player%} is false: format slot 8 of player with 1 of diamond named "&9DIAMENT" with lore "&8» &7Szansa: &66%%||&8» &7Szansa &5&lTURBODROP&7: &625%%||&8» &7Drop: &4&lWYLACZONY!" to close then run [make player execute command "/diamond"] else: format slot 8 of player with 1 of diamond named "&9DIAMENT" with lore "&8» &7Szansa: &66%%||&8» &7Szansa &5&lTURBODROP&7: &625%%||&8» &7Drop: &2&lWLACZONY!" to close then run [make player execute command "/diamond"] {gold.%player%} is false: format slot 9 of player with 1 of gold ingot named "&6&lZLOTO" with lore "&8» &7Szansa: &63%%||&8» &7Szansa &5&lTURBODROP&7: &612%%||&8» &7Drop: &4&lWYLACZONY!" to close then run [make player execute command "/gold"] else: format slot 9 of player with 1 of gold ingot named "&6&lZLOTO" with lore "&8» &7Szansa: &63%%||&8» &7Szansa &5&lTURBODROP&7: &612%%||&8» &7Drop: &2&lWLACZONY!" to close then run [make player execute command "/gold"] {coal.%player%} is false: format slot 10 of player with 1 of coal named "&7&lWEGIEL" with lore "&8» &7Szansa: &68%%||&8» &7Szansa &5&lTURBODROP&7: &625%%||&8» &7Drop:&4&lWYLACZONY!" to close then run [make player execute command "/coal"] else: format slot 10 of player with 1 of coal named "&7&lWEGIEL" with lore "&8» &7Szansa: &68%%||&8» &7Szansa &5&lTURBODROP&7: &625%%||&8» &7Drop: &2&lWLACZONY!" to close then run [make player execute command "/coal"] {lapis.%player%} is false: format slot 11 of player with 1 of lapis lazuli named "&3&lLAPIS" with lore "&8» &7Szansa: &615%%||&8» &7Szansa &5&lTURBODROP&7: &660%%||&8» &7Drop: &4&lWYLACZONY!" to close then run [make player execute command "/lapis"] else: format slot 11 of player with 1 of lapis lazuli named "&3&lLAPIS" with lore "&8» &7Szansa: &615%%||&8» &7Szansa &5&lTURBODROP&7: &660%%||&8» &7Drop: &2&lWLACZONY!" to close then run [make player execute command "/lapis"] format slot 27 of player with 1 of green wool named "&2&lWLACZ WSZYSTKIE DROPY!" to close then run [make player execute command "/wlaczwszystkiedropy"] format slot 28 of player with 1 of red wool named "&4&lWYLACZ WSZYSTKIE DROPY!" to close then run [make player execute command "/wylaczwszystkiedropy"] {cobblestonewlaczono} is true: format slot 35 of player with 1 of cobblestone named "&4&lWYLACZONO &7&lDROP COBBLEA" to close then run [make player execute command "/wylaczcobblea"] else: format slot 35 of player with 1 of cobblestone named "&2&lWLACZONO &7&lDROP COBBLEA" to close then run [make player execute command "/wlaczcobblea"] format slot 34 of player with 1 of golden pickaxe named "&7&lWykopano: &6%{wykopanystone.%player%}% &7&lstonea." to close {Turbodrop.%player%}: format slot 33 of player with 1 of book named "&5&lTURBODROP &6DLA &7&lGRACZA &2&lWLACZONY!" to close else: format slot 33 of player with 1 of book named "&5&lTURBODROP &6DLA &7&lGRACZA &4&lWYLACZONY!" to close {Turbodropserwer}: format slot 32 of player with 1 of paper named "&5&lTURBODROP &6DLA &3&lSERWERA &2&lWLACZONY!" to close else: format slot 32 of player with 1 of paper named "&5&lTURBODROP &6DLA &3&lSERWERA &4&lWYLACZONY!" to close format slot 29 of player with 1 of diamond pickaxe named "&2&lPOZIOM: %{lvl.%player%}%" to close