How to make a part apper in top of a player

Alright, I here it is. This is still @PatitoCeb 's script, so they are the one who deserve the solution mark.

local ServerStorage = game:GetService("ServerStorage")
local lightBomb = ServerStorage.LightBomb

function SpawnFire(player)
	player.CharacterAdded:Connect(function(character)
		local humRootPart = character:FindFirstChild("HumanoidRootPart")
		
		local lightBombC = lightBomb:Clone()
		lightBombC.Position = humRootPart.Position + Vector3.new(0,7,0)
		lightBombC.Anchored = false; lightBombC.CanCollide = false
		lightBombC.Parent = character
		
		local weld = Instance.new("WeldConstraint") do
			weld.Part0 = lightBombC
			weld.Part1 = humRootPart
			weld.Parent = humRootPart
		end
	end)
end
game.Players.PlayerAdded:Connect(SpawnFire)

Parent was missing and unanchoring.

2 Likes