local VirtualInputManager = game:GetService("VirtualInputManager") local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") local RunService = game:GetService("RunService") local Lighting = game:GetService("Lighting") local LocalPlayer = Players.LocalPlayer local PlayerGui = LocalPlayer:WaitForChild("PlayerGui") if PlayerGui:FindFirstChild("ZenixTrueClickerV2") then PlayerGui.ZenixTrueClickerV2:Destroy() end local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "ZenixTrueClickerV2" ScreenGui.Parent = PlayerGui ScreenGui.ResetOnSpawn = false ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling ScreenGui.IgnoreGuiInset = true local ClickPoints = {} local IsClicking = false local ControlsActive = false local FpsBoosterActive = false local fpsDescendantConnection = nil local MainPanel = Instance.new("Frame") MainPanel.Name = "MainPanel" MainPanel.Parent = ScreenGui MainPanel.BackgroundColor3 = Color3.fromRGB(30, 30, 30) MainPanel.BackgroundTransparency = 0.15 MainPanel.Position = UDim2.new(0.5, -18, 0.5, -92) MainPanel.Size = UDim2.new(0, 37, 0, 185) MainPanel.Active = true MainPanel.Visible = true MainPanel.ZIndex = 10 local SecondaryPanel = Instance.new("Frame") SecondaryPanel.Name = "SecondaryPanel" SecondaryPanel.Parent = ScreenGui SecondaryPanel.BackgroundColor3 = Color3.fromRGB(30, 30, 30) SecondaryPanel.BackgroundTransparency = 0.15 SecondaryPanel.Size = UDim2.new(0, 37, 0, 135) SecondaryPanel.Position = MainPanel.Position SecondaryPanel.Visible = false SecondaryPanel.Active = true SecondaryPanel.ZIndex = 10 local function applyStyle(panel) local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 6) corner.Parent = panel local stroke = Instance.new("UIStroke") stroke.Color = Color3.fromRGB(80, 80, 80) stroke.Thickness = 1.2 stroke.Parent = panel end applyStyle(MainPanel) applyStyle(SecondaryPanel) local function createIconButton(parent, name, text, pos, size, color) local btn = Instance.new("TextButton") btn.Name = name btn.Parent = parent btn.Position = pos btn.Size = size btn.BackgroundColor3 = Color3.fromRGB(45, 45, 45) btn.BackgroundTransparency = 0.9 btn.Font = Enum.Font.GothamBold btn.Text = text btn.TextColor3 = color or Color3.fromRGB(255, 255, 255) btn.TextSize = 15 btn.Visible = true btn.ZIndex = 11 local btnCorner = Instance.new("UICorner") btnCorner.CornerRadius = UDim.new(0, 5) btnCorner.Parent = btn return btn end local PlayPauseBtn = createIconButton(MainPanel, "PlayPause", "▶", UDim2.new(0, 3, 0, 6), UDim2.new(1, -6, 0, 24), Color3.fromRGB(30, 144, 255)) local SpeedInput = Instance.new("TextBox") SpeedInput.Name = "SpeedInput" SpeedInput.Parent = MainPanel SpeedInput.Position = UDim2.new(0, 3, 0, 34) SpeedInput.Size = UDim2.new(1, -6, 0, 20) SpeedInput.BackgroundColor3 = Color3.fromRGB(15, 15, 15) SpeedInput.Font = Enum.Font.GothamBold SpeedInput.Text = "0.05" SpeedInput.TextColor3 = Color3.fromRGB(255, 255, 255) SpeedInput.TextSize = 10 SpeedInput.ClearTextOnFocus = true SpeedInput.TextScaled = true SpeedInput.Visible = true SpeedInput.ZIndex = 11 Instance.new("UICorner", SpeedInput).CornerRadius = UDim.new(0, 4) local AddBtn = createIconButton(MainPanel, "AddPoint", "+", UDim2.new(0, 3, 0, 58), UDim2.new(1, -6, 0, 22), Color3.fromRGB(50, 205, 50)) local AddControlsBtn = createIconButton(MainPanel, "AddControls", "↗↙", UDim2.new(0, 3, 0, 84), UDim2.new(1, -6, 0, 22), Color3.fromRGB(238, 130, 238)) local RemoveBtn = createIconButton(MainPanel, "RemovePoint", "-", UDim2.new(0, 3, 0, 110), UDim2.new(1, -6, 0, 22), Color3.fromRGB(220, 20, 60)) local DragButton = createIconButton(MainPanel, "DragButton", "=", UDim2.new(0, 3, 0, 138), UDim2.new(1, -6, 0, 22), Color3.fromRGB(255, 255, 255)) local MainTitle = Instance.new("TextLabel") MainTitle.Parent = MainPanel MainTitle.Size = UDim2.new(1, 0, 0, 12) MainTitle.Position = UDim2.new(0, 0, 1, -16) MainTitle.BackgroundTransparency = 1 MainTitle.Font = Enum.Font.Unknown MainTitle.Text = "Zenix" MainTitle.TextColor3 = Color3.fromRGB(255, 255, 255) MainTitle.TextSize = 12 MainTitle.ZIndex = 11 local SecPlayBtn = createIconButton(SecondaryPanel, "SecPlay", "▶", UDim2.new(0, 3, 0, 6), UDim2.new(1, -6, 0, 24), Color3.fromRGB(30, 144, 255)) local CloseBtn = createIconButton(SecondaryPanel, "Close", "X", UDim2.new(0, 3, 0, 34), UDim2.new(1, -6, 0, 22), Color3.fromRGB(200, 40, 40)) CloseBtn.TextSize = 12 local FPSBtn = createIconButton(SecondaryPanel, "FPSBtn", "FPS Booster", UDim2.new(0, 3, 0, 60), UDim2.new(1, -6, 0, 22), Color3.fromRGB(255, 255, 255)) FPSBtn.TextSize = 8 FPSBtn.TextScaled = true local SecDragButton = createIconButton(SecondaryPanel, "SecDragButton", "=", UDim2.new(0, 3, 0, 86), UDim2.new(1, -6, 0, 22), Color3.fromRGB(255, 255, 255)) local SecTitle = Instance.new("TextLabel") SecTitle.Parent = SecondaryPanel SecTitle.Size = UDim2.new(1, 0, 0, 12) SecTitle.Position = UDim2.new(0, 0, 1, -16) SecTitle.BackgroundTransparency = 1 SecTitle.Font = Enum.Font.Unknown SecTitle.Text = "Zenix" SecTitle.TextColor3 = Color3.fromRGB(255, 255, 255) SecTitle.TextSize = 12 SecTitle.ZIndex = 11 local function applyCustomFont() local success, font = pcall(function() return Font.fromId(12187372382) end) if success and font then MainTitle.FontFace = font SecTitle.FontFace = font else MainTitle.Font = Enum.Font.GothamBold SecTitle.Font = Enum.Font.GothamBold end end applyCustomFont() local draggingPanel = false local dragStartPanel, startPosPanel, hasMoved local activePanelTouchObject = nil local currentPanel = MainPanel local function setupDraggablePanel(targetFrame, triggerButton) triggerButton.InputBegan:Connect(function(input) if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) and not draggingPanel then draggingPanel = true activePanelTouchObject = input hasMoved = false dragStartPanel = input.Position startPosPanel = targetFrame.Position end end) end setupDraggablePanel(MainPanel, DragButton) setupDraggablePanel(SecondaryPanel, SecDragButton) UserInputService.InputChanged:Connect(function(input) if draggingPanel and input == activePanelTouchObject then local delta = input.Position - dragStartPanel if delta.Magnitude > 5 then hasMoved = true end currentPanel.Position = UDim2.new(startPosPanel.X.Scale, startPosPanel.X.Offset + delta.X, startPosPanel.Y.Scale, startPosPanel.Y.Offset + delta.Y) end end) UserInputService.InputEnded:Connect(function(input) if draggingPanel and input == activePanelTouchObject then draggingPanel = false activePanelTouchObject = nil end end) DragButton.MouseButton1Click:Connect(function() if not hasMoved then SecondaryPanel.Position = MainPanel.Position MainPanel.Visible = false SecondaryPanel.Visible = true currentPanel = SecondaryPanel end end) SecDragButton.MouseButton1Click:Connect(function() if not hasMoved then MainPanel.Position = SecondaryPanel.Position SecondaryPanel.Visible = false MainPanel.Visible = true currentPanel = MainPanel end end) local function runFPSOptimization() if FpsBoosterActive then return end FpsBoosterActive = true FPSBtn.BackgroundColor3 = Color3.fromRGB(50, 205, 50) FPSBtn.TextColor3 = Color3.fromRGB(255, 255, 255) FPSBtn.Text = "FPS Booster [ON]" pcall(function() Lighting.GlobalShadows = false Lighting.FogEnd = 9e9 Lighting.ShadowMapBlur = 0 local terrain = workspace:FindFirstChildOfClass("Terrain") if terrain then terrain.WaterWaveSize = 0 terrain.WaterWaveSpeed = 0 terrain.WaterReflectance = 0 terrain.WaterTransparency = 0 end end) local function cleanObject(obj) pcall(function() if obj:IsA("Shirt") or obj:IsA("Pants") or obj:IsA("BodyColors") or obj:IsA("ShirtGraphic") then return end if obj:IsA("ParticleEmitter") or obj:IsA("Smoke") or obj:IsA("Fire") or obj:IsA("Sparkles") or obj:IsA("Trail") or obj:IsA("Beam") then obj.Enabled = false elseif obj:IsA("PostEffect") or obj:IsA("BloomEffect") or obj:IsA("BlurEffect") or obj:IsA("ColorCorrectionEffect") or obj:IsA("SunRaysEffect") or obj:IsA("DepthOfFieldEffect") or obj:IsA("Atmosphere") then obj.Enabled = false elseif obj:IsA("Light") then obj.Enabled = false elseif obj:IsA("Texture") or obj:IsA("Decal") then obj.Transparency = 1 elseif obj:IsA("BasePart") then obj.CastShadow = false obj.Material = Enum.Material.SmoothPlastic if obj:IsA("MeshPart") then obj.RenderFidelity = Enum.RenderFidelity.Performance end end end) end for _, obj in ipairs(game:GetDescendants()) do cleanObject(obj) end if fpsDescendantConnection then fpsDescendantConnection:Disconnect() fpsDescendantConnection = nil end fpsDescendantConnection = workspace.DescendantAdded:Connect(function(obj) if FpsBoosterActive then cleanObject(obj) end end) end local function stopFPSBooster() if not FpsBoosterActive then return end FpsBoosterActive = false FPSBtn.BackgroundColor3 = Color3.fromRGB(45, 45, 45) FPSBtn.TextColor3 = Color3.fromRGB(255, 255, 255) FPSBtn.Text = "FPS Booster" if fpsDescendantConnection then fpsDescendantConnection:Disconnect() fpsDescendantConnection = nil end end FPSBtn.MouseButton1Click:Connect(function() if FpsBoosterActive then stopFPSBooster() else runFPSOptimization() end end) local FpsLabel = Instance.new("TextLabel") FpsLabel.Name = "ZenixFPSCounter" FpsLabel.Parent = ScreenGui FpsLabel.Size = UDim2.new(0, 65, 0, 20) FpsLabel.Position = UDim2.new(0.5, -32.5, 0, 5) FpsLabel.BackgroundColor3 = Color3.fromRGB(20, 20, 20) FpsLabel.BackgroundTransparency = 0.3 FpsLabel.Font = Enum.Font.GothamBold FpsLabel.TextColor3 = Color3.fromRGB(255, 255, 255) FpsLabel.TextSize = 12 FpsLabel.Text = "FPS: --" Instance.new("UICorner", FpsLabel).CornerRadius = UDim.new(0, 5) local FpsStroke = Instance.new("UIStroke", FpsLabel) FpsStroke.Color = Color3.fromRGB(80, 80, 80) FpsStroke.Thickness = 1 local frameCount = 0 local lastFpsUpdate = os.clock() RunService.RenderStepped:Connect(function() frameCount = frameCount + 1 local now = os.clock() local delta = now - lastFpsUpdate if delta >= 1 then local currentFps = math.floor(frameCount / delta) FpsLabel.Text = "FPS: " .. tostring(currentFps) if currentFps >= 45 then FpsLabel.TextColor3 = Color3.fromRGB(50, 255, 50) elseif currentFps >= 25 then FpsLabel.TextColor3 = Color3.fromRGB(255, 200, 50) else FpsLabel.TextColor3 = Color3.fromRGB(255, 50, 50) end -- ملاحظة: تم حذف التفعيل التلقائي هنا بناءً على طلبك، العداد يعرض الأداء فقط وتفعيل المعالج يدوي حصراً. frameCount = 0 lastFpsUpdate = now end end) local function createClickCircle() local index = #ClickPoints + 1 local CircleFrame = Instance.new("Frame") CircleFrame.Name = "ClickCircle_" .. index CircleFrame.Parent = ScreenGui CircleFrame.Size = UDim2.new(0, 47, 0, 47) CircleFrame.Position = UDim2.new(0.5, -23, 0.4, 0) CircleFrame.BackgroundColor3 = Color3.fromRGB(0, 130, 255) CircleFrame.BackgroundTransparency = 0.75 CircleFrame.Active = true CircleFrame.ZIndex = 10 local Stroke = Instance.new("UIStroke") Stroke.Color = Color3.fromRGB(0, 130, 255) Stroke.Thickness = 2.5 Stroke.Parent = CircleFrame local Corner = Instance.new("UICorner") Corner.CornerRadius = UDim.new(1, 0) Corner.Parent = CircleFrame local NumLabel = Instance.new("TextLabel") NumLabel.Parent = CircleFrame NumLabel.Size = UDim2.new(1, 0, 1, 0) NumLabel.BackgroundTransparency = 1 NumLabel.Font = Enum.Font.GothamBold NumLabel.Text = tostring(index) NumLabel.TextColor3 = Color3.fromRGB(255, 140, 0) NumLabel.TextSize = 16 NumLabel.ZIndex = 11 local dragging = false local dragStart, startPos CircleFrame.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = CircleFrame.Position end end) UserInputService.InputChanged:Connect(function(input) if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then local delta = input.Position - dragStart CircleFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end end) UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = false end end) table.insert(ClickPoints, {Type = "Click", Gui = CircleFrame}) end AddBtn.MouseButton1Click:Connect(createClickCircle) RemoveBtn.MouseButton1Click:Connect(function() if #ClickPoints > 0 then local lastItem = table.remove(ClickPoints) if lastItem.Type == "Click" and lastItem.Gui then lastItem.Gui:Destroy() end end end) local JumpButton, JoystickFrame, JoystickStick, LeftScreenBarrier local moveDirection = Vector3.new(0, 0, 0) local joystickConnection local isTrackingJoystick = false local activeTouchInput = nil AddControlsBtn.MouseButton1Click:Connect(function() ControlsActive = not ControlsActive if ControlsActive then AddControlsBtn.TextColor3 = Color3.fromRGB(50, 205, 50) LeftScreenBarrier = Instance.new("Frame", ScreenGui) LeftScreenBarrier.Size = UDim2.new(0.5, 0, 1, 0) LeftScreenBarrier.Position = UDim2.new(0, 0, 0, 0) LeftScreenBarrier.BackgroundTransparency = 1 LeftScreenBarrier.Active = true LeftScreenBarrier.ZIndex = 1 JumpButton = Instance.new("TextButton", ScreenGui) JumpButton.Size = UDim2.new(0, 65, 0, 65) JumpButton.Position = UDim2.new(1, -110, 1, -120) JumpButton.BackgroundColor3 = Color3.fromRGB(10, 10, 10) JumpButton.BackgroundTransparency = 0.4 JumpButton.Font = Enum.Font.GothamBold JumpButton.Text = "JUMP" JumpButton.TextColor3 = Color3.fromRGB(255, 255, 255) JumpButton.TextSize = 14 JumpButton.ZIndex = 10 Instance.new("UICorner", JumpButton).CornerRadius = UDim.new(1, 0) JumpButton.Activated:Connect(function() local char = LocalPlayer.Character local hum = char and char:FindFirstChildOfClass("Humanoid") if hum then hum.Jump = true hum:ChangeState(Enum.HumanoidStateType.Jumping) end end) JoystickFrame = Instance.new("Frame", ScreenGui) JoystickFrame.Size = UDim2.new(0, 110, 0, 110) JoystickFrame.Position = UDim2.new(0, 45, 1, -155) JoystickFrame.BackgroundColor3 = Color3.fromRGB(10, 10, 10) JoystickFrame.BackgroundTransparency = 0.5 JoystickFrame.ZIndex = 10 Instance.new("UICorner", JoystickFrame).CornerRadius = UDim.new(1, 0) JoystickStick = Instance.new("Frame", JoystickFrame) JoystickStick.Size = UDim2.new(0, 45, 0, 45) JoystickStick.Position = UDim2.new(0.5, -22.5, 0.5, -22.5) JoystickStick.BackgroundColor3 = Color3.fromRGB(255, 255, 255) JoystickStick.BackgroundTransparency = 0.2 JoystickStick.ZIndex = 11 Instance.new("UICorner", JoystickStick).CornerRadius = UDim.new(1, 0) local function updateJoystickPosition(inputPosition) local center = JoystickFrame.AbsolutePosition + (JoystickFrame.AbsoluteSize / 2) local inputPos = Vector2.new(inputPosition.X, inputPosition.Y) local direction = inputPos - center local maxRadius = 42 local distance = math.min(direction.Magnitude, maxRadius) if direction.Magnitude > 0 then local finalDir = direction.Unit * distance JoystickStick.Position = UDim2.new(0.5, finalDir.X - 22.5, 0.5, finalDir.Y - 22.5) moveDirection = Vector3.new(direction.Unit.X, 0, direction.Unit.Y) * (distance / maxRadius) else JoystickStick.Position = UDim2.new(0.5, -22.5, 0.5, -22.5) moveDirection = Vector3.new(0, 0, 0) end end JoystickFrame.InputBegan:Connect(function(input) if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) and not isTrackingJoystick then isTrackingJoystick = true activeTouchInput = input updateJoystickPosition(input.Position) end end) UserInputService.InputChanged:Connect(function(input) if isTrackingJoystick and input == activeTouchInput then updateJoystickPosition(input.Position) end end) UserInputService.InputEnded:Connect(function(input) if isTrackingJoystick and input == activeTouchInput then isTrackingJoystick = false activeTouchInput = nil JoystickStick.Position = UDim2.new(0.5, -22.5, 0.5, -22.5) moveDirection = Vector3.new(0, 0, 0) local char = LocalPlayer.Character local hum = char and char:FindFirstChildOfClass("Humanoid") if hum then hum:Move(Vector3.new(0, 0, 0), true) end end end) joystickConnection = RunService.RenderStepped:Connect(function() if isTrackingJoystick and moveDirection.Magnitude > 0 then local char = LocalPlayer.Character local hum = char and char:FindFirstChildOfClass("Humanoid") if hum then hum:Move(moveDirection, true) end end end) else AddControlsBtn.TextColor3 = Color3.fromRGB(238, 130, 238) if JumpButton then JumpButton:Destroy() end if JoystickFrame then JoystickFrame:Destroy() end if LeftScreenBarrier then LeftScreenBarrier:Destroy() end if joystickConnection then joystickConnection:Disconnect() end isTrackingJoystick = false moveDirection = Vector3.new(0, 0, 0) end end) task.spawn(function() while true do task.wait() if IsClicking and #ClickPoints > 0 then for i, item in ipairs(ClickPoints) do if not IsClicking then break end local delayTime = tonumber(SpeedInput.Text) or 0.05 delayTime = math.max(delayTime, 0.001) if item.Type == "Click" then local guiElement = item.Gui local x = guiElement.AbsolutePosition.X + (guiElement.AbsoluteSize.X / 2) local y = guiElement.AbsolutePosition.Y + (guiElement.AbsoluteSize.Y / 2) + 33 pcall(function() VirtualInputManager:SendMouseButtonEvent(x, y, 0, true, game, 0) task.wait() VirtualInputManager:SendMouseButtonEvent(x, y, 0, false, game, 0) end) task.wait(delayTime) end end end end end) local function toggleExecution() if #ClickPoints == 0 then return end IsClicking = not IsClicking local text = IsClicking and "⏸" or "▶" local color = IsClicking and Color3.fromRGB(220, 140, 20) or Color3.fromRGB(30, 144, 255) PlayPauseBtn.Text = text PlayPauseBtn.TextColor3 = color SecPlayBtn.Text = text SecPlayBtn.TextColor3 = color end PlayPauseBtn.MouseButton1Click:Connect(toggleExecution) SecPlayBtn.MouseButton1Click:Connect(toggleExecution) CloseBtn.MouseButton1Click:Connect(function() IsClicking = false if joystickConnection then joystickConnection:Disconnect() end if fpsDescendantConnection then fpsDescendantConnection:Disconnect() end ScreenGui:Destroy() end)