Nie rozumiem jaki błąd zawiera ten skrypt ponieważ nie działa na serwerze 1.8 (Mam Skript i SkQuery 3)
Spoiler
command /Luk:
trigger:
give 1 bow of infinity 10 and power 3 and unbreaking 10 named "&b&lLuk Zaglady" with lore "&bLuk Zaglady||&aSmiernonosny potezny luk||&6Jedna z najpotenzniejszych broni||&eRewelacjyne w walce na dystans" to player
execute console command "/give %player% 262 1 name:&bStrzala_smierci"
send " &e[&6KOCHAM WOJDUSZ!&e]"
send " &eOtrzymales: Luk Zaglady!"
stop
command /Miecz:
trigger:
give 1 diamond sword of Unbreaking 2 and fortune 2 and sharpness 3 and efficiency 2 and fire aspect 2 named "&5&l☣Miecz Dusz☣" with lore "&bMiecz dusz!||&aPotnij swoich wrogow na kawalki!||&6Jedna z najlepszych broni!||&eRewelacjyne wywazona!" to player
send " &e[&6KOCHAM WOJDUSZ!&e]"
send " &eOtrzymales: Miecz Dusz!"
command /Rog:
trigger:
give 1 light green dye of unbreaking 10 named "&e&lBoski Rog Mocy" with lore "&2Uzyj boski rog mocy!||&2Twoja druzyna otrzyma niespotykana szybkosc||&2a Twoje zycie bedzie sie regenerowac!||&2(mozesz go uzywac co 100 sek.)" to player
send " &e[&6KOCHAM WOJDUSZ!&e]"
send " &eOtrzymales: Boski Rog Mocy!"
on rightclick with light green dye:
if name of player's tool is "&e&lBoski Rog Mocy":
set {czasr} to difference between {opoznienier.%player%} and now
if {czasr} is less than 100 seconds:
send "&ePrzykro mi, ale mozesz uzyc Boski Rog Mocy dopiero za &c&l%difference between 100 seconds and {czasr}%"
execute console command "playsound mob.ghast.affectionate_scream %player%"
else:
send "&e[&6&l!&e] &b%player% &euzyl &bBoski Rog Mocy &eprzec co zostal wzmocniony!" to all players
execute console command "playsound buffaloHorn %player%"
apply swiftness 4 to the player for 30 seconds
apply regeneration 2 to the player for 5 seconds
apply strength 2 to the player for 5 seconds
set {opoznienier.%player%} to now
command /Vortex:
trigger:
give 1 2257 of knockback 3 named "&e&lVORTEX" with lore "&eVorteX!||&2Ta magiczna rozdzka umozliwi Ci||&2Bardzo szybkie przemieszczanie sie! ||&2Jest doskonala do ucieczki przed wrogiem!" to player
send " &e[&6KOCHAM WOJDUSZ!&e]"
send " &eOtrzymales: VorteX!"
variables:
{upadek::%player%} = true
on rightclick with green music disc:
if name of player's tool is "&e&lVORTEX":
set {czasv} to difference between {opoznieniev.%player%} and now
if {czasv} is less than 10 seconds:
send "&ePrzykro mi, ale mozesz uzyc VorteX dopiero za &c&l%difference between 10 seconds and {czasv}%"
else:
execute console command "playsound tile.piston.out %player%"
set {upadek::%player%} to false
push the player upwards at velocity 1.5
push the player horizontally forward at speed 4.5
apply jump boost 2 to the player for 7 seconds
set {opoznieniev.%player%} to now
wait 5 seconds
set {upadek::%player%} to true
on damage:
damage is caused by fall:
if {upadek::%victim%} is false:
cancel event
on script load:
loop all players:
set {vortex::%loop-player%} to true
set {fireball::%loop-player%} to 0
set {upadek::%loop-player%} to true
command /Inferno:
trigger:
give 1 Pink Dye of fire aspect 2 named "&4&lINFERNO" with lore "&7||&4Inferno||&2Magiczna Ognista Rozdzka||&2umozliwi Ci wystrzelenie ognistej!||&2kuli ognia palacej wrogow na popiol!" to player
send " &e[&6KOCHAM WOJDUSZ!&e]"
send " &eOtrzymales: Inferno!"
on rightclick with Pink Dye:
if name of player's tool is "&4&lINFERNO":
set {czasi} to difference between {opoznieniei.%player%} and now
if {czasi} is less than 10 seconds:
send "&ePrzykro mi, ale mozesz uzyc Inferno dopiero za &c&l%difference between 10 seconds and {czasi}%"
execute console command "playsound fire.ignite %player%"
else:
execute console command "playsound fire.fire %player%"
shoot a fireball from player
set {opoznieniei.%player%} to now
stop
on leftclick with Pink Dye:
if name of player's tool is "&4&lINFERNO":
set {czasi2} to difference between {opoznieniei2.%player%} and now
if {czasi2} is less than 10 seconds:
send "&ePrzykro mi, ale mozesz uzyc Inferno dopiero za &c&l%difference between 10 seconds and {czasi2}%"
execute console command "playsound fire.ignite %player%"
else:
execute console command "playsound fire.fire %player%"
shoot a fireball from player
set {opoznieniei2.%player%} to now
stop
Pytanie
SzybkiApple 2
Witam
Jestem zielony w skryptach ale coś tam umiem
Nie rozumiem jaki błąd zawiera ten skrypt ponieważ nie działa na serwerze 1.8 (Mam Skript i SkQuery 3)
command /Luk: trigger: give 1 bow of infinity 10 and power 3 and unbreaking 10 named "&b&lLuk Zaglady" with lore "&bLuk Zaglady||&aSmiernonosny potezny luk||&6Jedna z najpotenzniejszych broni||&eRewelacjyne w walce na dystans" to player execute console command "/give %player% 262 1 name:&bStrzala_smierci" send " &e[&6KOCHAM WOJDUSZ!&e]" send " &eOtrzymales: Luk Zaglady!" stop command /Miecz: trigger: give 1 diamond sword of Unbreaking 2 and fortune 2 and sharpness 3 and efficiency 2 and fire aspect 2 named "&5&l☣Miecz Dusz☣" with lore "&bMiecz dusz!||&aPotnij swoich wrogow na kawalki!||&6Jedna z najlepszych broni!||&eRewelacjyne wywazona!" to player send " &e[&6KOCHAM WOJDUSZ!&e]" send " &eOtrzymales: Miecz Dusz!" command /Rog: trigger: give 1 light green dye of unbreaking 10 named "&e&lBoski Rog Mocy" with lore "&2Uzyj boski rog mocy!||&2Twoja druzyna otrzyma niespotykana szybkosc||&2a Twoje zycie bedzie sie regenerowac!||&2(mozesz go uzywac co 100 sek.)" to player send " &e[&6KOCHAM WOJDUSZ!&e]" send " &eOtrzymales: Boski Rog Mocy!" on rightclick with light green dye: if name of player's tool is "&e&lBoski Rog Mocy": set {czasr} to difference between {opoznienier.%player%} and now if {czasr} is less than 100 seconds: send "&ePrzykro mi, ale mozesz uzyc Boski Rog Mocy dopiero za &c&l%difference between 100 seconds and {czasr}%" execute console command "playsound mob.ghast.affectionate_scream %player%" else: send "&e[&6&l!&e] &b%player% &euzyl &bBoski Rog Mocy &eprzec co zostal wzmocniony!" to all players execute console command "playsound buffaloHorn %player%" apply swiftness 4 to the player for 30 seconds apply regeneration 2 to the player for 5 seconds apply strength 2 to the player for 5 seconds set {opoznienier.%player%} to now command /Vortex: trigger: give 1 2257 of knockback 3 named "&e&lVORTEX" with lore "&eVorteX!||&2Ta magiczna rozdzka umozliwi Ci||&2Bardzo szybkie przemieszczanie sie! ||&2Jest doskonala do ucieczki przed wrogiem!" to player send " &e[&6KOCHAM WOJDUSZ!&e]" send " &eOtrzymales: VorteX!" variables: {upadek::%player%} = true on rightclick with green music disc: if name of player's tool is "&e&lVORTEX": set {czasv} to difference between {opoznieniev.%player%} and now if {czasv} is less than 10 seconds: send "&ePrzykro mi, ale mozesz uzyc VorteX dopiero za &c&l%difference between 10 seconds and {czasv}%" else: execute console command "playsound tile.piston.out %player%" set {upadek::%player%} to false push the player upwards at velocity 1.5 push the player horizontally forward at speed 4.5 apply jump boost 2 to the player for 7 seconds set {opoznieniev.%player%} to now wait 5 seconds set {upadek::%player%} to true on damage: damage is caused by fall: if {upadek::%victim%} is false: cancel event on script load: loop all players: set {vortex::%loop-player%} to true set {fireball::%loop-player%} to 0 set {upadek::%loop-player%} to true command /Inferno: trigger: give 1 Pink Dye of fire aspect 2 named "&4&lINFERNO" with lore "&7||&4Inferno||&2Magiczna Ognista Rozdzka||&2umozliwi Ci wystrzelenie ognistej!||&2kuli ognia palacej wrogow na popiol!" to player send " &e[&6KOCHAM WOJDUSZ!&e]" send " &eOtrzymales: Inferno!" on rightclick with Pink Dye: if name of player's tool is "&4&lINFERNO": set {czasi} to difference between {opoznieniei.%player%} and now if {czasi} is less than 10 seconds: send "&ePrzykro mi, ale mozesz uzyc Inferno dopiero za &c&l%difference between 10 seconds and {czasi}%" execute console command "playsound fire.ignite %player%" else: execute console command "playsound fire.fire %player%" shoot a fireball from player set {opoznieniei.%player%} to now stop on leftclick with Pink Dye: if name of player's tool is "&4&lINFERNO": set {czasi2} to difference between {opoznieniei2.%player%} and now if {czasi2} is less than 10 seconds: send "&ePrzykro mi, ale mozesz uzyc Inferno dopiero za &c&l%difference between 10 seconds and {czasi2}%" execute console command "playsound fire.ignite %player%" else: execute console command "playsound fire.fire %player%" shoot a fireball from player set {opoznieniei2.%player%} to now stopOdnośnik do komentarza
https://skript.pl/temat/31859-problem-z-skryptem/Udostępnij na innych stronach
19 odpowiedzi na to pytanie
Rekomendowane odpowiedzi