Alright, so, if you look closely, the npc freezes in midair for a bit before falling. Here’s my script, help me fix it, please!
This is a repost, the original post got no help.
local attFrame = CFrame.new(AttackCFrame.Position,hum.Parent.PrimaryPart.CFrame.Position)
local cframe = CFrame.new(attFrame.Position + Vector3.new(0,intensity[1],0)) + attFrame.LookVector * intensity[2] --hum.Parent.PrimaryPart.CFrame
local bodypos = Instance.new("BodyPosition",hum.Parent.PrimaryPart)
local human = hum.Parent:FindFirstChildOfClass("Humanoid")
bodypos.Position= cframe.Position
bodypos.MaxForce = Vector3.new(99999,99999,99999)
bodypos.P = 9999
bodypos.ReachedTarget:Connect(function()
bodypos:Destroy()
end)