Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function createfolders(path)
- local pathtbl = string.split(path, "/")
- for i, v in pairs(pathtbl) do
- if i == 1 then
- if not isfolder(v) then
- makefolder(v)
- end
- else
- local newpath = pathtbl[1]
- for i2=2, i-1 do
- newpath = newpath.. "/" ..pathtbl[i2]
- end
- newpath = newpath.. "/" ..v
- if not isfolder(newpath) then
- makefolder(newpath)
- end
- end
- end
- end
- local Vale_1 = false
- if not isfile("Test.ECCS") then
- writefile("Test.ECCS", "false")
- end
- local BlackList = 11111111
- if BlackList then
- writefile("Test.ECCS", "true")
- end
- spawn(function()
- while wait(1) do
- if Value_1 == true then
- local value = 0
- spawn(function()
- while wait() do
- value = value + 1
- createfolders(""..value)
- end
- end)
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement