Tutorial by: Adam


► In this tutorial I demonstrate how to create a kill rewards and kill counter script. Allowing you to reward player's for reaching X amount of kills.

on death:
    victim is a player
    attacker is a player
    add 1 to {%attacker's uuid%::kills}
    if {%attacker's uuid%::kills} = 10:
        give attacker 1 diamond named "10 kills!"
    set death message to "%attacker% killed %victim%"

command killcount [<offlineplayer>]:
    trigger:
        if arg-1 is not set:
            send "Your killcount is %{%player's uuid%::kills} ? 0%!"
        else:
            send "%arg-1%'s killcount is %{%arg-1's uuid%::kills} ? 0%!"

► This tutorial was brought to you by Skripting Tutorials, check out the channel for more helpful tutorials.


Did you find Adam's tutorial helpful?


You must be logged in to comment