Problem parenting body Velocity

function AirifyPlayer(Hit_Part, Attacker)
	print(Hit_Part, Attacker)
	local Hit_Velocity = Instance.new("BodyVelocity")
	Hit_Velocity.Parent = Hit_Part.PrimaryPart
	Hit_Velocity.MaxForce = Vector3.new(MaxForce,MaxForce,MaxForce)
	Hit_Velocity.P = 100
	Hit_Velocity.Velocity = Vector3.new(0,10,0)
	
	local Attacker_Velocity = Instance.new("BodyVelocity")
	Hit_Velocity.Parent = Attacker.PrimaryPart
	Attacker_Velocity.MaxForce = Vector3.new(MaxForce,MaxForce,MaxForce)
	Attacker_Velocity.P = 100
	Attacker_Velocity.Velocity = Vector3.new(0,10,0)
	
	print(Attacker_Velocity, Hit_Velocity)
	--game.Debris:AddItem(Hit_Velocity, 2)
	--game.Debris:AddItem(Attacker_Velocity, 2)
	
end

Both prints confirm that the objects exist; however, Roblox refuses to want to parent the body velocities to the target.

Can you try printing out the Parent of the BodyVelocity objects? Not sure what the case would really be unless if the MaxForce is set too low

The parents say that it was parented correctly.

Oh wait a second

You parented Hit_Velocity in different objects, so only 1 BodyVelocity was applied to the Attacker’s PrimaryPart (Unless if that was a mistypo either your/my end)

function AirifyPlayer(Hit_Part, Attacker)
	print(Hit_Part, Attacker)
	local Hit_Velocity = Instance.new("BodyVelocity")
	Hit_Velocity.Parent = Hit_Part.PrimaryPart
	Hit_Velocity.MaxForce = Vector3.new(MaxForce,MaxForce,MaxForce)
	Hit_Velocity.P = 100
	Hit_Velocity.Velocity = Vector3.new(0,10,0)
	
	local Attacker_Velocity = Instance.new("BodyVelocity")
	Attacker_Velocity.Parent = Attacker.PrimaryPart
	Attacker_Velocity.MaxForce = Vector3.new(MaxForce,MaxForce,MaxForce)
	Attacker_Velocity.P = 100
	Attacker_Velocity.Velocity = Vector3.new(0,10,0)
	
	print(Attacker_Velocity, Hit_Velocity)
	--game.Debris:AddItem(Hit_Velocity, 2)
	--game.Debris:AddItem(Attacker_Velocity, 2)
end

If that wasn’t the case then I’m unsure, I’d check to make sure that any events you may have is checking for any new objects that’s being added to the workspace which is later being deleted on

Okay, ill make sure to look into that.