AJ_Danger

Untitled

Sep 1st, 2019
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 4.85 KB | None | 0 0
  1. --[[
  2. Made by Bean07#0001 / Bean07 on v3rm
  3.  
  4. Credits to: LeviTheOtaku for this TP Bypass
  5.  
  6. Please do not re rel or make a video on it without a proper credit!
  7. ]]
  8. _G.YEET = true
  9.  
  10. function tp(x,y,z)local a=25;moving=true;if x<game.Players.LocalPlayer.Character.HumanoidRootPart.Position.X then while x<game.Players.LocalPlayer.Character.HumanoidRootPart.Position.X do wait()game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=CFrame.new(Vector3.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.X-a,game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Y,game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Z))end end;if z<game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Z then while z<game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Z do wait()game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=CFrame.new(Vector3.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.X,game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Y,game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Z-a))end end;if x>game.Players.LocalPlayer.Character.HumanoidRootPart.Position.X then while x>game.Players.LocalPlayer.Character.HumanoidRootPart.Position.X do wait()game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=CFrame.new(Vector3.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.X+a,game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Y,game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Z))end end;if z>game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Z then while z>game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Z do wait()game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=CFrame.new(Vector3.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.X,game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Y,game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Z+a))end end;if y<game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Y then while y<game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Y do wait()game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=CFrame.new(Vector3.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.X,game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Y-a,game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Z))end end;if y>game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Y then while y>game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Y do wait()game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=CFrame.new(Vector3.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.X,game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Y+a,game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Z))end end;moving=false end;spawn(function()game:getService("RunService"):BindToRenderStep("",0,function()if not game.Players.LocalPlayer.Character:findFirstChildOfClass("Humanoid")then return end;if moving==true then game.Players.LocalPlayer.Character:findFirstChildOfClass("Humanoid"):ChangeState(11)end end)end)game.Players.LocalPlayer.Character:MoveTo(Vector3.new(x,y,z))
  11.  
  12. while wait() and _G.YEET do
  13.     pcall(function()
  14.         local Target;
  15.         for _, v in next, game.Players:GetPlayers() do
  16.             if v.Team.Name == "Criminals" or v.Team.Name == "Villians" then
  17.                 if Target==nil or game.Players.LocalPlayer:DistanceFromCharacter(v.Character.HumanoidRootPart.Position) <= game.Players.LocalPlayer:DistanceFromCharacter(Target.Character.HumanoidRootPart.Position) then
  18.                     Target = v
  19.                 end
  20.             end
  21.         end
  22.         if game.Players.LocalPlayer:DistanceFromCharacter(Target.Character.HumanoidRootPart.Position) > 200 then
  23.             local TP = Target.Character.HumanoidRootPart.Position
  24.             tp(TP.x,TP.y,TP.z)
  25.         end
  26.         if game.Players.LocalPlayer.Character.Humanoid.Health > 25 then
  27.             for i = 1, 5 do
  28.                 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Target.Character.HumanoidRootPart.CFrame
  29.                 game.Players.LocalPlayer.Character.Humanoid:EquipTool(game.Players.LocalPlayer.Backpack:FindFirstChild("Handcuffs"))
  30.                 game.ReplicatedStorage.Event:FireServer("Eject", Target)
  31.                 game.Players.LocalPlayer.Character.Humanoid:EquipTool(game.Players.LocalPlayer.Backpack:FindFirstChild("Tazer"))
  32.                 game.ReplicatedStorage.Event:FireServer("TAZ", Target.Character.HumanoidRootPart)
  33.             end
  34.         else
  35.             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Target.Character.HumanoidRootPart.CFrame
  36.             game.Players.LocalPlayer.Character.Humanoid:EquipTool(game.Players.LocalPlayer.Backpack:FindFirstChild("Handcuffs"))
  37.             game.ReplicatedStorage.Event:FireServer("Arrest", Target)
  38.         end
  39.     end)
  40. end
Add Comment
Please, Sign In to add comment