Jump to content

It would be nice if someone made a auto rank skript for pex


Patsteaks123

Recommended Posts

Ok i did it i hope you enjoy!!

Code:

 

on death:
    if attacker is a player:
        if victim is a player:
            add 1 to {kills.%attacker%}
            send "&4&lServerName>> &cYou have killed %{kills.%attacker%}% &cPlayers!" to attacker
            if {kills.%attacker%} = 15:
                make console execute command "/lp user %attacker% parent set Vip"
                set {kills.%attacker%} to 0

Edited by nolando09
Typo
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...