[PAID] [STANDALONE] d7y_KillRole

KillRole

Hello And Welcome !

d7y_KillRole :gun:

- The script will save you a lot of time. It will make sure that the player reaches the specified number of kills and automatically send a log to Discord and give the player the role…

- lightweight and simple to use

- Of course, you can add the number of roles you want in the config with the number of kills per role.

- Log for each operation in the event that he has reached the required kills and is able to receive the Kill Role, or even if he does not receive the Kill Role.

- Of course, it is free from glitches, and if you face any problem, just call me on dm or open a ticket

Configration File

Configration

Config.lua

Config = {}

Config.FrameWork = "vRP" -- vRP or else Framework

Config.Roles = { -- you can add the number of roles you want Just Copy and Paste
    ["BloodThirsty 1"] = {
        RoleId = 0000000000000,
        Kills = 2,
     },
    ["BloodThirsty 2"] = {
        RoleId = 0000000000000,
        Kills = 3,
     },
    ["BloodThirsty 3"] = {
        RoleId = 0000000000000,
        Kills = 4,
     },
}

Config.Bot = { -- Bot Information For Roles Giving
    ["Bot_Token"] = "Njk5MTA1MjA5MzcyMzc3MTI5.......", -- It's important that the bot have MANAGE_ROLE permission and be above the roles you want to give.
    ["Guild"] = "0000000000", -- Discord Server ID (Guild ID)
}

Config.Webhook = "" -- WebHook URL

Config.ServerLogo = "" -- Logo URL

Config.OnRoleAdd = function(source, roleKey) -- OnRoleAdd Event
    Notify(source, "Role : [" .. roleKey .. "] delivered successfully", "AUDIO_INFO")
end

function Notify(source, message, audio) -- You can change the Notify To Your server notify
    local Theme = "default"
    if audio == "AUDIO_ERROR" then
        Theme = "error"
    end
    TriggerClientEvent("D7-Notify:sendAdvanced", source, message, "~h~Fahad", "Roles Manager", "CHAR_MANUEL", 6000, nil,
        true, Theme, audio)
end

Config.GetID = function(source)
    if Config.FrameWork == 'vRP' then
        return module("vrp", "lib/Proxy").getInterface("vRP").getUserId({
            source,
         })
    else
        return source
    end
end

Config.Lang = {
    ["log_title"] = "Kill Role Log",
    ["discord_field"] = "Player Discord : ",
    ["Role_field"] = "Role : ",
    ["Status_desc"] = "** Status : ** ",
    ["player"] = "Player",
    ["good_status"] = "Role delivered successfully !",
    ["bad_status"] = "Error : We Can't Give Him The Role There's Somthing Messing",
}

Tebex And Price

Price : $8.75
Tebex : https://d7y.tebex.io/package/5226730

Video

Code is accessible No
Subscription-based No
Lines (approximately) 401
Requirements [ Discord Bot ]
Support Yes

Other Releases

d7y_ElimnatedKill :black_flag:
d7y_Pause⏸
d7y_Bloodshot :drop_of_blood:

2 Likes