Advertisement
Nvercyan123

The Streets Triggerbot

Apr 19th, 2020
320
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.43 KB | None | 0 0
  1. game:GetService("ReplicatedStorage"):WaitForChild("DefaultChatSystemChatEvents").SayMessageRequest:FireServer("Loaded.","All")
  2. local following = false
  3. function psearch(arg)
  4. for i,v in pairs(game.Players:GetPlayers()) do
  5. if string.lower(string.sub(v.Name,1,string.len(arg))) == string.lower(arg) then
  6. return v
  7. end
  8. end
  9. end
  10. local character = game.Players.LocalPlayer.Character or game.Players.LocalPlayer.CharacterAdded:Wait()
  11. for i,v in pairs(character:GetChildren()) do
  12. v.ChildAdded:Connect(function(s)
  13. if s.Name == "creator" then
  14. local enemy = workspace:FindFirstChild(s.Value.Name)
  15. local enemyroot = enemy.Head
  16. following = true
  17. repeat
  18. if game.Players.LocalPlayer.Backpack:FindFirstChild('Shotty') then game.Players.LocalPlayer.Backpack.Shotty.Parent = game.Players.LocalPlayer.Character end
  19. if game.Players.LocalPlayer.Backpack:FindFirstChild('Uzi') then game.Players.LocalPlayer.Backpack.Uzi.Parent = game.Players.LocalPlayer.Character end
  20. if game.Players.LocalPlayer.Backpack:FindFirstChild('Glock') then game.Players.LocalPlayer.Backpack.Glock.Parent = game.Players.LocalPlayer.Character end
  21. if game.Players.LocalPlayer.Character:FindFirstChild("Shotty") then game.Players.LocalPlayer.Character.Shotty.Fire:FireServer(enemyroot.CFrame) end
  22. if game.Players.LocalPlayer.Character:FindFirstChild("Glock") then game.Players.LocalPlayer.Character.Glock.Fire:FireServer(enemyroot.CFrame) end
  23. if game.Players.LocalPlayer.Character:FindFirstChild("Uzi") then game.Players.LocalPlayer.Character.Uzi.Fire:FireServer(enemyroot.CFrame) end
  24. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[s.Value.Name].HumanoidRootPart.CFrame + Vector3.new(13,0,-3)
  25. wait()
  26. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[s.Value.Name].HumanoidRootPart.CFrame + Vector3.new(4,0,-2)
  27. wait()
  28. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[s.Value.Name].HumanoidRootPart.CFrame + Vector3.new(-4,0,2)
  29. wait()
  30. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[s.Value.Name].HumanoidRootPart.CFrame + Vector3.new(6,0,3)
  31. wait()
  32. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[s.Value.Name].HumanoidRootPart.CFrame + Vector3.new(-6,0,-6)
  33. wait()
  34. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[s.Value.Name].HumanoidRootPart.CFrame + Vector3.new(-4,0,-2)
  35. wait()
  36. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[s.Value.Name].HumanoidRootPart.CFrame + Vector3.new(8,0,-2)
  37. wait()
  38. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[s.Value.Name].HumanoidRootPart.CFrame + Vector3.new(-6,0,-3)
  39. wait()
  40. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[s.Value.Name].HumanoidRootPart.CFrame + Vector3.new(-6,0,2)
  41. until enemy.Humanoid.Health == 0 or enemy:FindFirstChild("KO") or game.Players.LocalPlayer.Character.Humanoid.Health == 0 or following == false
  42. end
  43. end)
  44. end
  45.  
  46. game.Players.LocalPlayer.Chatted:Connect(function(msg)
  47. if string.lower(msg) == ".stop" then
  48. following = false
  49. else
  50. if msg:sub(1,5) == ".aim " then
  51. local target = psearch(msg:sub(6))
  52. if target then
  53. following = true
  54. repeat
  55. if game.Players.LocalPlayer.Backpack:FindFirstChild('Shotty') then game.Players.LocalPlayer.Backpack.Shotty.Parent = game.Players.LocalPlayer.Character end
  56. if game.Players.LocalPlayer.Backpack:FindFirstChild('Glock') then game.Players.LocalPlayer.Backpack.Glock.Parent = game.Players.LocalPlayer.Character end
  57. if game.Players.LocalPlayer.Character:FindFirstChild("Shotty") then game.Players.LocalPlayer.Character.Shotty.Fire:FireServer(workspace[target.Name].Torso.CFrame) end
  58. if game.Players.LocalPlayer.Character:FindFirstChild("Glock") then game.Players.LocalPlayer.Character.Glock.Fire:FireServer(workspace[target.Name].Torso.CFrame) end
  59. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[target.Name].HumanoidRootPart.CFrame + Vector3.new(1,0,-3)
  60. wait()
  61. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[target.Name].HumanoidRootPart.CFrame + Vector3.new(9,0,-2)
  62. wait()
  63. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[target.Name].HumanoidRootPart.CFrame + Vector3.new(-4,0,2)
  64. wait()
  65. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[target.Name].HumanoidRootPart.CFrame + Vector3.new(12,0,3)
  66. wait()
  67. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[target.Name].HumanoidRootPart.CFrame + Vector3.new(-13,0,-5)
  68. wait()
  69. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[target.Name].HumanoidRootPart.CFrame + Vector3.new(-5,0,-2)
  70. wait()
  71. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[target.Name].HumanoidRootPart.CFrame + Vector3.new(-4,-0,-2)
  72. wait()
  73. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[target.Name].HumanoidRootPart.CFrame + Vector3.new(6,0,-3)
  74. wait()
  75. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[target.Name].HumanoidRootPart.CFrame + Vector3.new(-6,0,2)
  76. until workspace[target.Name].Humanoid.Health == 0 or workspace[target.Name]:FindFirstChild("KO") or game.Players.LocalPlayer.Character.Humanoid.Health == 0 or following == false
  77. end
  78. end
  79. end
  80. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement