writefile
Writes string data to a file, overwriting anything already there.
Signature
writefile(path: string, data: string): ()Parameters
pathstringPath relative to the workspace folder.
datastringText to write.
Returns
Nothing.
Example
writefile("saiko/config.json", game:GetService("HttpService"):JSONEncode(config))