View difference between Paste ID: UVKipapu and wB8fMLkt
SHOW: | | - or go back to the newest paste.
1
function TPBypass(X, Y, Z)
2
	local NX = math.floor(X + 0.5)
3
	local NY = math.floor(Y + 0.5)
4
	local NZ = math.floor(Z + 0.5)
5
	local Pos = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position
6
	local CurY = Pos.Y
7
	while CurY > -24 do
8
		game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Pos.X, CurY - 1, Pos.Z)
9
		CurY = CurY - 1
10
		wait()
11
	end
12
	while CurY < -26 do
13
		game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Pos.X, Pos.Y + 1, Pos.Z)
14
		CurY = CurY + 1
15
		wait()
16
	end
17
	workspace.Gravity = 0
18
	while game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position.X < NX - 7 do
19
		local Pos = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position
20
		game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Pos.X + 5, Pos.Y, Pos.Z)
21
		wait()
22
	end
23
	while game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position.X > NX + 7 do
24
		local Pos = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position
25
		game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Pos.X - 5, Pos.Y, Pos.Z)
26
		wait()
27
	end
28
	while game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position.Z < NZ - 7 do
29
		local Pos = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position
30
		game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Pos.X, Pos.Y, Pos.Z + 5)
31
		wait()
32
	end
33
	while game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position.Z > NZ + 7 do
34
		local Pos = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position
35
		game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Pos.X, Pos.Y, Pos.Z - 5)
36
		wait()
37
	end
38
	local Pos = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position
39
	local CurY = Pos.Y
40
	while CurY < NY + 3 do
41
		game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Pos.X, CurY + 1, Pos.Z)
42
		CurY = CurY + 1
43
		wait()
44
	end
45
	game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(X, Y, Z)
46
	workspace.Gravity = 196.19999694824
47
end
48
49
TPBypass(X, Y, Z) -- Insert Coordinate