RoGhoulXD

tweentp

Apr 7th, 2023 (edited)
527
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.26 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.     location3 = Vector3.new(-0.8757601976394653, 25.1249942779541, 48.869781494140625);
  5.     location4 = Vector3.new(31.934144973754883, 19.29999351501465, 58.61640930175781);
  6.     location5 = Vector3.new(-16.472244262695312, 25.6249942779541, -53.03657913208008)
  7.  
  8.    
  9. }
  10.  
  11. local tween_s = game:GetService('TweenService')
  12. local tweeninfo = TweenInfo.new(1,Enum.EasingStyle.Linear)
  13.  
  14. local lp = game.Players.LocalPlayer
  15.  
  16. function bypass_teleport(v)
  17.     if lp.Character and
  18.         lp.Character:FindFirstChild('HumanoidRootPart') then
  19.        
  20.         local cf = CFrame.new(v)
  21.         local a = tween_s:Create(lp.Character.HumanoidRootPart,tweeninfo,{CFrame=cf})
  22.         a:Play()
  23.         a.Completed:Wait()
  24.         print('tp done')
  25.    end
  26. end
  27.  
  28. bypass_teleport(teleport_table.location1)
  29. wait(0.5)
  30. bypass_teleport(teleport_table.location4)
  31.  
  32. wait(0.5)
  33. bypass_teleport(teleport_table.location2)
  34. wait(0.5)
  35. bypass_teleport(teleport_table.location3)
  36. wait(0.5)
  37. bypass_teleport(teleport_table.location5)        
  38. wait(0.5)
  39. bypass_teleport(teleport_table.location3)      
Advertisement
Add Comment
Please, Sign In to add comment