Hello,
Was curious how I could to make it so when I run, an animation plays and then the instant I stop running it stops? Currently, the method Im using just is working like I want to, any help would be greatly appreciated.
game:GetService("UserInputService").InputBegan:Connect(function (inputObj, gameProccessedEvent)
if not gameProccessedEvent and Active == true then
if inputObj.KeyCode == Enum.KeyCode.W then
if IsHolstering == false then
IsHolstering = true
Holster:Play()
else
IsHolstering = false
Holster:Stop()
end
end
end
end)
I just did the basic Key input but there has to be a better way,
Thank you!
