You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
A looping animation for the rig. -
What is the issue? Include screenshots / videos if possible!
the head twitches weirdly in game, not in the animation editor though.
Editor:
Game:
- What solutions have you tried so far? Did you look for solutions on the Developer Hub?
ive tried all the animation priorities. None of them seem to change anything.
local NPC_dir = script.Parent
local humanoid = NPC_dir.Humanoid --Humanoid oviously
local anim_pak = NPC_dir.Idle --The animation NPC_dir.idle
local idle = humanoid.Animator:LoadAnimation(anim_pak) --load the animation
local function play_on_init() --custom function, call it once created
idle:Play()-- play the idle, MUST LOOP IF YOU WANT IT TO REPLAY
end
play_on_init()
everything seems to be directed correctly, and the rig is in r6 (obviously)