Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- every ticks:
- loop all players:
- if loop-player's tool is slimeball:
- if {kakure.%loop-player%} is greater or equal to 1:
- hide the loop-player from all players
- execute console command "/title %loop-player% actionbar {""text"":""\u96a0\u308c\u7389\u4f7f\u7528\u4e2d \u2026 %{kakure.%loop-player%}%"",""bold"":true,""color"":""blue""}"
- set {kakureset.%loop-player%} to "true"
- else:
- if loop-player's tool is slimeball:
- if {kakure.%loop-player%} is 0:
- execute console command "/title %loop-player% actionbar {""text"":""\u96a0\u308c\u7389\u306f\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093"",""bold"":true,""color"":""blue""}"
- reveal the loop-player from all players
- execute console command "/effect %loop-player% 8 0"
- execute console command "/effect %loop-player% 2 0"
- set {kakureset.%loop-player%} to "false"
- if loop-player's tool is air:
- reveal the loop-player from all players
- execute console command "/effect %loop-player% 8 0"
- execute console command "/effect %loop-player% 2 0"
- set {kakureset.%loop-player%} to "false"
- command /kakureset <player>:
- permission: skript.admin
- trigger:
- set {kakure.%arg-1%} to 15
- every 1 second:
- loop all players:
- if {kakureset.%loop-player%} is "true":
- remove 1 from {kakure.%loop-player%}
- execute console command "effect %loop-player% 8 1 250 true"
- execute console command "effect %loop-player% 2 1 1 true"
- command /show [<player>]:
- permission: skript.admin
- trigger:
- reveal the arg-1 from all players
Add Comment
Please, Sign In to add comment