#The code very simple nothing special and yet I can't seem to figure it out.

1 messages · Page 1 of 1 (latest)

odd whale
#

The code very simple nothing special and yet I can't seem to figure it out.

-- I tried setting this up in ServerScriptService which did not work upon spawning

-- I already made sure that every character are R6 and that the animation is for R6 characters

-- No errors in the output console

-- The animation id exists I tried testing with other animations and it did not work out

However I noticed that the Animations does work on rigs and animations that start upon player input works too..

Thank you for your help. I'm still new around here

Here's the code
```game.Players.PlayerAdded:Connect(function(plr)`
plr.CharacterAdded:Connect(function(character)
task.wait()
local hum = character:FindFirstChild("Humanoid")
local Animator = hum:FindFirstChild("Animator")

    local SpawnAnim = Instance.new("Animation")
    SpawnAnim.AnimationId = "rbxassetid://84796230880419"
    
    local spawnAnimationTrack = hum:LoadAnimation(SpawnAnim)
    spawnAnimationTrack:Play()

end)

end)

ruby orbit
#

you should use Animator:LoadAnimation instead of hum:LoadAnimation

odd whale
#

You're right I did try that it did not change the outcome though

ruby orbit
#

is the animation an idle animation?