Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- owner: LMB_BobSigekun
- system: &7[&aSystem&7]
- variables:
- {Status.%player%.prefix} = "&7Newbie"
- {Class.%player%.level} = 0
- {Class.%player%.name} = "&7Visitor"
- {Player.%player%.money} = 100
- {Player.%player%.txp} = 0 #今まで取得した獲得総経験値
- {Player.%player%.nxp} = 0 #現レベルからレベルアップに必要な経験値
- {Player.%player%.hxp} = 0 #取得している現レベルでの経験値
- on join:
- set join message to "&7[&a+&7] &7[%{Status.prefix}%&7]&a%player%"
- set {_j} to "lobby"
- teleport the player to {SpawnPoint::%{_j}%}
- command /addspawn <text>:
- trigger:
- if name of player is "{@owner}":
- set {SpawnPoint::%arg%} to location of player
- send "{@system} 座標&e(%{SpawnPoint::%arg%}%) &7を &a&n%arg%&r &7で保存しました。"
- command /deletespawn <text>:
- trigger:
- if name of player is "{@owner}":
- delete {SpawnPoint::%arg%}
- command /spawnlist:
- trigger:
- loop {SpawnPoint::*}:
- send "&a[Name: &b%loop-index% &ePoint: &b %loop-value% &a]"
- command /setstatus <player> <text> <text>:
- usage: /setstatus <player> <text> <text> {Status.arg1.arg2} <- arg3
- trigger:
- if name of player is "{@owner}":
- send "{@system} &a%player% &7の &e%arg 2% &7を &e&n%arg 3%&r &7に設定しました。" to player
- set {Status.%arg-1%.%arg-2%} to arg-3
- play sound "block.note.pling" with volume 1 with pitch 2 at player
- every second:
- loop all players:
- wipe loop-player's sidebar
- set loop-player's tablist name to "&f&l|%{Class.%loop-player%.name}%Lv.%{Class.%loop-player%.level}%&f&l|%loop-player%"
- set name of sidebar of loop-player to "&4&l[ ☠&c&lBobGachaPvP&4&l☠ ]"
- set score "&7おっはー!" in sidebar of loop-player to 10
- if {Match} is not true:
- set score "&aXP: %{Class.%loop-player%.xp}%" in sidebar of loop-player to 9
- if {Match} is true:
- if {Gamemode} is 1:
- set score "&e-- &aTeamScore &e--" in sidebar of loop-player to 9
- set score "&c&nRedTeam %{Match.Red.Score}%" in sidebar of loop-player to 8
- set score "&9%nBlueTeam %{Match.Blue.Score}%" in sidebar of loop-player to 7
- set score "&e-- &6制限時間 &e--" in sidebar of loop-player to 6
- set score "&a残り: &a&n%{Match.time.min}%:%{Match.time.sec1}%%{Match.time.sec2}%" in sidebar of loop-player to 5
- if {Match.time.sec2} is not 0:
- remove 1 from {Match.time.sec2}
- if {Match.timesec.sec2} is 0:
- if {Match.time.sec1} is 0:
- if {Match.time.min} is 0:
- broadcast "{@system} 試合終了"
- if {Match.time.min} is not 0:
- remove 1 from {Match.time.min}
- set {Match.time.sec1} to 5
- set {Match.time.sec2} to 9
- if {Match.time.sec1} is not 0:
- remove 1 from {Match.time.sec1}
- set {Match.time.sec2} to 9
- set action bar of loop-player to "&4♥ %loop-player's health%/%loop-player's max health%"
- command /health <player> <number>:
- trigger:
- set {_player} to arg 1
- set {_player}'s max health to arg 2
- set {_player}'s health to arg 2
- set {_player}'s scaled health to 20
- command /paper <text=list> <number>:
- permission: skript.admin
- trigger:
- if arg 1 is "list":
- send "{@system} &9Armour &cWeapon &aItem &6Special"
- send "{@system} &7各項目の頭文字を&a&narg-1&r&7に入力してください。"
- stop
- if arg 1 is "W":
- give player paper named "&a&lGachaCapsule - &c&nWeapon" with lore "&e右クリックで武器ガチャを回せます。"
- command /startdoor:
- trigger:
- if name of player is "{@owner}":
- loop {player::*}:
- set {oni} to random player out of {player::*}
- give {oni} lever named "&bタッチペン" with lore "&6&nワンパンします|&b&l鬼専用"
- on damage:
- if {attack.%attacker%} is true:
- cancel event
- send "{@system} &cStungun食らってますよ~w" to attacker
- on rightclick on torch:
- give player torch named "&eTorch" with lore "&7右クリックで周りを照らす"
- on rightclick:
- if name of player's tool is "&eTorch":
- apply ambient night vision 1 to player for 1 second
- remove torch from player's inventory
- play sound "item.firecharge.use" with volume 1 with pitch 0 at player
- set {_n} to random integer between 1 and 3
- chance of 1%:
- set {_n} to 4
- if {_n} is 1:
- send "{@system} &7松明のか弱き灯火が暗い迷路を照らす・・・。"
- if {_n} is 2:
- send "{@system} &7心細い光だ・・・。"
- if {_n} is 3:
- send "{@system} &7松明の音は鬼に聞こえる・・・注意を払おう。"
- if {_n} is 4:
- broadcast "{@system} &a&lやーいれいかーのうんかすーwwwwwww"
- if name of player's tool is "&a&lGachaCapsule - &c&nWeapon":
- set {_n} to random integer between 1 and 100
- if {_n} is less than 70:
- give player paper named "&fはずれw" with lore "残念!君はれいかーだ!"
- if {_n} is bigger than 69:
- give player ender pearl named "&dれいかす" with lore "一応あたり"
- on break:
- if name of player's tool contain "pickaxe" or "つるはし":
- cancel event
- set {_p} to random integer between 1 and 7
- if event block is coal ore:
- play sound "entity.item.pickup" with volume 1 with pitch 1.{_p} at player
- on rightclick on player:
- if name of player's tool is "&eStungun":
- if {attack.%clicked player%} is not true:
- apply ambient blindness 5 to clicked player for 5 seconds
- apply ambient slowness 10 to clicked player for 5 seconds
- set {attack.%clicked player%} to true
- send "{@system} &e&lOh! It's a Stungun!" to clicked player
- wait 5 seconds
- set {attack.%clicked player%} to false
- if {attack.%clicked player%} is true:
- send "{@system} 無限ハメ出来ちゃうんで重ねがけは、だめです。" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement