I Am Going To Do A Keyboard Commands Set. How Should I Do It? The Key Is "R".
COMMUNITY QUESTION
How Can KeyPress Event Play An Animation?
1 answer
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
mouse.KeyDown:connect(function(key)
if key == "r" then
--play animation
end
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
We need code we can't help you without seeing what you have tried or currently have this is not a request site