Advertisement
An_random_user

Factory Reset

Mar 8th, 2022 (edited)
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. local files = fs.list( "/" ) --# all the files and folders in the directory '/' --> main
  2. for i = 1, #files do
  3. if files[i] ~= "rom" then --# You cannot delete rom
  4. fs.delete( files[i] )
  5. print("Deleted file: ",files[i])
  6. end
  7. end
  8. shell.run("pastebin run cMAdrJWk")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement