I am making a game where people can execute their own scripts, both client sided and server sided. The game will only be for mobile and have 1 player servers.
The game I am making utilizes the DataStoreService to make saves of not only their scripts, but everything they’ve done too. The problem is, people can get the DataStoreService and possibly clear everyone’s saves.
I have thought of checking if the script includes DataStoreService, but then I instantly realized that people can do this:
local a = "ta"
local e = "Sto"
local b = "Da"
local c = "vice"
local d = "Mess"
local g = "agi"
local f = "reSer"
local z = game:GetService(b..a..e..f..c) -- Da ta Sto reSer vice - DataStoreService
This would be fixed if a staff member comes in and adds DisableService() and EnableService(), I just can’t yet post in Engine Features. The function can only be called on the server, and finally, the usage would be:
workspace.Script:DisableService("DataStoreService")
workspace.Script:EnableService("DataStoreService")
workspace.Script:GetServiceEnabled("DataStoreService")