Advertisement
cobblecorn

Untitled

Jun 2nd, 2018
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 73.83 KB | None | 0 0
  1. --{{Made by boss_kiddos.}}--
  2. --[[Edited by XDavodioX.]]--
  3.  
  4. Sound0 = Instance.new("Sound")
  5. Sound0.Volume = 9.3
  6. Sound0.Parent = game.Players.LocalPlayer.Character.Head
  7. Sound0.SoundId = "rbxassetid://1713855118"
  8. Sound0.Looped = true
  9. Sound0:Play()
  10.  
  11.  
  12. print'Made by boss_kiddos, okay?'
  13. print'And edited by XDavodioX.'
  14.  
  15. wait(1 / 60)
  16. Effects = { }
  17. local Player = game.Players.localPlayer
  18. local Mouse = Player:GetMouse()
  19. local mouse = Player:GetMouse()
  20. local Character = Player.Character
  21. local Humanoid = Character.Humanoid
  22. local Head = Character.Head
  23. local RootPart = Character.HumanoidRootPart
  24. local Torso = Character.Torso
  25. local LeftArm = Character["Left Arm"]
  26. local RightArm = Character["Right Arm"]
  27. local LeftLeg = Character["Left Leg"]
  28. local RightLeg = Character["Right Leg"]
  29. local Camera = game.Workspace.CurrentCamera
  30. local RootJoint = RootPart.RootJoint
  31. local Equipped = false
  32. local Attack = false
  33. local Anim = 'Idle'
  34. local Idle = 0
  35. local Combo = 1
  36. local TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  37. local Velocity = RootPart.Velocity.y
  38. local Sine = 0
  39. local Change = 1
  40. Instance.new("ForceField",Character).Visible = false
  41. Character.Humanoid.Name = "help"
  42. humanoid = Character.help
  43.  
  44. local txt = Instance.new("BillboardGui", Character)
  45. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  46. local velocity = RootPart.Velocity.y
  47. sound = Instance.new("Sound", Character)
  48. sound.SoundId = "rbxassetid://1101468563"
  49. sound.Volume = 0
  50. sound.EmitterSize = 25
  51. sound:Play()
  52. sound.Looped = true
  53. CV = "Maroon"
  54. Player = game.Players.LocalPlayer
  55. char = Player.Character
  56. local txt = Instance.new("BillboardGui", Character)
  57. txt.Adornee = Character.Head
  58. txt.Name = "_status"
  59. txt.Size = UDim2.new(2, 0, 1.2, 0)
  60. txt.StudsOffset = Vector3.new(-9, 8, 0)
  61. local text = Instance.new("TextLabel", txt)
  62. text.Size = UDim2.new(10, 0, 7, 0)
  63. text.FontSize = "Size24"
  64. text.TextScaled = true
  65. text.TextTransparency = 0
  66. text.BackgroundTransparency = 1
  67. text.TextTransparency = 0
  68. text.TextStrokeTransparency = 1
  69. text.Font = "Cartoon"
  70. v = Instance.new("Part")
  71. v.Name = "ColorBrick"
  72. v.Parent = Player.Character
  73. v.FormFactor = "Symmetric"
  74. v.Anchored = true
  75. v.CanCollide = false
  76. v.BottomSurface = "Smooth"
  77. v.TopSurface = "Smooth"
  78. v.Size = Vector3.new(10, 5, 3)
  79. v.Transparency = 1
  80. v.CFrame = Character.Torso.CFrame
  81. v.BrickColor = BrickColor.new(CV)
  82. v.Transparency = 1
  83. v.Shape = "Block"
  84. text.Text = "Rainbow OOFer"
  85.  
  86. local RbxUtility = LoadLibrary("RbxUtility")
  87. local Create = RbxUtility.Create
  88.  
  89. humanoid.WalkSpeed = 120
  90. humanoid.JumpPower = 60
  91. humanoid.Animator.Parent = nil
  92. Character.Animate.Parent = nil
  93.  
  94. local newMotor = function(part0, part1, c0, c1)
  95. local w = Create('Motor'){
  96. Parent = part0,
  97. Part0 = part0,
  98. Part1 = part1,
  99. C0 = c0,
  100. C1 = c1,
  101. }
  102. return w
  103. end
  104.  
  105. function clerp(a, b, t)
  106. return a:lerp(b, t)
  107. end
  108.  
  109. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  110. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  111.  
  112. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  113. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  114. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  115. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  116. RootJoint.C1 = CFrame.new(0, 0, 0)
  117. RootJoint.C0 = CFrame.new(0, 0, 0)
  118. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  119. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  120.  
  121. local rarmc1 = RW.C1
  122. local larmc1 = LW.C1
  123. local rlegc1 = RH.C1
  124. local llegc1 = LH.C1
  125.  
  126. local resetc1 = false
  127.  
  128. function PlayAnimationFromTable(table, speed, bool)
  129. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  130. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  131. RW.C0 = clerp(RW.C0, table[3], speed)
  132. LW.C0 = clerp(LW.C0, table[4], speed)
  133. RH.C0 = clerp(RH.C0, table[5], speed)
  134. LH.C0 = clerp(LH.C0, table[6], speed)
  135. if bool == true then
  136. if resetc1 == false then
  137. resetc1 = true
  138. RootJoint.C1 = RootJoint.C1
  139. Torso.Neck.C1 = Torso.Neck.C1
  140. RW.C1 = rarmc1
  141. LW.C1 = larmc1
  142. RH.C1 = rlegc1
  143. LH.C1 = llegc1
  144. end
  145. end
  146. end
  147.  
  148. ArtificialHB = Create("BindableEvent"){
  149. Parent = script,
  150. Name = "Heartbeat",
  151. }
  152.  
  153. script:WaitForChild("Heartbeat")
  154.  
  155. frame = 1 / 45
  156. tf = 0
  157. allowframeloss = false
  158. tossremainder = false
  159. lastframe = tick()
  160. script.Heartbeat:Fire()
  161.  
  162. game:GetService("RunService").Heartbeat:connect(function(s, p)
  163. tf = tf + s
  164. if tf >= frame then
  165. if allowframeloss then
  166. script.Heartbeat:Fire()
  167. lastframe = tick()
  168. else
  169. for i = 1, math.floor(tf / frame) do
  170. script.Heartbeat:Fire()
  171. end
  172. lastframe = tick()
  173. end
  174. if tossremainder then
  175. tf = 0
  176. else
  177. tf = tf - frame * math.floor(tf / frame)
  178. end
  179. end
  180. end)
  181.  
  182. function swait(num)
  183. if num == 0 or num == nil then
  184. ArtificialHB.Event:wait()
  185. else
  186. for i = 0, num do
  187. ArtificialHB.Event:wait()
  188. end
  189. end
  190. end
  191.  
  192. local m = Create("Model"){
  193. Parent = Character,
  194. Name = "WeaponModel"
  195. }
  196.  
  197. function RemoveOutlines(part)
  198. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  199. end
  200.  
  201. CFuncs = {
  202. Part = {
  203. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  204. local Part = Create("Part"){
  205. Parent = Parent,
  206. Reflectance = Reflectance,
  207. Transparency = Transparency,
  208. CanCollide = false,
  209. Locked = true,
  210. BrickColor = BrickColor.new(tostring(BColor)),
  211. Name = Name,
  212. Size = Size,
  213. Material = Material,
  214. }
  215. RemoveOutlines(Part)
  216. if Size == Vector3.new() then
  217. Part.Size = Vector3.new(0.2, 0.2, 0.2)
  218. else
  219. Part.Size = Size
  220. end
  221. return Part
  222. end;
  223. };
  224.  
  225. Mesh = {
  226. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  227. local Msh = Create(Mesh){
  228. Parent = Part,
  229. Offset = OffSet,
  230. Scale = Scale,
  231. }
  232. if Mesh == "SpecialMesh" then
  233. Msh.MeshType = MeshType
  234. Msh.MeshId = MeshId
  235. end
  236. return Msh
  237. end;
  238. };
  239.  
  240. Weld = {
  241. Create = function(Parent, Part0, Part1, C0, C1)
  242. local Weld = Create("Weld"){
  243. Parent = Parent,
  244. Part0 = Part0,
  245. Part1 = Part1,
  246. C0 = C0,
  247. C1 = C1,
  248. }
  249. return Weld
  250. end;
  251. };
  252.  
  253. Sound = {
  254. Create = function(id, par, vol, pit)
  255. coroutine.resume(coroutine.create(function()
  256. local S = Create("Sound"){
  257. Volume = vol,
  258. Pitch = pit or 1,
  259. SoundId = "rbxassetid://" .. id,
  260. Parent = par or workspace,
  261. }
  262. wait()
  263. S:play()
  264. game:GetService("Debris"):AddItem(S, 10)
  265. end))
  266. end;
  267. };
  268.  
  269. ParticleEmitter = {
  270. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  271. local Particle = Create("ParticleEmitter"){
  272. Parent = Parent,
  273. Color = ColorSequence.new(Color1, Color2),
  274. LightEmission = LightEmission,
  275. Size = Size,
  276. Texture = Texture,
  277. Transparency = Transparency,
  278. ZOffset = ZOffset,
  279. Acceleration = Accel,
  280. Drag = Drag,
  281. LockedToPart = LockedToPart,
  282. VelocityInheritance = VelocityInheritance,
  283. EmissionDirection = EmissionDirection,
  284. Enabled = Enabled,
  285. Lifetime = LifeTime,
  286. Rate = Rate,
  287. Rotation = Rotation,
  288. RotSpeed = RotSpeed,
  289. Speed = Speed,
  290. VelocitySpread = VelocitySpread,
  291. }
  292. return Particle
  293. end;
  294. };
  295.  
  296. CreateTemplate = {
  297.  
  298. };
  299. }
  300.  
  301.  
  302. SwordHandle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","SwordHandle",Vector3.new(0.869999945, 0.450000048, 0.440000325))
  303. SwordHandleWeld=CFuncs.Weld.Create(m,Character["Right Arm"],SwordHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.185770988, 0.870510101, 0.408577919, 0.203587696, 0.0859783739, 0.975274265, 0.215029001, 0.967887759, -0.130214334, -0.955151618, 0.236222297, 0.178562179))
  304.  
  305. FSwordHandle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","SwordHandle",Vector3.new(0.869999945, 0.450000048, 0.440000325))
  306. FSwordHandleWeld=CFuncs.Weld.Create(m,FSwordHandle,SwordHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.185770988, 0.870510101, 0.408577919, 0.203587696, 0.0859783739, 0.975274265, 0.215029001, 0.967887759, -0.130214334, -0.955151618, 0.236222297, 0.178562179))
  307.  
  308. SwordHitbox=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","SwordHitbox",Vector3.new(2.86000085, 0.780000031, 0.490000904))
  309. SwordHitboxWeld=CFuncs.Weld.Create(m,FSwordHandle,SwordHitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.40326214, -0.0246145725, 0.0822520256, 0.996526599, -0.0713239759, 0.0429853499, -0.0685022175, -0.995603502, -0.063884899, 0.04735291, 0.0607184023, -0.997031152))
  310. Sword=CFuncs.Part.Create(m,Enum.Material.Plastic,0.40000000596046,0,"Dark stone grey","Sword",Vector3.new(1, 0.800000012, 4))
  311. SwordWeld=CFuncs.Weld.Create(m,FSwordHandle,Sword,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00868201256, -0.0434961319, -1.57871437, -0.0685393885, -0.995604873, -0.0638238713, -0.0473001003, -0.060659457, 0.997037172, -0.996526659, 0.0713551864, -0.0429345965))
  312. CFuncs.Mesh.Create("SpecialMesh",Sword,Enum.MeshType.FileMesh,"rbxassetid://26405055",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  313. SwordTip=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","SwordTip",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007))
  314. SwordTipWeld=CFuncs.Weld.Create(m,FSwordHandle,SwordTip,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.99350071, 0.0115001202, -0.0282430649, 0.996526718, -0.0713239908, 0.0429855287, 0.0685023069, 0.995603621, 0.0638830736, -0.0473529696, -0.0607165657, 0.997031391))
  315. SwordBase=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","SwordBase",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007))
  316. SwordBaseWeld=CFuncs.Weld.Create(m,FSwordHandle,SwordBase,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.965875626, -0.108898878, -0.0282406807, 0.996527016, -0.0713239983, 0.0429854989, 0.0685023293, 0.995603859, 0.0638830885, -0.0473529994, -0.0607165806, 0.997031689))
  317. sw00ng=CFuncs.Mesh.Create("SpecialMesh",Sword,Enum.MeshType.FileMesh,"rbxasset://fonts/sword.mesh",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  318. sw00ng.TextureId = "rbxassetid://58245629"
  319. Dodgebox=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","Dodgebox",Vector3.new(0.380000204, 0.440000057, 0.370000631))
  320. DodgeboxWeld=CFuncs.Weld.Create(m,Character["Left Arm"],Dodgebox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19000053, 0.0500006676, 0.00499725342, -5.2829273e-07, -1, 9.87201929e-08, -1.00000012, 5.32949343e-07, -2.98023224e-08, 2.98023224e-08, -9.68575478e-08, -1.00000012))
  321. RHandle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","RHandle",Vector3.new(4.92000628, 0.740000546, 0.839999795))
  322. RHandleWeld=CFuncs.Weld.Create(m,Character["Left Arm"],RHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.891376376, 0.0220794678, -0.335389137, -0.0211870149, 0.999322236, 0.0301050469, 0.985142112, 0.0157343224, 0.171019673, 0.170430094, 0.0332811475, -0.98480773))
  323. kaboomsky=CFuncs.Mesh.Create("SpecialMesh",RHandle,Enum.MeshType.FileMesh,"rbxasset://fonts/rocketlauncher.mesh",Vector3.new(0, 0, 0),Vector3.new(0.75, 0.75, 0.75))
  324. RocketMaker=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","RocketMaker",Vector3.new(0.349999934, 0.350000024, 0.369999945))
  325. RocketMakerWeld=CFuncs.Weld.Create(m,RHandle,RocketMaker,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.6350019, 0.17499733, 0.0449929237, 0.999999702, 0, 7.4505806e-09, 0, 1.72555447e-05, -1, 0, 1.00000012, 1.72555447e-05))
  326.  
  327. kaboomsky=CFuncs.Mesh.Create("SpecialMesh",RHandle,Enum.MeshType.FileMesh,"rbxassetid://623102664",Vector3.new(0, 0, 0),Vector3.new(0.75, 0.75, 0.75))
  328. kaboomsky.TextureId = "rbxassetid://623102879"
  329.  
  330.  
  331.  
  332. swordtrail = Instance.new("Trail", SwordHitbox)
  333. A2 = Instance.new('Attachment',SwordBase)
  334. A3 = Instance.new('Attachment',SwordTip)
  335. swordtrail.Lifetime = .1
  336. swordtrail.Enabled = false
  337. swordtrail.Attachment0 = A2
  338. swordtrail.Attachment1 = A3
  339. local startColor = Color3.new(0, 0, 0)
  340. local endColor = Color3.new(200,200, 200)
  341. local startT = .2
  342. local endT = .8
  343.  
  344. local sequence2 = NumberSequence.new(startT, endT)
  345.  
  346. swordtrail.Transparency = sequence2
  347.  
  348. touchCounter = 0
  349. local cR=255
  350. local cG=0
  351. local cB=0
  352. local flg5=1 local omgidk=1
  353. local add=15
  354. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  355. if omgidk>10000 then omgidk=0 end
  356. omgidk=omgidk+1
  357. if cR>=255 then flg5=1 end
  358. if cG>=255 then flg5=2 end
  359. if cB>=255 then flg5=3 end
  360. if flg5==1 then cR=cR-add cG=cG+add end
  361. if flg5==2 then cG=cG-add cB=cB+add end
  362. if flg5==3 then cB=cB-add cR=cR+add end
  363. color=Color3.fromRGB(cR,cG,cB)
  364. text.TextColor3 = color
  365. SwordHandle.Color = color
  366. Dodgebox.Color = color
  367. RHandle.Color = color
  368. SwordBase.Color = color
  369. SwordTip.Color = color
  370. FSwordHandle.Color = color
  371. Sword.Color = color
  372. end)
  373.  
  374. Parts={}
  375.  
  376. function GetDiscoColor(hue)
  377. local section = hue % 1 * 3
  378. local secondary = 0.5 * math.pi * (section % 1)
  379. if section < 1 then
  380. return Vector3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  381. elseif section < 2 then
  382. return Vector3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  383. else
  384. return Vector3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  385. end
  386. end
  387. Part = function(x,y,z,color,tr,cc,an,parent)
  388. local p = Instance.new('Part',parent or Weapon)
  389. p.formFactor = 'Custom'
  390. p.Size = Vector3.new(x,y,z)
  391. p.BrickColor = BrickColor.new(color)
  392. p.CanCollide = cc
  393. p.Transparency = tr
  394. p.Anchored = an
  395. p.TopSurface,p.BottomSurface = 0,0
  396. p:BreakJoints''
  397. table.insert(Parts,p)
  398. return p
  399. end
  400. Weld = function(p0,p1)
  401. local w = Instance.new('Motor',p0)
  402. w.Part0 = p0
  403. w.Part1 = p1
  404. return w
  405. end
  406. Mesh = function(par,num,x,y,z)
  407. local msh = 0
  408. if num == 1 then
  409. msh = Instance.new("SpecialMesh",par)
  410. msh.MeshId='rbxasset://fonts/torso.mesh'
  411. msh.TextureId='rbxasset://25701026'
  412. end
  413. if num == 2 then
  414. msh = Instance.new("SpecialMesh",par)
  415. msh.MeshId='rbxasset://fonts/head.mesh'
  416. msh.TextureId='rbxassetid://25701026'
  417. end
  418. msh.Scale = Vector3.new(x,y,z)
  419. return msh
  420. end
  421. plr=Game.Players.LocalPlayer
  422. char=plr.Character
  423. for _,v in pairs(char:GetChildren()) do
  424. if v.ClassName=="Part" then
  425. v.Transparency=1
  426. elseif v.ClassName=="Hat" then
  427. v.Handle.Mesh.TextureId='rbxassetid://25701026'
  428. table.insert(Parts,v.Handle)
  429. end
  430. end
  431. t=Part(1,1,1,'',0,false,false,char)
  432. Mesh(t,1,1,1,1)
  433. Weld(char.Torso,t)
  434. a=Part(1,1,1,'',0,false,false,char)
  435. Mesh(a,1,.5,1,1)
  436. Weld(char['Right Arm'],a)
  437. a=Part(1,1,1,'',0,false,false,char)
  438. Mesh(a,1,.5,1,1)
  439. Weld(char['Left Arm'],a)
  440. l=Part(1,1,1,'',0,false,false,char)
  441. Mesh(l,1,.5,1,1)
  442. Weld(char['Right Leg'],l)
  443. l=Part(1,1,1,'',0,false,false,char)
  444. Mesh(l,1,.5,1,1)
  445. Weld(char['Left Leg'],l)
  446. h=Part(1,1,1,'',0,false,false,char)
  447. Mesh(h,2,1,1,1)
  448. Weld(char.Head,h)
  449. Spawn(function()
  450. while(coroutine.yield())do
  451. for i=1,#Parts do
  452. Parts[i].Mesh.VertexColor=GetDiscoColor(tick()*.77)--vertex 4 lyfe
  453. end
  454. end;
  455. end);
  456.  
  457. function RayCast(Position, Direction, Range, Ignore)
  458. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  459. end
  460.  
  461. FindNearestTorso = function(pos)
  462. local list = (game.Workspace:children())
  463. local torso = nil
  464. local dist = 1000
  465. local temp, human, temp2 = nil, nil, nil
  466. for x = 1, #list do
  467. temp2 = list[x]
  468. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  469. temp = temp2:findFirstChild("Torso")
  470. human = temp2:findFirstChild("Humanoid")
  471. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  472. local dohit = true
  473. if dohit == true then
  474. torso = temp
  475. dist = (temp.Position - pos).magnitude
  476. end
  477. end
  478. end
  479. end
  480. return torso, dist
  481. end
  482.  
  483. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  484. if hit.Parent == nil then
  485. return
  486. end
  487. local h = hit.Parent:FindFirstChild("Humanoid")
  488. for _, v in pairs(hit.Parent:children()) do
  489. if v:IsA("Humanoid") then
  490. h = v
  491. end
  492. end
  493. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  494. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  495. if hit.Parent.DebounceHit.Value == true then
  496. return
  497. end
  498. end
  499. local c = Create("ObjectValue"){
  500. Name = "creator",
  501. Value = game:service("Players").LocalPlayer,
  502. Parent = h,
  503. }
  504. game:GetService("Debris"):AddItem(c, .5)
  505. if HitSound ~= nil and HitPitch ~= nil then
  506. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  507. CFuncs.Sound.Create(681582832, hit, 1, 1)
  508. end
  509. local Damage = math.random(minim, maxim)
  510. local blocked = false
  511. local block = hit.Parent:findFirstChild("Block")
  512. if block ~= nil then
  513. if block.className == "IntValue" then
  514. if block.Value > 0 then
  515. blocked = true
  516. block.Value = block.Value - 1
  517. print(block.Value)
  518. end
  519. end
  520. end
  521. if blocked == false then
  522. h.Health = h.Health - Damage
  523. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), "Bloxxed!", 1, BrickColor.new(Torso.Color).Color)
  524. else
  525. h.Health = h.Health - (Damage / 2)
  526. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), "Bloxxed!", 1, BrickColor.new(Torso.Color).Color)
  527. end
  528. if Type == "Knockdown" then
  529. local hum = hit.Parent.Humanoid
  530. hum.PlatformStand = true
  531. coroutine.resume(coroutine.create(function(HHumanoid)
  532. swait(1)
  533. HHumanoid.PlatformStand = false
  534. end), hum)
  535. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  536. local bodvol = Create("BodyVelocity"){
  537. velocity = angle * knockback,
  538. P = 5000,
  539. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  540. Parent = hit,
  541. }
  542. local rl = Create("BodyAngularVelocity"){
  543. P = 3000,
  544. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  545. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  546. Parent = hit,
  547. }
  548. game:GetService("Debris"):AddItem(bodvol, .5)
  549. game:GetService("Debris"):AddItem(rl, .5)
  550. elseif Type == "Normal" then
  551. local vp = Create("BodyVelocity"){
  552. P = 500,
  553. maxForce = Vector3.new(math.huge, 0, math.huge),
  554. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  555. }
  556. hit.Parent.Torso:BreakJoints()
  557. if knockback > 0 then
  558. vp.Parent = hit.Parent.Torso
  559. end
  560. game:GetService("Debris"):AddItem(vp, .5)
  561. elseif Type == "Up" then
  562. local bodyVelocity = Create("BodyVelocity"){
  563. velocity = Vector3.new(0, 20, 0),
  564. P = 5000,
  565. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  566. Parent = hit,
  567. }
  568. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  569. elseif Type == "DarkUp" then
  570. coroutine.resume(coroutine.create(function()
  571. for i = 0, 1, 0.1 do
  572. swait()
  573. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  574. end
  575. end))
  576. local bodyVelocity = Create("BodyVelocity"){
  577. velocity = Vector3.new(0, 20, 0),
  578. P = 5000,
  579. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  580. Parent = hit,
  581. }
  582. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  583. elseif Type == "Snare" then
  584. local bp = Create("BodyPosition"){
  585. P = 2000,
  586. D = 100,
  587. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  588. position = hit.Parent.Torso.Position,
  589. Parent = hit.Parent.Torso,
  590. }
  591. game:GetService("Debris"):AddItem(bp, 1)
  592. elseif Type == "Freeze" then
  593. local BodPos = Create("BodyPosition"){
  594. P = 50000,
  595. D = 1000,
  596. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  597. position = hit.Parent.Torso.Position,
  598. Parent = hit.Parent.Torso,
  599. }
  600. local BodGy = Create("BodyGyro") {
  601. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  602. P = 20e+003,
  603. Parent = hit.Parent.Torso,
  604. cf = hit.Parent.Torso.CFrame,
  605. }
  606. hit.Parent.Torso.Anchored = true
  607. coroutine.resume(coroutine.create(function(Part)
  608. swait(1.5)
  609. Part.Anchored = false
  610. end), hit.Parent.Torso)
  611. game:GetService("Debris"):AddItem(BodPos, 3)
  612. game:GetService("Debris"):AddItem(BodGy, 3)
  613. end
  614. local debounce = Create("BoolValue"){
  615. Name = "DebounceHit",
  616. Parent = hit.Parent,
  617. Value = true,
  618. }
  619. game:GetService("Debris"):AddItem(debounce, Delay)
  620. c = Create("ObjectValue"){
  621. Name = "creator",
  622. Value = Player,
  623. Parent = h,
  624. }
  625. game:GetService("Debris"):AddItem(c, .5)
  626. end
  627. end
  628.  
  629. function ShowDamage(Pos, Text, Time, Color)
  630. local Rate = (1 / 30)
  631. local Pos = (Pos or Vector3.new(0, 0, 0))
  632. local Text = (Text or "")
  633. local Time = (Time or 2)
  634. local Color = (Color or Color3.new(1, 0, 1))
  635. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  636. EffectPart.Anchored = true
  637. local BillboardGui = Create("BillboardGui"){
  638. Size = UDim2.new(3, 0, 3, 0),
  639. Adornee = EffectPart,
  640. Parent = EffectPart,
  641. }
  642. local TextLabel = Create("TextLabel"){
  643. BackgroundTransparency = 1,
  644. Size = UDim2.new(1, 0, 1, 0),
  645. Text = Text,
  646. Font = "SourceSansLight",
  647. TextColor3 = Color,
  648. TextScaled = true,
  649. Parent = BillboardGui,
  650. }
  651. game.Debris:AddItem(EffectPart, (Time))
  652. EffectPart.Parent = game:GetService("Workspace")
  653. delay(0, function()
  654. local Frames = (Time / Rate)
  655. for Frame = 1, Frames do
  656. wait(Rate)
  657. local Percent = (Frame / Frames)
  658. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  659. TextLabel.TextTransparency = Percent
  660. end
  661. if EffectPart and EffectPart.Parent then
  662. EffectPart:Destroy()
  663. end
  664. end)
  665. end
  666.  
  667. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  668. for _, c in pairs(workspace:children()) do
  669. local hum = c:findFirstChild("Humanoid")
  670. if hum ~= nil then
  671. local head = c:findFirstChild("Torso")
  672. if head ~= nil then
  673. local targ = head.Position - Part.Position
  674. local mag = targ.magnitude
  675. if mag <= Magnitude and c.Name ~= Player.Name then
  676. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  677. end
  678. end
  679. end
  680. end
  681. end
  682.  
  683.  
  684. local BODY = {}
  685. for _, c in pairs(Character:GetDescendants()) do
  686. if c:IsA("BasePart") and c.Name ~= "Handle" then
  687. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  688. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  689. end
  690. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  691. elseif c:IsA("JointInstance") then
  692. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  693. end
  694. end
  695. for e = 1, #BODY do
  696. if BODY[e] ~= nil then
  697. local STUFF = BODY[e]
  698. local PART = STUFF[1]
  699. local PARENT = STUFF[2]
  700. local MATERIAL = STUFF[3]
  701. local COLOR = STUFF[4]
  702. local TRANSPARENCY = STUFF[5]
  703. if PART.ClassName == "Part" and PART ~= RootPart then
  704. PART.Material = MATERIAL
  705. PART.Color = COLOR
  706. PART.Transparency = TRANSPARENCY
  707. end
  708. PART.AncestryChanged:Connect(function()
  709. PART.Parent = PARENT
  710. end)
  711. end
  712. end
  713. function refit()
  714. Character.Parent = workspace
  715. for e = 1, #BODY do
  716. if BODY[e] ~= nil then
  717. local STUFF = BODY[e]
  718. local PART = STUFF[1]
  719. local PARENT = STUFF[2]
  720. local MATERIAL = STUFF[3]
  721. local COLOR = STUFF[4]
  722. local TRANSPARENCY = STUFF[5]
  723. if PART:IsA("BasePart") and PART ~= RootPart then
  724. PART.Material = MATERIAL
  725. PART.Color = COLOR
  726. PART.Transparency = TRANSPARENCY+EXTRATRANS
  727. end
  728. if PART.Parent ~= PARENT then
  729. Humanoid:remove()
  730. PART.Parent = PARENT
  731. Humanoid = IT("Humanoid",Character)
  732. end
  733. end
  734. end
  735. end
  736.  
  737. Humanoid.Died:connect(function()
  738. refit()
  739. end)
  740.  
  741. EffectModel = Create("Model"){
  742. Parent = Character,
  743. Name = "EffectModel",
  744. }
  745.  
  746. Effects = {
  747. Block = {
  748. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, Part)
  749. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  750. prt.Anchored = true
  751. prt.CFrame = cframe
  752. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  753. game:GetService("Debris"):AddItem(prt, 10)
  754. if Type == 1 or Type == nil then
  755. table.insert(Effects, {
  756. prt,
  757. "Block1",
  758. delay,
  759. x3,
  760. y3,
  761. z3,
  762. msh
  763. })
  764. elseif Type == 2 then
  765. table.insert(Effects, {
  766. prt,
  767. "Block2",
  768. delay,
  769. x3,
  770. y3,
  771. z3,
  772. msh
  773. })
  774. elseif Type == 3 then
  775. table.insert(Effects, {
  776. prt,
  777. "Block3",
  778. delay,
  779. x3,
  780. y3,
  781. z3,
  782. msh,
  783. Part
  784. })
  785. elseif Type == 4 then
  786. table.insert(Effects, {
  787. prt,
  788. "Block2Fire",
  789. delay,
  790. x3,
  791. y3,
  792. z3,
  793. msh
  794. })
  795. end
  796. end
  797. };
  798.  
  799. Sphere = {
  800. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, parent)
  801. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  802. prt.Anchored = true
  803. prt.CFrame = cframe
  804. if parent == nil then
  805. prt.Parent = workspace
  806. else
  807. prt.Parent = parent
  808. end
  809. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  810. game:GetService("Debris"):AddItem(prt, 10)
  811. table.insert(Effects, {
  812. prt,
  813. "Cylinder",
  814. delay,
  815. x3,
  816. y3,
  817. z3,
  818. msh
  819. })
  820. end
  821. };
  822.  
  823. Blood = {
  824. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  825. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  826. prt.Anchored = true
  827. prt.CFrame = cframe
  828. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  829. game:GetService("Debris"):AddItem(prt, 10)
  830. table.insert(Effects, {
  831. prt,
  832. "Blood",
  833. delay,
  834. x3,
  835. y3,
  836. z3,
  837. msh
  838. })
  839. end
  840. };
  841.  
  842. Blast = {
  843. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Part)
  844. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  845. prt.Anchored = true
  846. prt.CFrame = cframe
  847. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "1323306", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  848. game:GetService("Debris"):AddItem(prt, 10)
  849. table.insert(Effects, {
  850. prt,
  851. "Block4",
  852. delay,
  853. x3,
  854. y3,
  855. z3,
  856. msh,
  857. Part
  858. })
  859. end
  860. };
  861.  
  862. Ring = {
  863. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  864. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  865. prt.Anchored = true
  866. prt.CFrame = cframe
  867. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  868. game:GetService("Debris"):AddItem(prt, 10)
  869. table.insert(Effects, {
  870. prt,
  871. "Cylinder",
  872. delay,
  873. x3,
  874. y3,
  875. z3,
  876. msh
  877. })
  878. end
  879. };
  880.  
  881. Cylinder = {
  882. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  883. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  884. prt.Anchored = true
  885. prt.CFrame = cframe
  886. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  887. game:GetService("Debris"):AddItem(prt, 10)
  888. table.insert(Effects, {
  889. prt,
  890. "Cylinder",
  891. delay,
  892. x3,
  893. y3,
  894. z3,
  895. msh
  896. })
  897. end
  898. };
  899.  
  900. Head = {
  901. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  902. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  903. prt.Anchored = true
  904. prt.CFrame = cframe
  905. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  906. game:GetService("Debris"):AddItem(prt, 10)
  907. table.insert(Effects, {
  908. prt,
  909. "Cylinder",
  910. delay,
  911. x3,
  912. y3,
  913. z3,
  914. msh
  915. })
  916. end
  917. };
  918.  
  919. Wave = {
  920. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  921. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  922. prt.Anchored = true
  923. prt.CFrame = cframe
  924. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  925. game:GetService("Debris"):AddItem(prt, 10)
  926. table.insert(Effects, {
  927. prt,
  928. "Cylinder",
  929. delay,
  930. x3,
  931. y3,
  932. z3,
  933. msh
  934. })
  935. end
  936. };
  937.  
  938. Break = {
  939. Create = function(brickcolor, cframe, x1, y1, z1)
  940. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  941. prt.Anchored = true
  942. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  943. game:GetService("Debris"):AddItem(prt, 10)
  944. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  945. local num = math.random(10, 50) / 1000
  946. table.insert(Effects, {
  947. prt,
  948. "Shatter",
  949. num,
  950. prt.CFrame,
  951. math.random() - math.random(),
  952. 0,
  953. math.random(50, 100) / 100
  954. })
  955. end
  956. };
  957.  
  958. Elec = {
  959. Create = function(brickcolor, cff, x, y, z)
  960. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
  961. prt.Anchored = true
  962. prt.CFrame = cff * CFrame.new(math.random(-x * 100, x * 100) / 100, math.random(-y * 100, y * 100) / 100, math.random(-z * 100, z * 100) / 100)
  963. prt.CFrame = CFrame.new(prt.Position)
  964. game:GetService("Debris"):AddItem(prt, 10)
  965. xval = math.random() / 9
  966. yval = math.random() / 9
  967. zval = math.random() / 9
  968. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  969. eul1 = math.random(-50, 50)
  970. eul2 = math.random(-50, 50)
  971. eul3 = math.random(-50, 50)
  972. euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
  973. euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
  974. table.insert(Effects, {
  975. prt,
  976. "Elec",
  977. .05,
  978. x,
  979. y,
  980. z,
  981. xval,
  982. yval,
  983. zval,
  984. msh,
  985. euld,
  986. euld2
  987. })
  988. end
  989. };
  990.  
  991. Elec2 = {
  992. Create = function(brickcolor, cff, x, y, z)
  993. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
  994. prt.Anchored = true
  995. prt.CFrame = cff * CFrame.new(math.random(-x * 100, x * 100) / 100, math.random(-y * 100, y * 100) / 100, math.random(-z * 100, z * 100) / 100)
  996. prt.CFrame = CFrame.new(prt.Position)
  997. game:GetService("Debris"):AddItem(prt, 10)
  998. xval = math.random() / 7
  999. yval = math.random() / 7
  1000. zval = math.random() / 7
  1001. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  1002. eul1 = math.random(-50, 50)
  1003. eul2 = math.random(-50, 50)
  1004. eul3 = math.random(-50, 50)
  1005. euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
  1006. euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
  1007. table.insert(Effects, {
  1008. prt,
  1009. "Elec",
  1010. .1,
  1011. x,
  1012. y,
  1013. z,
  1014. xval,
  1015. yval,
  1016. zval,
  1017. msh,
  1018. euld,
  1019. euld2
  1020. })
  1021. end
  1022. };
  1023.  
  1024. Clone = {
  1025. Create = function()
  1026. for _, v in pairs(Torso.Parent:children()) do
  1027. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  1028. local c = CFuncs.Part.Create(EffectModel, "Neon", 0, .5, BrickColor.new("Bright blue"), "Effect", v.Size)
  1029. c.Anchored = true
  1030. c.CFrame = v.CFrame
  1031. game:GetService("Debris"):AddItem(c, 5)
  1032. local cmsh = nil
  1033. if v.Name == "Head" then
  1034. cmsh = CFuncs.Mesh.Create("SpecialMesh", c, "Head", "", Vector3.new(0, 0, 0), v.Mesh.Scale)
  1035. else
  1036. cmsh = CFuncs.Mesh.Create("BlockMesh", c, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1037. end
  1038. table.insert(Effects, {
  1039. c,
  1040. "Cylinder",
  1041. 0.05,
  1042. 0.1,
  1043. 0.1,
  1044. 0.1,
  1045. cmsh
  1046. })
  1047. end
  1048. end
  1049. end
  1050. };
  1051.  
  1052. EffectTemplate = {
  1053.  
  1054. };
  1055. }
  1056.  
  1057.  
  1058.  
  1059. function basicatk3()
  1060. Attack = true
  1061. for i = 0, 1, 0.1 do
  1062. swait()
  1063. PlayAnimationFromTable({
  1064. CFrame.new(-0.0142343417, 0.0233179983, 0.020687107, 0.573575377, 0, -0.819152832, 0, 1, 0, 0.819152832, 0, 0.573575377) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1065. CFrame.new(2.98023224e-07, 1.49992621, 2.16066837e-07, 0.608099699, -0.0691893846, 0.790839791, 0, 0.99619478, 0.0871555731, -0.793860614, -0.0529992878, 0.605785728) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1066. CFrame.new(2.05688548, 0.769726157, 0.0676793456, -0.311439514, -0.945715487, -0.092885226, 0.945463896, -0.298567384, -0.130214006, 0.09541291, -0.128373384, 0.987125456) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1067. CFrame.new(-0.411215395, 0.158524469, -0.878887057, 0.250847429, -0.870902896, 0.422615528, 0.960933626, 0.276778936, -3.5065608e-07, -0.116970763, 0.406105578, 0.906309128) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1068. CFrame.new(0.657444179, -1.99999833, -0.128117085, 0.896965504, -0.0924630314, 0.432323426, 0.14320904, 0.98592627, -0.0862591267, -0.418263227, 0.139284089, 0.897583365) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1069. CFrame.new(-0.494430214, -2.06444812, 0.151889086, 0.924378932, -0.0320322104, 0.380128324, -0.00379799958, 0.995646238, 0.093135722, -0.381456703, -0.0875364318, 0.920232713) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1070. }, .3, false)
  1071. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 1)
  1072. end
  1073. swordtrail.Enabled = true
  1074. local con = SwordHitbox.Touched:connect(function(hit)
  1075. Damage(SwordHitbox, hit, 0, 0, 0, "Normal", RootPart, 0.2, "851453784", 1)end)
  1076. CFuncs.Sound.Create("0", SwordHitbox, 1, 1)
  1077. for i = 0, 1, 0.1 do
  1078. swait()
  1079. PlayAnimationFromTable({
  1080. CFrame.new(-0.0142339114, 0.0233179983, 0.0206872839, 0.642787755, 0, 0.766044497, 0, 1, 0, -0.766044497, 0, 0.642787755) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1081. CFrame.new(9.59248496e-07, 1.49992597, 4.65522191e-07, 0.60942173, 0, -0.792846382, 0, 1, 0, 0.792846322, 0, 0.609421849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1082. CFrame.new(1.73596513, 0.521444082, -0.798278034, 0.809956312, -0.584440529, 0.0489933714, 0.032929007, -0.0380880162, -0.998731732, 0.585565269, 0.810542405, -0.0116045829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1083. CFrame.new(-1.85990238, 0.325684935, -0.117992491, 0.89608562, 0.442657262, 0.0329447091, -0.4075903, 0.849945962, -0.333859384, -0.175786465, 0.285738617, 0.942047179) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1084. CFrame.new(0.425910503, -2.07023525, 0.0920312852, 0.940003216, -0.0248685181, 0.340258449, -0.0248680059, 0.98969233, 0.141034499, -0.340258539, -0.141034409, 0.929695547) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1085. CFrame.new(-0.614895225, -2, -0.0110759763, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1086. }, .3, false)
  1087. Torso.Velocity=RootPart.CFrame.lookVector*50
  1088. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(.5, .5, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(-90)), .5)
  1089. end
  1090. Torso.Velocity=RootPart.CFrame.lookVector*0
  1091. con:Disconnect()
  1092. swordtrail.Enabled = false
  1093. Attack = false
  1094. end
  1095.  
  1096. function basicatk1()
  1097. Attack = true
  1098. CFuncs.Sound.Create("12222216", SwordHitbox, 1, 1)
  1099. local con = SwordHitbox.Touched:connect(function(hit)
  1100. Damage(SwordHitbox, hit, 0, 0, 0, "Normal", RootPart, 0.2, "851453784", 1)end)
  1101. for i = 0, 1, 0.1 do
  1102. swait()
  1103. PlayAnimationFromTable({
  1104. CFrame.new(-0.0142327882, 0.0233180653, 0.0206850152, 0.342022419, 9.53674316e-07, -0.939693272, -1.97067857e-06, 0.999999821, -2.77161598e-06, 0.939691842, -3.1888485e-06, 0.342018187) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1105. CFrame.new(-3.0002484e-06, 1.49992502, -4.16819603e-06, 0.536599159, 0, 0.843837321, 0, 1, 0, -0.843837321, 0, 0.536599159) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1106. CFrame.new(1.86725414, 0.520918071, 0.271278173, -0.192566082, -0.920491397, -0.340020508, 0.967886448, -0.121106967, -0.220293105, 0.16159907, -0.371522188, 0.914252102) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1107. CFrame.new(-1.63878369, 0.0883156657, 0.277901947, 0.932158768, 0.313689649, 0.180773243, -0.33414492, 0.937619865, 0.0960013121, -0.139381975, -0.149892926, 0.978828311) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1108. CFrame.new(0.631921172, -2.00664234, -0.186664119, 0.932272255, -0.109707505, 0.344721258, 0.134574026, 0.989692569, -0.0489756428, -0.335795075, 0.0920491666, 0.937426567) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1109. CFrame.new(-0.51753515, -2, 0.082954295, 0.939693093, 0, 0.342018992, 0, 1, 0, -0.342019022, 0, 0.939693093) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1110. }, .3, false)
  1111. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 1)
  1112. end
  1113. swordtrail.Enabled = true
  1114. for i = 0, .5, 0.1 do
  1115. swait()
  1116. PlayAnimationFromTable({
  1117. CFrame.new(-0.0142326681, 0.0233180001, 0.0206871442, 1.78813934e-07, 0, 1.00000203, 0, 1, 0, -1.00000203, 0, 1.49011612e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1118. CFrame.new(0, 1.49992609, 0, 0.462487102, 0, -0.886626124, 0, 1, 0, 0.886626124, 0, 0.462487072) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1119. CFrame.new(1.59986377, 0.488647908, -0.460965931, 0.695726395, -0.716896534, 0.0449903496, 0.0475609899, -0.0165210012, -0.998731732, 0.716730595, 0.696983814, 0.0226022154) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1120. CFrame.new(-1.80470943, 0.308719665, 0.00611042976, 0.864646077, 0.492070675, 0.1012609, -0.498273998, 0.865697801, 0.0478584878, -0.0641115457, -0.0918363109, 0.993708193) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1121. CFrame.new(0.450665146, -1.87432182, 0.242756784, 0.938798666, 0.182527304, -0.29213196, -0.024868004, 0.881770015, 0.471023679, 0.343567908, -0.434931636, 0.832343459) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1122. CFrame.new(-0.463921428, -2, -0.403737426, 0.766046047, 0, -0.642788887, 0, 1, 0, 0.642788887, 0, 0.766046047) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1123. }, .3, false)
  1124. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(.5, .5, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(-90)), 1)
  1125. end
  1126.  
  1127.  
  1128. for i = 0, .5, 0.1 do
  1129. swait()
  1130. PlayAnimationFromTable({
  1131. CFrame.new(-0.0142326681, 0.0233180001, 0.0206871442, 1.78813934e-07, 0, 1.00000203, 0, 1, 0, -1.00000203, 0, 1.49011612e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1132. CFrame.new(0, 1.49992609, 0, 0.462487102, 0, -0.886626124, 0, 1, 0, 0.886626124, 0, 0.462487072) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1133. CFrame.new(1.59986377, 0.488647908, -0.460965931, 0.695726395, -0.716896534, 0.0449903496, 0.0475609899, -0.0165210012, -0.998731732, 0.716730595, 0.696983814, 0.0226022154) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1134. CFrame.new(-1.80470943, 0.308719665, 0.00611042976, 0.864646077, 0.492070675, 0.1012609, -0.498273998, 0.865697801, 0.0478584878, -0.0641115457, -0.0918363109, 0.993708193) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1135. CFrame.new(0.450665146, -1.87432182, 0.242756784, 0.938798666, 0.182527304, -0.29213196, -0.024868004, 0.881770015, 0.471023679, 0.343567908, -0.434931636, 0.832343459) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1136. CFrame.new(-0.463921428, -2, -0.403737426, 0.766046047, 0, -0.642788887, 0, 1, 0, 0.642788887, 0, 0.766046047) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1137. }, .3, false)
  1138. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, .5, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), .1)
  1139. end
  1140. swordtrail.Enabled = false
  1141. con:Disconnect()
  1142. Attack = false
  1143. end
  1144.  
  1145.  
  1146.  
  1147.  
  1148.  
  1149. function basicatk2()
  1150. Attack = true
  1151. CFuncs.Sound.Create("12222216", SwordHitbox, 1, .8)
  1152. local con = SwordHitbox.Touched:connect(function(hit)
  1153. Damage(SwordHitbox, hit, 0, 0, 0, "Normal", RootPart, 0.2, "851453784", 1)end)
  1154. for i = 0, .5, 0.1 do
  1155. PlayAnimationFromTable({
  1156. CFrame.new(0.199326009, 0, -0.0621959642, 0.500000238, 0, 0.866025388, 0, 1, 0, -0.866025388, 0, 0.500000238) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1157. CFrame.new(0, 1.49999201, 0, 0.866025805, 0, -0.499999762, 0, 1, 0, 0.499999762, 0, 0.866025805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1158. CFrame.new(0.930871904, 0.250794977, -1.28154397, -0.0386770852, 0.569197655, -0.821290731, -0.998659015, 0.00628901878, 0.0513885207, 0.0344153345, 0.822176874, 0.568191111) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1159. CFrame.new(-1.60257423, 0.0277413726, -0.076416865, 0.0147553682, 0.129409567, 0.991481602, 0.224142969, 0.965926051, -0.12940973, -0.974444628, 0.224143118, -0.0147536397) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1160. CFrame.new(0.624383092, -1.99999106, -0.0120142996, 0.707107008, 0, -0.707106769, 0, 1, 0, 0.707106769, 0, 0.707107008) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1161. CFrame.new(-0.482958466, -1.99999106, -0.129410326, 0.707106769, 0, 0.707107008, 0, 1, 0, -0.707107008, 0, 0.707106769) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1162. }, .3, false)
  1163. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 1)
  1164. end
  1165. swordtrail.Enabled = true
  1166. for i = 0, .5, 0.1 do
  1167. swait()
  1168. PlayAnimationFromTable({
  1169. CFrame.new(0.366101086, 0, -0.414826214, 0.258818984, 0, 0.965925872, 0, 1, 0, -0.965925872, 0, 0.258818984) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1170. CFrame.new(0, 1.49999201, 0, 0.342023224, 0, -0.939691603, 0, 1, 0, 0.939691603, 0, 0.342023224) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1171. CFrame.new(0.0553627312, 1.3573252, -1.17095125, 0.785249949, 0.559134185, 0.265991658, 0.545306027, -0.827990174, 0.130666092, 0.293298304, 0.0424413234, -0.955078542) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1172. CFrame.new(-1.60256672, 0.0277402997, -0.0764263347, 0.0147550702, 0.129409924, 0.991481423, 0.224143073, 0.965925932, -0.129410043, -0.974444628, 0.224143118, -0.0147539973) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1173. CFrame.new(0.624385655, -1.99999106, -0.0120021999, 0.707108498, 0, -0.70710516, 0, 1, 0, 0.70710516, 0, 0.707108498) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1174. CFrame.new(-0.48295331, -1.99999106, -0.129420042, 0.70710516, 0, 0.707108498, 0, 1, 0, -0.707108498, 0, 0.70710516) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1175. }, .3, false)
  1176. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 1)
  1177. end
  1178. for i = 0, .5, 0.1 do
  1179. swait()
  1180. PlayAnimationFromTable({
  1181. CFrame.new(0.366099417, -0.200000986, -0.414823025, 0.582563281, 0.271655113, 0.766044199, -0.42261821, 0.906307876, -1.75809453e-06, -0.694272339, -0.323743135, 0.642787993) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1182. CFrame.new(-0.231262937, 1.54721832, -0.0511251986, 0.851651847, -0.42261821, -0.309973061, 0.397132277, 0.906307876, -0.144540951, 0.342016667, -1.75809453e-06, 0.939694047) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1183. CFrame.new(-0.0908454061, 1.16592097, -1.08897507, -0.0772816539, 0.583855987, 0.808170736, 0.727612376, -0.521148086, 0.446077228, 0.681621552, 0.622508645, -0.384545565) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1184. CFrame.new(-1.61299813, 0.0366990864, 0.314264029, -0.455841899, 0.169077203, 0.87385428, 0.0347501114, 0.984423816, -0.172343403, -0.889382243, -0.048194766, -0.454617083) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1185. CFrame.new(1.21119905, -1.34869587, -0.183849275, 0.851651549, -0.252021521, -0.459537864, 0.397132158, 0.882479608, 0.252023607, 0.342017442, -0.39713347, 0.851650953) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1186. CFrame.new(0.0580956787, -1.95897889, 0.369651437, 0.640855312, -0.42261821, 0.640857816, 0.298834234, 0.906307876, 0.298838168, -0.707108855, -1.75809453e-06, 0.707104981) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1187. }, .3, false)
  1188. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 1)
  1189. end
  1190. for i = 0, .5, 0.1 do
  1191. swait()
  1192. PlayAnimationFromTable({
  1193. CFrame.new(0.366085619, -1.19999647, -0.414817601, 0.582568169, -0.412207156, 0.700499654, -0.422613144, 0.582565188, 0.69427377, -0.694271266, -0.700502098, 0.165179759) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1194. CFrame.new(0.112729274, 1.56678414, 0.254275501, 0.577656388, 0.0997146964, -0.810166836, -0.213354647, 0.976452529, -0.0319427848, 0.787904203, 0.191304803, 0.585328698) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1195. CFrame.new(1.96889925, 0.746382177, -0.185331225, 0.0769328177, -0.997015715, 0.00641870499, 0.879773498, 0.0648541152, -0.470948815, 0.469127119, 0.0418784246, 0.882137418) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1196. CFrame.new(-1.88176703, 0.136358321, 0.177449048, -0.455846965, 0.778092861, 0.43217504, 0.703643739, 0.612389445, -0.360367835, -0.545058966, 0.139824644, -0.826655984) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1197. CFrame.new(0.90178746, -1.14663219, -0.653959215, 0.851655245, 0.190028608, -0.488439023, -0.00672882795, 0.935840786, 0.352359027, 0.524059415, -0.296801776, 0.798292339) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1198. CFrame.new(-0.830604553, -2.07172632, -0.233860642, 0.784890771, 0.0754829049, -0.615019679, -0.147760659, 0.986719251, -0.0674703121, 0.601758778, 0.143832445, 0.785620093) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1199. }, .3, false)
  1200. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 1)
  1201. end
  1202. swordtrail.Enabled = false
  1203. con:Disconnect()
  1204. Attack = false
  1205. end
  1206.  
  1207.  
  1208. function dodgeball()
  1209. Attack = true
  1210. humanoid.AutoRotate = false
  1211. local spawnPos = Torso.Position
  1212. orb1=CFuncs.Part.Create(Torso, "Neon", 0, 0, BrickColor.new("Crimson"), "ref", Vector3.new(2,2,2))
  1213. orb1.Anchored=true
  1214. orb1.CanCollide=false
  1215.  
  1216. game:GetService("Debris"):AddItem(orb1, 10)
  1217. orb1.Elasticity = 1
  1218. local mbewm2 = Instance.new("SpecialMesh", orb1)
  1219. mbewm2.MeshType = "Sphere"
  1220. mbewm2.Scale = Vector3.new(1,1,1)
  1221. game:GetService("Debris"):AddItem(orb1, 3)
  1222. for i = 0, 2, 0.1 do
  1223. orb1.CFrame = Dodgebox.CFrame
  1224. swait()
  1225. PlayAnimationFromTable({
  1226. CFrame.new(-0.0142339477, 0.0233179312, 0.0206872448, 0.642789185, 7.39382813e-08, 0.766043305, -4.8651782e-07, 1, 3.11712938e-07, -0.766043305, -5.73050784e-07, 0.642789245) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1227. CFrame.new(-3.34310243e-06, 1.49992716, -2.40420513e-06, 0.609423697, -6.78923243e-07, -0.792844892, 8.58872227e-08, 1, -7.90281774e-07, 0.792844832, 4.13525413e-07, 0.609423757) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1228. CFrame.new(1.70033991, 0.0784267411, 0.291652292, 0.980928302, -0.190888226, -0.0366283059, 0.192193046, 0.924432218, 0.329373628, -0.0290131569, -0.330131561, 0.943489075) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1229. CFrame.new(-1.9394995, 0.331927955, -0.314799666, 0.117194936, 0.856613636, -0.502472639, -0.987918258, 0.0488963015, -0.14706032, -0.101404801, 0.513636589, 0.851994693) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1230. CFrame.new(0.596234262, -2.04406619, 0.245654553, 0.999976635, 0.00595425069, -0.00338888168, -0.00461965939, 0.95128876, 0.308266908, 0.00505927205, -0.308244109, 0.951293945) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1231. CFrame.new(-0.699660361, -2.00000048, 0.0218301564, 0.984807849, -4.44691977e-07, 0.173648536, 4.41870725e-07, 1, 5.48861863e-08, -0.173648536, 2.26791599e-08, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1232. }, .3, false)
  1233. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, 0, Mouse.Hit.p.Z))
  1234. end
  1235. local con = orb1.Touched:connect(function(hit)
  1236. CFuncs.Sound.Create("112503990", Torso, 1, .8)end)
  1237. orb1.Anchored=false
  1238. orb1.CanCollide=true
  1239.  
  1240. local roketsped = 500
  1241. local spawnPosition = (RootPart.CFrame * CFrame.new(0, 0, -3)).p
  1242. orb1.CFrame = CFrame.new(spawnPosition, Mouse.hit.p)
  1243. orb1.Velocity = orb1.CFrame.lookVector * roketsped
  1244. local GRAVITY_ACCELERATION = 196.2
  1245. local bodyForce = Instance.new('BodyForce', orb1)
  1246. bodyForce.Name = 'Antigravity'
  1247. bodyForce.force = Vector3.new(0, orb1:GetMass() * GRAVITY_ACCELERATION, 0)
  1248.  
  1249. game:GetService("Debris"):AddItem(orb1, 8)
  1250.  
  1251. for i = 0, 1, 0.1 do
  1252. swait()
  1253. PlayAnimationFromTable({
  1254. CFrame.new(-0.0142358784, 0.0233174488, 0.0206872076, 0.642785072, 3.25146175e-06, -0.766046703, -2.37840504e-06, 1, 2.24876021e-06, 0.766046762, 3.76494427e-07, 0.642785072) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1255. CFrame.new(-5.94174753e-06, 1.49992752, 6.44530655e-06, 0.674973369, -2.24472751e-06, 0.737842202, 3.30112925e-06, 1, 2.24354153e-08, -0.737842202, 2.4205583e-06, 0.674973369) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1256. CFrame.new(1.67408049, 0.116924986, -0.235040307, 0.93551451, -0.291971684, 0.198909909, 0.329377055, 0.924430549, -0.192195028, -0.127762914, 0.245317593, 0.960987091) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1257. CFrame.new(-1.58664989, 0.765351355, -0.846855521, -0.120212317, 0.321875662, -0.939119458, -0.987918437, -0.131986037, 0.0812216997, -0.0978073403, 0.937537193, 0.333853245) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1258. CFrame.new(0.766593277, -1.96006727, -0.107848071, 0.976080298, -0.137189135, 0.168661386, 0.138399139, 0.990365744, 0.00461723236, -0.167669922, 0.0188358091, 0.985663354) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1259. CFrame.new(-0.403303981, -1.99999976, -0.0619408637, 0.984807789, -2.66062125e-06, 0.173648238, 2.98927625e-06, 1, -1.63115692e-06, -0.173648268, 2.1254591e-06, 0.98480773) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1260. }, .3, false)
  1261. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, 0, Mouse.Hit.p.Z))
  1262. end
  1263. humanoid.AutoRotate = true
  1264. Attack = false
  1265. while orb1 do
  1266. swait()
  1267. MagnitudeDamage(orb1, 4, 0, 0, 100, "Normal", "112503990", 1)
  1268. end
  1269.  
  1270. end
  1271.  
  1272.  
  1273. function roketlunch()
  1274. Attack = true
  1275. humanoid.WalkSpeed = 0
  1276. humanoid.JumpPower = 0
  1277. RHandle.Transparency = 0
  1278. Sword.Transparency = 1
  1279. for i = 0, 1, 0.1 do
  1280. swait()
  1281. PlayAnimationFromTable({
  1282. CFrame.new(-0.0142319212, 0.0233183783, 0.0206877608, 1.00000012, 1.49011612e-08, 2.98023224e-08, 2.72463048e-08, 0.984807968, 0.173647314, 2.98023224e-08, -0.17364724, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1283. CFrame.new(0.0154076805, 1.5522356, -0.0916171968, 0.999084175, 0.0180828422, -0.0387787819, -0.00742995739, 0.9658584, 0.258964151, 0.0421376526, -0.258438855, 0.965108156) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1284. CFrame.new(1.28755724, 0.00418370962, -0.0650342703, 0.890014946, 0.230696142, -0.393259257, -0.298804998, 0.946620405, -0.120936036, 0.344367683, 0.225142673, 0.911439359) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1285. CFrame.new(-1.59552705, 0.053297095, -0.298519343, 0.986049891, 0.15347448, -0.0644321442, -0.162331849, 0.801095366, -0.576103032, -0.036800772, 0.578525543, 0.814833522) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1286. CFrame.new(0.573113441, -1.8059541, -0.374102622, 0.999206126, -0.0373207629, 0.0139417946, 0.0392762311, 0.98143959, -0.187706873, -0.00667765737, 0.188105404, 0.982126117) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1287. CFrame.new(-0.433013678, -1.95186841, 0.175973177, 1, 0, 2.98023224e-08, 0, 0.98480773, 0.173648328, 2.98023224e-08, -0.173648328, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1288. }, .3, false)
  1289. end
  1290.  
  1291.  
  1292. for i = 0, 3, 0.1 do
  1293. swait()
  1294. PlayAnimationFromTable({
  1295. CFrame.new(-0.0142319426, -1.08839262, 0.0206871927, 1.00000012, 1.49011612e-08, 2.98023224e-08, 2.72463048e-08, 0.984807968, 0.173647314, 2.98023224e-08, -0.17364724, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1296. CFrame.new(0.0154080922, 1.55223548, -0.0916156173, 0.999084175, 0.0180828422, -0.0387787819, -0.00742995739, 0.9658584, 0.258964151, 0.0421376526, -0.258438855, 0.965108156) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1297. CFrame.new(0.428888142, 0.573096275, -1.0865351, 0.629741013, 0.73693651, -0.245664269, -0.133446366, -0.208918005, -0.968785584, -0.765257001, 0.64286691, -0.0332227312) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1298. CFrame.new(-1.24049437, 0.563232303, -0.47247985, 0.974705219, -0.150607079, -0.165128678, -0.176947653, -0.0686892122, -0.981820583, 0.136526525, 0.986204565, -0.0936013013) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1299. CFrame.new(0.542829335, -1.05595815, -0.494429678, 0.999206185, -0.0391747355, 0.00724902749, 0.0392762125, 0.999124289, -0.0144301355, -0.00667738914, 0.0147034377, 0.999869585) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1300. CFrame.new(-0.433013409, -1.47995389, 0.259185165, 1, -2.98023224e-08, 0, 0, 0.17364727, 0.984807968, 2.98023224e-08, -0.984807849, 0.173647255) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1301. }, .3, false)
  1302. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, 0, Mouse.Hit.p.Z))
  1303. end
  1304.  
  1305. local roket=CFuncs.Part.Create(Torso, "Neon", 0, 0, BrickColor.new("Gold"), "ref", Vector3.new(1,1,2))
  1306. roket.Anchored=false
  1307. roket.CanCollide=true
  1308. local roketsped = 100
  1309. local spawnPosition = (RootPart.CFrame * CFrame.new(0, 0, -6)).p
  1310. roket.CFrame = CFrame.new(spawnPosition, Mouse.hit.p) --NOTE: This must be done before assigning Parent
  1311. roket.Velocity = roket.CFrame.lookVector * roketsped
  1312. CFuncs.Sound.Create("31761785", roket, 3, 1)
  1313. local GRAVITY_ACCELERATION = 196.2
  1314. local bodyForce = Instance.new('BodyForce', roket)
  1315. bodyForce.Name = 'Antigravity'
  1316. bodyForce.force = Vector3.new(0, roket:GetMass() * GRAVITY_ACCELERATION, 0)
  1317.  
  1318. game:GetService("Debris"):AddItem(roket, 8)
  1319. local con = roket.Touched:connect(function(hit)
  1320. MagnitudeDamage(roket, 10, 0, 0, 100, "Normal", "112503990", 1) Effects.Sphere.Create(BrickColor.new(roket.Color), roket.CFrame, 3, 3, 3, 3, 3, 3, 0.03) roket.Transparency = 1 CFuncs.Sound.Create("169628396", Character, .1, 1) local boo = Instance.new("Explosion", roket) boo.Position = roket.Position boo.BlastRadius = 30
  1321. boo.BlastPressure = 500 roket:Destroy() end)
  1322. for i = 0, 2, 0.1 do
  1323. swait()
  1324. PlayAnimationFromTable({
  1325. CFrame.new(-0.0142334783, -1.08840001, 0.0206862688, 1.00000119, 7.67409801e-07, -2.98023224e-08, 6.21078584e-07, 0.984811127, -0.173649758, 2.38418579e-07, 0.173647732, 0.984807074) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1326. CFrame.new(-0.0153429285, 1.61389816, 0.0791989863, 0.999084234, -0.0110745579, -0.0413306355, 0.00743017718, 0.996153533, -0.0873102993, 0.0421385169, 0.0869232267, 0.995323479) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1327. CFrame.new(0.489735812, 0.316905022, -1.24634087, 0.629742265, 0.683080673, -0.369899511, -0.387131512, -0.136858344, -0.911810875, -0.67346406, 0.717405558, 0.178256541) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1328. CFrame.new(-1.24049377, 0.367668957, -0.636619806, 0.974705458, -0.198001236, -0.103657492, -0.119579755, -0.0701957047, -0.990339994, 0.188812226, 0.977685094, -0.092097044) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1329. CFrame.new(0.542830348, -1.16139019, -0.103446305, 0.999207258, -0.0391742066, 0.00724938512, 0.0346246623, 0.943902194, 0.328414857, -0.0197079182, -0.327904552, 0.944504917) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1330. CFrame.new(-0.433018923, -1.30207276, 0.749731183, 1.00000107, -2.38418579e-07, 6.00692658e-07, 7.78585672e-07, -0.173647717, 0.984811127, 5.96046448e-08, -0.984807074, -0.173649803) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1331. }, .3, false)
  1332. Torso.Velocity=RootPart.CFrame.lookVector*-20
  1333. RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, 0, Mouse.Hit.p.Z))
  1334. end
  1335. RHandle.Transparency = 1
  1336. Sword.Transparency = 0
  1337.  
  1338. humanoid.WalkSpeed = 13
  1339. humanoid.JumpPower = 60
  1340. Attack = false
  1341. end
  1342.  
  1343.  
  1344.  
  1345. function fireinDhole()
  1346. Attack = true
  1347. local bomb1=CFuncs.Part.Create(Torso, "Neon", 0, 0, BrickColor.new("Crimson"), "ref", Vector3.new(1,1,1))
  1348. bomb1.Anchored=true
  1349. bomb1.CanCollide=true
  1350. game:GetService("Debris"):AddItem(orb1, 10)
  1351. bomb1.Elasticity = .3
  1352. local mbewm2 = Instance.new("SpecialMesh", bomb1)
  1353. mbewm2.MeshId = "rbxassetid://29515710"
  1354. mbewm2.TextureId = "rbxassetid://30820395"
  1355. mbewm2.Scale = Vector3.new(1,1,1)
  1356.  
  1357. CFuncs.Sound.Create("11565378", bomb1, 1, 1)
  1358. for i = 0, 2, 0.1 do
  1359. swait()
  1360. PlayAnimationFromTable({
  1361. CFrame.new(-0.0142339477, 0.0233179312, 0.0206872448, 0.642789185, 7.39382813e-08, 0.766043305, -4.8651782e-07, 1, 3.11712938e-07, -0.766043305, -5.73050784e-07, 0.642789245) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1362. CFrame.new(-3.34310243e-06, 1.49992716, -2.40420513e-06, 0.609423697, -6.78923243e-07, -0.792844892, 8.58872227e-08, 1, -7.90281774e-07, 0.792844832, 4.13525413e-07, 0.609423757) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1363. CFrame.new(1.70033991, 0.0784267411, 0.291652292, 0.980928302, -0.190888226, -0.0366283059, 0.192193046, 0.924432218, 0.329373628, -0.0290131569, -0.330131561, 0.943489075) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1364. CFrame.new(-1.66880238, 0.166423663, -0.183722675, 0.845035851, 0.182852611, -0.502473533, -0.291941375, 0.945062757, -0.147059917, 0.447978795, 0.270963728, 0.851994097) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1365. CFrame.new(0.596234262, -2.04406619, 0.245654553, 0.999976635, 0.00595425069, -0.00338888168, -0.00461965939, 0.95128876, 0.308266908, 0.00505927205, -0.308244109, 0.951293945) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1366. CFrame.new(-0.699660361, -2.00000048, 0.0218301564, 0.984807849, -4.44691977e-07, 0.173648536, 4.41870725e-07, 1, 5.48861863e-08, -0.173648536, 2.26791599e-08, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1367. }, .3, false)
  1368. bomb1.CFrame = Dodgebox.CFrame
  1369. end
  1370. for i = 0, .5, 0.1 do
  1371. swait()
  1372. PlayAnimationFromTable({
  1373. CFrame.new(-0.0142358784, 0.0233174488, 0.0206872076, 0.642785072, 3.25146175e-06, -0.766046703, -2.37840504e-06, 1, 2.24876021e-06, 0.766046762, 3.76494427e-07, 0.642785072) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1374. CFrame.new(-5.94174753e-06, 1.49992752, 6.44530655e-06, 0.674973369, -2.24472751e-06, 0.737842202, 3.30112925e-06, 1, 2.24354153e-08, -0.737842202, 2.4205583e-06, 0.674973369) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1375. CFrame.new(1.67408049, 0.116924986, -0.235040307, 0.93551451, -0.291971684, 0.198909909, 0.329377055, 0.924430549, -0.192195028, -0.127762914, 0.245317593, 0.960987091) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1376. CFrame.new(-1.53036773, 0.2318203, -0.558730543, 0.939119756, 0.343578428, -0.00287370384, -0.0812207609, 0.213862434, -0.973481536, -0.333852679, 0.914449036, 0.228748128) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1377. CFrame.new(0.766593277, -1.96006727, -0.107848071, 0.976080298, -0.137189135, 0.168661386, 0.138399139, 0.990365744, 0.00461723236, -0.167669922, 0.0188358091, 0.985663354) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1378. CFrame.new(-0.403303981, -1.99999976, -0.0619408637, 0.984807789, -2.66062125e-06, 0.173648238, 2.98927625e-06, 1, -1.63115692e-06, -0.173648268, 2.1254591e-06, 0.98480773) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1379. }, .3, false)
  1380. bomb1.CFrame = Dodgebox.CFrame
  1381. end
  1382. bomb1.CFrame = RootPart.CFrame * CFrame.new(0,0,-3)
  1383. bomb1.Anchored=false
  1384. bomb1.Velocity=RootPart.CFrame.lookVector*50
  1385. for i = 0, .5, 0.1 do
  1386. swait()
  1387. PlayAnimationFromTable({
  1388. CFrame.new(-0.0142358784, 0.0233174488, 0.0206872076, 0.642785072, 3.25146175e-06, -0.766046703, -2.37840504e-06, 1, 2.24876021e-06, 0.766046762, 3.76494427e-07, 0.642785072) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1389. CFrame.new(-5.94174753e-06, 1.49992752, 6.44530655e-06, 0.674973369, -2.24472751e-06, 0.737842202, 3.30112925e-06, 1, 2.24354153e-08, -0.737842202, 2.4205583e-06, 0.674973369) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1390. CFrame.new(1.67408049, 0.116924986, -0.235040307, 0.93551451, -0.291971684, 0.198909909, 0.329377055, 0.924430549, -0.192195028, -0.127762914, 0.245317593, 0.960987091) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1391. CFrame.new(-1.53036773, 0.2318203, -0.558730543, 0.939119756, 0.343578428, -0.00287370384, -0.0812207609, 0.213862434, -0.973481536, -0.333852679, 0.914449036, 0.228748128) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1392. CFrame.new(0.766593277, -1.96006727, -0.107848071, 0.976080298, -0.137189135, 0.168661386, 0.138399139, 0.990365744, 0.00461723236, -0.167669922, 0.0188358091, 0.985663354) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1393. CFrame.new(-0.403303981, -1.99999976, -0.0619408637, 0.984807789, -2.66062125e-06, 0.173648238, 2.98927625e-06, 1, -1.63115692e-06, -0.173648268, 2.1254591e-06, 0.98480773) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1394. }, .3, false)
  1395. end
  1396. Attack = false
  1397. wait(4)
  1398. MagnitudeDamage(bomb1, 30, 0, 0, 400, "Normal", "112503990", 1)
  1399. Effects.Sphere.Create(BrickColor.new(Torso.Color), bomb1.CFrame, 3, 3, 3, 3, 3, 3, 0.03)
  1400. CFuncs.Sound.Create("169628396", bomb1, 3, 1)
  1401. bomb1.Transparency = 1
  1402. bomb1.Anchored=true
  1403. bomb1.CanCollide=false
  1404. local boo = Instance.new("Explosion", bomb1)
  1405. boo.Position = bomb1.Position
  1406. boo.BlastRadius = 30
  1407. boo.BlastPressure = 500
  1408. end
  1409.  
  1410.  
  1411.  
  1412.  
  1413.  
  1414. Mouse.KeyDown:connect(function(Key)
  1415. Key = Key:lower()
  1416. if Attack == false and Key == 'z' then
  1417. dodgeball()
  1418. elseif Attack == false and Key == 'x' then
  1419. roketlunch()
  1420. elseif Attack == false and Key == 'c' then
  1421. fireinDhole()
  1422. end
  1423. end)
  1424.  
  1425.  
  1426.  
  1427. Mouse.Button1Up:connect(function()
  1428. if Attack == false and Combo== 1 then
  1429. basicatk1()
  1430. Combo=2
  1431. elseif Attack == false and Combo== 2 then
  1432. basicatk2()
  1433. Combo=3
  1434. elseif Attack == false and Combo== 3 then
  1435. basicatk3()
  1436. Combo=1
  1437. end
  1438. end)
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444. --{{Linked Sword remake by SezHu. Made for WolfyKi11er.}}--
  1445. while true do
  1446. swait()
  1447. for i, v in pairs(Character:GetChildren()) do
  1448. if v:IsA("Part") then
  1449. v.Material = "SmoothPlastic"
  1450. elseif v:IsA("Accessory") then
  1451. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1452. end
  1453. end
  1454. for i, v in pairs(Character:GetChildren()) do
  1455. if v:IsA'Model' then
  1456. for _, c in pairs(v:GetChildren()) do
  1457. if c:IsA'Part' then
  1458. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1459. end
  1460. end
  1461. end
  1462. end
  1463. TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1464. Velocity = RootPart.Velocity.y
  1465. Sine = Sine + Change
  1466. local hit, pos = RayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1467. if RootPart.Velocity.y > 1 and hit == nil then
  1468. Anim = "Jump"
  1469. if Attack == false then
  1470. Change = 1
  1471. PlayAnimationFromTable({
  1472. CFrame.new(-0.0142319221, 0.0233184248, 0.0206878185, 1.00000012, 1.49011612e-08, 0, 2.72463048e-08, 0.965925992, 0.258818656, 2.98023224e-08, -0.258818597, 0.965925932) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1473. CFrame.new(0.0172861218, 1.54588914, -0.00366462767, 0.999084175, 0.00742999092, -0.0421376228, -0.011074245, 0.996153653, -0.0869220346, 0.0413297117, 0.0873090774, 0.995323658) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1474. CFrame.new(1.54051697, 0.254249156, -0.521965742, 0.890014946, -0.152965426, -0.429505706, -0.32768172, 0.440404594, -0.835864007, 0.317014515, 0.884672523, 0.341842651) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1475. CFrame.new(-1.55745959, 0.112057857, 0.343250573, 0.986049891, 0.113037676, 0.12218184, -0.158506706, 0.861737013, 0.481959641, -0.050808996, -0.49460274, 0.867632747) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1476. CFrame.new(0.566533923, -1.59700418, -0.481964171, 0.999206185, -0.0385679156, -0.00998616219, 0.0397087261, 0.94381088, 0.328091979, -0.00322881341, -0.328228056, 0.944592893) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1477. CFrame.new(-0.433014154, -1.95977831, 0.0051856637, 1, 0, 0, 0, 0.965925813, 0.258819401, -2.98023224e-08, -0.258819431, 0.965925753) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1478. }, .3, false)
  1479. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 1)
  1480. end
  1481. elseif RootPart.Velocity.y < -1 and hit == nil then
  1482. Anim = "Fall"
  1483. if Attack == false then
  1484. Change = 1
  1485. PlayAnimationFromTable({
  1486. CFrame.new(-0.0142319212, 0.0233183783, 0.0206877608, 1.00000012, 1.49011612e-08, 2.98023224e-08, 2.72463048e-08, 0.984807968, 0.173647314, 2.98023224e-08, -0.17364724, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1487. CFrame.new(0.0154076805, 1.5522356, -0.0916171968, 0.999084175, 0.0180828422, -0.0387787819, -0.00742995739, 0.9658584, 0.258964151, 0.0421376526, -0.258438855, 0.965108156) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1488. CFrame.new(1.44003379, 0.0510732532, -0.418421805, 0.890014946, -0.0760585517, -0.449542671, -0.298804998, 0.647417247, -0.701118112, 0.344367683, 0.75833106, 0.553484201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1489. CFrame.new(-1.55745959, 0.141547889, 0.332177758, 0.986049891, 0.113037676, 0.12218184, -0.162331849, 0.815350056, 0.555745184, -0.036800772, -0.567826271, 0.822325349) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1490. CFrame.new(0.573113441, -1.8059541, -0.374102622, 0.999206126, -0.0373207629, 0.0139417946, 0.0392762311, 0.98143959, -0.187706873, -0.00667765737, 0.188105404, 0.982126117) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1491. CFrame.new(-0.433013678, -1.95186841, 0.175973177, 1, 0, 2.98023224e-08, 0, 0.98480773, 0.173648328, 2.98023224e-08, -0.173648328, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1492. }, .3, false)
  1493. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 1)
  1494. end
  1495. elseif TorsoVelocity < 1 and hit ~= nil then
  1496. Anim = "Idle"
  1497. if Attack == false then
  1498. Change = 1
  1499. PlayAnimationFromTable({
  1500. CFrame.new(-0.014233104, 0.0233179983, 0.020687025, 0.866024911, 0, -0.500000954, 0, 1, 0, 0.500000954, 0, 0.866024852) * CFrame.new(0, 0 + .05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0),
  1501. CFrame.new(0, 1.49992597, 0, 0.886625588, 0, 0.462487936, 0, 1, 0, -0.462487817, 0, 0.886625707) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .08 * math.cos(Sine/25), 0, 0),
  1502. CFrame.new(1.70001733, 0.169989109, 0.310000241, 0.827918112, -0.251382649, -0.501356483, 0.215029001, 0.967887759, -0.130214334, 0.51799041, 6.03497028e-07, 0.855386436) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0 + 2 * math.cos(Sine/25)), math.rad(0), math.rad(0)),
  1503. CFrame.new(-1.61998975, 0.0599977374, 2.55400209e-06, 0.981399894, 0.191975057, 4.17232513e-07, -0.191975072, 0.981399834, 9.87734779e-07, -2.38418579e-07, -1.05053186e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0 - 2 * math.cos(Sine/25))),
  1504. CFrame.new(0.649993002, -1.99999797, 9.67067535e-07, 0.98969245, -0.143209025, 1.16229057e-06, 0.14320904, 0.98969245, -1.03930267e-06, -1.01327896e-06, 1.19954348e-06, 1) * CFrame.new(0, 0 - .08 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0 + .01 * math.cos(Sine/25)),
  1505. CFrame.new(-0.500000954, -2, -9.53674316e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 - .08 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0),
  1506. }, .3, false)
  1507. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 1)
  1508. end
  1509. elseif TorsoVelocity > 2 and hit ~= nil then
  1510. Anim = "Walk"
  1511. if Attack == false then
  1512. PlayAnimationFromTable({
  1513. CFrame.new(-0.0142326364, 0.023318341, 0.0206875801, 1.00000012, 1.5803721e-08, 5.96046448e-08, 2.72463048e-08, 1, 5.61747235e-08, 2.98023224e-08, 2.44280045e-08, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(-.2, math.rad(0 - 10 * math.cos(Sine/6)/2), 0),
  1514. CFrame.new(1.03447394e-06, 1.49992573, -8.27737608e-07, 0.999084234, 2.72463048e-08, -0.0427876711, 2.93197502e-08, 1, 2.55612349e-08, 0.0427877009, 5.61747235e-08, 0.999084353) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1515. CFrame.new(1.66816366, 0.125450149, 0.167713135, 0.975411952, -0.217704624, -0.0342991352, 0.22028406, 0.9678877, 0.12111339, 0.0068307519, -0.125690982, 0.992045999) * CFrame.new(0, 0, 0 + .2 * math.cos(Sine/6)/2) * CFrame.Angles(math.rad(0 - 30 * math.cos(Sine/6)/2), 0, 0),
  1516. CFrame.new(-1.58983934, 0.0268005617, -0.146883398, 0.986049891, 0.166255936, -0.00805497169, -0.16625604, 0.981399775, -0.0959867239, -0.00805321336, 0.0959868878, 0.995350063) * CFrame.new(0, 0, 0 - .3 * math.cos(Sine/6)/2) * CFrame.Angles(math.rad(0 + 30 * math.cos(Sine/6)/2), 0, 0),
  1517. CFrame.new(.5, -1.64 - 0.8 * math.cos(Sine / 6) / 2, 0 + 2 * math.sin(Sine / 6) / 3) * CFrame.Angles(math.rad(-50 * math.sin(Sine / 6)), math.rad(-3), math.rad(0)),
  1518. CFrame.new(-.5, -1.64 + 0.8 * math.cos(Sine / 6) / 2, 0 - 2 * math.sin(Sine / 6) / 3) * CFrame.Angles(math.rad(50 * math.sin(Sine / 6)), math.rad(3), math.rad(0)),}, .3, false)
  1519. FSwordHandleWeld.C0 = clerp(FSwordHandleWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 1)
  1520. end
  1521. end
  1522.  
  1523. if #Effects > 0 then
  1524. for e = 1, #Effects do
  1525. if Effects[e] ~= nil then
  1526. local Thing = Effects[e]
  1527. if Thing ~= nil then
  1528. local Part = Thing[1]
  1529. local Mode = Thing[2]
  1530. local Delay = Thing[3]
  1531. local IncX = Thing[4]
  1532. local IncY = Thing[5]
  1533. if Thing[1].Transparency <= 1 then
  1534. if Thing[2] == "Block1" then
  1535. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1536. Mesh = Thing[7]
  1537. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1538. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1539. elseif Thing[2] == "Ice" then
  1540. if Thing[6] <= Thing[5] then
  1541. Thing[6] = Thing[6] + .05
  1542. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .4, 0)
  1543. else
  1544. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1545. end
  1546. elseif Thing[2] == "Shatter" then
  1547. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1548. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1549. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1550. Thing[6] = Thing[6] + Thing[5]
  1551. elseif Thing[2] == "Block2" then
  1552. Thing[1].CFrame = Thing[1].CFrame
  1553. Mesh = Thing[7]
  1554. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1555. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1556. elseif Thing[2] == "Block3" then
  1557. Thing[1].CFrame = Thing[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1558. Mesh = Thing[7]
  1559. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1560. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1561. elseif Thing[2] == "Block4" then
  1562. Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[7].Scale.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0)
  1563. Mesh = Thing[7]
  1564. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1565. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1566. elseif Thing[2] == "Block2Fire" then
  1567. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1568. Mesh = Thing[7]
  1569. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1570. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1571. if Thing[1].Transparency >= .3 then
  1572. Thing[1].BrickColor = BrickColor.new("Bright red")
  1573. else
  1574. Thing[1].BrickColor = BrickColor.new("Bright yellow")
  1575. end
  1576. elseif Thing[2] == "Cylinder" then
  1577. Mesh = Thing[7]
  1578. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1579. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1580. elseif Thing[2] == "Blood" then
  1581. Mesh = Thing[7]
  1582. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, -.5, 0)
  1583. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1584. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1585. elseif Thing[2] == "Elec" then
  1586. Mesh = Thing[10]
  1587. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1588. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1589. Thing[1].CFrame = Thing[1].CFrame * Thing[11] * CFrame.new(0, 0, .2)
  1590. Thing[1].Rotation = Vector3.new(0, 0, 0)
  1591. elseif Thing[2] == "Disappear" then
  1592. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1593. end
  1594. else
  1595. Part.Parent = nil
  1596. table.remove(Effects, e)
  1597. end
  1598. end
  1599. end
  1600. end
  1601. end
  1602. unanchor()
  1603. Humanoid.MaxHealth = 15e15
  1604. Humanoid.Health = 15e15
  1605. if Rooted == false then
  1606. Disable_Jump = false
  1607. Humanoid.WalkSpeed = Speed
  1608. elseif Rooted == true then
  1609. Disable_Jump = true
  1610. Humanoid.WalkSpeed = 0
  1611. end
  1612. refit()
  1613. end
  1614. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement