on script load:
register new shaped recipe for Dragon Egg of infinity 1 named "&c&lPUSZKA PANDORY" with lore "&7Wiecej informacji pod ||&c/drop" using obsidian, obsidian, obsidian, obsidian, ender pearl, obsidian, obsidian, obsidian, obsidian
on place 122:
if {pandora} is true:
set block to air
send "&8[&c&lPANDORA&8] &7Otworzyles puszke Pandory!"
chance of 50%:
send "&c&lTRAFILES NA: &7Obsydian &8(&c64 szt.&8)"
drop 64 obsidian
chance of 75%:
send "&c&lTRAFILES NA: &4ZOMBIACZKI!"
spawn 1 zombie at block
give diamond chestplate of Protection 4 to last spawned zombie's chestplate
give diamond leggings of Protection 4 to last spawned zombie's leggings
give diamond helmet of Protection 4 to last spawned zombie's helmet
give diamond boots of Protection 4 to last spawned zombie's boots
set the displayname of last spawned zombie to "&4Zombiaczek Zaglady"
strike lighting effect at block
wait 1 second
spawn 1 zombie at block
give diamond chestplate of Protection 4 to last spawned zombie's chestplate
give diamond leggings of Protection 4 to last spawned zombie's leggings
give diamond helmet of Protection 4 to last spawned zombie's helmet
give diamond boots of Protection 4 to last spawned zombie's boots
set the displayname of last spawned zombie to "&4Zombiaczek Zaglady"
strike lighting effect at block
wait 1 second
spawn 1 zombie at block
set the displayname of last spawned zombie to "&4Zombiaczek Zaglady"
strike lighting effect at block
give diamond chestplate of Protection 4 to last spawned zombie's chestplate
give diamond leggings of Protection 4 to last spawned zombie's leggings
give diamond helmet of Protection 4 to last spawned zombie's helmet
give diamond boots of Protection 4 to last spawned zombie's boots
chance of 35%:
loop block in radius 2:
loop-blocks is not bedrock or obsidian or air:
set loop-blocks to lava
chance of 0.001%:
drop 1 beacon named "&9&lBEACON" with lore "&7Postawienie skutkuje: || &7wyswietleniem koordynatow||&7na chacie"
send "&9&lTRAFILES NA BEACONA!!! HYPE HYPE HYPE"
chance of 20%:
drop 8 ender pearl
send "&c&lTRAFILES NA: &7Ender pearly &8(&c8 szt. &8)"
chance of 7%:
drop 2 322:122
send "&c&lTRAFILES NA: &7Enchantowane jablko &8(&c2 szt. &8)"
chance of 3%:
drop 1 122
send "&c&lTRAFILES NA: &7Puszke pandory &8(&c1 szt. &8)"
chance of 2%:
send "&c&lTRAFILES NA: &7Puszke pandory &8(&c2 szt. &8)"
command /pandoraadmin [<text>];
permission: v0p.cmd.pandora
permission message: &c&lBLAD: &7Brak Uprawnien &8(&cv0p.cmd.pandora&8)
trigger:
if arg 1 is "on":
set {pandora} to true
if arg 1 is "off":
set {pandora} to false
if arg 1 is "all"
loop all players:
give all loop-player 1 122
broadcast "&8[&c&lPANDORA&8] &7caly serwer otrzymal &cPUSZKE PANDORY"
Errory:
1:37:03 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 27: give diamond boots of Protection 4 to last spawned zombie's boots')
[21:37:03 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 35: give diamond leggings of Protection 4 to last spawned zombie's leggings')
[21:37:03 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 36: give diamond helmet of Protection 4 to last spawned zombie's helmet')
[21:37:03 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 37: give diamond boots of Protection 4 to last spawned zombie's boots')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 1 tab (v0pPandora.sk, line 59: permission: v0p.cmd.pandora')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 1 tab (v0pPandora.sk, line 60: permission message: &c&lBLAD: &7Brak Uprawnien &8(&cv0p.cmd.pandora&8)')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 1 tab (v0pPandora.sk, line 61: trigger:')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (v0pPandora.sk, line 62: if arg 1 is "on":')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 3 tabs (v0pPandora.sk, line 63: set {pandora} to true')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (v0pPandora.sk, line 64: if arg 1 is "off":')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 3 tabs (v0pPandora.sk, line 65: set {pandora} to false')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (v0pPandora.sk, line 66: if arg 1 is "all"')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 3 tabs (v0pPandora.sk, line 67: loop all players:')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 4 tabs (v0pPandora.sk, line 68: give all loop-player 1 122')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 4 tabs (v0pPandora.sk, line 69: broadcast "&8[&c&lPANDORA&8] &7caly serwer otrzymal &cPUSZKE PANDORY"')
[21:37:03 WARN]: Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please replace '122' with e.g. 'dragon egg'. (v0pPandora.sk, line 6: on place 122:')
[21:37:03 ERROR]: Can't understand this condition/effect: strike lighting effect at block (v0pPandora.sk, line 21: strike lighting effect at block')
[21:37:04 ERROR]: Can't understand this condition/effect: strike lighting effect at block (v0pPandora.sk, line 29: strike lighting effect at block')
[21:37:04 ERROR]: Can't understand this condition/effect: strike lighting effect at block (v0pPandora.sk, line 33: strike lighting effect at block')
[21:37:04 ERROR]: Can't understand this loop: 'loop block in radius 2' (v0pPandora.sk, line 39: loop block in radius 2:')
[21:37:04 WARN]: Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please crate an alias for '322 or '322:122'' (GOLDEN_APPLE) in aliases-english.sk or the script's aliases section and use that instead. (v0pPandora.sk, line 49: drop 2 322:122')
[21:37:04 WARN]: Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please replace '122' with e.g. 'dragon egg'. (v0pPandora.sk, line 52: drop 1 122')
[21:37:04 ERROR]: invalid line - all code has to be put into triggers (v0pPandora.sk, line 58: command /pandoraadmin [<text>];')
Pytanie
Kurzin 3
Errory:
1:37:03 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 27: give diamond boots of Protection 4 to last spawned zombie's boots')
[21:37:03 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 35: give diamond leggings of Protection 4 to last spawned zombie's leggings')
[21:37:03 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 36: give diamond helmet of Protection 4 to last spawned zombie's helmet')
[21:37:03 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 37: give diamond boots of Protection 4 to last spawned zombie's boots')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 1 tab (v0pPandora.sk, line 59: permission: v0p.cmd.pandora')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 1 tab (v0pPandora.sk, line 60: permission message: &c&lBLAD: &7Brak Uprawnien &8(&cv0p.cmd.pandora&8)')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 1 tab (v0pPandora.sk, line 61: trigger:')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (v0pPandora.sk, line 62: if arg 1 is "on":')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 3 tabs (v0pPandora.sk, line 63: set {pandora} to true')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (v0pPandora.sk, line 64: if arg 1 is "off":')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 3 tabs (v0pPandora.sk, line 65: set {pandora} to false')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (v0pPandora.sk, line 66: if arg 1 is "all"')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 3 tabs (v0pPandora.sk, line 67: loop all players:')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 4 tabs (v0pPandora.sk, line 68: give all loop-player 1 122')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 4 tabs (v0pPandora.sk, line 69: broadcast "&8[&c&lPANDORA&8] &7caly serwer otrzymal &cPUSZKE PANDORY"')
[21:37:03 WARN]: Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please replace '122' with e.g. 'dragon egg'. (v0pPandora.sk, line 6: on place 122:')
[21:37:03 ERROR]: Can't understand this condition/effect: strike lighting effect at block (v0pPandora.sk, line 21: strike lighting effect at block')
[21:37:04 ERROR]: Can't understand this condition/effect: strike lighting effect at block (v0pPandora.sk, line 29: strike lighting effect at block')
[21:37:04 ERROR]: Can't understand this condition/effect: strike lighting effect at block (v0pPandora.sk, line 33: strike lighting effect at block')
[21:37:04 ERROR]: Can't understand this loop: 'loop block in radius 2' (v0pPandora.sk, line 39: loop block in radius 2:')
[21:37:04 WARN]: Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please crate an alias for '322 or '322:122'' (GOLDEN_APPLE) in aliases-english.sk or the script's aliases section and use that instead. (v0pPandora.sk, line 49: drop 2 322:122')
[21:37:04 WARN]: Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please replace '122' with e.g. 'dragon egg'. (v0pPandora.sk, line 52: drop 1 122')
[21:37:04 ERROR]: invalid line - all code has to be put into triggers (v0pPandora.sk, line 58: command /pandoraadmin [<text>];')
a dobrze wytabowane itd jest
Odnośnik do komentarza
https://skript.pl/temat/11963-help/Udostępnij na innych stronach
5 odpowiedzi na to pytanie
Rekomendowane odpowiedzi