👨‍🎤Actors Library

This library is Wave Premium only!

Get Actors:

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


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)

Is Parallel:

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

Last updated