This script creates a dynamic zombie survival experience in FiveM.
Zombies spawn around players, react to noise, chase targets, attack with custom animations, and behave differently depending on the time of day, map zones, and zombie type.
The system also includes nests, loot, special items, custom sounds, and full multiplayer sync.
Showcase: Video
Tebex: Tebex
Support: Discord
Dynamic Spawning
- Zombies spawn around players (60β100 m)
- Limits per player, global and per map zone
- More zombies at night
- Red Zones with boosted spawns
- Despawn when too far or after some time dead
Map Zones
- Each GTA zone has its own zombie cap
- Different zombie models per area (city, beach, military, hospitalβ¦)
- Zones have different chances for each zombie type
Zombie Types
- Normal β basic zombie
- Screamer β alerts others
- Fat β tanky, strong, slow
- Burning β on fire, burns players
- Toxic β green smoke aura
- Each type has unique stats, sounds and effects
AI & Aggro System
- Detect players by proximity, running, vehicles, horns and gunshots
- Lose aggro if players get far
- Safe zones remove aggro and despawn zombies
- Wandering with stuck detection
- Drunk-style movement animations
Combat System
- Custom melee animations
- Damage hits armor first
- Chance to ragdoll players
- Can damage vehicles and pull players out
- Attack cooldowns
Nests (Zombie Hives)
- Random map locations
- Activate when players enter
- Spawn guard zombies with their own limits
- Destroyable with explosives
- Respawn elsewhere after destruction
- Surviving guards wander the map
Loot System
- Loot dead zombies
- Different loot tables per type
- One loot per zombie
- Server distance validation
Antizin Item
- Hides player from proximity-based aggro
- Noise still attracts zombies
- Includes animation + progress bar
- Configurable duration (default 5 min)
Custom Audio
- Unique sounds: idle, aggro, attack, death, screamer, boss
- 3D positional audio
- Anti-spam system
Multiplayer Sync
- Syncs state, target and AI owner within 150 m
- Late joiners get updated states
- Removes zombies outside range
- Target priority: gunshots > proximity
Performance
- 0.00ms idle
- 0.00ms running
Screenshots:
| Code is accessible | No |
| Subscription-based | No |
| Lines (approximately) | 3500 |
| Requirements | ox_lib |
| Support | Yes |



