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

Is there a way to insert a model in a animation?

Asked by 7 years ago

Title says it all, but in more details is there a way to insert another model inside a animation? Because I made a animation of a NPC doing knife tricks I didn't animate the knife for the NPC yet because I have no idea how to animate the knife so the NPC holds it if that makes sense, what I want to do is like insert a knife into the animation so I can make it fit into the animations.

0
Simply weld the knife to the NPC's hand and just animate the NPC? Or make it a tool? Programical 653 — 7y
0
Well I did but it didnt show up in the Animation Editor. TheSecondVal266 -1 — 7y

1 answer

Log in to vote
0
Answered by
sad_eyez 162
7 years ago
-- Try putting a knife tool in replicated storage first then do this
for x = 1,1 do -- Runs the code below ounce
local plr = game.Players.LocalPlayer
local char = plr.Character or plr.CharacterAdded:wait()
local knife = game:GetService("ReplicatedStorage"):WaitForChild("Knife"):Clone()
knife.Parent = char
return --makes sure it doesn't clone because sometimes it does
end
0
Thanks it worked! TheSecondVal266 -1 — 7y
Ad

Answer this question