Advertisement
Guest User

RB World 2 AIMBOT SCRIPT

a guest
May 30th, 2018
3,411
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.59 KB | None | 0 0
  1. PASTEBINnew pasteAPI tools faq
  2.  
  3. Guest User
  4. -
  5.  
  6. Public Pastes
  7. Untitled
  8. 7 sec ago
  9. Untitled
  10. 13 sec ago
  11. Untitled
  12. JavaScript | 17 sec ago
  13. Untitled
  14. 19 sec ago
  15. Untitled
  16. 26 sec ago
  17. Untitled
  18. 30 sec ago
  19. Untitled
  20. 38 sec ago
  21. Untitled
  22. 39 sec ago
  23. daily pastebin goal
  24. 5%
  25. help support pastebin
  26.  
  27. SHARE
  28. TWEET
  29.  
  30. AIMBOT!
  31. A GUEST NOV 21ST, 2017 4,417 NEVER
  32.  
  33. Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  34. rawdownloadcloneembedreportprint text 1.38 KB
  35. --// RBW2 UPDATED //--
  36.  
  37. -- works here; https://www.roblox.com/games/593223204/RB-Westlake-Park
  38.  
  39. --// MAINVARS //--
  40.  
  41. remotes = game:GetService("ReplicatedStorage").gameplay
  42. mouse = game.Players.LocalPlayer:GetMouse()
  43.  
  44. --// EDITVARS //--
  45.  
  46. _G.accuracy = 99 -- Accuracy; 99 Makes it in almost always; 100 is always a green;
  47. _G.key = "f" -- Key to press to activate;
  48.  
  49. --// SCRIPT //--
  50.  
  51. print("Press f to shoot! \nPress q to toggle accuracy between 99 and 100!")
  52.  
  53. --// ACCURACY SWITCH
  54.  
  55. mouse.KeyDown:connect(function(k)
  56. if k == "q" then
  57. if _G.accuracy == 99 then
  58. _G.accuracy = 100
  59. elseif _G.accuracy == 100 then
  60. _G.accuracy = 99
  61. end
  62. print(_G.accuracy)
  63. end
  64. end)
  65.  
  66. --// SHOOT
  67.  
  68. mouse.KeyDown:connect(function(k)
  69. if k == _G.key then
  70. for _,v in pairs(game.Workspace:GetChildren()) do
  71. if v.Name == "Basketball" then
  72. if v.controller.Value == game.Players.LocalPlayer.Name then
  73. local oncourt = "Court"..tonumber(game.Players.LocalPlayer.System.OnCourt.Value)
  74. local onhoop = "_Hoop"..tonumber(game.Players.LocalPlayer.System.OnTeam.Value)
  75. remotes.character.value:FireServer("shooting", true)
  76. if game.Workspace[oncourt]:FindFirstChild(onhoop) then
  77. v.shoot:FireServer(game.Workspace[oncourt][onhoop], _G.accuracy, true)
  78. elseif game.Workspace[oncourt]:FindFirstChild("_Hoop1") then
  79. v.shoot:FireServer(game.Workspace[oncourt]["_Hoop1"], _G.accuracy, true)
  80. end
  81. end
  82. end
  83. end
  84. end
  85. end)
  86. RAW Paste Data
  87.  
  88.  
  89. We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookie Policy. OK, I Understand
  90. IT'S TEAMWORK, BUT SIMPLER, MORE PLEASANT AND MORE PRODUCTIVE.
  91.  
  92.  
  93. create new paste / dealsnew! / api / scraping api / syntax languages / archive / faq / tools / go
  94. privacy statement / cookies policy / terms of service / security disclosure / dmca / contact
  95.  
  96. By using Pastebin.com you agree to our cookies policy to enhance your experience.
  97. Site design & logo © 2018 Pastebin; user contributions (pastes) licensed under cc by-sa 3.0 -- Dedicated Server Hosting by Steadfast
  98. Top
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement