Miscellaneous
Everything that doesn't fit anywhere else: teleport queue, FFlags, FPS cap, identifiers, HTTP requests, save/load, clipboard and message boxes.
Everything that doesn't fit anywhere else, and some of it you'll use all the time: HTTP requests, the teleport queue, FFlags, the FPS cap, the clipboard and saveinstance.
The ones you'll actually use
-- HTTP, with headers and a body.
local response = request({
Url = "https://example.com/api",
Method = "POST",
Headers = { ["Content-Type"] = "application/json" },
Body = game:GetService("HttpService"):JSONEncode({ hello = "world" }),
})
print(response.StatusCode, response.Body)
-- Survive a teleport: this runs in the next place.
queueonteleport([[ loadstring(game:HttpGet("https://example.com/s.lua"))() ]])
-- Uncap the framerate.
setfpscap(240)A queued script gets held by the client and runs after the next teleport finishes. It's the only way to keep something running when you change places.
identifyexecutor is what hub scripts check. gethwid identifies the PC, not the account.
saveinstance saves the place (or part of it) to a file in the workspace. It's how you get a map out of a game to open in Studio.