kesswick1006 ead0919c59314658b6c69d91acfee3c4
이해도 | 입문자 |
---|---|
게임버전 (JE) | 관련없음 |
게임버전 (BE) | 관련없음 |
제가 마크 서버 메뉴 gui를 만들고 있습니다 그런데 자꾸 제작대 조합 하거나 판자 같은거 만들때 스크립트 명령어가 실행 됩니다
어떻게 해야할지 몰라 질문글 올립니다.
on swap hand item:
player is sneaking:
play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 to player
cancel event
set {_gui} to chest inventory with 1 rows named "메뉴"
set slot 4 of {_gui} to ender pearl named "&6스폰" with lore "" and "&f스폰으로 이동하는 마법의 진주" and ""
set slot 0 of {_gui} to bread named "&6빵 받기" with lore "" and "&f빵을 받을수 있는 빵버튼" and ""
set slot 8 of {_gui} to compass named "&6운영자 부르기" with lore "" and "&f운영자를 부르는" and "전설의 나침반" and ""
open {_gui} to player
on inventory click:
event-inventory's name is "메뉴":
cancel event
on inventory click:
event-inventory's name is "쓰레기통":
stop
event-inventory is player's inventory:
stop
event-inventory's name is "개인창고":
stop
clicked slot is 4:
close player's inventory
teleport player to location(15,84,-10,world("world"),0,0)
send "스폰 이동 성공"
clicked slot is 0:
if {쿨타임.%player%.빵버튼} is not set:
close player's inventory
give 128 bread named "&6전설의 빵" with lore "" and "&f먹을수 있는 전설의 빵" and "" to player
send "지급 성공"
set {쿨타임.%player%.빵버튼} to true
wait 1200 tick
delete {쿨타임.%player%.빵버튼}
else:
message "아직 명령어를 사용할수 없습니다."
clicked slot is 8:
close player's inventory
broadcast "&f&1%player%&6님이 &a관리자 kesswick1006 &6(을)를 찾습니다."
play sound "ENTITY_PLAYER_LEVELUP" with volume 10 with pitch 1 to players
on join:
delete {쿨타임.%player%.빵버튼}
댓글이 없습니다.
새로운 댓글을 등록해 주세요!