Teleportation saying "restricted" when it's not

Hello devs,

I recently been helping someone with a game but the one issue is that when teleporting to the map from asset manager, its saying it’s restricted when it’s not. I was wondering if anyone else had this issue and if there is a fix for this. Any help is appreciated.

Script: function onTouch(hit)
local Player = game.Players:GetPlayerFromCharacter(hit.Parent)
if Player then
game:GetService(“TeleportService”):Teleport(10683967550, Player)
game.Workspace.Teleport.Parent = game.ReplicatedStorage
end
end
script.Parent.Touched:Connect(onTouch)

is the place you’re teleporting to, private? If it is then you should make it public

Have made it public before and well nothing worked

Are you trying it in Studio tho?

I am not, When I test it in studio on the other hand to see if it was even a valid teleport, it is just doesn’t teleport

Maybe try it in the Roblox not in Studio

I have tried in Roblox just says it’s restricted

I read a post about same thing happening awhile back now but Roblox fixed it

Try looking at this. Also turn on the. Third Party Teleports in Game Settings.

The third party teleports are for games that aren’t under the same thing as in asset manager isn’t third party

Well, have you tried it though?

Yes I have and nothing that’s why I’m out of luck

Have you tried the link I sent JN?

Yes I have


I get this error

Welp. I don’t know what else to say… Maybe it’s a bug :man_shrugging:

Did you enable third party teleports in security?

1 Like

Yes I did still nothing any more ideas?

I had an issue like this myself some months ago. It turned out that you need to have the place you created inside the asset manager to be set to public :slight_smile:

I did all of this still nothing

Ah i see my bad. I didnt read through all the replies before posting