Can anyone help me, cause i want to learn how to make animations by using keys. Thanks in advance.
So I wanted the (almost) same thing and I (think I) figured it out so here's the script
local UIS = game:GetService("UserInputService") local Player = game.Players.LocalPlayer repeat wait() until Player.Character.Humanoid local Animation = script.Animation local Track = Player.Character.Humanoid:LoadAnimation(Animation) UIS.InputBegan:connect(function(key) if key.KeyCode == Enum.KeyCode.E then Track:Play() end end)
Make the animation of the punch, then take the script and the animation and put them in StarterPlayerScripts
hope it works for ye
This is not a request site, you need to have some effort, try learning on how to make animations and how to use the keys on your keyboard in roblox wiki or in youtube