Yuari
Documentation
Docs/Services/VirtualUser.CaptureController

VirtualUser.CaptureController

Anti-AFK helpers. ClickButton1 takes a Vector2 or x, y.

Syntax

VirtualUser.CaptureController() -> nil

Parameters

This function takes no parameters.

Returns

TypeDescription
nilThis function does not return a value.

Description

VirtualUser.CaptureController is part of the Services library. Service shims are pumped by the external tick loop and expose the parts of Roblox services the VM supports.

The operation is performed immediately using the arguments supplied at the call site.

The aliases VirtualUser.ClickButton1(position) resolve to the same implementation.

Example

VirtualUser.CaptureController()
VirtualUser.ClickButton1(Vector2.new(100, 100))

Notes

  • Aliases: VirtualUser.ClickButton1(position).
  • Service signals are pumped by the external tick loop.