Mam problem ze skryptem po dodaniu go do skryptów i po przeładowaniu go w grze nie wyskakuje żaden błąd ani w konsoli ani na czacie.
variables:{disco::player}="OFF"
command /disco <text>:
trigger:if argument is "wlacz" or "on":if{disco::%player%} is "OFF":set{disco::%player%} to "ON"
send "&bTwoja &5DISCO&6ZBROJA &bzostala &2WLACZONA&b&l!" to player
else:
send "&cTwoja &5DISCO&6ZBROJA &cjest juz &2WLACZONA&c&l!" to player
if argument is "wylacz" or "off":if{disco::%player%} is "ON":set{disco::%player%} to "OFF"
send "&bTwoja &5DISCO&6ZBROJA &bzostala &4WLACZONA&b&l!" to player
command /discomenu:
trigger:
open chest with1 row named "&5&lDISCO&6&lZBROJA" to player
format slot 2of player with1 emerald named "&5&lDISCO&6&lZBROJA &2&lON"with lore "&7Status&8: &8&l(&b%{disco::%player%}%&8&l)" to close then run [make player execute command "/disco on"]
format slot 6of player with1 redstone named "&5&lDISCO&6&lZBROJA &4&lOFF"with lore "&7Status&8: &8&l(&b%{disco::%player%}%&8&l)" to close then run [make player execute command "/disco on"]
every 5 seconds:if{disco::%player%} is "ON":
chance of25%:
equip player with diamond helmet
chance of25%:
equip player with iron helmet
chance of25%:
equip player with gold helmet
chance of25%:
equip player with leather helmet
else:
stop
:{disco::player}="OFF"
command /disco <text>:
trigger:if argument is "wlacz" or "on":if{disco::%player%} is "OFF":set{disco::%player%} to "ON"
send "&bTwoja &5DISCO&6ZBROJA &bzostala &2WLACZONA&b&l!" to player
else:
send "&cTwoja &5DISCO&6ZBROJA &cjest juz &2WLACZONA&c&l!" to player
if argument is "wylacz" or "off":if{disco::%player%} is "ON":set{disco::%player%} to "OFF"
send "&bTwoja &5DISCO&6ZBROJA &bzostala &4WLACZONA&b&l!" to player
command /discomenu:
trigger:
open chest with1 row named "&5&lDISCO&6&lZBROJA" to player
format slot 2of player with1 emerald named "&5&lDISCO&6&lZBROJA &2&lON"with lore "&7Status&8: &8&l(&b%{disco::%player%}%&8&l)" to close then run [make player execute command "/disco on"]
format slot 6of player with1 redstone named "&5&lDISCO&6&lZBROJA &4&lOFF"with lore "&7Status&8: &8&l(&b%{disco::%player%}%&8&l)" to close then run [make player execute command "/disco on"]
every 5 seconds:if{disco::%player%} is "ON":
chance of25%:
equip player with diamond helmet
chance of25%:
equip player with iron helmet
chance of25%:
equip player with gold helmet
chance of25%:
equip player with leather helmet
else:
stop
Pytanie
R4VD0R 0
Mam problem ze skryptem po dodaniu go do skryptów i po przeładowaniu go w grze nie wyskakuje żaden błąd ani w konsoli ani na czacie.
Umieszczam kod w code.
Odnośnik do komentarza
Udostępnij na innych stronach
3 odpowiedzi na to pytanie
Rekomendowane odpowiedzi