a pretty cool headbag script i made with Sounds if you like it star the repo
- Easy to Use: Simple Command usage.
- Customizable: Modify the configuration to suit your server's needs.
- Optimized: SUPER Minimal performance impact on your server.
- Immersive Gameplay: Enhances roleplay scenarios like kidnappings or hostage situations.
-
Download the Script:
- Clone the repository or download the ZIP file.
-
Extract and Install:
- Place the folder into your
resources
directory, make sure to rename the resource toheadbag
- Place the folder into your
-
Add to Server Config:
- Add the following line to your
server.cfg
:ensure Headbag
- Add the following line to your
-
Start the Resource
- you can use
txAdmin
or restart your server to start it
- you can use
/headbag
- Places/removes a headbag on the closest player
exports['headbag']:ForceHeadbag('on') -- Enables the headbag effect
exports['headbag']:ForceHeadbag('off') -- Disables the headbag effect
-- To detect if its on or off
exports['headbag']:GetHeadbagStatus() -- returns true or false