So i tried to make a tool thats in server storage that clones into the players backpack with a remote event, everything works but whenever I try to play a animation whenever the tool is activated the error shown above appears. Not sure why or how
its because ur declaring the ‘hum’ variable as plr:FindFirstChild("Humanoid")
, but there is no humanoid in the player, its in player.Character
it should be:
local hum = plr.Character:FindFirstChild("Humanoid")
for safety:
plr.CharacterAdded:Wait()
local hum = plr.Character:FindFirstChild("Humanoid")
You forgot to put character before
Game.Players.localplayer.character.Humaniod
it still doesnt work like theres no error message or anything but whenever I use the tool the animation doesn’t play