#how can i disable sprint script when i'm parrying?

20 messages · Page 1 of 1 (latest)

sterile hamlet
#

localscript btw

UIS.InputBegan:Connect(function(Input,isTyping)
    if isTyping then return end
    if Input.KeyCode == Enum.KeyCode.F then 
        if Equipped == true and Blocking == false and Knocked == false and ValuesFolder.Slashing.Value == false then
            -- i wanna turn OFF sprint script here
            Humanoid.WalkSpeed = 0
            Humanoid.JumpPower = 0
            wait(1.5)
            -- i wanna turn ON sprint script here
            Humanoid.WalkSpeed = 16
            Humanoid.JumpPower = 50
        end
    end
end)
#

sprint script is that

sterile hamlet
#

i'm trying script.Parent.Parent.Parent.StarterGui.StaminaAndHealth.SprintHandler.Disabled = true but not works

#

ohh

weak axleBOT
#

studio** You are now Level 2! **studio

sterile hamlet
#

i see

#

i'll try that thx

#

@cyan geodenot works :/

#

im suck at scripting lol

#

alr

#

not works tho

#

like that?

#

alr

#

i'll try that

#

tysm

#

tysm

sterile hamlet
#

i fixed it

#

game.StarterGui
game.Players.LocalPlayer.PlayerGui

#

and then SprintScript.SprintHandler.Disabled = true