Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
- local Window = Rayfield:CreateWindow({
- Name = "Or4ng3_Fru1t | AUTO-BLOCK FIX",
- Theme = "AmberGlow",
- })
- local Tab = Window:CreateTab("Combat Fix", 4483362458)
- _G.AggressiveBlock = false
- _G.Distance = 15
- Tab:CreateToggle({
- Name = "Aggressive Auto-Parry",
- CurrentValue = false,
- Callback = function(v) _G.AggressiveBlock = v end,
- })
- Tab:CreateSlider({
- Name = "Parry Distance",
- Range = {5, 25},
- Increment = 1,
- CurrentValue = 15,
- Callback = function(v) _G.Distance = v end,
- })
- -- THE "SNIFFER" LOOP
- game:GetService("RunService").Heartbeat:Connect(function()
- if _G.AggressiveBlock then
- local player = game.Players.LocalPlayer
- local char = player.Character
- if not char then return end
- for _, enemy in pairs(workspace:GetChildren()) do
- if enemy:FindFirstChild("Humanoid") and enemy.Name ~= player.Name then
- local eRoot = enemy:FindFirstChild("HumanoidRootPart")
- local mRoot = char:FindFirstChild("HumanoidRootPart")
- if eRoot and mRoot then
- local dist = (eRoot.Position - mRoot.Position).Magnitude
- if dist <= _G.Distance then
- -- Check if they are attacking
- local anims = enemy.Humanoid:GetPlayingAnimationTracks()
- if #anims > 0 then
- -- METHOD 1: Try to fire common Remote names
- local remotes = game:GetService("ReplicatedStorage"):FindFirstChild("Remotes") or game:GetService("ReplicatedStorage")
- for _, r in pairs(remotes:GetDescendants()) do
- if r:IsA("RemoteEvent") and (r.Name:lower():find("block") or r.Name:lower():find("parry")) then
- r:FireServer(true) -- Directly tells the server "I am blocking"
- end
- end
- -- METHOD 2: Force the F Key (Fallback)
- game:GetService("VirtualInputManager"):SendKeyEvent(true, Enum.KeyCode.F, false, game)
- task.wait(0.05)
- game:GetService("VirtualInputManager"):SendKeyEvent(false, Enum.KeyCode.F, false, game)
- end
- end
- end
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment