Hello!
I have recently been trying to make a gun like a turbo fusion gun. FYI I am not new to Roblox, I am an advanced scripter but this is just broken... It is a reloading animation. There are no errors and it is printing everything successfully.
script:
print("Start")
repeat
wait()
until game.Players.LocalPlayer.Character
print("Char")
local Hum = game.Players.LocalPlayer.Character:WaitForChild("Humanoid")
print("Hum")
wait(1/20)
print("Waited")
local NewAnimation = Instance.new("Animation", script)
NewAnimation.AnimationId = "rbxassetid://3230722600"
NewAnimation.Name = "MyAnimation"
while wait(20) do
print("Go")
local TrackAnimation = Hum:LoadAnimation(NewAnimation)
TrackAnimation:Play()
end
Yes, my scripts are in StarterPlayerScripts and is a local script.

9 comments
I dunno i'm stupid
Im confused on what your doing to make the animation play, its not a click. Or what?
animation play
this is like a sample of code i made
was this code written in a script or a local script
local script
FIXED
Same problem occurs to me too.
the R must be wrong. I was in R6 with a R15 animation, also make sure you own the animation.