openwf/Scripts/samples/Auto Teleport to Waypoint.pluto
2025-10-06 18:27:00 +08:00

9 lines
364 B
Plaintext

-- Modifications to sample scripts will be lost the next time you start the game.
repeat
for gRegion:GetLocalPlayer():GetHudStatus():GetFlashMarkers() as marker do
if marker.markerType == 49 and not marker.garbage then
gRegion:GetLocalPlayerAvatar():SetPosition(marker.baseMarkerInfo:GetPosition())
marker.baseMarkerInfo:Destroy()
end
end
until yield()