My code doesn't execute but nor errors in output

Are you sure the Humanoid is named “Zombie”?
Try this

local player = game:GetService("Players").LocalPlayer
local Character = player.Character
local mouse = player:GetMouse()

local bulletDamage = 25

mouse.Button1Down:Connect(function()
	local Raycasthit =	Instance.new("Part")
	Raycasthit.Parent = game.Workspace
	Raycasthit.BrickColor = BrickColor.Red()
	Raycasthit.Anchored = true
	Raycasthit.Archivable = true
	Raycasthit.Size = Vector3.new(1, 1, 1)
	Raycasthit.Position = mouse.Hit.Position
	print(Raycasthit.Position)
			Raycasthit.Touched:Connect(function(objectHit)
				local human = objectHit.Parent:FindFirstChild("Humanoid")
				    if human then
						print("e")
		          end
		end)
end)

yes its named zombie? and whats different with that one?

That one checks if the Humanoid is named “Humanoid”. Humanoid is named “Humanoid” by default.

still doesn’t make a difference

Try doing print(human.Name)
30 chars

Its not that it won’t print i was using print as a test its supposed to actually deal damage but since it didn’t do that i made it to a print for easier testing

I know, just do print(human.Name) and tell me what it prints.

Nothing cause its not executing the code but it wont show an error

I copy pasted your script and it works fine for me.

image
this is the part of the script that doesn’t execute

local player = game:GetService("Players").LocalPlayer
local Character = player.Character
local mouse = player:GetMouse()

local bulletDamage = 25

mouse.Button1Down:Connect(function()
	local Raycasthit =	Instance.new("Part")
	Raycasthit.Parent = game.Workspace
	Raycasthit.BrickColor = BrickColor.Red()
	Raycasthit.Anchored = true
	Raycasthit.Archivable = true
	Raycasthit.Size = Vector3.new(1, 1, 1)
	Raycasthit.Position = mouse.Hit.Position
	print(Raycasthit.Position)
			Raycasthit.Touched:Connect(function(objectHit)
				local human = objectHit.Parent:FindFirstChild("Humanoid")
                                print(human.Name)
		end)
end)

Does this print anything?

nope no result /;
30charsssssss