ive been trying to figure out why my animation script has not been playing the animation ive looked through the wiki and i still cant see why its wrong ive even looked for help on scripting helpers discord no one seems to be able to understand why its not working this is the script
local player=game.Players.LocalPlayer while not player.Character do wait() end local animation=Instance.new("Animation") animation.AnimationId="http://www.roblox.com/Asset?ID=1192325680" local anim=player.Character:WaitForChild("Humanoid"):LoadAnimation(animation) player:GetMouse().Button1Down:Connect(function(Source) anim:Play() wait(1.6) local pro=Instance.new("Part") local fir=Instance.new("Fire") local expl=Instance.new("Explosion") local location=game:GetService("UserInputService") local body1=Instance.new("BodyVelocity") anim:Stop() end)
the locals in the function of the script are going to be used later on i just need help with getting the animation to work although the function does run the animation does not thanks.
Change the AnimationId to "rbxassetid://1192325680" and it should work. That what fixed it when i was dealing with animations.