What do you want to achieve? Keep it simple and clear!
So basically i making an animation for miner
What is the issue? Include screenshots / videos if possible!
For some reason in animator animation works fine, but in game it works stupid. Here is link to video: Problem - YouTube
What solutions have you tried so far? Did you look for solutions on the Developer Hub? I used same code as old, it should work
Here is code:
local Miner = script.Parent
local Animations = script.Parent:FindFirstChild("Animations")
local MiningAnim = Animations.Mining
local Humanoid = script.Parent:FindFirstChild("Humanoid")
local Animator = Humanoid:FindFirstChild("Animator")
if MiningAnim then
local LoadedAnimation = Humanoid:LoadAnimation(MiningAnim)
LoadedAnimation:Play()
wait(1)
end
I think the problem is in the animation, because the Roblox Looped property is horrible so try copying the first part of the animation (where the rig lifts his hands) and paste it at the end of the animation.