Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on skript load:
- register a new custom enchantment with id name "Radiate"
- set {_enchantment} to "Radiate" parsed as custom enchantment
- set max level of {_enchantment} to 1
- set accepted items for {_enchantment} to "Helmets"
- every second:
- loop all players:
- if loop-player's helmet is not air:
- loop-player's helmet has custom enchantment Radiate:
- apply night vision without particles to loop-player for 1000000 seconds
- else:
- remove night vision from loop-player
- stop
Advertisement
Add Comment
Please, Sign In to add comment