May_bee_ e32e5168c3874e9cb60263d5bb19af38
이해도 | 초보자(스크립트 구성요소나 기본문법은 알아요) |
---|---|
게임버전 (JE) | 1.12.2 |
게임버전 (BE) | 관련없음 |
스크립트 애드온 | skRayFall |
every 1 seconds:
loop all players:
if {sc.%loop-player%} = 1:
wipe loop-player's sidebar
set name of sidebar of loop-player to "&f&l[&a&lComet_Server&f&l]"
set score "&f===================" in sidebar of loop-player to 11
set score "&f플레이어: &e%loop-player%" in sidebar of loop-player to 10
set score "&f접속자 수: &e%number of all players%&f명" in sidebar of loop-player to 9
set score "&f경험치 쿠폰: &e%{exp.%loop-player%}%&f초" in sidebar of loop-player to 8
set score "&f왈라고 광산: &e%{왈라비타임.%loop-player%}%&f초" in sidebar of loop-player to 7
set score " " in sidebar of loop-player to 6
set score "&f보유 [&aLuble&f]: &e%loop-player's money%" in sidebar of loop-player to 5
set score "&f보유 [&aSill&f]: &e%{Sill.%loop-player%}%" in sidebar of loop-player to 4
set score " " in sidebar of loop-player to 3
set score "&f사냥 횟수: &e%{hunt.%loop-player%}%&f번" in sidebar of loop-player to 2
set score "&f사망 횟수: &e%{죽은수.%loop-player%}%&f번" in sidebar of loop-player to 1
on death:
add 1 to {죽은수.%player%}
on death:
if attacker is a player:
add 1 to {hunt.%attacker%}
command /스코:
trigger:
set {sc.%player%} to 1
send "%{hunt.%player%}%" to player
위 내용대로 만들었는데 1유저 1정보 스크립트가 아닌
다수의 유저에게 1명의 정보가 뜨게됩니다. 왜 그런건지 잘 모르겠습니다.
댓글이 없습니다.
새로운 댓글을 등록해 주세요!