Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- if {maxhealth} is set:
- set player's max health to {maxhealth}
- else:
- reset player's max health
- command /maxhealth <integer>:
- permission: skript.maxhealth
- trigger:
- if arg 1 > 0:
- set {maxhealth} to arg 1
- set all players' max health to {maxhealth}
- stop
- clear {maxhealth}
- reset all players' max health
Advertisement
Add Comment
Please, Sign In to add comment