Advertisement
SheeityArtist

Bee Dee Dee HB

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