How to make players dance via code?

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    I wish to get every player in the lobby to emote via code.
for i, v in pairs(game.Players:GetPlayers()) do
	wait()
-- Is there an option to do something like "v:Dance()"?
		end
  1. What is the issue? Include screenshots / videos if possible!
    I do not know how to accomplish my goal.

  2. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I have not found any relevant options other than uploading my own Animation to play.

Iā€™m trying to make all players dance (such as when you do /e dance). I do not want to upload my own animation to Roblox, so is there any way I can make players dance via code? / Is there a built-in Emote command?

Im pretty sure your just gonna have to make an animation for it.

1 Like

Here are the IDs for default Roblox /e dances animation

130018893, 132546839, 132546884

1 Like

Many thanks! This will work perfectly.

1 Like