📅 2026-04-20T09:35:21.304Z
👁️ 70 katselukertaa
🔓 Julkinen


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

_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, -- Set to 0 to TP directly inside the enemy
    Angle = 0,
    Visible = true,
    Accent = Color3.fromRGB(0, 255, 150)
}

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

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

local TopBar = Instance.new("Frame", Main)
TopBar.Size = UDim2.new(1, 0, 0, 28); 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 | FINAL", Color3.new(1,1,1), Enum.Font.Code, 13
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, -45), UDim2.new(0, 8, 0, 38)
Container.BackgroundTransparency, Container.ScrollBarThickness = 1, 0
Instance.new("UIListLayout", Container).Padding = UDim.new(0, 8)

-- UI Builders
local function CreateToggle(name, var)
    local T = Instance.new("TextButton", Container); T.Size, T.BackgroundTransparency, T.Text = UDim2.new(1, 0, 0, 24), 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)
    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

CreateToggle("Silent Head-Aim", "SilentAim")
CreateToggle("360 Phased Orbit", "Orbit")
CreateSlider("Orbit Speed", 1, 1000, "OrbitSpeed")
CreateSlider("TP Radius", 0, 30, "OrbitRadius")
CreateToggle("Omni Side-Void", "VoidSpam")
CreateSlider("Void Power", 1000, 1000000, "VoidPower")
CreateToggle("Global ESP", "ESP")

-- // [02] THE TITAN ENGINE
local function GetClosest()
    local target, dist = nil, 600
    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

    -- TITAN ORBIT (TP LOGIC)
    if Nexoni.Orbit then
        local Target = GetClosest()
        if Target and Target.Character:FindFirstChild("HumanoidRootPart") then
            local EnemyR = Target.Character.HumanoidRootPart
            Nexoni.Angle = Nexoni.Angle + (Nexoni.OrbitSpeed / 100)
            
            -- Lock Y to enemy Head (1.5) to ensure Wallbang line-of-sight
            local TargetPos = EnemyR.Position
            local Off = Vector3.new(math.cos(Nexoni.Angle) * Nexoni.OrbitRadius, 1.5, math.sin(Nexoni.Angle) * Nexoni.OrbitRadius)
            
            R.AssemblyLinearVelocity = Vector3.zero
            R.CFrame = CFrame.new(TargetPos + Off, TargetPos)
            
            -- Disable collisions so you stay phased inside them
            for _, v in pairs(Char:GetDescendants()) do if v:IsA("BasePart") then v.CanCollide = false end end
        end
    end

    -- 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), 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
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), 0.1)
        end
    end
end)

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

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