Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Version = "1.0.0"
- if (fs.exists("SystemData")
- fs.open("SystemData", "r")
- if h.read != Version then
- fs.close
- fs.open("NewUpdate", "a")
- fs.write("Update Available!")
- fs.close
- sleep(5)
- os.reboot()
- end
- end
Add Comment
Please, Sign In to add comment