Jump to content

what's the easiest way to make the value goes..


King12

Recommended Posts

Posted

Firstly, sorry for that short title I reached the limit.

Secondly, I just want to know what's the easiest way to make the value goes from 1 to 0 with Fractions smoothly like 0.4

with a timer ofc

  • Moderators
Posted
  
local count = 1 
local dropCount = function () 
    count = count - 0.1 
end 
  
local dropCountTimer = setTimer(dropCount,50,10) 
  
  

Timers aren't smooth. :!:

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...