Jump to content

Skript Request: Lifesteal


UhTrevor
 Share

Recommended Posts

I am looking for a Lifesteal skript. One that enables you to give hearts with /givehearts (but not if you have 1). You also can't die, when you get to one heart you stay at one heart and that heart isn't given to anyone when killed.

I would appreciate this soso much.

 

Thank you,
UhTrevor

Hello! I am Trevor. I am very bad at signatures.

Joined - 11/10/21

VIP - (I have no idea)

UhTrevor#1206

Link to comment
Share on other sites

  • 2 weeks later...
on death:
	if victim is player:
		if attacker is player:
			remove 1 from victim's max health
			add 1 to attacker's max health
		else:
			stop
	else:	
		stop

Hope this works (leave a like if helps 👍)

  • Like 1

If this helped make sure to leave a like 🙂 

 

Programmer 

Owner of fishymini

Languages used:

Python

Html

Java

JS

Skript

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share



×
×
  • Create New...