Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 5 years ago

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

Log in to vote
0
Answered by
Alphexus 498 Moderation Voter
5 years ago

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

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

Answer this question