Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I dont think this idle animation works can you check it?

Asked by
Dax4244 20
8 years ago

i tryed the script but i dont think its working b/c the animtation is not playing but when i put a walk animation or fall it does work, Heres the script

Game.Players.PlayerAdded:connect(function(player)
    player.CharacterAdded:connect(function(character) --CharacterAdded event being added to the script.
        local animateScript=character:WaitForChild("Animate") --Waits until Animate is found in the character.
        animateScript.idle.IdleAnim.AnimationId="http://www.roblox.com/asset/?id=295233235"
    end)
end)

btw is there a different one for the standing animation?

0
You haven't loaded the animation nor told the script to play the animation. UserOnly20Characters 890 — 8y
0
yoshi plz put a answer on here so i can say its answered Dax4244 20 — 8y

1 answer

Log in to vote
0
Answered by 8 years ago

There are two Animations in idle so you would have to change them to your idle ID

game.Players.PlayerAdded:connect(function(Player)
    Player.CharacterAdded:connect(function(Character)
        wait()
        print("Animations Changing")
        if Character:findFirstChild("Animate") then
                Character.Animate.idle.Animation1.AnimationId = "http://www.roblox.com/asset/?id=295233235"
                Character.Animate.idle.Animation2.AnimationId = "http://www.roblox.com/asset/?id=295233235"


        end
    end)
end)

Accept Answer if this answered your question. :D

Ad

Answer this question