Here is the local script I attempted to make:
local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:wait()
local humanoid = Character:WaitForChild("Humanoid")
local anim = script.Parent.shoot
script.Parent.MouseButton1Click:Connect(function(key)
local animTrack = humanoid:LoadAnimation(anim)
animTrack:Play()
end)
