Why am I getting this error?

Here’s the error I’m getting:

15:23:53.893 - ServerScriptService.PlayerStats:24: attempt to call a RBXScriptSignal value

Here’s the script:

local Lighting = game:GetService("Lighting")
Lighting.ClockTime = 22
Lighting.FogColor = Color3.fromRGB(0,0,0)
Lighting.FogEnd = 200
Lighting.Brightness = 1



local ColorsTable = {
	Color3.fromRGB(255, 0, 0), ---Red
	Color3.fromRGB(255, 85, 0),--Orange
	Color3.fromRGB(255, 255, 255), ---White
	Color3.fromRGB(209, 255, 0),---Yellow
	Color3.fromRGB(0, 0, 127),---Blue
	Color3.fromRGB(0, 0, 0),---Black
	Color3.fromRGB(255, 20, 232),---Pink
	Color3.fromRGB(98, 0, 88),---Purple
	Color3.fromRGB(3, 74, 3),---Green
	Color3.fromRGB(85, 255, 0) ---Lime 
}



game.Players.PlayerAdded(function(plr)
	plr.CharacterAdded:Connect(function(char)
		
		local Parts = char:GetChildren()
		local RandomColor = ColorsTable[math.random(1,#ColorsTable)]
		for i = 1,#Parts do
			if Parts[i].ClasName == "MeshPart" or Parts[i].ClassName == "Part" then
				
			end
				Parts[i].Color = RandomColor
			end
		
		
	end)
	
end)

error line is:

game.Players.PlayerAdded(function(plr)

You forgot to connect the event.

game.Players.PlayerAdded:Connect(function(plr)

Ah! Thank you so much! I didn’t notice that at all, I always do that,