
6.4k Views
1.7k Executions
Sprint Button and Stamina Bar v2
Universal Script 📌
1 year ago
Please login to perform these actions:Does it work?
No reports yetNo 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 - Add Sound Effect (" You can delete the sound effect if you don't like it ") Fixed Default Footstep Deleted.
-- Script By @AzizAnzofficiall on Youtube
-- ScriptBlox Account @AzScripter
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer
local cam = workspace.CurrentCamera
local blurEffect = Instance.new("BlurEffect")
blurEffect.Size = 0
blurEffect.Parent = cam
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 fovNormal = 70
local fovExhausted = 50
local fadeSpeed = 10
local flashInterval = 0.3
local sprintButtonYOffset = 60
local stamina = maxStamina
local sprinting = false
local isFlashing = false
local isExhausted = false
local isShaking = false
local isCameraShaking = false
local currentFOVState = "normal"
local currentWalkSpeed = walkSpeed
local gui = Instance.new("ScreenGui")









does this work on pc?
Very fun to use
Ty!
Wow is a good script man