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.
✓ ANSWER ACCEPTED
Anthro Mr Grey, Animation salute when I press the f key?
1 answer
✓ Accepted answer
Did you try using UserInputService through a local script in Starter Pack, StarterPlayer, etc?
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
Yes and it works for the R6 models, but not the R30 anthro idk what is wrong in thecode
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
Don't use UIS, use ContextActionService. This will allow you to add touch buttons on mobile.