i have tried everthing to get this anthro to animate but nothing is working this is the script i have been using what am i doing wrong?
local Player = game.Players.LocalPlayer
local Character = Player.Character or script.Parent
local Humanoid = Character.Humanoid
local UserInputService = game.GetService("UserInputService")
local Animation = 'rbxassetid://03111119958'
local Key = 'G'
UserInputService.InputBegan:Connect(function(Input, IsTyping)
if IsTyping then return end
if Input.KeyCode == Enum.KeyCode[Key] then
local Animation = Instance.new("Animation")
Animation.AnimationId = AnimationId
local LoadAnimation = Humanoid:LoadAnimation(Animation)
LoadAnimation:Play
end
end)
