I was really concerned about this remote event with a couple values in it in ReplicatedStorage when I was testing my timer script.
Is anyone else getting this? Our team admittedly uses free models sometimes (either for learning or we just don’t know how to make something), so I’m wondering if this is a backdoor and how I could fix it.
It only goes in replicatedstorage when the game is running. How could I do that? Just do something like this?
local rs = game:GetService("ReplicatedStorage")
while wait(10) do
if rs:FindFirstChild("whatever the name was") then
rs["whatever the name was"]:Destroy()
end
local rs = game:GetService("ReplicatedStorage")
rs.ChildAdded:Connect(function()
if rs:FindFirstChild("whatever the name was") then
rs["whatever the name was"]:Destroy()
end
end)
it’ll fire every time something is added. while loops arent that efficient
local rs = game:GetService("ReplicatedStorage")
rs.ChildAdded:Connect(function(child)
print("new "..child.ClassName)
if child:FindFirstChildWhichIsA("StringValue") then
print(child.Name.. " was considered a backdoor!")
child:Destroy()
end
end)
But it doesn’t do anything. It only prints new and the class name.
… i have a million things to say… its inserting a REMOTE EVENT!!! NOT string value change this line to this:
if child:IsA("RemoteEvent") then
IsA checks if it is a certain object, which is a remote event. FindFirstChildWhichIsA finds a CHILD inside of the object. So you doing Child:FindFirstChildWhichIsA() would check inside the newly inserted object and check if it has a certain object. So just change the if statment to what I said above