-- Configuration local config = { -- Dance moves danceMoves = { "dance1", "dance2", "dance3", }, -- Giant size giantSize = 10, }
-- Event listener for player character added Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) -- Make player giant when their character spawns makeGiant(player)
-- Load dance animations local animator = character:WaitForChild("Humanoid"):WaitForChild("Animator") for danceMove, animationName in pairs(danceAnimations) do local animation = Instance.new("Animation") animation.Name = animationName animation.AnimationId = "rbxassetid://" .. tostring(RunService:LoadAnimation(animationName).AnimationId) animator:LoadAnimation(animation) end end) end)
The animations can be created using the Roblox Animation Editor.