Guest User

Untitled

a guest
Nov 19th, 2019
466
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  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"
  6.  
  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
Advertisement
Add Comment
Please, Sign In to add comment