How to set up an enemy system with Actors and Parallel Luau?

Is there any good tutorial on how to set up an enemy system with actors? Do I just convert the enemy rig model into an actor and then use parallel luau inside all of its scripts and that’s all I need to do? Or is there anything else I should know/need to set up

Parallel Luau is a pretty complicated feature with some major downsides, are you actually running into performance issues with your code?

Just converting your models into Actors won’t do anything, your code must be built around parallel luau to utilize it, desynchronizing to run in a parallel phase, synchronizing, cross-thread communication, etc.

This doc should give you the gist of it. Parallel Luau | Documentation - Roblox Creator Hub

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.