when i try to teleport a player to another place within my game, it says attempted to teleport to a restricted place. this is my code:
if plr:GetRankInGroup(10633992) > 250 then
game:GetService("TeleportService"):TeleportToPlaceInstance(10161636137,10161506415,plr)
end
i also tried with teleportasync like this:
if plr:GetRankInGroup(10633992) > 250 then
game:GetService("TeleportService"):TeleportAsync(10161636137,{plr})
end

1 comment
nevermind i fixed it