Skip to content

gag script #331

Open
Open

Description

@void357951
No description provided.

Activity

  1. thaobaba1233-web commented on Jul 5, 2026

    @thaobaba1233-web

    local oldUI = game:GetService("CoreGui"):FindFirstChild("SpeedHubX_OfficialForm") or game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"):FindFirstChild("SpeedHubX_OfficialForm")
    if oldUI then oldUI:Destroy() end

    local AntiBanActive = true
    task.spawn(function()
    if AntiBanActive then
    pcall(function()
    local g = game
    local mt = getrawmetatable(g) or debug.getmetatable(g)
    if mt and setreadonly then
    setreadonly(mt, false)
    local oldNamecall = mt.__namecall
    mt.__namecall = newcclosure(function(self, ...)
    local method = getnamecallmethod()
    if method == "Kick" or method == "kick" then return nil end
    if tostring(self):lower():match("cheat") or tostring(self):lower():match("detector") then return nil end
    return oldNamecall(self, ...)
    end)
    setreadonly(mt, true)
    end
    end)
    end
    end)

    local ScreenGui = Instance.new("ScreenGui")
    local MainFrame = Instance.new("Frame")
    local FrameStroke = Instance.new("UIStroke")
    local MainCorner = Instance.new("UICorner")
    local TitleFrame = Instance.new("Frame")
    local TitleText = Instance.new("TextLabel")
    local SidebarFrame = Instance.new("Frame")
    local SidebarLayout = Instance.new("UIListLayout")
    local ContainerFrame = Instance.new("Frame")
    local ToggleHubBtn = Instance.new("TextButton")
    local ToggleCorner = Instance.new("UICorner")

    local parentGui = game:GetService("CoreGui") or game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui")
    ScreenGui.Name = "SpeedHubX_OfficialForm"
    ScreenGui.Parent = parentGui
    ScreenGui.ResetOnSpawn = false

    local function MakeDraggable(frame, dragAnchor)
    local UserInputService = game:GetService("UserInputService")
    local dragging, dragInput, dragStart, startPos
    dragAnchor = dragAnchor or frame

    dragAnchor.InputBegan:Connect(function(input)
        if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
            dragging = true
            dragStart = input.Position
            startPos = frame.Position
            input.Changed:Connect(function()
                if input.UserInputState == Enum.UserInputState.End then dragging = false end
            end)
        end
    end)
    dragAnchor.InputChanged:Connect(function(input)
        if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
            dragInput = input
        end
    end)
    UserInputService.InputChanged:Connect(function(input)
        if input == dragInput and dragging then
            local delta = input.Position - dragStart
            frame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
        end
    end)
    

    end

    ToggleHubBtn.Name = "ToggleHubBtn"
    ToggleHubBtn.Parent = ScreenGui
    ToggleHubBtn.Size = UDim2.new(0, 55, 0, 55)
    ToggleHubBtn.Position = UDim2.new(0.02, 0, 0.4, 0)
    ToggleHubBtn.BackgroundColor3 = Color3.fromRGB(218, 41, 28)
    ToggleHubBtn.Text = "🇻🇳"
    ToggleHubBtn.TextColor3 = Color3.fromRGB(255, 221, 0)
    ToggleHubBtn.TextSize = 28
    ToggleHubBtn.Active = true
    MakeDraggable(ToggleHubBtn)

    ToggleCorner.CornerRadius = UDim.new(1, 0)
    ToggleCorner.Parent = ToggleHubBtn

    local ToggleStroke = Instance.new("UIStroke")
    ToggleStroke.Parent = ToggleHubBtn
    ToggleStroke.Thickness = 2
    ToggleStroke.Color = Color3.fromRGB(255, 221, 0)

    ToggleHubBtn.MouseButton1Click:Connect(function()
    MainFrame.Visible = not MainFrame.Visible
    end)

    MainFrame.Name = "MainFrame"
    MainFrame.Parent = ScreenGui
    MainFrame.BackgroundColor3 = Color3.fromRGB(13, 13, 18)
    MainFrame.Position = UDim2.new(0.3, 0, 0.25, 0)
    MainFrame.Size = UDim2.new(0, 550, 0, 360)
    MainFrame.Active = true
    MainFrame.Visible = true

    MainCorner.CornerRadius = UDim.new(0, 8)
    MainCorner.Parent = MainFrame

    FrameStroke.Parent = MainFrame
    FrameStroke.Thickness = 2.5
    FrameStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border

    task.spawn(function()
    local TweenService = game:GetService("TweenService")
    while task.wait() do
    for i = 0, 1, 0.01 do
    local color = Color3.fromHSV(i, 0.9, 1)
    TweenService:Create(FrameStroke, TweenInfo.new(0.1, Enum.EasingStyle.Linear), {Color = color}):Play()
    task.wait(0.05)
    end
    end
    end)

    TitleFrame.Name = "TitleFrame"
    TitleFrame.Parent = MainFrame
    TitleFrame.Size = UDim2.new(1, 0, 0, 40)
    TitleFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 28)
    MakeDraggable(MainFrame, TitleFrame)

    local TitleCorner = Instance.new("UICorner")
    TitleCorner.CornerRadius = UDim.new(0, 8)
    TitleCorner.Parent = TitleFrame

    TitleText.Parent = TitleFrame
    TitleText.Size = UDim2.new(1, -15, 1, 0)
    TitleText.Position = UDim2.new(0, 15, 0, 0)
    TitleText.BackgroundTransparency = 1
    TitleText.Text = "SPEED HUB X - [duong6736]"
    TitleText.TextColor3 = Color3.fromRGB(255, 255, 255)
    TitleText.TextSize = 14
    TitleText.Font = Enum.Font.GothamBold
    TitleText.TextXAlignment = Enum.TextXAlignment.Left

    SidebarFrame.Name = "SidebarFrame"
    SidebarFrame.Parent = MainFrame
    SidebarFrame.Size = UDim2.new(0, 140, 1, -40)
    SidebarFrame.Position = UDim2.new(0, 0, 0, 40)
    SidebarFrame.BackgroundColor3 = Color3.fromRGB(16, 16, 22)

    SidebarLayout.Parent = SidebarFrame
    SidebarLayout.SortOrder = Enum.SortOrder.LayoutOrder
    SidebarLayout.Padding = UDim.new(0, 2)

    ContainerFrame.Name = "ContainerFrame"
    ContainerFrame.Parent = MainFrame
    ContainerFrame.Size = UDim2.new(1, -145, 1, -45)
    ContainerFrame.Position = UDim2.new(0, 145, 0, 45)
    ContainerFrame.BackgroundTransparency = 1

    local Tabs = {}
    local TabButtons = {}

    local function CreateTab(tabName, order)
    local Scroll = Instance.new("ScrollingFrame")
    Scroll.Name = tabName .. "Tab"
    Scroll.Parent = ContainerFrame
    Scroll.Size = UDim2.new(1, 0, 1, 0)
    Scroll.BackgroundTransparency = 1
    Scroll.CanvasSize = UDim2.new(0, 0, 0, 650)
    Scroll.ScrollBarThickness = 2
    Scroll.ScrollBarImageColor3 = Color3.fromRGB(0, 119, 182)
    Scroll.Visible = (order == 1)

    local Layout = Instance.new("UIListLayout")
    Layout.Parent = Scroll
    Layout.SortOrder = Enum.SortOrder.LayoutOrder
    Layout.Padding = UDim.new(0, 6)
    
    Tabs[tabName] = Scroll
    
    local TabBtn = Instance.new("TextButton")
    TabBtn.Name = tabName .. "Btn"
    TabBtn.Parent = SidebarFrame
    TabBtn.Size = UDim2.new(1, 0, 0, 34)
    TabBtn.BackgroundTransparency = 1
    TabBtn.Text = "  " .. tabName
    TabBtn.TextColor3 = (order == 1) and Color3.fromRGB(255, 255, 255) or Color3.fromRGB(140, 140, 145)
    TabBtn.TextSize = 12
    TabBtn.TextXAlignment = Enum.TextXAlignment.Left
    TabBtn.Font = Enum.Font.GothamMedium
    TabBtn.LayoutOrder = order
    
    TabBtn.MouseButton1Click:Connect(function()
        for tName, tScroll do
            tScroll.Visible = (tName == tabName)
        end
        for btnName, btnObj in pairs(TabButtons) do
            btnObj.TextColor3 = (btnName == tabName) and Color3.fromRGB(255, 255, 255) or Color3.fromRGB(140, 140, 145)
        end
    end)
    
    TabButtons[tabName] = TabBtn
    

    end

    local function CreateToggle(tabName, text, order, callback)
    local targetTab = Tabs[tabName]
    if not targetTab then return end

    local RowFrame = Instance.new("Frame")
    local MainButton = Instance.new("TextButton")
    local BtnCorner = Instance.new("UICorner")
    local StatusDot = Instance.new("Frame")
    local DotCorner = Instance.new("UICorner")
    
    RowFrame.Size = UDim2.new(0.96, 0, 0, 38)
    RowFrame.BackgroundTransparency = 1
    RowFrame.Parent = targetTab
    RowFrame.LayoutOrder = order
    
    MainButton.Size = UDim2.new(1, 0, 1, 0)
    MainButton.BackgroundColor3 = Color3.fromRGB(22, 22, 30)
    MainButton.Text = "     " .. text
    MainButton.TextColor3 = Color3.fromRGB(200, 200, 200)
    MainButton.TextSize = 12
    MainButton.TextXAlignment = Enum.TextXAlignment.Left
    MainButton.Font = Enum.Font.GothamMedium
    MainButton.Parent = RowFrame
    
    BtnCorner.CornerRadius = UDim.new(0, 6)
    BtnCorner.Parent = MainButton
    
    StatusDot.Size = UDim2.new(0, 8, 0, 8)
    StatusDot.Position = UDim2.new(1, -25, 0.5, -4)
    StatusDot.BackgroundColor3 = Color3.fromRGB(240, 70, 70) 
    StatusDot.Parent = MainButton
    
    DotCorner.CornerRadius = UDim.new(1, 0)
    DotCorner.Parent = StatusDot
    
    local isToggled = false
    MainButton.MouseButton1Click:Connect(function()
        isToggled = not isToggled
        if isToggled then
            MainButton.BackgroundColor3 = Color3.fromRGB(0, 119, 182) 
            MainButton.TextColor3 = Color3.fromRGB(255, 255, 255)
            StatusDot.BackgroundColor3 = Color3.fromRGB(0, 255, 130) 
        else
            MainButton.BackgroundColor3 = Color3.fromRGB(22, 22, 30)
            MainButton.TextColor3 = Color3.fromRGB(200, 200, 200)
            StatusDot.BackgroundColor3 = Color3.fromRGB(240, 70, 70)
        end
        task.spawn(function() callback(isToggled) end)
    end)
    

    end

    CreateTab("Home", 1)
    CreateTab("Main", 2)
    CreateTab("Automatically", 3)
    CreateTab("Inventory", 4)
    CreateTab("Shop", 5)
    CreateTab("Webhook", 6)
    CreateTab("Misc", 7)
    CreateTab("Settings", 8)
    CreateTab("Settings UI", 9)

    CreateToggle("Home", "Anti-Ban Security (Bypass Core)", 1, function(state)
    AntiBanActive = state
    end)

    local autoPredictWeather = false
    CreateToggle("Home", "Predict Weather & Event (Next 5m)", 2, function(state)
    autoPredictWeather = state
    while autoPredictWeather do
    pcall(function()
    local weatherSystem = game:GetService("ReplicatedStorage"):FindFirstChild("WeatherSystem") or game:GetService("ReplicatedStorage"):FindFirstChild("Remotes")
    if weatherSystem then
    local nextEvent = weatherSystem:FindFirstChild("GetNextEvent"):InvokeServer()
    local oldUI = game:GetService("CoreGui"):FindFirstChild("SpeedHubX_OfficialForm") or game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"):FindFirstChild("SpeedHubX_OfficialForm")
    if oldUI then oldUI:Destroy() end

    local AntiBanActive = true
    task.spawn(function()
    if AntiBanActive then
    pcall(function()
    local g = game
    local mt = getrawmetatable(g) or debug.getmetatable(g)
    if mt and setreadonly then
    setreadonly(mt, false)
    local oldNamecall = mt.__namecall
    mt.__namecall = newcclosure(function(self, ...)
    local method = getnamecallmethod()
    if method == "Kick" or method == "kick" then return nil end
    if tostring(self):lower():match("cheat") or tostring(self):lower():match("detector") then return nil end
    return oldNamecall(self, ...)
    end)
    setreadonly(mt, true)
    end
    end)
    end
    end)

    local ScreenGui = Instance.new("ScreenGui")
    local MainFrame = Instance.new("Frame")
    local FrameStroke = Instance.new("UIStroke")
    local MainCorner = Instance.new("UICorner")
    local TitleFrame = Instance.new("Frame")
    local TitleText = Instance.new("TextLabel")
    local SidebarFrame = Instance.new("Frame")
    local SidebarLayout = Instance.new("UIListLayout")
    local ContainerFrame = Instance.new("Frame")
    local ToggleHubBtn = Instance.new("TextButton")
    local ToggleCorner = Instance.new("UICorner")

    local parentGui = game:GetService("CoreGui") or game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui")
    ScreenGui.Name = "SpeedHubX_OfficialForm"
    ScreenGui.Parent = parentGui
    ScreenGui.ResetOnSpawn = false

    local function MakeDraggable(frame, dragAnchor)
    local UserInputService = game:GetService("UserInputService")
    local dragging, dragInput, dragStart, startPos
    dragAnchor = dragAnchor or frame

    dragAnchor.InputBegan:Connect(function(input)
        if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
            dragging = true
            dragStart = input.Position
            startPos = frame.Position
            input.Changed:Connect(function()
                if input.UserInputState == Enum.UserInputState.End then dragging = false end
            end)
        end
    end)
    dragAnchor.InputChanged:Connect(function(input)
        if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
            dragInput = input
        end
    end)
    UserInputService.InputChanged:Connect(function(input)
        if input == dragInput and dragging then
            local delta = input.Position - dragStart
            frame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
        end
    end)
    

    end

    ToggleHubBtn.Name = "ToggleHubBtn"
    ToggleHubBtn.Parent = ScreenGui
    ToggleHubBtn.Size = UDim2.new(0, 55, 0, 55)
    ToggleHubBtn.Position = UDim2.new(0.02, 0, 0.4, 0)
    ToggleHubBtn.BackgroundColor3 = Color3.fromRGB(218, 41, 28)
    ToggleHubBtn.Text = "🇻🇳"
    ToggleHubBtn.TextColor3 = Color3.fromRGB(255, 221, 0)
    ToggleHubBtn.TextSize = 28
    ToggleHubBtn.Active = true
    MakeDraggable(ToggleHubBtn)

    ToggleCorner.CornerRadius = UDim.new(1, 0)
    ToggleCorner.Parent = ToggleHubBtn

    local ToggleStroke = Instance.new("UIStroke")
    ToggleStroke.Parent = ToggleHubBtn
    ToggleStroke.Thickness = 2
    ToggleStroke.Color = Color3.fromRGB(255, 221, 0)

    ToggleHubBtn.MouseButton1Click:Connect(function()
    MainFrame.Visible = not MainFrame.Visible
    end)

    MainFrame.Name = "MainFrame"
    MainFrame.Parent = ScreenGui
    MainFrame.BackgroundColor3 = Color3.fromRGB(13, 13, 18)
    MainFrame.Position = UDim2.new(0.3, 0, 0.25, 0)
    MainFrame.Size = UDim2.new(0, 550, 0, 360)
    MainFrame.Active = true
    MainFrame.Visible = true

    MainCorner.CornerRadius = UDim.new(0, 8)
    MainCorner.Parent = MainFrame

    FrameStroke.Parent = MainFrame
    FrameStroke.Thickness = 2.5
    FrameStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border

    task.spawn(function()
    local TweenService = game:GetService("TweenService")
    while task.wait() do
    for i = 0, 1, 0.01 do
    local color = Color3.fromHSV(i, 0.9, 1)
    TweenService:Create(FrameStroke, TweenInfo.new(0.1, Enum.EasingStyle.Linear), {Color = color}):Play()
    task.wait(0.05)
    end
    end
    end)

    TitleFrame.Name = "TitleFrame"
    TitleFrame.Parent = MainFrame
    TitleFrame.Size = UDim2.new(1, 0, 0, 40)
    TitleFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 28)
    MakeDraggable(MainFrame, TitleFrame)

    local TitleCorner = Instance.new("UICorner")
    TitleCorner.CornerRadius = UDim.new(0, 8)
    TitleCorner.Parent = TitleFrame

    TitleText.Parent = TitleFrame
    TitleText.Size = UDim2.new(1, -15, 1, 0)
    TitleText.Position = UDim2.new(0, 15, 0, 0)
    TitleText.BackgroundTransparency = 1
    TitleText.Text = "SPEED HUB X - [duong6736]"
    TitleText.TextColor3 = Color3.fromRGB(255, 255, 255)
    TitleText.TextSize = 14
    TitleText.Font = Enum.Font.GothamBold
    TitleText.TextXAlignment = Enum.TextXAlignment.Left

    SidebarFrame.Name = "SidebarFrame"
    SidebarFrame.Parent = MainFrame
    SidebarFrame.Size = UDim2.new(0, 140, 1, -40)
    SidebarFrame.Position = UDim2.new(0, 0, 0, 40)
    SidebarFrame.BackgroundColor3 = Color3.fromRGB(16, 16, 22)

    SidebarLayout.Parent = SidebarFrame
    SidebarLayout.SortOrder = Enum.SortOrder.LayoutOrder
    SidebarLayout.Padding = UDim.new(0, 2)

    ContainerFrame.Name = "ContainerFrame"
    ContainerFrame.Parent = MainFrame
    ContainerFrame.Size = UDim2.new(1, -145, 1, -45)
    ContainerFrame.Position = UDim2.new(0, 145, 0, 45)
    ContainerFrame.BackgroundTransparency = 1

    local Tabs = {}
    local TabButtons = {}

    local function CreateTab(tabName, order)
    local Scroll = Instance.new("ScrollingFrame")
    Scroll.Name = tabName .. "Tab"
    Scroll.Parent = ContainerFrame
    Scroll.Size = UDim2.new(1, 0, 1, 0)
    Scroll.BackgroundTransparency = 1
    Scroll.CanvasSize = UDim2.new(0, 0, 0, 650)
    Scroll.ScrollBarThickness = 2
    Scroll.ScrollBarImageColor3 = Color3.fromRGB(0, 119, 182)
    Scroll.Visible = (order == 1)

    local Layout = Instance.new("UIListLayout")
    Layout.Parent = Scroll
    Layout.SortOrder = Enum.SortOrder.LayoutOrder
    Layout.Padding = UDim.new(0, 6)
    
    Tabs[tabName] = Scroll
    
    local TabBtn = Instance.new("TextButton")
    TabBtn.Name = tabName .. "Btn"
    TabBtn.Parent = SidebarFrame
    TabBtn.Size = UDim2.new(1, 0, 0, 34)
    TabBtn.BackgroundTransparency = 1
    TabBtn.Text = "  " .. tabName
    TabBtn.TextColor3 = (order == 1) and Color3.fromRGB(255, 255, 255) or Color3.fromRGB(140, 140, 145)
    TabBtn.TextSize = 12
    TabBtn.TextXAlignment = Enum.TextXAlignment.Left
    TabBtn.Font = Enum.Font.GothamMedium
    TabBtn.LayoutOrder = order
    
    TabBtn.MouseButton1Click:Connect(function()
        for tName, tScroll do
            tScroll.Visible = (tName == tabName)
        end
        for btnName, btnObj in pairs(TabButtons) do
            btnObj.TextColor3 = (btnName == tabName) and Color3.fromRGB(255, 255, 255) or Color3.fromRGB(140, 140, 145)
        end
    end)
    
    TabButtons[tabName] = TabBtn
    

    end

    local function CreateToggle(tabName, text, order, callback)
    local targetTab = Tabs[tabName]
    if not targetTab then return end

    local RowFrame = Instance.new("Frame")
    local MainButton = Instance.new("TextButton")
    local BtnCorner = Instance.new("UICorner")
    local StatusDot = Instance.new("Frame")
    local DotCorner = Instance.new("UICorner")
    
    RowFrame.Size = UDim2.new(0.96, 0, 0, 38)
    RowFrame.BackgroundTransparency = 1
    RowFrame.Parent = targetTab
    RowFrame.LayoutOrder = order
    
    MainButton.Size = UDim2.new(1, 0, 1, 0)
    MainButton.BackgroundColor3 = Color3.fromRGB(22, 22, 30)
    MainButton.Text = "     " .. text
    MainButton.TextColor3 = Color3.fromRGB(200, 200, 200)
    MainButton.TextSize = 12
    MainButton.TextXAlignment = Enum.TextXAlignment.Left
    MainButton.Font = Enum.Font.GothamMedium
    MainButton.Parent = RowFrame
    
    BtnCorner.CornerRadius = UDim.new(0, 6)
    BtnCorner.Parent = MainButton
    
    StatusDot.Size = UDim2.new(0, 8, 0, 8)
    StatusDot.Position = UDim2.new(1, -25, 0.5, -4)
    StatusDot.BackgroundColor3 = Color3.fromRGB(240, 70, 70) 
    StatusDot.Parent = MainButton
    
    DotCorner.CornerRadius = UDim.new(1, 0)
    DotCorner.Parent = StatusDot
    
    local isToggled = false
    MainButton.MouseButton1Click:Connect(function()
        isToggled = not isToggled
        if isToggled then
            MainButton.BackgroundColor3 = Color3.fromRGB(0, 119, 182) 
            MainButton.TextColor3 = Color3.fromRGB(255, 255, 255)
            StatusDot.BackgroundColor3 = Color3.fromRGB(0, 255, 130) 
        else
            MainButton.BackgroundColor3 = Color3.fromRGB(22, 22, 30)
            MainButton.TextColor3 = Color3.fromRGB(200, 200, 200)
            StatusDot.BackgroundColor3 = Color3.fromRGB(240, 70, 70)
        end
        task.spawn(function() callback(isToggled) end)
    end)
    

    end

    CreateTab("Home", 1)
    CreateTab("Main", 2)
    CreateTab("Automatically", 3)
    CreateTab("Inventory", 4)
    CreateTab("Shop", 5)
    CreateTab("Webhook", 6)
    CreateTab("Misc", 7)
    CreateTab("Settings", 8)
    CreateTab("Settings UI", 9)

    CreateToggle("Home", "Anti-Ban Security (Bypass Core)", 1, function(state)
    AntiBanActive = state
    end)

    local autoPredictWeather = false
    CreateToggle("Home", "Predict Weather & Event (Next 5m)", 2, function(state)
    autoPredictWeather = state
    while autoPredictWeather do
    pcall(function()
    local weatherSystem = game:GetService("ReplicatedStorage"):FindFirstChild("WeatherSystem") or game:GetService("ReplicatedStorage"):FindFirstChild("Remotes")
    if weatherSystem then
    local nextEvent = weatherSystem:FindFirstChild("GetNextEvent"):InvokeServer()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions