local Library = loadstring(game:HttpGet("https://[Log in to view URL]"))() -- defining the gui library

local Pendulum = Library:New("dress to impress")

local EmotesTab = Pendulum:NewTab("emotes")

-- Adding the new emotes to the existing table
local emotes = {
    ["nicki minaj"] = 15571446961,
    ["Fashion"] = 3333331310,
    ['Dorky Dance'] = 4212455378,
    ['Zombie'] = 4210116953,
    ['AOK - Tai Verdes'] = 7942885103,
    ['T'] = 3338010159,
    ['Cobra Arms - Tai Verdes'] = 7942890105,
    ['Panini Dance - Lil Nas X (LNX)'] = 5915713518,
    ['Fishing'] = 3334832150,
    ['Robot'] = 3338025566,
    ['Around Town'] = 3303391864,
    ['Saturday Dance - Twenty One'] = 7422807549,
    ['Top Rock'] = 3361276673,
    ['Keeping Time'] = 4555808220,
    ['Air Dance'] = 4555782893,
    ['Fancy Feet'] = 3333432454,
    ['Rock Guitar - Royal Blood'] = 6532134724,
    ["Borock's Rage"] = 3236842542,
    ["Ud'zal's Summoning"] = 3303161675,
    ['Y'] = 4349285876,
    ['Swan Dance'] = 7465997989,
    ['Louder'] = 3338083565,
    ['Up and Down - Twenty One'] = 7422797678,
    ['Swish'] = 3361481910,
    ['Drummer Moves - Twenty One'] = 7422527690,
    ['Sneaky'] = 3334424322,
    ['Heisman Pose'] = 3695263073,
    ['Jacks'] = 3338066331,
    ['Cha-Cha 2'] = 3695322025,
    ['BURBERRY LOLA ATTITUDE - NIMBUS'] = 10147821284,
    ['BURBERRY LOLA ATTITUDE - GEM'] = 10147815602,
    ['BURBERRY LOLA ATTITUDE - HYDRO'] = 10147823318,
    ['BURBERRY LOLA ATTITUDE - BLOOM'] = 10147817997,
    ['Superhero Reveal'] = 3695373233,
    ['Air Guitar'] = 3695300085,
    ['Dismissive Wave'] = 3333272779,
    ['Country Line Dance - Lil Nas X'] = 5915712534,
    ['Salute'] = 3333474484,
    ['Applaud'] = 5915693819,
    ['Get Out'] = 3333272779,
    ['Hwaiting (화이팅)'] = 9527885267,
    ['Annyeong (안녕)'] = 9527883498,
    ['Bunny Hop'] = 4641985101,
    ['Sandwich Dance'] = 4406555273,
    ['Hyperfast 5G Dance Move'] = 9408617181,
    ['Victory - 24kGoldn'] = 9178377686,
    ['Tantrum'] = 5104341999,
    ['Rock Star - Royal Blood'] = 10714400171,
    ['Drum Solo - Royal Blood'] = 6532839007,
    ['Drum Master - Royal Blood'] = 6531483720,
    ['High Hands'] = 9710985298,
    ['Tilt'] = 3334538554,
    ['Gashina - SUNMI'] = 9527886709,
    ['Chicken Dance'] = 4841399916,
    ["You can't sit with us - Sunmi"] = 9983520970,
    ["Frosty Flair - Tommy Hilfiger"] = 10214311282,
    ["Floor Rock Freeze - Tommy Hilfiger"] = 10214314957,
    ['Boom Boom Clap - George Ezra'] = 10370346995,
    ['Cartwheel - George Ezra'] = 10370351535,
    ['Chill Vibes - George Ezra'] = 10370353969,
    ['Sidekicks - George Ezra'] = 10370362157,
    ['The Conductor - George Ezra'] = 10370359115,
    ['Super Charge'] = 10478338114,
    ['Swag Walk'] = 10478341260,
    ['Mean Mug - Tommy Hilfiger'] = 10214317325,
    ['V Pose - Tommy Hilfiger'] = 10214319518,
    ['Uprise - Tommy Hilfiger'] = 10275008655,
    ['2 Baddies Dance Move - NCT 127'] = 12259828678,
    ['Kick It Dance Move - NCT 127'] = 12259826609,
    ['Sticker Dance Move - NCT 127'] = 12259825026,
    ['Elton John - Rock Out'] = 11753474067,
    ['Elton John - Heart Skip'] = 11309255148,
    ['Elton John - Still Standing'] = 11444443576,
    ['Elton John - Elevate'] = 11394033602,
    ['Elton John - Cat Man'] = 11444441914,
    ['Elton John - Piano Jump'] = 11453082181,
    ['Alo Yoga Pose - Triangle'] = 12507084541,
    ['Alo Yoga Pose - Warrior II'] = 12507083048,
    ['Alo Yoga Pose - Lotus Position'] = 12507085924,
    ['TWICE-Moonlight-Sunrise'] = 12714233242,
    ['TWICE-Set-Me-Free-Dance-1'] = 12714228341,
    ['TWICE-Set-Me-Free-Dance-2'] = 12714231087,
    ['Ay-Yo-Dance-Move-NCT-127'] = 12804157977,
    ['TWICE-The-Feels'] = 12874447851,
    ['Zombie'] = 10714089137,
    ['Rise-Above-The-Chainsmokers'] = 12992262118,
    ['TWICE-What-Is-Love'] = 13327655243,
    ['Man-City-Bicycle-Kick'] = 13421057998,
    ['TWICE-Fancy'] = 13520524517,
    ['TWICE Pop by Nayeon'] = 13768941455,
    ['Tommy - Archer'] = 13823324057,
    ['TWICE-Pop-by-Nayeon'] = 13768941455,
    ['Man City Backflip'] = 13694100677,
    ['Man-City-Scorpion-Kick'] = 13694096724,
    ['Arm Twist'] = 10713968716,
    ['Tommy - Archer'] = 13823324057,
    ['YUNGBLUD – HIGH KICK'] = 14022936101,
    ['TWICE Like Ooh-Ahh'] = 14123781004,
    ['Baby Queen - Air Guitar & Knee Slide'] = 14352335202,
    ['Baby Queen - Dramatic Bow'] = 14352337694,
    ['Baby Queen - Face Frame'] = 14352340648,
    ['Baby Queen - Bouncy Twirl'] = 14352343065,
    ['Baby Queen - Strut'] = 14352362059,
    ['BLACKPINK Pink Venom - Get em Get em Get em'] = 14548619594,
    ['BLACKPINK Pink Venom - I Bring the Pain Like…'] = 14548620495,
    ['BLACKPINK Pink Venom - Straight to Ya Dome'] = 14548621256,
    ['TWICE LIKEY'] = 14899979575,
    ['TWICE Feel Special'] = 14899980745,
    ['BLACKPINK Shut Down - Part 1'] = 14901306096,
    ['BLACKPINK Shut Down - Part 2'] = 14901308987,
    ["Bone Chillin' Bop"] = 15122972413,
    ['Paris Hilton - Sliving For The Groove'] = 15392759696,
    ['Paris Hilton - Iconic IT-Grrrl'] = 15392756794,
    ['Paris Hilton - Checking My Angles'] = 15392752812,
    ['BLACKPINK JISOO Flower'] = 15439354020,
    ['BLACKPINK JENNIE You and Me'] = 15439356296,
    ['Rock n Roll'] = 15505458452,
    ['Air Guitar'] = 15505454268,
    ['Victory Dance'] = 15505456446,
    ['Flex Walk'] = 15505459811,
    ['Olivia Rodrigo Head Bop'] = 15517864808,
    ['Olivia Rodrigo good 4 u'] = 15517862739,
    ['Olivia Rodrigo Fall Back to Float'] = 15549124879,
    ["Nicki Minaj That's That Super Bass"] = 15571446961,
    ['Nicki Minaj Boom Boom Boom'] = 15571448688,
    ['Nicki Minaj Anaconda'] = 15571450952,
    ['Nicki Minaj Starships'] = 15571453761,
    ['Grimes Bring the Sound Wave'] = 15548658423,
    ['Grimes Shake the Future'] = 15571438253,
    ['Grimes Cyber Tech Control'] = 15571439805,
}

-- Variable to keep track of the current animation
local currentAnimationTrack = nil

-- Function to create an emote button
local function createEmoteButton(name, id)
    EmotesTab:NewButton(name, "Play " .. name .. " animation", function()
        local Players = game:GetService("Players")
        local player = Players.LocalPlayer
        local character = player.Character or player.CharacterAdded:Wait()
        local humanoid = character:WaitForChild("Humanoid")

        -- Stop the currently playing animation if there is one
        if currentAnimationTrack then
            currentAnimationTrack:Stop()
        end

        -- Create and play the new animation
        local animation = Instance.new("Animation")
        animation.AnimationId = "rbxassetid://" .. id
        local animationTrack = humanoid:LoadAnimation(animation)
        animationTrack:Play()

        -- Update the currently playing animation
        currentAnimationTrack = animationTrack

        -- Monitor the humanoid's movement and state to stop the animation
        humanoid.Running:Connect(function(speed)
            if speed > 0 then
                animationTrack:Stop()
                currentAnimationTrack = nil
            end
        end)

        humanoid.StateChanged:Connect(function(_, newState)
            if newState == Enum.HumanoidStateType.Seated or 
               newState == Enum.HumanoidStateType.Jumping or
               newState == Enum.HumanoidStateType.Freefall then
                animationTrack:Stop()
                currentAnimationTrack = nil
            end
        end)
    end)
end

-- Create buttons for all emotes
for name, id in pairs(emotes) do
    createEmoteButton(name, id)
end

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: