Testing hub
Key RequiredUniversal

Testing hub

Universal ScriptAndreiDevTesterAndreiDevTester 616 views 122 executesUpdated Nov 19, 2025
5.0/ 5(1 votes)
10100% Positive
Lua Script•425 lines (15845 chars)
--[[ 
    AndreiDevTester hub 2.0
    - Full Rayfield UI (Tabs, Sliders, Config Saving)
    - Mobility: Fly, Noclip, Massless, AutoJump, Infinite Jump, Speed/Jump Sliders
    - Visuals: Player ESP, Item ESP, FOV Changer, Fullbright
    - Utility: Click Teleport, Anti-AFK, Infinite Yield Loader
]]

-- // SERVICES & UTILITIES // --
local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local CoreGui = game:GetService("CoreGui")
local LocalPlayer = Players.LocalPlayer
local Camera = workspace.CurrentCamera

-- Global Toggles (State management)
local InfJumpEnabled = false
local TeleportEnabled = false
local NoclipEnabled = false
local FlyEnabled = false
local AntiAFKEnabled = false
local MasslessEnabled = false
local AutoJumpEnabled = false
local ESPEnabled = false
local ItemESPEnabled = false

-- Global Connections & Storage
local FlyConnection
local NoclipConnection
local MasslessConnection
local BhopConnection
local AntiAFKLoop
local ESPContainer = {}
local ItemList = {"Coin", "Loot", "Cash", "Key", "Tool", "Collectible"}

-- // 1. CORE PHYSICS FUNCTIONS // --

-- Function to handle Massless property for Noclip/Fly
local function applyMassless(char, enabled)
    for _, part in pairs(char:GetDescendants()) do
        if part:IsA("BasePart") then
            part.Massless = enabled
        end
    end
end

-- Function to handle Noclip property
local function applyNoclip(c, enabled)
    if not c then return end
    for _, part in pairs(c:GetDescendants()) do
        if part:IsA("BasePart") then
            part.CanCollide = not enabled
        end
    end
end

-- Teleport function (Called by UserInputService)
local function TeleportToMouse(input, gameProcessed)
    if not TeleportEnabled or gameProcessed or input.UserInputType ~= Enum.UserInputType.MouseButton2 then return end
    
    local Character = LocalPlayer.Character
    if not Character or not Character:FindFirstChild("HumanoidRootPart") then return end
    
    local ray = Camera:ScreenPointToRay(input.Position.X, input.Position.Y)
    local RaycastParams = RaycastParams.new()
    RaycastParams.FilterType = Enum.RaycastFilterType.Exclude
    RaycastParams.FilterDescendantsInstances = {Character}

    local result = workspace:Raycast(ray.Origin, ray.Direction * 1000, RaycastParams)

    if result then
        local HRP = Character.HumanoidRootPart
        -- Teleport 5 studs above the hit point
        HRP.CFrame = CFrame.new(result.Position) + Vector3.new(0, 5, 0)
    end
end

-- // 2. HUB WINDOW CREATION // --

-- Anti-Duplicate Check
if CoreGui:FindFirstChild("MyUltimateHub") then
    CoreGui:FindFirstChild("MyUltimateHub"):Destroy()
end

local Window = Rayfield:CreateWindow({
    Name = "The ULTIMATE Hub",
    LoadingTitle = "Initialization Complete",
    LoadingSubtitle = "All systems operational.",
    ConfigurationSaving = { Enabled = true, FolderName = "MyHubConfig", FileName = "FinalConfig" },
    KeySystem = false,
})

-- // 3. TABS AND FEATURES // --
local MobilityTab = Window:CreateTab("Mobility", 4483362458)
local VisualsTab = Window:CreateTab("Visuals", 4483362458)
local UtilityTab = Window:CreateTab("Utility", 4483362458)

-- --- MOBILITY TAB ---

MobilityTab:CreateSection("Movement Sliders")

-- WalkSpeed Slider
MobilityTab:CreateSlider({
    Name = "WalkSpeed", Range = {16, 300}, Increment = 1, Suffix = "Speed", CurrentValue = 16, Flag = "WalkSpeed",
    Callback = function(Value)
        local char = LocalPlayer.Character
        if char and char:FindFirstChild("Humanoid") then char.Humanoid.WalkSpeed = Value end
    end,
})

-- JumpPower Slider
MobilityTab:CreateSlider({
    Name = "Jump Power", Range = {50, 500}, Increment = 1, Suffix = "Power", CurrentValue = 50, Flag = "JumpPower",
    Callback = function(Value)
        local char = LocalPlayer.Character
        if char and char:FindFirstChild("Humanoid") then
            char.Humanoid.UseJumpPower = true
            char.Humanoid.JumpPower = Value
        end
    end,
})

MobilityTab:CreateSection("Physics Manipulation")

-- Fly Toggle
local function toggleFly(Value)
    FlyEnabled = Value
    local char = LocalPlayer.Character
    if not char then return end

    -- Cleanup existing objects
    for _, obj in pairs(char:GetChildren()) do
        if obj:IsA("BodyVelocity") or obj:IsA("BodyGyro") then obj:Destroy() end
    end
    if FlyConnection then FlyConnection:Disconnect() end
    workspace.Gravity = 196.2

    if Value then
        local HRP = char:FindFirstChild("HumanoidRootPart")
        if not HRP then return end

        local bodyGyro = Instance.new("BodyGyro", HRP)
        bodyGyro.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
        local bodyVelocity = Instance.new("BodyVelocity", HRP)
        bodyVelocity.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
        
        workspace.Gravity = 0

        FlyConnection = RunService.RenderStepped:Connect(function()
            bodyGyro.CFrame = Camera.CFrame
            local speed = 25
            local direction = Vector3.new()

            if UserInputService:IsKeyDown(Enum.KeyCode.W) then direction = direction + Camera.CFrame.LookVector end
            if UserInputService:IsKeyDown(Enum.KeyCode.S) then direction = direction - Camera.CFrame.LookVector end
            if UserInputService:IsKeyDown(Enum.KeyCode.D) then direction = direction + Camera.CFrame.RightVector end
            if UserInputService:IsKeyDown(Enum.KeyCode.A) then direction = direction - Camera.CFrame.RightVector end
            if UserInputService:IsKeyDown(Enum.KeyCode.Space) then direction = direction + Vector3.new(0, 1, 0) end
            if UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) then direction = direction - Vector3.new(0, 1, 0) end

            bodyVelocity.Velocity = direction.unit * speed
        end)
    end
end
MobilityTab:CreateToggle({ Name = "Smooth Flight", CurrentValue = false, Flag = "FlyMode", Callback = toggleFly, })

-- Noclip Toggle
local function setNoclip(Value)
    NoclipEnabled = Value
    local char = LocalPlayer.Character
    if NoclipConnection then NoclipConnection:Disconnect() end
    
    applyNoclip(char, Value)
    
    if Value then
        NoclipConnection = char.DescendantAdded:Connect(function(part)
            if part:IsA("BasePart") then part.CanCollide = false end
        end)
    end
end
MobilityTab:CreateToggle({ Name = "Noclip (Ghost Mode)", CurrentValue = false, Flag = "Noclip", Callback = setNoclip, })

-- Massless Toggle
local function toggleMassless(Value)
    MasslessEnabled = Value
    local char = LocalPlayer.Character
    if MasslessConnection then MasslessConnection:Disconnect() end
    
    applyMassless(char, Value)
    
    if Value then
        MasslessConnection = char.DescendantAdded:Connect(function(part)
            if part:IsA("BasePart") then part.Massless = true end
        end)
    end
end
MobilityTab:CreateToggle({ Name = "Massless Mode", CurrentValue = false, Flag = "Massless", Callback = toggleMassless, })

-- Auto Jump (Bhop) Toggle
local function toggleAutoJump(Value)
    AutoJumpEnabled = Value
    if BhopConnection then BhopConnection:Disconnect() end
    
    if Value then
        BhopConnection = RunService.Stepped:Connect(function()
            local humanoid = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid")
            if humanoid and humanoid.Health > 0 then
                if humanoid:GetState() == Enum.HumanoidStateType.Running or humanoid:GetState() == Enum.HumanoidStateType.Idle then
                    humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
                end
            end
        end)
    end
end
MobilityTab:CreateToggle({ Name = "Auto Jump (Bhop)", CurrentValue = false, Flag = "AutoJump", Callback = toggleAutoJump, })

-- Infinite Jump Toggle
MobilityTab:CreateToggle({ Name = "Infinite Jump", CurrentValue = false, Flag = "InfJump", Callback = function(Value) InfJumpEnabled = Value end, })
UserInputService.JumpRequest:Connect(function()
    if InfJumpEnabled then
        local char = LocalPlayer.Character
        if char then char:FindFirstChild("Humanoid"):ChangeState(Enum.HumanoidStateType.Jumping) end
    end
end)

-- --- VISUALS TAB ---

VisualsTab:CreateSection("Camera Settings")

-- FOV Slider
VisualsTab:CreateSlider({
    Name = "Camera Field of View (FOV)", Range = {30, 120}, Increment = 1, Suffix = "FOV", CurrentValue = 70, Flag = "FOV",
    Callback = function(Value)
        local camera = workspace.CurrentCamera
        if camera then camera.FieldOfView = Value end
    end,
})

-- Full Bright Button
VisualsTab:CreateButton({
    Name = "Full Bright (See in Dark)",
    Callback = function()
        local Lighting = game:GetService("Lighting")
        Lighting.Brightness = 2
        Lighting.ClockTime = 14
        Lighting.FogEnd = 100000
        Lighting.GlobalShadows = false
        Lighting.OutdoorAmbient = Color3.fromRGB(128, 128, 128)
    end,
})

VisualsTab:CreateSection("Environmental Awareness")

-- Player ESP Toggle
local ESPLoop
local function toggleESP(Value)
    ESPEnabled = Value
    if ESPLoop then ESPLoop:Disconnect() end
    for _, gui in pairs(ESPContainer) do gui:Destroy() end
    ESPContainer = {}
    
    if Value then
        -- Initial ESP setup (simplified for brevity)
        for _, player in pairs(Players:GetPlayers()) do
            if player ~= LocalPlayer then
                local char = player.Character or player.CharacterAdded:Wait()
                local billboard = Instance.new("BillboardGui", CoreGui)
                billboard.Name = "PlayerESP"
                billboard.AlwaysOnTop = true
                billboard.Size = UDim2.new(0, 200, 0, 50)
                billboard.Adornee = char:WaitForChild("Head")
                
                local label = Instance.new("TextLabel", billboard)
                label.Size = UDim2.new(1, 0, 1, 0)
                label.BackgroundTransparency = 1
                label.TextScaled = true
                label.TextColor3 = Color3.fromRGB(255, 255, 255)
                label.Font = Enum.Font.SourceSans
                ESPContainer[player.Name] = {Gui = billboard, Label = label}
                player.CharacterRemoving:Connect(function() billboard:Destroy() ESPContainer[player.Name] = nil end)
            end
        end

        -- Render Loop
        ESPLoop = RunService.RenderStepped:Connect(function()
            local localHRP = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
            if not localHRP then return end
            
            for name, data in pairs(ESPContainer) do
                local player = Players:FindFirstChild(name)
                local char = player and player.Character
                local part = char and char:FindFirstChild("HumanoidRootPart")
                
                if part and data.Label and data.Gui then
                    local distance = math.floor((localHRP.Position - part.Position).Magnitude)
                    data.Label.Text = string.format("%s\n[%d studs]", name, distance)
                elseif data.Gui then
                    data.Gui:Destroy()
                    ESPContainer[name] = nil
                end
            end
        end)
    end
end
VisualsTab:CreateToggle({ Name = "Player ESP (Name & Distance)", CurrentValue = false, Flag = "PlayerESP", Callback = toggleESP, })

-- Item ESP Toggle
local ItemESPConnection
local function toggleItemESP(Value)
    ItemESPEnabled = Value
    if ItemESPConnection then ItemESPConnection:Disconnect() end
    
    if Value then
        local ESP_PARTS = {}
        local function updateItemESP()
            for _, gui in pairs(ESP_PARTS) do gui:Destroy() end
            ESP_PARTS = {}
            for _, part in pairs(workspace:GetDescendants()) do
                local isItem = false
                for _, item in pairs(ItemList) do
                    if string.find(part.Name, item, 1, true) then isItem = true; break end
                end

                if isItem and part:IsA("BasePart") and part.Parent and not part:FindFirstChildOfClass("BillboardGui") then
                    local billboard = Instance.new("BillboardGui", CoreGui)
                    billboard.Name = "ItemESP"
                    billboard.AlwaysOnTop = true
                    billboard.Size = UDim2.new(0, 150, 0, 30)
                    billboard.Adornee = part
                    
                    local label = Instance.new("TextLabel", billboard)
                    label.Size = UDim2.new(1, 0, 1, 0)
                    label.BackgroundTransparency = 1
                    label.Text = part.Name
                    label.TextColor3 = Color3.fromRGB(255, 255, 0)
                    label.Font = Enum.Font.SourceSansBold
                    table.insert(ESP_PARTS, billboard)
                end
            end
        end

        updateItemESP()
        ItemESPConnection = RunService.Stepped:Connect(updateItemESP)
    else
        for _, gui in pairs(CoreGui:GetChildren()) do
            if gui.Name == "ItemESP" then gui:Destroy() end
        end
    end
end
VisualsTab:CreateToggle({ Name = "Item/Loot ESP", CurrentValue = false, Flag = "ItemESP", Callback = toggleItemESP, })


-- --- UTILITY TAB ---

UtilityTab:CreateSection("External Commands")

-- Infinite Yield Loader
UtilityTab:CreateButton({
    Name = "Load Infinite Yield (IY)",
    Description = "Loads the powerful external command script.",
    Callback = function()
        local success, err = pcall(function()
            loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'))()
        end)
        if success then
            Rayfield:Notify({Title = "IY Loaded", Content = "Infinite Yield Console is ready!", Duration = 5})
        else
            Rayfield:Notify({Title = "IY Error", Content = "Failed to load IY: " .. tostring(err), Duration = 8})
        end
    end,
})

UtilityTab:CreateSection("Automation")

-- Click Teleport Toggle
UtilityTab:CreateToggle({
    Name = "Click Teleport (RMB)", CurrentValue = false, Flag = "ClickTP",
    Callback = function(Value)
        TeleportEnabled = Value
        Rayfield:Notify({Title = "Teleport", Content = "Click Teleport is now " .. (Value and "ON" or "OFF"), Duration = 3})
    end,
})
UserInputService.InputBegan:Connect(TeleportToMouse)

-- Anti-AFK Toggle
local function toggleAntiAFK(Value)
    AntiAFKEnabled = Value
    if AntiAFKLoop then AntiAFKLoop:Disconnect() end
    
    if Value then
        AntiAFKLoop = RunService.Heartbeat:Connect(function()
            -- Rotate the camera imperceptibly to reset the AFK timer
            if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
                Camera.CFrame = Camera.CFrame * CFrame.Angles(0, 0.0001, 0)
            end
        end)
    end
end
UtilityTab:CreateToggle({ Name = "Anti-AFK", CurrentValue = false, Flag = "AntiAFK", Callback = toggleAntiAFK, })

UtilityTab:CreateSection("Hub Management")

-- Destroy GUI Button
UtilityTab:CreateButton({
    Name = "Destroy Hub",
    Callback = function() Rayfield:Destroy() end,
})

-- // 5. FINAL CONNECTIONS & SETUP // --

-- Ensure essential physics handlers re-engage on respawn
LocalPlayer.CharacterAdded:Connect(function(character)
    if NoclipEnabled then task.wait(0.1) setNoclip(true) end
    if FlyEnabled then task.wait(0.1) toggleFly(true) end
    if MasslessEnabled then task.wait(0.1) toggleMassless(true) end
end)

Rayfield:Notify({
    Title = "andreiDevTester  hub 2.0🚀",
    Content = "All systems integrated and ready for use.",
    Duration = 5,
    Image = 4483362458,
})

Features & Information

This script hub my own keyless adding inf Yield. speed and so much more. You Can Testing you want.

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts