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

Why doesn't the animation load?

Error:Animation "1509896860" failed to load in "Animation.AnimationId": Animation failed to load

I don't really know why, but it fails every single time.

Here's the Local script.

local Player = game.Players.LocalPlayer
local Character = game.Workspace:WaitForChild(Player.Name)
local Humanoid = Character:FindFirstChildOfClass("Humanoid")
local plr = game.Players.LocalPlayer.Character
local moo = Instance.new("Animation")
moo.AnimationId = "rbxassetid://1509896860"
mooTrack = Humanoid:LoadAnimation(moo)

if script.Parent.Equipped == true then
	mooTrack:Play()
end

I'd like some help. Thanks.

1 answer

✓ Accepted answer

This is Because You Cannot Import Assets To Roblox Studio.

You Must make A Script That Will Make It.

Here Is A Example

Instance.new("ScreenGui") -- Makes Gui
ScreenGui.Parent =game.StarterGui
Instance.new("Frame") -- Makes Frame In Gui
Frame.Parent = game.StarterGui.ScreenGui --Makes Parent 
Frame.Size = Udim2.new (Size) --Frame Size
Frame.BackgroundColour = ("Really Red") --Frame Colour
Instance.new("TextLabel") --Creates Text
TextLabel.Text = (Text) -- Text In Label
TextLabel.TextSize = 24 --Text Size
Instance.new("Sound") --Makes Sound
SoundId = rbxasset://00000 --Sound Id Custom (Optional)
--Credit To JamiethegreatQ777 For Editing My Script!

1 comment

0

Code Blocks Seem To Be Broken

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