-- BABA OPS V14: REPAIR EDITION
local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
-- [[ GLOBAL AYARLAR ]]
_G.Aimbot = false
_G.ESP = false
_G.FOV = 50
_G.Smoothness = 0.15
local Window = Rayfield:CreateWindow({
Name = "Created by Razov | Counter Blox",
LoadingTitle = "Loading Systems...",
LoadingSubtitle = "by Razov",
ConfigurationSaving = { Enabled = false },
KeySystem = true,
KeySettings = {
Title = "Counter Blox | Key System",
Subtitle = "Enter the Access Key",
Note = "Key: notrust2025",
FileName = "RazovKey",
SaveKey = true,
Key = {"notrust2025"}
}
})
local MainTab = Window:CreateTab("Combat & Visuals", 4483362458)
MainTab:CreateToggle({
Name = "Aimbot (Right Click)",
CurrentValue = false,
Callback = function(Value) _G.Aimbot = Value end,
})
MainTab:CreateSlider({
Name = "Aimbot FOV",
Range = {10, 500},
Increment = 10,
CurrentValue = 50,
Callback = function(Value) _G.FOV = Value end,
})
MainTab:CreateToggle({
Name = "Player ESP",
CurrentValue = false,
Callback = function(Value) _G.ESP = Value end,
})
-- [[ FOV DAİRESİ ÇİZİMİ ]]
local AimCircle = Drawing.new("Circle")
AimCircle.Thickness = 1
AimCircle.Color = Color3.new(1, 1, 1)
AimCircle.Filled = false
AimCircle.Transparency = 1
AimCircle.Visible = false
-- [[ MOTOR ]]
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UIS = game:GetService("UserInputService")
local Camera = workspace.CurrentCamera
local LocalPlayer = Players.LocalPlayer
local function IsVisible(part)
local ray = Camera:GetPartsObscuringTarget({Camera.CFrame.Position, part.Position}, {LocalPlayer.Character, part.Parent})
return #ray == 0
end
local function GetTarget()
local t, d = nil, _G.FOV
for _, v in pairs(Players:GetPlayers()) do
if v ~= LocalPlayer and v.Team ~= LocalPlayer.Team and v.Character and v.Character:FindFirstChild("Head") then
if v.Character.Humanoid.Health > 0 then
local p, on = Camera:WorldToViewportPoint(v.Character.Head.Position)
if on then
local m = (Vector2.new(p.X, p.Y) - UIS:GetMouseLocation()).Magnitude
if m 0 then
local pos, on = Camera:WorldToViewportPoint(hrp.Position)
if on then
local dist = (Camera.CFrame.Position - hrp.Position).Magnitude
local sX, sY = 2500/dist, 3500/dist
draw.Box.Visible = true; draw.Box.Size = Vector2.new(sX, sY); draw.Box.Position = Vector2.new(pos.X - sX/2, pos.Y - sY/2)
draw.Box.Color = (player.Team ~= LocalPlayer.Team) and Color3.new(1, 0, 0) or Color3.new(0, 1, 0)
draw.Label.Visible = true; draw.Label.Text = player.Name .. "\n" .. math.floor(dist) .. "m"
draw.Label.Position = Vector2.new(pos.X, pos.Y + sY/2 + 2)
else draw.Box.Visible = false; draw.Label.Visible = false end
else draw.Box.Visible = false; draw.Label.Visible = false end
end
end)