I animated a crouching animation for a game I'm working on which you hold ''c'' your character gets in a low position and their walk speed is slow. The crouching animation is already scripted and works perfectly. I have already made a walking animation for it where if you try moving while you're in that crouching position only your legs move, But I can't find a way to implant that crouch walk animation into the game.
Here's the crouch animation:
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
local Animate
local Humanoid = player.Character:FindFirstChild('Humanoid')
if player.Character.Humanoid.Walkspeed > 0 then?
local Animation = Instance.new("Animation", player.Character)
Animation.AnimationId = "rbxassetid://2633841247"
Animate = Humanoid:LoadAnimation(Animation)
Animate:Play()
==========================================================================================================================================================
Video of what the crouching animation looks like: https://gyazo.com/d427b29ec06f88429bea89ea5f26c6c8

4 comments
What do you mean by implant it into the game? If it works perfectly, then isn't it already in the game?
You cant script and trying help to ur friend? I guess you never be pro scripter only normal.
No, the crouch animation works perfectly. But the crouch 'WALK' animation is the thing I'm having trouble putting in the game. If I press C my character gets in the crouch position but I want the characters leg's to move if he walks while hes in that position.
You could bind it to walkspeed, so that if a player has the slower walkspeed, then the crouch walk animation plays