RoGhoulXD

tp2

Apr 7th, 2023
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.78 KB | None | 0 0
  1. local teleport_table = {
  2.     location1 = Vector3.new(-20.532108306884766, 30.75235939025879, 24.25449562072754)
  3.     location2 = Vector3.new(-92.9310302734375, 16.2499942779541, 5.952561855316162)
  4. }
  5.  
  6. local tween_s = game:GetService('TweenService')
  7. local tweeninfo = TweenInfo.new(1,Enum.EasingStyle.Linear)
  8.  
  9. local lp = game.Players.LocalPlayer
  10.  
  11. function bypass_teleport(v)
  12.     if lp.Character and
  13.         lp.Character:FindFirstChild('HumanoidRootPart') then
  14.        
  15.         local cf = CFrame.new(v)
  16.         local a = tween_s:Create(lp.Character.HumanoidRootPart,tweeninfo,{CFrame=cf})
  17.         a:Play()
  18.         a.Completed:Wait()
  19.         print('tp done')
  20.    end
  21. end
  22.  
  23. bypass_teleport(teleport_table.location1)
  24. wait(1)
  25. bypass_teleport(teleport_table.location2)
  26.  
  27.            
Add Comment
Please, Sign In to add comment