Wave
  • 👋Introduction
  • 🌊Getting Started
  • đŸ’ģFunctions
    • 🎮Console
    • 🌎Environment
    • 📂File System
    • đŸĒHooking
    • đŸ–ąī¸Input
    • 💡Miscellaneous
    • đŸ“ŗNetwork
    • đŸĒžReflection
    • đŸ•šī¸Script
    • 📊Table
    • đŸ“ļSignal
  • 📚Libraries
    • 👨‍🎤Actors
    • đŸ—ƒī¸Cache
    • 👾Crypt
    • 🐞Debug
    • đŸ–ī¸Drawing
    • đŸ–Ĩī¸ImGui
    • 📎WebSocket
  • âœī¸Changelogs
  • 📃Credits
Powered by GitBook
On this page
  • Get Actors
  • Get Current Actor
  • Get Deleted Actors
  • Is Parallel
  • Run On Actor
  1. Libraries

Actors

This library is Wave Premium only!

Get Actors

<string> get_actors(<void>)
  • Returns all the actors in the game, example above will return 0 if there are no actors in the game.


Get Current Actor

<string> get_current_actor(<void>)
  • Returns the actor instance of the current running thread.


Get Deleted Actors

<string> get_deleted_actors(<void>)
  • Checks actor threads specifically connected to an expired actor instance.

Note: This function does not return the actor instance directly. Instead, it returns a lightuserdata that can be passed to run_on_actor.


Is Parallel

<string> is_parallel(<void>)
  • Returns if the thread is parallel or not.


Run On Actor

<string> run_on_actor(<ActorState>, <Script>)
  • Will run the script on an actor state.

local id, channel = create_comm_channel()
channel.Event:Connect(print) -- .Event returns channel, so we are connecting directly to channel

run_on_actor(Instance.new("Actor"), [[
local s = get_comm_channel(...)
s:Fire("hello from actor")
]], id)

PreviousLibrariesNextCache

Last updated 5 months ago

📚
👨‍🎤