
862 Views
4.1k Executions
InfoBar
Universal Script 📌
3 months ago
Creator checked it works on
Reviewed by QueueHeroPaid revieweron How review works
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
its just a fps and ping counter in green text nothing special
--please give credits if you use in projects -> discord: cool.guy.69
local runserv = game:GetService("RunService")
local stats = game:GetService("Stats")
local gui = Instance.new("ScreenGui")
gui.Name = "IB_" .. math.random(1000,9999)
gui.ResetOnSpawn = false
gui.DisplayOrder = 999999
if syn and syn.protect_gui then syn.protect_gui(gui) end
gui.Parent = gethui and gethui() or game:GetService("CoreGui")
local bar = Instance.new("Frame")
bar.Size = UDim2.new(0, 220, 0, 32)
bar.Position = UDim2.new(0.5, -110, 0, 8)
bar.BackgroundTransparency = 1
bar.Active = true
bar.Draggable = true
bar.Parent = gui
local lbl = Instance.new("TextLabel")
lbl.Size = UDim2.new(1, 0, 1, 0)
lbl.BackgroundTransparency = 1
lbl.TextColor3 = Color3.fromRGB(22, 163, 74)
lbl.TextSize = 16
lbl.Font = Enum.Font.Code
lbl.TextXAlignment = Enum.TextXAlignment.Center
lbl.TextYAlignment = Enum.TextYAlignment.Center
lbl.Parent = bar
local fps, frames, last = 60, 0, tick()
runserv.RenderStepped:Connect(function()
frames += 1
if tick() - last >= 0.5 then
fps = math.floor(frames / (tick() - last))
frames, last = 0, tick()
local ping = math.floor(stats.Network.ServerStatsItem["Data Ping"]:GetValue())
lbl.Text = "[ PING ] " .. ping .. "MS | [ FPS ] " .. fps
end
end)
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







