Hello, so basically I made 2 animations and I want to load them into tracks before I start coding them. Here’s my code.
local players = game:GetService("Players")
local player = players.LocalPlayer
print(player.Name)
local character = player.Character or player.CharacterAdded:Wait()
print(character)
local humanoid = character:FindFirstChild("Humanoid")
local leftPunchAnim = 18652692794
local leftPunchTrack = humanoid:LoadAnimation(leftPunchAnim)
local rightPunchAnim = 18652711566
local rightPunchTrack = humanoid:LoadAnimation(rightPunchAnim)
You are setting your leftPunchAnim variable to a number not an animation id or anything
Besides the animator only accepts Animation Instances
Try creating an animation instance and pasting the animation into its properties. After that refrence the instance in your script and use as the argument to :LoadAnimation()