Help creating a Gamemode. (I've been working on it, Just need help with some issues I couldn't solve..)

OK So, basicly. I am coding my own gamemode of a game, but the problem is, whenever I try to run the gamemode, it says Missing shared.lua I’ll show you the shared.lua and int.lua cl_int.lua, now as you see, I am VERY confused why it can’t locate the shared.lua

This is the shared.lua


GM.Name = "Paintball" // Put Gamemode info here
GM.Author = "Goodguy68"
GM.Email = "N/A"
GM.Website = "N/A"

function GM:Initialize()
	self.BaseClass.Initialize( self )
end
//Teams
team.SetUp( 0, "Team Blue", Color(0, 0, 255))
team.SetUp( 1, "Team Red", Color(255, 0, 0))
team.SetUp( 2, "Team Spectator", Color(133 133, 133))
//Models
util.PrecacheModel("models/players/artic.mdl")
util.PrecacheModel("models/players/leet.mdl")
util.PrecacheModel("models/players/alyx.mdl")
//Timers
timer.Create("Team", 10, 2, TeamT)

int.lua


AddCSLuaFile("shared.lua")
AddCSLuaFile("cl_init.lua")
include("shared.lua")

function GM:PlayerInitialSpawn( ply )
	ply:SetTeam( 3 )
	ply:StripWeapons()
	ply:GodEnable()
	timer.Start("Team")
end
	
function GM:PlayerLoadout( ply )
	ply:SetTeam( 3 )
	ply:StripWeapons()
	ply:GodEnable()
	timer.Start("Team")
end

function GM:PlayerSpawn( ply )
	if ply:Team()== 1 then
		ply:Give("weapon_crowbar")
		ply:Give("weapon_pistol")
		ply:SetModel("models/players/artic.mdl")
	end
		if ply:Team()== 2 then
		ply:Give("weapon_stunstick")
		ply:Give("weapon_357")
		ply:SetModel("models/players/leet.mdl")
	end
		if ply:Team()== 3 then
		ply:SetWalkSpeed( 300 )
		ply:SetRunSpeed( 600 )
		ply:SetModel("models/players/alyx.mdl")
	end
end
////////////
function PB_START
function TeamT()
local random = math.random( 1, 2 )
	if random == 1 then
		ply:SetTeam( 1 )
	elseif random == 2 then
		ply:SetTeam( 2 )
end
end
BLU = team.NumPlayers( 1 )
RED = team.NumPlayers( 2 )
	if BLU > RED then
		ply:SetTeam( 2 )
	elseif RED > BLU then
		ply:SetTeam( 1 )
	end
end
timer.Pause("Team")
end
//Console Commands
concommand.Add( "PB_START", PB_START )

cl_int.lua


include("shared.lua")

Lolz I was planning to add some own GUI to the gamemode, but as the error appeared I thought the GUI was the problem, and I erased it. Should have made a backup first, but eh. Anyways, Can someone please help. I’m pulling my hair out cause of this error. </3

Idk if this is your problem but you know its init.lua not int.lua, maybe just a typo on the thread?

Yea, the files are actrully init.lua and cl_init.lua

[lua]
//////////// – What the fuck
function PB_START – Invalid syntax
function TeamT() – No ply argument has been passed
local random = math.random( 1, 2 )
if random == 1 then
ply:SetTeam( 1 ) – You’re referencing ply here
elseif random == 2 then
ply:SetTeam( 2 )
end
end
BLU = team.NumPlayers( 1 )
RED = team.NumPlayers( 2 )
if BLU > RED then
ply:SetTeam( 2 )
elseif RED > BLU then
ply:SetTeam( 1 )
end
end
[/lua]