a dusty trip [🐺WOLF]
31.1k Views
58 Executions

INF STMIN

a dusty trip
Aura
AuraPublished 25
3 years ago
Please login to perform these actions:

INF STMIN is an a dusty trip script for Roblox, uploaded to ScriptBlox on May 4, 2024.

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Inf stamina for dusty trip

View Raw
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")

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

humanoid:SetAttribute("Stamina", 1) -- 1 is full stamina
local normalWalkSpeed = 10
local runningWalkSpeed = 19.2

local function maintainFullStamina()
    while true do
        humanoid:SetAttribute("Stamina", 1)
        wait(0.1)
    end
end

local function toggleRun(isRunning)
    if isRunning then
        humanoid.WalkSpeed = runningWalkSpeed
    else
        humanoid.WalkSpeed = normalWalkSpeed
    end
end

UserInputService.InputBegan:Connect(function(input, gameProcessed)
    if gameProcessed then return end
    if input.KeyCode == Enum.KeyCode.LeftShift or input.KeyCode == Enum.KeyCode.ButtonL3 then
        toggleRun(true)
    end
end)

UserInputService.InputEnded:Connect(function(input, gameProcessed)
    if gameProcessed then return end
    if input.KeyCode == Enum.KeyCode.LeftShift or input.KeyCode == Enum.KeyCode.ButtonL3 then
        toggleRun(false)
    end
end)



Comments

4
Log in to join the conversation. Login
SumitScripts's profile picture
SumitScripts3 years ago(edited)

Ezzzzz first

2
Aura's profile picture
AuraUploader3 years ago(edited)

@SumitScripts idk man

1
SumitScripts's profile picture
SumitScripts3 years ago(edited)

Anyways why u don't post from 2 months

1
Aura's profile picture
AuraUploader3 years ago(edited)

@SumitScripts w

1