Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- loop all players:
- if {lobby.%loop-player%} is true:
- teleport player to {worldspawn.%player%}
- force respawn player
- execute console command "/gamemode 2 %player%"
- loop 9999999999999999999999 times:
- wait 10 ticks
- set the loop-player's food level to 10
- if {default.%player%} is set:
- set join message to "&7%player% &ejoin."
- set the player's display name to "&7%player%"
- set tablist name of player to "&7%player%"
- if {vip.%player%} is set:
- set join message to "&a[VIP] %player% &6joined the lobby!"
- set the player's display name to "&a[VIP] %player%"
- set tablist name of player to "&a[VIP] %player%"
- if {vip+.%player%} is set:
- set join message to "&a[VIP&6+&a] %player% &6joined the lobby!"
- set the player's display name to "&a[VIP&6+&a] %player%"
- set tablist name of player to "&a[VIP&6+&a] %player%"
- if {mvp.%player%} is set:
- set join message to "&9>&c>&a> &b[MVP] %player% &6joined the lobby! &a<&c<&b<"
- set the player's display name to "&b[MVP] %player%"
- set tablist name of player to "&b[MVP] %player%"
- if {mvp+.%player%} is set:
- set join message to "&9>&c>&a> &b[MVP&c+&b] %player% &6joined the lobby! &a<&c<&b<"
- set the player's display name to "&b[MVP&c+&b] %player%"
- set tablist name of player to "&b[MVP&c+&b] %player%"
- if {proservercreator.%player%} is set:
- set join message to "&9>&c>&a> &c[&fPRO SERVER CREATOR&c] %player% &6joined the lobby! &a<&c<&b<"
- set the player's display name to "&c[&fPRO SERVER CREATOR&c] %player%"
- set tablist name of player to "&c[&fPRO SERVER CREATOR&c] %player%"
- if {admin.%player%} is set:
- set join message to "&9>&c>&a> &c[ADMIN] %player% &6joined the lobby! &a<&c<&9<"
- set the player's display name to "&c[ADMIN] %player%"
- set tablist name of player to "&c[ADMIN] %player%"
- on quit:
- loop all players:
- if {lobby.%loop-player%} is true:
- set quit message to "&7%player% &eleft."
- on first join:
- loop all players:
- if {lobby.%loop-player%} is true:
- teleport player to {worldspawn.%player%}
- set join message to "&7%player% &efirst join."
- force respawn player
- execute console command "/setrank %player% default"
- execute console command "/gamemode 2 %player%"
- set {kill.%player%} to 0
- set {coins.%player%} to 0
- set {wins.%player%} to 0
- set {gamekill.%player%} to 0
- set {gamegold.%player%} to 0
- send "&c"
- send "&a&lTHANK YOU FOR JOINING!"
- send "&c"
- on death of player:
- loop all players:
- if {lobby.%loop-player%} is true:
- set death message to "&7%victim% &eはなぜかロビーで死んだ。"
- force respawn player
- on damage:
- loop all players:
- if {lobby.%loop-player%} is true:
- cancel event
- on break:
- loop all players:
- if {lobby.%loop-player%} is true:
- player do not have permission "skript.admin"
- cancel event
- on place:
- loop all players:
- if {lobby.%player%} is true:
- player do not have permission "skript.admin"
- cancel event
- on pick up:
- loop all players:
- if {lobby.%loop-player%} is true:
- cancel event
- every 2 seconds:
- loop all players:
- if {lobby.%loop-player%} is true:
- {sidebar.%loop-player%} is true
- wipe loop-player's sidebar
- set name of sidebar of loop-player to "&e&lTHE WALLS"
- set score "&l" in sidebar of loop-player to 10
- set score "&fRanks: %{ranks.%loop-player%}%" in sidebar of loop-player to 9
- set score "&a" in sidebar of loop-player to 8
- set score "&fTotal Kills: &a%{kill.%loop-player%}%" in sidebar of loop-player to 7
- set score "&fTotal Wins: &a%{wins.%loop-player%}%" in sidebar of loop-player to 6
- set score "&e" in sidebar of loop-player to 5
- set score "&fPlayers: &a%number of all players%" in sidebar of loop-player to 4
- set score "&c" in sidebar of loop-player to 3
- set score "&fCoins: &6%{coins.%loop-player%}%" in sidebar of loop-player to 2
- set score "&7" in sidebar of loop-player to 1
- set score "&eplay.rezxis.net" in sidebar of loop-player to 0
- command /score <text> <player> <text> <int>:
- permission: skript.admin
- permission: &cNo permission
- usage: &cUsage: /score <add / remove> <player> <kills / wins / coins>
- trigger:
- if arg-1 is "add":
- if arg-3 is "kills":
- add arg-4 to {kill.%player%}
- send "&7%arg-2% &aに &6%arg-4% &aキル追加しました。" to arg-2
- send "&aスタッフにより &6%arg-4% &aキル追加されました。" to arg-2
- if arg-3 is "wins":
- add arg-4 to {wins.%player%}
- send "&7%arg-2% &aに &6%arg-4% &aウィン追加しました。" to arg-2
- send "&aスタッフにより &6%arg-4% &aウィン追加されました。" to arg-2
- if arg-3 is "coins":
- add arg-4 to {coins.%player%}
- send "&7%arg-2% &aに &6%arg-4% &aコイン追加しました。" to arg-2
- send "&aスタッフにより &6%arg-4% &aコイン追加されました。" to arg-2
- if arg-1 is "remove":
- if arg-3 is "kills":
- remove arg-4 from {kill.%player%}
- send "&7%arg-2% &aから &6%arg-4% &aキル剥奪しました。" to arg-2
- send "&aスタッフにより &6%arg-4% &aキル剥奪されました。" to arg-2
- if arg-3 is "wins":
- remove arg-4 from {wins.%player%}
- send "&7%arg-2% &aから &6%arg-4% &aウィン剥奪しました。" to arg-2
- send "&aスタッフにより &6%arg-4% &aウィン剥奪されました。" to arg-2
- if arg-3 is "coins":
- remove arg-4 from {coins.%player%}
- send "&7%arg-2% &aから &6%arg-4% &aコイン剥奪しました。" to arg-2
- send "&aスタッフにより &6%arg-4% &aコイン剥奪されました。" to arg-2
- command /setrank <offline player> <text>:
- usage: &cUsage: /setrank <player> <rank> &7/ &lランク: &7DEFAULT &aVIP &aVIP&6+ &bMVP &bMVP&c+ &cPROSERVERCREATOR &cADMIN
- permission: skript.admin
- permission message: &cNo permission
- trigger:
- if arg-2 is "default":
- set {ranks.%arg-1%} to "&7DEFAULT"
- send "&7DEFAULT &aランクを入手しました!" to arg-1
- set {default.%player%} to arg-1
- set the arg-1's display name to "&7%player%"
- set tablist name of arg-1 to "&7%player%"
- delete {vip.%player%}
- delete {vip+.%player%}
- delete {mvp.%player%}
- delete {mvp+.%player%}
- delete {proservercreator.%player%}
- delete {admin.%player%}
- scoreboard(player)
- if arg-2 is "vip":
- set {ranks.%arg-1%} to "&aVIP"
- send "&aVIP ランクを入手しました!" to arg-1
- remove arg-1 from {default.%player%}
- set {vip.%player%} to arg-1
- set the arg-1's display name to "&a[VIP] %player%"
- set tablist name of arg-1 to "&a[VIP] %player%"
- delete {default.%player%}
- delete {vip+.%player%}
- delete {mvp.%player%}
- delete {mvp+.%player%}
- delete {proservercreator.%player%}
- delete {admin.%player%}
- scoreboard(player)
- if arg-2 is "vip+":
- set {ranks.%arg-1%} to "&aVIP&6+"
- send "&aVIP&6+ &aランクを入手しました!" to arg-1
- set {vip+.%player%} to arg-1
- set the arg-1's display name to "&a[VIP&6+&a] %player%"
- set tablist name of arg-1 to "&a[VIP&6+&a] %player%"
- delete {vip.%player%}
- delete {default.%player%}
- delete {mvp.%player%}
- delete {mvp+.%player%}
- delete {proservercreator.%player%}
- delete {admin.%player%}
- scoreboard(player)
- if arg-2 is "mvp":
- set {ranks.%arg-1%} to "&bMVP"
- send "&bMVP &aランクを入手しました!" to arg-1
- set {mvp.%player%} to arg-1
- set the arg-1's display name to "&b[MVP] %player%"
- set tablist name of arg-1 to "&b[MVP] %player%"
- delete {vip.%player%}
- delete {vip+.%player%}
- delete {default.%player%}
- delete {mvp+.%player%}
- delete {proservercreator.%player%}
- delete {admin.%player%}
- scoreboard(player)
- if arg-2 is "mvp+":
- set {ranks.%arg-1%} to "&bMVP&c+"
- send "&bMVP&c+ &aランクを入手しました!" to arg-1
- set {mvp+.%player%} to arg-1
- set the arg-1's display name to "&b[MVP&c+&b] %player%"
- set tablist name of arg-1 to "&b[MVP&c+&b] %player%"
- delete {vip.%player%}
- delete {vip+.%player%}
- delete {mvp.%player%}
- delete {default.%player%}
- delete {proservercreator.%player%}
- delete {admin.%player%}
- scoreboard(player)
- if arg-2 is "proservercreator":
- set {ranks.%arg-1%} to "&cPRO SERVER CREATOR"
- send "&cPRO SERVER CREATOR &aランクを入手しました!" to arg-1
- set {proservercreator.%player%} to arg-1
- set the arg-1's display name to "&c[&fPRO SERVER CREATOR&c] %player%"
- set tablist name of arg-1 to "&c[&fPRO SERVER CREATOR&c] %player%"
- delete {vip.%player%}
- delete {vip+.%player%}
- delete {mvp.%player%}
- delete {mvp+.%player%}
- delete {default.%player%}
- delete {admin.%player%}
- scoreboard(player)
- if arg-2 is "admin":
- set {ranks.%arg-1%} to "&cADMIN"
- send "&cADMIN &aランクを入手しました!" to arg-1
- set {admin.%player%} to arg-1
- set the arg-1's display name to "&c[ADMIN] %player%"
- set tablist name of arg-1 to "&c[ADMIN] %player%"
- delete {vip.%player%}
- delete {vip+.%player%}
- delete {mvp.%player%}
- delete {mvp+.%player%}
- delete {proservercreator.%player%}
- delete {default.%player%}
- scoreboard(player)
- command /pl:
- trigger:
- send "&fPlugins (1): &aSkript"
- command /plugins:
- trigger:
- send "&fPlugins (1): &aSkript"
- command /setworldspawns:
- permission: skritp.admin
- trigger:
- send "&aスポーン地点をセットしたなり"
- set {worldspawn.%player%} to location of player
- command /testscore <player> <text>:
- trigger:
- if arg-2 is "on":
- {testbar.%arg-1%} is true
- wipe player's sidebar
- set name of sidebar of arg-1 to "&a&l現在メンテナンス"
- set score "&a&l現在メンテナンス" in sidebar of arg-1 to 0
- if arg-1 is "off":
- {testbar.%arg-1%} is false
- wipe arg-1's sidebar
- command /repair <player> <text>:
- permission: skript.admin
- trigger:
- if arg-2 is "lobby":
- execute console command "/gamemode 2 %arg-1%"
- execute console command "/setrank %arg-1% default"
- set {lobby.%arg-1%} to true
- if arg-2 is "game":
- execute console command "/gamemode 3 %arg-1%"
- execute console command "/setrank %arg-1% default"
- set {game.%arg-1%} to true
Advertisement
Add Comment
Please, Sign In to add comment