Advertisement
SheeityArtist

Donald Updated

Jun 14th, 2017
820
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 65.00 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 = 0
  13. atkd = false
  14. atkdd = false
  15. targetted = nil
  16. iaidoatk = false
  17. berserkmode = false
  18. rs = game:GetService("RunService").RenderStepped
  19. overcharge = 0
  20. attacking = false
  21.  
  22. --Outfit--
  23. New = function(Object, Parent, Name, Data)
  24. local Object = Instance.new(Object)
  25. for Index, Value in pairs(Data or {}) do
  26. Object[Index] = Value
  27. end
  28. Object.Parent = Parent
  29. Object.Name = Name
  30. return Object
  31. end
  32.  
  33. Swordu = New("Model",chara,"Swordu",{})
  34. 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),})
  35. Mesh = New("CylinderMesh",Handle,"Mesh",{Scale = Vector3.new(1.20000005, 1, 1.20000005),})
  36. 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),})
  37. 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,})
  38. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),MeshType = Enum.MeshType.Wedge,})
  39. 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),})
  40. 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),})
  41. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(6, 1, 0.699999988),MeshType = Enum.MeshType.Torso,})
  42. 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),})
  43. 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,})
  44. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),MeshType = Enum.MeshType.Wedge,})
  45. 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),})
  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, 1.8000114, 22.5999928, 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(2, 1.5, 2),})
  48. 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),})
  49. 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),})
  50. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.5, 1.5, 1.5),})
  51. 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),})
  52. 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,})
  53. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 1),})
  54. 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),})
  55. 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,})
  56. Mesh = New("BlockMesh",Hitbox,"Mesh",{Scale = Vector3.new(0.5, 1, 1),})
  57. 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),})
  58.  
  59. RightArm = New("Model",chara,"RightArm",{})
  60. 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,})
  61. 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),})
  62. 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),})
  63. Mesh = New("SpecialMesh",Emit2Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  64. 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),})
  65. LeftArm = New("Model",chara,"LeftArm",{})
  66. 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,})
  67. 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),})
  68. 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),})
  69. Mesh = New("SpecialMesh",EmitPart,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  70. 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),})
  71.  
  72. lach = LeftArm:GetChildren()
  73. rach = RightArm:GetChildren()
  74. ch = chara:GetChildren()
  75.  
  76. 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,})
  77. 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,})
  78. 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),})
  79.  
  80. function CreateTrailObj(parent,color1,color2,ofsx,ofsz)
  81. local Att1 = New("Attachment",parent,"Att1",{Position = Vector3.new(ofsx,parent.Size.Y/2,ofsz)})
  82. local Att2 = New("Attachment",parent,"Att2",{Position = Vector3.new(ofsx,-(parent.Size.Y/2),ofsz)})
  83. 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})
  84. return TEff
  85. end
  86.  
  87. SlashTrail = CreateTrailObj(Hitbox,"White","White",0,0)
  88. PunchTrail = CreateTrailObj(chara["Right Arm"],"White","White",0,0)
  89. KickTrail = CreateTrailObj(chara["Left Leg"],"White","White",0,0)
  90. BRTrail = CreateTrailObj(chara["Right Leg"],"White","White",0,0)
  91.  
  92. crosshair = Instance.new("BillboardGui",chara)
  93. crosshair.Size = UDim2.new(10,0,10,0)
  94. crosshair.Enabled = false
  95. imgl = Instance.new("ImageLabel",crosshair)
  96. imgl.Position = UDim2.new(0,0,0,0)
  97. imgl.Size = UDim2.new(1,0,1,0)
  98. imgl.Image = "rbxassetid://233522684"
  99. imgl.BackgroundTransparency = 1
  100. imgl.ImageColor3 = Color3.new(1,1,0)
  101.  
  102. --Sounds--
  103. function LoadSnd(id,loop,vol,pit)
  104. local snd = New("Sound",chara,"Sound",{SoundId = "rbxassetid://"..id,Looped = loop,Volume = vol,Pitch = pit})
  105. return snd
  106. end
  107. Music = LoadSnd(166597964,true,2,1)
  108. StartUpSnd = LoadSnd(153092315,false,1,.8)
  109. SwingSnd = LoadSnd(158037267,false,1,1)
  110. Swing2Snd = LoadSnd(12222208,false,1,1)
  111. HitSnd = LoadSnd(153092274,false,1,1)
  112. HitPunchSnd = LoadSnd(153092227,false,1,1)
  113. DodgeSnd = LoadSnd(232210079,false,1,1)
  114. ExpSnd = LoadSnd(142070127,false,1,1)
  115. FlySnd = LoadSnd(169445602,false,1,1)
  116. BExpSnd = LoadSnd(258057783,false,5,1)
  117. ClawDashSnd = LoadSnd(62339698,false,1,.5)
  118. deathmus = LoadSnd(395580552,true,5,1)
  119. deathex = LoadSnd(258057783,false,5,1)
  120. --Grunt1Snd = LoadSnd(159882486,false,1,1.1)
  121. --Grunt2Snd = LoadSnd(159882466,false,1,1.1)
  122. --Grunt3Snd = LoadSnd(159972643,false,1,1.1)
  123. --Grunt4Snd = LoadSnd(159882584,false,1,1.1)
  124. --YouIdiotSnd = LoadSnd(160212768,false,1,1.1)
  125. --DieSnd = LoadSnd(159882598,false,1,1.1)
  126. --Laugh1Snd = LoadSnd(160212549,false,1,1.1)
  127. --Laugh2Snd = LoadSnd(159882561,false,1,1.1)
  128. --Laugh3Snd = LoadSnd(160212812,false,1,1.1)
  129. ChargeSnd = LoadSnd(137463716,false,1,1)
  130. LasSnd = LoadSnd(162246701,false,1,1)
  131. LasLoopSnd = LoadSnd(162246683,true,1,1)
  132. RStompSnd = LoadSnd(12222225,false,1,1)
  133. GunFlameSnd = LoadSnd(32656754,false,1,1)
  134. OrbSnd = LoadSnd(233091161,false,1,1)
  135. ElectricSnd = LoadSnd(231917975,false,1,1)
  136. LightsOutSnd = LoadSnd(231917794,false,1,1)
  137. SkyBeamSnd = LoadSnd(260433522,false,1,1)
  138. TargetSnd = LoadSnd(613361563,false,1,1)
  139. SV1Snd = LoadSnd(28144425,false,1,.265)
  140. SV2Snd = LoadSnd(2697431,false,1,.3)
  141. SVHitSnd = LoadSnd(62339698,false,1,.3)
  142. IceBreakSnd = LoadSnd(357568316,false,1,1)
  143. FreezeSnd = LoadSnd(203936153,false,1,1)
  144. IceBreak2Snd = LoadSnd(87015121,false,1,1)
  145. BlockedSnd = LoadSnd(357622136,false,1,1)
  146. Ult1Snd = LoadSnd(51322486,false,1,.5)
  147. Ult2Snd = LoadSnd(90696602,false,1,.5)
  148.  
  149. --Play Sound in Part--
  150. function PlaySnd(snd,part)
  151. local sound = snd:Clone()
  152. sound.PlayOnRemove = true
  153. sound.Parent = part
  154. sound:Destroy()
  155. end
  156.  
  157. --Target Select--
  158. function TargetSelect(person)
  159. local dd=coroutine.wrap(function()
  160. if targetted ~= person then
  161. targetted = person
  162. for i = 0,30,10 do
  163. wait(.05)
  164. crosshair.Size = UDim2.new(40-i,0,40-i,0)
  165. end
  166. end
  167. end)
  168. dd()
  169. end
  170.  
  171. --Damage Function--
  172. function dealdmg(dude,damage,env,toim,kby,kbx)
  173. hurt = coroutine.wrap(function(dude2,damage2,env2,toim2)
  174. if dude ~= chara and dude:FindFirstChild("IsHit") == nil then
  175. TargetSelect(dude)
  176. finaldmg = damage + math.random(-env,env)
  177. if berserkmode == true then
  178. finaldmg = math.floor(finaldmg * 1.2)
  179. end
  180. dude.Humanoid.Health = dude.Humanoid.Health - finaldmg
  181. local vall = Instance.new("ObjectValue",dude)
  182. vall.Name = "IsHit"
  183. debby:AddItem(vall,toim)
  184. local bfos = Instance.new("BodyVelocity",dude.Head)
  185. bfos.P = 20000
  186. bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
  187. bfos.Velocity = Vector3.new(0,kby,0) + chara.HumanoidRootPart.CFrame.lookVector * kbx
  188. debby:AddItem(bfos,.1)
  189. local naeeym2 = Instance.new("BillboardGui",dude)
  190. naeeym2.Size = UDim2.new(0,100,0,40)
  191. naeeym2.StudsOffset = Vector3.new(0,3,0)
  192. naeeym2.Adornee = dude.Head
  193. naeeym2.Name = "TalkingBillBoard"
  194. local tecks2 = Instance.new("TextLabel",naeeym2)
  195. tecks2.BackgroundTransparency = 1
  196. tecks2.BorderSizePixel = 0
  197. tecks2.Text = "-"..finaldmg
  198. tecks2.Font = "Fantasy"
  199. tecks2.FontSize = "Size24"
  200. tecks2.TextStrokeTransparency = 0
  201. tecks2.TextColor3 = Color3.new(1,0.6,0)
  202. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  203. tecks2.Size = UDim2.new(1,0,0.5,0)
  204. for i = 1, 5 do
  205. wait(.1)
  206. tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
  207. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
  208. tecks2.TextTransparency = tecks2.TextTransparency + .2
  209. end
  210. naeeym2:Destroy()
  211. end
  212. end)
  213. hurt(dude,damage,env,toim)
  214. end
  215.  
  216. --Explode Hitbox--
  217. function ExHitbox(rad,pos,damage,env,toim,kby,kbx)
  218. local E = Instance.new("Explosion")
  219. E.Position = pos
  220. E.Parent = game.Workspace
  221. E.BlastRadius = rad
  222. E.BlastPressure = 0
  223. E.Visible = false
  224. E.Hit:connect(function(hit)
  225. if hit.Parent:FindFirstChild("Humanoid")~=nil then
  226. dealdmg(hit.Parent,damage,env,toim,kby,kbx)
  227. end
  228. end)
  229. end
  230.  
  231. --Chat Function--
  232. function chatfunc(text)
  233. local chat = coroutine.wrap(function()
  234. if chara:FindFirstChild("TalkingBillBoard")~= nil then
  235. chara:FindFirstChild("TalkingBillBoard"):destroy()
  236. end
  237. local naeeym2 = Instance.new("BillboardGui",chara)
  238. naeeym2.Size = UDim2.new(0,100,0,40)
  239. naeeym2.StudsOffset = Vector3.new(0,3,0)
  240. naeeym2.Adornee = chara.Head
  241. naeeym2.Name = "TalkingBillBoard"
  242. local tecks2 = Instance.new("TextLabel",naeeym2)
  243. tecks2.BackgroundTransparency = 1
  244. tecks2.BorderSizePixel = 0
  245. tecks2.Text = ""
  246. tecks2.Font = "Fantasy"
  247. tecks2.FontSize = "Size24"
  248. tecks2.TextStrokeTransparency = 0
  249. tecks2.TextColor3 = Color3.new(1,1,1)
  250. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  251. tecks2.Size = UDim2.new(1,0,0.5,0)
  252. if berserkmode == true then
  253. tecks2.TextColor3 = Color3.new(1,0,0)
  254. tecks2.TextStrokeColor3 = Color3.new(1,1,0)
  255. end
  256. for i = 1,string.len(text),1 do
  257. tecks2.Text = string.sub(text,1,i)
  258. wait(0.01)
  259. end
  260. wait(1)
  261. for i = 1, 5 do
  262. wait(.01)
  263. tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
  264. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
  265. tecks2.TextTransparency = tecks2.TextTransparency + .2
  266. end
  267. naeeym2:Destroy()
  268. end)
  269. chat()
  270. end
  271.  
  272. function onChatted(msg)
  273. chatfunc(msg)
  274. end
  275. player.Chatted:connect(onChatted)
  276.  
  277. --Punch Hit Effect--
  278. function PunchEff(pos)
  279. local p = Instance.new("Part",game.Workspace)
  280. p.Size = Vector3.new(1,1,1)
  281. p.BrickColor = BrickColor.new("White")
  282. p.Material = "Neon"
  283. p.Anchored = true
  284. p.CanCollide = false
  285. p.CFrame = pos
  286. local pm = Instance.new("SpecialMesh",p)
  287. pm.MeshType = "Sphere"
  288. local disp = coroutine.wrap(function()
  289. for i = 1, 4 do
  290. wait(.01)
  291. p.Transparency = p.Transparency + .2
  292. pm.Scale = pm.Scale + Vector3.new(.2,.2,.2)
  293. end
  294. wait(.01)
  295. p:Destroy()
  296. end)
  297. disp()
  298. end
  299.  
  300. --Blade Hit Effect--
  301. function SlashEff(pos)
  302. local p = Instance.new("Part",game.Workspace)
  303. p.Size = Vector3.new(1,1,1)
  304. p.BrickColor = BrickColor.new("White")
  305. p.Material = "Neon"
  306. p.Anchored = true
  307. p.CanCollide = false
  308. p.CFrame = pos * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  309. local pm = Instance.new("SpecialMesh",p)
  310. pm.MeshType = "Sphere"
  311. pm.Scale = Vector3.new(.5,0,.5)
  312. local disp = coroutine.wrap(function()
  313. for i = 1, 4 do
  314. wait(.01)
  315. p.Transparency = p.Transparency + .2
  316. pm.Scale = pm.Scale + Vector3.new(0,5,0)
  317. end
  318. wait(.01)
  319. p:Destroy()
  320. end)
  321. disp()
  322. end
  323.  
  324. --Super Pause--
  325. function SuperPause()
  326. StartUpSnd:Play()
  327. local p = Instance.new("Part",game.Workspace)
  328. p.Size = Vector3.new(1,1,1)
  329. p.BrickColor = BrickColor.new("White")
  330. p.Material = "Neon"
  331. p.Anchored = true
  332. p.CanCollide = false
  333. p.CFrame = chara.Torso.CFrame
  334. local pm = Instance.new("SpecialMesh",p)
  335. pm.MeshType = "Sphere"
  336. local disp = coroutine.wrap(function()
  337. for i = 1, 4 do
  338. wait(.01)
  339. p.Transparency = p.Transparency + .2
  340. pm.Scale = pm.Scale + Vector3.new(5,5,5)
  341. end
  342. wait(.01)
  343. p:Destroy()
  344. end)
  345. disp()
  346. end
  347.  
  348. --Punch Touch--
  349. dela = .5
  350. punchactive = false
  351. function punchhit(hit)
  352. if punchactive == true then
  353. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
  354. dealdmg(hit.Parent,10,2,dela,0,5)
  355. PlaySnd(HitPunchSnd,hit.Parent.Head)
  356. PunchEff(Emit2Part.CFrame)
  357. end
  358. end
  359. end
  360. Emit2Part.Touched:connect(punchhit)
  361. EmitPart.Touched:connect(punchhit)
  362.  
  363. --Kick Touch--
  364. kickactive = false
  365. dkickactive = false
  366. skickactive = false
  367. didskick = false
  368. lkickactive = false
  369. function kickhit(hit)
  370. if kickactive == true then
  371. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
  372. PlaySnd(HitPunchSnd,hit.Parent.Head)
  373. PunchEff(hit.CFrame)
  374. if dkickactive == true then
  375. dealdmg(hit.Parent,13,2,dela,0,10)
  376. hit.Parent.Humanoid.PlatformStand = true
  377. 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)
  378. wait(3)
  379. hit.Parent.Humanoid.PlatformStand = false
  380. elseif skickactive == true then
  381. local bodpf = Instance.new("BodyPosition",hit.Parent.Head)
  382. bodpf.MaxForce = Vector3.new(10000,10000,10000)
  383. bodpf.Position = chara.HumanoidRootPart.Position + Vector3.new(0,30,0) + (chara.HumanoidRootPart.CFrame.lookVector*3)
  384. debby:AddItem(bodpf,3.5)
  385. dealdmg(hit.Parent,13,2,dela,50,10)
  386. didskick = true
  387. elseif lkickactive == true then
  388. if hit.Parent.Head:FindFirstChild("BodyPosition") ~= nil then
  389. hit.Parent.Head:FindFirstChild("BodyPosition"):Destroy()
  390. end
  391. dealdmg(hit.Parent,13,2,dela,30,20)
  392. else
  393. dealdmg(hit.Parent,10,2,dela,0,10)
  394. end
  395. end
  396. end
  397. end
  398. chara["Left Leg"].Touched:connect(kickhit)
  399. chara["Right Leg"].Touched:connect(kickhit)
  400.  
  401. --Blade Touch--
  402. dela = .5
  403. bladedmg = 13
  404. bladeactive = false
  405. function bladehit(hit)
  406. if blockval == true then
  407. PlaySnd(BlockedSnd,chara)
  408. end
  409. if bladeactive == true then
  410. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
  411. dealdmg(hit.Parent,bladedmg,1,dela,0,10)
  412. PlaySnd(HitSnd,hit.Parent.Head)
  413. SlashEff(hit.CFrame)
  414. if iaidoatk == true then
  415. local bfos = Instance.new("BodyVelocity",hit.Parent.Head)
  416. bfos.P = 20000
  417. bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
  418. bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 10
  419. wait(1)
  420. for i = 1, 30 do
  421. wait(.0001)
  422. dealdmg(hit.Parent,2,1,0,0,0)
  423. PlaySnd(HitSnd,hit.Parent.Head)
  424. SlashEff(hit.CFrame)
  425. end
  426. bfos:Destroy()
  427. end
  428. end
  429. end
  430. end
  431. Hitbox.Touched:connect(bladehit)
  432.  
  433. --Material Return--
  434. gprop = {}
  435. function materialhit()
  436. local part = workspace:FindPartOnRay(Ray.new(chara.HumanoidRootPart.Position-Vector3.new(0,2.4,0),Vector3.new(0,-1000,0)))
  437. if part then
  438. gprop = {part.BrickColor,part.Material}
  439. end
  440. end
  441.  
  442. --Clerp Animations--
  443. TC = chara.HumanoidRootPart.RootJoint
  444. HC = chara.Torso.Neck
  445. RAC = chara.Torso["Right Shoulder"]
  446. LAC = chara.Torso["Left Shoulder"]
  447. RLC = chara.Torso["Right Hip"]
  448. LLC = chara.Torso["Left Hip"]
  449. TCF = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  450. HCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  451. RACF = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  452. LACF = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  453. RLCF = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  454. LLCF = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  455. RWF = CFrame.new(-1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  456. LWF = CFrame.new(1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  457. RLWF = CFrame.new(-.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  458. LLWF = CFrame.new(.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  459. RW = Instance.new("Weld",HC.Parent)
  460. RW.Part1 = HC.Parent
  461. RW.Part0 = chara["Right Arm"]
  462. RW.C0 = RWF
  463. LW = Instance.new("Weld",HC.Parent)
  464. LW.Part1 = HC.Parent
  465. LW.Part0 = chara["Left Arm"]
  466. LW.C0 = LWF
  467. RLW = nil
  468. LLW = nil
  469.  
  470. function Sheath(stype)
  471. KWeld:Destroy()
  472. if stype == 1 then --Unsheathed
  473. 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),})
  474. elseif stype == 2 then --Unsheathed, Pointing
  475. 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),})
  476. elseif stype == 3 then --Unsheathed, Down
  477. 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),})
  478. end
  479. end
  480.  
  481. function AddLegWelds()
  482. RLW = Instance.new("Weld",chara["Right Leg"])
  483. RLW.Part1 = HC.Parent
  484. RLW.Part0 = chara["Right Leg"]
  485. RLW.C0 = RLWF
  486. LLW = Instance.new("Weld",chara["Left Leg"])
  487. LLW.Part1 = HC.Parent
  488. LLW.Part0 = chara["Left Leg"]
  489. LLW.C0 = LLWF
  490. end
  491.  
  492. function DestroyLegWelds()
  493. 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),})
  494. 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),})
  495. RLW:Destroy()
  496. LLW:Destroy()
  497. end
  498.  
  499. function clerp(a,b,c)
  500. return a:lerp(b,c)
  501. end
  502.  
  503. ias = New("ScreenGui",player.PlayerGui,"InfoScreen",{})
  504. 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})
  505. 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})
  506. 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})
  507.  
  508. function ultcool()
  509. 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})
  510. debby:AddItem(CoolDown,13)
  511. end
  512.  
  513. --TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
  514. --HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50))
  515. --RW.C0 = (RWF + Vector3.new(1,2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  516. --LW.C0 = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2))
  517.  
  518. TC.C0 = TCF
  519. HC.C0 = HCF
  520. RW.C0 = RWF
  521. LW.C0 = LWF
  522.  
  523. --Idle Clerp--
  524. --ITCF = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50))
  525. --IHCF = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50))
  526. --IRWF = RWF * CFrame.fromEulerAnglesXYZ(0,math.rad(10),math.rad(-2))
  527. --ILWF = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2))
  528. ITCF = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
  529. IHCF = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  530. IRWF = (RWF + Vector3.new(1.5,.5,1.5)) * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(-20))
  531. ILWF = (LWF + Vector3.new(-.5,-.5,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(70),0)
  532.  
  533. function res()
  534. TC.C0 = ITCF
  535. HC.C0 = IHCF
  536. RW.C0 = IRWF
  537. LW.C0 = ILWF
  538. end
  539. res()
  540.  
  541. --Intro--
  542. local swch = Swordu:GetChildren()
  543. for i = 1, #swch do
  544. swch[i].Transparency = 1
  545. end
  546. HandleT.Transparency = 1
  547. TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50))
  548. HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50))
  549. RW.C0 = RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-5))
  550. LW.C0 = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(5))
  551. wait(.5)
  552. for i = 0,.6,.1 do
  553. rs:wait()
  554. LW.C0 = clerp(LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(5)),(LWF - Vector3.new(3,-1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-175)),.4+i)
  555. end
  556. HandleT.Transparency = 0
  557. wait(.5)
  558. for i = 0,.6,.1 do
  559. rs:wait()
  560. LW.C0 = clerp(LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(5)),(LWF - Vector3.new(3,-1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-175)),.6-i)
  561. end
  562. wait(.5)
  563. for i = 1, #swch do
  564. swch[i].Transparency = 0
  565. end
  566. Hitbox.Transparency = 1
  567. SlashTrail.Enabled = true
  568. local spin = coroutine.wrap(function()
  569. for i = 1, 4 do
  570. PlaySnd(SwingSnd,chara)
  571. Sheath(1)
  572. wait(.001)
  573. Sheath(2)
  574. wait(.001)
  575. Sheath(3)
  576. wait(.001)
  577. end
  578. end)
  579. spin()
  580. for i = 0,.6,.1 do
  581. rs:wait()
  582. RW.C0 = clerp(RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-5)),(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  583. end
  584. wait(.5)
  585. RStompSnd:Play()
  586. Sheath(1)
  587. for i = 0,.6,.2 do
  588. rs:wait()
  589. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),ITCF,.4+i)
  590. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),IHCF,.4+i)
  591. RW.C0 = clerp((RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),IRWF,.4+i)
  592. LW.C0 = clerp(LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(5)),ILWF,.4+i)
  593. end
  594. SlashTrail.Enabled = false
  595. res()
  596.  
  597. chara.Humanoid.WalkSpeed = 16
  598.  
  599. --Overdrive--
  600. function Overdrive()
  601. del = false
  602. atkd = false
  603. overcharge = 0
  604. chara.Humanoid.WalkSpeed = 0
  605. chatfunc("Skill Formula Released!")
  606. berserkmode = true
  607. local jtrace = Instance.new("Part",game.Workspace)
  608. jtrace.Size = Vector3.new(0,0,0)
  609. jtrace.Position = chara.HumanoidRootPart.Position
  610. jtrace.CFrame = chara.HumanoidRootPart.CFrame - Vector3.new(0,2.5,0)
  611. jtrace.Anchored = true
  612. SuperPause()
  613. local tmesh = Instance.new("SpecialMesh",jtrace)
  614. tmesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  615. tmesh.Scale = Vector3.new(1,1,1)
  616. tmesh.Offset = Vector3.new(0,0,-.125)
  617. local p1mit = Instance.new("ParticleEmitter",Hitbox)
  618. p1mit.Texture = "rbxasset://textures/particles/smoke_main.dds"
  619. p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Deep orange").Color),ColorSequenceKeypoint.new(1,BrickColor.new("New Yeller").Color)})
  620. p1mit.LightEmission = 1
  621. p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  622. p1mit.Lifetime = NumberRange.new(1)
  623. p1mit.Rate = 100
  624. p1mit.Rotation = NumberRange.new(0,359)
  625. p1mit.RotSpeed = NumberRange.new(100)
  626. p1mit.Speed = NumberRange.new(0)
  627. SlashTrail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Deep orange").Color),ColorSequenceKeypoint.new(1,BrickColor.new("New Yeller").Color)})
  628. Void = nil
  629. VoidParts = {}
  630. Equipped = false
  631. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  632. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  633. end
  634.  
  635. Player = player
  636. Character = chara
  637.  
  638. Humanoid = Character:FindFirstChild("Humanoid")
  639. Torso = Character:FindFirstChild("Torso")
  640. if not Player or not Humanoid or Humanoid.Health == 0 or not Torso then
  641. return
  642. end
  643. Equipped = true
  644. Void = Instance.new("Model")
  645. Void.Name = "Void"
  646. Angle = 0
  647. local VoidPart = Instance.new("Part")
  648. VoidPart.Name = "VoidPart"
  649. VoidPart.Transparency = 1
  650. VoidPart.BrickColor = BrickColor.new("Really black")
  651. VoidPart.Material = Enum.Material.Plastic
  652. VoidPart.Shape = Enum.PartType.Block
  653. VoidPart.FormFactor = Enum.FormFactor.Custom
  654. VoidPart.TopSurface = Enum.SurfaceType.Smooth
  655. VoidPart.BottomSurface = Enum.SurfaceType.Smooth
  656. VoidPart.Anchored = true
  657. VoidPart.CanCollide = false
  658. VoidPart.Locked = true
  659. VoidPart.Size = Vector3.new(10, 0.2, 10)
  660. local BlockMesh = Instance.new("BlockMesh")
  661. BlockMesh.Scale = Vector3.new(1, 1 + 0.005, 1)
  662. BlockMesh.Parent = VoidPart
  663. VoidPart.Parent = Void
  664. local Star = Instance.new("Decal", VoidPart)
  665. Star.Texture = "http://www.roblox.com/asset/?id=223123319"
  666. Star.Face = "Top"
  667. local Light = Instance.new("PointLight", VoidPart)
  668. Light.Brightness = 100
  669. Light.Range = 10
  670. table.insert(VoidParts, VoidPart)
  671. Spawn(function()
  672. while Equipped and Humanoid.Parent and Humanoid.Health > 0 and Torso.Parent and berserkmode == true do
  673. if Angle == 360 then
  674. Angle = 0
  675. end
  676. Angle = Angle + 0.05
  677. local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
  678. if Hit then
  679. if not Void.Parent then
  680. Void.Parent = Character
  681. end
  682. for i, v in pairs(VoidParts) do
  683. v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
  684. end
  685. else
  686. Void.Parent = nil
  687. end
  688. wait()
  689. end
  690. end)
  691. for i = 0,.6,.1 do
  692. rs:wait()
  693. TC.C0 = clerp(ITCF,TCF,.4+i)
  694. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),.4+i)
  695. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i)
  696. LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i)
  697. end
  698. for i = 1, 10 do
  699. wait(.01)
  700. TC.C0 = TCF
  701. HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0)
  702. RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50))
  703. LW.C0 = (LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50))
  704. jtrace.Transparency = jtrace.Transparency + .1
  705. tmesh.Scale = tmesh.Scale + Vector3.new(2,.05,2)
  706. end
  707. wait(.01)
  708. jtrace:Destroy()
  709. for i = 0,.6,.1 do
  710. rs:wait()
  711. TC.C0 = clerp(ITCF,TCF,.6-i)
  712. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),.6-i)
  713. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.6-i)
  714. LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.6-i)
  715. end
  716. jtrace:Destroy()
  717. local delll = coroutine.wrap(function()
  718. local delval = 10
  719. local naeeym2 = Instance.new("BillboardGui",chara)
  720. naeeym2.Size = UDim2.new(0,100,0,40)
  721. naeeym2.StudsOffset = Vector3.new(0,5,0)
  722. naeeym2.Adornee = chara.Head
  723. naeeym2.Name = "Counter"
  724. local tecks2 = Instance.new("TextLabel",naeeym2)
  725. tecks2.BackgroundTransparency = 1
  726. tecks2.BorderSizePixel = 0
  727. tecks2.Text = ""
  728. tecks2.Font = "Fantasy"
  729. tecks2.FontSize = "Size24"
  730. tecks2.TextStrokeTransparency = 0
  731. tecks2.Size = UDim2.new(1,0,0.5,0)
  732. tecks2.TextColor3 = Color3.new(1,0,0)
  733. tecks2.TextStrokeColor3 = Color3.new(1,1,0)
  734. for i = 0, 15 do
  735. delval = 15 - i
  736. tecks2.Text = "<"..delval..">"
  737. wait(1)
  738. end
  739. berserkmode = false
  740. VoidPart:Destroy()
  741. p1mit:Destroy()
  742. SlashTrail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("White").Color),ColorSequenceKeypoint.new(1,BrickColor.new("White").Color)})
  743. for i = 1, 5 do
  744. wait(.01)
  745. tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
  746. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
  747. tecks2.TextTransparency = tecks2.TextTransparency + .2
  748. end
  749. end)
  750. delll()
  751. chara.Humanoid.WalkSpeed = 16
  752. del = false
  753. res()
  754. end
  755.  
  756. --Punch--
  757. function Punch()
  758. del = true
  759. atkd = true
  760. chara.Humanoid.WalkSpeed = 0
  761. punchactive = true
  762. PunchTrail.Enabled = true
  763. wait(.01)
  764. SwingSnd:Play()
  765. for i = 0,.6,.1 do
  766. rs:wait()
  767. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  768. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  769. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  770. end
  771. for i = 0,.6,.1 do
  772. rs:wait()
  773. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  774. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  775. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  776. end
  777. chara.Humanoid.WalkSpeed = 16
  778. punchactive = false
  779. PunchTrail.Enabled = false
  780. del = false
  781. res()
  782. end
  783.  
  784. --Kick Atk--
  785. function KickAtk()
  786. del = true
  787. atkd = true
  788. chara.Humanoid.WalkSpeed = 0
  789. kickactive = true
  790. KickTrail.Enabled = true
  791. AddLegWelds()
  792. SwingSnd:Play()
  793. for i = 0,.6,.1 do
  794. rs:wait()
  795. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,math.rad(-85)),.4+i)
  796. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(85)),.4+i)
  797. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,.3,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)),.4+i)
  798. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.2,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.4+i)
  799. LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.4+i)
  800. RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(-1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.4+i)
  801. end
  802. for i = 0,.6,.1 do
  803. rs:wait()
  804. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,math.rad(-85)),.6-i)
  805. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(85)),.6-i)
  806. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,.3,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)),.6-i)
  807. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.2,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.6-i)
  808. LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.6-i)
  809. RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(-1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.6-i)
  810. end
  811. DestroyLegWelds()
  812. kickactive = false
  813. KickTrail.Enabled = false
  814. chara.Humanoid.WalkSpeed = 16
  815. del = false
  816. res()
  817. end
  818.  
  819. --Slash Attack--
  820. function SlashAtk()
  821. del = true
  822. atkd = true
  823. chara.Humanoid.WalkSpeed = 0
  824. bladeactive = true
  825. SlashTrail.Enabled = true
  826. SwingSnd:Play()
  827. wait(.01)
  828. for i = 0,.6,.1 do
  829. rs:wait()
  830. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-180)),TCF,.4+i)
  831. HC.C0 = clerp(IHCF,HCF,.4+i)
  832. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  833. end
  834. wait(.1)
  835. bladeactive = false
  836. for i = 0,.6,.1 do
  837. rs:wait()
  838. TC.C0 = clerp(ITCF,TCF,.6-i)
  839. HC.C0 = clerp(IHCF,HCF,.6-i)
  840. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  841. end
  842. Sheath(1)
  843. del = false
  844. SlashTrail.Enabled = false
  845. chara.Humanoid.WalkSpeed = 16
  846. res()
  847. end
  848.  
  849. --Bandit Revolver--
  850. function BanditRevolver()
  851. del = true
  852. atkd = true
  853. chara.Humanoid.WalkSpeed = 0
  854. kickactive = true
  855. BRTrail.Enabled = true
  856. dkickactive = true
  857. chatfunc("Ballista Revolver!")
  858. AddLegWelds()
  859. local bfos = Instance.new("BodyVelocity",chara.Torso)
  860. bfos.P = 10000
  861. bfos.MaxForce = Vector3.new(bfos.P,0,bfos.P)
  862. bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 40
  863. for i = 0,.6,.1 do
  864. rs:wait()
  865. TC.C0 = clerp(ITCF,(TCF + Vector3.new(0,1,0)),.4+i)
  866. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(20),math.rad(90)),.4+i)
  867. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i)
  868. LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i)
  869. RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),.4+i)
  870. end
  871. for i = 1,4 do
  872. SwingSnd:Play()
  873. for i = 0,1,.2 do
  874. rs:wait()
  875. TC.C0 = clerp((TCF + Vector3.new(0,1,0)),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),i)
  876. end
  877. for i = 0,1,.2 do
  878. rs:wait()
  879. 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)
  880. end
  881. end
  882. SwingSnd:Play()
  883. for i = 0,1,.2 do
  884. rs:wait()
  885. TC.C0 = clerp((TCF + Vector3.new(0,1,0)),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),i)
  886. end
  887. for i = 0,1,.2 do
  888. rs:wait()
  889. 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)
  890. end
  891. for i = 0,1,.2 do
  892. rs:wait()
  893. TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(270)),ITCF,i)
  894. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(20),math.rad(90)),IHCF,i)
  895. RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),IRWF,i)
  896. LW.C0 = clerp((LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),ILWF,i)
  897. RLW.C0 = clerp((RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),RLWF,i)
  898. end
  899. DestroyLegWelds()
  900. dkickactive = false
  901. kickactive = false
  902. BRTrail.Enabled = false
  903. chara.Humanoid.WalkSpeed = 16
  904. bfos:Destroy()
  905. del = false
  906. res()
  907. end
  908.  
  909. --Freezer Kick--
  910. --function FlipKickEffect(pos)
  911. --local p = Instance.new("Part",game.Workspace)
  912. --p.Size = Vector3.new(0,0,0)
  913. --p.BrickColor = BrickColor.new("Dark stone grey")
  914. --p.Material = "SmoothPlastic"
  915. --p.Anchored = true
  916. --p.CanCollide = false
  917. --p.CFrame = pos * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  918. --local pm = Instance.new("BlockMesh",p)
  919. --local disp = coroutine.wrap(function()
  920. --for i = 1, 4 do
  921. --wait(.01)
  922. --p.Transparency = p.Transparency + .2
  923. --pm.Scale = pm.Scale + Vector3.new(2,2,2)
  924. --end
  925. --wait(.01)
  926. --p:Destroy()
  927. --end)
  928. --disp()
  929. --end
  930. function FlipKick()
  931. del = true
  932. atkd = true
  933. chatfunc("Flip Kick!")
  934. AddLegWelds()
  935. kickactive = true
  936. lkickactive = true
  937. KickTrail.Enabled = true
  938. local bfos = Instance.new("BodyVelocity",chara.Torso)
  939. bfos.P = 10000
  940. bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
  941. bfos.Velocity = Vector3.new(0,20,0) + chara.HumanoidRootPart.CFrame.lookVector * 20
  942. SwingSnd:Play()
  943. for i = 0,.6,.1 do
  944. rs:wait()
  945. TC.C0 = clerp(ITCF,(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),.4+i)
  946. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),.4+i)
  947. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i)
  948. LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i)
  949. RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),.4+i)
  950. --FlipKickEffect(chara["Left Leg"].CFrame - chara["Left Leg"].CFrame.upVector*1.5)
  951. end
  952. for i = 0,1,.2 do
  953. rs:wait()
  954. 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)
  955. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),IHCF,.4+i)
  956. RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),IRWF,.4+i)
  957. LW.C0 = clerp((LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),ILWF,.4+i)
  958. RLW.C0 = clerp((RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),RLWF,.4+i)
  959. --FlipKickEffect(chara["Left Leg"].CFrame - chara["Left Leg"].CFrame.upVector*1.5)
  960. end
  961. DestroyLegWelds()
  962. bfos:Destroy()
  963. kickactive = false
  964. lkickactive = false
  965. KickTrail.Enabled = false
  966. del = false
  967. res()
  968. end
  969.  
  970. --End Him Rightly--
  971. function EndRightly()
  972. del = true
  973. atkd = true
  974. chatfunc("End You Rightly!")
  975. PunchTrail.Enabled = true
  976. for i = 0,.6,.1 do
  977. rs:wait()
  978. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  979. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  980. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  981. end
  982. PunchTrail.Enabled = false
  983. SwingSnd:Play()
  984. local missile = Instance.new("Part",game.Workspace)
  985. missile.Material = "Slate"
  986. missile.Size = Vector3.new(1,1,1)
  987. missile.Shape = 0
  988. missile.BrickColor = BrickColor.new("Dark stone grey")
  989. missile.Name = "Blast"
  990. missile.TopSurface = 0
  991. missile.BottomSurface = 0
  992. missile.Position = chara["Right Arm"].Position
  993. missile.CFrame = chara["Right Arm"].CFrame
  994. missile.Velocity = ((targetted.Head.Position - Vector3.new(0,2,0)) - chara.HumanoidRootPart.Position).unit*100
  995. local force = Instance.new("BodyForce")
  996. force.force = Vector3.new(0,missile:GetMass()*game.Workspace.Gravity,0)
  997. force.Parent = missile
  998. if berserkmode == true then
  999. local p1mit = Instance.new("ParticleEmitter",missile)
  1000. p1mit.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1001. p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Deep orange").Color),ColorSequenceKeypoint.new(1,BrickColor.new("New Yeller").Color)})
  1002. p1mit.LightEmission = 1
  1003. p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  1004. p1mit.Lifetime = NumberRange.new(1)
  1005. p1mit.Rate = 10000
  1006. p1mit.Rotation = NumberRange.new(0,359)
  1007. p1mit.RotSpeed = NumberRange.new(100)
  1008. p1mit.Speed = NumberRange.new(0)
  1009. end
  1010. -- local bfo = Instance.new("BodyVelocity",missile)
  1011. -- bfo.P = 100000
  1012. -- bfo.MaxForce = Vector3.new(bfo.P,bfo.P,bfo.P)
  1013. -- bfo.Velocity = (chara.HumanoidRootPart.CFrame.lookVector*100)+(chara.HumanoidRootPart.CFrame.rightVector*i)
  1014. -- debby:AddItem(bfo,1)
  1015. missile.Touched:connect(function(hit)
  1016. if (hit.Parent.Parent ~= chara and hit.Parent ~= chara and hit.Name ~= "Blast" and force ~= nil) then
  1017. force:Destroy()
  1018. force = nil
  1019. ExHitbox(3,missile.Position,12,1,.5,5,10)
  1020. PlaySnd(HitPunchSnd,hit)
  1021. wait(2)
  1022. missile:Destroy()
  1023. end
  1024. end)
  1025. debby:AddItem(missile,10)
  1026. wait(.5)
  1027. for i = 0,.6,.1 do
  1028. rs:wait()
  1029. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  1030. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1031. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1032. end
  1033. del = false
  1034. res()
  1035. end
  1036.  
  1037. --Decapitator--
  1038. function Decapitator()
  1039. del = true
  1040. atkd = true
  1041. chatfunc("Sky Slash!")
  1042. chara.Humanoid.WalkSpeed = 0
  1043. bladeactive = true
  1044. SlashTrail.Enabled = true
  1045. Sheath(2)
  1046. for i = 0,.6,.1 do
  1047. rs:wait()
  1048. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0),.4+i)
  1049. HC.C0 = clerp(IHCF,HCF,.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(math.rad(-50),0,math.rad(90)),.6-i)
  1052. end
  1053. local bf = Instance.new("BodyVelocity",chara.Torso)
  1054. bf.P = 10000
  1055. bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P)
  1056. bf.Velocity = Vector3.new(0,20,0) + chara.HumanoidRootPart.CFrame.lookVector*100
  1057. SwingSnd:Play()
  1058. for i = 0,1,.2 do
  1059. rs:wait()
  1060. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0),TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(180)),i)
  1061. HC.C0 = HCF
  1062. RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  1063. end
  1064. for i = 0,1,.2 do
  1065. rs:wait()
  1066. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(180)),TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(360)),i)
  1067. HC.C0 = HCF
  1068. RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  1069. end
  1070. bf:Destroy()
  1071. Sheath(1)
  1072. for i = 0,.6,.1 do
  1073. rs:wait()
  1074. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0),.6-i)
  1075. HC.C0 = clerp(IHCF,HCF,.6-i)
  1076. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1077. LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-50),0,math.rad(90)),.6-i)
  1078. end
  1079. bladeactive = false
  1080. SlashTrail.Enabled = false
  1081. atkdd = true
  1082. chara.Humanoid.WalkSpeed = 16
  1083. del = false
  1084. end
  1085.  
  1086. --Slashes--
  1087. function IaidoFrost()
  1088. del = true
  1089. atkd = true
  1090. chara.Humanoid.WalkSpeed = 8
  1091. SuperPause()
  1092. chatfunc("My secret knight technique..")
  1093. for i = 0,.6,.1 do
  1094. rs:wait()
  1095. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-180)),TCF,.4+i)
  1096. HC.C0 = clerp(IHCF,HCF,.4+i)
  1097. end
  1098. wait(.5)
  1099. bladeactive = true
  1100. iaidoatk = true
  1101. SlashTrail.Enabled = true
  1102. Sheath(2)
  1103. Swing2Snd:Play()
  1104. wait(.01)
  1105. for i = 0,.6,.1 do
  1106. rs:wait()
  1107. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-180)),TCF,.4+i)
  1108. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1109. end
  1110. wait(1)
  1111. SlashTrail.Enabled = false
  1112. bladeactive = false
  1113. iaidoatk = false
  1114. for i = 0,.6,.1 do
  1115. rs:wait()
  1116. TC.C0 = clerp(ITCF,TCF,.6-i)
  1117. HC.C0 = clerp(IHCF,HCF,.6-i)
  1118. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1119. end
  1120. Sheath(1)
  1121. del = false
  1122. chara.Humanoid.WalkSpeed = 16
  1123. res()
  1124. end
  1125.  
  1126. --Stabs--
  1127. function KnightStabs()
  1128. del = true
  1129. atkd = true
  1130. chara.Humanoid.WalkSpeed = 8
  1131. chatfunc("Knight Stabs!")
  1132. for i = 0,.6,.1 do
  1133. rs:wait()
  1134. TC.C0 = clerp(ITCF,TCF,.4+i)
  1135. HC.C0 = clerp(IHCF,HCF,.4+i)
  1136. end
  1137. bladedmg = 3
  1138. bladeactive = true
  1139. SlashTrail.Enabled = true
  1140. dela = 0
  1141. Sheath(2)
  1142. wait(.01)
  1143. for i = 0,.6,.1 do
  1144. rs:wait()
  1145. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1146. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1147. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1148. end
  1149. for i = 1, 10 do
  1150. wait(.001)
  1151. PlaySnd(SwingSnd,chara)
  1152. RW.C0 = ((RWF + Vector3.new(math.random(-.2,.8),1.4,math.random(-.8,.8)))) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  1153. end
  1154. RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  1155. for i = 0,.6,.1 do
  1156. rs:wait()
  1157. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  1158. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1159. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1160. end
  1161. Sheath(1)
  1162. bladedmg = 13
  1163. chara.Humanoid.WalkSpeed = 16
  1164. bladeactive = false
  1165. SlashTrail.Enabled = false
  1166. dela = .5
  1167. del = false
  1168. res()
  1169. end
  1170.  
  1171. --Rush--
  1172. function KnightRush()
  1173. del = true
  1174. atkd = true
  1175. chara.Humanoid.WalkSpeed = 8
  1176. SuperPause()
  1177. chatfunc("Knight Rush!")
  1178. for i = 0,.6,.1 do
  1179. rs:wait()
  1180. TC.C0 = clerp(ITCF,TCF,.4+i)
  1181. HC.C0 = clerp(IHCF,HCF,.4+i)
  1182. end
  1183. wait(1)
  1184. bladedmg = 3
  1185. bladeactive = true
  1186. SlashTrail.Enabled = true
  1187. dela = 0
  1188. Sheath(2)
  1189. wait(.01)
  1190. for i = 0,.6,.1 do
  1191. rs:wait()
  1192. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1193. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1194. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1195. end
  1196. for i = 1, 40 do
  1197. wait(.001)
  1198. PlaySnd(SwingSnd,chara)
  1199. RW.C0 = ((RWF + Vector3.new(math.random(-.2,.8),1.4,math.random(-.8,.8)))) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  1200. end
  1201. RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  1202. wait(1)
  1203. for i = 0,.6,.1 do
  1204. rs:wait()
  1205. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  1206. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1207. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1208. end
  1209. Sheath(1)
  1210. bladedmg = 13
  1211. chara.Humanoid.WalkSpeed = 16
  1212. bladeactive = false
  1213. SlashTrail.Enabled = false
  1214. dela = .5
  1215. del = false
  1216. res()
  1217. end
  1218.  
  1219. --End Him Rightly--
  1220. function Explosive()
  1221. del = true
  1222. atkd = true
  1223. chatfunc("Take this!")
  1224. PunchTrail.Enabled = true
  1225. for i = 0,.6,.1 do
  1226. rs:wait()
  1227. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1228. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1229. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1230. end
  1231. PunchTrail.Enabled = false
  1232. SwingSnd:Play()
  1233. local missile = Instance.new("Part",game.Workspace)
  1234. missile.Material = "Neon"
  1235. missile.Size = Vector3.new(1,1,1)
  1236. missile.BrickColor = BrickColor.new("Black")
  1237. missile.Name = "Blast"
  1238. missile.Shape = 0
  1239. missile.TopSurface = 0
  1240. missile.BottomSurface = 0
  1241. missile.Position = chara["Right Arm"].Position
  1242. missile.CFrame = chara["Right Arm"].CFrame
  1243. missile.Velocity = (Mouse.Hit.p - chara.HumanoidRootPart.Position).unit*70
  1244. local mesh1 = Instance.new("SpecialMesh",missile)
  1245. mesh1.MeshId = "rbxasset://fonts/timebomb.mesh"
  1246. mesh1.Scale = Vector3.new(.5,.5,.5)
  1247. local force = Instance.new("BodyForce")
  1248. force.force = Vector3.new(0,missile:GetMass()*game.Workspace.Gravity,0)
  1249. force.Parent = missile
  1250. debby:AddItem(force,.1)
  1251. -- local bfo = Instance.new("BodyVelocity",missile)
  1252. -- bfo.P = 100000
  1253. -- bfo.MaxForce = Vector3.new(bfo.P,bfo.P,bfo.P)
  1254. -- bfo.Velocity = (chara.HumanoidRootPart.CFrame.lookVector*100)+(chara.HumanoidRootPart.CFrame.rightVector*i)
  1255. -- debby:AddItem(bfo,1)
  1256. local deto = coroutine.wrap(function()
  1257. wait(.5)
  1258. for i = 1, 3 do
  1259. PlaySnd(TargetSnd,missile)
  1260. missile.BrickColor = BrickColor.new("Bright red")
  1261. wait(.1)
  1262. missile.BrickColor = BrickColor.new("Black")
  1263. end
  1264. wait(.1)
  1265. mesh1.MeshId = ""
  1266. mesh1.MeshType = "Sphere"
  1267. mesh1.Scale = Vector3.new(1,1,1)
  1268. missile.Anchored = true
  1269. missile.BrickColor = BrickColor.new("Bright yellow")
  1270. missile.Material = "Neon"
  1271. ExpSnd:Play()
  1272. ExHitbox(10,missile.Position,25,3,.5,50,50)
  1273. for i = 1, 9 do
  1274. mesh1.Scale = mesh1.Scale + Vector3.new(3,3,3)
  1275. missile.Transparency = missile.Transparency + .1
  1276. wait(.01)
  1277. end
  1278. missile:Destroy()
  1279. end)
  1280. deto()
  1281. wait(.5)
  1282. for i = 0,.6,.1 do
  1283. rs:wait()
  1284. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  1285. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1286. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1287. end
  1288. del = false
  1289. res()
  1290. end
  1291.  
  1292. --Final Attack--
  1293. finalgrab = false
  1294. didfinal = false
  1295. function FinalGrab(hit)
  1296. 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
  1297. finalgrab = false
  1298. didfinal = true
  1299. PlaySnd(HitPunchSnd,hit.Parent.Head)
  1300. PunchEff(hit.CFrame)
  1301. local stay = coroutine.wrap(function()
  1302. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  1303. hit.Parent.Humanoid.WalkSpeed = 0
  1304. hit.Parent.Humanoid.PlatformStand = true
  1305. end
  1306. end)
  1307. stay()
  1308. local valll = Instance.new("ObjectValue",hit.Parent)
  1309. valll.Name = "HitByUlt"
  1310. local bpos = Instance.new("BodyPosition",hit.Parent.Head)
  1311. bpos.MaxForce = Vector3.new(10000,10000,10000)
  1312. bpos.Position = chara.HumanoidRootPart.Position + Vector3.new(0,1.5,0) + chara.HumanoidRootPart.CFrame.lookVector*15
  1313. local bposa = Instance.new("BodyPosition",chara.HumanoidRootPart)
  1314. bposa.MaxForce = Vector3.new(10000,10000,10000)
  1315. bposa.Position = chara.HumanoidRootPart.Position
  1316. wait(1)
  1317. RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50))
  1318. LW.C0 = (LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50))
  1319. TC.C0 = TCF
  1320. bpos.Position = chara.HumanoidRootPart.Position + Vector3.new(0,11.5,0) + chara.HumanoidRootPart.CFrame.lookVector*15
  1321. bposa.Position = chara.HumanoidRootPart.Position + Vector3.new(0,10,0)
  1322. for i = 0,.6,.1 do
  1323. rs:wait()
  1324. LLW.C0 = LLWF
  1325. RLW.C0 = clerp(RLWF,RLWF + Vector3.new(0,-1,.5),.4+i)
  1326. end
  1327. wait(1)
  1328. ChargeSnd:Play()
  1329. local spellcircle = Instance.new("Part",chara)
  1330. spellcircle.Anchored = true
  1331. spellcircle.Size = Vector3.new(10,10,1)
  1332. spellcircle.CFrame = chara.HumanoidRootPart.CFrame - chara.HumanoidRootPart.CFrame.lookVector*5
  1333. spellcircle.Transparency = 1
  1334. spellcircle.CanCollide = false
  1335. local blkm = Instance.new("BlockMesh",spellcircle)
  1336. blkm.Scale = Vector3.new(0,0,1)
  1337. local dec = Instance.new("Decal",spellcircle)
  1338. dec.Texture = "http://www.roblox.com/asset/?id=363838834"
  1339. dec.Transparency = 1
  1340. dec.Face = "Front"
  1341. local dec2 = Instance.new("Decal",spellcircle)
  1342. dec2.Texture = "http://www.roblox.com/asset/?id=363838834"
  1343. dec2.Transparency = 1
  1344. dec2.Face = "Back"
  1345. local ptl = Instance.new("PointLight",spellcircle)
  1346. ptl.Range = 0
  1347. ptl.Color = Color3.new(1,.5,0)
  1348. spellc = coroutine.wrap(function()
  1349. while spellc ~= nil do
  1350. wait(.01)
  1351. spellcircle.CFrame = spellcircle.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.rad(5))
  1352. end
  1353. end)
  1354. spellc()
  1355. for i = 1, 10 do
  1356. wait(.01)
  1357. ptl.Range = ptl.Range + 4
  1358. dec.Transparency = dec.Transparency - .1
  1359. dec2.Transparency = dec2.Transparency - .1
  1360. blkm.Scale = blkm.Scale + Vector3.new(.1,.1,0)
  1361. end
  1362. wait(2)
  1363. chatfunc("Let the Rage of the Old One destroy you.")
  1364. wait(2)
  1365. for i = 0,.6,.2 do
  1366. rs:wait()
  1367. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),HCF * CFrame.fromEulerAnglesXYZ(math.rad(-50),0,0),.4+i)
  1368. end
  1369. Ult1Snd:Play()
  1370. Ult2Snd:Play()
  1371. local jtrace = Instance.new("Part",game.Workspace)
  1372. jtrace.BrickColor = BrickColor.new("Bright orange")
  1373. jtrace.Size = Vector3.new(0,0,0)
  1374. jtrace.Position = chara.HumanoidRootPart.Position
  1375. jtrace.CFrame = chara.HumanoidRootPart.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  1376. jtrace.Anchored = true
  1377. jtrace.CanCollide = false
  1378. local tmesh = Instance.new("SpecialMesh",jtrace)
  1379. tmesh.MeshId = "http://www.roblox.com/asset/?id=51226819"
  1380. tmesh.Scale = Vector3.new(1,1,1)
  1381. local coro = coroutine.wrap(function()
  1382. for i = 1, 10 do
  1383. wait(.01)
  1384. jtrace.Transparency = jtrace.Transparency + .1
  1385. tmesh.Scale = tmesh.Scale + Vector3.new(1,1,1)
  1386. end
  1387. jtrace:Destroy()
  1388. end)
  1389. coro()
  1390. local jtrace = Instance.new("Part",game.Workspace)
  1391. jtrace.BrickColor = BrickColor.new("Bright orange")
  1392. jtrace.Size = Vector3.new(0,0,0)
  1393. jtrace.Position = hit.Parent.Head.Position
  1394. jtrace.CFrame = CFrame.new(hit.Parent.Head.Position.X,hit.Parent.Head.Position.Y,hit.Parent.Head.Position.Z)
  1395. jtrace.Anchored = true
  1396. jtrace.CanCollide = false
  1397. jtrace.Material = "Neon"
  1398. local tmesh = Instance.new("CylinderMesh",jtrace)
  1399. tmesh.Scale = Vector3.new(20,1000,20)
  1400. local coro = coroutine.wrap(function()
  1401. for i = 1, 10 do
  1402. wait(.01)
  1403. jtrace.Transparency = jtrace.Transparency + .1
  1404. tmesh.Scale = tmesh.Scale + Vector3.new(20,20,20)
  1405. end
  1406. jtrace:Destroy()
  1407. end)
  1408. coro()
  1409. local dude = hit.Parent
  1410. local ds = coroutine.wrap(function()
  1411. targetted = nil
  1412. dude:BreakJoints()
  1413. dude.Humanoid:Destroy()
  1414. PlaySnd(ClawDashSnd,dude.Head)
  1415. local chi = dude:GetChildren()
  1416. for i = 1, #chi do
  1417. if chi[i].ClassName == "Part" then
  1418. local bodpos = Instance.new("BodyPosition",chi[i])
  1419. bodpos.Position = chi[i].Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  1420. chi[i].BrickColor = BrickColor.new("Really black")
  1421. end
  1422. end
  1423. for i = 1, 4 do
  1424. for i = 1, #chi do
  1425. if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then
  1426. chi[i].Transparency = chi[i].Transparency + .25
  1427. wait(.01)
  1428. end
  1429. end
  1430. end
  1431. dude:Destroy()
  1432. end)
  1433. ds()
  1434. wait(5)
  1435. for i = 1, 10 do
  1436. wait(.01)
  1437. ptl.Range = ptl.Range - 4
  1438. dec.Transparency = dec.Transparency + .1
  1439. dec2.Transparency = dec2.Transparency + .1
  1440. blkm.Scale = blkm.Scale - Vector3.new(.1,.1,0)
  1441. end
  1442. spellcircle:Destroy()
  1443. for i = 0,.6,.1 do
  1444. rs:wait()
  1445. TC.C0 = clerp(ITCF,TCF,.6-i)
  1446. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),.6-i)
  1447. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.6-i)
  1448. LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.6-i)
  1449. end
  1450. chatfunc("A Knight's soul is stronger than technology.")
  1451. bposa:Destroy()
  1452. didfinal = false
  1453. DestroyLegWelds()
  1454. del = false
  1455. chara.Humanoid.WalkSpeed = 16
  1456. res()
  1457. end
  1458. end
  1459. chara.Torso.Touched:connect(FinalGrab)
  1460.  
  1461. function AttemptFinal()
  1462. del = true
  1463. atkd = true
  1464. chara.Humanoid.WalkSpeed = 0
  1465. SuperPause()
  1466. chatfunc("...")
  1467. for i = 0,.6,.1 do
  1468. rs:wait()
  1469. TC.C0 = clerp(ITCF,TCF,.4+i)
  1470. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),.4+i)
  1471. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i)
  1472. LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i)
  1473. end
  1474. finalgrab = true
  1475. for i = 0,.6,.1 do
  1476. rs:wait()
  1477. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-40)),TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(40)),.4+i)
  1478. RW.C0 = clerp(RWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.4+i)
  1479. end
  1480. wait(4)
  1481. if didfinal == false then
  1482. finalgrab = false
  1483. for i = 0,.6,.1 do
  1484. rs:wait()
  1485. TC.C0 = clerp(ITCF,TCF,.6-i)
  1486. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),.6-i)
  1487. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.6-i)
  1488. LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.6-i)
  1489. end
  1490. del = false
  1491. chara.Humanoid.WalkSpeed = 16
  1492. res()
  1493. elseif didfinal == true then
  1494. end
  1495. ultcool()
  1496. end
  1497.  
  1498. --Lock On--
  1499. function LockOn()
  1500. if Mouse.Target.Parent ~= chara and Mouse.Target.Parent.Parent ~= chara and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1501. TargetSelect(Mouse.Target.Parent)
  1502. TargetSnd:Play()
  1503. wait(.05)
  1504. TargetSnd:Play()
  1505. else end
  1506. end
  1507.  
  1508. --Block--
  1509. blockval = false
  1510. healthlock = 0
  1511. effeff = nil
  1512. function ToggleBlock()
  1513. if blockval == false then
  1514. blockval = true
  1515. SwingSnd:Play()
  1516. healthlock = chara.Humanoid.Health
  1517. effeff = Instance.new("ForceField",chara)
  1518. effeff.Name = "FawsFeeld"
  1519. effeff.Visible = false
  1520. for i = 0,.75,.25 do
  1521. wait(.0001)
  1522. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  1523. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1524. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  1525. end
  1526. elseif blockval == true then
  1527. SwingSnd:Play()
  1528. effeff:Destroy()
  1529. blockval = false
  1530. for i = 0,.6,.2 do
  1531. wait(.0001)
  1532. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  1533. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1534. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  1535. end
  1536. res()
  1537. end
  1538. end
  1539.  
  1540. function Stunned()
  1541. del = true
  1542. blockval = false
  1543. chara.Humanoid.WalkSpeed = 0
  1544. local naeeym2 = Instance.new("BillboardGui",chara)
  1545. naeeym2.Size = UDim2.new(0,100,0,40)
  1546. naeeym2.StudsOffset = Vector3.new(0,5,0)
  1547. naeeym2.Adornee = chara.Head
  1548. naeeym2.Name = "Counter"
  1549. local tecks2 = Instance.new("TextLabel",naeeym2)
  1550. tecks2.BackgroundTransparency = 1
  1551. tecks2.BorderSizePixel = 0
  1552. tecks2.Text = "Stunned!"
  1553. tecks2.Font = "Fantasy"
  1554. tecks2.FontSize = "Size24"
  1555. tecks2.TextStrokeTransparency = 0
  1556. tecks2.Size = UDim2.new(1,0,0.5,0)
  1557. tecks2.TextColor3 = Color3.new(1,0,0)
  1558. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  1559. for i = 1, 30 do
  1560. wait(.1)
  1561. TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0)
  1562. HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0)
  1563. RW.C0 = (RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0)
  1564. LW.C0 = (LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20))
  1565. end
  1566. for i = 1, 5 do
  1567. wait(.01)
  1568. tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
  1569. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
  1570. tecks2.TextTransparency = tecks2.TextTransparency + .2
  1571. end
  1572. for i = 0,.6,.1 do
  1573. rs:wait()
  1574. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0),ITCF,.4+i)
  1575. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),IHCF,.4+i)
  1576. RW.C0 = clerp((RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),IRWF,.4+i)
  1577. LW.C0 = clerp((LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20)),ILWF,.4+i)
  1578. end
  1579. del = false
  1580. chara.Humanoid.WalkSpeed = 16
  1581. end
  1582.  
  1583. blkpct = 100
  1584. local bcount = coroutine.wrap(function()
  1585. while wait() do
  1586. if blockval == false then
  1587. if blkpct < 100 then
  1588. blkpct = blkpct + 1
  1589. wait(.5)
  1590. else
  1591. end
  1592. end
  1593. player.PlayerGui.InfoScreen.BlockTxtBox.Text = blkpct.."%"
  1594. end
  1595. end)
  1596. bcount()
  1597.  
  1598. chara.Humanoid.HealthChanged:connect(function(hth)
  1599. if blockval == true then
  1600. if math.floor(hth) < healthlock then
  1601. blkpct = blkpct - math.random(2,4)
  1602. if blkpct < 1 then
  1603. Stunned()
  1604. end
  1605. print("Block Value reduced to "..blkpct)
  1606. else
  1607. end
  1608. end
  1609. end)
  1610.  
  1611. --Mouse Functions--
  1612. orbpushactive = false
  1613. del = false
  1614. input = ""
  1615. letterd = 0
  1616. ltoim = 0
  1617. function onKeyDown(key)
  1618. if key == "e" and attacking == false then
  1619. ToggleBlock()
  1620. elseif del == false and blockval == false then
  1621. if key == "q" then
  1622. if input == "ad" and targetted ~= nil then
  1623. EndRightly()
  1624. elseif input == "adad" and berserkmode == false and overcharge == 100 then
  1625. Overdrive()
  1626. elseif input == "asd" then
  1627. Explosive()
  1628. elseif input == "dsadd" and berserkmode == true and player.PlayerGui.InfoScreen:FindFirstChild("UltCoolDown")==nil then
  1629. AttemptFinal()
  1630. else LockOn() end
  1631. player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input).."Q"
  1632. input = ""
  1633. letterd = 0
  1634. ltoim = 0
  1635. elseif key == "z" then
  1636. Punch()
  1637. player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input).."Z"
  1638. input = ""
  1639. letterd = 0
  1640. ltoim = 0
  1641. elseif key == "x" then
  1642. if input == "sa" then
  1643. BanditRevolver()
  1644. elseif input == "ss" then
  1645. FlipKick()
  1646. else KickAtk() end
  1647. player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input).."X"
  1648. input = ""
  1649. letterd = 0
  1650. ltoim = 0
  1651. elseif key == "c" then
  1652. if input == "add" then
  1653. IaidoFrost()
  1654. elseif input == "ssad" then
  1655. KnightRush()
  1656. elseif input == "aw" then
  1657. Decapitator()
  1658. elseif input == "dsd" then
  1659. KnightStabs()
  1660. else SlashAtk() end
  1661. player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input).."C"
  1662. input = ""
  1663. letterd = 0
  1664. ltoim = 0
  1665. elseif (key == "w" or key == "a" or key == "s" or key == "d") then
  1666. input=input..key
  1667. print(input)
  1668. letterd = letterd + 1
  1669. ltoim = 10
  1670. if letterd > 5 then
  1671. input = ""
  1672. letterd = 0
  1673. ltoim = 0
  1674. end
  1675. end
  1676. end
  1677. end
  1678. combo = 0
  1679.  
  1680. --Mouse Activation--
  1681. if Mouse then
  1682. Mouse.KeyDown:connect(onKeyDown)
  1683. end
  1684.  
  1685. --Overdrive Charge--
  1686. local count = coroutine.wrap(function()
  1687. while wait() do
  1688. if berserkmode == false then
  1689. if overcharge < 100 then
  1690. overcharge = overcharge + 1
  1691. player.PlayerGui.InfoScreen.OverdriveTxtBox.Text = overcharge.."%"
  1692. wait(.1)
  1693. else
  1694. end
  1695. elseif berserkmode == true then
  1696. player.PlayerGui.InfoScreen.OverdriveTxtBox.Text = "Overdrive!"
  1697. end
  1698. end
  1699. end)
  1700. count()
  1701.  
  1702. --Loop Function--
  1703. walking = false
  1704. toim = 0
  1705. while true do
  1706. wait()
  1707. toim = toim + .1
  1708. ltoim = ltoim - 1
  1709. if ltoim < 1 then
  1710. input = ""
  1711. end
  1712. if del == false then attacking = false elseif del == true then attacking = true end
  1713. if blockval == true and chara:FindFirstChild("HitByUlt")==nil then
  1714. chara.Humanoid.Health = healthlock
  1715. end
  1716. if del == false then
  1717. player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input)
  1718. end
  1719. if atkd == true then
  1720. TC.C0 = TCF
  1721. HC.C0 = HCF
  1722. RW.C0 = RWF
  1723. LW.C0 = LWF
  1724. atkd = false
  1725. end
  1726. if atkdd == true then
  1727. TC.C0 = ITCF
  1728. HC.C0 = IHCF
  1729. RW.C0 = IRWF
  1730. LW.C0 = ILWF
  1731. atkdd = false
  1732. end
  1733. torvel = (chara.HumanoidRootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1734. if torvel < 1 and walking == true and del == false and atkd == false and attacking == false and blockval == false then
  1735. for i = 0,1,.5 do
  1736. rs:wait()
  1737. if del == false and attacking == false and blockval == false then
  1738. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),ITCF,i)
  1739. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0),IHCF,i)
  1740. RW.C0 = IRWF
  1741. LW.C0 = clerp((LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20)),ILWF,i)
  1742. end
  1743. end
  1744. walking = false
  1745. elseif torvel > 1 and walking == false and del == false and atkd == false and attacking == false and blockval == false then
  1746. for i = 0,1,.5 do
  1747. rs:wait()
  1748. if del == false and attacking == false and blockval == false then
  1749. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),i)
  1750. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0),i)
  1751. RW.C0 = IRWF
  1752. LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20)),i)
  1753. end
  1754. end
  1755. walking = true
  1756. else
  1757. end
  1758. imgl.Rotation = imgl.Rotation + 3
  1759. if targetted ~= nil then
  1760. crosshair.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  1761. crosshair.Enabled = true
  1762. elseif targetted == nil then
  1763. crosshair.Adornee = nil
  1764. crosshair.Enabled = false
  1765. end
  1766. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement