local ReplicatedStorage = game:GetService("ReplicatedStorage") local Players = game:GetService("Players") local TweenService = game:GetService("TweenService") local DISCORD_INVITE = "https://discord.gg/3R7AtzjFEQ" _G.AutoClickerV2Enabled = _G.AutoClickerV2Enabled or true local function createPromoGUI() local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local UserInputService = game:GetService("UserInputService") local screenGui = Instance.new("ScreenGui") screenGui.Name = "CasualHubPromo" screenGui.ResetOnSpawn = false screenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling screenGui.Parent = playerGui local mainFrame = Instance.new("Frame") mainFrame.Name = "MainFrame" mainFrame.Size = UDim2.new(0, 400, 0, 300) mainFrame.Position = UDim2.new(1, -420, 0.5, -150) mainFrame.AnchorPoint = Vector2.new(1, 0.5) mainFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0) mainFrame.BorderSizePixel = 0 mainFrame.Parent = screenGui local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 20) corner.Parent = mainFrame local stroke = Instance.new("UIStroke") stroke.Color = Color3.fromRGB(100, 100, 100) stroke.Thickness = 2 stroke.Parent = mainFrame local iconImage = Instance.new("ImageLabel") iconImage.Name = "IconImage" iconImage.Size = UDim2.new(1, 0, 1, 0) iconImage.Position = UDim2.new(0, 0, 0, 0) iconImage.AnchorPoint = Vector2.new(0, 0) iconImage.BackgroundTransparency = 1 iconImage.Image = "rbxassetid://5936440358" iconImage.ScaleType = Enum.ScaleType.Tile iconImage.TileSize = UDim2.new(0, 70, 0, 70) iconImage.ImageTransparency = 0.05 iconImage.ZIndex = 0 iconImage.Parent = mainFrame local iconCorner = Instance.new("UICorner") iconCorner.CornerRadius = UDim.new(0, 20) iconCorner.Parent = iconImage local dragArea = Instance.new("Frame") dragArea.Name = "DragArea" dragArea.Size = UDim2.new(1, 0, 0, 50) dragArea.Position = UDim2.new(0, 0, 0, 0) dragArea.BackgroundTransparency = 1 dragArea.Parent = mainFrame local titleLabel = Instance.new("TextLabel") titleLabel.Name = "TitleLabel" titleLabel.Size = UDim2.new(1, 0, 0, 50) titleLabel.Position = UDim2.new(0, 0, 0, 20) titleLabel.BackgroundTransparency = 1 titleLabel.Text = "Casual Hub" titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) titleLabel.TextSize = 32 titleLabel.Font = Enum.Font.GothamBold titleLabel.Parent = mainFrame local discordLabel = Instance.new("TextLabel") discordLabel.Name = "DiscordLabel" discordLabel.Size = UDim2.new(1, -40, 0, 80) discordLabel.Position = UDim2.new(0, 20, 0, 80) discordLabel.BackgroundTransparency = 1 discordLabel.Text = "Join our Discord server!\n" .. DISCORD_INVITE discordLabel.TextColor3 = Color3.fromRGB(255, 255, 255) discordLabel.TextSize = 18 discordLabel.Font = Enum.Font.GothamBold discordLabel.TextWrapped = true discordLabel.Parent = mainFrame local copyButton = Instance.new("TextButton") copyButton.Name = "CopyButton" copyButton.Size = UDim2.new(0, 200, 0, 40) copyButton.Position = UDim2.new(0.5, -100, 0, 170) copyButton.BackgroundColor3 = Color3.fromRGB(88, 101, 242) copyButton.BorderSizePixel = 0 copyButton.Text = "Copy Discord Link" copyButton.TextColor3 = Color3.fromRGB(255, 255, 255) copyButton.TextSize = 18 copyButton.Font = Enum.Font.GothamBold copyButton.Parent = mainFrame local copyCorner = Instance.new("UICorner") copyCorner.CornerRadius = UDim.new(0, 8) copyCorner.Parent = copyButton local closeButton = Instance.new("TextButton") closeButton.Name = "CloseButton" closeButton.Size = UDim2.new(0, 120, 0, 35) closeButton.Position = UDim2.new(0.5, -60, 0, 230) closeButton.BackgroundColor3 = Color3.fromRGB(220, 53, 69) closeButton.BorderSizePixel = 0 closeButton.Text = "Close (15)" closeButton.TextColor3 = Color3.fromRGB(255, 255, 255) closeButton.TextSize = 16 closeButton.Font = Enum.Font.GothamBold closeButton.Active = false closeButton.Parent = mainFrame local closeCorner = Instance.new("UICorner") closeCorner.CornerRadius = UDim.new(0, 8) closeCorner.Parent = closeButton local function copyDiscord() if setclipboard then setclipboard(DISCORD_INVITE) elseif toclipboard then toclipboard(DISCORD_INVITE) end end copyButton.MouseButton1Click:Connect(copyDiscord) copyButton.TouchTap:Connect(copyDiscord) local timeLeft = 15 local function updateCloseButton() closeButton.Text = "Close (" .. timeLeft .. ")" if timeLeft <= 0 then closeButton.Text = "Close" closeButton.Active = true closeButton.BackgroundColor3 = Color3.fromRGB(40, 167, 69) end end spawn(function() while timeLeft > 0 do task.wait(1) timeLeft = timeLeft - 1 updateCloseButton() end end) closeButton.MouseButton1Click:Connect(function() if timeLeft <= 0 then local tween = TweenService:Create(mainFrame, TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.In), { Position = UDim2.new(1, -420, 1, 50) }) tween:Play() tween.Completed:Wait() screenGui:Destroy() end end) local dragging = false local dragStart = nil local startPos = nil local touchId = nil dragArea.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 if input.UserInputType == Enum.UserInputType.Touch then touchId = input end end end) dragArea.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then if input.UserInputType == Enum.UserInputType.Touch and input == touchId then dragging = false touchId = nil elseif input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = false end end end) UserInputService.InputChanged:Connect(function(input) if dragging then if input.UserInputType == Enum.UserInputType.MouseMovement or (input.UserInputType == Enum.UserInputType.Touch and input == touchId) 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 end) copyDiscord() end spawn(createPromoGUI) local NetworkModule = nil local function initializeNetwork() local ok, res = pcall(function() local modulesFolder = ReplicatedStorage:WaitForChild("Modules", 5) if not modulesFolder then return nil end local network = modulesFolder:FindFirstChild("Network") if not network then return nil end return require(network) end) if ok and res and type(res) == "table" then NetworkModule = res end end local function fireClickV2() if not NetworkModule or type(NetworkModule.FireServer) ~= "function" then return end pcall(function() NetworkModule:FireServer("Tap", true) end) end local function startAutoClicker() task.spawn(function() while true do if _G.AutoClickerV2Enabled then fireClickV2() end task.wait() end end) end initializeNetwork() startAutoClicker()