Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[Blox fruit TP BY pass]]
- local idks = {}
- local TweenService = game:GetService('TweenService')
- local function Press()
- pcall(function()
- game:GetService("VirtualInputManager"):SendKeyEvent(true, tostring("Space"), false, game)
- task.wait()
- game:GetService("VirtualInputManager"):SendKeyEvent(false, tostring("Space"), false, game)
- end)
- end
- function idks:TP<bypass...>(target,confix : {distancetp : number,timetp : number}):(true | boolean | any | unknown)
- confix.timetp = confix.timetp or 255
- confix.distancetp = confix.distancetp or 50
- local maxdistnace
- if typeof(target) == "CFrame" then
- target = target.Position
- end
- if typeof(target) ~= "Vector3" then
- return target
- end
- _G.Point = target
- local Character = game:GetService('Players').LocalPlayer.Character
- local rootpart = Character:FindFirstChild('HumanoidRootPart') or Character.PrimaryPart
- local distance = (target - rootpart.Position).Magnitude
- local ttween = TweenService:Create(rootpart,TweenInfo.new(distance / confix.timetp,Enum.EasingStyle.Linear),{CFrame = CFrame.new(target)})
- if distance <= confix.distancetp then
- rootpart.CFrame = CFrame.new(target)
- return true
- end
- _G.TWEEN_INFO_LOG = ttween
- pcall(function()
- ttween:Play()
- repeat task.wait(0.2)
- distance = (target - rootpart.Position).Magnitude
- pcall(function()
- local Humanoid = Character:FindFirstChildWhichIsA('Humanoid')
- if Humanoid.Sit then
- Press()
- end
- end)
- pcall(function()
- if ttween then
- ttween:Pause()
- end
- local distance = (target - rootpart.Position).Magnitude
- ttween = TweenService:Create(rootpart,TweenInfo.new(distance / confix.timetp,Enum.EasingStyle.Linear),{CFrame = CFrame.new(target)})
- ttween:Play()
- end)
- until distance <= confix.distancetp or _G.Point ~= target
- end)
- ttween:Pause()
- if _G.Point ~= target then
- return
- end
- TweenService:Create(rootpart,TweenInfo.new(0.3),{CFrame = CFrame.new(target)}):Play()
- return true
- end
- return idks
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement