zombieslayerwtf

wild revolver trigger bot

May 13th, 2018
500
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.02 KB | None | 0 0
  1. ---see also : https://pastebin.com/raw/YsMyuUCE
  2.  
  3. me = game.Players.LocalPlayer
  4. mouse = me:GetMouse()
  5.  
  6. local Core = game.CoreGui
  7. local Aim = Instance.new("ScreenGui")
  8. local Main = Instance.new("Frame")
  9. local Button = Instance.new("TextButton")
  10. local Checker = Instance.new("Frame")
  11.  
  12. Aim.Name = "Aim Bot 1.0"
  13. Aim.Parent = Core
  14. local Bot = Core[Aim.Name]
  15.  
  16. Main.Name = "Main"
  17. Main.Parent = Aim
  18. Main.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  19. Main.BorderColor3 = Color3.new(0.3, 0.5, 0.7)
  20. Main.Position = UDim2.new(0, 500, 0, 500)
  21. Main.Size = UDim2.new(0, 150, 0, 70)
  22. Main.Visible = true
  23. Main.Draggable = true
  24. Main.Active = true
  25.  
  26. Button.Name = "Click"
  27. Button.Parent = Main
  28. Button.BackgroundColor3 = Color3.new(0, 0, 0)
  29. Button.Position = UDim2.new(0, 25, 0, 15)
  30. Button.Size = UDim2.new(0, 50, 0, 25)
  31. Button.Font = Enum.Font.Cartoon
  32. Button.FontSize = Enum.FontSize.Size14
  33. Button.Text = "On"
  34. Button.TextSize = 18
  35.  
  36. Checker.Name = "Check"
  37. Checker.Parent = Main
  38. Checker.BackgroundColor3 = Color3.new(0, 0, 0)
  39. Checker.BorderColor3 = Color3.new(1, 1, 1)
  40. Checker.Position = UDim2.new(0, 80, 0, 15)
  41. Checker.Size = UDim2.new(0, 30, 0, 30)
  42.  
  43. function shoot()
  44. for i, v in pairs(game.Players:GetPlayers()) do
  45. if mouse.Target == nil then
  46. else
  47. if mouse.Target.Parent.Name == v.Name then
  48. for a, b in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  49. if b.Name == "Revolver" then
  50.  
  51. game.ReplicatedStorage.Events.GunFired:FireServer({Start=b.ShotOrigin, HitPart=v.Character.Head, HitPosition=v.Character.Head.Position})
  52.  
  53. end
  54. end
  55. end
  56. end
  57. end
  58. end
  59.  
  60. function on()
  61. check = "on"
  62. while check == "on" do
  63. wait()
  64. shoot()
  65. a = math.random(1, 100)
  66. b= math.random(1, 100)
  67. c= math.random(1, 100)
  68.  
  69. a = a/100
  70. b = b/100
  71. c = c/100
  72.  
  73. Bot.Main.Check.BackgroundColor3 = Color3.new(a, b, c)
  74. end
  75. end
  76.  
  77. function off()
  78. check = "off"
  79. end
  80.  
  81. Bot.Main.Click.MouseButton1Down:connect(function()
  82. if Bot.Main.Click.Text == "On" then
  83. Bot.Main.Click.Text = "Off"
  84. on()
  85. else
  86. Bot.Main.Click.Text = "On"
  87. off()
  88. end
  89. end)
Add Comment
Please, Sign In to add comment