awesomeme337666 Posted March 9, 2022 Share Posted March 9, 2022 1 on load: 2 if {maxhealth.Lifesteal} is not set: 3 set {maxhealth.SoulStealX} to 50 4 set {name.server} to [SoulStealX]: 5 on death: 6 victim is player: 7 if attacker's max health is less than {maxhealth.Lifesteal}: 8 add 1 to max health of attacker 9 subtract 1 from max health of victim 10 if victim's max health is less than 1: 11 ban victim 12 13 command /checkhearts [<player>]: 14 aliases: ch 15 trigger: 16 send "%{name.server}% %arg-1% has %arg-1's max health% hearts." 17 18 command /redeemheart [<number>]: 19 trigger: 20 set {heartredeem.%player%} to arg-1 21 if arg-1 is a number: 22 if player's max health is more than arg-1: 23 if player can hold arg-1 of red dye of Protection 5 named "Heart": 24 subtract arg-1 from max health of player 25 give player arg-1 of red dye of Protection 5 named "Heart" 26 else: 27 send "<red>%{name.server}% Your inventory is too full." to player 28 29 on rightclick with red dye: 30 if event-item is enchanted with protection 5: 31 if player's max health is less than {maxhealth.Lifesteal}: 32 Remove 1 red dye from the player 33 add 1 to max health of player Tell me in the comment section what else I should add to this. 1 Link to comment Share on other sites More sharing options...
Pixel_Pengu Posted March 9, 2022 Share Posted March 9, 2022 Hey! Thanks for sharing your skript! I've moved this post to the proper category. Feel free to continue the conversation here. Thanks! 1 Pixel Pengu Minehut Moderator Link to comment Share on other sites More sharing options...
h9kyg Posted April 2, 2022 Share Posted April 2, 2022 can you make it so that whenever someone gets to 0 health they go into spectator mode? also a way to revive someone by giving them one of your hearts? Link to comment Share on other sites More sharing options...
Fohng Posted April 5, 2022 Share Posted April 5, 2022 can you make the skript so that when you are at 1 heart you cant lose it, an the attacker doesnt get a heart? Thank you. -Fohng Minehut VIP Link to comment Share on other sites More sharing options...
AgentGamerPro Posted April 5, 2022 Share Posted April 5, 2022 5 hours ago, Fohng said: can you make the skript so that when you are at 1 heart you cant lose it, an the attacker doesnt get a heart? Thank you. -Fohng Minehut VIP Just check if the player has 1 heart, and if they do, stop the skript. Lifestealed | Minecraft Servers OG [VIP] 12/26/20 - 10/27/2021 OG [PRO] 12/27/21 - 11/18/2022 OG [LEGEND] 11/18/2022 - 3/14/2023 [DEFAULT] 3/14/2023 - Present Link to comment Share on other sites More sharing options...
UhTrevor Posted April 9, 2022 Share Posted April 9, 2022 Add a /givehearts Hello! I am Trevor u may see me from time to time but i'm not very active here anymore... i joined in like 2019 i think @tripph on discord i was helper a while ago Link to comment Share on other sites More sharing options...
wrds Posted April 12, 2022 Share Posted April 12, 2022 is there a way to make this only affect one minecraft world Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now