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
Here are some things you will need to know to make a Shift to sprint and a stamina bar.
UserInputService (local service)
Humanoid (localplayer's character's humanoid)
WalkSpeed (humanoid property)
booleans
TweenService (if you want the bar to be smoother)
Instance:GetPropertyChangedSignal("insert property name here") (Instance Function)