Advertisement
kebbyfan

Prison life taser drill

Mar 18th, 2020
669
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.10 KB | None | 0 0
  1. print("Not mine. All credit given to jake11prince!")
  2. print("You must be on the cop team to do this!")
  3. local toolamount = 80 -- How long the tornado is
  4. local tornadosize = 1 -- The size of how big the opening of the tornado is
  5.  
  6. local LocalPlayer = game:GetService("Players").LocalPlayer
  7. local runservice = game:GetService("RunService")
  8. local characters = {}
  9. LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
  10. local currentamount = #LocalPlayer.Backpack:GetChildren()
  11. LocalPlayer.Character.Archivable = true
  12. local tempchar = LocalPlayer.Character:Clone()
  13. tempchar.Parent = workspace
  14. local savepos = LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
  15. local renderstepped = runservice.RenderStepped:Connect(function()
  16. workspace.CurrentCamera.CameraSubject = tempchar:FindFirstChild("Humanoid")
  17. for _, tool in pairs(LocalPlayer.Backpack:GetChildren()) do
  18. if tool:IsA("Tool") then
  19. tool.Parent = LocalPlayer
  20. end
  21. end
  22. LocalPlayer.Character:ClearAllChildren()
  23. local char = Instance.new("Model", workspace)
  24. table.insert(characters, char)
  25. Instance.new("Humanoid", char)
  26. LocalPlayer.Character = char
  27. repeat runservice.RenderStepped:Wait() until LocalPlayer.Character ~= nil
  28. end)
  29. repeat runservice.RenderStepped:Wait() until #LocalPlayer:GetChildren() - 4 - currentamount >= toolamount
  30. renderstepped:Disconnect()
  31. repeat runservice.RenderStepped:Wait() until LocalPlayer.Character:FindFirstChild("HumanoidRootPart") ~= nil
  32. for _, char in pairs(characters) do
  33. char:Destroy()
  34. end
  35. for index, tool in pairs(LocalPlayer:GetChildren()) do
  36. if tool:IsA("Tool") then
  37. tool.Parent = LocalPlayer.Backpack
  38. tool.Handle.Massless = false
  39. tool.Grip = CFrame.new(Vector3.new(0, -index * .1, 0)) * CFrame.Angles(math.rad(90), 0, math.tan(index * 0.5))
  40. tool.Parent = LocalPlayer.Character
  41. if tool.Handle:FindFirstChild("Mesh") ~= nil then
  42. tool.Handle.Mesh:Destroy()
  43. end
  44. end
  45. end
  46. LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = savepos
  47. tempchar:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement