string filename - The name of the file to write and compress. You do not need to add a file extension.
string contents - The string to write in the file
string file - The contents of the file as a string
local stats = "strength:1 defense:1"function Start()File.WriteCompressed("statsSaveFile", stats);end
statsSaveFile.txt will be written (or over-written) with the text "strength:1 defense:1" in a compressed format. File.Read will give you either gibberish or nothing. You need to read your data with ReadCompressed.