Advertisement
m3Zz

Sunlight

Aug 4th, 2013
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.39 KB | None | 0 0
  1. every 2 seconds:
  2.     loop players:
  3.         loop-player has permission "skript.sunlight"   
  4.         sky light level at loop-player is greater than or equal to 12: # damage the player from light level 12 upwards
  5.             damage the loop-player by 1 hearts
  6.         sky light level at loop-player is greater than or equal to 14: # extra damage from 14 upwards
  7.             damage the loop-player by 2 hearts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement