
KeylessUniversal

local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
local Window = Rayfield:CreateWindow({
Name = "Golden Hub | MVS Duels",
LoadingTitle = "Golden Hub",
LoadingSubtitle = "Limpiando Interfaz...",
ConfigurationSaving = { Enabled = false }
})
-- Servicios
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local LocalPlayer = Players.LocalPlayer
local Mouse = LocalPlayer:GetMouse()
local Camera = workspace.CurrentCamera
-- Variables
_G.SilentAim = false
_G.HighlightESP = false
-- ==========================================
-- FUNCIÓN WALL CHECK (REVISAR PARED)
-- ==========================================
local function isEnemyVisible(targetPart)
if not targetPart then return false end
local char = LocalPlayer.Character
local origin = Camera.CFrame.Position
local destination = targetPart.Position
local direction = destination - origin
local raycastParams = RaycastParams.new()
raycastParams.FilterDescendantsInstances = {char, Camera}
raycastParams.FilterType = Enum.RaycastFilterType.Exclude
local raycastResult = workspace:Raycast(origin, direction, raycastParams)
if raycastResult then
local hitInstance = raycastResult.Instance
if hitInstance:IsDescendantOf(targetPart.Parent) then
return true
end
end
return false
end
-- FUNCIÓN TARGET (Detecta enemigos visibles y de otro equipo)
local function getBestTarget()
local target = nil
local shortestDistance = math.huge
for _, v in pairs(Players:GetPlayers()) do
if v ~= LocalPlayer and v.Character and v.Character:FindFirstChild("Head") and v.Character.Humanoid.Health > 0 then
local isEnemy = (v.Team ~= LocalPlayer.Team or v.Team == nil)
if isEnemy then
local pos, onScreen = Camera:WorldToViewportPoint(v.Character.Head.Position)
if onScreen then
if isEnemyVisible(v.Character.Head) then
local distance = (Vector2.new(pos.X, pos.Y) - Vector2.new(Mouse.X, Mouse.Y)).Magnitude
if distance < shortestDistance then
target = v.Character.Head
shortestDistance = distance
end
end
end
end
end
end
return target
end
--- SECCIÓN 1: GUNS ---
local GunTab = Window:CreateTab("Guns", 4483362458)
GunTab:CreateToggle({
Name = "Silent Aim (Wall Check)",
CurrentValue = false,
Callback = function(Value) _G.SilentAim = Value end,
})
-- LÓGICA DE METATABLA PARA SILENT AIM
local mt = getrawmetatable(game)
local oldIndex = mt.__index
setreadonly(mt, false)
mt.__index = newcclosure(function(self, index)
if _G.SilentAim and self == Mouse and (index == "Hit" or index == "Target") then
local target = getBestTarget()
if target then
return (index == "Hit" and target.CFrame or target)
end
end
return oldIndex(self, index)
end)
setreadonly(mt, true)
--- SECCIÓN 2: VISUALS ---
local VisTab = Window:CreateTab("Visuals", 11433519636)
VisTab:CreateToggle({
Name = "Highlights (Golden Style)",
CurrentValue = false,
Callback = function(Value) _G.HighlightESP = Value end,
})
RunService.RenderStepped:Connect(function()
for _, p in pairs(Players:GetPlayers()) do
if p.Character then
local highlight = p.Character:FindFirstChild("GoldenHighlight")
local isEnemy = (p.Team ~= LocalPlayer.Team or p.Team == nil)
if _G.HighlightESP and p ~= LocalPlayer and isEnemy and p.Character.Humanoid.Health > 0 then
if not highlight then
highlight = Instance.new("Highlight", p.Character)
highlight.Name = "GoldenHighlight"
highlight.FillColor = Color3.fromRGB(255, 215, 0)
highlight.FillTransparency = 0.5
highlight.OutlineColor = Color3.fromRGB(255, 255, 255)
end
highlight.Enabled = true
else
if highlight then highlight.Enabled = false end
end
end
end
end)



The script is good, but the shot shouldn't be a headshot and it shouldn't hit my teammate.
You have to set the shot to chest and also not shoot my teammate