How can I make a teleport server script that toggles only two servers, I have the id of the two servers in a raw website?
So I stay but the same server is repeated several times
function tp() local site = game.HttpService:JSONDecode(game:HttpGet('https://pastebin.com/raw/5xDkTZXd')) game:GetService('TeleportService'):TeleportToPlaceInstance(game.PlaceId, site.data[math.random(1, table.getn(site.data))].id) end
I would greatly appreciate your help
Try going to setting. Go to permissions and check mark it all and see if that helps.