Universal Script 📌
6.6k Views
2.9k Executions

Sprint Button and Stamina Bar v2

Universal Script 📌
AzScripter
AzScripter1M views
1 year ago · Updated

Reviewed by QueueSherlockPaid revieweron How review works

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

Features: - Run button as in thumbnail - can be exhausted - Stamina Bar - can customize the script Updated: - if the player respawns the script still works - fixed an issue where holding the sprint button until the stamina bar runs out can still sprint if the player is still holding the button Updated v2: - Add Acceleration - New Stamima Bar & Sound Effect

Updates

  1. Script edited: New Stamina Bar

  2. Script edited: Update script

  3. Script edited: Update script

  4. Script edited: Update script

View Raw
-- Script By @AzizAnzofficiall on Youtube
-- ScriptBlox Account @AzScripter
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local SoundService = game:GetService("SoundService")
local player = Players.LocalPlayer
local cam = workspace.CurrentCamera

local walkSpeed = 5
local sprintSpeed = 25
local accelRate = 20
local decelRate = 15
local maxStamina = 100
local staminaDrainRate = 20
local staminaRegenRate = 20
local fovSprint = 85
local fovExhausted = 50
local sprintButtonYOffset = 10

local SPRINT_IDLE = "rbxassetid://89190879948216"
local SPRINT_HELD = "rbxassetid://96892467644525"
local LIQUID = Color3.fromRGB(0, 176, 255)
local EMPTY = Color3.fromRGB(168, 196, 214)
local STRIPE = Color3.fromRGB(186, 208, 222)
local stamina = maxStamina
local sprinting = false
local isExhausted = false
local currentWalkSpeed = walkSpeed
local lastDir = Vector3.zero
local humanoid
local fovMode = "free"
local fovTween
local fovToken = 0
local controls
local controlsFailed = false
local blur = Instance.new("BlurEffect")
blur.Name = "SprintBlur"
blur.Size = 0


Comments

4
Log in to join the conversation. Login
nntags's profile picture
nntags10 months ago

does this work on pc?

1
Top1GlobalPogi's profile picture
Top1GlobalPogi1 year ago

Very fun to use

1
AzScripter's profile picture
AzScripterUploader1 year ago

Ty!

1
Luauisbluu's profile picture
Luauisbluu1 year ago

Wow is a good script man

1

Tags

More universal scripts

See all
Universal Script 📌
48.4k
46.5k
Bumped 1 hour ago
Universal Script 📌
1.4k
1.3k
Bumped 4 hours ago
Universal Script 📌
4.2k
56.4k
Bumped 5 hours ago
Universal Script 📌
7.1k
71.4k
Bumped 5 hours ago
Script hub
3.5M
1.2M
Bumped 6 hours ago
Key System
Universal Script 📌
5.0k
92.0k
Bumped 11 hours ago