Advertisement
Finnegan5

dancing

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