a guest Nov 19th, 2019 102 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on skript load:
  2.     register a new custom enchantment with id name "Radiate"
  3.     set {_enchantment} to "Radiate" parsed as custom enchantment
  4.     set max level of {_enchantment} to 1
  5.     set accepted items for {_enchantment} to "Helmets"
  7. every second:
  8.     loop all players:
  9.         if loop-player's helmet is not air:
  10.             loop-player's helmet has custom enchantment Radiate:
  11.                 apply night vision without particles to loop-player for 1000000 seconds
  12.         else:
  13.             remove night vision from loop-player
  14.         stop
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand