local function createToggle(text, setting, parent, yPos)
local frame = Instance.new("Frame")
frame.Size = UDim2.new(1, 0, 0, 35)
frame.Position = UDim2.new(0, 0, 0, yPos)
frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
frame.BorderSizePixel = 0
frame.Parent = parent
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 5)
corner.Parent = frame
local label = Instance.new("TextLabel")
label.Size = UDim2.new(0, 200, 1, 0)
label.Position = UDim2.new(0, 10, 0, 0)
label.BackgroundTransparency = 1
label.Text = text
label.TextColor3 = Color3.fromRGB(255, 255, 255)
label.TextSize = 14
label.Font = Enum.Font.Gotham
label.TextXAlignment = Enum.TextXAlignment.Left
label.Parent = frame
local toggleBtn = Instance.new("TextButton")
toggleBtn.Size = UDim2.new(0, 50, 0, 25)
toggleBtn.Position = UDim2.new(1, -60, 0, 5)
toggleBtn.BackgroundColor3 = settings[setting] and Color3.fromRGB(0, 255, 0) or Color3.fromRGB(255, 0, 0)
toggleBtn.Text = settings[setting] and "ON" or "OFF"
toggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
toggleBtn.TextSize = 12
toggleBtn.Font = Enum.Font.GothamBold
toggleBtn.Parent = frame
local btnCorner = Instance.new("UICorner")
btnCorner.CornerRadius = UDim.new(0, 5)
btnCorner.Parent = toggleBtn
toggleBtn.MouseButton1Click:Connect(function()
settings[setting] = not settings[setting]
toggleBtn.BackgroundColor3 = settings[setting] and Color3.fromRGB(0, 255, 0) or Color3.fromRGB(255, 0, 0)
toggleBtn.Text = settings[setting] and "ON" or "OFF"
end)
return frame
end
local function createVersionSelector(parent, yPos)
local frame = Instance.new("Frame")
frame.Size = UDim2.new(1, 0, 0, 80)
frame.Position = UDim2.new(0, 0, 0, yPos)
frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
frame.BorderSizePixel = 0
frame.Parent = parent
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 5)
corner.Parent = frame
local label = Instance.new("TextLabel")
label.Size = UDim2.new(0, 200, 0, 20)
label.Position = UDim2.new(0, 10, 0, 2)
label.BackgroundTransparency = 1
label.Text = "Lag Version: " .. settings.LagVersion
label.TextColor3 = Color3.fromRGB(255, 255, 255)
label.TextSize = 14
label.Font = Enum.Font.GothamBold
label.TextXAlignment = Enum.TextXAlignment.Left
label.Parent = frame
local v1Btn = Instance.new("TextButton")
v1Btn.Size = UDim2.new(0, 60, 0, 25)
v1Btn.Position = UDim2.new(0, 10, 0, 30)
v1Btn.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
v1Btn.Text = "V1"
v1Btn.TextColor3 = Color3.fromRGB(255, 255, 255)
v1Btn.TextSize = 12
v1Btn.Font = Enum.Font.GothamBold
v1Btn.Parent = frame
local v2Btn = Instance.new("TextButton")
v2Btn.Size = UDim2.new(0, 60, 0, 25)
v2Btn.Position = UDim2.new(0, 80, 0, 30)
v2Btn.BackgroundColor3 = Color3.fromRGB(255, 165, 0)
v2Btn.Text = "V2"
v2Btn.TextColor3 = Color3.fromRGB(255, 255, 255)
v2Btn.TextSize = 12
v2Btn.Font = Enum.Font.GothamBold
v2Btn.Parent = frame
local v3Btn = Instance.new("TextButton")
v3Btn.Size = UDim2.new(0, 60, 0, 25)
v3Btn.Position = UDim2.new(0, 150, 0, 30)
v3Btn.BackgroundColor3 = Color3.fromRGB(255, 0, 255)
v3Btn.Text = "V3"
v3Btn.TextColor3 = Color3.fromRGB(255, 255, 255)
v3Btn.TextSize = 12
v3Btn.Font = Enum.Font.GothamBold
v3Btn.Parent = frame
v1Btn.MouseButton1Click:Connect(function()
settings.LagVersion = "V1"
label.Text = "Lag Version: V1"
v1Btn.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
v2Btn.BackgroundColor3 = Color3.fromRGB(255, 165, 0)
v3Btn.BackgroundColor3 = Color3.fromRGB(255, 0, 255)
end)
v2Btn.MouseButton1Click:Connect(function()
settings.LagVersion = "V2"
label.Text = "Lag Version: V2"
v1Btn.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
v2Btn.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
v3Btn.BackgroundColor3 = Color3.fromRGB(255, 0, 255)
end)
v3Btn.MouseButton1Click:Connect(function()
settings.LagVersion = "V3"
label.Text = "Lag Version: V3"
v1Btn.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
v2Btn.BackgroundColor3 = Color3.fromRGB(255, 165, 0)
v3Btn.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
end)
return frame
end
local yPos = 0
local versionSection = createSection("⚡ Lag Version Selector", ScrollingFrame)
versionSection.Position = UDim2.new(0, 0, 0, yPos)
yPos = yPos + 35
createVersionSelector(ScrollingFrame, yPos)
yPos = yPos + 85
local mainSection = createSection("🌀 Brainrot Stealer", ScrollingFrame)
mainSection.Position = UDim2.new(0, 0, 0, yPos)
yPos = yPos + 35
createToggle("Auto Steal", "AutoSteal", ScrollingFrame, yPos)
yPos = yPos + 40
createToggle("Auto Lag Enemies", "AutoLag", ScrollingFrame, yPos)
yPos = yPos + 40
local movementSection = createSection("🚀 Movement", ScrollingFrame)
movementSection.Position = UDim2.new(0, 0, 0, yPos)
yPos = yPos + 35
createToggle("NoClip", "NoClip", ScrollingFrame, yPos)
yPos = yPos + 40
createToggle("Fly Mode", "FlyMode", ScrollingFrame, yPos)
yPos = yPos + 40
createToggle("Infinite Stamina", "InfiniteStamina", ScrollingFrame, yPos)
local minimized = false
MinimizeButton.MouseButton1Click:Connect(function()
minimized = not minimized
if minimized then
MainFrame:TweenSize(UDim2.new(0, 350, 0, 40), "Out", "Quad", 0.3)
ScrollingFrame.Visible = false
MinimizeButton.Text = "+"
else
MainFrame:TweenSize(UDim2.new(0, 350, 0, 500), "Out", "Quad", 0.3)
ScrollingFrame.Visible = true
MinimizeButton.Text = "-"
end
end)
CloseButton.MouseButton1Click:Connect(function()
ScreenGui:Destroy()
end)
local dragging = false
local dragInput
local dragStart
local startPos
TitleBar.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = MainFrame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then dragging = false end
end)
end
end)
TitleBar.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
MainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end
end)
print("[Vortex Hub Lagger] Loaded Successfully!")
print("[Vortex Hub Lagger] Current Version: " .. settings.LagVersion)
local function createToggle(text, setting, parent, yPos)
local frame = Instance.new("Frame")
frame.Size = UDim2.new(1, 0, 0, 35)
frame.Position = UDim2.new(0, 0, 0, yPos)
frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
frame.BorderSizePixel = 0
frame.Parent = parent
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 5)
corner.Parent = frame
local label = Instance.new("TextLabel")
label.Size = UDim2.new(0, 200, 1, 0)
label.Position = UDim2.new(0, 10, 0, 0)
label.BackgroundTransparency = 1
label.Text = text
label.TextColor3 = Color3.fromRGB(255, 255, 255)
label.TextSize = 14
label.Font = Enum.Font.Gotham
label.TextXAlignment = Enum.TextXAlignment.Left
label.Parent = frame
local toggleBtn = Instance.new("TextButton")
toggleBtn.Size = UDim2.new(0, 50, 0, 25)
toggleBtn.Position = UDim2.new(1, -60, 0, 5)
toggleBtn.BackgroundColor3 = settings[setting] and Color3.fromRGB(0, 255, 0) or Color3.fromRGB(255, 0, 0)
toggleBtn.Text = settings[setting] and "ON" or "OFF"
toggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
toggleBtn.TextSize = 12
toggleBtn.Font = Enum.Font.GothamBold
toggleBtn.Parent = frame
local btnCorner = Instance.new("UICorner")
btnCorner.CornerRadius = UDim.new(0, 5)
btnCorner.Parent = toggleBtn
toggleBtn.MouseButton1Click:Connect(function()
settings[setting] = not settings[setting]
toggleBtn.BackgroundColor3 = settings[setting] and Color3.fromRGB(0, 255, 0) or Color3.fromRGB(255, 0, 0)
toggleBtn.Text = settings[setting] and "ON" or "OFF"
end)
return frame
end
local function createVersionSelector(parent, yPos)
local frame = Instance.new("Frame")
frame.Size = UDim2.new(1, 0, 0, 80)
frame.Position = UDim2.new(0, 0, 0, yPos)
frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
frame.BorderSizePixel = 0
frame.Parent = parent
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 5)
corner.Parent = frame
local label = Instance.new("TextLabel")
label.Size = UDim2.new(0, 200, 0, 20)
label.Position = UDim2.new(0, 10, 0, 2)
label.BackgroundTransparency = 1
label.Text = "Lag Version: " .. settings.LagVersion
label.TextColor3 = Color3.fromRGB(255, 255, 255)
label.TextSize = 14
label.Font = Enum.Font.GothamBold
label.TextXAlignment = Enum.TextXAlignment.Left
label.Parent = frame
local v1Btn = Instance.new("TextButton")
v1Btn.Size = UDim2.new(0, 60, 0, 25)
v1Btn.Position = UDim2.new(0, 10, 0, 30)
v1Btn.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
v1Btn.Text = "V1"
v1Btn.TextColor3 = Color3.fromRGB(255, 255, 255)
v1Btn.TextSize = 12
v1Btn.Font = Enum.Font.GothamBold
v1Btn.Parent = frame
local v2Btn = Instance.new("TextButton")
v2Btn.Size = UDim2.new(0, 60, 0, 25)
v2Btn.Position = UDim2.new(0, 80, 0, 30)
v2Btn.BackgroundColor3 = Color3.fromRGB(255, 165, 0)
v2Btn.Text = "V2"
v2Btn.TextColor3 = Color3.fromRGB(255, 255, 255)
v2Btn.TextSize = 12
v2Btn.Font = Enum.Font.GothamBold
v2Btn.Parent = frame
local v3Btn = Instance.new("TextButton")
v3Btn.Size = UDim2.new(0, 60, 0, 25)
v3Btn.Position = UDim2.new(0, 150, 0, 30)
v3Btn.BackgroundColor3 = Color3.fromRGB(255, 0, 255)
v3Btn.Text = "V3"
v3Btn.TextColor3 = Color3.fromRGB(255, 255, 255)
v3Btn.TextSize = 12
v3Btn.Font = Enum.Font.GothamBold
v3Btn.Parent = frame
v1Btn.MouseButton1Click:Connect(function()
settings.LagVersion = "V1"
label.Text = "Lag Version: V1"
v1Btn.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
v2Btn.BackgroundColor3 = Color3.fromRGB(255, 165, 0)
v3Btn.BackgroundColor3 = Color3.fromRGB(255, 0, 255)
end)
v2Btn.MouseButton1Click:Connect(function()
settings.LagVersion = "V2"
label.Text = "Lag Version: V2"
v1Btn.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
v2Btn.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
v3Btn.BackgroundColor3 = Color3.fromRGB(255, 0, 255)
end)
v3Btn.MouseButton1Click:Connect(function()
settings.LagVersion = "V3"
label.Text = "Lag Version: V3"
v1Btn.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
v2Btn.BackgroundColor3 = Color3.fromRGB(255, 165, 0)
v3Btn.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
end)
return frame
end
local yPos = 0
local versionSection = createSection("⚡ Lag Version Selector", ScrollingFrame)
versionSection.Position = UDim2.new(0, 0, 0, yPos)
yPos = yPos + 35
createVersionSelector(ScrollingFrame, yPos)
yPos = yPos + 85
local mainSection = createSection("🌀 Brainrot Stealer", ScrollingFrame)
mainSection.Position = UDim2.new(0, 0, 0, yPos)
yPos = yPos + 35
createToggle("Auto Steal", "AutoSteal", ScrollingFrame, yPos)
yPos = yPos + 40
createToggle("Auto Lag Enemies", "AutoLag", ScrollingFrame, yPos)
yPos = yPos + 40
local movementSection = createSection("🚀 Movement", ScrollingFrame)
movementSection.Position = UDim2.new(0, 0, 0, yPos)
yPos = yPos + 35
createToggle("NoClip", "NoClip", ScrollingFrame, yPos)
yPos = yPos + 40
createToggle("Fly Mode", "FlyMode", ScrollingFrame, yPos)
yPos = yPos + 40
createToggle("Infinite Stamina", "InfiniteStamina", ScrollingFrame, yPos)
local minimized = false
MinimizeButton.MouseButton1Click:Connect(function()
minimized = not minimized
if minimized then
MainFrame:TweenSize(UDim2.new(0, 350, 0, 40), "Out", "Quad", 0.3)
ScrollingFrame.Visible = false
MinimizeButton.Text = "+"
else
MainFrame:TweenSize(UDim2.new(0, 350, 0, 500), "Out", "Quad", 0.3)
ScrollingFrame.Visible = true
MinimizeButton.Text = "-"
end
end)
CloseButton.MouseButton1Click:Connect(function()
ScreenGui:Destroy()
end)
local dragging = false
local dragInput
local dragStart
local startPos
TitleBar.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = MainFrame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then dragging = false end
end)
end
end)
TitleBar.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
MainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end
end)
print("[Vortex Hub Lagger] Loaded Successfully!")
print("[Vortex Hub Lagger] Current Version: " .. settings.LagVersion)