Written for Luau.
Highlighting follows Luau rather than stock Lua: continue is a keyword, backtick strings are recognised, and Roblox names like workspace, Vector3 and task get their own colour. Find opens in the corner, and Ctrl+click adds a cursor.
-- Hops to another public server of this game.local HttpService = game:GetService("HttpService")local TeleportService = game:GetService("TeleportService")local Players = game:GetService("Players")local api = "https://games.roblox.com/v1/games/%d/servers/Public?limit=100"local response = game:HttpGet(api:format(game.PlaceId))local servers = HttpService:JSONDecode(response).datafor _, server in ipairs(servers) do if server.playing < server.maxPlayers and server.id ~= game.JobId then TeleportService:TeleportToPlaceInstance(game.PlaceId, server.id, Players.LocalPlayer) break endend