Advertisement
Finnegan5

dance

Aug 26th, 2017
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 102.46 KB | None | 0 0
  1. New = function(Object, Parent, Name, Data)
  2. local Object = Instance.new(Object)
  3. for Index, Value in pairs(Data or {}) do
  4. Object[Index] = Value
  5. end
  6. Object.Parent = Parent
  7. Object.Name = Name
  8. return Object
  9. end
  10.  
  11. if chara.Head:FindFirstChild"face" then
  12. chara.Head.face.Texture = "rbxassetid://67493879"
  13. end
  14. --Credit to Psychopath for this shit
  15.  
  16. Knifu = New("Model",chara,"Knifu",{})
  17. Handle = New("Part",Knifu,"Handle",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.600000024, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.4000034, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  18. Mesh = New("CylinderMesh",Handle,"Mesh",{})
  19. KWeld = New("Weld",Handle,"Weld",{Part0 = Handle,Part1 = chara["Right Arm"],C0=CFrame.new(0,-.25,1)*CFrame.Angles(math.rad(-90),0,math.rad(180))})
  20. Hitbox = New("Part",Knifu,"Hitbox",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.200000003, 1.4000001, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 27.6000042, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  21. Weld = New("ManualWeld",Hitbox,"Weld",{Part0 = Hitbox,Part1 = Handle,C1 = CFrame.new(0, 1.20000052, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  22. Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.2000046, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  23. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),})
  24. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, -0.199999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  25. Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.8000031, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  26. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.5, 1.20000005, 1.5),})
  27. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 0.400000334, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  28. Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.800005555, 26.8000031, -1, 0, 0, 0, 0, -1, 0, -1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  29. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,})
  30. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.400000095, 0.199998856, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  31. Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000036),CFrame = CFrame.new(54.1000023, 0.400004029, 26.8000031, 1, 0, 0, 0, 0, 1, 0, -1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  32. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,})
  33. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 0.400000095, -0.20000267, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  34. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(54.1000023, 0.500006318, 27.2000046, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  35. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),})
  36. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 0.800000429, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  37. BloodPart = New("Part",Knifu,"BloodPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.399999946, 0.400000036),CFrame = CFrame.new(54.1000023, 0.600008607, 28.1000042, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
  38. Mesh = New("SpecialMesh",BloodPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,})
  39. Weld = New("ManualWeld",BloodPart,"Weld",{Part0 = BloodPart,Part1 = Handle,C1 = CFrame.new(0, 1.70000005, 1.90734863e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  40. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700007081, 27.8000031, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  41. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),})
  42. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 1.40000057, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  43. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.0000038, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  44. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  45. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  46. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.0000038, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  47. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  48. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  49. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.2000027, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  50. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  51. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  52. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.2000027, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  53. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  54. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  55. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.4000034, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  56. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  57. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  58. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.4000034, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  59. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  60. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  61. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.6000042, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  62. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  63. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  64. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.6000042, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  65. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  66. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  67. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700007081, 27.4000034, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  68. Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, 0, -0.0500000007),Scale = Vector3.new(0.400000006, 1, 0.5),})
  69. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 1.00000048, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  70. Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.4000034, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  71. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),})
  72. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 2.38418579e-07, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  73. Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.6000042, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  74. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),})
  75. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 0.200000286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  76. Blood2Part = New("Part",Knifu,"Blood2Part",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.400000036, 0.200000003),CFrame = CFrame.new(54.1000023, 0.500006318, 27.7000046, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
  77. Mesh = New("BlockMesh",Blood2Part,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),})
  78. Weld = New("ManualWeld",Blood2Part,"Weld",{Part0 = Blood2Part,Part1 = Handle,C1 = CFrame.new(0, 1.30000043, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  79. Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000033),CFrame = CFrame.new(54.1000023, 0.700008988, 27.8000031, -1, 0, 0, 0, 0, -1, 0, -1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
  80. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,})
  81. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.4000001, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  82. Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000033),CFrame = CFrame.new(54.1000023, 0.500008225, 27.4000034, -1, 0, 0, 0, 0, -1, 0, -1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
  83. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,})
  84. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, -0.0999984741, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  85.  
  86. local p1mit = Instance.new("ParticleEmitter",Hitbox)
  87. p1mit.Texture = "rbxasset://textures/particles/fire_main.dds"
  88. p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(.6,0,0)),ColorSequenceKeypoint.new(1,Color3.new(.6,0,0))})
  89. p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  90. p1mit.Lifetime = NumberRange.new(2)
  91. p1mit.Rate = 100
  92. p1mit.Enabled = false
  93. p1mit.Acceleration = Vector3.new(0,-5,0)
  94. p1mit.Rotation = NumberRange.new(0,359)
  95. p1mit.Speed = NumberRange.new(0)
  96. local p2mit = Instance.new("ParticleEmitter",BloodPart)
  97. p2mit.Texture = "http://www.roblox.com/asset/?id=243132757"
  98. p2mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(.6,0,0)),ColorSequenceKeypoint.new(1,Color3.new(.6,0,0))})
  99. p2mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.1),NumberSequenceKeypoint.new(1,.1)})
  100. p2mit.Lifetime = NumberRange.new(1)
  101. p2mit.Rate = 10
  102. p2mit.Acceleration = Vector3.new(0,-10,0)
  103. p2mit.Speed = NumberRange.new(0)
  104. local p3mit = p2mit:Clone()
  105. p3mit.Parent = Blood2Part
  106.  
  107. Player = game:GetService("Players").LocalPlayer
  108. Character = Player.Character
  109. PlayerGui = Player.PlayerGui
  110. Backpack = Player.Backpack
  111. Torso = Character.Torso
  112. Head = Character.Head
  113. Humanoid = Character.Humanoid
  114. RootPart = Character.HumanoidRootPart
  115. RootJoint = RootPart.RootJoint
  116. LeftArm = Character["Left Arm"]
  117. LeftLeg = Character["Left Leg"]
  118. RightArm = Character["Right Arm"]
  119. RightLeg = Character["Right Leg"]
  120. LS = Torso["Left Shoulder"]
  121. LH = Torso["Left Hip"]
  122. RS = Torso["Right Shoulder"]
  123. RH = Torso["Right Hip"]
  124. Face = Head.face
  125. Neck = Torso.Neck
  126. it = Instance.new
  127. vt = Vector3.new
  128. cf = CFrame.new
  129. rad = math.rad
  130. euler = CFrame.fromEulerAnglesXYZ
  131. angles = CFrame.Angles
  132. Mouse = Player:GetMouse()
  133. coroutine.resume(coroutine.create(function()
  134. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  135. Text = "Fixed by PixelFir3 / Cortana#8155";
  136. Color = Color3.new(0, 1, 1);
  137. Font = Enum.Font.Code;
  138. FontSize = Enum.FontSize.Size24;
  139. })
  140. end))
  141. ArtificialHB = Instance.new("BindableEvent", script)
  142. ArtificialHB.Name = "ArtificialHB"
  143. script:WaitForChild("ArtificialHB")
  144. frame = 0.016666666666667
  145. tf = 0
  146. allowframeloss = false
  147. tossremainder = false
  148. lastframe = tick()
  149. script.ArtificialHB:Fire()
  150. game:GetService("RunService").Heartbeat:connect(function(s, p)
  151.  
  152. tf = tf + s
  153. if frame <= tf then
  154. if allowframeloss then
  155. script.ArtificialHB:Fire()
  156. lastframe = tick()
  157. else
  158. for i = 1, math.floor(tf / frame) do
  159. script.ArtificialHB:Fire()
  160. end
  161. lastframe = tick()
  162. end
  163. if tossremainder then
  164. tf = 0
  165. else
  166. tf = tf - frame * math.floor(tf / frame)
  167. end
  168. end
  169. end
  170. )
  171. local animationspeed = 2
  172. hbwait = function(number)
  173.  
  174. if number == 0 or number == nil then
  175. ArtificialHB.Event:wait()
  176. else
  177. for i = 0, number do
  178. ArtificialHB.Event:wait()
  179. end
  180. end
  181. end
  182.  
  183. local Stats = Instance.new("Folder", Character)
  184. Stats.Name = "Stats"
  185. local Defense = Instance.new("NumberValue", Stats)
  186. Defense.Name = "Defense"
  187. Defense.Value = 0.1
  188. local Movement = Instance.new("NumberValue", Stats)
  189. Movement.Name = "Movement"
  190. Movement.Value = 0.35
  191. local Damage = Instance.new("NumberValue", Stats)
  192. Damage.Name = "Damage"
  193. Damage.Value = 0
  194. local Mana = Instance.new("NumberValue", Stats)
  195. Mana.Name = "Mana"
  196. Mana.Value = 0
  197. local Rooted = Instance.new("BoolValue", Stats)
  198. Rooted.Name = "Rooted"
  199. Rooted.Value = false
  200. local BlockValue = Instance.new("BoolValue", Stats)
  201. BlockValue.Name = "BlockValue"
  202. BlockValue.Value = false
  203. local StaggerHitAnim = Instance.new("BoolValue", Stats)
  204. StaggerHitAnim.Name = "StaggerHitAnim"
  205. StaggerHitAnim.Value = false
  206. local StaggerAnim = Instance.new("BoolValue", Stats)
  207. StaggerAnim.Name = "StaggerAnim"
  208. StaggerAnim.Value = false
  209. local StunAnim = Instance.new("BoolValue", Stats)
  210. StunAnim.Name = "StunAnim"
  211. StunAnim.Value = false
  212. local StunValue = Instance.new("NumberValue", Stats)
  213. StunValue.Name = "StunValue"
  214. StunValue.Value = 0
  215. local CanCrit = Instance.new("BoolValue", Stats)
  216. CanCrit.Name = "CanCrit"
  217. CanCrit.Value = false
  218. local CritChance = Instance.new("NumberValue", Stats)
  219. CritChance.Name = "CritChance"
  220. CritChance.Value = 20
  221. local CanPenetrateArmor = Instance.new("BoolValue", Stats)
  222. CanPenetrateArmor.Name = "CanPenetrateArmor"
  223. CanPenetrateArmor.Value = false
  224. local AntiTeamKill = Instance.new("BoolValue", Stats)
  225. AntiTeamKill.Name = "AntiTeamKill"
  226. AntiTeamKill.Value = false
  227. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  228. RootCF = angles(rad(-90), 0, rad(180))
  229. local idle = 0
  230. local Anim = "Idle"
  231. local animtype = math.floor(math.random(1, 3))
  232. local attacktype = 1
  233. local attack = false
  234. local equipped = false
  235. local LastPoint = nil
  236. local staggerhitanim = false
  237. local staggeranim = false
  238. local stunanim = false
  239. local CritChanceNumber = 0
  240. local idlen = 0
  241. local donum = 0
  242. local sine = 0
  243. local change = 2 / animationspeed
  244. local walkinganim = false
  245. local handidle = false
  246. local walk = 0
  247. local stundelay = 0
  248. local manadelay = 0
  249. local robloxidleanimation = Instance.new("Animation", Torso)
  250. robloxidleanimation.Name = "robloxidleanimation"
  251. robloxidleanimation.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  252. local Animator = Humanoid:FindFirstChild("Animator")
  253. local Animate = Character:FindFirstChild("Animate")
  254. local HitPlayerSounds = {199149137, 199149186, 199149221, 199149235, 199149269, 199149297}
  255. local HitArmorSounds = {199149321, 199149338, 199149367, 199149409, 199149452}
  256. local HitWeaponSounds = {199148971, 199149025, 199149072, 199149109, 199149119}
  257. local HitBlockSounds = {199148933, 199148947}
  258. local cooldown1 = 0
  259. local cooldown2 = 0
  260. local cooldown3 = 0
  261. local cooldown4 = 0
  262. local scrn = Instance.new("ScreenGui", PlayerGui)
  263. local ud = UDim2.new
  264. local c3 = Color3.new
  265. local skillcolorscheme = c3(1, 1, 1)
  266. subtractmana = function(k)
  267.  
  268. if k <= Mana.Value then
  269. Mana.Value = Mana.Value - k
  270. end
  271. end
  272.  
  273. local co1 = 0
  274. local co2 = 0
  275. local co3 = 0
  276. local co4 = 0
  277. local maxmana = 0
  278. local maxstun = 1
  279. local recovermana = 0
  280. local losestun = 0
  281. local stunwait = 0
  282. local manawait = 0
  283. local skill1mana = 0
  284. local skill2mana = 0
  285. local skill3mana = 0
  286. local skill4mana = 0
  287. local menuupdatespeed = 0
  288. local constantupdate = false
  289. local showstats = false
  290. local allowstunbar = false
  291. local CustomColor = Torso.BrickColor
  292. local Colorpart1 = CustomColor.r
  293. local Colorpart2 = CustomColor.g
  294. local Colorpart3 = CustomColor.b
  295. local InverseColor = BrickColor.new(Color3.new(1 - Colorpart1, 1 - Colorpart2, 1 - Colorpart3))
  296. makeframe = function(par, trans, pos, size, color, name)
  297.  
  298. local frame = Instance.new("Frame")
  299. frame.Parent = par
  300. frame.BackgroundTransparency = trans
  301. frame.BorderSizePixel = 2
  302. frame.Position = pos
  303. frame.Size = size
  304. frame.BackgroundColor3 = color
  305. frame.Name = name
  306. return frame
  307. end
  308.  
  309. makelabel = function(par, text, trans, stroketrans, name)
  310.  
  311. local label = Instance.new("TextLabel")
  312. label.Parent = par
  313. label.BackgroundTransparency = 1
  314. label.Size = ud(1, 0, 1, 0)
  315. label.Position = ud(0, 0, 0, 0)
  316. label.TextColor3 = c3(255, 255, 255)
  317. label.TextStrokeTransparency = stroketrans
  318. label.TextTransparency = trans
  319. label.FontSize = Enum.FontSize.Size32
  320. label.Font = Enum.Font.Legacy
  321. label.BorderSizePixel = 0
  322. label.TextScaled = true
  323. label.Text = text
  324. label.Name = name
  325. return label
  326. end
  327.  
  328. framesk1 = makeframe(scrn, 0.5, ud(0.23, 0, 0.93, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 1")
  329. framesk2 = makeframe(scrn, 0.5, ud(0.5, 0, 0.93, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 2")
  330. framesk3 = makeframe(scrn, 0.5, ud(0.5, 0, 0.86, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 3")
  331. framesk4 = makeframe(scrn, 0.5, ud(0.23, 0, 0.86, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 4")
  332. bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 1")
  333. bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 2")
  334. bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 3")
  335. bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 4")
  336. text1 = makelabel(framesk1, "[C] Ability 3", 1, 1, "Text 1")
  337. text2 = makelabel(framesk2, "[V] Ability 4", 1, 1, "Text 2")
  338. text3 = makelabel(framesk3, "[X] Ability 2", 1, 1, "Text 3")
  339. text4 = makelabel(framesk4, "[Z] Ability 1", 1, 1, "Text 4")
  340. manabar = makeframe(scrn, 0.5, ud(0.23, 0, 0.82, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Mana Bar")
  341. manacover = makeframe(manabar, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Mana Cover")
  342. manatext = makelabel(manabar, "Mana", 1, 1, "Mana Text")
  343. 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")
  344. healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(1, 0.19607843137255, 0.19607843137255), "Health Cover")
  345. healthtext = makelabel(healthbar, "Health", 1, 1, "Health Text")
  346. if allowstunbar == true then
  347. 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")
  348. stunbar = makeframe(stunframe, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(1, 1, 0.19607843137255), "Stun Bar")
  349. stuntext = makelabel(stunframe, "Stun", 1, 1, "Stun Text")
  350. end
  351. if showstats == true then
  352. 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")
  353. 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")
  354. 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")
  355. defensetext = makelabel(defenseframe, "Defense: " .. Defense.Value, 1, 1, "Defense Text")
  356. damagetext = makelabel(damageframe, "Damage: " .. Damage.Value, 1, 1, "Damage Text")
  357. movementtext = makelabel(movementframe, "Movement: " .. Movement.Value, 1, 1, "Movement Text")
  358. end
  359. NoOutline = function(Part)
  360.  
  361. Part.TopSurface = 10
  362. end
  363.  
  364. local weldBetween = function(a, b)
  365.  
  366. local weldd = Instance.new("ManualWeld")
  367. weldd.Part0 = a
  368. weldd.Part1 = b
  369. weldd.C0 = CFrame.new()
  370. weldd.C1 = b.CFrame:inverse() * a.CFrame
  371. weldd.Parent = a
  372. return weldd
  373. end
  374.  
  375. nooutline = function(part)
  376.  
  377. part.TopSurface = 10
  378. end
  379.  
  380. part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  381.  
  382. local fp = it("Part")
  383. fp.formFactor = formfactor
  384. fp.Parent = parent
  385. fp.Reflectance = reflectance
  386. fp.Transparency = transparency
  387. fp.CanCollide = false
  388. fp.Locked = true
  389. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  390. fp.Name = name
  391. fp.Size = size
  392. fp.Position = Character.Torso.Position
  393. nooutline(fp)
  394. fp.Material = material
  395. fp:BreakJoints()
  396. return fp
  397. end
  398.  
  399. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  400.  
  401. local mesh = it(Mesh)
  402. mesh.Parent = part
  403. if Mesh == "SpecialMesh" then
  404. mesh.MeshType = meshtype
  405. mesh.MeshId = meshid
  406. end
  407. mesh.Offset = offset
  408. mesh.Scale = scale
  409. return mesh
  410. end
  411.  
  412. weld = function(parent, part0, part1, c0, c1)
  413.  
  414. local weld = it("Motor")
  415. weld.Parent = parent
  416. weld.Part0 = part0
  417. weld.Part1 = part1
  418. weld.C0 = c0
  419. weld.C1 = c1
  420. return weld
  421. end
  422.  
  423. local WeaponName = "Russian Kick"
  424. local ClassName = "Russian Kick"
  425. local PlayerSize = 1
  426. local RWC0 = cf(-0.5, 0, 0) * angles(rad(0), rad(90), rad(0))
  427. local LWC0 = cf(0.5, 0, 0) * angles(rad(0), rad(-90), rad(0))
  428. if PlayerSize ~= 1 then
  429. RootPart.Size = RootPart.Size * PlayerSize
  430. Torso.Size = Torso.Size * PlayerSize
  431. Head.Size = Head.Size * PlayerSize
  432. RightArm.Size = RightArm.Size * PlayerSize
  433. LeftArm.Size = LeftArm.Size * PlayerSize
  434. RightLeg.Size = RightLeg.Size * PlayerSize
  435. LeftLeg.Size = LeftLeg.Size * PlayerSize
  436. RootJoint.Parent = RootPart
  437. Neck.Parent = Torso
  438. LS.Parent = Torso
  439. RS.Parent = Torso
  440. LH.Parent = Torso
  441. RH.Parent = Torso
  442. RootJoint.C0 = RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0))
  443. Neck.C0 = necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0))
  444. Neck.C1 = angles(rad(90), rad(180), 0) * cf(0, 0, -0.5 * PlayerSize)
  445. RS.C0 = cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0
  446. LS.C0 = cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0
  447. RS.C1 = angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  448. LS.C1 = angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  449. RH.C0 = cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0))
  450. LH.C0 = cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0))
  451. RH.C1 = angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  452. LH.C1 = angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  453. for _,v in pairs(Character:GetChildren()) do
  454. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  455. v.Parent = nil
  456. v.Parent = Character
  457. v.Handle.Mesh.Scale = v.Handle.Mesh.Scale * PlayerSize
  458. for _,b in pairs(v.Handle:GetChildren()) do
  459. if b.ClassName == "Weld" or b.ClassName == "Motor" then
  460. local p1 = b.Part1
  461. b.Part1 = nil
  462. local c01, c02, c03, c04, c05, c06, c07, c08, c09, c010, c011, c012 = b.C0:components()
  463. local c11, c12, c13, c14, c15, c16, c17, c18, c19, c110, c111, c112 = b.C1:components()
  464. b.C0 = cf(c01 * PlayerSize, c02 * PlayerSize, c03 * PlayerSize, c04, c05, c06, c07, c08, c09, c010, c011, c012)
  465. b.C1 = cf(c11 * PlayerSize, c12 * PlayerSize, c13 * PlayerSize, c14, c15, c16, c17, c18, c19, c110, c111, c112)
  466. b.Part1 = p1
  467. end
  468. end
  469. end
  470. end
  471. end
  472. m = Instance.new("Model", Character)
  473. m.Name = WeaponName
  474. Effects = Instance.new("Folder", m)
  475. Effects.Name = "Effects"
  476. Humanoid.Died:connect(function()
  477.  
  478. attack = true
  479. for _,v in pairs(Character:GetChildren()) do
  480. if v.ClassName == "Model" then
  481. v:Destroy()
  482. end
  483. end
  484. end
  485. )
  486. for i,v in pairs(Character:GetChildren()) do
  487. if v.ClassName == "Model" then
  488. for _,c in pairs(v:GetChildren()) do
  489. if c.ClassName == "Part" then
  490. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  491. end
  492. end
  493. end
  494. end
  495. print(ClassName .. " loaded.")
  496. clerp = function(a, b, t)
  497. return a:lerp(b, t)
  498. end
  499.  
  500. positiveangle = function(number)
  501.  
  502. if number > 0 then
  503. number = 0
  504. end
  505. return number
  506. end
  507.  
  508. negativeangle = function(number)
  509.  
  510. if number < 0 then
  511. number = 0
  512. end
  513. return number
  514. end
  515.  
  516. so = function(id, par, vol, pit)
  517.  
  518. coroutine.resume(coroutine.create(function()
  519.  
  520. local sou = Instance.new("Sound", par or workspace)
  521. sou.Volume = vol
  522. sou.Pitch = pit or 1
  523. sou.SoundId = "http://roblox.com/asset/?id=" .. id
  524. hbwait()
  525. sou:play()
  526. game:GetService("Debris"):AddItem(sou, 10)
  527. end
  528. ))
  529. end
  530.  
  531. GetDistance = function(Part1, Part2, magnitude)
  532.  
  533. local target = Part1.Position - Part2.Position
  534. local mag = target.magnitude
  535. if mag <= magnitude then
  536. return true
  537. else
  538. return false
  539. end
  540. end
  541.  
  542. rayCast = function(Pos, Dir, Max, Ignore)
  543.  
  544. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  545. end
  546.  
  547. DamageStatLabel = function(labeltype, cframe, text, color)
  548.  
  549. local c = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt(0, 0, 0))
  550. c.CFrame = cf(cframe.p + vt(0, 1.5, 0))
  551. game:GetService("Debris"):AddItem(c, 5)
  552. Instance.new("BodyGyro", c)
  553. local f = Instance.new("BodyPosition", c)
  554. f.P = 2000
  555. f.D = 100
  556. f.maxForce = vt(math.huge, math.huge, math.huge)
  557. if labeltype == "Normal" then
  558. f.position = c.Position + vt(math.random(-2, 2), 6, math.random(-2, 2))
  559. else
  560. if labeltype == "Debuff" then
  561. f.position = c.Position + vt(math.random(-2, 2), 8, math.random(-2, 2))
  562. else
  563. if labeltype == "Interruption" then
  564. f.position = c.Position + vt(math.random(-2, 2), 8, math.random(-2, 2))
  565. end
  566. end
  567. end
  568. game:GetService("Debris"):AddItem(c, 5)
  569. local bg = Instance.new("BillboardGui", c)
  570. bg.Adornee = c
  571. bg.Size = UDim2.new(2.5, 0, 2.5, 0)
  572. bg.StudsOffset = vt(-2, 2, 0)
  573. bg.AlwaysOnTop = false
  574. local tl = Instance.new("TextLabel", bg)
  575. tl.BackgroundTransparency = 1
  576. tl.Size = UDim2.new(2.5, 0, 2.5, 0)
  577. tl.Text = text
  578. tl.Font = Enum.Font.SourceSans
  579. tl.FontSize = Enum.FontSize.Size42
  580. tl.TextColor3 = color
  581. tl.TextScaled = false
  582. tl.TextStrokeTransparency = 0
  583. tl.TextScaled = true
  584. tl.TextWrapped = true
  585. f.Parent = c
  586. coroutine.resume(coroutine.create(function(Part, BodyPosition, TextLabel)
  587.  
  588. wait(0.25)
  589. for i = 1, 5 do
  590. wait()
  591. BodyPosition.position = Part.Position - vt(0, 0.5, 0)
  592. end
  593. wait(1.25)
  594. for i = 1, 5 do
  595. wait()
  596. TextLabel.TextTransparency = TextLabel.TextTransparency + 0.2
  597. TextLabel.TextStrokeTransparency = TextLabel.TextStrokeTransparency + 0.2
  598. BodyPosition.position = Part.Position + vt(0, 0.5, 0)
  599. end
  600. Part.Parent = nil
  601. end
  602. ), c, f, tl)
  603. end
  604.  
  605. IncreaseStat = function(Location, Stat, Amount, Duration, ShowTheStat)
  606.  
  607. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  608.  
  609. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  610.  
  611. if Location:FindFirstChild("Stats") ~= nil and Location.Stats:FindFirstChild("BlockValue") ~= nil and Location.Stats:FindFirstChild("BlockValue").Value ~= true and Location.Stats[Stat] ~= nil then
  612. Location.Stats[Stat].Value = Location.Stats[Stat].Value + Amount
  613. if ShowTheStat == true then
  614. if Stat == "Defense" then
  615. DamageStatLabel("Debuff", Location.Head.CFrame, "+Defense", c3(1, 1, 1))
  616. else
  617. if Stat == "Damage" then
  618. DamageStatLabel("Debuff", Location.Head.CFrame, "+Damage", c3(1, 1, 1))
  619. else
  620. if Stat == "Movement" then
  621. DamageStatLabel("Debuff", Location.Head.CFrame, "+Movement", c3(1, 1, 1))
  622. end
  623. end
  624. end
  625. end
  626. coroutine.resume(coroutine.create(function(CurrentDecrease)
  627.  
  628. wait(Duration)
  629. CurrentDecrease.Value = CurrentDecrease.Value - Amount
  630. end
  631. ), Location.Stats[Stat])
  632. end
  633. DamageStatLabel("Interruption", Location.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
  634. end
  635.  
  636. DecreaseStat = function(Location, Stat, Amount, Duration, ShowTheStat)
  637.  
  638. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  639.  
  640. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  641.  
  642. if Location:FindFirstChild("Stats") ~= nil and Location.Stats:FindFirstChild("BlockValue") ~= nil and Location.Stats:FindFirstChild("BlockValue").Value ~= true and Location.Stats[Stat] ~= nil then
  643. Location.Stats[Stat].Value = Location.Stats[Stat].Value - Amount
  644. if ShowTheStat == true then
  645. if Stat == "Defense" then
  646. DamageStatLabel("Debuff", Location.Head.CFrame, "-Defense", c3(1, 1, 1))
  647. else
  648. if Stat == "Damage" then
  649. DamageStatLabel("Debuff", Location.Head.CFrame, "-Damage", c3(1, 1, 1))
  650. else
  651. if Stat == "Movement" then
  652. DamageStatLabel("Debuff", Location.Head.CFrame, "-Movement", c3(1, 1, 1))
  653. end
  654. end
  655. end
  656. end
  657. coroutine.resume(coroutine.create(function(CurrentDecrease)
  658.  
  659. wait(Duration)
  660. CurrentDecrease.Value = CurrentDecrease.Value + Amount
  661. end
  662. ), Location.Stats[Stat])
  663. end
  664. DamageStatLabel("Interruption", Location.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
  665. end
  666.  
  667. Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, DecreaseTheStat, DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  668.  
  669. if hit.Parent == nil then
  670. return
  671. end
  672. h = hit.Parent:FindFirstChild("Humanoid")
  673. for _,v in pairs(hit.Parent:GetChildren()) do
  674. if v:IsA("Humanoid") then
  675. h = v
  676. end
  677. end
  678. if hit.Name == "Hitbox" and ranged ~= true and hit.Parent ~= m then
  679. StaggerHitAnim.Value = true
  680. so(HitWeaponSounds[math.random(1, #HitWeaponSounds)], hit, 1, 1)
  681. return
  682. end
  683. if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
  684. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  685. end
  686. if hit.Parent.className == "Hat" then
  687. hit = hit.Parent.Parent:FindFirstChild("Head")
  688. end
  689. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  690. if hit.Parent:FindFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  691. return
  692. end
  693. 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
  694. return
  695. end
  696. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent:FindFirstChild("Humanoid").Health <= 0 then
  697. return
  698. end
  699. if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("StunValue") ~= nil then
  700. hit.Parent.Stats:FindFirstChild("StunValue").Value = hit.Parent.Stats:FindFirstChild("StunValue").Value + incstun
  701. end
  702. if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("StaggerAnim") ~= nil and stagger == true then
  703. hit.Parent.Stats:FindFirstChild("StaggerAnim").Value = true
  704. end
  705. if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("BlockValue") ~= nil and hit.Parent.Stats:FindFirstChild("BlockValue").Value == true then
  706. if hit.Parent.Stats:FindFirstChild("BlockDebounce") == nil then
  707. DamageStatLabel("Interruption", hit.Parent.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
  708. local BlockDebounce = Instance.new("BoolValue", hit.Parent.Stats)
  709. BlockDebounce.Name = "BlockDebounce"
  710. BlockDebounce.Value = true
  711. game:GetService("Debris"):AddItem(BlockDebounce, 0.1)
  712. end
  713. do
  714. if ranged ~= true then
  715. do
  716. if hit.Parent.Stats:FindFirstChild("BlockDebounce2") == nil then
  717. local BlockDebounce2 = Instance.new("BoolValue", hit.Parent.Stats)
  718. BlockDebounce2.Name = "BlockDebounce2"
  719. BlockDebounce2.Value = true
  720. game:GetService("Debris"):AddItem(BlockDebounce2, 0.1)
  721. so(HitBlockSounds[math.random(1, #HitBlockSounds)], hit, 1, 1)
  722. end
  723. hit.Parent.Stats:FindFirstChild("BlockValue").Value = false
  724. StaggerAnim.Value = true
  725. do return end
  726. if DecreaseTheStat ~= nil and hit.Parent:FindFirstChild("Stats") ~= nil then
  727. if DecreaseTheStat == "Defense" then
  728. DecreaseStat(hit.Parent, "Defense", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  729. else
  730. if DecreaseTheStat == "Damage" then
  731. DecreaseStat(hit.Parent, "Damage", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  732. else
  733. if DecreaseTheStat == "Movement" then
  734. DecreaseStat(hit.Parent, "Movement", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  735. end
  736. end
  737. end
  738. end
  739. local D = math.random(minim, maxim) * Damage.Value
  740. if hit.Parent:FindFirstChild("Stats") ~= nil then
  741. if hit.Parent.Stats:FindFirstChild("Defense") then
  742. if CanPenetrateArmor.Value == true then
  743. D = D / hit.Parent.Stats:FindFirstChild("Defense").Value
  744. -- DECOMPILER ERROR at PC377: Unhandled construct in 'MakeBoolean' P1
  745.  
  746. if hit.Parent.Stats:FindFirstChild("Defense") ~= nil or CanCrit.Value == true then
  747. CritChanceNumber = math.random(1, CritChance.Value)
  748. if CritChanceNumber == CritChance.Value then
  749. D = D * 2
  750. end
  751. end
  752. D = math.floor(D)
  753. h.Health = h.Health - D
  754. if D <= 3 and staggerhit == true then
  755. if ranged ~= true then
  756. StaggerHitAnim.Value = true
  757. end
  758. if ranged ~= true then
  759. so(HitArmorSounds[math.random(1, #HitArmorSounds)], hit, 1, 1)
  760. end
  761. else
  762. if D > 3 and ranged ~= true then
  763. so(HitPlayerSounds[math.random(1, #HitPlayerSounds)], hit, 1, 1)
  764. end
  765. end
  766. if D > 3 and D < 20 then
  767. if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
  768. DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
  769. so("296102734", hit, 1, 1)
  770. else
  771. DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(1, 0.86274509803922, 0))
  772. end
  773. else
  774. if D >= 20 then
  775. if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
  776. DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
  777. so("296102734", hit, 1, 1)
  778. else
  779. DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(1, 0, 0))
  780. end
  781. else
  782. if D <= 3 then
  783. if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
  784. DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
  785. so("296102734", hit, 1, 1)
  786. else
  787. DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(0.88235294117647, 0.88235294117647, 0.88235294117647))
  788. end
  789. end
  790. end
  791. end
  792. do
  793. if Type == "Normal" then
  794. local vp = Instance.new("BodyVelocity")
  795. vp.P = 500
  796. vp.maxForce = vt(math.huge, 0, math.huge)
  797. if KnockbackType == 1 then
  798. vp.Velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  799. else
  800. if KnockbackType == 2 then
  801. vp.Velocity = Property.CFrame.lookVector * knockback
  802. end
  803. end
  804. if knockback > 0 then
  805. vp.Parent = hit.Parent.Torso
  806. end
  807. game:GetService("Debris"):AddItem(vp, 0.5)
  808. end
  809. local DebounceHit = Instance.new("BoolValue", hit.Parent)
  810. DebounceHit.Name = "DebounceHit"
  811. DebounceHit.Value = true
  812. game:GetService("Debris"):AddItem(DebounceHit, Delay)
  813. end
  814. end
  815. end
  816. end
  817. end
  818. end
  819. end
  820. end
  821. end
  822. end
  823.  
  824. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, MagicDecreaseTheStat, MagicDecreaseAmount, MagicDecreaseDuration, MagicShowDecreasedStat)
  825.  
  826. for _,c in pairs(workspace:GetChildren()) do
  827. local hum = (c:FindFirstChild("Humanoid"))
  828. local head = nil
  829. if hum ~= nil then
  830. head = c:FindFirstChild("Torso")
  831. if head ~= nil then
  832. local targ = head.Position - Part.Position
  833. local mag = targ.magnitude
  834. if mag <= magni and c.Name ~= Player.Name then
  835. Damagefunc(head, mindam, maxdam, knock, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, MagicDecreaseTheStat, MagicDecreaseAmount, MagicDecreaseDuration, MagicShowDecreasedStat)
  836. end
  837. end
  838. do
  839. for _,d in pairs(c:GetChildren()) do
  840. if d.ClassName == "Model" and ranged ~= true then
  841. head = d:FindFirstChild("Hitbox")
  842. if head ~= nil then
  843. local targ = head.Position - Part.Position
  844. local mag = targ.magnitude
  845. if mag <= magni and c.Name ~= Player.Name then
  846. local hitrefpart = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt())
  847. hitrefpart.Anchored = true
  848. hitrefpart.CFrame = cf(head.Position)
  849. so(HitWeaponSounds[math.random(1, #HitWeaponSounds)], hitrefpart, 1, 1)
  850. StaggerHitAnim.Value = true
  851. end
  852. end
  853. end
  854. end
  855. do
  856. -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out DO_STMT
  857.  
  858. -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out IF_THEN_STMT
  859.  
  860. -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out IF_STMT
  861.  
  862. end
  863. end
  864. end
  865. end
  866. end
  867.  
  868. MagniBufforDebuff = function(Part, Magni, Type, Stat, Amount, Duration, ShowTheBufforDebuff, ApplyToOthersInstead)
  869.  
  870. if Player.Neutral == true then
  871. if Type == "Buff" then
  872. IncreaseStat(Character, Stat, Amount, Duration, ShowTheBufforDebuff)
  873. else
  874. if Type == "Debuff" then
  875. DecreaseStat(Character, Stat, Amount, Duration, ShowTheBufforDebuff)
  876. end
  877. end
  878. end
  879. for _,c in pairs(workspace:GetChildren()) do
  880. local hum = (c:FindFirstChild("Humanoid"))
  881. local head = nil
  882. if hum ~= nil then
  883. head = c:FindFirstChild("Torso")
  884. if head ~= nil then
  885. local targ = head.Position - Part.Position
  886. local mag = targ.magnitude
  887. -- DECOMPILER ERROR at PC83: Unhandled construct in 'MakeBoolean' P1
  888.  
  889. 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
  890. if Type == "Buff" then
  891. IncreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  892. else
  893. if Type == "Debuff" then
  894. DecreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  895. end
  896. end
  897. end
  898. end
  899. end
  900. 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
  901. if Type == "Buff" then
  902. IncreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  903. else
  904. if Type == "Debuff" then
  905. DecreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  906. end
  907. end
  908. end
  909. end
  910. end
  911.  
  912. Lightning = function(p0, p1, tym, ofs, brickcolor, material, th, tra, last)
  913.  
  914. local magz = p0 - p1.magnitude
  915. local curpos = p0
  916. local trz = {-ofs, ofs}
  917. for i = 1, tym do
  918. local li = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt(th, th, magz / tym))
  919. do
  920. li.Anchored = true
  921. local ofz = vt(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  922. local trolpos = cf(curpos, p1) * cf(0, 0, magz / tym).p + ofz
  923. if tym == i then
  924. local magz2 = curpos - p1.magnitude
  925. li.Size = vt(th, th, magz2)
  926. li.CFrame = cf(curpos, p1) * cf(0, 0, -magz2 / 2)
  927. else
  928. do
  929. do
  930. li.CFrame = cf(curpos, trolpos) * cf(0, 0, magz / tym / 2)
  931. curpos = li.CFrame * cf(0, 0, magz / tym / 2).p
  932. game.Debris:AddItem(li, last)
  933. coroutine.resume(coroutine.create(function()
  934.  
  935. while li.Transparency ~= 1 do
  936. for i = 0, 1, last do
  937. hbwait()
  938. li.Transparency = li.Transparency + 0.1 / last
  939. end
  940. end
  941. end
  942. ))
  943. end
  944. -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out IF_ELSE_STMT
  945.  
  946. -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out IF_STMT
  947.  
  948. -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out DO_STMT
  949.  
  950. end
  951. end
  952. end
  953. end
  954. end
  955.  
  956. MagicRing = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  957.  
  958. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  959. prt.Anchored = true
  960. prt.CFrame = cframe
  961. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
  962. game:GetService("Debris"):AddItem(prt, 10)
  963. coroutine.resume(coroutine.create(function(Part, Mesh)
  964.  
  965. for i = 0, 1, delay do
  966. hbwait()
  967. Part.CFrame = Part.CFrame
  968. Part.Transparency = i
  969. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  970. end
  971. Part.Parent = nil
  972. end
  973. ), prt, msh)
  974. end
  975.  
  976. MagicWave = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  977.  
  978. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  979. prt.Anchored = true
  980. prt.CFrame = cframe
  981. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, -0.1 * z1), vt(x1, y1, z1))
  982. game:GetService("Debris"):AddItem(prt, 10)
  983. coroutine.resume(coroutine.create(function(Part, Mesh)
  984.  
  985. for i = 0, 1, delay do
  986. hbwait()
  987. Part.CFrame = Part.CFrame
  988. Part.Transparency = i
  989. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  990. end
  991. Part.Parent = nil
  992. end
  993. ), prt, msh)
  994. end
  995.  
  996. MagicBlock = function(brickcolor, material, rotate, cframe, x1, y1, z1, x3, y3, z3, delay)
  997.  
  998. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  999. prt.Anchored = true
  1000. prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1001. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1002. game:GetService("Debris"):AddItem(prt, 10)
  1003. coroutine.resume(coroutine.create(function(Part, Mesh)
  1004.  
  1005. for i = 0, 1, delay do
  1006. hbwait()
  1007. if rotate == true then
  1008. Part.CFrame = Part.CFrame * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1009. end
  1010. Part.Transparency = i
  1011. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1012. end
  1013. Part.Parent = nil
  1014. end
  1015. ), prt, msh)
  1016. end
  1017.  
  1018. MagicBlock2 = function(brickcolor, material, rotate, cframe, x1, y1, z1, x3, y3, z3, delay)
  1019.  
  1020. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1021. prt.Anchored = true
  1022. prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1023. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1024. game:GetService("Debris"):AddItem(prt, 10)
  1025. CF = prt.CFrame
  1026. num = math.random(5, 20)
  1027. coroutine.resume(coroutine.create(function(Part, Mesh, CF2, Num)
  1028.  
  1029. for i = 0, 1, delay do
  1030. hbwait()
  1031. if rotate == true then
  1032. Part.CFrame = CF2 * cf(0, i * Num, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1033. else
  1034. Part.CFrame = CF2 * cf(0, i * Num, 0)
  1035. end
  1036. Part.Transparency = i
  1037. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1038. end
  1039. Part.Parent = nil
  1040. end
  1041. ), prt, msh, CF, num)
  1042. end
  1043.  
  1044. MagicCylinder = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1045.  
  1046. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1047. prt.Anchored = true
  1048. prt.CFrame = cframe
  1049. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1050. game:GetService("Debris"):AddItem(prt, 10)
  1051. coroutine.resume(coroutine.create(function(Part, Mesh)
  1052.  
  1053. for i = 0, 1, delay do
  1054. hbwait()
  1055. Part.Transparency = i
  1056. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1057. end
  1058. Part.Parent = nil
  1059. end
  1060. ), prt, msh)
  1061. end
  1062.  
  1063. MagicCircle = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1064.  
  1065. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1066. prt.Anchored = true
  1067. prt.CFrame = cframe
  1068. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1069. game:GetService("Debris"):AddItem(prt, 10)
  1070. coroutine.resume(coroutine.create(function(Part, Mesh)
  1071.  
  1072. for i = 0, 1, delay do
  1073. hbwait()
  1074. Part.Transparency = i
  1075. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1076. end
  1077. Part.Parent = nil
  1078. end
  1079. ), prt, msh)
  1080. end
  1081.  
  1082. MagicHead = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1083.  
  1084. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1085. prt.Anchored = true
  1086. prt.CFrame = cframe
  1087. local msh = mesh("SpecialMesh", prt, "Head", "", vt(0, 0, 0), vt(x1, y1, z1))
  1088. game:GetService("Debris"):AddItem(prt, 10)
  1089. coroutine.resume(coroutine.create(function(Part, Mesh)
  1090.  
  1091. for i = 0, 1, delay do
  1092. hbwait()
  1093. Part.Transparency = i
  1094. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1095. end
  1096. Part.Parent = nil
  1097. end
  1098. ), prt, msh)
  1099. end
  1100.  
  1101. BreakEffect = function(brickcolor, material, rotate, cframe, x1, y1, z1, delay)
  1102.  
  1103. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1104. prt.Anchored = true
  1105. prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1106. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1107. game:GetService("Debris"):AddItem(prt, 10)
  1108. coroutine.resume(coroutine.create(function(Part, CF, Numbb, randnumb)
  1109.  
  1110. CF = Part.CFrame
  1111. Numbb = 0
  1112. randnumb = math.random() - math.random()
  1113. for i = 0, 1, delay do
  1114. hbwait()
  1115. CF = CF * cf(0, 1, 0)
  1116. if rotate == true then
  1117. Part.CFrame = CF * angles(Numbb, 0, 0)
  1118. else
  1119. if rotate == false then
  1120. Part.CFrame = CF
  1121. end
  1122. end
  1123. Part.Transparency = i
  1124. Numbb = Numbb + (randnumb)
  1125. end
  1126. Part.Parent = nil
  1127. end
  1128. ), prt, CF, Numbb, randnumb)
  1129. end
  1130.  
  1131. ElecEffect = function(brickcolor, material, cf, x, y, z, delay)
  1132.  
  1133. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1134. prt.Anchored = true
  1135. prt.CFrame = cf
  1136. xval = math.random()
  1137. yval = math.random()
  1138. zval = math.random()
  1139. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x, y, z))
  1140. game:GetService("Debris"):AddItem(prt, 10)
  1141. coroutine.resume(coroutine.create(function(Part, Mesh, xvaal, yvaal, zvaal)
  1142.  
  1143. for i = 0, 1, delay do
  1144. hbwait()
  1145. Part.CFrame = Part.CFrame
  1146. xvaal = xvaal - 0.1 * (delay * 10)
  1147. yvaal = yvaal - 0.1 * (delay * 10)
  1148. zvaal = zvaal - 0.1 * (delay * 10)
  1149. Mesh.Scale = Mesh.Scale + vt(xvaal, yvaal, zvaal)
  1150. Part.Transparency = i
  1151. end
  1152. Part.Parent = nil
  1153. end
  1154. ), prt, msh, xval, yval, zval)
  1155. end
  1156.  
  1157. TrailEffect = function(brickcolor, material, currentcf, oldcf, meshtype, reflectance, size, x, y, z, delay)
  1158.  
  1159. local magnitudecframe = currentcf.p - oldcf.p.magnitude
  1160. if magnitudecframe > 0.01 then
  1161. local prt = part(3, Effects, material, reflectance, 0, brickcolor, "Effect", vt(1, magnitudecframe, 1))
  1162. prt.Anchored = true
  1163. prt.CFrame = cf((currentcf.p + oldcf.p) / 2, oldcf.p) * angles(rad(90), 0, 0)
  1164. local TheMeshType = "BlockMesh"
  1165. if meshtype == "Cylinder" then
  1166. TheMeshType = "CylinderMesh"
  1167. end
  1168. local msh = mesh(TheMeshType, prt, "", "", vt(0, 0, 0), vt(0 + size, 1, 0 + size))
  1169. game:GetService("Debris"):AddItem(prt, 10)
  1170. coroutine.resume(coroutine.create(function(Part, Mesh, TheCurrentCFrame, TheLastCFrame)
  1171.  
  1172. for i = 0, 1, delay do
  1173. hbwait()
  1174. Part.Transparency = i
  1175. Mesh.Scale = Mesh.Scale + vt(x, y, z)
  1176. end
  1177. Part.Parent = nil
  1178. end
  1179. ), prt, msh, currentcf, oldcf)
  1180. end
  1181. end
  1182.  
  1183. ClangEffect = function(brickcolor, material, cframe, angle, duration, size, power, reflectance, x, y, z, delay)
  1184.  
  1185. local prt = part(3, Effects, material, 0, 1, brickcolor, "Effect", vt())
  1186. prt.Anchored = true
  1187. prt.CFrame = cframe
  1188. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(0, 0, 0))
  1189. game:GetService("Debris"):AddItem(prt, 10)
  1190. local TheLastPoint = cframe
  1191. coroutine.resume(coroutine.create(function(Part)
  1192.  
  1193. for i = 1, duration do
  1194. hbwait()
  1195. Part.CFrame = Part.CFrame * angles(rad(angle), 0, 0) * cf(0, power, 0)
  1196. TrailEffect(brickcolor, material, Part.CFrame, TheLastPoint, "Cylinder", reflectance, size, x, y, z, delay)
  1197. TheLastPoint = Part.CFrame
  1198. end
  1199. Part.Parent = nil
  1200. end
  1201. ), prt)
  1202. end
  1203.  
  1204. MagicCone = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1205.  
  1206. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1207. prt.Anchored = true
  1208. prt.CFrame = cframe
  1209. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1778999", vt(0, 0, 0), vt(x1, y1, z1))
  1210. game:GetService("Debris"):AddItem(prt, 10)
  1211. coroutine.resume(coroutine.create(function(Part, Mesh)
  1212.  
  1213. for i = 0, 1, delay do
  1214. hbwait()
  1215. Part.Transparency = i
  1216. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1217. end
  1218. Part.Parent = nil
  1219. end
  1220. ), prt, msh)
  1221. end
  1222.  
  1223. MagicFlatCone = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1224.  
  1225. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1226. prt.Anchored = true
  1227. prt.CFrame = cframe
  1228. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1033714", vt(0, 0, 0), vt(x1, y1, z1))
  1229. game:GetService("Debris"):AddItem(prt, 10)
  1230. coroutine.resume(coroutine.create(function(Part, Mesh)
  1231.  
  1232. for i = 0, 1, delay do
  1233. hbwait()
  1234. Part.Transparency = i
  1235. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1236. end
  1237. Part.Parent = nil
  1238. end
  1239. ), prt, msh)
  1240. end
  1241.  
  1242. MagicSpikedCrown = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1243.  
  1244. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1245. prt.Anchored = true
  1246. prt.CFrame = cframe
  1247. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1323306", vt(0, 0, 0), vt(x1, y1, z1))
  1248. game:GetService("Debris"):AddItem(prt, 10)
  1249. coroutine.resume(coroutine.create(function(Part, Mesh)
  1250.  
  1251. for i = 0, 1, delay do
  1252. hbwait()
  1253. Part.Transparency = i
  1254. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1255. end
  1256. Part.Parent = nil
  1257. end
  1258. ), prt, msh)
  1259. end
  1260.  
  1261. MagicCrown = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1262.  
  1263. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1264. prt.Anchored = true
  1265. prt.CFrame = cframe
  1266. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1078075", vt(0, 0, 0), vt(x1, y1, z1))
  1267. game:GetService("Debris"):AddItem(prt, 10)
  1268. coroutine.resume(coroutine.create(function(Part, Mesh)
  1269.  
  1270. for i = 0, 1, delay do
  1271. hbwait()
  1272. Part.Transparency = i
  1273. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1274. end
  1275. Part.Parent = nil
  1276. end
  1277. ), prt, msh)
  1278. end
  1279.  
  1280. MagicSkull = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1281.  
  1282. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1283. prt.Anchored = true
  1284. prt.CFrame = cframe
  1285. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=4770583", vt(0, 0, 0), vt(x1, y1, z1))
  1286. game:GetService("Debris"):AddItem(prt, 10)
  1287. coroutine.resume(coroutine.create(function(Part, Mesh)
  1288.  
  1289. for i = 0, 1, delay do
  1290. hbwait()
  1291. Part.Transparency = i
  1292. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1293. end
  1294. Part.Parent = nil
  1295. end
  1296. ), prt, msh)
  1297. end
  1298.  
  1299. local startequipped = true
  1300. local startequippedwithequipanimation = false
  1301. local disableanimator = true
  1302. local disableanimate = true
  1303. local alternatewalk = false
  1304. local hidemenu = false
  1305. local allowmenutofunction = false
  1306. local allowabilitiestofunction = false
  1307. local canunequiporequip = false
  1308. local allowwalking = false
  1309. local disablemovingarms = false
  1310. local usemotorsinsteadofwelds = false
  1311. local leftarm = false
  1312. local rightarm = false
  1313. local allowhopperbin = false
  1314. local showstunbar = false
  1315. local walkspeeddependsonmovementvalue = true
  1316. local alternatemanaregensystem = false
  1317. local showhealthmanaandstunnumbers = false
  1318. local changebarcolorsifnotenoughmana = false
  1319. local disablejump = false
  1320. if hidemenu == true or allowmenutofunction == false then
  1321. for _,v in pairs(scrn:GetChildren()) do
  1322. if v.ClassName == "Frame" or v.ClassName == "TextLabel" then
  1323. v.Visible = false
  1324. v.BorderSizePixel = 0
  1325. end
  1326. end
  1327. end
  1328. do
  1329. Humanoid.Changed:connect(function(Jump)
  1330.  
  1331. if Jump == "Jump" and disablejump == true then
  1332. Humanoid.Jump = false
  1333. end
  1334. end
  1335. )
  1336. if allowmenutofunction == true then
  1337. for _,v in pairs(scrn:GetChildren()) do
  1338. if v.ClassName == "Frame" then
  1339. for _,b in pairs(v:GetChildren()) do
  1340. if b.ClassName == "TextLabel" then
  1341. coroutine.resume(coroutine.create(function(TheTextLabel)
  1342.  
  1343. wait(menuupdatespeed)
  1344. for i = 1, 0, -0.1 do
  1345. hbwait()
  1346. TheTextLabel.TextTransparency = i
  1347. TheTextLabel.TextStrokeTransparency = i
  1348. end
  1349. TheTextLabel.TextTransparency = 0
  1350. TheTextLabel.TextStrokeTransparency = 0
  1351. end
  1352. ), b)
  1353. if showstats == true then
  1354. coroutine.resume(coroutine.create(function(TheTextLabel)
  1355.  
  1356. wait(menuupdatespeed)
  1357. for i = 1, 0, -0.1 do
  1358. hbwait()
  1359. TheTextLabel.TextTransparency = i
  1360. TheTextLabel.TextStrokeTransparency = i
  1361. end
  1362. TheTextLabel.TextTransparency = 0
  1363. TheTextLabel.TextStrokeTransparency = 0
  1364. end
  1365. ), b)
  1366. end
  1367. if showstunbar == true then
  1368. coroutine.resume(coroutine.create(function(TheTextLabel)
  1369.  
  1370. wait(menuupdatespeed)
  1371. for i = 1, 0, -0.1 do
  1372. hbwait()
  1373. TheTextLabel.TextTransparency = i
  1374. TheTextLabel.TextStrokeTransparency = i
  1375. end
  1376. TheTextLabel.TextTransparency = 0
  1377. TheTextLabel.TextStrokeTransparency = 0
  1378. end
  1379. ), b)
  1380. end
  1381. if allowabilitiestofunction == true then
  1382. coroutine.resume(coroutine.create(function(TheTextLabel)
  1383.  
  1384. wait(menuupdatespeed)
  1385. for i = 1, 0, -0.1 do
  1386. hbwait()
  1387. TheTextLabel.TextTransparency = i
  1388. TheTextLabel.TextStrokeTransparency = i
  1389. end
  1390. TheTextLabel.TextTransparency = 0
  1391. TheTextLabel.TextStrokeTransparency = 0
  1392. end
  1393. ), b)
  1394. end
  1395. end
  1396. end
  1397. end
  1398. end
  1399. end
  1400. do
  1401. if allowhopperbin == true then
  1402. if script.Parent.className ~= "HopperBin" then
  1403. Tool = Instance.new("HopperBin")
  1404. Tool.Parent = Backpack
  1405. Tool.Name = WeaponName
  1406. script.Parent = Tool
  1407. end
  1408. Bin = script.Parent
  1409. end
  1410. if disablemovingarms == true then
  1411. RWC0 = cf(0, 0 - (0.5 * PlayerSize - 0.5), 0) * angles(rad(0), rad(0), rad(0))
  1412. LWC0 = cf(0, 0 - (0.5 * PlayerSize - 0.5), 0) * angles(rad(0), rad(0), rad(0))
  1413. RSH = nil
  1414. if usemotorsinsteadofwelds == true then
  1415. RW = Instance.new("Motor")
  1416. LW = Instance.new("Motor")
  1417. else
  1418. RW = Instance.new("Weld")
  1419. LW = Instance.new("Weld")
  1420. end
  1421. RW.Name = "Right Shoulder"
  1422. LW.Name = "Left Shoulder"
  1423. RSH = Torso["Right Shoulder"]
  1424. LSH = Torso["Left Shoulder"]
  1425. RSH.Parent = Torso
  1426. LSH.Parent = Torso
  1427. RW.Name = "Right Shoulder"
  1428. RW.Part0 = Torso
  1429. RW.C0 = cf(1.5, 0.5, 0)
  1430. RW.C1 = cf(0, 0.5, 0)
  1431. RW.Part1 = Character["Right Arm"]
  1432. RW.Parent = nil
  1433. LW.Name = "Left Shoulder"
  1434. LW.Part0 = Torso
  1435. LW.C0 = cf(-1.5, 0.5, 0)
  1436. LW.C1 = cf(0, 0.5, 0)
  1437. LW.Part1 = Character["Left Arm"]
  1438. LW.Parent = nil
  1439. else
  1440. RW = Torso["Right Shoulder"]
  1441. LW = Torso["Left Shoulder"]
  1442. RWC0 = cf(-0.5, 0, 0) * angles(rad(0), rad(90), rad(0))
  1443. LWC0 = cf(0.5, 0, 0) * angles(rad(0), rad(-90), rad(0))
  1444. end
  1445. equipanim = function()
  1446.  
  1447. attack = true
  1448. Movement.Value = Movement.Value - 0.1
  1449. Defense.Value = Defense.Value + 0.4
  1450. for i = 0, 1, 0.08 / animationspeed do
  1451. hbwait()
  1452. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1453. 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)
  1454. 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)
  1455. 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)
  1456. 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)
  1457. 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)
  1458. end
  1459. attack = false
  1460. end
  1461.  
  1462. unequipanim = function()
  1463.  
  1464. attack = true
  1465. for i = 0, 1, 0.08 / animationspeed do
  1466. hbwait()
  1467. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1468. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)), 0.3 / animationspeed)
  1469. 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)
  1470. 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)
  1471. if disablemovingarms == false then
  1472. RW.C1 = clerp(RW.C1, angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5), 0.3 / animationspeed)
  1473. LW.C1 = clerp(LW.C1, angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5), 0.3 / animationspeed)
  1474. end
  1475. 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)
  1476. 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)
  1477. RH.C1 = clerp(RH.C1, angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize), 0.3 / animationspeed)
  1478. LH.C1 = clerp(LH.C1, angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize), 0.3 / animationspeed)
  1479. end
  1480. RootJoint.C0 = RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0))
  1481. Neck.C0 = necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0))
  1482. Neck.C1 = angles(rad(90), rad(180), 0) * cf(0, 0, -0.5 * PlayerSize)
  1483. RW.C0 = cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0
  1484. LW.C0 = cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0
  1485. if disablemovingarms == false then
  1486. RW.C1 = angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  1487. LW.C1 = angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  1488. end
  1489. RH.C0 = cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0))
  1490. LH.C0 = cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0))
  1491. RH.C1 = angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  1492. LH.C1 = angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  1493. Movement.Value = Movement.Value + 0.1
  1494. Defense.Value = Defense.Value - 0.4
  1495. attack = false
  1496. end
  1497.  
  1498. if startequipped == true then
  1499. equipped = true
  1500. if disableanimate == true then
  1501. Animate.Disabled = true
  1502. local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
  1503. idleanimation:Play()
  1504. end
  1505. if disableanimator == true then
  1506. Animator.Parent = nil
  1507. end
  1508. if disablemovingarms == true then
  1509. RW.Parent = Torso
  1510. LW.Parent = Torso
  1511. RSH.Parent = nil
  1512. LSH.Parent = nil
  1513. end
  1514. Movement.Value = Movement.Value - 0.1
  1515. Defense.Value = Defense.Value + 0.4
  1516. end
  1517. if startequippedwithequipanimation == true then
  1518. equipped = true
  1519. if disableanimate == true then
  1520. Animate.Disabled = true
  1521. local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
  1522. idleanimation:Play()
  1523. end
  1524. if disableanimator == true then
  1525. Animator.Parent = nil
  1526. end
  1527. if disablemovingarms == true then
  1528. RW.Parent = Torso
  1529. LW.Parent = Torso
  1530. RSH.Parent = nil
  1531. LSH.Parent = nil
  1532. end
  1533. coroutine.resume(coroutine.create(function()
  1534.  
  1535. hbwait()
  1536. equipanim()
  1537. end
  1538. ))
  1539. end
  1540.  
  1541. StaggerHit = function()
  1542.  
  1543. attack = true
  1544. if Hitbox ~= nil then
  1545. for i = 1, math.random(2, 4) do
  1546. 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)
  1547. end
  1548. end
  1549. do
  1550. for i = 0, 1, 0.1 / animationspeed do
  1551. hbwait()
  1552. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(-10), rad(0), rad(-30)), 0.3 / animationspeed)
  1553. 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)
  1554. 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)
  1555. 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)
  1556. 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)
  1557. 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)
  1558. if StaggerAnim.Value ~= true then
  1559. do
  1560. if StunAnim.Value == true then
  1561. break
  1562. end
  1563. -- DECOMPILER ERROR at PC314: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1564.  
  1565. -- DECOMPILER ERROR at PC314: LeaveBlock: unexpected jumping out IF_STMT
  1566.  
  1567. end
  1568. end
  1569. end
  1570. attack = false
  1571. end
  1572. end
  1573.  
  1574. Stagger = function()
  1575.  
  1576. attack = true
  1577. disablejump = true
  1578. if Hitbox ~= nil then
  1579. for i = 1, math.random(2, 4) do
  1580. 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)
  1581. end
  1582. end
  1583. do
  1584. attacktype = 1
  1585. DamageStatLabel("Interruption", Head.CFrame, "Staggered!", Color3.new(1, 1, 0))
  1586. local staggervelocity = Instance.new("BodyVelocity", Torso)
  1587. staggervelocity.P = 500
  1588. staggervelocity.maxForce = vt(math.huge, 0, math.huge)
  1589. if Rooted.Value == false then
  1590. staggervelocity.Velocity = RootPart.CFrame.lookVector * -25
  1591. end
  1592. for i = 0, 1, 0.35 / animationspeed do
  1593. hbwait()
  1594. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.1 * PlayerSize) * angles(rad(-20), rad(0), rad(-30)), 0.3 / animationspeed)
  1595. 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)
  1596. 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)
  1597. 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)
  1598. 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)
  1599. 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)
  1600. end
  1601. for i = 0, 1, 0.2 / animationspeed do
  1602. hbwait()
  1603. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.2 * PlayerSize) * angles(rad(-30), rad(0), rad(-30)), 0.3 / animationspeed)
  1604. 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)
  1605. 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)
  1606. 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)
  1607. 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)
  1608. 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)
  1609. end
  1610. staggervelocity:Destroy()
  1611. for i = 0, 1, 0.015 / animationspeed do
  1612. hbwait()
  1613. 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)
  1614. 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)
  1615. 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)
  1616. 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)
  1617. 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)
  1618. 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)
  1619. if StunAnim.Value == true then
  1620. break
  1621. end
  1622. end
  1623. do
  1624. attacktype = 1
  1625. disablejump = false
  1626. attack = false
  1627. end
  1628. end
  1629. end
  1630.  
  1631. Stun = function()
  1632.  
  1633. attack = true
  1634. disablejump = true
  1635. attacktype = 1
  1636. DamageStatLabel("Interruption", Head.CFrame, "Stunned!", Color3.new(1, 1, 0))
  1637. for i = 0, 1, 0.4 / animationspeed do
  1638. hbwait()
  1639. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(15), rad(0), rad(-160)), 0.3 / animationspeed)
  1640. 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)
  1641. 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)
  1642. 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)
  1643. 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)
  1644. 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)
  1645. end
  1646. for i = 0, 1, 0.4 / animationspeed do
  1647. hbwait()
  1648. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.5 * PlayerSize) * angles(rad(45), rad(0), rad(-170)), 0.3 / animationspeed)
  1649. 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)
  1650. 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)
  1651. 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)
  1652. 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)
  1653. 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)
  1654. end
  1655. for i = 0, 1, 0.4 / animationspeed do
  1656. hbwait()
  1657. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1 * PlayerSize) * angles(rad(75), rad(0), rad(-180)), 0.3 / animationspeed)
  1658. 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)
  1659. 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)
  1660. 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)
  1661. 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)
  1662. 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)
  1663. end
  1664. Humanoid.AutoRotate = false
  1665. for i = 1, 70 * animationspeed do
  1666. hbwait()
  1667. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -2.5 * PlayerSize) * angles(rad(90), rad(0), rad(-180)), 0.3 / animationspeed)
  1668. 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)
  1669. 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)
  1670. 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)
  1671. 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)
  1672. 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)
  1673. end
  1674. for i = 0, 1, 0.15 / animationspeed do
  1675. hbwait()
  1676. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1.5 * PlayerSize) * angles(rad(20), rad(0), rad(100)), 0.3 / animationspeed)
  1677. 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)
  1678. 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)
  1679. 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)
  1680. 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)
  1681. 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)
  1682. end
  1683. Humanoid.AutoRotate = true
  1684. attacktype = 1
  1685. disablejump = false
  1686. attack = false
  1687. end
  1688.  
  1689. EAbility = function()
  1690.  
  1691. attack = true
  1692. attack = false
  1693. end
  1694.  
  1695. Attack1 = function()
  1696.  
  1697. attack = true
  1698. attack = false
  1699. end
  1700.  
  1701. Attack2 = function()
  1702.  
  1703. attack = true
  1704. attack = false
  1705. end
  1706.  
  1707. Attack3 = function()
  1708.  
  1709. attack = true
  1710. attack = false
  1711. end
  1712.  
  1713. Attack4 = function()
  1714.  
  1715. attack = true
  1716. attack = false
  1717. end
  1718.  
  1719. Move1 = function()
  1720.  
  1721. attack = true
  1722. attack = false
  1723. end
  1724.  
  1725. Move2 = function()
  1726.  
  1727. attack = true
  1728. attack = false
  1729. end
  1730.  
  1731. Move3 = function()
  1732.  
  1733. attack = true
  1734. attack = false
  1735. end
  1736.  
  1737. Move4 = function()
  1738.  
  1739. attack = true
  1740. attack = false
  1741. end
  1742.  
  1743. hold = false
  1744. Mouse.Button1Down:connect(function()
  1745.  
  1746. if attack == true or equipped == false then
  1747. return
  1748. end
  1749. hold = true
  1750. if attacktype == 1 then
  1751. attacktype = 2
  1752. Attack1()
  1753. else
  1754. if attacktype == 2 then
  1755. attacktype = 3
  1756. Attack2()
  1757. else
  1758. if attacktype == 3 then
  1759. attacktype = 4
  1760. Attack3()
  1761. else
  1762. if attacktype == 4 then
  1763. attacktype = 1
  1764. Attack4()
  1765. end
  1766. end
  1767. end
  1768. end
  1769. coroutine.resume(coroutine.create(function()
  1770.  
  1771. for i = 1, 50 do
  1772. if attack == false then
  1773. hbwait()
  1774. end
  1775. end
  1776. if attack == false then
  1777. attacktype = 1
  1778. end
  1779. end
  1780. ))
  1781. end
  1782. )
  1783. if allowhopperbin == true then
  1784. ob1u = function(Mouse)
  1785.  
  1786. hold = false
  1787. end
  1788.  
  1789. end
  1790. Mouse.KeyDown:connect(function(key)
  1791.  
  1792. if key == "f" and canunequiporequip == true and attack == false then
  1793. if equipped == false then
  1794. equipped = true
  1795. if disableanimate == true then
  1796. Animate.Disabled = true
  1797. local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
  1798. idleanimation:Play()
  1799. end
  1800. if disableanimator == true then
  1801. Animator.Parent = nil
  1802. end
  1803. if disablemovingarms == true then
  1804. RW.Parent = Torso
  1805. LW.Parent = Torso
  1806. RSH.Parent = nil
  1807. LSH.Parent = nil
  1808. end
  1809. equipanim()
  1810. elseif equipped == true then
  1811. equipped = false
  1812. unequipanim()
  1813. hbwait()
  1814. if disablemovingarms == true then
  1815. RW.Parent = nil
  1816. LW.Parent = nil
  1817. RSH.Parent = Torso
  1818. LSH.Parent = Torso
  1819. end
  1820. if disableanimator == true then
  1821. Animator.Parent = Humanoid
  1822. end
  1823. if disableanimate == true then
  1824. Animate.Disabled = false
  1825. end
  1826. end
  1827. end
  1828. if key == "e" and attack == false and equipped == true then
  1829. if animtype < 3 then
  1830. animtype = animtype + 1
  1831. elseif animtype >= 3 then
  1832. animtype = 1
  1833. end
  1834. end
  1835. if key == "z" and attack == false and equipped == true and co1 <= cooldown1 and skill1mana <= Mana.Value then
  1836. subtractmana(skill1mana)
  1837. cooldown1 = 0
  1838. Move1()
  1839. end
  1840. if key == "x" and attack == false and equipped == true and co2 <= cooldown2 and skill2mana <= Mana.Value then
  1841. subtractmana(skill2mana)
  1842. cooldown2 = 0
  1843. Move2()
  1844. end
  1845. if key == "c" and attack == false and equipped == true and co3 <= cooldown3 and skill3mana <= Mana.Value then
  1846. subtractmana(skill3mana)
  1847. cooldown3 = 0
  1848. Move3()
  1849. end
  1850. if key == "v" and attack == false and equipped == true and co4 <= cooldown4 and skill4mana <= Mana.Value then
  1851. subtractmana(skill4mana)
  1852. cooldown4 = 0
  1853. Move4()
  1854. end
  1855. if Player.UserId == game.CreatorId or Player.Name == "Player1" or Player.Name == "Player2" or Player.Name == "Brannon1964802" then
  1856. if key == "q" then
  1857. Mana.Value = 100
  1858. cooldown1 = co1
  1859. cooldown2 = co2
  1860. cooldown3 = co3
  1861. cooldown4 = co4
  1862. end
  1863. if key == "p" then
  1864. StaggerHitAnim.Value = true
  1865. end
  1866. if key == "[" then
  1867. StaggerAnim.Value = true
  1868. end
  1869. if key == "]" then
  1870. StunAnim.Value = true
  1871. end
  1872. end
  1873. end
  1874. )
  1875. Mouse.KeyUp:connect(function(key2)
  1876.  
  1877. end
  1878. )
  1879. if allowhopperbin == true then
  1880. s = function(Mouse)
  1881.  
  1882. Mouse.Button1Down:connect(function()
  1883.  
  1884. ob1d(Mouse)
  1885. end
  1886. )
  1887. Mouse.Button1Up:connect(function()
  1888.  
  1889. ob1u(Mouse)
  1890. end
  1891. )
  1892. Mouse.KeyDown:connect(key)
  1893. Mouse.KeyUp:connect(key2)
  1894. end
  1895.  
  1896. end
  1897. if allowhopperbin == true then
  1898. ds = function(Mouse)
  1899.  
  1900. end
  1901.  
  1902. end
  1903. if allowhopperbin == true then
  1904. Bin.Selected:connect(s)
  1905. Bin.Deselected:connect(ds)
  1906. end
  1907. updateskills = function()
  1908.  
  1909. if allowabilitiestofunction == true then
  1910. if cooldown1 <= co1 then
  1911. cooldown1 = cooldown1 + 0.033333333333333
  1912. if co1 <= cooldown1 then
  1913. cooldown1 = co1
  1914. end
  1915. end
  1916. if cooldown2 <= co2 then
  1917. cooldown2 = cooldown2 + 0.033333333333333
  1918. if co2 <= cooldown2 then
  1919. cooldown2 = co2
  1920. end
  1921. end
  1922. if cooldown3 <= co3 then
  1923. cooldown3 = cooldown3 + 0.033333333333333
  1924. if co3 <= cooldown3 then
  1925. cooldown3 = co3
  1926. end
  1927. end
  1928. if cooldown4 <= co4 then
  1929. cooldown4 = cooldown4 + 0.033333333333333
  1930. if co4 <= cooldown4 then
  1931. cooldown4 = co4
  1932. end
  1933. end
  1934. if changebarcolorsifnotenoughmana == true then
  1935. if Mana.Value <= skill1mana then
  1936. bar4.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  1937. else
  1938. bar4.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  1939. end
  1940. if Mana.Value <= skill2mana then
  1941. bar3.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  1942. else
  1943. bar3.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  1944. end
  1945. if Mana.Value <= skill3mana then
  1946. bar1.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  1947. else
  1948. bar1.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  1949. end
  1950. if Mana.Value <= skill4mana then
  1951. bar2.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  1952. else
  1953. bar2.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  1954. end
  1955. else
  1956. if changebarcolorsifnotenoughmana == false then
  1957. bar1.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  1958. bar2.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  1959. bar3.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  1960. bar4.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  1961. end
  1962. end
  1963. end
  1964. if alternatemanaregensystem == false then
  1965. if Mana.Value <= maxmana then
  1966. Mana.Value = Mana.Value + recovermana / 30
  1967. else
  1968. if maxmana <= Mana.Value then
  1969. Mana.Value = maxmana
  1970. end
  1971. end
  1972. else
  1973. if alternatemanaregensystem == true then
  1974. if maxmana <= Mana.Value then
  1975. Mana.Value = maxmana
  1976. else
  1977. if manadelay <= manawait then
  1978. manadelay = manadelay + 1
  1979. else
  1980. manadelay = 0
  1981. Mana.Value = Mana.Value + 1
  1982. end
  1983. end
  1984. end
  1985. end
  1986. if allowstunbar == true then
  1987. if StunValue.Value <= 0 then
  1988. StunValue.Value = 0
  1989. else
  1990. if stundelay <= stunwait then
  1991. stundelay = stundelay + 1
  1992. else
  1993. stundelay = 0
  1994. StunValue.Value = StunValue.Value - 1
  1995. end
  1996. end
  1997. else
  1998. if allowstunbar == false then
  1999. StunValue.Value = 0
  2000. end
  2001. end
  2002. end
  2003.  
  2004. if allowmenutofunction == true then
  2005. ArtificialHB.Event:connect(function()
  2006.  
  2007. updateskills()
  2008. if allowabilitiestofunction == true then
  2009. framesk1:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2010. framesk2:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2011. framesk3:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2012. framesk4:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2013. bar1:TweenSize(ud(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2014. bar2:TweenSize(ud(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2015. bar3:TweenSize(ud(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2016. bar4:TweenSize(ud(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2017. end
  2018. manabar:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2019. manacover:TweenSize(ud(1 * (Mana.Value / maxmana), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2020. healthbar:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2021. healthcover:TweenSize(ud(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2022. if allowstunbar == true and showstunbar == true and stunframe ~= nil then
  2023. stunframe:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2024. stunbar:TweenSize(ud(1 * (StunValue.Value / maxstun), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2025. end
  2026. if showhealthmanaandstunnumbers == true then
  2027. manatext.Text = "Mana [" .. math.floor(Mana.Value) .. "]"
  2028. healthtext.Text = "Health [" .. math.floor(Humanoid.Health) .. "]"
  2029. if allowstunbar == true and showstunbar == true then
  2030. stuntext.Text = "Stun [" .. math.floor(StunValue.Value) .. "]"
  2031. end
  2032. end
  2033. if showstats == true then
  2034. defenseframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2035. damageframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2036. movementframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2037. defensetext.Text = "Defense: " .. Defense.Value * 100 .. "%"
  2038. damagetext.Text = "Damage: " .. Damage.Value * 100 .. "%"
  2039. if Rooted.Value == false then
  2040. movementtext.Text = "Movement: " .. Movement.Value * 100 .. "%"
  2041. else
  2042. if Rooted.Value == true or Movement.Value <= 0 then
  2043. movementtext.Text = "Movement: 0%"
  2044. end
  2045. end
  2046. end
  2047. end
  2048. )
  2049. end
  2050. while 1 do
  2051. hbwait()
  2052. if Hitbox ~= nil then
  2053. if attack == true then
  2054. Hitbox.Name = "Hitbox"
  2055. else
  2056. if attack == false then
  2057. Hitbox.Name = "NilHitbox"
  2058. end
  2059. end
  2060. end
  2061. if 0 < Humanoid.Health then
  2062. if walkspeeddependsonmovementvalue == true then
  2063. if Movement.Value < 0 or StaggerAnim.Value == true or StunAnim.Value == true or StaggerHitAnim.Value == true or Rooted.Value == true then
  2064. Humanoid.WalkSpeed = 0
  2065. else
  2066. Humanoid.WalkSpeed = 16 * Movement.Value
  2067. end
  2068. end
  2069. if maxstun <= StunValue.Value then
  2070. StunValue.Value = 0
  2071. StunAnim.Value = true
  2072. end
  2073. if StaggerAnim.Value == true and staggeranim == false then
  2074. coroutine.resume(coroutine.create(function()
  2075.  
  2076. staggeranim = true
  2077. while attack == true do
  2078. hbwait()
  2079. end
  2080. Stagger()
  2081. StaggerAnim.Value = false
  2082. staggeranim = false
  2083. end
  2084. ))
  2085. end
  2086. if StaggerHitAnim.Value == true and staggerhitanim == false then
  2087. coroutine.resume(coroutine.create(function()
  2088.  
  2089. staggerhitanim = true
  2090. while attack == true do
  2091. hbwait()
  2092. end
  2093. StaggerHit()
  2094. StaggerHitAnim.Value = false
  2095. staggerhitanim = false
  2096. end
  2097. ))
  2098. end
  2099. if (StunAnim.Value == true and stunanim == false) or 100 <= StunValue.Value then
  2100. coroutine.resume(coroutine.create(function()
  2101.  
  2102. StunValue.Value = 0
  2103. stunanim = true
  2104. while attack == true do
  2105. hbwait()
  2106. end
  2107. Stun()
  2108. StunAnim.Value = false
  2109. stunanim = false
  2110. end
  2111. ))
  2112. end
  2113. sine = sine + change
  2114. local torvel = (RootPart.Velocity * vt(1, 0, 1)).magnitude
  2115. local velderp = RootPart.Velocity.y
  2116. local lv = Torso.CFrame:pointToObjectSpace(Torso.Velocity + Torso.Position)
  2117. hitfloor = rayCast(RootPart.Position, cf(RootPart.Position, RootPart.Position + vt(0, -1, 0)).lookVector, 4 * PlayerSize, Character)
  2118. if 0.5 <= donum then
  2119. handidle = true
  2120. else
  2121. if donum <= 0 then
  2122. handidle = false
  2123. end
  2124. end
  2125. if handidle == false then
  2126. donum = donum + 0.003 / animationspeed
  2127. else
  2128. donum = donum - 0.003 / animationspeed
  2129. end
  2130. if equipped == true or equipped == false then
  2131. if attack == false then
  2132. idle = idle + 1
  2133. else
  2134. idle = 0
  2135. end
  2136. if leftarm == true then
  2137. if Anim == "Walk" and equipped == true and attack == false then
  2138. if alternatewalk == false then
  2139. if walkinganim == true then
  2140. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(30), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2141. else
  2142. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(-60), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2143. end
  2144. else
  2145. if walkinganim == true then
  2146. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2147. else
  2148. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(-45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2149. end
  2150. end
  2151. else
  2152. -- DECOMPILER ERROR at PC2457: Unhandled construct in 'MakeBoolean' P3
  2153.  
  2154. if (Anim ~= "Walk" and equipped == true) or leftarm == false then
  2155. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2156. end
  2157. end
  2158. end
  2159. if rightarm == true then
  2160. if Anim == "Walk" and equipped == true and attack == false then
  2161. if alternatewalk == false then
  2162. if walkinganim == true then
  2163. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(-60), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2164. else
  2165. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(30), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2166. end
  2167. else
  2168. if walkinganim == true then
  2169. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(-45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2170. else
  2171. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2172. end
  2173. end
  2174. else
  2175. -- DECOMPILER ERROR at PC2648: Unhandled construct in 'MakeBoolean' P3
  2176.  
  2177. if (Anim ~= "Walk" and equipped == true) or rightarm == false then
  2178. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2179. end
  2180. end
  2181. end
  2182. if allowwalking == true then
  2183. if Anim == "Walk" and equipped == true then
  2184. if alternatewalk == false then
  2185. if walkinganim == true then
  2186. 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)
  2187. 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)
  2188. else
  2189. 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)
  2190. 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)
  2191. end
  2192. else
  2193. if walkinganim == true then
  2194. 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)
  2195. 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)
  2196. else
  2197. 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)
  2198. 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)
  2199. end
  2200. end
  2201. else
  2202. if Anim ~= "Walk" and equipped == true then
  2203. 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)
  2204. 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)
  2205. end
  2206. end
  2207. end
  2208. Anim = "Idle"
  2209. if attack == false then
  2210. if equipped == true then
  2211. if animtype == 1 then
  2212. 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)
  2213. 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)
  2214. 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)
  2215. 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)
  2216. 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)
  2217. 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)
  2218. end
  2219. if animtype == 2 then
  2220. 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)
  2221. 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)
  2222. 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)
  2223. 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)
  2224. 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)
  2225. 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)
  2226. end
  2227. end
  2228. if animtype == 3 then
  2229. 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)
  2230. 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)
  2231. 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)
  2232. 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)
  2233. 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)
  2234. 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)
  2235. end
  2236. end
  2237. end
  2238. end
  2239. end
  2240. end
  2241. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement