Hey everyone,
I have a slight idea on how to make a zipline system with tweening but, I don’t know if that’s a good idea, since using physics sounds like a better idea but I have no idea how to do so. Also I get lost on the part where going backwards makes it go slightly up and then back down.
While I can not make a whole system for you, I can tell you how to do the basics of it:
Create 2 parts that you want to zipline through,
Create a variable that will be the progress of the zipline (from 0 to 1), and just increase it over time,
And to render the player, you can anchor him and lerp the 2 parts, something like this:
local p1 = -- Insert here part one
local p2 = -- Insert here part two
local progress = 0 -- You need to code it so there is an actual progress system
local HumanoidRootPart = -- insert here HumanoidRootPart
HRP.Anchored = true
HRP.Position = (p1.CFrame:Lerp(p2.CFrame, progress)).Position