Jump to content

On Player Death


PatrickSur

Recommended Posts

Does anyone know what I might have did wrong?

on death of player:

    attacker is a player:

    set {_drops::} to drops

    clear drops

    give attacker {_drops::}

  make console execute command "/token send attacker 2"

I'm using  TokenManager btw but want to give players tokens when they kill another player.

Link to comment
Share on other sites

4 hours ago, PatrickSur said:

Does anyone know what I might have did wrong?

on death of player:

    attacker is a player:

    set {_drops::} to drops

    clear drops

    give attacker {_drops::}

  make console execute command "/token send attacker 2"

I'm using  TokenManager btw but want to give players tokens when they kill another player.

 

on death:
    victim is a player
    attacker is a player
    set {_drops::} to drops
    clear drops
    give attacker {_drops::}
    make console execute command "/token send %attacker% 2"

 

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Owner of Lifestealed, Labs, Encore, UNOfficially and Observed
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - 5/8/2024

[MOD] 5/8/2024 - Present

 

Link to comment
Share on other sites

make sure the command is for.atted exactly how the plugin's command is

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