개인 자료란 (JE)

  서버 커뮤니티

Profile sunul54 대표칭호 없음

sunul54 45e942304de84f06af0080e77142ea0b

Profile

질문하기 스크립트

마크 스크립트 질문

2023.02.25 조회 수 81 추천 수 0
이해도 입문자 
게임버전 (JE) 1.19.3 
게임버전 (BE) 관련없음 
스크립트 버전 2.6.4 
스크립트 애드온 SkQuery-4.1.8 

스크립트에서 엔티티를 클릭헤서 메뉴를 열고 잔디 블럭을 클릭하면 스폰으로 가면서 효과음이 나게 만들고 싶어서 

on rightclick on entity:

    if entity's name is "&6이동":

        open chest with 3 rows named "&6이동" to player

        format slot 11 of player with grass block named "&1스폰" with lore "&2클릭시" and "&2스폰으로 이동합니다" to close then run [execute op command "/spawn"]

        format slot 11 of player with grass block named "&1스폰" with lore "&2클릭시" and "&2스폰으로 이동합니다" to close then run [play sound "entity.arrow.hit_player" with volume 1 and pitch 1 at player]

이런 식으로 했더니 스폰으로만 가지거나 효과음만 나오던데 어떻게 하면 동시에 실행이 될까요?


1개의 댓글

마크에서 테스트 해봐서 오류는 없을거에요

이런식으로 하시면 가능 합니다

뉴스 및 창작물
/files/thumbnails/487/784/003/262x150.crop.jpg?20240508233607

모드

Windows Borderless 모드에서 악성코드 발견

학교가기싫다

2024-05-08

1

/files/thumbnails/384/778/003/262x150.crop.jpg?20240512002324

업데이트

마인크래프트 자바 에디션 스냅샷 24w18a

학교가기싫다

2024-05-06

0

/files/thumbnails/855/781/003/262x150.crop.jpg?20240505141129

레드스톤

레이저 클리너

GlassesFilm

2024-05-05

1

/files/thumbnails/576/775/003/262x150.crop.jpg?20240426232553

아티클

이달의 블록: 단단한 진흙

학교가기싫다

2024-04-26

0

/files/thumbnails/115/774/003/262x150.crop.jpg?20240428135129

업데이트

마인크래프트 1.20.5 정식 업데이트

학교가기싫다

2024-04-24

0