Skip to content
RoRoScripts
Infinite stamina modded reupload preview
Unknown

Infinite stamina modded reupload

Script
Views
1.4K
Likes
0
Dislikes
0
Added
Script
--[[
	WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
]]
local rs = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")
local stamina = require(rs.Resources.Client.MovementHandler.Stamina)
local ev = require(rs.Communication.EventHandler)
local ann = require(Players.LocalPlayer:WaitForChild("PlayerScripts").UiHandler.Modules.Notifications.Logic.Announcement)
local cd = false

task.wait(3)
task.spawn(function()
	-- Updated the intro announcement text to reflect the 100 threshold
	ann.Display("Thanks for using my script! Your stamina will refill at 100.<br/>If you have any suggestions comment it on my scriptblox.", "guywithabigheart2")
end)

task.spawn(function()
	while true do
		task.wait(0.1)
		-- Changed the threshold to 100 for essentially infinite stamina
		if stamina.Get() <= 100 and not cd then
			cd = true
			stamina.DrainStamina(-100, 0, true)
			stamina.DestroyDrainer("BaseDrain")
			task.wait(1)
			cd = false
		end
	end
end)