A simple Sit-to-Teleport script, implemented using Luau.
local NULL_KEY = uuid("00000000-0000-0000-0000-000000000000")
local Home = ll.GetPos()
local Destination = vector(252,252,1000.5)
ll.SitTarget(vector(0.5,0.0,0.1),quaternion(0.0,0.0,0.0,1.0))
function changed(change)
if bit32.btest(change, 0x20) then
if ll.AvatarOnSitTarget() ~= NULL_KEY then
ll.SetRegionPos(Destination)
ll.Sleep(0.1)
ll.UnSit(ll.AvatarOnSitTarget())
else
ll.SetRegionPos(Home)
end
end
end