I need help please. Why does it say Play is not a valid member of animation
local plr = game.Players.LocalPlayer
repeat wait()until plr.Character
local humanoid = plr.Character:WaitForChild("Humanoid")
local tool = script.Parent
local NilAnim = script.Nil
local FiringWeaponAnim = script.FiringWeapon
local EquippedWeaponAnim = script.EquippedWeapon
script.Parent.Equipped:Connect(function()
humanoid:LoadAnimation(EquippedWeaponAnim)
EquippedWeaponAnim:Play()
script.Parent.Unequipped:Connect(function()
print("Unequipped")
end)
end)

1 comment
https://www.robloxdev.com/api-reference/function/AnimationTrack/Play