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

why does my animation not play when i fire it ?

Asked by 2 years ago

why does nothing happen

local anim = game.ReplicatedStorage.DCEU.Flash.Stop
local animator = player.Character.Humanoid
local stoptrack = animator:LoadAnimation(anim)
player.Character.Humanoid.WalkSpeed = 0
stoptrack.Priority = Enum.AnimationPriority.Action
stoptrack:Play()

thankyou in advance

0
I assume it outputs no errors. Could it be because this animation is not yours? What I mean with that is that the animation is not in your inventory. Try playing the animation on an actual Roblox server instead of Studio. rabbi99 714 — 2y
0
Also, don't use Humanoid as the animator. Use Humanoid.Animator as the animator. Humanoid is deprecated for animations. rabbi99 714 — 2y
0
thankyou i will try this gymsharklife1 54 — 2y
0
hello thankyou for your response, i moved the animation into the charcter, however it still doesnt play when i fire it gymsharklife1 54 — 2y
0
use :Load to fire it Yodadthin 2 — 2y

1 answer

Log in to vote
0
Answered by 2 years ago

thankyou to everyone who replied, i have fixed the issue, the animation i was using was broken , i just had to remake the animation

Ad

Answer this question