I want to make my pose cancel animation with punch script I tried this but its doesn't work
local UIS = game:GetService("UserInputService")
local plr = game.Players.LocalPlayer
local char = plr.Character or plr.CharacterAdded:Wait()
local key = 'F'
local Taunt = Instance.new("Animation")
Taunt.AnimationId = 'rbxassetid://3666718264' -- other animations 2262820217, 2262813409, 2425154387,
local taunted = false
UIS.InputBegan:Connect(function(Input, IsTyping)
if taunted then return end
if IsTyping then return end
local KeyPressed = Input.KeyCode
if KeyPressed == Enum.KeyCode[key] then
taunted = true
char.Humanoid.WalkSpeed = 0
local LoadAnimation = char.Humanoid:LoadAnimation(Taunt)
LoadAnimation:Play()
wait(2)
char.Humanoid.WalkSpeed = 16
taunted = false
end
end)
game.StarterPlayer.StarterCharacterScripts.Punch.Disabled = true
wait(2)

3 comments
I don't see you enabling it after the 2 seconds, is that missing or am I just blind or stupid?
blind
idk