I have ocal script that handles all animations, now I have a problem - I need to run every animation asynchronely to make possible several animations to play (instead of spam this script for every animation).
I wish to use async function
for that, but unfortunatelly I didn’t find any information on roblox api website and basic lua async function
don’t work and Engine shows an error.
What should I do?
function actionfunction (value, value) -- I need this function to run async
--action here
end
Event.OnClientEvent:Connect(actionfunction(value,value))