📅 2026-04-20T09:14:41.934Z
👁️ 25 katselukertaa
🔓 Julkinen


--!native
--!optimize 2
-- [[ NEXONI V1 | STEALTH-KEY ENGINE ]]

-- [[ STAGE 1: BYTE-DECRYPTION ]]
-- We store the key as ASCII shifted by a salt value (5)
local _raw = {115, 106, 125, 116, 115, 110, 100, 113, 122, 102} 
local _salt = 5
local _auth = ""

for i = 1, #_raw do
    _auth = _auth .. string.char(_raw[i] - _salt)
end

-- [[ STAGE 2: LOGICAL GATE ]]
-- This prevents scanners from seeing the key in the Global Table
if _G.script_key ~= _auth then 
    warn("[AUTH_ERROR]: Memory mismatch at 0x" .. tostring(math.random(100, 999)))
    return 
end

-- [[ STAGE 3: MEMORY PURGE ]]
-- Destroys all traces of the key from the script's local memory
_raw, _salt, _auth = nil, nil, nil

-- [[ CORE SERVICES ]]
local _S = setmetatable({}, {__index = function(t, k) return game:GetService(k) end})
local LP, RS, UIS, TS = _S.Players.LocalPlayer, _S.RunService, _S.UserInputService, _S.TweenService
local CoreGui = (gethui and gethui()) or _S.CoreGui
local Cam = workspace.CurrentCamera

local Nexoni = {
    SilentAim = false, AimFOV = 220, AimSmooth = 0.05,
    RealOrbit = false, OrbitSpeed = 45, OrbitRadius = 10,
    VoidSpamRight = false, VoidSpamLeft = false, 
    VoidPower = 100000, Crosshair = true,
    Visible = true, Angle = 0, Accent = Color3.fromRGB(0, 255, 150)
}

-- // [01] UI & CROSSHAIR SETUP
local Screen = Instance.new("ScreenGui", CoreGui)
local Main = Instance.new("Frame", Screen)
Main.Size, Main.Position = UDim2.new(0, 260, 0, 480), UDim2.new(0.5, -130, 0.5, -240)
Main.BackgroundColor3 = Color3.fromRGB(10, 10, 12)
Instance.new("UICorner", Main).CornerRadius = UDim.new(0, 12)
local Stroke = Instance.new("UIStroke", Main)
Stroke.Color, Stroke.Thickness = Nexoni.Accent, 1.8

-- Crosshair Components
local CH_V = Instance.new("Frame", Screen); CH_V.Size, CH_V.Position = UDim2.new(0, 2, 0, 16), UDim2.new(0.5, -1, 0.5, -8); CH_V.BackgroundColor3 = Nexoni.Accent; CH_V.BorderSizePixel = 0
local CH_H = Instance.new("Frame", Screen); CH_H.Size, CH_H.Position = UDim2.new(0, 16, 0, 2), UDim2.new(0.5, -8, 0.5, -1); CH_H.BackgroundColor3 = Nexoni.Accent; CH_H.BorderSizePixel = 0

local Container = Instance.new("ScrollingFrame", Main)
Container.Size, Container.Position = UDim2.new(1, -20, 1, -70), UDim2.new(0, 10, 0, 60)
Container.BackgroundTransparency, Container.ScrollBarThickness = 1, 0
Instance.new("UIListLayout", Container).Padding = UDim.new(0, 10)

-- // [02] UI COMPONENT BUILDERS
local function CreateToggle(name, var)
    local B = Instance.new("TextButton", Container)
    B.Size, B.BackgroundColor3 = UDim2.new(1, 0, 0, 42), Color3.fromRGB(20, 20, 25)
    B.Text, B.TextColor3, B.Font, B.TextXAlignment = "  " .. name, Color3.fromRGB(180, 180, 180), Enum.Font.Code, 0
    Instance.new("UICorner", B)
    local Ind = Instance.new("Frame", B)
    Ind.Size, Ind.Position = UDim2.new(0, 4, 1, -16), UDim2.new(1, -12, 0, 8)
    Ind.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
    B.MouseButton1Click:Connect(function()
        Nexoni[var] = not Nexoni[var]
        TS:Create(Ind, TweenInfo.new(0.2), {BackgroundColor3 = Nexoni[var] and Nexoni.Accent or Color3.fromRGB(40, 40, 40)}):Play()
        if var == "Crosshair" then CH_V.Visible, CH_H.Visible = Nexoni.Crosshair, Nexoni.Crosshair end
    end)
end

local function CreateSlider(name, min, max, var)
    local S = Instance.new("Frame", Container); S.Size, S.BackgroundTransparency = UDim2.new(1, 0, 0, 50), 1
    local L = Instance.new("TextLabel", S); L.Size, L.TextColor3 = UDim2.new(1, 0, 0, 20), Color3.new(0.7,0.7,0.7)
    L.BackgroundTransparency, L.Font, L.TextXAlignment = 1, Enum.Font.Code, 0
    local Bar = Instance.new("Frame", S); Bar.Size, Bar.Position = UDim2.new(1, 0, 0, 6), UDim2.new(0, 0, 0, 30); Bar.BackgroundColor3 = Color3.fromRGB(30, 30, 35)
    local Fill = Instance.new("Frame", Bar); Fill.BackgroundColor3 = Nexoni.Accent; Instance.new("UICorner", Fill)
    local function Upd()
        Fill.Size = UDim2.new(math.clamp((Nexoni[var]-min)/(max-min), 0, 1), 0, 1, 0)
        L.Text = name .. ": " .. math.floor(Nexoni[var])
    end
    Bar.InputBegan:Connect(function(input)
        if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
            local m; m = RS.RenderStepped:Connect(function()
                local x = (input.UserInputType == Enum.UserInputType.Touch) and input.Position.X or UIS:GetMouseLocation().X
                Nexoni[var] = min + (max-min) * math.clamp((x - Bar.AbsolutePosition.X) / Bar.AbsoluteSize.X, 0, 1)
                Upd()
            end)
            input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then m:Disconnect() end end)
        end
    end)
    Upd()
end

-- // [03] POPULATE
CreateToggle("STEALTH AIM LOCK", "SilentAim")
CreateToggle("REAL ORBIT WALLBANG", "RealOrbit")
CreateSlider("ORBIT RADIUS", 5, 50, "OrbitRadius")
CreateToggle("VOID SPAM [RIGHT]", "VoidSpamRight")
CreateToggle("VOID SPAM [LEFT]", "VoidSpamLeft")
CreateSlider("VOID POWER", 1, 1000000, "VoidPower")
CreateToggle("CUSTOM CROSSHAIR", "Crosshair")

-- // [04] GHOST PHYSICS ENGINE
local function GetEnemy()
    local target, dist = nil, Nexoni.AimFOV
    for _, v in pairs(_S.Players:GetPlayers()) do
        if v ~= LP and v.Character and v.Character:FindFirstChild("HumanoidRootPart") and v.Character.Humanoid.Health > 0 then
            local pos = Cam:WorldToViewportPoint(v.Character.HumanoidRootPart.Position)
            local mag = (Vector2.new(pos.X, pos.Y) - (Cam.ViewportSize/2)).Magnitude
            if mag < dist then target = v.Character.HumanoidRootPart; dist = mag end
        end
    end
    return target
end

RS.Heartbeat:Connect(function()
    local R = LP.Character and LP.Character:FindFirstChild("HumanoidRootPart")
    if not R then return end
    local Enemy = GetEnemy()

    -- Orbit Logic (Locked to Enemy Level)
    if Nexoni.RealOrbit and Enemy then
        Nexoni.Angle = Nexoni.Angle + (Nexoni.OrbitSpeed / 70)
        local Off = Vector3.new(math.cos(Nexoni.Angle) * Nexoni.OrbitRadius, 0, math.sin(Nexoni.Angle) * Nexoni.OrbitRadius)
        R.Velocity = Vector3.zero
        R.CFrame = CFrame.new(Enemy.Position + Off, Enemy.Position)
    end

    -- Independent Void Phase Logic
    if Nexoni.VoidSpamRight or Nexoni.VoidSpamLeft then
        local cf = R.CFrame
        local shift = Vector3.zero
        if Nexoni.VoidSpamRight then shift = cf.RightVector * Nexoni.VoidPower end
        if Nexoni.VoidSpamLeft then shift = cf.RightVector * -Nexoni.VoidPower end
        
        R.CFrame = cf + shift
        RS.Stepped:Wait() -- Sync with engine physics
        R.CFrame = cf
    end
end)

RS.RenderStepped:Connect(function()
    if Nexoni.SilentAim then
        local tar = GetEnemy()
        if tar then Cam.CFrame = Cam.CFrame:Lerp(CFrame.lookAt(Cam.CFrame.Position, tar.Position), Nexoni.AimSmooth) end
    end
end)

-- // [05] DRAG & UI LOGIC
local Dragging, DragStart, StartPos
Main.InputBegan:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then Dragging = true; DragStart = i.Position; StartPos = Main.Position end end)
UIS.InputChanged:Connect(function(i) if Dragging and i.UserInputType == Enum.UserInputType.MouseMovement then
    local Delta = i.Position - DragStart
    Main.Position = UDim2.new(StartPos.X.Scale, StartPos.X.Offset + Delta.X, StartPos.Y.Scale, StartPos.Y.Offset + Delta.Y)
end end)
UIS.InputEnded:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then Dragging = false end end)

local T = Instance.new("TextButton", Screen); T.Size, T.Position = UDim2.new(0, 50, 0, 50), UDim2.new(0.02, 0, 0.1, 0)
T.BackgroundColor3, T.Text, T.TextColor3, T.Font = Color3.fromRGB(15, 15, 20), "V1", Nexoni.Accent, Enum.Font.Code
Instance.new("UICorner", T).CornerRadius = UDim.new(1, 0); Instance.new("UIStroke", T).Color = Nexoni.Accent
T.MouseButton1Click:Connect(function() Nexoni.Visible = not Nexoni.Visible; Main.Visible = Nexoni.Visible end)