Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

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

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

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.

3 comments

1

That didn't help but give another error,thanks for your help though!

0

One Error Can Bring You To Another, Still A Step Closer! G'ud Luck

0

Is it a LOCAL Script? Maybe That's the probblem.

This discussion is preserved as it was. New answers, comments, and votes are closed.