DrakerMaker

EhEhEhEh

Oct 27th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.04 KB | None | 0 0
  1. function wbtwe(Part0, Part1, C0)
  2. local weld = Instance.new("Weld", Part0)
  3. weld.Part0 = Part0
  4. weld.Part1 = Part1
  5. weld.C0 = Part1.CFrame:inverse() *Part1.CFrame *C0
  6. return weld
  7. end
  8. squat = 1
  9. nod = 1
  10. hrw = wbtwe(owner.Character.Torso, owner.Character.HumanoidRootPart, CFrame.new(0, 0, 0))
  11. law = wbtwe(owner.Character["Left Arm"], owner.Character.Torso, CFrame.new(1.45, 0, 0.1) *CFrame.Angles(0, 25, 0))
  12. raw = wbtwe(owner.Character["Right Arm"], owner.Character.Torso, CFrame.new(-1.45, 0, 0) *CFrame.Angles(0, 0, 0))
  13. llw = wbtwe(owner.Character["Left Leg"], owner.Character.HumanoidRootPart, CFrame.new(1.2, 1.99, 0) *CFrame.Angles(0, 25, 0))
  14. rlw = wbtwe(owner.Character["Right Leg"], owner.Character.HumanoidRootPart, CFrame.new(-1.2, 1.99, 0) *CFrame.Angles(0, 0, 0))
  15. hw = wbtwe(owner.Character.Head, owner.Character.Torso, CFrame.new(0, -1.45, 0.8) *CFrame.Angles(-0.8, 0, 0))
  16. local sound = Instance.new("Sound", owner.Character.Head)
  17. sound.SoundId = "rbxassetid://2586147657"
  18. sound.Volume = 2
  19. sound.PlaybackSpeed = 1.2
  20. local Distortion = Instance.new("FlangeSoundEffect")
  21. Distortion.Rate = 8
  22. Distortion.Parent = sound
  23. sound:Play()
  24. anim = coroutine.wrap(function()
  25. while game:GetService("RunService").Stepped:wait() do
  26. squat = squat +0.3
  27. nod = nod +0.76
  28. law.C0 = law.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(1.45, 0, 0.1) *CFrame.Angles(math.random(-7, 7), 25, math.random(-7, 7)), 0.1)
  29. raw.C0 = raw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(-1.45, 0, 0.1) *CFrame.Angles(math.random(-7, 7), 0, math.random(-7, 7)), 0.1)
  30. hrw.C0 = hrw.C0:lerp(owner.Character.HumanoidRootPart.CFrame:inverse() *owner.Character.HumanoidRootPart.CFrame *CFrame.new(0, math.sin(squat) *1, 0) *CFrame.Angles(math.rad(math.random(-1, 1)), math.rad(math.random(-1, 1)), math.rad(math.random(-1, 1))), 0.1)
  31. hw.C0 = hw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(0, -1.45, 0.8) *CFrame.Angles(-0.8, math.cos(nod) *0.76, 0), 0.1)
  32. end
  33. end)anim()
Add Comment
Please, Sign In to add comment