Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How To Animate Eating Food in ROBLOX?

Asked by 8 years ago

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.

1
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" nanaluk01 247 — 8y
0
Thank you! Tasty_Pickles 0 — 8y

1 answer

Log in to vote
0
Answered by 8 years ago

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)

Ad

Answer this question