Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function save(t,l)
- file = fs.open(l,"w")
- file.write(textutils.serialize(t))
- file.close
- end
- function load(t,l)
- file = fs.open(l,"r")
- _G[t] = textutils.unserialize(file.readLine())
- file.close()
- end
- function copy(t,n)
- _G[n] = textutils.serialize(t)
- --if it doesn't work, tell me, i'll fix it. It should work though.
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement