개인 자료란 (JE)

  서버 커뮤니티

Profile ddyuk 대표칭호 없음
Profile

질문하기 스크립트

명령어 만드는 스크립트

2024.02.09 조회 수 25 추천 수 0
이해도 입문자 
게임버전 (JE) 1.20, 1.20.1 
게임버전 (BE) 1.20.x 

그 "/스폰" 명령어를 치면 5초뒤에 이동합니다.! 4초뒤에 이동합니다!...해서 이동하는 스크립트를 만들고 싶습니다. 스크립트 구문? 알려줄수있나요?
+움직이면 취소
+원래 스폰은 /l    /lobby로 갈수있음

2개의 댓글

windy_wind
2024.02.09

이러면되요

command /원하는명령어이름보조:
  trigger:
    execute player command "/원하는명령어이름"


command /원하는명령어이름:
  trigger:
    {티피::%uuid of player%} is not set
    send title "&c3" with subtitle "초 후 스폰으로 이동됩니다" to player for 1.5 seconds with fade in 2 tick and fade out 5 tick
    set {티피::%uuid of player%} to location of player
    while {티피::%uuid of player%} is set:
      add 1 to {_time}
      if {_time} >= 3*20:
        delete {티피::%uuid of player%}
        teleport player to location(x좌표,y좌표,z좌표,world "월드이름")
        send title "&6&l스폰" with subtitle "텔레포트 하였습니다" to player for 1.5 seconds with fade in 2 tick and fade out 5 tick
        stop this loop
      else if mod({_time},20) = 0:
        send title "&c%3-floor({_time}/20)%" with subtitle "초 후 스폰으로 이동됩니다" to player for 1.5 seconds with fade in 2 tick and fade out 5 tick
      wait 1 tick


on player move:
  {티피::%uuid of player%} is set
  distance between player and {티피::%uuid of player%} > 1
  delete {티피::%uuid of player%}
환타비
2024.02.10

이미 위에서 알려드렸지만

스크립트 구문을 처음 접해 보는거라면 유튜브를 보고 연습하시는걸 추천드립니다

다른 분들이 다 알려드리면 연습이 되지 않아서..ㅎㅎ 거의 다 유튜브 찾아보시면 스크립트 강좌로 알려줍니다!

뉴스 및 창작물
/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