Advertisement
memberhero

Duelist 2.0 Gui Edition

Jan 4th, 2018
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 89.76 KB | None | 0 0
  1. ---Fixed Damage by basstracker1970
  2. ---First Time Fixing Damage
  3. ---Without Useing TakeDamage function
  4. wait(1/60)
  5. script.Name = "Chaos"
  6. local Player = game.Players.LocalPlayer
  7. local Character = Player.Character
  8. local C_Fold = Instance.new("Folder", game:GetService("ServerStorage")) C_Fold.Name = "Chaos Folder"
  9. script.Parent = C_Fold
  10. if script.ClassName == "LocalScript" or script.ClassName == "Script" then
  11. if game.CreatorId == 0 then
  12. script.Parent = C_Fold
  13. else
  14. local Environment = getfenv(getmetatable(LoadLibrary"RbxUtility".Create).__call)
  15. local oxbox = getfenv() setfenv(1, setmetatable({}, {__index = Environment}))
  16. oxbox.script:Destroy()
  17. C_Fold.Parent = game:GetService("ServerStorage")
  18. end
  19. end
  20. if script ~= true then
  21. C_Fold:Destroy()
  22. --print("Weapon Loaded")
  23. --Player["PlayerScripts"] = nil
  24. else
  25. --warn("wha")
  26. end
  27.  
  28.  
  29. wait(1 / 60)
  30. Effects = { }
  31. local Humanoid = Character.Humanoid
  32. local mouse = Player:GetMouse()
  33. local m = Instance.new('Model', Character)
  34. m.Name = "WeaponModel"
  35. local LeftArm = Character["Left Arm"]
  36. local RightArm = Character["Right Arm"]
  37. local LeftLeg = Character["Left Leg"]
  38. local RightLeg = Character["Right Leg"]
  39. local Head = Character.Head
  40. local Torso = Character.Torso
  41. local cam = game.Workspace.CurrentCamera
  42. local RootPart = Character.HumanoidRootPart
  43. local RootJoint = RootPart.RootJoint
  44. local equipped = false
  45. local attack = false
  46. local Anim = 'Idle'
  47. local idle = 0
  48. local attacktype = 1
  49. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  50. local velocity = RootPart.Velocity.y
  51. local sine = 0
  52. local change = 1
  53. local grabbed = false
  54. local cn = CFrame.new
  55. local mr = math.rad
  56. local angles = CFrame.Angles
  57. local ud = UDim2.new
  58. local c3 = Color3.new
  59.  
  60. Humanoid.Animator.Parent = nil
  61. Character.Animate.Parent = nil
  62.  
  63. local newMotor = function(part0, part1, c0, c1)
  64. local w = Instance.new('Motor', part0)
  65. w.Part0 = part0
  66. w.Part1 = part1
  67. w.C0 = c0
  68. w.C1 = c1
  69. return w
  70. end
  71.  
  72. function clerp(a, b, t)
  73. return a:lerp(b, t)
  74. end
  75.  
  76. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  77. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  78.  
  79. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  80. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  81. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  82. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  83. RootJoint.C1 = CFrame.new(0, 0, 0)
  84. RootJoint.C0 = CFrame.new(0, 0, 0)
  85. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  86. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  87.  
  88. local rarmc1 = RW.C1
  89. local larmc1 = LW.C1
  90. local rlegc1 = RH.C1
  91. local llegc1 = LH.C1
  92.  
  93. local resetc1 = false
  94.  
  95. function PlayAnimationFromTable(table, speed, bool)
  96. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  97. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  98. RW.C0 = clerp(RW.C0, table[3], speed)
  99. LW.C0 = clerp(LW.C0, table[4], speed)
  100. RH.C0 = clerp(RH.C0, table[5], speed)
  101. LH.C0 = clerp(LH.C0, table[6], speed)
  102. if bool == true then
  103. if resetc1 == false then
  104. resetc1 = true
  105. RootJoint.C1 = RootJoint.C1
  106. Torso.Neck.C1 = Torso.Neck.C1
  107. RW.C1 = rarmc1
  108. LW.C1 = larmc1
  109. RH.C1 = rlegc1
  110. LH.C1 = llegc1
  111. end
  112. end
  113. end
  114.  
  115. --[[Credits to SazErenos for his Artificial Heartbeat]]--
  116.  
  117. ArtificialHB = Instance.new("BindableEvent", Player.PlayerGui)
  118. ArtificialHB.Name = "Heartbeat"
  119.  
  120. Player.PlayerGui:WaitForChild("Heartbeat")
  121.  
  122. frame = 1 / 30
  123. tf = 0
  124. allowframeloss = false
  125. tossremainder = false
  126. lastframe = tick()
  127. Player.PlayerGui.Heartbeat:Fire()
  128. local gg=false
  129. game:GetService("RunService").Heartbeat:connect(function(s, p)
  130. if Player.PlayerGui:FindFirstChild("Heartbeat") == nil then gg=true end
  131. if gg==true then return end
  132. tf = tf + s
  133. if tf >= frame then
  134. if allowframeloss then
  135. Player.PlayerGui.Heartbeat:Fire()
  136. lastframe = tick()
  137. else
  138. for i = 1, math.floor(tf / frame) do
  139. Player.PlayerGui.Heartbeat:Fire()
  140. end
  141. lastframe = tick()
  142. end
  143. if tossremainder then
  144. tf = 0
  145. else
  146. tf = tf - frame * math.floor(tf / frame)
  147. end
  148. end
  149. end)
  150.  
  151. function swait(num)
  152. if num == 0 or num == nil then
  153. ArtificialHB.Event:wait()
  154. else
  155. for i = 0, num do
  156. ArtificialHB.Event:wait()
  157. end
  158. end
  159. end
  160.  
  161.  
  162.  
  163. local RbxUtility = LoadLibrary("RbxUtility")
  164. local Create = RbxUtility.Create
  165.  
  166. function RemoveOutlines(part)
  167. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  168. end
  169.  
  170. CFuncs = {
  171. ["Part"] = {
  172. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  173. local Part = Create("Part"){
  174. Parent = Parent,
  175. Reflectance = Reflectance,
  176. Transparency = Transparency,
  177. CanCollide = false,
  178. Locked = true,
  179. BrickColor = BrickColor.new(tostring(BColor)),
  180. Name = Name,
  181. Size = Size,
  182. Material = Material,
  183. }
  184. RemoveOutlines(Part)
  185. return Part
  186. end;
  187. };
  188.  
  189. ["Mesh"] = {
  190. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  191. local Msh = Create(Mesh){
  192. Parent = Part,
  193. Offset = OffSet,
  194. Scale = Scale,
  195. }
  196. if Mesh == "SpecialMesh" then
  197. Msh.MeshType = MeshType
  198. Msh.MeshId = MeshId
  199. end
  200. return Msh
  201. end;
  202. };
  203.  
  204. ["Mesh"] = {
  205. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  206. local Msh = Create(Mesh){
  207. Parent = Part,
  208. Offset = OffSet,
  209. Scale = Scale,
  210. }
  211. if Mesh == "SpecialMesh" then
  212. Msh.MeshType = MeshType
  213. Msh.MeshId = MeshId
  214. end
  215. return Msh
  216. end;
  217. };
  218.  
  219. ["Weld"] = {
  220. Create = function(Parent, Part0, Part1, C0, C1)
  221. local Weld = Create("Weld"){
  222. Parent = Parent,
  223. Part0 = Part0,
  224. Part1 = Part1,
  225. C0 = C0,
  226. C1 = C1,
  227. }
  228. return Weld
  229. end;
  230. };
  231.  
  232. ["Sound"] = {
  233. Create = function(id, par, vol, pit)
  234. coroutine.resume(coroutine.create(function()
  235. local S = Create("Sound"){
  236. Volume = vol,
  237. Pitch = pit or 1,
  238. SoundId = id,
  239. Parent = par or workspace,
  240. }
  241. wait()
  242. S:play()
  243. game:GetService("Debris"):AddItem(S, 6)
  244. end))
  245. end;
  246. };
  247.  
  248. ["ParticleEmitter"] = {
  249. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  250. local fp = Create("ParticleEmitter"){
  251. Parent = Parent,
  252. Color = ColorSequence.new(Color1, Color2),
  253. LightEmission = LightEmission,
  254. Size = Size,
  255. Texture = Texture,
  256. Transparency = Transparency,
  257. ZOffset = ZOffset,
  258. Acceleration = Accel,
  259. Drag = Drag,
  260. LockedToPart = LockedToPart,
  261. VelocityInheritance = VelocityInheritance,
  262. EmissionDirection = EmissionDirection,
  263. Enabled = Enabled,
  264. Lifetime = LifeTime,
  265. Rate = Rate,
  266. Rotation = Rotation,
  267. RotSpeed = RotSpeed,
  268. Speed = Speed,
  269. VelocitySpread = VelocitySpread,
  270. }
  271. return fp
  272. end;
  273. };
  274. }
  275.  
  276. function rayCast(Position, Direction, Range, Ignore)
  277. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  278. end
  279.  
  280. local function GetNearest(obj, distance)
  281. local last, lastx = distance + 1
  282. for i, v in pairs(workspace:GetChildren()) do
  283. if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
  284. local t = v.Torso
  285. local dist = (t.Position - obj.Position).magnitude
  286. if dist <= distance then
  287. if dist < last then
  288. last = dist
  289. lastx = v
  290. end
  291. end
  292. end
  293. end
  294. return lastx
  295. end
  296.  
  297. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  298. local Part = Create("Part"){
  299. Parent = Parent,
  300. Reflectance = Reflectance,
  301. Transparency = Transparency,
  302. CanCollide = false,
  303. Locked = true,
  304. BrickColor = BrickColor.new(tostring(BColor)),
  305. Name = Name,
  306. Size = Size,
  307. Material = Material,
  308. }
  309. RemoveOutlines(Part)
  310. return Part
  311. end
  312.  
  313. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  314. local Msh = Create(Mesh){
  315. Parent = Part,
  316. Offset = OffSet,
  317. Scale = Scale,
  318. }
  319. if Mesh == "SpecialMesh" then
  320. Msh.MeshType = MeshType
  321. Msh.MeshId = MeshId
  322. end
  323. return Msh
  324. end
  325.  
  326. function CreateWeld(Parent, Part0, Part1, C0, C1)
  327. local Weld = Create("Weld"){
  328. Parent = Parent,
  329. Part0 = Part0,
  330. Part1 = Part1,
  331. C0 = C0,
  332. C1 = C1,
  333. }
  334. return Weld
  335. end
  336.  
  337. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  338. if hit.Parent == nil then
  339. return
  340. end
  341. local h = hit.Parent:FindFirstChild("Humanoid")
  342. for _, v in pairs(hit.Parent:children()) do
  343. if v:IsA("Humanoid") then
  344. h = v
  345. end
  346. end
  347. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  348. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  349. if hit.Parent.DebounceHit.Value == true then
  350. return
  351. end
  352. end
  353. local c = Create("ObjectValue"){
  354. Name = "creator",
  355. Value = game:service("Players").LocalPlayer,
  356. Parent = h,
  357. }
  358. game:GetService("Debris"):AddItem(c, .5)
  359. if HitSound ~= nil and HitPitch ~= nil then
  360. CreateSound(HitSound, hit, 1, HitPitch)
  361. end
  362. local Damage = math.random(minim, maxim)
  363. local blocked = false
  364. local block = hit.Parent:findFirstChild("Block")
  365. if block ~= nil then
  366. if block.className == "IntValue" then
  367. if block.Value > 0 then
  368. blocked = true
  369. block.Value = block.Value - 1
  370. print(block.Value)
  371. end
  372. end
  373. end
  374. if blocked == false then
  375. h.Health = h.Health - Damage
  376. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  377. else
  378. h.Health = h.Health - (Damage / 2)
  379. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  380. end
  381. if Type == "Knockdown" then
  382. local hum = hit.Parent.Humanoid
  383. hum.PlatformStand = true
  384. coroutine.resume(coroutine.create(function(HHumanoid)
  385. swait(1)
  386. HHumanoid.PlatformStand = false
  387. end), hum)
  388. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  389. local bodvol = Create("BodyVelocity"){
  390. velocity = angle * knockback,
  391. P = 5000,
  392. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  393. Parent = hit,
  394. }
  395. local rl = Create("BodyAngularVelocity"){
  396. P = 3000,
  397. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  398. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  399. Parent = hit,
  400. }
  401. game:GetService("Debris"):AddItem(bodvol, .5)
  402. game:GetService("Debris"):AddItem(rl, .5)
  403. elseif Type == "Normal" then
  404. local vp = Create("BodyVelocity"){
  405. P = 500,
  406. maxForce = Vector3.new(math.huge, 0, math.huge),
  407. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  408. }
  409. if knockback > 0 then
  410. vp.Parent = hit.Parent.Torso
  411. end
  412. game:GetService("Debris"):AddItem(vp, .5)
  413. elseif Type == "Up" then
  414. local bodyVelocity = Create("BodyVelocity"){
  415. velocity = Vector3.new(0, 20, 0),
  416. P = 5000,
  417. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  418. Parent = hit,
  419. }
  420. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  421.  
  422. local bodyVelocity = Create("BodyVelocity"){
  423. velocity = Vector3.new(0, 20, 0),
  424. P = 5000,
  425. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  426. Parent = hit,
  427. }
  428. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  429. elseif Type == "Snare" then
  430. local bp = Create("BodyPosition"){
  431. P = 2000,
  432. D = 100,
  433. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  434. position = hit.Parent.Torso.Position,
  435. Parent = hit.Parent.Torso,
  436. }
  437. game:GetService("Debris"):AddItem(bp, 1)
  438. elseif Type == "Freeze" then
  439. local BodPos = Create("BodyPosition"){
  440. P = 50000,
  441. D = 1000,
  442. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  443. position = hit.Parent.Torso.Position,
  444. Parent = hit.Parent.Torso,
  445. }
  446. local BodGy = Create("BodyGyro") {
  447. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  448. P = 20e+003,
  449. Parent = hit.Parent.Torso,
  450. cframe = hit.Parent.Torso.CFrame,
  451. }
  452. hit.Parent.Torso.Anchored = true
  453. coroutine.resume(coroutine.create(function(Part)
  454. swait(1.5)
  455. Part.Anchored = false
  456. end), hit.Parent.Torso)
  457. game:GetService("Debris"):AddItem(BodPos, 3)
  458. game:GetService("Debris"):AddItem(BodGy, 3)
  459. end
  460. local debounce = Create("BoolValue"){
  461. Name = "DebounceHit",
  462. Parent = hit.Parent,
  463. Value = true,
  464. }
  465. game:GetService("Debris"):AddItem(debounce, Delay)
  466. c = Instance.new("ObjectValue")
  467. c.Name = "creator"
  468. c.Value = Player
  469. c.Parent = h
  470. game:GetService("Debris"):AddItem(c, .5)
  471. end
  472. end
  473.  
  474. function ShowDamage(Pos, Text, Time, Color)
  475. local Rate = (1 / 30)
  476. local Pos = (Pos or Vector3.new(0, 0, 0))
  477. local Text = (Text or "")
  478. local Time = (Time or 2)
  479. local Color = (Color or Color3.new(1, 0, 1))
  480. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  481. EffectPart.Anchored = true
  482. local BillboardGui = Create("BillboardGui"){
  483. Size = UDim2.new(3, 0, 3, 0),
  484. Adornee = EffectPart,
  485. Parent = EffectPart,
  486. }
  487. local TextLabel = Create("TextLabel"){
  488. BackgroundTransparency = 1,
  489. Size = UDim2.new(1, 0, 1, 0),
  490. Text = Text,
  491. TextColor3 = Color,
  492. TextScaled = true,
  493. Font = Enum.Font.ArialBold,
  494. Parent = BillboardGui,
  495. }
  496. game.Debris:AddItem(EffectPart, (Time + 0.1))
  497. EffectPart.Parent = game:GetService("Workspace")
  498. delay(0, function()
  499. local Frames = (Time / Rate)
  500. for Frame = 1, Frames do
  501. wait(Rate)
  502. local Percent = (Frame / Frames)
  503. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  504. TextLabel.TextTransparency = Percent
  505. end
  506. if EffectPart and EffectPart.Parent then
  507. EffectPart:Destroy()
  508. end
  509. end)
  510. end
  511. function MagniDamage(Part,magni,mindam,maxdam,knock,Type)
  512. for _,c in pairs(workspace:children()) do
  513. local hum=c:findFirstChild("Humanoid")
  514. if hum~=nil then
  515. local head=c:findFirstChild("Torso")
  516. if head~=nil then
  517. local targ=head.Position-Part.Position
  518. local mag=targ.magnitude
  519. if mag<=magni and c.Name~=Player.Name then
  520. --Damagefunc(head,mindam,maxdam,knock,Type,RootPart,.2,1,nil,1)
  521. Damagefunc(head, head, mindam,maxdam, knock, Type, RootPart, .1, "http://www.roblox.com/asset/?id=231917784", 1)
  522. end
  523. end
  524. end
  525. end
  526. end
  527. EffectModel = Instance.new("Model", Character)
  528. EffectModel.Name = "Effects"
  529.  
  530. Effects = {
  531. ["Block"] = {
  532. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  533. local prt = CFuncs["Part"].Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  534. prt.Anchored = true
  535. prt.CFrame = cframe
  536. local msh = CFuncs["Mesh"].Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  537. game:GetService("Debris"):AddItem(prt, 10)
  538. if Type == 1 or Type == nil then
  539. table.insert(Effects, {
  540. prt,
  541. "Block1",
  542. delay,
  543. x3,
  544. y3,
  545. z3,
  546. msh
  547. })
  548. elseif Type == 2 then
  549. table.insert(Effects, {
  550. prt,
  551. "Block2",
  552. delay,
  553. x3,
  554. y3,
  555. z3,
  556. msh
  557. })
  558. end
  559. end;
  560. };
  561.  
  562. ["Sphere"] = {
  563. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  564. local prt = CFuncs["Part"].Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  565. prt.Anchored = true
  566. prt.CFrame = cframe
  567. local msh = CFuncs["Mesh"].Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  568. game:GetService("Debris"):AddItem(prt, 10)
  569. table.insert(Effects, {
  570. prt,
  571. "Cylinder",
  572. delay,
  573. x3,
  574. y3,
  575. z3,
  576. msh
  577. })
  578. end;
  579. };
  580.  
  581. ["Cylinder"] = {
  582. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  583. local prt = CFuncs["Part"].Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  584. prt.Anchored = true
  585. prt.CFrame = cframe
  586. local msh = CFuncs["Mesh"].Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  587. game:GetService("Debris"):AddItem(prt, 10)
  588. table.insert(Effects, {
  589. prt,
  590. "Cylinder",
  591. delay,
  592. x3,
  593. y3,
  594. z3,
  595. msh
  596. })
  597. end;
  598. };
  599.  
  600.  
  601. ["Wave"] = {
  602. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  603. local prt = CFuncs["Part"].Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  604. prt.Anchored = true
  605. prt.CFrame = cframe
  606. local msh = CFuncs["Mesh"].Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  607. game:GetService("Debris"):AddItem(prt, 10)
  608. table.insert(Effects, {
  609. prt,
  610. "Cylinder",
  611. delay,
  612. x3,
  613. y3,
  614. z3,
  615. msh
  616. })
  617. end;
  618. };
  619. ["Ring"] = {
  620. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  621. local prt = CFuncs["Part"].Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  622. prt.Anchored = true
  623. prt.CFrame = cframe
  624. local msh = CFuncs["Mesh"].Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  625. game:GetService("Debris"):AddItem(prt, 10)
  626. table.insert(Effects, {
  627. prt,
  628. "Cylinder",
  629. delay,
  630. x3,
  631. y3,
  632. z3,
  633. msh
  634. })
  635. end;
  636. };
  637.  
  638. ["Break"] = {
  639. Create = function(brickcolor, cframe, x1, y1, z1)
  640. local prt = CFuncs["Part"].Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  641. prt.Anchored = true
  642. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  643. local msh = CFuncs["Mesh"].Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  644. local num = math.random(10, 50) / 1000
  645. game:GetService("Debris"):AddItem(prt, 10)
  646. table.insert(Effects, {
  647. prt,
  648. "Shatter",
  649. num,
  650. prt.CFrame,
  651. math.random() - math.random(),
  652. 0,
  653. math.random(50, 100) / 100
  654. })
  655. end;
  656. };
  657. }
  658.  
  659. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  660. local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  661. prt.Anchored = true
  662. prt.CFrame = cframe
  663. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  664. game:GetService("Debris"):AddItem(prt, 10)
  665. if Type == 1 or Type == nil then
  666. table.insert(Effects, {
  667. prt,
  668. "Block1",
  669. delay,
  670. x3,
  671. y3,
  672. z3,
  673. msh
  674. })
  675. elseif Type == 2 then
  676. table.insert(Effects, {
  677. prt,
  678. "Block2",
  679. delay,
  680. x3,
  681. y3,
  682. z3,
  683. msh
  684. })
  685. end
  686. end
  687. function CreateSound(id, par, vol, pit)
  688. coroutine.resume(coroutine.create(function()
  689. local sou = Instance.new("Sound", par or workspace)
  690. sou.Volume = vol
  691. sou.Pitch = pit or 1
  692. sou.SoundId = id
  693. swait()
  694. sou:play()
  695. game:GetService("Debris"):AddItem(sou, 6)
  696. end))
  697. end
  698.  
  699.  
  700. function Laser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  701. local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  702. prt.Anchored = true
  703. prt.CFrame = cframe
  704. prt.Material = "Neon"
  705. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  706. game:GetService("Debris"):AddItem(prt, 10)
  707. coroutine.resume(coroutine.create(function(Part, Mesh)
  708. for i = 0, 1, delay do
  709. swait()
  710. Part.Transparency = i
  711. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  712. end
  713. Part.Parent = nil
  714. end), prt, msh)
  715. end
  716.  
  717.  
  718. function shoottraildd(mouse,partt, SpreadAmount)
  719. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  720. local MainPos = partt.Position
  721. local MainPos2 = mouse.Hit.p + SpreadVectors
  722. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  723. local speed = 15
  724. local num = 20
  725. coroutine.resume(coroutine.create(function()
  726. repeat
  727. swait()
  728. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  729. local mag = (MainPos - pos).magnitude
  730. Laser(BrickColor.new("Bright red"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.175, 0, -0.175, 0.15)
  731. --BlockEffect(BrickColor.new("Bright red"),CFrame.new((MainPos+pos) / 2,pos),1,1,1,10,10,10,0.07)
  732. MainPos = MainPos + (MouseLook.lookVector * speed)
  733. num = num - 1
  734. MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  735. if hit ~= nil then
  736. num = 0
  737. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  738. refpart.Anchored = true
  739. refpart.CFrame = CFrame.new(pos)
  740. game:GetService("Debris"):AddItem(refpart, 2)
  741. end
  742. if num <= 0 then
  743. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  744. refpart.Anchored = true
  745. refpart.CFrame = CFrame.new(pos)
  746. if hit ~= nil then
  747. CreateSound("http://www.roblox.com/asset/?id=514867425",refpart,1,1)
  748. BlockEffect(BrickColor.new("Br. yellowish orange"),refpart.CFrame,1,1,1,10,10,10,0.05)
  749. BlockEffect(BrickColor.new("Bright red"),refpart.CFrame,1,1,1,10,10,10,0.07)
  750. MagniDamage(refpart, 15, 10, 15, 0,"Normal")
  751. end
  752. game:GetService("Debris"):AddItem(refpart, 0)
  753.  
  754. end
  755. until num <= 0
  756. end))
  757. end
  758. local co1 = 200
  759. local co2 = 4
  760. local co3 = 4
  761. local co4 = 4
  762.  
  763. local cooldown1 = 200
  764. local cooldown2 = 0
  765. local cooldown3 = 0
  766. local cooldown4 = 0
  767.  
  768.  
  769. local skillcolorscheme = BrickColor.new("Really red").Color
  770.  
  771. local scrn = Instance.new('ScreenGui', Player.PlayerGui)
  772. function makeframe(par, trans, pos, size, color)
  773. local frame = Instance.new('Frame', par)
  774. frame.BackgroundTransparency = trans
  775. frame.BorderSizePixel = 0
  776. frame.Position = pos
  777. frame.Size = size
  778. frame.BackgroundColor3 = color
  779. return frame
  780. end
  781.  
  782. function makelabel(par, text)
  783. local label = Instance.new('TextLabel', par)
  784. label.BackgroundTransparency = 1
  785. label.Size = UDim2.new(1, 0, 1, 0)
  786. label.Position = UDim2.new(0, 0, 0, 0)
  787. label.TextColor3 = Color3.new(255, 255, 255)
  788. label.TextStrokeTransparency = 0
  789. label.FontSize = Enum.FontSize.Size32
  790. label.Font = Enum.Font.SourceSansLight
  791. label.BorderSizePixel = 0
  792. label.TextScaled = true
  793. label.Text = text
  794. end
  795. framesk1 = makeframe(scrn, .5, UDim2.new(.8, 0, .85, 0), UDim2.new(.16, 0, .1, 0), skillcolorscheme)
  796. framesk2 = makeframe(scrn, .5, UDim2.new(.8, 0, .74, 0), UDim2.new(.16, 0, .1, 0), skillcolorscheme)
  797. framesk3 = makeframe(scrn, .5, UDim2.new(.8, 0, .63, 0), UDim2.new(.16, 0, .1, 0), skillcolorscheme)
  798. framesk4 = makeframe(scrn, .5, UDim2.new(.8, 0, .52, 0), UDim2.new(.16, 0, .1, 0), skillcolorscheme)
  799.  
  800. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  801. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  802. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  803. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  804. text1 = Instance.new('TextLabel', framesk1)
  805. text1.BackgroundTransparency = 1
  806. text1.Size = UDim2.new(1, 0, 1, 0)
  807. text1.Position = UDim2.new(0, 0, 0, 0)
  808. text1.TextColor3 = Color3.new(255, 255, 255)
  809. text1.TextStrokeTransparency = 0
  810. text1.FontSize = Enum.FontSize.Size18
  811. text1.Font = Enum.Font.SourceSansLight
  812. text1.BorderSizePixel = 0
  813. text1.TextScaled = true
  814. text1.Text = "[Z]\nStun"
  815. text2 = Instance.new('TextLabel', framesk2)
  816. text2.BackgroundTransparency = 1
  817. text2.Size = UDim2.new(1, 0, 1, 0)
  818. text2.Position = UDim2.new(0, 0, 0, 0)
  819. text2.TextColor3 = Color3.new(255, 255, 255)
  820. text2.TextStrokeTransparency = 0
  821. text2.FontSize = Enum.FontSize.Size18
  822. text2.Font = Enum.Font.SourceSansLight
  823. text2.BorderSizePixel = 0
  824. text2.TextScaled = true
  825. text2.Text = "[X]\n Super Jump"
  826. text3 = Instance.new('TextLabel', framesk3)
  827. text3.BackgroundTransparency = 1
  828. text3.Size = UDim2.new(1, 0, 1, 0)
  829. text3.Position = UDim2.new(0, 0, 0, 0)
  830. text3.TextColor3 = Color3.new(255, 255, 255)
  831. text3.TextStrokeTransparency = 0
  832. text3.FontSize = Enum.FontSize.Size18
  833. text3.Font = Enum.Font.SourceSansLight
  834. text3.BorderSizePixel = 0
  835. text3.TextScaled = false
  836. text3.Text = "[C]\n Soul Slash"
  837. text4 = Instance.new('TextLabel', framesk4)
  838. text4.BackgroundTransparency = 1
  839. text4.Size = UDim2.new(1, 0, 1, 0)
  840. text4.Position = UDim2.new(0, 0, 0, 0)
  841. text4.TextColor3 = Color3.new(255, 255, 255)
  842. text4.TextStrokeTransparency = 0
  843. text4.FontSize = Enum.FontSize.Size18
  844. text4.Font = Enum.Font.SourceSansLight
  845. text4.BorderSizePixel = 0
  846. text4.TextScaled = true
  847. text4.Text = "[V]\n Super Soul Slash"
  848.  
  849. Handle = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "Handle", Vector3.new(0.254003167, 1.64342403, 0.260198474))
  850. HandleWeld = CFuncs["Weld"].Create(m, Character["Left Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.99836731, 0.0517368317, -0.0548477173, 0, 1, 0, 0, 0, -1, -1, 0, 0))
  851. FakeHandle = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "FakeHandle", Vector3.new(0.254003167, 1.14342403, 0.260198474))
  852. FakeHandleWeld = CFuncs["Weld"].Create(m, Handle, FakeHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.81469727e-006, -0.0500059128, 0.0999984741, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  853. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.247808024, 0.247808024, 0.247808024))
  854. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.26589966, 0.00039100647, 0.000610351563, 0.000117000003, 1, 0.000118999997, 1, -0.000117000003, 0, 1.39229996e-008, 0.000118999997, -1))
  855. CFuncs["Mesh"].Create("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1.3753345, 0.185856044, 0.185856044))
  856. Hitbox = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "Hitbox", Vector3.new(0.447807968, 5.13465595, 0.447808027))
  857. HitboxWeld = CFuncs["Weld"].Create(m, FakeHandle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000743865967, -3.7444067, -0.000473022461, 0.707102835, 0, -0.707110822, 0, 1, 0, 0.707110822, 0, 0.707102835))
  858. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.247808024, 0.242000014, 0.371712089))
  859. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.428066373, -1.24401093, -0.000930786133, -0.965926111, 0.25881803, 0, -0.25881803, -0.965926111, 0, 0, 0, 1))
  860. CFuncs["Mesh"].Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1))
  861. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.242000014, 0.242000014, 0.247808024))
  862. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0868660212, -1.11515617, -0.000923156738, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  863. CFuncs["Mesh"].Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 0.512000144, 1))
  864. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.495616019, 0.247808158, 0.371712089))
  865. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000139713287, -0.681477547, -0.000900268555, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  866. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  867. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.272588789, 0.247808024, 0.247808024))
  868. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0679831505, -1.17708778, -0.000923156738, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  869. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.297369599, 0.278784007, 0.247808024))
  870. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.548965454, -1.05070114, -0.000900268555, -0.819151819, -0.573576868, 0, 0.573576868, -0.819151819, 0, 0, 0, 1))
  871. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.495616049, 0.242000014, 0.743424177))
  872. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000163078308, -0.867334366, -0.000854492188, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  873. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1))
  874. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.495616019, 0.242000014, 0.371712089))
  875. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000113010406, -0.867340088, -0.000900268555, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  876. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1))
  877. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.242000014, 0.242000014, 0.371712089))
  878. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.964140892, -0.531862259, -0.000915527344, -0.342021108, 0.939692378, 0, -0.939692378, -0.342021108, 0, 0, 0, 1))
  879. CFuncs["Mesh"].Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 0.512000144, 1))
  880. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.247808024, 0.242000014, 0.247808024))
  881. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.23951149, -0.842378139, -0.122993469, -0.642788053, -0.76604414, 0, -0.76604414, 0.642788053, 0, 0, 0, -1))
  882. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1))
  883. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.242000014, 0.247808024, 0.619520068))
  884. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.842347145, -0.487338066, -0.000900268555, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414, 0, 0, 0, 1))
  885. CFuncs["Mesh"].Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 1, 1))
  886. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.495616019, 0.247808158, 0.371712089))
  887. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000148773193, -0.681489944, -0.000854492188, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  888. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  889. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.24780798, 1.61075222, 0.247808024))
  890. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000148773193, 2.19345093e-005, -0.000885009766, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  891. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  892. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.242000014, 1.11513627, 0.242000014))
  893. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.552087665, 0.015086174, -0.000900268555, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  894. CFuncs["Mesh"].Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 1, 0.512000144))
  895. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.495616049, 0.242000014, 0.371712089))
  896. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000146865845, -0.991248131, -0.000907897949, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  897. CFuncs["Mesh"].Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1))
  898. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.743424058, 0.247808024, 0.743424177))
  899. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000150680542, -1.05320072, -0.000869750977, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  900. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  901. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.247808024, 0.242000014, 0.247808024))
  902. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.36342907, -0.842353344, 0.186752319, -0.642788053, -0.76604414, 0, -0.76604414, 0.642788053, 0, 0, 0, -1))
  903. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1))
  904. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.247808024, 0.247808024, 0.247808024))
  905. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.17704391, 0.000398516655, 0.000640869141, 0.000117000003, 1, 0.000118999997, 1, -0.000117000003, 0, 1.39229996e-008, 0.000118999997, -1))
  906. CFuncs["Mesh"].Create("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1.77182734, 0.371712089, 0.371712089))
  907. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.247808024, 0.242000014, 0.247808024))
  908. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.363412857, -0.842355251, -0.184997559, -0.642788053, -0.76604414, 0, -0.76604414, 0.642788053, 0, 0, 0, -1))
  909. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1))
  910. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.247808024, 0.242000014, 0.247808024))
  911. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.239536285, -0.842377186, 0.124786377, -0.642788053, -0.76604414, 0, -0.76604414, 0.642788053, 0, 0, 0, -1))
  912. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1))
  913. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.24780798, 1.7346561, 0.247808024))
  914. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000743865967, -2.04440403, -0.000473022461, 0.707102835, 0, -0.707110822, 0, 1, 0, 0.707110822, 0, 0.707102835))
  915. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.619520068, 0.242000014, 0.619520068))
  916. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.810720444, -0.853779793, -0.000946044922, -0.642788053, 0.76604414, 0, -0.76604414, -0.642788053, 0, 0, 0, 1))
  917. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1))
  918. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.242000014, 0.242000014, 0.495616049))
  919. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.842340946, -0.301486015, -0.000900268555, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414, 0, 0, 0, 1))
  920. CFuncs["Mesh"].Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 0.512000144, 1))
  921. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.242000014, 0.242000014, 0.247808024))
  922. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.842370033, -0.177565575, -0.000900268555, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414, 0, 0, 0, 1))
  923. CFuncs["Mesh"].Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 0.512000144, 1))
  924. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.242000014, 2.35417652, 0.242000014))
  925. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000858306885, -4.0888052, -0.000625610352, 0.707102835, 0, -0.707110822, 0, 1, 0, 0.707110822, 0, 0.707102835))
  926. CFuncs["Mesh"].Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.768000126, 1, 0.768000185))
  927. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.242000014, 0.242000014, 0.247808024))
  928. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.5521034, -0.604457855, -0.000900268555, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  929. CFuncs["Mesh"].Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 0.512000144, 1))
  930. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.247808024, 0.247808024, 0.247808024))
  931. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.91172791, 0.000427365303, 0.00065612793, 0.000117000003, 1, 0.000118999997, 1, -0.000117000003, 0, 1.39229996e-008, 0.000118999997, -1))
  932. CFuncs["Mesh"].Create("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.706252933, 0.247808024, 0.247808024))
  933. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.247808024, 0.242000014, 0.247808024))
  934. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.253172874, -0.853765488, -0.124824524, -0.642788053, 0.76604414, 0, -0.76604414, -0.642788053, 0, 0, 0, 1))
  935. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1))
  936. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.247808024, 0.242000014, 0.247808024))
  937. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.377055168, -0.853793144, -0.186752319, -0.642788053, 0.76604414, 0, -0.76604414, -0.642788053, 0, 0, 0, 1))
  938. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1))
  939. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.247808024, 0.242000014, 0.247808024))
  940. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.253149033, -0.853768349, 0.123001099, -0.642788053, 0.76604414, 0, -0.76604414, -0.642788053, 0, 0, 0, 1))
  941. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1))
  942. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.242000014, 0.242000014, 0.247808024))
  943. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.552095771, -0.622245789, 0.000900268555, 1, 0, 0, 0, -1, 0, 0, 0, -1))
  944. CFuncs["Mesh"].Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 0.512000144, 1))
  945. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.254003167, 0.743424058, 0.260198474))
  946. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  947. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  948. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.247808024, 0.242000014, 0.247808024))
  949. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.377065659, -0.853788376, 0.184921265, -0.642788053, 0.76604414, 0, -0.76604414, -0.642788053, 0, 0, 0, 1))
  950. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1))
  951. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.242000014, 0.433664054, 0.619520068))
  952. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.853796005, -0.593886375, 0.000907897949, 0.76604414, 0.642788053, 0, 0.642788053, -0.76604414, 0, 0, 0, -1))
  953. CFuncs["Mesh"].Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 1, 1))
  954. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.242000014, 0.242000014, 0.495616049))
  955. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.853778839, -0.31512928, 0.000915527344, 0.76604414, 0.642788053, 0, 0.642788053, -0.76604414, 0, 0, 0, -1))
  956. CFuncs["Mesh"].Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 0.512000144, 1))
  957. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.242000014, 0.242000014, 0.247808024))
  958. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.853791237, -0.191212654, 0.000900268555, 0.76604414, 0.642788053, 0, 0.642788053, -0.76604414, 0, 0, 0, -1))
  959. CFuncs["Mesh"].Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.512000144, 0.512000144, 1))
  960. Part = CFuncs["Part"].Create(m, Enum.Material.Neon, 0, 0, "Maroon", "Part", Vector3.new(0.309760034, 0.242000014, 0.242000014))
  961. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.309207916, -0.84986639, 0.00183868408, -0.642788053, -0.76604414, 0, -0.76604414, 0.642788053, 0, 0, 0, -1))
  962. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 0.512000144))
  963. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.242000014, 0.242000014, 0.259851515))
  964. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00113677979, 0.00042617321, 1.05298805, 0.000346999994, -2.99999992e-005, -1, 1, -1.80000006e-005, 0.000347000547, -1.80104089e-005, -1, 2.99937492e-005))
  965. CFuncs["Mesh"].Create("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=18430887", Vector3.new(0, 0, 0), Vector3.new(0.472203195, 0.48459357, 2.56607437))
  966. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.743424058, 0.247808024, 0.743424177))
  967. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000146865845, -1.17708874, -0.000862121582, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  968. CFuncs["Mesh"].Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  969. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.309760034, 0.242000014, 0.371712089))
  970. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.309185982, -0.84424448, 0.00513458252, -0.642788053, -0.76604414, 0, -0.76604414, 0.642788053, 0, 0, 0, -1))
  971. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1))
  972. Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.309760034, 0.242000014, 0.272588819))
  973. PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.309211731, -0.848698139, 0.00434875488, -0.642788053, -0.76604414, 0, -0.76604414, 0.642788053, 0, 0, 0, -1))
  974. CFuncs["Mesh"].Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.512000144, 1))
  975. Handle1=CFuncs["Part"].Create(m,Enum.Material.SmoothPlastic,0,0.5,"Maroon","Handle1",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  976. Handle1Weld=CFuncs["Weld"].Create(m,Character["HumanoidRootPart"],Handle1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.89996433, -0.300001144, -3.81469727e-006, 0, 1, 0, 0, 0, -1, -1, 0, 0))
  977. CFuncs["Mesh"].Create("SpecialMesh",Handle1,Enum.MeshType.FileMesh,"rbxassetid://571013824",Vector3.new(0, 0, 0),Vector3.new(0.0299999993, 0.0299999993, 0.0299999993))
  978. Handle2=CFuncs["Part"].Create(m,Enum.Material.SmoothPlastic,0,0.5,"Maroon","Handle2",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  979. Handle2Weld=CFuncs["Weld"].Create(m,Character["HumanoidRootPart"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.89996433, -0.300001144, 3.69999886, 0, 1, 0, 0, 0, -1, -1, 0, 0))
  980. CFuncs["Mesh"].Create("SpecialMesh",Handle2,Enum.MeshType.FileMesh,"rbxassetid://571013824",Vector3.new(0, 0, 0),Vector3.new(0.0299999993, 0.0299999993, 0.0299999993))
  981. Handle3=CFuncs["Part"].Create(m,Enum.Material.SmoothPlastic,0,0.5,"Maroon","Handle3",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  982. Handle3Weld=CFuncs["Weld"].Create(m,Character["HumanoidRootPart"],Handle3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.89996433, -0.300001144, -3.80001068, 0, 1, 0, 0, 0, -1, -1, 0, 0))
  983. CFuncs["Mesh"].Create("SpecialMesh",Handle3,Enum.MeshType.FileMesh,"rbxassetid://571013824",Vector3.new(0, 0, 0),Vector3.new(0.0299999993, 0.0299999993, 0.0299999993))
  984.  
  985. Handle1.Transparency = 1
  986. Handle2.Transparency = 1
  987. Handle3.Transparency = 1
  988.  
  989. EffectModel = Instance.new("Model", Character)
  990. EffectModel.Name = "Effects"
  991.  
  992. Effects = {
  993. ["Block"] = {
  994. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  995. local prt = CFuncs["Part"].Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  996. prt.Anchored = true
  997. prt.CFrame = cframe
  998. local msh = CFuncs["Mesh"].Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  999. game:GetService("Debris"):AddItem(prt, 10)
  1000. if Type == 1 or Type == nil then
  1001. table.insert(Effects, {
  1002. prt,
  1003. "Block1",
  1004. delay,
  1005. x3,
  1006. y3,
  1007. z3,
  1008. msh
  1009. })
  1010. elseif Type == 2 then
  1011. table.insert(Effects, {
  1012. prt,
  1013. "Block2",
  1014. delay,
  1015. x3,
  1016. y3,
  1017. z3,
  1018. msh
  1019. })
  1020. end
  1021. end;
  1022. };
  1023.  
  1024. ["Sphere"] = {
  1025. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1026. local prt = CFuncs["Part"].Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1027. prt.Anchored = true
  1028. prt.CFrame = cframe
  1029. local msh = CFuncs["Mesh"].Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1030. game:GetService("Debris"):AddItem(prt, 10)
  1031. table.insert(Effects, {
  1032. prt,
  1033. "Cylinder",
  1034. delay,
  1035. x3,
  1036. y3,
  1037. z3,
  1038. msh
  1039. })
  1040. end;
  1041. };
  1042.  
  1043. ["Ring"] = {
  1044. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1045. local prt = CFuncs["Part"].Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1046. prt.Anchored = true
  1047. prt.CFrame = cframe
  1048. local msh = CFuncs["Mesh"].Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1049. game:GetService("Debris"):AddItem(prt, 10)
  1050. table.insert(Effects, {
  1051. prt,
  1052. "Cylinder",
  1053. delay,
  1054. x3,
  1055. y3,
  1056. z3,
  1057. msh
  1058. })
  1059. end;
  1060. };
  1061.  
  1062.  
  1063. ["Wave"] = {
  1064. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1065. local prt = CFuncs["Part"].Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1066. prt.Anchored = true
  1067. prt.CFrame = cframe
  1068. local msh = CFuncs["Mesh"].Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1069. game:GetService("Debris"):AddItem(prt, 10)
  1070. table.insert(Effects, {
  1071. prt,
  1072. "Cylinder",
  1073. delay,
  1074. x3,
  1075. y3,
  1076. z3,
  1077. msh
  1078. })
  1079. end;
  1080. };
  1081.  
  1082. ["Break"] = {
  1083. Create = function(brickcolor, cframe, x1, y1, z1)
  1084. local prt = CFuncs["Part"].Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1085. prt.Anchored = true
  1086. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1087. local msh = CFuncs["Mesh"].Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1088. local num = math.random(10, 50) / 1000
  1089. game:GetService("Debris"):AddItem(prt, 10)
  1090. table.insert(Effects, {
  1091. prt,
  1092. "Shatter",
  1093. num,
  1094. prt.CFrame,
  1095. math.random() - math.random(),
  1096. 0,
  1097. math.random(50, 100) / 100
  1098. })
  1099. end;
  1100. };
  1101. }
  1102.  
  1103. function attackone()
  1104. attack = true
  1105. MagniDamage(Hitbox,5,10,15,10,"Normal")
  1106. for i = 0, 1, 0.18 do
  1107. swait()
  1108. PlayAnimationFromTable({
  1109. CFrame.new(5.21097445e-006, 0, 1.39627514e-006, 0.500000238, 0, -0.866025388, 0, 1, 0, 0.866025388, 0, 0.500000238),
  1110. CFrame.new(1.86264515e-007, 1.49999213, 1.11758709e-007, 0.500000238, -0.0754792839, 0.862729847, 0, 0.996194661, 0.087155968, -0.866025388, -0.0435780063, 0.498097569),
  1111. CFrame.new(1.50000036, 0, 5.72204726e-006, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024),
  1112. CFrame.new(-0.366784006, 0.731893659, -1.14485168, 0.356001496, -0.850091577, -0.388081908, -0.93399173, -0.337178171, -0.118196875, -0.0303746015, 0.404543579, -0.91401422),
  1113. CFrame.new(0.904913902, -1.89649975, -0.0730408952, 0.571393132, -0.260298461, 0.77830261, 0.0871559978, 0.96225059, 0.257832885, -0.816035509, -0.0794901848, 0.572509944),
  1114. CFrame.new(-0.528955996, -1.97384918, 0.0388401002, 0.342020601, -0.0571864806, 0.937950969, 0, 0.998146534, 0.0608565845, -0.939692676, -0.0208142027, 0.341386676),
  1115. }, .4, false)
  1116. end
  1117. FakeHandleWeld.C0 = angles(math.rad(0), math.rad(0), math.rad(50))
  1118. CFuncs["Sound"].Create("http://roblox.com/asset/?id=356430004", Hitbox, 1, 1.1)
  1119. for i = 0, 1, 0.2 do
  1120. swait()
  1121. PlayAnimationFromTable({
  1122. CFrame.new(-1.07485366e-005, -0, 9.40369318e-007, 0.642788053, 0, 0.76604414, 0, 1, 0, -0.76604414, 0, 0.642788053),
  1123. CFrame.new(-1.71363354e-007, 1.49999213, 1.34110451e-007, 0.642788053, 0.0667653158, -0.763129056, 0, 0.996194661, 0.087155968, 0.76604414, -0.0560228154, 0.640341997),
  1124. CFrame.new(1.50000405, 0, 3.81469772e-006, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),
  1125. CFrame.new(-1.64033329, 0.239580303, 0.32212162, 0.407846123, 0.871090412, 0.273611486, -0.883638024, 0.30112043, 0.358483493, 0.22988157, -0.387979686, 0.892539263),
  1126. CFrame.new(0.710344791, -2.02141356, -0.196990728, 0.767721832, -0.023819983, -0.640340447, 0.103438981, 0.990809619, 0.0871588141, 0.632379293, -0.133149892, 0.763130188),
  1127. CFrame.new(-0.815283537, -1.94957781, 0.0924245715, 0.824585378, 0.181777626, -0.535738766, -0.0773119852, 0.974296749, 0.211586341, 0.560430169, -0.133051991, 0.817444444),
  1128. }, .5, false)
  1129. Handle1Weld.C0 = clerp(Handle1Weld.C0, CFrame.new(0, -4, -6) * angles(math.rad(-5), math.rad(0), math.rad(0)), .7)
  1130. Handle2Weld.C0 = clerp(Handle2Weld.C0, CFrame.new(-4, 0, -6) * angles(math.rad(0), math.rad(14), math.rad(-50)), .7)
  1131. Handle3Weld.C0 = clerp(Handle3Weld.C0, CFrame.new(4, 0, -6) * angles(math.rad(0), math.rad(-14), math.rad(50)), .7)
  1132. end
  1133. MagniDamage(Hitbox,5,10,15,10,"Normal")
  1134. attack = false
  1135. end
  1136.  
  1137. function attacktwo()
  1138. attack = true
  1139. MagniDamage(Hitbox,5,10,15,10,"Normal")
  1140. for i = 0, 1, 0.2 do
  1141. swait()
  1142. PlayAnimationFromTable({
  1143. CFrame.new(0, -0.163648605, -0, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992),
  1144. CFrame.new(0, 1.49999201, 0, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992),
  1145. CFrame.new(1.49999821, 0, 3.76999424e-006, 1.00000012, 0, -2.98023224e-008, 0, 1, 0, -2.98023224e-008, 0, 1.00000012),
  1146. CFrame.new(-0.596759856, 0.740946412, -1.0552206, -0.0991426557, -0.715364814, 0.6916821, 0.933013022, -0.308467805, -0.185295463, 0.345915467, 0.626977801, 0.698026896),
  1147. CFrame.new(0.649631023, -1.84416139, -0.257720411, 0.982567668, -0.137810081, -0.124777108, 0.160191998, 0.968212366, 0.192102879, 0.0943369716, -0.20874238, 0.973410189),
  1148. CFrame.new(-0.804208517, -1.84453952, -0.127062395, 0.342019022, 0.123212501, 0.931580245, 0, 0.991366506, -0.131119937, -0.939693093, 0.0448455103, 0.339066178),
  1149. }, .6, false)
  1150. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .5)
  1151. end
  1152. CFuncs["Sound"].Create("http://roblox.com/asset/?id=356430004", Hitbox, 1, 1.2)
  1153. for i = 0, 1, 0.15 do
  1154. swait()
  1155. PlayAnimationFromTable({
  1156. CFrame.new(0.049446106, -0.357643992, -0.0952380151, 0, 0, -1, 0.087155968, 0.996194661, 0, 0.996194661, -0.087155968, 0),
  1157. CFrame.new(2.98023224e-007, 1.49999201, 0, 0, -0.173647881, 0.984807789, 0, 0.984807789, 0.173647881, -1, 0, 0),
  1158. CFrame.new(1.49999797, -7.74860325e-007, 3.81469727e-006, 0.99999994, 0, 0, 0, 0.99999994, 0, 0, 0, 1),
  1159. CFrame.new(-1.8979578, 0.483427346, -0.0369744599, 0.115391314, 0.989934027, 0.0819470882, 0.907972336, -0.071660988, -0.412857205, -0.402829081, 0.122045808, -0.90710181),
  1160. CFrame.new(0.619603634, -1.63993931, -0.291756809, 0.982567668, -0.126410455, -0.136313275, 0.160191938, 0.947784781, 0.275757879, 0.0943370014, -0.292787015, 0.951512635),
  1161. CFrame.new(-1.16031027, -1.79213738, -0.256672949, 0.342019439, 0.572495401, 0.745165527, -4.09781933e-008, 0.7929883, -0.609236777, -0.939692855, 0.208370775, 0.271217525),
  1162. }, .65, false)
  1163. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .6)
  1164. Handle1Weld.C0 = clerp(Handle1Weld.C0, CFrame.new(0, -4, -6) * angles(math.rad(-5), math.rad(0), math.rad(0)), .7)
  1165. Handle2Weld.C0 = clerp(Handle2Weld.C0, CFrame.new(-4, 0, -6) * angles(math.rad(0), math.rad(14), math.rad(-50)), .7)
  1166. Handle3Weld.C0 = clerp(Handle3Weld.C0, CFrame.new(4, 0, -6) * angles(math.rad(0), math.rad(-14), math.rad(50)), .7)
  1167. end
  1168. MagniDamage(Hitbox,5,10,15,10,"Normal")
  1169. attack = false
  1170. end
  1171.  
  1172. function attackthree()
  1173. attack = true
  1174. MagniDamage(Hitbox,5,10,15,10,"Normal")
  1175. for i = 0, 1, 0.2 do
  1176. swait()
  1177. PlayAnimationFromTable({
  1178. CFrame.new(0, -0.0985169411, -0, 0.819151819, 0, -0.573576868, 0, 1, 0, 0.573576868, 0, 0.819151819),
  1179. CFrame.new(0, 1.49999177, 7.4505806e-009, 0.819151819, -0.0499906465, 0.571394205, 0, 0.996194661, 0.087155968, -0.573576868, -0.0713939667, 0.816034675),
  1180. CFrame.new(1.4999963, 0, 0, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),
  1181. CFrame.new(-0.5402565, 0.0849503279, -0.942667186, -0.509596586, -0.76232785, -0.398958385, -0.854715168, 0.395236939, 0.336525917, -0.0988600105, 0.512488246, -0.852984548),
  1182. CFrame.new(0.620955229, -1.94301522, -0.0566893369, 0.954188764, -0.0857283473, 0.286661357, 0.0702360272, 0.995480537, 0.0639168248, -0.290845275, -0.0408547521, 0.955897629),
  1183. CFrame.new(-0.75884217, -1.89246368, -0.315178692, 0.832474053, 0.00791560486, 0.554007649, -0.0318369977, 0.998929381, 0.0335669406, -0.553148806, -0.0455815494, 0.831834674),
  1184. }, .4, false)
  1185. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), .4)
  1186. end
  1187. CFuncs["Sound"].Create("http://roblox.com/asset/?id=356430004", Hitbox, 1, 1.11)
  1188. for i = 0, 1, 0.15 do
  1189. swait()
  1190. PlayAnimationFromTable({
  1191. CFrame.new(0.0207173601, -0.306746304, 0.20341751, 0.573575675, 0, 0.819152594, 0, 1, 0, -0.819152594, 0, 0.573575675),
  1192. CFrame.new(0.130482048, 1.47498262, -0.107875496, 0.635801435, 0.120137349, -0.762445867, -0.0116640013, 0.989195347, 0.146139294, 0.771764517, -0.0840224102, 0.630333066),
  1193. CFrame.new(1.49998856, 0, 1.90734863e-006, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1194. CFrame.new(-1.65704942, 0.971492052, -0.357384115, -0.509596825, 0.778339386, -0.366740972, -0.85471487, -0.506908536, 0.111831158, -0.0988615155, 0.370447755, 0.923577309),
  1195. CFrame.new(0.636499405, -1.75835907, -0.0842285156, 0.534027219, 0.0830666572, -0.841376901, 0.0805300027, 0.985639751, 0.148422226, 0.841623485, -0.147017568, 0.519669056),
  1196. CFrame.new(-0.88678956, -1.74539149, -0.155863523, 0.753033161, 0.368772328, -0.544929385, -0.0551460199, 0.860640168, 0.506218791, 0.655667603, -0.351148844, 0.668426931),
  1197. }, .5, false)
  1198. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), .4)
  1199. end
  1200. MagniDamage(Hitbox,5,10,15,10,"Normal")
  1201. attack = false
  1202. end
  1203.  
  1204. function attackfour()
  1205. attack = true
  1206. MagniDamage(Hitbox,5,10,15,10,"Normal")
  1207. for i = 0, 1, 0.5 do
  1208. swait()
  1209. PlayAnimationFromTable({
  1210. CFrame.new(0, -0, -0, 0.173647985, 0, -0.984807849, 0, 1, 0, 0.984807849, 0, 0.173647985),
  1211. CFrame.new(0, 1.49999201, 0, 0.173647985, 0, 0.984807849, 0, 1, 0, -0.984807849, 0, 0.173647985),
  1212. CFrame.new(1.50000596, 0, 0, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),
  1213. CFrame.new(-0.999148726, 0.382699579, -0.500299215, 0.42100966, -0.0871576667, 0.902859092, 0.906307876, -7.69787164e-007, -0.422618002, 0.0368350856, 0.996194661, 0.0789913535),
  1214. CFrame.new(0.74952966, -1.94998085, 0.00131799281, 0.862729669, -0.118769139, 0.491519749, 0.0871560052, 0.992404103, 0.0868223459, -0.498098016, -0.0320653133, 0.866527796),
  1215. CFrame.new(-0.595148206, -1.94053876, 0.0258702934, 0.81569773, 0.0818991661, 0.572651625, -0.0841870308, 0.996194661, -0.0225553289, -0.572319865, -0.0298115127, 0.819488525),
  1216. }, .7, false)
  1217. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .6)
  1218. end
  1219. CFuncs["Sound"].Create("http://roblox.com/asset/?id=356430004", Hitbox, 1, 1)
  1220. for i = 0, 1, 0.4 do
  1221. swait()
  1222. PlayAnimationFromTable({
  1223. CFrame.new(-0.0428132191, 1.49011612e-007, -0.00181728927, 0.087155968, 0, -0.996194661, 0, 1, 0, 0.996194661, 0, 0.087155968),
  1224. CFrame.new(0, 1.49999177, -9.31322575e-010, 0.087155968, 0.0868243128, 0.992403805, 0, 0.996194661, -0.087155968, -0.996194661, 0.00759616261, 0.0868243128),
  1225. CFrame.new(1.50000513, 0, 0, 0.99999994, 0, 0, 0, 1, 0, 0, 0, 0.99999994),
  1226. CFrame.new(-1.76935673, 0.961719513, -0.0700234175, 0.488265216, 0.862728775, -0.131514639, 0.784885108, -0.500001848, -0.365996838, -0.381513596, 0.0754796565, -0.92127645),
  1227. CFrame.new(0.74952966, -1.94998085, 0.00131799281, 0.862729669, -0.118769139, 0.491519749, 0.0871560052, 0.992404103, 0.0868223459, -0.498098016, -0.0320653133, 0.866527796),
  1228. CFrame.new(-0.595148206, -1.94053876, 0.0258702934, 0.81569773, 0.0818991661, 0.572651625, -0.0841870308, 0.996194661, -0.0225553289, -0.572319865, -0.0298115127, 0.819488525),
  1229. }, .6, false)
  1230. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .6)
  1231. end
  1232. for i = 0, 1, 0.5 do
  1233. swait()
  1234. PlayAnimationFromTable({
  1235. CFrame.new(0, -0, -0, 0.173647985, 0, -0.984807849, 0, 1, 0, 0.984807849, 0, 0.173647985),
  1236. CFrame.new(0, 1.49999201, 0, 0.173647985, 0, 0.984807849, 0, 1, 0, -0.984807849, 0, 0.173647985),
  1237. CFrame.new(1.50000548, 0, 0, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),
  1238. CFrame.new(-0.904156804, 0.38269943, -0.704008639, 0, -0.422618032, 0.906307995, 1, 0, 0, 0, 0.906307995, 0.422618032),
  1239. CFrame.new(0.749530554, -1.94998074, 0.00131964684, 0.862729669, -0.118769139, 0.491519749, 0.0871560052, 0.992404103, 0.0868223459, -0.498098016, -0.0320653133, 0.866527796),
  1240. CFrame.new(-0.595149279, -1.94053888, 0.0258687288, 0.81569773, 0.0818991661, 0.572651625, -0.0841870308, 0.996194661, -0.0225553289, -0.572319865, -0.0298115127, 0.819488525),
  1241. }, .7, false)
  1242. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .6)
  1243. Handle1Weld.C0 = clerp(Handle1Weld.C0, CFrame.new(0, 0, 6) * angles(math.rad(-20), math.rad(0), math.rad(0)), .5)
  1244. Handle2Weld.C0 = clerp(Handle2Weld.C0, CFrame.new(4, 0, 6) * angles(math.rad(0), math.rad(40), math.rad(-50)), .5)
  1245. Handle3Weld.C0 = clerp(Handle3Weld.C0, CFrame.new(-4, 0, 6) * angles(math.rad(0), math.rad(-40), math.rad(50)), .5)
  1246. end
  1247. CFuncs["Sound"].Create("http://roblox.com/asset/?id=356430004", Hitbox, 1, 1.2)
  1248. for i = 0, 1, 0.4 do
  1249. swait()
  1250. PlayAnimationFromTable({
  1251. CFrame.new(-0.0428132191, 1.49011612e-007, -0.00181728927, 0.087155968, 0, -0.996194661, 0, 1, 0, 0.996194661, 0, 0.087155968),
  1252. CFrame.new(0, 1.49999189, 0, 0.087155968, 0, 0.996194661, 0, 1, 0, -0.996194661, 0, 0.087155968),
  1253. CFrame.new(1.5000056, 0, 0, 0.99999994, 0, 0, 0, 1, 0, 0, 0, 0.99999994),
  1254. CFrame.new(-1.8970145, 0.497903526, -0.102461994, 0.0368336067, 0.996194661, 0.0789901763, 0.906308293, 0, -0.422617137, -0.421008945, 0.087155968, -0.902859509),
  1255. CFrame.new(0.74952966, -1.94998085, 0.00131799281, 0.862729669, -0.118769139, 0.491519749, 0.0871560052, 0.992404103, 0.0868223459, -0.498098016, -0.0320653133, 0.866527796),
  1256. CFrame.new(-0.595148206, -1.94053876, 0.0258702934, 0.81569773, 0.0818991661, 0.572651625, -0.0841870308, 0.996194661, -0.0225553289, -0.572319865, -0.0298115127, 0.819488525),
  1257. }, .6, false)
  1258. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .6)
  1259. end
  1260. for i = 0, 1, 0.5 do
  1261. swait()
  1262. PlayAnimationFromTable({
  1263. CFrame.new(0, -0, -0, 0.173647985, 0, -0.984807849, 0, 1, 0, 0.984807849, 0, 0.173647985),
  1264. CFrame.new(0, 1.49999201, 0, 0.173647985, 0, 0.984807849, 0, 1, 0, -0.984807849, 0, 0.173647985),
  1265. CFrame.new(1.50000501, 0, 0, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),
  1266. CFrame.new(-0.904156744, 0.382699311, -0.704011559, -0.33682391, -0.407246172, 0.84894067, 0.939692736, -0.0885211155, 0.330365896, -0.0593910702, 0.909018576, 0.412502289),
  1267. CFrame.new(0.749530554, -1.94998074, 0.00131964684, 0.862729669, -0.118769139, 0.491519749, 0.0871560052, 0.992404103, 0.0868223459, -0.498098016, -0.0320653133, 0.866527796),
  1268. CFrame.new(-0.595150828, -1.94053876, 0.0258698314, 0.81569773, 0.0818991661, 0.572651625, -0.0841870308, 0.996194661, -0.0225553289, -0.572319865, -0.0298115127, 0.819488525),
  1269. }, .7, false)
  1270. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .6)
  1271. end
  1272. CFuncs["Sound"].Create("http://roblox.com/asset/?id=356430004", Hitbox, 1, 1)
  1273. for i = 0, 1, 0.4 do
  1274. swait()
  1275. PlayAnimationFromTable({
  1276. CFrame.new(-0.0428170189, 1.49011612e-007, -0.00181695679, 0.087155968, 0, -0.996194661, 0, 1, 0, 0.996194661, 0, 0.087155968),
  1277. CFrame.new(-8.94069672e-008, 1.49999213, -5.58793545e-009, 0.087155968, -0.172987193, 0.981060326, 0, 0.984807849, 0.173647985, -0.996194661, -0.0151344584, 0.0858318806),
  1278. CFrame.new(1.50000536, 0, -1.90734852e-006, 0.99999994, 0, 0, 0, 1, 0, 0, 0, 0.99999994),
  1279. CFrame.new(-1.79739583, 0.157904625, -0.0937451124, -0.196843892, 0.962250113, 0.18795532, 0.875426531, 0.258819312, -0.408216953, -0.441453218, 0.0841860473, -0.893326342),
  1280. CFrame.new(0.74952966, -1.94998085, 0.00131799281, 0.862729669, -0.118769139, 0.491519749, 0.0871560052, 0.992404103, 0.0868223459, -0.498098016, -0.0320653133, 0.866527796),
  1281. CFrame.new(-0.595148206, -1.94053876, 0.0258702934, 0.81569773, 0.0818991661, 0.572651625, -0.0841870308, 0.996194661, -0.0225553289, -0.572319865, -0.0298115127, 0.819488525),
  1282. }, .6, false)
  1283. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .6)
  1284. end
  1285. for i = 0, 1, 0.5 do
  1286. swait()
  1287. PlayAnimationFromTable({
  1288. CFrame.new(0, -0, -0, 0.173647985, 0, -0.984807849, 0, 1, 0, 0.984807849, 0, 0.173647985),
  1289. CFrame.new(0, 1.49999201, 0, 0.173647985, 0, 0.984807849, 0, 1, 0, -0.984807849, 0, 0.173647985),
  1290. CFrame.new(1.50000596, 0, 0, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),
  1291. CFrame.new(-0.999148726, 0.382699579, -0.500299215, 0.42100966, -0.0871576667, 0.902859092, 0.906307876, -7.69787164e-007, -0.422618002, 0.0368350856, 0.996194661, 0.0789913535),
  1292. CFrame.new(0.74952966, -1.94998085, 0.00131799281, 0.862729669, -0.118769139, 0.491519749, 0.0871560052, 0.992404103, 0.0868223459, -0.498098016, -0.0320653133, 0.866527796),
  1293. CFrame.new(-0.595148206, -1.94053876, 0.0258702934, 0.81569773, 0.0818991661, 0.572651625, -0.0841870308, 0.996194661, -0.0225553289, -0.572319865, -0.0298115127, 0.819488525),
  1294. }, .7, false)
  1295. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .6)
  1296. end
  1297. MagniDamage(Hitbox,5,10,15,10,"Normal")
  1298. attack = false
  1299. end
  1300.  
  1301. local Hit = false
  1302.  
  1303. function Trip()
  1304. attack = true
  1305. MagniDamage(Hitbox,5,10,15,10,"Normal")
  1306. C = Hitbox.Touched:connect(function(hit)
  1307. local ht = hit.Parent
  1308. if Hit == true then
  1309. local aim = CFrame.new(RootPart.Position, ht.Torso.Position)
  1310. local direction = aim.lookVector
  1311. local headingA = math.atan2(direction.x, direction.z)
  1312. headingA = math.deg(headingA)
  1313. Humanoid.AutoRotate = false
  1314. RootPart.CFrame = CFrame.new(RootPart.Position) * angles(math.rad(0), math.rad(headingA - 180), math.rad(0))
  1315. else
  1316. Humanoid.AutoRotate = true
  1317. end
  1318. local hum1 = ht:FindFirstChild('Humanoid')
  1319. if hum1 ~= nil then
  1320. hum1.PlatformStand = true
  1321. Hit = true
  1322. elseif hum1 == nil then
  1323. C:disconnect()
  1324. wait()
  1325. return
  1326. end
  1327. end)
  1328. for i = 0, 1, 0.2 do
  1329. swait()
  1330. PlayAnimationFromTable({
  1331. CFrame.new(0, -0.426051617, -0, 0.422617137, 0, -0.906308293, 0, 1, 0, 0.906308293, 0, 0.422617137),
  1332. CFrame.new(-0.0630682111, 1.48772204, -0.0294090882, 0.422617137, -0.157378614, 0.892539501, 0, 0.984807849, 0.173647985, -0.906308293, -0.073386617, 0.416196674),
  1333. CFrame.new(1.50000191, 0, 7.62939453e-006, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1334. CFrame.new(-0.919264436, 0.12311548, -0.624238074, 0.516651094, -0.377079159, -0.768689156, -0.735126793, 0.264892399, -0.624035716, 0.43893072, 0.887492776, -0.140344039),
  1335. CFrame.new(0.513289869, -1.60863566, 0.205697268, 0.865536034, -0.247152239, 0.435618281, -0.16815795, 0.675872982, 0.717578351, -0.471773684, -0.694342494, 0.543431818),
  1336. CFrame.new(-0.901781201, -1.63680637, 0.2045044, 0.429914564, 0.0743026882, 0.899807036, -0.172986984, 0.984923244, 0.00131936965, -0.88614279, -0.156222105, 0.436286241),
  1337. }, .6, false)
  1338. end
  1339. CFuncs["Sound"].Create("http://roblox.com/asset/?id=356430004", Hitbox, 1, 1.5)
  1340. for i = 0, 1, 0.16 do
  1341. swait()
  1342. PlayAnimationFromTable({
  1343. CFrame.new(0.0408475623, -0.426052004, 0.0603616908, 0.906306684, 0, -0.422620863, 0, 1, 0, 0.422620863, 0, 0.906306684),
  1344. CFrame.new(-0.0630673766, 1.48772216, -0.0294110179, 0.868577838, -0.081988126, 0.488723695, 0.0133890044, 0.989741206, 0.142243251, -0.495372236, -0.11700578, 0.86076498),
  1345. CFrame.new(1.50000036, 0, 1.90734909e-006, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024),
  1346. CFrame.new(-1.7693671, 0.746011198, 0.39081946, -0.139732093, 0.953093112, 0.268493772, -0.91827333, -0.226178944, 0.324988157, 0.370471537, -0.20113939, 0.906804323),
  1347. CFrame.new(0.807715058, -1.71601295, 0.784099519, 0.86553514, -0.247153565, 0.435619444, -0.168158039, 0.675872862, 0.717578351, -0.471775442, -0.694342196, 0.543430805),
  1348. CFrame.new(-0.74334991, -1.54656363, 0.0653702915, 0.769908607, 0.0743027925, 0.633813858, -0.15622206, 0.984923244, 0.0743028447, -0.618737102, -0.15622212, 0.769908547),
  1349. }, .5, false)
  1350. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(70)), .5)
  1351. end
  1352. if Hit == true then
  1353. Humanoid.WalkSpeed = 0
  1354. for i = 0, 1, 0.2 do
  1355. swait()
  1356. PlayAnimationFromTable({
  1357. CFrame.new(1.37835741e-006, -0.103859015, 0.0389065333, 0.173647091, 2.58754245e-008, -0.984808028, -0.085832037, 0.996194661, -0.0151343821, 0.981060445, 0.087156117, 0.172986314),
  1358. CFrame.new(1.78813934e-006, 1.49999022, -3.85940075e-006, 0.0871547759, -0.25783357, 0.962250471, -1.22468919e-007, 0.965925992, 0.258818418, -0.996194959, -0.0225573815, 0.0841850266),
  1359. CFrame.new(1.5000124, 3.68803825e-007, 1.14217419e-005, 1, 7.4505806e-009, -1.49011612e-008, 7.4505806e-009, 1, -9.31322575e-010, -1.49011612e-008, -9.31322575e-010, 1.00000012),
  1360. CFrame.new(-0.713331223, 0.788114727, -1.03047037, -0.265583962, -0.66341424, 0.699533343, 0.852868617, -0.49999994, -0.150384307, 0.449533701, 0.556670368, 0.698597014),
  1361. CFrame.new(0.750142574, -1.91980267, -0.044842422, 0.753090441, -0.164227694, 0.637090564, 0.139625281, 0.986181498, 0.0891676992, -0.642930686, 0.0218026005, 0.765614152),
  1362. CFrame.new(-0.729832411, -1.99010432, 0.0847709179, 0.710772157, -0.109478712, 0.694850743, 0.0133900419, 0.989741087, 0.142243952, -0.703295052, -0.0917989537, 0.70494628),
  1363. }, .4, false)
  1364. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), .4)
  1365. end
  1366. CFuncs["Sound"].Create("http://roblox.com/asset/?id=356430004", Hitbox, 1, .8)
  1367. for i = 0, 1, 0.13 do
  1368. swait()
  1369. PlayAnimationFromTable({
  1370. CFrame.new(0.018863678, -0, -0.0360527039, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  1371. CFrame.new(-5.96046448e-007, 1.49999022, -5.58793545e-008, 0.087155968, -0.257833004, 0.962250531, 0, 0.96592623, 0.258817881, -0.996194661, -0.022557525, 0.0841862261),
  1372. CFrame.new(1.50001335, 0, 1.14440918e-005, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1373. CFrame.new(-1.7250247, -0.0197904408, -0.0353719592, -0.485968232, 0.854477465, -0.18358463, 0.751700342, 0.515810132, 0.410958141, 0.44584921, 0.0617119633, -0.892978311),
  1374. CFrame.new(0.638420582, -1.99999511, -0.0645403862, 0.762714267, -0.0789890736, 0.641893923, 0.0841850266, 0.99619478, 0.0225573145, -0.641233265, 0.0368330702, 0.766461551),
  1375. CFrame.new(-0.729839563, -1.99010265, 0.084770143, 0.70441699, 0.0616290979, 0.707105815, -0.0871559978, 0.996194661, -5.85242276e-007, -0.704415023, -0.0616280958, 0.707107842),
  1376. }, .5, false)
  1377. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .5)
  1378. end
  1379. MagniDamage(Hitbox,5,10,15,10,"Normal")
  1380. Humanoid.AutoRotate = true
  1381. end
  1382. C:disconnect()
  1383. Hit = false
  1384. attack = false
  1385. end
  1386.  
  1387. function SpinnySpin()
  1388. attack = true
  1389. MagniDamage(Hitbox,5,10,15,10,"Normal")
  1390. for i = 0, 1, 0.15 do
  1391. swait()
  1392. PlayAnimationFromTable({
  1393. CFrame.new(0.0868273079, -0.415078044, -0.0855018646, 0.754405975, 0.17364797, -0.633022964, -0.019382, 0.969846368, 0.242945299, 0.656121969, -0.171010137, 0.735023439),
  1394. CFrame.new(4.17232513e-007, 1.49999261, -9.76026058e-007, 0.634484649, 0.0109135956, 0.7728585, 0.0874809176, 0.992461562, -0.0858328491, -0.767968893, 0.12207, 0.628746927),
  1395. CFrame.new(1.4999963, 1.4305117e-006, -8.94067398e-008, 1.00000012, 0, -5.96046448e-008, 0, 1.00000012, 0, -5.96046448e-008, 0, 1),
  1396. CFrame.new(-0.998655558, 0.191747338, -0.976686478, 0.573573887, -0.346188843, -0.742405891, -0.671010733, 0.321274191, -0.668227255, 0.469848454, 0.881439924, -0.0480219424),
  1397. CFrame.new(0.450002939, -1.78906703, 0.0548554659, 0.925418735, 0.173647404, -0.336818904, 0.126459017, 0.69636333, 0.706460416, 0.357223272, -0.696365356, 0.622468293),
  1398. CFrame.new(-0.704551339, -1.57170856, -0.514510214, 0.806708276, -0.0917121023, 0.583790064, 0.173647195, 0.981060565, -0.0858313739, -0.564861596, 0.170614377, 0.807355106),
  1399. }, .4, false)
  1400. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .4)
  1401. end
  1402. Humanoid.Jump = true
  1403. RootPart.Velocity = Vector3.new(0, 60, 0)
  1404. RootPart.Velocity = RootPart.CFrame.lookVector * 120
  1405. for i = 1, 2 do
  1406. CFuncs["Sound"].Create("http://roblox.com/asset/?id=356430004", Hitbox, 1, .8)
  1407. for i = 0, 1, 0.13 do
  1408. swait()
  1409. Effects["Sphere"].Create(BrickColor.new("Crimson"), Hitbox.CFrame, 1, 6, 1, 1, 6, 1, .25)
  1410. PlayAnimationFromTable({
  1411. CFrame.new(7.62939453e-006, -5.49852848e-006, 0, 0, 1, 0, -1, 0, -0, 0, 0, 1) * CFrame.new (-2, 0, 0) * CFrame.Angles(0, 6 * i, 0),
  1412. CFrame.new(0.0254868045, 1.48261905, -0.0951254517, 0.965925872, 0.0449433438, -0.254886985, -0, 0.984807849, 0.173647806, 0.258818984, -0.167730898, 0.951251388),
  1413. CFrame.new(1.50000095, -3.81469727e-006, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1414. CFrame.new(-1.78178596, 0.556488693, 0.278665841, 0.0103119966, 0.868719101, 0.495197833, -0.998181641, -0.0204700269, 0.0566964298, 0.0593899786, -0.494882047, 0.866928279),
  1415. CFrame.new(0.417056501, -1.8933146, -0.0417003036, 0.958333015, 0.128958657, -0.254887134, -0.0858319998, 0.981060386, 0.173647746, 0.27245301, -0.144534901, 0.951251388),
  1416. CFrame.new(-0.50000757, -1.480389, -0.300002158, 0.984807849, 1.1006091e-006, 0.173647985, -0.0868249908, 0.866025269, 0.492404163, -0.150382981, -0.500000417, 0.852868497),
  1417. }, .5, false)
  1418. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(50)), .5)
  1419. end
  1420. MagniDamage(Hitbox,5,10,15,10,"Normal")
  1421. end
  1422. attack = false
  1423. end
  1424.  
  1425. function Testy()
  1426. attack = true
  1427.  
  1428. Handle1.Transparency = 0.5
  1429. Handle2.Transparency = 0.5
  1430. Handle3.Transparency = 0.5
  1431. blood = Effects["Sphere"].Create(BrickColor.new("Crimson"), Handle1.CFrame, 1, 6, 1, 3, 6, 3, .1)
  1432. blood = Effects["Sphere"].Create(BrickColor.new("Crimson"), Handle2.CFrame, 1, 6, 1, 3, 6, 3, .1)
  1433. blood = Effects["Sphere"].Create(BrickColor.new("Crimson"), Handle3.CFrame, 1, 6, 1, 3, 6, 3, .1)
  1434. ---MagniDamage(blood,5,10,15,10,"Normal")
  1435. for i = 0, 1, 0.15 do
  1436. swait()
  1437. PlayAnimationFromTable({
  1438. CFrame.new(0, -0.180291891, -0, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849),
  1439. CFrame.new(1.18240714e-005, 1.49997199, -7.4505806e-008, 0.965925872, -0.022557538, 0.257834196, 0, 0.99619478, 0.0871556103, -0.258819073, -0.0841858685, 0.962250233),
  1440. CFrame.new(1.5000155, -1.01327896e-006, 4.76837215e-007, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),
  1441. CFrame.new(-0.447810113, 0.518174291, -0.913273036, 0.342020571, -0.769750178, -0.538986802, -0.936116755, -0.229110137, -0.2668221, 0.0818990245, 0.595813155, -0.798936367),
  1442. CFrame.new(0.465754628, -1.83153605, 0.243922144, 0.980150282, 0.00806577504, -0.198092476, 0.02535001, 0.985871851, 0.16557236, 0.196629256, -0.167307436, 0.966097951),
  1443. CFrame.new(-0.622918487, -1.87279665, -0.111466706, 0.953385651, 0.0850866139, 0.289510459, -0.088893041, 0.996041179, -1.49906975e-006, -0.28836444, -0.0257340297, 0.957175016),
  1444. }, .4, false)
  1445. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .5)
  1446. Handle1Weld.C0 = clerp(Handle1Weld.C0, CFrame.new(0, 0, 6) * angles(math.rad(-20), math.rad(0), math.rad(0)), .5)
  1447. Handle2Weld.C0 = clerp(Handle2Weld.C0, CFrame.new(4, 0, 6) * angles(math.rad(0), math.rad(40), math.rad(-50)), .5)
  1448. Handle3Weld.C0 = clerp(Handle3Weld.C0, CFrame.new(-4, 0, 6) * angles(math.rad(0), math.rad(-40), math.rad(50)), .5)
  1449. end
  1450. CFuncs["Sound"].Create("http://roblox.com/asset/?id=356430004", Hitbox, 1, .8)
  1451. CFuncs["Sound"].Create("http://roblox.com/asset/?id=299439036", Handle1, 1, .8)
  1452. CFuncs["Sound"].Create("http://roblox.com/asset/?id=299439036", Handle2, 1, .7)
  1453. CFuncs["Sound"].Create("http://roblox.com/asset/?id=299439036", Handle3, 1, .82)
  1454. for i = 0, 1, 0.15 do
  1455. swait()
  1456. PlayAnimationFromTable({
  1457. CFrame.new(0.0179506578, -0.380292028, 0.134073228, 0.76604414, 0, 0.642788053, 0, 1, 0, -0.642788053, 0, 0.76604414),
  1458. CFrame.new(1.26026571e-005, 1.49997222, -2.12714076e-006, 0.764292061, 0.0442237556, -0.64335233, -0.0157020073, 0.998626232, 0.049991399, 0.644679248, -0.0281061027, 0.76393646),
  1459. CFrame.new(1.50001931, -9.53674316e-007, -1.90734886e-006, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),
  1460. CFrame.new(-1.8131299, 0.274920315, -0.286728144, 0.185567051, 0.851651728, -0.490157425, -0.901894689, 0.345629245, 0.259087801, 0.390065312, 0.393992186, 0.832237601),
  1461. CFrame.new(0.907179058, -1.66526854, -0.139867902, 0.623507261, -0.060100507, -0.77950424, 0.125846967, 0.991754591, 0.0241968501, 0.771622598, -0.113185152, 0.625929594),
  1462. CFrame.new(-0.584807515, -1.67914259, -0.143811375, 0.783990502, 0.190572634, -0.590797067, -0.0509870276, 0.968264461, 0.244671807, 0.61867547, -0.161697388, 0.768826902),
  1463. }, .4, false)
  1464. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(50)), .5)
  1465. Handle1Weld.C0 = clerp(Handle1Weld.C0, CFrame.new(0, -4, -6) * angles(math.rad(-5), math.rad(0), math.rad(0)), .7)
  1466. Handle2Weld.C0 = clerp(Handle2Weld.C0, CFrame.new(-4, 0, -6) * angles(math.rad(0), math.rad(14), math.rad(-50)), .7)
  1467. Handle3Weld.C0 = clerp(Handle3Weld.C0, CFrame.new(4, 0, -6) * angles(math.rad(0), math.rad(-14), math.rad(50)), .7)
  1468. end
  1469. blood = Effects["Sphere"].Create(BrickColor.new("Crimson"), Handle1.CFrame, 1, 6, 1, 3, 6, 3, .1)
  1470. blood = Effects["Sphere"].Create(BrickColor.new("Crimson"), Handle2.CFrame, 1, 6, 1, 3, 6, 3, .1)
  1471. blood = Effects["Sphere"].Create(BrickColor.new("Crimson"), Handle3.CFrame, 1, 6, 1, 3, 6, 3, .1)
  1472. ---MagniDamage(blood,5,10,15,10,"Normal")
  1473. Handle1.Transparency = 1
  1474. Handle2.Transparency = 1
  1475. Handle3.Transparency = 1
  1476. attack = false
  1477. ---MagniDamage(Effects.Sphere,5,10,15,10,"Normal")
  1478. end
  1479.  
  1480. function Testy2()
  1481. attack = true
  1482. Handle1.Transparency = 0.5
  1483. Handle2.Transparency = 0.5
  1484. Handle3.Transparency = 0.5
  1485. Effects["Sphere"].Create(BrickColor.new("Crimson"), Handle1.CFrame, 1, 6, 1, 3, 6, 3, .1)
  1486. Effects["Sphere"].Create(BrickColor.new("Crimson"), Handle2.CFrame, 1, 6, 1, 3, 6, 3, .1)
  1487. Effects["Sphere"].Create(BrickColor.new("Crimson"), Handle3.CFrame, 1, 6, 1, 3, 6, 3, .1)
  1488. for i = 0, 1, 0.08 do
  1489. swait()
  1490. PlayAnimationFromTable({
  1491. CFrame.new(0, -0, -9.53674316e-007, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  1492. CFrame.new(2.83122063e-007, 1.49999225, 2.42143869e-008, 0.087154977, -0.0868239701, 0.992403984, 0, 0.99619478, 0.0871556103, -0.99619478, -0.0075960462, 0.0868233293),
  1493. CFrame.new(1.5000031, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1494. CFrame.new(-0.764261544, 0.684002519, -0.825130582, 0.115805067, -0.564863205, 0.81701827, 0.951251566, -0.173647583, -0.254886448, 0.285849184, 0.806707025, 0.517217696),
  1495. CFrame.new(0.760251999, -1.98473239, -0.0149175525, 0.586671054, -0.0574441403, 0.807785451, 0.0493380055, 0.998163462, 0.0351497643, -0.808321118, 0.019233169, 0.588427722),
  1496. CFrame.new(-0.649721146, -1.99021912, 0.0874764621, 0.498949945, 0.0323918872, 0.866025329, -0.0647849888, 0.997899354, 7.27124757e-007, -0.864205897, -0.0561058037, 0.500000298),
  1497. }, .3, false)
  1498. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), .5)
  1499. end
  1500. Effects["Wave"].Create(BrickColor.new("Crimson"), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), .5, .5, .5, 1, 1, 1, .06)
  1501. CFuncs["Sound"].Create("http://roblox.com/asset/?id=356430004", Hitbox, 1, .4)
  1502. CFuncs["Sound"].Create("http://roblox.com/asset/?id=299440437", Handle1, .5, 1)
  1503. CFuncs["Sound"].Create("http://roblox.com/asset/?id=299440437", Handle1, .5, 1.1)
  1504. CFuncs["Sound"].Create("http://roblox.com/asset/?id=299440437", Handle1, .5, 1.2)
  1505. for i = 0, 1, 0.1 do
  1506. swait()
  1507. RootPart.Velocity = RootPart.CFrame.lookVector * 90
  1508. Effects["Wave"].Create(BrickColor.new("Crimson"), Hitbox.CFrame * CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(180)), .2, .6, .2, .2, .6, .2, .1)
  1509. Effects["Sphere"].Create(BrickColor.new("Crimson"), Hitbox.CFrame, 1, 6, 1, 1, 6, 1, .1)
  1510. PlayAnimationFromTable({
  1511. CFrame.new(0, -0.398699045, -0.135920882, 0, 0, -1, 0.258818984, 0.965925872, 0, 0.965925872, -0.258818984, 0),
  1512. CFrame.new(-2.38418579e-007, 1.49999094, -4.48897481e-007, 0.0871546194, 0.17298834, 0.981060326, -2.84984708e-007, 0.984807611, -0.173649132, -0.99619478, 0.0151340403, 0.0858305842),
  1513. CFrame.new(1.50000286, 9.53674316e-007, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1514. CFrame.new(-1.81020629, 0.776545882, -0.160674587, 0.273203164, 0.961741209, 0.0203480646, 0.85831809, -0.234163672, -0.456571579, -0.434338897, 0.1422019, -0.889453948),
  1515. CFrame.new(1.0560205, -1.83496344, 0.208897829, 0.586671054, -0.330260158, 0.739422321, 0.0493385643, 0.925944328, 0.374423385, -0.808320999, -0.183181271, 0.559519291),
  1516. CFrame.new(-0.307119489, -1.65432382, 0.260093659, 0.498950422, -0.4049595, 0.766196072, -0.0647853762, 0.864206195, 0.498949468, -0.864205599, -0.298589319, 0.404960573),
  1517. }, .5, false)
  1518. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .5)
  1519. Handle1Weld.C0 = clerp(Handle1Weld.C0, CFrame.new(0, -4, -6) * angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  1520. Handle2Weld.C0 = clerp(Handle2Weld.C0, CFrame.new(-4, 0, -6) * angles(math.rad(0), math.rad(14), math.rad(-50)), .4)
  1521. Handle3Weld.C0 = clerp(Handle3Weld.C0, CFrame.new(4, 0, -6) * angles(math.rad(0), math.rad(-14), math.rad(50)), .4)
  1522. end
  1523. Effects["Sphere"].Create(BrickColor.new("Crimson"), Handle1.CFrame, 1, 6, 1, 3, 6, 3, .1)
  1524. Effects["Sphere"].Create(BrickColor.new("Crimson"), Handle2.CFrame, 1, 6, 1, 3, 6, 3, .1)
  1525. Effects["Sphere"].Create(BrickColor.new("Crimson"), Handle3.CFrame, 1, 6, 1, 3, 6, 3, .1)
  1526. Handle1.Transparency = 1
  1527. Handle2.Transparency = 1
  1528. Handle3.Transparency = 1
  1529. attack = false
  1530. end
  1531.  
  1532. --[[Attacks]]--
  1533.  
  1534. mouse.Button1Down:connect(function()
  1535. if attack == false and attacktype == 1 then
  1536. attacktype = 2
  1537. attackone()
  1538. elseif attack == false and attacktype == 2 then
  1539. attacktype = 3
  1540. attacktwo()
  1541. elseif attack == false and attacktype == 3 then
  1542. attacktype = 4
  1543. attackthree()
  1544. elseif attack == false and attacktype == 4 then
  1545. attacktype = 1
  1546. attackfour()
  1547. end
  1548. end)
  1549.  
  1550. mouse.KeyDown:connect(function(k)
  1551. k = k:lower()
  1552. if attack == false and k == 'z' then
  1553. Trip()
  1554. elseif attack == false and k == 'x' then
  1555. SpinnySpin()
  1556. elseif attack == false and k == 'c' then
  1557. Testy()
  1558. elseif attack == false and k == 'v' then
  1559. Testy2()
  1560. end
  1561. end)
  1562.  
  1563. while true do
  1564. swait()
  1565. if Hit == false then
  1566. Humanoid.WalkSpeed = 30
  1567. end
  1568. RightArm.Transparency = 1
  1569. for i, v in pairs(Character:GetChildren()) do
  1570. if v:IsA("Part") then
  1571. v.Material = "SmoothPlastic"
  1572. elseif v:IsA("Hat") then
  1573. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1574. end
  1575. end
  1576. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1577. velocity = RootPart.Velocity.y
  1578. sine = sine + change
  1579. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1580. if equipped == true or equipped == false then
  1581. if RootPart.Velocity.y > 1 and hit == nil then
  1582. Anim = "Jump"
  1583. if attack == false then
  1584. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1585. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, -.1) * angles(math.rad(-10), math.rad(0), math.rad(0)), .3)
  1586. RW.C0 = clerp(RW.C0, CFrame.new(1.7, 0.5, .3) * angles(math.rad(-30), math.rad(0), math.rad(50)), 0.3)
  1587. LW.C0 = clerp(LW.C0, CFrame.new(-1.7, 0.5, .3) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  1588. RH.C0 = clerp(RH.C0, CFrame.new(.5, -.9, -.3) * angles(math.rad(-20), math.rad(0), math.rad(0)), .3)
  1589. LH.C0 = clerp(LH.C0, CFrame.new(-.5, -1, -.2) * angles(math.rad(-10), math.rad(0), math.rad(0)), .3)
  1590. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(20), math.rad(-20)), .3)
  1591. Handle1Weld.C0 = clerp(Handle1Weld.C0, CFrame.new(0, 0, 6) * angles(math.rad(-20), math.rad(0), math.rad(0)), .5)
  1592. Handle2Weld.C0 = clerp(Handle2Weld.C0, CFrame.new(4, 0, 6) * angles(math.rad(0), math.rad(40), math.rad(-50)), .5)
  1593. Handle3Weld.C0 = clerp(Handle3Weld.C0, CFrame.new(-4, 0, 6) * angles(math.rad(0), math.rad(-40), math.rad(50)), .5)
  1594. end
  1595. elseif RootPart.Velocity.y < -1 and hit == nil then
  1596. Anim = "Fall"
  1597. if attack == false then
  1598. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1599. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, -.2) * angles(math.rad(-20), math.rad(0), math.rad(0)), .3)
  1600. RW.C0 = clerp(RW.C0, CFrame.new(1.9, 0.9, .3) * angles(math.rad(-30), math.rad(0), math.rad(80)), 0.3)
  1601. LW.C0 = clerp(LW.C0, CFrame.new(-1.9, 0.9, .3) * angles(math.rad(-30), math.rad(0), math.rad(-80)), 0.3)
  1602. RH.C0 = clerp(RH.C0, CFrame.new(.5, -1.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(5)), .3)
  1603. LH.C0 = clerp(LH.C0, CFrame.new(-.5, -1.8, -.2) * angles(math.rad(-10), math.rad(0), math.rad(-5)), .3)
  1604. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(20), math.rad(-20)), .3)
  1605. Handle1Weld.C0 = clerp(Handle1Weld.C0, CFrame.new(0, 0, 6) * angles(math.rad(-20), math.rad(0), math.rad(0)), .5)
  1606. Handle2Weld.C0 = clerp(Handle2Weld.C0, CFrame.new(4, 0, 6) * angles(math.rad(0), math.rad(40), math.rad(-50)), .5)
  1607. Handle3Weld.C0 = clerp(Handle3Weld.C0, CFrame.new(-4, 0, 6) * angles(math.rad(0), math.rad(-40), math.rad(50)), .5)
  1608. end
  1609. elseif Torsovelocity < 1 and hit ~= nil then
  1610. Anim = "Idle"
  1611. if attack == false then
  1612. change = 1
  1613. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, -.15, 0) * angles(math.rad(0), math.rad(-40), math.rad(0)), .3)
  1614. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(40), math.rad(0)), .3)
  1615. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1616. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, -0.7) * angles(math.rad(50), math.rad(-50), math.rad(0)), 0.3)
  1617. RH.C0 = clerp(RH.C0, CFrame.new(.7, -1.9, 0.2) * angles(math.rad(-10), math.rad(40), math.rad(10)), .3)
  1618. LH.C0 = clerp(LH.C0, CFrame.new(-.74, -1.9, -0.2) * angles(math.rad(0), math.rad(40), math.rad(-4)), .3)
  1619. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(20), math.rad(-20)), .3)
  1620. Handle1Weld.C0 = clerp(Handle1Weld.C0, CFrame.new(0, 0, 6) * angles(math.rad(-20), math.rad(0), math.rad(0)), .5)
  1621. Handle2Weld.C0 = clerp(Handle2Weld.C0, CFrame.new(4, 0, 6) * angles(math.rad(0), math.rad(40), math.rad(-50)), .5)
  1622. Handle3Weld.C0 = clerp(Handle3Weld.C0, CFrame.new(-4, 0, 6) * angles(math.rad(0), math.rad(-40), math.rad(50)), .5)
  1623. end
  1624. elseif Torsovelocity > 2 and hit ~= nil then
  1625. Anim = "Walk"
  1626. if attack == false then
  1627. change = 3
  1628. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, -.15, 0) * angles(math.rad(-20), math.rad(-30 + 4 * math.cos(sine / 10)), math.rad(0)), .3)
  1629. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(10), math.rad(30 - 4 * math.cos(sine / 10)), math.rad(-5)), .3)
  1630. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1631. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.7) * angles(math.rad(80), math.rad(-60), math.rad(0)), 0.3)
  1632. RH.C0 = clerp(RH.C0, CFrame.new(.52, -1.85 - 0.5 * math.cos(sine / 8) / 2, 0 + 3 * math.sin(sine / 8) / 2) * angles(math.rad(-80 * math.sin(sine / 8)), math.rad(0), math.rad(2)), .3)
  1633. LH.C0 = clerp(LH.C0, CFrame.new(-.52, -1.85 + 0.5 * math.cos(sine / 8) / 2, 0 - 3 * math.sin(sine / 8) / 2) * angles(math.rad(80 * math.sin(sine / 8)), math.rad(0), math.rad(-2)), .3)
  1634. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(20), math.rad(-20)), .3)
  1635. Handle1Weld.C0 = clerp(Handle1Weld.C0, CFrame.new(0, 0, 6) * angles(math.rad(-20), math.rad(0), math.rad(0)), .5)
  1636. Handle2Weld.C0 = clerp(Handle2Weld.C0, CFrame.new(4, 0, 6) * angles(math.rad(0), math.rad(40), math.rad(-50)), .5)
  1637. Handle3Weld.C0 = clerp(Handle3Weld.C0, CFrame.new(-4, 0, 6) * angles(math.rad(0), math.rad(-40), math.rad(50)), .5)
  1638. end
  1639. end
  1640. end
  1641. if #Effects > 0 then
  1642. for e = 1, #Effects do
  1643. if Effects[e] ~= nil then
  1644. local Thing = Effects[e]
  1645. if Thing ~= nil then
  1646. local Part = Thing[1]
  1647. local Mode = Thing[2]
  1648. local Delay = Thing[3]
  1649. local IncX = Thing[4]
  1650. local IncY = Thing[5]
  1651. local IncZ = Thing[6]
  1652. if Thing[1].Transparency <= 1 then
  1653. if Thing[2] == "Block1" then
  1654. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1655. Mesh = Thing[1].Mesh
  1656. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1657. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1658. elseif Thing[2] == "Block2" then
  1659. Thing[1].CFrame = Thing[1].CFrame
  1660. Mesh = Thing[7]
  1661. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1662. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1663. elseif Thing[2] == "Cylinder" then
  1664. Mesh = Thing[1].Mesh
  1665. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1666. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1667. elseif Thing[2] == "Blood" then
  1668. Mesh = Thing[7]
  1669. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0)
  1670. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1671. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1672. elseif Thing[2] == "Elec" then
  1673. Mesh = Thing[1].Mesh
  1674. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1675. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1676. elseif Thing[2] == "Disappear" then
  1677. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1678. elseif Thing[2] == "Shatter" then
  1679. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1680. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1681. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1682. Thing[6] = Thing[6] + Thing[5]
  1683. end
  1684. else
  1685. Part.Parent = nil
  1686. table.remove(Effects, e)
  1687. end
  1688. end
  1689. end
  1690. end
  1691. end
  1692. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement