Help with colored names on scoreboard

Alright well basically, I get this error on server startup


[AddCSLuaFile] Couldn't find 'tg_ttt_scoreboard.lua' (@lua/autorun/server/testcolors.lua (line 2))


the code itself is (This is not my code, I take no credit for it):


if (SERVER) then
	AddCSLuaFile("tg_ttt_scoreboard.lua")
end

if (CLIENT) then
	_People = {
		{"STEAM_0:0:49420535", 1},
		{"STEAM_0:0:5382896", 1}, 
		{"STEAM_0:1:157937381", 1}, 
		{"STEAM_0:0:76682578", Color(128,66, 244)} 
	}

	local function rainbowFade() // 1
		local frequency = 0.3

		local red = math.sin(frequency*CurTime() + 0) * 127 + 128
		local green = math.sin(frequency*CurTime() + 2) * 127 + 128
		local blue = math.sin(frequency*CurTime() + 4) * 127 + 128
		
		return Color(red, green, blue)		
	end

	local function randomColor() // 2
		local red = math.random(255)
		local green = math.random(255)
		local blue = math.random(255)
		
		return Color(red, green, blue)
	end	

	local function colorName( ply )
		local steam = ply:SteamID()
		for k,v in pairs( _People ) do
			if steam == v[1] then
				local col = v[2]
				if col == 1 then
					return rainbowFade()
				elseif col == 2 then
					return randomColor()
				else
					return col
				end
			end		
		end	
	end
	hook.Add("TTTScoreboardColorForPlayer", "Color Dem Bitches", colorName)
end

It’s a stupid issue imo but I’d appreciate all the help I can get. Thank you!

[AddCSLuaFile] Couldn’t find ‘tg_ttt_scoreboard.lua’ (@lua/autorun/server/testcolors.lua (line 2))

(your file path is wrong or there is no file called ‘tg_ttt_scoreboard.lua’)

I used this script about a year ago and it was working. It also works if I place it in my gmod/lua/autorun/server and load up a singleplayer instance of TTT. I’m just confused