Version / Update: v1.0.0
- Download / Script Link
- -- SwiftMetrics (only CPS y FPS)
-- Version: 0.0
local Keystrokes = Instance.new("ScreenGui")
local Main = Instance.new("Frame")
local CPS = Instance.new("TextLabel")
local FPSLabel = Instance.new("TextLabel")
-- Proteger la GUI para ejecutores compatibles
if syn and syn.protect_gui then
syn.protect_gui(Keystrokes)
end
-- Propiedades del Contenedor Principal:
Keystrokes.Name = "Keystrokes_Lite"
Keystrokes.Parent = (gethui and gethui()) or (get_hidden_ui and get_hidden_ui()) or game.CoreGui
Keystrokes.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
Main.Name = "Main"
Main.Parent = Keystrokes
Main.Active = true
Main.Draggable = true -- Activado para que puedas moverlo
Main.AnchorPoint = Vector2.new(0.5, 0.5)
Main.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Main.BackgroundTransparency = 1.000
Main.BorderSizePixel = 0
Main.Position = UDim2.new(0.5, 0, 0.5, 0)
Main.Size = UDim2.new(0, 110, 0, 60) -- Tamaño ajustado a solo dos labels
-- Etiqueta de CPS:
CPS.Name = "CPS"
CPS.Parent = Main
CPS.AnchorPoint = Vector2.new(0.5, 0)
CPS.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
CPS.BackgroundTransparency = 0.600
CPS.BorderSizePixel = 0
CPS.Position = UDim2.new(0.5, 0, 0, 0)
CPS.Size = UDim2.new(0, 110, 0, 25)
CPS.Font = Enum.Font.Gotham
CPS.Text = "0 | 0 CPS"
CPS.TextColor3 = Color3.fromRGB(255, 255, 255)
CPS.TextSize = 16.000
-- Etiqueta de FPS:
FPSLabel.Name = "FPS"
FPSLabel.Parent = Main
FPSLabel.AnchorPoint = Vector2.new(0.5, 0)
FPSLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
FPSLabel.BackgroundTransparency = 0.600
FPSLabel.BorderSizePixel = 0
FPSLabel.Position = UDim2.new(0.5, 0, 0, 28)
FPSLabel.Size = UDim2.new(0, 110, 0, 25)
FPSLabel.Font = Enum.Font.Gotham
FPSLabel.Text = "0 FPS"
FPSLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
FPSLabel.TextSize = 16.000
-- Lógica de funcionamiento:
local function LogicScript()
local UIS = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local clickCount = {['MouseButton1'] = 0, ['MouseButton2'] = 0}
local frameCount = 0
-- Registro de Clicks (CPS)
UIS.InputBegan:Connect(function(input, processed)
if not processed then
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.MouseButton2 then
local btn = input.UserInputType.Name
clickCount[btn] = clickCount[btn] + 1
task.delay(1, function()
clickCount[btn] = clickCount[btn] - 1
end)
end
end
end)
-- Registro de FPS
RunService.RenderStepped:Connect(function()
frameCount = frameCount + 1
task.delay(1, function()
frameCount = frameCount - 1
end)
-- Actualización visual
CPS.Text = clickCount["MouseButton1"] .. " | " .. clickCount["MouseButton2"] .. " CPS"
FPSLabel.Text = frameCount .. " FPS"
end)
end
coroutine.wrap(LogicScript)()[ View More ]
This script provides real-time monitoring of client performance. It displays an interface that records Frames Per Second (FPS) and response time using Clicks Per Second (CPS), differentiating between left and right mouse button clicks. It is designed to be lightweight and not impact game performance.
If you have questions go to our Discord server