Odawg566Join Date: 2015-06-28 Post Count: 362 |
local c = Instance.new("Animation")
c.AnimationId = "https://www.roblox.com/library/1208180335/Summon-Shield"
local animationtrack = nil
local play = true
function playAnimation(Anim)
if play == true then
animationtrack = p.Character.Humanoid:LoadAnimation(c)
animationtrack.KeyframeReached:connect(function(kf)
print("Loading")
end)
animationtrack:Play()
end
henlo my guy |
|
Odawg566Join Date: 2015-06-28 Post Count: 362 |
29 people viewed not one help reply?
henlo my guy |
|
Odawg566Join Date: 2015-06-28 Post Count: 362 |
D: HELP PLOX!
henlo my guy |
|
SoybeenJoin Date: 2010-02-17 Post Count: 21462 |
Those ## ##### are viewbots, not real people. c.AnimationId = "https://www.roblox.com/library/1208180335/Summon-Shield" needs to be c.AnimationId = ######################### |
|
Odawg566Join Date: 2015-06-28 Post Count: 362 |
Tags
henlo my guy |
|
SoybeenJoin Date: 2010-02-17 Post Count: 21462 |
Those are viewbots, not real people
yourId = 12341234
c.AnimationId = "rbxassetid://"..yourId |
|
Odawg566Join Date: 2015-06-28 Post Count: 362 |
Still won't work, it's a tool. And when I am in game (not in studio) it says animationid failed to load.
henlo my guy |
|
|
Make the animation object underneath the script and manually put in the id. See if that fixes the issue. |
|
SoybeenJoin Date: 2010-02-17 Post Count: 21462 |
Ensure that you're just taking the numbers out of the weblink, and not everything.
should look like
"rbxassetid://12341234" |
|
Odawg566Join Date: 2015-06-28 Post Count: 362 |
I am an intermediate scripter soybean, I understand what you wanted me to do. ( Sorry If That Sounded Rude. )
Also still won't work.
AndimationId failed to load.
here:
https://www.roblox.com/games/1200870778/Beta-Testing-Anger-Simulator
you can see for yourselves.
henlo my guy |
|
SoybeenJoin Date: 2010-02-17 Post Count: 21462 |
Make sure you are the owner of your animation (it can't be owned by a group or another individual) or if you are making this as a group then it is uploaded as a Group Animation. |
|
Kiriot22Join Date: 2015-07-19 Post Count: 226 |
You can only load the animations that you own. |
|
Odawg566Join Date: 2015-06-28 Post Count: 362 |
I made the animation so that isn't the problem, please review my code and see whats wrong.
henlo my guy |
|