Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local teleport_table = {
- location1 = Vector3.new(341.545441, -6.59994698, -1381.53601, -0.560909986, -1.71081211e-08, -0.827876806, 8.36246983e-09, 1, -2.63308664e-08, 0.827876806, -2.16923404e-08, -0.560909986), -- your desired position
- location2 = Vector3.new(341.545441, -6.59994698, -1381.53601, -0.560909986, -1.71081211e-08, -0.827876806, 8.36246983e-09, 1, -2.63308664e-08, 0.827876806, -2.16923404e-08, -0.560909986) -- your desired position
- }
- local tween_s = game:GetService('TweenService')
- local tweeninfo = TweenInfo.new(1,Enum.EasingStyle.Linear)
- local lp = game.Players.LocalPlayer
- function bypass_teleport(v)
- if lp.Character and
- lp.Character:FindFirstChild('HumanoidRootPart') then
- local cf = CFrame.new(v)
- local a = tween_s:Create(lp.Character.HumanoidRootPart,tweeninfo,{CFrame=cf})
- a:Play()
- -- a.Completed:Wait()
- -- print('Teleporting Done!')
- end
- end
- bypass_teleport(teleport_table.location1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement