(Solved) Why my punch animation doesn't play?
Asked by
4 years ago Edited 4 years ago
When I press left click, the game detect it, but doesn't play it. This is my first animation, plis, help me.
01 | local Player = game.Players.LocalPlayer |
03 | Character = script.Parent |
05 | local Mouse = Player:GetMouse() |
07 | Mouse.Button 1 Down:connect( function (Punch) |
08 | local Punch 1 = script:FindFirstChild( "Punch1" ) |
10 | local Humanoid = Character:FindFirstChild( "Humanoid" ).LoadAnimation |
12 | local AnimationTrack = Punch:LoadAnimation() |