Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = owner
- local char = plr.Character
- local torso = char:FindFirstChild("Torso") or char:FindFirstChild("HumanoidRootPart")
- local hum = char:FindFirstChildOfClass("Humanoid")
- if hum.RigType ~= Enum.HumanoidRigType.R6 then warn('Character rig must be R6.') return end
- local tool = Instance.new("Tool")
- tool.Name = 'Monster Mash'
- tool.ToolTip = 'Do da mash!'
- tool.CanBeDropped = false
- tool.RequiresHandle = false
- tool.Parent = plr['Backpack']
- local mash = Instance.new("Sound")
- mash.SoundId = 'rbxassetid://2517519047'
- mash.Looped = true
- mash.Volume = 1
- mash.Parent = torso
- local dance = Instance.new("Animation")
- dance.AnimationId = 'rbxassetid://35654637'
- dance.Parent = tool
- tool.Activated:Connect(function()
- hum:LoadAnimation(dance):Play()
- mash:Play()
- end)
Add Comment
Please, Sign In to add comment