loadstring(game:HttpGet("https://raw.githubusercontent.com/FrozenScripts/frozenhubb/main/frozenhub1", true))() task.wait() -- Services local CoreGui = game:WaitForChild("CoreGui") local TweenService = game:GetService("TweenService") local UserInputService = game:GetService("UserInputService") -- Variables local discordGui = CoreGui:FindFirstChild("Discord") -- Create a GUI element in the CoreGui local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "FrozenHub Toggle Button" ScreenGui.Parent = CoreGui ScreenGui.ResetOnSpawn = false ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling -- Create an ImageButton within the ScreenGui for toggling local ImageButton = Instance.new("ImageButton") ImageButton.Parent = ScreenGui ImageButton.Size = UDim2.new(0, 75, 0, 75) ImageButton.Position = UDim2.new(0.5, -75 / 2, 0, 0) ImageButton.Image = "rbxassetid://14414936140" ImageButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0) ImageButton.Visible = true ImageButton.Active = true -- Create an UICorner for ImageButton local ImageButtonUICorner = Instance.new("UICorner") ImageButtonUICorner.Parent = ImageButton ImageButtonUICorner.CornerRadius = UDim.new(0, 12) local dragging local dragInput local dragStart local startPos local function update(input) local delta = input.Position - dragStart local tween = TweenService:Create(ImageButton, TweenInfo.new(0.15), {Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)}) tween:Play() end ImageButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = ImageButton.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) ImageButton.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 update(input) end end) local function Toggle() if discordGui then discordGui.Enabled = not discordGui.Enabled end end ImageButton.MouseButton1Down:Connect(Toggle)