Beam not showing

Hello, I have a bit of an issue where the beam is not showing, I have made sure that it is parented to a part in workspace, Enabled, and the attachments are in the locations there suppose to be and parented to what there suppose to be, But for some reason the beam just isn’t showing, And it takes the health from the player

local function LightBlast(plr, Target)
	local B1 = game.ServerStorage.B1:Clone()
	local B2 = game.ServerStorage.B2:Clone()
	local At1 = Instance.new("Attachment")
	local At2 = Instance.new("Attachment")
	At1.Parent = plr.RightHand
	At1.Position = plr.RightHand.Position
	
	At2.Parent = Target.HumanoidRootPart
	At2.Position = Target.HumanoidRootPart.Position
	
	B1.Parent = workspace
	B2.Parent = workspace
	
	B1.Attachment0 = At1
	B1.Attachment1 = At2
	
	B2.Attachment0 = At1
	B2.Attachment1 = At2
	Target.Humanoid.Health = Target.Humanoid.Health - 45
	wait(5)
	At1:Destroy()
	At2:Destroy()
	B1:Destroy()
	B2:Destroy()
end

You can directly parent the attachments when you call

Instance.new(instance,parent) 

Also can you provide a barebones game file or something? It is hard to visualize a visual bug by just looking at the code.