Code spawns bullet in weird spots

local tool = script.Parent

local function MakeBomb(player)
	local v = 100
	local Projectile = script.Parent.Projectile
	local ProjectileC = Projectile:Clone()
	ProjectileC.Parent = workspace
	ProjectileC.Material = Enum.Material.Metal
	ProjectileC.Name = player.Name.."'s Bomb"
	ProjectileC.CFrame = Projectile.CFrame
	ProjectileC.Anchored = true
	ProjectileC.CanCollide= false
end

tool.Activated:Connect(function()
	local player = tool.Parent
	MakeBomb(player)
end)

Script server sided
image
as you can see the sphere shows roughly 4.75 studs below the gun WHY!?

Can you please provide a better image, its hard to see which sphere you are referring to…

You could also try changing this line

ProjectileC.CFrame = Projectile.CFrame

to

ProjectileC.CFrame = Projectile.CFrame + Vector3.new(0,2.5,0)

i tried that with CFrame but no work

Did you do Vector3.new(0,2.5,0) or did you do CFrame.new(0,2.5,0)

CFrame

it works but not it dosent spawn the bullet at the guns nozzle

Is it closer than it was before?

no this is what happens


the bullet spawns behind the nozzle and at the same spot


local function MakeBomb(player)
	local v = 100
	local Projectile = script.Parent.Projectile
	local ProjectileC = Projectile:Clone()
	ProjectileC.Parent = workspace
	ProjectileC.Material = Enum.Material.Metal
	ProjectileC.Name = player.Name.."'s Bomb"
	ProjectileC.Anchored = true
	ProjectileC.CanCollide= false
	ProjectileC.CFrame = Projectile.CFrame + Vector3.new(0,4.75,0)
end

tool.Activated:Connect(function()
	local player = tool.Parent
	MakeBomb(player)
end)

updated

You could please try changing this line

ProjectileC.CFrame = Projectile.CFrame + Vector3.new(0,4.75,0)

to
ProjectileC.CFrame = Nuzzle.CFrame (Make sure to define Nuzzle)

did same thing but now worse! it stays at the same spot every click

local tool = script.Parent

local function MakeBomb(player)
	local v = 100
	local Projectile = script.Parent.Projectile
	local Nuzzle = script.Parent.Nuzzle
	local ProjectileC = Projectile:Clone()
	ProjectileC.Parent = workspace
	ProjectileC.Material = Enum.Material.Metal
	ProjectileC.Name = player.Name.."'s Bomb"
	ProjectileC.Anchored = true
	ProjectileC.CanCollide= false
	ProjectileC.CFrame = Nuzzle.CFrame
end

tool.Activated:Connect(function()
	local player = tool.Parent
	MakeBomb(player)
end)

and yes nozzle is welded

NVM I just made it using remote events and it works thanks for the help doe