i want to make a script in my game where when a person presses the key he does like a punch or a kick that does some damage but none of the key detecters i found work so can u guys help me?
This should help you out. (PUT THIS IN A LOCAL SCRIPT)
local plr = game.Players.LocalPlayer --Gets player local mouse = plr:GetMouse() --Gets mouse mouse.KeyDown:Connect(function(key) if key == "Q" then --You can change this letter to any letter you want. --Your script goes here, if you are not sure how to make an animation or use one, ask someone else or make a new post. But first, try googling it and all that. end end)