Jump to content

When a player kills a player the attacker get 1 added to a variable


afaffffa

Recommended Posts

  • 2 weeks later...
On 9/4/2021 at 6:14 PM, afaffffa said:

I need help so where you kill a player its adds to a variable. I want it to add 1 to the variable {%player%.kills}

variable = {%player%.kills} please help!

I recommend using player's uuid instead of player. Anyways, here's what you want.

on death:
	if victim is player:
		add 1 to {%player's uuid%.kills}

Also, try learning some basic skripting

 

Owner of play.hiveminez.net

 

⊱------------------------------⊰

Joined Minehut on 1/28/2021 (Same day I got Minecraft)

[VIP] - 3/14/2021

[LEGEND] - 5/27/2021

⊱------------------------------⊰

Discord - NotKaizo#0001

In-game name - iKaizo_

If you need any help, feel free to contact me.

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