Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plrs = game:service'Players'
- local lp = plrs.LocalPlayer
- local s = game:service'RunService'.Stepped
- function checks(v)
- if v.Character then
- if v.Character:FindFirstChild'HumanoidRootPart' then
- return true
- end
- end
- return false
- end
- function teleportbypass(pos)
- lp.Character:FindFirstChildOfClass'Humanoid'.Name = 'H'
- local rs = s:Connect(function()
- if checks(lp) then
- lp.Character.HumanoidRootPart.Velocity = Vector3.new (0,0,0)
- end
- end)
- repeat wait(.1)
- local hrp = lp.Character.HumanoidRootPart
- hrp.CFrame = CFrame.new (hrp.CFrame.p, pos.Position)
- hrp.CFrame = hrp.CFrame + hrp.CFrame.LookVector * 60
- until lp:DistanceFromCharacter(pos.Position) < 60; wait(.5)
- lp.Character:FindFirstChildOfClass'Humanoid'.Name = 'Humanoid'
- rs: Disconnect()
- end
- function findcriminals(plr)
- for i,v in pairs(game:service'Teams'.Criminal:GetPlayers()) do
- if v.Name == plr.Name then
- return true
- end
- end
- return false
- end
- for i, v in pairs(game: service'Teams'.Criminal:GetPlayers()) do
- if checks(v) and checks(lp) then
- teleportbypass(v.Character.HumanoidRootPart)
- repeat s:Wait()
- if checks(v) and checks(lp) then
- lp.Character.HumanoidRootPart.Velocity = Vector3.new (0,0,0)
- lp.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame * CFrame.new (0,0,5)
- if lp.Character:FindFirstChild'RagdollNeck' then
- lp.Character.HumanoidRootPart.Anchored = true
- repeat wait(.1)
- until not v.Character:FindFirstChild'RagdollNeck'
- lp.Character.HumanoidRootPart.Anchored = false
- end
- end
- until not checks(v) or not checks(lp) or v.Character: FindFirstChild'Handcuffs' or not findcriminals(v)
- end
- end
Add Comment
Please, Sign In to add comment