Little jig hub
Key RequiredUniversal

Little jig hub

Universal ScriptOr3ozOr3oz 3.2K views 128 executesUpdated Jan 30, 2025
Unrated
00
Lua Script•21 lines (873 chars)
-- LocalScript inside StarterPlayer > StarterPlayerScripts
local player = game.Players.LocalPlayer
local gui = script.Parent
local button = gui:WaitForChild("DanceButton")  -- Assuming the button is named DanceButton
local textLabel = gui:WaitForChild("ClickMessage")  -- Assuming the label is named ClickMessage

-- Function to make the player dance
local function makePlayerDance()
    local character = player.Character
    if character and character:FindFirstChild("Humanoid") then
        local humanoid = character:FindFirstChild("Humanoid")
        -- Make sure the animation is in ReplicatedStorage
        local danceAnim = game.ReplicatedStorage:WaitForChild("Dance2Animation")
        humanoid:LoadAnimation(danceAnim):Play() -- Play the dance animation
    end
end

-- Button click listener
button.MouseButton1Click:Connect(function()
    makePlayerDance()
end)

Features & Information

Dance.

Community Comments (1)

studdifordbeamesderstuddifordbeamesderJan 30, 2025(edited)

nice

More Scripts for Universal Scripts