FPS and PING
Key Required

FPS and PING

Break In (Story)OnlyThePowerOnlyThePower 2.4K views 184 executesUpdated Nov 13, 2025
2.5/ 5(2 votes)
1150% Positive
Lua Script•163 lines (5257 chars)
local player = game:GetService("Players").LocalPlayer
local runService = game:GetService("RunService")
local tweenService = game:GetService("TweenService")

local gui = Instance.new("ScreenGui")
gui.Name = "SystemStats"
gui.Parent = player:WaitForChild("PlayerGui")
gui.IgnoreGuiInset = true
gui.ResetOnSpawn = false

local loadingFrame = Instance.new("Frame")
loadingFrame.Size = UDim2.new(0, 250, 0, 80)
loadingFrame.Position = UDim2.new(0.5, -125, 0.5, -40)
loadingFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
loadingFrame.BorderSizePixel = 0
loadingFrame.BackgroundTransparency = 0.05
loadingFrame.Parent = gui

Instance.new("UICorner", loadingFrame).CornerRadius = UDim.new(0, 12)
local stroke = Instance.new("UIStroke", loadingFrame)
stroke.Thickness = 3
stroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border

local glow = Instance.new("ImageLabel")
glow.Size = UDim2.new(1, 35, 1, 35)
glow.Position = UDim2.new(0, -17, 0, -17)
glow.BackgroundTransparency = 1
glow.Image = "rbxassetid://5571432966"
glow.ImageTransparency = 0.3
glow.ZIndex = 0
glow.Parent = loadingFrame

local loadingText = Instance.new("TextLabel")
loadingText.Size = UDim2.new(1, 0, 0.5, 0)
loadingText.Position = UDim2.new(0, 0, 0.1, 0)
loadingText.BackgroundTransparency = 1
loadingText.TextColor3 = Color3.fromRGB(255, 255, 255)
loadingText.Font = Enum.Font.GothamBold
loadingText.TextScaled = true
loadingText.Text = "Loading..."
loadingText.Parent = loadingFrame

local barBack = Instance.new("Frame")
barBack.Size = UDim2.new(0.8, 0, 0.15, 0)
barBack.Position = UDim2.new(0.1, 0, 0.7, 0)
barBack.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
barBack.BorderSizePixel = 0
barBack.Parent = loadingFrame
Instance.new("UICorner", barBack).CornerRadius = UDim.new(1, 0)

local barFill = Instance.new("Frame")
barFill.Size = UDim2.new(0, 0, 1, 0)
barFill.BackgroundColor3 = Color3.fromRGB(120, 255, 120)
barFill.BorderSizePixel = 0
barFill.Parent = barBack
Instance.new("UICorner", barFill).CornerRadius = UDim.new(1, 0)

task.spawn(function()
	local hue = 0
	while task.wait(0.03) do
		hue = (hue + 0.005) % 1
		local c = Color3.fromHSV(hue, 1, 1)
		stroke.Color = c
		glow.ImageColor3 = c
	end
end)

for i = 1, 100 do
	barFill.Size = UDim2.new(i/100, 0, 1, 0)
	task.wait(0.02)
end
tweenService:Create(loadingFrame, TweenInfo.new(0.6, Enum.EasingStyle.Quad), {BackgroundTransparency = 1, Position = UDim2.new(0.5, -125, 0.5, -20)}):Play()
task.wait(0.7)
loadingFrame:Destroy()

local main = Instance.new("Frame")
main.Size = UDim2.new(0, 200, 0, 80)
main.Position = UDim2.new(1, -220, 0, 30)
main.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
main.BorderSizePixel = 0
main.Active = true
main.Draggable = true
main.BackgroundTransparency = 0.05
main.Parent = gui

Instance.new("UICorner", main).CornerRadius = UDim.new(0, 12)
local border = Instance.new("UIStroke", main)
border.Thickness = 3
border.ApplyStrokeMode = Enum.ApplyStrokeMode.Border

local shine = Instance.new("ImageLabel")
shine.Size = UDim2.new(1, 30, 1, 30)
shine.Position = UDim2.new(0, -15, 0, -15)
shine.BackgroundTransparency = 1
shine.Image = "rbxassetid://5571432966"
shine.ImageTransparency = 0.3
shine.ZIndex = 0
shine.Parent = main

local fpsText = Instance.new("TextLabel")
fpsText.Size = UDim2.new(1, 0, 0.33, 0)
fpsText.Position = UDim2.new(0, 0, 0, 0)
fpsText.BackgroundTransparency = 1
fpsText.TextColor3 = Color3.fromRGB(255, 255, 255)
fpsText.Font = Enum.Font.GothamBold
fpsText.TextScaled = true
fpsText.Text = "FPS: ..."
fpsText.Parent = main

local pingText = Instance.new("TextLabel")
pingText.Size = UDim2.new(1, 0, 0.33, 0)
pingText.Position = UDim2.new(0, 0, 0.33, 0)
pingText.BackgroundTransparency = 1
pingText.TextColor3 = Color3.fromRGB(255, 255, 255)
pingText.Font = Enum.Font.GothamBold
pingText.TextScaled = true
pingText.Text = "Ping: ..."
pingText.Parent = main

local connText = Instance.new("TextLabel")
connText.Size = UDim2.new(1, 0, 0.33, 0)
connText.Position = UDim2.new(0, 0, 0.66, 0)
connText.BackgroundTransparency = 1
connText.TextColor3 = Color3.fromRGB(120, 255, 120)
connText.Font = Enum.Font.GothamBold
connText.TextScaled = true
connText.Text = "Connection: Online"
connText.Parent = main

tweenService:Create(main, TweenInfo.new(0.5, Enum.EasingStyle.Quad), {BackgroundTransparency = 0.05}):Play()

task.spawn(function()
	local hue = 0
	while task.wait(0.03) do
		hue = (hue + 0.005) % 1
		local c = Color3.fromHSV(hue, 1, 1)
		border.Color = c
		shine.ImageColor3 = c
	end
end)

local frameCount, lastUpdate, ping = 0, tick(), 0
task.spawn(function()
	while task.wait(3) do
		local start = tick()
		pcall(function() game:HttpGet("https://api.roblox.com/robots.txt") end)
		ping = math.floor((tick() - start) * 1000 + math.random(1,5))
	end
end)

runService.RenderStepped:Connect(function()
	frameCount += 1
	local now = tick()
	if now - lastUpdate >= 1 then
		local fps = frameCount / (now - lastUpdate)
		frameCount = 0
		lastUpdate = now
		fpsText.Text = "FPS: " .. math.floor(fps)
		pingText.Text = "Ping: " .. (ping > 0 and ping .. " ms" or "N/A")
		fpsText.TextColor3 = fps < 30 and Color3.fromRGB(255, 80, 80) or Color3.fromRGB(120, 255, 120)
		pingText.TextColor3 = ping > 150 and Color3.fromRGB(255, 100, 100) or Color3.fromRGB(120, 255, 255)
	end
end)

Features & Information

Hi
#ping#fps

Community Comments (0)

No comments yet for this script.

More Scripts for Break In (Story)