Advertisement
Finnegan5

ravenger 2

Aug 5th, 2017
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 105.51 KB | None | 0 0
  1. showDamage=function(Char,Dealt,du,Color)
  2. m=Instance.new("Model")
  3. m.Name=tostring(Dealt)
  4. h=Instance.new("Humanoid")
  5. h.Health=0
  6. h.MaxHealth=0
  7. h.Parent=m
  8. c=Instance.new("Part")
  9. c.Transparency=0
  10. c.BrickColor=TorsoColor
  11. c.Name="Head"
  12. c.TopSurface=0
  13. c.BottomSurface=0
  14. c.formFactor="Plate"
  15. c.Size=Vector3.new(1,.4,1)
  16. ms=Instance.new("CylinderMesh")
  17. ms.Scale=Vector3.new(.8,.8,.8)
  18. so("http://www.roblox.com/asset/?id=199149269",c,1,1)
  19. if CRIT==true then
  20. ms.Scale=Vector3.new(1,1.25,1)
  21. end
  22. ms.Parent=c
  23. c.Reflectance=0
  24. Instance.new("BodyGyro").Parent=c
  25. c.Parent=m
  26. if Char:findFirstChild("Head")~=nil then
  27. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  28. elseif Char.Parent:findFirstChild("Head")~=nil then
  29. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  30. end
  31. f=Instance.new("BodyPosition")
  32. f.P=2000
  33. f.D=100
  34. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  35. f.position=c.Position+Vector3.new(0,3,0)
  36. f.Parent=c
  37. game:GetService("Debris"):AddItem(m,.5+du)
  38. c.CanCollide=false
  39. m.Parent=workspace
  40. c.CanCollide=false
  41. end
  42.  
  43. Player=game:GetService('Players').LocalPlayer
  44. Character=Player.Character
  45. Mouse=Player:GetMouse()
  46. m=Instance.new('Model',Character)
  47.  
  48.  
  49. local function weldBetween(a, b)
  50. local weldd = Instance.new("ManualWeld")
  51. weldd.Part0 = a
  52. weldd.Part1 = b
  53. weldd.C0 = CFrame.new()
  54. weldd.C1 = b.CFrame:inverse() * a.CFrame
  55. weldd.Parent = a
  56. return weldd
  57. end
  58.  
  59. it=Instance.new
  60.  
  61. function nooutline(part)
  62. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  63. end
  64.  
  65. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  66. local fp=it("Part")
  67. fp.formFactor=formfactor
  68. fp.Parent=parent
  69. fp.Reflectance=reflectance
  70. fp.Transparency=transparency
  71. fp.CanCollide=false
  72. fp.Locked=true
  73. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  74. fp.Name=name
  75. fp.Size=size
  76. fp.Position=Character.Torso.Position
  77. nooutline(fp)
  78. fp.Material=material
  79. fp:BreakJoints()
  80. return fp
  81. end
  82.  
  83. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  84. local mesh=it(Mesh)
  85. mesh.Parent=part
  86. if Mesh=="SpecialMesh" then
  87. mesh.MeshType=meshtype
  88. mesh.MeshId=meshid
  89. end
  90. mesh.Offset=offset
  91. mesh.Scale=scale
  92. return mesh
  93. end
  94.  
  95. function weld(parent,part0,part1,c0,c1)
  96. local weld=it("Weld")
  97. weld.Parent=parent
  98. weld.Part0=part0
  99. weld.Part1=part1
  100. weld.C0=c0
  101. weld.C1=c1
  102. return weld
  103. end
  104.  
  105. local modelzorz=Instance.new("Model")
  106. modelzorz.Parent=Character
  107. modelzorz.Name="Claw1"
  108.  
  109. Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  110. Handleweld=weld(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.74455023, 0.843135834, 3.31332064, 0.866820872, 0.000393055088, -0.498619556, 0.129048944, -0.966104209, 0.223582461, -0.481630623, -0.258152217, -0.837489963))
  111. mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  112. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  113. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.89693689, 0.0205960274, 1.83752108, 0.00084605813, 0.865680099, -0.500597, -0.999998748, 2.925843e-005, -0.00163948536, -0.00140464306, 0.500597715, 0.865678906))
  114. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  115. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0205993652, 3.97038841, -4.62090921, -0.999998689, 2.810359e-005, -0.00163501501, 0.00158691406, 0.25815019, -0.966103554, 0.0003949448, -0.966104805, -0.258149862))
  116. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  117. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  118. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.18639517, -0.292996764, 3.91572571, -0.407002717, 0.123095758, -0.905094743, -0.483149111, -0.869928718, 0.098949343, -0.775187671, 0.477568328, 0.413536996))
  119. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  120. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.62196398, -0.29297936, 1.11572647, -0.835932732, 0.424737811, -0.347583354, -0.483153641, -0.869926155, 0.0989501327, -0.260344028, 0.250651836, 0.932413459))
  121. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  122. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.55920649, -0.210347176, 1.642519, -0.865201712, -0.000320911407, -0.501423895, -2.98991799e-005, -0.999999881, 0.000691637397, -0.501424074, 0.000613339245, 0.865201592))
  123. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  124. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.931638, -0.0751047134, 4.50077248, -0.352038473, 0.176153034, -0.919260144, -0.86644727, -0.432817101, 0.248874903, -0.354031444, 0.884103954, 0.304995537))
  125. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  126. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.34771347, -0.763819337, 1.31078529, 0.484322906, -0.259408951, -0.835546851, 0.129806682, 0.965767562, -0.224595979, 0.865206063, 0.000317394733, 0.501416266))
  127. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  128. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.85524988, -0.0749192238, 1.7092638, -0.499263257, 0.749717236, -0.434350491, -0.866449237, -0.432811975, 0.248876765, -0.00140497088, 0.500597596, 0.865678906))
  129. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  130. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.76954031, -0.210381031, 4.2438035, -0.257231236, -0.00066010654, -0.966349661, -3.04505229e-005, -0.999999762, 0.000691249967, -0.966350019, 0.000207226723, 0.257231265))
  131. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  132. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.87043977, 0.020611763, 4.62094831, 0.00159165263, 0.258152187, -0.966103137, -0.999998748, 2.89455056e-005, -0.00163969398, -0.000395349402, 0.966104329, 0.258151829))
  133. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  134. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.292981744, 4.28636312, -3.9157095, -0.48314926, -0.869928479, 0.0989517197, -0.407004297, 0.123094313, -0.905094087, 0.775186777, -0.477569282, -0.413537562))
  135. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  136. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  137. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.85442352, -0.763632059, 3.85966015, -0.269319534, -0.183654502, -0.945377231, 0.129806384, 0.96576786, -0.22459501, 0.954262853, -0.183203816, -0.236260682))
  138. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  139. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0751276016, 4.03159618, -4.50067854, -0.866445661, -0.432817698, 0.248879611, -0.352042913, 0.176151246, -0.919258773, 0.354030937, -0.884103894, -0.304995805))
  140. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  141. Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  142. Gearweld=weld(m,Handle,Gear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0552597046, -0.0398271084, -0.0363032818, 0.999988854, -3.23429704e-005, 0.00164097548, 3.37436795e-005, 0.999994695, -0.000689953566, -0.00164103508, 0.000689953566, 0.999993086))
  143. mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  144. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  145. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.210398674, 3.86948943, -4.24380398, -3.15159559e-005, -0.999999881, 0.00069090724, -0.257231474, -0.000659480691, -0.966349721, 0.966349959, -0.000208158046, -0.257231474))
  146. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  147. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  148. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.763661504, 3.95439076, 3.85964441, -0.129806131, -0.965767682, 0.224596098, -0.269319892, -0.1836555, -0.945376873, 0.954262733, -0.183203891, -0.236260891))
  149. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  150.  
  151. local modelzorz2=Instance.new("Model")
  152. modelzorz2.Parent=Character
  153. modelzorz2.Name="Claw2"
  154.  
  155. Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  156. Handle2weld=weld(m,Character["Torso"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.65693045, 1.66835713, 2.9684639, 0.866025746, 0.129405379, 0.482963592, -3.67555799e-006, -0.965926409, 0.258817136, 0.499999553, -0.224144042, -0.836516559))
  157. mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  158. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  159. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.66774845, 0.445008755, 1.50737095, 0.749997497, 0.500002265, -0.433014721, -0.433012635, 0.866024196, 0.250004709, 0.500004232, -2.02655792e-006, 0.866023183))
  160. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  161. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.70916891, 0.288796425, 1.12511444, 0.424947768, 0.836517453, -0.34591651, -0.870010257, 0.482961774, 0.0991482884, 0.250003695, 0.25881803, 0.933012009))
  162. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  163. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.24143982, 0.288818121, 3.98402214, 0.123706907, 0.408494055, -0.904339194, -0.870007515, 0.482966691, 0.0991476029, 0.477266878, 0.774516642, 0.415139139))
  164. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  165. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.288883209, 4.34139919, -3.98407936, -0.870006502, 0.482969046, 0.099145025, 0.123710275, 0.408492953, -0.904339135, -0.477267861, -0.774515808, -0.415139765))
  166. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  167. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  168. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.377311707, 3.81443644, -4.17874861, 1.43051147e-006, 1.00000012, 5.58793545e-006, 0.258813858, 5.02169132e-006, -0.965927303, -0.965927362, 2.82377005e-006, -0.258813858))
  169. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  170. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  171. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.11095357, 0.452475548, 3.33581829, 0.214266971, -0.258726388, -0.941886604, 0.124996454, -0.949091196, 0.289140463, -0.968744338, -0.179685742, -0.171018958))
  172. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  173. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.445028067, 4.04179811, -4.22505188, -0.433007121, 0.86602807, 0.250001073, 0.176776409, 0.353552371, -0.918559194, -0.883886516, -0.353548348, -0.306183964))
  174. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  175. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  176. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.71447492, 0.377288342, 4.1787672, 0.258815825, 7.89761543e-007, -0.965926647, 2.11596489e-006, 1.00000012, 1.35600567e-006, 0.965926886, -2.41398811e-006, 0.258815885))
  177. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  178. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.452456236, 4.21090841, 3.33576679, -0.124996543, 0.949091196, -0.289140046, 0.214267105, -0.25872606, -0.941886783, -0.968744338, -0.179685771, -0.171019137))
  179. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  180. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  181. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.94182658, 0.445016861, 4.22507095, 0.176774979, 0.353554398, -0.918558657, -0.433007926, 0.866026998, 0.250003278, 0.883886337, 0.353548825, 0.306183696))
  182. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  183. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.256506443, 3.92671657, -4.59811449, -1.00000024, 2.62260437e-006, 1.4603138e-006, -7.4505806e-007, 0.258819073, -0.965925872, -2.89268792e-006, -0.965925932, -0.258819073))
  184. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  185. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  186. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.4743073, 0.377253056, 1.63544273, 0.866023183, -4.61935997e-007, -0.500004172, 1.52736902e-006, 1.00000012, 1.65402889e-006, 0.500004232, -2.21282244e-006, 0.866023183))
  187. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  188. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15870619, 0.452619314, 0.758959055, -0.533491194, -0.310006529, -0.786945462, 0.124997422, -0.949090362, 0.289142251, -0.836518347, 0.0558886975, 0.545081377))
  189. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  190. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.84976673, 0.256440639, 1.85214663, 6.2584877e-007, 0.866025329, -0.500000298, -1.00000024, 1.72108412e-006, 1.7285347e-006, 2.38418579e-006, 0.500000298, 0.866025329))
  191. Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  192. Gear2weld=weld(m,Handle2,Gear2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.049841404, 0.049908638, 2.78949738e-005, 0.999990344, -5.01424074e-006, -1.49011612e-007, 5.28991222e-006, 0.999994934, 2.98023224e-008, 2.38418579e-007, -1.63912773e-007, 0.999994636))
  193. mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  194. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  195. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.82676554, 0.256523609, 4.598104, -1.1920929e-006, 0.258818835, -0.965925872, -1.00000012, 1.46776438e-006, 1.63912773e-006, 1.83098018e-006, 0.965925872, 0.258818835))
  196.  
  197. local modelzorz3=Instance.new("Model")
  198. modelzorz3.Parent=Character
  199. modelzorz3.Name="Eye"
  200.  
  201. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  202. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.22326851, -3.5562191, -0.038143158, 0, 0, 1, 0, 1, 0, -1, 0, 0))
  203. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1))
  204. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  205. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  206. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 0.950000048, 1.16999996))
  207. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  208. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  209. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 3, 0.863999963))
  210. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(3.79999995, 4, 1.39999998))
  211. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
  212. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.77400017, 4.96199989, 4.73800039))
  213. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998))
  214. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
  215. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.4920001, 4.70400047, 4.73800039))
  216. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  217. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.48671532, -1.09328079, 1, -2.52891718e-012, -6.81310423e-013, 2.53075664e-012, 0.866021812, 0.500005603, -6.74442273e-013, -0.500005603, 0.866021752))
  218. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  219. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100009918, -3.09970522, 1.40989685, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  220. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  221. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100009918, -3.09970522, 1.39007568, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702))
  222. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  223. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.61302567, 0.360752106, 1, -3.69486299e-012, 1.70532143e-012, 3.81851625e-012, 0.707111537, -0.707102001, 1.40679254e-012, 0.70710206, 0.707111537))
  224. local moosick = it("Sound",Character)
  225. moosick.SoundId = "rbxassetid://142653441"
  226. --142653441, 175067863
  227. moosick.Looped = true
  228. moosick.Pitch = 1
  229. moosick.Volume = 1
  230. moosick:Play()
  231. Player = game:GetService("Players").LocalPlayer
  232. Character = Player.Character
  233. PlayerGui = Player.PlayerGui
  234. Backpack = Player.Backpack
  235. Torso = Character.Torso
  236. Head = Character.Head
  237. Humanoid = Character.Humanoid
  238. RootPart = Character.HumanoidRootPart
  239. RootJoint = RootPart.RootJoint
  240. LeftArm = Character["Left Arm"]
  241. LeftLeg = Character["Left Leg"]
  242. RightArm = Character["Right Arm"]
  243. RightLeg = Character["Right Leg"]
  244. LS = Torso["Left Shoulder"]
  245. LH = Torso["Left Hip"]
  246. RS = Torso["Right Shoulder"]
  247. RH = Torso["Right Hip"]
  248. Humanoid.MaxHealth = math.huge
  249. wait()
  250. Humanoid.Health = Humanoid.MaxHealth
  251. local BC = Character["Body Colors"]
  252. BC.HeadColor = BrickColor.new("White")
  253. BC.LeftArmColor = BrickColor.new("White")
  254. BC.LeftLegColor = BrickColor.new("White")
  255. BC.RightArmColor = BrickColor.new("White")
  256. BC.RightLegColor = BrickColor.new("White")
  257. BC.TorsoColor = BrickColor.new("White")
  258. for i,v in pairs(Character:children()) do
  259. if v:IsA("Shirt") then
  260. v:Destroy()
  261. end
  262. end
  263. for i,v in pairs(Character:children()) do
  264. if v:IsA("Pants") then
  265. v:Destroy()
  266. end
  267. end
  268. ------Face----------
  269. Character.Head.face.Texture = "rbxassetid://840490876"
  270. ------Remover-------
  271.  
  272. ------Heavy---------
  273. CV="Maroon"
  274. Player = game.Players.LocalPlayer
  275. char = Player.Character
  276. local txt = Instance.new("BillboardGui", Character)
  277. txt.Adornee = Character .Head
  278. txt.Name = "_status"
  279. txt.Size = UDim2.new(2, 0, 1.2, 0)
  280. txt.StudsOffset = Vector3.new(-9, 8, 0)
  281. local text = Instance.new("TextLabel", txt)
  282. text.Size = UDim2.new(10, 0, 7, 0)
  283. text.FontSize = "Size24"
  284. text.TextScaled = true
  285. text.TextTransparency = 0
  286. text.BackgroundTransparency = 1
  287. text.TextTransparency = 0
  288. text.TextStrokeTransparency = 0
  289. text.Font = "Cartoon"
  290. text.TextStrokeColor3 = Color3.new(255,255,255)
  291.  
  292. v=Instance.new("Part")
  293. v.Name = "ColorBrick"
  294. v.Parent=Player.Character
  295. v.FormFactor="Symmetric"
  296. v.Anchored=true
  297. v.CanCollide=false
  298. v.BottomSurface="Smooth"
  299. v.TopSurface="Smooth"
  300. v.Size=Vector3.new(10,5,3)
  301. v.Transparency=1
  302. v.CFrame=Character.Torso.CFrame
  303. v.BrickColor=BrickColor.new(CV)
  304. v.Transparency=1
  305. text.TextColor3 = Color3.new(255,255,255)
  306. v.Shape="Block"
  307. text.Text = "The Dancing Ravenger"
  308. --------------------
  309. shirt = Instance.new("Shirt", Character)
  310. shirt.Name = "Shirt"
  311. pants = Instance.new("Pants", Character)
  312. pants.Name = "Pants"
  313. Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=337059031"
  314. Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=337059100"
  315. sound = Instance.new("Sound", Character)
  316. sound.SoundId = "rbxassetid://537549688"
  317. sound.Volume = 0
  318. sound.EmitterSize = 25
  319. sound:Play()
  320. sound.Looped = true
  321. Face = Head.face
  322. Neck = Torso.Neck
  323. it = Instance.new
  324. vt = Vector3.new
  325. cf = CFrame.new
  326. rad = math.rad
  327. euler = CFrame.fromEulerAnglesXYZ
  328. angles = CFrame.Angles
  329. Mouse = Player:GetMouse()
  330. coroutine.resume(coroutine.create(function()
  331. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  332. Text = "Fixed by PixelFir3 / Cortana#8155";
  333. Color = Color3.new(0, 1, 1);
  334. Font = Enum.Font.Code;
  335. FontSize = Enum.FontSize.Size24;
  336. })
  337. end))
  338. ArtificialHB = Instance.new("BindableEvent", script)
  339. ArtificialHB.Name = "ArtificialHB"
  340. script:WaitForChild("ArtificialHB")
  341. frame = 0.016666666666667
  342. tf = 0
  343. allowframeloss = false
  344. tossremainder = false
  345. lastframe = tick()
  346. script.ArtificialHB:Fire()
  347. game:GetService("RunService").Heartbeat:connect(function(s, p)
  348.  
  349. tf = tf + s
  350. if frame <= tf then
  351. if allowframeloss then
  352. script.ArtificialHB:Fire()
  353. lastframe = tick()
  354. else
  355. for i = 1, math.floor(tf / frame) do
  356. script.ArtificialHB:Fire()
  357. end
  358. lastframe = tick()
  359. end
  360. if tossremainder then
  361. tf = 0
  362. else
  363. tf = tf - frame * math.floor(tf / frame)
  364. end
  365. end
  366. end
  367. )
  368. local animationspeed = 2
  369. hbwait = function(number)
  370.  
  371. if number == 0 or number == nil then
  372. ArtificialHB.Event:wait()
  373. else
  374. for i = 0, number do
  375. ArtificialHB.Event:wait()
  376. end
  377. end
  378. end
  379.  
  380. local Stats = Instance.new("Folder", Character)
  381. Stats.Name = "Stats"
  382. local Defense = Instance.new("NumberValue", Stats)
  383. Defense.Name = "Defense"
  384. Defense.Value = 0.1
  385. local Movement = Instance.new("NumberValue", Stats)
  386. Movement.Name = "Movement"
  387. Movement.Value = 0.35
  388. local Damage = Instance.new("NumberValue", Stats)
  389. Damage.Name = "Damage"
  390. Damage.Value = 0
  391. local Mana = Instance.new("NumberValue", Stats)
  392. Mana.Name = "Mana"
  393. Mana.Value = 0
  394. local Rooted = Instance.new("BoolValue", Stats)
  395. Rooted.Name = "Rooted"
  396. Rooted.Value = false
  397. local BlockValue = Instance.new("BoolValue", Stats)
  398. BlockValue.Name = "BlockValue"
  399. BlockValue.Value = false
  400. local StaggerHitAnim = Instance.new("BoolValue", Stats)
  401. StaggerHitAnim.Name = "StaggerHitAnim"
  402. StaggerHitAnim.Value = false
  403. local StaggerAnim = Instance.new("BoolValue", Stats)
  404. StaggerAnim.Name = "StaggerAnim"
  405. StaggerAnim.Value = false
  406. local StunAnim = Instance.new("BoolValue", Stats)
  407. StunAnim.Name = "StunAnim"
  408. StunAnim.Value = false
  409. local StunValue = Instance.new("NumberValue", Stats)
  410. StunValue.Name = "StunValue"
  411. StunValue.Value = 0
  412. local CanCrit = Instance.new("BoolValue", Stats)
  413. CanCrit.Name = "CanCrit"
  414. CanCrit.Value = false
  415. local CritChance = Instance.new("NumberValue", Stats)
  416. CritChance.Name = "CritChance"
  417. CritChance.Value = 20
  418. local CanPenetrateArmor = Instance.new("BoolValue", Stats)
  419. CanPenetrateArmor.Name = "CanPenetrateArmor"
  420. CanPenetrateArmor.Value = false
  421. local AntiTeamKill = Instance.new("BoolValue", Stats)
  422. AntiTeamKill.Name = "AntiTeamKill"
  423. AntiTeamKill.Value = false
  424. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  425. RootCF = angles(rad(-90), 0, rad(180))
  426. local idle = 0
  427. local Anim = "Idle"
  428. local animtype = math.floor(math.random(1, 3))
  429. local attacktype = 1
  430. local attack = false
  431. local equipped = false
  432. local LastPoint = nil
  433. local staggerhitanim = false
  434. local staggeranim = false
  435. local stunanim = false
  436. local CritChanceNumber = 0
  437. local idlen = 0
  438. local donum = 0
  439. local sine = 0
  440. local change = 2 / animationspeed
  441. local walkinganim = false
  442. local handidle = false
  443. local walk = 0
  444. local stundelay = 0
  445. local manadelay = 0
  446. local robloxidleanimation = Instance.new("Animation", Torso)
  447. robloxidleanimation.Name = "robloxidleanimation"
  448. robloxidleanimation.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  449. local Animator = Humanoid:FindFirstChild("Animator")
  450. local Animate = Character:FindFirstChild("Animate")
  451. local HitPlayerSounds = {199149137, 199149186, 199149221, 199149235, 199149269, 199149297}
  452. local HitArmorSounds = {199149321, 199149338, 199149367, 199149409, 199149452}
  453. local HitWeaponSounds = {199148971, 199149025, 199149072, 199149109, 199149119}
  454. local HitBlockSounds = {199148933, 199148947}
  455. local cooldown1 = 0
  456. local cooldown2 = 0
  457. local cooldown3 = 0
  458. local cooldown4 = 0
  459. local scrn = Instance.new("ScreenGui", PlayerGui)
  460. local ud = UDim2.new
  461. local c3 = Color3.new
  462. local skillcolorscheme = c3(1, 1, 1)
  463. subtractmana = function(k)
  464.  
  465. if k <= Mana.Value then
  466. Mana.Value = Mana.Value - k
  467. end
  468. end
  469.  
  470. local co1 = 0
  471. local co2 = 0
  472. local co3 = 0
  473. local co4 = 0
  474. local maxmana = 0
  475. local maxstun = 1
  476. local recovermana = 0
  477. local losestun = 0
  478. local stunwait = 0
  479. local manawait = 0
  480. local skill1mana = 0
  481. local skill2mana = 0
  482. local skill3mana = 0
  483. local skill4mana = 0
  484. local menuupdatespeed = 0
  485. local constantupdate = false
  486. local showstats = false
  487. local allowstunbar = false
  488. local CustomColor = Torso.BrickColor
  489. local Colorpart1 = CustomColor.r
  490. local Colorpart2 = CustomColor.g
  491. local Colorpart3 = CustomColor.b
  492. local InverseColor = BrickColor.new(Color3.new(1 - Colorpart1, 1 - Colorpart2, 1 - Colorpart3))
  493. makeframe = function(par, trans, pos, size, color, name)
  494.  
  495. local frame = Instance.new("Frame")
  496. frame.Parent = par
  497. frame.BackgroundTransparency = trans
  498. frame.BorderSizePixel = 2
  499. frame.Position = pos
  500. frame.Size = size
  501. frame.BackgroundColor3 = color
  502. frame.Name = name
  503. return frame
  504. end
  505.  
  506. makelabel = function(par, text, trans, stroketrans, name)
  507.  
  508. local label = Instance.new("TextLabel")
  509. label.Parent = par
  510. label.BackgroundTransparency = 1
  511. label.Size = ud(1, 0, 1, 0)
  512. label.Position = ud(0, 0, 0, 0)
  513. label.TextColor3 = c3(255, 255, 255)
  514. label.TextStrokeTransparency = stroketrans
  515. label.TextTransparency = trans
  516. label.FontSize = Enum.FontSize.Size32
  517. label.Font = Enum.Font.Legacy
  518. label.BorderSizePixel = 0
  519. label.TextScaled = true
  520. label.Text = text
  521. label.Name = name
  522. return label
  523. end
  524.  
  525. framesk1 = makeframe(scrn, 0.5, ud(0.23, 0, 0.93, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 1")
  526. framesk2 = makeframe(scrn, 0.5, ud(0.5, 0, 0.93, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 2")
  527. framesk3 = makeframe(scrn, 0.5, ud(0.5, 0, 0.86, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 3")
  528. framesk4 = makeframe(scrn, 0.5, ud(0.23, 0, 0.86, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 4")
  529. bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 1")
  530. bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 2")
  531. bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 3")
  532. bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 4")
  533. text1 = makelabel(framesk1, "[C] Ability 3", 1, 1, "Text 1")
  534. text2 = makelabel(framesk2, "[V] Ability 4", 1, 1, "Text 2")
  535. text3 = makelabel(framesk3, "[X] Ability 2", 1, 1, "Text 3")
  536. text4 = makelabel(framesk4, "[Z] Ability 1", 1, 1, "Text 4")
  537. manabar = makeframe(scrn, 0.5, ud(0.23, 0, 0.82, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Mana Bar")
  538. manacover = makeframe(manabar, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Mana Cover")
  539. manatext = makelabel(manabar, "Mana", 1, 1, "Mana Text")
  540. healthbar = makeframe(scrn, 0.5, ud(0.5, 0, 0.82, 0), ud(0.26, 0, 0, 0), c3(1, 0.19607843137255, 0.19607843137255), "Health Bar")
  541. healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(1, 0.19607843137255, 0.19607843137255), "Health Cover")
  542. healthtext = makelabel(healthbar, "Health", 1, 1, "Health Text")
  543. if allowstunbar == true then
  544. stunframe = makeframe(scrn, 0.5, ud(0.5, 0, 0.78, 0), ud(0.26, 0, 0, 0), c3(1, 1, 0.19607843137255), "Stun Frame")
  545. stunbar = makeframe(stunframe, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(1, 1, 0.19607843137255), "Stun Bar")
  546. stuntext = makelabel(stunframe, "Stun", 1, 1, "Stun Text")
  547. end
  548. if showstats == true then
  549. defenseframe = makeframe(scrn, 0.5, ud(0.23, 0, 0.78, 0), ud(0.075, 0, 0, 0), c3(0.3921568627451, 0.3921568627451, 1), "Defense Frame")
  550. damageframe = makeframe(scrn, 0.5, ud(0.3225, 0, 0.78, 0), ud(0.075, 0, 0, 0), c3(1, 0.3921568627451, 0.3921568627451), "Damage Frame")
  551. movementframe = makeframe(scrn, 0.5, ud(0.415, 0, 0.78, 0), ud(0.075, 0, 0, 0), c3(0.3921568627451, 1, 0.3921568627451), "Movement Frame")
  552. defensetext = makelabel(defenseframe, "Defense: " .. Defense.Value, 1, 1, "Defense Text")
  553. damagetext = makelabel(damageframe, "Damage: " .. Damage.Value, 1, 1, "Damage Text")
  554. movementtext = makelabel(movementframe, "Movement: " .. Movement.Value, 1, 1, "Movement Text")
  555. end
  556. NoOutline = function(Part)
  557.  
  558. Part.TopSurface = 10
  559. end
  560.  
  561. local weldBetween = function(a, b)
  562.  
  563. local weldd = Instance.new("ManualWeld")
  564. weldd.Part0 = a
  565. weldd.Part1 = b
  566. weldd.C0 = CFrame.new()
  567. weldd.C1 = b.CFrame:inverse() * a.CFrame
  568. weldd.Parent = a
  569. return weldd
  570. end
  571.  
  572. nooutline = function(part)
  573.  
  574. part.TopSurface = 10
  575. end
  576.  
  577. part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  578.  
  579. local fp = it("Part")
  580. fp.formFactor = formfactor
  581. fp.Parent = parent
  582. fp.Reflectance = reflectance
  583. fp.Transparency = transparency
  584. fp.CanCollide = false
  585. fp.Locked = true
  586. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  587. fp.Name = name
  588. fp.Size = size
  589. fp.Position = Character.Torso.Position
  590. nooutline(fp)
  591. fp.Material = material
  592. fp:BreakJoints()
  593. return fp
  594. end
  595.  
  596. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  597.  
  598. local mesh = it(Mesh)
  599. mesh.Parent = part
  600. if Mesh == "SpecialMesh" then
  601. mesh.MeshType = meshtype
  602. mesh.MeshId = meshid
  603. end
  604. mesh.Offset = offset
  605. mesh.Scale = scale
  606. return mesh
  607. end
  608.  
  609. weld = function(parent, part0, part1, c0, c1)
  610.  
  611. local weld = it("Motor")
  612. weld.Parent = parent
  613. weld.Part0 = part0
  614. weld.Part1 = part1
  615. weld.C0 = c0
  616. weld.C1 = c1
  617. return weld
  618. end
  619.  
  620. local WeaponName = "Russian Kick"
  621. local ClassName = "Russian Kick"
  622. local PlayerSize = 1
  623. local RWC0 = cf(-0.5, 0, 0) * angles(rad(0), rad(90), rad(0))
  624. local LWC0 = cf(0.5, 0, 0) * angles(rad(0), rad(-90), rad(0))
  625. if PlayerSize ~= 1 then
  626. RootPart.Size = RootPart.Size * PlayerSize
  627. Torso.Size = Torso.Size * PlayerSize
  628. Head.Size = Head.Size * PlayerSize
  629. RightArm.Size = RightArm.Size * PlayerSize
  630. LeftArm.Size = LeftArm.Size * PlayerSize
  631. RightLeg.Size = RightLeg.Size * PlayerSize
  632. LeftLeg.Size = LeftLeg.Size * PlayerSize
  633. RootJoint.Parent = RootPart
  634. Neck.Parent = Torso
  635. LS.Parent = Torso
  636. RS.Parent = Torso
  637. LH.Parent = Torso
  638. RH.Parent = Torso
  639. RootJoint.C0 = RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0))
  640. Neck.C0 = necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0))
  641. Neck.C1 = angles(rad(90), rad(180), 0) * cf(0, 0, -0.5 * PlayerSize)
  642. RS.C0 = cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0
  643. LS.C0 = cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0
  644. RS.C1 = angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  645. LS.C1 = angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  646. RH.C0 = cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0))
  647. LH.C0 = cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0))
  648. RH.C1 = angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  649. LH.C1 = angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  650. for _,v in pairs(Character:GetChildren()) do
  651. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  652. v.Parent = nil
  653. v.Parent = Character
  654. v.Handle.Mesh.Scale = v.Handle.Mesh.Scale * PlayerSize
  655. for _,b in pairs(v.Handle:GetChildren()) do
  656. if b.ClassName == "Weld" or b.ClassName == "Motor" then
  657. local p1 = b.Part1
  658. b.Part1 = nil
  659. local c01, c02, c03, c04, c05, c06, c07, c08, c09, c010, c011, c012 = b.C0:components()
  660. local c11, c12, c13, c14, c15, c16, c17, c18, c19, c110, c111, c112 = b.C1:components()
  661. b.C0 = cf(c01 * PlayerSize, c02 * PlayerSize, c03 * PlayerSize, c04, c05, c06, c07, c08, c09, c010, c011, c012)
  662. b.C1 = cf(c11 * PlayerSize, c12 * PlayerSize, c13 * PlayerSize, c14, c15, c16, c17, c18, c19, c110, c111, c112)
  663. b.Part1 = p1
  664. end
  665. end
  666. end
  667. end
  668. end
  669. m = Instance.new("Model", Character)
  670. m.Name = WeaponName
  671. Effects = Instance.new("Folder", m)
  672. Effects.Name = "Effects"
  673. Humanoid.Died:connect(function()
  674.  
  675. attack = true
  676. for _,v in pairs(Character:GetChildren()) do
  677. if v.ClassName == "Model" then
  678. v:Destroy()
  679. end
  680. end
  681. end
  682. )
  683. for i,v in pairs(Character:GetChildren()) do
  684. if v.ClassName == "Model" then
  685. for _,c in pairs(v:GetChildren()) do
  686. if c.ClassName == "Part" then
  687. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  688. end
  689. end
  690. end
  691. end
  692. print(ClassName .. " loaded.")
  693. clerp = function(a, b, t)
  694. return a:lerp(b, t)
  695. end
  696.  
  697. positiveangle = function(number)
  698.  
  699. if number > 0 then
  700. number = 0
  701. end
  702. return number
  703. end
  704.  
  705. negativeangle = function(number)
  706.  
  707. if number < 0 then
  708. number = 0
  709. end
  710. return number
  711. end
  712.  
  713. so = function(id, par, vol, pit)
  714.  
  715. coroutine.resume(coroutine.create(function()
  716.  
  717. local sou = Instance.new("Sound", par or workspace)
  718. sou.Volume = vol
  719. sou.Pitch = pit or 1
  720. sou.SoundId = "http://roblox.com/asset/?id=" .. id
  721. hbwait()
  722. sou:play()
  723. game:GetService("Debris"):AddItem(sou, 10)
  724. end
  725. ))
  726. end
  727.  
  728. GetDistance = function(Part1, Part2, magnitude)
  729.  
  730. local target = Part1.Position - Part2.Position
  731. local mag = target.magnitude
  732. if mag <= magnitude then
  733. return true
  734. else
  735. return false
  736. end
  737. end
  738.  
  739. rayCast = function(Pos, Dir, Max, Ignore)
  740.  
  741. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  742. end
  743.  
  744. DamageStatLabel = function(labeltype, cframe, text, color)
  745.  
  746. local c = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt(0, 0, 0))
  747. c.CFrame = cf(cframe.p + vt(0, 1.5, 0))
  748. game:GetService("Debris"):AddItem(c, 5)
  749. Instance.new("BodyGyro", c)
  750. local f = Instance.new("BodyPosition", c)
  751. f.P = 2000
  752. f.D = 100
  753. f.maxForce = vt(math.huge, math.huge, math.huge)
  754. if labeltype == "Normal" then
  755. f.position = c.Position + vt(math.random(-2, 2), 6, math.random(-2, 2))
  756. else
  757. if labeltype == "Debuff" then
  758. f.position = c.Position + vt(math.random(-2, 2), 8, math.random(-2, 2))
  759. else
  760. if labeltype == "Interruption" then
  761. f.position = c.Position + vt(math.random(-2, 2), 8, math.random(-2, 2))
  762. end
  763. end
  764. end
  765. game:GetService("Debris"):AddItem(c, 5)
  766. local bg = Instance.new("BillboardGui", c)
  767. bg.Adornee = c
  768. bg.Size = UDim2.new(2.5, 0, 2.5, 0)
  769. bg.StudsOffset = vt(-2, 2, 0)
  770. bg.AlwaysOnTop = false
  771. local tl = Instance.new("TextLabel", bg)
  772. tl.BackgroundTransparency = 1
  773. tl.Size = UDim2.new(2.5, 0, 2.5, 0)
  774. tl.Text = text
  775. tl.Font = Enum.Font.SourceSans
  776. tl.FontSize = Enum.FontSize.Size42
  777. tl.TextColor3 = color
  778. tl.TextScaled = false
  779. tl.TextStrokeTransparency = 0
  780. tl.TextScaled = true
  781. tl.TextWrapped = true
  782. f.Parent = c
  783. coroutine.resume(coroutine.create(function(Part, BodyPosition, TextLabel)
  784.  
  785. wait(0.25)
  786. for i = 1, 5 do
  787. wait()
  788. BodyPosition.position = Part.Position - vt(0, 0.5, 0)
  789. end
  790. wait(1.25)
  791. for i = 1, 5 do
  792. wait()
  793. TextLabel.TextTransparency = TextLabel.TextTransparency + 0.2
  794. TextLabel.TextStrokeTransparency = TextLabel.TextStrokeTransparency + 0.2
  795. BodyPosition.position = Part.Position + vt(0, 0.5, 0)
  796. end
  797. Part.Parent = nil
  798. end
  799. ), c, f, tl)
  800. end
  801.  
  802. IncreaseStat = function(Location, Stat, Amount, Duration, ShowTheStat)
  803.  
  804. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  805.  
  806. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  807.  
  808. if Location:FindFirstChild("Stats") ~= nil and Location.Stats:FindFirstChild("BlockValue") ~= nil and Location.Stats:FindFirstChild("BlockValue").Value ~= true and Location.Stats[Stat] ~= nil then
  809. Location.Stats[Stat].Value = Location.Stats[Stat].Value + Amount
  810. if ShowTheStat == true then
  811. if Stat == "Defense" then
  812. DamageStatLabel("Debuff", Location.Head.CFrame, "+Defense", c3(1, 1, 1))
  813. else
  814. if Stat == "Damage" then
  815. DamageStatLabel("Debuff", Location.Head.CFrame, "+Damage", c3(1, 1, 1))
  816. else
  817. if Stat == "Movement" then
  818. DamageStatLabel("Debuff", Location.Head.CFrame, "+Movement", c3(1, 1, 1))
  819. end
  820. end
  821. end
  822. end
  823. coroutine.resume(coroutine.create(function(CurrentDecrease)
  824.  
  825. wait(Duration)
  826. CurrentDecrease.Value = CurrentDecrease.Value - Amount
  827. end
  828. ), Location.Stats[Stat])
  829. end
  830. DamageStatLabel("Interruption", Location.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
  831. end
  832.  
  833. DecreaseStat = function(Location, Stat, Amount, Duration, ShowTheStat)
  834.  
  835. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  836.  
  837. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  838.  
  839. if Location:FindFirstChild("Stats") ~= nil and Location.Stats:FindFirstChild("BlockValue") ~= nil and Location.Stats:FindFirstChild("BlockValue").Value ~= true and Location.Stats[Stat] ~= nil then
  840. Location.Stats[Stat].Value = Location.Stats[Stat].Value - Amount
  841. if ShowTheStat == true then
  842. if Stat == "Defense" then
  843. DamageStatLabel("Debuff", Location.Head.CFrame, "-Defense", c3(1, 1, 1))
  844. else
  845. if Stat == "Damage" then
  846. DamageStatLabel("Debuff", Location.Head.CFrame, "-Damage", c3(1, 1, 1))
  847. else
  848. if Stat == "Movement" then
  849. DamageStatLabel("Debuff", Location.Head.CFrame, "-Movement", c3(1, 1, 1))
  850. end
  851. end
  852. end
  853. end
  854. coroutine.resume(coroutine.create(function(CurrentDecrease)
  855.  
  856. wait(Duration)
  857. CurrentDecrease.Value = CurrentDecrease.Value + Amount
  858. end
  859. ), Location.Stats[Stat])
  860. end
  861. DamageStatLabel("Interruption", Location.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
  862. end
  863.  
  864. Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, DecreaseTheStat, DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  865.  
  866. if hit.Parent == nil then
  867. return
  868. end
  869. h = hit.Parent:FindFirstChild("Humanoid")
  870. for _,v in pairs(hit.Parent:GetChildren()) do
  871. if v:IsA("Humanoid") then
  872. h = v
  873. end
  874. end
  875. if hit.Name == "Hitbox" and ranged ~= true and hit.Parent ~= m then
  876. StaggerHitAnim.Value = true
  877. so(HitWeaponSounds[math.random(1, #HitWeaponSounds)], hit, 1, 1)
  878. return
  879. end
  880. if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
  881. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  882. end
  883. if hit.Parent.className == "Hat" then
  884. hit = hit.Parent.Parent:FindFirstChild("Head")
  885. end
  886. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  887. if hit.Parent:FindFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  888. return
  889. end
  890. if AntiTeamKill.Value == true and Player.Neutral == false and game.Players:GetPlayerFromCharacter(hit.Parent) ~= nil and game.Players:GetPlayerFromCharacter(hit.Parent).TeamColor == Player.TeamColor then
  891. return
  892. end
  893. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent:FindFirstChild("Humanoid").Health <= 0 then
  894. return
  895. end
  896. if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("StunValue") ~= nil then
  897. hit.Parent.Stats:FindFirstChild("StunValue").Value = hit.Parent.Stats:FindFirstChild("StunValue").Value + incstun
  898. end
  899. if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("StaggerAnim") ~= nil and stagger == true then
  900. hit.Parent.Stats:FindFirstChild("StaggerAnim").Value = true
  901. end
  902. if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("BlockValue") ~= nil and hit.Parent.Stats:FindFirstChild("BlockValue").Value == true then
  903. if hit.Parent.Stats:FindFirstChild("BlockDebounce") == nil then
  904. DamageStatLabel("Interruption", hit.Parent.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
  905. local BlockDebounce = Instance.new("BoolValue", hit.Parent.Stats)
  906. BlockDebounce.Name = "BlockDebounce"
  907. BlockDebounce.Value = true
  908. game:GetService("Debris"):AddItem(BlockDebounce, 0.1)
  909. end
  910. do
  911. if ranged ~= true then
  912. do
  913. if hit.Parent.Stats:FindFirstChild("BlockDebounce2") == nil then
  914. local BlockDebounce2 = Instance.new("BoolValue", hit.Parent.Stats)
  915. BlockDebounce2.Name = "BlockDebounce2"
  916. BlockDebounce2.Value = true
  917. game:GetService("Debris"):AddItem(BlockDebounce2, 0.1)
  918. so(HitBlockSounds[math.random(1, #HitBlockSounds)], hit, 1, 1)
  919. end
  920. hit.Parent.Stats:FindFirstChild("BlockValue").Value = false
  921. StaggerAnim.Value = true
  922. do return end
  923. if DecreaseTheStat ~= nil and hit.Parent:FindFirstChild("Stats") ~= nil then
  924. if DecreaseTheStat == "Defense" then
  925. DecreaseStat(hit.Parent, "Defense", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  926. else
  927. if DecreaseTheStat == "Damage" then
  928. DecreaseStat(hit.Parent, "Damage", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  929. else
  930. if DecreaseTheStat == "Movement" then
  931. DecreaseStat(hit.Parent, "Movement", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  932. end
  933. end
  934. end
  935. end
  936. local D = math.random(minim, maxim) * Damage.Value
  937. if hit.Parent:FindFirstChild("Stats") ~= nil then
  938. if hit.Parent.Stats:FindFirstChild("Defense") then
  939. if CanPenetrateArmor.Value == true then
  940. D = D / hit.Parent.Stats:FindFirstChild("Defense").Value
  941. -- DECOMPILER ERROR at PC377: Unhandled construct in 'MakeBoolean' P1
  942.  
  943. if hit.Parent.Stats:FindFirstChild("Defense") ~= nil or CanCrit.Value == true then
  944. CritChanceNumber = math.random(1, CritChance.Value)
  945. if CritChanceNumber == CritChance.Value then
  946. D = D * 2
  947. end
  948. end
  949. D = math.floor(D)
  950. h.Health = h.Health - D
  951. if D <= 3 and staggerhit == true then
  952. if ranged ~= true then
  953. StaggerHitAnim.Value = true
  954. end
  955. if ranged ~= true then
  956. so(HitArmorSounds[math.random(1, #HitArmorSounds)], hit, 1, 1)
  957. end
  958. else
  959. if D > 3 and ranged ~= true then
  960. so(HitPlayerSounds[math.random(1, #HitPlayerSounds)], hit, 1, 1)
  961. end
  962. end
  963. if D > 3 and D < 20 then
  964. if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
  965. DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
  966. so("296102734", hit, 1, 1)
  967. else
  968. DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(1, 0.86274509803922, 0))
  969. end
  970. else
  971. if D >= 20 then
  972. if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
  973. DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
  974. so("296102734", hit, 1, 1)
  975. else
  976. DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(1, 0, 0))
  977. end
  978. else
  979. if D <= 3 then
  980. if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
  981. DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
  982. so("296102734", hit, 1, 1)
  983. else
  984. DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(0.88235294117647, 0.88235294117647, 0.88235294117647))
  985. end
  986. end
  987. end
  988. end
  989. do
  990. if Type == "Normal" then
  991. local vp = Instance.new("BodyVelocity")
  992. vp.P = 500
  993. vp.maxForce = vt(math.huge, 0, math.huge)
  994. if KnockbackType == 1 then
  995. vp.Velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  996. else
  997. if KnockbackType == 2 then
  998. vp.Velocity = Property.CFrame.lookVector * knockback
  999. end
  1000. end
  1001. if knockback > 0 then
  1002. vp.Parent = hit.Parent.Torso
  1003. end
  1004. game:GetService("Debris"):AddItem(vp, 0.5)
  1005. end
  1006. local DebounceHit = Instance.new("BoolValue", hit.Parent)
  1007. DebounceHit.Name = "DebounceHit"
  1008. DebounceHit.Value = true
  1009. game:GetService("Debris"):AddItem(DebounceHit, Delay)
  1010. end
  1011. end
  1012. end
  1013. end
  1014. end
  1015. end
  1016. end
  1017. end
  1018. end
  1019. end
  1020.  
  1021. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, MagicDecreaseTheStat, MagicDecreaseAmount, MagicDecreaseDuration, MagicShowDecreasedStat)
  1022.  
  1023. for _,c in pairs(workspace:GetChildren()) do
  1024. local hum = (c:FindFirstChild("Humanoid"))
  1025. local head = nil
  1026. if hum ~= nil then
  1027. head = c:FindFirstChild("Torso")
  1028. if head ~= nil then
  1029. local targ = head.Position - Part.Position
  1030. local mag = targ.magnitude
  1031. if mag <= magni and c.Name ~= Player.Name then
  1032. Damagefunc(head, mindam, maxdam, knock, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, MagicDecreaseTheStat, MagicDecreaseAmount, MagicDecreaseDuration, MagicShowDecreasedStat)
  1033. end
  1034. end
  1035. do
  1036. for _,d in pairs(c:GetChildren()) do
  1037. if d.ClassName == "Model" and ranged ~= true then
  1038. head = d:FindFirstChild("Hitbox")
  1039. if head ~= nil then
  1040. local targ = head.Position - Part.Position
  1041. local mag = targ.magnitude
  1042. if mag <= magni and c.Name ~= Player.Name then
  1043. local hitrefpart = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt())
  1044. hitrefpart.Anchored = true
  1045. hitrefpart.CFrame = cf(head.Position)
  1046. so(HitWeaponSounds[math.random(1, #HitWeaponSounds)], hitrefpart, 1, 1)
  1047. StaggerHitAnim.Value = true
  1048. end
  1049. end
  1050. end
  1051. end
  1052. do
  1053. -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out DO_STMT
  1054.  
  1055. -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1056.  
  1057. -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out IF_STMT
  1058.  
  1059. end
  1060. end
  1061. end
  1062. end
  1063. end
  1064.  
  1065. MagniBufforDebuff = function(Part, Magni, Type, Stat, Amount, Duration, ShowTheBufforDebuff, ApplyToOthersInstead)
  1066.  
  1067. if Player.Neutral == true then
  1068. if Type == "Buff" then
  1069. IncreaseStat(Character, Stat, Amount, Duration, ShowTheBufforDebuff)
  1070. else
  1071. if Type == "Debuff" then
  1072. DecreaseStat(Character, Stat, Amount, Duration, ShowTheBufforDebuff)
  1073. end
  1074. end
  1075. end
  1076. for _,c in pairs(workspace:GetChildren()) do
  1077. local hum = (c:FindFirstChild("Humanoid"))
  1078. local head = nil
  1079. if hum ~= nil then
  1080. head = c:FindFirstChild("Torso")
  1081. if head ~= nil then
  1082. local targ = head.Position - Part.Position
  1083. local mag = targ.magnitude
  1084. -- DECOMPILER ERROR at PC83: Unhandled construct in 'MakeBoolean' P1
  1085.  
  1086. if ApplyToOthersInstead == true and mag <= Magni and c.Name ~= Player.Name and Player.Neutral == false and game.Players:GetPlayerFromCharacter(head.Parent) ~= nil and game.Players:GetPlayerFromCharacter(head.Parent).TeamColor == Player.TeamColor then
  1087. if Type == "Buff" then
  1088. IncreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  1089. else
  1090. if Type == "Debuff" then
  1091. DecreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  1092. end
  1093. end
  1094. end
  1095. end
  1096. end
  1097. if ApplyToOthersInstead == false and mag <= Magni and Player.Neutral == false and game.Players:GetPlayerFromCharacter(head.Parent) ~= nil and game.Players:GetPlayerFromCharacter(head.Parent).TeamColor == Player.TeamColor then
  1098. if Type == "Buff" then
  1099. IncreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  1100. else
  1101. if Type == "Debuff" then
  1102. DecreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  1103. end
  1104. end
  1105. end
  1106. end
  1107. end
  1108.  
  1109. Lightning = function(p0, p1, tym, ofs, brickcolor, material, th, tra, last)
  1110.  
  1111. local magz = p0 - p1.magnitude
  1112. local curpos = p0
  1113. local trz = {-ofs, ofs}
  1114. for i = 1, tym do
  1115. local li = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt(th, th, magz / tym))
  1116. do
  1117. li.Anchored = true
  1118. local ofz = vt(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  1119. local trolpos = cf(curpos, p1) * cf(0, 0, magz / tym).p + ofz
  1120. if tym == i then
  1121. local magz2 = curpos - p1.magnitude
  1122. li.Size = vt(th, th, magz2)
  1123. li.CFrame = cf(curpos, p1) * cf(0, 0, -magz2 / 2)
  1124. else
  1125. do
  1126. do
  1127. li.CFrame = cf(curpos, trolpos) * cf(0, 0, magz / tym / 2)
  1128. curpos = li.CFrame * cf(0, 0, magz / tym / 2).p
  1129. game.Debris:AddItem(li, last)
  1130. coroutine.resume(coroutine.create(function()
  1131.  
  1132. while li.Transparency ~= 1 do
  1133. for i = 0, 1, last do
  1134. hbwait()
  1135. li.Transparency = li.Transparency + 0.1 / last
  1136. end
  1137. end
  1138. end
  1139. ))
  1140. end
  1141. -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out IF_ELSE_STMT
  1142.  
  1143. -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out IF_STMT
  1144.  
  1145. -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out DO_STMT
  1146.  
  1147. end
  1148. end
  1149. end
  1150. end
  1151. end
  1152.  
  1153. MagicRing = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1154.  
  1155. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1156. prt.Anchored = true
  1157. prt.CFrame = cframe
  1158. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
  1159. game:GetService("Debris"):AddItem(prt, 10)
  1160. coroutine.resume(coroutine.create(function(Part, Mesh)
  1161.  
  1162. for i = 0, 1, delay do
  1163. hbwait()
  1164. Part.CFrame = Part.CFrame
  1165. Part.Transparency = i
  1166. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1167. end
  1168. Part.Parent = nil
  1169. end
  1170. ), prt, msh)
  1171. end
  1172.  
  1173. MagicWave = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1174.  
  1175. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1176. prt.Anchored = true
  1177. prt.CFrame = cframe
  1178. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, -0.1 * z1), vt(x1, y1, z1))
  1179. game:GetService("Debris"):AddItem(prt, 10)
  1180. coroutine.resume(coroutine.create(function(Part, Mesh)
  1181.  
  1182. for i = 0, 1, delay do
  1183. hbwait()
  1184. Part.CFrame = Part.CFrame
  1185. Part.Transparency = i
  1186. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1187. end
  1188. Part.Parent = nil
  1189. end
  1190. ), prt, msh)
  1191. end
  1192.  
  1193. MagicBlock = function(brickcolor, material, rotate, cframe, x1, y1, z1, x3, y3, z3, delay)
  1194.  
  1195. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1196. prt.Anchored = true
  1197. prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1198. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1199. game:GetService("Debris"):AddItem(prt, 10)
  1200. coroutine.resume(coroutine.create(function(Part, Mesh)
  1201.  
  1202. for i = 0, 1, delay do
  1203. hbwait()
  1204. if rotate == true then
  1205. Part.CFrame = Part.CFrame * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1206. end
  1207. Part.Transparency = i
  1208. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1209. end
  1210. Part.Parent = nil
  1211. end
  1212. ), prt, msh)
  1213. end
  1214.  
  1215. MagicBlock2 = function(brickcolor, material, rotate, cframe, x1, y1, z1, x3, y3, z3, delay)
  1216.  
  1217. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1218. prt.Anchored = true
  1219. prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1220. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1221. game:GetService("Debris"):AddItem(prt, 10)
  1222. CF = prt.CFrame
  1223. num = math.random(5, 20)
  1224. coroutine.resume(coroutine.create(function(Part, Mesh, CF2, Num)
  1225.  
  1226. for i = 0, 1, delay do
  1227. hbwait()
  1228. if rotate == true then
  1229. Part.CFrame = CF2 * cf(0, i * Num, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1230. else
  1231. Part.CFrame = CF2 * cf(0, i * Num, 0)
  1232. end
  1233. Part.Transparency = i
  1234. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1235. end
  1236. Part.Parent = nil
  1237. end
  1238. ), prt, msh, CF, num)
  1239. end
  1240.  
  1241. MagicCylinder = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1242.  
  1243. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1244. prt.Anchored = true
  1245. prt.CFrame = cframe
  1246. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1247. game:GetService("Debris"):AddItem(prt, 10)
  1248. coroutine.resume(coroutine.create(function(Part, Mesh)
  1249.  
  1250. for i = 0, 1, delay do
  1251. hbwait()
  1252. Part.Transparency = i
  1253. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1254. end
  1255. Part.Parent = nil
  1256. end
  1257. ), prt, msh)
  1258. end
  1259.  
  1260. MagicCircle = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1261.  
  1262. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1263. prt.Anchored = true
  1264. prt.CFrame = cframe
  1265. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1266. game:GetService("Debris"):AddItem(prt, 10)
  1267. coroutine.resume(coroutine.create(function(Part, Mesh)
  1268.  
  1269. for i = 0, 1, delay do
  1270. hbwait()
  1271. Part.Transparency = i
  1272. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1273. end
  1274. Part.Parent = nil
  1275. end
  1276. ), prt, msh)
  1277. end
  1278.  
  1279. MagicHead = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1280.  
  1281. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1282. prt.Anchored = true
  1283. prt.CFrame = cframe
  1284. local msh = mesh("SpecialMesh", prt, "Head", "", vt(0, 0, 0), vt(x1, y1, z1))
  1285. game:GetService("Debris"):AddItem(prt, 10)
  1286. coroutine.resume(coroutine.create(function(Part, Mesh)
  1287.  
  1288. for i = 0, 1, delay do
  1289. hbwait()
  1290. Part.Transparency = i
  1291. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1292. end
  1293. Part.Parent = nil
  1294. end
  1295. ), prt, msh)
  1296. end
  1297.  
  1298. BreakEffect = function(brickcolor, material, rotate, cframe, x1, y1, z1, delay)
  1299.  
  1300. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1301. prt.Anchored = true
  1302. prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1303. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1304. game:GetService("Debris"):AddItem(prt, 10)
  1305. coroutine.resume(coroutine.create(function(Part, CF, Numbb, randnumb)
  1306.  
  1307. CF = Part.CFrame
  1308. Numbb = 0
  1309. randnumb = math.random() - math.random()
  1310. for i = 0, 1, delay do
  1311. hbwait()
  1312. CF = CF * cf(0, 1, 0)
  1313. if rotate == true then
  1314. Part.CFrame = CF * angles(Numbb, 0, 0)
  1315. else
  1316. if rotate == false then
  1317. Part.CFrame = CF
  1318. end
  1319. end
  1320. Part.Transparency = i
  1321. Numbb = Numbb + (randnumb)
  1322. end
  1323. Part.Parent = nil
  1324. end
  1325. ), prt, CF, Numbb, randnumb)
  1326. end
  1327.  
  1328. ElecEffect = function(brickcolor, material, cf, x, y, z, delay)
  1329.  
  1330. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1331. prt.Anchored = true
  1332. prt.CFrame = cf
  1333. xval = math.random()
  1334. yval = math.random()
  1335. zval = math.random()
  1336. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x, y, z))
  1337. game:GetService("Debris"):AddItem(prt, 10)
  1338. coroutine.resume(coroutine.create(function(Part, Mesh, xvaal, yvaal, zvaal)
  1339.  
  1340. for i = 0, 1, delay do
  1341. hbwait()
  1342. Part.CFrame = Part.CFrame
  1343. xvaal = xvaal - 0.1 * (delay * 10)
  1344. yvaal = yvaal - 0.1 * (delay * 10)
  1345. zvaal = zvaal - 0.1 * (delay * 10)
  1346. Mesh.Scale = Mesh.Scale + vt(xvaal, yvaal, zvaal)
  1347. Part.Transparency = i
  1348. end
  1349. Part.Parent = nil
  1350. end
  1351. ), prt, msh, xval, yval, zval)
  1352. end
  1353.  
  1354. TrailEffect = function(brickcolor, material, currentcf, oldcf, meshtype, reflectance, size, x, y, z, delay)
  1355.  
  1356. local magnitudecframe = currentcf.p - oldcf.p.magnitude
  1357. if magnitudecframe > 0.01 then
  1358. local prt = part(3, Effects, material, reflectance, 0, brickcolor, "Effect", vt(1, magnitudecframe, 1))
  1359. prt.Anchored = true
  1360. prt.CFrame = cf((currentcf.p + oldcf.p) / 2, oldcf.p) * angles(rad(90), 0, 0)
  1361. local TheMeshType = "BlockMesh"
  1362. if meshtype == "Cylinder" then
  1363. TheMeshType = "CylinderMesh"
  1364. end
  1365. local msh = mesh(TheMeshType, prt, "", "", vt(0, 0, 0), vt(0 + size, 1, 0 + size))
  1366. game:GetService("Debris"):AddItem(prt, 10)
  1367. coroutine.resume(coroutine.create(function(Part, Mesh, TheCurrentCFrame, TheLastCFrame)
  1368.  
  1369. for i = 0, 1, delay do
  1370. hbwait()
  1371. Part.Transparency = i
  1372. Mesh.Scale = Mesh.Scale + vt(x, y, z)
  1373. end
  1374. Part.Parent = nil
  1375. end
  1376. ), prt, msh, currentcf, oldcf)
  1377. end
  1378. end
  1379.  
  1380. ClangEffect = function(brickcolor, material, cframe, angle, duration, size, power, reflectance, x, y, z, delay)
  1381.  
  1382. local prt = part(3, Effects, material, 0, 1, brickcolor, "Effect", vt())
  1383. prt.Anchored = true
  1384. prt.CFrame = cframe
  1385. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(0, 0, 0))
  1386. game:GetService("Debris"):AddItem(prt, 10)
  1387. local TheLastPoint = cframe
  1388. coroutine.resume(coroutine.create(function(Part)
  1389.  
  1390. for i = 1, duration do
  1391. hbwait()
  1392. Part.CFrame = Part.CFrame * angles(rad(angle), 0, 0) * cf(0, power, 0)
  1393. TrailEffect(brickcolor, material, Part.CFrame, TheLastPoint, "Cylinder", reflectance, size, x, y, z, delay)
  1394. TheLastPoint = Part.CFrame
  1395. end
  1396. Part.Parent = nil
  1397. end
  1398. ), prt)
  1399. end
  1400.  
  1401. MagicCone = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1402.  
  1403. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1404. prt.Anchored = true
  1405. prt.CFrame = cframe
  1406. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1778999", vt(0, 0, 0), vt(x1, y1, z1))
  1407. game:GetService("Debris"):AddItem(prt, 10)
  1408. coroutine.resume(coroutine.create(function(Part, Mesh)
  1409.  
  1410. for i = 0, 1, delay do
  1411. hbwait()
  1412. Part.Transparency = i
  1413. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1414. end
  1415. Part.Parent = nil
  1416. end
  1417. ), prt, msh)
  1418. end
  1419.  
  1420. MagicFlatCone = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1421.  
  1422. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1423. prt.Anchored = true
  1424. prt.CFrame = cframe
  1425. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1033714", vt(0, 0, 0), vt(x1, y1, z1))
  1426. game:GetService("Debris"):AddItem(prt, 10)
  1427. coroutine.resume(coroutine.create(function(Part, Mesh)
  1428.  
  1429. for i = 0, 1, delay do
  1430. hbwait()
  1431. Part.Transparency = i
  1432. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1433. end
  1434. Part.Parent = nil
  1435. end
  1436. ), prt, msh)
  1437. end
  1438.  
  1439. MagicSpikedCrown = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1440.  
  1441. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1442. prt.Anchored = true
  1443. prt.CFrame = cframe
  1444. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1323306", vt(0, 0, 0), vt(x1, y1, z1))
  1445. game:GetService("Debris"):AddItem(prt, 10)
  1446. coroutine.resume(coroutine.create(function(Part, Mesh)
  1447.  
  1448. for i = 0, 1, delay do
  1449. hbwait()
  1450. Part.Transparency = i
  1451. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1452. end
  1453. Part.Parent = nil
  1454. end
  1455. ), prt, msh)
  1456. end
  1457.  
  1458. MagicCrown = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1459.  
  1460. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1461. prt.Anchored = true
  1462. prt.CFrame = cframe
  1463. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1078075", vt(0, 0, 0), vt(x1, y1, z1))
  1464. game:GetService("Debris"):AddItem(prt, 10)
  1465. coroutine.resume(coroutine.create(function(Part, Mesh)
  1466.  
  1467. for i = 0, 1, delay do
  1468. hbwait()
  1469. Part.Transparency = i
  1470. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1471. end
  1472. Part.Parent = nil
  1473. end
  1474. ), prt, msh)
  1475. end
  1476.  
  1477. MagicSkull = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1478.  
  1479. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1480. prt.Anchored = true
  1481. prt.CFrame = cframe
  1482. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=4770583", vt(0, 0, 0), vt(x1, y1, z1))
  1483. game:GetService("Debris"):AddItem(prt, 10)
  1484. coroutine.resume(coroutine.create(function(Part, Mesh)
  1485.  
  1486. for i = 0, 1, delay do
  1487. hbwait()
  1488. Part.Transparency = i
  1489. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1490. end
  1491. Part.Parent = nil
  1492. end
  1493. ), prt, msh)
  1494. end
  1495.  
  1496. local startequipped = true
  1497. local startequippedwithequipanimation = false
  1498. local disableanimator = true
  1499. local disableanimate = true
  1500. local alternatewalk = false
  1501. local hidemenu = false
  1502. local allowmenutofunction = false
  1503. local allowabilitiestofunction = false
  1504. local canunequiporequip = false
  1505. local allowwalking = false
  1506. local disablemovingarms = false
  1507. local usemotorsinsteadofwelds = false
  1508. local leftarm = false
  1509. local rightarm = false
  1510. local allowhopperbin = false
  1511. local showstunbar = false
  1512. local walkspeeddependsonmovementvalue = true
  1513. local alternatemanaregensystem = false
  1514. local showhealthmanaandstunnumbers = false
  1515. local changebarcolorsifnotenoughmana = false
  1516. local disablejump = false
  1517. if hidemenu == true or allowmenutofunction == false then
  1518. for _,v in pairs(scrn:GetChildren()) do
  1519. if v.ClassName == "Frame" or v.ClassName == "TextLabel" then
  1520. v.Visible = false
  1521. v.BorderSizePixel = 0
  1522. end
  1523. end
  1524. end
  1525. do
  1526. Humanoid.Changed:connect(function(Jump)
  1527.  
  1528. if Jump == "Jump" and disablejump == true then
  1529. Humanoid.Jump = false
  1530. end
  1531. end
  1532. )
  1533. if allowmenutofunction == true then
  1534. for _,v in pairs(scrn:GetChildren()) do
  1535. if v.ClassName == "Frame" then
  1536. for _,b in pairs(v:GetChildren()) do
  1537. if b.ClassName == "TextLabel" then
  1538. coroutine.resume(coroutine.create(function(TheTextLabel)
  1539.  
  1540. wait(menuupdatespeed)
  1541. for i = 1, 0, -0.1 do
  1542. hbwait()
  1543. TheTextLabel.TextTransparency = i
  1544. TheTextLabel.TextStrokeTransparency = i
  1545. end
  1546. TheTextLabel.TextTransparency = 0
  1547. TheTextLabel.TextStrokeTransparency = 0
  1548. end
  1549. ), b)
  1550. if showstats == true then
  1551. coroutine.resume(coroutine.create(function(TheTextLabel)
  1552.  
  1553. wait(menuupdatespeed)
  1554. for i = 1, 0, -0.1 do
  1555. hbwait()
  1556. TheTextLabel.TextTransparency = i
  1557. TheTextLabel.TextStrokeTransparency = i
  1558. end
  1559. TheTextLabel.TextTransparency = 0
  1560. TheTextLabel.TextStrokeTransparency = 0
  1561. end
  1562. ), b)
  1563. end
  1564. if showstunbar == true then
  1565. coroutine.resume(coroutine.create(function(TheTextLabel)
  1566.  
  1567. wait(menuupdatespeed)
  1568. for i = 1, 0, -0.1 do
  1569. hbwait()
  1570. TheTextLabel.TextTransparency = i
  1571. TheTextLabel.TextStrokeTransparency = i
  1572. end
  1573. TheTextLabel.TextTransparency = 0
  1574. TheTextLabel.TextStrokeTransparency = 0
  1575. end
  1576. ), b)
  1577. end
  1578. if allowabilitiestofunction == true then
  1579. coroutine.resume(coroutine.create(function(TheTextLabel)
  1580.  
  1581. wait(menuupdatespeed)
  1582. for i = 1, 0, -0.1 do
  1583. hbwait()
  1584. TheTextLabel.TextTransparency = i
  1585. TheTextLabel.TextStrokeTransparency = i
  1586. end
  1587. TheTextLabel.TextTransparency = 0
  1588. TheTextLabel.TextStrokeTransparency = 0
  1589. end
  1590. ), b)
  1591. end
  1592. end
  1593. end
  1594. end
  1595. end
  1596. end
  1597. do
  1598. if allowhopperbin == true then
  1599. if script.Parent.className ~= "HopperBin" then
  1600. Tool = Instance.new("HopperBin")
  1601. Tool.Parent = Backpack
  1602. Tool.Name = WeaponName
  1603. script.Parent = Tool
  1604. end
  1605. Bin = script.Parent
  1606. end
  1607. if disablemovingarms == true then
  1608. RWC0 = cf(0, 0 - (0.5 * PlayerSize - 0.5), 0) * angles(rad(0), rad(0), rad(0))
  1609. LWC0 = cf(0, 0 - (0.5 * PlayerSize - 0.5), 0) * angles(rad(0), rad(0), rad(0))
  1610. RSH = nil
  1611. if usemotorsinsteadofwelds == true then
  1612. RW = Instance.new("Motor")
  1613. LW = Instance.new("Motor")
  1614. else
  1615. RW = Instance.new("Weld")
  1616. LW = Instance.new("Weld")
  1617. end
  1618. RW.Name = "Right Shoulder"
  1619. LW.Name = "Left Shoulder"
  1620. RSH = Torso["Right Shoulder"]
  1621. LSH = Torso["Left Shoulder"]
  1622. RSH.Parent = Torso
  1623. LSH.Parent = Torso
  1624. RW.Name = "Right Shoulder"
  1625. RW.Part0 = Torso
  1626. RW.C0 = cf(1.5, 0.5, 0)
  1627. RW.C1 = cf(0, 0.5, 0)
  1628. RW.Part1 = Character["Right Arm"]
  1629. RW.Parent = nil
  1630. LW.Name = "Left Shoulder"
  1631. LW.Part0 = Torso
  1632. LW.C0 = cf(-1.5, 0.5, 0)
  1633. LW.C1 = cf(0, 0.5, 0)
  1634. LW.Part1 = Character["Left Arm"]
  1635. LW.Parent = nil
  1636. else
  1637. RW = Torso["Right Shoulder"]
  1638. LW = Torso["Left Shoulder"]
  1639. RWC0 = cf(-0.5, 0, 0) * angles(rad(0), rad(90), rad(0))
  1640. LWC0 = cf(0.5, 0, 0) * angles(rad(0), rad(-90), rad(0))
  1641. end
  1642. equipanim = function()
  1643.  
  1644. attack = true
  1645. Movement.Value = Movement.Value - 0.1
  1646. Defense.Value = Defense.Value + 0.4
  1647. for i = 0, 1, 0.08 / animationspeed do
  1648. hbwait()
  1649. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1650. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1651. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0, 0.3 / animationspeed)
  1652. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0, 0.3 / animationspeed)
  1653. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1654. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1655. end
  1656. attack = false
  1657. end
  1658.  
  1659. unequipanim = function()
  1660.  
  1661. attack = true
  1662. for i = 0, 1, 0.08 / animationspeed do
  1663. hbwait()
  1664. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1665. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)), 0.3 / animationspeed)
  1666. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0, 0.3 / animationspeed)
  1667. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0, 0.3 / animationspeed)
  1668. if disablemovingarms == false then
  1669. RW.C1 = clerp(RW.C1, angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5), 0.3 / animationspeed)
  1670. LW.C1 = clerp(LW.C1, angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5), 0.3 / animationspeed)
  1671. end
  1672. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1673. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1674. RH.C1 = clerp(RH.C1, angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize), 0.3 / animationspeed)
  1675. LH.C1 = clerp(LH.C1, angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize), 0.3 / animationspeed)
  1676. end
  1677. RootJoint.C0 = RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0))
  1678. Neck.C0 = necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0))
  1679. Neck.C1 = angles(rad(90), rad(180), 0) * cf(0, 0, -0.5 * PlayerSize)
  1680. RW.C0 = cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0
  1681. LW.C0 = cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0
  1682. if disablemovingarms == false then
  1683. RW.C1 = angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  1684. LW.C1 = angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  1685. end
  1686. RH.C0 = cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0))
  1687. LH.C0 = cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0))
  1688. RH.C1 = angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  1689. LH.C1 = angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  1690. Movement.Value = Movement.Value + 0.1
  1691. Defense.Value = Defense.Value - 0.4
  1692. attack = false
  1693. end
  1694.  
  1695. if startequipped == true then
  1696. equipped = true
  1697. if disableanimate == true then
  1698. Animate.Disabled = true
  1699. local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
  1700. idleanimation:Play()
  1701. end
  1702. if disableanimator == true then
  1703. Animator.Parent = nil
  1704. end
  1705. if disablemovingarms == true then
  1706. RW.Parent = Torso
  1707. LW.Parent = Torso
  1708. RSH.Parent = nil
  1709. LSH.Parent = nil
  1710. end
  1711. Movement.Value = Movement.Value - 0.1
  1712. Defense.Value = Defense.Value + 0.4
  1713. end
  1714. if startequippedwithequipanimation == true then
  1715. equipped = true
  1716. if disableanimate == true then
  1717. Animate.Disabled = true
  1718. local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
  1719. idleanimation:Play()
  1720. end
  1721. if disableanimator == true then
  1722. Animator.Parent = nil
  1723. end
  1724. if disablemovingarms == true then
  1725. RW.Parent = Torso
  1726. LW.Parent = Torso
  1727. RSH.Parent = nil
  1728. LSH.Parent = nil
  1729. end
  1730. coroutine.resume(coroutine.create(function()
  1731.  
  1732. hbwait()
  1733. equipanim()
  1734. end
  1735. ))
  1736. end
  1737.  
  1738. StaggerHit = function()
  1739.  
  1740. attack = true
  1741. if Hitbox ~= nil then
  1742. for i = 1, math.random(2, 4) do
  1743. ClangEffect("Bright yellow", "Neon", cf(Hitbox.Position) * angles(rad(math.random(-50, 50)), rad(math.random(-50, 50)), rad(math.random(-50, 50))), 20, 5, 0.2, math.random(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  1744. end
  1745. end
  1746. do
  1747. for i = 0, 1, 0.1 / animationspeed do
  1748. hbwait()
  1749. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(-10), rad(0), rad(-30)), 0.3 / animationspeed)
  1750. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(30)) * angles(rad(5), rad(0), rad(0)), 0.3 / animationspeed)
  1751. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-30), rad(0), rad(60)) * angles(rad(0), rad(-30), rad(0)) * RWC0, 0.3 / animationspeed)
  1752. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-20), rad(0), rad(-20)) * angles(rad(0), rad(20), rad(0)) * LWC0, 0.3 / animationspeed)
  1753. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.9 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-10), rad(0), rad(-20)), 0.3 / animationspeed)
  1754. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-70), rad(0)) * angles(rad(-5), rad(0), rad(10)), 0.3 / animationspeed)
  1755. if StaggerAnim.Value ~= true then
  1756. do
  1757. if StunAnim.Value == true then
  1758. break
  1759. end
  1760. -- DECOMPILER ERROR at PC314: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1761.  
  1762. -- DECOMPILER ERROR at PC314: LeaveBlock: unexpected jumping out IF_STMT
  1763.  
  1764. end
  1765. end
  1766. end
  1767. attack = false
  1768. end
  1769. end
  1770.  
  1771. Stagger = function()
  1772.  
  1773. attack = true
  1774. disablejump = true
  1775. if Hitbox ~= nil then
  1776. for i = 1, math.random(2, 4) do
  1777. ClangEffect("Bright yellow", "Neon", cf(Hitbox.Position) * angles(rad(math.random(-50, 50)), rad(math.random(-50, 50)), rad(math.random(-50, 50))), 20, 5, 0.2, math.random(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  1778. end
  1779. end
  1780. do
  1781. attacktype = 1
  1782. DamageStatLabel("Interruption", Head.CFrame, "Staggered!", Color3.new(1, 1, 0))
  1783. local staggervelocity = Instance.new("BodyVelocity", Torso)
  1784. staggervelocity.P = 500
  1785. staggervelocity.maxForce = vt(math.huge, 0, math.huge)
  1786. if Rooted.Value == false then
  1787. staggervelocity.Velocity = RootPart.CFrame.lookVector * -25
  1788. end
  1789. for i = 0, 1, 0.35 / animationspeed do
  1790. hbwait()
  1791. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.1 * PlayerSize) * angles(rad(-20), rad(0), rad(-30)), 0.3 / animationspeed)
  1792. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(35)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1793. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(20), rad(-30), rad(40)) * RWC0, 0.3 / animationspeed)
  1794. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(10), rad(5), rad(-20)) * LWC0, 0.3 / animationspeed)
  1795. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 * PlayerSize, -0.25 * PlayerSize) * angles(rad(0), rad(100), rad(0)) * angles(rad(-20), rad(0), rad(40)), 0.3 / animationspeed)
  1796. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0.25 * PlayerSize) * angles(rad(0), rad(-60), rad(0)) * angles(rad(-5), rad(0), rad(10)), 0.3 / animationspeed)
  1797. end
  1798. for i = 0, 1, 0.2 / animationspeed do
  1799. hbwait()
  1800. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.2 * PlayerSize) * angles(rad(-30), rad(0), rad(-30)), 0.3 / animationspeed)
  1801. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(35)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1802. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(20), rad(-30), rad(40)) * RWC0, 0.3 / animationspeed)
  1803. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(10), rad(5), rad(-20)) * LWC0, 0.3 / animationspeed)
  1804. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 * PlayerSize, -0.25 * PlayerSize) * angles(rad(0), rad(100), rad(0)) * angles(rad(-20), rad(0), rad(40)), 0.3 / animationspeed)
  1805. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.9 * PlayerSize, 0.25 * PlayerSize) * angles(rad(0), rad(-60), rad(0)) * angles(rad(-5), rad(0), rad(30)), 0.3 / animationspeed)
  1806. end
  1807. staggervelocity:Destroy()
  1808. for i = 0, 1, 0.015 / animationspeed do
  1809. hbwait()
  1810. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1.8 * PlayerSize) * angles(rad(0), rad(0), rad(-20)) * angles(rad(-5), rad(-5), rad(0)), 0.3 / animationspeed)
  1811. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(20), rad(0), rad(20)) * angles(rad(0), rad(5), rad(0)), 0.3 / animationspeed)
  1812. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(20)) * angles(rad(0), rad(-20), rad(0)) * RWC0, 0.3 / animationspeed)
  1813. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-15), rad(0), rad(-10)) * angles(rad(0), rad(20), rad(0)) * LWC0, 0.3 / animationspeed)
  1814. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.5 * PlayerSize, -0.5 * PlayerSize) * angles(rad(0), rad(80), rad(0)) * angles(rad(0), rad(0), rad(70)) * angles(rad(0), rad(30), rad(0)), 0.3 / animationspeed)
  1815. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, 0.4 * PlayerSize, -0.5 * PlayerSize) * angles(rad(0), rad(-80), rad(0)) * angles(rad(-2.5), rad(0), rad(-10)), 0.3 / animationspeed)
  1816. if StunAnim.Value == true then
  1817. break
  1818. end
  1819. end
  1820. do
  1821. attacktype = 1
  1822. disablejump = false
  1823. attack = false
  1824. end
  1825. end
  1826. end
  1827.  
  1828. Stun = function()
  1829.  
  1830. attack = true
  1831. disablejump = true
  1832. attacktype = 1
  1833. DamageStatLabel("Interruption", Head.CFrame, "Stunned!", Color3.new(1, 1, 0))
  1834. for i = 0, 1, 0.4 / animationspeed do
  1835. hbwait()
  1836. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(15), rad(0), rad(-160)), 0.3 / animationspeed)
  1837. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(10), rad(0), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1838. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(70), rad(0), rad(15)) * RWC0, 0.3 / animationspeed)
  1839. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(70), rad(0), rad(-15)) * LWC0, 0.3 / animationspeed)
  1840. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-5), rad(0), rad(-20)), 0.3 / animationspeed)
  1841. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-5), rad(0), rad(-20)), 0.3 / animationspeed)
  1842. end
  1843. for i = 0, 1, 0.4 / animationspeed do
  1844. hbwait()
  1845. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.5 * PlayerSize) * angles(rad(45), rad(0), rad(-170)), 0.3 / animationspeed)
  1846. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(-30)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1847. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(80), rad(0), rad(45)) * RWC0, 0.3 / animationspeed)
  1848. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(80), rad(0), rad(-45)) * LWC0, 0.3 / animationspeed)
  1849. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-5), rad(0), rad(-40)), 0.3 / animationspeed)
  1850. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-5), rad(0), rad(-20)), 0.3 / animationspeed)
  1851. end
  1852. for i = 0, 1, 0.4 / animationspeed do
  1853. hbwait()
  1854. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1 * PlayerSize) * angles(rad(75), rad(0), rad(-180)), 0.3 / animationspeed)
  1855. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(-60)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1856. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(90), rad(0), rad(75)) * RWC0, 0.3 / animationspeed)
  1857. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-45), rad(0), rad(-75)) * LWC0, 0.3 / animationspeed)
  1858. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-5), rad(0), rad(-40)), 0.3 / animationspeed)
  1859. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-5), rad(0), rad(-30)), 0.3 / animationspeed)
  1860. end
  1861. Humanoid.AutoRotate = false
  1862. for i = 1, 70 * animationspeed do
  1863. hbwait()
  1864. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -2.5 * PlayerSize) * angles(rad(90), rad(0), rad(-180)), 0.3 / animationspeed)
  1865. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(-90)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1866. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(90), rad(-10), rad(90)) * RWC0, 0.3 / animationspeed)
  1867. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-90), rad(0), rad(-90)) * LWC0, 0.3 / animationspeed)
  1868. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0.2 * PlayerSize) * angles(rad(0), rad(70), rad(0)) * angles(rad(-10), rad(0), rad(0)), 0.3 / animationspeed)
  1869. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-100), rad(0)) * angles(rad(-10), rad(0), rad(0)), 0.3 / animationspeed)
  1870. end
  1871. for i = 0, 1, 0.15 / animationspeed do
  1872. hbwait()
  1873. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1.5 * PlayerSize) * angles(rad(20), rad(0), rad(100)), 0.3 / animationspeed)
  1874. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(-30)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1875. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-20), rad(0), rad(30)) * RWC0, 0.3 / animationspeed)
  1876. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(80), rad(0), rad(20)) * LWC0, 0.3 / animationspeed)
  1877. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(60), rad(0)) * angles(rad(-5), rad(0), rad(70)), 0.3 / animationspeed)
  1878. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.25 * PlayerSize, -1 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-10), rad(0), rad(20)), 0.3 / animationspeed)
  1879. end
  1880. Humanoid.AutoRotate = true
  1881. attacktype = 1
  1882. disablejump = false
  1883. attack = false
  1884. end
  1885.  
  1886. EAbility = function()
  1887.  
  1888. attack = true
  1889. attack = false
  1890. end
  1891.  
  1892. Attack1 = function()
  1893.  
  1894. attack = true
  1895. attack = false
  1896. end
  1897.  
  1898. Attack2 = function()
  1899.  
  1900. attack = true
  1901. attack = false
  1902. end
  1903.  
  1904. Attack3 = function()
  1905.  
  1906. attack = true
  1907. attack = false
  1908. end
  1909.  
  1910. Attack4 = function()
  1911.  
  1912. attack = true
  1913. attack = false
  1914. end
  1915.  
  1916. Move1 = function()
  1917.  
  1918. attack = true
  1919. attack = false
  1920. end
  1921.  
  1922. Move2 = function()
  1923.  
  1924. attack = true
  1925. attack = false
  1926. end
  1927.  
  1928. Move3 = function()
  1929.  
  1930. attack = true
  1931. attack = false
  1932. end
  1933.  
  1934. Move4 = function()
  1935.  
  1936. attack = true
  1937. attack = false
  1938. end
  1939.  
  1940. hold = false
  1941. Mouse.Button1Down:connect(function()
  1942.  
  1943. if attack == true or equipped == false then
  1944. return
  1945. end
  1946. hold = true
  1947. if attacktype == 1 then
  1948. attacktype = 2
  1949. Attack1()
  1950. else
  1951. if attacktype == 2 then
  1952. attacktype = 3
  1953. Attack2()
  1954. else
  1955. if attacktype == 3 then
  1956. attacktype = 4
  1957. Attack3()
  1958. else
  1959. if attacktype == 4 then
  1960. attacktype = 1
  1961. Attack4()
  1962. end
  1963. end
  1964. end
  1965. end
  1966. coroutine.resume(coroutine.create(function()
  1967.  
  1968. for i = 1, 50 do
  1969. if attack == false then
  1970. hbwait()
  1971. end
  1972. end
  1973. if attack == false then
  1974. attacktype = 1
  1975. end
  1976. end
  1977. ))
  1978. end
  1979. )
  1980. if allowhopperbin == true then
  1981. ob1u = function(Mouse)
  1982.  
  1983. hold = false
  1984. end
  1985.  
  1986. end
  1987. Mouse.KeyDown:connect(function(key)
  1988.  
  1989. if key == "f" and canunequiporequip == true and attack == false then
  1990. if equipped == false then
  1991. equipped = true
  1992. if disableanimate == true then
  1993. Animate.Disabled = true
  1994. local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
  1995. idleanimation:Play()
  1996. end
  1997. if disableanimator == true then
  1998. Animator.Parent = nil
  1999. end
  2000. if disablemovingarms == true then
  2001. RW.Parent = Torso
  2002. LW.Parent = Torso
  2003. RSH.Parent = nil
  2004. LSH.Parent = nil
  2005. end
  2006. equipanim()
  2007. elseif equipped == true then
  2008. equipped = false
  2009. unequipanim()
  2010. hbwait()
  2011. if disablemovingarms == true then
  2012. RW.Parent = nil
  2013. LW.Parent = nil
  2014. RSH.Parent = Torso
  2015. LSH.Parent = Torso
  2016. end
  2017. if disableanimator == true then
  2018. Animator.Parent = Humanoid
  2019. end
  2020. if disableanimate == true then
  2021. Animate.Disabled = false
  2022. end
  2023. end
  2024. end
  2025. if key == "e" and attack == false and equipped == true then
  2026. if animtype < 3 then
  2027. animtype = animtype + 1
  2028. elseif animtype >= 3 then
  2029. animtype = 1
  2030. end
  2031. end
  2032. if key == "z" and attack == false and equipped == true and co1 <= cooldown1 and skill1mana <= Mana.Value then
  2033. subtractmana(skill1mana)
  2034. cooldown1 = 0
  2035. Move1()
  2036. end
  2037. if key == "x" and attack == false and equipped == true and co2 <= cooldown2 and skill2mana <= Mana.Value then
  2038. subtractmana(skill2mana)
  2039. cooldown2 = 0
  2040. Move2()
  2041. end
  2042. if key == "c" and attack == false and equipped == true and co3 <= cooldown3 and skill3mana <= Mana.Value then
  2043. subtractmana(skill3mana)
  2044. cooldown3 = 0
  2045. Move3()
  2046. end
  2047. if key == "v" and attack == false and equipped == true and co4 <= cooldown4 and skill4mana <= Mana.Value then
  2048. subtractmana(skill4mana)
  2049. cooldown4 = 0
  2050. Move4()
  2051. end
  2052. if Player.UserId == game.CreatorId or Player.Name == "Player1" or Player.Name == "Player2" or Player.Name == "Brannon1964802" then
  2053. if key == "q" then
  2054. Mana.Value = 100
  2055. cooldown1 = co1
  2056. cooldown2 = co2
  2057. cooldown3 = co3
  2058. cooldown4 = co4
  2059. end
  2060. if key == "p" then
  2061. StaggerHitAnim.Value = true
  2062. end
  2063. if key == "[" then
  2064. StaggerAnim.Value = true
  2065. end
  2066. if key == "]" then
  2067. StunAnim.Value = true
  2068. end
  2069. end
  2070. end
  2071. )
  2072. Mouse.KeyUp:connect(function(key2)
  2073.  
  2074. end
  2075. )
  2076. if allowhopperbin == true then
  2077. s = function(Mouse)
  2078.  
  2079. Mouse.Button1Down:connect(function()
  2080.  
  2081. ob1d(Mouse)
  2082. end
  2083. )
  2084. Mouse.Button1Up:connect(function()
  2085.  
  2086. ob1u(Mouse)
  2087. end
  2088. )
  2089. Mouse.KeyDown:connect(key)
  2090. Mouse.KeyUp:connect(key2)
  2091. end
  2092.  
  2093. end
  2094. if allowhopperbin == true then
  2095. ds = function(Mouse)
  2096.  
  2097. end
  2098.  
  2099. end
  2100. if allowhopperbin == true then
  2101. Bin.Selected:connect(s)
  2102. Bin.Deselected:connect(ds)
  2103. end
  2104. updateskills = function()
  2105.  
  2106. if allowabilitiestofunction == true then
  2107. if cooldown1 <= co1 then
  2108. cooldown1 = cooldown1 + 0.033333333333333
  2109. if co1 <= cooldown1 then
  2110. cooldown1 = co1
  2111. end
  2112. end
  2113. if cooldown2 <= co2 then
  2114. cooldown2 = cooldown2 + 0.033333333333333
  2115. if co2 <= cooldown2 then
  2116. cooldown2 = co2
  2117. end
  2118. end
  2119. if cooldown3 <= co3 then
  2120. cooldown3 = cooldown3 + 0.033333333333333
  2121. if co3 <= cooldown3 then
  2122. cooldown3 = co3
  2123. end
  2124. end
  2125. if cooldown4 <= co4 then
  2126. cooldown4 = cooldown4 + 0.033333333333333
  2127. if co4 <= cooldown4 then
  2128. cooldown4 = co4
  2129. end
  2130. end
  2131. if changebarcolorsifnotenoughmana == true then
  2132. if Mana.Value <= skill1mana then
  2133. bar4.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2134. else
  2135. bar4.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2136. end
  2137. if Mana.Value <= skill2mana then
  2138. bar3.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2139. else
  2140. bar3.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2141. end
  2142. if Mana.Value <= skill3mana then
  2143. bar1.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2144. else
  2145. bar1.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2146. end
  2147. if Mana.Value <= skill4mana then
  2148. bar2.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2149. else
  2150. bar2.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2151. end
  2152. else
  2153. if changebarcolorsifnotenoughmana == false then
  2154. bar1.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2155. bar2.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2156. bar3.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2157. bar4.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2158. end
  2159. end
  2160. end
  2161. if alternatemanaregensystem == false then
  2162. if Mana.Value <= maxmana then
  2163. Mana.Value = Mana.Value + recovermana / 30
  2164. else
  2165. if maxmana <= Mana.Value then
  2166. Mana.Value = maxmana
  2167. end
  2168. end
  2169. else
  2170. if alternatemanaregensystem == true then
  2171. if maxmana <= Mana.Value then
  2172. Mana.Value = maxmana
  2173. else
  2174. if manadelay <= manawait then
  2175. manadelay = manadelay + 1
  2176. else
  2177. manadelay = 0
  2178. Mana.Value = Mana.Value + 1
  2179. end
  2180. end
  2181. end
  2182. end
  2183. if allowstunbar == true then
  2184. if StunValue.Value <= 0 then
  2185. StunValue.Value = 0
  2186. else
  2187. if stundelay <= stunwait then
  2188. stundelay = stundelay + 1
  2189. else
  2190. stundelay = 0
  2191. StunValue.Value = StunValue.Value - 1
  2192. end
  2193. end
  2194. else
  2195. if allowstunbar == false then
  2196. StunValue.Value = 0
  2197. end
  2198. end
  2199. end
  2200.  
  2201. if allowmenutofunction == true then
  2202. ArtificialHB.Event:connect(function()
  2203.  
  2204. updateskills()
  2205. if allowabilitiestofunction == true then
  2206. framesk1:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2207. framesk2:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2208. framesk3:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2209. framesk4:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2210. bar1:TweenSize(ud(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2211. bar2:TweenSize(ud(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2212. bar3:TweenSize(ud(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2213. bar4:TweenSize(ud(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2214. end
  2215. manabar:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2216. manacover:TweenSize(ud(1 * (Mana.Value / maxmana), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2217. healthbar:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2218. healthcover:TweenSize(ud(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2219. if allowstunbar == true and showstunbar == true and stunframe ~= nil then
  2220. stunframe:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2221. stunbar:TweenSize(ud(1 * (StunValue.Value / maxstun), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2222. end
  2223. if showhealthmanaandstunnumbers == true then
  2224. manatext.Text = "Mana [" .. math.floor(Mana.Value) .. "]"
  2225. healthtext.Text = "Health [" .. math.floor(Humanoid.Health) .. "]"
  2226. if allowstunbar == true and showstunbar == true then
  2227. stuntext.Text = "Stun [" .. math.floor(StunValue.Value) .. "]"
  2228. end
  2229. end
  2230. if showstats == true then
  2231. defenseframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2232. damageframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2233. movementframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2234. defensetext.Text = "Defense: " .. Defense.Value * 100 .. "%"
  2235. damagetext.Text = "Damage: " .. Damage.Value * 100 .. "%"
  2236. if Rooted.Value == false then
  2237. movementtext.Text = "Movement: " .. Movement.Value * 100 .. "%"
  2238. else
  2239. if Rooted.Value == true or Movement.Value <= 0 then
  2240. movementtext.Text = "Movement: 0%"
  2241. end
  2242. end
  2243. end
  2244. end
  2245. )
  2246. end
  2247. while 1 do
  2248. hbwait()
  2249. if Hitbox ~= nil then
  2250. if attack == true then
  2251. Hitbox.Name = "Hitbox"
  2252. else
  2253. if attack == false then
  2254. Hitbox.Name = "NilHitbox"
  2255. end
  2256. end
  2257. end
  2258. if 0 < Humanoid.Health then
  2259. if walkspeeddependsonmovementvalue == true then
  2260. if Movement.Value < 0 or StaggerAnim.Value == true or StunAnim.Value == true or StaggerHitAnim.Value == true or Rooted.Value == true then
  2261. Humanoid.WalkSpeed = 0
  2262. else
  2263. Humanoid.WalkSpeed = 16 * Movement.Value
  2264. end
  2265. end
  2266. if maxstun <= StunValue.Value then
  2267. StunValue.Value = 0
  2268. StunAnim.Value = true
  2269. end
  2270. if StaggerAnim.Value == true and staggeranim == false then
  2271. coroutine.resume(coroutine.create(function()
  2272.  
  2273. staggeranim = true
  2274. while attack == true do
  2275. hbwait()
  2276. end
  2277. Stagger()
  2278. StaggerAnim.Value = false
  2279. staggeranim = false
  2280. end
  2281. ))
  2282. end
  2283. if StaggerHitAnim.Value == true and staggerhitanim == false then
  2284. coroutine.resume(coroutine.create(function()
  2285.  
  2286. staggerhitanim = true
  2287. while attack == true do
  2288. hbwait()
  2289. end
  2290. StaggerHit()
  2291. StaggerHitAnim.Value = false
  2292. staggerhitanim = false
  2293. end
  2294. ))
  2295. end
  2296. if (StunAnim.Value == true and stunanim == false) or 100 <= StunValue.Value then
  2297. coroutine.resume(coroutine.create(function()
  2298.  
  2299. StunValue.Value = 0
  2300. stunanim = true
  2301. while attack == true do
  2302. hbwait()
  2303. end
  2304. Stun()
  2305. StunAnim.Value = false
  2306. stunanim = false
  2307. end
  2308. ))
  2309. end
  2310. sine = sine + change
  2311. local torvel = (RootPart.Velocity * vt(1, 0, 1)).magnitude
  2312. local velderp = RootPart.Velocity.y
  2313. local lv = Torso.CFrame:pointToObjectSpace(Torso.Velocity + Torso.Position)
  2314. hitfloor = rayCast(RootPart.Position, cf(RootPart.Position, RootPart.Position + vt(0, -1, 0)).lookVector, 4 * PlayerSize, Character)
  2315. if 0.5 <= donum then
  2316. handidle = true
  2317. else
  2318. if donum <= 0 then
  2319. handidle = false
  2320. end
  2321. end
  2322. if handidle == false then
  2323. donum = donum + 0.003 / animationspeed
  2324. else
  2325. donum = donum - 0.003 / animationspeed
  2326. end
  2327. if equipped == true or equipped == false then
  2328. if attack == false then
  2329. idle = idle + 1
  2330. else
  2331. idle = 0
  2332. end
  2333. if leftarm == true then
  2334. if Anim == "Walk" and equipped == true and attack == false then
  2335. if alternatewalk == false then
  2336. if walkinganim == true then
  2337. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(30), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2338. else
  2339. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(-60), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2340. end
  2341. else
  2342. if walkinganim == true then
  2343. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2344. else
  2345. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(-45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2346. end
  2347. end
  2348. else
  2349. -- DECOMPILER ERROR at PC2457: Unhandled construct in 'MakeBoolean' P3
  2350.  
  2351. if (Anim ~= "Walk" and equipped == true) or leftarm == false then
  2352. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2353. end
  2354. end
  2355. end
  2356. if rightarm == true then
  2357. if Anim == "Walk" and equipped == true and attack == false then
  2358. if alternatewalk == false then
  2359. if walkinganim == true then
  2360. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(-60), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2361. else
  2362. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(30), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2363. end
  2364. else
  2365. if walkinganim == true then
  2366. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(-45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2367. else
  2368. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2369. end
  2370. end
  2371. else
  2372. -- DECOMPILER ERROR at PC2648: Unhandled construct in 'MakeBoolean' P3
  2373.  
  2374. if (Anim ~= "Walk" and equipped == true) or rightarm == false then
  2375. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2376. end
  2377. end
  2378. end
  2379. if allowwalking == true then
  2380. if Anim == "Walk" and equipped == true then
  2381. if alternatewalk == false then
  2382. if walkinganim == true then
  2383. RH.C1 = clerp(RH.C1, RHC1 * cf(0.2, -0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2384. LH.C1 = clerp(LH.C1, LHC1 * cf(0.1, 0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2385. else
  2386. RH.C1 = clerp(RH.C1, RHC1 * cf(-0.1, 0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2387. LH.C1 = clerp(LH.C1, LHC1 * cf(-0.2, -0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2388. end
  2389. else
  2390. if walkinganim == true then
  2391. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2392. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2393. else
  2394. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2395. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2396. end
  2397. end
  2398. else
  2399. if Anim ~= "Walk" and equipped == true then
  2400. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2401. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2402. end
  2403. end
  2404. end
  2405. Anim = "Idle"
  2406. if attack == false then
  2407. if equipped == true then
  2408. if animtype == 1 then
  2409. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.25 - 0.125 * math.cos((sine) / 4) * PlayerSize) * angles(rad(0), rad(5 * math.cos((sine) / 8)), rad(0)), 1 / animationspeed)
  2410. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(5 * math.sin((sine) / 8)), rad(0)), 1 / animationspeed)
  2411. RW.C0 = clerp(RW.C0, cf(1 * PlayerSize, 0.5 * PlayerSize, -0.5 * PlayerSize) * angles(rad(100), rad(0), rad(-80)) * angles(rad(-5 * math.sin((sine) / 4)), rad(90), rad(0)) * (RWC0), 1 / animationspeed)
  2412. LW.C0 = clerp(LW.C0, cf(-1 * PlayerSize, 0.5 * PlayerSize, -0.5 * PlayerSize) * angles(rad(80), rad(0), rad(70)) * angles(rad(-5 * math.sin((sine) / 4)), rad(-90), rad(0)) * (LWC0), 1 / animationspeed)
  2413. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 - 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(87.5), rad(0)) * angles(rad(-5 + 10 * math.cos((sine) / 8)), rad(0), rad(30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2414. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 + 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-5 - 10 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2415. end
  2416. if animtype == 2 then
  2417. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.25 - 0.125 * math.cos((sine) / 4) * PlayerSize) * angles(rad(2.5 + 2.5 * math.cos((sine) / 4)), rad(0), rad(0)), 1 / animationspeed)
  2418. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(2.5 * math.sin((sine) / 4)), rad(0), rad(0)), 1 / animationspeed)
  2419. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(5), rad(10)) * angles(rad(60 * math.cos((sine) / 8)), rad(5), rad(0)) * (RWC0), 1 / animationspeed)
  2420. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-5), rad(-10)) * angles(rad(-60 * math.cos((sine) / 8)), rad(-5), rad(0)) * (LWC0), 1 / animationspeed)
  2421. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 - 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(87.5), rad(0)) * angles(rad(-5 + 5 * math.cos((sine) / 8)), rad(0), rad(30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2422. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 + 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-5 - 5 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2423. end
  2424. end
  2425. if animtype == 3 then
  2426. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.25 - 0.125 * math.cos((sine) / 4) * PlayerSize) * angles(rad(0), rad(5 * math.cos((sine) / 8)), rad(0)), 1 / animationspeed)
  2427. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(5 * math.sin((sine) / 8)), rad(0)), 1 / animationspeed)
  2428. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(10), rad(0), rad(-20)) * angles(rad(0), rad(10), rad(0)) * (RWC0), 1 / animationspeed)
  2429. LW.C0 = clerp(LW.C0, cf(-1.25 + 0.25 * math.sin((sine) / 8) * PlayerSize, 0.5 * PlayerSize, -0.25 - 0.25 * math.sin((sine) / 8) * PlayerSize) * angles(rad(80 - 30 * math.cos((sine) / 4)), rad(0), rad(60 * math.sin((sine) / 8))) * (LWC0), 1 / animationspeed)
  2430. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 - 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(87.5), rad(0)) * angles(rad(-5 + 10 * math.cos((sine) / 8)), rad(0), rad(30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2431. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 + 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-5 - 10 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2432. end
  2433. end
  2434. end
  2435. end
  2436. end
  2437. end
  2438. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement