kaibochan

gui_reload.lua

Feb 21st, 2025 (edited)
384
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.47 KB | None | 0 0
  1. local file_names = {
  2.     ["/apis/gui/cell.lua"] = "Pu9iNVNk",
  3.     ["/apis/gui/buffer.lua"] = "w2pCpigM",
  4.     ["/apis/gui/element.lua"] = "UwzCTtN0",
  5.     ["/apis/gui/text.lua"] = "7eBuWMKa",
  6.     ["/apis/gui/display.lua"] = "2ZJ7fJZX",
  7.     ["/apis/gui/init.lua"] = "PVWqpcJh",
  8.     ["case_0.lua"] = "rdpqBhMb",
  9. }
  10.  
  11. for file, link in pairs(file_names) do
  12.     if fs.exists(file) then
  13.         fs.delete(file)
  14.     end
  15.    
  16.     shell.run("pastebin get "..link.." "..file)
  17. end
  18.  
Advertisement
Add Comment
Please, Sign In to add comment