View difference between Paste ID: 41LeSvtp and Ym0F82s5
SHOW: | | - or go back to the newest paste.
1
local plr = game.Players.LocalPlayer
2
local chr = plr.Character
3
local mouse = plr:GetMouse()
4
5
q = Instance.new('HopperBin', plr.Backpack)
6
q.Name = 'Dab'
7
Bin=q
8
9
10
dabbing=Instance.new('Sound', plr.Character.Torso)
11
dabbing.Volume = 5
12
dabbing.Pitch = 0.7
13
dabbing.SoundId = 'rbxassetid://437235476'
14
15
function stopAnimations()
16
for _,v in pairs(game.Players.LocalPlayer.Character.Humanoid:GetPlayingAnimationTracks()) do
17
v:Stop()
18
end
19
end
20
21
Bin.Selected:connect(function(mouse) 
22
mouse.Button1Down:connect(function() 
23
local chr = game.Players.LocalPlayer.Character
24
chr.Animate.Disabled = true
25
chr.Torso["Left Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
26
chr.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
27-
game:GetService("Chat"):Chat(plr.Character.Head, "DAAAB", Enum.ChatColor.Blue)
27+
28
dabbing:Play()
29
wait(0.3)
30
local chr = game.Players.LocalPlayer.Character
31
stopAnimations()
32
chr.Animate.Disabled = true
33
chr.Torso["Left Shoulder"].C1 = CFrame.new(0, 0.699999988, 0, 0.939692616, 0, -0.342020124, -0.330366075, -0.258819044, -0.907673359, -0.0885213241, 0.965925813, -0.243210346)
34
chr.Torso["Right Shoulder"].C1 = CFrame.new(-0.600000024, 0.5, -0.200000003, 0.664462984, 0.241844743, 0.707106769, -0.664462984, -0.241844788, 0.707106769, 0.342020154, -0.939692616, -3.09086197e-008)
35
chr.Torso["Neck"].C1 = CFrame.new(0, -0.600000024, 0, -0.866025388, 0.5, 0, -0.171010137, -0.29619807, 0.939692616, 0.469846278, 0.813797653, 0.342020124)
36
wait(2)
37
stopAnimations()
38
chr.Torso["Left Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
39
chr.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
40
chr.Torso["Neck"].C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
41
chr.Animate.Disabled = false
42
end) 
43
end)