Advertisement
naoteinteressa

Untitled

Apr 19th, 2019
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 467.29 KB | None | 0 0
  1.  
  2. wait(0.2)
  3.  
  4.  
  5. warn([[SpectrumGlitcher v5 AWAKENED Loaded.
  6. The super switcher.
  7. Velnorum is one of the first wielders.
  8.  
  9. Created, Reworked by NoobyGames12
  10. Edited by GodzPlaysRB
  11. Edited by wanTH092 (Gam_Filano CH)
  12. SpectrumGlitcher Developers ^^^
  13. ]])
  14.  
  15.  
  16. ------------- ORIGINAL WIELDER OC: Velnorum
  17. print([[Icons:
  18. ! = New
  19. ? = Spoilers
  20. * = Exclusivity
  21. C = Changes
  22.  
  23. ]])
  24. warn([[V 4.35 Update Log:
  25. ! - Added Betrayal mode (Chaos M)
  26.  
  27. !? - Added z move to destiny
  28. !c? = Added calamity transition
  29. !? - upcoming transition for some mode..
  30. - Removed some voice sound effects because they didnt sound right
  31. ]])
  32. --- its obs smooth af do not touch
  33. ---- Sources and functions might be taken from others
  34. plr = game:GetService("Players").LocalPlayer
  35. char = plr.Character
  36. mouse,Mouse = plr:GetMouse()
  37. hum = char.Humanoid
  38. local cam = game.Workspace.CurrentCamera
  39. Camera = cam
  40. local CamInterrupt = false
  41. local TwoD = false
  42. local TargetInfo = {nil, nil}
  43. cam.CameraType = "Custom"
  44. t = char.Torso
  45. h = char.Head
  46. ra = char["Right Arm"]
  47. la = char["Left Arm"]
  48. rl = char["Right Leg"]
  49. ll = char["Left Leg"]
  50. tors = char.Torso
  51. lleg = char["Left Leg"]
  52. root = char.HumanoidRootPart
  53. hed = char.Head
  54. rleg = char["Right Leg"]
  55. rarm = char["Right Arm"]
  56. larm = char["Left Arm"]
  57. radian = math.rad
  58. random = math.random
  59. Vec3 = Vector3.new
  60. Inst = Instance.new
  61. cFrame = CFrame.new
  62. Euler = CFrame.fromEulerAnglesXYZ
  63. vt = Vector3.new
  64. bc = BrickColor.new
  65. br = BrickColor.random
  66. it = Instance.new
  67. cf = CFrame.new
  68. local Player_Size = 0
  69. cam = game.Workspace.CurrentCamera
  70. CF = CFrame.new
  71. angles = CFrame.Angles
  72. attack = false
  73. Euler = CFrame.fromEulerAnglesXYZ
  74. Rad = math.rad
  75. IT = Instance.new
  76. BrickC = BrickColor.new
  77. Cos = math.cos
  78. Acos = math.acos
  79. Sin = math.sin
  80. Asin = math.asin
  81. Abs = math.abs
  82. Mrandom = math.random
  83. Floor = math.floor
  84. IT = Instance.new
  85. CF = CFrame.new
  86. VT = Vector3.new
  87. RAD = math.rad
  88. C3 = Color3.new
  89. UD2 = UDim2.new
  90. BRICKC = BrickColor.new
  91. ANGLES = CFrame.Angles
  92. EULER = CFrame.fromEulerAnglesXYZ
  93. COS = math.cos
  94. ACOS = math.acos
  95. SIN = math.sin
  96. ASIN = math.asin
  97. ABS = math.abs
  98. MRANDOM = math.random
  99. FLOOR = math.floor
  100. local SINE = 0
  101.  
  102. local Booleans = {
  103. CamFollow = true,
  104. GyroUse = true
  105. }
  106.  
  107. function lerp(object, newCFrame, alpha)
  108. return object:lerp(newCFrame, alpha)
  109. end
  110.  
  111. local Directer = Inst("BodyGyro", root)
  112. Directer.MaxTorque = Vec3(0, 0, 0)
  113. Directer.P = 600000
  114. local CPart = Inst("Part")
  115. CPart.Anchored = true
  116. CPart.CanCollide = false
  117. CPart.Locked = true
  118. CPart.Transparency = 1
  119.  
  120. local rainbowmode = false
  121. local chaosmode = false
  122.  
  123. local kan = Instance.new("Sound",tors)
  124. kan.Volume = 0.85
  125. kan.TimePosition = 0
  126. kan.PlaybackSpeed = 1
  127. kan.Pitch = 1
  128. kan.SoundId = "rbxassetid://614032233"
  129. kan.Name = "wrecked"
  130. kan.Looped = true
  131. kan:Play()
  132.  
  133. local currentThemePlaying = kan.SoundId
  134. local currentPitch = kan.Pitch
  135. local currentVol = kan.Volume
  136. function newTheme(ID,timepos,pitch,vol)
  137. local kanz = kan
  138. --kanz:Stop()
  139. kanz.Volume = vol
  140. --kanz.TimePosition = timepos
  141. kanz.PlaybackSpeed = pitch
  142. kanz.Pitch = pitch
  143. kanz.SoundId = ID
  144. kanz.Name = "wrecked"
  145. kanz.Looped = true
  146. currentThemePlaying = kanz.SoundId
  147. currentVol = kanz.Volume
  148. currentPitch = kanz.Pitch
  149. --kanz:Play()
  150. --coroutine.resume(coroutine.create(function()
  151. --wait(0.05)
  152. --end))
  153. end
  154.  
  155.  
  156. function newThemeCust(ID,timepos,pitch,vol)
  157. local kanz = kan
  158. kanz:Stop()
  159. kanz.Volume = vol
  160. kanz.TimePosition = timepos
  161. kanz.PlaybackSpeed = pitch
  162. kanz.Pitch = pitch
  163. kanz.SoundId = "rbxassetid://614032233"
  164. kanz.Name = "wrecked"
  165. kanz.Looped = true
  166. currentThemePlaying = kanz.SoundId
  167. currentVol = kanz.Volume
  168. currentPitch = kanz.Pitch
  169. kanz:Play()
  170. coroutine.resume(coroutine.create(function()
  171. wait(0.05)
  172. end))
  173. end
  174.  
  175. local mutedtog = false
  176.  
  177. function CameraEnshaking(Length,Intensity)
  178. coroutine.resume(coroutine.create(function()
  179. local intensity = 1*Intensity
  180. local rotM = 0.01*Intensity
  181. for i = 0, Length, 0.1 do
  182. swait()
  183. intensity = intensity - 0.05*Intensity/Length
  184. rotM = rotM - 0.0005*Intensity/Length
  185. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  186. cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
  187. end
  188. Humanoid.CameraOffset = Vec3(0, 0, 0)
  189. end))
  190. end
  191. CamShake=function(Part,Distan,Power,Times)
  192. local de=Part.Position
  193. for i,v in pairs(workspace:children()) do
  194. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  195. for _,c in pairs(v:children()) do
  196. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  197. local Noob=v.Humanoid
  198. if Noob~=nil then
  199. coroutine.resume(coroutine.create(function()
  200. FV = Instance.new("BoolValue", Noob)
  201. FV.Name = "CameraShake"
  202. for ShakeNum=1,Times do
  203. swait()
  204. local ef=Power
  205. if ef>=1 then
  206. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  207. else
  208. ef=Power*10
  209. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  210. end
  211. end
  212. Humanoid.CameraOffset = Vector3.new(0,0,0)
  213. FV:Destroy()
  214. end))
  215. CameraShake(Times, Power, Noob)
  216. end
  217. end
  218. end
  219. end
  220. end
  221. end
  222.  
  223. local toggleTag = true
  224. local bilguit = Instance.new("BillboardGui", hed)
  225. bilguit.Adornee = nil
  226. bilguit.Name = "ModeName"
  227. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  228. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  229. local modet = Instance.new("TextLabel", bilguit)
  230. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  231. modet.FontSize = "Size8"
  232. modet.TextScaled = true
  233. modet.TextTransparency = 0
  234. modet.BackgroundTransparency = 1
  235. modet.TextTransparency = 0
  236. modet.TextStrokeTransparency = 0
  237. modet.Font = "Antique"
  238. modet.TextStrokeColor3 = Color3.new(0,1,0)
  239. modet.TextColor3 = Color3.new(255,0,0)
  240. modet.Text = "MAYHEM"
  241.  
  242.  
  243. function chatfunc(text,color,typet,font,timeex)
  244. local chat = coroutine.wrap(function()
  245. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  246. Character:FindFirstChild("TalkingBillBoard"):destroy()
  247. end
  248. local naeeym2 = Instance.new("BillboardGui",Character)
  249. naeeym2.Size = UDim2.new(0,100,0,40)
  250. naeeym2.StudsOffset = Vector3.new(0,3,0)
  251. naeeym2.Adornee = Character.Head
  252. naeeym2.Name = "TalkingBillBoard"
  253. local tecks2 = Instance.new("TextLabel",naeeym2)
  254. tecks2.BackgroundTransparency = 1
  255. tecks2.BorderSizePixel = 0
  256. tecks2.Text = ""
  257. tecks2.Font = font
  258. tecks2.TextSize = 30
  259. tecks2.TextStrokeTransparency = 0
  260. tecks2.TextColor3 = color
  261. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  262. tecks2.Size = UDim2.new(1,0,0.5,0)
  263. local tecks3 = Instance.new("TextLabel",naeeym2)
  264. tecks3.BackgroundTransparency = 1
  265. tecks3.BorderSizePixel = 0
  266. tecks3.Text = ""
  267. tecks3.Font = font
  268. tecks3.TextSize = 30
  269. tecks3.TextStrokeTransparency = 0
  270. if typet == "Inverted" then
  271. tecks3.TextColor3 = Color3.new(0,0,0)
  272. tecks3.TextStrokeColor3 = color
  273. elseif typet == "Normal" then
  274. tecks3.TextColor3 = color
  275. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  276. end
  277. tecks3.Size = UDim2.new(1,0,0.5,0)
  278. coroutine.resume(coroutine.create(function()
  279. while true do
  280. swait(1)
  281. if chaosmode == true then
  282. tecks2.TextColor3 = BrickColor.random().Color
  283. tecks3.TextStrokeColor3 = BrickColor.random().Color
  284. end
  285. end
  286. end))
  287. modet.TextTransparency = modet.TextTransparency + 1
  288. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  289. for i = 0, 74*timeex do
  290. swait()
  291. modet.TextTransparency = 1
  292. modet.TextStrokeTransparency = 1
  293. tecks2.Text = text
  294. tecks3.Text = text
  295. end
  296. local randomrot = math.random(1,2)
  297. if randomrot == 1 then
  298. for i = 1, 50 do
  299. swait()
  300. tecks2.Text = text
  301. tecks3.Text = text
  302. modet.TextTransparency = modet.TextTransparency - .02
  303. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  304. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  305. tecks2.TextTransparency = tecks2.TextTransparency + .04
  306. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  307. tecks3.TextTransparency = tecks2.TextTransparency + .04
  308. end
  309. elseif randomrot == 2 then
  310. for i = 1, 50 do
  311. swait()
  312. tecks2.Text = text
  313. tecks3.Text = text
  314. modet.TextTransparency = modet.TextTransparency - .02
  315. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  316. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  317. tecks2.TextTransparency = tecks2.TextTransparency + .04
  318. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  319. tecks3.TextTransparency = tecks2.TextTransparency + .04
  320. end
  321. end
  322. modet.TextTransparency = 0
  323. modet.TextStrokeTransparency = 0
  324. if toggleTag == false then
  325. modet.TextTransparency = 1
  326. modet.TextStrokeTransparency = 1
  327. end
  328. naeeym2:Destroy()
  329. end)
  330. chat()
  331. end
  332.  
  333. function bosschatfunc(text,color,watval)
  334. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  335. coroutine.resume(coroutine.create(function()
  336. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  337. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  338. end
  339. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  340. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  341. scrg.Name = "Dialog"
  342. local txtlb = Instance.new("TextLabel",scrg)
  343. txtlb.Text = ""
  344. txtlb.Font = "Bodoni"
  345. txtlb.TextColor3 = Color3.new(0,0,0)
  346. txtlb.TextStrokeTransparency = 0
  347. txtlb.BackgroundTransparency = 0.75
  348. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  349. txtlb.TextStrokeColor3 = color
  350. txtlb.TextScaled = true
  351. txtlb.Size = UDim2.new(1,0,0.25,0)
  352. txtlb.TextXAlignment = "Left"
  353. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  354. local txtlb2 = Instance.new("TextLabel",scrg)
  355. txtlb2.Text = plr.Name.." The Child:"
  356. txtlb2.Font = "Arcade"
  357. txtlb2.TextColor3 = Color3.new(0,0,0)
  358. txtlb2.TextStrokeTransparency = 0
  359. txtlb2.BackgroundTransparency = 1
  360. txtlb2.TextStrokeColor3 = color
  361. txtlb2.TextSize = 40
  362. txtlb2.Size = UDim2.new(1,0,0.25,0)
  363. txtlb2.TextXAlignment = "Left"
  364. txtlb2.Position = UDim2.new(0,0,1,0)
  365. local fvalen = 0.55
  366. local fval = -0.49
  367. coroutine.resume(coroutine.create(function()
  368. while true do
  369. swait()
  370. if chaosmode == true then
  371. txtlb.Rotation = math.random(-1,1)
  372. txtlb2.Rotation = math.random(-1,1)
  373. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  374. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  375. txtlb.TextStrokeColor3 = BrickColor.random().Color
  376. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  377. end
  378. end
  379. end))
  380. coroutine.resume(coroutine.create(function()
  381. while true do
  382. swait()
  383. if scrg.Parent ~= nil then
  384. fvalen = fvalen - 0.0001
  385. elseif scrg.Parent == nil then
  386. break
  387. end
  388. end
  389. end))
  390. local flol = 1.75
  391. local flil = 1.6
  392. coroutine.resume(coroutine.create(function()
  393. for i = 0, 9 do
  394. swait()
  395. fval = fval + 0.05
  396. flol = flol - 0.1
  397. flil = flil - 0.1
  398. txtlb.Text = ""
  399. txtlb.Position = UDim2.new(0,0,flol,0)
  400. txtlb2.Position = UDim2.new(0,0,flil,0)
  401. end
  402. txtlb.Text = text
  403. wait(watval)
  404. local valinc = 0
  405. for i = 0, 99 do
  406. swait()
  407. valinc = valinc + 0.0001
  408. flol = flol + valinc
  409. flil = flil + valinc
  410. txtlb.Rotation = txtlb.Rotation + valinc*20
  411. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  412. txtlb.Position = UDim2.new(0,0,flol,0)
  413. txtlb2.Position = UDim2.new(0,0,flil,0)
  414. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  415. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  416. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  417. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  418. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  419. end
  420. scrg:Destroy()
  421. end))
  422. end))
  423. end
  424. end
  425.  
  426.  
  427. local Create = LoadLibrary("RbxUtility").Create
  428.  
  429. CFuncs = {
  430. ["Part"] = {
  431. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  432. local Part = Create("Part"){
  433. Parent = Parent,
  434. Reflectance = Reflectance,
  435. Transparency = Transparency,
  436. CanCollide = false,
  437. Locked = true,
  438. BrickColor = BrickColor.new(tostring(BColor)),
  439. Name = Name,
  440. Size = Size,
  441. Material = Material,
  442. }
  443. RemoveOutlines(Part)
  444. return Part
  445. end;
  446. };
  447.  
  448. ["Mesh"] = {
  449. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  450. local Msh = Create(Mesh){
  451. Parent = Part,
  452. Offset = OffSet,
  453. Scale = Scale,
  454. }
  455. if Mesh == "SpecialMesh" then
  456. Msh.MeshType = MeshType
  457. Msh.MeshId = MeshId
  458. end
  459. return Msh
  460. end;
  461. };
  462.  
  463. ["Mesh"] = {
  464. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  465. local Msh = Create(Mesh){
  466. Parent = Part,
  467. Offset = OffSet,
  468. Scale = Scale,
  469. }
  470. if Mesh == "SpecialMesh" then
  471. Msh.MeshType = MeshType
  472. Msh.MeshId = MeshId
  473. end
  474. return Msh
  475. end;
  476. };
  477.  
  478. ["Weld"] = {
  479. Create = function(Parent, Part0, Part1, C0, C1)
  480. local Weld = Create("Weld"){
  481. Parent = Parent,
  482. Part0 = Part0,
  483. Part1 = Part1,
  484. C0 = C0,
  485. C1 = C1,
  486. }
  487. return Weld
  488. end;
  489. };
  490.  
  491. ["Sound"] = {
  492. Create = function(id, par, vol, pit)
  493. coroutine.resume(coroutine.create(function()
  494. local S = Create("Sound"){
  495. Volume = vol,
  496. Name = "EffectSoundo",
  497. Pitch = pit or 1,
  498. SoundId = id,
  499. Parent = par or workspace,
  500. }
  501. wait()
  502. S:play()
  503. game:GetService("Debris"):AddItem(S, 10)
  504. end))
  505. end;
  506. };
  507.  
  508. ["TimeSound"] = {
  509. Create = function(id, par, vol, pit, timepos)
  510. coroutine.resume(coroutine.create(function()
  511. local S = Create("Sound"){
  512. Volume = vol,
  513. Name = "EffectSoundo",
  514. Pitch = pit or 1,
  515. SoundId = id,
  516. TimePosition = timepos,
  517. Parent = par or workspace,
  518. }
  519. wait()
  520. S:play()
  521. game:GetService("Debris"):AddItem(S, 10)
  522. end))
  523. end;
  524. };
  525. ["EchoSound"] = {
  526. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  527. coroutine.resume(coroutine.create(function()
  528. local Sas = Create("Sound"){
  529. Volume = vol,
  530. Name = "EffectSoundo",
  531. Pitch = pit or 1,
  532. SoundId = id,
  533. TimePosition = timepos,
  534. Parent = par or workspace,
  535. }
  536. local E = Create("EchoSoundEffect"){
  537. Delay = echodelay,
  538. Name = "Echo",
  539. Feedback = fedb,
  540. DryLevel = dryl,
  541. Parent = Sas,
  542. }
  543. wait()
  544. Sas:play()
  545. game:GetService("Debris"):AddItem(Sas, delays)
  546. end))
  547. end;
  548. };
  549.  
  550. ["LongSound"] = {
  551. Create = function(id, par, vol, pit)
  552. coroutine.resume(coroutine.create(function()
  553. local S = Create("Sound"){
  554. Volume = vol,
  555. Pitch = pit or 1,
  556. SoundId = id,
  557. Parent = par or workspace,
  558. }
  559. wait()
  560. S:play()
  561. game:GetService("Debris"):AddItem(S, 60)
  562. end))
  563. end;
  564. };
  565.  
  566. ["ParticleEmitter"] = {
  567. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  568. local fp = Create("ParticleEmitter"){
  569. Parent = Parent,
  570. Color = ColorSequence.new(Color1, Color2),
  571. LightEmission = LightEmission,
  572. Size = Size,
  573. Texture = Texture,
  574. Transparency = Transparency,
  575. ZOffset = ZOffset,
  576. Acceleration = Accel,
  577. Drag = Drag,
  578. LockedToPart = LockedToPart,
  579. VelocityInheritance = VelocityInheritance,
  580. EmissionDirection = EmissionDirection,
  581. Enabled = Enabled,
  582. Lifetime = LifeTime,
  583. Rate = Rate,
  584. Rotation = Rotation,
  585. RotSpeed = RotSpeed,
  586. Speed = Speed,
  587. VelocitySpread = VelocitySpread,
  588. }
  589. return fp
  590. end;
  591. };
  592.  
  593. CreateTemplate = {
  594.  
  595. };
  596. }
  597.  
  598.  
  599.  
  600. New = function(Object, Parent, Name, Data)
  601. local Object = Instance.new(Object)
  602. for Index, Value in pairs(Data or {}) do
  603. Object[Index] = Value
  604. end
  605. Object.Parent = Parent
  606. Object.Name = Name
  607. return Object
  608. end
  609. local halocolor = BrickColor.new("Pastel light blue")
  610. local halocolor2 = BrickColor.new("Cool yellow")
  611. local starcolor = BrickColor.new("Bright yellow")
  612. local lunacolor = BrickColor.new("Navy blue")
  613. local lunacolor2 = BrickColor.new("Bright blue")
  614. local wepcolor = BrickColor.new("Really black")
  615. local maincolor = BrickColor.new("Really black")
  616. local m = Instance.new("Model",char)
  617. local m2 = Instance.new("Model",char)
  618. local m3 = Instance.new("Model",char)
  619. local mw1 = Instance.new("Model",char)
  620. local mw2 = Instance.new("Model",char)
  621.  
  622.  
  623. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  624. local gui = it(GuiType)
  625. gui.Parent = parent
  626. gui.Text = text
  627. gui.BackgroundTransparency = backtrans
  628. gui.BackgroundColor3 = backcol
  629. gui.SizeConstraint = "RelativeXY"
  630. gui.TextXAlignment = "Center"
  631. gui.TextYAlignment = "Center"
  632. gui.Position = pos
  633. gui.Size = size
  634. gui.Font = "SourceSans"
  635. gui.FontSize = "Size14"
  636. gui.TextWrapped = false
  637. gui.TextStrokeTransparency = 0
  638. gui.TextColor = BrickColor.new("White")
  639. return gui
  640. end
  641. --------------------------- GUI STUFF
  642. local basgui = it("GuiMain")
  643. basgui.Parent = plr.PlayerGui
  644. basgui.Name = "VISgui"
  645. local fullscreenz = it("Frame")
  646. fullscreenz.Parent = basgui
  647. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  648. fullscreenz.BackgroundTransparency = 1
  649. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  650. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  651. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  652. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  653. imgl2.BackgroundTransparency = 1
  654. imgl2.BorderSizePixel = 0
  655. imgl2.ImageTransparency = 0.5
  656. imgl2.ImageColor3 = Color3.new(1,0,0)
  657. imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
  658. imgl2.Size = UDim2.new(0,1000,0,1000)
  659. imgl2.Image = "rbxassetid://2325939897"
  660. local techc = imgl2:Clone()
  661. techc.Parent = fullscreenz
  662. techc.ImageTransparency = 0
  663. techc.Size = UDim2.new(0,900,0,900)
  664. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  665. techc.ImageColor3 = Color3.new(1,0,0)
  666. techc.Image = "rbxassetid://2273224484"
  667. local circl = imgl2:Clone()
  668. circl.Parent = fullscreenz
  669. circl.ImageTransparency = 0
  670. circl.Size = UDim2.new(0,550,0,550)
  671. circl.Position = UDim2.new(0.75,25,0.55,25)
  672. circl.ImageColor3 = Color3.new(0,0,0)
  673. circl.Image = "rbxassetid://2312119891"
  674. local circl2 = imgl2:Clone()
  675. circl2.Parent = fullscreenz
  676. circl2.ImageTransparency = 0
  677. circl2.Size = UDim2.new(0,700,0,700)
  678. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  679. circl2.ImageColor3 = Color3.new(1,0,0)
  680. circl2.Image = "rbxassetid://2312119891"
  681. local imgl2b = imgl2:Clone()
  682. imgl2b.Parent = fullscreenz
  683. imgl2b.ImageTransparency = 0
  684. imgl2b.Size = UDim2.new(0,800,0,800)
  685. imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
  686. imgl2b.ImageColor3 = Color3.new(0,0,0)
  687. local ned = Instance.new("TextLabel",fullscreenz)
  688. ned.ZIndex = 2
  689. ned.Font = "Arcade"
  690. ned.BackgroundTransparency = 1
  691. ned.BorderSizePixel = 0.65
  692. ned.Size = UDim2.new(0.3,0,0.2,0)
  693. ned.Position = UDim2.new(0.7,0,0.8,0)
  694. ned.TextColor3 = BrickColor.new("Bright green").Color
  695. ned.TextStrokeColor3 = BrickColor.new("Really black").Color
  696. ned.TextScaled = true
  697. ned.TextStrokeTransparency = 0
  698. ned.Text = "GLITCHER"
  699. ned.TextSize = 24
  700. ned.Rotation = 1
  701. ned.TextXAlignment = "Right"
  702. ned.TextYAlignment = "Bottom"
  703.  
  704. local extrawingmod1 = Instance.new("Model",char)
  705. local extrawingmod2 = Instance.new("Model",char)
  706.  
  707. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  708. local p = Instance.new("Part")
  709. p.TopSurface = 0
  710. p.BottomSurface = 0
  711. p.Parent = parent
  712. p.Size = Vector3.new(0.1,0.1,0.1)
  713. p.Transparency = transparency
  714. p.Reflectance = reflectance
  715. p.CanCollide = false
  716. p.Locked = true
  717. p.BrickColor = brickcolor
  718. p.Material = material
  719. return p
  720. end
  721.  
  722. function CreateMesh(parent,meshtype,x1,y1,z1)
  723. local mesh = Instance.new("SpecialMesh",parent)
  724. mesh.MeshType = meshtype
  725. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  726. return mesh
  727. end
  728.  
  729. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  730. local mesh = Instance.new("SpecialMesh",parent)
  731. mesh.MeshType = "FileMesh"
  732. mesh.MeshId = meshid
  733. mesh.Scale = Vector3.new(x1,y1,z1)
  734. return mesh
  735. end
  736.  
  737.  
  738. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  739. local mesh = Instance.new("SpecialMesh",parent)
  740. mesh.MeshType = "FileMesh"
  741. mesh.MeshId = meshid
  742. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  743. mesh.Scale = Vector3.new(x1,y1,z1)
  744. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  745. return mesh
  746. end
  747.  
  748. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  749. local weld = Instance.new("Weld")
  750. weld.Parent = parent
  751. weld.Part0 = part0
  752. weld.Part1 = part1
  753. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  754. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  755. return weld
  756. end
  757.  
  758.  
  759. --------------
  760. --------------
  761. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  762. CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  763. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  764. CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  765.  
  766. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  767. CreateMesh(handle,"Brick",0,0,0)
  768. local handlexweld = CreateWeld(handlex,tors,handlex,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  769. local valuaring = 10
  770. for i = 0, 49 do
  771. valuaring = valuaring + 10
  772. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  773. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  774. CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  775. end
  776.  
  777. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  778. CreateMesh(handle,"Brick",0,0,0)
  779. CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  780. local valuaring = 10
  781. for i = 0, 49 do
  782. valuaring = valuaring + 10
  783. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  784. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  785. CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  786. end
  787.  
  788.  
  789. local handle = CreateParta(m,1,1,"Neon",maincolor)
  790. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  791. local handleweld = CreateWeld(handle,tors,handle,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  792.  
  793. --- Left wing.
  794.  
  795. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  796. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  797. local lwing1weld = CreateWeld(lwing1,handle,lwing1,3,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  798.  
  799. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  800. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  801. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  802. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  803. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  804. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  805. A0 = Instance.new('Attachment',wed)
  806. A0.Position = vt(0,0.25,0.25)
  807. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  808. CreateMesh(wed,"Wedge",0.05,0.5,3)
  809. CreateWeld(wed,lwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  810. A1 = Instance.new('Attachment',wed)
  811. A1.Position = vt(0,-0.25,-2)
  812. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  813. CreateMesh(wed,"Wedge",0.05,3,0.5)
  814. CreateWeld(wed,lwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  815.  
  816. tl1 = Instance.new('Trail',wed)
  817. tl1.Attachment0 = A1
  818. tl1.Attachment1 = A0
  819. tl1.Texture = "rbxassetid://2108945559"
  820. tl1.LightEmission = 1
  821. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  822. tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  823. tl1.Lifetime = 0.6
  824.  
  825.  
  826. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  827. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  828. local lwing2weld = CreateWeld(lwing2,handle,lwing2,4,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  829.  
  830. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  831. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  832. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  833. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  834. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  835. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  836. A0 = Instance.new('Attachment',wed)
  837. A0.Position = vt(0,0.25,0.25)
  838. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  839. CreateMesh(wed,"Wedge",0.05,0.5,3)
  840. CreateWeld(wed,lwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  841. A1 = Instance.new('Attachment',wed)
  842. A1.Position = vt(0,-0.25,-2)
  843. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  844. CreateMesh(wed,"Wedge",0.05,3,0.5)
  845. CreateWeld(wed,lwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  846.  
  847. tl2 = Instance.new('Trail',wed)
  848. tl2.Attachment0 = A1
  849. tl2.Attachment1 = A0
  850. tl2.Texture = "rbxassetid://2108945559"
  851. tl2.LightEmission = 1
  852. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  853. tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  854. tl2.Lifetime = 0.6
  855.  
  856. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  857. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  858. local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.75,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  859.  
  860. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  861. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  862. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  863. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  864. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  865. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  866. A0 = Instance.new('Attachment',wed)
  867. A0.Position = vt(0,0.25,0.25)
  868. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  869. CreateMesh(wed,"Wedge",0.05,0.5,3)
  870. CreateWeld(wed,lwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  871. A1 = Instance.new('Attachment',wed)
  872. A1.Position = vt(0,-0.25,-2)
  873. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  874. CreateMesh(wed,"Wedge",0.05,3,0.5)
  875. CreateWeld(wed,lwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  876.  
  877. tl3 = Instance.new('Trail',wed)
  878. tl3.Attachment0 = A1
  879. tl3.Attachment1 = A0
  880. tl3.Texture = "rbxassetid://2108945559"
  881. tl3.LightEmission = 1
  882. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  883. tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  884. tl3.Lifetime = 0.6
  885.  
  886. tl1.Enabled = false
  887. tl2.Enabled = false
  888. tl3.Enabled = false
  889. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  890. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  891. local lwing4weld = CreateWeld(lwing4,handle,lwing4,5.75,3,0,math.rad(20),math.rad(0),math.rad(50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  892.  
  893. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  894. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  895. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  896. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  897. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  898. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  899. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  900. CreateMesh(wed,"Wedge",0.05,0.5,3)
  901. CreateWeld(wed,lwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  902. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  903. CreateMesh(wed,"Wedge",0.05,3,0.5)
  904. CreateWeld(wed,lwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  905.  
  906. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  907. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  908. local lwing5weld = CreateWeld(lwing5,handle,lwing5,6.75,4,0,math.rad(25),math.rad(0),math.rad(62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  909.  
  910. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  911. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  912. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  913. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  914. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  915. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  916. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  917. CreateMesh(wed,"Wedge",0.05,0.5,3)
  918. CreateWeld(wed,lwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  919. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  920. CreateMesh(wed,"Wedge",0.05,3,0.5)
  921. CreateWeld(wed,lwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  922.  
  923. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  924. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  925. local lwing6weld = CreateWeld(lwing6,handle,lwing6,7.75,5,0,math.rad(30),math.rad(0),math.rad(75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  926.  
  927. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  928. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  929. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  930. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  931. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  932. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  933. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  934. CreateMesh(wed,"Wedge",0.05,0.5,3)
  935. CreateWeld(wed,lwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  936. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  937. CreateMesh(wed,"Wedge",0.05,3,0.5)
  938. CreateWeld(wed,lwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  939.  
  940. -- Right wing.
  941.  
  942. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  943. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  944. local rwing1weld = CreateWeld(rwing1,handle,rwing1,-3,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  945.  
  946. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  947. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  948. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  949. A0 = Instance.new('Attachment',wed)
  950. A0.Position = vt(0,0.25,0.25)
  951. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  952. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  953. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  954. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  955. CreateMesh(wed,"Wedge",0.05,0.5,3)
  956. CreateWeld(wed,rwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  957. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  958. CreateMesh(wed,"Wedge",0.05,3,0.5)
  959. CreateWeld(wed,rwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  960. A1 = Instance.new('Attachment',wed)
  961. A1.Position = vt(0,2,0.25)
  962.  
  963. tr1 = Instance.new('Trail',wed)
  964. tr1.Attachment0 = A1
  965. tr1.Attachment1 = A0
  966. tr1.Texture = "rbxassetid://2108945559"
  967. tr1.LightEmission = 1
  968. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  969. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  970. tr1.Lifetime = 0.6
  971.  
  972. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  973. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  974. local rwing2weld = CreateWeld(rwing2,handle,rwing2,-4,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  975.  
  976. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  977. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  978. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  979. A0 = Instance.new('Attachment',wed)
  980. A0.Position = vt(0,0.25,0.25)
  981. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  982. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  983. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  984. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  985. CreateMesh(wed,"Wedge",0.05,0.5,3)
  986. CreateWeld(wed,rwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  987. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  988. CreateMesh(wed,"Wedge",0.05,3,0.5)
  989. CreateWeld(wed,rwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  990. A1 = Instance.new('Attachment',wed)
  991. A1.Position = vt(0,2,0.25)
  992.  
  993. tr2 = Instance.new('Trail',wed)
  994. tr2.Attachment0 = A1
  995. tr2.Attachment1 = A0
  996. tr2.Texture = "rbxassetid://2108945559"
  997. tr2.LightEmission = 1
  998. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  999. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1000. tr2.Lifetime = 0.6
  1001.  
  1002. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1003. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1004. local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.75,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1005.  
  1006. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1007. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1008. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1009. A0 = Instance.new('Attachment',wed)
  1010. A0.Position = vt(0,0.25,0.25)
  1011. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1012. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1013. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1014. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1015. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1016. CreateWeld(wed,rwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1017. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1018. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1019. CreateWeld(wed,rwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1020. A1 = Instance.new('Attachment',wed)
  1021. A1.Position = vt(0,2,0.25)
  1022.  
  1023. tr3 = Instance.new('Trail',wed)
  1024. tr3.Attachment0 = A1
  1025. tr3.Attachment1 = A0
  1026. tr3.Texture = "rbxassetid://2108945559"
  1027. tr3.LightEmission = 1
  1028. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1029. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1030. tr3.Lifetime = 0.6
  1031.  
  1032.  
  1033. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1034. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1035. local rwing4weld = CreateWeld(rwing4,handle,rwing4,-5.75,3,0,math.rad(20),math.rad(0),math.rad(-50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1036.  
  1037. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1038. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1039. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1040. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1041. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1042. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1043. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1044. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1045. CreateWeld(wed,rwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1046. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1047. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1048. CreateWeld(wed,rwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1049.  
  1050. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1051. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1052. local rwing5weld = CreateWeld(rwing5,handle,rwing5,-6.75,4,0,math.rad(25),math.rad(0),math.rad(-62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1053.  
  1054. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1055. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1056. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1057. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1058. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1059. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1060. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1061. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1062. CreateWeld(wed,rwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1063. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1064. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1065. CreateWeld(wed,rwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1066.  
  1067. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1068. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1069. local rwing6weld = CreateWeld(rwing6,handle,rwing6,-7.75,3,0,math.rad(30),math.rad(0),math.rad(-75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1070.  
  1071. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1072. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1073. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1074. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1075. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1076. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1077. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1078. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1079. CreateWeld(wed,rwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1080. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1081. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1082. CreateWeld(wed,rwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1083.  
  1084. --HERES THE RING
  1085.  
  1086.  
  1087. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1088. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1089. CreateWeld(ran,larm,ran,0,0.15,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1090. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1091. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1092. CreateWeld(ran,larm,ran,0,0.155,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1093. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1094. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1095. CreateWeld(ran,larm,ran,0,0.155,-0.025,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1096.  
  1097.  
  1098. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1099. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1100. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1101.  
  1102. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1103. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1104. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1105.  
  1106.  
  1107.  
  1108. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1109. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1110. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1111.  
  1112. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1113. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1114. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1115.  
  1116. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1117. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1118. CreateWeld(gane,larm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1119.  
  1120. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1121. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1122. CreateWeld(star,larm,star,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1123. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1124. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1125. CreateWeld(starl,larm,starl,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]--
  1126.  
  1127. --- second ring
  1128.  
  1129.  
  1130. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1131. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1132. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1133.  
  1134. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1135. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1136. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1137.  
  1138.  
  1139.  
  1140. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1141. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1142. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1143.  
  1144. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1145. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1146. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1147.  
  1148. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1149. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1150. CreateWeld(gane,rarm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1151.  
  1152. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1153. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1154. CreateWeld(star,rarm,star,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1155. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1156. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1157. CreateWeld(starl,rarm,starl,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1158.  
  1159.  
  1160.  
  1161. for i, v in pairs(m:GetChildren()) do
  1162. if v:IsA("Part") then
  1163. v.BrickColor = BrickColor.new("Really black")
  1164. v.Material = "Glass"
  1165. end
  1166. end
  1167. for i, v in pairs(m2:GetChildren()) do
  1168. if v:IsA("Part") then
  1169. v.BrickColor = BrickColor.new("Crimson")
  1170. v.Material = "Granite"
  1171. end
  1172. end
  1173. for i, v in pairs(m3:GetChildren()) do
  1174. if v:IsA("Part") then
  1175. v.BrickColor = BrickColor.new("Really red")
  1176. v.Material = "Neon"
  1177. end
  1178. end
  1179. for i, v in pairs(mw2:GetChildren()) do
  1180. if v:IsA("Part") then
  1181. v.BrickColor = BrickColor.new("Really red")
  1182. v.Material = "Neon"
  1183. end
  1184. end
  1185. for i, v in pairs(mw1:GetChildren()) do
  1186. if v:IsA("Part") then
  1187. v.Transparency = 1
  1188. v.BrickColor = BrickColor.new("Really red")
  1189. v.Material = "Neon"
  1190. end
  1191. end
  1192. for i, v in pairs(extrawingmod1:GetChildren()) do
  1193. if v:IsA("Part") then
  1194. v.Transparency = 1
  1195. v.BrickColor = BrickColor.new("White")
  1196. v.Material = "Neon"
  1197. end
  1198. end
  1199. for i, v in pairs(extrawingmod2:GetChildren()) do
  1200. if v:IsA("Part") then
  1201. v.Transparency = 1
  1202. v.BrickColor = BrickColor.new("White")
  1203. v.Material = "Neon"
  1204. end
  1205. end
  1206. local MAINRUINCOLOR = BrickColor.new("Really red")
  1207. ------
  1208.  
  1209.  
  1210. function RemoveOutlines(part)
  1211. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1212. end
  1213. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1214. local Part = Create("Part")({
  1215. Parent = Parent,
  1216. Reflectance = Reflectance,
  1217. Transparency = Transparency,
  1218. CanCollide = false,
  1219. Locked = true,
  1220. BrickColor = BrickColor.new(tostring(BColor)),
  1221. Name = Name,
  1222. Size = Size,
  1223. Material = Material
  1224. })
  1225. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1226. RemoveOutlines(Part)
  1227. return Part
  1228. end
  1229. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1230. local Msh = Create(Mesh)({
  1231. Parent = Part,
  1232. Offset = OffSet,
  1233. Scale = Scale
  1234. })
  1235. if Mesh == "SpecialMesh" then
  1236. Msh.MeshType = MeshType
  1237. Msh.MeshId = MeshId
  1238. end
  1239. return Msh
  1240. end
  1241. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1242. local Weld = Create("Weld")({
  1243. Parent = Parent,
  1244. Part0 = Part0,
  1245. Part1 = Part1,
  1246. C0 = C0,
  1247. C1 = C1
  1248. })
  1249. return Weld
  1250. end
  1251.  
  1252. Player = plr
  1253. Character=Player.Character
  1254. PlayerGui=Player.PlayerGui
  1255. Backpack=Player.Backpack
  1256. Torso=Character.Torso
  1257. Head=Character.Head
  1258. Humanoid=Character.Humanoid
  1259. m=Instance.new('Model',Character)
  1260. LeftArm=Character["Left Arm"]
  1261. LeftLeg=Character["Left Leg"]
  1262. RightArm=Character["Right Arm"]
  1263. RightLeg=Character["Right Leg"]
  1264. LS=Torso["Left Shoulder"]
  1265. LH=Torso["Left Hip"]
  1266. RS=Torso["Right Shoulder"]
  1267. RH=Torso["Right Hip"]
  1268. Face = Head.face
  1269. Neck=Torso.Neck
  1270. it=Instance.new
  1271. attacktype=1
  1272. vt=Vector3.new
  1273. cf=CFrame.new
  1274. euler=CFrame.fromEulerAnglesXYZ
  1275. angles=CFrame.Angles
  1276. cloaked=false
  1277. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1278. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1279. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1280. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1281. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1282. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1283. RootPart=Character.HumanoidRootPart
  1284. RootJoint=RootPart.RootJoint
  1285. RootCF=euler(-1.57,0,3.14)
  1286. attack = false
  1287. attackdebounce = false
  1288. deb=false
  1289. equipped=true
  1290. hand=false
  1291. combo=0
  1292. mana=0
  1293. trispeed=.2
  1294. attackmode='none'
  1295. local idle=0
  1296. local Anim="Idle"
  1297. local Effects={}
  1298. local gun=false
  1299. local shoot=false
  1300. local sine = 0
  1301. local change = 1
  1302.  
  1303. function RecolorTextAndRename(name,col1,col2,font)
  1304. modet.TextStrokeColor3 = col2
  1305. modet.TextColor3 = col1
  1306. modet.Font = font
  1307. modet.Text = name
  1308. techc.ImageColor3 = col2
  1309. circl.ImageColor3 = col2
  1310. circl2.ImageColor3 = col1
  1311. imgl2.ImageColor3 = col1
  1312. imgl2b.ImageColor3 = col2
  1313. ned.Text = name
  1314. ned.TextColor3 = col1
  1315. ned.TextStrokeColor3 = col2
  1316. end
  1317. --save shoulders
  1318. RSH, LSH=nil, nil
  1319. --welds
  1320. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1321. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1322. LH=Torso["Left Hip"]
  1323. RH=Torso["Right Hip"]
  1324. TorsoColor=Torso.BrickColor
  1325. function NoOutline(Part)
  1326. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1327. end
  1328. ch=Character
  1329. RSH=ch.Torso["Right Shoulder"]
  1330. LSH=ch.Torso["Left Shoulder"]
  1331. --
  1332. RSH.Parent=nil
  1333. LSH.Parent=nil
  1334. --
  1335. RW.Name="Right Shoulder"
  1336. RW.Part0=ch.Torso
  1337. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1338. RW.C1=cf(0, 0.5, 0)
  1339. RW.Part1=ch["Right Arm"]
  1340. RW.Parent=ch.Torso
  1341. --
  1342. LW.Name="Left Shoulder"
  1343. LW.Part0=ch.Torso
  1344. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1345. LW.C1=cf(0, 0.5, 0)
  1346. LW.Part1=ch["Left Arm"]
  1347. LW.Parent=ch.Torso
  1348.  
  1349. local Stats=Instance.new("BoolValue")
  1350. Stats.Name="Stats"
  1351. Stats.Parent=Character
  1352. local Atk=Instance.new("NumberValue")
  1353. Atk.Name="Damage"
  1354. Atk.Parent=Stats
  1355. Atk.Value=1
  1356. local Def=Instance.new("NumberValue")
  1357. Def.Name="Defense"
  1358. Def.Parent=Stats
  1359. Def.Value=1
  1360. local Speed=Instance.new("NumberValue")
  1361. Speed.Name="Speed"
  1362. Speed.Parent=Stats
  1363. Speed.Value=1
  1364. local Mvmt=Instance.new("NumberValue")
  1365. Mvmt.Name="Movement"
  1366. Mvmt.Parent=Stats
  1367. Mvmt.Value=1
  1368.  
  1369. local donum=0
  1370. local ast = {744586075,385254610}
  1371.  
  1372. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1373. local fp=it("Part")
  1374. fp.formFactor=formfactor
  1375. fp.Parent=parent
  1376. fp.Reflectance=reflectance
  1377. fp.Transparency=transparency
  1378. fp.CanCollide=false
  1379. fp.Locked=true
  1380. fp.BrickColor=brickcolor
  1381. fp.Name=name
  1382. fp.Size=size
  1383. fp.Position=Torso.Position
  1384. NoOutline(fp)
  1385. fp.Material="SmoothPlastic"
  1386. fp:BreakJoints()
  1387. return fp
  1388. end
  1389.  
  1390. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1391. local mesh=it(Mesh)
  1392. mesh.Parent=part
  1393. if Mesh=="SpecialMesh" then
  1394. mesh.MeshType=meshtype
  1395. if meshid~="nil" then
  1396. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1397. end
  1398. end
  1399. mesh.Offset=offset
  1400. mesh.Scale=scale
  1401. return mesh
  1402. end
  1403.  
  1404. function weld(parent,part0,part1,c0)
  1405. local weld=it("Weld")
  1406. weld.Parent=parent
  1407. weld.Part0=part0
  1408. weld.Part1=part1
  1409. weld.C0=c0
  1410. return weld
  1411. end
  1412.  
  1413. local Color1=Torso.BrickColor
  1414.  
  1415. local bodvel=Instance.new("BodyVelocity")
  1416. local bg=Instance.new("BodyGyro")
  1417.  
  1418. --------- SazEreno's Artificial HB --------------
  1419. ArtificialHB = Instance.new("BindableEvent", script)
  1420. ArtificialHB.Name = "ArtificialHB"
  1421.  
  1422. script:WaitForChild("ArtificialHB")
  1423. Frame_Speed = 1 / 60
  1424. frame = Frame_Speed
  1425. tf = 0
  1426. allowframeloss = false
  1427. tossremainder = false
  1428. lastframe = tick()
  1429. script.ArtificialHB:Fire()
  1430.  
  1431. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1432. tf = tf + s
  1433. if tf >= frame then
  1434. if allowframeloss then
  1435. script.ArtificialHB:Fire()
  1436. lastframe = tick()
  1437. else
  1438. for i = 1, math.floor(tf / frame) do
  1439. script.ArtificialHB:Fire()
  1440. end
  1441. lastframe = tick()
  1442. end
  1443. if tossremainder then
  1444. tf = 0
  1445. else
  1446. tf = tf - frame * math.floor(tf / frame)
  1447. end
  1448. end
  1449. end)
  1450.  
  1451. ------------------
  1452. function swait(num)
  1453. if num == 0 or num == nil then
  1454. ArtificialHB.Event:wait()
  1455. else
  1456. for i = 1, num do
  1457. ArtificialHB.Event:wait()
  1458. end
  1459. end
  1460. end
  1461. -------- RAINBOW LEAVE IT TO ME
  1462. local r = 255
  1463. local g = 0
  1464. local b = 0
  1465. coroutine.resume(coroutine.create(function()
  1466. while wait() do
  1467. for i = 0, 254/5 do
  1468. swait()
  1469. g = g + 5
  1470. end
  1471. for i = 0, 254/5 do
  1472. swait()
  1473. r = r - 5
  1474. end
  1475. for i = 0, 254/5 do
  1476. swait()
  1477. b = b + 5
  1478. end
  1479. for i = 0, 254/5 do
  1480. swait()
  1481. g = g - 5
  1482. end
  1483. for i = 0, 254/5 do
  1484. swait()
  1485. r = r + 5
  1486. end
  1487. for i = 0, 254/5 do
  1488. swait()
  1489. b = b - 5
  1490. end
  1491. end
  1492. end))
  1493.  
  1494.  
  1495. so = function(id,par,vol,pit)
  1496. coroutine.resume(coroutine.create(function()
  1497. local sou = Instance.new("Sound",par or workspace)
  1498. sou.Volume=vol
  1499. sou.Pitch=pit or 1
  1500. sou.SoundId=id
  1501. swait()
  1502. sou:play()
  1503. game:GetService("Debris"):AddItem(sou,6)
  1504. end))
  1505. end
  1506.  
  1507. function clerp(a,b,t)
  1508. local qa = {QuaternionFromCFrame(a)}
  1509. local qb = {QuaternionFromCFrame(b)}
  1510. local ax, ay, az = a.x, a.y, a.z
  1511. local bx, by, bz = b.x, b.y, b.z
  1512. local _t = 1-t
  1513. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1514. end
  1515.  
  1516. function QuaternionFromCFrame(cf)
  1517. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1518. local trace = m00 + m11 + m22
  1519. if trace > 0 then
  1520. local s = math.sqrt(1 + trace)
  1521. local recip = 0.5/s
  1522. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1523. else
  1524. local i = 0
  1525. if m11 > m00 then
  1526. i = 1
  1527. end
  1528. if m22 > (i == 0 and m00 or m11) then
  1529. i = 2
  1530. end
  1531. if i == 0 then
  1532. local s = math.sqrt(m00-m11-m22+1)
  1533. local recip = 0.5/s
  1534. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1535. elseif i == 1 then
  1536. local s = math.sqrt(m11-m22-m00+1)
  1537. local recip = 0.5/s
  1538. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1539. elseif i == 2 then
  1540. local s = math.sqrt(m22-m00-m11+1)
  1541. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1542. end
  1543. end
  1544. end
  1545.  
  1546. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1547. local xs, ys, zs = x + x, y + y, z + z
  1548. local wx, wy, wz = w*xs, w*ys, w*zs
  1549. local xx = x*xs
  1550. local xy = x*ys
  1551. local xz = x*zs
  1552. local yy = y*ys
  1553. local yz = y*zs
  1554. local zz = z*zs
  1555. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  1556. end
  1557.  
  1558. function QuaternionSlerp(a, b, t)
  1559. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1560. local startInterp, finishInterp;
  1561. if cosTheta >= 0.0001 then
  1562. if (1 - cosTheta) > 0.0001 then
  1563. local theta = math.acos(cosTheta)
  1564. local invSinTheta = 1/math.sin(theta)
  1565. startInterp = math.sin((1-t)*theta)*invSinTheta
  1566. finishInterp = math.sin(t*theta)*invSinTheta
  1567. else
  1568. startInterp = 1-t
  1569. finishInterp = t
  1570. end
  1571. else
  1572. if (1+cosTheta) > 0.0001 then
  1573. local theta = math.acos(-cosTheta)
  1574. local invSinTheta = 1/math.sin(theta)
  1575. startInterp = math.sin((t-1)*theta)*invSinTheta
  1576. finishInterp = math.sin(t*theta)*invSinTheta
  1577. else
  1578. startInterp = t-1
  1579. finishInterp = t
  1580. end
  1581. end
  1582. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  1583. end
  1584.  
  1585. local function CFrameFromTopBack(at, top, back)
  1586. local right = top:Cross(back)
  1587. return CFrame.new(at.x, at.y, at.z,
  1588. right.x, top.x, back.x,
  1589. right.y, top.y, back.y,
  1590. right.z, top.z, back.z)
  1591. end
  1592.  
  1593. function Triangle(a, b, c)
  1594. local edg1 = (c-a):Dot((b-a).unit)
  1595. local edg2 = (a-b):Dot((c-b).unit)
  1596. local edg3 = (b-c):Dot((a-c).unit)
  1597. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1598. a, b, c = a, b, c
  1599. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1600. a, b, c = b, c, a
  1601. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1602. a, b, c = c, a, b
  1603. else
  1604. assert(false, "unreachable")
  1605. end
  1606.  
  1607. local len1 = (c-a):Dot((b-a).unit)
  1608. local len2 = (b-a).magnitude - len1
  1609. local width = (a + (b-a).unit*len1 - c).magnitude
  1610.  
  1611. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1612.  
  1613. local list = {}
  1614.  
  1615. if len1 > 0.01 then
  1616. local w1 = Instance.new('WedgePart', m)
  1617. game:GetService("Debris"):AddItem(w1,5)
  1618. w1.Material = "SmoothPlastic"
  1619. w1.FormFactor = 'Custom'
  1620. w1.BrickColor = BrickColor.new("Really red")
  1621. w1.Transparency = 0
  1622. w1.Reflectance = 0
  1623. w1.Material = "SmoothPlastic"
  1624. w1.CanCollide = false
  1625. local l1 = Instance.new("PointLight",w1)
  1626. l1.Color = Color3.new(170,0,0)
  1627. NoOutline(w1)
  1628. local sz = Vector3.new(0.2, width, len1)
  1629. w1.Size = sz
  1630. local sp = Instance.new("SpecialMesh",w1)
  1631. sp.MeshType = "Wedge"
  1632. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1633. w1:BreakJoints()
  1634. w1.Anchored = true
  1635. w1.Parent = workspace
  1636. w1.Transparency = 0.7
  1637. table.insert(Effects,{w1,"Disappear",.01})
  1638. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1639. table.insert(list,w1)
  1640. end
  1641.  
  1642. if len2 > 0.01 then
  1643. local w2 = Instance.new('WedgePart', m)
  1644. game:GetService("Debris"):AddItem(w2,5)
  1645. w2.Material = "SmoothPlastic"
  1646. w2.FormFactor = 'Custom'
  1647. w2.BrickColor = BrickColor.new("Really red")
  1648. w2.Transparency = 0
  1649. w2.Reflectance = 0
  1650. w2.Material = "SmoothPlastic"
  1651. w2.CanCollide = false
  1652. local l2 = Instance.new("PointLight",w2)
  1653. l2.Color = Color3.new(170,0,0)
  1654. NoOutline(w2)
  1655. local sz = Vector3.new(0.2, width, len2)
  1656. w2.Size = sz
  1657. local sp = Instance.new("SpecialMesh",w2)
  1658. sp.MeshType = "Wedge"
  1659. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1660. w2:BreakJoints()
  1661. w2.Anchored = true
  1662. w2.Parent = workspace
  1663. w2.Transparency = 0.7
  1664. table.insert(Effects,{w2,"Disappear",.01})
  1665. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1666. table.insert(list,w2)
  1667. end
  1668. return unpack(list)
  1669. end
  1670.  
  1671.  
  1672. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1673. if hit.Parent == nil then
  1674. return
  1675. end
  1676. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1677. for _, v in pairs(hit.Parent:children()) do
  1678. if v:IsA("Humanoid") then
  1679. h = v
  1680. end
  1681. end
  1682. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1683. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1684. return
  1685. end
  1686. local c = Create("ObjectValue")({
  1687. Name = "creator",
  1688. Value = game:GetService("Players").EzzyCrafts2,
  1689. Parent = h
  1690. })
  1691. game:GetService("Debris"):AddItem(c, 0.5)
  1692. if HitSound ~= nil and HitPitch ~= nil then
  1693. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1694. end
  1695. local Damage = math.random(minim, maxim)
  1696. local blocked = false
  1697. local block = hit.Parent:findFirstChild("Block")
  1698. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1699. blocked = true
  1700. block.Value = block.Value - 1
  1701. print(block.Value)
  1702. end
  1703. if blocked == false then
  1704. HitHealth = h.Health
  1705. h.MaxHealth = 100
  1706. h.Health = h.Health - Damage
  1707. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1708. print("gained kill")
  1709. dmg(h.Parent)
  1710. end
  1711. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1712. else
  1713. h.Health = h.Health - Damage / 2
  1714. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1715. end
  1716. if Type == "Knockdown" then
  1717. local hum = hit.Parent.Humanoid
  1718. hum.PlatformStand = true
  1719. coroutine.resume(coroutine.create(function(HHumanoid)
  1720. swait(1)
  1721. HHumanoid.PlatformStand = false
  1722. end), hum)
  1723. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1724. local bodvol = Create("BodyVelocity")({
  1725. velocity = angle * knockback,
  1726. P = 5000,
  1727. maxForce = Vector3.new(8000, 8000, 8000),
  1728. Parent = hit
  1729. })
  1730. local rl = Create("BodyAngularVelocity")({
  1731. P = 3000,
  1732. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1733. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1734. Parent = hit
  1735. })
  1736. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1737. game:GetService("Debris"):AddItem(rl, 0.5)
  1738. elseif Type == "Normal" then
  1739. local vp = Create("BodyVelocity")({
  1740. P = 500,
  1741. maxForce = Vector3.new(math.huge, 0, math.huge),
  1742. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1743. })
  1744. if knockback > 0 then
  1745. vp.Parent = hit.Parent.Head
  1746. end
  1747. game:GetService("Debris"):AddItem(vp, 0.5)
  1748. elseif Type == "Up" then
  1749. local bodyVelocity = Create("BodyVelocity")({
  1750. velocity = Vector3.new(0, 20, 0),
  1751. P = 5000,
  1752. maxForce = Vector3.new(8000, 8000, 8000),
  1753. Parent = hit
  1754. })
  1755. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1756. local bodyVelocity = Create("BodyVelocity")({
  1757. velocity = Vector3.new(0, 20, 0),
  1758. P = 5000,
  1759. maxForce = Vector3.new(8000, 8000, 8000),
  1760. Parent = hit
  1761. })
  1762. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1763. elseif Type == "Leech" then
  1764. local hum = hit.Parent.Humanoid
  1765. if hum ~= nil then
  1766. for i = 0, 2 do
  1767. Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  1768. end
  1769. Humanoid.Health = Humanoid.Health + 10
  1770. end
  1771. elseif Type == "UpKnock" then
  1772. local hum = hit.Parent.Humanoid
  1773. hum.PlatformStand = true
  1774. if hum ~= nil then
  1775. hitr = true
  1776. end
  1777. coroutine.resume(coroutine.create(function(HHumanoid)
  1778. swait(5)
  1779. HHumanoid.PlatformStand = false
  1780. hitr = false
  1781. end), hum)
  1782. local bodyVelocity = Create("BodyVelocity")({
  1783. velocity = Vector3.new(0, 20, 0),
  1784. P = 5000,
  1785. maxForce = Vector3.new(8000, 8000, 8000),
  1786. Parent = hit
  1787. })
  1788. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1789. local bodyVelocity = Create("BodyVelocity")({
  1790. velocity = Vector3.new(0, 20, 0),
  1791. P = 5000,
  1792. maxForce = Vector3.new(8000, 8000, 8000),
  1793. Parent = hit
  1794. })
  1795. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1796. elseif Type == "Snare" then
  1797. local bp = Create("BodyPosition")({
  1798. P = 2000,
  1799. D = 100,
  1800. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1801. position = hit.Parent.Torso.Position,
  1802. Parent = hit.Parent.Torso
  1803. })
  1804. game:GetService("Debris"):AddItem(bp, 1)
  1805. elseif Type == "Slashnare" then
  1806. Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07)
  1807. for i = 1, math.random(4, 5) do
  1808. Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  1809. end
  1810. local bp = Create("BodyPosition")({
  1811. P = 2000,
  1812. D = 100,
  1813. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1814. position = hit.Parent.Torso.Position,
  1815. Parent = hit.Parent.Torso
  1816. })
  1817. game:GetService("Debris"):AddItem(bp, 1)
  1818. elseif Type == "Spike" then
  1819. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1820. local bp = Create("BodyPosition")({
  1821. P = 2000,
  1822. D = 100,
  1823. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1824. position = hit.Parent.Torso.Position,
  1825. Parent = hit.Parent.Torso
  1826. })
  1827. game:GetService("Debris"):AddItem(bp, 1)
  1828. elseif Type == "Freeze" then
  1829. local BodPos = Create("BodyPosition")({
  1830. P = 50000,
  1831. D = 1000,
  1832. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1833. position = hit.Parent.Torso.Position,
  1834. Parent = hit.Parent.Torso
  1835. })
  1836. local BodGy = Create("BodyGyro")({
  1837. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1838. P = 20000,
  1839. Parent = hit.Parent.Torso,
  1840. cframe = hit.Parent.Torso.CFrame
  1841. })
  1842. hit.Parent.Torso.Anchored = true
  1843. coroutine.resume(coroutine.create(function(Part)
  1844. swait(1.5)
  1845. Part.Anchored = false
  1846. end), hit.Parent.Torso)
  1847. game:GetService("Debris"):AddItem(BodPos, 3)
  1848. game:GetService("Debris"):AddItem(BodGy, 3)
  1849. end
  1850. local debounce = Create("BoolValue")({
  1851. Name = "DebounceHit",
  1852. Parent = hit.Parent,
  1853. Value = true
  1854. })
  1855. game:GetService("Debris"):AddItem(debounce, Delay)
  1856. c = Instance.new("ObjectValue")
  1857. c.Name = "creator"
  1858. c.Value = Player
  1859. c.Parent = h
  1860. game:GetService("Debris"):AddItem(c, 0.5)
  1861. end
  1862. end
  1863. function ShowDamage(Pos, Text, Time, Color)
  1864. local Rate = 0.03333333333333333
  1865. local Pos = Pos or Vector3.new(0, 0, 0)
  1866. local Text = Text or ""
  1867. local Time = Time or 2
  1868. local Color = Color or Color3.new(1, 0, 1)
  1869. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1870. EffectPart.Anchored = true
  1871. local BillboardGui = Create("BillboardGui")({
  1872. Size = UDim2.new(3, 0, 3, 0),
  1873. Adornee = EffectPart,
  1874. Parent = EffectPart
  1875. })
  1876. local TextLabel = Create("TextLabel")({
  1877. BackgroundTransparency = 1,
  1878. Size = UDim2.new(1, 0, 1, 0),
  1879. Text = Text,
  1880. TextColor3 = Color,
  1881. TextScaled = true,
  1882. Font = Enum.Font.ArialBold,
  1883. Parent = BillboardGui
  1884. })
  1885. game.Debris:AddItem(EffectPart, Time + 0.1)
  1886. EffectPart.Parent = game:GetService("Workspace")
  1887. delay(0, function()
  1888. local Frames = Time / Rate
  1889. for Frame = 1, Frames do
  1890. wait(Rate)
  1891. local Percent = Frame / Frames
  1892. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1893. TextLabel.TextTransparency = Percent
  1894. end
  1895. if EffectPart and EffectPart.Parent then
  1896. EffectPart:Destroy()
  1897. end
  1898. end)
  1899. end
  1900. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1901. for _, c in pairs(workspace:children()) do
  1902. local hum = c:findFirstChildOfClass("Humanoid")
  1903. if hum ~= nil then
  1904. local head = c:findFirstChild("Head")
  1905. if head ~= nil then
  1906. local targ = head.Position - Part.Position
  1907. local mag = targ.magnitude
  1908. if magni >= mag and c.Name ~= Player.Name then
  1909. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1910. end
  1911. end
  1912. end
  1913. end
  1914. end
  1915.  
  1916. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1917. for _, c in pairs(workspace:children()) do
  1918. local hum = c:findFirstChild("Humanoid")
  1919. if hum ~= nil then
  1920. local head = c:findFirstChild("Torso")
  1921. if head ~= nil then
  1922. local targ = head.Position - Part.Position
  1923. local mag = targ.magnitude
  1924. if magni >= mag and c.Name ~= Player.Name then
  1925. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  1926. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1927. end
  1928. end
  1929. end
  1930. end
  1931. end
  1932.  
  1933. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1934. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1935. end
  1936.  
  1937. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1938. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1939. prt.Anchored=true
  1940. prt.CFrame=cframe
  1941. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1942. --http://www.roblox.com/asset/?id=4770560
  1943. game:GetService("Debris"):AddItem(prt,2)
  1944. CF=prt.CFrame
  1945. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1946. for i=0,1,0.2 do
  1947. wait()
  1948. Part.CFrame=CF*cf(0,0,-0.4)
  1949. end
  1950. for i=0,1,delay do
  1951. wait()
  1952. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  1953. Mesh.Scale=Mesh.Scale
  1954. end
  1955. for i=0,1,0.1 do
  1956. wait()
  1957. Part.Transparency=i
  1958. end
  1959. Part.Parent=nil
  1960. end),prt,msh,CF)
  1961. end
  1962.  
  1963. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1964. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1965. prt.Anchored=true
  1966. prt.Material = "Neon"
  1967. prt.CFrame=cframe
  1968. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1969. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1970. game:GetService("Debris"):AddItem(prt,5)
  1971. coroutine.resume(coroutine.create(function(Part,Mesh)
  1972. for i=0,1,delay do
  1973. swait()
  1974. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1975. Part.Transparency=i
  1976. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1977. end
  1978. Part.Parent=nil
  1979. end),prt,msh)
  1980. end
  1981.  
  1982. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1983. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1984. prt.Anchored=true
  1985. prt.Material = "Neon"
  1986. prt.CFrame=cframe
  1987. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1988. game:GetService("Debris"):AddItem(prt,5)
  1989. coroutine.resume(coroutine.create(function(Part,Mesh)
  1990. local rtype = rottype
  1991. for i=0,1,delay do
  1992. swait()
  1993. if rtype == 1 then
  1994. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1995. elseif rtype == 2 then
  1996. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1997. end
  1998. Part.Transparency=i
  1999. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2000. end
  2001. Part.Parent=nil
  2002. end),prt,msh)
  2003. end
  2004.  
  2005. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2006. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2007. prt.Anchored=true
  2008. prt.CFrame=cframe
  2009. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2010. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2011. game:GetService("Debris"):AddItem(prt,5)
  2012. coroutine.resume(coroutine.create(function(Part,Mesh)
  2013. for i=0,1,delay do
  2014. wait()
  2015. Part.Transparency=i
  2016. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2017. end
  2018. Part.Parent=nil
  2019. end),prt,msh)
  2020. end
  2021.  
  2022. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2023. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2024. prt.Anchored=true
  2025. prt.Material = "Neon"
  2026. prt.CFrame=cframe
  2027. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2028. game:GetService("Debris"):AddItem(prt,5)
  2029. coroutine.resume(coroutine.create(function(Part,Mesh)
  2030. local rtype = rottype
  2031. for i=0,1,delay do
  2032. swait()
  2033. if rtype == 1 then
  2034. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2035. elseif rtype == 2 then
  2036. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2037. end
  2038. Part.Transparency=i
  2039. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2040. end
  2041. Part.Parent=nil
  2042. end),prt,msh)
  2043. end
  2044.  
  2045. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2046. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2047. prt.Anchored=true
  2048. prt.Material = "Neon"
  2049. prt.CFrame=cframe
  2050. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2051. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2052. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2053. game:GetService("Debris"):AddItem(prt,5)
  2054. coroutine.resume(coroutine.create(function(Part,Mesh)
  2055. local rtype = rottype
  2056. for i=0,1,delay do
  2057. swait()
  2058. if rtype == 1 then
  2059. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2060. elseif rtype == 2 then
  2061. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2062. end
  2063. dec.Transparency=i
  2064. dec2.Transparency=i
  2065. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2066. end
  2067. Part.Parent=nil
  2068. end),prt,msh)
  2069. end
  2070.  
  2071. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2072. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2073. prt.Anchored=true
  2074. prt.Material = "Neon"
  2075. prt.CFrame=cframe
  2076. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2077. game:GetService("Debris"):AddItem(prt,5)
  2078. coroutine.resume(coroutine.create(function(Part,Mesh)
  2079. local rtype = rottype
  2080. for i=0,1,delay do
  2081. swait()
  2082. if rtype == 1 then
  2083. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2084. elseif rtype == 2 then
  2085. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2086. end
  2087. prt.Transparency=i
  2088. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2089. end
  2090. Part.Parent=nil
  2091. end),prt,msh)
  2092. end
  2093.  
  2094. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2095. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2096. prt.Anchored=true
  2097. prt.Material = "Neon"
  2098. prt.CFrame=cframe
  2099. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2100. game:GetService("Debris"):AddItem(prt,5)
  2101. coroutine.resume(coroutine.create(function(Part,Mesh)
  2102. local rtype = rottype
  2103. for i=0,1,delay do
  2104. swait()
  2105. if rtype == 1 then
  2106. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2107. elseif rtype == 2 then
  2108. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2109. end
  2110. prt.Transparency=i
  2111. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2112. end
  2113. Part.Parent=nil
  2114. end),prt,msh)
  2115. end
  2116.  
  2117. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2118. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2119. prt.Anchored=true
  2120. prt.Material = "Neon"
  2121. prt.CFrame=cframe
  2122. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2123. game:GetService("Debris"):AddItem(prt,5)
  2124. coroutine.resume(coroutine.create(function(Part,Mesh)
  2125. local rtype = rottype
  2126. for i=0,1,delay do
  2127. swait()
  2128. if rtype == 1 then
  2129. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2130. elseif rtype == 2 then
  2131. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2132. end
  2133. prt.Transparency=i
  2134. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2135. end
  2136. Part.Parent=nil
  2137. end),prt,msh)
  2138. end
  2139.  
  2140. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2141. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2142. prt.Anchored=true
  2143. prt.Material = "Neon"
  2144. prt.CFrame=cframe
  2145. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2146. game:GetService("Debris"):AddItem(prt,5)
  2147. coroutine.resume(coroutine.create(function(Part,Mesh)
  2148. local rtype = rottype
  2149. for i=0,1,delay do
  2150. swait()
  2151. if rtype == 1 then
  2152. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2153. elseif rtype == 2 then
  2154. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2155. end
  2156. prt.Transparency=i
  2157. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2158. end
  2159. Part.Parent=nil
  2160. end),prt,msh)
  2161. end
  2162.  
  2163. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2164. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2165. prt.Anchored=false
  2166. prt.CFrame=cframe
  2167. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2168. local wld=weld(prt,prt,Parent,cframe)
  2169. game:GetService("Debris"):AddItem(prt,5)
  2170. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2171. for i=0,1,delay do
  2172. wait()
  2173. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2174. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2175. Part.Transparency=i
  2176. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2177. end
  2178. Part.Parent=nil
  2179. end),prt,msh,wld)
  2180. end
  2181.  
  2182. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2183. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2184. prt.Anchored=false
  2185. prt.CFrame=cframe
  2186. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2187. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2188. game:GetService("Debris"):AddItem(prt,5)
  2189. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2190. for i=0,1,delay do
  2191. wait()
  2192. Weld.C0=euler(i*20,0,0)
  2193. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2194. Part.Transparency=i
  2195. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2196. end
  2197. Part.Parent=nil
  2198. end),prt,msh,wld)
  2199. end
  2200.  
  2201. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2202. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2203. prt.Anchored=true
  2204. prt.CFrame=cframe
  2205. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2206. game:GetService("Debris"):AddItem(prt,2)
  2207. coroutine.resume(coroutine.create(function(Part,Mesh)
  2208. for i=0,1,delay do
  2209. wait()
  2210. Part.CFrame=Part.CFrame
  2211. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2212. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2213. prt2.Anchored=true
  2214. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2215. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2216. game:GetService("Debris"):AddItem(prt2,2)
  2217. coroutine.resume(coroutine.create(function(Part,Mesh)
  2218. for i=0,1,0.1 do
  2219. wait()
  2220. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2221. end
  2222. Part.Parent=nil
  2223. end),prt2,msh2)
  2224. end
  2225. for i=0,1,delay*2 do
  2226. wait()
  2227. Part.CFrame=Part.CFrame
  2228. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2229. end
  2230. Part.Parent=nil
  2231. end),prt,msh)
  2232. end
  2233.  
  2234. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2235. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2236. prt.Anchored=true
  2237. prt.CFrame=cframe
  2238. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2239. game:GetService("Debris"):AddItem(prt,2)
  2240. coroutine.resume(coroutine.create(function(Part,Mesh)
  2241. for i=0,1,delay do
  2242. wait()
  2243. Part.CFrame=Part.CFrame
  2244. Part.Transparency=i
  2245. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2246. end
  2247. Part.Parent=nil
  2248. end),prt,msh)
  2249. end
  2250.  
  2251. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2252. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2253. prt.Anchored=true
  2254. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2255. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2256. game:GetService("Debris"):AddItem(prt,2)
  2257. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2258. CF=Part.CFrame
  2259. Numbb=0
  2260. randnumb=math.random()/10
  2261. rand1=math.random()/10
  2262. for i=0,1,rand1 do
  2263. wait()
  2264. CF=CF*cf(0,math.random()/2,0)
  2265. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2266. Part.CFrame=CF*euler(Numbb,0,0)
  2267. Part.Transparency=i
  2268. Numbb=Numbb+randnumb
  2269. end
  2270. Part.Parent=nil
  2271. end),prt,CF,Numbb,randnumb)
  2272. end
  2273.  
  2274. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2275. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2276. prt.Anchored=true
  2277. prt.CFrame=cframe
  2278. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2279. game:GetService("Debris"):AddItem(prt,5)
  2280. coroutine.resume(coroutine.create(function(Part,Mesh)
  2281. for i=0,1,delay do
  2282. wait()
  2283. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2284. Part.Transparency=i
  2285. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2286. end
  2287. Part.Parent=nil
  2288. end),prt,msh)
  2289. end
  2290.  
  2291. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2292. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2293. prt.Anchored=true
  2294. prt.CFrame=cframe
  2295. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2296. game:GetService("Debris"):AddItem(prt,2)
  2297. coroutine.resume(coroutine.create(function(Part,Mesh)
  2298. for i=0,1,delay do
  2299. wait()
  2300. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2301. Part.Transparency=i
  2302. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2303. end
  2304. Part.Parent=nil
  2305. end),prt,msh)
  2306. end
  2307.  
  2308. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2309. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2310. prt.Anchored=true
  2311. prt.CFrame=cframe*cf(x,y,z)
  2312. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2313. game:GetService("Debris"):AddItem(prt,5)
  2314. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2315. local num=math.random()
  2316. local num2=math.random(-3,2)+math.random()
  2317. local numm=0
  2318. for i=0,1,delay*2 do
  2319. swait()
  2320. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2321. Part.Transparency=i
  2322. numm=numm+0.01
  2323. end
  2324. Part.Parent=nil
  2325. Mesh.Parent=nil
  2326. end),prt,msh,x,y,z)
  2327. end
  2328.  
  2329. function dmgstart(dmg,what)
  2330. hitcon = what.Touched:connect(function(hit)
  2331. local hum = hit.Parent:FindFirstChild("Humanoid")
  2332. if hum and not hum:IsDescendantOf(Character) then
  2333. hum:TakeDamage(dmg)
  2334. end
  2335. end)
  2336. end
  2337.  
  2338. function dmgstop()
  2339. hitcon:disconnect()
  2340. end
  2341.  
  2342. function Cloak()
  2343. Face.Parent=nil
  2344. cloaked=true
  2345. for _,v in pairs(Torso.Parent:children()) do
  2346. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2347. coroutine.resume(coroutine.create(function()
  2348. for i=0,1,0.2 do
  2349. wait()
  2350. v.Transparency=i
  2351. end
  2352. v.Transparency=1
  2353. end))
  2354. end
  2355. if v.className=="Hat" then
  2356. hatp=v.Handle
  2357. coroutine.resume(coroutine.create(function(derp)
  2358. for i=0,1,0.2 do
  2359. wait()
  2360. derp.Transparency=i
  2361. end
  2362. derp.Transparency=1
  2363. end),hatp)
  2364. end
  2365. end
  2366. for _,v in pairs(m:children()) do
  2367. if v.className=="Part" then
  2368. coroutine.resume(coroutine.create(function()
  2369. for i=0,1,0.2 do
  2370. wait()
  2371. v.Transparency=i
  2372. end
  2373. v.Transparency=1
  2374. end))
  2375. end
  2376. end
  2377. end
  2378.  
  2379. function UnCloak()
  2380. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2381. Face.Parent=Head
  2382. cloaked=false
  2383. for _,v in pairs(Torso.Parent:children()) do
  2384. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2385. coroutine.resume(coroutine.create(function()
  2386. for i=0,1,0.1 do
  2387. wait()
  2388. v.Transparency=v.Transparency-0.1
  2389. end
  2390. v.Transparency=0
  2391. end))
  2392. end
  2393. if v.className=="Hat" then
  2394. hatp=v.Handle
  2395. coroutine.resume(coroutine.create(function(derp)
  2396. for i=0,1,0.1 do
  2397. wait()
  2398. derp.Transparency=derp.Transparency-0.1
  2399. end
  2400. derp.Transparency=0
  2401. end),hatp)
  2402. end
  2403. end
  2404. for _,v in pairs(m:children()) do
  2405. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2406. coroutine.resume(coroutine.create(function()
  2407. for i=0,1,0.1 do
  2408. wait()
  2409. v.Transparency=v.Transparency-0.1
  2410. end
  2411. v.Transparency=0
  2412. end))
  2413. v.Transparency=0
  2414. end
  2415. end
  2416. end
  2417.  
  2418. local origcolor = BrickColor.new("Pastel light blue")
  2419. ---- This section of explosions.
  2420.  
  2421. ----
  2422.  
  2423.  
  2424. function ring(type,pos,scale,value)
  2425. local type = type
  2426. local rng = Instance.new("Part", char)
  2427. rng.Anchored = true
  2428. rng.BrickColor = origcolor
  2429. rng.CanCollide = false
  2430. rng.FormFactor = 3
  2431. rng.Name = "Ring"
  2432. rng.Size = Vector3.new(1, 1, 1)
  2433. rng.Transparency = 0
  2434. rng.TopSurface = 0
  2435. rng.BottomSurface = 0
  2436. rng.CFrame = pos
  2437. local rngm = Instance.new("SpecialMesh", rng)
  2438. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2439. rngm.Scale = scale
  2440. local scaler2 = 1
  2441. if type == "Add" then
  2442. scaler2 = 1*value
  2443. elseif type == "Divide" then
  2444. scaler2 = 1/value
  2445. end
  2446. coroutine.resume(coroutine.create(function()
  2447. for i = 0,10,0.1 do
  2448. swait()
  2449. if type == "Add" then
  2450. scaler2 = scaler2 - 0.01*value
  2451. elseif type == "Divide" then
  2452. scaler2 = scaler2 - 0.01/value
  2453. end
  2454. rng.Transparency = rng.Transparency + 0.01
  2455. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2456. end
  2457. rng:Destroy()
  2458. end))
  2459. end
  2460.  
  2461.  
  2462. function wave(type,pos,scale,value)
  2463. local type = type
  2464. local rng = Instance.new("Part", char)
  2465. rng.Anchored = true
  2466. rng.BrickColor = origcolor
  2467. rng.CanCollide = false
  2468. rng.FormFactor = 3
  2469. rng.Name = "Ring"
  2470. rng.Size = Vector3.new(1, 1, 1)
  2471. rng.Transparency = 0
  2472. rng.TopSurface = 0
  2473. rng.BottomSurface = 0
  2474. rng.CFrame = pos
  2475. local rngm = Instance.new("SpecialMesh", rng)
  2476. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2477. rngm.Scale = scale
  2478. local scaler2 = 1
  2479. if type == "Add" then
  2480. scaler2 = 1*value
  2481. elseif type == "Divide" then
  2482. scaler2 = 1/value
  2483. end
  2484. coroutine.resume(coroutine.create(function()
  2485. for i = 0,10,0.1 do
  2486. swait()
  2487. if type == "Add" then
  2488. scaler2 = scaler2 - 0.01*value
  2489. elseif type == "Divide" then
  2490. scaler2 = scaler2 - 0.01/value
  2491. end
  2492. rng.Transparency = rng.Transparency + 0.01
  2493. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2494. end
  2495. rng:Destroy()
  2496. end))
  2497. end
  2498.  
  2499. function wind(type,pos,scale,value,speed)
  2500. local type = type
  2501. local rng = Instance.new("Part", char)
  2502. rng.Anchored = true
  2503. rng.BrickColor = origcolor
  2504. rng.CanCollide = false
  2505. rng.FormFactor = 3
  2506. rng.Name = "Ring"
  2507. rng.Size = Vector3.new(1, 1, 1)
  2508. rng.Transparency = 0
  2509. rng.TopSurface = 0
  2510. rng.BottomSurface = 0
  2511. rng.CFrame = pos
  2512. local rngm = Instance.new("SpecialMesh", rng)
  2513. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2514. rngm.Scale = scale
  2515. local scaler2 = 1
  2516. if type == "Add" then
  2517. scaler2 = 1*value
  2518. elseif type == "Divide" then
  2519. scaler2 = 1/value
  2520. end
  2521. coroutine.resume(coroutine.create(function()
  2522. for i = 0,10,0.1 do
  2523. swait()
  2524. if type == "Add" then
  2525. scaler2 = scaler2 - 0.01*value
  2526. elseif type == "Divide" then
  2527. scaler2 = scaler2 - 0.01/value
  2528. end
  2529. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2530. rng.Transparency = rng.Transparency + 0.01
  2531. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2532. end
  2533. rng:Destroy()
  2534. end))
  2535. end
  2536.  
  2537. function groundwind(type,pos,scale,value,speed)
  2538. local type = type
  2539. local rng = Instance.new("Part", char)
  2540. rng.Anchored = true
  2541. rng.BrickColor = origcolor
  2542. rng.CanCollide = false
  2543. rng.FormFactor = 3
  2544. rng.Name = "Ring"
  2545. rng.Size = Vector3.new(1, 1, 1)
  2546. rng.Transparency = 0
  2547. rng.TopSurface = 0
  2548. rng.BottomSurface = 0
  2549. rng.CFrame = pos
  2550. local rngm = Instance.new("SpecialMesh", rng)
  2551. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2552. rngm.Scale = scale
  2553. local scaler2 = 1
  2554. if type == "Add" then
  2555. scaler2 = 1*value
  2556. elseif type == "Divide" then
  2557. scaler2 = 1/value
  2558. end
  2559. coroutine.resume(coroutine.create(function()
  2560. for i = 0,10,0.1 do
  2561. swait()
  2562. if type == "Add" then
  2563. scaler2 = scaler2 - 0.01*value
  2564. elseif type == "Divide" then
  2565. scaler2 = scaler2 - 0.01/value
  2566. end
  2567. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2568. rng.Transparency = rng.Transparency + 0.01
  2569. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2570. end
  2571. rng:Destroy()
  2572. end))
  2573. end
  2574.  
  2575. function CameraManager()
  2576. if TwoD and not CamInterrupt then
  2577. if Humanoid.Health > 0 then
  2578. Camera.CameraSubject = Humanoid
  2579. Camera.CameraType = "Scriptable"
  2580. Humanoid.AutoRotate = false
  2581. if Booleans.GyroUse then
  2582. Directer.MaxTorque = Vec3(0, huge, 0)
  2583. else
  2584. Directer.MaxTorque = Vec3(0, 0, 0)
  2585. end
  2586. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2587. if Booleans.CamFollow then
  2588. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2589. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2590. else
  2591. CPart.Position = RootPart.Position
  2592. end
  2593. else
  2594. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2595. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2596. end
  2597. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2598. else
  2599. Camera.CameraSubject = Humanoid
  2600. Camera.CameraType = "Custom"
  2601. Controller.Disabled = false
  2602. end
  2603. end
  2604. end
  2605.  
  2606. function ring(type,pos,scale,value)
  2607. local type = type
  2608. local rng = Instance.new("Part", char)
  2609. rng.Anchored = true
  2610. rng.BrickColor = origcolor
  2611. rng.CanCollide = false
  2612. rng.FormFactor = 3
  2613. rng.Name = "Ring"
  2614. rng.Size = Vector3.new(1, 1, 1)
  2615. rng.Transparency = 0
  2616. rng.TopSurface = 0
  2617. rng.BottomSurface = 0
  2618. rng.CFrame = pos
  2619. local rngm = Instance.new("SpecialMesh", rng)
  2620. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2621. rngm.Scale = scale
  2622. local scaler2 = 1
  2623. if type == "Add" then
  2624. scaler2 = 1*value
  2625. elseif type == "Divide" then
  2626. scaler2 = 1/value
  2627. end
  2628. coroutine.resume(coroutine.create(function()
  2629. for i = 0,10,0.1 do
  2630. swait()
  2631. if type == "Add" then
  2632. scaler2 = scaler2 - 0.01*value
  2633. elseif type == "Divide" then
  2634. scaler2 = scaler2 - 0.01/value
  2635. end
  2636. rng.Transparency = rng.Transparency + 0.01
  2637. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2638. end
  2639. rng:Destroy()
  2640. end))
  2641. end
  2642.  
  2643.  
  2644. function wave(type,pos,scale,value)
  2645. local type = type
  2646. local rng = Instance.new("Part", char)
  2647. rng.Anchored = true
  2648. rng.BrickColor = origcolor
  2649. rng.CanCollide = false
  2650. rng.FormFactor = 3
  2651. rng.Name = "Ring"
  2652. rng.Size = Vector3.new(1, 1, 1)
  2653. rng.Transparency = 0
  2654. rng.TopSurface = 0
  2655. rng.BottomSurface = 0
  2656. rng.CFrame = pos
  2657. local rngm = Instance.new("SpecialMesh", rng)
  2658. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2659. rngm.Scale = scale
  2660. local scaler2 = 1
  2661. if type == "Add" then
  2662. scaler2 = 1*value
  2663. elseif type == "Divide" then
  2664. scaler2 = 1/value
  2665. end
  2666. coroutine.resume(coroutine.create(function()
  2667. for i = 0,10,0.1 do
  2668. swait()
  2669. if type == "Add" then
  2670. scaler2 = scaler2 - 0.01*value
  2671. elseif type == "Divide" then
  2672. scaler2 = scaler2 - 0.01/value
  2673. end
  2674. rng.Transparency = rng.Transparency + 0.01
  2675. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2676. end
  2677. rng:Destroy()
  2678. end))
  2679. end
  2680.  
  2681. function sphere(bonuspeed,type,pos,scale,value,color)
  2682. local type = type
  2683. local rng = Instance.new("Part", char)
  2684. rng.Anchored = true
  2685. if ModeOfGlitch ~= 9 then
  2686. rng.BrickColor = color
  2687. elseif ModeOfGlitch == 9 then
  2688. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2689. end
  2690. rng.CanCollide = false
  2691. rng.FormFactor = 3
  2692. rng.Name = "Ring"
  2693. rng.Material = "Neon"
  2694. rng.Size = Vector3.new(1, 1, 1)
  2695. rng.Transparency = 0
  2696. rng.TopSurface = 0
  2697. rng.BottomSurface = 0
  2698. rng.CFrame = pos
  2699. local rngm = Instance.new("SpecialMesh", rng)
  2700. rngm.MeshType = "Sphere"
  2701. rngm.Scale = scale
  2702. if rainbowmode == true then
  2703. rng.Color = Color3.new(r/255,g/255,b/255)
  2704. end
  2705. if ModeOfGlitch == 9 then
  2706. coroutine.resume(coroutine.create(function()
  2707. while true do
  2708. swait()
  2709. if rng.Parent ~= nil then
  2710. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2711. else
  2712. break
  2713. end
  2714. end
  2715. end))
  2716. end
  2717. local scaler2 = 1
  2718. if type == "Add" then
  2719. scaler2 = 1*value
  2720. elseif type == "Divide" then
  2721. scaler2 = 1/value
  2722. end
  2723. coroutine.resume(coroutine.create(function()
  2724. for i = 0,10/bonuspeed,0.1 do
  2725. swait()
  2726. if rainbowmode == true then
  2727. rng.Color = Color3.new(r/255,g/255,b/255)
  2728. end
  2729. if type == "Add" then
  2730. scaler2 = scaler2 - 0.01*value/bonuspeed
  2731. elseif type == "Divide" then
  2732. scaler2 = scaler2 - 0.01/value*bonuspeed
  2733. end
  2734. if chaosmode == true then
  2735. rng.BrickColor = BrickColor.random()
  2736. end
  2737. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2738. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2739. end
  2740. rng:Destroy()
  2741. end))
  2742. end
  2743.  
  2744. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  2745. local type = type
  2746. local rng = Instance.new("Part", char)
  2747. rng.Anchored = true
  2748. if ModeOfGlitch ~= 9 then
  2749. rng.BrickColor = color
  2750. elseif ModeOfGlitch == 9 then
  2751. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2752. end
  2753. rng.CanCollide = false
  2754. rng.FormFactor = 3
  2755. rng.Name = "Ring"
  2756. rng.Material = "Neon"
  2757. rng.Size = Vector3.new(1, 1, 1)
  2758. rng.Transparency = 0
  2759. rng.TopSurface = 0
  2760. rng.BottomSurface = 0
  2761. rng.CFrame = pos
  2762. local rngm = Instance.new("SpecialMesh", rng)
  2763. rngm.MeshType = "Sphere"
  2764. rngm.Scale = scale
  2765. local scaler2 = 1
  2766. local scaler2b = 1
  2767. local scaler2c = 1
  2768. if type == "Add" then
  2769. scaler2 = 1*value
  2770. scaler2b = 1*value2
  2771. scaler2c = 1*value3
  2772. elseif type == "Divide" then
  2773. scaler2 = 1/value
  2774. scaler2b = 1/value2
  2775. scaler2c = 1/value3
  2776. end
  2777. if ModeOfGlitch == 9 then
  2778. coroutine.resume(coroutine.create(function()
  2779. while true do
  2780. swait()
  2781. if rng.Parent ~= nil then
  2782. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2783. else
  2784. break
  2785. end
  2786. end
  2787. end))
  2788. end
  2789. coroutine.resume(coroutine.create(function()
  2790. for i = 0,10/bonuspeed,0.1 do
  2791. swait()
  2792. if type == "Add" then
  2793. scaler2 = scaler2 - 0.01*value/bonuspeed
  2794. scaler2b = scaler2b - 0.01*value/bonuspeed
  2795. scaler2c = scaler2c - 0.01*value/bonuspeed
  2796. elseif type == "Divide" then
  2797. scaler2 = scaler2 - 0.01/value*bonuspeed
  2798. scaler2b = scaler2b - 0.01/value*bonuspeed
  2799. scaler2c = scaler2c - 0.01/value*bonuspeed
  2800. end
  2801. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2802. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2803. end
  2804. rng:Destroy()
  2805. end))
  2806. end
  2807.  
  2808. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  2809. local type = type
  2810. local rotenable = rotatingop
  2811. local rng = Instance.new("Part", char)
  2812. rng.Anchored = true
  2813. rng.BrickColor = color
  2814. rng.CanCollide = false
  2815. rng.FormFactor = 3
  2816. rng.Name = "Ring"
  2817. rng.Material = "Neon"
  2818. rng.Size = Vector3.new(1, 1, 1)
  2819. rng.Transparency = 0
  2820. if typeoftrans == "In" then
  2821. rng.Transparency = 1
  2822. end
  2823. rng.TopSurface = 0
  2824. rng.BottomSurface = 0
  2825. rng.CFrame = pos
  2826. local rngm = Instance.new("SpecialMesh", rng)
  2827. rngm.MeshType = "FileMesh"
  2828. if typeofshape == "Normal" then
  2829. rngm.MeshId = "rbxassetid://662586858"
  2830. elseif typeofshape == "Round" then
  2831. rngm.MeshId = "rbxassetid://662585058"
  2832. end
  2833. rngm.Scale = scale
  2834. local scaler2 = 1/10
  2835. if type == "Add" then
  2836. scaler2 = 1*value/10
  2837. elseif type == "Divide" then
  2838. scaler2 = 1/value/10
  2839. end
  2840. local randomrot = math.random(1,2)
  2841. coroutine.resume(coroutine.create(function()
  2842. for i = 0,10/bonuspeed,0.1 do
  2843. swait()
  2844. if type == "Add" then
  2845. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  2846. elseif type == "Divide" then
  2847. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  2848. end
  2849. if rotenable == true then
  2850. if randomrot == 1 then
  2851. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  2852. elseif randomrot == 2 then
  2853. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  2854. end
  2855. end
  2856. if typeoftrans == "Out" then
  2857. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2858. elseif typeoftrans == "In" then
  2859. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2860. end
  2861. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  2862. end
  2863. rng:Destroy()
  2864. end))
  2865. end
  2866.  
  2867. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2868. local type = type
  2869. local rng = Instance.new("Part", char)
  2870. rng.Anchored = true
  2871. rng.BrickColor = color
  2872. rng.CanCollide = false
  2873. rng.FormFactor = 3
  2874. rng.Name = "Ring"
  2875. rng.Material = "Neon"
  2876. rng.Size = Vector3.new(1, 1, 1)
  2877. rng.Transparency = 0
  2878. rng.TopSurface = 0
  2879. rng.BottomSurface = 0
  2880. rng.CFrame = pos
  2881. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2882. local rngm = Instance.new("SpecialMesh", rng)
  2883. rngm.MeshType = "Brick"
  2884. rngm.Scale = vt(x1,y1,z1)
  2885. if rainbowmode == true then
  2886. rng.Color = Color3.new(r/255,g/255,b/255)
  2887. end
  2888. local scaler2 = 1
  2889. local speeder = FastSpeed/10
  2890. if type == "Add" then
  2891. scaler2 = 1*value
  2892. elseif type == "Divide" then
  2893. scaler2 = 1/value
  2894. end
  2895. coroutine.resume(coroutine.create(function()
  2896. for i = 0,10/bonuspeed,0.1 do
  2897. swait()
  2898. if rainbowmode == true then
  2899. rng.Color = Color3.new(r/255,g/255,b/255)
  2900. end
  2901. if type == "Add" then
  2902. scaler2 = scaler2 - 0.01*value/bonuspeed
  2903. elseif type == "Divide" then
  2904. scaler2 = scaler2 - 0.01/value*bonuspeed
  2905. end
  2906. if chaosmode == true then
  2907. rng.BrickColor = BrickColor.random()
  2908. end
  2909. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2910. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2911. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2912. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2913. end
  2914. rng:Destroy()
  2915. end))
  2916. end
  2917.  
  2918. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2919. local type = type
  2920. local rng = Instance.new("Part", char)
  2921. rng.Anchored = true
  2922. rng.BrickColor = color
  2923. rng.CanCollide = false
  2924. rng.FormFactor = 3
  2925. rng.Name = "Ring"
  2926. rng.Material = "Neon"
  2927. rng.Size = Vector3.new(1, 1, 1)
  2928. rng.Transparency = 0
  2929. rng.TopSurface = 0
  2930. rng.BottomSurface = 0
  2931. rng.CFrame = pos
  2932. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2933. local rngm = Instance.new("SpecialMesh", rng)
  2934. rngm.MeshType = "Brick"
  2935. rngm.Scale = vt(x1,y1,z1)
  2936. if rainbowmode == true then
  2937. rng.Color = Color3.new(r/255,g/255,b/255)
  2938. end
  2939. local scaler2 = 1
  2940. local speeder = FastSpeed/10
  2941. if type == "Add" then
  2942. scaler2 = 1*value
  2943. elseif type == "Divide" then
  2944. scaler2 = 1/value
  2945. end
  2946. coroutine.resume(coroutine.create(function()
  2947. for i = 0,10/bonuspeed,0.1 do
  2948. swait()
  2949. if rainbowmode == true then
  2950. rng.Color = Color3.new(r/255,g/255,b/255)
  2951. end
  2952. if type == "Add" then
  2953. scaler2 = scaler2 - 0.01*value/bonuspeed
  2954. elseif type == "Divide" then
  2955. scaler2 = scaler2 - 0.01/value*bonuspeed
  2956. end
  2957. if chaosmode == true then
  2958. rng.BrickColor = BrickColor.random()
  2959. end
  2960. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2961. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2962. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2963. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2964. end
  2965. rng:Destroy()
  2966. end))
  2967. end
  2968.  
  2969. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2970. local type = type
  2971. local rng = Instance.new("Part", char)
  2972. rng.Anchored = true
  2973. rng.BrickColor = color
  2974. rng.CanCollide = false
  2975. rng.FormFactor = 3
  2976. rng.Name = "Ring"
  2977. rng.Material = "Neon"
  2978. rng.Size = Vector3.new(1, 1, 1)
  2979. rng.Transparency = 0
  2980. rng.TopSurface = 0
  2981. rng.BottomSurface = 0
  2982. rng.CFrame = pos
  2983. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2984. local rngm = Instance.new("SpecialMesh", rng)
  2985. rngm.MeshType = "Brick"
  2986. rngm.Scale = vt(x1,y1,z1)
  2987. if rainbowmode == true then
  2988. rng.Color = Color3.new(r/255,g/255,b/255)
  2989. end
  2990. local scaler2 = 0
  2991. local speeder = FastSpeed/10
  2992. if type == "Add" then
  2993. scaler2 = 1*value
  2994. elseif type == "Divide" then
  2995. scaler2 = 1/value
  2996. end
  2997. coroutine.resume(coroutine.create(function()
  2998. for i = 0,10/bonuspeed,0.1 do
  2999. swait()
  3000. if rainbowmode == true then
  3001. rng.Color = Color3.new(r/255,g/255,b/255)
  3002. end
  3003. if type == "Add" then
  3004. scaler2 = scaler2 - 0.01*value/bonuspeed
  3005. elseif type == "Divide" then
  3006. scaler2 = scaler2 - 0.01/value*bonuspeed
  3007. end
  3008. if chaosmode == true then
  3009. rng.BrickColor = BrickColor.random()
  3010. end
  3011. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3012. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3013. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3014. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3015. end
  3016. rng:Destroy()
  3017. end))
  3018. end
  3019.  
  3020. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3021. local type = type
  3022. local rng = Instance.new("Part", char)
  3023. rng.Anchored = true
  3024. rng.BrickColor = color
  3025. rng.Color = color3
  3026. rng.CanCollide = false
  3027. rng.FormFactor = 3
  3028. rng.Name = "Ring"
  3029. rng.Material = "Neon"
  3030. rng.Size = Vector3.new(1, 1, 1)
  3031. rng.Transparency = 0
  3032. rng.TopSurface = 0
  3033. rng.BottomSurface = 0
  3034. rng.CFrame = pos
  3035. local rngm = Instance.new("SpecialMesh", rng)
  3036. rngm.MeshType = "Brick"
  3037. rngm.Scale = scale
  3038. local scaler2 = 1
  3039. local scaler2b = 1
  3040. local scaler2c = 1
  3041. if type == "Add" then
  3042. scaler2 = 1*value
  3043. scaler2b = 1*value2
  3044. scaler2c = 1*value3
  3045. elseif type == "Divide" then
  3046. scaler2 = 1/value
  3047. scaler2b = 1/value2
  3048. scaler2c = 1/value3
  3049. end
  3050. coroutine.resume(coroutine.create(function()
  3051. for i = 0,10/bonuspeed,0.1 do
  3052. swait()
  3053. if type == "Add" then
  3054. scaler2 = scaler2 - 0.01*value/bonuspeed
  3055. scaler2b = scaler2b - 0.01*value/bonuspeed
  3056. scaler2c = scaler2c - 0.01*value/bonuspeed
  3057. elseif type == "Divide" then
  3058. scaler2 = scaler2 - 0.01/value*bonuspeed
  3059. scaler2b = scaler2b - 0.01/value*bonuspeed
  3060. scaler2c = scaler2c - 0.01/value*bonuspeed
  3061. end
  3062. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3063. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3064. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3065. end
  3066. rng:Destroy()
  3067. end))
  3068. end
  3069.  
  3070. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3071. local type = type
  3072. local rng = Instance.new("Part", char)
  3073. rng.Anchored = true
  3074. if ModeOfGlitch ~= 9 then
  3075. rng.BrickColor = color
  3076. elseif ModeOfGlitch == 9 then
  3077. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3078. end
  3079. rng.CanCollide = false
  3080. rng.FormFactor = 3
  3081. rng.Name = "Ring"
  3082. rng.Material = "Neon"
  3083. rng.Size = Vector3.new(1, 1, 1)
  3084. rng.Transparency = 0
  3085. rng.TopSurface = 0
  3086. rng.BottomSurface = 0
  3087. rng.CFrame = pos
  3088. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3089. local rngm = Instance.new("SpecialMesh", rng)
  3090. rngm.MeshType = "Sphere"
  3091. rngm.Scale = vt(x1,y1,z1)
  3092. if rainbowmode == true then
  3093. rng.Color = Color3.new(r/255,g/255,b/255)
  3094. end
  3095. if ModeOfGlitch == 9 then
  3096. coroutine.resume(coroutine.create(function()
  3097. while true do
  3098. swait()
  3099. if rng.Parent ~= nil then
  3100. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3101. else
  3102. break
  3103. end
  3104. end
  3105. end))
  3106. end
  3107. local scaler2 = 1
  3108. local speeder = FastSpeed
  3109. if type == "Add" then
  3110. scaler2 = 1*value
  3111. elseif type == "Divide" then
  3112. scaler2 = 1/value
  3113. end
  3114. coroutine.resume(coroutine.create(function()
  3115. for i = 0,10/bonuspeed,0.1 do
  3116. swait()
  3117. if rainbowmode == true then
  3118. rng.Color = Color3.new(r/255,g/255,b/255)
  3119. end
  3120. if type == "Add" then
  3121. scaler2 = scaler2 - 0.01*value/bonuspeed
  3122. elseif type == "Divide" then
  3123. scaler2 = scaler2 - 0.01/value*bonuspeed
  3124. end
  3125. if chaosmode == true then
  3126. rng.BrickColor = BrickColor.random()
  3127. end
  3128. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3129. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3130. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3131. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3132. end
  3133. rng:Destroy()
  3134. end))
  3135. end
  3136.  
  3137.  
  3138. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3139. local type = type
  3140. local rng = Instance.new("Part", char)
  3141. rng.Anchored = true
  3142. if ModeOfGlitch ~= 9 then
  3143. rng.BrickColor = color
  3144. elseif ModeOfGlitch == 9 then
  3145. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3146. end
  3147. rng.CanCollide = false
  3148. rng.FormFactor = 3
  3149. rng.Name = "Ring"
  3150. rng.Material = "Neon"
  3151. rng.Size = Vector3.new(1, 1, 1)
  3152. rng.Transparency = 1
  3153. rng.TopSurface = 0
  3154. rng.BottomSurface = 0
  3155. rng.CFrame = pos
  3156. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3157. local rngm = Instance.new("SpecialMesh", rng)
  3158. rngm.MeshType = "Sphere"
  3159. rngm.Scale = vt(x1,y1,z1)
  3160. if rainbowmode == true then
  3161. rng.Color = Color3.new(r/255,g/255,b/255)
  3162. end
  3163. if ModeOfGlitch == 9 then
  3164. coroutine.resume(coroutine.create(function()
  3165. while true do
  3166. swait()
  3167. if rng.Parent ~= nil then
  3168. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3169. else
  3170. break
  3171. end
  3172. end
  3173. end))
  3174. end
  3175. local scaler2 = 1
  3176. local speeder = FastSpeed
  3177. if type == "Add" then
  3178. scaler2 = 1*value
  3179. elseif type == "Divide" then
  3180. scaler2 = 1/value
  3181. end
  3182. coroutine.resume(coroutine.create(function()
  3183. for i = 0,10/bonuspeed,0.1 do
  3184. swait()
  3185. if rainbowmode == true then
  3186. rng.Color = Color3.new(r/255,g/255,b/255)
  3187. end
  3188. if type == "Add" then
  3189. scaler2 = scaler2 - 0.01*value/bonuspeed
  3190. elseif type == "Divide" then
  3191. scaler2 = scaler2 - 0.01/value*bonuspeed
  3192. end
  3193. if chaosmode == true then
  3194. rng.BrickColor = BrickColor.random()
  3195. end
  3196. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3197. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3198. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3199. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3200. end
  3201. rng:Destroy()
  3202. end))
  3203. end
  3204.  
  3205. function dmg(dude)
  3206. if dude.Name ~= Character then
  3207. local keptcolor = MAINRUINCOLOR
  3208. local bgf = Instance.new("BodyGyro",dude.Head)
  3209. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3210. --[[local val = Instance.new("BoolValue",dude)
  3211. val.Name = "IsHit"]]--
  3212. local ds = coroutine.wrap(function()
  3213. dude:WaitForChild("Head"):BreakJoints()
  3214. for i, v in pairs(dude:GetChildren()) do
  3215. if v:IsA("Part") or v:IsA("MeshPart") then
  3216. v.Name = "DEMINISHED"
  3217. end
  3218. end
  3219. wait(0.5)
  3220. targetted = nil
  3221. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  3222. coroutine.resume(coroutine.create(function()
  3223. for i, v in pairs(dude:GetChildren()) do
  3224. if v:IsA("Accessory") then
  3225. v:Destroy()
  3226. end
  3227. if v:IsA("Humanoid") then
  3228. v:Destroy()
  3229. end
  3230. if v:IsA("CharacterMesh") then
  3231. v:Destroy()
  3232. end
  3233. if v:IsA("Model") then
  3234. v:Destroy()
  3235. end
  3236. if v:IsA("Part") or v:IsA("MeshPart") then
  3237. for x, o in pairs(v:GetChildren()) do
  3238. if o:IsA("Decal") then
  3239. o:Destroy()
  3240. end
  3241. end
  3242. coroutine.resume(coroutine.create(function()
  3243. v.Material = "Neon"
  3244. v.CanCollide = false
  3245. v.Anchored = false
  3246. local bld = Instance.new("ParticleEmitter",v)
  3247. bld.LightEmission = 0.75
  3248. bld.Texture = "rbxassetid://363275192" ---284205403
  3249. bld.Color = ColorSequence.new(keptcolor.Color)
  3250. bld.Rate = 500
  3251. bld.Lifetime = NumberRange.new(1)
  3252. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3253. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3254. bld.Speed = NumberRange.new(2,5)
  3255. bld.VelocitySpread = 50000
  3256. bld.Rotation = NumberRange.new(-500,500)
  3257. bld.RotSpeed = NumberRange.new(-500,500)
  3258. local sbs = Instance.new("BodyPosition", v)
  3259. sbs.P = 3000
  3260. sbs.D = 1000
  3261. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3262. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3263. v.Color = keptcolor.Color
  3264. coroutine.resume(coroutine.create(function()
  3265. for i = 0, 49 do
  3266. swait(1)
  3267. v:BreakJoints()
  3268. v.Transparency = v.Transparency + 0.02
  3269. end
  3270. v:BreakJoints()
  3271. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3272. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3273. bld.Speed = NumberRange.new(10,25)
  3274. bld.Drag = 5
  3275. bld.Acceleration = vt(0,2,0)
  3276. wait(0.5)
  3277. bld.Enabled = false
  3278. wait(8)
  3279. v:Destroy()
  3280. dude:Destroy()
  3281. end))
  3282. end))
  3283. end
  3284. end
  3285. end))
  3286. end)
  3287. ds()
  3288. end
  3289. end
  3290.  
  3291.  
  3292. function FindNearestHead(Position, Distance, SinglePlayer)
  3293. if SinglePlayer then
  3294. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3295. end
  3296. local List = {}
  3297. for i, v in pairs(workspace:GetChildren()) do
  3298. if v:IsA("Model") then
  3299. if v:findFirstChild("Head") then
  3300. if v ~= Character then
  3301. if (v.Head.Position - Position).magnitude <= Distance then
  3302. table.insert(List, v)
  3303. end
  3304. end
  3305. end
  3306. end
  3307. end
  3308. return List
  3309. end
  3310.  
  3311. function FaceMouse()
  3312. Cam = workspace.CurrentCamera
  3313. return {
  3314. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3315. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3316. }
  3317. end
  3318.  
  3319. function FaceMouse2()
  3320. Cam = workspace.CurrentCamera
  3321. return {
  3322. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3323. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3324. }
  3325. end
  3326.  
  3327. local ModeOfGlitch = 1
  3328. -- Functions are ready.
  3329. local storehumanoidWS = 16
  3330.  
  3331. function CorruptBlink()
  3332. for i = 0, 14 do
  3333. PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0)
  3334. end
  3335. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3336. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3337. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3338. CameraEnshaking(2,10)
  3339. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3340. if v:FindFirstChild('Head') then
  3341. dmg(v)
  3342. end
  3343. end
  3344. for i = 0, 14 do
  3345. PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0)
  3346. end
  3347. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3348. end
  3349. function PureBomb()
  3350. attack = true
  3351. hum.WalkSpeed = 0
  3352. local orb = Instance.new("Part", char)
  3353. orb.Anchored = true
  3354. orb.BrickColor = BrickColor.new("Toothpaste")
  3355. orb.CanCollide = false
  3356. orb.FormFactor = 3
  3357. orb.Name = "Ring"
  3358. orb.Material = "Neon"
  3359. orb.Size = Vector3.new(1, 1, 1)
  3360. orb.Transparency = 0
  3361. orb.TopSurface = 0
  3362. orb.BottomSurface = 0
  3363. local orbm = Instance.new("SpecialMesh", orb)
  3364. orbm.MeshType = "Sphere"
  3365. orbm.Name = "SizeMesh"
  3366. orbm.Scale = vt(0,0,0)
  3367. local scaled = 0.1
  3368. local posid = 0
  3369. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3370. for i = 0, 5, 0.1 do
  3371. swait()
  3372. scaled = scaled - 0.001
  3373. posid = posid - scaled
  3374. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3375. local scaled = 0.1
  3376. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3377. sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Toothpaste"),10)
  3378. PixelBlockNeg(2,1,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Toothpaste"),0)
  3379. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
  3380. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  3381. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3382. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3383. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3384. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  3385. end
  3386. for i = 0, 2, 0.1 do
  3387. swait()
  3388. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3389. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3390. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3391. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  3392. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3393. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3394. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3395. end
  3396. coroutine.resume(coroutine.create(function()
  3397. orb.Anchored = false
  3398. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3399. local a = Instance.new("Part",workspace)
  3400. a.Name = "Direction"
  3401. a.Anchored = true
  3402. a.BrickColor = bc("Bright red")
  3403. a.Material = "Neon"
  3404. a.Transparency = 1
  3405. a.CanCollide = false
  3406. local ray = Ray.new(
  3407. orb.CFrame.p, -- origin
  3408. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3409. )
  3410. local ignore = orb
  3411. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3412. a.BottomSurface = 10
  3413. a.TopSurface = 10
  3414. local distance = (orb.CFrame.p - position).magnitude
  3415. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3416. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3417. orb.CFrame = a.CFrame
  3418. a:Destroy()
  3419. local bv = Instance.new("BodyVelocity")
  3420. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3421. bv.velocity = orb.CFrame.lookVector*125
  3422. bv.Parent = orb
  3423. local hitted = false
  3424. game:GetService("Debris"):AddItem(orb, 15)
  3425. wait()
  3426. local hit =orb.Touched:connect(function(hit)
  3427. if hitted == false then
  3428. hitted = true
  3429. CameraEnshaking(10,2.5)
  3430. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3431. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3432. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3433. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3434. for i = 0, 49 do
  3435. PixelBlock(1,math.random(1,30),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0)
  3436. end
  3437. for i = 0, 9 do
  3438. sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  3439. sphereMK(2,5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  3440. end
  3441. orb.Anchored = true
  3442. orb.Transparency = 1
  3443. wait(8)
  3444. orb:Destroy()
  3445. end
  3446. end)
  3447. end))
  3448. for i = 0, 1, 0.1 do
  3449. swait()
  3450. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3451. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3452. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4)
  3453. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3454. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3455. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3456. end
  3457. hum.WalkSpeed = storehumanoidWS
  3458. attack = false
  3459. end
  3460.  
  3461. function BanishingOrb()
  3462. attack = true
  3463. hum.WalkSpeed = 0
  3464. local radm = math.random(1,3)
  3465. if radm == 1 then
  3466. bosschatfunc("Let it's go..",MAINRUINCOLOR.Color,1)
  3467. elseif radm == 2 then
  3468. bosschatfunc("So this is it..",MAINRUINCOLOR.Color,1)
  3469. elseif radm == 3 then
  3470. bosschatfunc("I have enough thing..",MAINRUINCOLOR.Color,1)
  3471. end
  3472. CFuncs["EchoSound"].Create("rbxassetid://1535994940", char, 5, 1,0,10,0.15,0.5,1)
  3473. CFuncs["EchoSound"].Create("rbxassetid://1535994940", root, 60, 1,0,10,0.15,0.5,1)
  3474. local orb = Instance.new("Part", char)
  3475. orb.Anchored = true
  3476. orb.BrickColor = BrickColor.new("Lime green")
  3477. orb.CanCollide = false
  3478. orb.FormFactor = 3
  3479. orb.Name = "Ring"
  3480. orb.Material = "Neon"
  3481. orb.Size = Vector3.new(1, 1, 1)
  3482. orb.Transparency = 0
  3483. orb.TopSurface = 0
  3484. orb.BottomSurface = 0
  3485. local orbm = Instance.new("SpecialMesh", orb)
  3486. orbm.MeshType = "Sphere"
  3487. orbm.Name = "SizeMesh"
  3488. orbm.Scale = vt(0,0,0)
  3489. local scaled = 0.1
  3490. local posid = 0
  3491. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
  3492. for i = 0, 5, 0.1 do
  3493. swait()
  3494. scaled = scaled - 0.001
  3495. posid = posid - scaled
  3496. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3497. local scaled = 0.1
  3498. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3499. sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Cool yellow"),10)
  3500. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
  3501. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  3502. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3503. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3504. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3505. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  3506. end
  3507. for i = 0, 2, 0.1 do
  3508. swait()
  3509. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3510. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3511. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3512. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  3513. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3514. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3515. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3516. end
  3517. coroutine.resume(coroutine.create(function()
  3518. orb.Anchored = false
  3519. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
  3520. local a = Instance.new("Part",workspace)
  3521. a.Name = "Direction"
  3522. a.Anchored = true
  3523. a.BrickColor = bc("Lime green")
  3524. a.Material = "Neon"
  3525. a.Transparency = 1
  3526. a.CanCollide = false
  3527. local ray = Ray.new(
  3528. orb.CFrame.p, -- origin
  3529. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3530. )
  3531. local ignore = orb
  3532. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3533. a.BottomSurface = 10
  3534. a.TopSurface = 10
  3535. local distance = (orb.CFrame.p - position).magnitude
  3536. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3537. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3538. orb.CFrame = a.CFrame
  3539. a:Destroy()
  3540. local bv = Instance.new("BodyVelocity")
  3541. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3542. bv.velocity = orb.CFrame.lookVector*0
  3543. bv.Parent = orb
  3544. local hitted = false
  3545. local rate = 0
  3546. coroutine.resume(coroutine.create(function()
  3547. for i = 0, 24 do
  3548. wait(0.1)
  3549. rate = rate + 0.25
  3550. bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
  3551. for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
  3552. if v:FindFirstChild('Head') then
  3553. dmg(v)
  3554. end
  3555. end
  3556. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
  3557. sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,bc"Lime green")
  3558. sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  3559. end
  3560. orb.Anchored = true
  3561. orb.Transparency = 1
  3562. for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
  3563. if v:FindFirstChild('Head') then
  3564. dmg(v)
  3565. end
  3566. end
  3567. local eff = Instance.new("ParticleEmitter",orb)
  3568. eff.Texture = "rbxassetid://296874871"
  3569. eff.LightEmission = 0.95
  3570. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3571. eff.Rate = 1000000000
  3572. eff.Lifetime = NumberRange.new(3)
  3573. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,9,0),NumberSequenceKeypoint.new(1,0,0)})
  3574. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3575. eff.Speed = NumberRange.new(30)
  3576. eff.Acceleration = vt(0,-15,0)
  3577. eff.Rotation = NumberRange.new(-500,500)
  3578. eff.VelocitySpread = 100000
  3579. eff.RotSpeed = NumberRange.new(-500,500)
  3580. coroutine.resume(coroutine.create(function()
  3581. wait(0.6)
  3582. eff.Enabled = false
  3583. end))
  3584. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
  3585. CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
  3586. sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,bc"Lime green")
  3587. sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3588. sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
  3589. game:GetService("Debris"):AddItem(orb, 15)
  3590. end))
  3591. end))
  3592. for i = 0, 1, 0.1 do
  3593. swait()
  3594. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3595. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3596. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4)
  3597. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3598. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3599. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3600. end
  3601. hum.WalkSpeed = storehumanoidWS
  3602. attack = false
  3603. end
  3604.  
  3605.  
  3606. function ChaosGroundStrike()
  3607. attack = true
  3608. for i = 0, 2, 0.1 do
  3609. swait()
  3610. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3611. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3612. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3613. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3614. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3615. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3616. end
  3617. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3618. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3619. CameraEnshaking(4,12)
  3620. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3621. if v:FindFirstChild('Head') then
  3622. dmg(v)
  3623. end
  3624. end
  3625. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3626. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3627. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3628. for i = 0, 2, 0.1 do
  3629. swait()
  3630. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3631. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3632. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3633. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3634. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3635. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3636. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3637. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3638. end
  3639. attack = false
  3640. end
  3641.  
  3642.  
  3643.  
  3644. function Starfall()
  3645. attack = true
  3646. hum.WalkSpeed = 0
  3647. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3648. for i = 0, 5, 0.1 do
  3649. swait()
  3650. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3651. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3652. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  3653. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  3654. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3655. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3656. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  3657. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  3658. end
  3659. local Overed = false
  3660. CameraEnshaking(2,20)
  3661. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3662. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3663. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3664. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3665. local orb = Instance.new("Part", char)
  3666. orb.Anchored = true
  3667. orb.BrickColor = BrickColor.new("Toothpaste")
  3668. orb.CanCollide = false
  3669. orb.FormFactor = 3
  3670. orb.Name = "Remenant"
  3671. orb.Material = "Neon"
  3672. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3673. orb.Size = Vector3.new(1, 1, 1)
  3674. orb.Transparency = 1
  3675. orb.TopSurface = 0
  3676. orb.BottomSurface = 0
  3677. hum.WalkSpeed = storehumanoidWS
  3678. coroutine.resume(coroutine.create(function()
  3679. for i = 0, 9 do
  3680. swait(10)
  3681. local lb = Instance.new("Part")
  3682. lb.Color = MAINRUINCOLOR.Color
  3683. lb.CanCollide = false
  3684. lb.Material = "Neon"
  3685. lb.Anchored = true
  3686. lb.TopSurface = 0
  3687. lb.BottomSurface = 0
  3688. lb.Transparency = 0
  3689. lb.Size = vt(1,1,1)
  3690. lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  3691. lb.Anchored = false
  3692. lb.Parent = char
  3693. local thingery = Instance.new("SpecialMesh",lb)
  3694. thingery.MeshType = "Sphere"
  3695. thingery.Scale = vt(20,20,20)
  3696. game:GetService("Debris"):AddItem(lb, 10)
  3697. local bv = Instance.new("BodyVelocity")
  3698. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3699. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3700. bv.Parent = lb
  3701. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3702. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3703. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3704. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3705. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3706. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3707. local hitted = false
  3708. coroutine.resume(coroutine.create(function()
  3709. while true do
  3710. swait(1)
  3711. if lb.Parent ~= nil and hitted == false then
  3712. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
  3713. elseif lb.Parent == nil then
  3714. break
  3715. end
  3716. end
  3717. end))
  3718.  
  3719. game:GetService("Debris"):AddItem(a, 0.1)
  3720.  
  3721. coroutine.resume(coroutine.create(function()
  3722. swait(1)
  3723. lb.Touched:connect(function(hit)
  3724. if hitted == false then
  3725. hitted = true
  3726. lb.Transparency = 1
  3727. lb.Anchored = true
  3728. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3729. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3730. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3731. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3732. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3733. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3734. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3735. CameraEnshaking(1,5)
  3736. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3737. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3738. for i = 0, 9 do
  3739. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  3740. end
  3741. for i = 0, 49 do
  3742. swait()
  3743. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3744. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  3745. end
  3746. end
  3747. end)
  3748. end))
  3749. end
  3750. Overed = true
  3751. orb:Destroy()
  3752. end))
  3753.  
  3754. attack = false
  3755. end
  3756.  
  3757. function StarfallEX()
  3758. attack = true
  3759. hum.WalkSpeed = 0
  3760. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
  3761. for i = 0, 10, 0.1 do
  3762. swait()
  3763. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3764. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3765. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  3766. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  3767. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3768. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3769. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  3770. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  3771. end
  3772. local Overed = false
  3773. CameraEnshaking(2,20)
  3774. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3775. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3776. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  3777. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
  3778. local orb = Instance.new("Part", char)
  3779. orb.Anchored = true
  3780. orb.BrickColor = BrickColor.new("Toothpaste")
  3781. orb.CanCollide = false
  3782. orb.FormFactor = 3
  3783. orb.Name = "Remenant"
  3784. orb.Material = "Neon"
  3785. orb.CFrame = root.CFrame*CFrame.new(0,250,0)
  3786. orb.Size = Vector3.new(1, 1, 1)
  3787. orb.Transparency = 1
  3788. orb.TopSurface = 0
  3789. orb.BottomSurface = 0
  3790. hum.WalkSpeed = storehumanoidWS
  3791. coroutine.resume(coroutine.create(function()
  3792. for i = 0, 4 do
  3793. swait(15)
  3794. local lb = Instance.new("Part")
  3795. lb.Color = MAINRUINCOLOR.Color
  3796. lb.CanCollide = false
  3797. lb.Material = "Neon"
  3798. lb.Anchored = true
  3799. lb.TopSurface = 0
  3800. lb.BottomSurface = 0
  3801. lb.Transparency = 0
  3802. lb.Size = vt(1,1,1)
  3803. lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  3804. lb.Anchored = false
  3805. lb.Parent = char
  3806. local thingery = Instance.new("SpecialMesh",lb)
  3807. thingery.MeshType = "Sphere"
  3808. thingery.Scale = vt(50,50,50)
  3809. game:GetService("Debris"):AddItem(lb, 10)
  3810. local bv = Instance.new("BodyVelocity")
  3811. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3812. bv.velocity = lb.CFrame.lookVector*math.random(50,420)
  3813. bv.Parent = lb
  3814. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  3815. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  3816. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
  3817. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
  3818. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
  3819. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
  3820. local hitted = false
  3821. coroutine.resume(coroutine.create(function()
  3822. while true do
  3823. swait(1)
  3824. if lb.Parent ~= nil and hitted == false then
  3825. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),25,25,25,0.25,MAINRUINCOLOR,-2)
  3826. elseif lb.Parent == nil then
  3827. break
  3828. end
  3829. end
  3830. end))
  3831.  
  3832. game:GetService("Debris"):AddItem(a, 0.1)
  3833.  
  3834. coroutine.resume(coroutine.create(function()
  3835. swait(1)
  3836. lb.Touched:connect(function(hit)
  3837. if hitted == false then
  3838. hitted = true
  3839. lb.Transparency = 1
  3840. lb.Anchored = true
  3841. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
  3842. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
  3843. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
  3844. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
  3845. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
  3846. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
  3847. MagniDamage(lb, 50, 60,99, 0, "Normal")
  3848. CameraEnshaking(1,5)
  3849. sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
  3850. sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
  3851. for i = 0, 9 do
  3852. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,100,-0.1,MAINRUINCOLOR,0)
  3853. end
  3854. for i = 0, 99 do
  3855. swait()
  3856. MagniDamage(lb, 30, 6,18, 0, "Normal")
  3857. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),32,32,32,0.32,MAINRUINCOLOR,0)
  3858. end
  3859. end
  3860. end)
  3861. end))
  3862. end
  3863. Overed = true
  3864. orb:Destroy()
  3865. end))
  3866.  
  3867. attack = false
  3868. end
  3869.  
  3870. function DivineBlast()
  3871. attack = true
  3872. bosschatfunc("Justice Beam!!",MAINRUINCOLOR.Color,0.7)
  3873. hum.WalkSpeed = 0
  3874. local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
  3875. elocacenter.Anchored = true
  3876. elocacenter.CFrame = sorb.CFrame
  3877. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3878. eloca1.Anchored = true
  3879. eloca1.CFrame = elocacenter.CFrame
  3880. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3881. eloca2.Anchored = true
  3882. eloca2.CFrame = elocacenter.CFrame
  3883. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3884. eloca3.Anchored = true
  3885. eloca3.CFrame = elocacenter.CFrame
  3886. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3887. eloca4.Anchored = true
  3888. eloca4.CFrame = elocacenter.CFrame
  3889. local lookavec = 0
  3890. local speeds = 0
  3891. CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
  3892. for i = 0, 3, 0.1 do
  3893. swait()
  3894. ---
  3895. lookavec = lookavec + 0.1
  3896. speeds = speeds + 10
  3897. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3898. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3899. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3900.  
  3901. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3902. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3903.  
  3904. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3905. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3906.  
  3907. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3908. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3909. ---
  3910. root.CFrame = FaceMouse()[1]
  3911. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  3912. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  3913. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3914. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  3915. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  3916. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  3917. end
  3918. for i = 0, 3, 0.1 do
  3919. swait()
  3920. ---
  3921. speeds = speeds + 10
  3922. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3923. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3924. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3925.  
  3926. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3927. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3928.  
  3929. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3930. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3931.  
  3932. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3933. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3934. ---
  3935. root.CFrame = FaceMouse()[1]
  3936. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  3937. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  3938. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3939. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  3940. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  3941. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  3942. end
  3943. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
  3944. CFuncs["Sound"].Create("rbxassetid://1436239652", char, 40,1)
  3945. for i = 0, 3, 0.1 do
  3946. swait()
  3947. ---
  3948. speeds = speeds + 10
  3949. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3950. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3951. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3952.  
  3953. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3954. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3955.  
  3956. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3957. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3958.  
  3959. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3960. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3961. ---
  3962. root.CFrame = FaceMouse()[1]
  3963. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  3964. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  3965. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(40)),.1)
  3966. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(-40)),.1)
  3967. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  3968. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  3969. end
  3970. coroutine.resume(coroutine.create(function()
  3971. local a = Instance.new("Part",Character)
  3972. a.Name = "Direction"
  3973. a.Anchored = true
  3974. a.BrickColor = bc("White")
  3975. a.Material = "Neon"
  3976. a.Transparency = 0
  3977. a.Shape = "Cylinder"
  3978. a.CanCollide = false
  3979. local a2 = Instance.new("Part",Character)
  3980. a2.Name = "Direction"
  3981. a2.Anchored = true
  3982. a2.BrickColor = bc("Bright yellow")
  3983. a2.Material = "Neon"
  3984. a2.Transparency = 0
  3985. a2.Shape = "Cylinder"
  3986. a2.CanCollide = false
  3987. local b = Instance.new("Part",Character)
  3988. b.Name = "HitDirect"
  3989. b.Anchored = true
  3990. b.BrickColor = bc("Cool yellow")
  3991. b.Material = "Neon"
  3992. b.Transparency = 1
  3993. b.CanCollide = false
  3994. local ray = Ray.new(
  3995. elocacenter.CFrame.p, -- origin
  3996. (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
  3997. )
  3998. local ignore = Character
  3999. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4000. a.BottomSurface = 10
  4001. a.TopSurface = 10
  4002. a2.BottomSurface = 10
  4003. a2.TopSurface = 10
  4004. local distance = (elocacenter.CFrame.p - position).magnitude
  4005. a.Size = Vector3.new(distance, 1, 1)
  4006. a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4007. a2.Size = Vector3.new(distance, 1, 1)
  4008. a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4009. b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4010. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4011. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4012. game:GetService("Debris"):AddItem(a, 10)
  4013. game:GetService("Debris"):AddItem(a2, 10)
  4014. game:GetService("Debris"):AddItem(b, 10)
  4015. local eff = Instance.new("ParticleEmitter",b)
  4016. eff.Texture = "rbxassetid://2273224484"
  4017. eff.LightEmission = 1
  4018. eff.Color = ColorSequence.new(Color3.new(1,1,0))
  4019. eff.Rate = 500000
  4020. eff.Lifetime = NumberRange.new(0.5,2)
  4021. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  4022. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4023. eff.Speed = NumberRange.new(20,250)
  4024. eff.Drag = 5
  4025. eff.Rotation = NumberRange.new(-500,500)
  4026. eff.VelocitySpread = 9000
  4027. eff.RotSpeed = NumberRange.new(-50,50)
  4028. coroutine.resume(coroutine.create(function()
  4029. wait(0.25)
  4030. eff.Enabled = false
  4031. end))
  4032. local msh = Instance.new("SpecialMesh",a)
  4033. msh.MeshType = "Cylinder"
  4034. msh.Scale = vt(1,2,2)
  4035. local msh2 = Instance.new("SpecialMesh",a2)
  4036. msh2.MeshType = "Cylinder"
  4037. msh2.Scale = vt(1,2.5,2.5)
  4038. CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
  4039. coroutine.resume(coroutine.create(function()
  4040. for i = 0,10,0.1 do
  4041. swait()
  4042. msh.Scale = msh.Scale + vt(0,0.05,0.05)
  4043. a.Transparency = a.Transparency + 0.025
  4044. msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
  4045. a2.Transparency = a2.Transparency + 0.05
  4046. end
  4047. a:Destroy()
  4048. a2:Destroy()
  4049. end))
  4050. CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
  4051. CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
  4052. CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
  4053. CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
  4054. CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
  4055. CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
  4056. MagniDamage(b, 25, 40,65, 0, "Normal")
  4057. for i = 0, 49 do
  4058. PixelBlock(2,math.random(10,20),"Add",b.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.04,BrickColor.new("Bright yellow"),0)
  4059. PixelBlock(1,math.random(1,10),"Add",b.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Bright yellow"),0)
  4060. end
  4061. sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
  4062. sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
  4063. sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4064. sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4065. sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4066. sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4067. end))
  4068. game:GetService("Debris"):AddItem(elocacenter, 5)
  4069. hum.WalkSpeed = storehumanoidWS
  4070. attack = false
  4071. end
  4072.  
  4073. function StarDivision()
  4074. attack = true
  4075. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4076. for i = 0, 2, 0.1 do
  4077. swait()
  4078. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  4079. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  4080. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4081. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  4082. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  4083. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  4084. end
  4085. local orb = Instance.new("Part", char)
  4086. orb.BrickColor = MAINRUINCOLOR
  4087. orb.CanCollide = false
  4088. orb.FormFactor = 3
  4089. orb.Name = "Ring"
  4090. orb.Material = "Neon"
  4091. orb.Size = Vector3.new(1, 1, 1)
  4092. orb.Transparency = 0
  4093. orb.TopSurface = 0
  4094. orb.BottomSurface = 0
  4095. local orbm = Instance.new("SpecialMesh", orb)
  4096. orbm.MeshType = "Sphere"
  4097. orbm.Name = "SizeMesh"
  4098. orbm.Scale = vt(2,2,2)
  4099. local a = Instance.new("Part",workspace)
  4100. a.Name = "Direction"
  4101. a.Anchored = true
  4102. a.BrickColor = bc("Bright red")
  4103. a.Material = "Neon"
  4104. a.Transparency = 1
  4105. a.CanCollide = false
  4106. local ray = Ray.new(
  4107. sorb.CFrame.p, -- origin
  4108. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  4109. )
  4110. local ignore = sorb
  4111. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4112. a.BottomSurface = 10
  4113. a.TopSurface = 10
  4114. local distance = (sorb.CFrame.p - position).magnitude
  4115. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4116. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4117. orb.CFrame = a.CFrame
  4118. a:Destroy()
  4119. local bv = Instance.new("BodyVelocity")
  4120. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4121. bv.velocity = orb.CFrame.lookVector*100
  4122. bv.Parent = orb
  4123. local hitted = false
  4124. game:GetService("Debris"):AddItem(orb, 10)
  4125. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  4126. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  4127. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  4128. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  4129. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  4130. coroutine.resume(coroutine.create(function()
  4131. while true do
  4132. swait(1)
  4133. if orb.Parent ~= nil and hitted == false then
  4134. PixelBlockNeg(1,math.random(1,2),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,1,0.02,MAINRUINCOLOR,-2)
  4135. elseif orb.Parent == nil then
  4136. break
  4137. end
  4138. end
  4139. end))
  4140. coroutine.resume(coroutine.create(function()
  4141. swait(1)
  4142. orb.Touched:connect(function(hit)
  4143. if hitted == false then
  4144. hitted = true
  4145. game:GetService("Debris"):AddItem(orb, 5)
  4146. orb.Transparency = 1
  4147. orb.Anchored = true
  4148. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4149. elocacenter.Anchored = true
  4150. elocacenter.CFrame = orb.CFrame
  4151. elocacenter.Orientation = vt(0,0,0)
  4152. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4153. eloca1.Anchored = true
  4154. eloca1.CFrame = elocacenter.CFrame
  4155. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4156. eloca2.Anchored = true
  4157. eloca2.CFrame = elocacenter.CFrame
  4158. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4159. eloca3.Anchored = true
  4160. eloca3.CFrame = elocacenter.CFrame
  4161. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4162. eloca4.Anchored = true
  4163. eloca4.CFrame = elocacenter.CFrame
  4164. local lookavec = 0
  4165. local speeds = 0
  4166. CameraEnshaking(1,1)
  4167. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4168. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4169. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4170. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4171. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4172. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4173. for i = 0, 99 do
  4174. swait()
  4175. lookavec = lookavec + 1
  4176. speeds = speeds + 0.1
  4177. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4178. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4179. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4180.  
  4181. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4182. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4183.  
  4184. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4185. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4186.  
  4187. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4188. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4189. end
  4190.  
  4191. for i = 0, 149 do
  4192. swait()
  4193. speeds = speeds + 0.1
  4194. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4195. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4196. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4197.  
  4198. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4199. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4200.  
  4201. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4202. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4203.  
  4204. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4205. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4206. end
  4207. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  4208. if v:FindFirstChild('Head') then
  4209. dmg(v)
  4210. end
  4211. end
  4212. CameraEnshaking(7,30)
  4213. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  4214. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  4215. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  4216. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  4217. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4218. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  4219. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  4220. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4221. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4222. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4223. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4224. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4225. for i = 0, 24 do
  4226. sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0)
  4227. sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  4228. sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  4229. sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  4230. end
  4231. coroutine.resume(coroutine.create(function()
  4232. for i = 0, 499 do
  4233. swait(1)
  4234. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  4235. PixelBlockNeg(2,math.random(1,10),"Add",elocacenter.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-30,30)),math.rad(math.random(-30,30)),math.rad(math.random(-30,30))),15,15,15,0.15,MAINRUINCOLOR,-5)
  4236. end
  4237. elocacenter:Destroy()
  4238. eloca1:Destroy()
  4239. eloca2:Destroy()
  4240. eloca3:Destroy()
  4241. eloca4:Destroy()
  4242. end))
  4243. end
  4244. end)
  4245. end))
  4246. attack = false
  4247. end
  4248.  
  4249.  
  4250. function THE_TRUE_POWER_OF_VIOLENCE()
  4251. attack = true
  4252. hum.WalkSpeed = 0
  4253. bosschatfunc("ALL YOUR DESTINY...",MAINRUINCOLOR.Color,4)
  4254. for i = 0, 10, 0.1 do
  4255. swait()
  4256. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  4257. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1)
  4258. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1)
  4259. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(40)),.4)
  4260. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  4261. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4262. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  4263. end
  4264. local orb = Instance.new("Part", char)
  4265. orb.BrickColor = MAINRUINCOLOR
  4266. orb.CanCollide = false
  4267. orb.FormFactor = 3
  4268. orb.Name = "Ring"
  4269. orb.Material = "Neon"
  4270. orb.Size = Vector3.new(1, 1, 1)
  4271. orb.Transparency = 0
  4272. orb.TopSurface = 0
  4273. orb.BottomSurface = 0
  4274. orb.CFrame = sorb.CFrame
  4275. local orbm = Instance.new("SpecialMesh", orb)
  4276. orbm.MeshType = "Sphere"
  4277. orbm.Name = "SizeMesh"
  4278. orbm.Scale = vt(0,0,0)
  4279. local sbs = Instance.new("BodyPosition", orb)
  4280. sbs.P = 3000
  4281. sbs.D = 1000
  4282. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4283. sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
  4284. CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
  4285. sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4286. sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4287. sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4288. sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4289. sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4290. for i = 0, 10, 0.1 do
  4291. swait()
  4292. PixelBlockNeg(1,0.01,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),6,6,6,0.12,MAINRUINCOLOR,0)
  4293. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1)
  4294. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1)
  4295. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(60)),.6)
  4296. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4297. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4298. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6)
  4299. end
  4300. orb.Anchored = true
  4301. local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4302. elocacenter.Anchored = true
  4303. elocacenter.CFrame = orb.CFrame
  4304. elocacenter.Orientation = vt(0,0,0)
  4305. local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4306. eloca1.Anchored = true
  4307. eloca1.CFrame = elocacenter.CFrame
  4308. local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4309. eloca2.Anchored = true
  4310. eloca2.CFrame = elocacenter.CFrame
  4311. local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4312. eloca3.Anchored = true
  4313. eloca3.CFrame = elocacenter.CFrame
  4314. local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4315. eloca4.Anchored = true
  4316. eloca4.CFrame = elocacenter.CFrame
  4317. local lookavec = 0
  4318. local speeds = 0
  4319. CameraEnshaking(1,1)
  4320. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
  4321. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
  4322. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
  4323. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
  4324. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4325. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4326. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4327. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4328. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4329. for i = 0, 99 do
  4330. swait()
  4331. lookavec = lookavec + 2.5
  4332. speeds = speeds + 0.25
  4333. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4334. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4335. PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4336.  
  4337. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4338. PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4339.  
  4340. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4341. PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4342.  
  4343. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4344. PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4345. end
  4346.  
  4347. for i = 0, 149 do
  4348. swait()
  4349. speeds = speeds + 0.25
  4350. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4351. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4352. PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4353.  
  4354. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4355. PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4356.  
  4357. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4358. PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4359.  
  4360. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4361. PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4362. end
  4363. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
  4364. for i = 0, 99 do
  4365. swait()
  4366. lookavec = lookavec - 2.5
  4367. speeds = speeds + 0.25
  4368. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4369. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4370. PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4371.  
  4372. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4373. PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4374.  
  4375. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4376. PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4377.  
  4378. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4379. PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4380. end
  4381. local scaled = 0.1*75
  4382. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
  4383. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
  4384. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
  4385. CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
  4386. CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
  4387. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  4388. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4389. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4390. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4391. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4392. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4393.  
  4394. for i = 0, 10, 0.1 do
  4395. swait()
  4396. scaled = scaled - 0.001*75
  4397. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4398. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  4399. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1)
  4400. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1)
  4401. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(60)),.6)
  4402. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4403. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4404. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6)
  4405. end
  4406. bosschatfunc("WILL BE MINE!!!!",MAINRUINCOLOR.Color,2)
  4407. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 10, 1,0,10,0.15,0.5,1)
  4408. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 60, 1,0,10,0.15,0.5,1)
  4409. for x = 0, 4 do
  4410. for i = 0, 9 do
  4411. sphereMK(0.5,0,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,100000,0,MAINRUINCOLOR,0)
  4412. end
  4413. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
  4414. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
  4415. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4416. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4417. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4418. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4419. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4420. for i = 0, 5, 0.1 do
  4421. swait()
  4422. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  4423. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  4424. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1)
  4425. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1)
  4426. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4427. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  4428. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
  4429. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
  4430. end
  4431. end
  4432. local speedearn = 0
  4433. CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
  4434. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
  4435. CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
  4436. for i = 0, 30, 0.1 do
  4437. swait()
  4438. scaled = scaled - 0.001*75/10
  4439. speedearn = speedearn + 0.5
  4440. for i = 0, 4 do
  4441. sphereMK(1+speedearn,speedearn,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4442. end
  4443. PixelBlock(1,speedearn,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1*speedearn/10,1*speedearn/10,1*speedearn/10,0.02*speedearn/10,MAINRUINCOLOR,0)
  4444. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4445. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  4446. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  4447. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1)
  4448. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1)
  4449. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  4450. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
  4451. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
  4452. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
  4453. end
  4454. orb.Transparency = 1
  4455. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
  4456. if v:FindFirstChild('Head') then
  4457. dmg(v)
  4458. end
  4459. end
  4460. CameraEnshaking(7,30)
  4461. MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
  4462. CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
  4463. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
  4464. CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
  4465. CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
  4466. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4467. CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
  4468. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4469. CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
  4470. CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
  4471. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
  4472. CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
  4473. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
  4474. CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
  4475. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4476. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4477. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4478. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4479. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4480. for i = 0, 99 do
  4481. PixelBlock(1,math.random(50,1000),"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),20,20,20,0.4,MAINRUINCOLOR,0)
  4482. PixelBlock(2,math.random(250,1000),"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,10,0.2,MAINRUINCOLOR,0)
  4483. end
  4484. for i = 0, 24 do
  4485. sphereMK(0.5,0,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,100000,0,MAINRUINCOLOR,0)
  4486. sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0)
  4487. sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  4488. sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  4489. sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  4490. end
  4491. game:GetService("Debris"):AddItem(orb, 10)
  4492. hum.WalkSpeed = storehumanoidWS
  4493. attack = false
  4494. end
  4495.  
  4496.  
  4497. function ViolentRing()
  4498. attack = true
  4499. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
  4500. bosschatfunc("SHOULD I TAKE THAT EASIER?!",MAINRUINCOLOR.Color,0.7)
  4501. CFuncs["EchoSound"].Create("rbxassetid://1535994137", char, 4, 1,0,10,0.15,0.5,1)
  4502. CFuncs["EchoSound"].Create("rbxassetid://1535994137", root, 7, 1,0,10,0.15,0.5,1)
  4503. for i = 0, 2, 0.1 do
  4504. swait()
  4505. local snap = math.random(1,10)
  4506. if snap == 1 then
  4507. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(-50 + math.random(-10,10))),1)
  4508. end
  4509. PixelBlockX(5,0.5,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0)
  4510. PixelBlockNeg(5,0.5,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0)
  4511. PixelBlockX(5,0.25,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.65,0.65,0.65,0.0065,MAINRUINCOLOR,0)
  4512. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.6)
  4513. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.6)
  4514. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.6)
  4515. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
  4516. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
  4517. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6)
  4518. RootPart.CFrame = FaceMouse()[1]
  4519. end
  4520. local orb = Instance.new("Part", char)
  4521. orb.BrickColor = MAINRUINCOLOR
  4522. orb.CanCollide = false
  4523. orb.FormFactor = 3
  4524. orb.Name = "Ring"
  4525. orb.Material = "Neon"
  4526. orb.Size = Vector3.new(1, 1, 1)
  4527. orb.Transparency = 0
  4528. orb.TopSurface = 0
  4529. orb.BottomSurface = 0
  4530. local orbm = Instance.new("SpecialMesh", orb)
  4531. orbm.MeshType = "Sphere"
  4532. orbm.Name = "SizeMesh"
  4533. orbm.Scale = vt(2,2,2)
  4534. orb.CFrame = mouse.Hit
  4535. local bv = Instance.new("BodyVelocity")
  4536. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4537. bv.velocity = orb.CFrame.lookVector*100
  4538. bv.Parent = orb
  4539. local hitted = false
  4540. coroutine.resume(coroutine.create(function()
  4541. game:GetService("Debris"):AddItem(orb, 5)
  4542. orb.Transparency = 1
  4543. orb.Anchored = true
  4544. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4545. elocacenter.Anchored = true
  4546. elocacenter.CFrame = orb.CFrame
  4547. elocacenter.Orientation = vt(0,0,0)
  4548. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4549. eloca1.Anchored = true
  4550. eloca1.CFrame = elocacenter.CFrame
  4551. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4552. eloca2.Anchored = true
  4553. eloca2.CFrame = elocacenter.CFrame
  4554. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4555. eloca3.Anchored = true
  4556. eloca3.CFrame = elocacenter.CFrame
  4557. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4558. eloca4.Anchored = true
  4559. eloca4.CFrame = elocacenter.CFrame
  4560. local lookavec = 0
  4561. local speeds = 0
  4562. CameraEnshaking(1,1)
  4563. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4564. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4565. sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4566. sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4567. sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4568. sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4569. for i = 0, 24 do
  4570. swait()
  4571. lookavec = lookavec + 3.5
  4572. speeds = speeds + 1
  4573. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4574. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4575. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4576.  
  4577. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4578. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4579.  
  4580. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4581. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4582.  
  4583. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4584. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4585. end
  4586.  
  4587. local risen = 0
  4588. for i = 0, 49 do
  4589. swait()
  4590. risen = risen + 0.05
  4591. speeds = speeds + 0.1
  4592. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4593. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4594. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4595.  
  4596. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4597. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4598.  
  4599. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4600. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4601.  
  4602. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4603. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4604. end
  4605. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
  4606. if v:FindFirstChild('Head') then
  4607. dmg(v)
  4608. end
  4609. end
  4610. CameraEnshaking(4,10)
  4611. MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
  4612. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
  4613. CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
  4614. CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
  4615. CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
  4616. CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
  4617. local eff = Instance.new("ParticleEmitter",elocacenter)
  4618. eff.Texture = "rbxassetid://2273224484"
  4619. eff.LightEmission = 1
  4620. eff.Color = ColorSequence.new(Color3.new(1,1,0))
  4621. eff.Rate = 1000000
  4622. eff.Lifetime = NumberRange.new(0.5,2)
  4623. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  4624. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4625. eff.Speed = NumberRange.new(20,250)
  4626. eff.Drag = 5
  4627. eff.Rotation = NumberRange.new(-500,500)
  4628. eff.VelocitySpread = 5000000
  4629. eff.RotSpeed = NumberRange.new(-50,50)
  4630. coroutine.resume(coroutine.create(function()
  4631. wait(1)
  4632. eff.Enabled = false
  4633. end))
  4634. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
  4635. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
  4636. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4637. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4638. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4639. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4640. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4641. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
  4642. for i = 0, 24 do
  4643. sphereMK(2,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.25,MAINRUINCOLOR,0)
  4644. sphereMK(4,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  4645. sphereMK(6,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  4646. sphereMK(8,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  4647. end
  4648. coroutine.resume(coroutine.create(function()
  4649. wait(10)
  4650. elocacenter:Destroy()
  4651. eloca1:Destroy()
  4652. eloca2:Destroy()
  4653. eloca3:Destroy()
  4654. eloca4:Destroy()
  4655. end))
  4656. end))
  4657. attack = false
  4658. end
  4659.  
  4660. function UniversalCollapse()
  4661. attack = true
  4662. local speedearn = 0
  4663. hum.WalkSpeed = 0
  4664. local sbs = Instance.new("BodyPosition", root)
  4665. sbs.P = 3000
  4666. sbs.D = 1000
  4667. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4668. sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
  4669. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4670. for i = 0, 85, 0.1 do
  4671. swait()
  4672. speedearn = speedearn + 0.1
  4673. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4674. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4675. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4676. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4677. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4678. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4679. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  4680. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  4681. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4682. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4683. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  4684. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  4685. end
  4686. bosschatfunc("Universary..",MAINRUINCOLOR.Color,1)
  4687. CFuncs["EchoSound"].Create("rbxassetid://1448032598", char, 5, 1,0,10,0.15,0.5,1)
  4688. CFuncs["EchoSound"].Create("rbxassetid://1448032598", root, 20, 1,0,10,0.15,0.5,1)
  4689. for i = 0, 25, 0.1 do
  4690. swait()
  4691. speedearn = speedearn + 0.1
  4692. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4693. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4694. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4695. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4696. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4697. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4698. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  4699. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  4700. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4701. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4702. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  4703. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  4704. end
  4705. bosschatfunc("COLLAPSE!!!",MAINRUINCOLOR.Color,1)
  4706. CFuncs["EchoSound"].Create("rbxassetid://1436241883", char, 5, 1,0,10,0.15,0.5,1)
  4707. CFuncs["EchoSound"].Create("rbxassetid://1436241883", root, 20, 1,0,10,0.15,0.5,1)
  4708. CameraEnshaking(5,50)
  4709. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4710. for i = 0, 2 do
  4711. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4712. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4713. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
  4714. CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
  4715. end
  4716. for i = 0, 49 do
  4717. sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0)
  4718. sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0)
  4719. sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0)
  4720. sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0)
  4721. end
  4722. sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4723. sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4724. sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4725. sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4726. sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4727. sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4728. sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4729. sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4730. sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4731. sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4732. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4733. sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4734. for i = 0, 99 do
  4735. PixelBlock(1,math.random(50,1000),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),20,20,20,0.4,MAINRUINCOLOR,0)
  4736. PixelBlock(2,math.random(250,1000),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,10,0.2,MAINRUINCOLOR,0)
  4737. end
  4738. for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
  4739. if v:FindFirstChild('Head') then
  4740. dmg(v)
  4741. end
  4742. end
  4743. MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
  4744. sbs:Destroy()
  4745. hum.WalkSpeed = storehumanoidWS
  4746. attack = false
  4747. end
  4748.  
  4749.  
  4750. function ChaosEND()
  4751. attack = true
  4752. local speedearn = 0
  4753. bosschatfunc("THIS IS..",MAINRUINCOLOR.Color,0.8)
  4754. CFuncs["EchoSound"].Create("rbxassetid://1548599511", char, 4.5, 1,0,10,0.15,0.5,1)
  4755. CFuncs["EchoSound"].Create("rbxassetid://1548599511", root, 30, 1,0,10,0.15,0.5,1)
  4756. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
  4757. for i = 0, 15, 0.1 do
  4758. swait()
  4759. speedearn = speedearn + 0.25
  4760. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  4761. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  4762. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  4763. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  4764. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  4765. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  4766. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  4767. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4768. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4769. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4770. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4771. end
  4772. CFuncs["Sound"].Create("rbxassetid://438666141", char, 3,1)
  4773. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
  4774. bosschatfunc("THE END!!!",MAINRUINCOLOR.Color,2)
  4775. CFuncs["EchoSound"].Create("rbxassetid://1548599962", char, 8, 1,0,10,0.15,0.5,1)
  4776. CFuncs["EchoSound"].Create("rbxassetid://1548599962", root, 40, 1,0,10,0.15,0.5,1)
  4777. CameraEnshaking(5,25)
  4778. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4779. if v:FindFirstChild('Head') then
  4780. dmg(v)
  4781. end
  4782. end
  4783. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  4784. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  4785. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  4786. for i = 0, 3, 0.1 do
  4787. swait()
  4788. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
  4789. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
  4790. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
  4791. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
  4792. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  4793. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  4794. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4795. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4796. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4797. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4798. end
  4799. attack = false
  4800. end
  4801.  
  4802. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4803. local orb = Instance.new("Part", char)
  4804. orb.Anchored = true
  4805. orb.BrickColor = color
  4806. orb.CanCollide = false
  4807. orb.FormFactor = 3
  4808. orb.Name = "Ring"
  4809. orb.Material = "Neon"
  4810. orb.Size = Vector3.new(1, 1, 1)
  4811. orb.Transparency = 0
  4812. orb.TopSurface = 0
  4813. orb.BottomSurface = 0
  4814. local orbm = Instance.new("SpecialMesh", orb)
  4815. orbm.MeshType = "Sphere"
  4816. orb.CFrame = positted
  4817. orbm.Name = "SizeMesh"
  4818. orbm.Scale = vt(1,1,1)
  4819. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  4820. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  4821. --[[for i = 0, 2 do
  4822. sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  4823. end]]--
  4824. coroutine.resume(coroutine.create(function()
  4825. wait(timer)
  4826. CameraEnshaking(3,ShakePower)
  4827. orb.Transparency = 1
  4828. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  4829. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  4830. --[[for i = 0, 4 do
  4831. sphereMK(5,0.15*MagniBoost,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
  4832. end]]--
  4833. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  4834. wait(3)
  4835. orb:Destroy()
  4836. end))
  4837. end
  4838.  
  4839. function orb_spawn(positted,timer)
  4840. local randomcol = math.random(1,2)
  4841. local orb = Instance.new("Part", char)
  4842. orb.Anchored = true
  4843. if randomcol == 1 then
  4844. orb.BrickColor = BrickColor.new("White")
  4845. elseif randomcol == 2 then
  4846. orb.BrickColor = BrickColor.new("Really black")
  4847. end
  4848. orb.CanCollide = false
  4849. orb.FormFactor = 3
  4850. orb.Name = "Ring"
  4851. orb.Material = "Neon"
  4852. orb.Size = Vector3.new(1, 1, 1)
  4853. orb.Transparency = 0
  4854. orb.TopSurface = 0
  4855. orb.BottomSurface = 0
  4856. local orbm = Instance.new("SpecialMesh", orb)
  4857. orbm.MeshType = "Sphere"
  4858. orb.CFrame = positted
  4859. orbm.Name = "SizeMesh"
  4860. orbm.Scale = vt(1,1,1)
  4861. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 0.15, 1)
  4862. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  4863. for i = 0, 2 do
  4864. sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  4865. end
  4866. coroutine.resume(coroutine.create(function()
  4867. wait(timer)
  4868. CameraEnshaking(3,2)
  4869. orb.Transparency = 1
  4870. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  4871. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  4872. for i = 0, 4 do
  4873. sphereMK(5,0.65,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
  4874. end
  4875. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 0.15, 0.7)
  4876. wait(3)
  4877. orb:Destroy()
  4878. end))
  4879. end
  4880.  
  4881. function scattercorrupt()
  4882. attack = true
  4883. hum.WalkSpeed = 0
  4884. for i = 0, 2, 0.1 do
  4885. swait()
  4886. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4887. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4888. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4889. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4890. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.2)
  4891. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.2)
  4892. end
  4893. local rot = 0
  4894. local randomrotations = math.random(1,2)
  4895. local lookv = 2.5
  4896. local power = 7
  4897. local radm = math.random(1,3)
  4898. if radm == 1 then
  4899. bosschatfunc("HOW LONG CAN YOU TAKE THIS?",MAINRUINCOLOR.Color,1)
  4900. elseif radm == 2 then
  4901. bosschatfunc("SWAMP!!",MAINRUINCOLOR.Color,1)
  4902. elseif radm == 3 then
  4903. bosschatfunc("SCATTER!!",MAINRUINCOLOR.Color,1)
  4904. end
  4905. CFuncs["Sound"].Create("rbxassetid://183763506", RightLeg, 2, 1)
  4906. for i = 0, 1, 0.1 do
  4907. swait()
  4908. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(15),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  4909. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(15),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  4910. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(15),math.rad(0),math.rad(0)),.15)
  4911. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.15)
  4912. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(40)),.15)
  4913. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(-40)),.15)
  4914. end
  4915. CFuncs["EchoSound"].Create("rbxassetid://1535994669", char, 5, 1,0,10,0.15,0.5,1)
  4916. CFuncs["EchoSound"].Create("rbxassetid://1535994669", root, 20, 1,0,10,0.15,0.5,1)
  4917. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  4918. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  4919. for i = 0, 9 do
  4920. sphereMK(1,1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,45,-0.1,BrickColor.new("Royal purple"),0)
  4921. end
  4922. local hite = Instance.new("Part", char)
  4923. hite.Anchored = true
  4924. hite.CanCollide = false
  4925. hite.FormFactor = 3
  4926. hite.Name = "Ring"
  4927. hite.Material = "Neon"
  4928. hite.Size = Vector3.new(1, 1, 1)
  4929. hite.Transparency = 1
  4930. hite.TopSurface = 0
  4931. hite.BottomSurface = 0
  4932. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  4933. local rem = Instance.new("Part", char)
  4934. rem.Anchored = true
  4935. rem.CanCollide = false
  4936. rem.FormFactor = 3
  4937. rem.Name = "Ring"
  4938. rem.Material = "Neon"
  4939. rem.Size = Vector3.new(1, 1, 1)
  4940. rem.Transparency = 1
  4941. rem.TopSurface = 0
  4942. rem.BottomSurface = 0
  4943. rem.CFrame = hite.CFrame
  4944. local rem2 = rem:Clone()
  4945. rem2.Parent = char
  4946. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4947. local rem3 = rem:Clone()
  4948. rem3.Parent = char
  4949. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4950. local rem4 = rem:Clone()
  4951. rem4.Parent = char
  4952. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4953. hite:Destroy()
  4954. coroutine.resume(coroutine.create(function()
  4955. for i = 0, 24 do
  4956. swait(1)
  4957. if randomrotations == 1 then
  4958. rot = rot + 1
  4959. elseif randomrotations == 2 then
  4960. rot = rot - 1
  4961. end
  4962. power = power + 0.5
  4963. lookv = lookv + 7.5
  4964. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4965. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4966. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4967. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4968. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  4969. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  4970. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  4971. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  4972. end
  4973. end))
  4974. wait(2)
  4975. hum.WalkSpeed = storehumanoidWS
  4976. attack = false
  4977. end
  4978. function yinyangi()
  4979. attack = true
  4980. for i = 0, 2, 0.1 do
  4981. swait()
  4982. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2)
  4983. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.2)
  4984. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2)
  4985. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4986. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  4987. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  4988. end
  4989. local bv = Instance.new("BodyVelocity")
  4990. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4991. bv.velocity = root.CFrame.lookVector*175
  4992. bv.Parent = root
  4993. for Rotations = 0, 9 do
  4994. for i = 0, 1, 0.5 do
  4995. swait()
  4996. bv.velocity = root.CFrame.lookVector*175
  4997. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4998. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  4999. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(90)),.5)
  5000. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5001. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5002. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5003. end
  5004. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5005. for i = 0, 1, 0.5 do
  5006. swait()
  5007. bv.velocity = root.CFrame.lookVector*175
  5008. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  5009. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  5010. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(180)),.5)
  5011. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5012. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5013. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5014. end
  5015. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5016. for i = 0, 1, 0.5 do
  5017. swait()
  5018. bv.velocity = root.CFrame.lookVector*175
  5019. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  5020. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  5021. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(270)),.5)
  5022. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5023. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5024. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5025. end
  5026. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5027. for i = 0, 1, 0.5 do
  5028. swait()
  5029. bv.velocity = root.CFrame.lookVector*175
  5030. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  5031. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  5032. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(360)),.5)
  5033. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5034. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5035. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5036. end
  5037. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5038. end
  5039. bv:Destroy()
  5040. attack = false
  5041. end
  5042.  
  5043. function createBGCircle(size,parent,color)
  5044. local bgui = Instance.new("BillboardGui",parent)
  5045. bgui.Size = UDim2.new(size, 0, size, 0)
  5046. local imgc = Instance.new("ImageLabel",bgui)
  5047. imgc.BackgroundTransparency = 1
  5048. imgc.ImageTransparency = 0
  5049. imgc.Size = UDim2.new(1,0,1,0)
  5050. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  5051. imgc.ImageColor3 = color
  5052. return bgui,imgc
  5053. end
  5054.  
  5055. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  5056. local bgui,imgc = createBGCircle(size,guipar,color)
  5057. bgui.AlwaysOnTop = true
  5058. imgc.Image = "rbxassetid://" ..img
  5059. local rrot = math.random(1,2)
  5060. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  5061. coroutine.resume(coroutine.create(function()
  5062. for i = 0, 24*delay do
  5063. swait()
  5064. if rotationenabled == true then
  5065. if rrot == 1 then
  5066. imgc.Rotation = imgc.Rotation + rotsp
  5067. elseif rrot == 2 then
  5068. imgc.Rotation = imgc.Rotation - rotsp
  5069. end
  5070. end
  5071. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  5072. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  5073. end
  5074. bgui:Destroy()
  5075. end))
  5076. end
  5077. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled)
  5078. for i, v in pairs(mw2:GetChildren()) do
  5079. if v:IsA("Part") then
  5080. v.BrickColor = one
  5081. v.Material = "Neon"
  5082. end
  5083. end
  5084. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  5085. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  5086. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  5087. tr1.Color = ColorSequence.new(one.Color)
  5088. tr2.Color = ColorSequence.new(one.Color)
  5089. tr3.Color = ColorSequence.new(one.Color)
  5090. for i, v in pairs(mw1:GetChildren()) do
  5091. if v:IsA("Part") then
  5092. if secondaryenabled == false then
  5093. v.Transparency = 1
  5094. elseif secondaryenabled == true then
  5095. v.Transparency = 0
  5096. end
  5097. v.BrickColor = two
  5098. v.Material = "Neon"
  5099. end
  5100. end
  5101. if secondaryenabled == false then
  5102. tl1.Enabled = false
  5103. tl2.Enabled = false
  5104. tl3.Enabled = false
  5105. elseif secondaryenabled == true then
  5106. tl1.Enabled = true
  5107. tl2.Enabled = true
  5108. tl3.Enabled = true
  5109. end
  5110. tl1.Color = ColorSequence.new(two.Color)
  5111. tl2.Color = ColorSequence.new(two.Color)
  5112. tl3.Color = ColorSequence.new(two.Color)
  5113. for i, v in pairs(m:GetChildren()) do
  5114. if v:IsA("Part") then
  5115. v.BrickColor = three
  5116. v.Material = "Ice"
  5117. end
  5118. end
  5119. for i, v in pairs(m2:GetChildren()) do
  5120. if v:IsA("Part") then
  5121. v.BrickColor = four
  5122. v.Material = "Ice"
  5123. end
  5124. end
  5125. for i, v in pairs(m3:GetChildren()) do
  5126. if v:IsA("Part") then
  5127. v.BrickColor = five
  5128. v.Material = "Neon"
  5129. end
  5130. end
  5131. for i, v in pairs(extrawingmod1:GetChildren()) do
  5132. if v:IsA("Part") then
  5133. v.Transparency = exonetran
  5134. v.BrickColor = exone
  5135. v.Material = "Neon"
  5136. end
  5137. end
  5138. for i, v in pairs(extrawingmod2:GetChildren()) do
  5139. if v:IsA("Part") then
  5140. v.Transparency = extwotran
  5141. v.BrickColor = extwo
  5142. v.Material = "Neon"
  5143. end
  5144. end
  5145. end
  5146.  
  5147.  
  5148. function normalmog()
  5149. attack = true
  5150. hum.WalkSpeed = 0
  5151. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
  5152. for i = 0,6,0.1 do
  5153. swait()
  5154. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5155. slash(math.random(30,60)/10,5,true,"Round","Add","In",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.01,0.5),-0.5,MAINRUINCOLOR)
  5156. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  5157. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  5158. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5159. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5160. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5161. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5162. end
  5163. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  5164. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  5165. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  5166. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  5167. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  5168. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  5169. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  5170. rainbowmode = false
  5171. chaosmode = false
  5172. ModeOfGlitch = 1
  5173. storehumanoidWS = 16
  5174. newTheme("rbxassetid://1277496561",48.6,1,30)
  5175. RecolorTextAndRename("HEARTLESS",Color3.new(0,0.0,0),Color3.new(0,0,0),"Antique")
  5176. CameraEnshaking(5,2.5)
  5177. MAINRUINCOLOR = BrickColor.new("Really black")
  5178. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5179. for i = 0, 49 do
  5180. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  5181. end
  5182. for i = 0, 24 do
  5183. sphere2(2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,7,-0.01,MAINRUINCOLOR)
  5184. slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,350)/250,BrickColor.new("White"))
  5185. end
  5186. for i = 0,3,0.1 do
  5187. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  5188. end
  5189. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  5190. for i = 0,2,0.1 do
  5191. swait()
  5192. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5)
  5193. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5)
  5194. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  5195. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.5)
  5196. RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.5)
  5197. LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.5)
  5198. end
  5199. hum.WalkSpeed = storehumanoidWS
  5200. attack = false
  5201. end
  5202.  
  5203. function attackone()
  5204. attack = true
  5205. local keptcolor = MAINRUINCOLOR
  5206. for i = 0,1,0.1 do
  5207. swait()
  5208. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  5209. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  5210. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  5211. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5212. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
  5213. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0)),.3)
  5214. end
  5215. local distlook = 5
  5216. coroutine.resume(coroutine.create(function()
  5217. for i = 0, 4 do
  5218. swait(2)
  5219. CameraEnshaking(2,3)
  5220. local hite = Instance.new("Part", char)
  5221. hite.Anchored = true
  5222. hite.CanCollide = false
  5223. hite.FormFactor = 3
  5224. hite.Name = "Ring"
  5225. hite.Material = "Neon"
  5226. hite.Size = Vector3.new(1, 1, 1)
  5227. hite.Transparency = 1
  5228. hite.TopSurface = 0
  5229. hite.BottomSurface = 0
  5230. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  5231. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0,1,0),0.2,0.001,0.2,keptcolor)
  5232. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(8,1,8),-0.045,0.15,-0.045,keptcolor)
  5233. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(4,1,4),-0.025,0.25,-0.025,keptcolor)
  5234. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(2,1,2),-0.015,0.35,-0.015,keptcolor)
  5235. MagniDamage(hite, 9, 10,25, 0, "Normal")
  5236. for i = 0, 14 do
  5237. local rsiz = math.random(5,20)
  5238. sphereMK(math.random(1,3),0.25,"Add",hite.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  5239. end
  5240. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  5241. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  5242. game:GetService("Debris"):AddItem(hite, 5)
  5243. distlook = distlook + 10
  5244. end
  5245. end))
  5246. for i = 0,1,0.1 do
  5247. swait()
  5248. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  5249. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  5250. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  5251. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  5252. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-10)),.5)
  5253. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.5)
  5254. end
  5255. attack = false
  5256. end
  5257.  
  5258. function attacktwo()
  5259. attack = true
  5260. hum.WalkSpeed = 2
  5261. local keptcolor = MAINRUINCOLOR
  5262. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5263. sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  5264. sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.2,0.2,0.2,keptcolor,keptcolor.Color)
  5265. for i = 0, 14 do
  5266. PixelBlock(1,math.random(1,3),"Add",rarm.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,keptcolor,0)
  5267. end
  5268. for i = 0,1,0.1 do
  5269. swait()
  5270. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  5271. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.3)
  5272. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.3)
  5273. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  5274. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  5275. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  5276. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5277. end
  5278. for i = 0, 1 do
  5279. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  5280. for i = 0,1,0.6 do
  5281. swait()
  5282. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  5283. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  5284. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  5285. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  5286. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5287. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5288. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5289. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5290. end
  5291. for i = 0,1,0.6 do
  5292. swait()
  5293. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  5294. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  5295. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  5296. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  5297. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  5298. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5299. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5300. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5301. end
  5302. for i = 0,1,0.6 do
  5303. swait()
  5304. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  5305. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  5306. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  5307. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  5308. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  5309. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5310. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5311. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5312. end
  5313. for i = 0,1,0.6 do
  5314. swait()
  5315. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  5316. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  5317. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  5318. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  5319. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  5320. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5321. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5322. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5323. end
  5324. local rot = 0
  5325. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  5326. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  5327. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  5328. CreateMesh(dis,"Sphere",10,1,10)
  5329. local at1 = Instance.new("Attachment",dis)
  5330. at1.Position = vt(-5,0,0)
  5331. local at2 = Instance.new("Attachment",dis)
  5332. at2.Position = vt(5,0,0)
  5333. local trl = Instance.new('Trail',wed)
  5334. trl.Attachment0 = at1
  5335. trl.Attachment1 = at2
  5336. trl.Texture = "rbxassetid://1049219073"
  5337. trl.LightEmission = 1
  5338. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5339. trl.Color = ColorSequence.new(dis.Color)
  5340. trl.Lifetime = 0.6
  5341. local a = Instance.new("Part",workspace)
  5342. a.Name = "Direction"
  5343. a.Anchored = true
  5344. a.BrickColor = bc("Bright red")
  5345. a.Material = "Neon"
  5346. a.Transparency = 1
  5347. a.CanCollide = false
  5348. local ray = Ray.new(
  5349. dis.CFrame.p, -- origin
  5350. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5351. )
  5352. local ignore = dis
  5353. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5354. a.BottomSurface = 10
  5355. a.TopSurface = 10
  5356. local distance = (dis.CFrame.p - position).magnitude
  5357. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5358. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5359. dis.CFrame = a.CFrame
  5360. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5361. a:Destroy()
  5362. local bv = Instance.new("BodyVelocity")
  5363. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5364. bv.velocity = dis.CFrame.lookVector*250
  5365. bv.Parent = dis
  5366. game:GetService("Debris"):AddItem(dis, 5)
  5367. local hitted = false
  5368. coroutine.resume(coroutine.create(function()
  5369. dis.Touched:connect(function(hit)
  5370. if hitted == false and hit.Parent ~= char then
  5371. hitted = true
  5372. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  5373. MagniDamage(dis, 30, 33,56, 0, "Normal")
  5374. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  5375. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5376. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5377. coroutine.resume(coroutine.create(function()
  5378. for i = 0, 9 do
  5379. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  5380. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5381. local at1 = Instance.new("Attachment",disr)
  5382. at1.Position = vt(-5,0,0)
  5383. local at2 = Instance.new("Attachment",disr)
  5384. at2.Position = vt(5,0,0)
  5385. local trl = Instance.new('Trail',disr)
  5386. trl.Attachment0 = at1
  5387. trl.FaceCamera = true
  5388. trl.Attachment1 = at2
  5389. trl.Texture = "rbxassetid://2342682798"
  5390. trl.LightEmission = 1
  5391. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5392. trl.Color = ColorSequence.new(keptcolor.Color)
  5393. trl.Lifetime = 0.5
  5394. local bv = Instance.new("BodyVelocity")
  5395. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5396. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  5397. bv.Parent = disr
  5398. local val = 0
  5399. coroutine.resume(coroutine.create(function()
  5400. swait(30)
  5401. for i = 0, 9 do
  5402. swait()
  5403. val = val + 0.1
  5404. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5405. end
  5406. game:GetService("Debris"):AddItem(disr, 3)
  5407. end))
  5408. end
  5409. local eff = Instance.new("ParticleEmitter",dis)
  5410. eff.Texture = "rbxassetid://2273224484"
  5411. eff.LightEmission = 1
  5412. eff.Color = ColorSequence.new(keptcolor.Color)
  5413. eff.Rate = 500000
  5414. eff.Lifetime = NumberRange.new(0.5,2)
  5415. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5416. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5417. eff.Speed = NumberRange.new(20,250)
  5418. eff.Drag = 5
  5419. eff.Rotation = NumberRange.new(-500,500)
  5420. eff.VelocitySpread = 9000
  5421. eff.RotSpeed = NumberRange.new(-50,50)
  5422. wait(0.25)
  5423. eff.Enabled = false
  5424. end))
  5425. for i = 0, 9 do
  5426. slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White"))
  5427. end
  5428. for i = 0, 19 do
  5429. PixelBlock(1,math.random(5,20),"Add",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,keptcolor,0)
  5430. end
  5431. coroutine.resume(coroutine.create(function()
  5432. for i = 0, 19 do
  5433. swait()
  5434. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  5435. end
  5436. hum.CameraOffset = vt(0,0,0)
  5437. end))
  5438. dis.Anchored = true
  5439. dis.Transparency = 1
  5440. wait(8)
  5441. dis:Destroy()
  5442. end
  5443. end)
  5444. end))
  5445. rot = rot - 15
  5446. end
  5447. for i = 0,2,0.1 do
  5448. swait()
  5449. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-30),math.rad(0)),.3)
  5450. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.3)
  5451. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5452. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  5453. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5454. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5455. end
  5456. attack = false
  5457. hum.WalkSpeed = storehumanoidWS
  5458. end
  5459.  
  5460. function attackthree()
  5461. attack = true
  5462. local keptcolor = MAINRUINCOLOR
  5463. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  5464. for i = 0,2,0.1 do
  5465. swait()
  5466. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5467. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3)
  5468. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  5469. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3)
  5470. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3)
  5471. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-50),math.rad(-10)),.3)
  5472. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(40)),.3)
  5473. end
  5474. CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
  5475. CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
  5476. CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
  5477. CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
  5478. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  5479. sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR)
  5480. for i = 0, 24 do
  5481. slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),math.rad(0)),vt(0.01,0.01,0.01),math.random(50,200)/250,BrickColor.new("White"))
  5482. end
  5483. for i = 0,4,0.1 do
  5484. swait()
  5485. root.CFrame = root.CFrame + root.CFrame.lookVector*5
  5486. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  5487. CreateMesh(dis,"Sphere",1,1,1)
  5488. dis.Anchored = true
  5489. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  5490. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  5491. coroutine.resume(coroutine.create(function()
  5492. swait(30)
  5493. dis.Transparency = 1
  5494. coroutine.resume(coroutine.create(function()
  5495. for i = 0, 19 do
  5496. swait()
  5497. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  5498. end
  5499. hum.CameraOffset = vt(0,0,0)
  5500. end))
  5501. coroutine.resume(coroutine.create(function()
  5502. local eff = Instance.new("ParticleEmitter",dis)
  5503. eff.Texture = "rbxassetid://2273224484"
  5504. eff.LightEmission = 1
  5505. eff.Color = ColorSequence.new(dis.Color)
  5506. eff.Rate = 500000
  5507. eff.Lifetime = NumberRange.new(0.5,2)
  5508. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5509. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5510. eff.Speed = NumberRange.new(50,450)
  5511. eff.Drag = 5
  5512. eff.Rotation = NumberRange.new(-500,500)
  5513. eff.VelocitySpread = 9000
  5514. eff.RotSpeed = NumberRange.new(-50,50)
  5515. wait(0.125)
  5516. eff.Enabled = false
  5517. end))
  5518. MagniDamage(dis, 30, 45,50, 0, "Normal")
  5519. for i = 0, 2 do
  5520. slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,150)/250,dis.BrickColor)
  5521. end
  5522. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
  5523. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
  5524. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
  5525. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color)
  5526. end))
  5527. game:GetService("Debris"):AddItem(dis, 5)
  5528. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5)
  5529. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5)
  5530. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5)
  5531. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5)
  5532. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-8),math.rad(0),math.rad(-20)),.5)
  5533. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(9),math.rad(0),math.rad(20)),.5)
  5534. end
  5535. attack = false
  5536. end
  5537. ----------------------------------- Abilities
  5538.  
  5539. function ExtinctiveHeartbreak()
  5540. local targetted = nil
  5541. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5542. targetted = mouse.Target.Parent
  5543. end
  5544. if targetted ~= nil then
  5545. attack = true
  5546. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5547. for i = 0, 9 do
  5548. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  5549. end
  5550. for i = 0, 24 do
  5551. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  5552. end
  5553. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5554. local originalpos = root.CFrame
  5555. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  5556. for i = 0, 9 do
  5557. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  5558. end
  5559. for i = 0, 24 do
  5560. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  5561. end
  5562. hum.WalkSpeed = 0
  5563. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5564. local radm = math.random(1,3)
  5565. if radm == 1 then
  5566. bosschatfunc("YOU WONT BE NECCESSARY.",MAINRUINCOLOR.Color,2)
  5567. elseif radm == 2 then
  5568. bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
  5569. elseif radm == 3 then
  5570. bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  5571. end
  5572. for i = 0,2,0.1 do
  5573. swait()
  5574. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-10),math.rad(0)),.4)
  5575. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
  5576. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(80)),.4)
  5577. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5578. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.4)
  5579. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(60)),.4)
  5580. end
  5581. CFuncs["Sound"].Create("rbxassetid://153092227", root, 0.5,1)
  5582. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 2, 1,0,10,0.25,0.5,1)
  5583. for i = 0,2,0.1 do
  5584. swait()
  5585. coroutine.resume(coroutine.create(function()
  5586. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5587. for i,v in pairs(targetted:GetChildren()) do
  5588. if v:IsA("Part") or v:IsA("MeshPart") then
  5589. v.Velocity = vt(0,0,0)
  5590. end
  5591. end
  5592. end))
  5593. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
  5594. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.8)
  5595. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  5596. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  5597. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5598. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(-80)),.8)
  5599. end
  5600. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 0.5, 1,0,10,0.25,0.5,1)
  5601. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 0.5, 0.9,0,10,0.25,0.5,1)
  5602. for i = 0, 1 do
  5603. CFuncs["EchoSound"].Create("rbxassetid://159882598", char, 2, 1,0.1,10,0.15,0.5,1)
  5604. end
  5605. CFuncs["EchoSound"].Create("rbxassetid://159882598", root, 15, 1,0.1,10,0.15,0.5,1)
  5606. --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  5607. for i = 0,4,0.1 do
  5608. swait()
  5609. coroutine.resume(coroutine.create(function()
  5610. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5611. dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5612. local at1 = Instance.new("Attachment",dis)
  5613. at1.Position = vt(-25000,0,0)
  5614. local at2 = Instance.new("Attachment",dis)
  5615. at2.Position = vt(25000,0,0)
  5616. local trl = Instance.new('Trail',dis)
  5617. trl.Attachment0 = at1
  5618. trl.FaceCamera = true
  5619. trl.Attachment1 = at2
  5620. trl.Texture = "rbxassetid://1049219073"
  5621. trl.LightEmission = 1
  5622. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5623. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  5624. trl.Lifetime = 5
  5625. local bv = Instance.new("BodyVelocity")
  5626. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5627. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5628. bv.Parent = dis
  5629. game:GetService("Debris"):AddItem(dis, 5)
  5630. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5631. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  5632. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  5633. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  5634. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  5635. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  5636. sphere2(5,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(3,3,3),-0.03,15,-0.03,MAINRUINCOLOR)
  5637. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  5638. for i = 0, 2 do
  5639. slash(5,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,350)/250,BrickColor.new("Crimson"))
  5640. end
  5641. symbolizeBlink(targetted.Head,0,2092248396,Color3.new(1,0,0),math.random(3,35),0,0,0,targetted.Head,true,math.random(3,9),0.25)
  5642. for i,v in pairs(targetted:GetChildren()) do
  5643. if v:IsA("Part") or v:IsA("MeshPart") then
  5644. v.Velocity = vt(0,0,0)
  5645. end
  5646. end
  5647. end))
  5648. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  5649. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
  5650. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.8)
  5651. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  5652. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  5653. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(40)),.8)
  5654. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(170),math.rad(0),math.rad(-30)),.8)
  5655. end
  5656. hum.CameraOffset = vt(0,0,0)
  5657. for i = 0, 49 do
  5658. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5659. dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5660. local at1 = Instance.new("Attachment",dis)
  5661. at1.Position = vt(-50000,0,0)
  5662. local at2 = Instance.new("Attachment",dis)
  5663. at2.Position = vt(50000,0,0)
  5664. local trl = Instance.new('Trail',dis)
  5665. trl.Attachment0 = at1
  5666. trl.FaceCamera = true
  5667. trl.Attachment1 = at2
  5668. trl.Texture = "rbxassetid://1049219073"
  5669. trl.LightEmission = 1
  5670. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5671. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  5672. trl.Lifetime = 5
  5673. local bv = Instance.new("BodyVelocity")
  5674. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5675. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5676. bv.Parent = dis
  5677. game:GetService("Debris"):AddItem(dis, 5)
  5678. end
  5679. for i = 0, 49 do
  5680. sphere2(math.random(10,75)/10,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,5,5),-0.05,50,-0.05,MAINRUINCOLOR)
  5681. slash(math.random(10,30)/15,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(40,500)/250,BrickColor.new("Really red"))
  5682. end
  5683. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  5684. for i = 0, 1 do
  5685. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  5686. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  5687. end
  5688. for i = 0, 4 do
  5689. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  5690. end
  5691. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  5692. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  5693. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  5694. dmg(targetted)
  5695. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5696. for i = 0, 9 do
  5697. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  5698. end
  5699. for i = 0, 24 do
  5700. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  5701. end
  5702. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5703. root.CFrame = originalpos
  5704. for i = 0, 9 do
  5705. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  5706. end
  5707. for i = 0, 24 do
  5708. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  5709. end
  5710. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5711. attack = false
  5712. hum.WalkSpeed = storehumanoidWS
  5713. end
  5714. end
  5715.  
  5716. function CorruptionEvent()
  5717. attack = true
  5718. hum.WalkSpeed = 0
  5719. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5720. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5721. local keptcolor = MAINRUINCOLOR
  5722. for i = 0,4,0.1 do
  5723. swait()
  5724. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5725. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5726. RH.C0=clerp(RH.C0,cf(1,-0.15,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5),math.rad(-20)),.1)
  5727. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.1)
  5728. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  5729. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  5730. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  5731. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5732. end
  5733. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5734. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  5735. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  5736. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5737. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5738. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5739. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  5740. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  5741. hum.CameraOffset = vt(0,0,0)
  5742. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5743. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5744. for i = 0, 24 do
  5745. slash(math.random(15,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.new("Really black"))
  5746. end
  5747. local rrot = 0
  5748. coroutine.resume(coroutine.create(function()
  5749. for i = 0, 4 do
  5750. rrot = rrot + 45
  5751. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5752. xa.Anchored = true
  5753. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5754. xb.Anchored = true
  5755. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5756. xc.Anchored = true
  5757. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5758. xd.Anchored = true
  5759. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  5760. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  5761. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  5762. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  5763. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  5764. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  5765. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  5766. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  5767. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  5768. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  5769. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  5770. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  5771. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  5772. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  5773. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  5774. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  5775. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5776. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5777. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5778. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5779. for i = 0, 9 do
  5780. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  5781. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xb.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  5782. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xc.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  5783. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xd.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  5784. end
  5785. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5786. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5787. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5788. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5789. sphere2(2,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
  5790. sphere2(2,"Add",xb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
  5791. sphere2(2,"Add",xc.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
  5792. sphere2(2,"Add",xd.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
  5793. sphere2(4,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
  5794. sphere2(4,"Add",xb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
  5795. sphere2(4,"Add",xc.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
  5796. sphere2(4,"Add",xd.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
  5797. game:GetService("Debris"):AddItem(xa, 5)
  5798. game:GetService("Debris"):AddItem(xb, 5)
  5799. game:GetService("Debris"):AddItem(xc, 5)
  5800. game:GetService("Debris"):AddItem(xd, 5)
  5801. coroutine.resume(coroutine.create(function()
  5802. for i = 0, 19 do
  5803. swait()
  5804. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5805. end
  5806. hum.CameraOffset = vt(0,0,0)
  5807. end))
  5808. swait(9)
  5809. end
  5810. end))
  5811. for i = 0,2,0.1 do
  5812. swait()
  5813. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(10)),.8)
  5814. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(10)),.8)
  5815. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  5816. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  5817. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  5818. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5819. end
  5820. attack = false
  5821. hum.WalkSpeed = storehumanoidWS
  5822. end
  5823.  
  5824. function EndGROUND()
  5825. attack = true
  5826. hum.WalkSpeed = 0
  5827. bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
  5828. --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5829. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5830. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  5831. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  5832. local keptcolor = MAINRUINCOLOR
  5833. for i = 0,4,0.1 do
  5834. swait()
  5835. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5836. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5837. slash(math.random(25,50)/10,5,true,"Round","Add","Out",rarm.CFrame*CFrame.new(0,-6,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.01,0.1),-0.1,BrickColor.new("Really black"))
  5838. RH.C0=clerp(RH.C0,cf(1,-0.15,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-15),math.rad(-20)),.1)
  5839. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.1)
  5840. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  5841. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  5842. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  5843. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5844. end
  5845. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5846. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5847. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5848. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5849. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  5850. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  5851. coroutine.resume(coroutine.create(function()
  5852. local shval = 10
  5853. for i = 0, 99 do
  5854. swait()
  5855. shval = shval - 0.1
  5856. hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  5857. end
  5858. hum.CameraOffset = vt(0,0,0)
  5859. end))
  5860. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5861. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5862. for i = 0, 24 do
  5863. slash(math.random(15,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.new("Really black"))
  5864. end
  5865. local rrot = 0
  5866. local xam = 1
  5867. coroutine.resume(coroutine.create(function()
  5868. for i = 0, 14 do
  5869. --swait()
  5870. rrot = rrot + 40*xam
  5871. xam = xam + 0.25
  5872. local bonus = xam
  5873. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  5874. xa.Anchored = true
  5875. xa.Color = Color3.new(0,0,0)
  5876. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  5877. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  5878. local xc = 0
  5879. coroutine.resume(coroutine.create(function()
  5880. for i = 0, 99 do
  5881. swait()
  5882. xc = xc + 0.01
  5883. xa.Color = Color3.new(xc,0,0)
  5884. end
  5885. xa.Transparency = 1
  5886. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  5887. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  5888. for i = 0, 9 do
  5889. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01*bonus,0.01,0.01*bonus),math.random(50,125)/250*bonus,BrickColor.new("Really black"))
  5890. end
  5891. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30*bonus,30*bonus,30*bonus),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5892. sphere2(2,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25*bonus,1,25*bonus),0.05*bonus,1.5*bonus,0.05*bonus,keptcolor,keptcolor.Color)
  5893. sphere2(4,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30*bonus,1,30*bonus),0.05*bonus,1.5*bonus,0.05*bonus,BrickColor.new("Really black"),Color3.new(0,0,0))
  5894. game:GetService("Debris"):AddItem(xa, 5)
  5895. coroutine.resume(coroutine.create(function()
  5896. for i = 0, 19 do
  5897. swait()
  5898. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5899. end
  5900. hum.CameraOffset = vt(0,0,0)
  5901. end))
  5902. end))
  5903. end
  5904. end))
  5905. for i = 0,2,0.1 do
  5906. swait()
  5907. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-25),math.rad(30)),.8)
  5908. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.8)
  5909. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  5910. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  5911. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  5912. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5913. end
  5914. attack = false
  5915. hum.WalkSpeed = storehumanoidWS
  5916. end
  5917.  
  5918. function HeavenlyDisk()
  5919. attack = true
  5920. hum.WalkSpeed = 2
  5921. local keptcolor = MAINRUINCOLOR
  5922. local radm = math.random(1,3)
  5923. if radm == 1 then
  5924. bosschatfunc("Dont make this too easy for you.",MAINRUINCOLOR.Color,1)
  5925. elseif radm == 2 then
  5926. bosschatfunc("Heavenly Disks!",MAINRUINCOLOR.Color,1)
  5927. elseif radm == 3 then
  5928. bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
  5929. end
  5930. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5931. CFuncs["EchoSound"].Create("rbxassetid://1625448638", char, 4, 1,0,10,0.15,0.5,1)
  5932. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  5933. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.2,0.2,0.2,keptcolor,keptcolor.Color)
  5934. for i = 0, 14 do
  5935. PixelBlock(1,math.random(1,3),"Add",larm.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,BrickColor.new("Toothpaste"),0)
  5936. end
  5937. for i = 0,2,0.1 do
  5938. swait()
  5939. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  5940. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.3)
  5941. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.3)
  5942. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5943. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  5944. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  5945. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5946. end
  5947. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  5948. for i = 0,1,0.6 do
  5949. swait()
  5950. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  5951. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  5952. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  5953. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  5954. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5955. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5956. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5957. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5958. end
  5959. for i = 0,1,0.6 do
  5960. swait()
  5961. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  5962. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  5963. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  5964. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  5965. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  5966. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5967. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5968. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5969. end
  5970. for i = 0,1,0.6 do
  5971. swait()
  5972. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  5973. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  5974. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  5975. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  5976. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  5977. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5978. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5979. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5980. end
  5981. for i = 0,1,0.6 do
  5982. swait()
  5983. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  5984. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  5985. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  5986. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  5987. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  5988. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5989. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5990. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5991. end
  5992. local rot = 15
  5993. for i = 0, 2 do
  5994. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
  5995. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  5996. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  5997. CreateMesh(dis,"Sphere",10,1,10)
  5998. local at1 = Instance.new("Attachment",dis)
  5999. at1.Position = vt(-5,0,0)
  6000. local at2 = Instance.new("Attachment",dis)
  6001. at2.Position = vt(5,0,0)
  6002. local trl = Instance.new('Trail',wed)
  6003. trl.Attachment0 = at1
  6004. trl.Attachment1 = at2
  6005. trl.Texture = "rbxassetid://1049219073"
  6006. trl.LightEmission = 1
  6007. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6008. trl.Color = ColorSequence.new(dis.Color)
  6009. trl.Lifetime = 0.6
  6010. local a = Instance.new("Part",workspace)
  6011. a.Name = "Direction"
  6012. a.Anchored = true
  6013. a.BrickColor = bc("Bright red")
  6014. a.Material = "Neon"
  6015. a.Transparency = 1
  6016. a.CanCollide = false
  6017. local ray = Ray.new(
  6018. dis.CFrame.p, -- origin
  6019. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6020. )
  6021. local ignore = dis
  6022. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6023. a.BottomSurface = 10
  6024. a.TopSurface = 10
  6025. local distance = (dis.CFrame.p - position).magnitude
  6026. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6027. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6028. dis.CFrame = a.CFrame
  6029. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  6030. a:Destroy()
  6031. local bv = Instance.new("BodyVelocity")
  6032. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6033. bv.velocity = dis.CFrame.lookVector*250
  6034. bv.Parent = dis
  6035. game:GetService("Debris"):AddItem(dis, 5)
  6036. local hitted = false
  6037. coroutine.resume(coroutine.create(function()
  6038. dis.Touched:connect(function(hit)
  6039. if hitted == false and hit.Parent ~= char then
  6040. hitted = true
  6041. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  6042. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  6043. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  6044. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  6045. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  6046. coroutine.resume(coroutine.create(function()
  6047. for i = 0, 9 do
  6048. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6049. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6050. local at1 = Instance.new("Attachment",disr)
  6051. at1.Position = vt(-2,0,0)
  6052. local at2 = Instance.new("Attachment",disr)
  6053. at2.Position = vt(2,0,0)
  6054. local trl = Instance.new('Trail',disr)
  6055. trl.Attachment0 = at1
  6056. trl.FaceCamera = true
  6057. trl.Attachment1 = at2
  6058. trl.Texture = "rbxassetid://2342682798"
  6059. trl.LightEmission = 1
  6060. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6061. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6062. trl.Lifetime = 0.5
  6063. local bv = Instance.new("BodyVelocity")
  6064. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6065. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  6066. bv.Parent = disr
  6067. local val = 0
  6068. coroutine.resume(coroutine.create(function()
  6069. swait(30)
  6070. for i = 0, 9 do
  6071. swait()
  6072. val = val + 0.1
  6073. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6074. end
  6075. game:GetService("Debris"):AddItem(disr, 3)
  6076. end))
  6077. end
  6078. local eff = Instance.new("ParticleEmitter",dis)
  6079. eff.Texture = "rbxassetid://2273224484"
  6080. eff.LightEmission = 1
  6081. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6082. eff.Rate = 500000
  6083. eff.Lifetime = NumberRange.new(0.5,2)
  6084. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6085. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6086. eff.Speed = NumberRange.new(20,250)
  6087. eff.Drag = 5
  6088. eff.Rotation = NumberRange.new(-500,500)
  6089. eff.VelocitySpread = 9000
  6090. eff.RotSpeed = NumberRange.new(-50,50)
  6091. wait(0.25)
  6092. eff.Enabled = false
  6093. end))
  6094. for i = 0, 9 do
  6095. slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White"))
  6096. end
  6097. for i = 0, 19 do
  6098. PixelBlock(1,math.random(5,20),"Add",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0)
  6099. end
  6100. coroutine.resume(coroutine.create(function()
  6101. for i = 0, 19 do
  6102. swait()
  6103. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6104. end
  6105. hum.CameraOffset = vt(0,0,0)
  6106. end))
  6107. dis.Anchored = true
  6108. dis.Transparency = 1
  6109. wait(8)
  6110. dis:Destroy()
  6111. end
  6112. end)
  6113. end))
  6114. rot = rot - 15
  6115. end
  6116. for i = 0,2,0.1 do
  6117. swait()
  6118. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-30),math.rad(0)),.3)
  6119. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.3)
  6120. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  6121. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  6122. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6123. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6124. end
  6125. attack = false
  6126. hum.WalkSpeed = storehumanoidWS
  6127. end
  6128.  
  6129. function FuckMeSidewaysAndCallMeGay()
  6130. local whom = (mouse.Target and mouse.Target.Parent)
  6131. --[[local fuckThisBoi = false
  6132. if(whom and whom:FindFirstChildOfClass'Humanoid')then
  6133. for _,v in next, ODers do
  6134. if(v == whom)then
  6135. fuckThisBoi = false
  6136. end
  6137. end
  6138. end
  6139. if(not fuckThisBoi)then
  6140. attack = false
  6141. warn'to fuck that boi you need to target them with z'
  6142. else]]
  6143. if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso')then
  6144. local hed = whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso'
  6145. local hum = whom:FindFirstChildOfClass'Humanoid'
  6146. local ocf = RootPart.CFrame
  6147. hum.WalkSpeed = 0
  6148.  
  6149. hed.Anchored = true
  6150. RootPart.Anchored = true
  6151. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6152. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  6153. for i = 0, 9 do
  6154. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Pink"),0)
  6155. end
  6156. for i = 0, 24 do
  6157. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Pink"),0)
  6158. end
  6159. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
  6160. attack = true
  6161. bosschatfunc("I love you <3",MAINRUINCOLOR.Color,1)
  6162. local speed = 1
  6163. local heck;
  6164. local stopitlol = false;
  6165. heck = mouse.KeyUp:connect(function(k)
  6166. if(k:lower() == 'x')then
  6167. stopitlol = true
  6168. heck:disconnect()
  6169. end
  6170. end)
  6171. local times = 0
  6172. repeat swait()
  6173. speed = speed - .01
  6174. times = times + 1
  6175. if(speed < .1)then
  6176. speed = .1
  6177. end
  6178. for i = 0, speed, .05 do
  6179. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6180. swait()
  6181. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
  6182. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  6183. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)
  6184. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6185. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  6186. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  6187. end
  6188. CameraEnshaking(5,5)
  6189.  
  6190. CFuncs["Sound"].Create("rbxassetid://836796971", Torso, 10,1)
  6191.  
  6192. for i = 0, speed, .05 do
  6193. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6194. swait()
  6195. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
  6196. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  6197. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
  6198. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6199. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6200. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6201. end
  6202. until stopitlol and times >= 3
  6203. for i = 1, 3 do
  6204. for i = 0, 1.5, .05 do
  6205. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6206. swait()
  6207. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
  6208. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  6209. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)
  6210. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6211. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  6212. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  6213. end
  6214. CameraEnshaking(5,25)
  6215.  
  6216. CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
  6217.  
  6218.  
  6219. coroutine.resume(coroutine.create(function()
  6220. bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
  6221. bld.LightEmission = 0.1
  6222. bld.Texture = "rbxassetid://284205403"
  6223. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  6224. bld.Rate = 500
  6225. bld.Lifetime = NumberRange.new(1)
  6226. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6227. bld.Acceleration = vt(0,-25,0)
  6228. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  6229. bld.Speed = NumberRange.new(10,50)
  6230. bld.EmissionDirection = "Back"
  6231. bld.VelocitySpread = 25
  6232. bld.Rotation = NumberRange.new(-500,500)
  6233. bld.RotSpeed = NumberRange.new(-500,500)
  6234. bld.Enabled = false
  6235. bld:Emit(250)
  6236. end))
  6237. coroutine.resume(coroutine.create(function()
  6238. bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
  6239. bld.LightEmission = 0.1
  6240. bld.Texture = "rbxassetid://284205403"
  6241. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  6242. bld.Rate = 500
  6243. bld.Lifetime = NumberRange.new(1)
  6244. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6245. bld.Acceleration = vt(0,-25,0)
  6246. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  6247. bld.Speed = NumberRange.new(10,50)
  6248. bld.EmissionDirection = "Back"
  6249. bld.VelocitySpread = 25
  6250. bld.Rotation = NumberRange.new(-500,500)
  6251. bld.RotSpeed = NumberRange.new(-500,500)
  6252. bld.Enabled = false
  6253. bld:Emit(250)
  6254. end))
  6255. for i = 0, 1.5, .05 do
  6256. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6257. swait()
  6258. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
  6259. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  6260. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
  6261. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6262. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6263. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6264. end
  6265. end
  6266. for i = 0, 4, .05 do
  6267. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6268. swait()
  6269. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(100),0,0)*angles(0,math.rad(90),0),.1)
  6270. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  6271. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(-50),0,0)*RootCF,.1)
  6272. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
  6273. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.1)
  6274. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.1)
  6275. end
  6276. CameraEnshaking(5,25)
  6277. CFuncs["Sound"].Create("rbxassetid://429400881", hed, 3,1)
  6278. CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
  6279.  
  6280. dmg(whom)
  6281. coroutine.resume(coroutine.create(function()
  6282. bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
  6283. bld.LightEmission = 0.1
  6284. bld.Texture = "rbxassetid://284205403"
  6285. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  6286. bld.Rate = 500
  6287. bld.Lifetime = NumberRange.new(1)
  6288. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6289. bld.Acceleration = vt(0,-25,0)
  6290. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  6291. bld.Speed = NumberRange.new(10,50)
  6292. bld.EmissionDirection = "Back"
  6293. bld.VelocitySpread = 25
  6294. bld.Rotation = NumberRange.new(-500,500)
  6295. bld.RotSpeed = NumberRange.new(-500,500)
  6296. bld.Enabled = true
  6297. end))
  6298. coroutine.resume(coroutine.create(function()
  6299. bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
  6300. bld.LightEmission = 0.1
  6301. bld.Texture = "rbxassetid://284205403"
  6302. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  6303. bld.Rate = 500
  6304. bld.Lifetime = NumberRange.new(1)
  6305. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6306. bld.Acceleration = vt(0,-25,0)
  6307. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  6308. bld.Speed = NumberRange.new(10,50)
  6309. bld.EmissionDirection = "Back"
  6310. bld.VelocitySpread = 25
  6311. bld.Rotation = NumberRange.new(-500,500)
  6312. bld.RotSpeed = NumberRange.new(-500,500)
  6313. bld.Enabled = true
  6314. end))
  6315. for i = 0, 3, .05 do
  6316. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6317. swait()
  6318. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-100),0,0)*angles(0,math.rad(90),0),.4)
  6319. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  6320. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(50),0,0)*RootCF,.4)
  6321. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6322. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6323. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6324. end
  6325.  
  6326. RootPart.CFrame = ocf
  6327. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  6328. for i = 0, 9 do
  6329. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Pink"),0)
  6330. end
  6331. for i = 0, 24 do
  6332. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Pink"),0)
  6333. end
  6334. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
  6335. RootPart.Anchored = false
  6336. Humanoid.WalkSpeed = storehumanoidWS
  6337. bosschatfunc("Hehehehehe <3",MAINRUINCOLOR.Color,0.5)
  6338. attack = false
  6339. end
  6340. end
  6341.  
  6342. function RapidBurst()
  6343. attack = true
  6344. hum.WalkSpeed = 0
  6345. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  6346. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
  6347. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  6348. bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,1.8)
  6349. bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,1.9)
  6350. bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,2)
  6351. local keptcolor = MAINRUINCOLOR
  6352. for i = 0,8,0.1 do
  6353. swait()
  6354. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6355. slash(math.random(25,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,25,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,0.01,2),-2,BrickColor.random())
  6356. block(10,"Add",root.CFrame*CFrame.new(0,25,0),vt(0,0,0),0.5,0.5,0.5,BrickColor.random(),BrickColor.random().Color)
  6357. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-15 - 2 * math.cos(sine / 32))),.1)
  6358. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 2 * math.cos(sine / 32))),.1)
  6359. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.15 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(-15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  6360. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  6361. RW.C0=clerp(RW.C0,cf(1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-10 + 3 * math.cos(sine / 45))),.1)
  6362. LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(13 - 3 * math.cos(sine / 45))),.1)
  6363. end
  6364. for i = 0, 99 do
  6365. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6366. dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6367. local at1 = Instance.new("Attachment",dis)
  6368. at1.Position = vt(-25000,0,0)
  6369. local at2 = Instance.new("Attachment",dis)
  6370. at2.Position = vt(25000,0,0)
  6371. local trl = Instance.new('Trail',dis)
  6372. trl.Attachment0 = at1
  6373. trl.FaceCamera = true
  6374. trl.Attachment1 = at2
  6375. trl.Texture = "rbxassetid://1049219073"
  6376. trl.LightEmission = 1
  6377. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6378. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6379. trl.Lifetime = 5
  6380. local bv = Instance.new("BodyVelocity")
  6381. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6382. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6383. bv.Parent = dis
  6384. game:GetService("Debris"):AddItem(dis, 5)
  6385. end
  6386. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6387. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6388. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6389. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6390. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6391. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6392. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6393. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6394. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6395. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6396. hum.CameraOffset = vt(0,0,0)
  6397. for i = 0, 24 do
  6398. slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(500,1500)/250,BrickColor.random())
  6399. end
  6400. local distam = 0
  6401. coroutine.resume(coroutine.create(function()
  6402. for i = 0, 99 do
  6403. wait()
  6404. distam = distam + 1
  6405. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6406. xa.Anchored = true
  6407. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  6408. game:GetService("Debris"):AddItem(xa, 5)
  6409. for i = 0, 4 do
  6410. slash(math.random(25,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.random())
  6411. end
  6412. coroutine.resume(coroutine.create(function()
  6413. local eff = Instance.new("ParticleEmitter",xa)
  6414. eff.Texture = "rbxassetid://2273224484"
  6415. eff.LightEmission = 1
  6416. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6417. eff.Rate = 500000
  6418. eff.Lifetime = NumberRange.new(1,3)
  6419. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  6420. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6421. eff.Speed = NumberRange.new(50,500)
  6422. eff.Drag = 5
  6423. eff.Rotation = NumberRange.new(-500,500)
  6424. eff.VelocitySpread = 9000
  6425. eff.RotSpeed = NumberRange.new(-50,50)
  6426. wait(0.25)
  6427. eff.Enabled = false
  6428. end))
  6429. coroutine.resume(coroutine.create(function()
  6430. for i = 0, 19 do
  6431. swait()
  6432. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  6433. end
  6434. hum.CameraOffset = vt(0,0,0)
  6435. end))
  6436. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6437. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6438. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6439. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6440. end
  6441. end))
  6442. attack = false
  6443. hum.WalkSpeed = storehumanoidWS
  6444. end
  6445.  
  6446.  
  6447. function FallenOrbs()
  6448. attack = true
  6449. hum.WalkSpeed = 2
  6450. local keptcolor = MAINRUINCOLOR
  6451. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 5, 1,0,10,0.15,0.5,1)
  6452. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 60, 1,0,10,0.15,0.5,1)
  6453. local radm = math.random(1,3)
  6454. if radm == 1 then
  6455. bosschatfunc("This wont be easy to you.",MAINRUINCOLOR.Color,1)
  6456. elseif radm == 2 then
  6457. bosschatfunc("How about this?",MAINRUINCOLOR.Color,1)
  6458. elseif radm == 3 then
  6459. bosschatfunc("Swarm!",MAINRUINCOLOR.Color,1)
  6460. end
  6461. coroutine.resume(coroutine.create(function()
  6462. for i = 0, 29 do
  6463. swait(2)
  6464. local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
  6465. dis.Anchored = true
  6466. CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  6467. dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35))
  6468. CreateMesh(dis,"Sphere",2,2,2)
  6469. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  6470. slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(10,50)/250,BrickColor.new("White"))
  6471. coroutine.resume(coroutine.create(function()
  6472. wait(0.5)
  6473. dis.Anchored = false
  6474. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 9, 1,0,2,0.15,0.1,1)
  6475. local at1 = Instance.new("Attachment",dis)
  6476. at1.Position = vt(-1,0,0)
  6477. local at2 = Instance.new("Attachment",dis)
  6478. at2.Position = vt(1,0,0)
  6479. local trl = Instance.new('Trail',dis)
  6480. trl.Attachment0 = at1
  6481. trl.FaceCamera = true
  6482. trl.Attachment1 = at2
  6483. trl.Texture = "rbxassetid://1049219073"
  6484. trl.LightEmission = 1
  6485. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6486. trl.Color = ColorSequence.new(dis.Color)
  6487. trl.Lifetime = 0.6
  6488. local a = Instance.new("Part",workspace)
  6489. a.Name = "Direction"
  6490. a.Anchored = true
  6491. a.BrickColor = bc("Bright red")
  6492. a.Material = "Neon"
  6493. a.Transparency = 1
  6494. a.CanCollide = false
  6495. local ray = Ray.new(
  6496. dis.CFrame.p, -- origin
  6497. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6498. )
  6499. local ignore = dis
  6500. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6501. a.BottomSurface = 10
  6502. a.TopSurface = 10
  6503. local distance = (dis.CFrame.p - position).magnitude
  6504. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6505. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6506. dis.CFrame = a.CFrame
  6507. a:Destroy()
  6508. local bv = Instance.new("BodyVelocity")
  6509. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6510. bv.velocity = dis.CFrame.lookVector*500
  6511. bv.Parent = dis
  6512. game:GetService("Debris"):AddItem(dis, 5)
  6513. local hitted = false
  6514. coroutine.resume(coroutine.create(function()
  6515. dis.Touched:connect(function(hit)
  6516. if hitted == false and hit.Parent ~= char then
  6517. hitted = true
  6518. CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 5, 0.8,0,10,0.15,0.5,1)
  6519. MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  6520. sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color)
  6521. sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  6522. coroutine.resume(coroutine.create(function()
  6523. for i = 0, 4 do
  6524. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6525. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6526. local at1 = Instance.new("Attachment",disr)
  6527. at1.Position = vt(-10,0,0)
  6528. local at2 = Instance.new("Attachment",disr)
  6529. at2.Position = vt(10,0,0)
  6530. local trl = Instance.new('Trail',disr)
  6531. trl.Attachment0 = at1
  6532. trl.FaceCamera = true
  6533. trl.Attachment1 = at2
  6534. trl.Texture = "rbxassetid://2342682798"
  6535. trl.LightEmission = 1
  6536. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6537. trl.Color = ColorSequence.new(disr.Color)
  6538. trl.Lifetime = 0.5
  6539. local bv = Instance.new("BodyVelocity")
  6540. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6541. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  6542. bv.Parent = disr
  6543. local val = 0
  6544. coroutine.resume(coroutine.create(function()
  6545. swait(30)
  6546. for i = 0, 9 do
  6547. swait()
  6548. val = val + 0.1
  6549. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6550. end
  6551. game:GetService("Debris"):AddItem(disr, 3)
  6552. end))
  6553. end
  6554. local eff = Instance.new("ParticleEmitter",dis)
  6555. eff.Texture = "rbxassetid://1049219073"
  6556. eff.LightEmission = 1
  6557. eff.Color = ColorSequence.new(dis.Color)
  6558. eff.Rate = 500000
  6559. eff.Lifetime = NumberRange.new(0.5,2)
  6560. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6561. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6562. eff.Speed = NumberRange.new(20,250)
  6563. eff.Drag = 5
  6564. eff.Rotation = NumberRange.new(-500,500)
  6565. eff.VelocitySpread = 9000
  6566. eff.RotSpeed = NumberRange.new(-50,50)
  6567. wait(0.5)
  6568. eff.Enabled = false
  6569. end))
  6570. for i = 0, 4 do
  6571. slash(math.random(20,50)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White"))
  6572. end
  6573. coroutine.resume(coroutine.create(function()
  6574. for i = 0, 19 do
  6575. swait()
  6576. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6577. end
  6578. hum.CameraOffset = vt(0,0,0)
  6579. end))
  6580. dis.Anchored = true
  6581. dis.Transparency = 1
  6582. wait(8)
  6583. dis:Destroy()
  6584. end
  6585. end)
  6586. end))
  6587. end))
  6588. end
  6589. end))
  6590. for i = 0,9,0.1 do
  6591. swait()
  6592. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6593. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.3)
  6594. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.3)
  6595. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(90)),.3)
  6596. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(-15 + 1 * math.cos(sine / 58)),math.rad(-90 + 2 * math.cos(sine / 53))),.3)
  6597. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(90 + 2 * math.cos(sine / 45))),.3)
  6598. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(8 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-9 - 4 * math.cos(sine / 45))),.3)
  6599. end
  6600. attack = false
  6601. hum.WalkSpeed = storehumanoidWS
  6602. end
  6603.  
  6604. function CyberSlash()
  6605. local posit = -2
  6606. attack = true
  6607. hum.WalkSpeed = 5
  6608. CFuncs["EchoSound"].Create("rbxassetid://1448033920", char, 5, 1,0,10,0.15,0.5,1)
  6609. local radm = math.random(1,3)
  6610. if radm == 1 then
  6611. bosschatfunc("FIBER!!!",MAINRUINCOLOR.Color,1)
  6612. elseif radm == 2 then
  6613. bosschatfunc("SLASHED!!",MAINRUINCOLOR.Color,1)
  6614. elseif radm == 3 then
  6615. bosschatfunc("TAKE MY CLAW!!",MAINRUINCOLOR.Color,1)
  6616. end
  6617. CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
  6618. for i = 0,2,0.1 do
  6619. swait()
  6620. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  6621. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
  6622. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
  6623. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  6624. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
  6625. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1)
  6626. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1)
  6627. end
  6628. for i = 0, 2 do
  6629. CameraEnshaking(1,2)
  6630. local hite = Instance.new("Part", char)
  6631. hite.Anchored = true
  6632. hite.CanCollide = false
  6633. hite.FormFactor = 3
  6634. hite.Name = "Ring"
  6635. hite.Material = "Neon"
  6636. hite.Size = Vector3.new(1, 1, 1)
  6637. hite.Transparency = 1
  6638. hite.TopSurface = 0
  6639. hite.BottomSurface = 0
  6640. hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
  6641. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
  6642. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
  6643. coroutine.resume(coroutine.create(function()
  6644. for i = 0, 1 do
  6645. swait()
  6646. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  6647. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  6648. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  6649. end
  6650. end))
  6651. sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(2,2,2),0.5,-0.01,-0.01,MAINRUINCOLOR)
  6652. MagniDamage(hite, 3, 30,40, 0, "Normal")
  6653. game:GetService("Debris"):AddItem(hite, 5)
  6654. posit = posit + 2
  6655. end
  6656. for i = 0,1,0.1 do
  6657. swait()
  6658. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  6659. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  6660. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
  6661. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  6662. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
  6663. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.5)
  6664. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
  6665. end
  6666. for i = 0,1,0.1 do
  6667. swait()
  6668. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  6669. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,1)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
  6670. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
  6671. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
  6672. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
  6673. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(30)),.5)
  6674. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(40)),.5)
  6675. end
  6676. posit = -6
  6677. for i = 0, 6 do
  6678. CameraEnshaking(1,3)
  6679. local hite = Instance.new("Part", char)
  6680. hite.Anchored = true
  6681. hite.CanCollide = false
  6682. hite.FormFactor = 3
  6683. hite.Name = "Ring"
  6684. hite.Material = "Neon"
  6685. hite.Size = Vector3.new(1, 1, 1)
  6686. hite.Transparency = 1
  6687. hite.TopSurface = 0
  6688. hite.BottomSurface = 0
  6689. hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
  6690. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
  6691. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
  6692. sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),-0.01,1,-0.01,MAINRUINCOLOR)
  6693. coroutine.resume(coroutine.create(function()
  6694. for i = 0, 2 do
  6695. swait()
  6696. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  6697. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  6698. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  6699. end
  6700. end))
  6701. MagniDamage(hite, 5, 40,70, 0, "Normal")
  6702. game:GetService("Debris"):AddItem(hite, 5)
  6703. posit = posit + 2
  6704. end
  6705. for i = 0,1,0.1 do
  6706. swait()
  6707. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  6708. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
  6709. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  6710. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
  6711. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
  6712. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(10),math.rad(-10)),.5)
  6713. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(60)),.5)
  6714. end
  6715. hum.WalkSpeed = storehumanoidWS
  6716. attack = false
  6717. end
  6718.  
  6719. function EquinoxOrbs()
  6720. hum.WalkSpeed = 0
  6721. attack = true
  6722. local radm = math.random(1,3)
  6723. if radm == 1 then
  6724. bosschatfunc("NOX-DASH!!!",MAINRUINCOLOR.Color,1)
  6725. elseif radm == 2 then
  6726. bosschatfunc("Beware from behind",MAINRUINCOLOR.Color,1)
  6727. elseif radm == 3 then
  6728. bosschatfunc("I'M COMING!!",MAINRUINCOLOR.Color,1)
  6729. end
  6730. for i = 0,1,0.1 do
  6731. swait()
  6732. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20)),.2)
  6733. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20)),.2)
  6734. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6735. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6736. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  6737. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  6738. end
  6739. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  6740. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  6741. for i = 0, 24 do
  6742. slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),math.rad(0)),vt(0.01,0.01,0.01),math.random(100,400)/250,BrickColor.new("White"))
  6743. end
  6744. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  6745. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  6746. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  6747. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  6748. for i = 0,4,0.1 do
  6749. swait()
  6750. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  6751. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  6752. CreateMesh(dis,"Sphere",1,1,1)
  6753. dis.Anchored = true
  6754. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  6755. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
  6756. CreateMesh(dis2,"Sphere",1,1,1)
  6757. dis2.Anchored = true
  6758. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  6759. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  6760. sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  6761. coroutine.resume(coroutine.create(function()
  6762. swait(60)
  6763. dis.Transparency = 1
  6764. dis2.Transparency = 1
  6765. coroutine.resume(coroutine.create(function()
  6766. for i = 0, 19 do
  6767. swait()
  6768. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  6769. end
  6770. hum.CameraOffset = vt(0,0,0)
  6771. end))
  6772. coroutine.resume(coroutine.create(function()
  6773. local eff = Instance.new("ParticleEmitter",dis)
  6774. eff.Texture = "rbxassetid://2273224484"
  6775. eff.LightEmission = 1
  6776. eff.Color = ColorSequence.new(dis.Color)
  6777. eff.Rate = 500000
  6778. eff.Lifetime = NumberRange.new(0.5,2)
  6779. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6780. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6781. eff.Speed = NumberRange.new(50,450)
  6782. eff.Drag = 5
  6783. eff.Rotation = NumberRange.new(-500,500)
  6784. eff.VelocitySpread = 9000
  6785. eff.RotSpeed = NumberRange.new(-50,50)
  6786. local eff2 = eff:Clone()
  6787. eff2.Parent = dis2
  6788. eff2.LightEmission = 0
  6789. eff2.Color = ColorSequence.new(dis2.Color)
  6790. wait(0.25)
  6791. eff.Enabled = false
  6792. eff2.Enabled = false
  6793. end))
  6794. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  6795. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  6796. for i = 0, 2 do
  6797. slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis.BrickColor)
  6798. slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis2.BrickColor)
  6799. end
  6800. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  6801. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  6802. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  6803. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  6804. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  6805. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  6806. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  6807. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  6808. end))
  6809. game:GetService("Debris"):AddItem(dis, 5)
  6810. game:GetService("Debris"):AddItem(dis2, 5)
  6811. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20)),.2)
  6812. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20)),.2)
  6813. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6814. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6815. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  6816. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  6817. end
  6818. attack = false
  6819. hum.WalkSpeed = storehumanoidWS
  6820. end
  6821. function FallenDEMISE()
  6822. attack = true
  6823. hum.WalkSpeed = 0
  6824. local keptcolor = MAINRUINCOLOR
  6825. bosschatfunc("ALL OF YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,3)
  6826. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  6827. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  6828. for i = 0, 15, 0.1 do
  6829. swait()
  6830. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6831. dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6832. local at1 = Instance.new("Attachment",dis)
  6833. at1.Position = vt(-25000,0,0)
  6834. local at2 = Instance.new("Attachment",dis)
  6835. at2.Position = vt(25000,0,0)
  6836. local trl = Instance.new('Trail',dis)
  6837. trl.Attachment0 = at1
  6838. trl.FaceCamera = true
  6839. trl.Attachment1 = at2
  6840. trl.Texture = "rbxassetid://1049219073"
  6841. trl.LightEmission = 1
  6842. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6843. trl.Color = ColorSequence.new(dis.Color)
  6844. trl.Lifetime = 5
  6845. local bv = Instance.new("BodyVelocity")
  6846. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6847. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6848. bv.Parent = dis
  6849. game:GetService("Debris"):AddItem(dis, 1)
  6850. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
  6851. slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Toothpaste"))
  6852. slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Deep orange"))
  6853. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-35)),.1)
  6854. LH.C0=clerp(LH.C0,cf(-1,-0.45,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(35)),.1)
  6855. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6856. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6857. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6858. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6859. end
  6860. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  6861. for i = 0, 30, 0.1 do
  6862. swait()
  6863. coroutine.resume(coroutine.create(function()
  6864. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  6865. if v:FindFirstChild('Head') then
  6866. dmg(v)
  6867. end
  6868. end
  6869. end))
  6870. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6871. dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6872. local at1 = Instance.new("Attachment",dis)
  6873. at1.Position = vt(-50000,0,0)
  6874. local at2 = Instance.new("Attachment",dis)
  6875. at2.Position = vt(50000,0,0)
  6876. local trl = Instance.new('Trail',dis)
  6877. trl.Attachment0 = at1
  6878. trl.FaceCamera = true
  6879. trl.Attachment1 = at2
  6880. trl.Texture = "rbxassetid://1049219073"
  6881. trl.LightEmission = 1
  6882. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6883. trl.Color = ColorSequence.new(dis.Color)
  6884. trl.Lifetime = 10
  6885. local bv = Instance.new("BodyVelocity")
  6886. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6887. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  6888. bv.Parent = dis
  6889. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  6890. sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
  6891. sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
  6892. sphere2(2,"Add",root.CFrame*CFrame.new(math.random(-2000,2000),math.random(-2000,2000),math.random(-2000,2000)),vt(0,0,0),5,5,5,BrickColor.new("Deep orange"))
  6893. sphere2(2,"Add",root.CFrame*CFrame.new(math.random(-2000,2000),math.random(-2000,2000),math.random(-2000,2000)),vt(0,0,0),5,5,5,BrickColor.new("Toothpaste"))
  6894. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,0.01,5),math.random(500,5000)/250,BrickColor.new("Deep orange"))
  6895. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,0.01,5),math.random(500,5000)/250,BrickColor.new("Toothpaste"))
  6896. for i = 0, 2 do
  6897. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,math.random(-3,1000),0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(2,0.01,2),math.random(250,750)/250,MAINRUINCOLOR)
  6898. end
  6899. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-35)),.1)
  6900. LH.C0=clerp(LH.C0,cf(-1,-0.45,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(35)),.1)
  6901. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6902. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6903. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6904. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6905. end
  6906. attack = false
  6907. hum.WalkSpeed = storehumanoidWS
  6908. end
  6909.  
  6910. function SpeedDrop()
  6911. attack = true
  6912. hum.WalkSpeed = 0
  6913. CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
  6914. local poste = 3
  6915. local rotation = 0
  6916. local rate = 0
  6917. bosschatfunc("AUFHHIGYBIBYHHIHIGHGI",MAINRUINCOLOR.Color,2)
  6918. for i = 0, 124 do
  6919. swait()
  6920. rotation = rotation + rate
  6921. poste = poste + 0.1
  6922. rate = rate + 0.1
  6923. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
  6924. sphere2(8,"Add",root.CFrame*CFrame.new(math.random(-20,20),-3,math.random(-20,20)),vt(1,1,1),-0.01,0.5,-0.01,MAINRUINCOLOR)
  6925. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  6926. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  6927. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  6928. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  6929. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(30)),.5)
  6930. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.5)
  6931. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
  6932. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
  6933. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
  6934. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
  6935. end
  6936. CameraEnshaking(3,7)
  6937. bosschatfunc("AN ERROR HAS OCCURED",MAINRUINCOLOR.Color,2)
  6938. local loc = Instance.new("Part", char)
  6939. loc.BrickColor = MAINRUINCOLOR
  6940. loc.CanCollide = false
  6941. loc.FormFactor = 3
  6942. loc.Name = "Ring"
  6943. loc.Material = "Neon"
  6944. loc.Size = Vector3.new(1, 1, 1)
  6945. loc.Transparency = 1
  6946. loc.TopSurface = 0
  6947. loc.BottomSurface = 0
  6948. loc.Anchored = true
  6949. loc.CFrame = root.CFrame + root.CFrame.lookVector*100
  6950. CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
  6951. CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
  6952. MagniDamage(loc, 95, 500,6000, 0, "Normal")
  6953. sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
  6954. sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  6955. sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  6956. sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  6957. coroutine.resume(coroutine.create(function()
  6958. local eff = Instance.new("ParticleEmitter",loc)
  6959. eff.Texture = "rbxassetid://363275192"
  6960. eff.LightEmission = 0.95
  6961. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6962. eff.Rate = 10000
  6963. eff.Lifetime = NumberRange.new(1)
  6964. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
  6965. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6966. eff.Speed = NumberRange.new(100,500)
  6967. eff.Drag = 5
  6968. eff.Rotation = NumberRange.new(-500,500)
  6969. eff.VelocitySpread = 9000
  6970. eff.RotSpeed = NumberRange.new(-50,50)
  6971. wait(0.5)
  6972. eff.Enabled = false
  6973. end))
  6974. for i = 0, 49 do
  6975. sphere2(math.random(100,300)/100,"Add",loc.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR)
  6976. end
  6977. for i = 0, 9 do
  6978. sphere2(3,"Add",loc.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),0),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR)
  6979. end
  6980. game:GetService("Debris"):AddItem(loc, 5)
  6981. root.CFrame = root.CFrame + root.CFrame.lookVector*200
  6982. hum.WalkSpeed = storehumanoidWS
  6983. attack = false
  6984. end
  6985.  
  6986. function cutesigh()
  6987. attack = true
  6988. hum.WalkSpeed = 0
  6989. bosschatfunc("sigh~~",MAINRUINCOLOR.Color,2)
  6990. local blush = Instance.new("Decal",hed)
  6991. blush.Texture = "rbxassetid://898404027"
  6992. blush.Face = "Front"
  6993. CFuncs["Sound"].Create("rbxassetid://294861193", char, 9,1)
  6994. for i = 0, 9, 0.1 do
  6995. swait()
  6996. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(19 + 8 * math.cos(sine / 62)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-20 - 3 * math.cos(sine / 34))),.1)
  6997. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 - 1 * math.cos(sine / 55)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(26 + 5 * math.cos(sine / 41))),.1)
  6998. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-13 - 2 * math.cos(sine / 32)),math.rad(3),math.rad(10 - 4 * math.cos(sine / 67))),.1)
  6999. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 8 * math.cos(sine / 37)),math.rad(-21 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1)
  7000. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 + 0 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 5 * math.cos(sine / 51))),.1)
  7001. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 - 0 * math.cos(sine / 73)),math.rad(2 - 3 * math.cos(sine / 53)),math.rad(-33 - 5 * math.cos(sine / 51))),.1)
  7002. end
  7003. coroutine.resume(coroutine.create(function()
  7004. for i = 0, 49 do
  7005. swait()
  7006. blush.Transparency = blush.Transparency + 0.02
  7007. end
  7008. blush:Destroy()
  7009. end))
  7010. hum.WalkSpeed = storehumanoidWS
  7011. attack = false
  7012. end
  7013.  
  7014. function smiter()
  7015. local targetted = nil
  7016. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  7017. targetted = mouse.Target.Parent
  7018. end
  7019. if targetted ~= nil then
  7020. RootPart.CFrame = FaceMouse()[1]
  7021. attack = true
  7022. local radm = math.random(1,3)
  7023. if radm == 1 then
  7024. bosschatfunc("SMITED!!",MAINRUINCOLOR.Color,1)
  7025. elseif radm == 2 then
  7026. bosschatfunc("FROM ABOVE!!",MAINRUINCOLOR.Color,1)
  7027. elseif radm == 3 then
  7028. bosschatfunc("LOOK UP!!",MAINRUINCOLOR.Color,1)
  7029. end
  7030. hum.WalkSpeed = 0
  7031. coroutine.resume(coroutine.create(function()
  7032. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  7033. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  7034. local vel = Instance.new("BodyPosition", targetted.Head)
  7035. vel.P = 12500
  7036. vel.D = 1000
  7037. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  7038. vel.position = targetted.Head.CFrame.p
  7039. end))
  7040. CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
  7041. CFuncs["EchoSound"].Create("rbxassetid://1436242685", char, 4, 1,0,10,0.15,0.5,1)
  7042. CFuncs["EchoSound"].Create("rbxassetid://1436242685", root, 60, 1,0,10,0.15,0.5,1)
  7043. for i = 0,4,0.1 do
  7044. swait()
  7045. sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.125,-0.01,MAINRUINCOLOR)
  7046. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  7047. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  7048. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  7049. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7050. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.1)
  7051. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.1)
  7052. end
  7053. coroutine.resume(coroutine.create(function()
  7054. CameraEnshaking(6,5)
  7055. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  7056. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
  7057. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
  7058. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
  7059. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  7060. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  7061. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  7062. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  7063. coroutine.resume(coroutine.create(function()
  7064. local eff = Instance.new("ParticleEmitter",targetted.Head)
  7065. eff.Texture = "rbxassetid://2273224484"
  7066. eff.LightEmission = 1
  7067. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  7068. eff.Rate = 500000
  7069. eff.Lifetime = NumberRange.new(0.5,2)
  7070. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  7071. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  7072. eff.Speed = NumberRange.new(20,250)
  7073. eff.Drag = 5
  7074. eff.Rotation = NumberRange.new(-500,500)
  7075. eff.VelocitySpread = 9000
  7076. eff.RotSpeed = NumberRange.new(-50,50)
  7077. wait(0.25)
  7078. eff.Enabled = false
  7079. local eff = Instance.new("ParticleEmitter",targetted.Head)
  7080. eff.Texture = "rbxassetid://363275192"
  7081. eff.LightEmission = 0.95
  7082. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7083. eff.Rate = 10000
  7084. eff.Lifetime = NumberRange.new(1.5)
  7085. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  7086. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7087. eff.Speed = NumberRange.new(25,150)
  7088. eff.Drag = 5
  7089. eff.Rotation = NumberRange.new(-500,500)
  7090. eff.VelocitySpread = 9000
  7091. eff.RotSpeed = NumberRange.new(-50,50)
  7092. local eff2 = eff:Clone()
  7093. eff2.Parent = targetted.Head
  7094. eff2.Texture = "rbxassetid://284205403"
  7095. eff2.Rate = 10000
  7096. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7097. eff2.Drag = 5
  7098. eff2.Rotation = NumberRange.new(-500,500)
  7099. eff2.VelocitySpread = 9000
  7100. wait(0.5)
  7101. eff2.Enabled = false
  7102. eff.Enabled = false
  7103. end))
  7104. for i = 0, 9 do
  7105. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,3,-0.02,MAINRUINCOLOR)
  7106. end
  7107. for i = 0, 49 do
  7108. local rsiz = math.random(10,50)
  7109. sphereMK(math.random(1,4),1,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  7110. end
  7111. game:GetService("Debris"):AddItem(vel,1)
  7112. dmg(targetted)
  7113. end))
  7114. for i = 0,1,0.1 do
  7115. swait()
  7116. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  7117. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  7118. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  7119. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7120. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.1)
  7121. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.1)
  7122. end
  7123. attack = false
  7124. hum.WalkSpeed = storehumanoidWS
  7125. end
  7126. end
  7127.  
  7128. function shytaunty()
  7129. attack = true
  7130. hum.WalkSpeed = 0
  7131. CFuncs["Sound"].Create("rbxassetid://543623779", char, 1, 1)
  7132. local blush = Instance.new("Decal",hed)
  7133. blush.Texture = "rbxassetid://898404027"
  7134. blush.Face = "Front"
  7135. for i = 0, 13, 0.1 do
  7136. swait()
  7137. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7 - 5 * math.cos(sine / 44)),math.rad(0),math.rad(-6 - 3 * math.cos(sine / 34))),.1)
  7138. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 + 5 * math.cos(sine / 44)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 34))),.1)
  7139. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 - 5 * math.cos(sine / 44)),math.rad(-5)),.1)
  7140. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2 - 2.5 * math.cos(sine / 28)),math.rad(20 + 5 * math.cos(sine / 62)),math.rad(35 + 5 * math.cos(sine / 59))),.1)
  7141. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 1 * math.cos(sine / 53)),math.rad(0),math.rad(-60 + 2 * math.cos(sine / 37))),.1)
  7142. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(26 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(59 - 3 * math.cos(sine / 57) )),.1)
  7143. end
  7144. coroutine.resume(coroutine.create(function()
  7145. for i = 0, 49 do
  7146. swait()
  7147. blush.Transparency = blush.Transparency + 0.02
  7148. end
  7149. blush:Destroy()
  7150. end))
  7151. hum.WalkSpeed = storehumanoidWS
  7152. attack = false
  7153. end
  7154.  
  7155. function PureBomb()
  7156. attack = true
  7157. CFuncs["EchoSound"].Create("rbxassetid://1436241485", char, 5, 1,0,10,0.15,0.5,1)
  7158. CFuncs["EchoSound"].Create("rbxassetid://1436241485", root, 60, 1,0,10,0.15,0.5,1)
  7159. bosschatfunc("Purified..",MAINRUINCOLOR.Color,2)
  7160. local orb = Instance.new("Part", char)
  7161. orb.Anchored = true
  7162. orb.BrickColor = BrickColor.new("Toothpaste")
  7163. orb.CanCollide = false
  7164. orb.FormFactor = 3
  7165. orb.Name = "Ring"
  7166. orb.Material = "Neon"
  7167. orb.Size = Vector3.new(1, 1, 1)
  7168. orb.Transparency = 0
  7169. orb.TopSurface = 0
  7170. orb.BottomSurface = 0
  7171. local orbm = Instance.new("SpecialMesh", orb)
  7172. orbm.MeshType = "Sphere"
  7173. orbm.Name = "SizeMesh"
  7174. orbm.Scale = vt(0,0,0)
  7175. local scaled = 0.1
  7176. local posid = 0
  7177. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 30,1)
  7178. for i = 0, 5, 0.1 do
  7179. swait()
  7180. scaled = scaled - 0.001
  7181. posid = posid - scaled
  7182. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  7183. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  7184. sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Toothpaste"),10)
  7185. PixelBlockNeg(2,1,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Toothpaste"),0)
  7186. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
  7187. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  7188. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7189. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7190. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  7191. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  7192. end
  7193. for i = 0, 2, 0.1 do
  7194. swait()
  7195. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  7196. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  7197. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  7198. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  7199. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  7200. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  7201. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  7202. end
  7203. CFuncs["EchoSound"].Create("rbxassetid://1436240026", char, 4, 1,0,10,0.15,0.5,1)
  7204. CFuncs["EchoSound"].Create("rbxassetid://1436240026", root, 60, 1,0,10,0.15,0.5,1)
  7205. bosschatfunc("BOMB!!",MAINRUINCOLOR.Color,2)
  7206. coroutine.resume(coroutine.create(function()
  7207. orb.Anchored = false
  7208. CFuncs["Sound"].Create("rbxassetid://260433768", root, 555,1)
  7209. local a = Instance.new("Part",workspace)
  7210. a.Name = "Direction"
  7211. a.Anchored = true
  7212. a.BrickColor = bc("Bright red")
  7213. a.Material = "Neon"
  7214. a.Transparency = 1
  7215. a.CanCollide = false
  7216. local ray = Ray.new(
  7217. orb.CFrame.p, -- origin
  7218. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  7219. )
  7220. local ignore = orb
  7221. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7222. a.BottomSurface = 10
  7223. a.TopSurface = 10
  7224. local distance = (orb.CFrame.p - position).magnitude
  7225. a.Size = Vector3.new(0.1, 0.1, 0.1)
  7226. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  7227. orb.CFrame = a.CFrame
  7228. a:Destroy()
  7229. local bv = Instance.new("BodyVelocity")
  7230. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7231. bv.velocity = orb.CFrame.lookVector*125
  7232. bv.Parent = orb
  7233. local hitted = false
  7234. game:GetService("Debris"):AddItem(orb, 15)
  7235. wait()
  7236. local hit =orb.Touched:connect(function(hit)
  7237. if hitted == false then
  7238. hitted = true
  7239. CameraEnshaking(10,2.5)
  7240. MagniDamage(orb, 65, 65,90, 0, "Normal")
  7241. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  7242. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  7243. for i = 0, 49 do
  7244. PixelBlock(1,math.random(1,30),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0)
  7245. end
  7246. local eff = Instance.new("ParticleEmitter",orb)
  7247. eff.Texture = "rbxassetid://2273224484"
  7248. eff.LightEmission = 1
  7249. eff.Color = ColorSequence.new(Color3.new(4/255,175/255,236/255))
  7250. eff.Rate = 500000
  7251. eff.Lifetime = NumberRange.new(0.5,2)
  7252. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  7253. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  7254. eff.Speed = NumberRange.new(20,250)
  7255. eff.Drag = 5
  7256. eff.Rotation = NumberRange.new(-500,500)
  7257. eff.VelocitySpread = 9000
  7258. eff.RotSpeed = NumberRange.new(-50,50)
  7259. coroutine.resume(coroutine.create(function()
  7260. wait(0.25)
  7261. eff.Enabled = false
  7262. end))
  7263. CFuncs["Sound"].Create("rbxassetid://1666361078", orb, 30,1)
  7264. for i = 0, 9 do
  7265. sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  7266. sphereMK(2,5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  7267. end
  7268. orb.Anchored = true
  7269. orb.Transparency = 1
  7270. local eff = Instance.new("ParticleEmitter",orb)
  7271. eff.Texture = "rbxassetid://2273224484"
  7272. eff.LightEmission = 1
  7273. eff.Color = ColorSequence.new(Color3.new(M))
  7274. eff.Rate = 500000
  7275. eff.Lifetime = NumberRange.new(0.5,2)
  7276. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  7277. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  7278. eff.Speed = NumberRange.new(20,250)
  7279. eff.Drag = 5
  7280. eff.Rotation = NumberRange.new(-500,500)
  7281. eff.VelocitySpread = 9000
  7282. eff.RotSpeed = NumberRange.new(-50,50)
  7283. coroutine.resume(coroutine.create(function()
  7284. wait(1)
  7285. eff.Enabled = false
  7286. end))
  7287. wait(8)
  7288. orb:Destroy()
  7289. end
  7290. end)
  7291. end))
  7292. for i = 0, 1, 0.1 do
  7293. swait()
  7294. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  7295. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  7296. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4)
  7297. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  7298. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  7299. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  7300. end
  7301. attack = false
  7302. end
  7303.  
  7304.  
  7305. function BeamOfDeath()
  7306. coroutine.resume(coroutine.create(function()
  7307. attack = true
  7308. hum.WalkSpeed = 0
  7309. for i = 0, 11, 0.1 do
  7310. swait()
  7311. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1)
  7312. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1)
  7313. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-16 - 2 * math.cos(sine / 32)),math.rad(3),math.rad(10 - 4 * math.cos(sine / 67))),.1)
  7314. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-23 - 8 * math.cos(sine / 37)),math.rad(-21 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1)
  7315. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),-0.15)*angles(math.rad(125 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 14 * math.cos(sine / 45))),.1)
  7316. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(35 - 8 * math.cos(sine / 51))),.1)
  7317. end
  7318. for i = 0, 1, 0.1 do
  7319. swait()
  7320. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1)
  7321. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1)
  7322. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(16 - 2 * math.cos(sine / 32)),math.rad(3),math.rad(10 - 4 * math.cos(sine / 67))),.1)
  7323. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 8 * math.cos(sine / 37)),math.rad(-21 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1)
  7324. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.15)*angles(math.rad(-5 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 14 * math.cos(sine / 45))),.1)
  7325. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(35 - 8 * math.cos(sine / 51))),.1)
  7326. end
  7327. hum.WalkSpeed = storehumanoidWS
  7328. attack = false
  7329. end))
  7330. CFuncs["Sound"].Create("rbxassetid://1436242274", char, 5, 1,0,10,0.10,0.25,1)
  7331. local radm = math.random(1,3)
  7332. if radm == 1 then
  7333. bosschatfunc("Get Death From My Destiny",MAINRUINCOLOR.Color,1)
  7334. elseif radm == 2 then
  7335. bosschatfunc("Your Existance Was A Mistake All Along",MAINRUINCOLOR.Color,1)
  7336. elseif radm == 3 then
  7337. bosschatfunc("Your Fate Isnt Good Enough For Me...",MAINRUINCOLOR.Color,1)
  7338. end
  7339. local keptcolor = MAINRUINCOLOR
  7340. local orb = Instance.new("Part", char)
  7341. orb.BrickColor = keptcolor
  7342. orb.CanCollide = false
  7343. orb.FormFactor = 3
  7344. orb.Name = "Ring"
  7345. orb.Material = "Neon"
  7346. orb.Size = Vector3.new(1, 1, 1)
  7347. orb.Transparency = 1
  7348. orb.TopSurface = 0
  7349. orb.BottomSurface = 0
  7350. local orbm = Instance.new("SpecialMesh", orb)
  7351. orbm.MeshType = "Sphere"
  7352. orbm.Name = "SizeMesh"
  7353. orbm.Scale = vt(22.5,10000,22.5)
  7354. orb.CFrame = mouse.Hit
  7355. orb.Anchored = true
  7356. orb.Orientation = vt(0,0,0)
  7357. orb.CFrame = orb.CFrame*CFrame.new(0,1,0)
  7358. CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 0.5, 1.2)
  7359. coroutine.resume(coroutine.create(function()
  7360. coroutine.resume(coroutine.create(function()
  7361. for i = 0, 175 do
  7362. swait()
  7363. orbm.Scale = orbm.Scale - vt(0.1,0,0.1)
  7364. orb.Transparency = orb.Transparency - 0.005
  7365. end
  7366. end))
  7367. wait(2)
  7368. coroutine.resume(coroutine.create(function()
  7369. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  7370. if hfr ~= nil then
  7371. for i = 0, 24.5 do
  7372. local deb = Instance.new("Part", char)
  7373. deb.Anchored = true
  7374. deb.CanCollide = false
  7375. deb.FormFactor = 3
  7376. deb.Name = "Ring"
  7377. deb.Material = hitfloor.Material
  7378. deb.Color = hitfloor.Color
  7379. deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55))
  7380. deb.Transparency = 0
  7381. deb.TopSurface = 0
  7382. deb.BottomSurface = 0
  7383. deb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),-5,math.random(-150,150))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  7384. local deb2 = Instance.new("Part", char)
  7385. deb2.CanCollide = false
  7386. deb2.FormFactor = 3
  7387. deb2.Name = "Ring"
  7388. deb2.Material = hitfloor.Material
  7389. deb2.Color = hitfloor.Color
  7390. deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38))
  7391. deb2.Transparency = 0
  7392. deb2.TopSurface = 0
  7393. deb2.BottomSurface = 0
  7394. deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150))
  7395. deb2.CFrame = orb.CFrame*CFrame.new(math.random(-60,60),-5,math.random(-60,60))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  7396. local eff = Instance.new("ParticleEmitter",deb)
  7397. eff.Texture = "rbxassetid://363275192"
  7398. eff.LightEmission = 0.95
  7399. eff.Color = ColorSequence.new(keptcolor.Color)
  7400. eff.Rate = 100
  7401. eff.Lifetime = NumberRange.new(1)
  7402. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
  7403. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7404. eff.Speed = NumberRange.new(0,5)
  7405. eff.Rotation = NumberRange.new(-500,500)
  7406. eff.VelocitySpread = 9000
  7407. eff.RotSpeed = NumberRange.new(-10,10)
  7408. local at1 = Instance.new('Attachment',deb2)
  7409. at1.Position = vt(0,15,0)
  7410. local at2 = Instance.new('Attachment',deb2)
  7411. at2.Position = vt(0,-15,0)
  7412. local tl = Instance.new('Trail',deb2)
  7413. tl.Attachment0 = at1
  7414. tl.Attachment1 = at2
  7415. tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7416. tl.Color = ColorSequence.new(BrickColor.new('White').Color)
  7417. tl.Lifetime = 1
  7418. game:GetService("Debris"):AddItem(deb,30)
  7419. game:GetService("Debris"):AddItem(deb2,30)
  7420. coroutine.resume(coroutine.create(function()
  7421. wait(15)
  7422. eff.Enabled = false
  7423. for i = 0, 49 do
  7424. swait()
  7425. deb.Transparency = deb.Transparency + 0.02
  7426. end
  7427. wait(1)
  7428. deb:Destroy()
  7429. end))
  7430. end
  7431. end
  7432. end))
  7433. for i = 0, 199 do
  7434. swait(1.5)
  7435. for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do
  7436. if v:FindFirstChild('Head') then
  7437. dmg(v)
  7438. end
  7439. end
  7440. CFuncs["Sound"].Create("rbxassetid://1666361078", orb, 30,1)
  7441. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),5,5,5,keptcolor)
  7442. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),1,35,1,keptcolor)
  7443. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),0,50,0,keptcolor)
  7444. sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor)
  7445. end
  7446. orb:Destroy()
  7447. end))
  7448. end
  7449.  
  7450. function Beams()
  7451. attack = true
  7452. hum.WalkSpeed = 0
  7453. CFuncs["EchoSound"].Create("rbxassetid://1436242274", char, 8, 1,0,10,0.15,0.5,1)
  7454. CFuncs["EchoSound"].Create("rbxassetid://1436242274", root, 60, 1,0,10,0.15,0.5,1)
  7455. bosschatfunc("You'll gone..",MAINRUINCOLOR.Color,2)
  7456. local keptcolor = MAINRUINCOLOR
  7457. coroutine.resume(coroutine.create(function()
  7458. for i = 0, 96 do
  7459. swait(5)
  7460. local orb = Instance.new("Part", char)
  7461. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  7462. orb.BrickColor = keptcolor
  7463. orb.CanCollide = false
  7464. orb.FormFactor = 3
  7465. orb.Name = "Ring"
  7466. orb.Material = "Neon"
  7467. orb.Size = Vector3.new(1, 1, 1)
  7468. orb.Transparency = 0
  7469. orb.TopSurface = 0
  7470. orb.BottomSurface = 0
  7471. orb.Anchored = true
  7472. local orbm = Instance.new("SpecialMesh", orb)
  7473. orbm.MeshType = "Sphere"
  7474. orbm.Name = "SizeMesh"
  7475. orbm.Scale = vt(1.25,1.25,1.25)
  7476. orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6))
  7477. sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7478. coroutine.resume(coroutine.create(function()
  7479. wait(0.5)
  7480. CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
  7481. sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7482. sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7483. orb.Transparency = 1
  7484. local a = Instance.new("Part",char)
  7485. a.Name = "Direction"
  7486. a.Anchored = true
  7487. a.BrickColor = keptcolor
  7488. a.Material = "Neon"
  7489. a.Transparency = 0.25
  7490. a.Shape = "Cylinder"
  7491. local ht = Instance.new("Part",char)
  7492. ht.Name = "DirectionHit"
  7493. ht.Anchored = true
  7494. ht.BrickColor = keptcolor
  7495. ht.CanCollide = false
  7496. ht.Transparency = 1
  7497. ht.Size = vt(0.1,0.1,0.1)
  7498. CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.6)
  7499. a.CanCollide = false
  7500. local ray = Ray.new(
  7501. orb.CFrame.p, -- origin
  7502. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  7503. )
  7504. local ignore = char
  7505. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7506. a.BottomSurface = 10
  7507. a.TopSurface = 10
  7508. local distance = (orb.CFrame.p - position).magnitude
  7509. a.Size = Vector3.new(distance,1,1)
  7510. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7511. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7512. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  7513. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  7514. MagniDamage(ht, 9, 30,60, 0, "Normal")
  7515. coroutine.resume(coroutine.create(function()
  7516. local eff = Instance.new("ParticleEmitter",ht)
  7517. eff.Texture = "rbxassetid://284205403"
  7518. eff.LightEmission = 0.95
  7519. eff.Color = ColorSequence.new(keptcolor.Color)
  7520. eff.Rate = 500
  7521. eff.Lifetime = NumberRange.new(0.5)
  7522. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  7523. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7524. eff.Speed = NumberRange.new(10,50)
  7525. eff.Drag = 5
  7526. eff.Rotation = NumberRange.new(-500,500)
  7527. eff.VelocitySpread = 9000
  7528. eff.RotSpeed = NumberRange.new(-500,500)
  7529. wait(0.25)
  7530. eff.Enabled = false
  7531. end))
  7532. for i = 0, 4 do
  7533. sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.005,0.125,-0.005,keptcolor)
  7534. sphere2(4,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.01,0.5,-0.01,keptcolor)
  7535. local rsiz = math.random(10,30)
  7536. sphereMK(math.random(2,4),0.25,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  7537. end
  7538. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7539. local msh = Instance.new("SpecialMesh",a)
  7540. msh.MeshType = "Cylinder"
  7541. msh.Scale = vt(1,1,1)
  7542. for i = 0, 49 do
  7543. swait()
  7544. msh.Scale = msh.Scale + vt(0,0.01,0.01)
  7545. a.Transparency = a.Transparency + 0.02
  7546. end
  7547. orb:Destroy()
  7548. a:Destroy()
  7549. ht:Destroy()
  7550. end))
  7551. game:GetService("Debris"):AddItem(orb, 10)
  7552. end
  7553. end))
  7554. for i = 0,6,0.1 do
  7555. swait()
  7556. sphere2(7,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,keptcolor)
  7557. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.2 * math.cos(sine / 35))* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
  7558. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
  7559. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3)
  7560. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3)
  7561. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 6 * math.cos(sine / 39))),.1)
  7562. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 45))),.1)
  7563. end
  7564. hum.WalkSpeed = storehumanoidWS
  7565. attack = false
  7566. end
  7567.  
  7568. function CalamityTrans()
  7569. attack = true
  7570. rainbowmode = false
  7571. chaosmode = false
  7572. ModeOfGlitch = 8889
  7573. hum.WalkSpeed = 0
  7574. newThemeCust("rbxassetid://716114804",0,1,1.25)
  7575. local elocacenter = CreateParta(root,1,1,"SmoothPlastic",BrickColor.random())
  7576. elocacenter.Anchored = true
  7577. elocacenter.CFrame = root.CFrame
  7578. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7579. eloca1.Anchored = true
  7580. eloca1.CFrame = elocacenter.CFrame
  7581. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7582. eloca2.Anchored = true
  7583. eloca2.CFrame = elocacenter.CFrame
  7584. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7585. eloca3.Anchored = true
  7586. eloca3.CFrame = elocacenter.CFrame
  7587. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7588. eloca4.Anchored = true
  7589. eloca4.CFrame = elocacenter.CFrame
  7590. local lookavec = 0
  7591. local speeds = 0
  7592. CameraEnshaking(3,2.5)
  7593. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7594. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7595. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7596. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7597. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7598. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7599. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 10, 1)
  7600. for i = 0, 5, 0.1 do
  7601. swait()
  7602. ---
  7603. lookavec = lookavec + 1
  7604. speeds = speeds + 10
  7605. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7606. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7607. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7608. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7609. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7610. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7611. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7612. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7613. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7614. ---
  7615. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  7616. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  7617. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7618. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7619. RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  7620. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90 - 2.5 * math.cos(sine / 28))),.1)
  7621. end
  7622. for i = 0, 5, 0.1 do
  7623. swait()
  7624. ---
  7625. speeds = speeds + 10
  7626. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7627. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7628. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7629. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7630. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7631. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7632. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7633. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7634. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7635. ---
  7636. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  7637. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  7638. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7639. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7640. RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  7641. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90 - 2.5 * math.cos(sine / 28))),.1)
  7642. end
  7643. MAINRUINCOLOR = BrickColor.new("Bright violet")
  7644. CFuncs["Sound"].Create("rbxassetid://468991944", eloca1, 5, 1)
  7645. CFuncs["Sound"].Create("rbxassetid://468991944", eloca2, 5, 1)
  7646. CFuncs["Sound"].Create("rbxassetid://468991944", eloca3, 5, 1)
  7647. CFuncs["Sound"].Create("rbxassetid://468991944", eloca4, 5, 1)
  7648. CameraEnshaking(1,3)
  7649. for i = 0, 24 do
  7650. PixelBlock(1,math.random(5,25),"Add",eloca1.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,5,0.1,MAINRUINCOLOR,0)
  7651. PixelBlock(1,math.random(5,25),"Add",eloca2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,5,0.1,MAINRUINCOLOR,0)
  7652. PixelBlock(1,math.random(5,25),"Add",eloca3.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,5,0.1,MAINRUINCOLOR,0)
  7653. PixelBlock(1,math.random(5,25),"Add",eloca4.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,5,0.1,MAINRUINCOLOR,0)
  7654. end
  7655. sphere(1,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7656. sphere(2,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7657. sphere(3,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7658. sphere(1,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7659. sphere(2,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7660. sphere(3,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7661. sphere(1,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7662. sphere(2,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7663. sphere(3,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7664. sphere(1,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7665. sphere(2,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7666. sphere(3,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7667. for i = 0, 5, 0.1 do
  7668. swait()
  7669. ---
  7670. lookavec = lookavec - 1
  7671. speeds = speeds + 10
  7672. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7673. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7674. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7675. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7676. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7677. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7678. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7679. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7680. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7681. ---
  7682. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  7683. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  7684. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7685. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7686. RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  7687. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90 - 2.5 * math.cos(sine / 28))),.1)
  7688. end
  7689. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7690. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7691. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7692. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7693. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7694. for i = 0, 49 do
  7695. PixelBlock(1,math.random(8,16),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,10,0.2,MAINRUINCOLOR,0)
  7696. PixelBlock(2,math.random(16,32),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,5,0.05,MAINRUINCOLOR,0)
  7697. end
  7698. CameraEnshaking(5,6)
  7699. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7700. CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1)
  7701. CFuncs["Sound"].Create("rbxassetid://741272936", root, 5, 1)
  7702. CFuncs["Sound"].Create("rbxassetid://164881112", root, 5, 1)
  7703. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 5, 1)
  7704. CFuncs["Sound"].Create("rbxassetid://429123896", root, 5, 0.85)
  7705. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 5, 1)
  7706. storehumanoidWS = 100
  7707. hum.WalkSpeed = 100
  7708. rainbowmode = false
  7709. chaosmode = false
  7710. tl1.Enabled = true
  7711. tl2.Enabled = true
  7712. tl3.Enabled = true
  7713. RecolorTextAndRename("CALAMITY",Color3.new(10,1,1),Color3.new(0.5,0,1),"Code")
  7714. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7715. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7716. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7717. for i, v in pairs(mw2:GetChildren()) do
  7718. if v:IsA("Part") then
  7719. v.BrickColor = MAINRUINCOLOR
  7720. v.Material = "Neon"
  7721. end
  7722. end
  7723. for i, v in pairs(mw1:GetChildren()) do
  7724. if v:IsA("Part") then
  7725. v.Transparency = 0
  7726. v.BrickColor = MAINRUINCOLOR
  7727. v.Material = "Neon"
  7728. end
  7729. end
  7730. for i, v in pairs(m:GetChildren()) do
  7731. if v:IsA("Part") then
  7732. v.Color = Color3.new(0.5,0,1)
  7733. v.Material = "Neon"
  7734. end
  7735. end
  7736. for i, v in pairs(m2:GetChildren()) do
  7737. if v:IsA("Part") then
  7738. v.Color = Color3.new(0.25,0,1)
  7739. v.Material = "Neon"
  7740. end
  7741. end
  7742. for i, v in pairs(m3:GetChildren()) do
  7743. if v:IsA("Part") then
  7744. v.Color = Color3.new(0.45,0,1)
  7745. v.Material = "Neon"
  7746. end
  7747. end
  7748. for i, v in pairs(extrawingmod1:GetChildren()) do
  7749. if v:IsA("Part") then
  7750. v.Transparency = 0.75
  7751. v.Color = Color3.new(0.25,0,1)
  7752. v.Material = "Neon"
  7753. end
  7754. end
  7755. for i, v in pairs(extrawingmod2:GetChildren()) do
  7756. if v:IsA("Part") then
  7757. v.Transparency = 0.75
  7758. v.Color = Color3.new(0.5,0,1)
  7759. v.Material = "Neon"
  7760. end
  7761. end
  7762. attack = false
  7763. end
  7764.  
  7765. function GleamingBeam()
  7766. attack = true
  7767. bosschatfunc("IT ENDS NOW!!!",MAINRUINCOLOR.Color,3)
  7768. CFuncs["EchoSound"].Create("rbxassetid://1535995570", char, 8, 1,0,10,0.15,0.5,1)
  7769. CFuncs["EchoSound"].Create("rbxassetid://1535995570", root, 60, 1,0,10,0.15,0.5,1)
  7770. local rsiz = math.random(1,15)
  7771. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7772. hb.Anchored = true
  7773. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7774. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
  7775. for i = 0, 16, 0.1 do
  7776. swait()
  7777. rsiz = math.random(5,15)
  7778. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7779. sphereMK(math.random(3,9),0.25,"Add",sorb.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,-15)
  7780. sphere2(5,"Add",sorb.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4,4,4),0.01,0.01,0.01,MAINRUINCOLOR)
  7781. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  7782. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  7783. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(40)),.1)
  7784. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-40)),.1)
  7785. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  7786. LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.1)
  7787. end
  7788. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
  7789. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
  7790. for i = 0, 2 do
  7791. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
  7792. end
  7793. sphere2(3,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  7794. sphere2(6,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  7795. sphere2(9,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  7796. for i = 0, 49 do
  7797. local rsiza = math.random(1,15)
  7798. sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0)
  7799. end
  7800. local a = Instance.new("Part",Character)
  7801. a.Name = "Direction"
  7802. a.Anchored = true
  7803. a.BrickColor = MAINRUINCOLOR
  7804. a.Material = "Neon"
  7805. a.Transparency = 0
  7806. a.Shape = "Cylinder"
  7807. a.CanCollide = false
  7808. local ba = Instance.new("Part",Character)
  7809. ba.Name = "HitDirect"
  7810. ba.Anchored = true
  7811. ba.BrickColor = bc("Cool yellow")
  7812. ba.Material = "Neon"
  7813. ba.Transparency = 1
  7814. ba.CanCollide = false
  7815. local ray = Ray.new(
  7816. hb.CFrame.p, -- origin
  7817. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  7818. )
  7819. local ignore = Character
  7820. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7821. a.BottomSurface = 10
  7822. a.TopSurface = 10
  7823. local distance = (hb.CFrame.p - position).magnitude
  7824. a.Size = Vector3.new(distance, 1, 1)
  7825. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7826. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7827. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7828. local msh = Instance.new("SpecialMesh",a)
  7829. msh.MeshType = "Cylinder"
  7830. msh.Scale = vt(1,4,4)
  7831. game:GetService("Debris"):AddItem(a, 30)
  7832. game:GetService("Debris"):AddItem(ba, 30)
  7833. for i = 0, 25, 0.1 do
  7834. swait()
  7835. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7836. ray = Ray.new(
  7837. hb.CFrame.p, -- origin
  7838. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  7839. )
  7840. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7841. distance = (hb.CFrame.p - position).magnitude
  7842. a.Size = Vector3.new(distance, 1, 1)
  7843. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7844. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7845. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7846. rsiz = math.random(5,25)
  7847. MagniDamage(ba, 12, 40000,900000, 0, "Normal")
  7848. sphereMK(math.random(4,8),0.25,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,MAINRUINCOLOR,0)
  7849. for c = 0, 2 do
  7850. sphereMK(math.random(3,6),0.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,MAINRUINCOLOR,2)
  7851. end
  7852. sphere2(5,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4.2,4.2,4.2),0.01,0.01,0.01,MAINRUINCOLOR)
  7853. sphere2(5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(12,12,12),0.05,0.05,0.05,MAINRUINCOLOR)
  7854. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.6)
  7855. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.6)
  7856. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(80)),.6)
  7857. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-80)),.6)
  7858. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(80)),.6)
  7859. LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.6)
  7860. end
  7861. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
  7862. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
  7863. CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
  7864. CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
  7865. MagniDamage(ba, 30, 400000,9000000, 0, "Normal")
  7866. sphere2(1,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR)
  7867. sphere2(2,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR)
  7868. sphere2(3,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR)
  7869. sphere2(3,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  7870. sphere2(6,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  7871. sphere2(9,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  7872. for i = 0, 49 do
  7873. local rsiza = math.random(1,15)
  7874. sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0)
  7875. end
  7876. for i = 0, 49 do
  7877. rsiz = math.random(1,8)
  7878. sphereMK(math.random(1,3),1,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz,rsiz,rsiz,0,MAINRUINCOLOR,2)
  7879. end
  7880. coroutine.resume(coroutine.create(function()
  7881. for i = 0, 99 do
  7882. swait()
  7883. a.Transparency = a.Transparency + 0.01
  7884. end
  7885. a:Destroy()
  7886. ba:Destroy()
  7887. end))
  7888. hb:Destroy()
  7889. attack = false
  7890. end
  7891.  
  7892. function DualGleamingBeam()
  7893. attack = true
  7894. hum.WalkSpeed = 0
  7895. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 5, 1,0,10,0.15,0.5,1)
  7896. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 60, 1,0,10,0.15,0.5,1)
  7897. local radm = math.random(1,3)
  7898. if radm == 1 then
  7899. bosschatfunc("YOU CAN'T ESCAPE THIS!!",MAINRUINCOLOR.Color,1)
  7900. elseif radm == 2 then
  7901. bosschatfunc("HOW DO YOU LIKE THIS?!",MAINRUINCOLOR.Color,1)
  7902. elseif radm == 3 then
  7903. bosschatfunc("You make the choice..",MAINRUINCOLOR.Color,1)
  7904. end
  7905. local rsiz = math.random(1,15)
  7906. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7907. hb.Anchored = true
  7908. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7909. local hb2 = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7910. hb2.Anchored = true
  7911. hb2.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7912. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
  7913. for i = 0, 14, 0.1 do
  7914. swait()
  7915. rsiz = math.random(5,15)
  7916. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7917. hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0)
  7918. sphereMK(math.random(3,9),0.25,"Add",sorb.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,-15)
  7919. sphere2(5,"Add",sorb.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4,4,4),0.01,0.01,0.01,MAINRUINCOLOR)
  7920. sphereMK(math.random(3,9),0.25,"Add",sorb2.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,BrickColor.new("Lime green"),-15)
  7921. sphere2(5,"Add",sorb2.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4,4,4),0.01,0.01,0.01,BrickColor.new("Lime green"))
  7922. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-4 - 2 * math.cos(sine / 53)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  7923. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(9 - 2 * math.cos(sine / 53)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  7924. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.3 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7925. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.1)
  7926. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(120)),.1)
  7927. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-120)),.1)
  7928. end
  7929. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
  7930. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
  7931. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb2, 10,0.6)
  7932. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb2, 10,0.5)
  7933. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
  7934. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb2, 10,1)
  7935. sphere2(3,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  7936. sphere2(6,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  7937. sphere2(9,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  7938. sphere2(3,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,BrickColor.new("Lime green"))
  7939. sphere2(6,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,BrickColor.new("Lime green"))
  7940. sphere2(9,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,BrickColor.new("Lime green"))
  7941. for i = 0, 49 do
  7942. local rsiza = math.random(1,15)
  7943. sphereMK(math.random(1,5),0.75,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0)
  7944. sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0)
  7945. end
  7946. local a = Instance.new("Part",Character)
  7947. a.Name = "Direction"
  7948. a.Anchored = true
  7949. a.BrickColor = MAINRUINCOLOR
  7950. a.Material = "Neon"
  7951. a.Transparency = 0
  7952. a.Shape = "Cylinder"
  7953. a.CanCollide = false
  7954. local a2 = Instance.new("Part",Character)
  7955. a2.Name = "Direction"
  7956. a2.Anchored = true
  7957. a2.BrickColor = MAINRUINCOLOR
  7958. a2.Material = "Neon"
  7959. a2.Transparency = 0
  7960. a2.Shape = "Cylinder"
  7961. a2.CanCollide = false
  7962. local ba = Instance.new("Part",Character)
  7963. ba.Name = "HitDirect"
  7964. ba.Anchored = true
  7965. ba.BrickColor = MAINRUINCOLOR
  7966. ba.Material = "Neon"
  7967. ba.Transparency = 1
  7968. ba.CanCollide = false
  7969. local ba2 = Instance.new("Part",Character)
  7970. ba2.Name = "HitDirect"
  7971. ba2.Anchored = true
  7972. ba2.BrickColor = MAINRUINCOLOR
  7973. ba2.Material = "Neon"
  7974. ba2.Transparency = 1
  7975. ba2.CanCollide = false
  7976. local ray = Ray.new(
  7977. hb.CFrame.p, -- origin
  7978. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  7979. )
  7980. local ignore = Character
  7981. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7982. local ray2 = Ray.new(
  7983. hb2.CFrame.p, -- origin
  7984. (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction
  7985. )
  7986. local hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore)
  7987. local distance2 = (hb2.CFrame.p - position).magnitude
  7988.  
  7989. a.BottomSurface = 10
  7990. a.TopSurface = 10
  7991. local distance = (hb.CFrame.p - position).magnitude
  7992. a.Size = Vector3.new(distance, 1, 1)
  7993. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7994. a2.BottomSurface = 10
  7995. a2.TopSurface = 10
  7996. a2.Size = Vector3.new(distance2, 1, 1)
  7997. a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2)
  7998. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7999. ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2)
  8000. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8001. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  8002. local msh = Instance.new("SpecialMesh",a)
  8003. msh.MeshType = "Cylinder"
  8004. msh.Scale = vt(1,4,4)
  8005. local msh2 = Instance.new("SpecialMesh",a2)
  8006. msh2.MeshType = "Cylinder"
  8007. msh2.Scale = vt(1,4,4)
  8008. game:GetService("Debris"):AddItem(a, 30)
  8009. game:GetService("Debris"):AddItem(a2, 30)
  8010. game:GetService("Debris"):AddItem(ba, 30)
  8011. game:GetService("Debris"):AddItem(ba2, 30)
  8012. for i = 0, 20, 0.1 do
  8013. swait()
  8014. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8015. hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0)
  8016. ray = Ray.new(
  8017. hb.CFrame.p, -- origin
  8018. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8019. )
  8020. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8021. distance = (hb.CFrame.p - position).magnitude
  8022. ray2 = Ray.new(
  8023. hb2.CFrame.p, -- origin
  8024. (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction
  8025. )
  8026. hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore)
  8027. distance2 = (hb2.CFrame.p - position).magnitude
  8028. a.Size = Vector3.new(distance, 1, 1)
  8029. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8030. a2.Size = Vector3.new(distance2, 1, 1)
  8031. a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2)
  8032. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8033. ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2)
  8034. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8035. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  8036. rsiz = math.random(5,25)
  8037. MagniDamage(ba, 12, 800,18000, 0, "Normal")
  8038. MagniDamage(ba2, 12, 800,18000, 0, "Normal")
  8039. for i, v in pairs(FindNearestHead(ba.CFrame.p, 4)) do
  8040. if v:FindFirstChild('Head') then
  8041. dmg(v)
  8042. end
  8043. end
  8044. coroutine.resume(coroutine.create(function()
  8045. local bx = Instance.new("Part",Character)
  8046. bx.Name = "Location"
  8047. bx.Anchored = true
  8048. bx.BrickColor = MAINRUINCOLOR
  8049. bx.Material = "Neon"
  8050. bx.Transparency = 1
  8051. bx.CanCollide = false
  8052. bx.Position = ba.Position
  8053. sphere2(2,"Add",bx.CFrame,vt(20,0.5,20),0.001,0,0.001,MAINRUINCOLOR)
  8054. wait(math.random(1,2))
  8055. sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.1,0,0.1,bc("Lime green"))
  8056. sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.25,0,0.25,MAINRUINCOLOR)
  8057. sphere2(6,"Add",bx.CFrame,vt(10,10,10),0.5,0.5,0.5,bc("Lime green"))
  8058. CFuncs["Sound"].Create("rbxassetid://1042693018", bx, 5,0.7)
  8059. CFuncs["Sound"].Create("rbxassetid://1042695469", bx, 5,0.8)
  8060. MagniDamage(bx, 20, 80000,900000, 0, "Normal")
  8061. for i, v in pairs(FindNearestHead(bx.CFrame.p, 15)) do
  8062. if v:FindFirstChild('Head') then
  8063. dmg(v)
  8064. end
  8065. end
  8066. wait(5)
  8067. bx:Destroy()
  8068. end))
  8069. sphereMK(math.random(4,8),0.25,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,BrickColor.new("Lime green"),0)
  8070. sphereMK(math.random(4,8),0.25,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,BrickColor.new("Lime green"),0)
  8071. for c = 0, 2 do
  8072. sphereMK(math.random(3,6),0.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,BrickColor.new("Lime green"),2)
  8073. end
  8074. sphere2(5,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4.2,4.2,4.2),0.01,0.01,0.01,MAINRUINCOLOR)
  8075. sphere2(5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(12,12,12),0.05,0.05,0.05,MAINRUINCOLOR)
  8076. sphere2(5,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4.2,4.2,4.2),0.01,0.01,0.01,MAINRUINCOLOR)
  8077. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-4 - 2 * math.cos(sine / 53)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  8078. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(9 - 2 * math.cos(sine / 53)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  8079. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.3 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.05)
  8080. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.05)
  8081. RW.C0=clerp(RW.C0,cf(1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-15)),.05)
  8082. LW.C0=clerp(LW.C0,cf(-1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(15)),.05)
  8083. end
  8084. for i = 0, 1 do
  8085. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
  8086. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
  8087. CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
  8088. CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
  8089. end
  8090. MagniDamage(ba, 30, 8000,180000, 0, "Normal")
  8091. MagniDamage(ba2, 30, 8000,180000, 0, "Normal")
  8092. for i, v in pairs(FindNearestHead(ba.CFrame.p, 10)) do
  8093. if v:FindFirstChild('Head') then
  8094. dmg(v)
  8095. end
  8096. end
  8097. sphere2(1,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR)
  8098. sphere2(2,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR)
  8099. sphere2(3,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR)
  8100. sphere2(3,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  8101. sphere2(6,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  8102. sphere2(9,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  8103. sphere2(3,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,bc("Lime green"))
  8104. sphere2(6,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,bc("Lime green"))
  8105. sphere2(9,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,bc("Lime green"))
  8106. for i = 0, 49 do
  8107. local rsiza = math.random(1,15)
  8108. sphereMK(math.random(1,5),0.75,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,bc("Lime green"),0)
  8109. sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,bc("Lime green"),0)
  8110. end
  8111. for i = 0, 49 do
  8112. rsiz = math.random(1,8)
  8113. sphereMK(math.random(1,3),1,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz,rsiz,rsiz,0,bc("Lime green"),2)
  8114. end
  8115. coroutine.resume(coroutine.create(function()
  8116. for i = 0, 99 do
  8117. swait()
  8118. a.Transparency = a.Transparency + 0.01
  8119. a2.Transparency = a2.Transparency + 0.01
  8120. end
  8121. a:Destroy()
  8122. ba:Destroy()
  8123. a2:Destroy()
  8124. ba2:Destroy()
  8125. end))
  8126. hum.WalkSpeed = storehumanoidWS
  8127. hb:Destroy()
  8128. hb2:Destroy()
  8129. attack = false
  8130. end
  8131.  
  8132. function dragin()
  8133. local targetted = nil
  8134. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  8135. targetted = mouse.Target.Parent
  8136. end
  8137. if targetted ~= nil then
  8138. RootPart.CFrame = FaceMouse()[1]
  8139. attack = true
  8140. hum.WalkSpeed = 0
  8141. for x = 0, 1 do
  8142. for i = 0,1,0.5 do
  8143. swait()
  8144. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1)
  8145. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1)
  8146. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  8147. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8148. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  8149. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.3)
  8150. end
  8151. for i = 0,1,0.5 do
  8152. swait()
  8153. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(6),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  8154. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
  8155. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(180)),.3)
  8156. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8157. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  8158. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.3)
  8159. end
  8160. for i = 0,1,0.5 do
  8161. swait()
  8162. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(6),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  8163. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
  8164. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(270)),.3)
  8165. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8166. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  8167. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.3)
  8168. end
  8169. for i = 0,1,0.5 do
  8170. swait()
  8171. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(6),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  8172. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
  8173. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8174. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8175. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  8176. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.3)
  8177. end
  8178. end
  8179. coroutine.resume(coroutine.create(function()
  8180. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 50
  8181. CFuncs["Sound"].Create("rbxassetid://884155627", targetted.Head, 1,1)
  8182. CFuncs["Sound"].Create("rbxassetid://153092213", targetted.Head, 2.5,1)
  8183. end))
  8184. local A1 = Instance.new("Attachment",targetted.Head)
  8185. local A2 = Instance.new("Attachment",sorb)
  8186. local Beem = Instance.new("Beam",tors)
  8187. Beem.Attachment0 = A1
  8188. Beem.Attachment1 = A2
  8189. Beem.Texture = "rbxassetid://897585362"
  8190. Beem.LightEmission = 0.75
  8191. Beem.FaceCamera = true
  8192. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
  8193. Beem.Width0 = 1
  8194. Beem.Width1 = 1
  8195. Beem.TextureMode = "Wrap"
  8196. Beem.TextureLength = 1
  8197. Beem.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8198. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),0.15,0.15,0.15,MAINRUINCOLOR)
  8199. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),0.2,0.2,0.2,MAINRUINCOLOR)
  8200. for x = 0, 24 do
  8201. local rsiz = math.random(5,15)
  8202. sphereMK(math.random(1,5),0.25,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  8203. end
  8204.  
  8205. CFuncs["EchoSound"].Create("rbxassetid://1448032965", char, 7, 1,0,10,0.15,0.5,1)
  8206. CFuncs["EchoSound"].Create("rbxassetid://1448032965", root, 60, 1,0,10,0.15,0.5,1)
  8207. local radm = math.random(1,2)
  8208. if radm == 1 then
  8209. bosschatfunc("GOTCHA!!",MAINRUINCOLOR.Color,1)
  8210. elseif radm == 2 then
  8211. bosschatfunc("COM'ERE!!",MAINRUINCOLOR.Color,1)
  8212. end
  8213. for i = 0,3,0.1 do
  8214. swait()
  8215. coroutine.resume(coroutine.create(function()
  8216. local rsiz = math.random(5,15)
  8217. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
  8218. sphereMK(math.random(1,5),0.01,"Add",targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  8219. end))
  8220. sphere2(8,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR)
  8221. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1)
  8222. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1)
  8223. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(50)),.6)
  8224. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(-50)),.6)
  8225. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(50)),.6)
  8226. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.6)
  8227. end
  8228. CFuncs["Sound"].Create("rbxassetid://231917750", sorb, 1.25,0.9)
  8229. CFuncs["Sound"].Create("rbxassetid://1042716828", sorb, 1.5,1)
  8230. local vel = Instance.new("BodyPosition", targetted.Head)
  8231. vel.P = 12500
  8232. vel.D = 1000
  8233. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  8234. vel.position = hed.CFrame.p + root.CFrame.lookVector*2.75
  8235. for i = 0,4,0.1 do
  8236. swait()
  8237. coroutine.resume(coroutine.create(function()
  8238. local rsiz = math.random(5,15)
  8239. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
  8240. sphereMK(math.random(1,5),0.01,"Add",targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  8241. end))
  8242. sphere2(8,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR)
  8243. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(6),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  8244. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.2)
  8245. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  8246. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(40)),.2)
  8247. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(-50)),.2)
  8248. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.2)
  8249. end
  8250. local visibility = 0
  8251. coroutine.resume(coroutine.create(function()
  8252. for i = 0, 49 do
  8253. swait()
  8254. visibility = visibility + 0.02
  8255. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, visibility),NumberSequenceKeypoint.new(1, visibility)})
  8256. end
  8257. Beem:Destroy()
  8258. A1:Destroy()
  8259. A2:Destroy()
  8260. end))
  8261. game:GetService("Debris"):AddItem(vel,0.75)
  8262. attack = false
  8263. hum.WalkSpeed = storehumanoidWS
  8264.  
  8265. end
  8266. end
  8267.  
  8268. function hugg()
  8269. attack = true
  8270. hum.WalkSpeed = 5
  8271. local rsiz = math.random(5,15)
  8272. for i = 0, 2, 0.1 do
  8273. swait()
  8274. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  8275. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
  8276. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8277. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(0)),.3)
  8278. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(40)),.3)
  8279. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(-40)),.3)
  8280. end
  8281. CFuncs["Sound"].Create("rbxassetid://444895479", root, 0.5,1)
  8282. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8283. hb.Anchored = true
  8284. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  8285. local huggedperson = nil
  8286. local act = false
  8287. local alreadydid = false
  8288. for i = 0, 3, 0.1 do
  8289. swait()
  8290. if act == false then
  8291. for i, v in pairs(FindNearestHead(hb.CFrame.p, 1.25)) do
  8292. if v:FindFirstChild('Head') then
  8293. if alreadydid == false then
  8294. huggedperson = v
  8295. hum.WalkSpeed = 0
  8296. CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
  8297. CFuncs["Sound"].Create("rbxassetid://200632821", root, 1,1.15)
  8298. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 1.5,1)
  8299. CFuncs["Sound"].Create("rbxassetid://884155627", root, 2,1)
  8300. local radm = math.random(1,3)
  8301. if radm == 1 then
  8302. bosschatfunc("I'm sorry.. if I hurt you..",MAINRUINCOLOR.Color,1)
  8303. elseif radm == 2 then
  8304. bosschatfunc("I..I'm interested in you",MAINRUINCOLOR.Color,1)
  8305. elseif radm == 3 then
  8306. bosschatfunc("Don't worry.. I'm with you",MAINRUINCOLOR.Color,1)
  8307. end
  8308. root.Anchored = true
  8309. coroutine.resume(coroutine.create(function()
  8310. huggedperson.Humanoid.WalkSpeed = 0
  8311. huggedperson:WaitForChild("HumanoidRootPart").Anchored = true
  8312. end))
  8313. --chatfunc(string.lower(huggedperson.Name).. "~~",BrickColor.new("Pink").Color,"Normal","SourceSansBold",1)
  8314. alreadydid = true
  8315. act = true
  8316. print(huggedperson.Name)
  8317. end
  8318. end
  8319. end
  8320. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  8321. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(0)),.3)
  8322. elseif act == true then
  8323. coroutine.resume(coroutine.create(function()
  8324. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8325. end))
  8326. rsiz = math.random(5,15)
  8327. sphereMK(math.random(1,4),0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-8,-4),math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),rsiz/20,rsiz/20,rsiz/20,0,MAINRUINCOLOR,0)
  8328. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(40)),.1)
  8329. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8330. end
  8331. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  8332. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
  8333. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8334. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8335. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8336. end
  8337. hb:Destroy()
  8338. if act == true then
  8339. for x = 0, 2 do
  8340. for i = 0, 2, 0.1 do
  8341. swait()
  8342. coroutine.resume(coroutine.create(function()
  8343. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8344. end))
  8345. rsiz = math.random(5,15)
  8346. sphereMK(math.random(1,4),0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-8,-4),math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),rsiz/20,rsiz/20,rsiz/20,0,MAINRUINCOLOR,0)
  8347. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(45)),.1)
  8348. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8349. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  8350. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
  8351. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8352. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8353. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8354. end
  8355. for i = 0, 2, 0.1 do
  8356. swait()
  8357. coroutine.resume(coroutine.create(function()
  8358. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8359. end))
  8360. rsiz = math.random(5,15)
  8361. sphereMK(math.random(1,4),0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-8,-4),math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),rsiz/20,rsiz/20,rsiz/20,0,MAINRUINCOLOR,0)
  8362. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(35)),.1)
  8363. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8364. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  8365. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
  8366. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8367. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8368. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8369. end
  8370. end
  8371. end
  8372. hum.WalkSpeed = storehumanoidWS
  8373. root.Anchored = false
  8374. if act == true then
  8375. coroutine.resume(coroutine.create(function()
  8376. huggedperson.Humanoid.WalkSpeed = 16
  8377. huggedperson:WaitForChild("HumanoidRootPart").Anchored = false
  8378. end))
  8379. end
  8380. hum.WalkSpeed = storehumanoidWS
  8381. attack = false
  8382. end
  8383.  
  8384. function Counter()
  8385. hum.WalkSpeed = 0
  8386. CFuncs["EchoSound"].Create("rbxassetid://2370794297", char, 5, 1,0,10,0.15,0.5,1)
  8387. CFuncs["EchoSound"].Create("rbxassetid://2370794297", root, 60, 1,0,10,0.15,0.5,1)
  8388. bosschatfunc("COUNTER!!",MAINRUINCOLOR.Color,1)
  8389. attack = true
  8390. for i = 0,1,0.1 do
  8391. swait()
  8392. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8393. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8394. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3)
  8395. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3)
  8396. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(10)),.3)
  8397. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.3)
  8398. end
  8399. CameraEnshaking(3,4)
  8400. MagniDamageWithEffect(root, 24, 0,0, 75, "Normal")
  8401. sphere2(10,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(50)),vt(5,5,5),0.35,0.35,0.35,MAINRUINCOLOR)
  8402. sphere2(1.5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(50)),vt(5,5,5),0.35,0.35,0.35,MAINRUINCOLOR)
  8403. sphere2(20,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(50)),vt(5,5,5),0.35,0.35,0.35,MAINRUINCOLOR)
  8404. coroutine.resume(coroutine.create(function()
  8405. local eff = Instance.new("ParticleEmitter",root)
  8406. eff.Texture = "rbxassetid://363275192"
  8407. eff.LightEmission = 0.95
  8408. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8409. eff.Rate = 10000
  8410. eff.Lifetime = NumberRange.new(1)
  8411. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  8412. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  8413. eff.Speed = NumberRange.new(10,125)
  8414. eff.Drag = 5
  8415. eff.Rotation = NumberRange.new(-500,500)
  8416. eff.VelocitySpread = 9000
  8417. eff.RotSpeed = NumberRange.new(-50,50)
  8418. local eff2 = eff:Clone()
  8419. eff2.Parent = root
  8420. eff2.Texture = "rbxassetid://284205403"
  8421. eff2.Rate = 10000
  8422. eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,30,0),NumberSequenceKeypoint.new(1,0,0)})
  8423. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  8424. eff2.Drag = 5
  8425. eff2.Speed = NumberRange.new(10,50)
  8426. eff2.Rotation = NumberRange.new(-500,500)
  8427. eff2.VelocitySpread = 9000
  8428. wait(0.25)
  8429. eff2.Enabled = false
  8430. eff.Enabled = false
  8431. wait(3)
  8432. eff2:Destroy()
  8433. eff:Destroy()
  8434. end))
  8435. for i = 0, 9 do
  8436. sphere2(1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.0025,1,-0.0025,MAINRUINCOLOR)
  8437. end
  8438. for i = 0, 24 do
  8439. local rsiz = math.random(5,20)
  8440. sphereMK(math.random(2,10),0.75,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/8,rsiz/8,rsiz/8,0,MAINRUINCOLOR,0)
  8441. end
  8442. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
  8443. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
  8444. CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
  8445. for i = 0,2,0.1 do
  8446. swait()
  8447. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  8448. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8449. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  8450. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  8451. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.3)
  8452. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.3)
  8453. end
  8454. hum.WalkSpeed = storehumanoidWS
  8455. attack = false
  8456. end
  8457.  
  8458. function superjump()
  8459. attack = true
  8460. hum.WalkSpeed = 0
  8461. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  8462. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  8463. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7.5, 1)
  8464. for i = 0, 2, 0.1 do
  8465. swait()
  8466. root.Velocity = vt(0,0,0)
  8467. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,250)/250,BrickColor.new("White"))
  8468. RH.C0=clerp(RH.C0,cf(1,-0.45,-0.45)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(20)),.4)
  8469. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(40)),.4)
  8470. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,-1)*angles(math.rad(20),math.rad(0),math.rad(0)),.4)
  8471. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(0)),.4)
  8472. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(40)),.4)
  8473. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(-40)),.4)
  8474. end
  8475. MagniDamage(root, 28, 25,50, 25, "Normal")
  8476. CFuncs["Sound"].Create("rbxassetid://477843807", char, 17, 1.05)
  8477. hum.Jump = true
  8478. swait()
  8479. root.Velocity = vt(0,250,0) + root.CFrame.lookVector*250
  8480. sphere2(5,"Add",root.CFrame*CFrame.Angles(math.rad(-45),0,0),vt(25,1,25),0.3,5,0.3,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  8481. sphere2(5,"Add",root.CFrame*CFrame.Angles(math.rad(-45),0,0),vt(25,1,25),0.2,4,0.2,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  8482. CFuncs["Sound"].Create("rbxassetid://1295446488", root, 10, 1)
  8483. for i = 0, 3, 0.1 do
  8484. swait()
  8485. RH.C0=clerp(RH.C0,cf(1,-0.45,-0.45)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-20)),.4)
  8486. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(30)),.4)
  8487. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.75,0)*angles(math.rad(40),math.rad(0),math.rad(0)),.4)
  8488. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.4)
  8489. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-30),math.rad(0),math.rad(20)),.4)
  8490. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(-30),math.rad(0),math.rad(-20)),.4)
  8491. end
  8492. attack = false
  8493. if equipped == false then
  8494. hum.WalkSpeed = 16
  8495. else
  8496. hum.WalkSpeed = 24
  8497. end
  8498. end
  8499.  
  8500.  
  8501. -------------------------------------
  8502.  
  8503.  
  8504.  
  8505. Humanoid.Animator.Parent = nil
  8506.  
  8507.  
  8508.  
  8509. -------------------------------------
  8510.  
  8511. local attacktype = 1
  8512. mouse.Button1Down:connect(function()
  8513. if attack == false and attacktype == 1 then
  8514. attacktype = 2
  8515. attackone()
  8516. elseif attack == false and attacktype == 2 then
  8517. attacktype = 3
  8518. attacktwo()
  8519. elseif attack == false and attacktype == 3 then
  8520. attacktype = 1
  8521. attackthree()
  8522. elseif attack == false and attacktype == 4 then
  8523. attacktype = 1
  8524. --attackfour()
  8525. end
  8526. end)
  8527. mouse.KeyDown:connect(function(k)
  8528. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  8529. --normalmog()
  8530. ModeOfGlitch = 1
  8531. storehumanoidWS = 16
  8532. hum.WalkSpeed = 16
  8533. rainbowmode = false
  8534. chaosmode = false
  8535. newTheme("rbxassetid://614032233",48.6,1,30)
  8536. RecolorTextAndRename("MAYHEM",Color3.new(255, 0, 0),Color3.new(0,0,0),"Antique")
  8537. MAINRUINCOLOR = BrickColor.new("Really red")
  8538. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  8539. end
  8540. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  8541. ModeOfGlitch = 2
  8542. storehumanoidWS = 16
  8543. hum.WalkSpeed = 16
  8544. rainbowmode = false
  8545. chaosmode = false
  8546. RecolorTextAndRename("PURITY",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
  8547. newTheme("rbxassetid://1539245059",0,1,0.85)
  8548. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  8549. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8550. end
  8551. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  8552. ModeOfGlitch = 4
  8553. storehumanoidWS = 14
  8554. hum.WalkSpeed = 14
  8555. rainbowmode = false
  8556. chaosmode = true
  8557. RecolorTextAndRename("INSTINCT",Color3.new(0,0,0),Color3.new(1,1,1),"Arcade")
  8558. newTheme("rbxassetid://1255569288",0,1.01,0.85)
  8559. MAINRUINCOLOR = BrickColor.new("Black")
  8560. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8561. end
  8562. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  8563. ModeOfGlitch = 5
  8564. storehumanoidWS = 14
  8565. hum.WalkSpeed = 14
  8566. rainbowmode = false
  8567. chaosmode = false
  8568. RecolorTextAndRename("DIVIN POWER",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
  8569. newTheme("rbxassetid://661079869",0,1.02,0.85)
  8570. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  8571. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8572. end
  8573. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  8574. newTheme("rbxassetid://360366727",0,1.01,0.85)
  8575. bosschatfunc("ROOOOOOAHG!!!",MAINRUINCOLOR.Color,3)
  8576. for i = 0,4,0.1 do
  8577. swait()
  8578. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8579. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8580. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3)
  8581. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3)
  8582. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
  8583. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
  8584. end
  8585. sphere(0.9,"Add",root.CFrame,vt(0,100000,0),1,BrickColor.new("White"))
  8586. for i = 0, 49 do
  8587. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),8,8,8,0.16,BrickColor.new("Institutional white"),0)
  8588. end
  8589. ModeOfGlitch = 6
  8590. storehumanoidWS = 65
  8591. hum.WalkSpeed = 65
  8592. rainbowmode = false
  8593. chaosmode = false
  8594. RecolorTextAndRename("GALAXY COLLAPSE",Color3.new(17, 17, 17),Color3.new(1,1,1),"Fantasy")
  8595. MAINRUINCOLOR = BrickColor.new("White")
  8596. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8597. end
  8598. if k == "f" and attack == false and ModeOfGlitch ~= 8 then
  8599. ModeOfGlitch = 8
  8600. storehumanoidWS = 100
  8601. hum.WalkSpeed = 100
  8602. rainbowmode = false
  8603. chaosmode = false
  8604. RecolorTextAndRename("CALAMITY",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
  8605. newTheme("rbxassetid://1027314531",0,1.01,0.85)
  8606. MAINRUINCOLOR = BrickColor.new("Alder")
  8607. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8608. end
  8609. if k == "g" and attack == false and ModeOfGlitch ~= 9 then
  8610. ModeOfGlitch = 9
  8611. storehumanoidWS = 85
  8612. hum.WalkSpeed = 85
  8613. rainbowmode = false
  8614. chaosmode = false
  8615. RecolorTextAndRename("INFESTATION",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
  8616. newTheme("rbxassetid://1296208488",0,1.01,0.85)
  8617. MAINRUINCOLOR = BrickColor.new("Br. yellowish green")
  8618. RecolorThing(MAINRUINCOLOR,BrickColor.new("Lime green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8619. end
  8620. if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
  8621. CalamityTrans()
  8622. end
  8623. if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
  8624. ModeOfGlitch = 55469696922
  8625. storehumanoidWS = 260
  8626. hum.WalkSpeed = 260
  8627. rainbowmode = false
  8628. chaosmode = false
  8629. RecolorTextAndRename("REVENGE",Color3.new(0.25,0,0.1),BrickColor.new("Deep orange").Color,"Arcade")
  8630. newTheme("rbxassetid://2747869710",0,1.005,0.9)
  8631. MAINRUINCOLOR = BrickColor.new("Deep orange")
  8632. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8633. end
  8634.  
  8635. if k == "b" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
  8636. ModeOfGlitch = 5546
  8637. bosschatfunc("[Why...]",MAINRUINCOLOR.Color,3)
  8638.  
  8639. storehumanoidWS = 5
  8640. hum.WalkSpeed = 5
  8641. rainbowmode = false
  8642. chaosmode = false
  8643. RecolorTextAndRename("Sadness",Color3.new(1,1,1),BrickColor.new("Black").Color,"Antique")
  8644. newTheme("rbxassetid://700666822",0,1.005,0.9)
  8645. MAINRUINCOLOR = BrickColor.new("White")
  8646. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8647. end
  8648.  
  8649. if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  8650. ModeOfGlitch = 4367677813
  8651. storehumanoidWS = 75
  8652. hum.WalkSpeed = 75
  8653. rainbowmode = false
  8654. chaosmode = false
  8655. RecolorTextAndRename("SHD",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
  8656. newTheme("rbxassetid://363284685",0,1.01,0.95)
  8657. MAINRUINCOLOR = BrickColor.new("Baby blue")
  8658. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8659. end
  8660.  
  8661.  
  8662. if k == "r" and attack == false then
  8663. CFuncs["Sound"].Create("rbxassetid://138122923", root, 3, 1)
  8664. ModeOfGlitch = 3
  8665. storehumanoidWS = 10
  8666. hum.WalkSpeed = 10
  8667. rainbowmode = false
  8668. chaosmode = false
  8669. RecolorTextAndRename("CORRUPTION",Color3.new(1,0,0),BrickColor.new("Royal purple").Color,"Arcade")
  8670. newTheme("rbxassetid://1283869370",0,1.01,0.95)
  8671. MAINRUINCOLOR = BrickColor.new("Royal purple")
  8672. RecolorThing(MAINRUINCOLOR,BrickColor.new("Royal purple"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8673. end
  8674.  
  8675. if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 9999999921111 then
  8676. ModeOfGlitch = 9999999921111
  8677. storehumanoidWS = 145
  8678. hum.WalkSpeed = 145
  8679. rainbowmode = false
  8680. chaosmode = false
  8681. RecolorTextAndRename("BANGTAN OMEGA",BrickColor.new("Really black").Color,BrickColor.new("Royal purple").Color,"SciFi")
  8682. newTheme("rbxassetid://2220957452",0,1.01,1)
  8683. MAINRUINCOLOR = BrickColor.new("Royal purple")
  8684. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8685. end
  8686. if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
  8687. ModeOfGlitch = 999999999556
  8688. storehumanoidWS = 115
  8689. hum.WalkSpeed = 115
  8690. rainbowmode = false
  8691. chaosmode = false
  8692. RecolorTextAndRename("CRAZED",BrickColor.new("Lapis").Color,BrickColor.new("Lapis").Color,"Code")
  8693. newTheme("rbxassetid://1422695084",0,1.02,0.85)
  8694. MAINRUINCOLOR = BrickColor.new("Lapis")
  8695. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8696. end
  8697. if k == "m" and attack == false and ModeOfGlitch == 3 and ModeOfGlitch ~= 12 then
  8698. ModeOfGlitch = 12
  8699. storehumanoidWS = 19
  8700. hum.WalkSpeed = 19
  8701. rainbowmode = false
  8702. chaosmode = false
  8703. print'Mode was meant for Vengeful Program or those other fans out there'
  8704. RecolorTextAndRename("NEPTUNIA",BrickColor.new("Royal purple").Color,BrickColor.new("Bright blue").Color,"SciFi")
  8705. newTheme("rbxassetid://1873219898",0,1,1.7)
  8706. MAINRUINCOLOR = BrickColor.new("Royal purple")
  8707. RecolorThing(MAINRUINCOLOR,BrickColor.new("Bright blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8708. end
  8709. if k == "n" and attack == false and ModeOfGlitch == 3 and ModeOfGlitch ~= 900 then
  8710. ModeOfGlitch = 900
  8711. storehumanoidWS = 19
  8712. hum.WalkSpeed = 19
  8713. rainbowmode = false
  8714. chaosmode = false
  8715. print'This is an Undertale Mode '
  8716. RecolorTextAndRename("BONESCUFFLE",BrickColor.new("Black").Color,BrickColor.new("Crimson").Color,"Fantasy")
  8717. newTheme("rbxassetid://2112150271",0,1,2.7)
  8718. MAINRUINCOLOR = BrickColor.new("Black")
  8719. RecolorThing(MAINRUINCOLOR,BrickColor.new("Crimson"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8720. end
  8721. if k == "m" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  8722. ModeOfGlitch = 1264532489
  8723. storehumanoidWS = 175
  8724. hum.WalkSpeed = 175
  8725. rainbowmode = false
  8726. chaosmode = false
  8727. RecolorTextAndRename("DemonZ",Color3.new(1.7,0,2),BrickColor.new("Dark purple").Color,"Antique")
  8728. newTheme("rbxassetid://978522381",0,1,1.25)
  8729. MAINRUINCOLOR = BrickColor.new("Dark purple")
  8730. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8731. end
  8732. if k == "n" and attack == false and ModeOfGlitch == 5546 then
  8733. bosschatfunc("THIS IS WHAT HAPPENS WHEN YOU MESS WITH ME",MAINRUINCOLOR.Color,2)
  8734. hum.WalkSpeed = 0
  8735. attack = true
  8736. for i = 0,1,0.1 do
  8737. swait()
  8738. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8739. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8740. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3)
  8741. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3)
  8742. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
  8743. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
  8744. end
  8745. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  8746. for i = 0, 49 do
  8747. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  8748. end
  8749. for i = 0,3,0.1 do
  8750. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  8751. end
  8752. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8753. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8754. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8755. hum.WalkSpeed = storehumanoidWS
  8756. attack = false
  8757. ModeOfGlitch = 13
  8758. storehumanoidWS = 45
  8759. hum.WalkSpeed = 45
  8760. rainbowmode = false
  8761. chaosmode = false
  8762. RecolorTextAndRename("TIME BREAKER",BrickColor.new("Eggplant").Color,BrickColor.new("Really black").Color,"Fantasy")
  8763. newTheme("rbxassetid://2385999365",0,1,1.35)
  8764. MAINRUINCOLOR = BrickColor.new("Eggplant")
  8765. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,0,BrickColor.new("Really black"),true)
  8766. for i = 0,2,0.1 do
  8767. swait()
  8768. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  8769. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8770. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  8771. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  8772. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
  8773. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
  8774. end
  8775. end
  8776.  
  8777.  
  8778.  
  8779. if k == "b" and attack == false and ModeOfGlitch == 13 then
  8780. newTheme("rbxassetid://780158432",46.0000,1,1)
  8781. bosschatfunc("THE END IS HERE, HERE FOR YOU",MAINRUINCOLOR.Color,4)
  8782. wait(4)
  8783. bosschatfunc("WE WILL STILL BE HERE, WE ARE ALWAYS HERE",MAINRUINCOLOR.Color,4)
  8784. wait(4)
  8785. bosschatfunc("TILL THE WORLD IS OUT OF SITE, WE ARE STILL HERE",MAINRUINCOLOR.Color,4)
  8786. wait(4)
  8787. bosschatfunc("there is no we...IT IS I!",MAINRUINCOLOR.Color,4)
  8788. wait(4)
  8789. bosschatfunc("I AM THE KING,I AM THE CHILD.",MAINRUINCOLOR.Color,4)
  8790. wait(4)
  8791. bosschatfunc("나는 왕이다!",MAINRUINCOLOR.Color,4)
  8792. wait(4)
  8793. hum.WalkSpeed = 0
  8794. attack = true
  8795. for i = 0,1,0.1 do
  8796. swait()
  8797. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8798. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8799. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3)
  8800. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3)
  8801. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
  8802. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
  8803. end
  8804. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  8805. for i = 0, 49 do
  8806. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  8807. end
  8808. for i = 0,3,0.1 do
  8809. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  8810. end
  8811. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8812. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8813. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8814. hum.WalkSpeed = storehumanoidWS
  8815. attack = false
  8816. ModeOfGlitch = 13
  8817. storehumanoidWS = 45
  8818. hum.WalkSpeed = 45
  8819. rainbowmode = false
  8820. chaosmode = false
  8821. RecolorTextAndRename("RLDO/-[!왕!]-\GKNI",BrickColor.new("Lily white").Color,BrickColor.new("Really black").Color,"Fantasy")
  8822. MAINRUINCOLOR = BrickColor.new("Lily white")
  8823. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,0,BrickColor.new("Really black"),true)
  8824. for i = 0,2,0.1 do
  8825. swait()
  8826. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  8827. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8828. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  8829. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  8830. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
  8831. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
  8832. end
  8833. end
  8834.  
  8835.  
  8836.  
  8837. if k == "n" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 200 then
  8838. hum.WalkSpeed = 0
  8839. attack = true
  8840. for i = 0,1,0.1 do
  8841. swait()
  8842. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8843. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8844. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3)
  8845. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3)
  8846. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
  8847. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
  8848. end
  8849. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  8850. for i = 0, 49 do
  8851. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  8852. end
  8853. for i = 0,3,0.1 do
  8854. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  8855. end
  8856. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8857. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8858. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8859. hum.WalkSpeed = storehumanoidWS
  8860. attack = false
  8861. ModeOfGlitch = 13
  8862. storehumanoidWS = 45
  8863. hum.WalkSpeed = 45
  8864. rainbowmode = false
  8865. chaosmode = false
  8866. RecolorTextAndRename("Withered Glitcher",BrickColor.new("Medium stone grey").Color,BrickColor.new("Really black").Color,"Arcade")
  8867. newTheme("rbxassetid://2409395541",0,1,1.35)
  8868. MAINRUINCOLOR = BrickColor.new("Medium stone grey")
  8869. RecolorThing(MAINRUINCOLOR,BrickColor.new("Bronze"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8870. for i = 0,2,0.1 do
  8871. swait()
  8872. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  8873. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8874. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  8875. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  8876. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
  8877. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
  8878. end
  8879. end
  8880.  
  8881.  
  8882. if k == "m" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  8883. ModeOfGlitch = 4367677813
  8884. storehumanoidWS = 75
  8885. hum.WalkSpeed = 75
  8886. rainbowmode = false
  8887. chaosmode = false
  8888.  
  8889. RecolorTextAndRename("DHA",Color3.new(1,1,0),BrickColor.new("Gold").Color,"Garamond")
  8890. newTheme("rbxassetid://765388847",0,1,0.95)
  8891. MAINRUINCOLOR = BrickColor.new("Bright green")
  8892. RecolorThing(MAINRUINCOLOR,BrickColor.new("Gold"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8893. end
  8894. if k == "b" and attack == false and ModeOfGlitch == 1003 and ModeOfGlitch ~= 9999999921111 then
  8895. ModeOfGlitch = 9999999921111
  8896. storehumanoidWS = 145
  8897. hum.WalkSpeed = 145
  8898. rainbowmode = false
  8899. chaosmode = false
  8900. RecolorTextAndRename("ALPHA INSANITY",BrickColor.new("Really black").Color,BrickColor.new("Bright orange").Color,"SciFi")
  8901. newTheme("rbxassetid://943961217",0,1.01,1)
  8902. MAINRUINCOLOR = BrickColor.new("Bright orange")
  8903. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8904. end
  8905.  
  8906. if k == "m" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 50 then
  8907. sphere(0.9,"Add",root.CFrame,vt(0,100000,0),1,BrickColor.new("Institutional white"))
  8908. for i = 0, 49 do
  8909. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),8,8,8,0.16,BrickColor.new("Institutional white"),0)
  8910. end
  8911. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8912. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8913. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8914. hum.WalkSpeed = storehumanoidWS
  8915. attack = false
  8916. ModeOfGlitch = 50
  8917. storehumanoidWS = 18
  8918. hum.WalkSpeed = 18
  8919. rainbowmode = false
  8920. chaosmode = false
  8921. RecolorTextAndRename("EnBelived",BrickColor.new("Institutional white").Color,BrickColor.new("Institutional white").Color,"Arcade")
  8922. newTheme("rbxassetid://435773595",0,1.01,1.5)
  8923. MAINRUINCOLOR = BrickColor.new("Institutional white")
  8924. RecolorThing(MAINRUINCOLOR,BrickColor.new("Institutional white"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8925. end
  8926.  
  8927. if k == "m" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 66 then
  8928. hum.WalkSpeed = 0
  8929. attack = true
  8930. for i = 0,1,0.1 do
  8931. swait()
  8932. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8933. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8934. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3)
  8935. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3)
  8936. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
  8937. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
  8938. end
  8939. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  8940. for i = 0, 148 do
  8941. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  8942. end
  8943. for i = 0,3,0.1 do
  8944. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  8945. end
  8946. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8947. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8948. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8949. hum.WalkSpeed = storehumanoidWS
  8950. attack = false
  8951. ModeOfGlitch = 66
  8952. storehumanoidWS = 16
  8953. hum.WalkSpeed = 16
  8954. rainbowmode = false
  8955. chaosmode = false
  8956. newTheme("rbxassetid://"..ast[Mrandom(1,2)],0,1,1.35)
  8957. MAINRUINCOLOR = BrickColor.new("Really black")
  8958. RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8959. for i = 0,2,0.1 do
  8960. swait()
  8961. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  8962. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8963. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  8964. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  8965. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
  8966. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
  8967. end
  8968. end
  8969.  
  8970. if k == "m" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 13 then
  8971. hum.WalkSpeed = 0
  8972. attack = true
  8973. for i = 0,1,0.1 do
  8974. swait()
  8975. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8976. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8977. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3)
  8978. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3)
  8979. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
  8980. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
  8981. end
  8982. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  8983. for i = 0, 49 do
  8984. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  8985. end
  8986. for i = 0,3,0.1 do
  8987. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  8988. end
  8989. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8990. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8991. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8992. hum.WalkSpeed = storehumanoidWS
  8993. attack = false
  8994. ModeOfGlitch = 13
  8995. storehumanoidWS = 45
  8996. hum.WalkSpeed = 45
  8997. rainbowmode = false
  8998. chaosmode = false
  8999. RecolorTextAndRename("Judician",BrickColor.new("Dark stone grey").Color,BrickColor.new("Light blue").Color,"Bodoni")
  9000. newTheme("rbxassetid://190845741",0,1,1.35)
  9001. MAINRUINCOLOR = BrickColor.new("Dark stone grey")
  9002. RecolorThing(MAINRUINCOLOR,BrickColor.new("Light blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9003. for i = 0,2,0.1 do
  9004. swait()
  9005. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  9006. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  9007. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  9008. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  9009. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
  9010. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
  9011. end
  9012. end
  9013. if k == "j" and attack == false and ModeOfGlitch ~= 1002 then
  9014. ModeOfGlitch = 1002
  9015. storehumanoidWS = 45
  9016. hum.WalkSpeed = 45
  9017. rainbowmode = false
  9018. chaosmode = false
  9019. RecolorTextAndRename("PIXELED",BrickColor.new("Really black").Color,BrickColor.new("Dark blue").Color,"Code")
  9020. newTheme("rbxassetid://2027652726",0,1,0.85)
  9021. MAINRUINCOLOR = BrickColor.new("Dark blue")
  9022. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9023. end
  9024. if k == "k" and attack == false and ModeOfGlitch ~= 1003 then
  9025. ModeOfGlitch = 1003
  9026. storehumanoidWS = 90
  9027. hum.WalkSpeed = 90
  9028. rainbowmode = false
  9029. chaosmode = false
  9030. RecolorTextAndRename("ASCENDED",BrickColor.new("White").Color,BrickColor.new("Bright yellow").Color,"Code")
  9031. newTheme("rbxassetid://257453119",0,1,0.85)
  9032. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  9033. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9034. end
  9035. if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  9036. ModeOfGlitch = 1264532489
  9037. storehumanoidWS = 175
  9038. hum.WalkSpeed = 175
  9039. rainbowmode = false
  9040. chaosmode = false
  9041. RecolorTextAndRename("FALLENX",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique")
  9042. newTheme("rbxassetid://1505487022",0,1.01,1.25)
  9043. MAINRUINCOLOR = BrickColor.new("Pastel green")
  9044. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9045. end
  9046. if k == "l" and mutedtog == false then
  9047. mutedtog = true
  9048. kan.Volume = 0.85
  9049. elseif k == "l" and mutedtog == true then
  9050. mutedtog = false
  9051. kan.Volume = 0.85
  9052. end
  9053. if k == "p" and toggleTag == false then
  9054. toggleTag = true
  9055. modet.TextTransparency = 0
  9056. modet.TextStrokeTransparency = 0
  9057. elseif k == "p" and toggleTag == true then
  9058. toggleTag = false
  9059. modet.TextTransparency = 1
  9060. modet.TextStrokeTransparency = 1
  9061. end
  9062. if k == "z" and attack == false and ModeOfGlitch == 1 then
  9063. ExtinctiveHeartbreak()
  9064. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  9065. HeavenlyDisk()
  9066. elseif k == "z" and attack == false and ModeOfGlitch == 9 then
  9067. DualGleamingBeam()
  9068. elseif k == "c" and attack == false and ModeOfGlitch == 9 then
  9069. BanishingOrb()
  9070. elseif k == "z" and attack == false and ModeOfGlitch == 5555 then
  9071. hugg()
  9072. elseif k == "b" and attack == false and ModeOfGlitch == 55469696922 then
  9073. cutesigh()
  9074. elseif k == "v" and attack == false and ModeOfGlitch == 55469696922 then
  9075. Counter()
  9076. elseif k == "v" and attack == false and ModeOfGlitch == 12 then
  9077. superjump()
  9078. elseif k == "v" and attack == false and ModeOfGlitch == 9999999921111 then
  9079. dragin()
  9080. elseif k == "x" and attack == false and ModeOfGlitch == 8889 then
  9081. UniversalCollapse()
  9082. elseif k == "z" and attack == false and ModeOfGlitch == 13 then
  9083. UniversalCollapse()
  9084. elseif k == "c" and attack == false and ModeOfGlitch == 2 then
  9085. PureBomb()
  9086. elseif k == "z" and attack == false and ModeOfGlitch == 999999999556 then
  9087. Beams()
  9088. elseif k == "x" and attack == false and ModeOfGlitch == 55469696922 then
  9089. BeamOfDeath()
  9090. elseif k == "v" and attack == false and ModeOfGlitch == 8 then
  9091. THE_TRUE_POWER_OF_VIOLENCE()
  9092. elseif k == "x" and attack == false and ModeOfGlitch == 13 then
  9093. THE_TRUE_POWER_OF_VIOLENCE()
  9094. elseif k == "z" and attack == false and ModeOfGlitch == 8 then
  9095. GleamingBeam()
  9096. elseif k == "x" and attack == false and ModeOfGlitch == 5 then
  9097. ViolentRing()
  9098. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  9099. CorruptionEvent()
  9100. elseif k == "v" and attack == false and ModeOfGlitch == 3 then
  9101. CorruptBlink()
  9102. elseif k == "c" and attack == false and ModeOfGlitch == 3 then
  9103. scattercorrupt()
  9104. elseif k == "b" and attack == false and ModeOfGlitch == 5555 then
  9105. shytaunty()
  9106. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  9107. RapidBurst()
  9108. elseif k == "x" and attack == false and ModeOfGlitch == 4 then
  9109. ChaosEND()
  9110. elseif k == "c" and attack == false and ModeOfGlitch == 9999999921111 then
  9111. CyberSlash()
  9112. elseif k == "z" and attack == false and ModeOfGlitch == 4367677813 then
  9113. smiter()
  9114. elseif k == "z" and attack == false and ModeOfGlitch == 1002 then
  9115. SpeedDrop()
  9116. elseif k == "x" and attack == false and ModeOfGlitch == 5555 then
  9117. FuckMeSidewaysAndCallMeGay()
  9118. elseif k == "v" and attack == false and ModeOfGlitch == 5 then
  9119. --DivineLights()
  9120. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  9121. DivineBlast()
  9122. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  9123. EquinoxOrbs()
  9124. elseif k == "v" and attack == false and ModeOfGlitch == 6 then
  9125. yinyangi()
  9126. elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
  9127. FallenOrbs()
  9128. elseif k == "z" and attack == false and ModeOfGlitch == 1003 then
  9129. StarfallEX()
  9130. end
  9131. if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
  9132. FallenDEMISE()
  9133. end
  9134. if k == "x" and attack == false and ModeOfGlitch == 1 then
  9135. EndGROUND()
  9136. end
  9137. end)
  9138.  
  9139. coroutine.resume(coroutine.create(function()
  9140. while true do
  9141. swait()
  9142. if ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 9 or ModeOfGlitch == 8889 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
  9143. sphereMK(7.5,math.random(15,50)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,10,-0.0075,MAINRUINCOLOR,0)
  9144. end
  9145. if ModeOfGlitch == 5555 then
  9146. sphereMK(5,math.random(8,14)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.25,0.25,7.5,-0.0025,MAINRUINCOLOR,0)
  9147. end
  9148. end
  9149. end))
  9150. --[[coroutine.resume(coroutine.create(function()
  9151. while true do
  9152. swait(2)
  9153. if chaosmode == true then
  9154. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9155. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9156. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9157. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy")
  9158. for i, v in pairs(mw1:GetChildren()) do
  9159. if v:IsA("Part") then
  9160. v.Transparency = 0.75
  9161. v.BrickColor = BrickColor.random()
  9162. v.Material = "Neon"
  9163. end
  9164. end
  9165. for i, v in pairs(m2:GetChildren()) do
  9166. if v:IsA("Part") then
  9167. v.BrickColor = BrickColor.random()
  9168. v.Material = "Neon"
  9169. end
  9170. end
  9171. end
  9172. end
  9173. end))]]
  9174.  
  9175.  
  9176.  
  9177. ff = Instance.new("ForceField",char)
  9178. ff.Visible = false
  9179. hum.Name = "Base"
  9180. hum.MaxHealth = 1.0E298
  9181. hum.Health = 1.0E298
  9182. game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
  9183. if hum.Health > 0.1 and hum.Health < 1.0E298 then
  9184. hum.MaxHealth = 1.0E298
  9185. hum.Health = 1.0E298
  9186. end
  9187. end)
  9188.  
  9189. local Hair = Instance.new("Part", char)
  9190. Hair.Name = "Hair"
  9191. Hair.CanCollide = false
  9192. Hair.BrickColor = BrickColor.new("Institutional white")
  9193. Hair.Transparency = 0
  9194. Hair.Material = "Plastic"
  9195. Hair.Size = Vector3.new(1, 1, 2)
  9196. Hair.TopSurface = Enum.SurfaceType.Smooth
  9197. Hair.BottomSurface = Enum.SurfaceType.Smooth
  9198.  
  9199.  
  9200. local bguis = Instance.new("BillboardGui",tors)
  9201. bguis.Size = UDim2.new(25, 0, 25, 0)
  9202. local imgca = Instance.new("ImageLabel",bguis)
  9203. imgca.BackgroundTransparency = 1
  9204. imgca.ImageTransparency = 1
  9205. imgca.Size = UDim2.new(1,0,1,0)
  9206. imgca.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891
  9207. imgca.ImageColor3 = Color3.new(0,0,0)
  9208.  
  9209.  
  9210. local bguis2 = Instance.new("BillboardGui",tors)
  9211. bguis2.Size = UDim2.new(25, 0, 25, 0)
  9212. local imgca2 = Instance.new("ImageLabel",bguis)
  9213. imgca2.BackgroundTransparency = 1
  9214. imgca2.ImageTransparency = 1
  9215. imgca2.Size = UDim2.new(1,0,1,0)
  9216. imgca2.Image = "rbxassetid://2406462507" --997291547,521073910,2312119891
  9217. imgca2.ImageColor3 = Color3.new(0,0,0)
  9218.  
  9219.  
  9220.  
  9221. idleanim=.4
  9222. while true do
  9223. if mutedtog == false then
  9224. kan.Volume = currentVol
  9225. elseif mutedtog == true then
  9226. kan.Volume = 0
  9227. end
  9228. kan.PlaybackSpeed = currentPitch
  9229. kan.Pitch = currentPitch
  9230. kan.SoundId = currentThemePlaying
  9231. kan.Looped = true
  9232. kan.Parent = char
  9233. kan:Resume()
  9234. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 13 then
  9235. imgca.ImageTransparency = 1
  9236. imgca2.ImageTransparency = 1
  9237. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
  9238. imgca.ImageColor3 = MAINRUINCOLOR.Color
  9239. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  9240. elseif ModeOfGlitch == 13 then
  9241. imgca2.ImageColor3 = MAINRUINCOLOR.Color
  9242. imgca2.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  9243. end
  9244. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
  9245. bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  9246. imgca2.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/60
  9247. bguis2.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  9248. coroutine.resume(coroutine.create(function()
  9249. if chaosmode == true then
  9250. for i, v in pairs(mw1:GetChildren()) do
  9251. if v:IsA("Part") then
  9252. v.Transparency = 0
  9253. v.BrickColor = BrickColor.random()
  9254. v.Material = "Neon"
  9255. end
  9256. end
  9257. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9258. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9259. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9260. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
  9261. end
  9262. end))
  9263. coroutine.resume(coroutine.create(function()
  9264. if ModeOfGlitch == 66 then
  9265. for i, v in pairs(m:GetChildren()) do
  9266. if v:IsA("Part") then
  9267. v.Transparency = 0
  9268. v.BrickColor = BrickColor.random()
  9269. v.Material = "Neon"
  9270. end
  9271. end
  9272. for i, v in pairs(m2:GetChildren()) do
  9273. if v:IsA("Part") then
  9274. v.Transparency = 0
  9275. v.BrickColor = BrickColor.random()
  9276. v.Material = "Neon"
  9277. end
  9278. end
  9279. for i, v in pairs(mw1:GetChildren()) do
  9280. if v:IsA("Part") then
  9281. v.Transparency = 0
  9282. v.BrickColor = BrickColor.random()
  9283. v.Material = "Neon"
  9284. end
  9285. end
  9286. for i, v in pairs(extrawingmod1:GetChildren()) do
  9287. if v:IsA("Part") then
  9288. v.Transparency = 0.5
  9289. v.BrickColor = BrickColor.random()
  9290. v.Material = "Neon"
  9291. end
  9292. end
  9293. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9294. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9295. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9296. gane.Color = ColorSequence.new(BrickColor.random().Color)
  9297. gan.Color = ColorSequence.new(BrickColor.random().Color)
  9298. end
  9299. end))
  9300.  
  9301. coroutine.resume(coroutine.create(function()
  9302. if ModeOfGlitch == 66 then
  9303. RecolorTextAndRename("BETRAYAL",BrickColor.random().Color,Color3.new(0,0,0),"Garamond")
  9304. end
  9305. end))
  9306.  
  9307. if chaosmode == false then
  9308. modet.Position = UDim2.new(0,0,0,0)
  9309. modet.Rotation = -5 * math.cos(sine / 32)
  9310. techc.Rotation = techc.Rotation + 1
  9311. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/200 - 1
  9312. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/175 + 1
  9313. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/175 + 1
  9314. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/150 - 1
  9315. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  9316. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  9317. else
  9318. techc.Rotation = techc.Rotation + 1
  9319. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
  9320. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
  9321. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
  9322. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
  9323. ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  9324. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  9325. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  9326. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  9327. end
  9328. CameraManager()
  9329. swait()
  9330. lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3)
  9331. lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3)
  9332. lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3)
  9333. lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3)
  9334. lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3)
  9335. lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3)
  9336. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3)
  9337. rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3)
  9338. rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3)
  9339. rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3)
  9340. rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3)
  9341. rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3)
  9342. sine = sine + change
  9343. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  9344. local velderp=RootPart.Velocity.y
  9345. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  9346. coroutine.resume(coroutine.create(function()
  9347. if ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 1003 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 or ModeOfGlitch == 13 then
  9348. if hitfloor ~= nil then
  9349. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,50)/250,BrickColor.new("White"))
  9350. if ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 13 then
  9351. slash(math.random(75,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,150)/250,MAINRUINCOLOR)
  9352. end
  9353. end
  9354. end
  9355. end))
  9356. if equipped==true or equipped==false then
  9357. if attack==false then
  9358. idle=idle+1
  9359. else
  9360. idle=0
  9361. end
  9362. if idle>=500 then
  9363. if attack==false then
  9364. --Sheath()
  9365. end
  9366. end
  9367. if RootPart.Velocity.y > 1 and hitfloor==nil then
  9368. Anim="Jump"
  9369. if attack==false then
  9370. RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  9371. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
  9372. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  9373. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  9374. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(25)),.1)
  9375. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(-25)),.1)
  9376. end
  9377. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  9378. Anim="Fall"
  9379. if attack==false then
  9380. RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  9381. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
  9382. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
  9383. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  9384. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(55)),.1)
  9385. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(-55)),.1)
  9386. end
  9387. elseif torvel<1 and hitfloor~=nil then
  9388. Anim="Idle"
  9389. if attack==false then
  9390. if ModeOfGlitch == 1 then
  9391. local snap = math.random(1,10)
  9392. if snap == 1 then
  9393. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(22 + math.random(-5,5))),1)
  9394. end
  9395. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
  9396. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  9397. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
  9398. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56))),.1)
  9399. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  9400. LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),-0.2)*angles(math.rad(148 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(22 - 2 * math.cos(sine / 45))),.1)
  9401. elseif ModeOfGlitch == 2 then
  9402. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  9403. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  9404. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 42))),.1)
  9405. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 58)),math.rad(0 + 1 * math.cos(sine / 53))),.1)
  9406. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  9407. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  9408. elseif ModeOfGlitch == 2 then
  9409. RH.C0=clerp(RH.C0,cf(1,-0.5 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  9410. LH.C0=clerp(LH.C0,cf(-1,-0.5 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  9411. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),-1 + 0.05 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 42))),.1)
  9412. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 58)),math.rad(0 + 1 * math.cos(sine / 53))),.1)
  9413. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  9414. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  9415. elseif ModeOfGlitch == 50 then
  9416. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-10 + 2 * math.cos(sine / 43)),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  9417. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  9418. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(10 - 2 * math.cos(sine / 43))),.1)
  9419. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 - 2 * math.cos(sine / 47)),math.rad(-10 + 2 * math.cos(sine / 43))),.1)
  9420. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 3 * math.cos(sine / 48)),math.rad(-20 - 4 * math.cos(sine / 53)),math.rad(15 - 3 * math.cos(sine / 38))),.1)
  9421. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-10 + 2 * math.cos(sine / 45)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 39))),.1)
  9422. elseif ModeOfGlitch == 5555 then --5555
  9423. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-26 + 2 * math.cos(sine / 44))),.1)
  9424. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 1 * math.cos(sine / 28)),math.rad(-5 + 3 * math.cos(sine / 47)),math.rad(26 - 2 * math.cos(sine / 44))),.1)
  9425. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(-10 + 5 * math.cos(sine / 34))),.1)
  9426. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.25),math.rad(0),math.rad(6 + 2 * math.cos(sine / 34))),.1)
  9427. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 3 * math.cos(sine / 53)),math.rad(0),math.rad(-37 + 2 * math.cos(sine / 37))),.1)
  9428. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(23 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(38 - 3 * math.cos(sine / 57) )),.1)
  9429. elseif ModeOfGlitch == 1002 then
  9430. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 - 1 * math.cos(sine / 34))),.1)
  9431. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(20),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  9432. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-20)),.1)
  9433. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1)
  9434. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1)
  9435. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1)
  9436. elseif ModeOfGlitch == 12 then
  9437. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 20) - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 + 2 * math.cos(sine / 40)),math.rad(-15),math.rad(0 + 2 * math.cos(sine / 20))),.1)
  9438. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 20) - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 - 2 * math.cos(sine / 40)),math.rad(1),math.rad(0 - 2 * math.cos(sine / 20))),.1)
  9439. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.02 * math.cos(sine / 40),0 - 0.02 * math.cos(sine / 40),-0.05 - 0.05 * math.cos(sine / 20))*angles(math.rad(0 + 2 * math.cos(sine / 20)),math.rad(0 + 2 * math.cos(sine / 40)),math.rad(30 + 3 * math.cos(sine / 40))),.1)
  9440. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2),math.rad(0 - 7 * math.cos(sine / 40)),math.rad(-30 - 3 * math.cos(sine / 40))),.1)
  9441. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-6 + 5 * math.cos(sine / 26)),math.rad(-10 - 6 * math.cos(sine / 24)),math.rad(13 - 5 * math.cos(sine / 34))),.1)
  9442. LW.C0=clerp(LW.C0,cf(-1.4,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-13 - 1 * math.cos(sine / 25)),math.rad(10 + 2 * math.cos(sine / 24)),math.rad(10 + 2 * math.cos(sine / 34))),.1)
  9443. elseif ModeOfGlitch == 3 then
  9444. local snap = math.random(1,32)
  9445. if snap == 1 then
  9446. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
  9447. end
  9448. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  9449. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  9450. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
  9451. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  9452. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  9453. LW.C0=clerp(LW.C0,cf(-1.4,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-13 - 1 * math.cos(sine / 25)),math.rad(10 + 2 * math.cos(sine / 24)),math.rad(10 + 2 * math.cos(sine / 34))),.1)
  9454. elseif ModeOfGlitch == 4 then
  9455. local snap = math.random(1,5)
  9456. if snap == 1 then
  9457. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-1,1)),math.rad(math.random(-1,1)),math.rad(math.random(-1,1))),0.6)
  9458. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 + 5 * math.cos(sine / 74) + math.random(-1,1)),math.rad(1 - 3 * math.cos(sine / 53) + math.random(-1,1)),math.rad(1 + 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
  9459. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 - 3 * math.cos(sine / 73) + math.random(-1,1)),math.rad(2 - 1 * math.cos(sine / 55) + math.random(-1,1)),math.rad(-3 - 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
  9460. end
  9461. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(25 - 2 * math.cos(sine / 32))),.1)
  9462. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-25 + 2 * math.cos(sine / 32))),.1)
  9463. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(25 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  9464. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  9465. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(1 + 3 * math.cos(sine / 45))),.1)
  9466. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-3 - 3 * math.cos(sine / 45))),.1)
  9467. elseif ModeOfGlitch == 66 then
  9468. local snap = math.random(1,2)
  9469. if snap == 1 then
  9470. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-1,1)),math.rad(math.random(-1,1)),math.rad(math.random(-1,1))),0.6)
  9471. RW.C0=clerp(RW.C0,cf(1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74) + math.random(-1,1)),math.rad(1 - 3 * math.cos(sine / 53) + math.random(-1,1)),math.rad(-15 + 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
  9472. LW.C0=clerp(LW.C0,cf(-1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73) + math.random(-1,1)),math.rad(2 - 1 * math.cos(sine / 55) + math.random(-1,1)),math.rad(15 - 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
  9473. end
  9474. RH.C0=clerp(RH.C0,cf(1,0.35 - 0.05 * math.cos(sine / 32),-0.7)*angles(math.rad(-20),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(25 - 2 * math.cos(sine / 32))),.1)
  9475. LH.C0=clerp(LH.C0,cf(-1,-1.125 - 0.05 * math.cos(sine / 32),-0.6)*angles(math.rad(-105),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-25 + 2 * math.cos(sine / 32))),.1)
  9476. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.3 + 0.05 * math.cos(sine / 32))*angles(math.rad(7.5 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  9477. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  9478. RW.C0=clerp(RW.C0,cf(1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-15 + 3 * math.cos(sine / 45))),.1)
  9479. LW.C0=clerp(LW.C0,cf(-1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(15 - 3 * math.cos(sine / 45))),.1)
  9480. elseif ModeOfGlitch == 5 then
  9481. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  9482. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  9483. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  9484. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
  9485. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(8 + 3 * math.cos(sine / 45))),.1)
  9486. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
  9487. elseif ModeOfGlitch == 6 then
  9488. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
  9489. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
  9490. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  9491. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  9492. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(14 + 5 * math.cos(sine / 32))),.1)
  9493. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 6 * math.cos(sine / 33))),.1)
  9494. elseif ModeOfGlitch == 13 then
  9495. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
  9496. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
  9497. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  9498. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  9499. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.35)*angles(math.rad(6 + 1 * math.cos(sine / 74)),math.rad(-14 - 1 * math.cos(sine / 53)),math.rad(-86 + 5 * math.cos(sine / 32))),.1)
  9500. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.55)*angles(math.rad(-20 - 3 * math.cos(sine / 73)),math.rad(23 - 2.25 * math.cos(sine / 55)),math.rad(86 - 6 * math.cos(sine / 33))),.1)
  9501. elseif ModeOfGlitch == 8 then
  9502. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1)
  9503. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1)
  9504. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-20)),.1)
  9505. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(20 + 2 * math.cos(sine / 53))),.1)
  9506. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  9507. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  9508. elseif ModeOfGlitch == 9 then
  9509. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  9510. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Lime green"),Color3.new(0,1,0))
  9511. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-4 - 2 * math.cos(sine / 53)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  9512. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(9 - 2 * math.cos(sine / 53)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  9513. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 53))),.1)
  9514. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(19 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  9515. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(18 - 3 * math.cos(sine / 53)),math.rad(17 + 3 * math.cos(sine / 45))),.1)
  9516. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(-11 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
  9517. elseif ModeOfGlitch == 1003 then
  9518. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-26 + 2 * math.cos(sine / 44))),.1)
  9519. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 1 * math.cos(sine / 28)),math.rad(-5 + 3 * math.cos(sine / 47)),math.rad(26 - 2 * math.cos(sine / 44))),.1)
  9520. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(-10 + 5 * math.cos(sine / 34))),.1)
  9521. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.25),math.rad(0),math.rad(6 + 2 * math.cos(sine / 34))),.1)
  9522. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(3 + 7 * math.cos(sine / 79)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 10 * math.cos(sine / 73))),.1)
  9523. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(15 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-27 - 6 * math.cos(sine / 33))),.1)
  9524.  
  9525. elseif ModeOfGlitch == 8889 then
  9526. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 5 * math.cos(sine / 51))),.1)
  9527. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 44))),.1)
  9528. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-36)),.1)
  9529. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(36 + 2 * math.cos(sine / 53))),.1)
  9530. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(3 + 7 * math.cos(sine / 79)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 10 * math.cos(sine / 73))),.1)
  9531. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(15 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-27 - 6 * math.cos(sine / 33))),.1)
  9532. elseif ModeOfGlitch == 5546 then
  9533. local snap = math.random(1,2)
  9534. if snap == 1 then
  9535. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-1,1)),math.rad(math.random(-1,1)),math.rad(math.random(-1,1))),0.6)
  9536. RW.C0=clerp(RW.C0,cf(1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(137 + .3 * math.cos(-0)),math.rad(0 * math.cos(sine / 53)),math.rad(-50 + 0 * math.cos(sine / 45))),.1)
  9537. LW.C0=clerp(LW.C0,cf(-1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(137 - .3 * math.cos(0)),math.rad(-0 * math.cos(sine / 55)),math.rad(50 - 0 * math.cos(sine / 45))),.1)
  9538. end
  9539. RH.C0=clerp(RH.C0,cf(1,0.35 - 0.05 * math.cos(sine / 32),-0.7)*angles(math.rad(-20),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(25 - 2 * math.cos(sine / 32))),.1)
  9540. LH.C0=clerp(LH.C0,cf(-1,-1.125 - 0.05 * math.cos(sine / 32),-0.6)*angles(math.rad(-105),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-25 + 2 * math.cos(sine / 32))),.1)
  9541. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.3 + 0.05 * math.cos(sine / 32))*angles(math.rad(7.5 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  9542. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  9543. RW.C0=clerp(RW.C0,cf(1.21,0.3 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(137 + .3 * math.cos(-0)),math.rad(0 * math.cos(sine / 25)),math.rad(-50 + 0 * math.cos(sine / 45))),.1)
  9544. LW.C0=clerp(LW.C0,cf(-1.12,0.3 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(137 - .3 * math.cos(0)),math.rad(-0 * math.cos(sine / 25)),math.rad(50 - 0 * math.cos(sine / 45))),.1)
  9545.  
  9546. elseif ModeOfGlitch == 1264532489 then
  9547. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  9548. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-14 - 5 * math.cos(sine / 48))),.1)
  9549. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 7 * math.cos(sine / 51))),.1)
  9550. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  9551. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(21 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  9552. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(13 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(28 + 2 * math.cos(sine / 45))),.1)
  9553. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  9554. elseif ModeOfGlitch == 9999999921111 then --9999999921111
  9555. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1)
  9556. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1)
  9557. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-21 - 2 * math.cos(sine / 32)),math.rad(8),math.rad(0)),.1)
  9558. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 6 * math.cos(sine / 37)),math.rad(-14 + 5 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  9559. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-24 + 9 * math.cos(sine / 72)),math.rad(3 - 5 * math.cos(sine / 58)),math.rad(38 + 7 * math.cos(sine / 45))),.1)
  9560. LW.C0=clerp(LW.C0,cf(-0.8,0.35 + 0.025 * math.cos(sine / 45),-0.75)*angles(math.rad(160 - 2 * math.cos(sine / 66)),math.rad(5 - 8 * math.cos(sine / 59)),math.rad(87 - 3 * math.cos(sine / 45))),.1)
  9561. elseif ModeOfGlitch == 4367677813 then
  9562. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.1)
  9563. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.1)
  9564. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(10)),.1)
  9565. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1)
  9566. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(4 + 3 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(19 + 2 * math.cos(sine / 45))),.1)
  9567. LW.C0=clerp(LW.C0,cf(-1.25,0.5 + 0.025 * math.cos(sine / 45),-0.15)*angles(math.rad(10 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(13 - 4 * math.cos(sine / 45))),.1)
  9568. elseif ModeOfGlitch == 55469696922 then --5555
  9569. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1)
  9570. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1)
  9571. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-13 - 2 * math.cos(sine / 32)),math.rad(3),math.rad(10 - 4 * math.cos(sine / 67))),.1)
  9572. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 8 * math.cos(sine / 37)),math.rad(-21 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1)
  9573. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 14 * math.cos(sine / 45))),.1)
  9574. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(35 - 8 * math.cos(sine / 51))),.1)
  9575. elseif ModeOfGlitch == 999999999556 then
  9576. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 6 * math.cos(sine / 39))),.1)
  9577. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 45))),.1)
  9578. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(17)),.1)
  9579. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(29 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-17 + 2 * math.cos(sine / 53))),.1)
  9580. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  9581. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  9582. end
  9583. end
  9584. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  9585. Anim="Walk"
  9586. if attack==false and ModeOfGlitch ~= 66 then
  9587. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  9588. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  9589. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1)
  9590. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8))),.1)
  9591. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
  9592. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
  9593. elseif attack==false and ModeOfGlitch == 66 and ModeOfGlitch == 5546 then
  9594. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  9595. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  9596. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1)
  9597. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  9598. RW.C0=clerp(RW.C0,cf(1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-15 + 3 * math.cos(sine / 45))),.1)
  9599. LW.C0=clerp(LW.C0,cf(-1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(15 - 3 * math.cos(sine / 45))),.1)
  9600. end
  9601. elseif torvel>=22 and hitfloor~=nil then
  9602. Anim="Run"
  9603. if attack==false then
  9604. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 13 and ModeOfGlitch ~= 5555 and ModeOfGlitch ~= 1003 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 8889 then
  9605. RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  9606. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  9607. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(25 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 1 * math.cos(sine / 6))),.1)
  9608. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-6 + 2 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 1 * math.cos(sine / 6))),.1)
  9609. RW.C0=clerp(RW.C0,cf(1.5,0.5,0.3)*angles(math.rad(-50 + 10 * math.cos(sine / 3)),math.rad(-10),math.rad(7 + 5 * math.cos(sine / 6))),.1)
  9610. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0.3)*angles(math.rad(-50 + 10 * math.cos(sine / 3)),math.rad(10),math.rad(-7 - 5 * math.cos(sine / 6))),.1)
  9611. if ModeOfGlitch == 12 then
  9612. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 45 * math.cos(sine / 8))),.1)
  9613. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 45 * math.cos(sine / 8))),.1)
  9614. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 + 0.05 * math.cos(sine / 4))*angles(math.rad(1.5 + 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 10 * math.cos(sine / 8))),.1)
  9615. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5 - 5 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 10 * math.cos(sine / 8))),.1)
  9616. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
  9617. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
  9618. end
  9619. if ModeOfGlitch == 9 then
  9620. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  9621. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Lime green"),Color3.new(0,1,0))
  9622. sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),8)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,20,-0.0075,MAINRUINCOLOR,0)
  9623. end
  9624. elseif ModeOfGlitch == 6 or ModeOfGlitch == 1003 or ModeOfGlitch == 5555 or ModeOfGlitch == 8 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 then
  9625. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2)
  9626. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2)
  9627. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
  9628. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2)
  9629. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2)
  9630. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2)
  9631. elseif ModeOfGlitch == 13 then
  9632. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2)
  9633. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2)
  9634. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(40),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
  9635. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2)
  9636. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.35)*angles(math.rad(6 + 3 * math.cos(sine / 74)),math.rad(-14 - 1 * math.cos(sine / 53)),math.rad(-86 + 5 * math.cos(sine / 32))),.1)
  9637. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.55)*angles(math.rad(-20 - 5 * math.cos(sine / 73)),math.rad(23 - 2.25 * math.cos(sine / 55)),math.rad(86 - 6 * math.cos(sine / 33))),.1)
  9638. end
  9639. end
  9640. end
  9641. end
  9642. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement