Best way to move the player up

I am making an ability that makes the player jump and then does the ability but I am having a problem with the jump,
first I tried to make Tween to the HumanoidRootPart but there was a glitch on the server-side.
I tried also to change the Humanoid HipHeight but it also did not work and there were a lot of glitches.
Finally I tried to make tween to the character model using this function:

local function tweenModelPos(model, CF, tweenInfo)
	local CFrameValue = Instance.new("CFrameValue")
	CFrameValue.Value = model:GetPrimaryPartCFrame()

	CFrameValue:GetPropertyChangedSignal("Value"):Connect(function()
		model:SetPrimaryPartCFrame(CFrameValue.Value)
	end)

	local tween = TweenService:Create(CFrameValue, tweenInfo, {Value = CF})
	tween:Play()

	tween.Completed:Connect(function()
		CFrameValue:Destroy()
	end)
end

It worked fine on the studio but there was lag on Roblox player.
What is the best way to do it?

I think something like this would work

humanoid.JumpPower = 2000
humanoid.Jump = true
humanoid.JumpPower = 50 -- back to default value
2 Likes

I used BodyVelocity and it worked