Hello, I'm trying to make a friend teleport for my game. Inputting a User ID into a Text Box. Every time I try it, it gives me the same error.
HTTP 0 (HTTP 403 (HTTP/1.1 403 Forbidden)
function followPlayer(targetUserId)
local placeId,instanceId, success = game:GetService("TeleportService"):GetPlayerPlaceInstanceAsync(joinid.Text)
if success then
teleport:TeleportToPlaceInstance(placeId, instanceId)
else
print('fail')
end
end
script.Parent.FriendFollow.MouseButton1Down:connect(followPlayer)
I'm really stuck on this one, I would appreciate any help that I could get.

7 comments
I tried that, unfortunately; it didn't work. It still gives the same error.
Are you testing this in an actual server on Roblox (not studio)? Teleport Service will only work in online mode.
Yeah, I had a friend go into a place within the game and tried teleporting.
Hmmm, weird
Oh, I forgot. I'm using a local script, do I need to use a normal one?
It should work either way
BenLee? Does this still work?