How can I smoothly jump to the desired height when I press the ProximityPrompt E key?
What should I do?
Right now, when I use the following code, it feels awkward and like a teleportation jump:
-- test1 code cframe using
humanoid.RootPart.CFrame = humanoid.RootPart.CFrame * CFrame.new(0,10,0)
-- test2 code LinearVelocity using
local attlineVel = Instance.new("Attachment")
attlineVel.Name ="attLineVel"
attlineVel.Parent = humanoid.RootPart
local lineVel = Instance.new("LinearVelocity")
lineVel.Attachment0 = attlineVel
lineVel.VectorVelocity = Vector3.new(0,10,0);
lineVel.MaxForce = 1500
lineVel.Parent = humanoid.RootPart
robloxapp-20230406-2301128.wmv (1.1 MB)