I have a problem with the function ‘LoadAnimation():Play()’
the animation seems to be played from the middle first, and then from the beginning
here is my script:
script.Parent.Touched:Connect(function()
local hiding=workspace.VentEntity.AnimationController:LoadAnimation(workspace.VentEntity.Hiding)
hiding:Play()
wait(hiding.Length-.1)
workspace.VentEntity.AnimationController:LoadAnimation(workspace.VentEntity.Idle):Play(.15)
end)