SHOW:
|
|
- or go back to the newest paste.
1 | if (game:GetService('RunService'):IsServer()) then return error('This script cannot be ran server-sided, please use hl/',0); end; | |
2 | ||
3 | local server = NS ([[ | |
4 | - | dabbing=Instance.new('Sound', owner.Character.Torso) |
4 | + | |
5 | - | dabbing.Volume = 5 |
5 | + | |
6 | - | dabbing.Pitch = 0.7 |
6 | + | |
7 | - | dabbing.SoundId = 'rbxassetid://437235476' |
7 | + | |
8 | - | dabbing.PlayOnRemove = true |
8 | + | |
9 | - | dabbing.Looped = true |
9 | + | |
10 | ||
11 | local remote = Instance.new ('RemoteFunction', script); | |
12 | remote.OnServerInvoke = function (plr, ...) | |
13 | if (plr == owner) then | |
14 | local dabbing=Instance.new('Sound', owner.Character.Torso) | |
15 | dabbing.Volume = 5 | |
16 | dabbing.Pitch = 0.7 | |
17 | dabbing.SoundId = 'rbxassetid://437235476' | |
18 | local chr = plr.Character | |
19 | chr.Animate.Disabled = true | |
20 | chr.Torso["Left Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
21 | chr.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
22 | game:GetService("Chat"):Chat(plr.Character.Head, "DAAAB", Enum.ChatColor.Blue) | |
23 | chr.Torso["Neck"].C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
24 | dabbing:Play() | |
25 | wait(0.3) | |
26 | stopAnimations() | |
27 | chr.Animate.Disabled = true | |
28 | 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) | |
29 | 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) | |
30 | 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) | |
31 | wait(2) | |
32 | stopAnimations() | |
33 | chr.Torso["Left Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
34 | chr.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
35 | chr.Torso["Neck"].C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
36 | chr.Animate.Disabled = false | |
37 | dabbing:Destroy | |
38 | end; | |
39 | end; | |
40 | remote.Name = 'ServerRemote'; | |
41 | ]], owner.Character):WaitForChild 'ServerRemote'; | |
42 | ||
43 | local plr = game.Players.LocalPlayer | |
44 | local chr = plr.Character | |
45 | local mouse = plr:GetMouse() | |
46 | ||
47 | q = Instance.new('HopperBin', plr.Backpack) | |
48 | q.Name = 'Dab' | |
49 | Bin=q | |
50 | ||
51 | Bin.Selected:connect(function(mouse) | |
52 | mouse.Button1Down:connect(function() | |
53 | server:InvokeServer(); | |
54 | end) | |
55 | end) |