Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer -- Defins the local player
- local character = player.Character or player.CharacterAdded:Wait() -- This defines the player character.
- local Animation = Instance.new("Animation") -- This makes a new animation.
- Animation.AnimationId = "rbxassetid://6098851709" -- This tells the animation ID we should use.
- local DanceAnimation = character:WaitForChild("Humanoid"):LoadAnimation(Animation) -- This means that it waits for the Humanoid and then it Loads the animation which is the animation we defined up there.
- DanceAnimation:Play() -- This plays the animation.
Add Comment
Please, Sign In to add comment