-
What do you want to achieve? A simple tool that teleports the player using it a set distance in the direction he’s facing, it’s important that said player keeps his momentum after being teleported as i would like to use this tool in a parkour game.
-
What is the issue? Player momentum is gone on teleport wich makes it feel weird and unpractical to use
Here’s the code in the tool
sp=script.Parent
script.Parent.Activated:Connect(function()
local character=sp.Parent
local rootpart=character:FindFirstChild('HumanoidRootPart')
rootpart.CFrame *= CFrame.new(0, 0, -5)
end)
thx for your time