[PAID][QBCore] Dungeon with Difficulty Levels

About Dungeon Script

  • 3 different difficultly levels
  • Configurable loots
  • Configurable Enemies health, damage
  • Configurable everything, check the config file

Preview <— Click here

ESCROW
8€ (Without TAX)
Tebex Link <— Click here to Buy

OPEN SOURCE
20€ (Without TAX)
Tebex Link <— Click here to Buy

Config file:

Config = {}

Config.Blip = true --Show Blip true/false

Config.Zombiespawn = 5 -- Zombie amount spawn

Config.BossHeadshot = false -- If false Headshotting a Boss no longer one shots them.

Config.ZombieHeadshot = true -- If false Headshotting a Zombie no longer one shots them.

Config.ShowZombieHp = true -- If true show Zombies health over head

Config.ShowBossHp = true -- If true show Boss health over head

Config.ZombiesSpawnDistance = 20

Config.BossSpawnDistance = 20

Config.ZombieModels = { -- Zombie model
    'a_m_o_soucent_02',
	'a_m_m_eastsa_02',
	'a_m_m_hillbilly_01',
	'a_m_m_hillbilly_02',
	'a_m_m_socenlat_01',
	'a_m_y_clubcust_01',
	'a_m_y_gay_01',
}

Config.BossModel = 'ig_orleans' -- Boss Model

Config.enterdungeoncoords = vector3(683.16,-2693.6,7.6) -- Dungeon coord

Config.playerspawnentered = vector3(261.56,-473.28,23.6) -- Player spawn here if he enter a dungeon

Config.exitcoord = vector3(412.68,-529.8,9.28) -- Dungeon exit coord

Config.boss_coord = vector3(422.04,-527.92,7.92) -- Boss Spawn coord

Config.enemies_spawncoord = {                -- Enemies Spawn coords
{coords = vector3(288.0,-455.48,22.52)},
{coords = vector3(335.48,-453.56,22.52)},
{coords = vector3(358.72,-453.72,17.4)},
{coords = vector3(399.08,-464.44,15.84)},
{coords = vector3(421.12,-494.72,7.84)},
}

Config.gas_cylindercoord = {				-- Gas Cylinder Spawn coords
{coords = vector3(279.96,-461.56,22.76)},
{coords = vector3(343.36,-449.84,22.58)},
{coords = vector3(416.64,-474.92,10.48)},
}


Config.DungeonPrice = {	--Dungeon prices
	Level1 = 1000,
	Level2 = 2000,
	Level3 = 3000,
}

Config.Enemies = { -- Enemies configure eash level
	Level_1 ={
		Zombie_health = 100,
		Zombie_damage = 15,
		Boss_health = 500,
		Boss_damage = 20,
	},
	Level_2 = {
		Zombie_health = 200,
		Zombie_damage = 25,
		Boss_health = 1000,
		Boss_damage = 20,
	},
	Level_3 = {
		Zombie_health = 300,
		Zombie_damage = 35,
		Boss_health = 1500,
		Boss_damage = 20,
	}
}

Config.Loots = { -- Loots configure each level
	Level_1 = {
		zombie = {
			{
				item = "bandage",
				minamount = 1,
				maxamount = 3,
			},
			{
				item = "ammo-9",
				minamount = 1,
				maxamount = 3,
			},
			{
				item = "ammo-rifle2",
				minamount = 1,
				maxamount = 3,
			},
		},
		boss = {
			{
				item = "WEAPON_ASSAULTRIFLE_MK2",
				minamount = 1,
				maxamount = 1,
			},
		}
	},
	Level_2 = {
		zombie = {
			{
				item = "bandage",
				minamount = 1,
				maxamount = 3,
			},
			{
				item = "ammo-9",
				minamount = 1,
				maxamount = 3,
			},
			{
				item = "ammo-rifle2",
				minamount = 1,
				maxamount = 3,
			},
		},
		boss = {
			{
				item = "WEAPON_ASSAULTRIFLE_MK2",
				minamount = 1,
				maxamount = 1,
			},
		}
	},
	Level_3 = {
		zombie = {
			{
				item = "bandage",
				minamount = 1,
				maxamount = 3,
			},
			{
				item = "ammo-9",
				minamount = 1,
				maxamount = 3,
			},
			{
				item = "ammo-rifle2",
				minamount = 1,
				maxamount = 3,
			},
		},
		boss = {
			{
				item = "WEAPON_ASSAULTRIFLE_MK2",
				minamount = 1,
				maxamount = 1,
			},
		}
	},
}

Config.Locales = { --Translations
	loot = "Press ~g~E~s~ to Loot",
	failed_die = "Dungeon Failed",
	exit = "Press ~r~E~s~ to Exit",
	level1_title = "Level 1",
	level2_title = "Level 2",
	level3_title = "Level 3",
	level1_desc = "Difficulty level: Low | Price: $1000",
	level2_desc = "Difficulty level: Normal | Price: $2000",
	level3_desc = "Difficulty level: High | Price: $3000",
	blip = "Dungeon",
	enter_dungeon = "Press ~g~E~s~ to open Menu",
	money_low = "You don't have enough money!",
}

Updates:
1.1.0
-Bug fix
-Now you can change every spawn coord (You can change the default place)

Updates:
1.1.1 - 2023.01.31
-Added some Notifies

Code is accessible Both Options
Subscription-based No
Lines (approximately) ~900 + Config file
Requirements QBCore
Support Yes

Possible Multiplayer integration?

Added Open Source option

No, but now i added Open Source option.

Updates:
1.1.1 - 2023.01.31
-Added some Notifies

Link is not working sir