Whenever I try to test the code I made (do an animation while summoning a fireball), the output says that " LoadAnimation requires the Humanoid object (Player1.Humanoid) to be a descendant of the game object" Any ideas why and house to fix it. and I am sorry that I dont understand very well... I just started scripting 4 days ago. Here is my code..
animation.AnimationId = "http://www.roblox.com/asset/?id=853522647" -- ex http.robloxblahblah
local animTrack = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(animation)
game:GetService("UserInputService").InputBegan:connect(function(input)
if input.KeyCode == Enum.KeyCode.E then
animTrack:Play()
end
end)

3 comments
Re do it over again
Tyvm! I should of closed this question though because I fixed my script beforehand and I finally got my animations to work. Thank you very much though! Im a fast learner btw ????
Nice job