1. -- default settings
  2. _G.AutoBlock = true -- blocks most incoming hits but may also block your hits.
  3. _G.InfEnergy = true
  4. _G.NoCooldown = true -- works for some things like you can spam ryan's right click.
  5. spawn(function()
  6. a = hookfunction(wait, function(b) if b ~= 0 and tostring(getcallingscript(a)) ~= "nil" and tonumber(b) < 2.5 and _G.NoCooldown == true then return a() end return a(b) end)
  7. end)
  8. spawn(function()
  9. local function CreateInstance(cls,props)
  10. local inst = Instance.new(cls)
  11. for i,v in pairs(props) do
  12. inst[i] = v
  13. end
  14. return inst
  15. end
  16. local ScreenGui = CreateInstance('ScreenGui',{DisplayOrder=0,Enabled=true,ResetOnSpawn=true,Name='ScreenGui', Parent=game.CoreGui})
  17. local Frame = CreateInstance('Frame',{Style=Enum.FrameStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=1,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.717395179, 0, 0.219242901, 0),Rotation=0,Selectable=false,Size=UDim2.new(0, 531, 0, 267),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name = 'Frame',Parent = ScreenGui})
  18. local AutoBlock = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Toggle Auto Block (Default)',TextColor3=Color3.new(0.792157, 0.792157, 0.792157),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0, 0, 0, 50),Rotation=0,Selectable=true,Size=UDim2.new(0, 170, 0, 50),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='Script1',Parent = Frame})
  19. local InfEnergy = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Toggle Infinite Energy (Default)',TextColor3=Color3.new(0.792157, 0.792157, 0.792157),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0, 0, 0, 105),Rotation=0,Selectable=true,Size=UDim2.new(0, 170, 0, 50),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='Script2',Parent = Frame})
  20. local NoCooldown = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='Toggle No Cooldown (Default)',TextColor3=Color3.new(0.792157, 0.792157, 0.792157),TextScaled=false,TextSize=14,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=false,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.Custom,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(0, 0, 0),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0, 0, 0, 160),Rotation=0,Selectable=true,Size=UDim2.new(0, 170, 0, 50),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='Script3',Parent = Frame})
  21. ScreenGui.Parent = game:GetService("CoreGui")
  22. spawn(function()
  23. wait(0.2)
  24. if _G.AutoBlock then AutoBlock.Text = "Toggle Auto Block (On)" else AutoBlock.Text = "Toggle Auto Block (Off)" end
  25. if _G.InfEnergy then InfEnergy.Text = "Toggle Infinite Energy (On)" else InfEnergy.Text = "Toggle Infinite Energy (Off)" end
  26. if _G.NoCooldown then NoCooldown.Text = "Toggle No Cooldown (On)" else NoCooldown.Text = "Toggle No Cooldown (Off)" end
  27. end)
  28. AutoBlock.MouseButton1Click:Connect(function()
  29. if _G.AutoBlock == true then _G.AutoBlock = false AutoBlock.Text = "Toggle Auto Block (Off)" elseif _G.AutoBlock == false then _G.AutoBlock = true AutoBlock.Text = "Toggle Auto Block (On)" end
  30. end)
  31. InfEnergy.MouseButton1Click:Connect(function()
  32. if _G.InfEnergy == true then _G.InfEnergy = false InfEnergy.Text = "Toggle Infinite Energy (Off)" elseif _G.InfEnergy == false then _G.InfEnergy = true InfEnergy.Text = "Toggle Infinite Energy (On)" end
  33. end)
  34. NoCooldown.MouseButton1Click:Connect(function()
  35. if _G.NoCooldown == true then _G.NoCooldown = false NoCooldown.Text = "Toggle No Cooldown (Off)" elseif _G.NoCooldown == false then _G.NoCooldown = true NoCooldown.Text = "Toggle No Cooldown (On)" end
  36. end)
  37. end)
  38. name = tostring(game.Players.LocalPlayer.Name)
  39. game:GetService("RunService").Heartbeat:Connect(function()
  40. spawn(function()
  41. if _G.AutoBlock == true then
  42. wait()
  43. game:GetService("ReplicatedStorage").RemoteEvents.ReplicateGuardOn:FireServer()
  44. game:GetService("Workspace")[name].Guarding.Value = false
  45. wait()
  46. game:GetService("ReplicatedStorage").RemoteEvents.ReplicateGuardOff:FireServer()
  47. end
  48. end)
  49. spawn(function()
  50. if _G.InfEnergy then
  51. game:GetService("Workspace")[name].Energy.Value = 97
  52. end
  53. end)
  54. end)