Please watch the attached video here.
As you can see in the video, when the walking animation is played in the animation editor it looks fine, but in game as shown later on midways through it becomes choppy, almost like its being played at a lower frame rate or something. This is strange as nothing similar has happened to me ever, help is appreciated.
Here is the code, its a segment of a much longer script which I excluded however the animation or the character that has the animation is not modified outside this function at any point so it should not matter
function setupRoom(Level)
if LevelIsAnomoly == true then
print("Random anomoly set (not really)")
else
--- NPC Reading Newspaper Load ----------
local NPC = Level.Level.ReadingNewspaperNPC
local animLoad = NPC.Humanoid.Animator:LoadAnimation(NPC.ReadingNormalAnim)
animLoad:Play()
------ Janitor Movement -------------
local Janitor = Level.Level.Janitor
Janitor.HumanoidRootPart:SetNetworkOwner(nil)
local animLoad = Janitor.Humanoid.Animator:LoadAnimation(Janitor.Walk)
animLoad:Play()
task.wait(10)
animLoad:AdjustSpeed(0)
end
end
if you’re confused why
print("Random anomoly set (not really)")
is there is because I started working on the game 2 days ago and I haven’t had the time to make anomalies take effect just yet