Hi there, i wanna ask about how to use cooldown that less than 0.01, so i just realized that the cooldown cannot be used with 0.01 its just be 0.01 even if im make it to 0.00000001
may you wondering why i wanna use cooldown 0.00000001 its because i wanna having fun with roblox studio and try make a simple bruteforce simulation
here is the code
local charset = "abcdefghijklmnopqrstuvwxyz0123456789"
local target = "pass"
local attempt = ""
function bruteforce(depth, maxDepth)
for i = 1, #charset do
task.wait(0.0001)
attempt = attempt .. charset:sub(i, i)
print(attempt)
if attempt == target then
print("Password ditemukan: " .. attempt)
return true
end
if depth < maxDepth then
if bruteforce(depth + 1, maxDepth) then
return true
end
end
attempt = attempt:sub(1, -2)
end
return false
end
bruteforce(1, 4)
the 0.01 cooldown is stil too slow