Hi! I'm new to scripting and I wonder how to make food I built make the "Tom Beans" eating animation so my customers can eat them, I plan on making a restaraunt. Please help! I've seen a lot of other restaraunt using the same animation but I have no clue how to apply it to my builds.
How To Animate Eating Food in ROBLOX?
1 answer
To add on to nanluk01's answer, you can make your own animations using ROBLOX's Animation Editor Plugin.
Here's the link to it, which you can open in ROBLOX Studio and install it, if you haven't done so already. https://www.roblox.com/library/144373835/Animation-Editor
Once you made an animation you like, just make it fire when specific conditions are met. For example, you can make a function that when a tool (the object you wish to "eat") is equipped and the mouse Button1Down event is fired,
local animation = [Location of the Animation]
game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(animation)
Remember, you'll have to put all this code in a LocalScript, because this is only affecting a single player on the client side.
And, that's about it. Good luck on your game!
-IronSpider671 (TinTin671)
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
If you want your own animation, use ROBLOX's animation plugin and make sure you animate your character while holding the object you want to "eat"
Thank you!