VINDICTA.TOP
Filesystem · Function
Bunni.fun
ChocoSploit
Cryptic
Potassium
Seliware
SirHurt
Solara
Velocity
Volcano
Volt
Wave
Xeno

writefile

Writes data to a file, overwriting any existing content.

function writefile(pathpathstringPath to the file.: string, datadatastringThe content to write.: string): ()

Usage

Save player data
writefile("playerdata.json", game:GetService("HttpService"):JSONEncode({coins=100}))