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

How do I temporarily disable walking animations?

I'm making a game where you can do dances and emotes, and I want some of them to keep themselves on, even after you start walking. When I start the emote it's fine, but when I walk, it turns off again. How do I disable the thing where all animations stop on player move? (I only want it to be temporary, so I can turn in back on when the emote ends)

1 comment

0

I would remove the animate script, but it wont may be the best solution

1 answer

If you want custom Animations test the game, go into your character model, copy the local script called "Animate" Now, simply edit the script to your custom animations by putting the animation ID into it.

Put a script into ServerScriptService Copy the local Animate script Paste it into the New Script in ServerScriptService

game.Players.PlayerAdded:Connect(function(Player)
local NewAnimate = script.Animate:Clone()
local Character = Player.Character
Character:FindFirstChild("Animate"):Destroy()
NewAnimate.Parent = Character
end)

Now if you simply want to make it so there are no Animations at all

Insert a script into ServerScriptService and put this function in

game.Players.PlayerAdded:Connect(function(Player)
local Character = Player.Character
Character:FindFirstChild("Animate"):Destroy()
end)

For For temp do

character.Animate.Disabled = true
--to pause the animation
--and to enable the animations again
character.Animate.Disabled = false

3 comments

0

But I don't want it to be on forever. I want the player to walk normally again when they turn off the emote...

0

Oh, your doing a animation gui just do Character.Humanoid:LoadAnimation(

0

Oh, your doing a animation gui just do Character.Humanoid:LoadAnimation(script.Animation) it should play over the player's animation

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