Features:
Loot Table with Random Amounts:
Random items like cash, marked bills, jewelry, and phones.
Different rarity levels (common, uncommon, rare, very rare, ultra-rare).
Allowed Weapons for Robbery:
Weapons players can use to rob NPCs.
NPC Armament Settings:
Chance for NPCs to be armed.
Configurable weapons NPCs can carry (e.g., pistol, bat, knife).
Robbery Configuration:
Cooldown between robberies.
Chance NPCs will flee or fight back.
Robbery duration and armed NPC reaction time.
NPC Robbery Animation:
Configurable animation for NPCs during a robbery.
Configurable NPC Models:
List of NPC models that can be robbed.
Configurable Elements:
Loot Table:
Items, minimum/maximum amounts for each item.
Allowed Weapons:
List of weapons that can be used for robberies.
NPC Armament Settings:
ArmChance: Percentage chance for NPC to be armed.NPCWeapons: List of weapons NPCs may carry.
Robbery Settings:
cooldown: Time between robberies.chanceToFlee: Chance NPC will try to flee.robberyTime: Duration of the robbery.armedReactionTime: Time before armed NPC reacts.robDistance: Max distance for robbing NPCs.failChance: Chance NPC resists and fights back.
Robbery Animation:
dict: Animation dictionary.anim: Specific animation.
NPC Models:
List of NPC models that can be robbed.
https://www.youtube.com/watch?v=UYK7OK1j0Po