« on: August 12, 2016, 07:09:45 PM »
If you want to know how to make every player or a certain player have a health boost (max health), follow this script.
Pick an armor piece thats not a helmet, chestplate, leggings, gauntlets, or boots, so a necklace or ring.
Make the script...
Item [youritem] [health=150] < You can use any number from 0-~30000
Then run that script, and then when you wear that item, you get a health boost, if you want to make it permanent then follow these steps.
Make a script like this...
SetEventScript [ItemUnequip] [youritem] [Reequip]
Next make this script, in this case the name of the script is Reequip
Inventory [player] [clear] [youritem]
Inventory [player] [add] [youritem] 
// These 2 lines are to prevent loss of the item or duplication
Health [+maxhealth with item]
All together, run these scripts on a player join event and also have it equip your item automatically. Then, when the player tries to unequip it, it will put it back on and refill there health, because with the new health stat, it will take down there health a lot.
There are bugs, such as in PvP, the player can take it off, then it will refill there health, which isnt fixable, unless you just take off the health refill. Also, it takes away the slot for jewelry, so that is bad for some cases, but good to prevent people from using ice rings :}