#What did I do wrong

1 messages · Page 1 of 1 (latest)

fierce saffron
#

I was trying to script a progress bar for 10seconds but it’s not working look at the pictures and tell me what I did wrong and how to fix it

lean marten
#

You need to play the tween you created with tween:Play()

Also you don't need the "end)" here

lean marten
#

once you have created a tween you need to play the animation. also this part is unnecessary since you dont have any function to end

#

you then play the tween using the variable you created "tween" and then use the method of that variable :Play() to play the animation

hard mountain
#

local healthBar = frame:WaitForChild("HealthBarBG"):WaitForChild("HealthBar")
local healthBG = healthBar.Parent
local staminaBar = frame:WaitForChild("StaminaBarBG"):WaitForChild("StaminaBar") table example

fierce saffron
lean marten
#

On line 14 write tween:Play()

#

Remove line 16

fierce saffron
fierce saffron
#

Nvm it’s working