ODutii Posted March 9, 2021 Share Posted March 9, 2021 Criei uma barra de carregamento, só esqueci como faz para ir de 0 a 100 em 5 segundos Link to comment
LucasST Posted March 10, 2021 Share Posted March 10, 2021 local progress = interpolateBetween(0,0,0,100,0,0,(getTickCount() - tick)/5000, "Linear") Não esqueça de coloca o tick = getTickCount() Ao abrir o painel, tbm utilize o math.floor para converter os números quebrados (1.5,2.5) para números inteiros [Apenas coloque se quiser utilizar em porcentagem (50%, 51%)] Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now