#trying to make a stamin ui

25 messages · Page 1 of 1 (latest)

mortal shard
#

it sais that Walkspeed isnt part of the humanoid and im confused

cunning stone
#

Prove it's there

wraith hemlock
#

@mortal shard do WalkSpeed instead of Walkspeed

mortal shard
wraith hemlock
#

oh

#

just do a , before the "out"

#

,

#

a comma

#

@mortal shard

mortal shard
wraith hemlock
#

Oh when input ended you may wanna do humanoid.WalkSpeed = 0 instead of 16

#

if stamina == 0 then -> this line

mortal shard
#

wym

#

also do u know how to make it so that whenever u run completly out of sprint it waits like 5 seconds before starting to refill again

wraith hemlock
#

I am not used too much to roblox models cuz I mostly used custom models so I thought 16 was the sprint value

wraith hemlock
#

u could work with bool values like a debounce so only if the value is true the UI tweens, so you would set the value to false after stamina reached 0 and put a wait(x seconds) after it and set it back to true

And in the while loop you also check if the value is true, but maybe someone else could help with that since I gotta go now

#

OR

#

You go in #1150694496292585472

#

and post your code there

#

it works, it helped me too at one point