Advertisement
SrrBanana

TP Teween

Feb 9th, 2023
623
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.63 KB | Source Code | 0 0
  1. local teleport_table = {        --TP Teween
  2.     location1 = Vector3.new(-1866.38, 601.405, -12325.3), -- your desired position
  3. }
  4. local tween_s = game:GetService('TweenService')
  5. local tweeninfo = TweenInfo.new(1,Enum.EasingStyle.Linear)
  6. local lp = game.Players.LocalPlayer
  7. function bypass_teleport(v)
  8.     if lp.Character and
  9.     lp.Character:FindFirstChild('HumanoidRootPart') then
  10.         local cf = CFrame.new(v)
  11.         local a = tween_s:Create(lp.Character.HumanoidRootPart,tweeninfo,{CFrame=cf})
  12.         a:Play()
  13.         a.Completed:Wait()
  14.         print('Teleporting Done!')
  15.     end
  16. end
  17. bypass_teleport(teleport_table.location1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement