Nixel1212 08ae6900808b47b195d96aeebadd3b70
안녕하세요!! 드온이입니다 제가 요즘 못 올렸는데 그게 다른집에 컴퓨터를 놓고 가서 그렇습니다
어쩄든 오늘은 두더지 잡기를 강좌하려 하는데 쓸데없이 재밌어서 이게 왜 스킬이냐고 물어볼까봐 말하지만...
현실에서 두더지게임을 하면 망치로 하자나여 근데 망치가 여기서는 묠니르 (!!)라서 그래요 함 내려찍으면
다 잡혀버리는 스케일... 엠엠....
여기서 끝내고 강좌 시작할게요!!
일단 구문을 볼게욧!!
command /두더지잡기 [<number>]:
cooldown: 7.5 seconds
cooldown message: &a[&c 두더지 잡기 &a]&f %remaining time%
trigger:
if {%player%} >= 500:
set {두더지잡기.%player%} to true
remove 500 from {%player%}
send "&a[&c 두더지 잡기 &a]&f 500원을 차감되었습니다" to player
open chest with 3 row named "&a[&c 두더지 잡기 &a]" to player
loop 10 times:
set slot (loop-number - 1 + 0) of current inventory of player to glass pane
loop 11 times:
set slot (loop-number + 17 - 1) of current inventory of player to glass pane
wait 1 ticks
loop 15 times:
wait 0.25 seconds
set {두더지잡기슬롯.%player%} to random number between 10 and 16
set slot {두더지잡기슬롯.%player%} of current inventory of player to iron sword named "&6[&c 두더지&6 ]" with lore "&f좌클릭 or 우클릭 으로 잡는다"
wait 0.25 seconds
set slot {두더지잡기슬롯.%player%} of current inventory of player to air
if {두더지잡기.%player%} is true:
play sound "block.piston.contract" with volume 1 to the player
close player's inventory
delete {두더지잡기등급.%player%}
delete {두더지잡기이름.%player%}
delete {두더지잡기슬롯.%player%}
delete {두더지잡기DMG.%player%}
delete {두더지잡기SPD.%player%}
stop
else:
send "&a[&c 두더지 잡기 &a]&f 돈이 부족합니다" to player
stop
on inventory click:
if inventory name of current inventory of player is "&a[&c 두더지 잡기 &a]":
cancel event
if clicked item is iron sword:
close player's inventory
play sound "entity.player.levelup" with volume 1 to the player
set {%player%} to {%player%} + 3000
send "&a[&c 두더지 잡기 &a]&f 두더지를 잡아서 상금 3000원을 획득합니다" to player
delete {두더지잡기.%player%}
stop
이렇게 됩니다 근데 그냥 이렇게 하면 두더지가 1마리라 재미 없잖아요
그래서 제가 두마리로 만들려면 빨간색 부분을 두개로 늘리면 두개가 되고 세개면 세개가 됩니다
이렇게 한줄씩 라인을 늘려서 한줄당 2마리 정도로 나오개 하면 좋겠죠? 제가 레전드를 보여줄게욧!!
<두더지 잡기 하드모드 >
제작자 :: 드온 상인
편집 프로그램 :: 곰믹스 프로
촬영 프로그램 :: 반디캠
난이도 :: 하드모드
마지막 영상출처 :: Youtube
자 이렇게 하는건데 어떻게 하냐면
command /두더지잡기 [<number>]:
cooldown: 7.5 seconds
cooldown message: &a[&c 두더지 잡기 &a]&f %remaining time%
trigger:
if {%player%} >= 500:
set {두더지잡기.%player%} to true
remove 500 from {%player%}
send "&a[&c 두더지 잡기 &a]&f 500원을 차감되었습니다" to player
open chest with 3 row named "&a[&c 두더지 잡기 &a]" to player
wait 1 ticks
while {두더지잡기.%player%} is true:
wait 0.1 seconds
set {두더지잡기슬롯.%player%} to random number between 0 and 26
set slot {두더지잡기슬롯.%player%} of current inventory of player to iron sword named "&6[&c 두더지&6 ]" with lore "&f좌클릭 or 우클릭 으로 잡는다"
set {두더지잡기슬롯2.%player%} to random number between 0 and 26
set slot {두더지잡기슬롯2.%player%} of current inventory of player to iron sword named "&6[&c 두더지&6 ]" with lore "&f좌클릭 or 우클릭 으로 잡는다"
set {두더지잡기슬롯3.%player%} to random number between 0 and 26
set slot {두더지잡기슬롯3.%player%} of current inventory of player to iron sword named "&6[&c 두더지&6 ]" with lore "&f좌클릭 or 우클릭 으로 잡는다"
set {두더지잡기슬롯4.%player%} to random number between 0 and 26
set slot {두더지잡기슬롯4.%player%} of current inventory of player to iron sword named "&6[&c 두더지&6 ]" with lore "&f좌클릭 or 우클릭 으로 잡는다"
set {두더지잡기슬롯5.%player%} to random number between 0 and 26
set slot {두더지잡기슬롯5.%player%} of current inventory of player to iron sword named "&6[&c 두더지&6 ]" with lore "&f좌클릭 or 우클릭 으로 잡는다"
wait 0.1 seconds
set slot {두더지잡기슬롯.%player%} of current inventory of player to air
set slot {두더지잡기슬롯2.%player%} of current inventory of player to air
set slot {두더지잡기슬롯3.%player%} of current inventory of player to air
set slot {두더지잡기슬롯4.%player%} of current inventory of player to air
set slot {두더지잡기슬롯5.%player%} of current inventory of player to air
if {두더지잡기.%player%} is true:
play sound "block.piston.contract" with volume 1 to the player
close player's inventory
delete {두더지잡기등급.%player%}
delete {두더지잡기이름.%player%}
delete {두더지잡기슬롯.%player%}
delete {두더지잡기DMG.%player%}
delete {두더지잡기SPD.%player%}
stop
else:
send "&a[&c 두더지 잡기 &a]&f 돈이 부족합니다" to player
stop
on inventory click:
if inventory name of current inventory of player is "&a[&c 두더지 잡기 &a]":
cancel event
if clicked item is iron sword:
play sound "entity.player.levelup" with volume 1 to the player
set {%player%} to {%player%} + 250
send "&a[&c 두더지 잡기 &a]&f 두더지를 잡아서 상금 250원을 획득합니다" to player
stop
on inventory close:
if {두더지잡기.%player%} is true:
delete {두더지잡기.%player%}
이렇게 됩니다 빨간색 부분이 제일 중요합니다 인벤토리가 이상해지면 서버 껏다키면 됩니다
그럼 이렇게 강좌는 마칠게요 감사합니다
댓글이 없습니다.
새로운 댓글을 등록해 주세요!