Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I put Shift to sprint + Stamina bar?

Asked by
Oyukae 5
3 years ago

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

Log in to vote
0
Answered by
NGC4637 602 Moderation Voter
3 years ago

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)

0
Can you please help me or add me on discord I am Oyukae 5 — 3y
0
Karthikeya0923#0094 Oyukae 5 — 3y
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. Jo1nts 134 — 3y
Ad

Answer this question