Feedback on my rather simple rewrite of the default roblox sound/animate scripts?

Hey, so I’m trying to remake the default animate/sound scripts in characters, and in general it’s working the way I want it to be, however, I am concerned that having ~20 or more players at once walking around firing off a remote for every step they take might lag the server.

soundandanim.rbxl (17.7 KB)

Note : I am aware that the server script that spawns sounds shouldn’t be the one playing the sound (it should instead be a local script), but this is just for testing purpose. I am also aware that it’s likely that you won’t be able to test it since you don’t own the animation files, so here’s a video of it in action.


(don’t mind the placeholder sounds lol)

Any better alternatives that won’t desync? Any way to change the code to make it more efficient?

1 Like