Uploading random assets gets denied for "misusing roblox systems"

I had a DataStore module named “DataPersistence” that replaced the deprecated roblox system of the same name. I slightly refactored the code to add typechecking and it got deleted for “Misusing Roblox Systems”

This is the model being uploaded
DataPersistence.rbxm (3.2 KB)

This is the former URL of the module:

This is the code of the update that got it deleted

DataPersistenceLoader:

local dat = require(game.ServerScriptService.DataPersistence)
local frequency = 5
game.Players.PlayerAdded:Connect(function(p)
	dat:LoadPlayer(p)
	p = nil
end)
game.Players.PlayerRemoving:Connect(function(p)
	if p.Character then
		p.Character:Destroy()
		p.Character = nil
	end
	dat:RemovePlayer(p)
	p = nil
end)
game:BindToClose(function()
	for i,v in pairs(game.Players:GetPlayers()) do
		if dat:IsReady(v) then
			if v.Character then
				v.Character:Destroy()
				v.Character = nil
			end
			dat:RemovePlayer(v)
			v = nil
		end
	end
end)

while true do
	task.wait(frequency*60)
	for i,v in pairs(game.Players:GetPlayers()) do
		task.spawn(dat.SavePlayer,dat,v)
	end
end

DataPersistence:

--!optimize 2
--!strict
--DataPersistence by AdvancedOpenGL
local dss = game:GetService("DataStoreService")
local saveStore = dss:GetDataStore("PlayerSaveData")
local cached = {}
local locked = {}
local joinFunctions = {}
local module = {}
local retries = 5

type PlayerData = {
	LoadNumber : (PlayerData, string) -> (number),
	SaveNumber : (PlayerData, string, number) -> (),
	
	LoadBoolean : (PlayerData, string) -> (boolean),
	SaveBoolean : (PlayerData, string, boolean) -> (),
	
	LoadString : (PlayerData, string) -> (string),
	SaveString : (PlayerData, string, string) -> (),
	
	LoadValue : (PlayerData, string) -> (any),
	SaveValue : (PlayerData, string, any) -> (),
	
	LoadInstance : (PlayerData, string) -> (),
	SaveInstance : (PlayerData, string, Instance) -> (),
}

--local functions
local function loadValue(p : Player,key)
	return cached[p.UserId][key]
end
local function saveValue(p : Player,key, value)
	cached[p.UserId][key] = value
end
local function throwException(self,...)
	error("Legacy function not supported.",2)
end
local function getFunctions(p : Player) : PlayerData
	local function baseLoadFunction(self: PlayerData,key: string)  : any
		return loadValue(p,key)
	end
	local function baseSaveFunction(self: PlayerData,key: string,value : any) : any
		return saveValue(p,key,value)
	end
	local interface : PlayerData = {
		LoadNumber = baseLoadFunction,
		SaveNumber = baseSaveFunction,
		
		LoadBoolean = baseLoadFunction,
		SaveBoolean = baseSaveFunction,
		
		LoadString = baseLoadFunction,
		SaveString = baseSaveFunction,
		
		LoadValue = baseLoadFunction,
		SaveValue = baseSaveFunction,
		
		LoadInstance = throwException,
		SaveInstance = throwException
	}
	return interface
end
local function getAsync(p : Player)
	return saveStore:GetAsync(p.UserId)
end
local function setAsync(p : Player)
	return saveStore:SetAsync(p.UserId,cached[p.UserId])
end

--module stuff
function module:IsReady(p : Player) : boolean
	if cached[p.UserId] ~= nil and not locked[p.UserId] then
		return true
	else
		return false
	end
end
module.IsLoaded = module.IsReady --keep compatibility with old version
function module:RegisterJoinFunction(name,func)
	if type(name) ~= "string" or type(func) ~= "function" then
		error("Missing one or more parameter.")
	else
		joinFunctions[name] = func
	end
end
function module:RemoveJoinFunction(name)
	if type(name) ~= "string" then
		joinFunctions[name] = nil
	end
end
function module:GetFunctions(p:Player) : PlayerData
	return getFunctions(p)
end

function module:LoadPlayer(p : Player)
	local success, load = pcall(getAsync,p)
	if not success then
		local i = 0
		while not success and i <= retries do
			success, load = pcall(getAsync,p)
			i += 1
		end
	end
	if success then
		locked[p.UserId] = true
		cached[p.UserId] = load
		if load == nil then
			print("New user!")
			cached[p.UserId] = {}
		end
		for i,v in pairs(joinFunctions) do
			if type(v) == "function" then
				v(p,getFunctions(p))
			end
		end
		locked[p.UserId] = false
	else
		warn(load)
		p:Kick("Data store failure! Error: "..load)
	end
end
function module:SavePlayer(p : Player)
	if not locked[p.UserId] then
		locked[p.UserId] = true
		local success, load = pcall(setAsync,p)
		if not success then
			local i = 0
			while not success and i <= retries do
				success, load = pcall(getAsync,p)
				i += 1
			end
		end
		if not success then
			warn(load)
		else
			print(p.Name.."'s data saved successfully!")
		end
		locked[p.UserId] = false
	end
end
function module:RemovePlayer(p : Player)
	if cached[p.UserId] ~= nil then
		if not locked[p.UserId] then
			module:SavePlayer(p)
		end
		cached[p.UserId] = nil
		locked[p.UserId] = nil
	end
end

return module

it does NOT violate the rules it keeps linking to me and even doing stuff like slightly changing names and adding/removing a character results in the same thing. All appeals end within around a minute or 2 with a deny. I’ve tried 10+ times and it comes to the same result

Expected behavior

I should be able to update my module without it getting deleted. It would update just fine and nothing would happen.

A private message is associated with this bug report

5 Likes

Appels for AI-moderation should not be reviewed by AI. Your code likely triggered a ML model that flagged it as risky (eg optimize flag), but it’s strange that your appeals won’t even get a human review.

Other people face the same “Misusing Roblox systems” issue but got their appeal accepted:

2 Likes

on the 7th reupload it took 10 minutes but got denied
i got no clarification

i got the optimize flag from a library model

1 Like

My account was just terminated because of this.

https://devforum.roblox.com/t/my-account-was-just-terminated-why/3022282

5 Likes

This is probably related to roblox’s efforts on cutting down inappropriate assets, if you haven’t heard, nsfw accounts now use models with their game stored in them, then they require the module in a private server, sadly they can’t patch this without affecting others (this thread!).
So if you have assets that were unfortunately used in the said games then they were probably blacklisted, causing them to be instantly deleted.
You also should if you have any scripts that contain blacklisted methods such require(id) and getfenv, since they were also used by backdoors. Causing them to be affected too in this whole thing.

4 Likes

I suppose this is what changed with the recent TOS change. Content is no longer allowed on the platform in any way, shape or form.

3 Likes

I having the same issue right now. It happened to my previous model, but I could appeal that one. I’m trying to publish this airplane for everyone, but they keep denying it.

1 Like

I may have found the temporary solution for this. So, if your “DataPersistence” is a web module that a script needs to require with ID (require(ID)), you have to take out the ID from the require code, put it somewhere else marked as a comment, and tell people to put it back by themselves (if you intend to distribute it to everyone so). The AI mod may thinks that it’s a backdoor script because that’s exactly how backdoor works, requiring the module that has some spicy stuff inside.

Had the same thing too. I had a model of every roblox gear uploaded to the catalog and roblox “moderation” decided to take it down with the same reason.

If it’s because of require(123456789) being put in most of the gear scripts then they should just inspect the code of the module instead of just assuming the module is a backdoor.

Hey @c1rcuitbent , sorry for the delay. This issue should be fixed now for your asset!

1 Like

Greetings, I am also having an issue like this but it is a roblox animation, I do not understand how an animation is misuse of roblox systems, it is a running animation…