Jump to content

nbiz24

Member
  • Posts

    5
  • Joined

  • Last visited

Posts posted by nbiz24

  1. So I have a dupe server that gets around 10 - 20 people a day and they all get mad at me for not getting hearts on crystal kills or anchor kills.

    If anyones knows how to edit this skript to givehearts to the person that crystal/anchored them. That would be awesome!

     

    options:
      prefix: &7[&9&lLIFESTEAL&7]

    on death:
      if victim is player:
        if victim's max health < 1:
          execute console command "/tempban %victim% 1w Ran out of hearts!"
        add 1 to attacker's max health
        subtract 1 from victim's max health
        set death message to "{@prefix}&c %victim% died to %attacker%, and lost a heart!"

    command /sethealth [<player>] [<number>]:
      permission: lifesteal.sethealth
      trigger:
        if arg-1 is not set:
          send "&cYou must choose a player and a number to set someone's hearts to."
        if arg-2 is not set:
          send "&cYou must choose a player and a number to set someone's hearts to."
        else:
          set max health of arg-1 to arg-2
          send "{@prefix}&a Set %arg-1%'s max health to %arg-2%!"

  2. I need it so people cant rtp in the pvp world. Cause They can get out of the box when i dont want them to. So someone plz make it so they can rtp in the world pvp

     

    command /rtp:
        cooldown: 5 seconds
        cooldown message: &4Stop! &cYou can only teleport to a random location every 5 seconds.
        trigger:
            set {_x} to round(random number between -10000 and 10000)
            set {_z} to round(random number between -10000 and 10000)
            set {_block} to block at location at ({_x}, 0, {_z}) in world event-world
            loop all blocks above {_block}:
                if loop-block is air:
                    block below loop-block is not water
                    block below loop-block is not air
                    if block above loop-block is air:
                        teleport player to loop-block
                        send "&aTeleported to a random location" to player

×
×
  • Create New...