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

Why isn't this animation playing?[Not fixed]

Asked by 10 years ago

Every time I try to Equip this Hopperbin it won't play the animation. Why? Could it be because of this?

Content failed for http://www.roblox.com/Asset/?id=16909388

Content failed because HTTP 403 (Asset is not trusted for this place)

If so how do I make this animation trusted for my place?

Yes this is my animation if your wondering.

Humanoid = game.Players.LocalPlayer.Character.Humanoid
Hopperbin = script.Parent
------------------------------------------------------
    Hopperbin.Selected:connect(function()
        ------------------------------------------------------
        FoundAnimation = Hopperbin:FindFirstChild("Animation")
        if not FoundAnimation then
            Animation = Instance.new("Animation",Hopperbin)
            Animation.AnimationId = "http://www.roblox.com/Asset?ID=186234736"
        end
        ------------------------------------------------------
        print("Selected")
        Track = Humanoid:LoadAnimation(Animation)
        Track:Play()
    end)

2 answers

Log in to vote
1
Answered by 10 years ago
Hopperbin.Selected:connect(function()

Im Not A Good Scripter, But I Think You Missed The:

Hopperbin.Selected:connect(function())

Or if that did NOT work, well try this:

Local Hopperbin.Selected:connect(function())

And Maybe Have This Script Inside Of A LocalScript Script.

1
That didn't help but give another error,thanks for your help though! kevinnight45 550 — 10y
0
One Error Can Bring You To Another, Still A Step Closer! G'ud Luck BLODSWIPER 15 — 10y
0
Is it a LOCAL Script? Maybe That's the probblem. BLODSWIPER 15 — 10y
Ad
Log in to vote
-3
Answered by 10 years ago

You messed up on the 4 Line...

0
What did I do wrong? kevinnight45 550 — 10y

Answer this question