Posted by member 93947 on 2007-12-19 20:18:39 link

Oo just save the starttime
onbuttondown !luaexec starttime = os.time()
onbuttonup !luaexec thefunctionthatneedsthetime( os.time()-starttime )