Universal Script 馃搶
2.1k Views
81 Executions

sprint universal V1.10 (Position Fixed)

Universal Script 馃搶
huezoangel57
huezoangel57Published 5
1 year 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

an script basically only make you to can sprint (works in every game ) :)

Updates

  1. Script edited: Update script

  2. Script edited: Update script

  3. Script edited: Update script

  4. Script edited: Update script

View Raw
-- Sprint universal m贸vil y PC con bot贸n a la derecha pero m谩s arriba para no tapar salto
-- Animaciones cool para bot贸n y barra

-- CONFIG
local sprintKey = Enum.KeyCode.LeftShift
local sprintSpeed = 30
local walkSpeed = 16
local maxStamina = 100
local staminaDrain = 20
local staminaRegen = 10

-- SERVICIOS
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")

-- VARIABLES
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")

local stamina = maxStamina
local isSprinting = false
local staminaEmpty = false

-- GUI
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "SprintGUI"
screenGui.Parent = game.CoreGui
screenGui.ResetOnSpawn = false

-- Barra de stamina (abajo centrada)
local staminaBarBG = Instance.new("Frame")
staminaBarBG.Size = UDim2.new(0, 320, 0, 25)
staminaBarBG.Position = UDim2.new(0.5, -160, 0.9, 0)
staminaBarBG.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
staminaBarBG.BorderSizePixel = 0
staminaBarBG.AnchorPoint = Vector2.new(0, 0)
staminaBarBG.Parent = screenGui


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Universal Script 馃搶
25
0
Bumped 11 minutes ago
Universal Script 馃搶
3
0
Approved 15 minutes ago
Script hub
5
0
Approved 17 minutes ago