SparkHub v5

idk, just keyless script

publicluau#universal#hub#itzkonst#wearentdevs remote loaderupdated

the risk scan cleared this script. it still noticed a few things:

risk 1/10 · safe

sends data to or loads code from github.com, games.roblox.com.

loadstring(game:HttpGet("https://pasteblox.com/raw/itzkonstik/sparkhubv5"))()
pbx pull xnf48w9ekhraw link never changes · v1 live
sparkhub-v5.luau
-- Keyless script menu
-- Open source
-- WINDUI


-- ================== LOAD WINDUI ==================
local ok, WindUI = pcall(function()
    return loadstring(game:HttpGet("https://github.com/Footagesus/WindUI/releases/latest/download/main.lua"))()
end)
if not ok or not WindUI then
    warn("SparkHub: failed to load WindUI")
    return
end

-- ================== SERVICES ==================
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local Workspace = game:GetService("Workspace")
local Lighting = game:GetService("Lighting")
local TeleportService = game:GetService("TeleportService")
local Debris = game:GetService("Debris")
local VirtualInputManager = game:GetService("VirtualInputManager")

local LocalPlayer = Players.LocalPlayer
local Camera = Workspace.CurrentCamera

getgenv().SP5_Connections = getgenv().SP5_Connections or {}
local Connections = getgenv().SP5_Connections
local function track(c)
    table.insert(Connections, c)
    return c
end

-- ================== STATE ==================
local State = {
    noclip = false, fly = false, godmode = false, esp = false,
    infiniteJump = false, fullbright = false, touchFling = false,
    aimbot = false, aimAssist = false, triggerBot = false,
    wallCheck = false, teamCheck = false, targetFilter = false,
}
local flingPower = 500
local aimbotSmoothness = 0.5
local aimbotFOV = 120
local aimAssistSmoothness = 0.25
local triggerBotDelay = 0.05
local selectedTargetPart = "Head"

-- ================== HELPERS ==================
local function getChar()
    return LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
end
local function getHum()
    local c = LocalPlayer.Character
    return c and c:FindFirstChildOfClass("Humanoid")
end
local function getHRP()
    local c = LocalPlayer.Character
    return c and c:FindFirstChild("HumanoidRootPart")
end
local function hasTeams()
    local Teams = game:GetService("Teams")
    local ok2, res = pcall(function() return #Teams:GetTeams() > 0 end)
    return ok2 and res
end
local function isSameTeam(plr)
    if not State.teamCheck or not hasTeams() then return false end
    local ok2, res = pcall(function()
        return LocalPlayer.Team and plr.Team and LocalPlayer.Team == plr.Team
    end)
    return ok2 and res
end
local function hasLineOfSight(targetPart)
    if not State.wallCheck then return true end
    local ok2, res = pcall(function()
        local params = RaycastParams.new()
        params.FilterType = Enum.RaycastFilterType.Exclude
        params.FilterDescendantsInstances = {getChar(), targetPart.Parent}
        params.IgnoreWater = true
        local origin = Camera.CFrame.Position
        local result = Workspace:Raycast(origin, targetPart.Position - origin, params)
        return result == nil or result.Instance:IsDescendantOf(targetPart.Parent)
    end)
    return ok2 and res
end
local function isValidTarget(plr)
    if plr == LocalPlayer then return false end
    local char = plr.Character
    if not char then return false end
    local hum = char:FindFirstChildOfClass("Humanoid")
    if not hum or hum.Health <= 0 then return false end
    if isSameTeam(plr) then return false end
    return true
end
local function getTargetPart(plr)
    local char = plr.Character
    if not char then return nil end
    return char:FindFirstChild(selectedTargetPart)
        or char:FindFirstChild("Head")
        or char:FindFirstChild("HumanoidRootPart")
end
local function getBestTarget(fovRadius)
    local best, bestDist = nil, fovRadius or math.huge
    local center = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y / 2)
    for _, plr in ipairs(Players:GetPlayers()) do
        if isValidTarget(plr) then
            local part = getTargetPart(plr)
            if part then
                local screenPos, onScreen = Camera:WorldToViewportPoint(part.Position)
                if onScreen and screenPos.Z > 0 then
                    local d = (Vector2.new(screenPos.X, screenPos.Y) - center).Magnitude
                    if d < bestDist and hasLineOfSight(part) then
                        bestDist = d
                        best = part
                    end
                end
            end
        end
    end
    return best
end

-- ================== FEATURES ==================
local noclipConn
local function setNoclip(on)
    State.noclip = on
    if on then
        if not noclipConn then
            noclipConn = track(RunService.Stepped:Connect(function()
                if not State.noclip then return end
                local c = LocalPlayer.Character
                if c then
                    for _, p in ipairs(c:GetDescendants()) do
                        if p:IsA("BasePart") then p.CanCollide = false end
                    end
                end
            end))
        end
        pcall(function() WindUI:Notify({ Title = "Noclip", Content = "Enabled", Duration = 2 }) end)
    else
        if noclipConn then noclipConn:Disconnect(); noclipConn = nil end
        local c = LocalPlayer.Character
        if c then
            for _, p in ipairs(c:GetDescendants()) do
                if p:IsA("BasePart") then p.CanCollide = true end
            end
        end
        pcall(function() WindUI:Notify({ Title = "Noclip", Content = "Disabled", Duration = 2 }) end)
    end
end

local function setGod(on)
    State.godmode = on
    local h = getHum()
    if h then
        if on then
            h.MaxHealth = math.huge; h.Health = math.huge
            pcall(function() WindUI:Notify({ Title = "Godmode", Content = "Enabled", Duration = 2 }) end)
        else
            h.MaxHealth = 100; h.Health = 100
            pcall(function() WindUI:Notify({ Title = "Godmode", Content = "Disabled", Duration = 2 }) end)
        end
    end
end

local flyBV, flyBG
local function setFly(on)
    State.fly = on
    local hrp = getHRP()
    if not hrp then return end
    if on then
        if flyBV then flyBV:Destroy() end
        if flyBG then flyBG:Destroy() end
        flyBV = Instance.new("BodyVelocity", hrp)
        flyBV.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
        flyBV.Velocity = Vector3.zero
        flyBG = Instance.new("BodyGyro", hrp)
        flyBG.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
        flyBG.P = 9e4
        track(RunService.RenderStepped:Connect(function()
            if not State.fly or not hrp.Parent then
                if flyBV then flyBV:Destroy(); flyBV = nil end
                if flyBG then flyBG:Destroy(); flyBG = nil end
                return
            end
            local move = Vector3.zero
            if UserInputService:IsKeyDown(Enum.KeyCode.W) then move += Camera.CFrame.LookVector end
            if UserInputService:IsKeyDown(Enum.KeyCode.S) then move -= Camera.CFrame.LookVector end
            if UserInputService:IsKeyDown(Enum.KeyCode.A) then move -= Camera.CFrame.RightVector end
            if UserInputService:IsKeyDown(Enum.KeyCode.D) then move += Camera.CFrame.RightVector end
            if UserInputService:IsKeyDown(Enum.KeyCode.Space) then move += Vector3.new(0, 1, 0) end
            if UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) then move -= Vector3.new(0, 1, 0) end
            flyBV.Velocity = move * 60
            flyBG.CFrame = Camera.CFrame
        end))
        pcall(function() WindUI:Notify({ Title = "Fly", Content = "Enabled (Space/Ctrl)", Duration = 2 }) end)
    else
        if flyBV then flyBV:Destroy(); flyBV = nil end
        if flyBG then flyBG:Destroy(); flyBG = nil end
        pcall(function() WindUI:Notify({ Title = "Fly", Content = "Disabled", Duration = 2 }) end)
    end
end

local espBoxes = {}
local function setESP(on)
    State.esp = on
    for _, v in pairs(espBoxes) do if v and v.Parent then v:Destroy() end end
    espBoxes = {}
    if on then
        local function addESP(plr)
            if plr == LocalPlayer then return end
            task.spawn(function()
                while State.esp and plr.Character do
                    local hrp = plr.Character:FindFirstChild("HumanoidRootPart")
                    if hrp then
                        local box = espBoxes[plr]
                        if not box or not box.Parent then
                            box = Instance.new("BoxHandleAdornment")
                            box.Size = Vector3.new(4, 6, 4)
                            box.Adornee = hrp
                            box.AlwaysOnTop = true
                            box.ZIndex = 5
                            box.Color3 = Color3.fromRGB(80, 200, 255)
                            box.Transparency = 0.6
                            box.Parent = hrp
                            espBoxes[plr] = box
                        end
                    end
                    task.wait(0.3)
                end
                if espBoxes[plr] then pcall(function() espBoxes[plr]:Destroy() end); espBoxes[plr] = nil end
            end)
        end
        for _, p in ipairs(Players:GetPlayers()) do addESP(p) end
        track(Players.PlayerAdded:Connect(addESP))
        pcall(function() WindUI:Notify({ Title = "ESP", Content = "Enabled", Duration = 2 }) end)
    else
        pcall(function() WindUI:Notify({ Title = "ESP", Content = "Disabled", Duration = 2 }) end)
    end
end

local infJumpConn
local function setInfJump(on)
    State.infiniteJump = on
    if on then
        if not infJumpConn then
            infJumpConn = track(UserInputService.JumpRequest:Connect(function()
                if State.infiniteJump then
                    local h = getHum()
                    if h then h:ChangeState(Enum.HumanoidStateType.Jumping) end
                end
            end))
        end
        pcall(function() WindUI:Notify({ Title = "Infinite Jump", Content = "Enabled", Duration = 2 }) end)
    else
        if infJumpConn then infJumpConn:Disconnect(); infJumpConn = nil end
        pcall(function() WindUI:Notify({ Title = "Infinite Jump", Content = "Disabled", Duration = 2 }) end)
    end
end

local fbOriginal
local function setFullbright(on)
    State.fullbright = on
    if on then
        fbOriginal = {
            Brightness = Lighting.Brightness, ClockTime = Lighting.ClockTime,
            FogEnd = Lighting.FogEnd, Ambient = Lighting.Ambient,
        }
        Lighting.Brightness = 3; Lighting.ClockTime = 12
        Lighting.FogEnd = math.huge; Lighting.Ambient = Color3.fromRGB(180, 180, 180)
        pcall(function() WindUI:Notify({ Title = "Fullbright", Content = "Enabled", Duration = 2 }) end)
    else
        if fbOriginal then
            Lighting.Brightness = fbOriginal.Brightness
            Lighting.ClockTime = fbOriginal.ClockTime
            Lighting.FogEnd = fbOriginal.FogEnd
            Lighting.Ambient = fbOriginal.Ambient
        end
        pcall(function() WindUI:Notify({ Title = "Fullbright", Content = "Disabled", Duration = 2 }) end)
    end
end

local touchFlingConn = nil
local function setTouchFling(on)
    State.touchFling = on
    if on then
        if not touchFlingConn then
            touchFlingConn = track(RunService.Stepped:Connect(function()
                local lpChar = LocalPlayer.Character
                if not lpChar then return end
                local lpHRP = lpChar:FindFirstChild("HumanoidRootPart")
                if not lpHRP then return end
                for _, player in ipairs(Players:GetPlayers()) do
                    if player ~= LocalPlayer and player.Character then
                        local hrp = player.Character:FindFirstChild("HumanoidRootPart")
                        if hrp and (hrp.Position - lpHRP.Position).Magnitude < 6 then
                            local bv = Instance.new("BodyVelocity")
                            bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
                            bv.Velocity = (hrp.Position - lpHRP.Position).Unit * flingPower + Vector3.new(0, flingPower * 0.7, 0)
                            bv.Parent = hrp
lines 1–300 of 649open raw find-in-page only searches the lines loaded so far. "show all" loads the rest.

changelog

1 version
  1. first version

    live

    @itzkonstik·