r3gis
New Member
Posts: 7
|
Post by r3gis on Mar 22, 2021 14:38:34 GMT
Hi there, so this is a simple randomizer I made,
-- ============================================ --
-- start rngWait function --
-- ============================================ --
function rngWait(value)
rng = math.random(value, value*2)
return wait(rng)
end But I need something to work in milliseconds. If anybody can throw a bone, I'll be happy to throw you a coffee back.
Cheers!
|
|
|
Post by AnkuLua on Mar 22, 2021 15:57:27 GMT
rng = math.random(value*1000, value*2000)/1000
|
|
r3gis
New Member
Posts: 7
|
Post by r3gis on Mar 22, 2021 16:02:35 GMT
rng = math.random(value*1000, value*2000)/1000 Thanks, send me the link for your coffee
|
|