As title says, I can’t save my ModuleScript for players as I am getting this error:
18:09:30.883 DataStoreService: CantStoreValue: Cannot store Instance in data store. Data stores can only accept valid UTF-8 characters. API: SetAsync, Data Store: save_Memory - Studio
18:17:08.084 Failed to save script content for: henrydanger5472: The current thread cannot read 'Source' (lacking capability Plugin) - Server - SaveScript:34
if you wanna save like a script try using loadstrings (works only on serverside) basically
save the string in the loadstring and it’ll work just fine to load it just do loadstring(“string here”)()
for saving idk how to do that ngl cuz i dont use loadstring and “…” brainrot so to save it
you need to get the string inside of the loadstring and save it
it isnt effiecent but i dont think theres like a way to make a script ingame rather than this and the fact when ur saving a script thats like 400 lines and say 50 letters per line thats like 20k bytes but tables are wayyy more effiecent since you can shorten thing in them and try to compress them unlike A WHOLE SCRIPT