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

How to create a [e dance2] button?

Asked by 3 years ago

I'm making a obby game and am wondering if there is a way to make a player e dance2 by pressing a GUI button.

I have been looking for ways to add animation to the game.

All I have is

local Players = game:GetService("Players")

local player = Players:FindFirstChild("Builderman")

local character = player.Character 
local humanoid = character:FindFirstChild("Humanoid")

local animation = Instance.new("Animation")
animation.AnimationId = "http://www.roblox.com/asset/?id=507771019" -- Roblox dance emote

local animationTrack = humanoid:LoadAnimation(animation)
animationTrack:Play()

I just can't find the ID for e dance 2 anywhere.

1 answer

Log in to vote
0
Answered by 2 years ago

https://devforum.roblox.com/t/list-of-the-default-r15-animation-ids/140425

Ad

Answer this question