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

Why doesn't the animation load?

Asked by 6 years ago

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

Log in to vote
0
Answered by 6 years ago

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! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0
Code Blocks Seem To Be Broken JamiethegreatQ777 16 — 6y
Ad

Answer this question