Advertisement
FiveRoNer

Untitled

Jul 18th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.73 KB | None | 0 0
  1. wait(1 / 60)
  2. Effects = { }
  3. local Player = game.Players.localPlayer
  4. local Character = Player.Character
  5. local Humanoid = Character.Humanoid
  6. local mouse = Player:GetMouse()
  7. local LeftArm = Character["Left Arm"]
  8. local RightArm = Character["Right Arm"]
  9. local LeftLeg = Character["Left Leg"]
  10. local RightLeg = Character["Right Leg"]
  11. local Head = Character.Head
  12. local Torso = Character.Torso
  13. local cam = game.Workspace.CurrentCamera
  14. local RootPart = Character.HumanoidRootPart
  15. local RootJoint = RootPart.RootJoint
  16. local equipped = false
  17. local attack = false
  18. local Anim = 'Idle'
  19. local idle = 0
  20. local attacktype = 1
  21. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  22. local velocity = RootPart.Velocity.y
  23. local sine = 0
  24. local change = 1
  25. local grabbed = false
  26. local cn = CFrame.new
  27. local mr = math.rad
  28. local angles = CFrame.Angles
  29. local ud = UDim2.new
  30. local c3 = Color3.new
  31. local autofind = false
  32. game.Players.LocalPlayer.Character.Sound:Destroy()
  33. local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  34. Humanoid.Animator:Destroy()
  35. Character.Animate:Destroy()
  36. EFS = Instance.new("Sound")
  37. EFS.Parent = Torso
  38. EFS.SoundId = "rbxassetid://"
  39. EFS.Volume = 4
  40. EFS.Looped = false
  41. EFS:Play()
  42. EFS2 = Instance.new("Sound")
  43. EFS2.Parent = Torso
  44. EFS2.SoundId = "rbxassetid://177339878"
  45. EFS2.Volume = 0.2
  46. EFS2.Looped = true
  47. EFS2:Play()
  48. EFS3 = Instance.new("Sound")
  49. EFS3.Parent = Torso
  50. EFS3.SoundId = "rbxassetid://585364476"
  51. EFS3.Volume = 0.8
  52. EFS3.Looped = false
  53.  
  54.  
  55.  
  56. ATS = Instance.new("Sound")
  57. ATS.Parent = Torso
  58. ATS.SoundId = "rbxassetid://347611423"
  59. ATS.Volume = 2
  60. ATS.Looped = false
  61.  
  62.  
  63. ff = Instance.new("ForceField", game.Players.LocalPlayer.Character)
  64. ff.Visible = false
  65.  
  66.  
  67. Character.Humanoid.WalkSpeed = 3
  68.  
  69.  
  70.  
  71. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  72. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  73. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  74.  
  75. RSH, LSH = nil, nil
  76.  
  77. RW = Instance.new("Weld")
  78. LW = Instance.new("Weld")
  79.  
  80. RH = Torso["Right Hip"]
  81. LH = Torso["Left Hip"]
  82.  
  83. RSH = Torso["Right Shoulder"]
  84. LSH = Torso["Left Shoulder"]
  85.  
  86. RSH.Parent = nil
  87. LSH.Parent = nil
  88.  
  89. RW.Name = "RW"
  90. RW.Part0 = Torso
  91. RW.C0 = cn(1.5, 0.5, 0)
  92. RW.C1 = cn(0, 0.5, 0)
  93. RW.Part1 = RightArm
  94. RW.Parent = Torso
  95.  
  96. LW.Name = "LW"
  97. LW.Part0 = Torso
  98. LW.C0 = cn(-1.5, 0.5, 0)
  99. LW.C1 = cn(0, 0.5, 0)
  100. LW.Part1 = LeftArm
  101. LW.Parent = Torso
  102.  
  103. function clerp(a, b, t)
  104. local qa = {
  105. QuaternionFromCFrame(a)
  106. }
  107. local qb = {
  108. QuaternionFromCFrame(b)
  109. }
  110. local ax, ay, az = a.x, a.y, a.z
  111. local bx, by, bz = b.x, b.y, b.z
  112. local _t = 1 - t
  113. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  114. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement