Pastebin Clone
Home
Create Paste
Create Paste
Title
Content
-- PeexHub Testing Click Tool -- Hanya untuk testing game Anda sendiri yang telah diizinkan local UserInputService = game:GetService("UserInputService") local RunService = game:GetService("RunService") local TweenService = game:GetService("TweenService") -- UI Creation local screenGui = Instance.new("ScreenGui") screenGui.Name = "PeexHubTestingTool" screenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling screenGui.ResetOnSpawn = false -- Main Frame with modern design local mainFrame = Instance.new("Frame") mainFrame.Name = "MainFrame" mainFrame.Size = UDim2.new(0, 350, 0, 220) mainFrame.Position = UDim2.new(0.5, -175, 0, -250) mainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 30) mainFrame.BorderSizePixel = 0 mainFrame.ClipsDescendants = true -- Rounded corners local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 12) corner.Parent = mainFrame -- RGB Border Effect local borderFrame = Instance.new("Frame") borderFrame.Name = "RGBBorder" borderFrame.Size = UDim2.new(1, 0, 1, 0) borderFrame.BackgroundTransparency = 1 borderFrame.BorderSizePixel = 0 local gradient = Instance.new("UIGradient") gradient.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 0, 0)), ColorSequenceKeypoint.new(0.16, Color3.fromRGB(255, 255, 0)), ColorSequenceKeypoint.new(0.33, Color3.fromRGB(0, 255, 0)), ColorSequenceKeypoint.new(0.5, Color3.fromRGB(0, 255, 255)), ColorSequenceKeypoint.new(0.66, Color3.fromRGB(0, 0, 255)), ColorSequenceKeypoint.new(0.83, Color3.fromRGB(255, 0, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 0, 0)) }) gradient.Rotation = 45 gradient.Parent = borderFrame local borderStroke = Instance.new("UIStroke") borderStroke.Color = Color3.fromRGB(255, 255, 255) borderStroke.Thickness = 2 borderStroke.Parent = borderFrame borderStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border borderFrame.Parent = mainFrame -- Title Bar local titleBar = Instance.new("Frame") titleBar.Name = "TitleBar" titleBar.Size = UDim2.new(1, 0, 0, 30) titleBar.BackgroundColor3 = Color3.fromRGB(35, 35, 40) titleBar.BorderSizePixel = 0 local titleCorner = Instance.new("UICorner") titleCorner.CornerRadius = UDim.new(0, 12) titleCorner.Parent = titleBar local title = Instance.new("TextLabel") title.Name = "Title" title.Size = UDim2.new(0, 200, 1, 0) title.Position = UDim2.new(0, 10, 0, 0) title.BackgroundTransparency = 1 title.Text = "PeexHub Testing Tool" title.TextColor3 = Color3.fromRGB(255, 255, 255) title.TextSize = 14 title.Font = Enum.Font.GothamSemibold title.TextXAlignment = Enum.TextXAlignment.Left -- Control buttons local closeButton = Instance.new("TextButton") closeButton.Name = "CloseButton" closeButton.Size = UDim2.new(0, 30, 0, 30) closeButton.Position = UDim2.new(1, -30, 0, 0) closeButton.BackgroundColor3 = Color3.fromRGB(35, 35, 40) closeButton.Text = "X" closeButton.TextColor3 = Color3.fromRGB(255, 100, 100) closeButton.TextSize = 14 closeButton.Font = Enum.Font.GothamBold local minimizeButton = Instance.new("TextButton") minimizeButton.Name = "MinimizeButton" minimizeButton.Size = UDim2.new(0, 30, 0, 30) minimizeButton.Position = UDim2.new(1, -60, 0, 0) minimizeButton.BackgroundColor3 = Color3.fromRGB(35, 35, 40) minimizeButton.Text = "-" minimizeButton.TextColor3 = Color3.fromRGB(200, 200, 200) minimizeButton.TextSize = 18 minimizeButton.Font = Enum.Font.GothamBold titleBar.Parent = mainFrame title.Parent = titleBar closeButton.Parent = titleBar minimizeButton.Parent = titleBar -- Resize button local resizeButton = Instance.new("TextButton") resizeButton.Name = "ResizeButton" resizeButton.Size = UDim2.new(0, 20, 0, 20) resizeButton.Position = UDim2.new(1, -20, 1, -20) resizeButton.BackgroundColor3 = Color3.fromRGB(0, 150, 255) resizeButton.Text = "" resizeButton.BorderSizePixel = 0 local resizeCorner = Instance.new("UICorner") resizeCorner.CornerRadius = UDim.new(1, 0) resizeCorner.Parent = resizeButton resizeButton.Parent = mainFrame -- Content area local contentFrame = Instance.new("Frame") contentFrame.Name = "Content" contentFrame.Size = UDim2.new(1, -20, 1, -50) contentFrame.Position = UDim2.new(0, 10, 0, 40) contentFrame.BackgroundTransparency = 1 -- Super Fast Click Button local clickButton = Instance.new("TextButton") clickButton.Name = "SuperFastClick" clickButton.Size = UDim2.new(0, 200, 0, 40) clickButton.Position = UDim2.new(0.5, -100, 0, 20) clickButton.BackgroundColor3 = Color3.fromRGB(45, 45, 55) clickButton.Text = "SUPER FAST CLICK" clickButton.TextColor3 = Color3.fromRGB(255, 255, 255) clickButton.TextSize = 16 clickButton.Font = Enum.Font.GothamBold clickButton.AutoButtonColor = false local clickCorner = Instance.new("UICorner") clickCorner.CornerRadius = UDim.new(0, 8) clickCorner.Parent = clickButton -- Toggle Switch local toggleFrame = Instance.new("Frame") toggleFrame.Name = "ToggleFrame" toggleFrame.Size = UDim2.new(0, 70, 0, 30) toggleFrame.Position = UDim2.new(0.5, -35, 0, 70) toggleFrame.BackgroundColor3 = Color3.fromRGB(60, 60, 65) toggleFrame.BorderSizePixel = 0 local toggleCorner = Instance.new("UICorner") toggleCorner.CornerRadius = UDim.new(1, 0) toggleCorner.Parent = toggleFrame local toggleButton = Instance.new("TextButton") toggleButton.Name = "Toggle" toggleButton.Size = UDim2.new(0, 26, 0, 26) toggleButton.Position = UDim2.new(0, 2, 0.5, -13) toggleButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50) -- Red when off toggleButton.Text = "" toggleButton.BorderSizePixel = 0 local toggleBtnCorner = Instance.new("UICorner") toggleBtnCorner.CornerRadius = UDim.new(1, 0) toggleBtnCorner.Parent = toggleButton -- Status Label local statusLabel = Instance.new("TextLabel") statusLabel.Name = "Status" statusLabel.Size = UDim2.new(1, 0, 0, 30) statusLabel.Position = UDim2.new(0, 0, 0, 110) statusLabel.BackgroundTransparency = 1 statusLabel.Text = "Status: INACTIVE" statusLabel.TextColor3 = Color3.fromRGB(255, 50, 50) statusLabel.TextSize = 14 statusLabel.Font = Enum.Font.Gotham -- CPS Display local cpsLabel = Instance.new("TextLabel") cpsLabel.Name = "CPSLabel" cpsLabel.Size = UDim2.new(1, 0, 0, 30) cpsLabel.Position = UDim2.new(0, 0, 0, 140) cpsLabel.BackgroundTransparency = 1 cpsLabel.Text = "CPS: 0" cpsLabel.TextColor3 = Color3.fromRGB(200, 200, 255) cpsLabel.TextSize = 14 cpsLabel.Font = Enum.Font.Gotham -- Footer note local footer = Instance.new("TextLabel") footer.Name = "Footer" footer.Size = UDim2.new(1, 0, 0, 20) footer.Position = UDim2.new(0, 0, 1, -20) footer.BackgroundTransparency = 1 footer.Text = "For Testing Purposes Only" footer.TextColor3 = Color3.fromRGB(150, 150, 150) footer.TextSize = 10 footer.Font = Enum.Font.Gotham contentFrame.Parent = mainFrame clickButton.Parent = contentFrame toggleFrame.Parent = contentFrame toggleButton.Parent = toggleFrame statusLabel.Parent = contentFrame cpsLabel.Parent = contentFrame footer.Parent = contentFrame mainFrame.Parent = screenGui screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") -- Animation variables local isActive = false local clickRate = 0.01 -- 100 clicks per second for testing local lastClickTime = 0 local clickCount = 0 local cps = 0 local isMinimized = false local originalSize = mainFrame.Size local minimizedSize = UDim2.new(0, 350, 0, 30) -- Make window draggable local dragging = false local dragInput, dragStart, startPos local function update(input) 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 titleBar.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 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 then dragInput = input end end) UserInputService.InputChanged:Connect(function(input) if dragging and input == dragInput then update(input) end end) -- Animation for RGB border local borderAnimation local function animateBorder() if borderAnimation then borderAnimation:Cancel() end borderAnimation = RunService.Heartbeat:Connect(function(delta) gradient.Rotation = (gradient.Rotation + 45 * delta) % 360 end) end -- Toggle switch functionality toggleButton.MouseButton1Click:Connect(function() isActive = not isActive local tweenInfo = TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) if isActive then -- Move to right (green) local tween = TweenService:Create(toggleButton, tweenInfo, { Position = UDim2.new(1, -28, 0.5, -13), BackgroundColor3 = Color3.fromRGB(50, 255, 50) }) tween:Play() statusLabel.Text = "Status: ACTIVE" statusLabel.TextColor3 = Color3.fromRGB(50, 255, 50) else -- Move to left (red) local tween = TweenService:Create(toggleButton, tweenInfo, { Position = UDim2.new(0, 2, 0.5, -13), BackgroundColor3 = Color3.fromRGB(255, 50, 50) }) tween:Play() statusLabel.Text = "Status: INACTIVE" statusLabel.TextColor3 = Color3.fromRGB(255, 50, 50) end end) -- Click simulation function (FOR TESTING YOUR GAME ONLY) local function simulateClick() if not isActive then return end local currentTime = tick() -- Simulate click at the current mouse position local mouse = game.Players.LocalPlayer:GetMouse() -- This is just a simulation - actual clicking should be handled by your game's testing framework clickCount = clickCount + 1 -- Calculate CPS if currentTime - lastClickTime >= 1 then cps = clickCount clickCount = 0 lastClickTime = currentTime cpsLabel.Text = "CPS: " .. tostring(cps) end end -- Auto-click loop RunService.Heartbeat:Connect(function() if isActive then simulateClick() -- Also simulate click on the Super Fast Click button for visual feedback task.spawn(function() clickButton.BackgroundColor3 = Color3.fromRGB(0, 150, 255) task.wait(0.05) if isActive then clickButton.BackgroundColor3 = Color3.fromRGB(45, 45, 55) end end) end end) -- Control buttons functionality closeButton.MouseButton1Click:Connect(function() screenGui:Destroy() if borderAnimation then borderAnimation:Disconnect() end end) minimizeButton.MouseButton1Click:Connect(function() isMinimized = not isMinimized if isMinimized then mainFrame:TweenSize(minimizedSize, Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 0.3, true) contentFrame.Visible = false else mainFrame:TweenSize(originalSize, Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 0.3, true) contentFrame.Visible = true end end) -- Resize functionality local resizing = false local resizeStart resizeButton.MouseButton1Down:Connect(function() resizing = true resizeStart = UserInputService.GetMouseLocation(UserInputService) end) UserInputService.InputChanged:Connect(function(input) if resizing and input.UserInputType == Enum.UserInputType.MouseMovement then local mousePos = UserInputService:GetMouseLocation() local delta = mousePos - resizeStart resizeStart = mousePos local newSize = UDim2.new( 0, math.clamp(mainFrame.AbsoluteSize.X + delta.X, 300, 600), 0, math.clamp(mainFrame.AbsoluteSize.Y + delta.Y, 220, 400) ) mainFrame.Size = newSize end end) UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then resizing = false end end) -- Entry animation mainFrame.Position = UDim2.new(0.5, -175, 0, -250) local entryTween = TweenService:Create(mainFrame, TweenInfo.new(0.8, Enum.EasingStyle.Back, Enum.EasingDirection.Out, 0, false, 0.5), { Position = UDim2.new(0.5, -175, 0.3, 0) }) entryTween:Play() -- Start RGB border animation animateBorder() -- Disclaimer in console print("======================================") print("PeexHub Testing Tool Loaded") print("This tool is for testing YOUR OWN GAME only") print("Ensure you have proper authorization") print("======================================") -- Clean up on script termination game:GetService("Players").PlayerRemoving:Connect(function(player) if player == game.Players.LocalPlayer then if borderAnimation then borderAnimation:Disconnect() end screenGui:Destroy() end end)
Syntax Highlighting
Plain Text
PHP
JavaScript
Python
HTML
Expiration Time
Never
1 Hour
1 Day
1 Week
Visibility
Public
Private
Save Paste
Cancel