📅 2026-04-20T09:33:07.188Z
👁️ 62 katselukertaa
🔓 Julkinen


--!native
--!optimize 2
-- [[ NEXONI V1 | PC & MOBILE TITAN ]]

_G.script_key = "nexoni_lua"

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

local Nexoni = {
    SilentAim = false,
    ESP = false,
    VoidSpam = false,
    VoidPower = 600000,
    Orbit = false,
    OrbitSpeed = 150,
    OrbitRadius = 0, -- TPing directly into them
    Crosshair = true,
    Visible = true,
    Angle = 0,
    Accent = Color3.fromRGB(0, 255, 150)
}

-- // [01] UI CORE (PC & MOBILE OPTIMIZED)
local Screen = Instance.new("ScreenGui", CoreGui)
Screen.Name = "Nexoni_Titan_Dual"

local Main = Instance.new("Frame", Screen)
Main.Size = UDim2.new(0, 220, 0, 420)
Main.Position = UDim2.new(0.5, -110, 0.5, -210)
Main.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
Main.BorderSizePixel = 1
Main.BorderColor3 = Color3.fromRGB(40, 40, 40)

local TopBar = Instance.new("Frame", Main)
TopBar.Size = UDim2.new(1, 0, 0, 25); TopBar.BackgroundColor3 = Color3.fromRGB(22, 22, 22); TopBar.BorderSizePixel = 0
local Title = Instance.new("TextLabel", TopBar)
Title.Size, Title.Position = UDim2.new(1, -10, 1, 0), UDim2.new(0, 10, 0, 0)
Title.Text, Title.TextColor3, Title.Font, Title.TextSize = "NEXONI V1", Color3.new(1,1,1), Enum.Font.Code, 12
Title.TextXAlignment, Title.BackgroundTransparency = 0, 1
local AccentLine = Instance.new("Frame", TopBar)
AccentLine.Size, AccentLine.Position = UDim2.new(1, 0, 0, 1), UDim2.new(0, 0, 1, 0); AccentLine.BackgroundColor3 = Nexoni.Accent; AccentLine.BorderSizePixel = 0

local Container = Instance.new("ScrollingFrame", Main)
Container.Size, Container.Position = UDim2.new(1, -16, 1, -40), UDim2.new(0, 8, 0, 35)
Container.BackgroundTransparency, Container.ScrollBarThickness = 1, 0
Instance.new("UIListLayout", Container).Padding = UDim.new(0, 10)

-- Visual Components (Crosshair)
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 function CreateToggle(name, var)
    local T = Instance.new("TextButton", Container); T.Size, T.BackgroundTransparency, T.Text = UDim2.new(1, 0, 0, 26), 1, ""
    local Box = Instance.new("Frame", T); Box.Size, Box.Position = UDim2.new(0, 14, 0, 14), UDim2.new(0, 2, 0.5, -7)
    Box.BackgroundColor3, Box.BorderColor3 = Color3.fromRGB(30, 30, 30), Color3.fromRGB(50, 50, 50)
    local Label = Instance.new("TextLabel", T); Label.Size, Label.Position = UDim2.new(1, -25, 1, 0), UDim2.new(0, 22, 0, 0)
    Label.Text, Label.TextColor3, Label.Font, Label.TextSize = name, Color3.fromRGB(180, 180, 180), Enum.Font.Code, 12
    Label.TextXAlignment, Label.BackgroundTransparency = 0, 1
    T.MouseButton1Click:Connect(function()
        Nexoni[var] = not Nexoni[var]
        Box.BackgroundColor3 = Nexoni[var] and Nexoni.Accent or Color3.fromRGB(30, 30, 30)
        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, 40), 1
    local L = Instance.new("TextLabel", S); L.Size, L.Text = UDim2.new(1, 0, 0, 15), name .. ": " .. math.floor(Nexoni[var])
    L.TextColor3, L.Font, L.TextSize, L.TextXAlignment, L.BackgroundTransparency = Color3.new(0.7,0.7,0.7), Enum.Font.Code, 11, 0, 1
    local Bar = Instance.new("Frame", S); Bar.Size, Bar.Position = UDim2.new(1, -4, 0, 8), UDim2.new(0, 2, 0, 20)
    Bar.BackgroundColor3, Bar.BorderColor3 = Color3.fromRGB(35,35,40), Color3.fromRGB(55,55,60)
    local Fill = Instance.new("Frame", Bar); Fill.Size, Fill.BackgroundColor3, Fill.BorderSizePixel = UDim2.new(math.clamp((Nexoni[var]-min)/(max-min), 0, 1), 0, 1, 0), Nexoni.Accent, 0
    Bar.InputBegan:Connect(function(input)
        if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
            local c; c = RS.RenderStepped:Connect(function()
                local percent = math.clamp((UIS:GetMouseLocation().X - Bar.AbsolutePosition.X) / Bar.AbsoluteSize.X, 0, 1)
                Nexoni[var] = min + (max - min) * percent
                Fill.Size, L.Text = UDim2.new(percent, 0, 1, 0), name .. ": " .. math.floor(Nexoni[var])
            end)
            input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then c:Disconnect() end end)
        end
    end)
end

-- Populate Menu
CreateToggle("Silent Head-Aim", "SilentAim")
CreateToggle("Wallbang Orbit [PC/M]", "Orbit")
CreateSlider("Orbit Speed", 1, 800, "OrbitSpeed")
CreateSlider("Orbit Radius", 0, 50, "OrbitRadius")
CreateToggle("Side-Void Pulse", "VoidSpam")
CreateSlider("Void Power", 1000, 1000000, "VoidPower")
CreateToggle("Global ESP", "ESP")
CreateToggle("Custom Crosshair", "Crosshair")

-- // [02] GHOST ENGINE (FIXED ANCHOR)
local function GetClosest()
    local target, dist = nil, 500
    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; dist = mag end
        end
    end
    return target
end

local Tracers = {}
local side = 1

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

    -- REFIXED 360 ORBIT (NO FALLING)
    if Nexoni.Orbit then
        local TargetObj = GetClosest()
        if TargetObj and TargetObj.Character:FindFirstChild("HumanoidRootPart") then
            local EnemyR = TargetObj.Character.HumanoidRootPart
            Nexoni.Angle = Nexoni.Angle + (Nexoni.OrbitSpeed / 100)
            
            -- TP/Orbit Math: Using Enemy's Y position to prevent falling
            local TargetPos = EnemyR.Position
            local Off = Vector3.new(math.cos(Nexoni.Angle) * Nexoni.OrbitRadius, 0, math.sin(Nexoni.Angle) * Nexoni.OrbitRadius)
            
            R.AssemblyLinearVelocity = Vector3.zero
            R.CFrame = CFrame.new(TargetPos + Off, TargetPos)
            
            -- Collision Bypass for Wallbang
            for _, v in pairs(Char:GetDescendants()) do if v:IsA("BasePart") then v.CanCollide = false end end
        end
    end

    -- Side-Void Engine
    if Nexoni.VoidSpam then
        local oCF = R.CFrame
        side = -side
        R.AssemblyLinearVelocity = Vector3.zero
        R.CFrame = oCF + (oCF.RightVector * (Nexoni.VoidPower * side))
        RS.RenderStepped:Wait() 
        R.CFrame = oCF
    end

    -- ESP Component
    if Nexoni.ESP then
        for _, p in pairs(_S.Players:GetPlayers()) do
            if p ~= LP and p.Character and p.Character:FindFirstChild("HumanoidRootPart") then
                local box = Tracers[p] or Instance.new("BoxHandleAdornment")
                Tracers[p] = box
                box.Size, box.AlwaysOnTop, box.Color3 = Vector3.new(4, 6, 0.1), true, Nexoni.Accent
                box.Adornee, box.Parent, box.Visible = p.Character.HumanoidRootPart, CoreGui, true
                box.Transparency = 0.6
            end
        end
    else
        for _, t in pairs(Tracers) do t.Visible = false end
    end
end)

-- Silent Aim Execution
RS.RenderStepped:Connect(function()
    if Nexoni.SilentAim then
        local target = GetClosest()
        if target and target.Character:FindFirstChild("Head") then
            Cam.CFrame = Cam.CFrame:Lerp(CFrame.lookAt(Cam.CFrame.Position, target.Character.Head.Position), Nexoni.AimSmooth)
        end
    end
end)

-- // [03] INPUT & TOGGLES
UIS.InputBegan:Connect(function(i, g)
    if not g and i.KeyCode == Enum.KeyCode.RightShift then
        Nexoni.Visible = not Nexoni.Visible
        Main.Visible = Nexoni.Visible
    end
end)

local B = Instance.new("TextButton", Screen); B.Size, B.Position = UDim2.new(0, 35, 0, 35), UDim2.new(0, 10, 0.5, -17)
B.BackgroundColor3, B.BorderColor3, B.Text, B.TextColor3, B.Font = Color3.fromRGB(20, 20, 20), Nexoni.Accent, "N", Nexoni.Accent, Enum.Font.Code
B.MouseButton1Click:Connect(function() Nexoni.Visible = not Nexoni.Visible; Main.Visible = Nexoni.Visible end)