BanHammer Ban-Script


Author: NLBlackEagle
Created: 2014-07-05T05:47:24-0400
Edited: 2014-09-12T13:40:46-0400
Denizen Version: 0.9.5 (build 1521)
Views: 10
Downloads: 741
Likes: 0


WGET
Description: Replacement for the plain /ban command.

Rapists will hunt you down if you get banned and kill the target in between 2-20 seconds. There is no way to escape since they teleport after you and there is a build in safety for hackers. Every couple seconds the "Banned Person" takes damage no matter what.

This script works without any changes needed!

Only admins or above can ban people. if you want to change this simply replace all [Admin] to [Owner] as example.

- if <player.in_group[Admin]> {

Hope you enjoy this!


BanHammer:
    type: world
    debug: false
    events:
        on unban command:
        - if <player.in_group[moderator]> || <player.is_op> {
          - narrate "Please use /pardon instead"
          }
          else if <context.server> == true {
          - narrate "Please use /pardon instead"
          }
          else {
          - narrate "<dark_red>You do not have access to that command."
          }
        - determine CANCELLED
        on ban command:
        - if <player.in_group[Admin]> || <player.is_op> {
          - ^narrate " "
          - if <c.args.get[1]> == null {
            - narrate "Please specify a name to be banned"
            }
            else if <c.args.get[2]> == null {
              - ^announce "<gold> operator <white><bold><player.name> <gold>banned <red><c.args.get[1]> <red>The Ban Hammer has spoken!<gold>."
              - ^narrate " "
              - flag p@<c.args.get[1]> Banned:true
              - adjust p@<c.args.get[1]> "kick:<gold>You have been Trolled, Ehh I mean Banned... Yes! Kind of..."
              - run s@BanhammerSpawnRapist as:p@<c.args.get[1]>
              }
            else {
              - ^announce "<gold> operator <white><bold><player.name> <gold>banned <red><c.args.get[1]> <gold>for <red><c.args.get[2]> <red>The Ban Hammer has spoken!<gold>."
              - ^narrate " "
              - flag p@<c.args.get[1]> Banned:true
              - adjust p@<c.args.get[1]> "kick:<gold>You have been Trolled, Ehh I mean Banned... Yes! Kind of..."
              - run s@BanhammerSpawnRapist as:p@<c.args.get[1]>
              }
              }
          else {
            - narrate "<red>You are not allowed to use that command"
            }
        - determine fulfilled
        on pardon command:
        - ^if <player.in_group[Admin]> || <player.is_op> {
          - ^narrate ""
          - ^if <c.args.get[1]> == null ^narrate "Please specify a name to be unbanned"
            else {
              - ^announce "<gold> Operator <white><bold><player.name> <gold>unbanned player <red><c.args.get[1]>"
              - ^narrate ""
              - ^flag p@<c.args.get[1].as_player> Banned:!
              - run s@EraseRapistBan delay:1
              - ^execute as_server "denizen save"
              }
          }
          else {
            - narrate "<red>You are not allowed to use that command."
            }
        - determine fulfilled 
        on player join:
        - run s@RapistScriptOnJoin as:<player> delay:5
        on player quit:
        - run s@EraseRapistBan delay:1
        on player teleports:
        - if <player.flag[banned]> == true {
          - narrate "Wahahahaha! You can<&sq>t Escape!"
          - determine CANCELLED
          }
        on command:
        - ^if <player.flag[banned]> == true {
          - ^narrate "Wahahahaha! You can<&sq>t Escape!"
          - ^determine CANCELLED
          }
RapistScriptOnJoin:
    type: task
    debug: false
    script:
    - if <player.flag[Banned]> == true {
      - execute as_server "godmode <player.name> disable"
      - execute as_server "gms <player.name>"
      - run s@BanHammerScript as:<player>
      - flag p@<c.args.get[1]> rank:griefer
      - run s@GrieferNPCscript as:<player>
      }         
          
EraseRapistBan:
    type: task
    debug: false
    script:
    - remove <player.flag[Rapist]>
       
GrieferNPCscript: 
    type: task
    debug: false
    script:
    - create player Rapist <player.location.add[1,0,0]> save:Rape
    - flag <player> Rapist:<entry[Rape].created_npc>
    - ^engage
    - ^execute as_server "npc select <player.flag[Rapist].replace[n@]>"
    - ^execute as_server "trait sentry"
    - ^execute as_server "sentry strength 3"
    - ^execute as_server "sentry armor 5"
    - ^execute as_server "sentry target add player:<player.name>"
    - ^execute as_server "sentry healrate 10"
    - ^execute as_server "sentry killdrops false"
    - ^execute as_server "sentry health 1000"
    - ^execute as_server "sentry drops false"
    - ^execute as_server "sentry invincible false"
    - ^execute as_server "npc owner <player>"
    - ^execute as_server "sentry respawn 10"
    - ^execute as_server "sentry speed 1.8"
    - ^execute as_server 'npc assign --set "RapistSpawningAssignment"'
    - ^disengage
    - run s@TeleportandRAPISTscriptthingy as:<player>
    
    
TeleportandRAPISTscriptthingy:
    type: task
    debug: false
    script:
    - wait 30
    - teleport <player.flag[Rapist]> <npc.owner.location>
    - attack <player.flag[Rapist]> target:<npc.owner>
    - wait 10
    - teleport <player.flag[Rapist]> <npc.owner.location>
    - attack <player.flag[Rapist]> target:<npc.owner>
    - wait 10
    - strike no_damage l@<player.location>
    - hurt 6 <player.name>
    - burn <player> duration:5
    - teleport <player.flag[Rapist]> <npc.owner.location>
    - attack <player.flag[Rapist]> target:<npc.owner>
    - wait 10
    - teleport <player.flag[Rapist]> <npc.owner.location>
    - attack <player.flag[Rapist]> target:<npc.owner>
    - wait 10
    - teleport <player.flag[Rapist]> <npc.owner.location>
    - attack <player.flag[Rapist]> target:<npc.owner>
    - wait 10
    - strike no_damage l@<player.location>
    - hurt 6 <player.name>
    - burn <player> duration:5
    - teleport <player.flag[Rapist]> <npc.owner.location>
    - attack <player.flag[Rapist]> target:<npc.owner>
    - wait 10
    - teleport <player.flag[Rapist]> <npc.owner.location>
    - attack <player.flag[Rapist]> target:<npc.owner>
    - wait 10
    - teleport <player.flag[Rapist]> <npc.owner.location>
    - attack <player.flag[Rapist]> target:<npc.owner>
    - wait 10
    - teleport <player.flag[Rapist]> <npc.owner.location>
    - attack <player.flag[Rapist]> target:<npc.owner>
    - wait 10
    - teleport <player.flag[Rapist]> <npc.owner.location>
    - attack <player.flag[Rapist]> target:<npc.owner>
    - wait 10
    - strike no_damage l@<player.location>
    - hurt 6 <player.name>
    - burn <player> duration:5
    - teleport <player.flag[Rapist]> <npc.owner.location>
    - attack <player.flag[Rapist]> target:<npc.owner>
    - wait 10
    - teleport <player.flag[Rapist]> <npc.owner.location>
    - attack <player.flag[Rapist]> target:<npc.owner>
    - wait 10
    - teleport <player.flag[Rapist]> <npc.owner.location>
    - attack <player.flag[Rapist]> target:<npc.owner>
    - wait 10
    - teleport <player.flag[Rapist]> <npc.owner.location>
    - attack <player.flag[Rapist]> target:<npc.owner>
    - wait 10
    - teleport <player.flag[Rapist]> <npc.owner.location>
    - attack <player.flag[Rapist]> target:<npc.owner>
    - wait 10
    - strike no_damage l@<player.location>
    - hurt 6 <player.name>
    - burn <player> duration:5
    - teleport <player.flag[Rapist]> <npc.owner.location>
    - attack <player.flag[Rapist]> target:<npc.owner>
    - wait 10
    - teleport <player.flag[Rapist]> <npc.owner.location>
    - attack <player.flag[Rapist]> target:<npc.owner>
    - wait 10
    - teleport <player.flag[Rapist]> <npc.owner.location>
    - attack <player.flag[Rapist]> target:<npc.owner>
    - wait 10
    - teleport <player.flag[Rapist]> <npc.owner.location>
    - attack <player.flag[Rapist]> target:<npc.owner>
    - wait 10
    - teleport <player.flag[Rapist]> <npc.owner.location>
    - attack <player.flag[Rapist]> target:<npc.owner>
    - wait 10
    - strike no_damage l@<player.location>
    - hurt 6 <player.name>
    - burn <player> duration:5
    - teleport <player.flag[Rapist]> <npc.owner.location>
    - attack <player.flag[Rapist]> target:<npc.owner>
    - wait 10
    - teleport <player.flag[Rapist]> <npc.owner.location>
    - attack <player.flag[Rapist]> target:<npc.owner>
    - wait 10
    - teleport <player.flag[Rapist]> <npc.owner.location>
    - attack <player.flag[Rapist]> target:<npc.owner>
    - random {
      - adjust p@<c.args.get[1]> "kick:<gold>Trolololololll Trollllllooooolllll"
      - adjust p@<c.args.get[1]> "kick:<gold>Your welcome to be group raped all over again!"
      - adjust p@<c.args.get[1]> "kick:<gold>You have been Trolled, Ehh I mean Banned... Yes! Kind of..."
      }
 
 
 
 
 
 
 
 
 
    
RapistSpawningAssignment:
  type: assignment
  debug: false
  actions:
    on assignment:
    - trigger name:proximity state:true radius:5
    - announce "<&lb>Spawn<&r><&rb> ✌ <&4><&m>*-<&r><&l> BanHammer <&4><&m>-*<&r> <&d>Rapist<&co><white> GroUpRApee at Spawnn!"
    - if <player.flag[banned]> == true {
      - attack <player.flag[Rapist]> target:<npc.owner>
      }
    on exit proximity:
    - if <player.flag[banned]> == true {
      - attack <player.flag[Rapist]> target:<npc.owner>
      - narrate "Hahaha! You won<&sq>t Get away!"
      - teleport <player.flag[Rapist]> <npc.owner.location>
      - wait 4
      - hurt 2 <player.name>
      - random {
        - narrate "You have been ButtFucked and took some Damage!"
        - narrate "You took some damage from Hard Penetration!"
        - narrate "Rapist Spanked you down 1 heart!"
        - narrate "Gimme that fine ASS of you!"
        - narrate "You wont be able to walk for months after Im done with ya!"
        - narrate "Oehh Ye! SUCK IT!"
        - narrate "Now be a good Boy and bend over..."
        }
      - wait 4
      - hurt 1 <player.name>
      - random {
        - narrate "You are getting Group Raped!"
        - narrate "Tripple Penetration!!!"
        }
      - wait 4
      - strike no_damage l@<player.location>
      - hurt 6 <player.name>
      - burn <player> duration:5
      }
    on enter proximity:
    - if <player.flag[banned]> == true {
      - attack <player.flag[Rapist]> target:<npc.owner>
      - teleport <player.flag[Rapist]> <npc.owner.location>
      }
 
 
 




Comments
No one has posted a comment! Post one below: