Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /potentialhearts <text>:
- permission: skript.op
- aliases: /pt
- trigger:
- if arg-1 is "enable" or "on":
- set {potentialhearts} to true
- loop all players:
- set the loop-player's max health to 20
- if arg-1 is "disable" or "off":
- set {potentialhearts} to false
- loop all players:
- set the loop-player's max health to 10
- on death of player:
- {potentialhearts} is true:
- set the player's max health to 10
- command /potentialheartsplayer <text>:
- usage: potentialheartsplayer <player>
- permission: skript.op
- trigger:
- set the maximum health of the player to 20
- command /potentialheartsplayerremove <text>:
- usage: potentialheartsplayerremove <player>
- permission: skript.op
- trigger:
- set the maximum health of the player to 10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement