Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How can you script your animations?

I have made animations now i want to know how do i make them like hot-keys, for example like press E to like dance or whatever. I don't really know how but it would be awesome if one of you guys told me how!!!

1 answer

Well, ROBLOX has inbuilt Animations like /e dance or /e wave which the character can type in, but are very basic and limited. What you're asking for is technically this:

player = Game.Players.LocalPlayer mouse = player:GetMouse()

function HotKey(key) if key:lower() == "q" then --"q" equals the key that you want pressed. Change if you want --CODE end end mouse.KeyDown:connect(HotKey)

If that answers your question, then good luck on your project. If not, contact me on ROBLOX @LordAn1mus or @ProfessorFTQ

This discussion is preserved as it was. New answers, comments, and votes are closed.