Help with sync ing the audio

ok so hi guys.
im trying to make a game which includes a robot. the robot speaks! but there is a problem
so im trying to make it with open mouth and closed mouth. but i need to sync it to the audio like,
example :
robot doesnt speak = robot needs to be stuck at 1 decal
audio plays = the robot face changes between decals
short version : how npc’s talk at half-blox 2.
btw i dont know any script things so can you guys keep it simple

You can probably use playbackloudness to find out how the audio is and coordinate mouth decals based on those playbackloudness.

However, if you want to go real complicated for no particular reason, you can create a table with certain “timestamps” and play decals based on those.

But for your situation, doing just PlaybackLoudness and if statements with decal changes work fin.

TL:DR
All you need is Sound | Documentation - Roblox Creator Hub (playbackloudness)

and Control Structures | Documentation - Roblox Creator Hub (If statements)

1 Like