Guest User

Vanish 1.1

a guest
Feb 8th, 2015
1,513
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.89 KB | None | 0 0
  1. variables:
  2.         {v.%player%} = false
  3. command /v:
  4.         permission:cube.v
  5.         aliases:vanish
  6.         trigger:
  7.                 if {v.%player%} is false:
  8.                         set {v.%player%} to true
  9.                         apply INVISIBILITY 1 to the player for 9999 seconds
  10.                         strike lightning effect at the player
  11.                         send "&cGracz &e&l%player% &cwłączył Vanish!" to all ops
  12.                 else:
  13.                         set {v.%player%} to false
  14.                         remove invisibility from the player
  15.                         strike lightning effect at the player
  16.                         send "&cGracz &e&l%player% &cwyłączył Vanisha!" to all ops
  17. on join:
  18.         set {v.%player%} to true
  19.         apply INVISIBILITY 1 to the player for 9999 seconds
  20. on damage:
  21.         if {v.%victim%} is true:
  22.                 cancel event
Advertisement
Add Comment
Please, Sign In to add comment