-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] local players = game:GetService("Players") local runService = game:GetService("RunService") local tweenService = game:GetService("TweenService") local userInputService = game:GetService("UserInputService") local localPlayer = players.LocalPlayer local function applyVerticalGradient(parent, colorTop, colorBottom) local gradient = Instance.new("UIGradient") gradient.Rotation = 90 gradient.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, colorTop), ColorSequenceKeypoint.new(1, colorBottom) }) gradient.Parent = parent return gradient end local function applyHorizontalCenterGradient(parent) local gradient = Instance.new("UIGradient") gradient.Rotation = 0 gradient.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 0, 0)), ColorSequenceKeypoint.new(0.5, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 0, 0)) }) gradient.Parent = parent return gradient end local coreGui = game:GetService("CoreGui") local parentGui = coreGui:FindFirstChild("RobloxGui") or coreGui if parentGui:FindFirstChild("HamsterHubGUI") then parentGui:FindFirstChild("HamsterHubGUI"):Destroy() end if parentGui:FindFirstChild("HamsterHubNotification") then parentGui:FindFirstChild("HamsterHubNotification"):Destroy() end if parentGui:FindFirstChild("HamsterHubFloatingButton") then parentGui:FindFirstChild("HamsterHubFloatingButton"):Destroy() end local notifScreen = Instance.new("ScreenGui") notifScreen.Name = "HamsterHubNotification" notifScreen.ResetOnSpawn = false notifScreen.Parent = parentGui local notifFrame = Instance.new("Frame") notifFrame.Name = "NotifFrame" notifFrame.Size = UDim2.new(0, 240, 0, 60) notifFrame.Position = UDim2.new(0, -260, 0, 40) notifFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) notifFrame.BorderSizePixel = 0 notifFrame.Parent = notifScreen applyVerticalGradient(notifFrame, Color3.fromRGB(30, 30, 30), Color3.fromRGB(15, 15, 15)) local notifCorner = Instance.new("UICorner") notifCorner.CornerRadius = UDim.new(0, 8) notifCorner.Parent = notifFrame local notifText = Instance.new("TextLabel") notifText.Size = UDim2.new(0, 150, 1, 0) notifText.Position = UDim2.new(0, 15, 0, 0) notifText.BackgroundTransparency = 1 notifText.Text = "reran :/" notifText.TextColor3 = Color3.fromRGB(255, 255, 255) notifText.TextSize = 34 notifText.Font = Enum.Font.SourceSansBold notifText.TextXAlignment = Enum.TextXAlignment.Left notifText.Parent = notifFrame local checkCircle = Instance.new("Frame") checkCircle.Name = "CheckCircle" checkCircle.Size = UDim2.new(0, 42, 0, 42) checkCircle.Position = UDim2.new(1, -52, 0.5, -21) checkCircle.BackgroundColor3 = Color3.fromRGB(45, 235, 45) checkCircle.BorderSizePixel = 0 checkCircle.Parent = notifFrame applyVerticalGradient(checkCircle, Color3.fromRGB(45, 235, 45), Color3.fromRGB(20, 160, 20)) local circleCorner = Instance.new("UICorner") circleCorner.CornerRadius = UDim.new(1, 0) circleCorner.Parent = checkCircle local checkMark = Instance.new("TextLabel") checkMark.Size = UDim2.new(1, 0, 1, 0) checkMark.BackgroundTransparency = 1 checkMark.Text = "✓" checkMark.TextColor3 = Color3.fromRGB(15, 15, 15) checkMark.TextSize = 28 checkMark.Font = Enum.Font.SourceSansBold checkMark.Parent = checkCircle task.spawn(function() local slideIn = tweenService:Create(notifFrame, TweenInfo.new(0.5, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), {Position = UDim2.new(0, 20, 0, 40)}) slideIn:Play() slideIn.Completed:Wait() task.wait(6) local slideOut = tweenService:Create(notifFrame, TweenInfo.new(1.2, Enum.EasingStyle.Quad, Enum.EasingDirection.In), {Position = UDim2.new(0, -260, 0, 40)}) slideOut:Play() slideOut.Completed:Wait() notifScreen:Destroy() end) local screenGui = Instance.new("ScreenGui") screenGui.Name = "HamsterHubGUI" screenGui.ResetOnSpawn = false screenGui.Parent = parentGui local mainFrame = Instance.new("Frame") mainFrame.Name = "MainFrame" mainFrame.Size = UDim2.new(0, 560, 0, 310) mainFrame.Position = UDim2.new(0.5, -280, 0.5, -155) mainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 26) mainFrame.BorderSizePixel = 0 mainFrame.Active = true mainFrame.Draggable = true mainFrame.ClipsDescendants = false mainFrame.BackgroundTransparency = 0 mainFrame.Parent = screenGui applyVerticalGradient(mainFrame, Color3.fromRGB(28, 30, 38), Color3.fromRGB(14, 16, 22)) local mainCorner = Instance.new("UICorner") mainCorner.CornerRadius = UDim.new(0, 12) mainCorner.Parent = mainFrame local mainStroke = Instance.new("UIStroke") mainStroke.Thickness = 1 mainStroke.Color = Color3.fromRGB(255, 255, 255) mainStroke.Transparency = 0.85 mainStroke.Parent = mainFrame tweenService:Create(mainFrame, TweenInfo.new(0.4, Enum.EasingStyle.Back, Enum.EasingDirection.Out), { BackgroundTransparency = 0 }):Play() local glowContainer = Instance.new("Frame") glowContainer.Name = "GlowContainer" glowContainer.Size = UDim2.new(1, 0, 1, 0) glowContainer.BackgroundTransparency = 1 glowContainer.ZIndex = 0 glowContainer.Parent = mainFrame local function createGlowOrb(color, size, startPos, minTime, maxTime) local orb = Instance.new("Frame") orb.Name = "GlowOrb" orb.Size = UDim2.new(0, size, 0, size) orb.Position = startPos orb.BackgroundColor3 = color orb.BackgroundTransparency = 0.5 orb.BorderSizePixel = 0 orb.ZIndex = 0 orb.Parent = glowContainer local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(1, 0) corner.Parent = orb local gradient = Instance.new("UIGradient") gradient.Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 0.1), NumberSequenceKeypoint.new(0.5, 0.6), NumberSequenceKeypoint.new(1, 1) }) gradient.Parent = orb task.spawn(function() while orb and orb.Parent do local randomX = math.random(-20, 500) local randomY = math.random(-20, 260) local glideTime = math.random(minTime, maxTime) local tween = tweenService:Create(orb, TweenInfo.new(glideTime, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { Position = UDim2.new(0, randomX, 0, randomY), BackgroundTransparency = math.random(40, 75) / 100 }) tween:Play() tween.Completed:Wait() end end) return orb end createGlowOrb(Color3.fromRGB(0, 170, 255), 210, UDim2.new(0, -20, 0, -20), 7, 12) createGlowOrb(Color3.fromRGB(160, 50, 255), 230, UDim2.new(0, 350, 0, 100), 8, 14) createGlowOrb(Color3.fromRGB(0, 230, 180), 190, UDim2.new(0, 180, 0, -30), 6, 11) createGlowOrb(Color3.fromRGB(255, 70, 170), 180, UDim2.new(0, 40, 0, 140), 7, 13) createGlowOrb(Color3.fromRGB(100, 200, 255), 80, UDim2.new(0, 100, 0, 50), 3, 6) createGlowOrb(Color3.fromRGB(200, 100, 255), 70, UDim2.new(0, 300, 0, 200), 4, 7) createGlowOrb(Color3.fromRGB(255, 150, 200), 60, UDim2.new(0, 450, 0, 80), 3, 6) createGlowOrb(Color3.fromRGB(50, 255, 200), 90, UDim2.new(0, 200, 0, 150), 4, 8) createGlowOrb(Color3.fromRGB(255, 220, 100), 65, UDim2.new(0, 120, 0, 220), 3, 5) local hubIcon = Instance.new("ImageLabel") hubIcon.Size = UDim2.new(0, 32, 0, 32) hubIcon.Position = UDim2.new(0, 20, 0, 19) hubIcon.BackgroundTransparency = 1 hubIcon.Image = "rbxthumb://type=Asset&id=78465880047461&w=150&h=150" hubIcon.ZIndex = 2 hubIcon.Parent = mainFrame local title = Instance.new("TextLabel") title.Size = UDim2.new(0, 200, 0, 40) title.Position = UDim2.new(0, 60, 0, 15) title.BackgroundTransparency = 1 title.Text = "Hamster Hub" title.TextColor3 = Color3.fromRGB(255, 255, 255) title.TextSize = 32 title.Font = Enum.Font.SourceSansBold title.TextXAlignment = Enum.TextXAlignment.Left title.ZIndex = 2 title.Parent = mainFrame local floatGui = Instance.new("ScreenGui") floatGui.Name = "HamsterHubFloatingButton" floatGui.ResetOnSpawn = false floatGui.Enabled = false floatGui.Parent = parentGui local floatButton = Instance.new("TextButton") floatButton.Size = UDim2.new(0, 50, 0, 50) floatButton.Position = UDim2.new(0, 50, 0, 200) floatButton.BackgroundColor3 = Color3.fromRGB(15, 15, 15) floatButton.BorderSizePixel = 0 floatButton.AutoButtonColor = false floatButton.Text = "" floatButton.Parent = floatGui applyVerticalGradient(floatButton, Color3.fromRGB(25, 25, 25), Color3.fromRGB(5, 5, 5)) local floatCorner = Instance.new("UICorner") floatCorner.CornerRadius = UDim.new(1, 0) floatCorner.Parent = floatButton local floatIcon = Instance.new("ImageLabel") floatIcon.Size = UDim2.new(0, 30, 0, 30) floatIcon.Position = UDim2.new(0.5, -15, 0.5, -15) floatIcon.BackgroundTransparency = 1 floatIcon.Image = "rbxthumb://type=Asset&id=78465880047461&w=150&h=150" floatIcon.Parent = floatButton local draggingFloat = false local floatStartPos, floatStartMousePos local totalDragDistance = 0 floatButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then draggingFloat = true floatStartMousePos = input.Position floatStartPos = floatButton.Position totalDragDistance = 0 end end) userInputService.InputChanged:Connect(function(input) if draggingFloat and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then local delta = input.Position - floatStartMousePos totalDragDistance = delta.Magnitude floatButton.Position = UDim2.new(floatStartPos.X.Scale, floatStartPos.X.Offset + delta.X, floatStartPos.Y.Scale, floatStartPos.Y.Offset + delta.Y) end end) userInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then draggingFloat = false end end) local function setChildrenTransparency(parent, alpha) for _, child in ipairs(parent:GetDescendants()) do if child.Name ~= "GlowContainer" and child.Name ~= "GlowOrb" then if child:IsA("TextLabel") or child:IsA("TextButton") then child.TextTransparency = alpha if child.Name == "PlayerTabBtn" or child.Name == "CreditsTabBtn" then child.BackgroundTransparency = 1 end end if child:IsA("ImageLabel") then child.ImageTransparency = alpha end if child:IsA("Frame") or child:IsA("TextButton") then if child.Name ~= "PlayerContainer" and child.Name ~= "CreditsContainer" and child.Name ~= "PlayerTabBtn" and child.Name ~= "CreditsTabBtn" then child.BackgroundTransparency = alpha end end if child:IsA("UIStroke") and child.Name ~= "MainStroke" then child.Transparency = alpha end end end end local function fadeInChildren(parent, duration) local tweenInfo = TweenInfo.new(duration, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) for _, child in ipairs(parent:GetDescendants()) do if child.Name ~= "GlowContainer" and child.Name ~= "GlowOrb" then if child:IsA("TextLabel") then tweenService:Create(child, tweenInfo, {TextTransparency = 0}):Play() elseif child:IsA("ImageLabel") then tweenService:Create(child, tweenInfo, {ImageTransparency = 0}):Play() elseif child:IsA("TextButton") then if child.Name == "PlayerTabBtn" or child.Name == "CreditsTabBtn" then tweenService:Create(child, tweenInfo, {TextTransparency = 0, BackgroundTransparency = 1}):Play() else tweenService:Create(child, tweenInfo, {TextTransparency = 0, BackgroundTransparency = 0}):Play() end elseif child:IsA("Frame") then if child.Name == "TabUnderline" or child.Name == "SliderFill" or child.Name == "SliderKnob" or child.Name == "ToggleKnob" or child.Name == "StatusDot" then tweenService:Create(child, tweenInfo, {BackgroundTransparency = 0}):Play() end end end end end floatButton.MouseButton1Click:Connect(function() if totalDragDistance > 10 then return end local glideTween = tweenService:Create(floatButton, TweenInfo.new(0.25, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out), { Position = UDim2.new(0.5, -25, 0.5, -25) }) glideTween:Play() glideTween.Completed:Wait() local shrinkTween = tweenService:Create(floatButton, TweenInfo.new(0.18, Enum.EasingStyle.Back, Enum.EasingDirection.In), { Size = UDim2.new(0, 0, 0, 0), Position = UDim2.new(0.5, 0, 0.5, 0), BackgroundTransparency = 1 }) shrinkTween:Play() shrinkTween.Completed:Wait() floatGui.Enabled = false floatButton.Size = UDim2.new(0, 50, 0, 50) floatButton.BackgroundTransparency = 0 floatButton.Position = floatStartPos or UDim2.new(0, 50, 0, 200) setChildrenTransparency(mainFrame, 1) screenGui.Enabled = true mainFrame.Size = UDim2.new(0, 100, 0, 60) mainFrame.Position = UDim2.new(0.5, -50, 0.5, -30) mainFrame.BackgroundTransparency = 0 local expandTween = tweenService:Create(mainFrame, TweenInfo.new(0.35, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), { Size = UDim2.new(0, 560, 0, 310), Position = UDim2.new(0.5, -280, 0.5, -155), BackgroundTransparency = 0 }) expandTween:Play() expandTween.Completed:Wait() fadeInChildren(mainFrame, 0.3) end) local closeBtn = Instance.new("TextButton") closeBtn.Size = UDim2.new(0, 30, 0, 30) closeBtn.Position = UDim2.new(1, -40, 0, 18) closeBtn.BackgroundColor3 = Color3.fromRGB(180, 30, 30) closeBtn.BorderSizePixel = 0 closeBtn.AutoButtonColor = false closeBtn.Text = "X" closeBtn.TextColor3 = Color3.fromRGB(255, 255, 255) closeBtn.TextSize = 18 closeBtn.Font = Enum.Font.SourceSansBold closeBtn.ZIndex = 2 closeBtn.Parent = mainFrame applyVerticalGradient(closeBtn, Color3.fromRGB(220, 50, 50), Color3.fromRGB(130, 15, 15)) local closeCorner = Instance.new("UICorner") closeCorner.CornerRadius = UDim.new(0, 6) closeCorner.Parent = closeBtn local hideBtn = Instance.new("TextButton") hideBtn.Size = UDim2.new(0, 30, 0, 30) hideBtn.Position = UDim2.new(1, -78, 0, 18) hideBtn.BackgroundColor3 = Color3.fromRGB(0, 100, 200) hideBtn.BorderSizePixel = 0 hideBtn.AutoButtonColor = false hideBtn.Text = "-" hideBtn.TextColor3 = Color3.fromRGB(255, 255, 255) hideBtn.TextSize = 22 hideBtn.Font = Enum.Font.SourceSansBold hideBtn.ZIndex = 2 hideBtn.Parent = mainFrame applyVerticalGradient(hideBtn, Color3.fromRGB(0, 150, 255), Color3.fromRGB(0, 75, 160)) local hideCorner = Instance.new("UICorner") hideCorner.CornerRadius = UDim.new(0, 6) hideCorner.Parent = hideBtn closeBtn.MouseButton1Click:Connect(function() screenGui:Destroy() floatGui:Destroy() end) hideBtn.MouseButton1Click:Connect(function() screenGui.Enabled = false floatGui.Enabled = true end) local activeTab = "Player" local playerTabBtn = Instance.new("TextButton") playerTabBtn.Name = "PlayerTabBtn" playerTabBtn.Size = UDim2.new(0, 80, 0, 25) playerTabBtn.Position = UDim2.new(0, 20, 0, 60) playerTabBtn.BackgroundTransparency = 1 playerTabBtn.Text = "Player" playerTabBtn.TextColor3 = Color3.fromRGB(255, 255, 255) playerTabBtn.TextSize = 22 playerTabBtn.Font = Enum.Font.SourceSansBold playerTabBtn.ZIndex = 2 playerTabBtn.Parent = mainFrame local creditsTabBtn = Instance.new("TextButton") creditsTabBtn.Name = "CreditsTabBtn" creditsTabBtn.Size = UDim2.new(0, 80, 0, 25) creditsTabBtn.Position = UDim2.new(0, 110, 0, 60) creditsTabBtn.BackgroundTransparency = 1 creditsTabBtn.Text = "Credits" creditsTabBtn.TextColor3 = Color3.fromRGB(130, 130, 130) creditsTabBtn.TextSize = 22 creditsTabBtn.Font = Enum.Font.SourceSansBold creditsTabBtn.ZIndex = 2 creditsTabBtn.Parent = mainFrame local tabUnderline = Instance.new("Frame") tabUnderline.Name = "TabUnderline" tabUnderline.Size = UDim2.new(0, 70, 0, 2) tabUnderline.Position = UDim2.new(0, 20, 0, 87) tabUnderline.BackgroundColor3 = Color3.fromRGB(255, 255, 255) tabUnderline.BorderSizePixel = 0 tabUnderline.ZIndex = 2 tabUnderline.Parent = mainFrame applyHorizontalCenterGradient(tabUnderline) local playerContainer = Instance.new("Frame") playerContainer.Name = "PlayerContainer" playerContainer.Size = UDim2.new(1, 0, 1, -95) playerContainer.Position = UDim2.new(0, 0, 0, 95) playerContainer.BackgroundTransparency = 1 playerContainer.Visible = true playerContainer.ZIndex = 2 playerContainer.Parent = mainFrame local creditsContainer = Instance.new("Frame") creditsContainer.Name = "CreditsContainer" creditsContainer.Size = UDim2.new(1, 0, 1, -95) creditsContainer.Position = UDim2.new(0, 0, 0, 95) creditsContainer.BackgroundTransparency = 1 creditsContainer.Visible = false creditsContainer.ZIndex = 2 creditsContainer.Parent = mainFrame local function setupTabHover(btn, tabName, defaultPosX) btn.MouseEnter:Connect(function() local targetColor = (activeTab == tabName) and Color3.fromRGB(255, 255, 255) or Color3.fromRGB(200, 200, 200) tweenService:Create(btn, TweenInfo.new(0.2, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), { Position = UDim2.new(0, defaultPosX, 0, 58), TextColor3 = targetColor }):Play() end) btn.MouseLeave:Connect(function() local targetColor = (activeTab == tabName) and Color3.fromRGB(255, 255, 255) or Color3.fromRGB(130, 130, 130) tweenService:Create(btn, TweenInfo.new(0.2, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), { Position = UDim2.new(0, defaultPosX, 0, 60), TextColor3 = targetColor }):Play() end) end setupTabHover(playerTabBtn, "Player", 20) setupTabHover(creditsTabBtn, "Credits", 110) playerTabBtn.MouseButton1Click:Connect(function() activeTab = "Player" playerContainer.Visible = true creditsContainer.Visible = false tweenService:Create(tabUnderline, TweenInfo.new(0.25, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), {Position = UDim2.new(0, 20, 0, 87)}):Play() playerTabBtn.TextColor3 = Color3.fromRGB(255, 255, 255) creditsTabBtn.TextColor3 = Color3.fromRGB(130, 130, 130) end) creditsTabBtn.MouseButton1Click:Connect(function() activeTab = "Credits" playerContainer.Visible = false creditsContainer.Visible = true tweenService:Create(tabUnderline, TweenInfo.new(0.25, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), {Position = UDim2.new(0, 110, 0, 87)}):Play() playerTabBtn.TextColor3 = Color3.fromRGB(130, 130, 130) creditsTabBtn.TextColor3 = Color3.fromRGB(255, 255, 255) end) local creditTitle = Instance.new("TextLabel") creditTitle.Size = UDim2.new(0, 300, 0, 35) creditTitle.Position = UDim2.new(0, 20, 0, 15) creditTitle.BackgroundTransparency = 1 creditTitle.Text = "Developers & Creators" creditTitle.TextColor3 = Color3.fromRGB(255, 255, 255) creditTitle.TextSize = 24 creditTitle.Font = Enum.Font.SourceSansBold creditTitle.TextXAlignment = Enum.TextXAlignment.Left creditTitle.ZIndex = 2 creditTitle.Parent = creditsContainer local veedyAvatar = Instance.new("ImageLabel") veedyAvatar.Name = "VeedyAvatar" veedyAvatar.Size = UDim2.new(0, 65, 0, 65) veedyAvatar.Position = UDim2.new(0, 20, 0, 60) veedyAvatar.BackgroundColor3 = Color3.fromRGB(50, 50, 50) veedyAvatar.BackgroundTransparency = 1 veedyAvatar.BorderSizePixel = 0 veedyAvatar.Image = "rbxthumb://type=AvatarHeadShot&id=" .. localPlayer.UserId .. "&w=150&h=150" veedyAvatar.ZIndex = 2 veedyAvatar.Parent = creditsContainer local veedyCorner = Instance.new("UICorner") veedyCorner.CornerRadius = UDim.new(1, 0) veedyCorner.Parent = veedyAvatar local creditName = Instance.new("TextLabel") creditName.Size = UDim2.new(0, 300, 0, 30) creditName.Position = UDim2.new(0, 100, 0, 65) creditName.BackgroundTransparency = 1 creditName.Text = "@Veedybirdie" creditName.TextColor3 = Color3.fromRGB(255, 255, 255) creditName.TextSize = 22 creditName.Font = Enum.Font.SourceSansBold creditName.TextXAlignment = Enum.TextXAlignment.Left creditName.ZIndex = 2 creditName.Parent = creditsContainer local creditRole = Instance.new("TextLabel") creditRole.Size = UDim2.new(0, 300, 0, 20) creditRole.Position = UDim2.new(0, 100, 0, 93) creditRole.BackgroundTransparency = 1 creditRole.Text = "Lead Developer & Owner" creditRole.TextColor3 = Color3.fromRGB(160, 160, 160) creditRole.TextSize = 16 creditRole.Font = Enum.Font.SourceSans creditRole.TextXAlignment = Enum.TextXAlignment.Left creditRole.ZIndex = 2 creditRole.Parent = creditsContainer local welcomeLabel = Instance.new("TextLabel") welcomeLabel.Size = UDim2.new(0, 280, 0, 40) welcomeLabel.Position = UDim2.new(0, 20, 0, 15) welcomeLabel.BackgroundTransparency = 1 welcomeLabel.Text = "Welcome, " .. localPlayer.Name welcomeLabel.TextColor3 = Color3.fromRGB(255, 255, 255) welcomeLabel.TextSize = 26 welcomeLabel.Font = Enum.Font.SourceSansBold welcomeLabel.TextXAlignment = Enum.TextXAlignment.Left welcomeLabel.ZIndex = 2 welcomeLabel.Parent = playerContainer local avatarImage = Instance.new("ImageLabel") avatarImage.Name = "AvatarImage" avatarImage.Size = UDim2.new(0, 75, 0, 75) avatarImage.Position = UDim2.new(0, 440, 0, 10) avatarImage.BackgroundColor3 = Color3.fromRGB(50, 50, 50) avatarImage.BackgroundTransparency = 1 avatarImage.BorderSizePixel = 0 avatarImage.Image = "rbxthumb://type=AvatarHeadShot&id=" .. localPlayer.UserId .. "&w=150&h=150" avatarImage.ZIndex = 2 avatarImage.Parent = playerContainer local avatarCorner = Instance.new("UICorner") avatarCorner.CornerRadius = UDim.new(1, 0) avatarCorner.Parent = avatarImage local statusDot = Instance.new("Frame") statusDot.Name = "StatusDot" statusDot.Size = UDim2.new(0, 16, 0, 16) statusDot.Position = UDim2.new(0, 500, 0, 65) statusDot.BackgroundColor3 = Color3.fromRGB(120, 220, 150) statusDot.BorderSizePixel = 0 statusDot.ZIndex = 2 statusDot.Parent = playerContainer applyVerticalGradient(statusDot, Color3.fromRGB(140, 240, 170), Color3.fromRGB(80, 170, 100)) local dotCorner = Instance.new("UICorner") dotCorner.CornerRadius = UDim.new(1, 0) dotCorner.Parent = statusDot local speedText = Instance.new("TextLabel") speedText.Size = UDim2.new(0, 180, 0, 25) speedText.Position = UDim2.new(0, 20, 0, 65) speedText.BackgroundTransparency = 1 speedText.Text = "Speed: 16" speedText.TextColor3 = Color3.fromRGB(255, 255, 255) speedText.TextSize = 20 speedText.Font = Enum.Font.SourceSansBold speedText.TextXAlignment = Enum.TextXAlignment.Left speedText.ZIndex = 2 speedText.Parent = playerContainer local sliderTrack = Instance.new("TextButton") sliderTrack.Size = UDim2.new(0, 170, 0, 36) sliderTrack.Position = UDim2.new(0, 20, 0, 95) sliderTrack.BackgroundColor3 = Color3.fromRGB(0, 75, 170) sliderTrack.BorderSizePixel = 0 sliderTrack.AutoButtonColor = false sliderTrack.Text = "" sliderTrack.ClipsDescendants = false sliderTrack.ZIndex = 2 sliderTrack.Parent = playerContainer local trackGradient = applyVerticalGradient(sliderTrack, Color3.fromRGB(0, 90, 200), Color3.fromRGB(0, 45, 110)) local trackCorner = Instance.new("UICorner") trackCorner.CornerRadius = UDim.new(0, 18) trackCorner.Parent = sliderTrack local riskStroke = Instance.new("UIStroke") riskStroke.Name = "RiskStroke" riskStroke.Thickness = 0 riskStroke.Color = Color3.fromRGB(255, 50, 50) riskStroke.Transparency = 1 riskStroke.Parent = sliderTrack local sliderFill = Instance.new("Frame") sliderFill.Name = "SliderFill" sliderFill.Size = UDim2.new(0, 36, 1, 0) sliderFill.BackgroundColor3 = Color3.fromRGB(0, 140, 255) sliderFill.BorderSizePixel = 0 sliderFill.ClipsDescendants = false sliderFill.ZIndex = 3 sliderFill.Parent = sliderTrack local fillGradient = applyVerticalGradient(sliderFill, Color3.fromRGB(0, 160, 255), Color3.fromRGB(0, 100, 210)) local fillCorner = Instance.new("UICorner") fillCorner.CornerRadius = UDim.new(0, 18) fillCorner.Parent = sliderFill local sliderKnob = Instance.new("Frame") sliderKnob.Name = "SliderKnob" sliderKnob.Size = UDim2.new(0, 26, 0, 26) sliderKnob.Position = UDim2.new(1, -31, 0.5, -13) sliderKnob.BackgroundColor3 = Color3.fromRGB(255, 255, 255) sliderKnob.BorderSizePixel = 0 sliderKnob.ZIndex = 5 sliderKnob.Parent = sliderFill applyVerticalGradient(sliderKnob, Color3.fromRGB(255, 255, 255), Color3.fromRGB(200, 200, 200)) local knobCorner = Instance.new("UICorner") knobCorner.CornerRadius = UDim.new(1, 0) knobCorner.Parent = sliderKnob local toggleText = Instance.new("TextLabel") toggleText.Size = UDim2.new(0, 100, 0, 25) toggleText.Position = UDim2.new(0, 240, 0, 65) toggleText.BackgroundTransparency = 1 toggleText.Text = "Enabled" toggleText.TextColor3 = Color3.fromRGB(255, 255, 255) toggleText.TextSize = 20 toggleText.Font = Enum.Font.SourceSansBold toggleText.TextXAlignment = Enum.TextXAlignment.Left toggleText.ZIndex = 2 toggleText.Parent = playerContainer local toggleTrack = Instance.new("TextButton") toggleTrack.Size = UDim2.new(0, 70, 0, 32) toggleTrack.Position = UDim2.new(0, 240, 0, 97) toggleTrack.BackgroundColor3 = Color3.fromRGB(35, 35, 35) toggleTrack.BorderSizePixel = 0 toggleTrack.AutoButtonColor = false toggleTrack.Text = "" toggleTrack.ZIndex = 2 toggleTrack.Parent = playerContainer local toggleTrackGradient = applyVerticalGradient(toggleTrack, Color3.fromRGB(45, 45, 45), Color3.fromRGB(20, 20, 20)) local toggleCorner = Instance.new("UICorner") toggleCorner.CornerRadius = UDim.new(0, 16) toggleCorner.Parent = toggleTrack local toggleKnob = Instance.new("Frame") toggleKnob.Name = "ToggleKnob" toggleKnob.Size = UDim2.new(0, 22, 0, 22) toggleKnob.Position = UDim2.new(0, 5, 0.5, -11) toggleKnob.BackgroundColor3 = Color3.fromRGB(255, 255, 255) toggleKnob.BorderSizePixel = 0 toggleKnob.ZIndex = 3 toggleKnob.Parent = toggleTrack applyVerticalGradient(toggleKnob, Color3.fromRGB(255, 255, 255), Color3.fromRGB(200, 200, 200)) local toggleKnobCorner = Instance.new("UICorner") toggleKnobCorner.CornerRadius = UDim.new(1, 0) toggleKnobCorner.Parent = toggleKnob local speedEnabled = false local currentSpeed = 16 local minSpeed = 16 local maxSpeed = 150 local draggingSlider = false local isRiskActive = false local function updateSlider(input) local trackWidth = sliderTrack.AbsoluteSize.X local relativeX = math.clamp(input.Position.X - sliderTrack.AbsolutePosition.X, 0, trackWidth) local percentage = relativeX / trackWidth currentSpeed = math.floor(minSpeed + (percentage * (maxSpeed - minSpeed))) local minWidthScale = 36 / trackWidth local fillScale = minWidthScale + (percentage * (1 - minWidthScale)) sliderFill.Size = UDim2.new(fillScale, 0, 1, 0) if currentSpeed > 43 then if not isRiskActive then isRiskActive = true riskStroke.Thickness = 6 riskStroke.Transparency = 0 tweenService:Create(riskStroke, TweenInfo.new(0.4, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), { Thickness = 1, Transparency = 0.5 }):Play() tweenService:Create(speedText, TweenInfo.new(0.3), {TextColor3 = Color3.fromRGB(255, 90, 90)}):Play() speedText.Text = "Speed: " .. tostring(currentSpeed) .. " [RISK]" tweenService:Create(sliderFill, TweenInfo.new(0.3), {BackgroundColor3 = Color3.fromRGB(255, 50, 50)}):Play() tweenService:Create(sliderTrack, TweenInfo.new(0.3), {BackgroundColor3 = Color3.fromRGB(180, 20, 20)}):Play() fillGradient.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 90, 90)), ColorSequenceKeypoint.new(1, Color3.fromRGB(200, 20, 20)) }) trackGradient.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.fromRGB(180, 30, 30)), ColorSequenceKeypoint.new(1, Color3.fromRGB(110, 10, 10)) }) else speedText.Text = "Speed: " .. tostring(currentSpeed) .. " [RISK]" end else if isRiskActive or currentSpeed <= 43 then isRiskActive = false tweenService:Create(riskStroke, TweenInfo.new(0.3), { Thickness = 0, Transparency = 1 }):Play()