This script would enable players to discreetly steal items from NPCs or other players, enhancing the immersive gameplay experience. It could include features such as a stealth mechanic, where players must be mindful of their surroundings and the awareness level of their target. To balance gameplay, you might implement cooldowns, skill levels, or even consequences for getting caught, such as alerts to law enforcement NPCs.
- Facing Requirement: You need to be facing the target, and they can’t be facing you to pickpocket.
- Customizable Settings: Set cooldowns between pickpockets, alerts for the police, and exclude specific jobs.
- Target Detection: Includes checks for if the target is running, fleeing, or too far from you.
- Zone-Based Rewards: Rewards differ by zone with configurable tiers (low, medium, high) that you can adjust as needed.
- Reward Types: Each tier can have different rewards, with adjustable cash amounts per zone. The default reward is a 50/50 chance between cash or an item.