Run it
Copy the script and paste it into your executor.
--[[
FPS & Ping Display
------------------
Coloque este script como um LocalScript dentro de StarterPlayer > StarterPlayerScripts.
Ele cria um pequeno painel no canto superior esquerdo da tela mostrando o FPS e o Ping em tempo real.
]]
local Players = :()
RunService = :()
Stats = :()
player = Players.LocalPlayer
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.Parent = player:()
frame = .()
frame.Size = .(, , , )
frame.Position = .(, , , )
frame.BackgroundColor3 = .(, , )
frame.BackgroundTransparency =
frame.BorderSizePixel =
frame.Parent = screenGui
corner = .()
corner.CornerRadius = .(, )
corner.Parent = frame
fpsLabel = .()
fpsLabel.Size = .(, , , )
fpsLabel.Position = .(, , , )
fpsLabel.BackgroundTransparency =
fpsLabel.Font = .Font.GothamBold
fpsLabel.TextSize =
fpsLabel.TextColor3 = .(, , )
fpsLabel.Text =
fpsLabel.Parent = frame
pingLabel = .()
pingLabel.Size = .(, , , )
pingLabel.Position = .(, , , )
pingLabel.BackgroundTransparency =
pingLabel.Font = .Font.GothamBold
pingLabel.TextSize =
pingLabel.TextColor3 = .(, , )
pingLabel.Text =
pingLabel.Parent = frame
frameCount =
elapsedTime =
RunService.RenderStepped:((deltaTime)
frameCount = frameCount +
elapsedTime = elapsedTime + deltaTime
elapsedTime >=
fps = .(frameCount / elapsedTime + )
fpsLabel.Text = .. fps
fps >=
fpsLabel.TextColor3 = .(, , )
fps >=
fpsLabel.TextColor3 = .(, , )
fpsLabel.TextColor3 = .(, , )
frameCount =
elapsedTime =
)
()
success, ping = (()
Stats.Network.ServerStatsItem[]:()
)
success ping
pingMs = .(ping)
pingLabel.Text = .. pingMs ..
pingMs <=
pingLabel.TextColor3 = .(, , )
pingMs <=
pingLabel.TextColor3 = .(, , )
pingLabel.TextColor3 = .(, , )
pingLabel.Text =
()
.()
Just show fps and ping

Universal