Right so here is what I have so far:
Tool = script.Parent
local player = game.Players.LocalPlayer
repeat wait() until player.Character ~= nil
local hum = player.Character:WaitForChild("Humanoid")
Tool.Activated:connect(function(mouse)
local animation = Tool.Taunt
local AnimTrack = hum:LoadAnimation(animation)
AnimTrack:Play()
Tool.Unequipped:connect(function()
AnimTrack:Stop()
end)
end)
And I want to make it so lets say I press L and it does another animation. I have no idea how to make this work. Also if I'm going to use keyboard inputs I'm guessing a local script correct?
