[✨UPD] Forsaken
994 Views
77 Executions

Stamina Viewer

Forsaken
Kobayashi_Yumiko
Kobayashi_YumikoFirst script
10 months ago
Please login to perform these actions:

Stamina Viewer is a Forsaken script for Roblox, uploaded to ScriptBlox on Jan 18, 2026.

Does it work?

No reports yet

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

Also noticed:

Description

**DISCLAIMER** This script was made with the help of ChatGPT Pro! Any updates will be with the help of ChatGPT too. ==This script is a part of an original script, who had the same feature BUT used all of your computers RAM and SWAP space.== Credits to the owner of that script. Tested on Solara. This script only shows: - Stamina in the middle of your character when 30 or below. - Shakes screen and fades in when stamina is reaching 0.

View Raw
--Enjoy using this script / Kobayashi Yumiko
--This script cannot be turn off and will always be active until you leave.

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")

local player = Players.LocalPlayer
local camera = workspace.CurrentCamera

--Configuration
local THRESHOLD = 0.30 -- 30%
local GUI_NAME = "StaminaScreen_OPT"

local staminaValue
local ratio = 1
local currentText = "0/100"

local screenGui, textLabel, vignette
local renderConn, textConn

local targetTextTrans = 1
local targetVigTrans = 1
local curTextTrans = 1
local curVigTrans = 1

local flickState = false
local flickTimer = 0

local zeroCooldown = 0

local function clamp(x, a, b)
	return (x < a and a) or (x > b and b) or x
end

local function parseRatioFromText(text)
	local cur, tot = string.match(text, "(%d+)%s*/%s*(%d+)")
	cur = tonumber(cur) or 0
	tot = tonumber(tot) or 100
	if tot <= 0 then tot = 100 end
	return clamp(cur / tot, 0, 1), cur, tot


Comments

1
Log in to join the conversation. Login
Shader30582's profile picture
Shader3058210 months ago

Works very well

1