ShoccessX

Untitled

Sep 8th, 2024 (edited)
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.27 KB | None | 0 0
  1. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
  2. local Window = Library.CreateLib("RH2 GUI BY BigbodyV", "DarkTheme")
  3.  
  4. local Main = Window:NewTab("boost")
  5. local MainSection = Main:NewSection("boost")
  6.  
  7. -- Button for "Shot Multi"
  8. MainSection:NewButton("Shot Multi", "Multiply shot", function()
  9. -- Services
  10. local Players = game:GetService("Players")
  11. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  12.  
  13. -- Player Variables
  14. local localPlayer = Players.LocalPlayer
  15. local backpack = localPlayer:WaitForChild("Backpack")
  16. local actionValues = backpack:WaitForChild("ActionValues")
  17. local power = actionValues:WaitForChild("Power")
  18.  
  19. -- Globals
  20. _G.Xp = false
  21. _G.Multiplier = 100 -- Set the shot multiplier to 50
  22. _G.ChangeValue = 1
  23.  
  24. -- Function to Fire Shots Based on Multiplier
  25. local function onPowerChanged()
  26. if power.Value >= _G.ChangeValue and _G.Xp then
  27. local args = {
  28. [1] = false,
  29. [2] = "Shooting",
  30. [3] = "Standing Shot"
  31. }
  32.  
  33. local playerEvents = backpack:FindFirstChild("PlayerEvents") or ReplicatedStorage:FindFirstChild("PlayerEvents")
  34.  
  35. if playerEvents then
  36. local shootingEvent = playerEvents:FindFirstChild("Shooting")
  37. if shootingEvent then
  38. for i = 1, _G.Multiplier do
  39. shootingEvent:FireServer(unpack(args))
  40. end
  41. else
  42. warn("Shooting event not found in PlayerEvents.")
  43. end
  44. else
  45. warn("PlayerEvents folder not found in either Backpack or ReplicatedStorage.")
  46. end
  47. end
  48. end
  49.  
  50. -- Connect Power Change Signal
  51. power:GetPropertyChangedSignal("Value"):Connect(onPowerChanged)
  52.  
  53. -- Example Usage: Setting values
  54. _G.Xp = true -- Set to true to enable shooting
  55. _G.ChangeValue = 50 -- Minimum power value to trigger the shot
  56. end)
  57.  
  58. -- Button for "Anti AFK RH2 (Disable AFK Check)"
  59. MainSection:NewButton("Anti AFK RH2 (Disable AFK Check)", "Makes sure you don't go AFK", function()
  60. local StarterGui = game:GetService("StarterGui")
  61. local Players = game:GetService("Players")
  62.  
  63. local function disableAFKCheck()
  64. local starterGuiAFKUi = StarterGui:FindFirstChild("AFK.Ui")
  65. if starterGuiAFKUi then
  66. local afkCheckScript = starterGuiAFKUi:FindFirstChild("AFK.Check")
  67. if afkCheckScript and afkCheckScript:IsA("LocalScript") then
  68. afkCheckScript.Disabled = true
  69. print("AFK.Check script in StarterGui is disabled.")
  70. else
  71. print("AFK.Check script not found or not a LocalScript in StarterGui.")
  72. end
  73. else
  74. print("AFK.Ui not found in StarterGui.")
  75. end
  76.  
  77. local player = Players.LocalPlayer
  78. if player and player.PlayerGui then
  79. local playerGuiAFKUi = player.PlayerGui:FindFirstChild("AFK.Ui")
  80. if playerGuiAFKUi then
  81. local afkCheckScript = playerGuiAFKUi:FindFirstChild("AFK.Check")
  82. if afkCheckScript and afkCheckScript:IsA("LocalScript") then
  83. afkCheckScript.Disabled = true
  84. print("AFK.Check script in PlayerGui is disabled.")
  85. else
  86. print("AFK.Check script not found or not a LocalScript in PlayerGui.")
  87. end
  88. else
  89. print("AFK.Ui not found in PlayerGui.")
  90. end
  91. else
  92. print("PlayerGui not available.")
  93. end
  94. end
  95.  
  96. disableAFKCheck()
  97. end)
  98.  
  99. -- Button for "Anti AFK RH2 (External Script)"
  100. MainSection:NewButton("Anti AFK ", "Load anti-AFK script", function()
  101. loadstring(game:HttpGet("https://raw.githubusercontent.com/evxncodes/mainroblox/main/anti-afk", true))()
  102. end)
  103.  
  104. MainSection:NewButton("Ban Bypass", "Change ready settings to true", function()
  105. local args = {
  106. [1] = "Change Ready Settings",
  107. [2] = true
  108. }
  109.  
  110. game:GetService("ReplicatedStorage"):WaitForChild("Remotes"):WaitForChild("Main.RE"):FireServer(unpack(args))
  111. end)
Advertisement
Add Comment
Please, Sign In to add comment