Jump to content
  • 0

how can i make so a specific person gets kicked if they kill a player?


BrotherBethuel

Question

how can i make so a specific person gets kicked if they kill a player? rn i got this skript

command /kickkill [<text>] [<offline player>]:
  permission: op
  trigger:
    if arg-1 is "add":
      add arg-2's uuid to {kickkill}
    if arg-1 is "remove":
      remove arg-2's uuid from {kickkill}
on death:
  if victim is player:
    if {kickkill} contains killer's uuid:                             <---fail there
      kick killer

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

command /kickkill [<text>] [<offline player>]:
  permission: op
  trigger:
    if arg-1 is "add":
      add arg-2's uuid to {kickkill}
    if arg-1 is "remove":
      remove arg-2's uuid from {kickkill}

on death:
  if victim is player:
    if {%killer's uuid%.kickkill} contains killer's uuid:                             <---fail there
      kick killer

im not sure what do you mean there but maybe this should work ig, let me know if it doesn't

Link to comment
Share on other sites

  • 0
1 hour ago, WaterBreatheZs said:

command /kickkill [<text>] [<offline player>]:
  permission: op
  trigger:
    if arg-1 is "add":
      add arg-2's uuid to {kickkill}
    if arg-1 is "remove":
      remove arg-2's uuid from {kickkill}

on death:
  if victim is player:
    if {%killer's uuid%.kickkill} contains killer's uuid:                             <---fail there
      kick killer

im not sure what do you mean there but maybe this should work ig, let me know if it doesn't

nope it didnt work

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...