Jump to content

LifeSteal Per World Skript


Minehutss

Recommended Posts

Just use the 'world("world") function!

You can check if the event is in the world, and then only do things if the check is true, like this.

 

on death of player:

    if player is in world("LifeSteal"):

        broadcast "Life steal player death!"

 

If the player dies in a world that is not "LifeSteal", the message will not be sent. If the player dies in the world "LifeSteal", the message will be sent. Hope this helps!

Main MC account: Gam3rBoi (VIP in MH)

Alt MC account: *Gam3rBoi2147

Farcade server owner

Skripter with 6+ months experience + time learning coding concepts

Message me through the forums if you need anything!

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
×
×
  • Create New...