Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /jk:
- permission: skript.ad
- trigger:
- loop all players:
- if {opjoin} is false:
- if loop-player do not have permission "sk.admin":
- set {oni} to random player of loop-player
- set {dete} to random player of loop-players
- if {opjoin} is true:
- set {oni} to random player of all players
- set {dete} to random player of all players
- if {oni} is {dete}:
- delete {dete}
- broadcast "&9MurderとDetectiveが被ったので今回のゲームはDetectiveが居ません"
- loop all players:
- if loop-player is not {oni}:
- if {opjoin} is true:
- add loop-player to {allplayer::*}
- if {opjoin} is false:
- if loop-player do not have permission "sk.admin":
- add loop-player to {allplayer::*}
- if loop-player is {oni}:
- message "&cYour Murder!!" to loop-player
- if loop-player is {dete}:
- message "&bYour Detective!!" to loop-player
- if loop-player has permission "sk.admin":
- set {logs.%loop-player%} to false
- loop {allplayer::*}:
- add 1 to {players}
- add 1 to {member}
- add 1 to {member} #Muderの分とDetectiveの分
- execute {oni} command "/role murder"
- execute {allplayer::*} command "/role innocent"
- execute {dete} command "/role detective"
- execute {allplayer::*} command "/rs"
- execute {oni} command "/rs"
- wait 1 seconds
- loop all players:
- if loop-player has permission "sk.admin":
- set {logs.%loop-player%} to true
- stop
- command /opjoin <text>:
- permission: skript.ad
- trigger:
- if arg 1 is "on":
- set {opjoin} to true
- broadcast "&6opの参加を&aONに&6しました"
- stop
- if arg 1 is "off":
- set {opjoin} to false
- broadcast "&6opの参加を&cOFF&6にしました"
- command /stopgame:
- permission: skript.ad
- trigger:
- delete {oni}
- delete {allplayer::*}
- delete {death::*}
- delete {players}
- delete {member}
- delete {korosu}
- delete {dete}
- set {2m} to false
- set {1m} to false
- set {0m} to false
- set {game} to false
- message "リセットしました"
- execute console command "/tp 0 4 0"
- execute console command "/clear @a"
- execute console command "/gamemode 2 @a"
- execute console command "/kill @e[type=item]"
- execute console command "/tp @a 0 4 0"
- execute console command "/hd delete Dete"
- set {shot} to 1
- broadcast "&6ゲームを終了しました"
- loop all players:
- execute loop-player command "/rs lobby"
- execute console command "/pex user %loop-player% remove skript.admin"
- set {death.%player%} to false
- if {regame} is true:
- broadcast "&6リスタートが有効になっているので45秒後にリスタートします"
- wait 45 seconds
- execute console command "/start"
- command /stoprestart <text>:
- permission: skript.ad
- trigger:
- if arg 1 is "off":
- message "&6リスタートを&c無効にしました"
- set {regame} to false
- if arg 1 is "on":
- message "&6リスタートを&a有効にしました"
- set {regame} to true
- command /de:
- permission: skript.ad
- trigger:
- delete {oni}
- delete {dete}
- delete {allplayer::*}
- delete {players}
- delete {member}
- set {game} to false
- set {shot} to 1
- execute console command "/hd delete Dete"
- message "リセットしました"
- loop all players:
- set {death.%loop-player%} to false
- command /start:
- permission: skript.ad
- trigger:
- set {game} to true
- if {game} is true:
- broadcast "&65秒後にゲームを開始します。少々ラグが生じますが気にしないでください"
- execute console command "/jk"
- wait 5 seconds
- if {member} < 2:
- broadcast "&6人数が足りないのでゲームを開始できません"
- execute console command "/stopgame"
- stop
- execute console command "/gamemode 2 @a"
- execute console command "/kill @e[type=item]"
- execute console command "/kill @e[type=arrow]"
- execute console command "/random"
- loop all players:
- if {invs.%loop-player%} is true:
- execute loop-player command "/invv"
- broadcast "&610秒後にMurderに剣が渡されます"
- wait 5 seconds
- broadcast "&e5"
- execute console command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- execute console command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- broadcast "&e4"
- wait 1 seconds
- execute console command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- broadcast "&e3"
- wait 1 seconds
- execute console command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- broadcast "&e2"
- wait 1 seconds
- execute console command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- broadcast "&e1"
- wait 1 seconds
- broadcast "&6Murderに剣が与えられました"
- execute console command "/playsound entity.zombie_villager.converted master @a ~ ~ ~ 1 1 1"
- set slot 1 of {oni} to iron sword
- set slot 0 of {dete} to bow
- set slot 1 of {dete} to arrow
- command /random:
- trigger:
- set {map} to random integer between 1 and 4
- if {map} is 1:
- broadcast "&l今回のMap:&f&6いつもの館"
- broadcast "&6[製作者] &f&nsiso_ & jeek2008 (解雇済み)"
- loop all players:
- execute loop-player command "/map1"
- if {map} is 2:
- broadcast "&l今回のMap:&f&7刑務所"
- broadcast "&6[製作者] &f&nfutabanyan106"
- loop all players:
- execute loop-player command "/map2"
- if {map} is 3:
- broadcast "&l今回のMap:&f&aDesert"
- broadcast "&6[製作者] &f&nfutabanyan106"
- loop all players:
- execute loop-player command "/map3"
- if {map} is 4:
- broadcast "&l今回のMap:&f&0Dark The Snow"
- broadcast "&6[製作者] &f&nToppi1228"
- loop all players:
- execute loop-player command "/map4"
- command /map1:
- trigger:
- set {spawn.x} to random integer between 1 and 4
- if {spawn.x} is 1:
- teleport player to {spawn1}
- if {spawn.x} is 2:
- teleport player to {spawn2}
- if {spawn.x} is 3:
- teleport player to {spawn3}
- if {spawn.x} is 4:
- teleport player to {spawn4}
- command /map2:
- trigger:
- set {spawn.l} to random integer between 1 and 4
- if {spawn.l} is 1:
- teleport player to {spawn5}
- if {spawn.l} is 2:
- teleport player to {spawn6}
- if {spawn.l} is 3:
- teleport player to {spawn7}
- if {spawn.l} is 4:
- teleport player to {spawn8}
- command /map3:
- trigger:
- set {spawn.n} to random integer between 1 and 4
- if {spawn.n} is 1:
- teleport player to {spawn9}
- if {spawn.n} is 2:
- teleport player to {spawn10}
- if {spawn.n} is 3:
- teleport player to {spawn11}
- if {spawn.n} is 4:
- teleport player to {spawn12}
- command /map4:
- trigger:
- set {spawn.b} to random integer between 1 and 4
- if {spawn.b} is 1:
- teleport player to {spawn13}
- if {spawn.b} is 2:
- teleport player to {spawn14}
- if {spawn.b} is 3:
- teleport player to {spawn14}
- if {spawn.b} is 4:
- teleport player to {spawn16}
- command /spawnsett <text>:
- permission: tag.spawn
- trigger:
- if arg 1 is "1":
- set {spawn1} to location of player
- message "1"
- if arg 1 is "2":
- set {spawn2} to location of player
- message "2"
- if arg 1 is "3":
- set {spawn3} to location of player
- message "3"
- if arg 1 is "4":
- set {spawn4} to location of player
- message "4"
- if arg 1 is "5": #ここからmap2
- set {spawn5} to location of player
- message "5"
- if arg 1 is "6":
- set {spawn6} to location of player
- message "6"
- if arg 1 is "7":
- set {spawn7} to location of player
- message "7"
- if arg 1 is "8":
- set {spawn8} to location of player
- message "8"
- if arg 1 is "9": #map3
- set {spawn9} to location of player
- message "9"
- if arg 1 is "10":
- set {spawn10} to location of player
- message "10"
- if arg 1 is "11":
- set {spawn11} to location of player
- message "11"
- if arg 1 is "12":
- set {spawn12} to location of player
- message "12"
- if arg 1 is "13": #map4
- set {spawn13} to location of player
- message "13"
- if arg 1 is "14":
- set {spawn14} to location of player
- message "14"
- if arg 1 is "15":
- set {spawn15} to location of player
- message "15"
- if arg 1 is "16":
- set {spawn16} to location of player
- message "16"
- if arg 1 is "delete":
- delete {spawn1}
- delete {spawn2}
- delete {spawn3}
- delete {spawn4}
- delete {spawn5}
- delete {spawn6}
- delete {spawn7}
- delete {spawn8}
- delete {spawn9}
- delete {spawn10}
- delete {spawn11}
- delete {spawn12}
- delete {spawn13}
- delete {spawn14}
- delete {spawn15}
- delete {spawn16}
- message "deleted"
- stop
- command /ma4 delete:
- permission: skript.ad
- trigger:
- delete {spawn13}
- delete {spawn14}
- delete {spawn15}
- delete {spawn16}
- message "aa"
- command /ma3 delete:
- permission: skript.ad
- trigger:
- delete {spawn12}
- delete {spawn11}
- delete {spawn10}
- delete {spawn9}
- message "aa&a"
- command /invv:
- trigger:
- if {inv.%player%} is true:
- execute console command "/effect %player% minecraft:invisibility 3 1 true"
- stop
- if {inv2.%player%} is true:
- execute console command "/effect %player% minecraft:invisibility 5 1 true"
- stop
- if {inv3.%player%} is true:
- execute console command "/effect %player% minecraft:invisibility 10 1 true"
- stop
- on pick up of gold ingot:
- if {sinnsoku.%player%} is true:
- apply speed 2 to the player for 20 tick
- if {sinnsoku2.%player%} is true:
- apply speed 2 to the player for 40 tick
- if {sinnsoku3.%player%} is true:
- apply speed 2 to the player for 1 seconds
- if {luck.%player%} is true:
- chance of 10%:
- give gold ingot to player
- message "&eラッキー"
- if {luck2.%player%} is true:
- chance of 20%:
- give gold ingot to player
- message "&eラッキー"
- if {luck3.%player%} is true:
- chance of 30%:
- give gold ingot to player
- message "&eラッキー"
- message "&a+1xp"
- add 1 to {stats.%player%.xp}
- if number of all gold ingot in player's inventory is greater than 8:
- if player do not have bow:
- chance of 20%:
- give arrow to player
- message "&e&lラッキー 矢が二つ手に入った"
- execute console command "/playsound entity.cat.ambient ambient %player% ~ ~ ~ 1 2"
- give bow to player
- give arrow to player
- wait 5 tick
- remove 10 gold ingot from player's inventory
- execute console command "/playsound item.armor.equip_diamond ambient %player% ~ ~ ~ 1 1"
- stop
- if player has bow:
- give arrow to player
- wait 5 tick
- remove 10 gold ingot from player's inventory
- on rightclick holding gold ingot:
- if number of all gold ingot in player's inventory is greater than 9:
- if player do not have bow:
- chance of 10%:
- give arrow to player
- message "&eラッキー☆ 矢が二つ手に入った"
- execute console command "/playsound entity.cat.ambient ambient %player% ~ ~ ~ 1 2"
- give bow to player
- give arrow to player
- wait 5 tick
- remove 10 gold ingot from player's inventory
- execute console command "/playsound item.armor.equip_diamond ambient %player% ~ ~ ~ 1 1"
- stop
- if player has bow:
- give arrow to player
- wait 5 tick
- remove 10 gold ingot from player's inventory
- else:
- if player do not have 10 gold ingot:
- message "&6弓と交換するには金が足りません!"
- on pick up of bow:
- if player is {oni}:
- cancel event
- stop
- if player has bow:
- cancel event
- stop
- broadcast "&a%player%が&bDetectiveの弓を拾った"
- give arrow to player
- on rightclick holding iron sword:
- if {shot} is 0:
- message "&6もう矢を発射しました!"
- stop
- remove 1 from {shot}
- make the player shoot a arrow at speed 10
- wait 1 seconds
- if {players} is 0:
- broadcast "&cまーだー勝ち"
- wait 5 seconds
- execute console command "/stopgame"
- on leftclick holding bow:
- if player is {oni}:
- if player is sneaking:
- if {shine.%player%} is true:
- execute console command "/effect @a minecraft:glowing 2"
- broadcast "&cMurderが心眼を使った!"
- stop
- if {shine2.%player%} is true:
- execute console command "/effect @a minecraft:glowing 4"
- broadcast "&cMurderが心眼を使った!"
- stop
- if {shine3.%player%} is true:
- execute console command "/effect @a minecraft:glowing 8"
- broadcast "&cMurderが心眼を使った!"
- stop
- command /players:
- permission: skript.ad
- trigger:
- message "&a参加者は%{allplayer::*}%です!"
- message "&d人数は%{member}%です"
- message "&cマーダーは%{oni}%です"
- message "&bDetectiveは%{dete}%です"
- on damage of player:
- if {game} is true:
- if attacker's tool is iron sword:
- if {players} is 1:
- broadcast "&c村人を全員倒した、マーダーの勝利!"
- execute console command "/playsound minecraft:entity.wolf.howl master @a ~ ~ ~ 1 1 1"
- set victim's gamemode to spectator
- wait 1 seconds
- broadcast "&5===================================================="
- broadcast " &6今回のMurder &6Murderを倒した人"
- broadcast " &c%{oni}% いませんでした"
- wait 7 seconds
- execute console command "/stopgame"
- message "&a+30xp" to attacker
- add 30 to {stats.%attacker%.xp}
- add 1 to {stats.%attacker%.kill}
- stop
- set victim's gamemode to spectator
- remove 1 from {players}
- set {death.%victim%} to true
- execute console command "/playsound entity.hostile.hurt master @a ~ ~ ~ 1 1 1"
- message "&a+5xp" to attacker
- add 5 to {stats.%attacker%.xp}
- add 1 to {stats.%attacker%.kill}
- if victim is {dete}:
- drop bow at location of victim
- drop arrow at location of victim
- broadcast "&bDetectiveが倒された"
- loop all players:
- set action bar of loop-player to "&c%victim%が倒された、残り&a%{players}%&c人"
- stop
- if projectile is arrow:
- if victim is {oni}:
- broadcast "&aMurderを倒した、村人の勝利!"
- set {korosu} to attacker
- set victim's gamemode to spectator
- execute console command "/playsound entity.player.levelup master @a ~ ~ ~ 1 1 1"
- message "&a+15xp" to attacker
- add 15 to {stats.%attacker%.xp}
- add 1 to {stats.%attacker%.kill}
- loop all players:
- loop-player is {allplayer::*}:
- add 5 to {stats.%loop-player%.xp}
- message "&a+5xp" to loop-player
- wait 1 seconds
- broadcast " &6今回のMurder &6Murderを倒した人"
- broadcast " &c%{oni}% &a%{korosu}%"
- wait 7 seconds
- execute console command "/stopgame"
- stop
- if attacker is {oni}:
- if {players} is 1:
- broadcast "&c村人を全員倒した、マーダーの勝利!"
- execute console command "/playsound minecraft:entity.wolf.howl master @a ~ ~ ~ 1 1 1"
- set victim's gamemode to spectator
- wait 1 seconds
- broadcast "&5===================================================="
- broadcast " &6今回のMurder &6Murderを倒した人"
- broadcast " &c%{oni}% いませんでした"
- wait 7 seconds
- execute console command "/stopgame"
- message "&a+30xp" to attacker
- add 30 to {stats.%attacker%.xp}
- add 1 to {stats.%attacker%.kill}
- stop
- set victim's gamemode to spectator
- remove 1 from {players}
- set {death.%victim%} to true
- execute console command "/playsound entity.hostile.hurt master @a ~ ~ ~ 1 1 1"
- message "&a+5xp" to attacker
- add 5 to {stats.%attacker%.xp}
- add 1 to {stats.%attacker%.kill}
- if victim is {dete}:
- drop bow at location of victim
- drop arrow at location of victim
- broadcast "&bDetectiveが倒された"
- loop all players:
- set action bar of loop-player to "&c%victim%が倒された、残り&a%{players}%&c人"
- stop
- if victim is {oni}:
- broadcast "&cError"
- execute console command "/stopgame"
- stop
- else:
- set victim's gamemode to spectator
- set attacker's gamemode to spectator
- remove 15 from {stats.%attacker%.xp}
- message "&c-5xp" to attacker
- message "&6Murderではなかったようだ..." to attacker
- execute console command "/playsound entity.wither.spawn master %attacker% ~ ~ ~ 1 1 1"
- remove 2 from {players}
- broadcast "&d誤射:&5攻撃者 %attacker%・&c犠牲者 &e%victim%"
- remove 10 from {stats.%attacker%.xp}
- message "&c-10xp" to attacker
- loop all players:
- if loop-player has permission "sk.admin":
- message "&d誤射&5%attacker%・&e%victim% &6もし自殺だった場合その人をBAN or KICKしてください" to loop-player
- wait 30 tick
- if {players} is 0:
- broadcast "&5村人が誤って村人を倒してしまった、Murderの勝利"
- wait 10 seconds
- execute console command "/stopgame"
- stop
- else:
- cancel event
- if {game} is false:
- cancel event
- command /sinnda:
- permission: skript.ad
- trigger:
- remove 1 from {players}
- command /reloadstats [<text>]:
- aliases: /rs
- trigger:
- if arg 1 is not set:
- if {dete} is not set:
- wipe player's sidebar
- set name of sidebar of player to "&5Murder Mystery"
- set score "&6sisoPixel" in sidebar of player to 1
- set score "" in sidebar of player to 2
- set score "Detective: &bいません" in sidebar of player to 3
- set score "" in sidebar of player to 4
- set score "参加者: &a%{member}%" in sidebar of player to 5
- set score "" in sidebar of player to 6
- set score "Role: %{Role.%player%}%" in sidebar of player to 7
- set score "" in sidebar of player to 8
- stop
- wipe player's sidebar
- set name of sidebar of player to "&5Murder Mystery"
- set score "&6sisoPixel" in sidebar of player to 1
- set score "" in sidebar of player to 2
- set score "Detective: &b%{dete}%" in sidebar of player to 3
- set score "" in sidebar of player to 4
- set score "参加者: &a%{member}%" in sidebar of player to 5
- set score "" in sidebar of player to 6
- set score "Role: %{Role.%player%}%" in sidebar of player to 7
- set score "" in sidebar of player to 8
- stop
- if arg 1 is "deathdev":
- wipe player's sidebar
- set name of sidebar of player to "&5Murder Mystery"
- set score "&6sisoPixel" in sidebar of player to 1
- set score "" in sidebar of player to 2
- set score "Detective: &a死亡" in sidebar of player to 3
- set score "" in sidebar of player to 4
- set score "Time Left: &aTime" in sidebar of player to 5
- set score "Innocent Left: &a%{players}%" in sidebar of player to 6
- set score "" in sidebar of player to 7
- set score "Role: %{Role.%player%}%" in sidebar of player to 8
- set score "" in sidebar of player to 9
- if arg 1 is "lobby":
- wipe player's sidebar
- set name of sidebar of player to "&eしその鯖"
- set score "&6sisoPixel" in sidebar of player to 1
- set score "" in sidebar of player to 2
- set score "XP: &a%{stats.%player%.xp}%" in sidebar of player to 3
- set score "Kills: &c%{stats.%player%.kill}%" in sidebar of player to 4
- set score "&b===Your Stats===" in sidebar of player to 5
- set score "" in sidebar of player to 6
- on first join:
- wait a tick
- set player's gamemode to adventure
- execute console command "/tp %player% 0 4 0"
- set tab header to "&5Murder Mystery" and footer to "&6sisoPixel" for player
- on join:
- wait a tick
- set player's gamemode to adventure
- execute console command "/tp %player% 0 4 0"
- broadcast "&e%player%がサーバーに参加しました"
- execute console command "/clear %player%"
- loop all players:
- set tab header to "&5Murder Mystery" and footer to "&6sisoPixel &a%number of all players%&7/15" for loop-player
- on quit:
- if player is {oni}:
- broadcast "&6鬼が抜けたので強制終了します、※ゲーム中にサーバーを抜けるのは控えてください"
- execute console command "/stopgame"
- stop
- if player is {allplayer::*}:
- if {death.%player%} is true:
- remove 1 from {member}
- stop
- if player is {allplayer::*}:
- remove 1 from {players}
- remove 1 from {member}
- command /setxp <player> <number>:
- permission: skript.setxp
- trigger:
- set {stats.%arg 1%.xp} to arg 2
- broadcast "&e%player%&9さんが&b%arg 1%&9さんの所持xpを&a%arg 2%xp&9にしました。"
- execute arg 1 command "/rs lobby"
- command /setkill <player> <number>:
- permission: skript.setkill
- trigger:
- set {stats.%arg 1%.kill} to arg 2
- broadcast "&e%player%&9さんが&b%arg 1%&9さんのKillを&c%arg 2%&9Killにしました。"
- execute arg 1 command "/rs lobby"
- command /addxp <player> <number>:
- permission: skript.ad
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- add arg 2 to {stats.%arg 1%.xp}
- broadcast "&e%player%&9さんが&b%arg 1%&9さんの所持xpを&a%arg 2%xp&9増やしました。"
- execute arg 1 command "/rs lobby"
- stop
- if arg 1 is not set:
- loop all players:
- add 10 to {stats.%loop-player%.xp}
- execute loop-player command "/rs lobby"
- broadcast "66全員のxpを10増やしました!"
- stop
- command /Role <text>:
- trigger:
- if arg 1 is "murder":
- set {Role.%player%} to "&cMurder"
- stop
- if arg 1 is "Innocent":
- set {Role.%player%} to "&aInnocent"
- stop
- if arg 1 is "detective":
- set {Role.%player%} to "&bDetective"
- stop
- on drop:
- if player do not have permission "sk.admin":
- cancel event
- on command "fun":
- message "つかうな失せろ"
- cancel event
- on command "kifumenu":
- message "つかうな失せろ"
- cancel event
- command /fun:
- trigger:
- stop
- command /funmenu:
- trigger:
- stop
- on right click on a villager:
- wait 1 ticks
- open chest with 2 row named "&6Perkの購入" to player
- format slot 0 of player with experience bottle named "&bXP : &e%{stats.%player%.xp}%" to close
- if {sinnsoku.%player%} is true:
- if {stats.%player%.xp} >= 700:
- format slot 2 of player with sugar named "&9&l神速Lv2" with lore "&d金を取ると足が速くなります。&a(700xp)" to close then run [execute player command "/pay sinnsoku2"]
- if {stats.%player%.xp} <= 700:
- format slot 2 of player with sugar named "&9&l神速Lv2" with lore "&d金を取ると足が速くなります。&c(あなたは購入条件を満たしてません!) &6(必要xp=700)" to be unstealable
- stop
- else:
- if {stats.%player%.xp} >= 500:
- format slot 2 of player with sugar named "&9&l神速" with lore "&d金を取ると足が速くなります。&a(500xp)" to close then run [execute player command "/pay sinnsoku"]
- else:
- format slot 2 of player with sugar named "&9&l神速" with lore "&d金を取ると足が速くなります。&c(あなたは購入条件を満たしてません!) &6(必要xp=500)" to be unstealable
- if {sinnsoku2.%player%} is true:
- if {stats.%player%.xp} >= 1000:
- format slot 2 of player with sugar named "&9&l神速Lv3" with lore "&d金を取ると足が速くなります。&a(1000xp)" to close then run [execute player command "/pay sinnsoku3"]
- if {stats.%player%.xp} <= 1000:
- format slot 2 of player with sugar named "&9&l神速Lv3" with lore "&d金を取ると足が速くなります。&c(あなたは購入条件を満たしてません!) &6(必要xp=1000)" to be unstealable
- if {sinnsoku3.%player%} is true:
- format slot 2 of player with sugar named "&b&l神速 &aComplete!!" to be unstealable
- #luck
- if {luck.%player%} is true:
- if {stats.%player%.xp} >= 800:
- format slot 3 of player with gold ingot named "&e&lラッキーLv2" with lore "&d金を取った時20%%の確率でもう一個金が手に入ります。&a(800xp)" to close then run [execute player command "/pay luck2"]
- if {stats.%player%.xp} <= 800:
- format slot 3 of player with gold ingot named "&e&lラッキーLv2" with lore "&d金を取った時20%%の確率でもう一個金が手に入ります。&c(あなたは購入条件を満たしてません!) &6(必要xp=800)" to be unstealable
- stop
- else:
- if {stats.%player%.xp} >= 600:
- format slot 3 of player with gold ingot named "&e&lラッキー" with lore "&d金を取った時10%%の確率でもう一個金が手に入ります。&a(600xp)" to close then run [execute player command "/pay luck"]
- else:
- format slot 3 of player with gold ingot named "&e&l神速" with lore "&d金を取った時10%%の確率でもう一個金が手に入ります。&c(あなたは購入条件を満たしてません!) &6(必要xp=600)" to be unstealable
- if {luck2.%player%} is true:
- if {stats.%player%.xp} >= 1000:
- format slot 3 of player with gold ingot named "&e&lラッキーLv3" with lore "&d金を取った時30%%の確率でもう一個金が手に入ります。&a(1000xp)" to close then run [execute player command "/pay luck3"]
- if {stats.%player%.xp} <= 1000:
- format slot 3 of player with gold ingot named "&e&l神速Lv3" with lore "&d金を取った時30%%の確率でもう一個金が手に入ります。&c(あなたは購入条件を満たしてません!) &6(必要xp=1000)" to be unstealable
- if {luck3.%player%} is true:
- format slot 3 of player with gold ingot named "&e&lラッキー &aComplete!!" to be unstealable
- #心眼
- if {shine.%player%} is true:
- if {stats.%player%.xp} >= 350:
- format slot 11 of player with Pumpkin named "&5&l心眼Lv2" with lore "&d弓を右クリックすると全プレイヤーが光ります、鬼のみ使用可能。 &a(350xp)" to close then run [execute player command "/pay shine2"]
- if {stats.%player%.xp} <= 350:
- format slot 11 of player with Pumpkin named "&5&l心眼Lv2" with lore "&d弓を右クリックすると全プレイヤーが光ります、鬼のみ使用可能。 &c(あなたは購入条件を満たしてません!) &6(必要xp=350)" to be unstealable
- stop
- else:
- if {stats.%player%.xp} >= 150:
- format slot 11 of player with Pumpkin named "&5&l心眼" with lore "&d弓を右クリックすると全プレイヤーが光ります、鬼のみ使用可能。&a(150xp)" to close then run [execute player command "/pay shine"]
- else:
- format slot 11 of player with Pumpkin named "&5&l心眼" with lore "&d弓を右クリックすると全プレイヤーが光ります、鬼のみ使用可能。&c(あなたは購入条件を満たしてません!) &6(必要xp=150)" to be unstealable
- if {shine2.%player%} is true:
- if {stats.%player%.xp} >= 500:
- format slot 11 of player with Pumpkin named "&5&l心眼Lv3" with lore "&d弓を右クリックすると全プレイヤーが光ります、鬼のみ使用可能。&a(500xp)" to close then run [execute player command "/pay shine3"]
- if {stats.%player%.xp} <= 1000:
- format slot 11 of player with Pumpkin named "&5&l心眼Lv3" with lore "&d弓を右クリックすると全プレイヤーが光ります、鬼のみ使用可能。&c(あなたは購入条件を満たしてません!) &6(必要xp=500)" to be unstealable
- if {shine3.%player%} is true:
- format slot 11 of player with Pumpkin named "&5&l心眼 &aComplete!!" to be unstealable
- #透明
- if {inv.%player%} is true:
- if {stats.%player%.xp} >= 450:
- format slot 4 of player with Bone named "&7&l透明Lv2" with lore "&d開始時に透明が付きます。 &a(450xp)" to close then run [execute player command "/pay inv2"]
- if {stats.%player%.xp} <= 450:
- format slot 4 of player with Bone named "&7&l透明Lv2" with lore "&d開始時に透明が付きます。 &c(あなたは購入条件を満たしてません!) &6(必要xp=450)" to be unstealable
- stop
- else:
- if {stats.%player%.xp} >= 130:
- format slot 4 of player with Bone named "&7&l透明" with lore "&d開始時に透明が付きます。&a(130xp)" to close then run [execute player command "/pay inv"]
- else:
- format slot 4 of player with Bone named "&7&l透明" with lore "&d開始時に透明が付きます。&c(あなたは購入条件を満たしてません!) &6(必要xp=130)" to be unstealable
- if {inv2.%player%} is true:
- if {stats.%player%.xp} >= 1200:
- format slot 4 of player with Bone named "&7&l透明Lv3" with lore "&d開始時に透明が付きます。&a(1200xp)" to close then run [execute player command "/pay inv3"]
- if {stats.%player%.xp} <= 1200:
- format slot 4 of player with Bone named "&7&l透明Lv3" with lore "&d開始時に透明が付きます。&c(あなたは購入条件を満たしてません!) &6(必要xp=1200)" to be unstealable
- if {inv3.%player%} is true:
- format slot 4 of player with Bone named "&7&l透明 &aComplete!!" to be unstealable
- command /pay <text>:
- trigger:
- if arg 1 is "sinnsoku":
- broadcast "&e%player%が&9&l神速&6を購入しました!"
- set {sinnsoku.%player%} to true
- remove 500 from {stats.%player%.xp}
- if arg 1 is "sinnsoku2":
- broadcast "&e%player%が&b&l神速Lv2&6を購入しました!"
- delete {sinnsoku.%player%}
- set {sinnsoku2.%player%} to true
- remove 700 from {stats.%player%.xp}
- if arg 1 is "sinnsoku3":
- broadcast "&e%player%が&b&l神速Lv3&6を購入しました!"
- delete {sinnsoku2.%player%}
- set {sinnsoku3.%player%} to true
- remove 1000 from {stats.%player%.xp}
- #ちゃう
- if arg 1 is "luck":
- broadcast "&e%player%が&e&lラッキー&6を購入しました!"
- set {luck.%player%} to true
- remove 600 from {stats.%player%.xp}
- if arg 1 is "luck2":
- broadcast "&e%player%が&e&lラッキーLv2&6を購入しました!"
- delete {luck.%player%}
- set {luck2.%player%} to true
- remove 800 from {stats.%player%.xp}
- if arg 1 is "luck3":
- broadcast "&e%player%が&e&lラッキーLv3&6を購入しました!"
- delete {luck2.%player%}
- set {luck3.%player%} to true
- remove 1000 from {stats.%player%.xp}
- #しんがん
- if arg 1 is "shine":
- broadcast "&e%player%が&5&l心眼&6を購入しました!"
- set {shine.%player%} to true
- remove 150 from {stats.%player%.xp}
- if arg 1 is "shine2":
- broadcast "&e%player%が&5&l心眼Lv2&6を購入しました!"
- delete {shine.%player%}
- set {shine2.%player%} to true
- remove 350 from {stats.%player%.xp}
- if arg 1 is "shine3":
- broadcast "&e%player%が&5&l心眼Lv3&6を購入しました!"
- delete {shine2.%player%}
- set {shine3.%player%} to true
- remove 500 from {stats.%player%.xp}
- #inv
- if arg 1 is "inv":
- broadcast "&e%player%が&7&l透明さん&6を購入しました!"
- set {inv.%player%} to true
- set {invs.%player%} to true
- remove 130 from {stats.%player%.xp}
- if arg 1 is "inv2":
- broadcast "&e%player%が&7&l透明さんLv2&6を購入しました!"
- delete {inv.%player%}
- set {inv2.%player%} to true
- remove 450 from {stats.%player%.xp}
- if arg 1 is "inv3":
- broadcast "&e%player%が&7&l透明さんLv3&6を購入しました!"
- delete {inv2.%player%}
- set {inv3.%player%} to true
- remove 1200 from {stats.%player%.xp}
- every 10 minutes:
- execute console command "/me ビルダー募集してます Discord→https://discord.gg/PXtdk5Q"
- command /slot:
- trigger:
- message "&eXPギャンブルスタート!"
- message "&c-5xp"
- remove 5 from {stats.%player%.xp}
- wait 1 seconds
- message "&6・"
- wait 1 seconds
- message "&6・・"
- wait 1 seconds
- message "&6・・・"
- wait 1 seconds
- chance of 50%:
- message "&e勝ち!!!!"
- add 10 to {stats.%player%.xp}
- message "&a+10xp"
- execute player command "/rs lobby"
- if {game} is true:
- execute player command "/rs"
- stop
- message "&7負け..."
- execute player command "/rs lobby"
- if {game} is true:
- execute player command "/rs"
- #Report
- command /report [<player>] [<text>]:
- aliases: /rp
- trigger:
- if arg 1 is not set:
- message "&8&m----------------------------"
- message "/rp &c(player) &9(reson)"
- message "&8&m----------------------------"
- stop
- if arg 2 is not set:
- message "&8&m----------------------------"
- message "/rp &c(player) &9(reson)"
- message "&8&m----------------------------"
- stop
- add 1 to {log.hensuu}
- set {log::%{log.hensuu}%} to "%player%が報告 &c%arg 1% &9%arg 2%"
- play sound "entity.villager.ambient" at player
- loop all players:
- if loop-player is op:
- message "%player%が報告 &c%arg 1% &9%arg 2%"
- command /clogs:
- permission: skript.admin
- trigger:
- set {c.logs} to 1
- loop {log.hensuu} times:
- message "%{log::%{c.logs}%}%"
- add 1 to {c.logs}
- play sound "block.fire.extinguish" at player
- command /resetlogs:
- permission: skript.ad
- trigger:
- message "&cリセットしました。"
- set {log.hensuu} to 0
- play sound "block.anvil.place" at player
- loop all players:
- delete {sinnsoku.%loop-player%}
- command /fuckoff <text>:
- trigger:
- if arg 1 is "sinnsoku":
- delete {sinnsoku.%player%}
- delete {sinnsoku2.%player%}
- message "deleted"
- on rightclick on a cow:
- if player has 1 gold ingot:
- remove 1 gold ingot from player's inventory
- apply speed 2 to the player for 20 seconds
- command /tabchange [<text>] [<text>]:
- aliases: /tc
- permission: skript.ad
- trigger:
- play sound "entity.itemframe.place" at player
- if arg 1 is not set:
- message "&8使い方"
- message "&a&0/tabchange &5(text) &5(text) &7※/tc"
- loop all players:
- set tab header to "%colored arg-1%" and footer to "%colored arg-2%" for loop-player
- stop
- on rightclick holding paper:
- name of held item contains "100円寄付ありがとう"
- add 10 to {stats.%player%.xp}
- message "&a+10xp"
- execute player command "/rs lobby"
- remove 1 of held item from player
- on rightclick holding paper:
- name of held item contains "500円寄付ありがとう"
- add 50 to {stats.%player%.xp}
- execute player command "/rs lobby"
- message "&a+50xp"
- remove 1 of held item from player
- on rightclick holding paper:
- name of held item contains "vote特典"
- add 100 to {stats.%player%.xp}
- message "&a+100xp"
- broadcast "&e%player%&6さんが投票で&a100XP&6を手に入れました!"
- execute player command "/rs lobby"
- remove 1 of held item from player
- on rightclick holding paper:
- name of held item contains "ガチャ"
- remove 1 of held item from player
- set {g} to random integer between 1 and 4
- if {g} is 1:
- add 100 to {stats.%player%.xp}
- message "&a+100xp"
- broadcast "&e%player%&6がガチャ券で&a+100XP&6された"
- if {g} is 2:
- add 50 to {stats.%player%.xp}
- message "&a+50xp"
- if {g} is 3:
- add 10 to {stats.%player%.xp}
- message "&a+10xp"
- if {g} is 4:
- message "&9大チャンスの予感!!"
- wait 3 seconds
- chance of 60:
- add 150 to {stats.%player%.xp}
- message "&a+100xp"
- broadcast "&e%player%&bがガチャ券で大当たりを出した!!"
- stop
- message "予感は外れた..."
- execute player command "/rs lobby"
- remove 1 of held item from player
- command /murder:
- permission: skript.ad
- trigger:
- message "/startでスタート"
- message "/opjoin off/on でOPの参加を変える"
- message "/stoprestart on/off でリスタートのおんおふ"
- message "/stopgame で終了(バグが起きたときだけつかって)"
- message "&a/opjoin をオフにするとDetectiveが選ばれなくなるバグがあるから控えて"
- message "&a参加したくないときは、/sinndaをやって作業して"
- message "&6コマンドを不正に使ってる人いたらBANしね"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement