Some old code for allowing users to follow others into the ‘Arena’ place of the Plane Crazy game broke recently, but when I viewed the output in the console, I just got this:
local PcallSuccess, ErrorMessage = pcall(function()
local success, errorMessage, placeId, jobId = TeleportService:GetPlayerPlaceInstanceAsync(followId)
-- have we found this player?
if success then
-- if so teleport
TeleportService:TeleportToPlaceInstance(
placeId,
jobId,
Player
)
else
failedtoteleport = true
warn("Player ",Player.Name," failed to follow another user into the arena. Error message: ",errorMessage)
end
end)
This is run on PlayerAdded after checking that Player.FollowUserId (followId in the code) is not 0, nil or a player within the same server. I’m not sure what to do since I don’t really use teleport service much and I don’t seem to have an error message