DataPersistence Emulator

About

This is a remake of Roblox’s old datastore system, Data Persistence. It really serves one purpose is to be a replacement for old games that still use data persistence to be compatible with data stores. This module just makes the process easier. This can also be used as a regular data store module. I have mainly made this for the :LoadInstance() and :SaveInstance() functions

Module: https://create.roblox.com/store/asset/17214658677/DataPersistenceEmulator (No longer up due to this somehow “Misusing Roblox Systems.” Refer to the rbxm file below)

RBXM File: DataPersistenceEmulator.rbxm

:grey_question: How to use

Just about all the functions are the exact same and its parameters except the first parameter should be the player object. For example to replace a load number function, it would go from Player:LoadNumber("Points") to DataPersistenceEmulator.LoadNumber(Player, "Points")

Expect the return types to be the same as stated in the documentation.

Note: The :SaveInstance() and :LoadInstance() functions are incomplete as it only works for BasePart and ValueBase instances. More classes will be supported soon based on feedback and usage.

8 Likes

thank you for this extremely convenient module