Universal Script πŸ“Œ
1.4k Views
1.0k Executions

Live Character Stats

Universal Script πŸ“Œ
theobscured102
theobscured102Published 10
7 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Update: Recoded Client-side Roblox stat overlay system attached to the player character. Features: 1. Real-time floating stat display using BillboardGui labels attached around the torso 2. Live movement speed tracking - Displays current WalkSpeed - Displays real movement speed sampled from position delta every second 3. Jump and gravity monitor - Displays current JumpPower or JumpHeight - Displays live Workspace gravity value 4. Advanced humanoid state detection - Detects: - Idle - Running - Jumping - Freefall - Swimming - Climbing - Ragdoll - Sitting / Seated - Physics - FallingDown - GettingUp - Dead - Uses grounded checks, velocity checks, and humanoid states for more accurate detection 5. Player counter system - Displays: - Current non-friend players - Friends in server - Server max player capacity - Format: - Player: current+friends/max 6. Friend detection support - Detects friends currently inside the server 7. Live ping monitor - Uses GetNetworkPing() - Converts ping into milliseconds 8. Live FPS counter - Updates every second - Displays FPS with 1 decimal precision 9. Distance-based transparency fading - Labels smoothly fade depending on camera distance from character 10. Manual visibility toggle - Clicking the torso hides or shows all stat labels 11. Automatic cleanup system - Disconnects connections and loops after death 12. Character respawn support - Reattaches the entire stat system automatically after respawn 13. Smart numeric formatting - Separate formatting handling for: - Speed - Gravity - Ping - FPS 14. Performance-conscious structure - Uses RenderStepped for visual updates - Uses timed sampling for movement speed calculations - Prevents connection leaks with cleanup handling

Updates

  1. Script edited: Update script

View Raw
local Players = game:GetService("Players")
local Workspace = game:GetService("Workspace")
local RunService = game:GetService("RunService")

local LocalPlayer = Players.LocalPlayer
local Mouse = LocalPlayer:GetMouse()

local FONT = Enum.Font.SourceSans
local MAX_PLAYERS = Players.MaxPlayers

local function formatSmart(n)
	local rounded = math.round(n)
	if math.abs(n - rounded) < 1e-9 then
		return tostring(rounded)
	end
	return string.format("%.2f", n)
end

local function formatGravity(n)
	return string.format("%.2f", n)
end

local function formatPing(n)
	return tostring(math.max(0, math.round(n)))
end

local function formatFps(n)
	return string.format("%.1f", n)
end

local function createLabel(adornee, size, offset)
	local gui = Instance.new("BillboardGui")
	gui.Name = "StatLabel"
	gui.Size = size
	gui.StudsOffset = offset
	gui.AlwaysOnTop = true
	gui.LightInfluence = 0
	gui.MaxDistance = 1000
	gui.Adornee = adornee
	gui.Parent = adornee.Parent


Comments

2
Log in to join the conversation. Login
XacFt's profile picture
XacFt7 months ago

Will the modification be displa*?

1
borutoontoppshab's profile picture
borutoontoppshab7 months ago

working?

1

More universal scripts

See all
Universal Script πŸ“Œ
10.3k
287
Bumped 2 hours ago
High QualityΒ Offering
Universal Script πŸ“Œ
8.5k
32.8k
Bumped 2 hours ago
Key System
Universal Script πŸ“Œ
1.4k
5.9k
Bumped 2 hours ago
Script hub
22.0k
4.3k
Bumped 3 hours ago
Key System
Paid
High QualityΒ Offering
Universal Script πŸ“Œ
1.1k
2.2k
Bumped 4 hours ago
Universal Script πŸ“Œ
1.6k
6.0k
Bumped 4 hours ago
Script hub
164.8k
567.4k
Bumped 7 hours ago
Key System

Script hub

Hall of Fame #6

Verified script badgeAcro Hub OP SCRIPT