Advertisement
Finnegan5

boy 2

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