[PAID] [ESX] Armor Vest Script - PopcornRP Scripts


Bulletproof Vests by PopcornRP Scripts

With this script you have the possibility to deposit up to 20 bulletproof vests for men and women.

We offer you some simple configurations such as armor strength, adjusting animations and vest design ideal for male and female.

You can customize the language for your notification system for each individual vest and you can also save your progress bar.

Please note that bulletproof vests need to install our special script Basic Core in order for them to work smoothly.

All PopcornRP scripts are Escrow FiveM encrypted.
The price for the Westen Script is around 18 US dollars.


FEATURES:

  • EasyConfigs
  • Custom armor percentage for each vest
  • Different maturities with west
  • Different vest models for men and women
  • Animation customizable
  • Compatible with OneSync, ESX Legacy

DEPENDENCIES

EDITABLE FILES

config.lua
Config = {}

Config.Locale = 'de'
Config.NotificationTime = 5000

Config.ItemName = {
    Vest1 = 'kevlar',      -- for example: vest1 or kevlar1
    Vest2 = 'kevlar2',      -- for example: vest2 or kevlar2
    Vest3 = 'kevlar3',      -- for example: vest3 or kevlar3
    Vest4 = 'kevlar4',      -- for example: vest4 or kevlar4
    Vest5 = 'kevlar5',      -- for example: vest5 or kevlar5
    Vest6 = 'kevlar6',      -- for example: vest6 or kevlar6
    Vest7 = 'kevlar7',      -- for example: vest7 or kevlar7
    Vest8 = 'kevlar8',      -- for example: vest8 or kevlar8
    Vest9 = 'kevlar9',      -- for example: vest9 or kevlar9
    Vest10 = 'kevlar10',      -- for example: vest10 or kevlar10
    Vest11 = 'kevlar11',      -- for example: vest11 or kevlar11
    Vest12 = 'kevlar12',      -- for example: vest12 or kevlar12
    Vest13 = 'kevlar13',      -- for example: vest13 or kevlar13
    Vest14 = 'kevlar14',      -- for example: vest14 or kevlar14
    Vest15 = 'kevlar15',      -- for example: vest15 or kevlar15
    Vest16 = 'kevlar16',      -- for example: vest16 or kevlar16
    Vest17 = 'kevlar17',      -- for example: vest17 or kevlar17
    Vest18 = 'kevlar18',      -- for example: vest18 or kevlar18
    Vest19 = 'kevlar19',      -- for example: vest19 or kevlar19
    Vest20 = 'kevlar20',      -- for example: vest20 or kevlar20
}

Config.Progressbar = {
    AnimDict = 'clothingtie',
    Anim = 'try_tie_negative_a',
}

Config.Vest = {
    Vest1 = 20,     --20% Armor
    Vest2 = 40,     --40% Armor
    Vest3 = 60,     --60% Armor
    Vest4 = 80,     --80% Armor
    Vest5 = 100,    --100% Armor
    Vest6 = 100,    --100% Armor
    Vest7 = 100,    --100% Armor
    Vest8 = 100,    --100% Armor
    Vest9 = 100,    --100% Armor
    Vest10 = 100,    --100% Armor
    Vest11 = 100,    --100% Armor
    Vest12 = 100,    --100% Armor
    Vest13 = 100,    --100% Armor
    Vest14 = 100,    --100% Armor
    Vest15 = 100,    --100% Armor
    Vest16 = 100,    --100% Armor
    Vest17 = 100,    --100% Armor
    Vest18 = 100,    --100% Armor
    Vest19 = 100,    --100% Armor
    Vest20 = 100,    --100% Armor
}

-- Specified in milliseconds
Config.Duration = {
    NoneVest = 5000,     --Time to put on the vest     5000 = 5 seconds
    Vest1 = 5000,        --Time to put on the vest     5000 = 5 seconds
    Vest2 = 5000,        --Time to put on the vest     5000 = 5 seconds
    Vest3 = 5000,        --Time to put on the vest     5000 = 5 seconds
    Vest4 = 5000,        --Time to put on the vest     5000 = 5 seconds
    Vest5 = 5000,        --Time to put on the vest     5000 = 5 seconds
    Vest6 = 5000,        --Time to put on the vest     5000 = 5 seconds
    Vest7 = 5000,        --Time to put on the vest     5000 = 5 seconds
    Vest8 = 5000,        --Time to put on the vest     5000 = 5 seconds
    Vest9 = 5000,        --Time to put on the vest     5000 = 5 seconds
    Vest10 = 5000,        --Time to put on the vest     5000 = 5 seconds
    Vest11 = 5000,        --Time to put on the vest     5000 = 5 seconds
    Vest12 = 5000,        --Time to put on the vest     5000 = 5 seconds
    Vest13 = 5000,        --Time to put on the vest     5000 = 5 seconds
    Vest14 = 5000,        --Time to put on the vest     5000 = 5 seconds
    Vest15 = 5000,        --Time to put on the vest     5000 = 5 seconds
    Vest16 = 5000,        --Time to put on the vest     5000 = 5 seconds
    Vest17 = 5000,        --Time to put on the vest     5000 = 5 seconds
    Vest18 = 5000,        --Time to put on the vest     5000 = 5 seconds
    Vest19 = 5000,        --Time to put on the vest     5000 = 5 seconds
    Vest20 = 5000,        --Time to put on the vest     5000 = 5 seconds
}


Config.NoneVest = {
    ['bproof_1'] = 0,  ['bproof_2'] = 0,
}

Config.MaleModel = {
    Vest1 = {['bproof_1'] = 1,  ['bproof_2'] = 4},
    Vest2 = {['bproof_1'] = 1,  ['bproof_2'] = 1},
    Vest3 = {['bproof_1'] = 1,  ['bproof_2'] = 2},
    Vest4 = {['bproof_1'] = 1,  ['bproof_2'] = 3},
    Vest5 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
    Vest6 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
    Vest7 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
    Vest8 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
    Vest9 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
    Vest10 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
    Vest11 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
    Vest12 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
    Vest13 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
    Vest14 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
    Vest15 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
    Vest16 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
    Vest17 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
    Vest18 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
    Vest19 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
    Vest20 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
}

Config.FemaleModel = {
    Vest1 = {['bproof_1'] = 1,  ['bproof_2'] = 4},
    Vest2 = {['bproof_1'] = 1,  ['bproof_2'] = 1},
    Vest3 = {['bproof_1'] = 1,  ['bproof_2'] = 2},
    Vest4 = {['bproof_1'] = 1,  ['bproof_2'] = 3},
    Vest5 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
    Vest6 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
    Vest7 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
    Vest8 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
    Vest9 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
    Vest10 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
    Vest11 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
    Vest12 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
    Vest13 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
    Vest14 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
    Vest15 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
    Vest16 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
    Vest17 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
    Vest18 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
    Vest19 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
    Vest20 = {['bproof_1'] = 15,  ['bproof_2'] = 2},
}
translations.lua
Translation = {
    ['de'] = {

        ['notify_title'] = "Schutzweste",

        ['notify_armor_vest1'] = 'Du trägst jetzt eine Schutzweste.',
        ['notify_armor_vest2'] = 'Du trägst jetzt eine Schutzweste.',
        ['notify_armor_vest3'] = 'Du trägst jetzt eine Schutzweste.',
        ['notify_armor_vest4'] = 'Du trägst jetzt eine Schutzweste.',
        ['notify_armor_vest5'] = 'Du trägst jetzt eine Schutzweste.',
        ['notify_armor_vest6'] = 'Du trägst jetzt eine Schutzweste.',
        ['notify_armor_vest7'] = 'Du trägst jetzt eine Schutzweste.',
        ['notify_armor_vest8'] = 'Du trägst jetzt eine Schutzweste.',
        ['notify_armor_vest9'] = 'Du trägst jetzt eine Schutzweste.',
        ['notify_armor_vest10'] = 'Du trägst jetzt eine Schutzweste.',
        ['notify_armor_vest11'] = 'Du trägst jetzt eine Schutzweste.',
        ['notify_armor_vest12'] = 'Du trägst jetzt eine Schutzweste.',
        ['notify_armor_vest13'] = 'Du trägst jetzt eine Schutzweste.',
        ['notify_armor_vest14'] = 'Du trägst jetzt eine Schutzweste.',
        ['notify_armor_vest15'] = 'Du trägst jetzt eine Schutzweste.',
        ['notify_armor_vest16'] = 'Du trägst jetzt eine Schutzweste.',
        ['notify_armor_vest17'] = 'Du trägst jetzt eine Schutzweste.',
        ['notify_armor_vest18'] = 'Du trägst jetzt eine Schutzweste.',
        ['notify_armor_vest19'] = 'Du trägst jetzt eine Schutzweste.',
        ['notify_armor_vest20'] = 'Du trägst jetzt eine Schutzweste.',

        ['notify_noarmor_vest1'] = 'Deine Schutzweste wird angelegt.',
        ['notify_noarmor_vest2'] = 'Deine Schutzweste wird angelegt.',
        ['notify_noarmor_vest3'] = 'Deine Schutzweste wird angelegt.',
        ['notify_noarmor_vest4'] = 'Deine Schutzweste wird angelegt.',
        ['notify_noarmor_vest5'] = 'Deine Schutzweste wird angelegt.',
        ['notify_noarmor_vest6'] = 'Deine Schutzweste wird angelegt.',
        ['notify_noarmor_vest7'] = 'Deine Schutzweste wird angelegt.',
        ['notify_noarmor_vest8'] = 'Deine Schutzweste wird angelegt.',
        ['notify_noarmor_vest9'] = 'Deine Schutzweste wird angelegt.',
        ['notify_noarmor_vest10'] = 'Deine Schutzweste wird angelegt.',
        ['notify_noarmor_vest11'] = 'Deine Schutzweste wird angelegt.',
        ['notify_noarmor_vest12'] = 'Deine Schutzweste wird angelegt.',
        ['notify_noarmor_vest13'] = 'Deine Schutzweste wird angelegt.',
        ['notify_noarmor_vest14'] = 'Deine Schutzweste wird angelegt.',
        ['notify_noarmor_vest15'] = 'Deine Schutzweste wird angelegt.',
        ['notify_noarmor_vest16'] = 'Deine Schutzweste wird angelegt.',
        ['notify_noarmor_vest17'] = 'Deine Schutzweste wird angelegt.',
        ['notify_noarmor_vest18'] = 'Deine Schutzweste wird angelegt.',
        ['notify_noarmor_vest19'] = 'Deine Schutzweste wird angelegt.',
        ['notify_noarmor_vest20'] = 'Deine Schutzweste wird angelegt.',

        ['pogressbar_label'] = 'Schutzweste wird anlegen...',
        ['pogressbar_label_nonevest'] = 'Schutzweste wird ablegen...',

    },

    ['en'] = {
        
        ['notify_title'] = "Protective Vest",

        ['notify_armor_vest1'] = 'You are now wearing a body armor.',
        ['notify_armor_vest2'] = 'You are now wearing a body armor.',
        ['notify_armor_vest3'] = 'You are now wearing a body armor.',
        ['notify_armor_vest4'] = 'You are now wearing a body armor.',
        ['notify_armor_vest5'] = 'You are now wearing a body armor.',
        ['notify_armor_vest6'] = 'You are now wearing a body armor.',
        ['notify_armor_vest7'] = 'You are now wearing a body armor.',
        ['notify_armor_vest8'] = 'You are now wearing a body armor.',
        ['notify_armor_vest9'] = 'You are now wearing a body armor.',
        ['notify_armor_vest10'] = 'You are now wearing a body armor.',
        ['notify_armor_vest11'] = 'You are now wearing a body armor.',
        ['notify_armor_vest12'] = 'You are now wearing a body armor.',
        ['notify_armor_vest13'] = 'You are now wearing a body armor.',
        ['notify_armor_vest14'] = 'You are now wearing a body armor.',
        ['notify_armor_vest15'] = 'You are now wearing a body armor.',
        ['notify_armor_vest16'] = 'You are now wearing a body armor.',
        ['notify_armor_vest17'] = 'You are now wearing a body armor.',
        ['notify_armor_vest18'] = 'You are now wearing a body armor.',
        ['notify_armor_vest19'] = 'You are now wearing a body armor.',
        ['notify_armor_vest20'] = 'You are now wearing a body armor.',

        ['notify_noarmor_vest1'] = 'Your protective vest is put on.',
        ['notify_noarmor_vest2'] = 'Your protective vest is put on.',
        ['notify_noarmor_vest3'] = 'Your protective vest is put on.',
        ['notify_noarmor_vest4'] = 'Your protective vest is put on.',
        ['notify_noarmor_vest5'] = 'Your protective vest is put on.',
        ['notify_noarmor_vest6'] = 'Your protective vest is put on.',
        ['notify_noarmor_vest7'] = 'Your protective vest is put on.',
        ['notify_noarmor_vest8'] = 'Your protective vest is put on.',
        ['notify_noarmor_vest9'] = 'Your protective vest is put on.',
        ['notify_noarmor_vest10'] = 'Your protective vest is put on.',
        ['notify_noarmor_vest11'] = 'Your protective vest is put on.',
        ['notify_noarmor_vest12'] = 'Your protective vest is put on.',
        ['notify_noarmor_vest13'] = 'Your protective vest is put on.',
        ['notify_noarmor_vest14'] = 'Your protective vest is put on.',
        ['notify_noarmor_vest15'] = 'Your protective vest is put on.',
        ['notify_noarmor_vest16'] = 'Your protective vest is put on.',
        ['notify_noarmor_vest17'] = 'Your protective vest is put on.',
        ['notify_noarmor_vest18'] = 'Your protective vest is put on.',
        ['notify_noarmor_vest19'] = 'Your protective vest is put on.',
        ['notify_noarmor_vest20'] = 'Your protective vest is put on.',

        ['pogressbar_label'] = 'Protective vest will put on...',
        ['pogressbar_label_nonevest'] = 'Body armor will take off...',

    }
}

SHOP& OTHER

:shopping_cart: SHOP: [SHOP]Armor Vest - PopcornRP-Scripts.com)
:closed_book: DOCUMENTATION: Gitbook
:tv: VIDEO: YouTube

Code is accessible Escrow IP Encyption
Subscription-based Yes & No
Lines (approximately) +1213
Requirements ESX, Basic Core
Support Yes

i dont think that your code has more than 1213 lines code. This Script Idea is basic and in the forum are 100 Bulletproof Vest scripts for free

It will just be bad source code. Probably per protective vest 60 lines or so