ChainsBoy

Ze crash script

Aug 19th, 2016
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.39 KB | None | 0 0
  1. function test_write ()
  2.     -- Opens a file in append mode
  3.     local file = io.open("savedcoordinates.txt", "a")
  4.  
  5.     -- sets the default output file as above filename
  6.     io.output(file)
  7.  
  8.     -- appends a word test to the last line of the file
  9.     io.write("'Leel test file filled with shitposts") -- Crashes right here
  10.  
  11.     -- closes the open file
  12.     io.close(file)
  13. end
  14. test_write()
Advertisement
Add Comment
Please, Sign In to add comment