Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
- local Window = Library.CreateLib("RH2 GUI BY BigbodyV", "DarkTheme")
- local Main = Window:NewTab("boost")
- local MainSection = Main:NewSection("boost")
- -- Button for "Shot Multi"
- MainSection:NewButton("Shot Multi", "Multiply shot", function()
- -- Services
- local Players = game:GetService("Players")
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- -- Player Variables
- local localPlayer = Players.LocalPlayer
- local backpack = localPlayer:WaitForChild("Backpack")
- local actionValues = backpack:WaitForChild("ActionValues")
- local power = actionValues:WaitForChild("Power")
- -- Globals
- _G.Xp = false
- _G.Multiplier = 100 -- Set the shot multiplier to 50
- _G.ChangeValue = 1
- -- Function to Fire Shots Based on Multiplier
- local function onPowerChanged()
- if power.Value >= _G.ChangeValue and _G.Xp then
- local args = {
- [1] = false,
- [2] = "Shooting",
- [3] = "Standing Shot"
- }
- local playerEvents = backpack:FindFirstChild("PlayerEvents") or ReplicatedStorage:FindFirstChild("PlayerEvents")
- if playerEvents then
- local shootingEvent = playerEvents:FindFirstChild("Shooting")
- if shootingEvent then
- for i = 1, _G.Multiplier do
- shootingEvent:FireServer(unpack(args))
- end
- else
- warn("Shooting event not found in PlayerEvents.")
- end
- else
- warn("PlayerEvents folder not found in either Backpack or ReplicatedStorage.")
- end
- end
- end
- -- Connect Power Change Signal
- power:GetPropertyChangedSignal("Value"):Connect(onPowerChanged)
- -- Example Usage: Setting values
- _G.Xp = true -- Set to true to enable shooting
- _G.ChangeValue = 50 -- Minimum power value to trigger the shot
- end)
- -- Button for "Anti AFK RH2 (Disable AFK Check)"
- MainSection:NewButton("Anti AFK RH2 (Disable AFK Check)", "Makes sure you don't go AFK", function()
- local StarterGui = game:GetService("StarterGui")
- local Players = game:GetService("Players")
- local function disableAFKCheck()
- local starterGuiAFKUi = StarterGui:FindFirstChild("AFK.Ui")
- if starterGuiAFKUi then
- local afkCheckScript = starterGuiAFKUi:FindFirstChild("AFK.Check")
- if afkCheckScript and afkCheckScript:IsA("LocalScript") then
- afkCheckScript.Disabled = true
- print("AFK.Check script in StarterGui is disabled.")
- else
- print("AFK.Check script not found or not a LocalScript in StarterGui.")
- end
- else
- print("AFK.Ui not found in StarterGui.")
- end
- local player = Players.LocalPlayer
- if player and player.PlayerGui then
- local playerGuiAFKUi = player.PlayerGui:FindFirstChild("AFK.Ui")
- if playerGuiAFKUi then
- local afkCheckScript = playerGuiAFKUi:FindFirstChild("AFK.Check")
- if afkCheckScript and afkCheckScript:IsA("LocalScript") then
- afkCheckScript.Disabled = true
- print("AFK.Check script in PlayerGui is disabled.")
- else
- print("AFK.Check script not found or not a LocalScript in PlayerGui.")
- end
- else
- print("AFK.Ui not found in PlayerGui.")
- end
- else
- print("PlayerGui not available.")
- end
- end
- disableAFKCheck()
- end)
- -- Button for "Anti AFK RH2 (External Script)"
- MainSection:NewButton("Anti AFK ", "Load anti-AFK script", function()
- loadstring(game:HttpGet("https://raw.githubusercontent.com/evxncodes/mainroblox/main/anti-afk", true))()
- end)
- MainSection:NewButton("Ban Bypass", "Change ready settings to true", function()
- local args = {
- [1] = "Change Ready Settings",
- [2] = true
- }
- game:GetService("ReplicatedStorage"):WaitForChild("Remotes"):WaitForChild("Main.RE"):FireServer(unpack(args))
- end)
Advertisement
Add Comment
Please, Sign In to add comment