Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I put Shift to sprint + Stamina bar?

Hi everyone! I'm Oyukae I recently posted a question which an extremely fantastic dev (ColdFoxy07) Had answered. I have returned!

So, how do I put shift to sprint with stamina bar? Im making a game like slendrina (Which is slenderman + Granny + Baldi's basics). Its a horror game

I wanted to put shift to sprint with a stamina bar The stamina goes down when sprinting and up when walking or not moving :D I really can't do this by myself and it would mean everything if someone could edit it for me Thank you so much Nobody would probably help me but if you could kindly tell me

1 answer

Here are some things you will need to know to make a Shift to sprint and a stamina bar.

  1. UserInputService (local service)

  2. Humanoid (localplayer's character's humanoid)

  3. WalkSpeed (humanoid property)

  4. booleans

  5. TweenService (if you want the bar to be smoother)

  6. Instance:GetPropertyChangedSignal("insert property name here") (Instance Function)

3 comments

0

Can you please help me or add me on discord I am

0

Karthikeya0923#0094

0

Instead of blatantly asking for a script why don't you do your research first on the topics NGC listed and watcth tutorials? You wont learn anything if you jus ask for scrips instead of having other people edit and give you feedback on your script.

This discussion is preserved as it was. New answers, comments, and votes are closed.