Witam mam problem w skrypcie na osiągnięcia, ogólnie to w gui na /osiagniecia nie ma kompasu powie ktoś co mogę zrobić by działało? (ogólnie robię to format slotem i nie piszcie bym to robił set slotem, ponieważ jestem nowy i nie ogarniam jeszcze set slota)
options:
osiagniecia: &bOsiagniecia
variables:
{czas} = 0
{odbieranie} = 0
on first join:
set {czas.%player%} to 0
set {odbieranie.%player%} to 0
every 5 second:
loop all players:
add 5 to {czas.%loop-player%}
command /komendadoBixeq1:
trigger:
if {czas.%player%} is more than 60:
if {odbieranie.%player%} is 0:
set {odbieranie.%player%} to 1
send "&2&lSukces &r&8» &7Otrzymano nagrode!"
if player has enough space for 64 emerald block:
give 64 emerald block to player
else:
drop 64 emerald block at the player
else:
send "&4&lBlad &r&8» &7Odebrales juz swoja nagrode"
else:
send "&4&lBlad &r&8» &7Nie posiadasz wystarczajacej liczby czasu"
command /Bixeqosiagniecie1:
trigger:
open chest with 3 rows named "&bosiagniecia czasowe" to player
format slot 0 of player with 1 of compass named "&bNagroda za &7&lpierwsza minutke" to close then run [execute player comand "komendadoBixeq1"]
command /osiagniecia:
trigger:
open chest with 1 rows named "{@osiagniecia}" to player
format slot 0 of player with 1 of gray glass to close
format slot 1 of player with 1 of compass named "&bNagrody za czas" with lore "&bPosiadasz &7&l{czas.%player%} czasu!" to close then run [execute player comand "Bixeqosiagniecie1"]
format slot 2 of player with 1 of gray glass to close
edit: Nie patrzcie na komendy