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)
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