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)