Advertisement
Guest User

rbw aimbot hax 2

a guest
Apr 22nd, 2019
687
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. --// RBW2 UPDATED //--
  2.  
  3. -- works here; https://www.roblox.com/games/593223204/RB-Westlake-Park
  4.  
  5. --// MAINVARS //--
  6.  
  7. remotes = game:GetService("ReplicatedStorage").gameplay
  8. mouse = game.Players.LocalPlayer:GetMouse()
  9.  
  10. --// EDITVARS //--
  11.  
  12. _G.accuracy = 99 -- Accuracy; 99 Makes it in almost always; 100 is always a green;
  13. _G.key = "f" -- Key to press to activate;
  14.  
  15. --// SCRIPT //--
  16.  
  17. print("Press f to shoot! \nPress q to toggle accuracy between 99 and 100!")
  18.  
  19. --// ACCURACY SWITCH
  20.  
  21. mouse.KeyDown:connect(function(k)
  22. if k == "q" then
  23. if _G.accuracy == 99 then
  24. _G.accuracy = 100
  25. elseif _G.accuracy == 100 then
  26. _G.accuracy = 99
  27. end
  28. print(_G.accuracy)
  29. end
  30. end)
  31.  
  32. --// SHOOT
  33.  
  34. mouse.KeyDown:connect(function(k)
  35. if k == _G.key then
  36. for _,v in pairs(game.Workspace:GetChildren()) do
  37. if v.Name == "Basketball" then
  38. if v.controller.Value == game.Players.LocalPlayer.Name then
  39. local oncourt = "Court"..tonumber(game.Players.LocalPlayer.System.OnCourt.Value)
  40. local onhoop = "_Hoop"..tonumber(game.Players.LocalPlayer.System.OnTeam.Value)
  41. remotes.character.value:FireServer("shooting", true)
  42. if game.Workspace[oncourt]:FindFirstChild(onhoop) then
  43. v.shoot:FireServer(game.Workspace[oncourt][onhoop], _G.accuracy, true)
  44. elseif game.Workspace[oncourt]:FindFirstChild("_Hoop1") then
  45. v.shoot:FireServer(game.Workspace[oncourt]["_Hoop1"], _G.accuracy, true)
  46. end
  47. end
  48. end
  49. end
  50. end
  51. end)
  52. stalker
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement