Can anyone help me with my script functions

I have 2 scripts a rechargeable sprint and a crawl script, when I crawl I can still use sprint and I don’t want that how can I make the crawl script recognize the sprint function to activate the sprint

1 Like

You could check if the current WalkSpeed is the normal speed or the crawling speed inside the running script, for example:

    local CrawlingSpeed = 8

    if Humanoid.WalkSpeed ~= CrawlingSpeed then
     -- continue normally
    end
3 Likes

I will try that in a lil but thanks I will tell u if it don’t work