0

# I'm currently having an issue with making a reload animation play, could anybody help me fix it?

Edited 21 days ago

I'm making a game, and the gun I've made works fine, however, the reload animation is the only thing that doesn't work. Does anybody know how I can fix this?

Here is the script to play the reload animation, there are variables for the reloadTrack and reloadAnim, and in the handle of the gun, there's a sound named 'Reload':

tool.reload_sound:Connect(function()
else
return
end
end)
tool.Unequipped:Connect(function()
if track then
track:Stop()
end
end)

0
Try some tests with prints and see where the function stops and maybe make adjustments or give us further animation sayer80 314 — 21d
0
It stopped just after the first line. NuggetHasJoined 7 — 21d
0
Any errors? LeedleLeeRocket 1094 — 21d
0
There aren't any errors, which really confuses me. I have updated my script in the game, too: NuggetHasJoined 7 — 21d
0
I have just updated the post's script, so you can see it. NuggetHasJoined 7 — 21d