Czytaj, zapisuj i zarządzaj plikami i folderami.
Dostępne funkcje
appendfile
Appends raw Lua string bytes to a workspace file using binary append mode. The file may be created if its parent folder exists.
delfile
Usuwa istniejacy regular file wewnatrz workspace.
delfolder
Usuwa istniejacy folder wewnatrz workspace rekurencyjnie przez recursive folder deletion.
getcustomasset
Kopiuje istniejacy regular workspace file do ExtraContent/<hwid>/ i zwraca rbxasset:// string dla skopiowanego asset path.
isfile
Returns whether a path resolved inside the workspace exists and is a regular file.
isfolder
Returns whether a path resolved inside the workspace exists and is a directory.
listfiles
Returns an array table of the direct children of an existing workspace directory.
loadfile
Reads a workspace file, compiles its contents with the Luau compiler, and returns the loaded Luau function without executing it.
makefolder
Tworzy directory wewnatrz workspace przez recursive folder creation, wlacznie z missing parent directories.
openfiledialog
Otwiera Windows file-open dialog przez Windows file picker i zwraca wybrany plik jako file item.
openfilesdialog
Otwiera Windows file-open dialog przez Windows file picker z wlaczonym multi-select i zwraca wybrane pliki jako wartosci file item.
openfolderdialog
Otwiera Windows folder picker przez Windows file picker z folder selection mode i zwraca wybrany folder jako file item.
readfile
Czyta existing regular file wewnatrz workspace w binary mode i zwraca jego bytes jako Lua string.
savefiledialog
Otwiera Windows save dialog przez Windows save dialog, zapisuje podane Lua string bytes do selected path i zwraca saved file jako file item.
writefile
Zapisuje Lua string bytes do pliku wewnatrz workspace, tworzy missing parent directories i zastepuje file contents, jesli plik juz istnieje.