options:
j : &6[&e전직&6]&f
on right click on entity with nether star:
if name of player's tool contains "&d초월석":
if entity's name is "&6전직관":
if {직업.%player%} is not set:
open chest with 3 rows named "&e전직선택" to player
set slot 10 of current inventory of player to diamond sword named "&e검객" with lore "&f초월석과 교환시 전직"
set slot 13 of current inventory of player to diamond axe named "&4전사" with lore "&f초월석과 교환시 전직"
set slot 16 of current inventory of player to diamond hoe named "&9닌자" with lore "&f초월석과 교환시 전직"
on inventory click:
if iname contains "&e직업선택":
if click type is left mouse button with shift or right mouse button with shift:
cancel event
else:
if clicked raw slot is 10:
if {직업.%player%} is not set:
close player's inventory
wait 1 tick
remove 1 of nether star named "&d초월석" from the player
wait 1 tick
set {직업.%player%} to "검객"
message "&6---------------------------------"
message "{@j}&f당신은 &e검객&f이 되었습니다!"
message "&6---------------------------------"
이런 전직 스크립트를 썻는데 gui창에서 클릭하면 아무것도 실행되지않고 아이템만 꺼내지네요 어떻해 해야하나요?
댓글이 없습니다.
새로운 댓글을 등록해 주세요!