Having virus without script that cause that?

Hello, I’m making on my own game and now when player spawns in game it will kill them and it will stuck round system, I tried searching Scripts in game but nothing I found, But when I did go to game I found these scripts

--- This script is used when a Player is in the game before we have a chance 
--- to put the ChatScripts in StarterPlayerScripts. This script looks for 
--- the ChatScripts in a users PlayerScripts and clones them from 
--- StarterPlayerScripts if they do not already exist. 

local PlayersService = game:GetService("Players")
local LocalPlayer = PlayersService.LocalPlayer
local PlayerScripts = LocalPlayer:WaitForChild("PlayerScripts")
local StarterPlayerScripts = game:GetService("StarterPlayer"):WaitForChild("StarterPlayerScripts")

function VerifyScriptExistance()
  local scriptToVerifyValue = script:WaitForChild("ScriptToVerify")
  local scriptToVerifyName = scriptToVerifyValue.Value
  if not PlayerScripts:FindFirstChild(scriptToVerifyName) then
    local scriptToClone = StarterPlayerScripts:FindFirstChild(scriptToVerifyName)
    if scriptToClone then
      local lastArchivable = scriptToClone.Archivable
      scriptToClone.Archivable = true
      scriptToClone:Clone().Parent = PlayerScripts
      scriptToClone.Archivable = lastArchivable
    end
  end
end

VerifyScriptExistance()
script:Destroy()
--- This script is used when a Player is in the game before we have a chance 
--- to put the ChatScripts in StarterPlayerScripts. This script looks for 
--- the ChatScripts in a users PlayerScripts and clones them from 
--- StarterPlayerScripts if they do not already exist. 

local PlayersService = game:GetService("Players")
local LocalPlayer = PlayersService.LocalPlayer
local PlayerScripts = LocalPlayer:WaitForChild("PlayerScripts")
local StarterPlayerScripts = game:GetService("StarterPlayer"):WaitForChild("StarterPlayerScripts")

function VerifyScriptExistance()
  local scriptToVerifyValue = script:WaitForChild("ScriptToVerify")
  local scriptToVerifyName = scriptToVerifyValue.Value
  if not PlayerScripts:FindFirstChild(scriptToVerifyName) then
    local scriptToClone = StarterPlayerScripts:FindFirstChild(scriptToVerifyName)
    if scriptToClone then
      local lastArchivable = scriptToClone.Archivable
      scriptToClone.Archivable = true
      scriptToClone:Clone().Parent = PlayerScripts
      scriptToClone.Archivable = lastArchivable
    end
  end
end

VerifyScriptExistance()
script:Destroy()

I never seen this scripts that will roblox add this, So I don’t know the cause of the script is creating and being destroyed
Thanks for any help!

You shouldn’t worry about those scripts, they’re most likely just solutions that Roblox made during the development of the ChatScripts or just a temporary solution that they forgot to remove once the issue was resolved

Yeah but is it still braking my game system…

How does it break the game system exactly?

When game start and players being loaded in map it will kill them and respawn them but because of that, The main script will get stuck

Are there any errors like Infinite yield possible on (blah blah) or does it just stop with no output?

If it does output some errors then reply with the error and the script, since no one can help you with a script if they don’t know what causes a problem in the script

No, There is error

HumanoidRootPart is not valid member of model

Because the virus kill the players so the HumanoidRootPart is not there

Can you reply with the script so I can at least figure out a solution for the error?

If this breaks your game, it is most likely a virus. Perhaps you have a plugin made by a strange account name. Try checking your plugins and only use plugins that are made by trusted developers and not some bacon hair that made his account 2 days ago and botted his plugin to the front page.

I was hacked by sameone, I was playing some strange games without I do not playing them, So I changed my password

I’m still playing it unless I change my password

Sign out of all sessions and change your password, also turn on account pin and 2FA (aka 2-Step verification) just so you can secure your account more

I would also recommend taking a look at the plugins you have installed, sadly, many of them use to be virus.

1 Like

I think I signed out the hacker of my account but the birus he uploaded into my game is stil there