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

Anthro Mr Grey, Animation salute when I press the f key?

Hello, I am at a mental road block, and what the issues is I am trying to make a custom character(Antho Mr Grey) salute when I press the F key, I can get it to animate without pressing any keys with the default animations, but nothing im looking up is helping me play the animation only when i press the f key.

1 answer

✓ Accepted answer

Did you try using UserInputService through a local script in Starter Pack, StarterPlayer, etc?

3 comments

0

Yes and it works for the R6 models, but not the R30 anthro idk what is wrong in thecode

0

local Players = game:GetService("Players") local character = Players.LocalPlayer.Character if not character then character = Players.LocalPlayer.CharacterAdded:Wait() end local humanoid = character:WaitForChild("Humanoid") -- Create new 'Animation' instance local kickAnimation = Instance.new("Animation") -- Set its 'AnimationId' to the corresponding animation asset ID kickAnimation.AnimationI

0

Don't use UIS, use ContextActionService. This will allow you to add touch buttons on mobile.

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