Not sure why this is happening, as I have tried multiple ways of scripting this teleport script. I have made sure the place ID is my own but this still happens. Any advice?
local TeleportService = game:GetService("TeleportService")
local PlaceID = 6546340539
script.Parent.Touched:Connect(function(hit)
wait(0.1)
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player then
TeleportService:Teleport(PlaceID, player)
end
end)
This looks like this is being caused by a backdoor. Make sure you don’t have any malicious scripts inside any models from the toolbox, and confirm that the plugins you installed are legit and are made by the real users.