☠️ ht-zboss — Ultimate Boss Fight System
Elevate your FiveM server's PvE content with Boss System, an immersive, highly customizable, and adrenaline-pumping Boss Fight system. Designed specifically for apocalypse, survival, or zombie servers, this resource transforms boss encounters into true, MMO-like tactical battles.
---
🔥 Key Features
* 🧟 Giant Boss Scaling: Bosses are visually scaled up to 3x normal ped size to look imposing and terrifying on the battlefield.
* 🧠 Advanced Combat AI: Bosses lock onto targets, dynamically switch focus to the closest player, and chase their prey relentlessly.
* ⚔️ 4 Unique Special Attacks:
Rear Tackle: High-impact takedown that knocks players down.
Beast Leap: A high-velocity leap directly toward the target.
Charge: A ferocious straight-line rush.
Grab & Throw: Picks up a player and hurls them away with ragdoll physics.
🦘 Super Jump Mechanic: Every 12 seconds, if a player tries to keep their distance (15–45m away), the boss will execute an explosive leap, smashing the ground on impact.
* 🚗 Anti-Vehicle Mechanics: Players hiding in vehicles are pulled towards the boss after 20 seconds, and the vehicle is violently thrown away.
* 🎨 Sleek Dynamic UI: Features a custom, modern HTML/CSS/JS interface displaying health bars that change color based on health status (Green ➡️ Yellow ➡️ Pulsing Red) and cinematic threat/death notifications.
* 🔊 Immersive Sounds: Full integration with `__chHyperSound` to play deep breathing, growls, and combat audio directly from the boss ped (optional).
* 📦 Stash Loot System: Fully integrated with `ox_target` and `ox_inventory`. Defeating a boss spawns a secure container stash populated with random rewards.
* ⏱️ Smart Spawn & Auto-Despawn: Bosses automatically spawn when players enter their zone and despawn if left idle, preserving server performance.
---
⚙️ Developer Friendly & 100% Configurable
This script is built with server owners in mind. All sensitive logic is separated so you can safely encrypt your files while leaving the customization open:
* editable/config.lua: Adjust boss stats, coordinates, models, difficulty, cooldowns, loot tables, and UI colors.
* editable/client.lua: Easily hook your own notifications or custom HUD updates.
* editable/server.lua: Customize admin permissions, custom inventory systems (e.g., core_inventory), and trigger stats/achievements on boss kills.
---
📋 Requirements
* Framework: ESX (getSharedObject)
* Dependencies: `ox_lib`, `ox_target`, `ox_inventory` (customizable)
* Optional: `__chHyperSound` (for ambient sounds)