command /efekty:
trigger:
open chest with 2 rows named "&6&lEFEKTY" to player
wait 2 ticks
format slot 0 of player with Gray Stained Glass Pane named " " to close
format slot 1 of player with Gray Stained Glass Pane named " " to close
format slot 2 of player with sugar named "&7&lSPEED&7(&58Min&7)" with lore "&7Koszt &8&l>> &664 Szmaragdy" to close then run [execute player command "toniespeed %player%"]
format slot 3 of player with Gray Stained Glass Pane named " " to close
format slot 4 of player with blaze powder named "&7&lSILA&7(&54Min&7)" with lore "&7Koszt &8&l>> &6128 Szmaragdy" to close then run [execute player command "toniesila %player%"]
format slot 5 of player with Gray Stained Glass Pane named " " to close
format slot 6 of player with fire charge named "&7&lFIRE RESISTANCE&7(&58Min&7)" with lore "&7Koszt &8&l>> &664 Szmaragdy" to close then run [execute player command "toniefire %player%"]
format slot 7 of player with Gray Stained Glass Pane named " " to close
format slot 8 of player with Gray Stained Glass Pane named " " to close
format slot 9 of player with Gray Stained Glass Pane named " " to close
format slot 10 of player with Gray Stained Glass Pane named " " to close
format slot 11 of player with Gray Stained Glass Pane named " " to close
format slot 12 of player with Gray Stained Glass Pane named " " to close
format slot 13 of player with Fire named "&5&lWYJDZ" to close
format slot 14 of player with Gray Stained Glass Pane named " " to close
format slot 15 of player with Gray Stained Glass Pane named " " to close
format slot 16 of player with Gray Stained Glass Pane named " " to close
format slot 17 of player with Gray Stained Glass Pane named " " to close
stop
command /toniesila [<player>]:
trigger:
if player-arg has 128 Emerald:
remove 128 Emerald from player-arg
remove Strength from player-arg
wait 10 ticks
apply Strength to the player-arg for 240 seconds
broadcast "&7Gracz &6%arg 1% &7Kupil Efekt &9Sily."
else:
send "&6Nie Masz &464 Szmaragdow" to player-arg
stop
command /toniespeed [<player>]:
trigger:
if player-arg has 64 Emerald:
remove 64 Emerald from player-arg
remove speed from player-arg
wait 10 ticks
apply speed to the player-arg for 480 seconds
broadcast "&7Gracz &6%arg 1% &7Kupil Efekt &9Szybkosci."
else:
send "&6Nie Masz &464 Szmaragdow" to player-arg
stop
command /toniefire [<player>]:
trigger:
if player-arg has 64 Emerald:
remove 64 Emerald from player-arg
remove fire resistance from player-arg
wait 10 ticks
apply fire resistance to the player-arg for 480 seconds
broadcast "&7Gracz &6%arg 1% &7Kupil Efekt &9Odpornosci Na Ogien."
else:
send "&6Nie Masz &464 Szmaragdow" to player-arg
stop
A to błedy
[13:49:46 ERROR]: '"toniespeed %player%"]' is not a text (efekty.sk, line 7: format slot 2 of player with sugar named "&7&lSPEED&7(&58Min&7)" with lore "&7Koszt &8&l>> &664 Szmaragdy" to close then run [execute player command "toniespeed %player%"]')
[13:49:46 ERROR]: '"toniesila %player%"]' is not a text (efekty.sk, line 9: format slot 4 of player with blaze powder named "&7&lSILA&7(&54Min&7)" with lore "&7Koszt &8&l>> &6128 Szmaragdy" to close then run [execute player command "toniesila %player%"]')
[13:49:46 ERROR]: '"toniefire %player%"]' is not a text (efekty.sk, line 11: format slot 6 of player with fire charge named "&7&lFIRE RESISTANCE&7(&58Min&7)" with lore "&7Koszt &8&l>> &664 Szmaragdy" to close then run [execute player command "toniefire %player%"]')
[13:49:46 INFO]: [Skript] Encountered 3 errors while reloading efekty.sk!
Pytanie
jndooo 9
A to błedy
[13:49:46 ERROR]: '"toniespeed %player%"]' is not a text (efekty.sk, line 7: format slot 2 of player with sugar named "&7&lSPEED&7(&58Min&7)" with lore "&7Koszt &8&l>> &664 Szmaragdy" to close then run [execute player command "toniespeed %player%"]') [13:49:46 ERROR]: '"toniesila %player%"]' is not a text (efekty.sk, line 9: format slot 4 of player with blaze powder named "&7&lSILA&7(&54Min&7)" with lore "&7Koszt &8&l>> &6128 Szmaragdy" to close then run [execute player command "toniesila %player%"]') [13:49:46 ERROR]: '"toniefire %player%"]' is not a text (efekty.sk, line 11: format slot 6 of player with fire charge named "&7&lFIRE RESISTANCE&7(&58Min&7)" with lore "&7Koszt &8&l>> &664 Szmaragdy" to close then run [execute player command "toniefire %player%"]') [13:49:46 INFO]: [Skript] Encountered 3 errors while reloading efekty.sk!Odnośnik do komentarza
https://skript.pl/temat/33707-jak-rozumie%C4%87-te-b%C5%82%C4%99dy-ktos-wyja%C5%9Bni-188/Udostępnij na innych stronach
6 odpowiedzi na to pytanie
Rekomendowane odpowiedzi
Dołącz do dyskusji
Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.