Advertisement
SheeityArtist

BDD Updated

Jun 15th, 2017
1,039
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 121.28 KB | None | 0 0
  1. ----------------------------------
  2. --Ballistic Dispatcher Device-41--
  3. ----------------------------------
  4. --By --
  5. --CKbackup-
  6. -----------
  7.  
  8. player = game.Players.LocalPlayer
  9. chara = player.Character
  10. debby = game.Debris
  11. Mouse = player:GetMouse()
  12. chara.Humanoid.WalkSpeed = 0
  13. atkd = false
  14. atkdd = false
  15. targetted = nil
  16. exed = false
  17. exeact = false
  18. rs = game:GetService("RunService").RenderStepped
  19. overcharge = 0
  20. berserkmode = false
  21. attacking = false
  22.  
  23. --Outfit--
  24. New = function(Object, Parent, Name, Data)
  25. local Object = Instance.new(Object)
  26. for Index, Value in pairs(Data or {}) do
  27. Object[Index] = Value
  28. end
  29. Object.Parent = Parent
  30. Object.Name = Name
  31. return Object
  32. end
  33.  
  34. Gun1 = New("Model",chara,"Gun1",{})
  35. Handle1 = New("Part",Gun1,"Handle1",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.800000012, 1, 1),CFrame = CFrame.new(34.5999947, 1.10000491, 22.4999981, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  36. Weld = New("ManualWeld",Handle1,"Weld",{Part0 = Handle1,Part1 = chara["Right Arm"],C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(-0.0999679565, -0.900001526, 0.100005031, -1, 0, 0, 0, 0, -1, 0, -1, 0),})
  37. Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.999999762, 0.600000024),CFrame = CFrame.new(34.5999985, 1.10000467, 22.0999928, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,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.388235, 0.372549, 0.384314),})
  38. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1, 1),MeshType = Enum.MeshType.Wedge,})
  39. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(-3.81469727e-06, -2.38418579e-07, 0.400005341, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  40. Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.599999905),CFrame = CFrame.new(34.5999947, 1.30000496, 23.0999908, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,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.388235, 0.372549, 0.384314),})
  41. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 0.200000003, 1),})
  42. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(0, 0.199999988, -0.599992752, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  43. Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.400000006, 0.400000006),CFrame = CFrame.new(34.5999947, 2.20000482, 22.1999989, -1, 0, 0, 0, -1, 0, 0, 0, 1),CanCollide = false,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.803922, 0.803922, 0.803922),})
  44. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.800000012, 1),MeshType = Enum.MeshType.Wedge,})
  45. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 1.0999999, 0.299999237, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  46. Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.399999976),CFrame = CFrame.new(34.5999947, 2.20000482, 26.2999973, 0, 0, 1, -1, 0, 0, 0, -1, 0),CanCollide = false,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.803922, 0.803922, 0.803922),})
  47. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1.10000002, 0.800000012),})
  48. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C0 = CFrame.new(0, 0, 0, 0, -1, 0, 0, 0, -1, 1, 0, 0),C1 = CFrame.new(0, 1.0999999, -3.79999924, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  49. Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.200000003),CFrame = CFrame.new(34.5999985, 2.20000482, 23.2999954, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,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.803922, 0.803922, 0.803922),})
  50. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  51. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(-3.81469727e-06, 1.0999999, -0.79999733, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  52. Part = New("Part",Gun1,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 3.5999999),CFrame = CFrame.new(34.5999985, 1.80000472, 23.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  53. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(-3.81469727e-06, 0.69999975, -1.49999428, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  54. Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.800000012),CFrame = CFrame.new(34.5999985, 2.20000482, 22.7999935, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,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.803922, 0.803922, 0.803922),})
  55. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(-3.81469727e-06, 1.0999999, -0.299995422, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  56. Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("White"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999738, 1.19999993),CFrame = CFrame.new(34.5999947, 2.00000477, 23.7999916, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,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.94902, 0.952941, 0.952941),})
  57. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1.70000005, 1),})
  58. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(0, 0.899999917, -1.29999352, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  59. Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.200000003),CFrame = CFrame.new(34.5999985, 2.20000482, 24.2999992, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,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.803922, 0.803922, 0.803922),})
  60. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  61. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(-3.81469727e-06, 1.0999999, -1.80000114, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  62. Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.200000003),CFrame = CFrame.new(34.5999947, 2.20000482, 26.2999897, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,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.803922, 0.803922, 0.803922),})
  63. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  64. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.0999999, -3.79999161, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  65. Part = New("Part",Gun1,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.400000006),CFrame = CFrame.new(34.5999985, 1.80000472, 25.9999981, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  66. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  67. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(-3.81469727e-06, 0.699999869, -3.5, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  68. Part = New("Part",Gun1,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.200000003),CFrame = CFrame.new(34.5999985, 1.80000472, 22.0999928, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  69. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  70. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(-3.81469727e-06, 0.69999975, 0.400005341, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  71. Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 1.79999995),CFrame = CFrame.new(34.5999985, 2.20000482, 25.2999992, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,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.803922, 0.803922, 0.803922),})
  72. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(-3.81469727e-06, 1.0999999, -2.80000114, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  73. Hitbox1 = New("Part",Gun1,"Hitbox1",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.400000006, 1.19999969, 3.39999986),CFrame = CFrame.new(34.5999985, 1.80002093, 24.6999912, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  74. Weld = New("ManualWeld",Hitbox1,"Weld",{Part0 = Hitbox1,Part1 = Handle1,C1 = CFrame.new(-3.81469727e-06, 0.700015962, -2.19999313, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  75. Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.800000012),CFrame = CFrame.new(34.5999947, 2.50000501, 25.9999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,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.803922, 0.803922, 0.803922),})
  76. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 1, 1),MeshType = Enum.MeshType.Wedge,})
  77. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(0, 1.4000001, -3.49999809, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  78. Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.999999762, 0.600000024),CFrame = CFrame.new(34.5999947, 1.10000491, 22.6999989, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,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.388235, 0.372549, 0.384314),})
  79. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1, 1),MeshType = Enum.MeshType.Wedge,})
  80. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 0, -0.200000763, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  81. Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.400000006, 2.4000001),CFrame = CFrame.new(34.5999947, 1.40000486, 24.5999928, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,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.388235, 0.372549, 0.384314),})
  82. Mesh = New("BlockMesh",Part,"Mesh",{})
  83. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(0, 0.300000012, -2.09999466, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  84. Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.400000006, 0.400000095),CFrame = CFrame.new(34.5999947, 1.40000486, 25.7999935, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,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.0666667, 0.0666667, 0.0666667),})
  85. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.04999995, 1.04999995, 0.200000003),})
  86. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(0, 0.300000012, -3.29999542, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  87. Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.400000006, 0.400000006),CFrame = CFrame.new(34.5999947, 1.60000467, 23, -1, 0, 0, 0, -1, 0, 0, 0, 1),CanCollide = false,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.803922, 0.803922, 0.803922),})
  88. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 1.25, 0.5),MeshType = Enum.MeshType.Wedge,})
  89. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 0.499999821, -0.500001907, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  90. Part = New("Part",Gun1,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.400000006, 0.399999976),CFrame = CFrame.new(34.5999947, 1.80000472, 25.9999962, 0, 0, 1, -1, 0, 0, 0, -1, 0),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  91. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1.10000002, 0.800000012),})
  92. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C0 = CFrame.new(0, 0, 0, 0, -1, 0, 0, 0, -1, 1, 0, 0),C1 = CFrame.new(0, 0.699999869, -3.49999809, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  93. BulletSpawn1 = New("Part",Gun1,"BulletSpawn1",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.399999976),CFrame = CFrame.new(34.5999947, 2.20000482, 26.2999973, 0, 0, 1, -1, 0, 0, 0, -1, 0),CanCollide = false,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.0666667, 0.0666667, 0.0666667),})
  94. Mesh = New("CylinderMesh",BulletSpawn1,"Mesh",{Scale = Vector3.new(0.699999988, 1.14999998, 0.699999988),})
  95. Weld = New("ManualWeld",BulletSpawn1,"Weld",{Part0 = BulletSpawn1,Part1 = Handle1,C0 = CFrame.new(0, 0, 0, 0, -1, 0, 0, 0, -1, 1, 0, 0),C1 = CFrame.new(0, 1.0999999, -3.79999924, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  96. Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.200000003),CFrame = CFrame.new(34.5999985, 2.20000482, 22.2999935, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,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.803922, 0.803922, 0.803922),})
  97. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  98. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(-3.81469727e-06, 1.0999999, 0.200004578, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  99.  
  100. Gun2 = New("Model",chara,"Gun2",{})
  101. Handle2 = New("Part",Gun2,"Handle2",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.800000012, 1, 1),CFrame = CFrame.new(37.3999939, 1.10000491, 22.5, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  102. Weld = New("ManualWeld",Handle2,"Weld",{Part0 = Handle2,Part1 = chara["Left Arm"],C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0.100032806, -0.900003433, 0.100005031, -1, 0, 0, 0, 0, -1, 0, -1, 0),})
  103. Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.999999762, 0.600000024),CFrame = CFrame.new(37.3999977, 1.10000467, 22.0999947, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,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.388235, 0.372549, 0.384314),})
  104. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1, 1),MeshType = Enum.MeshType.Wedge,})
  105. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(-3.81469727e-06, -2.38418579e-07, 0.400005341, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  106. Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.599999905),CFrame = CFrame.new(37.3999939, 1.30000496, 23.0999928, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,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.388235, 0.372549, 0.384314),})
  107. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 0.200000003, 1),})
  108. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(0, 0.199999988, -0.599992752, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  109. Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.400000006, 0.400000006),CFrame = CFrame.new(37.3999939, 2.20000482, 22.2000008, -1, 0, 0, 0, -1, 0, 0, 0, 1),CanCollide = false,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.803922, 0.803922, 0.803922),})
  110. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.800000012, 1),MeshType = Enum.MeshType.Wedge,})
  111. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 1.0999999, 0.299999237, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  112. Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.399999976),CFrame = CFrame.new(37.3999939, 2.20000482, 26.2999992, 0, 0, 1, -1, 0, 0, 0, -1, 0),CanCollide = false,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.803922, 0.803922, 0.803922),})
  113. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1.10000002, 0.800000012),})
  114. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0, -1, 0, 0, 0, -1, 1, 0, 0),C1 = CFrame.new(0, 1.0999999, -3.79999924, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  115. Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.200000003),CFrame = CFrame.new(37.3999977, 2.20000482, 23.2999973, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,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.803922, 0.803922, 0.803922),})
  116. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  117. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(-3.81469727e-06, 1.0999999, -0.79999733, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  118. Part = New("Part",Gun2,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 3.5999999),CFrame = CFrame.new(37.3999977, 1.80000472, 23.9999943, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,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. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(-3.81469727e-06, 0.69999975, -1.49999428, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  120. Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.800000012),CFrame = CFrame.new(37.3999977, 2.20000482, 22.7999954, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,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.803922, 0.803922, 0.803922),})
  121. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(-3.81469727e-06, 1.0999999, -0.299995422, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  122. Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("White"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999738, 1.19999993),CFrame = CFrame.new(37.3999939, 2.00000477, 23.7999935, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,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.94902, 0.952941, 0.952941),})
  123. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1.70000005, 1),})
  124. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(0, 0.899999917, -1.29999352, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  125. Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.200000003),CFrame = CFrame.new(37.3999977, 2.20000482, 24.3000011, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,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.803922, 0.803922, 0.803922),})
  126. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  127. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(-3.81469727e-06, 1.0999999, -1.80000114, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  128. Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.200000003),CFrame = CFrame.new(37.3999939, 2.20000482, 26.2999916, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,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.803922, 0.803922, 0.803922),})
  129. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  130. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.0999999, -3.79999161, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  131. Part = New("Part",Gun2,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.400000006),CFrame = CFrame.new(37.3999977, 1.80000472, 26, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  132. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  133. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(-3.81469727e-06, 0.699999869, -3.5, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  134. Part = New("Part",Gun2,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.200000003),CFrame = CFrame.new(37.3999977, 1.80000472, 22.0999947, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  135. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  136. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(-3.81469727e-06, 0.69999975, 0.400005341, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  137. Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 1.79999995),CFrame = CFrame.new(37.3999977, 2.20000482, 25.3000011, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,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.803922, 0.803922, 0.803922),})
  138. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(-3.81469727e-06, 1.0999999, -2.80000114, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  139. Hitbox2 = New("Part",Gun2,"Hitbox2",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.400000006, 1.19999969, 3.39999986),CFrame = CFrame.new(37.3999977, 1.80002093, 24.6999931, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  140. Weld = New("ManualWeld",Hitbox2,"Weld",{Part0 = Hitbox2,Part1 = Handle2,C1 = CFrame.new(-3.81469727e-06, 0.700015962, -2.19999313, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  141. Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.800000012),CFrame = CFrame.new(37.3999939, 2.50000501, 25.9999981, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,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.803922, 0.803922, 0.803922),})
  142. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 1, 1),MeshType = Enum.MeshType.Wedge,})
  143. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(0, 1.4000001, -3.49999809, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  144. Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.999999762, 0.600000024),CFrame = CFrame.new(37.3999939, 1.10000491, 22.7000008, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,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.388235, 0.372549, 0.384314),})
  145. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1, 1),MeshType = Enum.MeshType.Wedge,})
  146. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 0, -0.200000763, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  147. Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.400000006, 2.4000001),CFrame = CFrame.new(37.3999939, 1.40000486, 24.5999947, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,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.388235, 0.372549, 0.384314),})
  148. Mesh = New("BlockMesh",Part,"Mesh",{})
  149. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(0, 0.300000012, -2.09999466, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  150. Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.400000006, 0.400000095),CFrame = CFrame.new(37.3999939, 1.40000486, 25.7999954, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,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.0666667, 0.0666667, 0.0666667),})
  151. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.04999995, 1.04999995, 0.200000003),})
  152. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(0, 0.300000012, -3.29999542, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  153. Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.400000006, 0.400000006),CFrame = CFrame.new(37.3999939, 1.60000467, 23.0000019, -1, 0, 0, 0, -1, 0, 0, 0, 1),CanCollide = false,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.803922, 0.803922, 0.803922),})
  154. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 1.25, 0.5),MeshType = Enum.MeshType.Wedge,})
  155. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 0.499999821, -0.500001907, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  156. Part = New("Part",Gun2,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.400000006, 0.399999976),CFrame = CFrame.new(37.3999939, 1.80000472, 25.9999981, 0, 0, 1, -1, 0, 0, 0, -1, 0),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  157. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1.10000002, 0.800000012),})
  158. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0, -1, 0, 0, 0, -1, 1, 0, 0),C1 = CFrame.new(0, 0.699999869, -3.49999809, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  159. BulletSpawn2 = New("Part",Gun2,"BulletSpawn2",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.399999976),CFrame = CFrame.new(37.3999939, 2.20000482, 26.2999992, 0, 0, 1, -1, 0, 0, 0, -1, 0),CanCollide = false,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.0666667, 0.0666667, 0.0666667),})
  160. Mesh = New("CylinderMesh",BulletSpawn2,"Mesh",{Scale = Vector3.new(0.699999988, 1.14999998, 0.699999988),})
  161. Weld = New("ManualWeld",BulletSpawn2,"Weld",{Part0 = BulletSpawn2,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0, -1, 0, 0, 0, -1, 1, 0, 0),C1 = CFrame.new(0, 1.0999999, -3.79999924, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  162. Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.200000003),CFrame = CFrame.new(37.3999977, 2.20000482, 22.2999954, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,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.803922, 0.803922, 0.803922),})
  163. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  164. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(-3.81469727e-06, 1.0999999, 0.200004578, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  165.  
  166. RightArm = New("Model",chara,"RightArm",{})
  167. MainPart = New("Part",RightArm,"MainPart",{Transparency = 1,Transparency = 1,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(0.5, 3.00000787, -3.50019717, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  168. Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara["Right Arm"],C1 = CFrame.new(0, -1.00135803e-005, -0.000197172165, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  169. Emit2Part = New("Part",RightArm,"Emit2Part",{BrickColor = BrickColor.new("Hot pink"),Material = Enum.Material.Neon,Transparency = 1,Transparency = 1,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(0.5, 2.10001373, -3.5001967, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,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(1, 0, 0.74902),})
  170. Mesh = New("SpecialMesh",Emit2Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  171. Weld = New("ManualWeld",Emit2Part,"Weld",{Part0 = Emit2Part,Part1 = MainPart,C1 = CFrame.new(0, -0.899994135, 4.76837158e-007, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  172. LeftArm = New("Model",chara,"LeftArm",{})
  173. MainPart = New("Part",LeftArm,"MainPart",{Transparency = 1,Transparency = 1,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(-2.50000024, 3.00000787, -3.50019717, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  174. Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara["Left Arm"],C1 = CFrame.new(-2.38418579e-007, -1.00135803e-005, -0.000197172165, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  175. EmitPart = New("Part",LeftArm,"EmitPart",{BrickColor = BrickColor.new("Hot pink"),Material = Enum.Material.Neon,Transparency = 1,Transparency = 1,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-2.5, 2.10001373, -3.5001967, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,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(1, 0, 0.74902),})
  176. Mesh = New("SpecialMesh",EmitPart,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  177. Weld = New("ManualWeld",EmitPart,"Weld",{Part0 = EmitPart,Part1 = MainPart,C1 = CFrame.new(2.38418579e-007, -0.899994135, 4.76837158e-007, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  178.  
  179. lach = LeftArm:GetChildren()
  180. rach = RightArm:GetChildren()
  181. ch = chara:GetChildren()
  182.  
  183. function CreateTrailObj(parent,color1,color2,ofsx,ofsz)
  184. local Att1 = New("Attachment",parent,"Att1",{Position = Vector3.new(ofsx,parent.Size.Y/2,ofsz)})
  185. local Att2 = New("Attachment",parent,"Att2",{Position = Vector3.new(ofsx,-(parent.Size.Y/2),ofsz)})
  186. local TEff = New("Trail",parent,"TrailEff",{Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new(color1).Color),ColorSequenceKeypoint.new(1,BrickColor.new(color2).Color)}),Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.5),NumberSequenceKeypoint.new(1,1)}),Attachment0 = Att1,Attachment1 = Att2,Enabled = false,Lifetime = .5,MinLength = .001})
  187. return TEff
  188. end
  189.  
  190. Slash1Trail = CreateTrailObj(Hitbox1,"White","White",0,0)
  191. Slash2Trail = CreateTrailObj(Hitbox2,"White","White",0,0)
  192. KickTrail = CreateTrailObj(chara["Left Leg"],"White","White",0,0)
  193. FreezeKickTrail = CreateTrailObj(chara["Left Leg"],"New Yeller","New Yeller",0,0)
  194. BRTrail = CreateTrailObj(chara["Right Leg"],"White","White",0,0)
  195. Hitbox1.Att1.Position = Vector3.new(0,0,Hitbox1.Size.Z/2)
  196. Hitbox1.Att2.Position = Vector3.new(0,0,-(Hitbox1.Size.Z/2))
  197. Hitbox2.Att1.Position = Vector3.new(0,0,Hitbox2.Size.Z/2)
  198. Hitbox2.Att2.Position = Vector3.new(0,0,-(Hitbox2.Size.Z/2))
  199.  
  200. crosshair = Instance.new("BillboardGui",chara)
  201. crosshair.Size = UDim2.new(10,0,10,0)
  202. crosshair.Enabled = false
  203. imgl = Instance.new("ImageLabel",crosshair)
  204. imgl.Position = UDim2.new(0,0,0,0)
  205. imgl.Size = UDim2.new(1,0,1,0)
  206. imgl.Image = "rbxassetid://233522684"
  207. imgl.BackgroundTransparency = 1
  208. imgl.ImageColor3 = Color3.new(1,1,0)
  209.  
  210. --Sounds--
  211. function LoadSnd(id,loop,vol,pit)
  212. local snd = New("Sound",chara,"Sound",{SoundId = "rbxassetid://"..id,Looped = loop,Volume = vol,Pitch = pit})
  213. return snd
  214. end
  215. Music = LoadSnd(575330378,true,1,1)
  216. StartUpSnd = LoadSnd(153092315,false,1,.8)
  217. SwingSnd = LoadSnd(158037267,false,1,1)
  218. Swing2Snd = LoadSnd(12222208,false,1,.5)
  219. HitSnd = LoadSnd(153092274,false,1,1)
  220. HitPunchSnd = LoadSnd(153092227,false,1,1)
  221. DodgeSnd = LoadSnd(232210079,false,1,1)
  222. ExpSnd = LoadSnd(142070127,false,1,1)
  223. FlySnd = LoadSnd(169445602,false,1,1)
  224. BExpSnd = LoadSnd(258057783,false,5,1)
  225. ClawDashSnd = LoadSnd(62339698,false,1,.5)
  226. deathmus = LoadSnd(395580552,true,5,1)
  227. deathex = LoadSnd(258057783,false,5,1)
  228. --Grunt1Snd = LoadSnd(159882486,false,1,1.1)
  229. --Grunt2Snd = LoadSnd(159882466,false,1,1.1)
  230. --Grunt3Snd = LoadSnd(159972643,false,1,1.1)
  231. --Grunt4Snd = LoadSnd(159882584,false,1,1.1)
  232. --YouIdiotSnd = LoadSnd(160212768,false,1,1.1)
  233. --DieSnd = LoadSnd(159882598,false,1,1.1)
  234. --Laugh1Snd = LoadSnd(160212549,false,1,1.1)
  235. --Laugh2Snd = LoadSnd(159882561,false,1,1.1)
  236. --Laugh3Snd = LoadSnd(160212812,false,1,1.1)
  237. ChargeSnd = LoadSnd(137463716,false,1,1)
  238. LasSnd = LoadSnd(162246701,false,1,1)
  239. LasLoopSnd = LoadSnd(162246683,true,1,1)
  240. RStompSnd = LoadSnd(2760979,false,1,1)
  241. GunFlameSnd = LoadSnd(2691586,false,1,1)
  242. OrbSnd = LoadSnd(233091161,false,1,1)
  243. ElectricSnd = LoadSnd(231917975,false,1,1)
  244. LightsOutSnd = LoadSnd(231917794,false,1,1)
  245. SkyBeamSnd = LoadSnd(260433522,false,1,1)
  246. TargetSnd = LoadSnd(613361563,false,1,1)
  247. SV1Snd = LoadSnd(28144425,false,1,.265)
  248. SV2Snd = LoadSnd(2697431,false,1,.3)
  249. SVHitSnd = LoadSnd(62339698,false,1,.3)
  250. IceBreakSnd = LoadSnd(357568316,false,1,1)
  251. FreezeSnd = LoadSnd(203936153,false,1,1)
  252. IceBreak2Snd = LoadSnd(87015121,false,1,1)
  253. BlockedSnd = LoadSnd(357622136,false,1,1)
  254. BulletGSnd = LoadSnd(131072992,false,1,2)
  255. MinigunSnd = LoadSnd(146830867,false,1,1)
  256. MiniStopSnd = LoadSnd(295843191,false,1,1)
  257. BulletLSnd = LoadSnd(144884872,false,1,1)
  258. MissileSnd = LoadSnd(137991337,false,1,1)
  259.  
  260. --Play Sound in Part--
  261. function PlaySnd(snd,part)
  262. local sound = snd:Clone()
  263. sound.PlayOnRemove = true
  264. sound.Parent = part
  265. sound:Destroy()
  266. end
  267.  
  268. --Target Select--
  269. function TargetSelect(person)
  270. local dd=coroutine.wrap(function()
  271. if targetted ~= person then
  272. targetted = person
  273. for i = 0,30,10 do
  274. wait(.05)
  275. crosshair.Size = UDim2.new(40-i,0,40-i,0)
  276. end
  277. end
  278. end)
  279. dd()
  280. end
  281.  
  282. --Damage Function--
  283. function dealdmg(dude,damage,env,toim,kby,kbx)
  284. hurt = coroutine.wrap(function(dude2,damage2,env2,toim2)
  285. if dude ~= chara and dude:FindFirstChild("IsHit") == nil then
  286. TargetSelect(dude)
  287. finaldmg = damage + math.random(-env,env)
  288. if berserkmode == true then
  289. finaldmg = math.floor(finaldmg * 1.1)
  290. end
  291. dude.Humanoid.Health = dude.Humanoid.Health - finaldmg
  292. local vall = Instance.new("ObjectValue",dude)
  293. vall.Name = "IsHit"
  294. debby:AddItem(vall,toim)
  295. local bfos = Instance.new("BodyVelocity",dude.Head)
  296. bfos.P = 20000
  297. bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
  298. bfos.Velocity = Vector3.new(0,kby,0) + chara.HumanoidRootPart.CFrame.lookVector * kbx
  299. debby:AddItem(bfos,.1)
  300. local naeeym2 = Instance.new("BillboardGui",dude)
  301. naeeym2.Size = UDim2.new(0,100,0,40)
  302. naeeym2.StudsOffset = Vector3.new(0,3,0)
  303. naeeym2.Adornee = dude.Head
  304. naeeym2.Name = "TalkingBillBoard"
  305. local tecks2 = Instance.new("TextLabel",naeeym2)
  306. tecks2.BackgroundTransparency = 1
  307. tecks2.BorderSizePixel = 0
  308. tecks2.Text = "-"..finaldmg
  309. tecks2.Font = "Fantasy"
  310. tecks2.FontSize = "Size24"
  311. tecks2.TextStrokeTransparency = 0
  312. tecks2.TextColor3 = Color3.new(1,0.6,0)
  313. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  314. tecks2.Size = UDim2.new(1,0,0.5,0)
  315. for i = 1, 5 do
  316. wait(.1)
  317. tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
  318. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
  319. tecks2.TextTransparency = tecks2.TextTransparency + .2
  320. end
  321. naeeym2:Destroy()
  322. end
  323. end)
  324. hurt(dude,damage,env,toim)
  325. end
  326.  
  327. --Explode Hitbox--
  328. function ExHitbox(rad,pos,damage,env,toim,kby,kbx)
  329. local E = Instance.new("Explosion")
  330. E.Position = pos
  331. E.Parent = game.Workspace
  332. E.BlastRadius = rad
  333. E.BlastPressure = 0
  334. E.Visible = false
  335. E.Hit:connect(function(hit)
  336. if hit.Parent:FindFirstChild("Humanoid")~=nil then
  337. dealdmg(hit.Parent,damage,env,toim,kby,kbx)
  338. end
  339. end)
  340. end
  341.  
  342. --Chat Function--
  343. function chatfunc(text)
  344. local chat = coroutine.wrap(function()
  345. if chara:FindFirstChild("TalkingBillBoard")~= nil then
  346. chara:FindFirstChild("TalkingBillBoard"):destroy()
  347. end
  348. local naeeym2 = Instance.new("BillboardGui",chara)
  349. naeeym2.Size = UDim2.new(0,100,0,40)
  350. naeeym2.StudsOffset = Vector3.new(0,3,0)
  351. naeeym2.Adornee = chara.Head
  352. naeeym2.Name = "TalkingBillBoard"
  353. local tecks2 = Instance.new("TextLabel",naeeym2)
  354. tecks2.BackgroundTransparency = 1
  355. tecks2.BorderSizePixel = 0
  356. tecks2.Text = ""
  357. tecks2.Font = "Fantasy"
  358. tecks2.FontSize = "Size24"
  359. tecks2.TextStrokeTransparency = 0
  360. tecks2.TextColor3 = Color3.new(1,1,1)
  361. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  362. tecks2.Size = UDim2.new(1,0,0.5,0)
  363. for i = 1,string.len(text),1 do
  364. tecks2.Text = string.sub(text,1,i)
  365. wait(0.01)
  366. end
  367. wait(1)
  368. for i = 1, 5 do
  369. wait(.01)
  370. tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
  371. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
  372. tecks2.TextTransparency = tecks2.TextTransparency + .2
  373. end
  374. naeeym2:Destroy()
  375. end)
  376. chat()
  377. end
  378.  
  379. function onChatted(msg)
  380. chatfunc(msg)
  381. end
  382. player.Chatted:connect(onChatted)
  383.  
  384. --Punch Hit Effect--
  385. function PunchEff(pos)
  386. local p = Instance.new("Part",game.Workspace)
  387. p.Size = Vector3.new(1,1,1)
  388. p.BrickColor = BrickColor.new("White")
  389. p.Material = "Neon"
  390. p.Anchored = true
  391. p.CanCollide = false
  392. p.CFrame = pos
  393. local pm = Instance.new("SpecialMesh",p)
  394. pm.MeshType = "Sphere"
  395. local disp = coroutine.wrap(function()
  396. for i = 1, 4 do
  397. wait(.01)
  398. p.Transparency = p.Transparency + .2
  399. pm.Scale = pm.Scale + Vector3.new(.2,.2,.2)
  400. end
  401. wait(.01)
  402. p:Destroy()
  403. end)
  404. disp()
  405. end
  406.  
  407. --Blade Hit Effect--
  408. function SlashEff(pos)
  409. local p = Instance.new("Part",game.Workspace)
  410. p.Size = Vector3.new(1,1,1)
  411. p.BrickColor = BrickColor.new("White")
  412. p.Material = "Neon"
  413. p.Anchored = true
  414. p.CanCollide = false
  415. p.CFrame = pos * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  416. local pm = Instance.new("SpecialMesh",p)
  417. pm.MeshType = "Sphere"
  418. pm.Scale = Vector3.new(.5,0,.5)
  419. local disp = coroutine.wrap(function()
  420. for i = 1, 4 do
  421. wait(.01)
  422. p.Transparency = p.Transparency + .2
  423. pm.Scale = pm.Scale + Vector3.new(0,5,0)
  424. end
  425. wait(.01)
  426. p:Destroy()
  427. end)
  428. disp()
  429. end
  430.  
  431. --Super Pause--
  432. function SuperPause()
  433. StartUpSnd:Play()
  434. local p = Instance.new("Part",game.Workspace)
  435. p.Size = Vector3.new(1,1,1)
  436. p.BrickColor = BrickColor.new("White")
  437. p.Material = "Neon"
  438. p.Anchored = true
  439. p.CanCollide = false
  440. p.CFrame = chara.Torso.CFrame
  441. local pm = Instance.new("SpecialMesh",p)
  442. pm.MeshType = "Sphere"
  443. local disp = coroutine.wrap(function()
  444. for i = 1, 4 do
  445. wait(.01)
  446. p.Transparency = p.Transparency + .2
  447. pm.Scale = pm.Scale + Vector3.new(5,5,5)
  448. end
  449. wait(.01)
  450. p:Destroy()
  451. end)
  452. disp()
  453. end
  454.  
  455. --Punch Touch--
  456. dela = .5
  457. bladeactive = false
  458. function punchhit(hit)
  459. if punchactive == true then
  460. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
  461. dealdmg(hit.Parent,10,2,dela,0,5)
  462. PlaySnd(HitPunchSnd,hit.Parent.Head)
  463. PunchEff(Hitbox1.CFrame)
  464. end
  465. end
  466. end
  467. Hitbox1.Touched:connect(punchhit)
  468.  
  469. --Kick Touch--
  470. kickactive = false
  471. dkickactive = false
  472. skickactive = false
  473. didskick = false
  474. lkickactive = false
  475. function kickhit(hit)
  476. if kickactive == true then
  477. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
  478. PlaySnd(HitPunchSnd,hit.Parent.Head)
  479. PunchEff(hit.CFrame)
  480. if dkickactive == true then
  481. dealdmg(hit.Parent,13,2,dela,0,10)
  482. hit.Parent.Humanoid.PlatformStand = true
  483. hit.Parent.Head.CFrame = CFrame.new(hit.Parent.Head.Position.x,hit.Parent.Head.Position.y,hit.Parent.Head.Position.z) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  484. wait(3)
  485. hit.Parent.Humanoid.PlatformStand = false
  486. elseif skickactive == true then
  487. local bodpf = Instance.new("BodyPosition",hit.Parent.Head)
  488. bodpf.MaxForce = Vector3.new(10000,10000,10000)
  489. bodpf.Position = chara.HumanoidRootPart.Position + Vector3.new(0,30,0) + (chara.HumanoidRootPart.CFrame.lookVector*3)
  490. debby:AddItem(bodpf,3.5)
  491. dealdmg(hit.Parent,13,2,dela,50,10)
  492. didskick = true
  493. elseif lkickactive == true then
  494. if hit.Parent.Head:FindFirstChild("BodyPosition") ~= nil then
  495. hit.Parent.Head:FindFirstChild("BodyPosition"):Destroy()
  496. end
  497. dealdmg(hit.Parent,13,2,dela,50,50)
  498. else
  499. dealdmg(hit.Parent,10,2,dela,0,10)
  500. end
  501. end
  502. end
  503. end
  504. chara["Left Leg"].Touched:connect(kickhit)
  505. chara["Right Leg"].Touched:connect(kickhit)
  506.  
  507. --Grab Touch--
  508. weldd = nil
  509. function grabhit(hit)
  510. if exeact == true and exed == false then
  511. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
  512. dealdmg(hit.Parent,9,2,dela,0,0)
  513. PlaySnd(HitPunchSnd,hit.Parent.Head)
  514. PunchEff(hit.CFrame)
  515. weldd = Instance.new("Weld",hit.Parent)
  516. weldd.Part0 = hit.Parent.Head
  517. weldd.Part1 = BulletSpawn2
  518. exed = true
  519. end
  520. end
  521. end
  522. Hitbox2.Touched:connect(grabhit)
  523.  
  524. function CasingDrop(no)
  525. local hitpt = Instance.new("Part",game.Workspace)
  526. hitpt.Size = Vector3.new(0,0,1)
  527. hitpt.TopSurface = 0
  528. hitpt.BottomSurface = 0
  529. local bf = Instance.new("BodyVelocity",hitpt)
  530. bf.P = 10000
  531. bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P)
  532. debby:AddItem(bf,.1)
  533. if no == "Right" then
  534. hitpt.Position = Hitbox1.Position
  535. hitpt.CFrame = Hitbox1.CFrame
  536. bf.Velocity = Vector3.new(0,5,0) + Hitbox1.CFrame.rightVector*10
  537. elseif no == "Left" then
  538. hitpt.Position = Hitbox2.Position
  539. hitpt.CFrame = Hitbox2.CFrame
  540. bf.Velocity = Vector3.new(0,5,0) + Hitbox1.CFrame.rightVector*-10
  541. end
  542. local hitm = Instance.new("SpecialMesh",hitpt)
  543. hitm.MeshId = "http://www.roblox.com/asset/?id=94295100"
  544. hitm.TextureId = "http://www.roblox.com/asset/?id=94287792"
  545. hitm.Scale = Vector3.new(6,6,7)
  546. debby:AddItem(hitpt,3)
  547. end
  548.  
  549. function GunPlode()
  550. PlaySnd(GunFlameSnd,chara)
  551. PlaySnd(ExpSnd,chara)
  552. PlaySnd(BulletGSnd,chara)
  553. CasingDrop("Right")
  554. CasingDrop("Left")
  555. local hitpt = Instance.new("Part",game.Workspace)
  556. hitpt.Size = Vector3.new(1,1,1)
  557. hitpt.Anchored = true
  558. hitpt.CanCollide = false
  559. hitpt.BrickColor = BrickColor.new("Bright yellow")
  560. hitpt.CFrame = BulletSpawn1.CFrame * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  561. local hitb = Instance.new("Part",game.Workspace)
  562. hitb.Size = Vector3.new(1,1,1)
  563. hitb.Anchored = true
  564. hitb.CanCollide = false
  565. hitb.BrickColor = BrickColor.new("Bright yellow")
  566. hitb.Material = "Neon"
  567. hitb.CFrame = CFrame.new(hitpt.Position.x,hitpt.Position.y,hitpt.Position.z) * CFrame.fromEulerAnglesXYZ(math.random(math.rad(-30),math.rad(30)),math.random(math.rad(-30),math.rad(30)),math.random(math.rad(-30),math.rad(30)))
  568. local hitpt2 = hitpt:Clone()
  569. hitpt2.Parent = game.Workspace
  570. hitpt.CFrame = BulletSpawn2.CFrame * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  571. local hitb2 = hitb:Clone()
  572. hitb2.Parent = game.Workspace
  573. hitb.CFrame = CFrame.new(hitpt.Position.x,hitpt.Position.y,hitpt.Position.z) * CFrame.fromEulerAnglesXYZ(math.random(math.rad(-30),math.rad(30)),math.random(math.rad(-30),math.rad(30)),math.random(math.rad(-30),math.rad(30)))
  574. local hitbm = Instance.new("SpecialMesh",hitb)
  575. hitbm.MeshType = "Sphere"
  576. hitbm.Scale = Vector3.new(1,1,1)
  577. local hitm = Instance.new("SpecialMesh",hitpt)
  578. hitm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  579. local hitbm2 = hitbm:Clone()
  580. hitbm2.Parent = hitb2
  581. local hitm2 = hitm:Clone()
  582. hitm2.Parent = hitpt2
  583. local hpt = coroutine.wrap(function()
  584. for i = 1, 9 do
  585. wait(.05)
  586. hitpt.Transparency = hitpt.Transparency + .1
  587. hitm.Scale = hitm.Scale + Vector3.new(.5,.5,.5)
  588. hitb.Transparency = hitb.Transparency + .1
  589. hitbm.Scale = hitbm.Scale + Vector3.new(.5,.5,.5)
  590. hitpt2.Transparency = hitpt2.Transparency + .1
  591. hitm2.Scale = hitm2.Scale + Vector3.new(.5,.5,.5)
  592. hitb2.Transparency = hitb2.Transparency + .1
  593. hitbm2.Scale = hitbm2.Scale + Vector3.new(.5,.5,.5)
  594. end
  595. hitpt:Destroy()
  596. hitb:Destroy()
  597. hitpt2:Destroy()
  598. hitb2:Destroy()
  599. end)
  600. hpt()
  601. ExHitbox(5,BulletSpawn1.Position,12,2,.1,0,-50)
  602. ExHitbox(5,BulletSpawn2.Position,12,2,.1,0,50)
  603. end
  604.  
  605. function Laser(Partt)
  606. local EffectPart = Instance.new("Part",game.Workspace)
  607. EffectPart.Size = Vector3.new(1,1,1)
  608. EffectPart.Anchored = true
  609. EffectPart.BrickColor = BrickColor.new("Bright yellow")
  610. EffectPart.Material = "Neon"
  611. EffectPart.Position = Mouse.Hit.p
  612. EffectPart.CFrame = Mouse.Hit
  613. local mehs1 = Instance.new("SpecialMesh",EffectPart)
  614. mehs1.MeshType = "Sphere"
  615. mehs1.Scale = Vector3.new(2,2,2)
  616. local P = Instance.new("Part")
  617. local Place0 = Partt.CFrame
  618. local Place1 = EffectPart.CFrame
  619. local meshla = Instance.new("BlockMesh", P)
  620. meshla.Scale = Vector3.new(1,1,1)
  621. P.formFactor = 0
  622. P.Size = Vector3.new(1,1,(Place0.p - Place1.p).magnitude)
  623. P.Name = "Laser"
  624. P.CFrame = CFrame.new((Place0.p + Place1.p)/2,Place0.p)
  625. P.Parent = game.Workspace
  626. P.BrickColor = BrickColor.new("Bright yellow")
  627. P.Material = "Neon"
  628. P.Anchored = true
  629. P.CanCollide = false
  630. P.Locked = true
  631. P.BottomSurface = "Smooth"
  632. P.TopSurface = "Smooth"
  633. ExHitbox(5,Place1.p,20,2,.1,0,5)
  634. local fu = coroutine.wrap(function()
  635. for i = 1, 10 do
  636. wait(.01)
  637. mehs1.Scale = mehs1.Scale + Vector3.new(.5,.5,.5)
  638. meshla.Scale = meshla.Scale + Vector3.new(.25,.25,0)
  639. EffectPart.Transparency = EffectPart.Transparency + .1
  640. P.Transparency = P.Transparency + .1
  641. end
  642. ----
  643. P:Destroy()
  644. EffectPart:Destroy()
  645. end)
  646. fu()
  647. end
  648.  
  649. --Material Return--
  650. gprop = {}
  651. function materialhit()
  652. local part = workspace:FindPartOnRay(Ray.new(chara.HumanoidRootPart.Position-Vector3.new(0,2.4,0),Vector3.new(0,-1000,0)))
  653. if part then
  654. gprop = {part.BrickColor,part.Material}
  655. end
  656. end
  657.  
  658. --Clerp Animations--
  659. TC = chara.HumanoidRootPart.RootJoint
  660. HC = chara.Torso.Neck
  661. RAC = chara.Torso["Right Shoulder"]
  662. LAC = chara.Torso["Left Shoulder"]
  663. RLC = chara.Torso["Right Hip"]
  664. LLC = chara.Torso["Left Hip"]
  665. TCF = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  666. HCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  667. RACF = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  668. LACF = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  669. RLCF = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  670. LLCF = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  671. RWF = CFrame.new(-1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  672. LWF = CFrame.new(1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  673. RLWF = CFrame.new(-.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  674. LLWF = CFrame.new(.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  675. RW = Instance.new("Weld",HC.Parent)
  676. RW.Part1 = HC.Parent
  677. RW.Part0 = chara["Right Arm"]
  678. RW.C0 = RWF
  679. LW = Instance.new("Weld",HC.Parent)
  680. LW.Part1 = HC.Parent
  681. LW.Part0 = chara["Left Arm"]
  682. LW.C0 = LWF
  683. RLW = nil
  684. LLW = nil
  685.  
  686. function AddLegWelds()
  687. RLW = Instance.new("Weld",chara["Right Leg"])
  688. RLW.Part1 = HC.Parent
  689. RLW.Part0 = chara["Right Leg"]
  690. RLW.C0 = RLWF
  691. LLW = Instance.new("Weld",chara["Left Leg"])
  692. LLW.Part1 = HC.Parent
  693. LLW.Part0 = chara["Left Leg"]
  694. LLW.C0 = LLWF
  695. end
  696.  
  697. function DestroyLegWelds()
  698. RLC = New("Motor6D",chara.Torso,"Right Hip",{Part0 = chara.Torso,Part1 = chara["Right Leg"],C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),})
  699. LLC = New("Motor6D",chara.Torso,"Left Hip",{Part0 = chara.Torso,Part1 = chara["Left Leg"],C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),})
  700. RLW:Destroy()
  701. LLW:Destroy()
  702. end
  703.  
  704. function clerp(a,b,c)
  705. return a:lerp(b,c)
  706. end
  707.  
  708. ias = New("ScreenGui",player.PlayerGui,"InfoScreen",{})
  709. sus = New("TextBox",player.PlayerGui.InfoScreen,"OverdriveTxtBox",{BackgroundColor3 = Color3.new(1,1,1),BorderColor3 = Color3.new(27/255,42/255,53/255),BorderSizePixel = 2,Position = UDim2.new(0,0,0,325),Size = UDim2.new(0,100,0,25),Font = "Fantasy",Text = "0%",TextColor3 = Color3.new(1,1,1),TextScaled = true,TextStrokeColor3 = Color3.new(0,0,0),TextStrokeTransparency = 0})
  710. sus = New("TextBox",player.PlayerGui.InfoScreen,"KeystrokeTxtBox",{BackgroundColor3 = Color3.new(1,1,1),BorderColor3 = Color3.new(27/255,42/255,53/255),BorderSizePixel = 2,Position = UDim2.new(0,0,0,350),Size = UDim2.new(0,100,0,25),Font = "Fantasy",Text = "",TextColor3 = Color3.new(1,1,1),TextScaled = true,TextStrokeColor3 = Color3.new(0,0,0),TextStrokeTransparency = 0})
  711. sus = New("TextBox",player.PlayerGui.InfoScreen,"BlockTxtBox",{BackgroundColor3 = Color3.new(1,1,1),BorderColor3 = Color3.new(27/255,42/255,53/255),BorderSizePixel = 2,Position = UDim2.new(0,0,0,375),Size = UDim2.new(0,100,0,25),Font = "Fantasy",Text = "0%",TextColor3 = Color3.new(1,1,1),TextScaled = true,TextStrokeColor3 = Color3.new(0,0,0),TextStrokeTransparency = 0})
  712.  
  713. function ultcool()
  714. local CoolDown = New("TextBox",player.PlayerGui.InfoScreen,"UltCoolDown",{BackgroundColor3 = Color3.new(1,1,1),BorderColor3 = Color3.new(27/255,42/255,53/255),BorderSizePixel = 2,Position = UDim2.new(0,0,0,300),Size = UDim2.new(0,100,0,25),Font = "Fantasy",Text = "Ult. Cooldown",TextColor3 = Color3.new(1,1,1),TextScaled = true,TextStrokeColor3 = Color3.new(0,0,0),TextStrokeTransparency = 0})
  715. debby:AddItem(CoolDown,13)
  716. end
  717.  
  718. function guncool(toim)
  719. if berserkmode == false then
  720. local CoolDown = New("TextBox",player.PlayerGui.InfoScreen,"CoolDown",{BackgroundColor3 = Color3.new(1,1,1),BorderColor3 = Color3.new(27/255,42/255,53/255),BorderSizePixel = 2,Position = UDim2.new(0,0,0,400),Size = UDim2.new(0,100,0,25),Font = "Fantasy",Text = "Gun Cooldown",TextColor3 = Color3.new(1,1,1),TextScaled = true,TextStrokeColor3 = Color3.new(0,0,0),TextStrokeTransparency = 0})
  721. debby:AddItem(CoolDown,toim)
  722. end
  723. end
  724.  
  725. --TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
  726. --HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50))
  727. --RW.C0 = (RWF + Vector3.new(1,2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  728. --LW.C0 = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2))
  729.  
  730. TC.C0 = TCF
  731. HC.C0 = HCF
  732. RW.C0 = RWF
  733. LW.C0 = LWF
  734.  
  735. --Idle Clerp--
  736. ITCF = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(70))
  737. IHCF = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-70))
  738. IRWF = (RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0)
  739. ILWF = (LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0)
  740.  
  741. function res()
  742. TC.C0 = ITCF
  743. HC.C0 = IHCF
  744. RW.C0 = IRWF
  745. LW.C0 = ILWF
  746. end
  747. res()
  748.  
  749. --Intro--
  750. Slash1Trail.Enabled = true
  751. Slash2Trail.Enabled = true
  752. for i = 0,.6,.1 do
  753. rs:wait()
  754. TC.C0 = clerp(ITCF,TCF,.4+i)
  755. HC.C0 = clerp(IHCF,HCF,.4+i)
  756. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  757. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  758. end
  759. Handle1.Weld.C0 = Handle1.Weld.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(-90),0)
  760. Handle2.Weld.C0 = Handle2.Weld.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0)
  761. for a = 1, 5 do
  762. SwingSnd:Play()
  763. for i = 0,180,10 do
  764. rs:wait()
  765. Handle1.Weld.C0 = Handle1.Weld.C0 * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-i))
  766. Handle2.Weld.C0 = Handle2.Weld.C0 * CFrame.fromEulerAnglesXYZ(0,0,math.rad(i))
  767. end
  768. end
  769. Handle1.Weld.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  770. Handle2.Weld.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  771. wait(1)
  772. GunPlode()
  773. wait(1)
  774. for i = 0,.6,.1 do
  775. rs:wait()
  776. TC.C0 = clerp(ITCF,TCF,.6-i)
  777. HC.C0 = clerp(IHCF,HCF,.6-i)
  778. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  779. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  780. end
  781. Slash1Trail.Enabled = false
  782. Slash2Trail.Enabled = false
  783.  
  784. chara.Humanoid.WalkSpeed = 16
  785.  
  786. --Overdrive--
  787. function Overdrive()
  788. del = false
  789. atkd = false
  790. overcharge = 0
  791. chara.Humanoid.WalkSpeed = 0
  792. chatfunc("Unleashing Armagus!")
  793. berserkmode = true
  794. local jtrace = Instance.new("Part",game.Workspace)
  795. jtrace.Size = Vector3.new(0,0,0)
  796. jtrace.Position = chara.HumanoidRootPart.Position
  797. jtrace.CFrame = chara.HumanoidRootPart.CFrame - Vector3.new(0,2.5,0)
  798. jtrace.Anchored = true
  799. SuperPause()
  800. local tmesh = Instance.new("SpecialMesh",jtrace)
  801. tmesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  802. tmesh.Scale = Vector3.new(1,1,1)
  803. tmesh.Offset = Vector3.new(0,0,-.125)
  804. Void = nil
  805. VoidParts = {}
  806. Equipped = false
  807. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  808. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  809. end
  810.  
  811. Player = player
  812. Character = chara
  813.  
  814. Humanoid = Character:FindFirstChild("Humanoid")
  815. Torso = Character:FindFirstChild("Torso")
  816. if not Player or not Humanoid or Humanoid.Health == 0 or not Torso then
  817. return
  818. end
  819. Equipped = true
  820. Void = Instance.new("Model")
  821. Void.Name = "Void"
  822. Angle = 0
  823. local VoidPart = Instance.new("Part")
  824. VoidPart.Name = "VoidPart"
  825. VoidPart.Transparency = 1
  826. VoidPart.BrickColor = BrickColor.new("Really black")
  827. VoidPart.Material = Enum.Material.Plastic
  828. VoidPart.Shape = Enum.PartType.Block
  829. VoidPart.FormFactor = Enum.FormFactor.Custom
  830. VoidPart.TopSurface = Enum.SurfaceType.Smooth
  831. VoidPart.BottomSurface = Enum.SurfaceType.Smooth
  832. VoidPart.Anchored = true
  833. VoidPart.CanCollide = false
  834. VoidPart.Locked = true
  835. VoidPart.Size = Vector3.new(10, 0.2, 10)
  836. local BlockMesh = Instance.new("BlockMesh")
  837. BlockMesh.Scale = Vector3.new(1, 1 + 0.005, 1)
  838. BlockMesh.Parent = VoidPart
  839. VoidPart.Parent = Void
  840. local Star = Instance.new("Decal", VoidPart)
  841. Star.Texture = "http://www.roblox.com/asset/?id=565056459"
  842. Star.Face = "Top"
  843. local Light = Instance.new("PointLight", VoidPart)
  844. Light.Color = Color3.new(1,1,0)
  845. Light.Brightness = 100
  846. Light.Range = 10
  847. table.insert(VoidParts, VoidPart)
  848. Spawn(function()
  849. while Equipped and Humanoid.Parent and Humanoid.Health > 0 and Torso.Parent and berserkmode == true do
  850. if Angle == 360 then
  851. Angle = 0
  852. end
  853. Angle = Angle + 0.05
  854. local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
  855. if Hit then
  856. if not Void.Parent then
  857. Void.Parent = Character
  858. end
  859. for i, v in pairs(VoidParts) do
  860. v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
  861. end
  862. else
  863. Void.Parent = nil
  864. end
  865. wait()
  866. end
  867. end)
  868. for i = 0,.6,.1 do
  869. rs:wait()
  870. TC.C0 = clerp(ITCF,TCF,.4+i)
  871. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),.4+i)
  872. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i)
  873. LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i)
  874. end
  875. for i = 1, 10 do
  876. wait(.01)
  877. TC.C0 = TCF
  878. HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0)
  879. RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50))
  880. LW.C0 = (LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50))
  881. jtrace.Transparency = jtrace.Transparency + .1
  882. tmesh.Scale = tmesh.Scale + Vector3.new(2,.05,2)
  883. end
  884. wait(.01)
  885. jtrace:Destroy()
  886. for i = 0,.6,.1 do
  887. rs:wait()
  888. TC.C0 = clerp(ITCF,TCF,.6-i)
  889. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),.6-i)
  890. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.6-i)
  891. LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.6-i)
  892. end
  893. jtrace:Destroy()
  894. local delll = coroutine.wrap(function()
  895. local delval = 10
  896. local naeeym2 = Instance.new("BillboardGui",chara)
  897. naeeym2.Size = UDim2.new(0,100,0,40)
  898. naeeym2.StudsOffset = Vector3.new(0,5,0)
  899. naeeym2.Adornee = chara.Head
  900. naeeym2.Name = "Counter"
  901. local tecks2 = Instance.new("TextLabel",naeeym2)
  902. tecks2.BackgroundTransparency = 1
  903. tecks2.BorderSizePixel = 0
  904. tecks2.Text = ""
  905. tecks2.Font = "Fantasy"
  906. tecks2.FontSize = "Size24"
  907. tecks2.TextStrokeTransparency = 0
  908. tecks2.Size = UDim2.new(1,0,0.5,0)
  909. tecks2.TextColor3 = Color3.new(1,1,0)
  910. tecks2.TextStrokeColor3 = Color3.new(1,1,1)
  911. for i = 0, 30 do
  912. delval = 30 - i
  913. tecks2.Text = "<"..delval..">"
  914. wait(1)
  915. end
  916. berserkmode = false
  917. VoidPart:Destroy()
  918. for i = 1, 5 do
  919. wait(.01)
  920. tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
  921. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
  922. tecks2.TextTransparency = tecks2.TextTransparency + .2
  923. end
  924. end)
  925. delll()
  926. chara.Humanoid.WalkSpeed = 16
  927. del = false
  928. res()
  929. end
  930.  
  931. --Punch--
  932. function Punch()
  933. del = true
  934. atkd = true
  935. chara.Humanoid.WalkSpeed = 0
  936. punchactive = true
  937. Slash1Trail.Enabled = true
  938. wait(.01)
  939. SwingSnd:Play()
  940. wait(.01)
  941. for i = 0,.6,.1 do
  942. rs:wait()
  943. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-180)),TCF,.4+i)
  944. HC.C0 = clerp(IHCF,HCF,.4+i)
  945. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  946. end
  947. wait(.1)
  948. bladeactive = false
  949. for i = 0,.6,.1 do
  950. rs:wait()
  951. TC.C0 = clerp(ITCF,TCF,.6-i)
  952. HC.C0 = clerp(IHCF,HCF,.6-i)
  953. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  954. end
  955. chara.Humanoid.WalkSpeed = 16
  956. punchactive = false
  957. del = false
  958. Slash1Trail.Enabled = false
  959. res()
  960. end
  961.  
  962. --Kick Atk--
  963. function KickAtk()
  964. del = true
  965. atkd = true
  966. chara.Humanoid.WalkSpeed = 0
  967. kickactive = true
  968. KickTrail.Enabled = true
  969. AddLegWelds()
  970. local bfos = Instance.new("BodyVelocity",chara.Torso)
  971. bfos.P = 10000
  972. bfos.MaxForce = Vector3.new(bfos.P,0,bfos.P)
  973. bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 200
  974. debby:AddItem(bfos,.1)
  975. for i = 0,.6,.1 do
  976. rs:wait()
  977. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,math.rad(-85)),.4+i)
  978. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(85)),.4+i)
  979. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,.3,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)),.4+i)
  980. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.2,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.4+i)
  981. LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.4+i)
  982. RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(-1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.4+i)
  983. end
  984. for i = 0,.6,.1 do
  985. rs:wait()
  986. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,math.rad(-85)),.6-i)
  987. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(85)),.6-i)
  988. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,.3,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)),.6-i)
  989. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.2,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.6-i)
  990. LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.6-i)
  991. RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(-1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.6-i)
  992. end
  993. DestroyLegWelds()
  994. kickactive = false
  995. KickTrail.Enabled = false
  996. chara.Humanoid.WalkSpeed = 16
  997. del = false
  998. res()
  999. end
  1000.  
  1001. --Explod--
  1002. function ExplodPunch()
  1003. del = true
  1004. atkd = true
  1005. chara.Humanoid.WalkSpeed = 0
  1006. Slash1Trail.Enabled = true
  1007. Slash2Trail.Enabled = true
  1008. wait(.01)
  1009. for i = 0,.6,.1 do
  1010. rs:wait()
  1011. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1012. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1013. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1014. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1015. end
  1016. GunPlode()
  1017. wait(.5)
  1018. for i = 0,.6,.1 do
  1019. rs:wait()
  1020. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1021. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  1022. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1023. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  1024. end
  1025. chara.Humanoid.WalkSpeed = 16
  1026. del = false
  1027. Slash1Trail.Enabled = false
  1028. Slash2Trail.Enabled = false
  1029. res()
  1030. guncool(1)
  1031. end
  1032.  
  1033. --Bandit Revolver--
  1034. function BanditRevolver()
  1035. del = true
  1036. atkd = true
  1037. chara.Humanoid.WalkSpeed = 0
  1038. kickactive = true
  1039. dkickactive = true
  1040. BRTrail.Enabled = true
  1041. chatfunc("Bandit Revolver!")
  1042. AddLegWelds()
  1043. local bfos = Instance.new("BodyVelocity",chara.Torso)
  1044. bfos.P = 10000
  1045. bfos.MaxForce = Vector3.new(bfos.P,0,bfos.P)
  1046. bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 50
  1047. for i = 0,.6,.1 do
  1048. rs:wait()
  1049. TC.C0 = clerp(ITCF,(TCF + Vector3.new(0,1,0)),.4+i)
  1050. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(20),math.rad(90)),.4+i)
  1051. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i)
  1052. LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i)
  1053. RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),.4+i)
  1054. end
  1055. for i = 0,1,.1 do
  1056. rs:wait()
  1057. TC.C0 = clerp((TCF + Vector3.new(0,1,0)),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),i)
  1058. end
  1059. SwingSnd:Play()
  1060. for i = 0,1,.1 do
  1061. rs:wait()
  1062. TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)),i)
  1063. end
  1064. SwingSnd:Play()
  1065. for i = 0,1,.1 do
  1066. rs:wait()
  1067. TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(270)),ITCF,i)
  1068. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(20),math.rad(90)),IHCF,i)
  1069. RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),IRWF,i)
  1070. LW.C0 = clerp((LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),ILWF,i)
  1071. RLW.C0 = clerp((RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),RLWF,i)
  1072. end
  1073. DestroyLegWelds()
  1074. dkickactive = false
  1075. kickactive = false
  1076. BRTrail.Enabled = false
  1077. chara.Humanoid.WalkSpeed = 16
  1078. bfos:Destroy()
  1079. del = false
  1080. res()
  1081. end
  1082.  
  1083. --Freezer Kick--
  1084. --function FlipKickEffect(pos)
  1085. --local p = Instance.new("Part",game.Workspace)
  1086. --p.Size = Vector3.new(0,0,0)
  1087. --p.BrickColor = BrickColor.new("Bright yellow")
  1088. --p.Material = "Neon"
  1089. --p.Anchored = true
  1090. --p.CanCollide = false
  1091. --p.CFrame = pos * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  1092. --local pm = Instance.new("BlockMesh",p)
  1093. --local disp = coroutine.wrap(function()
  1094. --for i = 1, 4 do
  1095. --wait(.01)
  1096. --p.Transparency = p.Transparency + .2
  1097. --pm.Scale = pm.Scale + Vector3.new(2,2,2)
  1098. --end
  1099. --wait(.01)
  1100. --p:Destroy()
  1101. --end)
  1102. --disp()
  1103. --end
  1104. function FlipKick()
  1105. del = true
  1106. atkd = true
  1107. chatfunc("Hagar!")
  1108. AddLegWelds()
  1109. kickactive = true
  1110. lkickactive = true
  1111. FreezeKickTrail.Enabled = true
  1112. local bfos = Instance.new("BodyVelocity",chara.Torso)
  1113. bfos.P = 10000
  1114. bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
  1115. bfos.Velocity = Vector3.new(0,10,0) + chara.HumanoidRootPart.CFrame.lookVector * 50
  1116. Swing2Snd:Play()
  1117. for i = 0,.6,.1 do
  1118. rs:wait()
  1119. TC.C0 = clerp(ITCF,(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),.4+i)
  1120. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),.4+i)
  1121. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i)
  1122. LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i)
  1123. RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),.4+i)
  1124. --FlipKickEffect(chara["Right Leg"].CFrame - chara["Right Leg"].CFrame.upVector*1.5)
  1125. end
  1126. for i = 1, 3 do
  1127. wait(.001)
  1128. --FlipKickEffect(chara["Right Leg"].CFrame - chara["Right Leg"].CFrame.upVector*1.5)
  1129. end
  1130. bfos:Destroy()
  1131. kickactive = false
  1132. lkickactive = false
  1133. FreezeKickTrail.Enabled = false
  1134. wait(.25)
  1135. for i = 0,.6,.1 do
  1136. rs:wait()
  1137. TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),ITCF,.4+i)
  1138. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),IHCF,.4+i)
  1139. RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),IRWF,.4+i)
  1140. LW.C0 = clerp((LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),ILWF,.4+i)
  1141. RLW.C0 = clerp((RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),RLWF,.4+i)
  1142. end
  1143. DestroyLegWelds()
  1144. del = false
  1145. end
  1146.  
  1147. --Alpha Blast--
  1148. function ABlast()
  1149. del = true
  1150. atkd = true
  1151. chatfunc("Alpha Blast!")
  1152. Slash1Trail.Enabled = true
  1153. Slash2Trail.Enabled = true
  1154. for i = 0,.6,.1 do
  1155. rs:wait()
  1156. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1157. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1158. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1159. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1160. end
  1161. TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  1162. HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
  1163. RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  1164. LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
  1165. for i = 1, 2 do
  1166. GunFlameSnd:Play()
  1167. BulletGSnd:Play()
  1168. CasingDrop("Left")
  1169. local missile = Instance.new("Part",game.Workspace)
  1170. missile.Size = Vector3.new(0,0,0)
  1171. missile.Name = "Blast"
  1172. missile.Transparency = 1
  1173. missile.Position = BulletSpawn2.Position
  1174. missile.CFrame = BulletSpawn2.CFrame
  1175. missile.Velocity = ((targetted.Head.Position - Vector3.new(0,2,0)) - chara.HumanoidRootPart.Position).unit*200
  1176. local force = Instance.new("BodyForce")
  1177. force.force = Vector3.new(0,missile:GetMass()*game.Workspace.Gravity,0)
  1178. force.Parent = missile
  1179. local p1mit = Instance.new("ParticleEmitter",missile)
  1180. p1mit.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1181. p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Bright yellow").Color),ColorSequenceKeypoint.new(1,BrickColor.new("Bright orange").Color)})
  1182. p1mit.LightEmission = 1
  1183. p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  1184. p1mit.Lifetime = NumberRange.new(1)
  1185. p1mit.Rate = 10000
  1186. p1mit.Rotation = NumberRange.new(0,359)
  1187. p1mit.RotSpeed = NumberRange.new(100)
  1188. p1mit.Speed = NumberRange.new(0)
  1189. missile.Touched:connect(function(hit)
  1190. if (hit.Parent.Parent ~= chara and hit.Parent ~= chara and hit.Name ~= "Blast" and force ~= nil) then
  1191. force:Destroy()
  1192. force = nil
  1193. ExHitbox(3,missile.Position,12,1,.1,0,5)
  1194. PlaySnd(BulletLSnd,hit)
  1195. p1mit.Enabled = false
  1196. wait(2)
  1197. missile:Destroy()
  1198. end
  1199. end)
  1200. wait(.1)
  1201. for i = 0,.6,.1 do
  1202. rs:wait()
  1203. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1204. end
  1205. TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
  1206. HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  1207. RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  1208. LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
  1209. debby:AddItem(missile,10)
  1210. GunFlameSnd:Play()
  1211. BulletGSnd:Play()
  1212. CasingDrop("Right")
  1213. local missile = Instance.new("Part",game.Workspace)
  1214. missile.Size = Vector3.new(0,0,0)
  1215. missile.Name = "Blast"
  1216. missile.Transparency = 1
  1217. missile.Position = BulletSpawn1.Position
  1218. missile.CFrame = BulletSpawn1.CFrame
  1219. missile.Velocity = ((targetted.Head.Position - Vector3.new(0,2,0)) - chara.HumanoidRootPart.Position).unit*200
  1220. local force = Instance.new("BodyForce")
  1221. force.force = Vector3.new(0,missile:GetMass()*game.Workspace.Gravity,0)
  1222. force.Parent = missile
  1223. local p1mit = Instance.new("ParticleEmitter",missile)
  1224. p1mit.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1225. p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Bright yellow").Color),ColorSequenceKeypoint.new(1,BrickColor.new("Bright orange").Color)})
  1226. p1mit.LightEmission = 1
  1227. p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  1228. p1mit.Lifetime = NumberRange.new(1)
  1229. p1mit.Rate = 10000
  1230. p1mit.Rotation = NumberRange.new(0,359)
  1231. p1mit.RotSpeed = NumberRange.new(100)
  1232. p1mit.Speed = NumberRange.new(0)
  1233. missile.Touched:connect(function(hit)
  1234. if (hit.Parent.Parent ~= chara and hit.Parent ~= chara and hit.Name ~= "Blast" and force ~= nil) then
  1235. force:Destroy()
  1236. force = nil
  1237. ExHitbox(3,missile.Position,12,1,.1,0,5)
  1238. PlaySnd(BulletLSnd,hit)
  1239. p1mit.Enabled = false
  1240. wait(2)
  1241. missile:Destroy()
  1242. end
  1243. end)
  1244. debby:AddItem(missile,10)
  1245. wait(.1)
  1246. for i = 0,.6,.1 do
  1247. rs:wait()
  1248. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1249. end
  1250. TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
  1251. HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  1252. RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  1253. LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
  1254. end
  1255. GunFlameSnd:Play()
  1256. BulletGSnd:Play()
  1257. CasingDrop("Left")
  1258. local missile = Instance.new("Part",game.Workspace)
  1259. missile.Size = Vector3.new(0,0,0)
  1260. missile.Name = "Blast"
  1261. missile.Transparency = 1
  1262. missile.Position = BulletSpawn2.Position
  1263. missile.CFrame = BulletSpawn2.CFrame
  1264. missile.Velocity = ((targetted.Head.Position - Vector3.new(0,2,0)) - chara.HumanoidRootPart.Position).unit*200
  1265. local force = Instance.new("BodyForce")
  1266. force.force = Vector3.new(0,missile:GetMass()*game.Workspace.Gravity,0)
  1267. force.Parent = missile
  1268. local p1mit = Instance.new("ParticleEmitter",missile)
  1269. p1mit.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1270. p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Bright yellow").Color),ColorSequenceKeypoint.new(1,BrickColor.new("Bright orange").Color)})
  1271. p1mit.LightEmission = 1
  1272. p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  1273. p1mit.Lifetime = NumberRange.new(1)
  1274. p1mit.Rate = 10000
  1275. p1mit.Rotation = NumberRange.new(0,359)
  1276. p1mit.RotSpeed = NumberRange.new(100)
  1277. p1mit.Speed = NumberRange.new(0)
  1278. missile.Touched:connect(function(hit)
  1279. if (hit.Parent.Parent ~= chara and hit.Parent ~= chara and hit.Name ~= "Blast" and force ~= nil) then
  1280. force:Destroy()
  1281. force = nil
  1282. ExHitbox(3,missile.Position,12,1,.1,0,5)
  1283. PlaySnd(BulletLSnd,hit)
  1284. p1mit.Enabled = false
  1285. wait(2)
  1286. missile:Destroy()
  1287. end
  1288. end)
  1289. wait(.1)
  1290. for i = 0,.6,.1 do
  1291. rs:wait()
  1292. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1293. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1294. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1295. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1296. end
  1297. del = false
  1298. Slash1Trail.Enabled = false
  1299. Slash2Trail.Enabled = false
  1300. res()
  1301. guncool(2)
  1302. end
  1303.  
  1304. --Decapitator--
  1305. function Decapitator()
  1306. del = true
  1307. atkd = true
  1308. chatfunc("From Above!")
  1309. Slash1Trail.Enabled = true
  1310. Slash2Trail.Enabled = true
  1311. chara.Humanoid.WalkSpeed = 0
  1312. for i = 0,.6,.1 do
  1313. rs:wait()
  1314. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0),.4+i)
  1315. HC.C0 = clerp(IHCF,HCF,.4+i)
  1316. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1317. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1318. end
  1319. RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  1320. LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
  1321. local bf = Instance.new("BodyVelocity",chara.Torso)
  1322. bf.P = 10000
  1323. bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P)
  1324. bf.Velocity = Vector3.new(0,20,0) + chara.HumanoidRootPart.CFrame.lookVector*50
  1325. for i = 0,1,.25 do
  1326. rs:wait()
  1327. RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  1328. LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
  1329. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0),TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(180)),i)
  1330. HC.C0 = HCF
  1331. GunPlode()
  1332. end
  1333. bf.Velocity = Vector3.new(0,-20,0) + chara.HumanoidRootPart.CFrame.lookVector*50
  1334. for i = 0,1,.25 do
  1335. rs:wait()
  1336. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(180)),TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(360)),i)
  1337. HC.C0 = HCF
  1338. RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  1339. LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
  1340. GunPlode()
  1341. end
  1342. bf:Destroy()
  1343. for i = 0,.6,.1 do
  1344. rs:wait()
  1345. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0),.6-i)
  1346. HC.C0 = clerp(IHCF,HCF,.6-i)
  1347. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1348. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  1349. end
  1350. chara.Humanoid.WalkSpeed = 16
  1351. del = false
  1352. Slash1Trail.Enabled = false
  1353. Slash2Trail.Enabled = false
  1354. res()
  1355. guncool(2)
  1356. end
  1357.  
  1358. --Back Explosion--
  1359. function BackEx()
  1360. del = true
  1361. atkd = true
  1362. chatfunc("Evade!")
  1363. chara.Humanoid.WalkSpeed = 0
  1364. Slash1Trail.Enabled = true
  1365. Slash2Trail.Enabled = true
  1366. for i = 0,.6,.1 do
  1367. rs:wait()
  1368. TC.C0 = clerp(ITCF,TCF,.4+i)
  1369. end
  1370. TC.C0 = TCF
  1371. HC.C0 = HCF
  1372. local bfos = Instance.new("BodyVelocity",chara.Torso)
  1373. bfos.P = 10000
  1374. bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
  1375. bfos.Velocity = Vector3.new(0,200,0)
  1376. for i = 0,.6,.1 do
  1377. rs:wait()
  1378. TC.C0 = clerp(TCF,(TCF + Vector3.new(0,1,0)),.4+i)
  1379. HC.C0 = clerp(HCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(40)),.4+i)
  1380. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.4+i)
  1381. LW.C0 = ILWF
  1382. end
  1383. SwingSnd:Play()
  1384. for i = 0,1,.2 do
  1385. rs:wait()
  1386. TC.C0 = clerp((TCF + Vector3.new(0,1,0)),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),i)
  1387. RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0)
  1388. LW.C0 = ILWF
  1389. end
  1390. GunPlode()
  1391. bfos.Velocity = Vector3.new(0,200,0)+chara.HumanoidRootPart.CFrame.lookVector * -100
  1392. for i = 0,1,.2 do
  1393. rs:wait()
  1394. TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(360),0,0),i)
  1395. RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0)
  1396. LW.C0 = ILWF
  1397. end
  1398. bfos:Destroy()
  1399. for i = 0,1,.2 do
  1400. rs:wait()
  1401. TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(360),0,0),ITCF,i)
  1402. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(20),math.rad(90)),IHCF,i)
  1403. RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),IRWF,i)
  1404. end
  1405. del = false
  1406. Slash1Trail.Enabled = false
  1407. Slash2Trail.Enabled = false
  1408. chara.Humanoid.WalkSpeed = 16
  1409. res()
  1410. guncool(1)
  1411. end
  1412.  
  1413. --Grab Move--
  1414. function GrabMove()
  1415. del = true
  1416. atkd = true
  1417. chara.Humanoid.WalkSpeed = 0
  1418. chatfunc("Have this.")
  1419. exeact = true
  1420. Slash2Trail.Enabled = true
  1421. wait(.01)
  1422. SwingSnd:Play()
  1423. local bfos = Instance.new("BodyVelocity",chara.Torso)
  1424. bfos.P = 10000
  1425. bfos.MaxForce = Vector3.new(bfos.P,0,bfos.P)
  1426. bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 500
  1427. debby:AddItem(bfos,.1)
  1428. for i = 0,.6,.1 do
  1429. rs:wait()
  1430. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1431. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1432. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1433. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1434. end
  1435. wait(.5)
  1436. if exed == true then
  1437. exeact = false
  1438. for i = 0,.6,.1 do
  1439. rs:wait()
  1440. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(-60),math.rad(90)),.4+i)
  1441. LW.C0 = clerp((LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(150)),.4+i)
  1442. end
  1443. wait(.5)
  1444. PlaySnd(GunFlameSnd,chara)
  1445. PlaySnd(ExpSnd,chara)
  1446. PlaySnd(BulletGSnd,chara)
  1447. CasingDrop("Left")
  1448. local hitpt = Instance.new("Part",game.Workspace)
  1449. hitpt.Size = Vector3.new(1,1,1)
  1450. hitpt.Anchored = true
  1451. hitpt.CanCollide = false
  1452. hitpt.BrickColor = BrickColor.new("Bright yellow")
  1453. hitpt.CFrame = BulletSpawn2.CFrame * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  1454. local hitb = Instance.new("Part",game.Workspace)
  1455. hitb.Size = Vector3.new(1,1,1)
  1456. hitb.Anchored = true
  1457. hitb.CanCollide = false
  1458. hitb.BrickColor = BrickColor.new("Bright yellow")
  1459. hitb.Material = "Neon"
  1460. hitb.CFrame = CFrame.new(hitpt.Position.x,hitpt.Position.y,hitpt.Position.z) * CFrame.fromEulerAnglesXYZ(math.random(math.rad(-30),math.rad(30)),math.random(math.rad(-30),math.rad(30)),math.random(math.rad(-30),math.rad(30)))
  1461. local hitbm = Instance.new("SpecialMesh",hitb)
  1462. hitbm.MeshType = "Sphere"
  1463. hitbm.Scale = Vector3.new(1,1,1)
  1464. local hitm = Instance.new("SpecialMesh",hitpt)
  1465. hitm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1466. local hpt = coroutine.wrap(function()
  1467. for i = 1, 9 do
  1468. wait(.05)
  1469. hitpt.Transparency = hitpt.Transparency + .1
  1470. hitm.Scale = hitm.Scale + Vector3.new(.5,.5,.5)
  1471. hitb.Transparency = hitb.Transparency + .1
  1472. hitbm.Scale = hitbm.Scale + Vector3.new(.5,.5,.5)
  1473. end
  1474. hitpt:Destroy()
  1475. hitb:Destroy()
  1476. end)
  1477. hpt()
  1478. exed = false
  1479. weldd:Destroy()
  1480. ExHitbox(5,BulletSpawn2.Position,24,2,.1,50,50)
  1481. wait(1)
  1482. for i = 0,.6,.1 do
  1483. rs:wait()
  1484. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1485. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(-60),math.rad(90)),.6-i)
  1486. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-150)),.6-i)
  1487. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  1488. guncool(1)
  1489. end
  1490. elseif exed == false then
  1491. exeact = false
  1492. for i = 0,.6,.1 do
  1493. rs:wait()
  1494. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1495. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  1496. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1497. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  1498. end
  1499. end
  1500. chara.Humanoid.WalkSpeed = 16
  1501. del = false
  1502. Slash2Trail.Enabled = false
  1503. res()
  1504. end
  1505.  
  1506. --Ray Overdrive--
  1507. function RayOver()
  1508. del = true
  1509. atkd = true
  1510. chara.Humanoid.WalkSpeed = 0
  1511. chatfunc("Ray Overdrive!")
  1512. SuperPause()
  1513. Slash1Trail.Enabled = true
  1514. Slash2Trail.Enabled = true
  1515. for i = 0,.6,.1 do
  1516. rs:wait()
  1517. TC.C0 = clerp(ITCF,TCF,.4+i)
  1518. HC.C0 = clerp(IHCF,HCF,.4+i)
  1519. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1520. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1521. end
  1522. TC.C0 = TCF
  1523. HC.C0 = HCF
  1524. RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  1525. LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
  1526. wait(.5)
  1527. GunFlameSnd.Pitch = .7
  1528. for i = 0,.6,.1 do
  1529. rs:wait()
  1530. TC.C0 = clerp(TCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1531. end
  1532. TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  1533. HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
  1534. RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  1535. LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
  1536. GunFlameSnd:Play()
  1537. BulletGSnd:Play()
  1538. CasingDrop("Left")
  1539. Laser(Hitbox2)
  1540. wait(.5)
  1541. for i = 0,.6,.1 do
  1542. rs:wait()
  1543. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1544. end
  1545. TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
  1546. HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  1547. RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  1548. LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
  1549. GunFlameSnd:Play()
  1550. BulletGSnd:Play()
  1551. CasingDrop("Right")
  1552. Laser(Hitbox1)
  1553. wait(.5)
  1554. for i = 0,.6,.1 do
  1555. rs:wait()
  1556. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),TCF,.4+i)
  1557. end
  1558. TC.C0 = TCF
  1559. HC.C0 = HCF
  1560. local bfos = Instance.new("BodyVelocity",chara.Torso)
  1561. bfos.P = 10000
  1562. bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
  1563. bfos.Velocity = Vector3.new(0,600,0)+chara.HumanoidRootPart.CFrame.lookVector * -300
  1564. for i = 0,.6,.1 do
  1565. rs:wait()
  1566. TC.C0 = clerp(TCF,(TCF + Vector3.new(0,1,0)),.4+i)
  1567. HC.C0 = clerp(HCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(40)),.4+i)
  1568. RW.C0 = clerp((RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.4+i)
  1569. LW.C0 = clerp((LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),ILWF,.4+i)
  1570. end
  1571. SwingSnd:Play()
  1572. for i = 0,1,.2 do
  1573. rs:wait()
  1574. TC.C0 = clerp((TCF + Vector3.new(0,1,0)),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),i)
  1575. RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0)
  1576. LW.C0 = ILWF
  1577. end
  1578. PlaySnd(GunFlameSnd,chara)
  1579. PlaySnd(BulletGSnd,chara)
  1580. CasingDrop("Right")
  1581. Laser(Hitbox1)
  1582. PlaySnd(GunFlameSnd,chara)
  1583. PlaySnd(BulletGSnd,chara)
  1584. CasingDrop("Left")
  1585. Laser(Hitbox2)
  1586. bfos:Destroy()
  1587. GunFlameSnd.Pitch = 1
  1588. for i = 0,1,.2 do
  1589. rs:wait()
  1590. TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(360),0,0),i)
  1591. RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0)
  1592. LW.C0 = ILWF
  1593. end
  1594. for i = 0,1,.2 do
  1595. rs:wait()
  1596. TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(360),0,0),ITCF,i)
  1597. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(20),math.rad(90)),IHCF,i)
  1598. RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),IRWF,i)
  1599. end
  1600. del = false
  1601. Slash1Trail.Enabled = false
  1602. Slash2Trail.Enabled = false
  1603. chara.Humanoid.WalkSpeed = 16
  1604. res()
  1605. end
  1606.  
  1607. --Minigun--
  1608. function Minigun()
  1609. del = true
  1610. atkd = true
  1611. chatfunc("Summon Arsenal: Ferir Zero!")
  1612. SuperPause()
  1613. for i = 0,.6,.1 do
  1614. rs:wait()
  1615. TC.C0 = clerp(ITCF,TCF,.4+i)
  1616. HC.C0 = clerp(IHCF,HCF,.4+i)
  1617. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1618. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1619. end
  1620. TC.C0 = TCF
  1621. HC.C0 = HCF
  1622. RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  1623. LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
  1624. for a = .1,1,.1 do
  1625. local gch1 = Gun1:GetChildren()
  1626. local gch2 = Gun2:GetChildren()
  1627. wait(.001)
  1628. for i = 1, #gch1 do
  1629. if gch1[i] ~= Handle1 and gch1[i] ~= Hitbox1 then
  1630. gch1[i].Transparency = a
  1631. end
  1632. end
  1633. for i = 1, #gch2 do
  1634. if gch2[i] ~= Handle2 and gch2[i] ~= Hitbox2 then
  1635. gch2[i].Transparency = a
  1636. end
  1637. end
  1638. end
  1639. for i = 0,.6,.1 do
  1640. rs:wait()
  1641. TC.C0 = clerp(TCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1642. HC.C0 = clerp(HCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1643. RW.C0 = clerp((RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),RWF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),.4+i)
  1644. LW.C0 = clerp((LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),LWF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),.4+i)
  1645. end
  1646. RW.C0 = RWF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0)
  1647. local Minigun = New("Part",chara,"Minigun",{Transparency = 1,Transparency = 1,Size = Vector3.new(1, 8, 2),CFrame = CFrame.new(26.999979, 1.6000222, 45.0999527, 1.81951127e-05, 1, -1.16825559e-05, 2.54704446e-06, 1.16825104e-05, 1, 1, -1.81952728e-05, -2.54687802e-06),})
  1648. local Mesh = New("SpecialMesh",Minigun,"Mesh",{Scale = Vector3.new(2, 2, 2),MeshId = "http://www.roblox.com/asset?id=71947307",TextureId = "http://www.roblox.com/asset?id=71947249",MeshType = Enum.MeshType.FileMesh,})
  1649. local Weld = New("ManualWeld",Minigun,"Weld",{Part0 = Minigun,Part1 = chara["Right Arm"],C0 = CFrame.new(0, 0, 0, 1.81951127e-05, 2.54704446e-06, 1, 1, 1.16825104e-05, -1.81952728e-05, -1.16825559e-05, 1, -2.54687802e-06),C1 = CFrame.new(-3.49995232, -1.06061363, 0.35357666, -1, 0, 0, 0, 0.707106829, -0.707106829, 0, -0.707106829, -0.707106829),})
  1650. for i = .1,1,.1 do
  1651. wait(.001)
  1652. Minigun.Transparency = 1 - i
  1653. end
  1654. for i = 1, 50 do
  1655. wait(.001)
  1656. PlaySnd(MinigunSnd,chara)
  1657. local Targ = Mouse.Hit
  1658. local Partt = Minigun
  1659. local EffectPart = Instance.new("Part",game.Workspace)
  1660. EffectPart.Size = Vector3.new(1,1,1)
  1661. EffectPart.Anchored = true
  1662. EffectPart.BrickColor = BrickColor.new("Bright yellow")
  1663. EffectPart.Material = "Neon"
  1664. EffectPart.Position = Targ.p
  1665. EffectPart.CFrame = Targ
  1666. local mehs1 = Instance.new("SpecialMesh",EffectPart)
  1667. mehs1.MeshType = "Sphere"
  1668. mehs1.Scale = Vector3.new(.1,.1,.1)
  1669. local P = Instance.new("Part")
  1670. local Place0 = Partt.CFrame + Partt.CFrame.upVector*4
  1671. local Place1 = EffectPart.CFrame
  1672. local meshla = Instance.new("BlockMesh", P)
  1673. meshla.Scale = Vector3.new(.1,.1,1)
  1674. P.formFactor = 0
  1675. P.Size = Vector3.new(1,1,(Place0.p - Place1.p).magnitude)
  1676. P.Name = "Laser"
  1677. P.CFrame = CFrame.new((Place0.p + Place1.p)/2,Place0.p)
  1678. P.Parent = game.Workspace
  1679. P.BrickColor = BrickColor.new("Bright yellow")
  1680. P.Material = "Neon"
  1681. P.Anchored = true
  1682. P.CanCollide = false
  1683. P.Locked = true
  1684. P.BottomSurface = "Smooth"
  1685. P.TopSurface = "Smooth"
  1686. ExHitbox(3,Place1.p,3,1,.05,10,2)
  1687. local fu = coroutine.wrap(function()
  1688. for i = 1, 10 do
  1689. wait(.001)
  1690. mehs1.Scale = mehs1.Scale + Vector3.new(.1,.1,.1)
  1691. meshla.Scale = meshla.Scale + Vector3.new(.05,.05,0)
  1692. EffectPart.Transparency = EffectPart.Transparency + .1
  1693. P.Transparency = P.Transparency + .1
  1694. end
  1695. ----
  1696. P:Destroy()
  1697. EffectPart:Destroy()
  1698. end)
  1699. fu()
  1700. end
  1701. MiniStopSnd:Play()
  1702. wait(.5)
  1703. for i = .1,1,.1 do
  1704. wait(.001)
  1705. Minigun.Transparency = i
  1706. end
  1707. Minigun:Destroy()
  1708. for i = 0,.6,.1 do
  1709. rs:wait()
  1710. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),ITCF,.4+i)
  1711. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),IHCF,.4+i)
  1712. RW.C0 = clerp(RWF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),IRWF,.4+i)
  1713. LW.C0 = clerp(LWF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),ILWF,.4+i)
  1714. end
  1715. for a = .1,1,.1 do
  1716. local gch1 = Gun1:GetChildren()
  1717. local gch2 = Gun2:GetChildren()
  1718. wait(.001)
  1719. for i = 1, #gch1 do
  1720. if gch1[i] ~= Handle1 and gch1[i] ~= Hitbox1 then
  1721. gch1[i].Transparency = 1-a
  1722. end
  1723. end
  1724. for i = 1, #gch2 do
  1725. if gch2[i] ~= Handle2 and gch2[i] ~= Hitbox2 then
  1726. gch2[i].Transparency = 1-a
  1727. end
  1728. end
  1729. end
  1730. del = false
  1731. res()
  1732. end
  1733.  
  1734. function RocketBlast()
  1735. del = true
  1736. atkd = true
  1737. chatfunc("Rocket Barrage!")
  1738. SuperPause()
  1739. Slash1Trail.Enabled = true
  1740. Slash2Trail.Enabled = true
  1741. for i = 0,.6,.1 do
  1742. rs:wait()
  1743. TC.C0 = clerp(ITCF,TCF,.4+i)
  1744. HC.C0 = clerp(IHCF,HCF,.4+i)
  1745. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1746. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1747. end
  1748. TC.C0 = TCF
  1749. HC.C0 = HCF
  1750. RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  1751. LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
  1752. local bpos = Instance.new("BodyPosition",chara.Torso)
  1753. bpos.Position = chara.Torso.Position + Vector3.new(0,20,0)
  1754. bpos.MaxForce = Vector3.new(10000,10000,10000)
  1755. wait(1)
  1756. for i = 1,3 do
  1757. RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  1758. LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
  1759. MissileSnd:Play()
  1760. local missile = Instance.new("Part",game.Workspace)
  1761. missile.Size = Vector3.new(0,0,1.2)
  1762. missile.Name = "Blast"
  1763. missile.TopSurface = 0
  1764. missile.BottomSurface = 0
  1765. missile.Position = BulletSpawn1.Position
  1766. missile.CFrame = BulletSpawn1.CFrame
  1767. missile.Velocity = BulletSpawn1.CFrame.lookVector*100
  1768. missile.CFrame = CFrame.new(BulletSpawn1.Position,BulletSpawn1.Position + BulletSpawn1.CFrame.upVector*2)
  1769. local p1mit = Instance.new("ParticleEmitter",missile)
  1770. p1mit.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1771. p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Bright orange").Color),ColorSequenceKeypoint.new(1,BrickColor.new("Bright yellow").Color)})
  1772. p1mit.LightEmission = 1
  1773. p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  1774. p1mit.Lifetime = NumberRange.new(1)
  1775. p1mit.Rate = 10000
  1776. p1mit.Rotation = NumberRange.new(0,359)
  1777. p1mit.RotSpeed = NumberRange.new(100)
  1778. p1mit.Speed = NumberRange.new(0)
  1779. local mesh1 = Instance.new("SpecialMesh",missile)
  1780. mesh1.MeshId = "http://www.roblox.com/asset/?id=111879014"
  1781. mesh1.TextureId = "http://www.roblox.com/asset/?id=111878985"
  1782. mesh1.Scale = Vector3.new(1.2,1.2,1.2)
  1783. local force = Instance.new("BodyForce")
  1784. force.force = Vector3.new(0,missile:GetMass()*game.Workspace.Gravity,0)
  1785. force.Parent = missile
  1786. local bf = Instance.new("BodyVelocity",missile)
  1787. bf.P = 10000
  1788. bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P)
  1789. bf.Velocity = BulletSpawn1.CFrame.upVector*100
  1790. local gy = Instance.new("BodyGyro",missile)
  1791. gy.MaxTorque = Vector3.new(0,0,0)
  1792. local chase = coroutine.wrap(function()
  1793. wait(.3)
  1794. while wait() do
  1795. if targetted ~= nil then
  1796. local torsy = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  1797. bf.Velocity = (torsy.Position - missile.Position).unit*100
  1798. gy.CFrame = CFrame.new(missile.Position, targetted.Head.Position)
  1799. gy.maxTorque = Vector3.new(9000,9000,9000)
  1800. end
  1801. end
  1802. end)
  1803. chase()
  1804. missile.Touched:connect(function(hit)
  1805. if (hit.Parent.Parent ~= chara and hit.Parent ~= chara and hit.Name ~= "Blast" and missile.Anchored == false) then
  1806. missile.Anchored = true
  1807. PlaySnd(ExpSnd,missile)
  1808. p1mit.Enabled = false
  1809. mesh1.MeshId = "http://www.roblox.com/asset/?id=1290033"
  1810. mesh1.TextureId = "http://www.roblox.com/asset/?id=3126553"
  1811. ExHitbox(8,missile.Position,15,3,.05,30,50)
  1812. wait(0.1)
  1813. missile.Transparency = .25
  1814. missile.Mesh.Scale = Vector3.new(2,2,2)
  1815. wait(0.1)
  1816. missile.Transparency = .5
  1817. missile.Mesh.Scale = Vector3.new(4,4,4)
  1818. wait(0.1)
  1819. missile.Transparency = .75
  1820. missile.Mesh.Scale = Vector3.new(6,6,6)
  1821. wait(0.1)
  1822. missile:Destroy()
  1823. end
  1824. end)
  1825. wait(.1)
  1826. debby:AddItem(missile,10)
  1827. MissileSnd:Play()
  1828. local missile2 = Instance.new("Part",game.Workspace)
  1829. missile2.Size = Vector3.new(0,0,1.2)
  1830. missile2.Name = "Blast"
  1831. missile2.TopSurface = 0
  1832. missile2.BottomSurface = 0
  1833. missile2.Position = BulletSpawn2.Position
  1834. missile2.CFrame = BulletSpawn2.CFrame
  1835. missile2.Velocity = BulletSpawn2.CFrame.lookVector*100
  1836. missile2.CFrame = CFrame.new(BulletSpawn2.Position,BulletSpawn2.Position + BulletSpawn2.CFrame.upVector*2)
  1837. local p2mit = Instance.new("ParticleEmitter",missile2)
  1838. p2mit.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1839. p2mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Bright orange").Color),ColorSequenceKeypoint.new(1,BrickColor.new("Bright yellow").Color)})
  1840. p2mit.LightEmission = 1
  1841. p2mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  1842. p2mit.Lifetime = NumberRange.new(1)
  1843. p2mit.Rate = 10000
  1844. p2mit.Rotation = NumberRange.new(0,359)
  1845. p2mit.RotSpeed = NumberRange.new(100)
  1846. p2mit.Speed = NumberRange.new(0)
  1847. local mesh2 = Instance.new("SpecialMesh",missile2)
  1848. mesh2.MeshId = "http://www.roblox.com/asset/?id=111879014"
  1849. mesh2.TextureId = "http://www.roblox.com/asset/?id=111878985"
  1850. mesh2.Scale = Vector3.new(1.2,1.2,1.2)
  1851. local force2 = Instance.new("BodyForce")
  1852. force2.force = Vector3.new(0,missile:GetMass()*game.Workspace.Gravity,0)
  1853. force2.Parent = missile2
  1854. local bf2 = Instance.new("BodyVelocity",missile2)
  1855. bf2.P = 10000
  1856. bf2.MaxForce = Vector3.new(bf2.P,bf2.P,bf2.P)
  1857. bf2.Velocity = BulletSpawn2.CFrame.upVector*100
  1858. local gy2 = Instance.new("BodyGyro",missile2)
  1859. gy2.MaxTorque = Vector3.new(0,0,0)
  1860. local chase2 = coroutine.wrap(function()
  1861. wait(.3)
  1862. while wait() do
  1863. if targetted ~= nil then
  1864. local torsy = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  1865. bf2.Velocity = (torsy.Position - missile2.Position).unit*100
  1866. gy2.CFrame = CFrame.new(missile2.Position, targetted.Head.Position)
  1867. gy2.maxTorque = Vector3.new(9000,9000,9000)
  1868. end
  1869. end
  1870. end)
  1871. chase2()
  1872. missile2.Touched:connect(function(hit)
  1873. if (hit.Parent.Parent ~= chara and hit.Parent ~= chara and hit.Name ~= "Blast" and missile2.Anchored == false) then
  1874. missile2.Anchored = true
  1875. PlaySnd(ExpSnd,missile2)
  1876. p2mit.Enabled = false
  1877. mesh2.MeshId = "http://www.roblox.com/asset/?id=1290033"
  1878. mesh2.TextureId = "http://www.roblox.com/asset/?id=3126553"
  1879. ExHitbox(8,missile2.Position,15,3,.05,30,50)
  1880. wait(0.1)
  1881. missile2.Transparency = .25
  1882. missile2.Mesh.Scale = Vector3.new(2,2,2)
  1883. wait(0.1)
  1884. missile2.Transparency = .5
  1885. missile2.Mesh.Scale = Vector3.new(4,4,4)
  1886. wait(0.1)
  1887. missile2.Transparency = .75
  1888. missile2.Mesh.Scale = Vector3.new(6,6,6)
  1889. wait(0.1)
  1890. missile2:Destroy()
  1891. end
  1892. end)
  1893. debby:AddItem(missile2,10)
  1894. wait(.1)
  1895. end
  1896. for i = 0,.6,.1 do
  1897. rs:wait()
  1898. TC.C0 = clerp(ITCF,TCF,.6-i)
  1899. HC.C0 = clerp(IHCF,HCF,.6-i)
  1900. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1901. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  1902. end
  1903. bpos:Destroy()
  1904. del = false
  1905. Slash1Trail.Enabled = false
  1906. Slash2Trail.Enabled = false
  1907. res()
  1908. end
  1909.  
  1910. --Final Attack--
  1911. finalgrab = false
  1912. didfinal = false
  1913. function FinalGrab(hit)
  1914. if finalgrab == true and hit.Parent.Parent ~= chara and hit.Parent ~= chara and hit.Parent:FindFirstChild("Humanoid")~=nil and hit.Parent.Parent.Name ~= "Boss" then
  1915. finalgrab = false
  1916. didfinal = true
  1917. chatfunc("Formula Type II!")
  1918. KickTrail.Enabled = true
  1919. PlaySnd(HitPunchSnd,hit.Parent.Head)
  1920. PunchEff(hit.CFrame)
  1921. local stay = coroutine.wrap(function()
  1922. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  1923. hit.Parent.Humanoid.WalkSpeed = 0
  1924. hit.Parent.Humanoid.PlatformStand = true
  1925. end
  1926. end)
  1927. stay()
  1928. local valll = Instance.new("ObjectValue",hit.Parent)
  1929. valll.Name = "HitByUlt"
  1930. local bpos = Instance.new("BodyPosition",hit.Parent.Head)
  1931. bpos.MaxForce = Vector3.new(10000,10000,10000)
  1932. bpos.Position = chara.HumanoidRootPart.Position + Vector3.new(0,10,0) + chara.HumanoidRootPart.CFrame.lookVector*5
  1933. Swing2Snd:Play()
  1934. HitPunchSnd:Play()
  1935. AddLegWelds()
  1936. for i = 0,.6,.1 do
  1937. rs:wait()
  1938. TC.C0 = clerp(ITCF,(TCF - Vector3.new(0,.5,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-80),0,math.rad(-85)),.4+i)
  1939. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(85)),.4+i)
  1940. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,.3,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)),.4+i)
  1941. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.2,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.4+i)
  1942. RLW.C0 = clerp(RLWF,(LLWF - Vector3.new(1.5,.5,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(80)),.4+i)
  1943. LLW.C0 = clerp(LLWF,(RLWF - Vector3.new(-1.5,.5,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-80)),.4+i)
  1944. end
  1945. wait(1)
  1946. for i = 0,.6,.1 do
  1947. rs:wait()
  1948. TC.C0 = clerp(ITCF,(TCF - Vector3.new(0,.5,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-80),0,math.rad(-85)),.6-i)
  1949. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(85)),.6-i)
  1950. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,.3,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)),.6-i)
  1951. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.2,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.6-i)
  1952. RLW.C0 = clerp(RLWF,(LLWF - Vector3.new(1.5,.5,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(80)),.6-i)
  1953. LLW.C0 = clerp(LLWF,(RLWF - Vector3.new(-1.5,.5,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-80)),.6-i)
  1954. end
  1955. KickTrail.Enabled = false
  1956. Slash1Trail.Enabled = true
  1957. Slash2Trail.Enabled = true
  1958. DestroyLegWelds()
  1959. for i = 0,.6,.1 do
  1960. rs:wait()
  1961. TC.C0 = clerp(ITCF,TCF,.4+i)
  1962. HC.C0 = clerp(IHCF,HCF,.4+i)
  1963. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1964. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1965. end
  1966. TC.C0 = TCF
  1967. HC.C0 = HCF
  1968. RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  1969. LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
  1970. local blasts = {}
  1971. for i = 1, 10 do
  1972. GunFlameSnd:Play()
  1973. BulletGSnd:Play()
  1974. CasingDrop("Left")
  1975. local missile = Instance.new("Part",chara)
  1976. missile.Size = Vector3.new(0,0,0)
  1977. missile.Name = "BlastA"
  1978. missile.Transparency = 1
  1979. missile.Position = BulletSpawn2.Position
  1980. missile.CFrame = BulletSpawn2.CFrame
  1981. table.insert(blasts,missile)
  1982. local bp = Instance.new("BodyPosition",missile)
  1983. bp.Position = hit.Parent.Torso.Position + Vector3.new(math.random(-7,7),math.random(-7,7),math.random(-7,7))
  1984. local p1mit = Instance.new("ParticleEmitter",missile)
  1985. p1mit.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1986. p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Bright yellow").Color),ColorSequenceKeypoint.new(1,BrickColor.new("Bright orange").Color)})
  1987. p1mit.LightEmission = 1
  1988. p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  1989. p1mit.Lifetime = NumberRange.new(1)
  1990. p1mit.Rate = 10000
  1991. p1mit.Rotation = NumberRange.new(0,359)
  1992. p1mit.RotSpeed = NumberRange.new(100)
  1993. p1mit.Speed = NumberRange.new(0)
  1994. wait(.1)
  1995. GunFlameSnd:Play()
  1996. BulletGSnd:Play()
  1997. CasingDrop("Right")
  1998. local missile = Instance.new("Part",chara)
  1999. missile.Size = Vector3.new(0,0,0)
  2000. missile.Name = "BlastA"
  2001. missile.Transparency = 1
  2002. missile.Position = BulletSpawn1.Position
  2003. missile.CFrame = BulletSpawn1.CFrame
  2004. table.insert(blasts,missile)
  2005. local bp = Instance.new("BodyPosition",missile)
  2006. bp.Position = hit.Parent.Torso.Position + Vector3.new(math.random(-7,7),math.random(-7,7),math.random(-7,7))
  2007. local p1mit = Instance.new("ParticleEmitter",missile)
  2008. p1mit.Texture = "rbxasset://textures/particles/smoke_main.dds"
  2009. p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Bright yellow").Color),ColorSequenceKeypoint.new(1,BrickColor.new("Bright orange").Color)})
  2010. p1mit.LightEmission = 1
  2011. p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  2012. p1mit.Lifetime = NumberRange.new(1)
  2013. p1mit.Rate = 10000
  2014. p1mit.Rotation = NumberRange.new(0,359)
  2015. p1mit.RotSpeed = NumberRange.new(100)
  2016. p1mit.Speed = NumberRange.new(0)
  2017. wait(.1)
  2018. end
  2019. wait(.5)
  2020. chatfunc("Activate!")
  2021. wait(1)
  2022. GunFlameSnd.Pitch = .5
  2023. for i = 1, #blasts do
  2024. GunFlameSnd:Play()
  2025. local EffectPart = Instance.new("Part",game.Workspace)
  2026. EffectPart.Size = Vector3.new(1,1,1)
  2027. EffectPart.Anchored = true
  2028. EffectPart.BrickColor = BrickColor.new("Bright yellow")
  2029. EffectPart.Material = "Neon"
  2030. EffectPart.Position = hit.Parent.Torso.Position
  2031. EffectPart.CFrame = hit.Parent.Torso.CFrame
  2032. local mehs1 = Instance.new("SpecialMesh",EffectPart)
  2033. mehs1.MeshType = "Sphere"
  2034. mehs1.Scale = Vector3.new(2,2,2)
  2035. local P = Instance.new("Part")
  2036. local Place0 = blasts[i].CFrame
  2037. local Place1 = EffectPart.CFrame
  2038. local meshla = Instance.new("BlockMesh", P)
  2039. meshla.Scale = Vector3.new(1,1,1)
  2040. P.formFactor = 0
  2041. P.Size = Vector3.new(1,1,(Place0.p - Place1.p).magnitude)
  2042. P.Name = "Laser"
  2043. P.CFrame = CFrame.new((Place0.p + Place1.p)/2,Place0.p)
  2044. P.Parent = game.Workspace
  2045. P.BrickColor = BrickColor.new("Bright yellow")
  2046. P.Material = "Neon"
  2047. P.Anchored = true
  2048. P.CanCollide = false
  2049. P.Locked = true
  2050. P.BottomSurface = "Smooth"
  2051. P.TopSurface = "Smooth"
  2052. local fu = coroutine.wrap(function()
  2053. for i = 1, 10 do
  2054. wait(.01)
  2055. mehs1.Scale = mehs1.Scale + Vector3.new(.5,.5,.5)
  2056. meshla.Scale = meshla.Scale + Vector3.new(.25,.25,0)
  2057. EffectPart.Transparency = EffectPart.Transparency + .1
  2058. P.Transparency = P.Transparency + .1
  2059. end
  2060. ----
  2061. P:Destroy()
  2062. EffectPart:Destroy()
  2063. end)
  2064. fu()
  2065. blasts[i]:Destroy()
  2066. rs:wait()
  2067. end
  2068. BExpSnd:Play()
  2069. local jtrace = Instance.new("Part",game.Workspace)
  2070. jtrace.BrickColor = BrickColor.new("Bright yellow")
  2071. jtrace.Size = Vector3.new(0,0,0)
  2072. jtrace.Position = hit.Parent.Head.Position
  2073. jtrace.CFrame = CFrame.new(hit.Parent.Head.Position.X,hit.Parent.Head.Position.Y,hit.Parent.Head.Position.Z)
  2074. jtrace.Anchored = true
  2075. jtrace.CanCollide = false
  2076. jtrace.Material = "Neon"
  2077. local tmesh = Instance.new("CylinderMesh",jtrace)
  2078. tmesh.Scale = Vector3.new(20,1000,20)
  2079. local coro = coroutine.wrap(function()
  2080. for i = 1, 10 do
  2081. wait(.01)
  2082. jtrace.Transparency = jtrace.Transparency + .1
  2083. tmesh.Scale = tmesh.Scale + Vector3.new(20,20,20)
  2084. end
  2085. jtrace:Destroy()
  2086. end)
  2087. coro()
  2088. local dude = hit.Parent
  2089. local ds = coroutine.wrap(function()
  2090. targetted = nil
  2091. dude:BreakJoints()
  2092. dude.Humanoid:Destroy()
  2093. PlaySnd(ClawDashSnd,dude.Head)
  2094. local chi = dude:GetChildren()
  2095. for i = 1, #chi do
  2096. if chi[i].ClassName == "Part" then
  2097. local bodpos = Instance.new("BodyPosition",chi[i])
  2098. bodpos.Position = chi[i].Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  2099. chi[i].BrickColor = BrickColor.new("Really black")
  2100. end
  2101. end
  2102. for i = 1, 4 do
  2103. for i = 1, #chi do
  2104. if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then
  2105. chi[i].Transparency = chi[i].Transparency + .25
  2106. wait(.01)
  2107. end
  2108. end
  2109. end
  2110. dude:Destroy()
  2111. end)
  2112. ds()
  2113. wait(3)
  2114. for i = 0,.6,.1 do
  2115. rs:wait()
  2116. TC.C0 = clerp(ITCF,TCF,.6-i)
  2117. HC.C0 = clerp(IHCF,HCF,.6-i)
  2118. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  2119. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  2120. end
  2121. Slash1Trail.Enabled = false
  2122. Slash2Trail.Enabled = false
  2123. GunFlameSnd.Pitch = 1
  2124. didfinal = false
  2125. chatfunc("The BDD-41 is a deadly force...")
  2126. del = false
  2127. chara.Humanoid.WalkSpeed = 16
  2128. res()
  2129. end
  2130. end
  2131. chara.Torso.Touched:connect(FinalGrab)
  2132.  
  2133. function AttemptFinal()
  2134. del = true
  2135. atkd = true
  2136. finalgrab = true
  2137. chara.Humanoid.WalkSpeed = 0
  2138. SuperPause()
  2139. chatfunc("Come at me.")
  2140. for i = 0,.6,.1 do
  2141. rs:wait()
  2142. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  2143. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  2144. RW.C0 = clerp(IRWF,RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-5)),.4+i)
  2145. LW.C0 = clerp(ILWF,LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(5)),.4+i)
  2146. end
  2147. wait(3)
  2148. if didfinal == false then
  2149. finalgrab = false
  2150. for i = 0,.6,.1 do
  2151. rs:wait()
  2152. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  2153. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  2154. RW.C0 = clerp(IRWF,RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-5)),.6-i)
  2155. LW.C0 = clerp(ILWF,LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(5)),.6-i)
  2156. end
  2157. del = false
  2158. chara.Humanoid.WalkSpeed = 16
  2159. res()
  2160. elseif didfinal == true then
  2161. end
  2162. end
  2163.  
  2164. --Lock On--
  2165. function LockOn()
  2166. if Mouse.Target.Parent ~= chara and Mouse.Target.Parent.Parent ~= chara and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  2167. TargetSelect(Mouse.Target.Parent)
  2168. TargetSnd:Play()
  2169. wait(.05)
  2170. TargetSnd:Play()
  2171. else end
  2172. end
  2173.  
  2174. --Block--
  2175. blockval = false
  2176. healthlock = 0
  2177. effeff = nil
  2178. function ToggleBlock()
  2179. if blockval == false then
  2180. blockval = true
  2181. SwingSnd:Play()
  2182. healthlock = chara.Humanoid.Health
  2183. effeff = Instance.new("ForceField",chara)
  2184. effeff.Name = "FawsFeeld"
  2185. effeff.Visible = false
  2186. for i = 0,.6,.1 do
  2187. rs:wait()
  2188. TC.C0 = clerp(ITCF,TCF,.4+i)
  2189. HC.C0 = clerp(IHCF,HCF,.4+i)
  2190. LW.C0 = clerp(ILWF,(LWF + Vector3.new(-1,.5,-1)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,math.rad(45)),.4+i)
  2191. RW.C0 = clerp(IRWF,(RWF + Vector3.new(1,.5,-1)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,math.rad(-45)),.4+i)
  2192. end
  2193. elseif blockval == true then
  2194. SwingSnd:Play()
  2195. effeff:Destroy()
  2196. blockval = false
  2197. for i = 0,.6,.1 do
  2198. rs:wait()
  2199. TC.C0 = clerp(ITCF,TCF,.6-i)
  2200. HC.C0 = clerp(IHCF,HCF,.6-i)
  2201. LW.C0 = clerp(ILWF,(LWF + Vector3.new(-1,.5,-1)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,math.rad(45)),.6-i)
  2202. RW.C0 = clerp(IRWF,(RWF + Vector3.new(1,.5,-1)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,math.rad(-45)),.6-i)
  2203. end
  2204. atkdd = true
  2205. end
  2206. end
  2207.  
  2208. function Stunned()
  2209. del = true
  2210. blockval = false
  2211. chara.Humanoid.WalkSpeed = 0
  2212. local naeeym2 = Instance.new("BillboardGui",chara)
  2213. naeeym2.Size = UDim2.new(0,100,0,40)
  2214. naeeym2.StudsOffset = Vector3.new(0,5,0)
  2215. naeeym2.Adornee = chara.Head
  2216. naeeym2.Name = "Counter"
  2217. local tecks2 = Instance.new("TextLabel",naeeym2)
  2218. tecks2.BackgroundTransparency = 1
  2219. tecks2.BorderSizePixel = 0
  2220. tecks2.Text = "Stunned!"
  2221. tecks2.Font = "Fantasy"
  2222. tecks2.FontSize = "Size24"
  2223. tecks2.TextStrokeTransparency = 0
  2224. tecks2.Size = UDim2.new(1,0,0.5,0)
  2225. tecks2.TextColor3 = Color3.new(1,0,0)
  2226. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  2227. for i = 1, 30 do
  2228. wait(.1)
  2229. TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0)
  2230. HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0)
  2231. RW.C0 = (RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0)
  2232. LW.C0 = (LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20))
  2233. end
  2234. for i = 1, 5 do
  2235. wait(.01)
  2236. tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
  2237. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
  2238. tecks2.TextTransparency = tecks2.TextTransparency + .2
  2239. end
  2240. for i = 0,.6,.1 do
  2241. rs:wait()
  2242. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0),ITCF,.4+i)
  2243. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),IHCF,.4+i)
  2244. RW.C0 = clerp((RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),IRWF,.4+i)
  2245. LW.C0 = clerp((LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20)),ILWF,.4+i)
  2246. end
  2247. del = false
  2248. chara.Humanoid.WalkSpeed = 16
  2249. end
  2250.  
  2251. blkpct = 100
  2252. local bcount = coroutine.wrap(function()
  2253. while wait() do
  2254. if blockval == false then
  2255. if blkpct < 100 then
  2256. blkpct = blkpct + 1
  2257. wait(.5)
  2258. else
  2259. end
  2260. end
  2261. player.PlayerGui.InfoScreen.BlockTxtBox.Text = blkpct.."%"
  2262. end
  2263. end)
  2264. bcount()
  2265.  
  2266. chara.Humanoid.HealthChanged:connect(function(hth)
  2267. if blockval == true then
  2268. if math.floor(hth) < healthlock then
  2269. blkpct = blkpct - math.random(2,4)
  2270. if blkpct < 1 then
  2271. Stunned()
  2272. end
  2273. print("Block Value reduced to "..blkpct)
  2274. else
  2275. end
  2276. end
  2277. end)
  2278.  
  2279. --Mouse Functions--
  2280. orbpushactive = false
  2281. del = false
  2282. input = ""
  2283. letterd = 0
  2284. ltoim = 0
  2285. function onKeyDown(key)
  2286. if key == "e" and attacking == false then
  2287. ToggleBlock()
  2288. elseif del == false and blockval == false then
  2289. if key == "q" and player.PlayerGui.InfoScreen:FindFirstChild("CoolDown")==nil then
  2290. if input == "sd" and targetted ~= nil then
  2291. ABlast()
  2292. elseif input == "dsas" and berserkmode == true then
  2293. RayOver()
  2294. elseif input == "ssdd" and berserkmode == true then
  2295. Minigun()
  2296. elseif input == "dasd" and targetted ~= nil and berserkmode == true then
  2297. RocketBlast()
  2298. elseif input == "ss" then
  2299. BackEx()
  2300. elseif input == "add" then
  2301. GrabMove()
  2302. elseif input == "adad" and berserkmode == false and overcharge == 100 then
  2303. Overdrive()
  2304. elseif input == "asdss" and berserkmode == true and player.PlayerGui.InfoScreen:FindFirstChild("UltCoolDown")==nil then
  2305. AttemptFinal()
  2306. else LockOn() end
  2307. player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input).."Q"
  2308. input = ""
  2309. letterd = 0
  2310. ltoim = 0
  2311. elseif key == "z" then
  2312. Punch()
  2313. player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input).."Z"
  2314. input = ""
  2315. letterd = 0
  2316. ltoim = 0
  2317. elseif key == "x" then
  2318. if input == "sa" then
  2319. BanditRevolver()
  2320. elseif input == "ss" then
  2321. FlipKick()
  2322. else KickAtk() end
  2323. player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input).."X"
  2324. input = ""
  2325. letterd = 0
  2326. ltoim = 0
  2327. elseif key == "c" and player.PlayerGui.InfoScreen:FindFirstChild("CoolDown")==nil then
  2328. if input == "dsd" then
  2329. Decapitator()
  2330. else ExplodPunch() end
  2331. player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input).."C"
  2332. input = ""
  2333. letterd = 0
  2334. ltoim = 0
  2335. elseif (key == "w" or key == "a" or key == "s" or key == "d") then
  2336. input=input..key
  2337. print(input)
  2338. letterd = letterd + 1
  2339. ltoim = 10
  2340. if letterd > 5 then
  2341. input = ""
  2342. letterd = 0
  2343. ltoim = 0
  2344. end
  2345. end
  2346. end
  2347. end
  2348. combo = 0
  2349.  
  2350. --Mouse Activation--
  2351. if Mouse then
  2352. Mouse.KeyDown:connect(onKeyDown)
  2353. end
  2354.  
  2355. --Overdrive Charge--
  2356. local count = coroutine.wrap(function()
  2357. while wait() do
  2358. if berserkmode == false then
  2359. if overcharge < 100 then
  2360. overcharge = overcharge + 1
  2361. player.PlayerGui.InfoScreen.OverdriveTxtBox.Text = overcharge.."%"
  2362. wait(.1)
  2363. else
  2364. end
  2365. elseif berserkmode == true then
  2366. player.PlayerGui.InfoScreen.OverdriveTxtBox.Text = "Overdrive!"
  2367. end
  2368. end
  2369. end)
  2370. count()
  2371.  
  2372. --Loop Function--
  2373. walking = false
  2374. toim = 0
  2375. while true do
  2376. wait()
  2377. toim = toim + .1
  2378. ltoim = ltoim - 1
  2379. if ltoim < 1 then
  2380. input = ""
  2381. end
  2382. if del == false then attacking = false elseif del == true then attacking = true end
  2383. if blockval == true and chara:FindFirstChild("HitByUlt")==nil then
  2384. chara.Humanoid.Health = healthlock
  2385. end
  2386. if del == false then
  2387. player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input)
  2388. end
  2389. if atkd == true then
  2390. TC.C0 = TCF
  2391. HC.C0 = HCF
  2392. RW.C0 = RWF
  2393. LW.C0 = LWF
  2394. atkd = false
  2395. end
  2396. if atkdd == true then
  2397. TC.C0 = ITCF
  2398. HC.C0 = IHCF
  2399. RW.C0 = IRWF
  2400. LW.C0 = ILWF
  2401. atkdd = false
  2402. end
  2403. torvel = (chara.HumanoidRootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2404. if torvel < 1 and walking == true and del == false and atkd == false and attacking == false and blockval == false then
  2405. for i = 0,1,.5 do
  2406. wait(.001)
  2407. if del == false and attacking == false and blockval == false then
  2408. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),ITCF,i)
  2409. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0),IHCF,i)
  2410. RW.C0 = IRWF
  2411. LW.C0 = clerp((LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20)),ILWF,i)
  2412. end
  2413. end
  2414. walking = false
  2415. elseif torvel > 1 and walking == false and del == false and atkd == false and attacking == false and blockval == false then
  2416. for i = 0,1,.5 do
  2417. wait(.001)
  2418. if del == false and attacking == false and blockval == false then
  2419. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),i)
  2420. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0),i)
  2421. RW.C0 = IRWF
  2422. LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20)),i)
  2423. end
  2424. end
  2425. walking = true
  2426. else
  2427. end
  2428. imgl.Rotation = imgl.Rotation + 3
  2429. if targetted ~= nil then
  2430. crosshair.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  2431. crosshair.Enabled = true
  2432. elseif targetted == nil then
  2433. crosshair.Adornee = nil
  2434. crosshair.Enabled = false
  2435. end
  2436. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement