How change teleport to jump

hi i want help i have script teleport but i want change it to jump Bezier Curver


local tool = script.Parent
local ind = script.Parent.TeleportLocation
local player = game.Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()

local mouse = player:GetMouse()
mouse.TargetFilter = ind

local range = 60
local cd = false

local equipped = false
tool.Equipped:Connect(function()
	equipped = true
	ind.Parent = workspace
	
	while equipped do
		wait()
		ind.Position = mouse.Hit.Position
		if (ind.Position - char.PrimaryPart.Position).Magnitude < range and cd == false then
			ind.Color = Color3.fromRGB(0, 0, 255)
		else
			ind.Color = Color3.fromRGB(255, 0, 0)	
		end
	end
	ind.Parent = script.Parent
end)

tool.Unequipped:Connect(function()
	equipped = false
end)

mouse.Button1Down:Connect(function()
	if equipped and (ind.Position - char.PrimaryPart.Position).Magnitude < range and cd == false then
		cd = true
		char:MoveTo(ind.Position)
		wait(1)
		cd = false
	end
end)

I’m not a 100% sure this is what you wanted, but I spent some time scripting this:

local Player = game.Players.LocalPlayer

local Character = Player.Character or Player.CharacterAdded:Wait()

local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")

local Mouse = Player:GetMouse()

local TweenService = game:GetService("TweenService")

Mouse.Button1Down:Connect(function()
	local Hit = Mouse.Hit
	local PositionOfHit = Hit.Position
	
	local DistanceBetweenTwo = (HumanoidRootPart.Position - PositionOfHit).Magnitude

	local MiddleOfTwo = (HumanoidRootPart.Position + PositionOfHit) / 2
	
	local FirstPos = CFrame.new(MiddleOfTwo + Vector3.new(0,DistanceBetweenTwo/2,0), PositionOfHit)

	local FirstTween = TweenService:Create(HumanoidRootPart, TweenInfo.new(1), {CFrame = FirstPos} )
	task.wait(2)
	Character.Humanoid.PlatformStand = true
	FirstTween:Play()
	task.wait(1)
	local SecondTween = TweenService:Create(HumanoidRootPart, TweenInfo.new(1), {CFrame = Hit} )
	SecondTween:Play()
	Character.Humanoid.PlatformStand = false
end)

I just now realised that I forgot to check if the tool is equipped.

yep that was i want thx for help

hi i want ask question is there way make so smooth it have so lag in jump and camer is shake or crush

I am not too sure how I can smooth it.

Why I think it shakes

The reason that it shakes is because the character wants to fall.