Dark_EccentricYT

Untitled

Mar 25th, 2018
513
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 53.74 KB | None | 0 0
  1. ----------------
  2. --Donald McGillavry--
  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 = 24
  13. atkd = false
  14. atkdd = false
  15. targetted = nil
  16. iaidoatk = false
  17. berserkmode = false
  18.  
  19. --Outfit--
  20. New = function(Object, Parent, Name, Data)
  21. local Object = Instance.new(Object)
  22. for Index, Value in pairs(Data or {}) do
  23. Object[Index] = Value
  24. end
  25. Object.Parent = Parent
  26. Object.Name = Name
  27. return Object
  28. end
  29.  
  30. Swordu = New("Model",chara,"Swordu",{})
  31. Handle = New("Part",Swordu,"Handle",{BrickColor = BrickColor.new("Storm blue"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.99999994, 0.399999976),CFrame = CFrame.new(34.5000267, 1.20001173, 22.5999928, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,Color = Color3.new(0.2, 0.345098, 0.509804),})
  32. Mesh = New("CylinderMesh",Handle,"Mesh",{Scale = Vector3.new(1.20000005, 1, 1.20000005),})
  33. KWeld = New("ManualWeld",Handle,"KWeld",{Part0 = Handle,Part1 = chara["Right Arm"],C1 = CFrame.new(0, -0.999996185, -7.15255737e-07, -1, 0, 0, 0, 0, -1, 0, -1, 0),})
  34. Part = New("Part",Swordu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.30000001192093,Size = Vector3.new(0.200000003, 0.799999714, 0.200000003),CFrame = CFrame.new(34.5000267, 5.50000811, 22.4999924, 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,})
  35. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),MeshType = Enum.MeshType.Wedge,})
  36. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 4.29999638, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  37. Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.399999976),CFrame = CFrame.new(34.5000267, 1.80001104, 22.5999928, 0, 0, -1, 0, -1, 0, -1, 0, 0),CanCollide = false,Color = Color3.new(0.937255, 0.721569, 0.219608),})
  38. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(6, 1, 0.699999988),MeshType = Enum.MeshType.Torso,})
  39. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, -1, 0, -1, 0, 0),C1 = CFrame.new(0, 0.599999309, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  40. Part = New("Part",Swordu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.30000001192093,Size = Vector3.new(0.200000003, 0.799999714, 0.200000003),CFrame = CFrame.new(34.5000267, 5.50001001, 22.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,})
  41. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),MeshType = Enum.MeshType.Wedge,})
  42. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 4.29999828, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  43. Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.399999976),CFrame = CFrame.new(34.5000229, 1.8000114, 22.5999928, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,Color = Color3.new(0.937255, 0.721569, 0.219608),})
  44. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(2, 1.5, 2),})
  45. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(-3.81469727e-06, 0.599999666, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  46. Part = New("Part",Swordu,"Part",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.399999976),CFrame = CFrame.new(34.5000229, 0.600010991, 22.5999947, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,Color = Color3.new(0.937255, 0.721569, 0.219608),})
  47. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.5, 1.5, 1.5),})
  48. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(-3.81469727e-06, -0.600000739, 1.90734863e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  49. Part = New("Part",Swordu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.30000001192093,Size = Vector3.new(0.200000003, 3.19999981, 0.399999976),CFrame = CFrame.new(34.5000267, 3.50001144, 22.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,})
  50. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),})
  51. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 2.29999971, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  52. Hitbox = New("Part",Swordu,"Hitbox",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.200000003, 4, 0.399999976),CFrame = CFrame.new(34.5000267, 3.90001106, 22.5999947, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,})
  53. Mesh = New("BlockMesh",Hitbox,"Mesh",{Scale = Vector3.new(0.5, 1, 1),})
  54. Weld = New("ManualWeld",Hitbox,"Weld",{Part0 = Hitbox,Part1 = Handle,C1 = CFrame.new(0, 2.69999933, 1.90734863e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  55.  
  56.  
  57. RightArm = New("Model",chara,"RightArm",{})
  58. 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,})
  59. 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),})
  60. 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),})
  61. Mesh = New("SpecialMesh",Emit2Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  62. 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),})
  63. LeftArm = New("Model",chara,"LeftArm",{})
  64. 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,})
  65. 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),})
  66. 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),})
  67. Mesh = New("SpecialMesh",EmitPart,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  68. 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),})
  69.  
  70. lach = LeftArm:GetChildren()
  71. rach = RightArm:GetChildren()
  72. ch = chara:GetChildren()
  73.  
  74. ScreenGui = New("ScreenGui",player.PlayerGui,"ScreenGui",{})
  75. Frame = New("Frame",ScreenGui,"Frame",{BackgroundColor3 = Color3.new(0,.6,0),BorderColor3 = Color3.new(.2,.6,0),BorderSizePixel = 3,Position = UDim2.new(0,700,0,100),Size = UDim2.new(0,200,0,400),Draggable = true})
  76. TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,0),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "Fantasy",Text = "Donald McGillavry",TextColor3 = Color3.new(1,1,1)})
  77. TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,20),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "Fantasy",Text = "M - Mute/Unmute Music",TextColor3 = Color3.new(1,1,1)})
  78. TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,40),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "Fantasy",Text = "Z - Punch",TextColor3 = Color3.new(1,1,1)})
  79. TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,60),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "Fantasy",Text = "X - Kick",TextColor3 = Color3.new(1,1,1)})
  80. TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,80),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "Fantasy",Text = "C - Slash",TextColor3 = Color3.new(1,1,1)})
  81. TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,100),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "Fantasy",Text = "Q - Select Target",TextColor3 = Color3.new(1,1,1)})
  82. TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,120),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "Fantasy",Text = "E - Block",TextColor3 = Color3.new(1,1,1)})
  83. TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,140),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "Fantasy",Text = "SAX - Ballista Revolver",TextColor3 = Color3.new(1,1,1)})
  84. TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,160),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "Fantasy",Text = "SSX - Flip Kick",TextColor3 = Color3.new(1,1,1)})
  85. TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,180),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "Fantasy",Text = "AWC - From Above",TextColor3 = Color3.new(1,1,1)})
  86. TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,200),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "Fantasy",Text = "ADDC - Knight Slash",TextColor3 = Color3.new(1,1,1)})
  87. TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,220),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "Fantasy",Text = "DSDC - Knight Stabs",TextColor3 = Color3.new(1,1,1)})
  88. TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,240),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "Fantasy",Text = "SSADC - Knight Rush",TextColor3 = Color3.new(1,1,1)})
  89. TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,260),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "Fantasy",Text = "DSADDQ - Berserk",TextColor3 = Color3.new(1,1,1)})
  90. TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,280),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "Fantasy",Text = "ADQ - End Him Rightly",TextColor3 = Color3.new(1,1,1)})
  91. TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,300),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "Fantasy",Text = "ASDQ - Launch Explosives",TextColor3 = Color3.new(1,1,1)})
  92. TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,320),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "Fantasy",Text = "",TextColor3 = Color3.new(1,1,1)})
  93. OpenButton = New("TextButton",ScreenGui,"OpenButton",{BackgroundColor3 = Color3.new(0,.6,0),BorderColor3 = Color3.new(.2,.6,0),BorderSizePixel = 3,Position = UDim2.new(0,700,0,500),Size = UDim2.new(0,50,0,20),FontSize = "Size14",Font = "Fantasy",Text = "Close",TextColor3 = Color3.new(1,1,1)})
  94.  
  95. HandleT = New("Part",chara,"HandleT",{FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(2, 0.800000012, 1),CFrame = CFrame.new(36, 17.5985985, 26.6999989, -1, 0, -0, -0, 1, -0, -0, 0, -1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  96. Mesh = New("SpecialMesh",HandleT,"Mesh",{MeshId = "http://www.roblox.com/asset/?id=1043443",TextureId = "http://www.roblox.com/asset/?id=1043438",MeshType = Enum.MeshType.FileMesh,})
  97. WeldT = New("ManualWeld",HandleT,"WeldT",{Part0 = HandleT,Part1 = chara.Head,C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 1, 0, -0, -0, -1),C1 = CFrame.new(0, 0.900007248, 0, -1, -0, -0, 0, 1, 0, -0, -0, -1),})
  98. Shirta = New("Shirt",chara,"Shirta",{ShirtTemplate = "http://www.roblox.com/asset/?id=1895708"})
  99.  
  100. function addCols()
  101. ch = chara:GetChildren()
  102. for i = 1, #ch do
  103. if ch[i].Name == "Left Arm" or ch[i].Name == "Right Arm" or ch[i].Name == "Head" or ch[i].Name == "Torso" then
  104. ch[i].BrickColor = BrickColor.new("Bright yellow")
  105. if ch[i].Name == "Head" then
  106. ch[i].face.Texture = "http://www.roblox.com/asset/?id=18569805"
  107. elseif ch[i].Name == "Torso" then
  108. ch[i].roblox.Texture = ""
  109. end
  110. elseif ch[i].Name == "Left Leg" or ch[i].Name == "Right Leg" then
  111. ch[i].BrickColor = BrickColor.new("Black")
  112. elseif ch[i].ClassName == "Accessory" or ch[i].ClassName == "Hat" or ch[i].Name == "Shirt" or ch[i].Name == "Pants" or ch[i].Name == "Shirt Graphic" then
  113. ch[i]:Destroy()
  114. elseif ch[i].ClassName == "CharacterMesh" and chara:FindFirstChild("Chest")==nil then
  115. ch[i]:Destroy()
  116. end
  117. end
  118. end
  119.  
  120. OpenButton.MouseButton1Click:connect(function()
  121. if Frame.Visible == true then
  122. Frame.Visible = false
  123. OpenButton.Text = "Open"
  124. elseif Frame.Visible == false then
  125. Frame.Visible = true
  126. OpenButton.Text = "Close"
  127. end
  128. end)
  129.  
  130. crosshair = Instance.new("BillboardGui",chara)
  131. crosshair.Size = UDim2.new(10,0,10,0)
  132. crosshair.Enabled = false
  133. imgl = Instance.new("ImageLabel",crosshair)
  134. imgl.Position = UDim2.new(0,0,0,0)
  135. imgl.Size = UDim2.new(1,0,1,0)
  136. imgl.Image = "rbxassetid://233522684"
  137. imgl.BackgroundTransparency = 1
  138. imgl.ImageColor3 = Color3.new(1,1,0)
  139.  
  140. --Sounds--
  141. function LoadSnd(id,loop,vol,pit)
  142. local snd = New("Sound",chara,"Sound",{SoundId = "rbxassetid://"..id,Looped = loop,Volume = vol,Pitch = pit})
  143. return snd
  144. end
  145. Music = LoadSnd(166597964,true,2,1)
  146. StartUpSnd = LoadSnd(153092315,false,1,.8)
  147. SwingSnd = LoadSnd(158037267,false,1,1)
  148. Swing2Snd = LoadSnd(12222208,false,1,1)
  149. HitSnd = LoadSnd(153092274,false,1,1)
  150. HitPunchSnd = LoadSnd(153092227,false,1,1)
  151. DodgeSnd = LoadSnd(232210079,false,1,1)
  152. ExpSnd = LoadSnd(142070127,false,1,1)
  153. FlySnd = LoadSnd(169445602,false,1,1)
  154. BExpSnd = LoadSnd(258057783,false,5,1)
  155. ClawDashSnd = LoadSnd(62339698,false,1,.5)
  156. deathmus = LoadSnd(395580552,true,5,1)
  157. deathex = LoadSnd(258057783,false,5,1)
  158. --Grunt1Snd = LoadSnd(159882486,false,1,1.1)
  159. --Grunt2Snd = LoadSnd(159882466,false,1,1.1)
  160. --Grunt3Snd = LoadSnd(159972643,false,1,1.1)
  161. --Grunt4Snd = LoadSnd(159882584,false,1,1.1)
  162. --YouIdiotSnd = LoadSnd(160212768,false,1,1.1)
  163. --DieSnd = LoadSnd(159882598,false,1,1.1)
  164. --Laugh1Snd = LoadSnd(160212549,false,1,1.1)
  165. --Laugh2Snd = LoadSnd(159882561,false,1,1.1)
  166. --Laugh3Snd = LoadSnd(160212812,false,1,1.1)
  167. ChargeSnd = LoadSnd(137463716,false,1,1)
  168. LasSnd = LoadSnd(162246701,false,1,1)
  169. LasLoopSnd = LoadSnd(162246683,true,1,1)
  170. RStompSnd = LoadSnd(2760979,false,1,1)
  171. GunFlameSnd = LoadSnd(32656754,false,1,1)
  172. OrbSnd = LoadSnd(233091161,false,1,1)
  173. ElectricSnd = LoadSnd(231917975,false,1,1)
  174. LightsOutSnd = LoadSnd(231917794,false,1,1)
  175. SkyBeamSnd = LoadSnd(260433522,false,1,1)
  176. TargetSnd = LoadSnd(613361563,false,1,1)
  177. SV1Snd = LoadSnd(28144425,false,1,.265)
  178. SV2Snd = LoadSnd(2697431,false,1,.3)
  179. SVHitSnd = LoadSnd(62339698,false,1,.3)
  180. IceBreakSnd = LoadSnd(357568316,false,1,1)
  181. FreezeSnd = LoadSnd(203936153,false,1,1)
  182. IceBreak2Snd = LoadSnd(87015121,false,1,1)
  183. BlockedSnd = LoadSnd(357622136,false,1,1)
  184. Music:Play()
  185.  
  186. --Play Sound in Part--
  187. function PlaySnd(snd,part)
  188. local sound = snd:Clone()
  189. sound.PlayOnRemove = true
  190. sound.Parent = part
  191. sound:Destroy()
  192. end
  193.  
  194. --Target Select--
  195. function TargetSelect(person)
  196. local dd=coroutine.wrap(function()
  197. if targetted ~= person then
  198. targetted = person
  199. for i = 0,30,10 do
  200. wait(.05)
  201. crosshair.Size = UDim2.new(40-i,0,40-i,0)
  202. end
  203. end
  204. end)
  205. dd()
  206. end
  207.  
  208. --Damage Function--
  209. function dealdmg(dude,damage,env,toim)
  210. hurt = coroutine.wrap(function(dude2,damage2,env2,toim2)
  211. if dude ~= chara and dude:FindFirstChild("IsHit") == nil then
  212. TargetSelect(dude)
  213. dude.Humanoid.MaxHealth = 100
  214. finaldmg = damage + math.random(-env,env)
  215. if berserkmode == true then
  216. finaldmg = finaldmg * 1.5
  217. end
  218. dude.Humanoid.Health = dude.Humanoid.Health - finaldmg
  219. local vall = Instance.new("ObjectValue",dude)
  220. vall.Name = "IsHit"
  221. debby:AddItem(vall,toim)
  222. local naeeym2 = Instance.new("BillboardGui",dude)
  223. naeeym2.Size = UDim2.new(0,100,0,40)
  224. naeeym2.StudsOffset = Vector3.new(0,3,0)
  225. naeeym2.Adornee = dude.Head
  226. naeeym2.Name = "TalkingBillBoard"
  227. local tecks2 = Instance.new("TextLabel",naeeym2)
  228. tecks2.BackgroundTransparency = 1
  229. tecks2.BorderSizePixel = 0
  230. tecks2.Text = "-"..finaldmg
  231. tecks2.Font = "SciFi"
  232. tecks2.FontSize = "Size24"
  233. tecks2.TextStrokeTransparency = 0
  234. tecks2.TextColor3 = Color3.new(1,0.6,0)
  235. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  236. tecks2.Size = UDim2.new(1,0,0.5,0)
  237. if berserkmode == true then
  238. tecks2.TextColor3 = Color3.new(1,0,0)
  239. tecks2.TextStrokeColor3 = Color3.new(1,1,0)
  240. end
  241. for i = 1, 5 do
  242. wait(.1)
  243. tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
  244. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
  245. tecks2.TextTransparency = tecks2.TextTransparency + .2
  246. end
  247. naeeym2:Destroy()
  248. end
  249. end)
  250. hurt(dude,damage,env,toim)
  251. end
  252.  
  253. --Explode Hitbox--
  254. function ExHitbox(rad,pos,damage,env,toim)
  255. local E = Instance.new("Explosion")
  256. E.Position = pos
  257. E.Parent = game.Workspace
  258. E.BlastRadius = rad
  259. E.BlastPressure = 0
  260. E.Visible = false
  261. E.Hit:connect(function(hit)
  262. if hit.Parent:FindFirstChild("Humanoid")~=nil then
  263. dealdmg(hit.Parent,damage,env,toim)
  264. end
  265. end)
  266. end
  267.  
  268. --Chat Function--
  269. function chatfunc(text)
  270. local chat = coroutine.wrap(function()
  271. if chara:FindFirstChild("TalkingBillBoard")~= nil then
  272. chara:FindFirstChild("TalkingBillBoard"):destroy()
  273. end
  274. local naeeym2 = Instance.new("BillboardGui",chara)
  275. naeeym2.Size = UDim2.new(0,100,0,40)
  276. naeeym2.StudsOffset = Vector3.new(0,3,0)
  277. naeeym2.Adornee = chara.Head
  278. naeeym2.Name = "TalkingBillBoard"
  279. local tecks2 = Instance.new("TextLabel",naeeym2)
  280. tecks2.BackgroundTransparency = 1
  281. tecks2.BorderSizePixel = 0
  282. tecks2.Text = ""
  283. tecks2.Font = "Fantasy"
  284. tecks2.FontSize = "Size24"
  285. tecks2.TextStrokeTransparency = 0
  286. tecks2.TextColor3 = Color3.new(1,1,1)
  287. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  288. tecks2.Size = UDim2.new(1,0,0.5,0)
  289. if berserkmode == true then
  290. tecks2.TextColor3 = Color3.new(1,0,0)
  291. tecks2.TextStrokeColor3 = Color3.new(1,1,0)
  292. end
  293. for i = 1,string.len(text),1 do
  294. tecks2.Text = string.sub(text,1,i)
  295. wait(0.01)
  296. end
  297. wait(1)
  298. for i = 1, 5 do
  299. wait(.01)
  300. tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
  301. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
  302. tecks2.TextTransparency = tecks2.TextTransparency + .2
  303. end
  304. naeeym2:Destroy()
  305. end)
  306. chat()
  307. end
  308.  
  309. function onChatted(msg)
  310. chatfunc(msg)
  311. end
  312. player.Chatted:connect(onChatted)
  313.  
  314. --Punch Hit Effect--
  315. function PunchEff(pos)
  316. local p = Instance.new("Part",game.Workspace)
  317. p.Size = Vector3.new(0,0,0)
  318. p.BrickColor = BrickColor.new("White")
  319. p.Material = "Neon"
  320. p.Anchored = true
  321. p.CanCollide = false
  322. p.CFrame = pos
  323. local pm = Instance.new("SpecialMesh",p)
  324. pm.MeshType = "Sphere"
  325. local disp = coroutine.wrap(function()
  326. for i = 1, 4 do
  327. wait(.01)
  328. p.Transparency = p.Transparency + .2
  329. pm.Scale = pm.Scale + Vector3.new(2,2,2)
  330. end
  331. wait(.01)
  332. p:Destroy()
  333. end)
  334. disp()
  335. end
  336.  
  337. --Blade Hit Effect--
  338. function SlashEff(pos)
  339. local p = Instance.new("Part",game.Workspace)
  340. p.Size = Vector3.new(0,0,0)
  341. p.BrickColor = BrickColor.new("White")
  342. p.Material = "Neon"
  343. p.Anchored = true
  344. p.CanCollide = false
  345. p.CFrame = pos * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  346. local pm = Instance.new("SpecialMesh",p)
  347. pm.MeshType = "Sphere"
  348. pm.Scale = Vector3.new(2.5,0,2.5)
  349. local disp = coroutine.wrap(function()
  350. for i = 1, 4 do
  351. wait(.01)
  352. p.Transparency = p.Transparency + .2
  353. pm.Scale = pm.Scale + Vector3.new(0,30,0)
  354. end
  355. wait(.01)
  356. p:Destroy()
  357. end)
  358. disp()
  359. end
  360.  
  361. --Super Pause--
  362. function SuperPause()
  363. StartUpSnd:Play()
  364. local p = Instance.new("Part",game.Workspace)
  365. p.Size = Vector3.new(0,0,0)
  366. p.BrickColor = BrickColor.new("White")
  367. p.Material = "Neon"
  368. p.Anchored = true
  369. p.CanCollide = false
  370. p.CFrame = chara.Torso.CFrame
  371. local pm = Instance.new("SpecialMesh",p)
  372. pm.MeshType = "Sphere"
  373. local disp = coroutine.wrap(function()
  374. for i = 1, 4 do
  375. wait(.01)
  376. p.Transparency = p.Transparency + .2
  377. pm.Scale = pm.Scale + Vector3.new(20,20,20)
  378. end
  379. wait(.01)
  380. p:Destroy()
  381. end)
  382. disp()
  383. end
  384.  
  385. --Punch Touch--
  386. dela = .5
  387. punchactive = false
  388. function punchhit(hit)
  389. if punchactive == true then
  390. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
  391. dealdmg(hit.Parent,15,2,dela)
  392. PlaySnd(HitPunchSnd,hit.Parent.Head)
  393. PunchEff(Emit2Part.CFrame)
  394. end
  395. end
  396. end
  397. Emit2Part.Touched:connect(punchhit)
  398. EmitPart.Touched:connect(punchhit)
  399.  
  400. --Kick Touch--
  401. kickactive = false
  402. dkickactive = false
  403. skickactive = false
  404. didskick = false
  405. lkickactive = false
  406. function kickhit(hit)
  407. if kickactive == true then
  408. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
  409. dealdmg(hit.Parent,15,2,dela)
  410. PlaySnd(HitPunchSnd,hit.Parent.Head)
  411. PunchEff(hit.CFrame)
  412. if dkickactive == true then
  413. hit.Parent.Humanoid.PlatformStand = true
  414. hit.Parent.Head.CFrame = chara["Right Leg"].CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  415. wait(3)
  416. hit.Parent.Humanoid.PlatformStand = false
  417. end
  418. if skickactive == true then
  419. local bodpf = Instance.new("BodyPosition",hit.Parent.Head)
  420. bodpf.MaxForce = Vector3.new(10000,10000,10000)
  421. bodpf.Position = chara.HumanoidRootPart.Position + Vector3.new(0,30,0) + (chara.HumanoidRootPart.CFrame.lookVector*3)
  422. debby:AddItem(bodpf,3.5)
  423. didskick = true
  424. end
  425. if lkickactive == true then
  426. if hit.Parent.Head:FindFirstChild("BodyPosition") ~= nil then
  427. hit.Parent.Head:FindFirstChild("BodyPosition"):Destroy()
  428. end
  429. local bfos = Instance.new("BodyVelocity",hit.Parent.Head)
  430. bfos.P = 20000
  431. bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
  432. bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 20 + Vector3.new(0,30,0)
  433. debby:AddItem(bfos,.3)
  434. end
  435. end
  436. end
  437. end
  438. chara["Left Leg"].Touched:connect(kickhit)
  439. chara["Right Leg"].Touched:connect(kickhit)
  440.  
  441. --Blade Touch--
  442. dela = .5
  443. bladeactive = false
  444. function bladehit(hit)
  445. if blockval == true then
  446. PlaySnd(BlockedSnd,chara)
  447. end
  448. if bladeactive == true then
  449. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
  450. dealdmg(hit.Parent,20,2,dela)
  451. PlaySnd(HitSnd,hit.Parent.Head)
  452. SlashEff(hit.CFrame)
  453. if iaidoatk == true then
  454. local bfos = Instance.new("BodyVelocity",hit.Parent.Head)
  455. bfos.P = 20000
  456. bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
  457. bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 10
  458. wait(1)
  459. for i = 1, 30 do
  460. wait(.0001)
  461. dealdmg(hit.Parent,2,1,0)
  462. PlaySnd(HitSnd,hit.Parent.Head)
  463. SlashEff(hit.CFrame)
  464. end
  465. bfos:Destroy()
  466. end
  467. end
  468. end
  469. end
  470. Hitbox.Touched:connect(bladehit)
  471.  
  472. --Material Return--
  473. gprop = {}
  474. function materialhit(hit)
  475. if hit.Parent ~= chara and hit.Parent.Parent ~= chara and hit.Name ~= "Trace" and hit.Parent:FindFirstChild("Humanoid") == nil then
  476. gprop = {hit.BrickColor,hit.Material}
  477. end
  478. end
  479. chara["Left Leg"].Touched:connect(materialhit)
  480. chara["Right Leg"].Touched:connect(materialhit)
  481.  
  482. --Clerp Animations--
  483. TC = chara.HumanoidRootPart.RootJoint
  484. HC = chara.Torso.Neck
  485. RAC = chara.Torso["Right Shoulder"]
  486. LAC = chara.Torso["Left Shoulder"]
  487. RLC = chara.Torso["Right Hip"]
  488. LLC = chara.Torso["Left Hip"]
  489. TCF = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  490. HCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  491. RACF = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  492. LACF = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  493. RLCF = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  494. LLCF = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  495. RWF = CFrame.new(-1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  496. LWF = CFrame.new(1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  497. RLWF = CFrame.new(-.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  498. LLWF = CFrame.new(.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  499. RW = Instance.new("Weld",HC.Parent)
  500. RW.Part1 = HC.Parent
  501. RW.Part0 = chara["Right Arm"]
  502. RW.C0 = RWF
  503. LW = Instance.new("Weld",HC.Parent)
  504. LW.Part1 = HC.Parent
  505. LW.Part0 = chara["Left Arm"]
  506. LW.C0 = LWF
  507. RLW = nil
  508. LLW = nil
  509.  
  510. function Sheath(stype)
  511. KWeld:Destroy()
  512. if stype == 1 then --Unsheathed
  513. KWeld = New("ManualWeld",Handle,"Weld",{Part0 = Handle,Part1 = chara["Right Arm"],C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, -1, -4.76837158e-007, 1, 0, 0, 0, 0, -1, 0, 1, 0),})
  514. elseif stype == 2 then --Unsheathed, Pointing
  515. KWeld = New("ManualWeld",Handle,"Weld",{Part0 = Handle,Part1 = chara["Right Arm"],C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, -0.500001907, -0.0999999046, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  516. elseif stype == 3 then --Unsheathed, Down
  517. KWeld = New("ManualWeld",Handle,"Weld",{Part0 = Handle,Part1 = chara["Right Arm"],C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, -1, 4.76837158e-007, -1, 0, 0, 0, 0, -1, 0, -1, 0),})
  518. end
  519. end
  520.  
  521. function AddLegWelds()
  522. RLW = Instance.new("Weld",chara["Right Leg"])
  523. RLW.Part1 = HC.Parent
  524. RLW.Part0 = chara["Right Leg"]
  525. RLW.C0 = RLWF
  526. LLW = Instance.new("Weld",chara["Left Leg"])
  527. LLW.Part1 = HC.Parent
  528. LLW.Part0 = chara["Left Leg"]
  529. LLW.C0 = LLWF
  530. end
  531.  
  532. function DestroyLegWelds()
  533. 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),})
  534. 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),})
  535. RLW:Destroy()
  536. LLW:Destroy()
  537. end
  538.  
  539. function clerp(a,b,c)
  540. return a:lerp(b,c)
  541. end
  542.  
  543. --TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
  544. --HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50))
  545. --RW.C0 = (RWF + Vector3.new(1,2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  546. --LW.C0 = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2))
  547.  
  548. TC.C0 = TCF
  549. HC.C0 = HCF
  550. RW.C0 = RWF
  551. LW.C0 = LWF
  552.  
  553. --Idle Clerp--
  554. ITCF = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50))
  555. IHCF = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50))
  556. IRWF = RWF * CFrame.fromEulerAnglesXYZ(0,math.rad(10),math.rad(-2))
  557. ILWF = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2))
  558.  
  559. TC.C0 = ITCF
  560. HC.C0 = IHCF
  561. RW.C0 = IRWF
  562. LW.C0 = ILWF
  563.  
  564.  
  565. --Punch--
  566. function Punch()
  567. del = true
  568. atkd = true
  569. chara.Humanoid.WalkSpeed = 0
  570. punchactive = true
  571. wait(.01)
  572. for i = 0,.75,.25 do
  573. wait(.01)
  574. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  575. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  576. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  577. end
  578. for i = 0,.6,.2 do
  579. wait(.01)
  580. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  581. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  582. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  583. end
  584. chara.Humanoid.WalkSpeed = 32
  585. punchactive = false
  586. del = false
  587. atkdd = true
  588. end
  589.  
  590. --Kick Atk--
  591. function KickAtk()
  592. del = true
  593. atkd = true
  594. chara.Humanoid.WalkSpeed = 0
  595. kickactive = true
  596. AddLegWelds()
  597. for i = 0,.75,.25 do
  598. wait(.05)
  599. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,math.rad(-85)),.4+i)
  600. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(85)),.4+i)
  601. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,.3,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)),.4+i)
  602. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.2,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.4+i)
  603. LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.4+i)
  604. RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(-1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.4+i)
  605. end
  606. for i = 0,.75,.25 do
  607. wait(.05)
  608. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,math.rad(-85)),.6-i)
  609. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(85)),.6-i)
  610. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,.3,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)),.6-i)
  611. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.2,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.6-i)
  612. LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.6-i)
  613. RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(-1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.6-i)
  614. end
  615. DestroyLegWelds()
  616. kickactive = false
  617. chara.Humanoid.WalkSpeed = 24
  618. del = false
  619. atkdd = true
  620. end
  621.  
  622. --Slash Attack--
  623. function SlashAtk()
  624. del = true
  625. atkd = true
  626. chara.Humanoid.WalkSpeed = 0
  627. bladeactive = true
  628. SwingSnd:Play()
  629. wait(.01)
  630. for i = 0,.75,.25 do
  631. wait(.01)
  632. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-180)),TCF,.4+i)
  633. HC.C0 = clerp(IHCF,HCF,.4+i)
  634. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  635. end
  636. wait(.1)
  637. bladeactive = false
  638. for i = 0,.6,.2 do
  639. wait(.01)
  640. TC.C0 = clerp(ITCF,TCF,.6-i)
  641. HC.C0 = clerp(IHCF,HCF,.6-i)
  642. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  643. end
  644. Sheath(1)
  645. del = false
  646. chara.Humanoid.WalkSpeed = 24
  647. atkdd = true
  648. end
  649.  
  650. --Bandit Revolver--
  651. function BanditRevolver()
  652. del = true
  653. atkd = true
  654. chara.Humanoid.WalkSpeed = 0
  655. kickactive = true
  656. dkickactive = true
  657. chatfunc("Ballista Revolver!")
  658. AddLegWelds()
  659. local bfos = Instance.new("BodyVelocity",chara.Torso)
  660. bfos.P = 10000
  661. bfos.MaxForce = Vector3.new(bfos.P,0,bfos.P)
  662. bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 40
  663. for i = 0,.6,.2 do
  664. wait(.01)
  665. TC.C0 = clerp(ITCF,(TCF + Vector3.new(0,1,0)),.4+i)
  666. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(20),math.rad(90)),.4+i)
  667. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i)
  668. LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i)
  669. RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),.4+i)
  670. end
  671. for i = 1,4 do
  672. SwingSnd:Play()
  673. for i = 0,1,.25 do
  674. wait(.0001)
  675. TC.C0 = clerp((TCF + Vector3.new(0,1,0)),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),i)
  676. end
  677. for i = 0,1,.25 do
  678. wait(.0001)
  679. 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)
  680. end
  681. end
  682. SwingSnd:Play()
  683. for i = 0,1,.25 do
  684. wait(.0001)
  685. TC.C0 = clerp((TCF + Vector3.new(0,1,0)),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),i)
  686. end
  687. for i = 0,1,.25 do
  688. wait(.0001)
  689. 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)
  690. end
  691. for i = 0,1,.25 do
  692. wait(.01)
  693. TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(270)),ITCF,i)
  694. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(20),math.rad(90)),IHCF,i)
  695. RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),IRWF,i)
  696. LW.C0 = clerp((LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),ILWF,i)
  697. RLW.C0 = clerp((RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),RLWF,i)
  698. end
  699. DestroyLegWelds()
  700. dkickactive = false
  701. kickactive = false
  702. chara.Humanoid.WalkSpeed = 24
  703. bfos:Destroy()
  704. del = false
  705. atkdd = true
  706. end
  707.  
  708. --Freezer Kick--
  709. function FlipKickEffect(pos)
  710. local p = Instance.new("Part",game.Workspace)
  711. p.Size = Vector3.new(0,0,0)
  712. p.BrickColor = BrickColor.new("Dark stone grey")
  713. p.Material = "SmoothPlastic"
  714. p.Anchored = true
  715. p.CanCollide = false
  716. p.CFrame = pos * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  717. local pm = Instance.new("BlockMesh",p)
  718. local disp = coroutine.wrap(function()
  719. for i = 1, 4 do
  720. wait(.01)
  721. p.Transparency = p.Transparency + .2
  722. pm.Scale = pm.Scale + Vector3.new(2,2,2)
  723. end
  724. wait(.01)
  725. p:Destroy()
  726. end)
  727. disp()
  728. end
  729. function FlipKick()
  730. del = true
  731. atkd = true
  732. chatfunc("Flip Kick!")
  733. AddLegWelds()
  734. kickactive = true
  735. lkickactive = true
  736. local bfos = Instance.new("BodyVelocity",chara.Torso)
  737. bfos.P = 10000
  738. bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
  739. bfos.Velocity = Vector3.new(0,20,0) + chara.HumanoidRootPart.CFrame.lookVector * 20
  740. SwingSnd:Play()
  741. for i = 0,.6,.2 do
  742. wait(.001)
  743. TC.C0 = clerp(ITCF,(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),.4+i)
  744. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),.4+i)
  745. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i)
  746. LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i)
  747. RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),.4+i)
  748. FlipKickEffect(chara["Left Leg"].CFrame - chara["Left Leg"].CFrame.upVector*1.5)
  749. end
  750. for i = 0,1,.25 do
  751. wait(.001)
  752. TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),ITCF * CFrame.fromEulerAnglesXYZ(math.rad(-360),0,0),.4+i)
  753. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),IHCF,.4+i)
  754. RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),IRWF,.4+i)
  755. LW.C0 = clerp((LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),ILWF,.4+i)
  756. RLW.C0 = clerp((RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),RLWF,.4+i)
  757. FlipKickEffect(chara["Left Leg"].CFrame - chara["Left Leg"].CFrame.upVector*1.5)
  758. end
  759. DestroyLegWelds()
  760. bfos:Destroy()
  761. kickactive = false
  762. lkickactive = false
  763. del = false
  764. atkdd = true
  765. end
  766.  
  767. --End Him Rightly--
  768. function EndRightly()
  769. del = true
  770. atkd = true
  771. chatfunc("End You Rightly!")
  772. for i = 0,.75,.25 do
  773. wait(.01)
  774. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  775. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  776. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  777. end
  778. SwingSnd:Play()
  779. local missile = Instance.new("Part",game.Workspace)
  780. missile.Material = "Neon"
  781. missile.Size = Vector3.new(0,0,0)
  782. missile.BrickColor = BrickColor.new("Gold")
  783. missile.Name = "Blast"
  784. missile.TopSurface = 0
  785. missile.BottomSurface = 0
  786. missile.Position = chara["Right Arm"].Position
  787. missile.CFrame = chara["Right Arm"].CFrame
  788. missile.Velocity = ((targetted.Head.Position - Vector3.new(0,2,0)) - chara.HumanoidRootPart.Position).unit*70
  789. local mesh1 = Instance.new("SpecialMesh",missile)
  790. mesh1.MeshType = "Head"
  791. mesh1.Scale = Vector3.new(1.5,1.5,1.5)
  792. local force = Instance.new("BodyForce")
  793. force.force = Vector3.new(0,missile:GetMass()*game.Workspace.Gravity,0)
  794. force.Parent = missile
  795. if berserkmode == true then
  796. local p1mit = Instance.new("ParticleEmitter",missile)
  797. p1mit.Texture = "rbxasset://textures/particles/smoke_main.dds"
  798. p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Deep orange").Color),ColorSequenceKeypoint.new(1,BrickColor.new("New Yeller").Color)})
  799. p1mit.LightEmission = 1
  800. p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  801. p1mit.Lifetime = NumberRange.new(1)
  802. p1mit.Rate = 10000
  803. p1mit.Rotation = NumberRange.new(0,359)
  804. p1mit.RotSpeed = NumberRange.new(100)
  805. p1mit.Speed = NumberRange.new(0)
  806. end
  807. -- local bfo = Instance.new("BodyVelocity",missile)
  808. -- bfo.P = 100000
  809. -- bfo.MaxForce = Vector3.new(bfo.P,bfo.P,bfo.P)
  810. -- bfo.Velocity = (chara.HumanoidRootPart.CFrame.lookVector*100)+(chara.HumanoidRootPart.CFrame.rightVector*i)
  811. -- debby:AddItem(bfo,1)
  812. missile.Touched:connect(function(hit)
  813. if (hit.Parent.Parent ~= chara and hit.Parent ~= chara and hit.Name ~= "Blast" and force ~= nil) then
  814. force:Destroy()
  815. force = nil
  816. ExHitbox(3,missile.Position,12,1,.5)
  817. PlaySnd(HitPunchSnd,hit)
  818. wait(2)
  819. missile:Destroy()
  820. end
  821. end)
  822. debby:AddItem(missile,10)
  823. wait(.5)
  824. for i = 0,.6,.2 do
  825. wait(.01)
  826. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  827. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  828. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  829. end
  830. del = false
  831. atkdd = true
  832. end
  833.  
  834. --Decapitator--
  835. function Decapitator()
  836. del = true
  837. atkd = true
  838. chatfunc("Sky Slash!")
  839. chara.Humanoid.WalkSpeed = 0
  840. bladeactive = true
  841. Sheath(2)
  842. for i = 0,.6,.2 do
  843. wait(.0001)
  844. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0),.4+i)
  845. HC.C0 = clerp(IHCF,HCF,.4+i)
  846. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  847. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-50),0,math.rad(90)),.6-i)
  848. end
  849. local bf = Instance.new("BodyVelocity",chara.Torso)
  850. bf.P = 10000
  851. bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P)
  852. bf.Velocity = Vector3.new(0,20,0) + chara.HumanoidRootPart.CFrame.lookVector*50
  853. SwingSnd:Play()
  854. for i = 0,1,.25 do
  855. wait(.0001)
  856. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0),TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(180)),i)
  857. HC.C0 = HCF
  858. RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  859. end
  860. for i = 0,1,.25 do
  861. wait(.0001)
  862. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(180)),TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(360)),i)
  863. HC.C0 = HCF
  864. RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  865. end
  866. bf:Destroy()
  867. Sheath(1)
  868. for i = 0,.6,.2 do
  869. wait(.0001)
  870. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0),.6-i)
  871. HC.C0 = clerp(IHCF,HCF,.6-i)
  872. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  873. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-50),0,math.rad(90)),.6-i)
  874. end
  875. bladeactive = false
  876. atkdd = true
  877. chara.Humanoid.WalkSpeed = 24
  878. del = false
  879. end
  880.  
  881. --Slashes--
  882. function IaidoFrost()
  883. del = true
  884. atkd = true
  885. chara.Humanoid.WalkSpeed = 8
  886. SuperPause()
  887. chatfunc("My secret knight technique..")
  888. for i = 0,.75,.25 do
  889. wait(.01)
  890. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-180)),TCF,.4+i)
  891. HC.C0 = clerp(IHCF,HCF,.4+i)
  892. end
  893. wait(.5)
  894. bladeactive = true
  895. iaidoatk = true
  896. Sheath(2)
  897. Swing2Snd:Play()
  898. wait(.01)
  899. for i = 0,.75,.25 do
  900. wait(.01)
  901. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-180)),TCF,.4+i)
  902. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  903. end
  904. wait(1)
  905. bladeactive = false
  906. iaidoatk = false
  907. for i = 0,.6,.2 do
  908. wait(.01)
  909. TC.C0 = clerp(ITCF,TCF,.6-i)
  910. HC.C0 = clerp(IHCF,HCF,.6-i)
  911. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  912. end
  913. Sheath(1)
  914. del = false
  915. chara.Humanoid.WalkSpeed = 24
  916. atkdd = true
  917. end
  918.  
  919. --Stabs--
  920. function KnightStabs()
  921. del = true
  922. atkd = true
  923. chara.Humanoid.WalkSpeed = 8
  924. chatfunc("Knight Stabs!")
  925. for i = 0,.75,.25 do
  926. wait(.01)
  927. TC.C0 = clerp(ITCF,TCF,.4+i)
  928. HC.C0 = clerp(IHCF,HCF,.4+i)
  929. end
  930. bladeactive = true
  931. dela = 0
  932. Sheath(2)
  933. wait(.01)
  934. for i = 0,.75,.25 do
  935. wait(.01)
  936. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  937. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  938. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  939. end
  940. for i = 1, 10 do
  941. wait(.001)
  942. PlaySnd(SwingSnd,chara)
  943. RW.C0 = ((RWF + Vector3.new(math.random(-.2,.8),1.4,math.random(-.8,.8)))) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  944. end
  945. RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  946. for i = 0,.6,.2 do
  947. wait(.01)
  948. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  949. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  950. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  951. end
  952. Sheath(1)
  953. chara.Humanoid.WalkSpeed = 24
  954. bladeactive = false
  955. dela = .5
  956. del = false
  957. atkdd = true
  958. end
  959.  
  960. --Rush--
  961. function KnightRush()
  962. del = true
  963. atkd = true
  964. chara.Humanoid.WalkSpeed = 8
  965. SuperPause()
  966. chatfunc("Knight Rush!")
  967. for i = 0,.75,.25 do
  968. wait(.01)
  969. TC.C0 = clerp(ITCF,TCF,.4+i)
  970. HC.C0 = clerp(IHCF,HCF,.4+i)
  971. end
  972. wait(1)
  973. bladeactive = true
  974. dela = 0
  975. Sheath(2)
  976. wait(.01)
  977. for i = 0,.75,.25 do
  978. wait(.01)
  979. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  980. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  981. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  982. end
  983. for i = 1, 40 do
  984. wait(.001)
  985. PlaySnd(SwingSnd,chara)
  986. RW.C0 = ((RWF + Vector3.new(math.random(-.2,.8),1.4,math.random(-.8,.8)))) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  987. end
  988. RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  989. wait(1)
  990. for i = 0,.6,.2 do
  991. wait(.01)
  992. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  993. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  994. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  995. end
  996. Sheath(1)
  997. chara.Humanoid.WalkSpeed = 24
  998. bladeactive = false
  999. dela = .5
  1000. del = false
  1001. atkdd = true
  1002. end
  1003.  
  1004. --Berserk--
  1005. function Berserk()
  1006. del = false
  1007. atkd = false
  1008. chara.Humanoid.WalkSpeed = 0
  1009. chatfunc("Berserk UP!")
  1010. berserkmode = true
  1011. local jtrace = Instance.new("Part",game.Workspace)
  1012. jtrace.Size = Vector3.new(0,0,0)
  1013. jtrace.Position = chara.HumanoidRootPart.Position
  1014. jtrace.CFrame = chara.HumanoidRootPart.CFrame - Vector3.new(0,2,0)
  1015. jtrace.Anchored = true
  1016. StartUpSnd:Play()
  1017. local tmesh = Instance.new("SpecialMesh",jtrace)
  1018. tmesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1019. tmesh.Scale = Vector3.new(1,1,1)
  1020. tmesh.Offset = Vector3.new(0,0,-.125)
  1021. local p3mit = Instance.new("ParticleEmitter",chara.Torso)
  1022. p3mit.Rate = 1000
  1023. p3mit.Lifetime = NumberRange.new(1)
  1024. p3mit.EmissionDirection = "Front"
  1025. p3mit.RotSpeed = NumberRange.new(0)
  1026. p3mit.Speed = NumberRange.new(0)
  1027. p3mit.Rotation = NumberRange.new(0)
  1028. p3mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(1,Color3.new(1,0,0))})
  1029. p3mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,10)})
  1030. p3mit.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.95),NumberSequenceKeypoint.new(1,1)})
  1031. p3mit.Texture = "http://www.roblox.com/asset/?id=144580273"
  1032. p3mit.LockedToPart = true
  1033. p3mit.Acceleration = Vector3.new(0,0,0)
  1034. local p1mit = Instance.new("ParticleEmitter",Hitbox)
  1035. p1mit.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1036. p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Deep orange").Color),ColorSequenceKeypoint.new(1,BrickColor.new("New Yeller").Color)})
  1037. p1mit.LightEmission = 1
  1038. p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  1039. p1mit.Lifetime = NumberRange.new(1)
  1040. p1mit.Rate = 10000
  1041. p1mit.Rotation = NumberRange.new(0,359)
  1042. p1mit.RotSpeed = NumberRange.new(100)
  1043. p1mit.Speed = NumberRange.new(0)
  1044. for i = 0,.6,.2 do
  1045. wait(.01)
  1046. TC.C0 = clerp(ITCF,TCF,.4+i)
  1047. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),.4+i)
  1048. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i)
  1049. LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i)
  1050. end
  1051. for i = 1, 10 do
  1052. wait(.01)
  1053. jtrace.Transparency = jtrace.Transparency + .1
  1054. tmesh.Scale = tmesh.Scale + Vector3.new(2,.05,2)
  1055. end
  1056. for i = 0,.6,.2 do
  1057. wait(.01)
  1058. TC.C0 = clerp(ITCF,TCF,.6-i)
  1059. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),.6-i)
  1060. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.6-i)
  1061. LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.6-i)
  1062. end
  1063. jtrace:Destroy()
  1064. local delll = coroutine.wrap(function()
  1065. local delval = 10
  1066. local naeeym2 = Instance.new("BillboardGui",chara)
  1067. naeeym2.Size = UDim2.new(0,100,0,40)
  1068. naeeym2.StudsOffset = Vector3.new(0,5,0)
  1069. naeeym2.Adornee = chara.Head
  1070. naeeym2.Name = "Counter"
  1071. local tecks2 = Instance.new("TextLabel",naeeym2)
  1072. tecks2.BackgroundTransparency = 1
  1073. tecks2.BorderSizePixel = 0
  1074. tecks2.Text = ""
  1075. tecks2.Font = "Fantasy"
  1076. tecks2.FontSize = "Size24"
  1077. tecks2.TextStrokeTransparency = 0
  1078. tecks2.Size = UDim2.new(1,0,0.5,0)
  1079. tecks2.TextColor3 = Color3.new(1,0,0)
  1080. tecks2.TextStrokeColor3 = Color3.new(1,1,0)
  1081. for i = 1, delval*100 do
  1082. delval = delval - .01
  1083. tecks2.Text = "<"..delval..">"
  1084. wait(.01)
  1085. end
  1086. berserkmode = false
  1087. p3mit:Destroy()
  1088. p1mit:Destroy()
  1089. for i = 1, 5 do
  1090. wait(.01)
  1091. tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
  1092. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
  1093. tecks2.TextTransparency = tecks2.TextTransparency + .2
  1094. end
  1095. end)
  1096. delll()
  1097. chara.Humanoid.WalkSpeed = 24
  1098. del = false
  1099. atkdd = true
  1100. end
  1101.  
  1102. --End Him Rightly--
  1103. function Explosive()
  1104. del = true
  1105. atkd = true
  1106. chatfunc("Take this!")
  1107. for i = 0,.75,.25 do
  1108. wait(.01)
  1109. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1110. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1111. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1112. end
  1113. SwingSnd:Play()
  1114. local missile = Instance.new("Part",game.Workspace)
  1115. missile.Material = "Neon"
  1116. missile.Size = Vector3.new(1,1,1)
  1117. missile.BrickColor = BrickColor.new("Black")
  1118. missile.Name = "Blast"
  1119. missile.Shape = 0
  1120. missile.TopSurface = 0
  1121. missile.BottomSurface = 0
  1122. missile.Position = chara["Right Arm"].Position
  1123. missile.CFrame = chara["Right Arm"].CFrame
  1124. missile.Velocity = (Mouse.Hit.p - chara.HumanoidRootPart.Position).unit*70
  1125. local mesh1 = Instance.new("SpecialMesh",missile)
  1126. mesh1.MeshId = "rbxasset://fonts/timebomb.mesh"
  1127. mesh1.Scale = Vector3.new(.5,.5,.5)
  1128. local force = Instance.new("BodyForce")
  1129. force.force = Vector3.new(0,missile:GetMass()*game.Workspace.Gravity,0)
  1130. force.Parent = missile
  1131. debby:AddItem(force,.1)
  1132. -- local bfo = Instance.new("BodyVelocity",missile)
  1133. -- bfo.P = 100000
  1134. -- bfo.MaxForce = Vector3.new(bfo.P,bfo.P,bfo.P)
  1135. -- bfo.Velocity = (chara.HumanoidRootPart.CFrame.lookVector*100)+(chara.HumanoidRootPart.CFrame.rightVector*i)
  1136. -- debby:AddItem(bfo,1)
  1137. local deto = coroutine.wrap(function()
  1138. wait(.5)
  1139. for i = 1, 3 do
  1140. PlaySnd(TargetSnd,missile)
  1141. missile.BrickColor = BrickColor.new("Bright red")
  1142. wait(.1)
  1143. missile.BrickColor = BrickColor.new("Black")
  1144. end
  1145. wait(.1)
  1146. mesh1.MeshId = ""
  1147. mesh1.MeshType = "Sphere"
  1148. mesh1.Scale = Vector3.new(1,1,1)
  1149. missile.Anchored = true
  1150. missile.BrickColor = BrickColor.new("Bright yellow")
  1151. missile.Material = "Neon"
  1152. ExpSnd:Play()
  1153. ExHitbox(10,missile.Position,25,3,.5)
  1154. for i = 1, 9 do
  1155. mesh1.Scale = mesh1.Scale + Vector3.new(3,3,3)
  1156. missile.Transparency = missile.Transparency + .1
  1157. wait(.01)
  1158. end
  1159. missile:Destroy()
  1160. end)
  1161. deto()
  1162. wait(.5)
  1163. for i = 0,.6,.2 do
  1164. wait(.01)
  1165. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  1166. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1167. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1168. end
  1169. del = false
  1170. atkdd = true
  1171. end
  1172.  
  1173. --Lock On--
  1174. function LockOn()
  1175. if Mouse.Target.Parent ~= chara and Mouse.Target.Parent.Parent ~= chara and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1176. TargetSelect(Mouse.Target.Parent)
  1177. TargetSnd:Play()
  1178. wait(.05)
  1179. TargetSnd:Play()
  1180. else end
  1181. end
  1182.  
  1183. --Block--
  1184. blockval = false
  1185. healthlock = 0
  1186. effeff = nil
  1187. function ToggleBlock()
  1188. if blockval == false then
  1189. del = true
  1190. blockval = true
  1191. SwingSnd:Play()
  1192. healthlock = chara.Humanoid.Health
  1193. effeff = Instance.new("ForceField",chara)
  1194. effeff.Name = "FawsFeeld"
  1195. effeff.Visible = false
  1196. for i = 0,.75,.25 do
  1197. wait(.0001)
  1198. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1199. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1200. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1201. end
  1202. elseif blockval == true then
  1203. SwingSnd:Play()
  1204. effeff:Destroy()
  1205. blockval = false
  1206. for i = 0,.6,.2 do
  1207. wait(.0001)
  1208. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  1209. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1210. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1211. end
  1212. del = false
  1213. atkdd = true
  1214. end
  1215. end
  1216.  
  1217. --Mouse Functions--
  1218. orbpushactive = false
  1219. del = false
  1220. input = ""
  1221. letterd = 0
  1222. ltoim = 0
  1223. function onKeyDown(key)
  1224. if key == "e" then
  1225. ToggleBlock()
  1226. elseif del == false then
  1227. if key == "q" then
  1228. if input == "ad" and targetted ~= nil then
  1229. EndRightly()
  1230. elseif input == "dsadd" and berserkmode == false then
  1231. Berserk()
  1232. elseif input == "asd" then
  1233. Explosive()
  1234. else LockOn() end
  1235. input = ""
  1236. letterd = 0
  1237. ltoim = 0
  1238. elseif key == "z" then
  1239. Punch()
  1240. input = ""
  1241. letterd = 0
  1242. ltoim = 0
  1243. elseif key == "x" then
  1244. if input == "sa" then
  1245. BanditRevolver()
  1246. elseif input == "ss" then
  1247. FlipKick()
  1248. else KickAtk() end
  1249. input = ""
  1250. letterd = 0
  1251. ltoim = 0
  1252. elseif key == "c" then
  1253. if input == "add" then
  1254. IaidoFrost()
  1255. elseif input == "ssad" then
  1256. KnightRush()
  1257. elseif input == "aw" then
  1258. Decapitator()
  1259. elseif input == "dsd" then
  1260. KnightStabs()
  1261. else SlashAtk() end
  1262. input = ""
  1263. letterd = 0
  1264. ltoim = 0
  1265. elseif (key == "w" or key == "a" or key == "s" or key == "d") then
  1266. input=input..key
  1267. print(input)
  1268. letterd = letterd + 1
  1269. ltoim = ltoim + 10
  1270. if letterd > 5 then
  1271. input = ""
  1272. letterd = 0
  1273. ltoim = 0
  1274. end
  1275. elseif key == "m" then
  1276. if Music.IsPlaying == true then
  1277. Music:Stop()
  1278. elseif Music.IsPlaying == false then
  1279. Music:Play()
  1280. end
  1281. end
  1282. end
  1283. end
  1284. combo = 0
  1285.  
  1286. --Mouse Activation--
  1287. if Mouse then
  1288. Mouse.KeyDown:connect(onKeyDown)
  1289. end
  1290.  
  1291. --Loop Function--
  1292. walking = false
  1293. toim = 0
  1294. while true do
  1295. wait()
  1296. addCols()
  1297. toim = toim + .1
  1298. ltoim = ltoim - 1
  1299. if ltoim < 1 then
  1300. input = ""
  1301. end
  1302. if blockval == true then
  1303. chara.Humanoid.Health = healthlock
  1304. end
  1305. if atkd == true then
  1306. TC.C0 = TCF
  1307. HC.C0 = HCF
  1308. RW.C0 = RWF
  1309. LW.C0 = LWF
  1310. atkd = false
  1311. end
  1312. if atkdd == true then
  1313. TC.C0 = ITCF
  1314. HC.C0 = IHCF
  1315. RW.C0 = IRWF
  1316. LW.C0 = ILWF
  1317. atkdd = false
  1318. end
  1319. torvel = (chara.HumanoidRootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1320. if torvel < 1 and walking == true and del == false and atkd == false then
  1321. for i = 0,1,.5 do
  1322. wait(.001)
  1323. if del == false then
  1324. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),ITCF,i)
  1325. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0),IHCF,i)
  1326. RW.C0 = IRWF
  1327. LW.C0 = clerp((LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20)),ILWF,i)
  1328. end
  1329. end
  1330. walking = false
  1331. elseif torvel > 1 and walking == false and del == false and atkd == false then
  1332. for i = 0,1,.5 do
  1333. wait(.001)
  1334. if del == false then
  1335. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),i)
  1336. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0),i)
  1337. RW.C0 = IRWF
  1338. LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20)),i)
  1339. end
  1340. end
  1341. walking = true
  1342. else
  1343. end
  1344. imgl.Rotation = imgl.Rotation + 3
  1345. if targetted ~= nil then
  1346. crosshair.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  1347. crosshair.Enabled = true
  1348. elseif targetted == nil then
  1349. crosshair.Adornee = nil
  1350. crosshair.Enabled = false
  1351. end
  1352. end
Add Comment
Please, Sign In to add comment