
2.1k Views
81 Executions
sprint universal V1.10 (Position Fixed)
Universal Script 馃搶
huezoangel57Published 5
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
an script basically only make you to can sprint (works in every game ) :)
Updates
Script edited: Update script
Script edited: Update script
Script edited: Update script
Script edited: Update script
-- 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
0Log in to join the conversation. Login
No comments yet. Be the first!






