Play is not a valid member of Animation
local player = game.Players.LocalPlayer
local Char = player.CharacterAdded:Wait()
local Humanoid = Char:WaitForChild("Humanoid")
local anim = script.Parent:WaitForChild("EquipAnimation")
print(anim)
Humanoid:LoadAnimation(anim)
script.Parent.Equipped:Connect(function()
if anim then
anim:Play() -- Error is on this line
end
end)
If someone spots anything, please tell me!
