SHARE
TWEET

Untitled

a guest Jun 19th, 2017 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command /v [<text>]:
  2.     permission: craftowe.vanish
  3.     permission message: &6&lC&e&lraftowe &8>>> &cNie masz permisji do tej komendy!
  4.     aliases: vanish
  5.     trigger:
  6.         if {v::%player%} is not set:
  7.             set {v::%player%} to true
  8.             send "&6&lC&e&lraftowe &8>>> &3Od teraz jestes niewidzialny!"
  9.             loop all players:
  10.                 if loop-player don't have permission "diwad.vanishwidze":
  11.                     add loop-player to {_g::*}
  12.             hide player from {_g::*}
  13.             stop
  14.         if {v::%player%} is set:
  15.             clear {v::%player%}
  16.             send "&6&lC&e&lraftowe &8>>> &3Od teraz jestes widzialny!"
  17.             reveal player to all players
  18.             stop
  19. on pickup:
  20.     if {v::%player%} is set:
  21.         cancel event
  22. command /vanish [<text>]:
  23.     permission: craftowe.vanish
  24.     permission message: &6&lC&e&lraftowe &8>>> &cNie masz permisji do tej komendy!
  25.     aliases: vanish
  26.     trigger:
  27.         if {v::%player%} is not set:
  28.             set {v::%player%} to true
  29.             send "&6&lC&e&lraftowe &8>>> &3Od teraz jestes niewidzialny!"
  30.             loop all players:
  31.                 if loop-player don't have permission "diwad.vanishwidze":
  32.                     add loop-player to {_g::*}
  33.             hide player from {_g::*}
  34.             stop
  35.         if {v::%player%} is set:
  36.             clear {v::%player%}
  37.             send "&6&lC&e&lraftowe &8>>> &3Od teraz jestes widzialny!"
  38.             reveal player to all players
  39.             stop
  40. on join:
  41.         if player don't have permission "craftowe.vanish":
  42.                 stop
  43.         if player has permission "vanish":
  44.             loop all players:
  45.                 if loop-player don't have permission "diwad.vanishwidze":
  46.                     add loop-player to {_g::*}
  47.             hide player from {_g::*}
  48.             set {vanish.%player%} to 1
  49.             wait 3 second
  50.             send "&aJestes administratorem! Tryb Vanisha Uruchomiony Automatycznie!"
  51.             stop
  52.  
  53. on quit:
  54.     if player don't have permission "vanish":
  55.         stop
  56.     if player has permission "vanish":
  57.         set {vanish.%player%} to 0
  58.         reveal player to all players
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top