onemillionT

Untitled

Mar 3rd, 2020
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 172.30 KB | None | 0 0
  1. print("KING CRIMSON")
  2. wait(0.016666666666666666)
  3. Effects = {}
  4. local Player = game.Players.localPlayer
  5. local Character = Player.Character
  6. Character.Archivable = true
  7. AdvancingFortress = Character:Clone()
  8. AdvancingFortress.Parent = Character
  9. torso = AdvancingFortress.Torso
  10. hum = AdvancingFortress.Humanoid
  11. AdvancingFortress.Name = "Advancing Fortress"
  12. pl = AdvancingFortress
  13. for i, v in pairs(AdvancingFortress:GetChildren()) do
  14. if v:IsA("BasePart") then
  15. v.Transparency = 1
  16. end
  17. end
  18. local Humanoid = AdvancingFortress.Humanoid
  19. local Mouse = Player:GetMouse()
  20. local LeftArm = AdvancingFortress["Left Arm"]
  21. local RightArm = AdvancingFortress["Right Arm"]
  22. local LeftLeg = AdvancingFortress["Left Leg"]
  23. local RightLeg = AdvancingFortress["Right Leg"]
  24. local Head = AdvancingFortress.Head
  25. local Torso = AdvancingFortress.Torso
  26. local Camera = game.Workspace.CurrentCamera
  27. local RootPart = AdvancingFortress.HumanoidRootPart
  28. local RootJoint = RootPart.RootJoint
  29. local attack = false
  30. local Anim = "Idle"
  31. local attacktype = 1
  32. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  33. local velocity = RootPart.Velocity.y
  34. local sine = 0
  35. local change = 1
  36. local Create = LoadLibrary("RbxUtility").Create
  37. local TimeStop = false
  38. local m = Create("Model")({
  39. Parent = AdvancingFortress,
  40. Name = "WeaponModel"
  41. })
  42.  
  43. local Orin = "rbxassetid://910395040"
  44. Head.face.Texture = Orin
  45. spawn(function()
  46. while wait() do
  47. Character["Body Colors"].HeadColor = BrickColor.new("Light brick yellow")
  48. Character["Body Colors"].TorsoColor = BrickColor.new("Light brick yellow")
  49. Character["Body Colors"].LeftArmColor = BrickColor.new("Light brick yellow")
  50. Character["Body Colors"].RightArmColor = BrickColor.new("Light brick yellow")
  51. Character["Body Colors"].LeftLegColor = BrickColor.new("Light brick yellow")
  52. Character["Body Colors"].RightLegColor = BrickColor.new("Light brick yellow")
  53. end
  54. end)
  55.  
  56. shirt = Instance.new("Shirt", Character)
  57. shirt.Name = "Shirt"
  58. pants = Instance.new("Pants", Character)
  59. pants.Name = "Pants"
  60. Character.Shirt.ShirtTemplate = "rbxassetid://769875603"
  61. Character.Pants.PantsTemplate = "rbxassetid://693211747"
  62.  
  63. for i, v in pairs(Character:GetChildren()) do
  64. if v.ClassName == "Accessory" then
  65. v:Remove()
  66. end
  67. end
  68.  
  69. Hat3 = Instance.new("Model")
  70. Hat3.Parent = Character
  71. Hat3.Name = "Hat3"
  72. rh = Instance.new("Part")
  73. rh.Parent = Hat3
  74. rh.BrickColor = BrickColor.new("Really black")
  75. rh.Locked = true
  76. rh.CanCollide = false
  77. mesh = Instance.new("SpecialMesh")
  78. rh.formFactor = "Symmetric"
  79. mesh.MeshType = "FileMesh"
  80. mesh.MeshId = "rbxassetid://901580821"
  81. mesh.TextureId = "rbxassetid://901580889"
  82. mesh.Parent = rh
  83. local weld = Instance.new("Weld")
  84. weld.Parent = rh
  85. weld.Part0 = rh
  86. weld.Part1 =Character.Head
  87. weld.C0 = CFrame.new(0, 1, -0.35)*CFrame.Angles(12.4, 0, 0)
  88. mesh.Scale = Vector3.new(0.05,0.05, 0.05)
  89. Hat3.Part.Transparency = 0
  90.  
  91. Hat = Instance.new("Model")
  92. Hat.Parent = Character
  93. Hat.Name = "Hat"
  94. rh = Instance.new("Part")
  95. rh.Parent = Hat
  96. rh.BrickColor = BrickColor.new("Quill grey")
  97. rh.Locked = true
  98. rh.CanCollide = false
  99. mesh = Instance.new("SpecialMesh")
  100. rh.formFactor = "Symmetric"
  101. mesh.MeshType = "FileMesh"
  102. mesh.MeshId = "rbxassetid://1017454246"
  103. mesh.Parent = rh
  104. local weld = Instance.new("Weld")
  105. weld.Parent = rh
  106. weld.Part0 = rh
  107. weld.Part1 = Head
  108. weld.C0 = CFrame.new(0, -0.5, 0.65)*CFrame.Angles(12.2, 0, 0)
  109. mesh.Scale = Vector3.new(0.015, 0.015, 0.015)
  110.  
  111. Head.face:Remove()
  112. AdvancingFortress.Head.Name = "FHead"
  113. AdvancingFortress.Torso.Name = "FTorso"
  114. AdvancingFortress.HumanoidRootPart.Name = "FHumanoidRootPart"
  115. Humanoid.Animator.Parent = nil
  116. AdvancingFortress.Animate.Parent = nil
  117. local function newMotor(part0, part1, c0, c1)
  118. local w = Create("Weld")({
  119. Parent = part0,
  120. Part0 = part0,
  121. Part1 = part1,
  122. C0 = c0,
  123. C1 = c1
  124. })
  125. return w
  126. end
  127. function clerp(a, b, t)
  128. return a:lerp(b, t)
  129. end
  130. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  131. NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  132. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  133. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  134. local RH = newMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
  135. local LH = newMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
  136. RootJoint.C1 = CFrame.new(0, 0, 0)
  137. RootJoint.C0 = CFrame.new(0, 0, 0)
  138. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  139. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  140. local rarmc1 = RW.C1
  141. local larmc1 = LW.C1
  142. local rlegc1 = RH.C1
  143. local llegc1 = LH.C1
  144. local resetc1 = false
  145. function PlayAnimationFromTable(table, speed, bool)
  146. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  147. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  148. RW.C0 = clerp(RW.C0, table[3], speed)
  149. LW.C0 = clerp(LW.C0, table[4], speed)
  150. RH.C0 = clerp(RH.C0, table[5], speed)
  151. LH.C0 = clerp(LH.C0, table[6], speed)
  152. if bool == true and resetc1 == false then
  153. resetc1 = true
  154. RootJoint.C1 = RootJoint.C1
  155. Torso.Neck.C1 = Torso.Neck.C1
  156. RW.C1 = rarmc1
  157. LW.C1 = larmc1
  158. RH.C1 = rlegc1
  159. LH.C1 = llegc1
  160. end
  161. end
  162. ArtificialHB = Create("BindableEvent", script)({Parent = script, Name = "Heartbeat"})
  163. script:WaitForChild("Heartbeat")
  164. frame = 0.03333333333333333
  165. tf = 0
  166. allowframeloss = false
  167. tossremainder = false
  168. lastframe = tick()
  169. script.Heartbeat:Fire()
  170. game:GetService("RunService").Heartbeat:connect(function(s, p)
  171. tf = tf + s
  172. if tf >= frame then
  173. if allowframeloss then
  174. script.Heartbeat:Fire()
  175. lastframe = tick()
  176. else
  177. for i = 1, math.floor(tf / frame) do
  178. script.Heartbeat:Fire()
  179. end
  180. lastframe = tick()
  181. end
  182. if tossremainder then
  183. tf = 0
  184. else
  185. tf = tf - frame * math.floor(tf / frame)
  186. end
  187. end
  188. end)
  189. function swait(num)
  190. if num == 0 or num == nil then
  191. ArtificialHB.Event:wait()
  192. else
  193. for i = 0, num do
  194. ArtificialHB.Event:wait()
  195. end
  196. end
  197. end
  198. function RemoveOutlines(part)
  199. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  200. end
  201. CFuncs = {
  202. Part = {
  203. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  204. local Part = Create("Part")({
  205. Parent = Parent,
  206. Reflectance = Reflectance,
  207. Transparency = Transparency,
  208. CanCollide = false,
  209. Locked = true,
  210. BrickColor = BrickColor.new(tostring(BColor)),
  211. Name = Name,
  212. Size = Size,
  213. Material = Material
  214. })
  215. RemoveOutlines(Part)
  216. return Part
  217. end
  218. },
  219. Mesh = {
  220. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  221. local Msh = Create(Mesh)({
  222. Parent = Part,
  223. Offset = OffSet,
  224. Scale = Scale
  225. })
  226. if Mesh == "SpecialMesh" then
  227. Msh.MeshType = MeshType
  228. Msh.MeshId = MeshId
  229. end
  230. return Msh
  231. end
  232. },
  233. Weld = {
  234. Create = function(Parent, Part0, Part1, C0, C1)
  235. local Weld = Create("Weld")({
  236. Parent = Parent,
  237. Part0 = Part0,
  238. Part1 = Part1,
  239. C0 = C0,
  240. C1 = C1
  241. })
  242. return Weld
  243. end
  244. },
  245. Sound = {
  246. Create = function(id, par, vol, pit)
  247. local Sound = Create("Sound")({
  248. Volume = vol,
  249. Pitch = pit or 1,
  250. SoundId = "rbxassetid://" .. id,
  251. Parent = par or workspace
  252. })
  253. Sound:play()
  254. game:GetService("Debris"):AddItem(Sound, 130)
  255. return Sound
  256. end
  257. },
  258. Decal = {
  259. Create = function(Color, Texture, Transparency, Name, Parent)
  260. local Decal = Create("Decal")({
  261. Color3 = Color,
  262. Texture = "rbxassetid://" .. Texture,
  263. Transparency = Transparency,
  264. Name = Name,
  265. Parent = Parent
  266. })
  267. return Decal
  268. end
  269. },
  270. BillboardGui = {
  271. Create = function(Parent, Image, Position, Size)
  272. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  273. BillPar.CFrame = CFrame.new(Position)
  274. local Bill = Create("BillboardGui")({
  275. Parent = BillPar,
  276. Adornee = BillPar,
  277. Size = UDim2.new(1, 0, 1, 0),
  278. SizeOffset = Vector2.new(Size, Size)
  279. })
  280. local d = Create("ImageLabel", Bill)({
  281. Parent = Bill,
  282. BackgroundTransparency = 1,
  283. Size = UDim2.new(1, 0, 1, 0),
  284. Image = "rbxassetid://" .. Image
  285. })
  286. return BillPar
  287. end
  288. },
  289. ParticleEmitter = {
  290. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  291. local Particle = Create("ParticleEmitter")({
  292. Parent = Parent,
  293. Color = ColorSequence.new(Color1, Color2),
  294. LightEmission = LightEmission,
  295. Size = Size,
  296. Texture = Texture,
  297. Transparency = Transparency,
  298. ZOffset = ZOffset,
  299. Acceleration = Accel,
  300. Drag = Drag,
  301. LockedToPart = LockedToPart,
  302. VelocityInheritance = VelocityInheritance,
  303. EmissionDirection = EmissionDirection,
  304. Enabled = Enabled,
  305. Lifetime = LifeTime,
  306. Rate = Rate,
  307. Rotation = Rotation,
  308. RotSpeed = RotSpeed,
  309. Speed = Speed,
  310. VelocitySpread = VelocitySpread
  311. })
  312. return Particle
  313. end
  314. },
  315. CreateTemplate = {}
  316. }
  317. function rayCast(Position, Direction, Range, Ignore)
  318. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  319. end
  320. function FindNearestTorso(pos)
  321. local list = game.Workspace:children()
  322. local torso
  323. local dist = 1000
  324. local temp, human, temp2
  325. for x = 1, #list do
  326. temp2 = list[x]
  327. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  328. temp = temp2:findFirstChild("Torso")
  329. human = temp2:findFirstChild("Humanoid")
  330. if temp ~= nil and human ~= nil and human.Health > 0 and dist > (temp.Position - pos).magnitude then
  331. local dohit = true
  332. if dohit == true then
  333. torso = temp
  334. dist = (temp.Position - pos).magnitude
  335. end
  336. end
  337. end
  338. end
  339. return torso, dist
  340. end
  341. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  342. if hit.Parent == nil then
  343. return
  344. end
  345. local h = hit.Parent:FindFirstChild("Humanoid")
  346. for _, v in pairs(hit.Parent:children()) do
  347. if v:IsA("Humanoid") then
  348. h = v
  349. end
  350. end
  351. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  352. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  353. return
  354. end
  355. local c = Create("ObjectValue")({
  356. Name = "creator",
  357. Value = game:service("Players").LocalPlayer,
  358. Parent = h
  359. })
  360. game:GetService("Debris"):AddItem(c, 0.5)
  361. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  362. local Damage = math.random(minim, maxim)
  363. local blocked = false
  364. local block = hit.Parent:findFirstChild("Block")
  365. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  366. blocked = true
  367. block.Value = block.Value - 1
  368. print(block.Value)
  369. end
  370. if TimeStop == false then
  371. h.Health = h.Health - Damage
  372. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Really red").Color)
  373. elseif TimeStop == true then
  374. repeat
  375. wait()
  376. until TimeStop == false
  377. h.Health = h.Health - Damage / 2
  378. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Really red").Color)
  379. end
  380. if Type == "Knockdown" then
  381. local hum = hit.Parent.Humanoid
  382. hum.PlatformStand = true
  383. coroutine.resume(coroutine.create(function(HHumanoid)
  384. swait(1)
  385. HHumanoid.PlatformStand = false
  386. end), hum)
  387. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  388. local bodvol = Create("BodyVelocity")({
  389. velocity = angle * knockback,
  390. P = 5000,
  391. maxForce = Vector3.new(8000, 8000, 8000),
  392. Parent = hit
  393. })
  394. local rl = Create("BodyAngularVelocity")({
  395. P = 3000,
  396. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  397. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  398. Parent = hit
  399. })
  400. game:GetService("Debris"):AddItem(bodvol, 0.5)
  401. game:GetService("Debris"):AddItem(rl, 0.5)
  402. elseif Type == "Normal" then
  403. local vp = Create("BodyVelocity")({
  404. P = 500,
  405. maxForce = Vector3.new(math.huge, 0, math.huge),
  406. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  407. })
  408. if knockback > 0 then
  409. vp.Parent = hit.Parent.Torso
  410. end
  411. game:GetService("Debris"):AddItem(vp, 0.5)
  412. elseif Type == "Up" then
  413. local bodyVelocity = Create("BodyVelocity")({
  414. velocity = Vector3.new(0, 20, 0),
  415. P = 5000,
  416. maxForce = Vector3.new(8000, 8000, 8000),
  417. Parent = hit
  418. })
  419. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  420. elseif Type == "DarkUp" then
  421. coroutine.resume(coroutine.create(function()
  422. for i = 0, 1, 0.1 do
  423. swait()
  424. Effects.Block.Create(BrickColor.new("Really black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
  425. end
  426. end))
  427. local bodyVelocity = Create("BodyVelocity")({
  428. velocity = Vector3.new(0, 20, 0),
  429. P = 5000,
  430. maxForce = Vector3.new(8000, 8000, 8000),
  431. Parent = hit
  432. })
  433. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  434. elseif Type == "Snare" then
  435. local bp = Create("BodyPosition")({
  436. P = 2000,
  437. D = 100,
  438. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  439. position = hit.Parent.Torso.Position,
  440. Parent = hit.Parent.Torso
  441. })
  442. game:GetService("Debris"):AddItem(bp, 1)
  443. elseif Type == "Freeze" then
  444. local BodPos = Create("BodyPosition")({
  445. P = 50000,
  446. D = 1000,
  447. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  448. position = hit.Parent.Torso.Position,
  449. Parent = hit.Parent.Torso
  450. })
  451. local BodGy = Create("BodyGyro")({
  452. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  453. P = 20000,
  454. Parent = hit.Parent.Torso,
  455. cframe = hit.Parent.Torso.CFrame
  456. })
  457. hit.Parent.Torso.Anchored = true
  458. coroutine.resume(coroutine.create(function(Part)
  459. swait(1.5)
  460. Part.Anchored = false
  461. end), hit.Parent.Torso)
  462. game:GetService("Debris"):AddItem(BodPos, 3)
  463. game:GetService("Debris"):AddItem(BodGy, 3)
  464. end
  465. local debounce = Create("BoolValue")({
  466. Name = "DebounceHit",
  467. Parent = hit.Parent,
  468. Value = true
  469. })
  470. game:GetService("Debris"):AddItem(debounce, Delay)
  471. c = Create("ObjectValue")({
  472. Name = "creator",
  473. Value = Player,
  474. Parent = h
  475. })
  476. game:GetService("Debris"):AddItem(c, 0.5)
  477. end
  478. end
  479. function ShowDamage(Pos, Text, Time, Color)
  480. local Rate = 0.03333333333333333
  481. local Pos = Pos or Vector3.new(0, 0, 0)
  482. local Text = Text or ""
  483. local Time = Time or 2
  484. local Color = Color or Color3.new(1, 0, 1)
  485. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  486. EffectPart.Anchored = true
  487. local BillboardGui = Create("BillboardGui")({
  488. Size = UDim2.new(3, 0, 3, 0),
  489. Adornee = EffectPart,
  490. Parent = EffectPart
  491. })
  492. local TextLabel = Create("TextLabel")({
  493. BackgroundTransparency = 1,
  494. Size = UDim2.new(1, 0, 1, 0),
  495. Text = Text,
  496. Font = "SciFi",
  497. TextColor3 = Color,
  498. TextScaled = true,
  499. Parent = BillboardGui
  500. })
  501. game.Debris:AddItem(EffectPart, Time)
  502. EffectPart.Parent = game:GetService("Workspace")
  503. delay(0, function()
  504. local Frames = Time / Rate
  505. for Frame = 1, Frames do
  506. wait(Rate)
  507. local Percent = Frame / Frames
  508. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  509. TextLabel.TextTransparency = Percent
  510. end
  511. if EffectPart and EffectPart.Parent then
  512. EffectPart:Destroy()
  513. end
  514. end)
  515. end
  516. local STDamage = false
  517. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  518. for _, c in pairs(workspace:children()) do
  519. local hum = c:findFirstChild("Humanoid")
  520. if hum ~= nil then
  521. local head = c:findFirstChild("Torso")
  522. if head ~= nil then
  523. local targ = head.Position - Part.Position
  524. local mag = targ.magnitude
  525. if Magnitude >= mag and c.Name ~= Player.Name then
  526. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0.1, HitSound, HitPitch)
  527. if STDamage == true then
  528. for i = 1, 3 do
  529. Effects.Block.Create(BrickColor.new("Really black"), head.CFrame, 1, 1, 1, 4, 4, 4, 0.07, 1)
  530. end
  531. for i = 1, 10 do
  532. CamShake(1, 70000)
  533. Effects.Break.Create(BrickColor.new("Really black"), head.CFrame, 1, 1, 1)
  534. end
  535. elseif STDamage == false then
  536. CamShake(1, 90000)
  537. Effects.Block.Create(BrickColor.new("Really black"), head.CFrame, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.07, 1)
  538. for i = 1, 2 do
  539. Effects.Break.Create(BrickColor.new("Really black"), head.CFrame, 0.4, 0.4, 0.4)
  540. end
  541. end
  542. end
  543. end
  544. end
  545. end
  546. end
  547. HHandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "White", "HHandle", Vector3.new(1.09999979, 0.299999923, 1.0999999))
  548. HHandleWeld = CFuncs.Weld.Create(m, Head, HHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0646438599, -0.0500068665, -0.0646400452, -0.707107365, -3.21031663E-8, 0.707106411, -8.19564079E-8, 1.00000119, -1.41561088E-7, -0.707106352, 1.38630043E-7, -0.707107484))
  549. Eye1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Forest green", "Eye1", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  550. PartWeld = CFuncs.Weld.Create(m, HHandle, Eye1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0381011963, -0.0574798584, 0.471725464, -2.89082527E-6, 0.173647985, -0.984807968, -6.2584877E-7, 0.984808922, 0.173648104, 1.00000012, 1.02902288E-6, -2.77161598E-6))
  551. CFuncs.Mesh.Create("SpecialMesh", Eye1, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  552. Eye2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Forest green", "Eye2", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  553. PartWeld = CFuncs.Weld.Create(m, HHandle, Eye2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0115432739, -0.0487277508, 0.482452393, -0.981060266, -0.173648134, -0.0858327746, -0.172987267, 0.984808922, -0.0151339322, 0.0871568322, 3.96735317E-7, -0.996194839))
  554. CFuncs.Mesh.Create("SpecialMesh", Eye2, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  555. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Crimson", "Part", Vector3.new(1.10000002, 0.999999881, 1.0999999))
  556. PartWeld = CFuncs.Weld.Create(m, HHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.200004578, -0.150001526, 0.200012207, 1.00000024, -3.21031663E-8, -5.96046448E-8, -3.21031663E-8, 1.00000119, 1.38630043E-7, -5.96046448E-8, 1.38630043E-7, 1.00000024))
  557. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  558. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Crimson", "Wedge", Vector3.new(1.20000005, 0.200000003, 0.200000003))
  559. WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0500011444, -0.449970245, 0.650001526, 3.21031663E-8, -1.00000119, -1.38630043E-7, -5.96046448E-8, 1.38630043E-7, 1.00000024, -1.00000024, 3.21031663E-8, 5.96046448E-8))
  560. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  561. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  562. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  563. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Crimson", "Wedge", Vector3.new(1.20000005, 0.200000003, 0.200000003))
  564. WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0500011444, -0.650009155, 0.449989319, 3.21031663E-8, -1.00000119, -1.38630043E-7, 5.96046448E-8, -1.38630043E-7, -1.00000024, 1.00000024, -3.21031663E-8, -5.96046448E-8))
  565. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  566. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  567. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  568. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  569. THandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Crimson", "THandle", Vector3.new(1, 0.799999893, 1))
  570. THandleWeld = CFuncs.Weld.Create(m, Torso, THandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  571. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Part", Vector3.new(0.99999994, 0.499999851, 0.900000036))
  572. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.354995728, 0.217259884, 0.408233643, 0.709785223, -0.157498211, -0.686585248, -2.32138293E-4, 0.974633098, -0.2238141, 0.704418123, 0.159019142, 0.691742837))
  573. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  574. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  575. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Part", Vector3.new(1.80000019, 0.300000012, 1.80000007))
  576. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-6.10351563E-5, -1.04342794, -0.404396057, 1, -8.19564079E-8, 5.96046519E-8, -1.01078633E-7, 0.939694166, -0.342019171, 1.52638329E-8, 0.34201926, 0.939693213))
  577. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  578. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  579. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Part", Vector3.new(1.09999979, 0.499999911, 1.0999999))
  580. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.11920929, 0.416726112, -0.115348816, 0.709785044, 0.0255700666, -0.70395416, -2.32494262E-4, 0.999350607, 0.0360652842, 0.704418302, -0.0254352745, 0.709329426))
  581. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Part", Vector3.new(0.999999762, 0.300000012, 0.799999893))
  582. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0691986084, 0.816726685, -0.165359497, 0.709785044, 0.0255700666, -0.70395416, -2.32494262E-4, 0.999350607, 0.0360652842, 0.704418302, -0.0254352745, 0.709329426))
  583. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Part", Vector3.new(0.899999976, 0.499999851, 0.899999917))
  584. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.331642151, 0.516366959, 0.335166931, 0.709785223, -0.157498211, -0.686585248, -2.32138293E-4, 0.974633098, -0.2238141, 0.704418123, 0.159019142, 0.691742837))
  585. AHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Crimson", "AHandleR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
  586. AHandleRWeld = CFuncs.Weld.Create(m, RightArm, AHandleR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.209915161, 0.00999641418, -3.81469727E-6, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  587. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "White", "Part", Vector3.new(0.200000003, 0.899999976, 1.01999998))
  588. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999984741, 0.550004005, 0, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  589. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Forest green", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  590. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.150001526, 0.200003624, -0.359994888, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  591. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Forest green", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  592. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.20000267, 0.359992981, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  593. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Part", Vector3.new(1.20000005, 0.800000012, 1.20000005))
  594. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.209899902, -0.809997559, 5.7220459E-6, -1, 8.19564079E-8, -5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, -5.96046519E-8, 1.41561088E-7, -1.00000024))
  595. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "White", "Part", Vector3.new(0.200000003, 0.699999988, 1.01999998))
  596. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.300003052, 0.650004387, 1.71661377E-5, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  597. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "White", "Part", Vector3.new(0.300000012, 0.699999988, 1.01999998))
  598. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.650003433, 0, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  599. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Part", Vector3.new(0.200000003, 0.699999928, 0.520000041))
  600. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199996948, -0.049996376, -3.81469727E-6, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  601. HitboxR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "White", "HitboxR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
  602. HitboxRWeld = CFuncs.Weld.Create(m, AHandleR, HitboxR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.700003624, 0, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  603. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Wedge", Vector3.new(0.200000003, 0.5, 0.200000003))
  604. WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.200012207, -0.149997711, 0.360010147, -1, 8.19564079E-8, -5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, -5.96046519E-8, 1.41561088E-7, -1.00000024))
  605. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  606. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.300000012))
  607. WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -1.30999851, 0.659896851, -5.96046519E-8, 1.41561088E-7, -1.00000024, -8.19564079E-8, 1.00000119, -1.41561088E-7, 1, -8.19564079E-8, 5.96046519E-8))
  608. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  609. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Wedge", Vector3.new(0.200000003, 0.5, 0.200000003))
  610. WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199981689, -0.149998665, 0.359991074, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  611. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  612. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.899999976))
  613. WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.90734863E-6, 0.309997559, -0.0598983765, -5.96046519E-8, 1.41561088E-7, -1.00000024, 8.19564079E-8, -1.00000119, 1.41561088E-7, -1, 8.19564079E-8, -5.96046519E-8))
  614. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  615. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.300000012))
  616. WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.81469727E-6, 0.309999466, 0.659896851, 5.96046519E-8, -1.41561088E-7, 1.00000024, 8.19564079E-8, -1.00000119, 1.41561088E-7, 1, -8.19564079E-8, 5.96046519E-8))
  617. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  618. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "White", "Wedge", Vector3.new(1.01999998, 0.200000003, 0.300000012))
  619. WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.7220459E-6, 0.200003624, 0.150016785, 5.96046519E-8, -1.41561088E-7, 1.00000024, -8.19564079E-8, 1.00000119, -1.41561088E-7, -1, 8.19564079E-8, -5.96046519E-8))
  620. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  621. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  622. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "White", "Wedge", Vector3.new(1.01999998, 0.200000003, 0.200000003))
  623. WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.7220459E-6, 0.20000267, 0.299995422, -5.96046519E-8, 1.41561088E-7, -1.00000024, -8.19564079E-8, 1.00000119, -1.41561088E-7, 1, -8.19564079E-8, 5.96046519E-8))
  624. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  625. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  626. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.900000095))
  627. WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.7220459E-6, -1.30999947, -0.0598831177, 5.96046519E-8, -1.41561088E-7, 1.00000024, -8.19564079E-8, 1.00000119, -1.41561088E-7, -1, 8.19564079E-8, -5.96046519E-8))
  628. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  629. AHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Crimson", "AHandleL", Vector3.new(0.800000072, 0.800000012, 1.22000003))
  630. AHandleLWeld = CFuncs.Weld.Create(m, LeftArm, AHandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.210014343, 0.00999736786, 1.14440918E-5, -1, 8.19564079E-8, -5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, -5.96046519E-8, 1.41561088E-7, -1.00000024))
  631. HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "HitboxL", Vector3.new(0.800000072, 0.800000012, 1.22000003))
  632. HitboxLWeld = CFuncs.Weld.Create(m, AHandleL, HitboxL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.700003624, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  633. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Forest green", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  634. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149986267, 0.200001717, -0.360012054, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  635. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Part", Vector3.new(0.200000003, 0.699999928, 0.520000041))
  636. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199989319, -0.0499982834, -9.53674316E-6, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  637. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Forest green", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  638. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149986267, 0.200001717, 0.359992981, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  639. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Part", Vector3.new(1.20000005, 0.800000012, 1.20000005))
  640. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.21005249, -0.81000042, 2.28881836E-5, -1, -8.19564079E-8, -5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, -5.96046519E-8, -1.41561088E-7, -1.00000024))
  641. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "White", "Part", Vector3.new(0.200000003, 0.899999976, 1.01999998))
  642. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999984741, 0.550003052, -5.7220459E-6, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  643. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "White", "Part", Vector3.new(0.200000003, 0.699999988, 1.01999998))
  644. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.299995422, 0.650003433, -3.81469727E-6, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  645. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "White", "Part", Vector3.new(0.300000012, 0.699999988, 1.01999998))
  646. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.65000248, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  647. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.300000012))
  648. WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.81469727E-6, 0.309998512, 0.660064697, 5.96046519E-8, 1.41561088E-7, 1.00000024, -8.19564079E-8, -1.00000119, -1.41561088E-7, 1, 8.19564079E-8, 5.96046519E-8))
  649. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  650. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Wedge", Vector3.new(0.200000003, 0.5, 0.200000003))
  651. WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199989319, -0.149998665, 0.359992981, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  652. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  653. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.900000095))
  654. WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.47955322E-5, -1.30999947, -0.060043335, 5.96046519E-8, 1.41561088E-7, 1.00000024, 8.19564079E-8, 1.00000119, 1.41561088E-7, -1, -8.19564079E-8, -5.96046519E-8))
  655. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  656. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "White", "Wedge", Vector3.new(1.01999998, 0.200000003, 0.300000012))
  657. WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.7220459E-6, 0.20000267, 0.150001526, 5.96046519E-8, 1.41561088E-7, 1.00000024, 8.19564079E-8, 1.00000119, 1.41561088E-7, -1, -8.19564079E-8, -5.96046519E-8))
  658. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  659. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  660. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  661. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Wedge", Vector3.new(0.200000003, 0.5, 0.200000003))
  662. WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.199981689, -0.149999619, 0.360010147, -1, -8.19564079E-8, -5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, -5.96046519E-8, -1.41561088E-7, -1.00000024))
  663. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  664. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.899999976))
  665. WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.67028809E-5, 0.309998512, -0.0600509644, -5.96046519E-8, -1.41561088E-7, -1.00000024, -8.19564079E-8, -1.00000119, -1.41561088E-7, -1, -8.19564079E-8, -5.96046519E-8))
  666. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  667. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  668. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "White", "Wedge", Vector3.new(1.01999998, 0.200000003, 0.200000003))
  669. WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.62939453E-6, 0.200003624, 0.299987793, -5.96046519E-8, -1.41561088E-7, -1.00000024, 8.19564079E-8, 1.00000119, 1.41561088E-7, 1, 8.19564079E-8, 5.96046519E-8))
  670. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  671. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.300000012))
  672. WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316E-6, -1.30999947, 0.660049438, -5.96046519E-8, -1.41561088E-7, -1.00000024, 8.19564079E-8, 1.00000119, 1.41561088E-7, 1, 8.19564079E-8, 5.96046519E-8))
  673. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  674. LHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Crimson", "LHandleR", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  675. LHandleRWeld = CFuncs.Weld.Create(m, RightLeg, LHandleR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00498962402, -0.0950021744, 0.00499534607, -1, 8.19564079E-8, -5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, -5.96046519E-8, 1.41561088E-7, -1.00000024))
  676. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Part", Vector3.new(0.800000012, 0.800000012, 0.200000003))
  677. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00498962402, -0.00499916077, -0.604999542, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  678. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "White", "Part", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  679. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.600002289, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  680. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Part", Vector3.new(0.400000006, 1.20000005, 0.200000003))
  681. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00499725342, -0.00499916077, -0.604999542, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  682. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  683. WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.604999542, -0.504998207, 0.29499054, -2.98023224E-8, -6.70552254E-8, -1.00000012, 3.7252903E-8, 1.0000006, 7.4505806E-8, 1, 4.47034836E-8, 2.98023224E-8))
  684. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  685. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  686. WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.60499382, -0.495001793, 0.305000305, -5.96046519E-8, -1.41561088E-7, -1.00000024, -8.19564079E-8, -1.00000119, -1.41561088E-7, -1, -8.19564079E-8, -5.96046519E-8))
  687. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  688. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  689. WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.604999542, -0.495001793, 0.29499054, 2.98023224E-8, 6.70552254E-8, 1.00000012, -3.7252903E-8, -1.0000006, -7.4505806E-8, 1, 4.47034836E-8, 2.98023224E-8))
  690. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  691. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  692. WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.604999542, -0.504998207, 0.305000305, 2.98023224E-8, 6.70552254E-8, 1.00000012, 3.7252903E-8, 1.0000006, 7.4505806E-8, -1, -4.47034836E-8, -2.98023224E-8))
  693. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  694. LHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Crimson", "LHandleL", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  695. LHandleLWeld = CFuncs.Weld.Create(m, LeftLeg, LHandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00498199463, -0.095000267, 0.00502204895, -1, 8.19564079E-8, -5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, -5.96046519E-8, 1.41561088E-7, -1.00000024))
  696. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "White", "Part", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  697. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.600001335, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  698. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Part", Vector3.new(0.400000006, 1.20000005, 0.300000012))
  699. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00499725342, -0.00500106812, -0.554998398, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  700. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Part", Vector3.new(0.800000012, 0.800000012, 0.300000012))
  701. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00498962402, -0.00500106812, -0.554998398, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  702. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  703. WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.554998398, -0.505000114, 0.305000305, 2.98023224E-8, 6.70552254E-8, 1.00000012, 3.7252903E-8, 1.0000006, 7.4505806E-8, -1, -4.47034836E-8, -2.98023224E-8))
  704. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  705. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  706. WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.554998398, -0.505000114, 0.29499054, -2.98023224E-8, -6.70552254E-8, -1.00000012, 3.7252903E-8, 1.0000006, 7.4505806E-8, 1, 4.47034836E-8, 2.98023224E-8))
  707. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  708. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  709. WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.554998398, -0.494999886, 0.29499054, 2.98023224E-8, 6.70552254E-8, 1.00000012, -3.7252903E-8, -1.0000006, -7.4505806E-8, 1, 4.47034836E-8, 2.98023224E-8))
  710. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  711. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Grey", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  712. WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.554998398, -0.494999886, 0.305000305, -5.96046519E-8, -1.41561088E-7, -1.00000024, -8.19564079E-8, -1.00000119, -1.41561088E-7, -1, -8.19564079E-8, -5.96046519E-8))
  713. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  714. Shield = CFuncs.Part.Create(m, "Neon", 0, 0.5, "Really red", "Part", Vector3.new(9.1, 8.5, 0.2))
  715. CFuncs.Mesh.Create("SpecialMesh", Shield, "FileMesh", "rbxassetid://708292865", Vector3.new(0, 0, 0), Vector3.new(0.04, 0.04, 0.04))
  716. Shield.Parent = nil
  717. EffectModel = Create("Model")({Parent = Character, Name = "Effects"})
  718. Effects = {
  719. Block = {
  720. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  721. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  722. prt.Anchored = true
  723. prt.CFrame = cframe
  724. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  725. game:GetService("Debris"):AddItem(prt, 10)
  726. if Type == 1 or Type == nil then
  727. table.insert(Effects, {
  728. prt,
  729. "Block1",
  730. delay,
  731. x3,
  732. y3,
  733. z3,
  734. msh
  735. })
  736. elseif Type == 2 then
  737. table.insert(Effects, {
  738. prt,
  739. "Block2",
  740. delay,
  741. x3,
  742. y3,
  743. z3,
  744. msh
  745. })
  746. end
  747. end
  748. },
  749. Cylinder = {
  750. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  751. local prt = CFuncs.Part .. Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  752. prt.Anchored = true
  753. prt.CFrame = cframe
  754. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  755. game:GetService("Debris"):AddItem(prt, 2)
  756. Effects[#Effects + 1] = {
  757. prt,
  758. "Cylinder",
  759. delay,
  760. x3,
  761. y3,
  762. z3
  763. }
  764. end
  765. },
  766. Head = {
  767. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  768. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  769. prt.Anchored = true
  770. prt.CFrame = cframe
  771. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  772. game:GetService("Debris"):AddItem(prt, 10)
  773. table.insert(Effects, {
  774. prt,
  775. "Cylinder",
  776. delay,
  777. x3,
  778. y3,
  779. z3,
  780. msh
  781. })
  782. end
  783. },
  784. Sphere = {
  785. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  786. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  787. prt.Anchored = true
  788. prt.CFrame = cframe
  789. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  790. game:GetService("Debris"):AddItem(prt, 10)
  791. table.insert(Effects, {
  792. prt,
  793. "Cylinder",
  794. delay,
  795. x3,
  796. y3,
  797. z3,
  798. msh
  799. })
  800. end
  801. },
  802. Sphere2 = {
  803. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  804. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  805. prt.Anchored = true
  806. prt.CFrame = cframe
  807. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  808. game:GetService("Debris"):AddItem(prt, 10)
  809. table.insert(Effects, {
  810. prt,
  811. "Cylinder",
  812. delay,
  813. x3,
  814. y3,
  815. z3,
  816. msh
  817. })
  818. end
  819. },
  820. Elec = {
  821. Create = function(cff, x, y, z)
  822. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Purple"), "Part", Vector3.new(1, 1, 1))
  823. prt.Anchored = true
  824. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  825. prt.CFrame = CFrame.new(prt.Position)
  826. game:GetService("Debris"):AddItem(prt, 2)
  827. local xval = math.random() / 2
  828. local yval = math.random() / 2
  829. local zval = math.random() / 2
  830. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  831. table.insert(Effects, {
  832. prt,
  833. "Elec",
  834. 0.1,
  835. x,
  836. y,
  837. z,
  838. xval,
  839. yval,
  840. zval
  841. })
  842. end
  843. },
  844. Ring = {
  845. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  846. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  847. prt.Anchored = true
  848. prt.CFrame = cframe
  849. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  850. game:GetService("Debris"):AddItem(prt, 10)
  851. table.insert(Effects, {
  852. prt,
  853. "Cylinder",
  854. delay,
  855. x3,
  856. y3,
  857. z3,
  858. msh
  859. })
  860. end
  861. },
  862. Wave = {
  863. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  864. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  865. prt.Anchored = true
  866. prt.CFrame = cframe
  867. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  868. game:GetService("Debris"):AddItem(prt, 10)
  869. table.insert(Effects, {
  870. prt,
  871. "Cylinder",
  872. delay,
  873. x3,
  874. y3,
  875. z3,
  876. msh
  877. })
  878. end
  879. },
  880. Break = {
  881. Create = function(brickcolor, cframe, x1, y1, z1)
  882. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  883. prt.Anchored = true
  884. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  885. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  886. local num = math.random(10, 50) / 1000
  887. game:GetService("Debris"):AddItem(prt, 10)
  888. table.insert(Effects, {
  889. prt,
  890. "Shatter",
  891. num,
  892. prt.CFrame,
  893. math.random() - math.random(),
  894. 0,
  895. math.random(50, 100) / 100
  896. })
  897. end
  898. },
  899. Fire = {
  900. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  901. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  902. prt.Anchored = true
  903. prt.CFrame = cframe
  904. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  905. game:GetService("Debris"):AddItem(prt, 10)
  906. table.insert(Effects, {
  907. prt,
  908. "Fire",
  909. delay,
  910. 1,
  911. 1,
  912. 1,
  913. msh
  914. })
  915. end
  916. },
  917. FireWave = {
  918. Create = function(brickcolor, cframe, x1, y1, z1)
  919. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  920. prt.Anchored = true
  921. prt.CFrame = cframe
  922. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  923. local d = Create("Decal")({
  924. Parent = prt,
  925. Texture = "rbxassetid://26356434",
  926. Face = "Top"
  927. })
  928. local d = Create("Decal")({
  929. Parent = prt,
  930. Texture = "rbxassetid://26356434",
  931. Face = "Bottom"
  932. })
  933. game:GetService("Debris"):AddItem(prt, 10)
  934. table.insert(Effects, {
  935. prt,
  936. "FireWave",
  937. 1,
  938. 30,
  939. math.random(400, 600) / 100,
  940. msh
  941. })
  942. end
  943. },
  944. Lightning = {
  945. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  946. local magz = (p0 - p1).magnitude
  947. local curpos = p0
  948. local trz = {
  949. -ofs,
  950. ofs
  951. }
  952. for i = 1, tym do
  953. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  954. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  955. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  956. li.Material = "Neon"
  957. if tym == i then
  958. local magz2 = (curpos - p1).magnitude
  959. li.Size = Vector3.new(th, th, magz2)
  960. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  961. table.insert(Effects, {
  962. li,
  963. "Disappear",
  964. last
  965. })
  966. else
  967. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  968. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  969. game.Debris:AddItem(li, 10)
  970. table.insert(Effects, {
  971. li,
  972. "Disappear",
  973. last
  974. })
  975. end
  976. end
  977. end
  978. },
  979. EffectTemplate = {}
  980. }
  981. local Invisible = true
  982. function Reappear()
  983. for _, i in pairs(AdvancingFortress:children()) do
  984. if i:IsA("BasePart") then
  985. coroutine.resume(coroutine.create(function(Part)
  986. for i = 0, 1, 0.3 do
  987. swait()
  988. Part.Transparency = -i
  989. end
  990. Part.Transparency = 0
  991. end), i)
  992. end
  993. end
  994. for _, i in pairs(m:children()) do
  995. if i:IsA("BasePart") then
  996. coroutine.resume(coroutine.create(function(Part)
  997. for i = 0, 1, 0.3 do
  998. swait()
  999. Part.Transparency = i
  1000. end
  1001. Part.Transparency = 0
  1002. end), i)
  1003. end
  1004. end
  1005. end
  1006. function ReappearArmorOnly()
  1007. for _, i in pairs(m:children()) do
  1008. if i:IsA("BasePart") then
  1009. coroutine.resume(coroutine.create(function(Part)
  1010. for i = 0, 1, 0.3 do
  1011. swait()
  1012. Part.Transparency = i
  1013. end
  1014. Part.Transparency = 0
  1015. end), i)
  1016. end
  1017. end
  1018. end
  1019. function Disappear()
  1020. for _, i in pairs(AdvancingFortress:children()) do
  1021. if i:IsA("BasePart") then
  1022. coroutine.resume(coroutine.create(function(Part)
  1023. for i = 0, 1, 0.3 do
  1024. swait()
  1025. Part.Transparency = i
  1026. end
  1027. Part.Transparency = 1
  1028. end), i)
  1029. end
  1030. end
  1031. for _, i in pairs(m:children()) do
  1032. if i:IsA("BasePart") then
  1033. coroutine.resume(coroutine.create(function(Part)
  1034. for i = 0, 1, 0.3 do
  1035. swait()
  1036. Part.Transparency = i
  1037. end
  1038. Part.Transparency = 1
  1039. end), i)
  1040. end
  1041. end
  1042. end
  1043. function DisappearArmorOnly()
  1044. for _, i in pairs(m:children()) do
  1045. if i:IsA("BasePart") then
  1046. coroutine.resume(coroutine.create(function(Part)
  1047. for i = 0, 1, 0.3 do
  1048. swait()
  1049. Part.Transparency = i
  1050. end
  1051. Part.Transparency = 1
  1052. end), i)
  1053. end
  1054. end
  1055. end
  1056. function CamShake(time, freq)
  1057. coroutine.resume(coroutine.create(function()
  1058. local cam = game:GetService("Workspace").CurrentCamera
  1059. local time = 10
  1060. local seed = Vector3.new(math.random(100, 200) / freq, math.random(100, 200) / freq, 0)
  1061. if math.random(1, 2) == 1 then
  1062. seed = Vector3.new(-seed.x, seed.y, 0)
  1063. end
  1064. if math.random(1, 2) == 1 then
  1065. seed = Vector3.new(seed.x, -seed.y, 0)
  1066. end
  1067. cam.CoordinateFrame = CFrame.new(cam.Focus.p) * (cam.CoordinateFrame - cam.CoordinateFrame.p) * CFrame.fromEulerAnglesXYZ(seed.x * time, seed.y * time, 0) * CFrame.new(0, 0, (cam.CoordinateFrame.p - cam.Focus.p).magnitude)
  1068. for i = 1, time do
  1069. cam.CoordinateFrame = CFrame.new(cam.Focus.p) * (cam.CoordinateFrame - cam.CoordinateFrame.p) * CFrame.fromEulerAnglesXYZ(-seed.x, -seed.y, 0) * CFrame.new(0, 0, (cam.CoordinateFrame.p - cam.Focus.p).magnitude)
  1070. wait()
  1071. end
  1072. end))
  1073. end
  1074. local ora = false
  1075. function ORA()
  1076. attack = true
  1077. local S = CFuncs.Sound.Create("0", Torso, 1, 1)
  1078. S.Looped = true
  1079. if ora == true then
  1080. while ora == true do
  1081. CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2))
  1082. MagnitudeDamage(HitboxL, 5, 4, 10, 0, "Normal", "260430117", 1)
  1083. for i = 0, 1, 0.8 do
  1084. swait()
  1085. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  1086. PlayAnimationFromTable({
  1087. CFrame.new(-0.561874092, -0.346845925, -0.435822666, 0.64278698, -0.323744029, 0.694272816, 0, 0.906308115, 0.422617555, -0.766044974, -0.271653026, 0.582563102) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1088. CFrame.new(8.9481473E-6, 1.49999249, 5.2684918E-6, 0.704669476, 0.0560214818, -0.707321048, -0.0868221819, 0.996195257, -0.0075956285, 0.704204142, 0.0667634308, 0.706852198) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1089. CFrame.new(1.97048378, 0.808467984, -0.254994273, -0.457079947, -0.7819345, 0.423859, 0.842444837, -0.227779076, 0.488266319, -0.285246044, 0.580254436, 0.762849629) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1090. CFrame.new(-1.18535733, 0.530705392, -0.713678956, 0.778861284, -0.400152355, 0.482962847, 0.492400557, -0.0868335962, -0.866026342, 0.388479888, 0.912325621, 0.129403993) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1091. CFrame.new(0.708622813, -1.45549953, -0.199998885, 0.984808087, -0.167729571, -0.0449446738, 0.173646823, 0.951251328, 0.254887581, 1.4603138E-6, -0.258819878, 0.965925694) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1092. CFrame.new(-0.604502141, -1.943735, 5.15520573E-4, 0.982544005, 0.00845471025, 0.185841322, -0.0717865527, 0.938827574, 0.336824685, -0.17162481, -0.34428525, 0.923045695) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1093. }, 0.8, false)
  1094. end
  1095. CFuncs.Sound.Create("200632136", HitboxR, 0.3, math.random(1, 1.2))
  1096. MagnitudeDamage(HitboxR, 5, 4, 10, 0, "Normal", "260430117", 1)
  1097. for i = 0, 1, 0.8 do
  1098. swait()
  1099. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  1100. PlayAnimationFromTable({
  1101. CFrame.new(1.1920929E-6, -0.0170394331, -0.52941519, 0.70710516, -2.21270369E-7, -0.707108498, 0.18301405, 0.965925574, 0.183012888, 0.683014154, -0.258820117, 0.683010995) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1102. CFrame.new(-1.22189522E-6, 1.49999356, 1.04308128E-6, 0.707110465, 0.122788236, 0.696360528, -1.4748274E-6, 0.98480773, -0.173648238, -0.707103193, 0.122787461, 0.696368098) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1103. CFrame.new(1.44562268, 0.333473027, -0.475224167, 0.907739162, 0.217196256, 0.358959734, 0.40125221, -0.199453548, -0.893991232, -0.122576535, 0.955528319, -0.268199235) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1104. CFrame.new(-1.884794, 0.881342709, -0.770847201, 0.0912726, 0.688403964, -0.719562054, -0.91795665, -0.221949756, -0.328776807, -0.386037856, 0.690535009, 0.611666858) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1105. CFrame.new(0.789779902, -1.8586235, 0.161380947, 0.965926766, -0.258817255, -8.10623169E-6, 0.243211254, 0.907672405, 0.342022836, -0.0885141194, -0.330371499, 0.939691722) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1106. CFrame.new(-0.73783946, -1.45406294, -0.215006173, 0.882573366, -0.0180292428, 0.469829261, -0.163172901, 0.925412893, 0.342031717, -0.440952569, -0.378531486, 0.813802838) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1107. }, 0.8, false)
  1108. end
  1109. CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2))
  1110. MagnitudeDamage(HitboxL, 5, 4, 10, 0, "Normal", "260430117", 1)
  1111. for i = 0, 1, 0.8 do
  1112. swait()
  1113. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  1114. PlayAnimationFromTable({
  1115. CFrame.new(0.215482175, -0.0393944569, -0.126133978, 0.259671897, -0.351393819, 0.8994959, -0.075478971, 0.921212733, 0.381667405, -0.962742627, -0.167001322, 0.212690249) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1116. CFrame.new(-1.26510859E-5, 1.49999118, -2.16066837E-7, 0.420251548, -0.0215960592, -0.90715003, -0.100918382, 0.992402375, -0.0703775883, 0.901778162, 0.12112467, 0.414879382) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1117. CFrame.new(1.81840861, 0.705381036, -0.347923756, -0.236346364, -0.883376777, 0.404705286, 0.945798516, -0.113677993, 0.304209948, -0.222726092, 0.454668403, 0.862362981) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1118. CFrame.new(-1.21960759, 0.420275182, -0.728423595, -0.57802856, -0.255150676, 0.775100708, 0.665436089, -0.697164714, 0.266751111, 0.472311139, 0.669969678, 0.572767615) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1119. CFrame.new(0.620917439, -1.53014767, -0.12091887, 0.707106113, 0.241845652, -0.66446346, -1.2293458E-6, 0.939692676, 0.342019886, 0.707107484, -0.241843566, 0.664462805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1120. CFrame.new(-0.873213649, -1.89646459, -0.100004375, 0.933012128, 0.353242815, -0.0686147735, -0.258823931, 0.791241407, 0.554028153, 0.249997303, -0.499155849, 0.829665601) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1121. }, 0.8, false)
  1122. end
  1123. CFuncs.Sound.Create("200632136", HitboxR, 0.3, math.random(1, 1.2))
  1124. MagnitudeDamage(HitboxR, 5, 4, 10, 0, "Normal", "260430117", 1)
  1125. for i = 0, 1, 0.8 do
  1126. swait()
  1127. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  1128. PlayAnimationFromTable({
  1129. CFrame.new(0.299998224, -0.0468490347, -0.211314023, 0.642786682, -2.87348001E-7, -0.766045272, 0.323744863, 0.906307757, 0.271653205, 0.694272637, -0.42261824, 0.582562685) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1130. CFrame.new(2.71201134E-6, 1.4999969, 8.94069672E-7, 0.642777503, 0.133020476, 0.754416466, 4.31999706E-6, 0.984809279, -0.173647597, -0.766052961, 0.111620098, 0.633012772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1131. CFrame.new(1.27057993, 0.327670783, -0.599993467, 0.638493001, 0.280156553, -0.716825664, -0.769049883, 0.196164608, -0.608343422, -0.0298155248, 0.939697862, 0.340704083) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1132. CFrame.new(-1.86040878, 1.02262986, -0.452570885, 0.386218816, 0.717701018, -0.579433978, -0.403004408, -0.433759809, -0.805879354, -0.829712272, 0.544763446, 0.121709965) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1133. CFrame.new(0.779964924, -1.75316048, -0.0263362825, 0.826099217, -0.36394459, 0.43023771, 0.181541473, 0.894650102, 0.40822047, -0.533481896, -0.259124577, 0.805140793) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1134. CFrame.new(-0.724003315, -1.47219872, -0.266945302, 0.766038954, -0.166370958, 0.620890498, 4.09781933E-6, 0.965925932, 0.258819997, -0.642794192, -0.198263675, 0.739937425) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1135. }, 0.8, false)
  1136. end
  1137. CFuncs.Sound.Create("0", HitboxL, 0.3, math.random(1, 1.2))
  1138. MagnitudeDamage(HitboxL, 5, 4, 10, 0, "Normal", "260430117", 1)
  1139. end
  1140. end
  1141. S:Stop()
  1142. local S2 = CFuncs.Sound.Create("0", Torso, 1.5, 1)
  1143. Instance.new("DistortionSoundEffect", S2).Level = 0
  1144. for i = 0, 1, 0.13 do
  1145. swait()
  1146. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -3), 0.5)
  1147. PlayAnimationFromTable({
  1148. CFrame.new(2.68220901E-6, -0.0739577487, 0.0232374109, 0.707105994, -3.47710994E-7, -0.707107604, -0.122787997, 0.98480767, -0.122788213, 0.696364999, 0.173648596, 0.696363389) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1149. CFrame.new(-5.36441803E-7, 1.49999356, -1.28149986E-6, 0.707105994, -0.122788511, 0.696365297, -3.47710994E-7, 0.984808028, 0.173649326, -0.707107604, -0.122788727, 0.696363688) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1150. CFrame.new(1.13747835, 0.382733107, -0.729447305, 0.579597414, 0.772029877, -0.260839432, -0.351051509, -0.0523141921, -0.934893906, -0.735411942, 0.633429527, 0.240701318) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1151. CFrame.new(-1.53455412, 0.605712295, -0.542039633, 0.786121905, 0.427828372, -0.446066588, -0.606968522, 0.398195386, -0.687771559, -0.116626531, 0.811420619, 0.572708428) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1152. CFrame.new(0.903839946, -1.70734286, 0.373858094, 0.863655448, -0.430708885, 0.261895239, 0.187955216, 0.757234871, 0.625514567, -0.46773085, -0.491004646, 0.734943748) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1153. CFrame.new(-0.596739769, -1.62411702, -0.0967329144, 0.725493789, -0.291957259, 0.623233199, -0.081900157, 0.86250174, 0.499382436, -0.683338165, -0.41334182, 0.601828396) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1154. }, 0.2, false)
  1155. end
  1156. CFuncs.Sound.Create("471881954", HitboxR, 1, 1)
  1157. MagnitudeDamage(HitboxR, 7, 10, 15, 50, "Normal", "610359590", 1)
  1158. for i = 0, 1, 0.1 do
  1159. swait()
  1160. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 0.3)
  1161. PlayAnimationFromTable({
  1162. CFrame.new(-0.338160992, -0.0772590488, -0.484170675, 0.307024002, -0.153706044, 0.939207554, -0.403236002, 0.872901201, 0.274671286, -0.86205399, -0.463052958, 0.206021816) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1163. CFrame.new(-0.0502282679, 1.50051379, -0.0864891857, 0.502356887, -0.246090144, -0.828901231, -0.00520065427, 0.957766473, -0.287500501, 0.864644766, 0.148738697, 0.479860842) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1164. CFrame.new(1.81698525, 1.20575511, -0.168038458, 0.0800605565, -0.859217465, 0.505307972, 0.457053572, -0.418860257, -0.784640014, 0.885828495, 0.293771386, 0.359173566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1165. CFrame.new(-1.66351938, 0.691055655, 0.203685582, 0.309526145, 0.793331623, -0.524231553, -0.937197804, 0.347743452, -0.0271089375, 0.160791725, 0.499699503, 0.851144433) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1166. CFrame.new(0.971616864, -1.6145575, 0.096719563, 0.544056833, -0.203144252, -0.814085484, 0.51142931, 0.849463344, 0.129818588, 0.665161908, -0.486975014, 0.566052973) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1167. CFrame.new(-0.676943898, -1.44413579, 0.206094518, 0.884253025, 0.0570309162, -0.463512957, 0.209485695, 0.838620007, 0.502824426, 0.417387724, -0.541723251, 0.729605079) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1168. }, 0.6, false)
  1169. end
  1170. attack = false
  1171. end
  1172. function CastleCrusherFist()
  1173. attack = true
  1174. STDamage = true
  1175. local S2 = CFuncs.Sound.Create("0", Torso, 1, 1)
  1176. Instance.new("DistortionSoundEffect", S2).Level = 0
  1177. for i = 0, 1, 0.1 do
  1178. swait()
  1179. Effects.Block.Create(BrickColor.new("Really black"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  1180. Effects.Break.Create(BrickColor.new("Really black"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  1181. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.2)
  1182. PlayAnimationFromTable({
  1183. CFrame.new(-5.99771738E-7, -0.00717129931, 0.169464022, 0.422617912, -2.2671E-7, -0.906308055, -0.309975952, 0.939692557, -0.144544229, 0.851650834, 0.342020661, 0.397130787) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1184. CFrame.new(-0.0102166235, 1.52751005, -0.239579424, 0.456926107, -0.171424359, 0.872835577, -0.167732254, 0.94705075, 0.273807496, -0.87355268, -0.271512181, 0.403976858) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1185. CFrame.new(0.944673777, 0.474064022, -0.539126158, 0.229199454, 0.762564063, 0.604949772, 0.809601307, 0.195682317, -0.553402781, -0.540382624, 0.616607308, -0.572522938) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1186. CFrame.new(-1.61232829, 0.309644789, -0.24482432, 0.455398798, 0.536860108, -0.710207343, -0.887026072, 0.205374956, -0.413530886, -0.076149486, 0.818293095, 0.569735885) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1187. CFrame.new(1.08113468, -1.48232126, 0.656104684, 0.81421864, -0.517612338, 0.262917578, 0.175395042, 0.651024699, 0.738514543, -0.553430021, -0.555197835, 0.620862961) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1188. CFrame.new(-0.427128136, -1.50760674, -0.0473105907, 0.804508269, -0.373179317, 0.462065101, -0.173640698, 0.596196175, 0.783836842, -0.567992628, -0.71083647, 0.414845526) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1189. }, 0.2, false)
  1190. end
  1191. MagnitudeDamage(HitboxR, 10, 50, 80, 100, "Normal", "610359515", 1)
  1192. Effects.Wave.Create(BrickColor.new(""), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.5, 0.6, 0.6, 0.6, 0.06)
  1193. CFuncs.Sound.Create("471881980", HitboxR, 1, 0.9)
  1194. CFuncs.Sound.Create("471881954", HitboxR, 1, 0.8)
  1195. for i = 0, 1, 0.08 do
  1196. swait()
  1197. Effects.Block.Create(BrickColor.new("Really black"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  1198. Effects.Break.Create(BrickColor.new("Really black"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  1199. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 0.3)
  1200. PlayAnimationFromTable({
  1201. CFrame.new(-3.57627869E-7, -0.116980031, -2.22140098, 0.342020035, -6.11579551E-8, 0.939692736, -0.604023039, 0.766044259, 0.219846413, -0.71984607, -0.642787933, 0.262002468) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1202. CFrame.new(-1.13248825E-6, 1.49999046, 8.94069672E-7, 0.422608167, -0.383014679, -0.82140249, -1.36196613E-5, 0.906310022, -0.422613323, 0.906312764, 0.17861104, 0.383008778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1203. CFrame.new(1.72490048, 1.25688744, -0.021425128, -0.678134382, -0.731868863, 0.0670941696, 0.667953849, -0.575675249, 0.47163111, -0.306547582, 0.364645123, 0.879239857) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1204. CFrame.new(-1.70565486, 0.469353855, 0.162862837, 0.82686162, 0.55728358, 0.0757693052, -0.414878726, 0.513436973, 0.751176, 0.379712611, -0.652546048, 0.655748963) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1205. CFrame.new(0.757160306, -1.48393714, -0.193787217, 0.601814985, 0.305624545, -0.737842917, -2.98023224E-8, 0.923879623, 0.382683486, 0.798635662, -0.230304718, 0.556004763) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1206. CFrame.new(-0.908789515, -1.60188651, -0.0663503706, 0.696367741, 0.548584938, -0.462741733, -0.173660636, 0.7544052, 0.633021533, 0.696362019, -0.360454619, 0.620610356) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1207. }, 0.6, false)
  1208. end
  1209. STDamage = false
  1210. attack = false
  1211. end
  1212. function CastleCrusherFist()
  1213. attack = true
  1214. STDamage = true
  1215. local S2 = CFuncs.Sound.Create("0", Torso, 1, 1)
  1216. Instance.new("DistortionSoundEffect", S2).Level = 0
  1217. for i = 0, 1, 0.1 do
  1218. swait()
  1219. Effects.Block.Create(BrickColor.new("Really black"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  1220. Effects.Break.Create(BrickColor.new("Really black"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  1221. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.5)
  1222. PlayAnimationFromTable({
  1223. CFrame.new(-5.99771738E-7, -0.00717129931, 0.169464022, 0.422617912, -2.2671E-7, -0.906308055, -0.309975952, 0.939692557, -0.144544229, 0.851650834, 0.342020661, 0.397130787) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1224. CFrame.new(-0.0102166235, 1.52751005, -0.239579424, 0.456926107, -0.171424359, 0.872835577, -0.167732254, 0.94705075, 0.273807496, -0.87355268, -0.271512181, 0.403976858) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1225. CFrame.new(0.944673777, 0.474064022, -0.539126158, 0.229199454, 0.762564063, 0.604949772, 0.809601307, 0.195682317, -0.553402781, -0.540382624, 0.616607308, -0.572522938) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1226. CFrame.new(-1.61232829, 0.309644789, -0.24482432, 0.455398798, 0.536860108, -0.710207343, -0.887026072, 0.205374956, -0.413530886, -0.076149486, 0.818293095, 0.569735885) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1227. CFrame.new(1.08113468, -1.48232126, 0.656104684, 0.81421864, -0.517612338, 0.262917578, 0.175395042, 0.651024699, 0.738514543, -0.553430021, -0.555197835, 0.620862961) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1228. CFrame.new(-0.427128136, -1.50760674, -0.0473105907, 0.804508269, -0.373179317, 0.462065101, -0.173640698, 0.596196175, 0.783836842, -0.567992628, -0.71083647, 0.414845526) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1229. }, 0.2, false)
  1230. end
  1231. Effects.Wave.Create(BrickColor.new("Really black"), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.5, 0.6, 0.6, 0.6, 0.06)
  1232. Character.HumanoidRootPart.Velocity = Character.HumanoidRootPart.CFrame.lookVector * 140
  1233. CFuncs.Sound.Create("471881980", HitboxR, 1, 0.9)
  1234. CFuncs.Sound.Create("471881954", HitboxR, 1, 0.8)
  1235. for i = 0, 1, 0.08 do
  1236. swait()
  1237. MagnitudeDamage(HitboxR, 5, 50, 80, 100, "Normal", "610359515", 1)
  1238. Effects.Block.Create(BrickColor.new("Really black"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  1239. Effects.Break.Create(BrickColor.new("Really black"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  1240. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 1)
  1241. PlayAnimationFromTable({
  1242. CFrame.new(-3.57627869E-7, -0.116980031, -2.22140098, 0.342020035, -6.11579551E-8, 0.939692736, -0.604023039, 0.766044259, 0.219846413, -0.71984607, -0.642787933, 0.262002468) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1243. CFrame.new(-1.13248825E-6, 1.49999046, 8.94069672E-7, 0.422608167, -0.383014679, -0.82140249, -1.36196613E-5, 0.906310022, -0.422613323, 0.906312764, 0.17861104, 0.383008778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1244. CFrame.new(1.72490048, 1.25688744, -0.021425128, -0.678134382, -0.731868863, 0.0670941696, 0.667953849, -0.575675249, 0.47163111, -0.306547582, 0.364645123, 0.879239857) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1245. CFrame.new(-1.70565486, 0.469353855, 0.162862837, 0.82686162, 0.55728358, 0.0757693052, -0.414878726, 0.513436973, 0.751176, 0.379712611, -0.652546048, 0.655748963) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1246. CFrame.new(0.757160306, -1.48393714, -0.193787217, 0.601814985, 0.305624545, -0.737842917, -2.98023224E-8, 0.923879623, 0.382683486, 0.798635662, -0.230304718, 0.556004763) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1247. CFrame.new(-0.908789515, -1.60188651, -0.0663503706, 0.696367741, 0.548584938, -0.462741733, -0.173660636, 0.7544052, 0.633021533, 0.696362019, -0.360454619, 0.620610356) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1248. }, 0.6, false)
  1249. end
  1250. STDamage = false
  1251. attack = false
  1252. end
  1253. function weld5(part0, part1, c0, c1)
  1254. local weeld = Instance.new("Weld", part0)
  1255. weeld.Part0 = part0
  1256. weeld.Part1 = part1
  1257. weeld.C0 = c0
  1258. weeld.C1 = c1
  1259. return weeld
  1260. end
  1261. local Grab = false
  1262. function GRABEMBOIGRABEM()
  1263. attack = true
  1264. gp = nil
  1265. con1 = HitboxR.Touched:connect(function(hit)
  1266. local ht = hit.Parent
  1267. local hum1 = ht:FindFirstChild("Humanoid")
  1268. if Grab == false then
  1269. if hum1 ~= nil and hit.Parent ~= Character then
  1270. hum1.PlatformStand = true
  1271. gp = ht
  1272. Grab = true
  1273. local asd = weld5(RightArm, ht:FindFirstChild("Torso"), CFrame.new(0, -1.5, 0), CFrame.new(0, 0, 0))
  1274. asd.Parent = RightArm
  1275. asd.Name = "asd"
  1276. asd.C0 = asd.C0 * CFrame.Angles(math.rad(-90), 0, 0)
  1277. CFuncs.Sound.Create("200632821", Torso, 1, 1)
  1278. elseif hum1 == nil then
  1279. con1:disconnect()
  1280. wait()
  1281. return
  1282. end
  1283. end
  1284. end)
  1285. for i = 0, 1, 0.2 do
  1286. swait()
  1287. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.3)
  1288. PlayAnimationFromTable({
  1289. CFrame.new(-1.08022243E-4, -0.233785003, -0.0873367637, 0.499999821, -1.78813863E-7, -0.866025507, 0.150383934, 0.984807789, 0.0868239477, 0.852868676, -0.173648283, 0.492403716) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1290. CFrame.new(-1.2665987E-7, 1.49999368, -1.02072954E-6, 0.573575675, 0.0713936985, 0.816035628, -5.01982868E-7, 0.996194899, -0.0871551931, -0.819152594, 0.049989678, 0.571393132) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1291. CFrame.new(1.47017705, 0.884583473, 0.0280318335, 0.886720777, -0.205462068, 0.414139926, 0.236241817, -0.568640172, -0.787933052, 0.397386849, 0.796513736, -0.455686152) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1292. CFrame.new(-1.76647317, 0.409804255, -0.03838256, 0.444113791, 0.836516619, -0.320940912, -0.836516619, 0.258818626, -0.482962757, -0.320940822, 0.482962757, 0.814704895) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1293. CFrame.new(0.838749349, -1.98392951, 0.15807499, 0.830397308, -0.277826965, 0.48296237, 0.167731524, 0.951251447, 0.258818328, -0.53132534, -0.133914024, 0.836516857) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1294. CFrame.new(-0.811016142, -1.63281643, -0.179561377, 0.642214835, 0.00870995224, 0.76647532, -0.0151349902, 0.999884725, 0.00131897628, -0.766375303, -0.0124476701, 0.642272472) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1295. }, 0.3, false)
  1296. end
  1297. for i = 0, 1, 0.1 do
  1298. swait()
  1299. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -6), 0.3)
  1300. PlayAnimationFromTable({
  1301. CFrame.new(0.159273595, -0.292363107, -0.115490548, 0.0844330043, -0.144068986, 0.985959053, -0.357129037, 0.919379771, 0.164923266, -0.930231094, -0.366039604, 0.0261747837) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1302. CFrame.new(4.81307507E-6, 1.49999106, -3.65450978E-6, 0.171444774, -0.100317284, -0.980072975, -0.0616287738, 0.991762042, -0.11229457, 0.983264267, 0.0796530023, 0.163850009) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1303. CFrame.new(1.73932612, 1.06159639, 0.141945362, -0.153680667, -0.913934886, 0.375639945, 0.659919798, -0.377877831, -0.649395287, 0.735450923, 0.148092732, 0.661196351) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1304. CFrame.new(-1.68730593, 0.429691374, -0.418232322, 0.633863091, 0.519853055, -0.57268703, -0.772902489, 0.453472316, -0.443829596, 0.028971523, 0.723958433, 0.689235032) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1305. CFrame.new(0.51381135, -1.74729896, 0.0663300753, 0.422899842, 0.615153313, -0.665388703, -0.0435856879, 0.747240186, 0.66312325, 0.905127704, -0.251433372, 0.342819571) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1306. CFrame.new(-0.991570175, -1.5009346, -0.1830419, 0.415304065, 0.586875141, -0.695054054, -0.166150108, 0.800146103, 0.576333642, 0.894380629, -0.123870395, 0.429813296) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1307. }, 0.3, false)
  1308. end
  1309. if Grab == true then
  1310. for i = 1, 5 do
  1311. for i = 0, 1, 0.35 do
  1312. swait()
  1313. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 13, -6), 0.3)
  1314. PlayAnimationFromTable({
  1315. CFrame.new(-0.0701122433, -0.336599797, -0.467321932, 0.694850504, -0.140219957, -0.70535183, 0.704946458, 0.326802045, 0.629484713, 0.142244101, -0.934633017, 0.325926095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1316. CFrame.new(-3.05473804E-6, 1.49998987, 8.94069672E-7, 0.707109332, 0.122785509, 0.696362555, 1.49011612E-6, 0.984807491, -0.173649877, -0.707104206, 0.122789055, 0.696367502) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1317. CFrame.new(1.23286271, 0.549701929, -0.640782475, 0.740093768, 0.612683415, 0.277277708, 0.0735714883, 0.336068332, -0.938959956, -0.668469429, 0.715318501, 0.203645304) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1318. CFrame.new(-1.63418663, 0.202915072, -0.0286649466, 0.865367413, 0.490698665, 0.101754986, -0.445756227, 0.846484005, -0.291146517, -0.228999093, 0.206590697, 0.951251805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1319. CFrame.new(0.702593744, -1.71321297, 0.369734973, 0.965928972, -0.148447216, 0.212003857, 1.10641122E-6, 0.819153726, 0.573574424, -0.258809477, -0.554031372, 0.791244447) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1320. CFrame.new(-0.577289343, -1.34221494, -0.247686923, 0.766049445, -0.219846189, 0.604016602, 1.58697367E-6, 0.939692199, 0.342021465, -0.642781496, -0.262004316, 0.719851196) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1321. }, 0.4, false)
  1322. end
  1323. for i = 0, 1, 0.3 do
  1324. swait()
  1325. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -6), 0.3)
  1326. PlayAnimationFromTable({
  1327. CFrame.new(-0.170705646, -0.774955988, -0.472947001, 0.827218175, 0.130671635, 0.546475112, -0.561879098, 0.194839522, 0.803946257, -0.00142200035, -0.972091854, 0.234596446) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1328. CFrame.new(-1.76951289E-7, 1.49999058, 2.2649765E-6, 0.80180192, -0.161171481, -0.575445414, 0.176131338, 0.983905077, -0.0301590711, 0.571044207, -0.0771723837, 0.817283988) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1329. CFrame.new(1.59014189, 0.537312388, -0.263691217, 0.798337102, -0.524361372, 0.296147287, 0.455999702, 0.205153137, -0.866011977, 0.393347621, 0.826412499, 0.402889967) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1330. CFrame.new(-1.41546631, 0.414666086, 0.337005794, 0.716736436, 0.581529975, 0.384852976, -0.56681174, 0.807305396, -0.164264664, -0.406218559, -0.100404784, 0.908243656) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1331. CFrame.new(0.793360233, -1.59947133, 0.0620805621, 0.876221955, -0.148448378, -0.458477885, 0.368687749, 0.81915307, 0.439383447, 0.310339272, -0.55403173, 0.772486985) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1332. CFrame.new(-0.535338402, -1.81867206, 0.817932665, 0.829598367, 0.11430642, -0.546535134, 0.32139504, 0.702652454, 0.634810925, 0.456587166, -0.702291727, 0.546181798) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1333. }, 0.7, false)
  1334. end
  1335. local hit, pos = rayCast(HitboxR.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 100, Character)
  1336. if hit ~= nil then
  1337. MagnitudeDamage(HitboxR, 5, 10, 30, 0, "Normal", "610359515", 1.3)
  1338. Effects.Block.Create(BrickColor.new("Really black"), CFrame.new(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.09, 1)
  1339. Effects.Wave.Create(BrickColor.new("Really black"), CFrame.new(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.09)
  1340. Effects.Sphere.Create(BrickColor.new("Really black"), CFrame.new(pos), 3, 3, 3, 5, 5, 5, 0.09)
  1341. end
  1342. end
  1343. end
  1344. for i, v in pairs(RightArm:GetChildren()) do
  1345. if v.Name == "asd" and v:IsA("Weld") then
  1346. v:Remove()
  1347. end
  1348. end
  1349. Grab = false
  1350. con1:disconnect()
  1351. attack = false
  1352. end
  1353. local IsWearingArmor = false
  1354. function Armor(Mode)
  1355. attack = true
  1356. if IsWearingArmor == false and Mode == "On" then
  1357. IsWearingArmor = true
  1358. Disappear()
  1359. swait(10)
  1360. ReappearArmorOnly()
  1361. Character.Humanoid.MaxHealth = 500
  1362. Character.Humanoid.Health = 500
  1363. HHandleWeld.Part0 = Character.Head
  1364. THandleWeld.Part0 = Character.Torso
  1365. AHandleRWeld.Part0 = Character["Right Arm"]
  1366. AHandleLWeld.Part0 = Character["Left Arm"]
  1367. LHandleRWeld.Part0 = Character["Right Leg"]
  1368. LHandleLWeld.Part0 = Character["Left Leg"]
  1369. for i, v in pairs(AdvancingFortress:GetChildren()) do
  1370. if v:IsA("BasePart") then
  1371. v.Transparency = 1
  1372. end
  1373. end
  1374. for i, v in pairs(Character:GetChildren()) do
  1375. if v:IsA("Accessory") then
  1376. v.Handle.Transparency = 1
  1377. end
  1378. end
  1379. elseif IsWearingArmor == true and Mode == "Off" then
  1380. IsWearingArmor = false
  1381. DisappearArmorOnly()
  1382. for i, v in pairs(Character:GetChildren()) do
  1383. if v:IsA("Accessory") then
  1384. v.Handle.Transparency = 0
  1385. end
  1386. end
  1387. swait(10)
  1388. Reappear()
  1389. Character.Humanoid.MaxHealth = 100000000000000000
  1390. Character.Humanoid.Health = 100000000000000000
  1391. HHandleWeld.Part0 = Head
  1392. THandleWeld.Part0 = Torso
  1393. AHandleRWeld.Part0 = RightArm
  1394. AHandleLWeld.Part0 = LeftArm
  1395. LHandleRWeld.Part0 = RightLeg
  1396. LHandleLWeld.Part0 = LeftLeg
  1397. for i, v in pairs(AdvancingFortress:GetChildren()) do
  1398. if v:IsA("BasePart") then
  1399. v.Transparency = 0
  1400. end
  1401. end
  1402. end
  1403. attack = false
  1404. end
  1405. local ShieldMode = false
  1406. local ShieldCharge = false
  1407. function HoloHexShield()
  1408. attack = true
  1409. Shield.Parent = m
  1410. Shield.CanCollide = true
  1411. if ShieldMode == true then
  1412. while ShieldMode == true do
  1413. swait()
  1414. Effects.Elec.Create(Shield.CFrame, 6, 6, 6)
  1415. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  1416. PlayAnimationFromTable({
  1417. CFrame.new(-1.35600567E-6, -0.00759640103, -0.0868249983, 0.499999046, -1.78813579E-7, -0.866026044, 0.150384009, 0.984807789, 0.0868238211, 0.852869093, -0.173648283, 0.492402941) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1418. CFrame.new(1.49011612E-7, 1.4999963, -2.08616257E-7, 0.499999046, 0.0754797831, 0.862731695, -1.78813579E-7, 0.996196151, -0.0871563852, -0.866026044, 0.0435779616, 0.498097092) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1419. CFrame.new(1.50238657, 0.320674658, 0.252193451, 0.855209947, -0.376432747, -0.356249839, 0.469514668, 0.853786647, 0.224954769, 0.219480619, -0.35964793, 0.906907678) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1420. CFrame.new(-0.944740474, 0.689363539, -0.718644142, 0.836517215, -0.545084715, 0.0558781698, -0.258834839, -0.482974619, -0.836504936, 0.482953727, 0.685287297, -0.545103252) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1421. CFrame.new(0.61525929, -1.85127568, 0.120779425, 0.928754449, -0.162676111, 0.333104134, 0.0394990072, 0.93689239, 0.347407103, -0.368597984, -0.309496939, 0.876555264) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1422. CFrame.new(-0.849455297, -1.60697818, -0.270956695, 0.696359396, -0.136922374, 0.704511464, -0.122786656, 0.944430828, 0.30491665, -0.707112312, -0.298836082, 0.640850842) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1423. }, 0.3, false)
  1424. end
  1425. end
  1426. Shield.CanCollide = false
  1427. CFuncs.Sound.Create("200632211", HitboxR, 1, 0.8)
  1428. CFuncs.Sound.Create("200632875", HitboxR, 1, 0.9)
  1429. Character.HumanoidRootPart.Velocity = Character.HumanoidRootPart.CFrame.lookVector * 160
  1430. Effects.Wave.Create(BrickColor.new("Really black"), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.5, 0.6, 0.6, 0.6, 0.06)
  1431. for i = 0, 1, 0.05 do
  1432. swait()
  1433. MagnitudeDamage(Shield, 5, 10, 15, 20, "Normal", "610359515", 1.3)
  1434. Effects.Elec.Create(Shield.CFrame, 6, 6, 6)
  1435. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -3), 1)
  1436. PlayAnimationFromTable({
  1437. CFrame.new(8.64267349E-7, -0.183445007, -0.748600185, 0.499999046, -1.19209105E-7, -0.866026044, 0.496732056, 0.819152176, 0.28678751, 0.709407032, -0.573576331, 0.409575343) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1438. CFrame.new(-7.15255737E-7, 1.50001967, -6.2584877E-7, 0.499999046, 0.36600244, 0.784893453, -1.19209105E-7, 0.90631634, -0.42262283, -0.866026044, 0.211310923, 0.453157306) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1439. CFrame.new(1.76569033, 0.610707581, 0.171269983, 0.658267856, -0.680293143, -0.322312057, 0.725086272, 0.457917482, 0.514355659, -0.202320263, -0.572288036, 0.794703186) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1440. CFrame.new(-1.07552779, 1.01543474, -0.975205183, 0.645357251, -0.653341353, -0.39580214, -0.64124006, -0.181770697, -0.745500326, 0.4151209, 0.734918237, -0.536255598) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1441. CFrame.new(0.630614281, -1.76328135, 0.440194428, 0.866077662, -0.24334389, 0.436684549, -0.0614839792, 0.815044224, 0.57612747, -0.496114343, -0.525820255, 0.69092983) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1442. CFrame.new(-0.857700765, -1.25810766, -0.239681423, 0.499215126, -0.257185757, 0.827429712, -0.238765404, 0.877132356, 0.416689515, -0.832931936, -0.405579239, 0.376470625) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1443. }, 0.5, false)
  1444. end
  1445. Shield.Parent = nil
  1446. attack = false
  1447. end
  1448. Mouse.Button1Down:connect(function()
  1449. if attack == false and attacktype == 1 then
  1450. attacktype = 2
  1451. attackone()
  1452. elseif attack == false and attacktype == 2 then
  1453. attacktype = 1
  1454. attacktwo()
  1455. end
  1456. end)
  1457. game.Lighting.Outlines = false
  1458. function attackone()
  1459. attack = true
  1460. for i = 0, 1, 0.12 do
  1461. swait()
  1462. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  1463. PlayAnimationFromTable({
  1464. CFrame.new(1.51857734E-4, -0.310488015, -0.087417841, 0.707106054, 5.26835073E-8, -0.707107484, 0.122787014, 0.984807968, 0.122786865, 0.696365058, -0.173646957, 0.696363688) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1465. CFrame.new(0.101928703, 1.50244772, -0.0383823365, 0.76589334, 0.0762532279, 0.638430059, -0.0196644422, 0.995256186, -0.095281601, -0.642666996, 0.0604211651, 0.763759375) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1466. CFrame.new(1.01774633, 0.557527065, -0.776187301, 0.541353703, 0.741649806, 0.396095604, 0.711713314, -0.153383806, -0.685520053, -0.447661191, 0.653015316, -0.610876858) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1467. CFrame.new(-1.07208586, 0.264054269, -0.716768324, 0.529938459, -0.260122895, -0.807156265, -0.752277017, 0.295165181, -0.589030504, 0.39146477, 0.919355154, -0.039265126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1468. CFrame.new(0.81415844, -1.89738977, 0.144144416, 0.866025925, -0.171008825, 0.469845951, -1.40815973E-6, 0.939692497, 0.342020512, -0.499999285, -0.296199232, 0.813797772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1469. CFrame.new(-0.818738878, -1.59999573, -0.397991776, 0.642786622, 0.0667650178, 0.763130188, 4.3399632E-7, 0.99619472, -0.0871558338, -0.766045213, 0.0560229495, 0.640340626) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1470. }, 0.3, false)
  1471. end
  1472. MagnitudeDamage(HitboxR, 7, 10, 15, math.random(1, 3), "Normal", "260430079", 1)
  1473. CFuncs.Sound.Create("200632136", HitboxR, 1, 1)
  1474. RootPart.Velocity = RootPart.CFrame.lookVector * 40
  1475. for i = 0, 1, 0.11 do
  1476. swait()
  1477. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  1478. PlayAnimationFromTable({
  1479. CFrame.new(0.31380862, -0.320521832, 0.0252371654, 0.249517962, -0.150383011, 0.956622124, -0.0458769947, 0.984923244, 0.166798219, -0.967282891, -0.0855060965, 0.238856897) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1480. CFrame.new(0.101926193, 1.50244832, -0.0383800864, 0.337979913, 0.0762555003, -0.938059092, -0.0828148723, 0.995255768, 0.051067099, 0.937502801, 0.0604255944, 0.342691481) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1481. CFrame.new(1.96121001, 0.774859428, -0.462411612, 0.340120375, -0.92077136, 0.191045195, 0.466549307, -0.0111669078, -0.884424806, 0.816486418, 0.389942825, 0.42578721) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1482. CFrame.new(-1.36170578, 0.526111126, -0.597925961, 0.81348151, -0.212761745, -0.541276693, -0.539894938, 0.0697831511, -0.838834763, 0.216243982, 0.974609077, -0.0581016839) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1483. CFrame.new(0.970680714, -1.68610644, -0.0975568295, 0.579166114, -0.127570763, -0.805166125, 0.110368893, 0.990856647, -0.0776019096, 0.807703912, -0.0439208932, 0.587950349) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1484. CFrame.new(-0.827146292, -1.8113209, -0.0556658059, 0.816036701, 0.217413262, -0.535551846, -0.0871567726, 0.962250471, 0.257832885, 0.571391284, -0.163724124, 0.804180741) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1485. }, 0.45, false)
  1486. end
  1487. attack = false
  1488. end
  1489. function attacktwo()
  1490. attack = true
  1491. for i = 0, 1, 0.12 do
  1492. swait()
  1493. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  1494. PlayAnimationFromTable({
  1495. CFrame.new(-0.0382043272, -0.447743475, -0.209081307, 0.653245032, -0.0733856931, 0.753581822, -0.271655023, 0.906307638, 0.323743671, -0.706735075, -0.416198224, 0.572105408) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1496. CFrame.new(-2.74181366E-6, 1.49999321, -3.4570694E-6, 0.707105815, -0.183012873, -0.683013678, -8.7171793E-7, 0.965925694, -0.258819759, 0.707107782, 0.183013588, 0.683011472) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1497. CFrame.new(1.65075588, 0.743636727, -0.356577665, 0.542998552, -0.115416825, 0.831764221, 0.839699984, 0.0834951103, -0.536593378, -0.00751632452, 0.989801884, 0.142253295) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1498. CFrame.new(-1.08620656, -0.00580590963, -0.864283919, 0.656464815, -0.698875248, 0.283949524, 0.478162557, 0.0943745971, -0.873186052, 0.583450615, 0.708990037, 0.396129608) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1499. CFrame.new(0.856426239, -1.40340364, -0.356423855, 0.707105279, -0.122788861, -0.696365654, 9.42498446E-7, 0.98480767, -0.173648372, 0.707108438, 0.122787014, 0.696362913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1500. CFrame.new(-0.695387185, -1.90375674, -0.304245114, 0.92541647, 0.246137589, -0.288133472, -0.173648298, 0.951251149, 0.254887551, 0.336824656, -0.185843274, 0.923044682) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1501. }, 0.34, false)
  1502. end
  1503. MagnitudeDamage(HitboxL, 7, 10, 15, math.random(1, 3), "Normal", "260430079", 1.1)
  1504. CFuncs.Sound.Create("200632136", HitboxL, 1, 1)
  1505. RootPart.Velocity = RootPart.CFrame.lookVector * 40
  1506. for i = 0, 1, 0.12 do
  1507. swait()
  1508. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  1509. PlayAnimationFromTable({
  1510. CFrame.new(-0.479634404, -0.393727064, -0.220339894, 0.248309121, 0.219825819, -0.94340837, 0.019257009, 0.972597659, 0.231695861, 0.968489468, -0.0756994039, 0.237271711) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1511. CFrame.new(-4.01586294E-6, 1.4999907, -1.59628689E-6, 0.237956509, -0.0991817266, 0.966198623, 0.22414881, 0.973527908, 0.0447304621, -0.945057809, 0.205928385, 0.253888786) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1512. CFrame.new(1.08192515, 0.657660127, -1.1749661, 0.228772208, 0.493058115, 0.839379132, 0.874719322, 0.27430138, -0.399530977, -0.427234828, 0.825622678, -0.368534833) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1513. CFrame.new(-1.23054802, 1.29996836, -0.754827142, 0.94838953, -0.316170156, 0.0243683457, -0.269034386, -0.84291333, -0.465958893, 0.167862713, 0.43535465, -0.88447094) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1514. CFrame.new(0.839919031, -1.81287205, 0.0102108568, 0.808574855, -0.267538428, 0.524051666, 0.171010748, 0.95905602, 0.22575888, -0.562994003, -0.0929245204, 0.821220458) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1515. CFrame.new(-0.846072078, -1.7213496, -0.247524291, 0.693717241, 0.0689389557, 0.716940701, -0.0478171073, 0.997620881, -0.0496601462, -0.718658566, 1.68083934E-4, 0.695363283) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1516. }, 0.45, false)
  1517. end
  1518. attack = false
  1519. end
  1520. function findNearestTorso(pos)
  1521. local list = game.Workspace:children()
  1522. local torso
  1523. local dist = 1000
  1524. local temp, human, temp2
  1525. for x = 1, #list do
  1526. temp2 = list[x]
  1527. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  1528. temp = temp2:findFirstChild("Torso")
  1529. human = temp2:findFirstChild("Humanoid")
  1530. if temp ~= nil and human ~= nil and human.Health > 0 and dist > (temp.Position - pos).magnitude then
  1531. local dohit = true
  1532. if dohit == true then
  1533. torso = temp
  1534. dist = (temp.Position - pos).magnitude
  1535. end
  1536. end
  1537. end
  1538. end
  1539. return torso, dist
  1540. end
  1541. function TrueAim(aim)
  1542. local target, distance = findNearestTorso(Mouse.Hit.p)
  1543. local tehcf = HitboxR.CFrame * CFrame.fromEulerAnglesXYZ(1.57, 0, 0).lookVector
  1544. if aim ~= nil then
  1545. tehcf = aim
  1546. end
  1547. table.insert(Effects, {
  1548. tehcf,
  1549. "Shoot",
  1550. 30,
  1551. HitboxR.Position,
  1552. 10,
  1553. 15,
  1554. 0,
  1555. 3,
  1556. HitboxR,
  1557. target
  1558. })
  1559. end
  1560. function FireProjectiles()
  1561. attack = true
  1562. Humanoid.WalkSpeed = 20
  1563. CFuncs.Sound.Create("300915902", HitboxR, 1, 0.8)
  1564. for i = 0, 1, 0.1 do
  1565. swait()
  1566. Effects.Elec.Create(HitboxR.CFrame, 2, 2, 2)
  1567. PlayAnimationFromTable({
  1568. CFrame.new(0, -0.100000001, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1569. CFrame.new(0, 1.49999201, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1570. CFrame.new(0.874554753, 1.14087927, -1.06730831, -0.166365892, 0.198266983, 0.965925813, 0.797995508, -0.548363924, 0.250000268, 0.579245627, 0.812396049, -0.0669871047) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1571. CFrame.new(-0.257126778, 1.24225974, -0.962940335, 0.692363203, -0.593008757, -0.411064416, -0.708803177, -0.665577948, -0.233675212, -0.135024026, 0.453151852, -0.88114804) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1572. CFrame.new(0.604643881, -1.9909004, 0.0280392915, 0.962250233, -0.0841861367, -0.258818984, 0.0871560201, 0.996194661, 4.23252061E-7, 0.257834047, -0.0225580372, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1573. CFrame.new(-0.604644895, -1.99090064, 0.0280393362, 0.962250233, 0.0841861367, 0.258818984, -0.0871560201, 0.996194661, 4.23252061E-7, -0.257834047, -0.0225580372, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1574. }, 0.3, false)
  1575. end
  1576. for i = 0, 1, 0.1 do
  1577. swait()
  1578. Effects.Elec.Create(HitboxR.CFrame, 3, 3, 3)
  1579. Effects.Block.Create(BrickColor.new("Really black"), HitboxR.CFrame, 1, 1, 1, 1, 1, 1, 0.1)
  1580. Effects.Sphere2.Create(BrickColor.new("Really black"), HitboxR.CFrame, 1, 1, 1, 1, 1, 1, 0.1)
  1581. PlayAnimationFromTable({
  1582. CFrame.new(0, -0.100000001, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1583. CFrame.new(0, 1.49999201, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1584. CFrame.new(0.661153734, 0.568759024, -0.827975571, -0.166752055, 0.025078943, 0.985679924, 0.98324734, -0.0704026297, 0.168131784, 0.0736110285, 0.99720335, -0.012919019) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1585. CFrame.new(-0.390097797, 0.861622274, -0.554995477, 0.351840883, -0.837056041, -0.418981194, -0.935129642, -0.294365793, -0.197183579, 0.0417199843, 0.461178988, -0.886325777) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1586. CFrame.new(0.604644954, -1.9909004, 0.0280390829, 0.962250233, -0.0841861367, -0.258818984, 0.0871560201, 0.996194661, 4.23252061E-7, 0.257834047, -0.0225580372, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1587. CFrame.new(-0.604644775, -1.99090064, 0.0280380547, 0.962250233, 0.0841861367, 0.258818984, -0.0871560201, 0.996194661, 4.23252061E-7, -0.257834047, -0.0225580372, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1588. }, 0.2, false)
  1589. end
  1590. for i = 1, 10 do
  1591. for i = 0, 1, 0.3 do
  1592. swait()
  1593. Effects.Elec.Create(HitboxR.CFrame, 3, 3, 3)
  1594. Effects.Sphere2.Create(BrickColor.new("Really black"), HitboxR.CFrame, 1, 1, 1, 1, 1, 1, 0.1)
  1595. PlayAnimationFromTable({
  1596. CFrame.new(0, -0.100000001, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1597. CFrame.new(0, 1.49999201, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1598. CFrame.new(0.661153734, 0.568759024, -0.827975571, -0.166752055, 0.025078943, 0.985679924, 0.98324734, -0.0704026297, 0.168131784, 0.0736110285, 0.99720335, -0.012919019) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1599. CFrame.new(-0.390097797, 0.861622274, -0.554995477, 0.351840883, -0.837056041, -0.418981194, -0.935129642, -0.294365793, -0.197183579, 0.0417199843, 0.461178988, -0.886325777) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1600. CFrame.new(0.604644954, -1.9909004, 0.0280390829, 0.962250233, -0.0841861367, -0.258818984, 0.0871560201, 0.996194661, 4.23252061E-7, 0.257834047, -0.0225580372, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1601. CFrame.new(-0.604644775, -1.99090064, 0.0280380547, 0.962250233, 0.0841861367, 0.258818984, -0.0871560201, 0.996194661, 4.23252061E-7, -0.257834047, -0.0225580372, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1602. }, 0.3, false)
  1603. end
  1604. CFuncs.Sound.Create("300916105", HitboxR, 1, 1.2)
  1605. CFuncs.Sound.Create("300916014", HitboxR, 1, 1)
  1606. Effects.Sphere2.Create(BrickColor.new("Really black"), HitboxR.CFrame, 1, 1, 1, 2, 2, 2, 0.07)
  1607. local MouseLook = CFrame.new((HitboxR.Position + Mouse.Hit.p) / 2, Mouse.Hit.p)
  1608. TrueAim(MouseLook.lookVector)
  1609. for i = 0, 1, 0.3 do
  1610. swait()
  1611. Effects.Elec.Create(HitboxR.CFrame, 3, 3, 3)
  1612. Effects.Sphere2.Create(BrickColor.new("Really black"), HitboxR.CFrame, 1, 1, 1, 1, 1, 1, 0.1)
  1613. PlayAnimationFromTable({
  1614. CFrame.new(1.90734863E-6, -0.25291419, 0.238341585, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1615. CFrame.new(0, 1.49999189, -1.1920929E-6, 1, 0, 0, 0, 0.98480767, 0.173648626, 0, -0.173648626, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1616. CFrame.new(0.689965963, 0.767623663, -0.856841147, -0.544456005, 0.160545677, 0.823281765, 0.798456132, -0.201499581, 0.567332089, 0.256973624, 0.966241658, -0.0184810348) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1617. CFrame.new(-0.392649293, 0.920519292, -0.977094412, 0.403439909, -0.887421727, -0.222977459, -0.91384387, -0.378501445, -0.147058249, 0.0461054072, 0.263095737, -0.963667512) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1618. CFrame.new(0.598512471, -1.89166105, 0.0173719227, 0.962250233, -0.061308533, -0.265171409, 0.0871564373, 0.992403805, 0.0868248865, 0.257834017, -0.106658652, 0.960284173) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1619. CFrame.new(-0.598512232, -1.89166129, 0.0173728764, 0.962250233, 0.061308533, 0.265171409, -0.0871564373, 0.992403805, 0.0868248865, -0.257834017, -0.106658652, 0.960284173) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1620. }, 0.3, false)
  1621. end
  1622. end
  1623. Humanoid.WalkSpeed = 30
  1624. attack = false
  1625. end
  1626. Mouse.KeyDown:connect(function(k)
  1627. k = k:lower()
  1628. if attack == false and ora == false and k == "z" and IsWearingArmor == false and Invisible == false then
  1629. ora = true
  1630. ORA()
  1631. elseif attack == false and k == "x" and IsWearingArmor == false and Invisible == false then
  1632. GRABEMBOIGRABEM()
  1633. elseif attack == false and k == "q" and IsWearingArmor == false and Invisible == false then
  1634. FireProjectiles()
  1635. elseif attack == false and k == "f" and Invisible == false and IsWearingArmor == false then
  1636. Invisible = true
  1637. Effects.Sphere.Create(BrickColor.new("Really red"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
  1638. Effects.Block.Create(BrickColor.new("Really red"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1, 1)
  1639. Disappear()
  1640. elseif attack == false and k == "f" and Invisible == true and IsWearingArmor == false then
  1641. Invisible = false
  1642. CFuncs.Sound.Create("463010917", Torso, 1, 1)
  1643. Effects.Sphere.Create(BrickColor.new("Really red"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.08)
  1644. for i = 1, 2 do
  1645. Effects.Block.Create(BrickColor.new("Really red"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1, 1)
  1646. end
  1647. for i = 1, 20 do
  1648. Effects.Break.Create(BrickColor.new("Really red"), Torso.CFrame, 1, 1, 1)
  1649. end
  1650. Reappear()
  1651. elseif attack == false and ShieldMode == false and k == "c" and IsWearingArmor == false and Invisible == false then
  1652. ShieldMode = true
  1653. HoloHexShield()
  1654. elseif attack == false and k == "v" and IsWearingArmor == false and Invisible == false then
  1655. CastleCrusherFist()
  1656. end
  1657. if k == "[" and IsWearingArmor == false and Invisible == false then
  1658. Armor("On")
  1659. end
  1660. if k == "]" and IsWearingArmor == true and Invisible == false then
  1661. Armor("Off")
  1662. end
  1663. end)
  1664. Mouse.KeyUp:connect(function(k)
  1665. k = k:lower()
  1666. if attack == true and ora == true and k == "z" and IsWearingArmor == false then
  1667. ora = false
  1668. elseif attack == true and ShieldMode == true and k == "c" and IsWearingArmor == false then
  1669. ShieldMode = false
  1670. end
  1671. end)
  1672. coroutine.resume(coroutine.create(function(Part, Part2)
  1673. while Part.Parent ~= nil do
  1674. swait(math.random(100, 150))
  1675. for i = 0, 1, 0.2 do
  1676. wait()
  1677. Eye1.Mesh.Scale = Vector3.new(1, 0.7 - 1 * i, 1)
  1678. Eye2.Mesh.Scale = Vector3.new(1, 0.7 - 1 * i, 1)
  1679. end
  1680. for i = 0, 1, 0.2 do
  1681. swait()
  1682. Eye1.Mesh.Scale = Vector3.new(1, 0.7 + 0.3 * i, 1)
  1683. Eye2.Mesh.Scale = Vector3.new(1, 0.7 + 0.3 * i, 1)
  1684. end
  1685. end
  1686. end), Eye1, Eye2)
  1687. while true do
  1688. swait()
  1689. for i, v in pairs(Character:children()) do
  1690. if v:IsA("Part") and IsWearingArmor == true then
  1691. v.Anchored = false
  1692. end
  1693. end
  1694. for i, v in pairs(AdvancingFortress:GetChildren()) do
  1695. if v:IsA("Part") then
  1696. v.Material = "SmoothPlastic"
  1697. v.CanCollide = false
  1698. elseif v:IsA("Humanoid") then
  1699. v:remove()
  1700. elseif v:IsA("Accessory") then
  1701. v:remove()
  1702. elseif v:IsA("Shirt") then
  1703. v:remove()
  1704. elseif v:IsA("Pants") then
  1705. v:remove()
  1706. elseif v:IsA("Script") or v:IsA("LocalScript") then
  1707. v:remove()
  1708. elseif v:IsA("BodyColors") then
  1709. v:remove()
  1710. end
  1711. end
  1712. HHandle.Transparency = 1
  1713. THandle.Transparency = 1
  1714. AHandleR.Transparency = 1
  1715. AHandleL.Transparency = 1
  1716. LHandleR.Transparency = 1
  1717. LHandleL.Transparency = 1
  1718. RootPart.Transparency = 1
  1719. HitboxR.Transparency = 1
  1720. HitboxL.Transparency = 1
  1721. Head.BrickColor = BrickColor.new("White")
  1722. Torso.BrickColor = BrickColor.new("Crimson")
  1723. RightArm.BrickColor = BrickColor.new("Crimson")
  1724. LeftArm.BrickColor = BrickColor.new("Crimson")
  1725. RightLeg.BrickColor = BrickColor.new("Crimson")
  1726. LeftLeg.BrickColor = BrickColor.new("Crimson")
  1727. RootPart.Anchored = true
  1728. Torsovelocity = (Character.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1729. velocity = Character.HumanoidRootPart.Velocity.y
  1730. sine = sine + change
  1731. Shield.Anchored = true
  1732. Shield.CFrame = Shield.CFrame:lerp(RootPart.CFrame * CFrame.new(0, 0, -3.2), 1)
  1733. local hit, pos = rayCast(Character.HumanoidRootPart.Position, CFrame.new(Character.HumanoidRootPart.Position, Character.HumanoidRootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1734. if Character.HumanoidRootPart.Velocity.y > 1 and hit == nil then
  1735. Anim = "Jump"
  1736. if attack == false then
  1737. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  1738. PlayAnimationFromTable({
  1739. CFrame.new(0, 0.00872418843, 0.0292903651, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1740. CFrame.new(0, 1.49999177, -1.49011612E-7, 1, 0, 0, 0, 0.98480767, 0.173648626, 0, -0.173648626, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1741. CFrame.new(1.64140427, 0.273908556, 0.192029893, 0.946035206, -0.31541416, 0.0743736848, 0.284469575, 0.91821146, 0.275617331, -0.155224368, -0.239586651, 0.958386064) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1742. CFrame.new(-1.59350562, 0.239538491, 0.192243189, 0.935008764, 0.347148597, -0.0724328309, -0.312019885, 0.902400434, 0.297181845, 0.168529674, -0.255267143, 0.952069581) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1743. CFrame.new(0.602718651, -1.95556056, 0.410092652, 0.978475571, 0.0150757888, -0.205834776, 0.0853612274, 0.878464639, 0.470120817, 0.187906027, -0.477568805, 0.85826844) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1744. CFrame.new(-0.41903314, -1.41877925, -0.229210436, 0.962251842, -0.0299757104, 0.270510197, -0.084186092, 0.912393093, 0.400567293, -0.258819073, -0.408219665, 0.875425339) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1745. }, 0.3, false)
  1746. end
  1747. elseif Character.HumanoidRootPart.Velocity.y < -1 and hit == nil then
  1748. Anim = "Fall"
  1749. if attack == false then
  1750. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  1751. PlayAnimationFromTable({
  1752. CFrame.new(0, -0.0366669223, -0.0478199311, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1753. CFrame.new(0, 1.58110774, -0.115850762, 1, 0, 0, 0, 0.98480767, 0.173647821, 0, -0.173647821, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1754. CFrame.new(1.72150326, 0.610064566, 0.0891361833, 0.724097908, -0.685675204, 0.0743751749, 0.645872176, 0.711960018, 0.275611937, -0.241932437, -0.151533186, 0.958387375) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1755. CFrame.new(-1.69228244, 0.568353653, 0.082095027, 0.759895504, 0.646005511, -0.0724337399, -0.601845145, 0.741260946, 0.297183931, 0.24567467, -0.182231784, 0.952074111) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1756. CFrame.new(0.60271728, -1.95556188, 0.410093039, 0.978470623, -0.00292155147, -0.206365243, 0.0853614658, 0.916095972, 0.391767859, 0.187905625, -0.400949359, 0.896622121) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1757. CFrame.new(-0.453899324, -1.81726217, -0.229221463, 0.962255239, -0.00628663599, 0.272094905, -0.0841865242, 0.943832874, 0.319526881, -0.258820891, -0.33037129, 0.90767473) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1758. }, 0.3, false)
  1759. end
  1760. elseif Torsovelocity < 1 and hit ~= nil then
  1761. Anim = "Idle"
  1762. if attack == false then
  1763. change = 1
  1764. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  1765. PlayAnimationFromTable({
  1766. CFrame.new(0, -0.00190299738, -0.0435779989, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1767. CFrame.new(0, 1.49999213, 3.27825546E-7, 1, 0, 0, 0, 0.99619478, 0.0871553123, 0, -0.0871553123, 0.99619478) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1768. CFrame.new(1.64141297, 0.173907071, -0.107973814, 0.946035922, -0.270955235, 0.177766502, 0.284470022, 0.957103431, -0.055051513, -0.155224428, 0.102649838, 0.982532144) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1769. CFrame.new(-1.59350157, 0.139536366, -0.107754946, 0.935009062, 0.284010828, -0.212358981, -0.312018842, 0.943447471, -0.11203292, 0.168530986, 0.171011835, 0.970748305) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1770. CFrame.new(0.602711678, -1.89952374, -0.0967197716, 0.978471398, -0.0562333167, -0.198576227, 0.0853610933, 0.986278713, 0.141314447, 0.187904745, -0.155223012, 0.969844699) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1771. CFrame.new(-0.619029164, -1.90815639, -0.0860156417, 0.962250412, 0.0410595387, 0.269051194, -0.0841863081, 0.984977186, 0.150772721, -0.258818805, -0.167731494, 0.951251626) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1772. }, 0.3, false)
  1773. end
  1774. elseif Torsovelocity > 2 and hit ~= nil then
  1775. Anim = "Walk"
  1776. if attack == false then
  1777. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  1778. PlayAnimationFromTable({
  1779. CFrame.new(0, -0.0234659836, -0.171147972, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1780. CFrame.new(0, 1.49999166, 1.1920929E-7, 1, 0, 0, 0, 0.98480773, -0.173648983, 0, 0.173648953, 0.98480773) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1781. CFrame.new(1.60905385, 0.122740321, 0.227665678, 0.946036339, -0.320693314, 0.0465966538, 0.284468234, 0.89069742, 0.354595304, -0.155219615, -0.322205007, 0.93385905) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1782. CFrame.new(-1.55878484, 0.127169654, 0.148623466, 0.93500936, 0.339513272, -0.102411598, -0.312018752, 0.924868107, 0.217401206, 0.168527737, -0.171317667, 0.970695019) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1783. CFrame.new(0.585851789, -1.60362172, -0.143285036, 0.978476226, 0.0150748575, -0.205834031, 0.0853618756, 0.878461003, 0.470117748, 0.187905103, -0.477570593, 0.858265638) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1784. CFrame.new(-0.563320339, -1.90456724, 0.225245774, 0.982039452, -0.00800410938, 0.188514173, -0.0707257539, 0.910641074, 0.407099873, -0.174927384, -0.413120717, 0.893718541) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1785. }, 0.3, false)
  1786. end
  1787. end
  1788. if 0 < #Effects then
  1789. for e = 1, #Effects do
  1790. if Effects[e] ~= nil then
  1791. local Thing = Effects[e]
  1792. if Thing ~= nil then
  1793. local Part = Thing[1]
  1794. local Mode = Thing[2]
  1795. local Delay = Thing[3]
  1796. local IncX = Thing[4]
  1797. local IncY = Thing[5]
  1798. local IncZ = Thing[6]
  1799. if Thing[2] == "Shoot" then
  1800. local Look = Thing[1]
  1801. local move = 30
  1802. if Thing[8] == 3 then
  1803. move = 10
  1804. end
  1805. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  1806. if Thing[10] ~= nil then
  1807. da = pos
  1808. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  1809. cfa = CFrame.new(Thing[4], pos)
  1810. tehCF = cfa:lerp(cf2, 0.2)
  1811. Thing[1] = tehCF.lookVector
  1812. end
  1813. local mag = (Thing[4] - pos).magnitude
  1814. Effects.Head.Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
  1815. if Thing[8] == 2 then
  1816. Effects.Ring.Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1)
  1817. end
  1818. Thing[4] = Thing[4] + Look * move
  1819. Thing[3] = Thing[3] - 1
  1820. if 2 < Thing[5] then
  1821. Thing[5] = Thing[5] - 0.3
  1822. Thing[6] = Thing[6] - 0.3
  1823. end
  1824. if hit ~= nil then
  1825. Thing[3] = 0
  1826. if Thing[8] == 1 or Thing[8] == 3 then
  1827. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1828. elseif Thing[8] == 2 then
  1829. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1830. if hit.Parent:findFirstChild("Humanoid") ~= nil or hit.Parent.Parent:findFirstChild("Humanoid") ~= nil then
  1831. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Purple"), "Reference", Vector3.new())
  1832. ref.Anchored = true
  1833. ref.CFrame = CFrame.new(pos)
  1834. CFuncs.Sound.Create("161006093", ref, 1, 1.2)
  1835. game:GetService("Debris"):AddItem(ref, 0.2)
  1836. Effects.Block.Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2)
  1837. Effects.Ring.Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
  1838. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  1839. end
  1840. end
  1841. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1842. ref.Anchored = true
  1843. ref.CFrame = CFrame.new(pos)
  1844. Effects.Sphere.Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  1845. game:GetService("Debris"):AddItem(ref, 1)
  1846. end
  1847. if Thing[3] <= 0 then
  1848. table.remove(Effects, e)
  1849. end
  1850. end
  1851. if Thing[2] == "FireWave" then
  1852. if Thing[3] <= Thing[4] then
  1853. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  1854. Thing[3] = Thing[3] + 1
  1855. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  1856. else
  1857. Part.Parent = nil
  1858. table.remove(Effects, e)
  1859. end
  1860. end
  1861. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  1862. if Thing[1].Transparency <= 1 then
  1863. if Thing[2] == "Block1" then
  1864. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1865. Mesh = Thing[7]
  1866. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1867. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1868. elseif Thing[2] == "Block2" then
  1869. Thing[1].CFrame = Thing[1].CFrame
  1870. Mesh = Thing[7]
  1871. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1872. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1873. elseif Thing[2] == "Fire" then
  1874. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  1875. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1876. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1877. elseif Thing[2] == "Cylinder" then
  1878. Mesh = Thing[7]
  1879. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1880. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1881. elseif Thing[2] == "Blood" then
  1882. Mesh = Thing[7]
  1883. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  1884. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1885. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1886. elseif Thing[2] == "Elec" then
  1887. Thing[1].Size = Thing[1].Size + Vector3.new(Thing[7], Thing[8], Thing[9])
  1888. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1889. elseif Thing[2] == "Disappear" then
  1890. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1891. elseif Thing[2] == "Shatter" then
  1892. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1893. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1894. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1895. Thing[6] = Thing[6] + Thing[5]
  1896. end
  1897. else
  1898. Part.Parent = nil
  1899. table.remove(Effects, e)
  1900. end
  1901. end
  1902. end
  1903. end
  1904. end
  1905. end
  1906. end
  1907. local Camera = game.Workspace.CurrentCamera
  1908. local RootPart = Character.HumanoidRootPart
  1909. local RootJoint = RootPart.RootJoint
  1910. local attack = false
  1911. local Anim = 'Idle'
  1912. local attacktype = 1
  1913. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1914. local velocity = RootPart.Velocity.y
  1915. local sine = 0
  1916. local change = 1
  1917. local Create = LoadLibrary("RbxUtility").Create
  1918. local TimeStop = false
  1919.  
  1920. local m = Create("Model"){
  1921. Parent = Character,
  1922. Name = "WeaponModel",
  1923. }
  1924.  
  1925. Humanoid.Animator.Parent = nil
  1926. Character.Animate.Parent = nil
  1927.  
  1928. local newMotor = function(part0, part1, c0, c1)
  1929. local w = Create('Motor'){
  1930. Parent = part0,
  1931. Part0 = part0,
  1932. Part1 = part1,
  1933. C0 = c0,
  1934. C1 = c1,
  1935. }
  1936. return w
  1937. end
  1938.  
  1939. function clerp(a, b, t)
  1940. return a:lerp(b, t)
  1941. end
  1942.  
  1943. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  1944. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1945.  
  1946. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  1947. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  1948. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  1949. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  1950. RootJoint.C1 = CFrame.new(0, 0, 0)
  1951. RootJoint.C0 = CFrame.new(0, 0, 0)
  1952. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  1953. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  1954.  
  1955. local rarmc1 = RW.C1
  1956. local larmc1 = LW.C1
  1957. local rlegc1 = RH.C1
  1958. local llegc1 = LH.C1
  1959.  
  1960. local resetc1 = false
  1961.  
  1962. function PlayAnimationFromTable(table, speed, bool)
  1963. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  1964. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  1965. RW.C0 = clerp(RW.C0, table[3], speed)
  1966. LW.C0 = clerp(LW.C0, table[4], speed)
  1967. RH.C0 = clerp(RH.C0, table[5], speed)
  1968. LH.C0 = clerp(LH.C0, table[6], speed)
  1969. if bool == true then
  1970. if resetc1 == false then
  1971. resetc1 = true
  1972. RootJoint.C1 = RootJoint.C1
  1973. Torso.Neck.C1 = Torso.Neck.C1
  1974. RW.C1 = rarmc1
  1975. LW.C1 = larmc1
  1976. RH.C1 = rlegc1
  1977. LH.C1 = llegc1
  1978. end
  1979. end
  1980. end
  1981.  
  1982. ArtificialHB = Create("BindableEvent", script){
  1983. Parent = script,
  1984. Name = "Heartbeat",
  1985. }
  1986.  
  1987. script:WaitForChild("Heartbeat")
  1988.  
  1989. frame = 1 / 35
  1990. tf = 0
  1991. allowframeloss = false
  1992. tossremainder = false
  1993. lastframe = tick()
  1994. script.Heartbeat:Fire()
  1995.  
  1996. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1997. tf = tf + s
  1998. if tf >= frame then
  1999. if allowframeloss then
  2000. script.Heartbeat:Fire()
  2001. lastframe = tick()
  2002. else
  2003. for i = 1, math.floor(tf / frame) do
  2004. script.Heartbeat:Fire()
  2005. end
  2006. lastframe = tick()
  2007. end
  2008. if tossremainder then
  2009. tf = 0
  2010. else
  2011. tf = tf - frame * math.floor(tf / frame)
  2012. end
  2013. end
  2014. end)
  2015.  
  2016. function swait(num)
  2017. if num == 0 or num == nil then
  2018. ArtificialHB.Event:wait()
  2019. else
  2020. for i = 0, num do
  2021. ArtificialHB.Event:wait()
  2022. end
  2023. end
  2024. end
  2025.  
  2026. function RemoveOutlines(part)
  2027. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  2028. end
  2029.  
  2030. CFuncs = {
  2031. Part = {
  2032. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2033. local Part = Create("Part"){
  2034. Parent = Parent,
  2035. Reflectance = Reflectance,
  2036. Transparency = Transparency,
  2037. CanCollide = false,
  2038. Locked = true,
  2039. BrickColor = BrickColor.new(tostring(BColor)),
  2040. Name = Name,
  2041. Size = Size,
  2042. Material = Material,
  2043. }
  2044. RemoveOutlines(Part)
  2045. return Part
  2046. end;
  2047. };
  2048.  
  2049. Mesh = {
  2050. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2051. local Msh = Create(Mesh){
  2052. Parent = Part,
  2053. Offset = OffSet,
  2054. Scale = Scale,
  2055. }
  2056. if Mesh == "SpecialMesh" then
  2057. Msh.MeshType = MeshType
  2058. Msh.MeshId = MeshId
  2059. end
  2060. return Msh
  2061. end;
  2062. };
  2063.  
  2064. Weld = {
  2065. Create = function(Parent, Part0, Part1, C0, C1)
  2066. local Weld = Create("Weld"){
  2067. Parent = Parent,
  2068. Part0 = Part0,
  2069. Part1 = Part1,
  2070. C0 = C0,
  2071. C1 = C1,
  2072. }
  2073. return Weld
  2074. end;
  2075. };
  2076.  
  2077. Sound = {
  2078. Create = function(id, par, vol, pit)
  2079. local Sound = Create("Sound"){
  2080. Volume = vol,
  2081. Pitch = pit or 1,
  2082. SoundId = "rbxassetid://" .. id,
  2083. Parent = par or workspace,
  2084. }
  2085. Sound:play()
  2086. return Sound
  2087. end;
  2088. };
  2089.  
  2090. Decal = {
  2091. Create = function(Color, Texture, Transparency, Name, Parent)
  2092. local Decal = Create("Decal"){
  2093. Color3 = Color,
  2094. Texture = "rbxassetid://" .. Texture,
  2095. Transparency = Transparency,
  2096. Name = Name,
  2097. Parent = Parent,
  2098. }
  2099. return Decal
  2100. end;
  2101. };
  2102.  
  2103. BillboardGui = {
  2104. Create = function(Parent, Image, Position, Size)
  2105. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  2106. BillPar.CFrame = CFrame.new(Position)
  2107. local Bill = Create("BillboardGui"){
  2108. Parent = BillPar,
  2109. Adornee = BillPar,
  2110. Size = UDim2.new(1, 0, 1, 0),
  2111. SizeOffset = Vector2.new(Size, Size),
  2112. }
  2113. local d = Create("ImageLabel", Bill){
  2114. Parent = Bill,
  2115. BackgroundTransparency = 1,
  2116. Size = UDim2.new(1, 0, 1, 0),
  2117. Image = "rbxassetid://" .. Image,
  2118. }
  2119. return BillPar
  2120. end
  2121. };
  2122.  
  2123. ParticleEmitter = {
  2124. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  2125. local Particle = Create("ParticleEmitter"){
  2126. Parent = Parent,
  2127. Color = ColorSequence.new(Color1, Color2),
  2128. LightEmission = LightEmission,
  2129. Size = Size,
  2130. Texture = Texture,
  2131. Transparency = Transparency,
  2132. ZOffset = ZOffset,
  2133. Acceleration = Accel,
  2134. Drag = Drag,
  2135. LockedToPart = LockedToPart,
  2136. VelocityInheritance = VelocityInheritance,
  2137. EmissionDirection = EmissionDirection,
  2138. Enabled = Enabled,
  2139. Lifetime = LifeTime,
  2140. Rate = Rate,
  2141. Rotation = Rotation,
  2142. RotSpeed = RotSpeed,
  2143. Speed = Speed,
  2144. VelocitySpread = VelocitySpread,
  2145. }
  2146. return Particle
  2147. end;
  2148. };
  2149.  
  2150. CreateTemplate = {
  2151.  
  2152. };
  2153. }
  2154.  
  2155. function rayCast(Position, Direction, Range, Ignore)
  2156. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  2157. end
  2158.  
  2159. function FindNearestTorso(Position, Distance, SinglePlayer)
  2160. if SinglePlayer then
  2161. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  2162. end
  2163. local List = {}
  2164. for i, v in pairs(workspace:GetChildren()) do
  2165. if v:IsA("Model") then
  2166. if v:findFirstChild("Torso") then
  2167. if v ~= Character then
  2168. if (v.Torso.Position - Position).magnitude <= Distance then
  2169. table.insert(List, v)
  2170. end
  2171. end
  2172. end
  2173. end
  2174. end
  2175. return List
  2176. end
  2177.  
  2178. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  2179. if hit.Parent == nil then
  2180. return
  2181. end
  2182. local h = hit.Parent:FindFirstChild("Humanoid")
  2183. for _, v in pairs(hit.Parent:children()) do
  2184. if v:IsA("Humanoid") then
  2185. h = v
  2186. end
  2187. end
  2188. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  2189. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  2190. if hit.Parent.DebounceHit.Value == true then
  2191. return
  2192. end
  2193. end
  2194. local c = Create("ObjectValue"){
  2195. Name = "creator",
  2196. Value = game:service("Players").LocalPlayer,
  2197. Parent = h,
  2198. }
  2199. game:GetService("Debris"):AddItem(c, .5)
  2200. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  2201. local Damage = math.random(minim, maxim)
  2202. local blocked = false
  2203. local block = hit.Parent:findFirstChild("Block")
  2204. if block ~= nil then
  2205. if block.className == "IntValue" then
  2206. if block.Value > 0 then
  2207. blocked = true
  2208. block.Value = block.Value - 1
  2209. print(block.Value)
  2210. end
  2211. end
  2212. end
  2213. if TimeStop == false then
  2214. h.Health = h.Health - Damage
  2215. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright yellow").Color)
  2216. elseif TimeStop == true then
  2217. repeat wait() until TimeStop == false
  2218. h.Health = h.Health - (Damage / 2)
  2219. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright yellow").Color)
  2220. end
  2221. if Type == "Knockdown" then
  2222. local hum = hit.Parent.Humanoid
  2223. hum.PlatformStand = true
  2224. coroutine.resume(coroutine.create(function(HHumanoid)
  2225. swait(1)
  2226. HHumanoid.PlatformStand = false
  2227. end), hum)
  2228. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  2229. local bodvol = Create("BodyVelocity"){
  2230. velocity = angle * knockback,
  2231. P = 5000,
  2232. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2233. Parent = hit,
  2234. }
  2235. local rl = Create("BodyAngularVelocity"){
  2236. P = 3000,
  2237. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2238. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2239. Parent = hit,
  2240. }
  2241. game:GetService("Debris"):AddItem(bodvol, .5)
  2242. game:GetService("Debris"):AddItem(rl, .5)
  2243. elseif Type == "Normal" then
  2244. local vp = Create("BodyVelocity"){
  2245. P = 500,
  2246. maxForce = Vector3.new(math.huge, 0, math.huge),
  2247. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  2248. }
  2249. if knockback > 0 then
  2250. vp.Parent = hit.Parent.Torso
  2251. end
  2252. game:GetService("Debris"):AddItem(vp, .5)
  2253. elseif Type == "Up" then
  2254. local bodyVelocity = Create("BodyVelocity"){
  2255. velocity = Vector3.new(0, 20, 0),
  2256. P = 5000,
  2257. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2258. Parent = hit,
  2259. }
  2260. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  2261. elseif Type == "DarkUp" then
  2262. coroutine.resume(coroutine.create(function()
  2263. for i = 0, 1, 0.1 do
  2264. swait()
  2265. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  2266. end
  2267. end))
  2268. local bodyVelocity = Create("BodyVelocity"){
  2269. velocity = Vector3.new(0, 20, 0),
  2270. P = 5000,
  2271. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2272. Parent = hit,
  2273. }
  2274. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2275. elseif Type == "Snare" then
  2276. local bp = Create("BodyPosition"){
  2277. P = 2000,
  2278. D = 100,
  2279. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2280. position = hit.Parent.Torso.Position,
  2281. Parent = hit.Parent.Torso,
  2282. }
  2283. game:GetService("Debris"):AddItem(bp, 1)
  2284. elseif Type == "Freeze" then
  2285. local BodPos = Create("BodyPosition"){
  2286. P = 50000,
  2287. D = 1000,
  2288. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2289. position = hit.Parent.Torso.Position,
  2290. Parent = hit.Parent.Torso,
  2291. }
  2292. local BodGy = Create("BodyGyro") {
  2293. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  2294. P = 20e+003,
  2295. Parent = hit.Parent.Torso,
  2296. cframe = hit.Parent.Torso.CFrame,
  2297. }
  2298. hit.Parent.Torso.Anchored = true
  2299. coroutine.resume(coroutine.create(function(Part)
  2300. swait(1.5)
  2301. Part.Anchored = false
  2302. end), hit.Parent.Torso)
  2303. game:GetService("Debris"):AddItem(BodPos, 3)
  2304. game:GetService("Debris"):AddItem(BodGy, 3)
  2305. end
  2306. local debounce = Create("BoolValue"){
  2307. Name = "DebounceHit",
  2308. Parent = hit.Parent,
  2309. Value = true,
  2310. }
  2311. game:GetService("Debris"):AddItem(debounce, Delay)
  2312. c = Create("ObjectValue"){
  2313. Name = "creator",
  2314. Value = Player,
  2315. Parent = h,
  2316. }
  2317. game:GetService("Debris"):AddItem(c, .5)
  2318. end
  2319. end
  2320.  
  2321. function ShowDamage(Pos, Text, Time, Color)
  2322. local Rate = (1 / 30)
  2323. local Pos = (Pos or Vector3.new(0, 0, 0))
  2324. local Text = (Text or "")
  2325. local Time = (Time or 2)
  2326. local Color = (Color or Color3.new(1, 0, 1))
  2327. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2328. EffectPart.Anchored = true
  2329. local BillboardGui = Create("BillboardGui"){
  2330. Size = UDim2.new(3, 0, 3, 0),
  2331. Adornee = EffectPart,
  2332. Parent = EffectPart,
  2333. }
  2334. local TextLabel = Create("TextLabel"){
  2335. BackgroundTransparency = 1,
  2336. Size = UDim2.new(1, 0, 1, 0),
  2337. Text = Text,
  2338. Font = "SciFi",
  2339. TextColor3 = Color,
  2340. TextScaled = true,
  2341. Parent = BillboardGui,
  2342. }
  2343. game.Debris:AddItem(EffectPart, (Time))
  2344. EffectPart.Parent = game:GetService("Workspace")
  2345. delay(0, function()
  2346. local Frames = (Time / Rate)
  2347. for Frame = 1, Frames do
  2348. wait(Rate)
  2349. local Percent = (Frame / Frames)
  2350. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2351. TextLabel.TextTransparency = Percent
  2352. end
  2353. if EffectPart and EffectPart.Parent then
  2354. EffectPart:Destroy()
  2355. end
  2356. end)
  2357. end
  2358.  
  2359. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  2360. for _, c in pairs(workspace:children()) do
  2361. local hum = c:findFirstChild("Humanoid")
  2362. if hum ~= nil then
  2363. local head = c:findFirstChild("Torso")
  2364. if head ~= nil then
  2365. local targ = head.Position - Part.Position
  2366. local mag = targ.magnitude
  2367. if mag <= Magnitude and c.Name ~= Player.Name then
  2368. for i = 1, 10 do
  2369. Effects.Elect.Create(head.CFrame, 10, 10, 10)
  2370. end
  2371. CFuncs.Sound.Create("324867021", head, 1, 1)
  2372. Effects.Sphere.Create(BrickColor.new("New Yeller"), head.CFrame, .5, .5, .5, .5, .5, .5, .05)
  2373. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, HitSound, HitPitch)
  2374. end
  2375. end
  2376. end
  2377. end
  2378. end
  2379. Part6Weld = CFuncs.Weld.Create(m, HandleL, Part6, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.349294543, -0.151140213, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
  2380. CFuncs.Mesh.Create("BlockMesh", Part6, "", "", Vector3.new(0, 0, 0), Vector3.new(0.48742649, 1, 1))
  2381. sref = CFuncs.Part.Create(Character, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
  2382. sref.Anchored = true
  2383.  
  2384. EffectModel = Create("Model"){
  2385. Parent = Character,
  2386. Name = "Effects",
  2387. }
  2388.  
  2389. Effects = {
  2390. Block = {
  2391. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2392. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2393. prt.Anchored = true
  2394. prt.CFrame = cframe
  2395. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2396. game:GetService("Debris"):AddItem(prt, 10)
  2397. if Type == 1 or Type == nil then
  2398. table.insert(Effects, {
  2399. prt,
  2400. "Block1",
  2401. delay,
  2402. x3,
  2403. y3,
  2404. z3,
  2405. msh
  2406. })
  2407. elseif Type == 2 then
  2408. table.insert(Effects, {
  2409. prt,
  2410. "Block2",
  2411. delay,
  2412. x3,
  2413. y3,
  2414. z3,
  2415. msh
  2416. })
  2417. end
  2418. end;
  2419. };
  2420.  
  2421. Cylinder = {
  2422. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2423. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  2424. prt.Anchored = true
  2425. prt.CFrame = cframe
  2426. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2427. game:GetService("Debris"):AddItem(prt, 2)
  2428. table.insert(Effects, {
  2429. prt,
  2430. "Cylinder",
  2431. delay,
  2432. x3,
  2433. y3,
  2434. z3,
  2435. msh
  2436. })
  2437. end;
  2438. };
  2439.  
  2440. Head = {
  2441. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2442. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2443. prt.Anchored = true
  2444. prt.CFrame = cframe
  2445. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2446. game:GetService("Debris"):AddItem(prt, 10)
  2447. table.insert(Effects, {
  2448. prt,
  2449. "Cylinder",
  2450. delay,
  2451. x3,
  2452. y3,
  2453. z3,
  2454. msh
  2455. })
  2456. end;
  2457. };
  2458.  
  2459. Sphere = {
  2460. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2461. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2462. prt.Anchored = true
  2463. prt.CFrame = cframe
  2464. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2465. game:GetService("Debris"):AddItem(prt, 10)
  2466. table.insert(Effects, {
  2467. prt,
  2468. "Cylinder",
  2469. delay,
  2470. x3,
  2471. y3,
  2472. z3,
  2473. msh
  2474. })
  2475. end;
  2476. };
  2477.  
  2478. Elect = {
  2479. Create = function(cff, x, y, z)
  2480. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("New Yeller"), "Part", Vector3.new(1, 1, 1))
  2481. prt.Anchored = true
  2482. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  2483. prt.CFrame = CFrame.new(prt.Position)
  2484. game:GetService("Debris"):AddItem(prt, 2)
  2485. local xval = math.random() / 2
  2486. local yval = math.random() / 2
  2487. local zval = math.random() / 2
  2488. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  2489. table.insert(Effects, {
  2490. prt,
  2491. "Elec",
  2492. 0.1,
  2493. x,
  2494. y,
  2495. z,
  2496. xval,
  2497. yval,
  2498. zval
  2499. })
  2500. end;
  2501.  
  2502. };
  2503.  
  2504. Ring = {
  2505. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2506. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2507. prt.Anchored = true
  2508. prt.CFrame = cframe
  2509. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2510. game:GetService("Debris"):AddItem(prt, 10)
  2511. table.insert(Effects, {
  2512. prt,
  2513. "Cylinder",
  2514. delay,
  2515. x3,
  2516. y3,
  2517. z3,
  2518. msh
  2519. })
  2520. end;
  2521. };
  2522.  
  2523.  
  2524. Wave = {
  2525. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2526. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2527. prt.Anchored = true
  2528. prt.CFrame = cframe
  2529. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2530. game:GetService("Debris"):AddItem(prt, 10)
  2531. table.insert(Effects, {
  2532. prt,
  2533. "Cylinder",
  2534. delay,
  2535. x3,
  2536. y3,
  2537. z3,
  2538. msh
  2539. })
  2540. end;
  2541. };
  2542.  
  2543. Break = {
  2544. Create = function(brickcolor, cframe, x1, y1, z1)
  2545. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2546. prt.Anchored = true
  2547. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2548. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2549. local num = math.random(10, 50) / 1000
  2550. game:GetService("Debris"):AddItem(prt, 10)
  2551. table.insert(Effects, {
  2552. prt,
  2553. "Shatter",
  2554. num,
  2555. prt.CFrame,
  2556. math.random() - math.random(),
  2557. 0,
  2558. math.random(50, 100) / 100
  2559. })
  2560. end;
  2561. };
  2562.  
  2563. Fire = {
  2564. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  2565. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2566. prt.Anchored = true
  2567. prt.CFrame = cframe
  2568. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2569. game:GetService("Debris"):AddItem(prt, 10)
  2570. table.insert(Effects, {
  2571. prt,
  2572. "Fire",
  2573. delay,
  2574. 1,
  2575. 1,
  2576. 1,
  2577. msh
  2578. })
  2579. end;
  2580. };
  2581.  
  2582. FireWave = {
  2583. Create = function(brickcolor, cframe, x1, y1, z1)
  2584. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  2585. prt.Anchored = true
  2586. prt.CFrame = cframe
  2587. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2588. local d = Create("Decal"){
  2589. Parent = prt,
  2590. Texture = "rbxassetid://26356434",
  2591. Face = "Top",
  2592. }
  2593. local d = Create("Decal"){
  2594. Parent = prt,
  2595. Texture = "rbxassetid://26356434",
  2596. Face = "Bottom",
  2597. }
  2598. game:GetService("Debris"):AddItem(prt, 10)
  2599. table.insert(Effects, {
  2600. prt,
  2601. "FireWave",
  2602. 1,
  2603. 30,
  2604. math.random(400, 600) / 100,
  2605. msh
  2606. })
  2607. end;
  2608. };
  2609.  
  2610. Lightning = {
  2611. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  2612. local magz = (p0 - p1).magnitude
  2613. local curpos = p0
  2614. local trz = {
  2615. -ofs,
  2616. ofs
  2617. }
  2618. for i = 1, tym do
  2619. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  2620. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  2621. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  2622. li.Material = "Neon"
  2623. if tym == i then
  2624. local magz2 = (curpos - p1).magnitude
  2625. li.Size = Vector3.new(th, th, magz2)
  2626. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  2627. table.insert(Effects, {
  2628. li,
  2629. "Disappear",
  2630. last
  2631. })
  2632. else
  2633. do
  2634. do
  2635. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  2636. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  2637. game.Debris:AddItem(li, 10)
  2638. table.insert(Effects, {
  2639. li,
  2640. "Disappear",
  2641. last
  2642. })
  2643. end
  2644. end
  2645. end
  2646. end
  2647. end
  2648. };
  2649.  
  2650. EffectTemplate = {
  2651.  
  2652. };
  2653. }
  2654.  
  2655. local DORARA = false
  2656.  
  2657. function ORA()
  2658. attack = true
  2659. for i = 0, 1, 0.2 do
  2660. swait()
  2661. PlayAnimationFromTable({
  2662. CFrame.new(4.76837158e-007, -0.107780606, -0.0868092626, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2663. CFrame.new(0, 1.4999913, 2.38418608e-007, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2664. CFrame.new(1.50214899, 0.590444803, 0.195881441, 0.965925872, 3.76027884e-007, 0.258818895, 0.257834077, -0.0871552154, -0.962250412, 0.0225570519, 0.99619478, -0.0841855928) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2665. CFrame.new(-1.60470915, 0.600643516, 0.204860806, 0.937436998, -0.0449436344, -0.345242023, -0.345831364, -0.00582624972, -0.938278675, 0.0401581824, 0.998972595, -0.0210046768) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2666. CFrame.new(0.636808395, -1.93472588, -0.370165229, 0.936116338, -0.0517791435, -0.347858071, 0.0266665779, 0.996705353, -0.0765988752, 0.350678325, 0.0624292716, 0.934412897) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2667. CFrame.new(-0.6665681, -1.92173398, -0.343467057, 0.962250233, 0.0613082647, 0.265171379, -0.0410595685, 0.99584806, -0.0812460929, -0.269051433, 0.0672912449, 0.960772276) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2668. }, .3, false)
  2669. end
  2670. local DORA = CFuncs.Sound.Create("0", Torso, 1, 1)
  2671. Instance.new("DistortionSoundEffect", DORA).Level = 0
  2672. DORA.Looped = true
  2673. local Con1 = HitboxL.Touched:connect(function(hit) Damage(HitboxL, hit, 1, 5, 0, "Normal", RootPart, 0, "260430117", 1) end)
  2674. local Con2 = HitboxR.Touched:connect(function(hit) Damage(HitboxR, hit, 1, 5, 0, "Normal", RootPart, 0, "260430117", 1) end)
  2675. while DORARA == true do
  2676. RootPart.Velocity = RootPart.CFrame.lookVector * 5
  2677. for i = 0, 1, 0.7 do
  2678. swait()
  2679. Effects.Elect.Create(HitboxL.CFrame, 4, 4, 4)
  2680. Effects.Sphere.Create(BrickColor.new("Really black"), HitboxL.CFrame, .5, .5, .5, 1.5, 1.5, 1.5, .15)
  2681. PlayAnimationFromTable({
  2682. CFrame.new(-0.0223142356, -0.107780628, -0.249816686, 0.906307876, 0.0733869597, -0.416197479, 0, 0.98480773, 0.173648462, 0.422617942, -0.157378972, 0.892539084) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2683. CFrame.new(-2.22850417e-007, 1.49999118, 1.16660271e-006, 0.906307936, 1.49011612e-008, 0.422617972, -7.27595761e-009, 1, 0, -0.422618032, 0, 0.906308055) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2684. CFrame.new(1.5318948, 0.588474631, 0.207054406, 0.899958313, 0.340718478, 0.272003621, 0.314965397, -0.0767233223, -0.945997, -0.301449746, 0.9370296, -0.176362336) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2685. CFrame.new(-1.27977741, 0.723447502, -1.20010054, 0.726744413, 0.46058476, -0.509611845, -0.503104627, -0.148215696, -0.851421177, -0.46768418, 0.875153661, 0.124007396) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2686. CFrame.new(0.636807501, -1.93472636, -0.370165735, 0.868198872, -0.0517790169, 0.493507534, 0.075819321, 0.996705353, -0.0288097262, -0.490389913, 0.0624299645, 0.869264364) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2687. CFrame.new(-0.666569352, -1.92173386, -0.343467534, 0.86083132, 0.0613082871, 0.505183935, -0.018632248, 0.995848, -0.0891051888, -0.508549333, 0.0672918186, 0.858399451) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2688. }, .9, false)
  2689. end
  2690. CFuncs.Sound.Create("138087186", HitboxL, 1, 1)
  2691. Effects.Sphere.Create(BrickColor.new("Really black"), HitboxL.CFrame, .5, .5, .5, 2, 2, 2, .15)
  2692. RootPart.Velocity = RootPart.CFrame.lookVector * 5
  2693. for i = 0, 1, 0.7 do
  2694. swait()
  2695. Effects.Sphere.Create(BrickColor.new("Really black"), HitboxR.CFrame, .5, .5, .5, 1.5, 1.5, 1.5, .2)
  2696. PlayAnimationFromTable({
  2697. CFrame.new(0.0767437443, -0.107780531, -0.279432267, 0.866025388, -0.0868241936, 0.492404073, 0, 0.98480773, 0.173648342, -0.500000238, -0.150383845, 0.852868438) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2698. CFrame.new(-2.61076184e-006, 1.4999913, -6.19508683e-007, 0.866025209, 2.98023224e-007, -0.500000656, -2.56928615e-007, 1, 1.1920929e-007, 0.500000596, 2.98023224e-008, 0.866025209) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2699. CFrame.new(1.40606534, 0.812639356, -1.14933658, 0.82139349, -0.422619373, 0.383021921, 0.349686205, -0.157378837, -0.923553765, 0.450591207, 0.892538428, 0.0185142085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2700. CFrame.new(-1.64197171, 0.599264741, 0.212680459, 0.807513177, -0.456930667, -0.373010725, -0.413006425, 0.0134942085, -0.9106282, 0.421127379, 0.889400065, -0.177818552) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2701. CFrame.new(0.636808515, -1.93472552, -0.37016958, 0.814187765, -0.0517790765, -0.578288436, 0.00593282748, 0.996705353, -0.0808905214, 0.580571651, 0.0624291934, 0.811812401) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2702. CFrame.new(-0.666569233, -1.92173398, -0.343468547, 0.867917657, 0.0613080971, -0.492910266, -0.0864830092, 0.99584806, -0.0284160972, 0.489121556, 0.0672912076, 0.869616032) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2703. }, .9, false)
  2704. end
  2705. CFuncs.Sound.Create("0", HitboxR, 1, 1)
  2706. Effects.Sphere.Create(BrickColor.new("Really black"), HitboxR.CFrame, .5, .5, .5, 2, 2, 2, .2)
  2707. end
  2708. Con1:disconnect()
  2709. Con2:disconnect()
  2710. DORA:Stop()
  2711. attack = false
  2712. end
  2713.  
  2714. local stoppedParts = {}
  2715.  
  2716.  
  2717. function getAllParts()
  2718. local rtn = {}
  2719.  
  2720. local function recurse(object)
  2721. for q,e in next, object:children() do
  2722. if e:isA'BasePart' and e.Name ~= "HumanoidRootPart" then
  2723. table.insert(rtn, e)
  2724. end
  2725. recurse(e)
  2726. end
  2727. end
  2728.  
  2729. recurse(workspace)
  2730. return rtn
  2731. end
  2732.  
  2733. function stopParts(distance)
  2734. stoppedParts = {}
  2735. for nada, part in next, getAllParts() do
  2736. local dist = (Torso.Position-part.Position).magnitude
  2737. if dist <= distance and part.Name ~='Base' and part.Name ~= 'Baseplate' and not part:isDescendantOf(Torso.Parent) and part.Anchored ~= true then
  2738. table.insert(stoppedParts, part)
  2739. if part.Name ~= "Torso" and part.Anchored ~= true then
  2740. part.Anchored = true
  2741. end
  2742. end
  2743. end
  2744. end
  2745.  
  2746.  
  2747. function freeParts()
  2748. for q,e in next, stoppedParts do
  2749. stoppedParts[q] = nil
  2750. e.Anchored = false
  2751. end
  2752. end
  2753.  
  2754. local effect = Instance.new('ColorCorrectionEffect')
  2755. function TheWorld(Mode)
  2756. if Mode == "Time Start" then
  2757. Effects.Sphere.Create(BrickColor.new("Really black"), HitboxL.CFrame, .5, .5, .5, 1.5, 1.5, 1.5, .15)
  2758. for i = 1,50 do
  2759. if effect.Saturation <= 0 then
  2760. effect.Saturation = effect.Saturation + i/50
  2761. end
  2762. swait(1/30)
  2763. end
  2764. freeParts()
  2765. effect.Saturation = 0
  2766. effect.Contrast = 0
  2767. effect.Parent = nil
  2768. workspace.Gravity = 196.2
  2769. end
  2770. if Mode == "Quick Stop" then
  2771. CFuncs.Sound.Create("616576400", workspace, 1, 1)
  2772. swait(60)
  2773. Effects.Sphere.Create(BrickColor.new("Institutional white"), RootPart.CFrame, 1, 1, 1, 50, 50, 50, .01)
  2774. effect.Parent = game.Lighting
  2775. for i = 1,50 do
  2776. effect.Saturation = -(i/10)
  2777. swait()
  2778. end
  2779. stopParts(5555)
  2780. end
  2781. end
  2782.  
  2783. Mouse.Button1Down:connect(function()
  2784. if attack == false and DORARA == false then
  2785. DORARA = true
  2786. ORA()
  2787. end
  2788. end)
  2789.  
  2790. Mouse.Button1Up:connect(function()
  2791. if attack == true and DORARA == true then
  2792. DORARA = false
  2793. end
  2794. end)
  2795.  
  2796. Mouse.KeyDown:connect(function(k)
  2797. k = k:lower()
  2798. if attack == false and k == 'g' and TimeStop == false then
  2799. TimeStop = true
  2800. TheWorld("Quick Stop")
  2801. elseif attack == false and k == 'g' and TimeStop == true then
  2802. TimeStop = false
  2803. TheWorld("Time Start")
  2804. end
  2805. end)
  2806.  
  2807. while true do
  2808. swait()
  2809. sref.CFrame = RightArm.CFrame * CFrame.new(0, -1.5, 0) * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0)
  2810. for i, v in pairs(Character:GetChildren()) do
  2811. if v:IsA("Part") then
  2812. v.Material = "SmoothPlastic"
  2813. elseif v:IsA("Accessory") then
  2814. v:WaitForChild("Handle").Material = "SmoothPlastic"
  2815. end
  2816. end
  2817. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2818. velocity = RootPart.Velocity.y
  2819. sine = sine + change
  2820. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  2821. if RootPart.Velocity.y > 1 and hit == nil then
  2822. Anim = "Jump"
  2823. if attack == false then
  2824. PlayAnimationFromTable({
  2825. CFrame.new(0, 0.0486936681, -0.0429394133, 1, 0, -0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2826. CFrame.new(0, 1.48698187, -0.0992434025, 1, 0, 0, 0, 0.98480767, 0.173648626, -0, -0.173648626, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2827. CFrame.new(1.66118193, 0.583681226, 0.430878729, 0.556951106, -0.772693694, -0.30454877, 0.830109596, 0.506009281, 0.234249175, -0.026898358, -0.383274168, 0.923242927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2828. CFrame.new(-1.65963519, 0.695907593, 0.339572817, 0.482961893, 0.810776234, 0.330741376, -0.866026103, 0.498096228, 0.0435779653, -0.129409045, -0.307477146, 0.94271481) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2829. CFrame.new(0.499997795, -1.71809137, -0.102601528, 0.984807849, 3.55863392e-007, -0.173647791, 0.0593907312, 0.939692557, 0.336824298, 0.163175657, -0.342020214, 0.925416589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2830. CFrame.new(-0.599241376, -1.29528463, -0.396836221, 0.992403984, 0.086823605, 0.0871558413, -0.118890785, 0.858931601, 0.498097867, -0.0316142589, -0.504676282, 0.862729669) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2831. }, .3, false)
  2832. end
  2833. elseif RootPart.Velocity.y < -1 and hit == nil then
  2834. Anim = "Fall"
  2835. if attack == false then
  2836. PlayAnimationFromTable({
  2837. CFrame.new(-0, -0.0520263538, -0.0354017057, 1, 0, 0, 0, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2838. CFrame.new(0, 1.51533091, -0.10684365, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2839. CFrame.new(1.67554009, 0.885679007, 0.385592818, 0.374123871, -0.696466088, -0.61234498, 0.914592147, 0.386364758, 0.119345918, 0.153468132, -0.604696095, 0.781530797) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2840. CFrame.new(-1.67474985, 0.999329269, 0.296636045, 0.250219911, 0.753912985, 0.607457995, -0.927206695, 0.367205799, -0.0738086402, -0.278707415, -0.544770718, 0.79091537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2841. CFrame.new(0.504494727, -1.81757987, -0.0935191363, 0.984807849, -0.0449431092, -0.167730823, 0.059390761, 0.99484998, 0.0821366012, 0.163175508, -0.0908504426, 0.982405365) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2842. CFrame.new(-0.623603821, -1.49203336, -0.421764404, 0.992403865, 0.122534379, 0.0109562073, -0.118891656, 0.978150725, -0.17054674, -0.0316146575, 0.167948633, 0.985288799) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2843. }, .3, false)
  2844. end
  2845. elseif Torsovelocity < 1 and hit ~= nil then
  2846. Anim = "Idle"
  2847. if attack == false then
  2848. change = 1
  2849. PlayAnimationFromTable({
  2850. CFrame.new(-0.0254490171, -0.100000001, -0.0245252885, 0.965925872, 0, 0.258818984, 0, 1, 0, -0.258818984, 0, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2851. CFrame.new(-5.58793545e-008, 1.49999201, 2.23517418e-007, 0.965925872, 0.02255762, -0.257834077, 0, 0.996194661, 0.087155968, 0.258818984, -0.0841862038, 0.962250173) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2852. CFrame.new(1.18608475, 0.561332762, -0.668662548, 0.815707564, 0.397307515, 0.420437992, 0.567439079, -0.408345699, -0.71502924, -0.112402454, 0.821827531, -0.558538496) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2853. CFrame.new(-1.18486226, 0.664583206, -0.703545451, 0.801997423, -0.384815574, -0.456855893, -0.595755875, -0.459863067, -0.658483863, 0.0433037281, 0.800276875, -0.598065078) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2854. CFrame.new(0.602607846, -1.89999723, -0.281901717, 0.938264608, -0.0318391919, -0.344450235, 0.0551190265, 0.996793628, 0.0580029301, 0.341499031, -0.0734078437, 0.937011182) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2855. CFrame.new(-0.68740654, -1.99010217, 0.313043743, 0.998308659, 0.0566585623, -0.0130319893, -0.0526040196, 0.975744903, 0.212496698, 0.0247556716, -0.211451754, 0.977074862) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2856. }, .3, false)
  2857. end
  2858. elseif Torsovelocity > 2 and hit ~= nil then
  2859. Anim = "Walk"
  2860. if attack == false then
  2861. change = 2
  2862. PlayAnimationFromTable({
  2863. CFrame.new(-0, -0.331043243, -0.246173918, 1, 0, 0, 0, 0.906307876, 0.422617942, 0, -0.422617942, 0.906307876) * CFrame.new(0, .1, 0) * CFrame.Angles(0, math.rad(-5 * math.cos(sine / 7)), 0),
  2864. CFrame.new(0, 1.4999913, 6.55651093e-007, 1, 0, 0, 0, 0.965925813, -0.258818924, 0, 0.258818924, 0.965925813) * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(5 * math.cos(sine / 7)), 0),
  2865. CFrame.new(1.14562762, 0.526349247, -0.591056466, 0.825674891, 0.469375819, 0.312965363, 0.547643542, -0.533675969, -0.644419432, -0.135452792, 0.703474402, -0.697693527) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2866. CFrame.new(-1.14244175, 0.534408689, -0.582344949, 0.825674295, -0.469376504, -0.312966168, -0.547644734, -0.533675849, -0.644418597, 0.13545242, 0.703474045, -0.697693944) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2867. CFrame.new(.5, -1.64 - 0.5 * math.cos(sine / 8) / 2, 0 + 2 * math.sin(sine / 8) / 2) * CFrame.Angles(math.rad(-70 * math.sin(sine / 8)), math.rad(-3), math.rad(0)),
  2868. CFrame.new(-.5, -1.64 + 0.5 * math.cos(sine / 8) / 2, 0 - 2 * math.sin(sine / 8) / 2) * CFrame.Angles(math.rad(70 * math.sin(sine / 8)), math.rad(3), math.rad(0)),
  2869. }, .3, false)
  2870. end
  2871. end
  2872. if 0 < #Effects then
  2873. for e = 1, #Effects do
  2874. if Effects[e] ~= nil then
  2875. local Thing = Effects[e]
  2876. if Thing ~= nil then
  2877. local Part = Thing[1]
  2878. local Mode = Thing[2]
  2879. local Delay = Thing[3]
  2880. local IncX = Thing[4]
  2881. local IncY = Thing[5]
  2882. local IncZ = Thing[6]
  2883. if Thing[2] == "Shoot" then
  2884. local Look = Thing[1]
  2885. local move = 5
  2886. local hit, pos = rayCast(Thing[4], Thing[1], move, Character)
  2887. if Thing[10] ~= nil then
  2888. da = pos
  2889. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  2890. cfa = CFrame.new(Thing[4], pos)
  2891. tehCF = cfa:lerp(cf2, 0.2)
  2892. Thing[1] = tehCF.lookVector
  2893. end
  2894. local mag = (Thing[4] - pos).magnitude
  2895. Effects.Elect.Create(CFrame.new((Thing[4] + pos) / 2, pos), 4, 4, 4)
  2896. Effects.Sphere.Create(BrickColor.new("New Yeller"), CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 3, 3, 3, 5, 5, 5, 0.15)
  2897. Thing[4] = Thing[4] + Look * move
  2898. Thing[3] = Thing[3] - 1
  2899. if 2 < Thing[5] then
  2900. Thing[5] = Thing[5] - 0.3
  2901. Thing[6] = Thing[6] - 0.3
  2902. end
  2903. if hit ~= nil then
  2904. Thing[3] = 0
  2905. MagnitudeDamage(hit, 5, 10, 15, 0, "Normal", "161006093", 0.8)
  2906. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  2907. ref.Anchored = true
  2908. ref.CFrame = CFrame.new(pos)
  2909. Effects.Block.Create(BrickColor.new("New Yeller"), CFrame.new(pos), 1, 1, 1, 2, 2, 2, .05)
  2910. Effects.Sphere.Create(BrickColor.new("New Yeller"), CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.03)
  2911. game:GetService("Debris"):AddItem(ref, 1)
  2912. end
  2913. if Thing[3] <= 0 then
  2914. table.remove(Effects, e)
  2915. end
  2916. end
  2917. do
  2918. do
  2919. if Thing[2] == "FireWave" then
  2920. if Thing[3] <= Thing[4] then
  2921. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  2922. Thing[3] = Thing[3] + 1
  2923. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  2924. else
  2925. Part.Parent = nil
  2926. table.remove(Effects, e)
  2927. end
  2928. end
  2929. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  2930. if Thing[1].Transparency <= 1 then
  2931. if Thing[2] == "Block1" then
  2932. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2933. Mesh = Thing[7]
  2934. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2935. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2936. else
  2937. if Thing[2] == "Block2" then
  2938. Thing[1].CFrame = Thing[1].CFrame
  2939. Mesh = Thing[7]
  2940. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2941. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2942. else
  2943. if Thing[2] == "Fire" then
  2944. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  2945. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2946. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2947. else
  2948. if Thing[2] == "Cylinder" then
  2949. Mesh = Thing[7]
  2950. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2951. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2952. else
  2953. if Thing[2] == "Blood" then
  2954. Mesh = Thing[7]
  2955. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  2956. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2957. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2958. else
  2959. if Thing[2] == "Elec" then
  2960. Thing[1].Size = Thing[1].Size + Vector3.new(Thing[7], Thing[8], Thing[9])
  2961. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2962. else
  2963. if Thing[2] == "Disappear" then
  2964. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2965. end
  2966. end
  2967. end
  2968. end
  2969. end
  2970. end
  2971. end
  2972. else
  2973. Part.Parent = nil
  2974. table.remove(Effects, e)
  2975. end
  2976. end
  2977. end
  2978. end
  2979. end
  2980. end
  2981. end
  2982. end
  2983. end
Add Comment
Please, Sign In to add comment