Advertisement
ColorblindRBLX

fave (K) was here

Sep 2nd, 2020
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.41 KB | None | 0 0
  1. wait(1/5)
  2. local plr = game.Players.LocalPlayer
  3. local C = plr.Character
  4. local H = C.Humanoid
  5.  
  6. local DebrisService = game:GetService('Debris')
  7. local LARM = C:WaitForChild("Left Arm")
  8. local RARM = C:WaitForChild("Right Arm")
  9. local LLEG = C:WaitForChild("Left Leg")
  10. local RLEG = C:WaitForChild("Right Leg")
  11. local Head = C.Head
  12. local Torso = C.Torso
  13. local Neck = Torso.Neck
  14. local Root = C.HumanoidRootPart
  15. local RootJ = Root.RootJoint
  16. local a = 0
  17.  
  18. --[[ Base Varibles ]]--
  19.  
  20. local cn = CFrame.new
  21. local aa = CFrame.Angles
  22. local ud = UDim2.new
  23. local c3 = Color3.new
  24. local sin = math.sin
  25. local sqrt = math.sqrt
  26. local rad = math.rad
  27. local cos = math.cos
  28. local acos = math.acos
  29. local abs = math.abs
  30. local asin = math.asin
  31. local atan = math.atan
  32. local atan2 = math.atan2
  33. local turn = true
  34. local sit = false
  35. local fist = false
  36. local running = false
  37. local emoting = false
  38. local attack = false
  39. local valid_blood = false
  40. local equiping = false
  41. local valid_hit = true
  42.  
  43. local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  44. local RootCF = aa(-1.57, 0, 3.14)
  45. local RHCF = aa(0, 1.6, 0)
  46. local LHCF = aa(0, -1.6, 0)
  47.  
  48. local LH = Torso:WaitForChild("Left Hip")
  49. local RH = Torso:WaitForChild("Right Hip")
  50. local RSH = Torso:WaitForChild("Right Shoulder")
  51. local LSH = Torso:WaitForChild("Left Shoulder")
  52. RH.Parent = nil
  53. LH.Parent = nil
  54. RSH.Parent = nil
  55. LSH.Parent = nil
  56. local RL = Instance.new("Weld",Torso)
  57. RL.Name = "Right Hip"
  58. RL.Part0 = Torso
  59. RL.C0 = cn(0, 0, 0)
  60. RL.C1 = cn(0.5, 1, 0) * aa(0,1.6,0)
  61. RL.Part1 = RLEG
  62. local LL = Instance.new("Weld",Torso)
  63. LL.Name = "Left Hip"
  64. LL.Part0 = Torso
  65. LL.C0 = cn(0, 0, 0)
  66. LL.C1 = cn(-0.5, 1, 0) * aa(0,-1.6,0)
  67. LL.Part1 = LLEG
  68. local RA = Instance.new("Weld",Torso)
  69. RA.Name = "Right Shoulder"
  70. RA.Part0 = Torso
  71. RA.C0 = cn(1.5, 0.5, 0)
  72. RA.C1 = cn(0, 0.5, 0)
  73. RA.Part1 = RARM
  74. local LA = Instance.new("Weld",Torso)
  75. LA.Name = "Left Shoulder"
  76. LA.Part0 = Torso
  77. LA.C0 = cn(-1.5, 0.5, 0)
  78. LA.C1 = cn(0, 0.5, 0)
  79. LA.Part1 = LARM
  80. LL.C0 = LHCF * cn(0,-1,1)*aa(rad(0),rad(0),rad(0))
  81. RL.C0 = RHCF * cn(0,-1,1)*aa(rad(0),rad(0),rad(0))
  82. local swait = function()
  83.     game:GetService('RunService').Heartbeat:wait(0)
  84. end
  85. function CreateShake(RepeatedFor,OffsetDebounce)
  86.     spawn(function()
  87.         local Camera = g:GetService('Workspace').CurrentCamera
  88.         for i=1,RepeatedFor do swait()
  89.             Camera.CFrame = Camera.CFrame * CFrame.new(math.random()*OffsetDebounce,
  90.              math.random()*OffsetDebounce,
  91.              math.random()*OffsetDebounce)
  92.         end
  93.     end)
  94. end
  95. function RayCast(Position, Direction, Range, Ignore)
  96.     local ht = g:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * Range), Ignore)
  97.     return ht or nil
  98. end
  99. H:WaitForChild('Animator',true):Destroy()
  100. C:WaitForChild('Animate',true):Destroy() turn = false
  101.  
  102. local jupei = true
  103. local time = 0
  104.  
  105. plr.Chatted:Connect(function(message)
  106.    if string.sub((message),1,6) == 'music ' then
  107.        jupeimus.SoundId = 'rbxassetid://'.. string.sub((message),7)
  108.        jupeimus:Play()
  109.    elseif string.sub((message),1,4) == 'vol ' then
  110.        jupeimus.Volume = string.sub((message),5)
  111.        jupeimus:Play()
  112.    elseif string.sub((message),1,4) == 'pos ' then
  113.        time = string.sub((message),5)
  114.    end
  115. end)
  116.  
  117. attack = true
  118. H.JumpPower = 57
  119. H.WalkSpeed = 16
  120. jupeimus = Instance.new("Sound", Torso)
  121. jupeimus.Volume = 2
  122. jupeimus.Pitch = 1
  123. jupeimus.SoundId = "rbxassetid://3540280388"
  124. jupeimus.TimePosition = 0
  125. jupeimus.Looped = true
  126. jupeimus.Name = "Dance"
  127. spawn(function()
  128.    while true do swait()
  129.       a=a+1
  130.    end
  131. end)
  132.     jupeimus.TimePosition = time
  133.     jupeimus:Play()
  134.             for i=0,1,0.05 do swait()
  135.                  RL.C0 = RL.C0:lerp(RHCF * cn(rad(0 * cos(a/25)),rad(0 * cos(a/25))-0.93,1)*aa(rad(0),rad(0),rad(0)+rad(-0.5*cos(a/25))),.0)
  136.                  LL.C0 = LL.C0:lerp(LHCF * cn(rad(1 * cos(a/40)),rad(5 * cos(a/25))-0.93,1)*aa(rad(-20),rad(0)+rad(-1.5*cos(a/25)),rad(0)+rad(0.5*cos(a/25))),.15)
  137.          RA.C0 = RA.C0:lerp(cn(1.49, 0.55 - rad(-2 * cos(a/25)), 0.4) * aa(rad(0),rad(0),rad(0)),.0)
  138.                  LA.C0 = LA.C0:lerp(cn(-1.49, 1 - rad(-4 * cos(a/10)), 0) * aa(rad(182.5),rad(5),rad(-50)),.15)
  139.                  RootJ.C0 = RootJ.C0:lerp(RootCF *cn(rad(0),rad(0*cos(a/25)),-0.05)* cn(0, 0, rad(2 * cos(a/25))) * aa(rad(0)+rad(1.5 * cos(a/25)), rad(0), rad(0)), .0)
  140.                  Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(0)+rad(-5 * sin(a/25)), rad(0), rad(0)), .0)
  141.             end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement