Hello, I have a question. How do i fix the “Attempted to teleport to a restricted place” thing?
i have a LOCALSCRIPT that is in an IMAGEBUTTON. how do i fix?
SCRIPT:
local TS = game:GetService(‘TweenService’)
local TI = TweenInfo.new(1.5)
local TeleportService = game:GetService(“TeleportService”)
local GameId = 10682165526
local Player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.Parent.Parent.Click:Play()
script.Parent.Parent.Parent.Parent.ChapterSelection.Visible = false
script.Parent.Parent.Parent.Parent.Fade.BackgroundTransparency = 0
script.Parent.Parent.Parent.Parent.Loading.Visible = true
wait(0.5)
TS:Create(script.Parent.Parent.Parent.Parent.Fade, TI, {BackgroundTransparency = 1}):Play()
wait(1.5)
TeleportService:SetTeleportGui(script.Parent.Parent.Parent.Parent.Loading)
TeleportService:Teleport(GameId, Player)
end)
Please help fix.
3 Likes
Go to “Game settings” > “Security” and allow “Third Party tp”
This should fix it! :3
1 Like
i did that. still doesnt work. its a place i own btw
Is the game you trying tp to public?
the actual game and the places are private [but im the owner so i think it will work for me]
also i wont make it public since its not done
nvm i fixed it no need for help anymore
DevSarim
(Sarim)
August 25, 2022, 1:31pm
#8
What was the solution if you don’t mind sharing? I’m facing a similar issue and still haven’t found a fix.
DevSarim
(Sarim)
August 25, 2022, 2:31pm
#9
For anyone wondering, I figured what the problem was, I had to go open the place I was trying to teleport to and publish it to Roblox.
2 Likes
thats literally the solution in this post.
DevSarim
(Sarim)
August 31, 2022, 3:00pm
#11
The solution is just ‘no need for help anymore’, what do you mean?
ah yes. it seems i was wrong YOU ARE THE CHOSEN ONE
system
(system)
Closed
October 26, 2023, 3:29am
#13
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.