This script makes it so that you can search trashcans which will give you a random amount of items based on math, or a small amount of cash if you're lucky (based on chance). The items you could find are configured in the config which are all based on a chance/math system which I have categorized as common, rare and ultra-rare. In the config, you have the option to also enable & disable a chance that you will gain stress on searching through the trash, and a cooldown if you wish to allow your player base to only use the trashsearch at certain times.
All of the script parameters can be configured in the config as shown below:
- Choice of trashcan models (10 already comes default with the script).
- Search distance control.
- Search duration control.
- Search cooldown control.
- Refill time for when the trashcans will be refilled.
- Stress enable/disable
- Stress chance out of 100%.
- Money chance out of 100% you will find money instead of item(s).
- Money amount on finding it.
- Items common, rare, ultrarare.
- No find chance, a chance of you being unable to find anything.
- Search animation controls.
Note: all of my scripts come with debug and version checks, they are also fully configurable via the config.
Showcase Video: https://www.youtube.com/watch?v=v7Oi3OLix4Q