ExcuseMehEdit

Test

Nov 17th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 464.58 KB | None | 0 0
  1. plr = game:GetService("Players").Riko_Suzuki
  2. char = plr.Character
  3. hum = char.Humanoid
  4. local cam = game.Workspace.CurrentCamera
  5. Camera = cam
  6. local CamInterrupt = false
  7. local TwoD = false
  8. local TargetInfo = {nil, nil}
  9. cam.CameraType = "Custom"
  10. t = char.Torso
  11. h = char.Head
  12. ra = char["Right Arm"]
  13. la = char["Left Arm"]
  14. rl = char["Right Leg"]
  15. ll = char["Left Leg"]
  16. tors = char.Torso
  17. lleg = char["Left Leg"]
  18. root = char.HumanoidRootPart
  19. hed = char.Head
  20. rleg = char["Right Leg"]
  21. rarm = char["Right Arm"]
  22. larm = char["Left Arm"]
  23. radian = math.rad
  24. random = math.random
  25. Vec3 = Vector3.new
  26. Inst = Instance.new
  27. cFrame = CFrame.new
  28. Euler = CFrame.fromEulerAnglesXYZ
  29. vt = Vector3.new
  30. bc = BrickColor.new
  31. br = BrickColor.random
  32. it = Instance.new
  33. cf = CFrame.new
  34. local Player_Size = 0
  35. cam = game.Workspace.CurrentCamera
  36. CF = CFrame.new
  37. angles = CFrame.Angles
  38. attack = false
  39. Euler = CFrame.fromEulerAnglesXYZ
  40. Rad = math.rad
  41. IT = Instance.new
  42. BrickC = BrickColor.new
  43. Cos = math.cos
  44. Acos = math.acos
  45. Sin = math.sin
  46. Asin = math.asin
  47. Abs = math.abs
  48. Mrandom = math.random
  49. Floor = math.floor
  50. IT = Instance.new
  51. CF = CFrame.new
  52. VT = Vector3.new
  53. RAD = math.rad
  54. C3 = Color3.new
  55. UD2 = UDim2.new
  56. BRICKC = BrickColor.new
  57. ANGLES = CFrame.Angles
  58. EULER = CFrame.fromEulerAnglesXYZ
  59. COS = math.cos
  60. ACOS = math.acos
  61. SIN = math.sin
  62. ASIN = math.asin
  63. ABS = math.abs
  64. MRANDOM = math.random
  65. FLOOR = math.floor
  66. local SINE = 0
  67.  
  68. local Booleans = {
  69. CamFollow = true,
  70. GyroUse = true
  71. }
  72.  
  73. function lerp(object, newCFrame, alpha)
  74. return object:lerp(newCFrame, alpha)
  75. end
  76.  
  77. local Directer = Inst("BodyGyro", root)
  78. Directer.MaxTorque = Vec3(0, 0, 0)
  79. Directer.P = 600000
  80. local CPart = Inst("Part")
  81. CPart.Anchored = true
  82. CPart.CanCollide = false
  83. CPart.Locked = true
  84. CPart.Transparency = 1
  85.  
  86. local rainbowmode = false
  87. local chaosmode = false
  88.  
  89. local kan = Instance.new("Sound",tors)
  90. kan.Volume = 0.85
  91. kan.TimePosition = 0
  92. kan.PlaybackSpeed = 1
  93. kan.Pitch = 1
  94. kan.SoundId = "rbxassetid://1255569288"
  95. kan.Name = "wrecked"
  96. kan.Looped = true
  97. kan:Play()
  98.  
  99. local currentThemePlaying = kan.SoundId
  100. local currentPitch = kan.Pitch
  101. local currentVol = kan.Volume
  102. function newTheme(ID,timepos,pitch,vol)
  103. local kanz = kan
  104. --kanz:Stop()
  105. kanz.Volume = vol
  106. --kanz.TimePosition = timepos
  107. kanz.PlaybackSpeed = pitch
  108. kanz.Pitch = pitch
  109. kanz.SoundId = ID
  110. kanz.Name = "wrecked"
  111. kanz.Looped = true
  112. currentThemePlaying = kanz.SoundId
  113. currentVol = kanz.Volume
  114. currentPitch = kanz.Pitch
  115. --kanz:Play()
  116. --coroutine.resume(coroutine.create(function()
  117. --wait(0.05)
  118. --end))
  119. end
  120.  
  121.  
  122. function newThemeCust(ID,timepos,pitch,vol)
  123. local kanz = kan
  124. kanz:Stop()
  125. kanz.Volume = vol
  126. kanz.TimePosition = timepos
  127. kanz.PlaybackSpeed = pitch
  128. kanz.Pitch = pitch
  129. kanz.SoundId = ID
  130. kanz.Name = "wrecked"
  131. kanz.Looped = true
  132. currentThemePlaying = kanz.SoundId
  133. currentVol = kanz.Volume
  134. currentPitch = kanz.Pitch
  135. kanz:Play()
  136. coroutine.resume(coroutine.create(function()
  137. wait(0.05)
  138. end))
  139. end
  140.  
  141. local mutedtog = false
  142.  
  143. function CameraEnshaking(Length,Intensity)
  144. coroutine.resume(coroutine.create(function()
  145. local intensity = 1*Intensity
  146. local rotM = 0.01*Intensity
  147. for i = 0, Length, 0.1 do
  148. swait()
  149. intensity = intensity - 0.05*Intensity/Length
  150. rotM = rotM - 0.0005*Intensity/Length
  151. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  152. 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)
  153. end
  154. Humanoid.CameraOffset = Vec3(0, 0, 0)
  155. end))
  156. end
  157. CamShake=function(Part,Distan,Power,Times)
  158. local de=Part.Position
  159. for i,v in pairs(workspace:children()) do
  160. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  161. for _,c in pairs(v:children()) do
  162. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  163. local Noob=v.Humanoid
  164. if Noob~=nil then
  165. coroutine.resume(coroutine.create(function()
  166. FV = Instance.new("BoolValue", Noob)
  167. FV.Name = "CameraShake"
  168. for ShakeNum=1,Times do
  169. swait()
  170. local ef=Power
  171. if ef>=1 then
  172. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  173. else
  174. ef=Power*10
  175. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  176. end
  177. end
  178. Humanoid.CameraOffset = Vector3.new(0,0,0)
  179. FV:Destroy()
  180. end))
  181. CameraShake(Times, Power, Noob)
  182. end
  183. end
  184. end
  185. end
  186. end
  187. end
  188.  
  189. local toggleTag = true
  190. local bilguit = Instance.new("BillboardGui", hed)
  191. bilguit.Adornee = nil
  192. bilguit.Name = "ModeName"
  193. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  194. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  195. local modet = Instance.new("TextLabel", bilguit)
  196. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  197. modet.FontSize = "Size8"
  198. modet.TextScaled = true
  199. modet.TextTransparency = 0
  200. modet.BackgroundTransparency = 1
  201. modet.TextTransparency = 0
  202. modet.TextStrokeTransparency = 0
  203. modet.Font = "Antique"
  204. modet.TextStrokeColor3 = Color3.new(1,0,0)
  205. modet.TextColor3 = Color3.new(0.25,0,0)
  206. modet.Text = "Hopeless Guest"
  207.  
  208.  
  209. function chatfunc(text,color,typet,font,timeex)
  210. local chat = coroutine.wrap(function()
  211. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  212. Character:FindFirstChild("TalkingBillBoard"):destroy()
  213. end
  214. local naeeym2 = Instance.new("BillboardGui",Character)
  215. naeeym2.Size = UDim2.new(0,100,0,40)
  216. naeeym2.StudsOffset = Vector3.new(0,3,0)
  217. naeeym2.Adornee = Character.Head
  218. naeeym2.Name = "TalkingBillBoard"
  219. local tecks2 = Instance.new("TextLabel",naeeym2)
  220. tecks2.BackgroundTransparency = 1
  221. tecks2.BorderSizePixel = 0
  222. tecks2.Text = ""
  223. tecks2.Font = font
  224. tecks2.TextSize = 30
  225. tecks2.TextStrokeTransparency = 0
  226. tecks2.TextColor3 = color
  227. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  228. tecks2.Size = UDim2.new(1,0,0.5,0)
  229. local tecks3 = Instance.new("TextLabel",naeeym2)
  230. tecks3.BackgroundTransparency = 1
  231. tecks3.BorderSizePixel = 0
  232. tecks3.Text = ""
  233. tecks3.Font = font
  234. tecks3.TextSize = 30
  235. tecks3.TextStrokeTransparency = 0
  236. if typet == "Inverted" then
  237. tecks3.TextColor3 = Color3.new(0,0,0)
  238. tecks3.TextStrokeColor3 = color
  239. elseif typet == "Normal" then
  240. tecks3.TextColor3 = color
  241. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  242. end
  243. tecks3.Size = UDim2.new(1,0,0.5,0)
  244. coroutine.resume(coroutine.create(function()
  245. while true do
  246. swait(1)
  247. if chaosmode == true then
  248. tecks2.TextColor3 = BrickColor.random().Color
  249. tecks3.TextStrokeColor3 = BrickColor.random().Color
  250. end
  251. end
  252. end))
  253. modet.TextTransparency = modet.TextTransparency + 1
  254. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  255. for i = 0, 74*timeex do
  256. swait()
  257. modet.TextTransparency = 1
  258. modet.TextStrokeTransparency = 1
  259. tecks2.Text = text
  260. tecks3.Text = text
  261. end
  262. local randomrot = math.random(1,2)
  263. if randomrot == 1 then
  264. for i = 1, 50 do
  265. swait()
  266. tecks2.Text = text
  267. tecks3.Text = text
  268. modet.TextTransparency = modet.TextTransparency - .02
  269. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  270. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  271. tecks2.TextTransparency = tecks2.TextTransparency + .04
  272. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  273. tecks3.TextTransparency = tecks2.TextTransparency + .04
  274. end
  275. elseif randomrot == 2 then
  276. for i = 1, 50 do
  277. swait()
  278. tecks2.Text = text
  279. tecks3.Text = text
  280. modet.TextTransparency = modet.TextTransparency - .02
  281. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  282. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  283. tecks2.TextTransparency = tecks2.TextTransparency + .04
  284. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  285. tecks3.TextTransparency = tecks2.TextTransparency + .04
  286. end
  287. end
  288. modet.TextTransparency = 0
  289. modet.TextStrokeTransparency = 0
  290. if toggleTag == false then
  291. modet.TextTransparency = 1
  292. modet.TextStrokeTransparency = 1
  293. end
  294. naeeym2:Destroy()
  295. end)
  296. chat()
  297. end
  298.  
  299. function bosschatfunc(text,color,watval)
  300. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  301. coroutine.resume(coroutine.create(function()
  302. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  303. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  304. end
  305. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  306. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  307. scrg.Name = "Dialog"
  308. local txtlb = Instance.new("TextLabel",scrg)
  309. txtlb.Text = ""
  310. txtlb.Font = "Bodoni"
  311. txtlb.TextColor3 = Color3.new(0,0,0)
  312. txtlb.TextStrokeTransparency = 0
  313. txtlb.BackgroundTransparency = 0.75
  314. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  315. txtlb.TextStrokeColor3 = color
  316. txtlb.TextScaled = true
  317. txtlb.Size = UDim2.new(1,0,0.25,0)
  318. txtlb.TextXAlignment = "Left"
  319. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  320. local txtlb2 = Instance.new("TextLabel",scrg)
  321. txtlb2.Text = plr.Name.." The Guest:"
  322. txtlb2.Font = "Antique"
  323. txtlb2.TextColor3 = Color3.new(0,0,0)
  324. txtlb2.TextStrokeTransparency = 0
  325. txtlb2.BackgroundTransparency = 1
  326. txtlb2.TextStrokeColor3 = color
  327. txtlb2.TextSize = 40
  328. txtlb2.Size = UDim2.new(1,0,0.25,0)
  329. txtlb2.TextXAlignment = "Left"
  330. txtlb2.Position = UDim2.new(0,0,1,0)
  331. local fvalen = 0.55
  332. local fval = -0.49
  333. coroutine.resume(coroutine.create(function()
  334. while true do
  335. swait()
  336. if chaosmode == true then
  337. txtlb.Rotation = math.random(-1,1)
  338. txtlb2.Rotation = math.random(-1,1)
  339. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  340. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  341. txtlb.TextStrokeColor3 = BrickColor.random().Color
  342. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  343. end
  344. end
  345. end))
  346. coroutine.resume(coroutine.create(function()
  347. while true do
  348. swait()
  349. if scrg.Parent ~= nil then
  350. fvalen = fvalen - 0.0001
  351. elseif scrg.Parent == nil then
  352. break
  353. end
  354. end
  355. end))
  356. local flol = 1.75
  357. local flil = 1.6
  358. coroutine.resume(coroutine.create(function()
  359. for i = 0, 9 do
  360. swait()
  361. fval = fval + 0.05
  362. flol = flol - 0.1
  363. flil = flil - 0.1
  364. txtlb.Text = ""
  365. txtlb.Position = UDim2.new(0,0,flol,0)
  366. txtlb2.Position = UDim2.new(0,0,flil,0)
  367. end
  368. txtlb.Text = text
  369. wait(watval)
  370. local valinc = 0
  371. for i = 0, 99 do
  372. swait()
  373. valinc = valinc + 0.0001
  374. flol = flol + valinc
  375. flil = flil + valinc
  376. txtlb.Rotation = txtlb.Rotation + valinc*20
  377. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  378. txtlb.Position = UDim2.new(0,0,flol,0)
  379. txtlb2.Position = UDim2.new(0,0,flil,0)
  380. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  381. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  382. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  383. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  384. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  385. end
  386. scrg:Destroy()
  387. end))
  388. end))
  389. end
  390. end
  391.  
  392.  
  393. local Create = LoadLibrary("RbxUtility").Create
  394.  
  395. CFuncs = {
  396. ["Part"] = {
  397. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  398. local Part = Create("Part"){
  399. Parent = Parent,
  400. Reflectance = Reflectance,
  401. Transparency = Transparency,
  402. CanCollide = false,
  403. Locked = true,
  404. BrickColor = BrickColor.new(tostring(BColor)),
  405. Name = Name,
  406. Size = Size,
  407. Material = Material,
  408. }
  409. RemoveOutlines(Part)
  410. return Part
  411. end;
  412. };
  413.  
  414. ["Mesh"] = {
  415. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  416. local Msh = Create(Mesh){
  417. Parent = Part,
  418. Offset = OffSet,
  419. Scale = Scale,
  420. }
  421. if Mesh == "SpecialMesh" then
  422. Msh.MeshType = MeshType
  423. Msh.MeshId = MeshId
  424. end
  425. return Msh
  426. end;
  427. };
  428.  
  429. ["Mesh"] = {
  430. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  431. local Msh = Create(Mesh){
  432. Parent = Part,
  433. Offset = OffSet,
  434. Scale = Scale,
  435. }
  436. if Mesh == "SpecialMesh" then
  437. Msh.MeshType = MeshType
  438. Msh.MeshId = MeshId
  439. end
  440. return Msh
  441. end;
  442. };
  443.  
  444. ["Weld"] = {
  445. Create = function(Parent, Part0, Part1, C0, C1)
  446. local Weld = Create("Weld"){
  447. Parent = Parent,
  448. Part0 = Part0,
  449. Part1 = Part1,
  450. C0 = C0,
  451. C1 = C1,
  452. }
  453. return Weld
  454. end;
  455. };
  456.  
  457. ["Sound"] = {
  458. Create = function(id, par, vol, pit)
  459. coroutine.resume(coroutine.create(function()
  460. local S = Create("Sound"){
  461. Volume = vol,
  462. Name = "EffectSoundo",
  463. Pitch = pit or 1,
  464. SoundId = id,
  465. Parent = par or workspace,
  466. }
  467. wait()
  468. S:play()
  469. game:GetService("Debris"):AddItem(S, 10)
  470. end))
  471. end;
  472. };
  473.  
  474. ["TimeSound"] = {
  475. Create = function(id, par, vol, pit, timepos)
  476. coroutine.resume(coroutine.create(function()
  477. local S = Create("Sound"){
  478. Volume = vol,
  479. Name = "EffectSoundo",
  480. Pitch = pit or 1,
  481. SoundId = id,
  482. TimePosition = timepos,
  483. Parent = par or workspace,
  484. }
  485. wait()
  486. S:play()
  487. game:GetService("Debris"):AddItem(S, 10)
  488. end))
  489. end;
  490. };
  491. ["EchoSound"] = {
  492. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  493. coroutine.resume(coroutine.create(function()
  494. local Sas = Create("Sound"){
  495. Volume = vol,
  496. Name = "EffectSoundo",
  497. Pitch = pit or 1,
  498. SoundId = id,
  499. TimePosition = timepos,
  500. Parent = par or workspace,
  501. }
  502. local E = Create("EchoSoundEffect"){
  503. Delay = echodelay,
  504. Name = "Echo",
  505. Feedback = fedb,
  506. DryLevel = dryl,
  507. Parent = Sas,
  508. }
  509. wait()
  510. Sas:play()
  511. game:GetService("Debris"):AddItem(Sas, delays)
  512. end))
  513. end;
  514. };
  515.  
  516. ["LongSound"] = {
  517. Create = function(id, par, vol, pit)
  518. coroutine.resume(coroutine.create(function()
  519. local S = Create("Sound"){
  520. Volume = vol,
  521. Pitch = pit or 1,
  522. SoundId = id,
  523. Parent = par or workspace,
  524. }
  525. wait()
  526. S:play()
  527. game:GetService("Debris"):AddItem(S, 60)
  528. end))
  529. end;
  530. };
  531.  
  532. ["ParticleEmitter"] = {
  533. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  534. local fp = Create("ParticleEmitter"){
  535. Parent = Parent,
  536. Color = ColorSequence.new(Color1, Color2),
  537. LightEmission = LightEmission,
  538. Size = Size,
  539. Texture = Texture,
  540. Transparency = Transparency,
  541. ZOffset = ZOffset,
  542. Acceleration = Accel,
  543. Drag = Drag,
  544. LockedToPart = LockedToPart,
  545. VelocityInheritance = VelocityInheritance,
  546. EmissionDirection = EmissionDirection,
  547. Enabled = Enabled,
  548. Lifetime = LifeTime,
  549. Rate = Rate,
  550. Rotation = Rotation,
  551. RotSpeed = RotSpeed,
  552. Speed = Speed,
  553. VelocitySpread = VelocitySpread,
  554. }
  555. return fp
  556. end;
  557. };
  558.  
  559. CreateTemplate = {
  560.  
  561. };
  562. }
  563.  
  564.  
  565.  
  566. New = function(Object, Parent, Name, Data)
  567. local Object = Instance.new(Object)
  568. for Index, Value in pairs(Data or {}) do
  569. Object[Index] = Value
  570. end
  571. Object.Parent = Parent
  572. Object.Name = Name
  573. return Object
  574. end
  575. local halocolor = BrickColor.new("Pastel light blue")
  576. local halocolor2 = BrickColor.new("Cool yellow")
  577. local starcolor = BrickColor.new("Bright yellow")
  578. local lunacolor = BrickColor.new("Navy blue")
  579. local lunacolor2 = BrickColor.new("Bright blue")
  580. local wepcolor = BrickColor.new("Really black")
  581. local maincolor = BrickColor.new("Really black")
  582. local m = Instance.new("Model",char)
  583. local m2 = Instance.new("Model",char)
  584. local m3 = Instance.new("Model",char)
  585. local mw1 = Instance.new("Model",char)
  586. local mw2 = Instance.new("Model",char)
  587.  
  588.  
  589. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  590. local gui = it(GuiType)
  591. gui.Parent = parent
  592. gui.Text = text
  593. gui.BackgroundTransparency = backtrans
  594. gui.BackgroundColor3 = backcol
  595. gui.SizeConstraint = "RelativeXY"
  596. gui.TextXAlignment = "Center"
  597. gui.TextYAlignment = "Center"
  598. gui.Position = pos
  599. gui.Size = size
  600. gui.Font = "SourceSans"
  601. gui.FontSize = "Size14"
  602. gui.TextWrapped = false
  603. gui.TextStrokeTransparency = 0
  604. gui.TextColor = BrickColor.new("White")
  605. return gui
  606. end
  607. --------------------------- GUI STUFF
  608. local basgui = it("GuiMain")
  609. basgui.Parent = plr.PlayerGui
  610. basgui.Name = "VISgui"
  611. local fullscreenz = it("Frame")
  612. fullscreenz.Parent = basgui
  613. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  614. fullscreenz.BackgroundTransparency = 1
  615. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  616. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  617. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  618. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  619. imgl2.BackgroundTransparency = 1
  620. imgl2.BorderSizePixel = 0
  621. imgl2.ImageTransparency = 0.5
  622. imgl2.ImageColor3 = Color3.new(1,0,0)
  623. imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
  624. imgl2.Size = UDim2.new(0,1000,0,1000)
  625. imgl2.Image = "rbxassetid://2325939897"
  626. local techc = imgl2:Clone()
  627. techc.Parent = fullscreenz
  628. techc.ImageTransparency = 0
  629. techc.Size = UDim2.new(0,900,0,900)
  630. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  631. techc.ImageColor3 = Color3.new(1,0,0)
  632. techc.Image = "rbxassetid://2273224484"
  633. local circl = imgl2:Clone()
  634. circl.Parent = fullscreenz
  635. circl.ImageTransparency = 0
  636. circl.Size = UDim2.new(0,550,0,550)
  637. circl.Position = UDim2.new(0.75,25,0.55,25)
  638. circl.ImageColor3 = Color3.new(0,0,0)
  639. circl.Image = "rbxassetid://2312119891"
  640. local circl2 = imgl2:Clone()
  641. circl2.Parent = fullscreenz
  642. circl2.ImageTransparency = 0
  643. circl2.Size = UDim2.new(0,700,0,700)
  644. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  645. circl2.ImageColor3 = Color3.new(1,0,0)
  646. circl2.Image = "rbxassetid://2312119891"
  647. local imgl2b = imgl2:Clone()
  648. imgl2b.Parent = fullscreenz
  649. imgl2b.ImageTransparency = 0
  650. imgl2b.Size = UDim2.new(0,800,0,800)
  651. imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
  652. imgl2b.ImageColor3 = Color3.new(0,0,0)
  653. local ned = Instance.new("TextLabel",fullscreenz)
  654. ned.ZIndex = 2
  655. ned.Font = "Arcade"
  656. ned.BackgroundTransparency = 1
  657. ned.BorderSizePixel = 0.65
  658. ned.Size = UDim2.new(0.3,0,0.2,0)
  659. ned.Position = UDim2.new(0.7,0,0.8,0)
  660. ned.TextColor3 = BrickColor.new("Really red").Color
  661. ned.TextStrokeColor3 = BrickColor.new("Really black").Color
  662. ned.TextScaled = true
  663. ned.TextStrokeTransparency = 0
  664. ned.Text = "Hopeless Guest"
  665. ned.TextSize = 24
  666. ned.Rotation = 1
  667. ned.TextXAlignment = "Right"
  668. ned.TextYAlignment = "Bottom"
  669.  
  670. local extrawingmod1 = Instance.new("Model",char)
  671. local extrawingmod2 = Instance.new("Model",char)
  672.  
  673. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  674. local p = Instance.new("Part")
  675. p.TopSurface = 0
  676. p.BottomSurface = 0
  677. p.Parent = parent
  678. p.Size = Vector3.new(0.1,0.1,0.1)
  679. p.Transparency = transparency
  680. p.Reflectance = reflectance
  681. p.CanCollide = false
  682. p.Locked = true
  683. p.BrickColor = brickcolor
  684. p.Material = material
  685. return p
  686. end
  687.  
  688. function CreateMesh(parent,meshtype,x1,y1,z1)
  689. local mesh = Instance.new("SpecialMesh",parent)
  690. mesh.MeshType = meshtype
  691. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  692. return mesh
  693. end
  694.  
  695. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  696. local mesh = Instance.new("SpecialMesh",parent)
  697. mesh.MeshType = "FileMesh"
  698. mesh.MeshId = meshid
  699. mesh.Scale = Vector3.new(x1,y1,z1)
  700. return mesh
  701. end
  702.  
  703.  
  704. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  705. local mesh = Instance.new("SpecialMesh",parent)
  706. mesh.MeshType = "FileMesh"
  707. mesh.MeshId = meshid
  708. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  709. mesh.Scale = Vector3.new(x1,y1,z1)
  710. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  711. return mesh
  712. end
  713.  
  714. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  715. local weld = Instance.new("Weld")
  716. weld.Parent = parent
  717. weld.Part0 = part0
  718. weld.Part1 = part1
  719. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  720. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  721. return weld
  722. end
  723.  
  724.  
  725. --------------
  726. --------------
  727. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  728. 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))
  729. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  730. 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))
  731.  
  732. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  733. CreateMesh(handle,"Brick",0,0,0)
  734. 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))
  735. local valuaring = 10
  736. for i = 0, 49 do
  737. valuaring = valuaring + 10
  738. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  739. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  740. 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))
  741. end
  742.  
  743. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  744. CreateMesh(handle,"Brick",0,0,0)
  745. 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))
  746. local valuaring = 10
  747. for i = 0, 49 do
  748. valuaring = valuaring + 10
  749. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  750. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  751. 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))
  752. end
  753.  
  754.  
  755. local handle = CreateParta(m,1,1,"Neon",maincolor)
  756. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  757. 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))
  758.  
  759. --- Left wing.
  760.  
  761. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  762. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  763. 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))
  764.  
  765. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  766. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  767. 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))
  768. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  769. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  770. 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))
  771. A0 = Instance.new('Attachment',wed)
  772. A0.Position = vt(0,0.25,0.25)
  773. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  774. CreateMesh(wed,"Wedge",0.05,0.5,3)
  775. 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))
  776. A1 = Instance.new('Attachment',wed)
  777. A1.Position = vt(0,-0.25,-2)
  778. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  779. CreateMesh(wed,"Wedge",0.05,3,0.5)
  780. 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))
  781.  
  782. tl1 = Instance.new('Trail',wed)
  783. tl1.Attachment0 = A1
  784. tl1.Attachment1 = A0
  785. tl1.Texture = "rbxassetid://2108945559"
  786. tl1.LightEmission = 1
  787. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  788. tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  789. tl1.Lifetime = 0.6
  790.  
  791.  
  792. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  793. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  794. 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))
  795.  
  796. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  797. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  798. 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))
  799. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  800. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  801. 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))
  802. A0 = Instance.new('Attachment',wed)
  803. A0.Position = vt(0,0.25,0.25)
  804. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  805. CreateMesh(wed,"Wedge",0.05,0.5,3)
  806. 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))
  807. A1 = Instance.new('Attachment',wed)
  808. A1.Position = vt(0,-0.25,-2)
  809. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  810. CreateMesh(wed,"Wedge",0.05,3,0.5)
  811. 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))
  812.  
  813. tl2 = Instance.new('Trail',wed)
  814. tl2.Attachment0 = A1
  815. tl2.Attachment1 = A0
  816. tl2.Texture = "rbxassetid://2108945559"
  817. tl2.LightEmission = 1
  818. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  819. tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  820. tl2.Lifetime = 0.6
  821.  
  822. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  823. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  824. 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))
  825.  
  826. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  827. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  828. 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))
  829. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  830. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  831. 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))
  832. A0 = Instance.new('Attachment',wed)
  833. A0.Position = vt(0,0.25,0.25)
  834. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  835. CreateMesh(wed,"Wedge",0.05,0.5,3)
  836. 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))
  837. A1 = Instance.new('Attachment',wed)
  838. A1.Position = vt(0,-0.25,-2)
  839. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  840. CreateMesh(wed,"Wedge",0.05,3,0.5)
  841. 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))
  842.  
  843. tl3 = Instance.new('Trail',wed)
  844. tl3.Attachment0 = A1
  845. tl3.Attachment1 = A0
  846. tl3.Texture = "rbxassetid://2108945559"
  847. tl3.LightEmission = 1
  848. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  849. tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  850. tl3.Lifetime = 0.6
  851.  
  852. tl1.Enabled = false
  853. tl2.Enabled = false
  854. tl3.Enabled = false
  855. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  856. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  857. 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))
  858.  
  859. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  860. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  861. 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))
  862. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  863. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  864. 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))
  865. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  866. CreateMesh(wed,"Wedge",0.05,0.5,3)
  867. 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))
  868. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  869. CreateMesh(wed,"Wedge",0.05,3,0.5)
  870. 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))
  871.  
  872. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  873. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  874. 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))
  875.  
  876. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  877. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  878. 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))
  879. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  880. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  881. 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))
  882. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  883. CreateMesh(wed,"Wedge",0.05,0.5,3)
  884. 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))
  885. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  886. CreateMesh(wed,"Wedge",0.05,3,0.5)
  887. 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))
  888.  
  889. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  890. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  891. 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))
  892.  
  893. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  894. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  895. 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))
  896. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  897. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  898. 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))
  899. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  900. CreateMesh(wed,"Wedge",0.05,0.5,3)
  901. 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))
  902. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  903. CreateMesh(wed,"Wedge",0.05,3,0.5)
  904. 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))
  905.  
  906. -- Right wing.
  907.  
  908. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  909. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  910. 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))
  911.  
  912. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  913. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  914. 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))
  915. A0 = Instance.new('Attachment',wed)
  916. A0.Position = vt(0,0.25,0.25)
  917. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  918. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  919. 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))
  920. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  921. CreateMesh(wed,"Wedge",0.05,0.5,3)
  922. 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))
  923. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  924. CreateMesh(wed,"Wedge",0.05,3,0.5)
  925. 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))
  926. A1 = Instance.new('Attachment',wed)
  927. A1.Position = vt(0,2,0.25)
  928.  
  929. tr1 = Instance.new('Trail',wed)
  930. tr1.Attachment0 = A1
  931. tr1.Attachment1 = A0
  932. tr1.Texture = "rbxassetid://2108945559"
  933. tr1.LightEmission = 1
  934. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  935. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  936. tr1.Lifetime = 0.6
  937.  
  938. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  939. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  940. 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))
  941.  
  942. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  943. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  944. 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))
  945. A0 = Instance.new('Attachment',wed)
  946. A0.Position = vt(0,0.25,0.25)
  947. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  948. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  949. 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))
  950. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  951. CreateMesh(wed,"Wedge",0.05,0.5,3)
  952. 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))
  953. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  954. CreateMesh(wed,"Wedge",0.05,3,0.5)
  955. 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))
  956. A1 = Instance.new('Attachment',wed)
  957. A1.Position = vt(0,2,0.25)
  958.  
  959. tr2 = Instance.new('Trail',wed)
  960. tr2.Attachment0 = A1
  961. tr2.Attachment1 = A0
  962. tr2.Texture = "rbxassetid://2108945559"
  963. tr2.LightEmission = 1
  964. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  965. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  966. tr2.Lifetime = 0.6
  967.  
  968. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  969. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  970. 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))
  971.  
  972. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  973. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  974. 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))
  975. A0 = Instance.new('Attachment',wed)
  976. A0.Position = vt(0,0.25,0.25)
  977. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  978. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  979. 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))
  980. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  981. CreateMesh(wed,"Wedge",0.05,0.5,3)
  982. 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))
  983. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  984. CreateMesh(wed,"Wedge",0.05,3,0.5)
  985. 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))
  986. A1 = Instance.new('Attachment',wed)
  987. A1.Position = vt(0,2,0.25)
  988.  
  989. tr3 = Instance.new('Trail',wed)
  990. tr3.Attachment0 = A1
  991. tr3.Attachment1 = A0
  992. tr3.Texture = "rbxassetid://2108945559"
  993. tr3.LightEmission = 1
  994. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  995. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  996. tr3.Lifetime = 0.6
  997.  
  998.  
  999. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1000. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1001. 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))
  1002.  
  1003. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1004. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1005. 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))
  1006. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1007. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1008. 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))
  1009. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1010. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1011. 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))
  1012. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1013. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1014. 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))
  1015.  
  1016. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1017. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1018. 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))
  1019.  
  1020. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1021. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1022. 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))
  1023. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1024. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1025. 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))
  1026. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1027. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1028. 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))
  1029. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1030. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1031. 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))
  1032.  
  1033. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1034. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1035. 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))
  1036.  
  1037. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1038. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1039. 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))
  1040. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1041. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1042. 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))
  1043. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1044. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1045. 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))
  1046. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1047. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1048. 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))
  1049.  
  1050. --HERES THE RING
  1051.  
  1052.  
  1053. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1054. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1055. 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))
  1056. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1057. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1058. 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))
  1059. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1060. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1061. 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))
  1062.  
  1063.  
  1064. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1065. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1066. 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))
  1067.  
  1068. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1069. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1070. 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))
  1071.  
  1072.  
  1073.  
  1074. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1075. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1076. 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))
  1077.  
  1078. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1079. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1080. 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))
  1081.  
  1082. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1083. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1084. 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))
  1085.  
  1086. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1087. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1088. 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))
  1089. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1090. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1091. 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))]]--
  1092.  
  1093. --- second ring
  1094.  
  1095.  
  1096. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1097. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1098. 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))
  1099.  
  1100. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1101. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1102. 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))
  1103.  
  1104.  
  1105.  
  1106. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1107. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1108. 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))
  1109.  
  1110. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1111. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1112. 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))
  1113.  
  1114. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1115. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1116. 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))
  1117.  
  1118. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1119. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1120. 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))
  1121. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1122. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1123. 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))
  1124.  
  1125.  
  1126.  
  1127. for i, v in pairs(m:GetChildren()) do
  1128. if v:IsA("Part") then
  1129. v.BrickColor = BrickColor.new("Really black")
  1130. v.Material = "Glass"
  1131. end
  1132. end
  1133. for i, v in pairs(m2:GetChildren()) do
  1134. if v:IsA("Part") then
  1135. v.BrickColor = BrickColor.new("Crimson")
  1136. v.Material = "Granite"
  1137. end
  1138. end
  1139. for i, v in pairs(m3:GetChildren()) do
  1140. if v:IsA("Part") then
  1141. v.BrickColor = BrickColor.new("Really red")
  1142. v.Material = "Neon"
  1143. end
  1144. end
  1145. for i, v in pairs(mw2:GetChildren()) do
  1146. if v:IsA("Part") then
  1147. v.BrickColor = BrickColor.new("Really red")
  1148. v.Material = "Neon"
  1149. end
  1150. end
  1151. for i, v in pairs(mw1:GetChildren()) do
  1152. if v:IsA("Part") then
  1153. v.Transparency = 1
  1154. v.BrickColor = BrickColor.new("Really red")
  1155. v.Material = "Neon"
  1156. end
  1157. end
  1158. for i, v in pairs(extrawingmod1:GetChildren()) do
  1159. if v:IsA("Part") then
  1160. v.Transparency = 1
  1161. v.BrickColor = BrickColor.new("White")
  1162. v.Material = "Neon"
  1163. end
  1164. end
  1165. for i, v in pairs(extrawingmod2:GetChildren()) do
  1166. if v:IsA("Part") then
  1167. v.Transparency = 1
  1168. v.BrickColor = BrickColor.new("White")
  1169. v.Material = "Neon"
  1170. end
  1171. end
  1172. local MAINRUINCOLOR = BrickColor.new("Really red")
  1173. ------
  1174.  
  1175.  
  1176. function RemoveOutlines(part)
  1177. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1178. end
  1179. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1180. local Part = Create("Part")({
  1181. Parent = Parent,
  1182. Reflectance = Reflectance,
  1183. Transparency = Transparency,
  1184. CanCollide = false,
  1185. Locked = true,
  1186. BrickColor = BrickColor.new(tostring(BColor)),
  1187. Name = Name,
  1188. Size = Size,
  1189. Material = Material
  1190. })
  1191. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1192. RemoveOutlines(Part)
  1193. return Part
  1194. end
  1195. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1196. local Msh = Create(Mesh)({
  1197. Parent = Part,
  1198. Offset = OffSet,
  1199. Scale = Scale
  1200. })
  1201. if Mesh == "SpecialMesh" then
  1202. Msh.MeshType = MeshType
  1203. Msh.MeshId = MeshId
  1204. end
  1205. return Msh
  1206. end
  1207. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1208. local Weld = Create("Weld")({
  1209. Parent = Parent,
  1210. Part0 = Part0,
  1211. Part1 = Part1,
  1212. C0 = C0,
  1213. C1 = C1
  1214. })
  1215. return Weld
  1216. end
  1217.  
  1218. Player = plr
  1219. Character=Player.Character
  1220. PlayerGui=Player.PlayerGui
  1221. Backpack=Player.Backpack
  1222. Torso=Character.Torso
  1223. Head=Character.Head
  1224. Humanoid=Character.Humanoid
  1225. m=Instance.new('Model',Character)
  1226. LeftArm=Character["Left Arm"]
  1227. LeftLeg=Character["Left Leg"]
  1228. RightArm=Character["Right Arm"]
  1229. RightLeg=Character["Right Leg"]
  1230. LS=Torso["Left Shoulder"]
  1231. LH=Torso["Left Hip"]
  1232. RS=Torso["Right Shoulder"]
  1233. RH=Torso["Right Hip"]
  1234. Face = Head.face
  1235. Neck=Torso.Neck
  1236. it=Instance.new
  1237. attacktype=1
  1238. vt=Vector3.new
  1239. cf=CFrame.new
  1240. euler=CFrame.fromEulerAnglesXYZ
  1241. angles=CFrame.Angles
  1242. cloaked=false
  1243. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1244. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1245. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1246. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1247. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1248. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1249. RootPart=Character.HumanoidRootPart
  1250. RootJoint=RootPart.RootJoint
  1251. RootCF=euler(-1.57,0,3.14)
  1252. attack = false
  1253. attackdebounce = false
  1254. deb=false
  1255. equipped=true
  1256. hand=false
  1257. combo=0
  1258. mana=0
  1259. trispeed=.2
  1260. attackmode='none'
  1261. local idle=0
  1262. local Anim="Idle"
  1263. local Effects={}
  1264. local gun=false
  1265. local shoot=false
  1266. local sine = 0
  1267. local change = 1
  1268.  
  1269. function RecolorTextAndRename(name,col1,col2,font)
  1270. modet.TextStrokeColor3 = col2
  1271. modet.TextColor3 = col1
  1272. modet.Font = font
  1273. modet.Text = name
  1274. techc.ImageColor3 = col2
  1275. circl.ImageColor3 = col2
  1276. circl2.ImageColor3 = col1
  1277. imgl2.ImageColor3 = col1
  1278. imgl2b.ImageColor3 = col2
  1279. ned.Text = name
  1280. ned.TextColor3 = col1
  1281. ned.TextStrokeColor3 = col2
  1282. end
  1283. --save shoulders
  1284. RSH, LSH=nil, nil
  1285. --welds
  1286. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1287. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1288. LH=Torso["Left Hip"]
  1289. RH=Torso["Right Hip"]
  1290. TorsoColor=Torso.BrickColor
  1291. function NoOutline(Part)
  1292. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1293. end
  1294. ch=Character
  1295. RSH=ch.Torso["Right Shoulder"]
  1296. LSH=ch.Torso["Left Shoulder"]
  1297. --
  1298. RSH.Parent=nil
  1299. LSH.Parent=nil
  1300. --
  1301. RW.Name="Right Shoulder"
  1302. RW.Part0=ch.Torso
  1303. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1304. RW.C1=cf(0, 0.5, 0)
  1305. RW.Part1=ch["Right Arm"]
  1306. RW.Parent=ch.Torso
  1307. --
  1308. LW.Name="Left Shoulder"
  1309. LW.Part0=ch.Torso
  1310. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1311. LW.C1=cf(0, 0.5, 0)
  1312. LW.Part1=ch["Left Arm"]
  1313. LW.Parent=ch.Torso
  1314.  
  1315. local Stats=Instance.new("BoolValue")
  1316. Stats.Name="Stats"
  1317. Stats.Parent=Character
  1318. local Atk=Instance.new("NumberValue")
  1319. Atk.Name="Damage"
  1320. Atk.Parent=Stats
  1321. Atk.Value=1
  1322. local Def=Instance.new("NumberValue")
  1323. Def.Name="Defense"
  1324. Def.Parent=Stats
  1325. Def.Value=1
  1326. local Speed=Instance.new("NumberValue")
  1327. Speed.Name="Speed"
  1328. Speed.Parent=Stats
  1329. Speed.Value=1
  1330. local Mvmt=Instance.new("NumberValue")
  1331. Mvmt.Name="Movement"
  1332. Mvmt.Parent=Stats
  1333. Mvmt.Value=1
  1334.  
  1335. local donum=0
  1336. local ast = {744586075,385254610}
  1337.  
  1338. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1339. local fp=it("Part")
  1340. fp.formFactor=formfactor
  1341. fp.Parent=parent
  1342. fp.Reflectance=reflectance
  1343. fp.Transparency=transparency
  1344. fp.CanCollide=false
  1345. fp.Locked=true
  1346. fp.BrickColor=brickcolor
  1347. fp.Name=name
  1348. fp.Size=size
  1349. fp.Position=Torso.Position
  1350. NoOutline(fp)
  1351. fp.Material="SmoothPlastic"
  1352. fp:BreakJoints()
  1353. return fp
  1354. end
  1355.  
  1356. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1357. local mesh=it(Mesh)
  1358. mesh.Parent=part
  1359. if Mesh=="SpecialMesh" then
  1360. mesh.MeshType=meshtype
  1361. if meshid~="nil" then
  1362. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1363. end
  1364. end
  1365. mesh.Offset=offset
  1366. mesh.Scale=scale
  1367. return mesh
  1368. end
  1369.  
  1370. function weld(parent,part0,part1,c0)
  1371. local weld=it("Weld")
  1372. weld.Parent=parent
  1373. weld.Part0=part0
  1374. weld.Part1=part1
  1375. weld.C0=c0
  1376. return weld
  1377. end
  1378.  
  1379. local Color1=Torso.BrickColor
  1380.  
  1381. local bodvel=Instance.new("BodyVelocity")
  1382. local bg=Instance.new("BodyGyro")
  1383.  
  1384. --------- SazEreno's Artificial HB --------------
  1385. ArtificialHB = Instance.new("BindableEvent", script)
  1386. ArtificialHB.Name = "ArtificialHB"
  1387.  
  1388. script:WaitForChild("ArtificialHB")
  1389. Frame_Speed = 1 / 60
  1390. frame = Frame_Speed
  1391. tf = 0
  1392. allowframeloss = false
  1393. tossremainder = false
  1394. lastframe = tick()
  1395. script.ArtificialHB:Fire()
  1396.  
  1397. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1398. tf = tf + s
  1399. if tf >= frame then
  1400. if allowframeloss then
  1401. script.ArtificialHB:Fire()
  1402. lastframe = tick()
  1403. else
  1404. for i = 1, math.floor(tf / frame) do
  1405. script.ArtificialHB:Fire()
  1406. end
  1407. lastframe = tick()
  1408. end
  1409. if tossremainder then
  1410. tf = 0
  1411. else
  1412. tf = tf - frame * math.floor(tf / frame)
  1413. end
  1414. end
  1415. end)
  1416.  
  1417. ------------------
  1418. function swait(num)
  1419. if num == 0 or num == nil then
  1420. ArtificialHB.Event:wait()
  1421. else
  1422. for i = 1, num do
  1423. ArtificialHB.Event:wait()
  1424. end
  1425. end
  1426. end
  1427. -------- RAINBOW LEAVE IT TO ME
  1428. local r = 255
  1429. local g = 0
  1430. local b = 0
  1431. coroutine.resume(coroutine.create(function()
  1432. while wait() do
  1433. for i = 0, 254/5 do
  1434. swait()
  1435. g = g + 5
  1436. end
  1437. for i = 0, 254/5 do
  1438. swait()
  1439. r = r - 5
  1440. end
  1441. for i = 0, 254/5 do
  1442. swait()
  1443. b = b + 5
  1444. end
  1445. for i = 0, 254/5 do
  1446. swait()
  1447. g = g - 5
  1448. end
  1449. for i = 0, 254/5 do
  1450. swait()
  1451. r = r + 5
  1452. end
  1453. for i = 0, 254/5 do
  1454. swait()
  1455. b = b - 5
  1456. end
  1457. end
  1458. end))
  1459.  
  1460.  
  1461. so = function(id,par,vol,pit)
  1462. coroutine.resume(coroutine.create(function()
  1463. local sou = Instance.new("Sound",par or workspace)
  1464. sou.Volume=vol
  1465. sou.Pitch=pit or 1
  1466. sou.SoundId=id
  1467. swait()
  1468. sou:play()
  1469. game:GetService("Debris"):AddItem(sou,6)
  1470. end))
  1471. end
  1472.  
  1473. function clerp(a,b,t)
  1474. local qa = {QuaternionFromCFrame(a)}
  1475. local qb = {QuaternionFromCFrame(b)}
  1476. local ax, ay, az = a.x, a.y, a.z
  1477. local bx, by, bz = b.x, b.y, b.z
  1478. local _t = 1-t
  1479. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1480. end
  1481.  
  1482. function QuaternionFromCFrame(cf)
  1483. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1484. local trace = m00 + m11 + m22
  1485. if trace > 0 then
  1486. local s = math.sqrt(1 + trace)
  1487. local recip = 0.5/s
  1488. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1489. else
  1490. local i = 0
  1491. if m11 > m00 then
  1492. i = 1
  1493. end
  1494. if m22 > (i == 0 and m00 or m11) then
  1495. i = 2
  1496. end
  1497. if i == 0 then
  1498. local s = math.sqrt(m00-m11-m22+1)
  1499. local recip = 0.5/s
  1500. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1501. elseif i == 1 then
  1502. local s = math.sqrt(m11-m22-m00+1)
  1503. local recip = 0.5/s
  1504. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1505. elseif i == 2 then
  1506. local s = math.sqrt(m22-m00-m11+1)
  1507. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1508. end
  1509. end
  1510. end
  1511.  
  1512. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1513. local xs, ys, zs = x + x, y + y, z + z
  1514. local wx, wy, wz = w*xs, w*ys, w*zs
  1515. local xx = x*xs
  1516. local xy = x*ys
  1517. local xz = x*zs
  1518. local yy = y*ys
  1519. local yz = y*zs
  1520. local zz = z*zs
  1521. 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))
  1522. end
  1523.  
  1524. function QuaternionSlerp(a, b, t)
  1525. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1526. local startInterp, finishInterp;
  1527. if cosTheta >= 0.0001 then
  1528. if (1 - cosTheta) > 0.0001 then
  1529. local theta = math.acos(cosTheta)
  1530. local invSinTheta = 1/math.sin(theta)
  1531. startInterp = math.sin((1-t)*theta)*invSinTheta
  1532. finishInterp = math.sin(t*theta)*invSinTheta
  1533. else
  1534. startInterp = 1-t
  1535. finishInterp = t
  1536. end
  1537. else
  1538. if (1+cosTheta) > 0.0001 then
  1539. local theta = math.acos(-cosTheta)
  1540. local invSinTheta = 1/math.sin(theta)
  1541. startInterp = math.sin((t-1)*theta)*invSinTheta
  1542. finishInterp = math.sin(t*theta)*invSinTheta
  1543. else
  1544. startInterp = t-1
  1545. finishInterp = t
  1546. end
  1547. end
  1548. 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
  1549. end
  1550.  
  1551. local function CFrameFromTopBack(at, top, back)
  1552. local right = top:Cross(back)
  1553. return CFrame.new(at.x, at.y, at.z,
  1554. right.x, top.x, back.x,
  1555. right.y, top.y, back.y,
  1556. right.z, top.z, back.z)
  1557. end
  1558.  
  1559. function Triangle(a, b, c)
  1560. local edg1 = (c-a):Dot((b-a).unit)
  1561. local edg2 = (a-b):Dot((c-b).unit)
  1562. local edg3 = (b-c):Dot((a-c).unit)
  1563. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1564. a, b, c = a, b, c
  1565. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1566. a, b, c = b, c, a
  1567. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1568. a, b, c = c, a, b
  1569. else
  1570. assert(false, "unreachable")
  1571. end
  1572.  
  1573. local len1 = (c-a):Dot((b-a).unit)
  1574. local len2 = (b-a).magnitude - len1
  1575. local width = (a + (b-a).unit*len1 - c).magnitude
  1576.  
  1577. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1578.  
  1579. local list = {}
  1580.  
  1581. if len1 > 0.01 then
  1582. local w1 = Instance.new('WedgePart', m)
  1583. game:GetService("Debris"):AddItem(w1,5)
  1584. w1.Material = "SmoothPlastic"
  1585. w1.FormFactor = 'Custom'
  1586. w1.BrickColor = BrickColor.new("Really red")
  1587. w1.Transparency = 0
  1588. w1.Reflectance = 0
  1589. w1.Material = "SmoothPlastic"
  1590. w1.CanCollide = false
  1591. local l1 = Instance.new("PointLight",w1)
  1592. l1.Color = Color3.new(170,0,0)
  1593. NoOutline(w1)
  1594. local sz = Vector3.new(0.2, width, len1)
  1595. w1.Size = sz
  1596. local sp = Instance.new("SpecialMesh",w1)
  1597. sp.MeshType = "Wedge"
  1598. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1599. w1:BreakJoints()
  1600. w1.Anchored = true
  1601. w1.Parent = workspace
  1602. w1.Transparency = 0.7
  1603. table.insert(Effects,{w1,"Disappear",.01})
  1604. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1605. table.insert(list,w1)
  1606. end
  1607.  
  1608. if len2 > 0.01 then
  1609. local w2 = Instance.new('WedgePart', m)
  1610. game:GetService("Debris"):AddItem(w2,5)
  1611. w2.Material = "SmoothPlastic"
  1612. w2.FormFactor = 'Custom'
  1613. w2.BrickColor = BrickColor.new("Really red")
  1614. w2.Transparency = 0
  1615. w2.Reflectance = 0
  1616. w2.Material = "SmoothPlastic"
  1617. w2.CanCollide = false
  1618. local l2 = Instance.new("PointLight",w2)
  1619. l2.Color = Color3.new(170,0,0)
  1620. NoOutline(w2)
  1621. local sz = Vector3.new(0.2, width, len2)
  1622. w2.Size = sz
  1623. local sp = Instance.new("SpecialMesh",w2)
  1624. sp.MeshType = "Wedge"
  1625. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1626. w2:BreakJoints()
  1627. w2.Anchored = true
  1628. w2.Parent = workspace
  1629. w2.Transparency = 0.7
  1630. table.insert(Effects,{w2,"Disappear",.01})
  1631. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1632. table.insert(list,w2)
  1633. end
  1634. return unpack(list)
  1635. end
  1636.  
  1637.  
  1638. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1639. if hit.Parent == nil then
  1640. return
  1641. end
  1642. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1643. for _, v in pairs(hit.Parent:children()) do
  1644. if v:IsA("Humanoid") then
  1645. h = v
  1646. end
  1647. end
  1648. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1649. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1650. return
  1651. end
  1652. local c = Create("ObjectValue")({
  1653. Name = "creator",
  1654. Value = game:GetService("Players").GodzPlaysRB,
  1655. Parent = h
  1656. })
  1657. game:GetService("Debris"):AddItem(c, 0.5)
  1658. if HitSound ~= nil and HitPitch ~= nil then
  1659. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1660. end
  1661. local Damage = math.random(minim, maxim)
  1662. local blocked = false
  1663. local block = hit.Parent:findFirstChild("Block")
  1664. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1665. blocked = true
  1666. block.Value = block.Value - 1
  1667. print(block.Value)
  1668. end
  1669. if blocked == false then
  1670. HitHealth = h.Health
  1671. h.MaxHealth = 100
  1672. h.Health = h.Health - Damage
  1673. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1674. print("gained kill")
  1675. dmg(h.Parent)
  1676. end
  1677. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1678. else
  1679. h.Health = h.Health - Damage / 2
  1680. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1681. end
  1682. if Type == "Knockdown" then
  1683. local hum = hit.Parent.Humanoid
  1684. hum.PlatformStand = true
  1685. coroutine.resume(coroutine.create(function(HHumanoid)
  1686. swait(1)
  1687. HHumanoid.PlatformStand = false
  1688. end), hum)
  1689. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1690. local bodvol = Create("BodyVelocity")({
  1691. velocity = angle * knockback,
  1692. P = 5000,
  1693. maxForce = Vector3.new(8000, 8000, 8000),
  1694. Parent = hit
  1695. })
  1696. local rl = Create("BodyAngularVelocity")({
  1697. P = 3000,
  1698. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1699. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1700. Parent = hit
  1701. })
  1702. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1703. game:GetService("Debris"):AddItem(rl, 0.5)
  1704. elseif Type == "Normal" then
  1705. local vp = Create("BodyVelocity")({
  1706. P = 500,
  1707. maxForce = Vector3.new(math.huge, 0, math.huge),
  1708. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1709. })
  1710. if knockback > 0 then
  1711. vp.Parent = hit.Parent.Head
  1712. end
  1713. game:GetService("Debris"):AddItem(vp, 0.5)
  1714. elseif Type == "Up" then
  1715. local bodyVelocity = Create("BodyVelocity")({
  1716. velocity = Vector3.new(0, 20, 0),
  1717. P = 5000,
  1718. maxForce = Vector3.new(8000, 8000, 8000),
  1719. Parent = hit
  1720. })
  1721. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1722. local bodyVelocity = Create("BodyVelocity")({
  1723. velocity = Vector3.new(0, 20, 0),
  1724. P = 5000,
  1725. maxForce = Vector3.new(8000, 8000, 8000),
  1726. Parent = hit
  1727. })
  1728. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1729. elseif Type == "Leech" then
  1730. local hum = hit.Parent.Humanoid
  1731. if hum ~= nil then
  1732. for i = 0, 2 do
  1733. 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)
  1734. end
  1735. Humanoid.Health = Humanoid.Health + 10
  1736. end
  1737. elseif Type == "UpKnock" then
  1738. local hum = hit.Parent.Humanoid
  1739. hum.PlatformStand = true
  1740. if hum ~= nil then
  1741. hitr = true
  1742. end
  1743. coroutine.resume(coroutine.create(function(HHumanoid)
  1744. swait(5)
  1745. HHumanoid.PlatformStand = false
  1746. hitr = false
  1747. end), hum)
  1748. local bodyVelocity = Create("BodyVelocity")({
  1749. velocity = Vector3.new(0, 20, 0),
  1750. P = 5000,
  1751. maxForce = Vector3.new(8000, 8000, 8000),
  1752. Parent = hit
  1753. })
  1754. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1755. local bodyVelocity = Create("BodyVelocity")({
  1756. velocity = Vector3.new(0, 20, 0),
  1757. P = 5000,
  1758. maxForce = Vector3.new(8000, 8000, 8000),
  1759. Parent = hit
  1760. })
  1761. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1762. elseif Type == "Snare" then
  1763. local bp = Create("BodyPosition")({
  1764. P = 2000,
  1765. D = 100,
  1766. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1767. position = hit.Parent.Torso.Position,
  1768. Parent = hit.Parent.Torso
  1769. })
  1770. game:GetService("Debris"):AddItem(bp, 1)
  1771. elseif Type == "Slashnare" then
  1772. 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)
  1773. for i = 1, math.random(4, 5) do
  1774. 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)
  1775. end
  1776. local bp = Create("BodyPosition")({
  1777. P = 2000,
  1778. D = 100,
  1779. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1780. position = hit.Parent.Torso.Position,
  1781. Parent = hit.Parent.Torso
  1782. })
  1783. game:GetService("Debris"):AddItem(bp, 1)
  1784. elseif Type == "Spike" then
  1785. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1786. local bp = Create("BodyPosition")({
  1787. P = 2000,
  1788. D = 100,
  1789. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1790. position = hit.Parent.Torso.Position,
  1791. Parent = hit.Parent.Torso
  1792. })
  1793. game:GetService("Debris"):AddItem(bp, 1)
  1794. elseif Type == "Freeze" then
  1795. local BodPos = Create("BodyPosition")({
  1796. P = 50000,
  1797. D = 1000,
  1798. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1799. position = hit.Parent.Torso.Position,
  1800. Parent = hit.Parent.Torso
  1801. })
  1802. local BodGy = Create("BodyGyro")({
  1803. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1804. P = 20000,
  1805. Parent = hit.Parent.Torso,
  1806. cframe = hit.Parent.Torso.CFrame
  1807. })
  1808. hit.Parent.Torso.Anchored = true
  1809. coroutine.resume(coroutine.create(function(Part)
  1810. swait(1.5)
  1811. Part.Anchored = false
  1812. end), hit.Parent.Torso)
  1813. game:GetService("Debris"):AddItem(BodPos, 3)
  1814. game:GetService("Debris"):AddItem(BodGy, 3)
  1815. end
  1816. local debounce = Create("BoolValue")({
  1817. Name = "DebounceHit",
  1818. Parent = hit.Parent,
  1819. Value = true
  1820. })
  1821. game:GetService("Debris"):AddItem(debounce, Delay)
  1822. c = Instance.new("ObjectValue")
  1823. c.Name = "creator"
  1824. c.Value = Player
  1825. c.Parent = h
  1826. game:GetService("Debris"):AddItem(c, 0.5)
  1827. end
  1828. end
  1829. function ShowDamage(Pos, Text, Time, Color)
  1830. local Rate = 0.03333333333333333
  1831. local Pos = Pos or Vector3.new(0, 0, 0)
  1832. local Text = Text or ""
  1833. local Time = Time or 2
  1834. local Color = Color or Color3.new(1, 0, 1)
  1835. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1836. EffectPart.Anchored = true
  1837. local BillboardGui = Create("BillboardGui")({
  1838. Size = UDim2.new(3, 0, 3, 0),
  1839. Adornee = EffectPart,
  1840. Parent = EffectPart
  1841. })
  1842. local TextLabel = Create("TextLabel")({
  1843. BackgroundTransparency = 1,
  1844. Size = UDim2.new(1, 0, 1, 0),
  1845. Text = Text,
  1846. TextColor3 = Color,
  1847. TextScaled = true,
  1848. Font = Enum.Font.ArialBold,
  1849. Parent = BillboardGui
  1850. })
  1851. game.Debris:AddItem(EffectPart, Time + 0.1)
  1852. EffectPart.Parent = game:GetService("Workspace")
  1853. delay(0, function()
  1854. local Frames = Time / Rate
  1855. for Frame = 1, Frames do
  1856. wait(Rate)
  1857. local Percent = Frame / Frames
  1858. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1859. TextLabel.TextTransparency = Percent
  1860. end
  1861. if EffectPart and EffectPart.Parent then
  1862. EffectPart:Destroy()
  1863. end
  1864. end)
  1865. end
  1866. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1867. for _, c in pairs(workspace:children()) do
  1868. local hum = c:findFirstChildOfClass("Humanoid")
  1869. if hum ~= nil then
  1870. local head = c:findFirstChild("Head")
  1871. if head ~= nil then
  1872. local targ = head.Position - Part.Position
  1873. local mag = targ.magnitude
  1874. if magni >= mag and c.Name ~= Player.Name then
  1875. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1876. end
  1877. end
  1878. end
  1879. end
  1880. end
  1881.  
  1882. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1883. for _, c in pairs(workspace:children()) do
  1884. local hum = c:findFirstChild("Humanoid")
  1885. if hum ~= nil then
  1886. local head = c:findFirstChild("Torso")
  1887. if head ~= nil then
  1888. local targ = head.Position - Part.Position
  1889. local mag = targ.magnitude
  1890. if magni >= mag and c.Name ~= Player.Name then
  1891. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  1892. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1893. end
  1894. end
  1895. end
  1896. end
  1897. end
  1898.  
  1899. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1900. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1901. end
  1902.  
  1903. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1904. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1905. prt.Anchored=true
  1906. prt.CFrame=cframe
  1907. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1908. --http://www.roblox.com/asset/?id=4770560
  1909. game:GetService("Debris"):AddItem(prt,2)
  1910. CF=prt.CFrame
  1911. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1912. for i=0,1,0.2 do
  1913. wait()
  1914. Part.CFrame=CF*cf(0,0,-0.4)
  1915. end
  1916. for i=0,1,delay do
  1917. wait()
  1918. --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)
  1919. Mesh.Scale=Mesh.Scale
  1920. end
  1921. for i=0,1,0.1 do
  1922. wait()
  1923. Part.Transparency=i
  1924. end
  1925. Part.Parent=nil
  1926. end),prt,msh,CF)
  1927. end
  1928.  
  1929. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1930. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1931. prt.Anchored=true
  1932. prt.Material = "Neon"
  1933. prt.CFrame=cframe
  1934. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1935. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1936. game:GetService("Debris"):AddItem(prt,5)
  1937. coroutine.resume(coroutine.create(function(Part,Mesh)
  1938. for i=0,1,delay do
  1939. swait()
  1940. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1941. Part.Transparency=i
  1942. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1943. end
  1944. Part.Parent=nil
  1945. end),prt,msh)
  1946. end
  1947.  
  1948. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1949. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1950. prt.Anchored=true
  1951. prt.Material = "Neon"
  1952. prt.CFrame=cframe
  1953. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1954. game:GetService("Debris"):AddItem(prt,5)
  1955. coroutine.resume(coroutine.create(function(Part,Mesh)
  1956. local rtype = rottype
  1957. for i=0,1,delay do
  1958. swait()
  1959. if rtype == 1 then
  1960. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1961. elseif rtype == 2 then
  1962. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1963. end
  1964. Part.Transparency=i
  1965. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1966. end
  1967. Part.Parent=nil
  1968. end),prt,msh)
  1969. end
  1970.  
  1971. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1972. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1973. prt.Anchored=true
  1974. prt.CFrame=cframe
  1975. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1976. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1977. game:GetService("Debris"):AddItem(prt,5)
  1978. coroutine.resume(coroutine.create(function(Part,Mesh)
  1979. for i=0,1,delay do
  1980. wait()
  1981. Part.Transparency=i
  1982. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1983. end
  1984. Part.Parent=nil
  1985. end),prt,msh)
  1986. end
  1987.  
  1988. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1989. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1990. prt.Anchored=true
  1991. prt.Material = "Neon"
  1992. prt.CFrame=cframe
  1993. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1994. game:GetService("Debris"):AddItem(prt,5)
  1995. coroutine.resume(coroutine.create(function(Part,Mesh)
  1996. local rtype = rottype
  1997. for i=0,1,delay do
  1998. swait()
  1999. if rtype == 1 then
  2000. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2001. elseif rtype == 2 then
  2002. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2003. end
  2004. Part.Transparency=i
  2005. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2006. end
  2007. Part.Parent=nil
  2008. end),prt,msh)
  2009. end
  2010.  
  2011. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2012. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2013. prt.Anchored=true
  2014. prt.Material = "Neon"
  2015. prt.CFrame=cframe
  2016. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2017. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2018. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2019. game:GetService("Debris"):AddItem(prt,5)
  2020. coroutine.resume(coroutine.create(function(Part,Mesh)
  2021. local rtype = rottype
  2022. for i=0,1,delay do
  2023. swait()
  2024. if rtype == 1 then
  2025. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2026. elseif rtype == 2 then
  2027. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2028. end
  2029. dec.Transparency=i
  2030. dec2.Transparency=i
  2031. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2032. end
  2033. Part.Parent=nil
  2034. end),prt,msh)
  2035. end
  2036.  
  2037. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2038. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2039. prt.Anchored=true
  2040. prt.Material = "Neon"
  2041. prt.CFrame=cframe
  2042. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2043. game:GetService("Debris"):AddItem(prt,5)
  2044. coroutine.resume(coroutine.create(function(Part,Mesh)
  2045. local rtype = rottype
  2046. for i=0,1,delay do
  2047. swait()
  2048. if rtype == 1 then
  2049. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2050. elseif rtype == 2 then
  2051. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2052. end
  2053. prt.Transparency=i
  2054. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2055. end
  2056. Part.Parent=nil
  2057. end),prt,msh)
  2058. end
  2059.  
  2060. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2061. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2062. prt.Anchored=true
  2063. prt.Material = "Neon"
  2064. prt.CFrame=cframe
  2065. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2066. game:GetService("Debris"):AddItem(prt,5)
  2067. coroutine.resume(coroutine.create(function(Part,Mesh)
  2068. local rtype = rottype
  2069. for i=0,1,delay do
  2070. swait()
  2071. if rtype == 1 then
  2072. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2073. elseif rtype == 2 then
  2074. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2075. end
  2076. prt.Transparency=i
  2077. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2078. end
  2079. Part.Parent=nil
  2080. end),prt,msh)
  2081. end
  2082.  
  2083. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2084. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2085. prt.Anchored=true
  2086. prt.Material = "Neon"
  2087. prt.CFrame=cframe
  2088. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2089. game:GetService("Debris"):AddItem(prt,5)
  2090. coroutine.resume(coroutine.create(function(Part,Mesh)
  2091. local rtype = rottype
  2092. for i=0,1,delay do
  2093. swait()
  2094. if rtype == 1 then
  2095. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2096. elseif rtype == 2 then
  2097. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2098. end
  2099. prt.Transparency=i
  2100. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2101. end
  2102. Part.Parent=nil
  2103. end),prt,msh)
  2104. end
  2105.  
  2106. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2107. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2108. prt.Anchored=true
  2109. prt.Material = "Neon"
  2110. prt.CFrame=cframe
  2111. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2112. game:GetService("Debris"):AddItem(prt,5)
  2113. coroutine.resume(coroutine.create(function(Part,Mesh)
  2114. local rtype = rottype
  2115. for i=0,1,delay do
  2116. swait()
  2117. if rtype == 1 then
  2118. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2119. elseif rtype == 2 then
  2120. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2121. end
  2122. prt.Transparency=i
  2123. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2124. end
  2125. Part.Parent=nil
  2126. end),prt,msh)
  2127. end
  2128.  
  2129. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2130. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2131. prt.Anchored=false
  2132. prt.CFrame=cframe
  2133. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2134. local wld=weld(prt,prt,Parent,cframe)
  2135. game:GetService("Debris"):AddItem(prt,5)
  2136. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2137. for i=0,1,delay do
  2138. wait()
  2139. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2140. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2141. Part.Transparency=i
  2142. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2143. end
  2144. Part.Parent=nil
  2145. end),prt,msh,wld)
  2146. end
  2147.  
  2148. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2149. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2150. prt.Anchored=false
  2151. prt.CFrame=cframe
  2152. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2153. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2154. game:GetService("Debris"):AddItem(prt,5)
  2155. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2156. for i=0,1,delay do
  2157. wait()
  2158. Weld.C0=euler(i*20,0,0)
  2159. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2160. Part.Transparency=i
  2161. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2162. end
  2163. Part.Parent=nil
  2164. end),prt,msh,wld)
  2165. end
  2166.  
  2167. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2168. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2169. prt.Anchored=true
  2170. prt.CFrame=cframe
  2171. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2172. game:GetService("Debris"):AddItem(prt,2)
  2173. coroutine.resume(coroutine.create(function(Part,Mesh)
  2174. for i=0,1,delay do
  2175. wait()
  2176. Part.CFrame=Part.CFrame
  2177. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2178. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2179. prt2.Anchored=true
  2180. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2181. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2182. game:GetService("Debris"):AddItem(prt2,2)
  2183. coroutine.resume(coroutine.create(function(Part,Mesh)
  2184. for i=0,1,0.1 do
  2185. wait()
  2186. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2187. end
  2188. Part.Parent=nil
  2189. end),prt2,msh2)
  2190. end
  2191. for i=0,1,delay*2 do
  2192. wait()
  2193. Part.CFrame=Part.CFrame
  2194. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2195. end
  2196. Part.Parent=nil
  2197. end),prt,msh)
  2198. end
  2199.  
  2200. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2201. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2202. prt.Anchored=true
  2203. prt.CFrame=cframe
  2204. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2205. game:GetService("Debris"):AddItem(prt,2)
  2206. coroutine.resume(coroutine.create(function(Part,Mesh)
  2207. for i=0,1,delay do
  2208. wait()
  2209. Part.CFrame=Part.CFrame
  2210. Part.Transparency=i
  2211. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2212. end
  2213. Part.Parent=nil
  2214. end),prt,msh)
  2215. end
  2216.  
  2217. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2218. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2219. prt.Anchored=true
  2220. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2221. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2222. game:GetService("Debris"):AddItem(prt,2)
  2223. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2224. CF=Part.CFrame
  2225. Numbb=0
  2226. randnumb=math.random()/10
  2227. rand1=math.random()/10
  2228. for i=0,1,rand1 do
  2229. wait()
  2230. CF=CF*cf(0,math.random()/2,0)
  2231. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2232. Part.CFrame=CF*euler(Numbb,0,0)
  2233. Part.Transparency=i
  2234. Numbb=Numbb+randnumb
  2235. end
  2236. Part.Parent=nil
  2237. end),prt,CF,Numbb,randnumb)
  2238. end
  2239.  
  2240. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2241. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2242. prt.Anchored=true
  2243. prt.CFrame=cframe
  2244. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2245. game:GetService("Debris"):AddItem(prt,5)
  2246. coroutine.resume(coroutine.create(function(Part,Mesh)
  2247. for i=0,1,delay do
  2248. wait()
  2249. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2250. Part.Transparency=i
  2251. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2252. end
  2253. Part.Parent=nil
  2254. end),prt,msh)
  2255. end
  2256.  
  2257. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2258. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2259. prt.Anchored=true
  2260. prt.CFrame=cframe
  2261. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2262. game:GetService("Debris"):AddItem(prt,2)
  2263. coroutine.resume(coroutine.create(function(Part,Mesh)
  2264. for i=0,1,delay do
  2265. wait()
  2266. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2267. Part.Transparency=i
  2268. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2269. end
  2270. Part.Parent=nil
  2271. end),prt,msh)
  2272. end
  2273.  
  2274. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,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*cf(x,y,z)
  2278. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2279. game:GetService("Debris"):AddItem(prt,5)
  2280. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2281. local num=math.random()
  2282. local num2=math.random(-3,2)+math.random()
  2283. local numm=0
  2284. for i=0,1,delay*2 do
  2285. swait()
  2286. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2287. Part.Transparency=i
  2288. numm=numm+0.01
  2289. end
  2290. Part.Parent=nil
  2291. Mesh.Parent=nil
  2292. end),prt,msh,x,y,z)
  2293. end
  2294.  
  2295. function dmgstart(dmg,what)
  2296. hitcon = what.Touched:connect(function(hit)
  2297. local hum = hit.Parent:FindFirstChild("Humanoid")
  2298. if hum and not hum:IsDescendantOf(Character) then
  2299. hum:TakeDamage(dmg)
  2300. end
  2301. end)
  2302. end
  2303.  
  2304. function dmgstop()
  2305. hitcon:disconnect()
  2306. end
  2307.  
  2308. function Cloak()
  2309. Face.Parent=nil
  2310. cloaked=true
  2311. for _,v in pairs(Torso.Parent:children()) do
  2312. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2313. coroutine.resume(coroutine.create(function()
  2314. for i=0,1,0.2 do
  2315. wait()
  2316. v.Transparency=i
  2317. end
  2318. v.Transparency=1
  2319. end))
  2320. end
  2321. if v.className=="Hat" then
  2322. hatp=v.Handle
  2323. coroutine.resume(coroutine.create(function(derp)
  2324. for i=0,1,0.2 do
  2325. wait()
  2326. derp.Transparency=i
  2327. end
  2328. derp.Transparency=1
  2329. end),hatp)
  2330. end
  2331. end
  2332. for _,v in pairs(m:children()) do
  2333. if v.className=="Part" then
  2334. coroutine.resume(coroutine.create(function()
  2335. for i=0,1,0.2 do
  2336. wait()
  2337. v.Transparency=i
  2338. end
  2339. v.Transparency=1
  2340. end))
  2341. end
  2342. end
  2343. end
  2344.  
  2345. function UnCloak()
  2346. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2347. Face.Parent=Head
  2348. cloaked=false
  2349. for _,v in pairs(Torso.Parent:children()) do
  2350. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2351. coroutine.resume(coroutine.create(function()
  2352. for i=0,1,0.1 do
  2353. wait()
  2354. v.Transparency=v.Transparency-0.1
  2355. end
  2356. v.Transparency=0
  2357. end))
  2358. end
  2359. if v.className=="Hat" then
  2360. hatp=v.Handle
  2361. coroutine.resume(coroutine.create(function(derp)
  2362. for i=0,1,0.1 do
  2363. wait()
  2364. derp.Transparency=derp.Transparency-0.1
  2365. end
  2366. derp.Transparency=0
  2367. end),hatp)
  2368. end
  2369. end
  2370. for _,v in pairs(m:children()) do
  2371. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2372. coroutine.resume(coroutine.create(function()
  2373. for i=0,1,0.1 do
  2374. wait()
  2375. v.Transparency=v.Transparency-0.1
  2376. end
  2377. v.Transparency=0
  2378. end))
  2379. v.Transparency=0
  2380. end
  2381. end
  2382. end
  2383.  
  2384. local origcolor = BrickColor.new("Pastel light blue")
  2385. ---- This section of explosions.
  2386.  
  2387. ----
  2388.  
  2389.  
  2390. function ring(type,pos,scale,value)
  2391. local type = type
  2392. local rng = Instance.new("Part", char)
  2393. rng.Anchored = true
  2394. rng.BrickColor = origcolor
  2395. rng.CanCollide = false
  2396. rng.FormFactor = 3
  2397. rng.Name = "Ring"
  2398. rng.Size = Vector3.new(1, 1, 1)
  2399. rng.Transparency = 0
  2400. rng.TopSurface = 0
  2401. rng.BottomSurface = 0
  2402. rng.CFrame = pos
  2403. local rngm = Instance.new("SpecialMesh", rng)
  2404. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2405. rngm.Scale = scale
  2406. local scaler2 = 1
  2407. if type == "Add" then
  2408. scaler2 = 1*value
  2409. elseif type == "Divide" then
  2410. scaler2 = 1/value
  2411. end
  2412. coroutine.resume(coroutine.create(function()
  2413. for i = 0,10,0.1 do
  2414. swait()
  2415. if type == "Add" then
  2416. scaler2 = scaler2 - 0.01*value
  2417. elseif type == "Divide" then
  2418. scaler2 = scaler2 - 0.01/value
  2419. end
  2420. rng.Transparency = rng.Transparency + 0.01
  2421. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2422. end
  2423. rng:Destroy()
  2424. end))
  2425. end
  2426.  
  2427.  
  2428. function wave(type,pos,scale,value)
  2429. local type = type
  2430. local rng = Instance.new("Part", char)
  2431. rng.Anchored = true
  2432. rng.BrickColor = origcolor
  2433. rng.CanCollide = false
  2434. rng.FormFactor = 3
  2435. rng.Name = "Ring"
  2436. rng.Size = Vector3.new(1, 1, 1)
  2437. rng.Transparency = 0
  2438. rng.TopSurface = 0
  2439. rng.BottomSurface = 0
  2440. rng.CFrame = pos
  2441. local rngm = Instance.new("SpecialMesh", rng)
  2442. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2443. rngm.Scale = scale
  2444. local scaler2 = 1
  2445. if type == "Add" then
  2446. scaler2 = 1*value
  2447. elseif type == "Divide" then
  2448. scaler2 = 1/value
  2449. end
  2450. coroutine.resume(coroutine.create(function()
  2451. for i = 0,10,0.1 do
  2452. swait()
  2453. if type == "Add" then
  2454. scaler2 = scaler2 - 0.01*value
  2455. elseif type == "Divide" then
  2456. scaler2 = scaler2 - 0.01/value
  2457. end
  2458. rng.Transparency = rng.Transparency + 0.01
  2459. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2460. end
  2461. rng:Destroy()
  2462. end))
  2463. end
  2464.  
  2465. function wind(type,pos,scale,value,speed)
  2466. local type = type
  2467. local rng = Instance.new("Part", char)
  2468. rng.Anchored = true
  2469. rng.BrickColor = origcolor
  2470. rng.CanCollide = false
  2471. rng.FormFactor = 3
  2472. rng.Name = "Ring"
  2473. rng.Size = Vector3.new(1, 1, 1)
  2474. rng.Transparency = 0
  2475. rng.TopSurface = 0
  2476. rng.BottomSurface = 0
  2477. rng.CFrame = pos
  2478. local rngm = Instance.new("SpecialMesh", rng)
  2479. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2480. rngm.Scale = scale
  2481. local scaler2 = 1
  2482. if type == "Add" then
  2483. scaler2 = 1*value
  2484. elseif type == "Divide" then
  2485. scaler2 = 1/value
  2486. end
  2487. coroutine.resume(coroutine.create(function()
  2488. for i = 0,10,0.1 do
  2489. swait()
  2490. if type == "Add" then
  2491. scaler2 = scaler2 - 0.01*value
  2492. elseif type == "Divide" then
  2493. scaler2 = scaler2 - 0.01/value
  2494. end
  2495. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2496. rng.Transparency = rng.Transparency + 0.01
  2497. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2498. end
  2499. rng:Destroy()
  2500. end))
  2501. end
  2502.  
  2503. function groundwind(type,pos,scale,value,speed)
  2504. local type = type
  2505. local rng = Instance.new("Part", char)
  2506. rng.Anchored = true
  2507. rng.BrickColor = origcolor
  2508. rng.CanCollide = false
  2509. rng.FormFactor = 3
  2510. rng.Name = "Ring"
  2511. rng.Size = Vector3.new(1, 1, 1)
  2512. rng.Transparency = 0
  2513. rng.TopSurface = 0
  2514. rng.BottomSurface = 0
  2515. rng.CFrame = pos
  2516. local rngm = Instance.new("SpecialMesh", rng)
  2517. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2518. rngm.Scale = scale
  2519. local scaler2 = 1
  2520. if type == "Add" then
  2521. scaler2 = 1*value
  2522. elseif type == "Divide" then
  2523. scaler2 = 1/value
  2524. end
  2525. coroutine.resume(coroutine.create(function()
  2526. for i = 0,10,0.1 do
  2527. swait()
  2528. if type == "Add" then
  2529. scaler2 = scaler2 - 0.01*value
  2530. elseif type == "Divide" then
  2531. scaler2 = scaler2 - 0.01/value
  2532. end
  2533. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2534. rng.Transparency = rng.Transparency + 0.01
  2535. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2536. end
  2537. rng:Destroy()
  2538. end))
  2539. end
  2540.  
  2541. function CameraManager()
  2542. if TwoD and not CamInterrupt then
  2543. if Humanoid.Health > 0 then
  2544. Camera.CameraSubject = Humanoid
  2545. Camera.CameraType = "Scriptable"
  2546. Humanoid.AutoRotate = false
  2547. if Booleans.GyroUse then
  2548. Directer.MaxTorque = Vec3(0, huge, 0)
  2549. else
  2550. Directer.MaxTorque = Vec3(0, 0, 0)
  2551. end
  2552. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2553. if Booleans.CamFollow then
  2554. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2555. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2556. else
  2557. CPart.Position = RootPart.Position
  2558. end
  2559. else
  2560. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2561. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2562. end
  2563. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2564. else
  2565. Camera.CameraSubject = Humanoid
  2566. Camera.CameraType = "Custom"
  2567. Controller.Disabled = false
  2568. end
  2569. end
  2570. end
  2571.  
  2572. function ring(type,pos,scale,value)
  2573. local type = type
  2574. local rng = Instance.new("Part", char)
  2575. rng.Anchored = true
  2576. rng.BrickColor = origcolor
  2577. rng.CanCollide = false
  2578. rng.FormFactor = 3
  2579. rng.Name = "Ring"
  2580. rng.Size = Vector3.new(1, 1, 1)
  2581. rng.Transparency = 0
  2582. rng.TopSurface = 0
  2583. rng.BottomSurface = 0
  2584. rng.CFrame = pos
  2585. local rngm = Instance.new("SpecialMesh", rng)
  2586. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2587. rngm.Scale = scale
  2588. local scaler2 = 1
  2589. if type == "Add" then
  2590. scaler2 = 1*value
  2591. elseif type == "Divide" then
  2592. scaler2 = 1/value
  2593. end
  2594. coroutine.resume(coroutine.create(function()
  2595. for i = 0,10,0.1 do
  2596. swait()
  2597. if type == "Add" then
  2598. scaler2 = scaler2 - 0.01*value
  2599. elseif type == "Divide" then
  2600. scaler2 = scaler2 - 0.01/value
  2601. end
  2602. rng.Transparency = rng.Transparency + 0.01
  2603. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2604. end
  2605. rng:Destroy()
  2606. end))
  2607. end
  2608.  
  2609.  
  2610. function wave(type,pos,scale,value)
  2611. local type = type
  2612. local rng = Instance.new("Part", char)
  2613. rng.Anchored = true
  2614. rng.BrickColor = origcolor
  2615. rng.CanCollide = false
  2616. rng.FormFactor = 3
  2617. rng.Name = "Ring"
  2618. rng.Size = Vector3.new(1, 1, 1)
  2619. rng.Transparency = 0
  2620. rng.TopSurface = 0
  2621. rng.BottomSurface = 0
  2622. rng.CFrame = pos
  2623. local rngm = Instance.new("SpecialMesh", rng)
  2624. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2625. rngm.Scale = scale
  2626. local scaler2 = 1
  2627. if type == "Add" then
  2628. scaler2 = 1*value
  2629. elseif type == "Divide" then
  2630. scaler2 = 1/value
  2631. end
  2632. coroutine.resume(coroutine.create(function()
  2633. for i = 0,10,0.1 do
  2634. swait()
  2635. if type == "Add" then
  2636. scaler2 = scaler2 - 0.01*value
  2637. elseif type == "Divide" then
  2638. scaler2 = scaler2 - 0.01/value
  2639. end
  2640. rng.Transparency = rng.Transparency + 0.01
  2641. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2642. end
  2643. rng:Destroy()
  2644. end))
  2645. end
  2646.  
  2647. function sphere(bonuspeed,type,pos,scale,value,color)
  2648. local type = type
  2649. local rng = Instance.new("Part", char)
  2650. rng.Anchored = true
  2651. if ModeOfGlitch ~= 9 then
  2652. rng.BrickColor = color
  2653. elseif ModeOfGlitch == 9 then
  2654. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2655. end
  2656. rng.CanCollide = false
  2657. rng.FormFactor = 3
  2658. rng.Name = "Ring"
  2659. rng.Material = "Neon"
  2660. rng.Size = Vector3.new(1, 1, 1)
  2661. rng.Transparency = 0
  2662. rng.TopSurface = 0
  2663. rng.BottomSurface = 0
  2664. rng.CFrame = pos
  2665. local rngm = Instance.new("SpecialMesh", rng)
  2666. rngm.MeshType = "Sphere"
  2667. rngm.Scale = scale
  2668. if rainbowmode == true then
  2669. rng.Color = Color3.new(r/255,g/255,b/255)
  2670. end
  2671. if ModeOfGlitch == 9 then
  2672. coroutine.resume(coroutine.create(function()
  2673. while true do
  2674. swait()
  2675. if rng.Parent ~= nil then
  2676. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2677. else
  2678. break
  2679. end
  2680. end
  2681. end))
  2682. end
  2683. local scaler2 = 1
  2684. if type == "Add" then
  2685. scaler2 = 1*value
  2686. elseif type == "Divide" then
  2687. scaler2 = 1/value
  2688. end
  2689. coroutine.resume(coroutine.create(function()
  2690. for i = 0,10/bonuspeed,0.1 do
  2691. swait()
  2692. if rainbowmode == true then
  2693. rng.Color = Color3.new(r/255,g/255,b/255)
  2694. end
  2695. if type == "Add" then
  2696. scaler2 = scaler2 - 0.01*value/bonuspeed
  2697. elseif type == "Divide" then
  2698. scaler2 = scaler2 - 0.01/value*bonuspeed
  2699. end
  2700. if chaosmode == true then
  2701. rng.BrickColor = BrickColor.random()
  2702. end
  2703. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2704. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2705. end
  2706. rng:Destroy()
  2707. end))
  2708. end
  2709.  
  2710. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  2711. local type = type
  2712. local rng = Instance.new("Part", char)
  2713. rng.Anchored = true
  2714. if ModeOfGlitch ~= 9 then
  2715. rng.BrickColor = color
  2716. elseif ModeOfGlitch == 9 then
  2717. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2718. end
  2719. rng.CanCollide = false
  2720. rng.FormFactor = 3
  2721. rng.Name = "Ring"
  2722. rng.Material = "Neon"
  2723. rng.Size = Vector3.new(1, 1, 1)
  2724. rng.Transparency = 0
  2725. rng.TopSurface = 0
  2726. rng.BottomSurface = 0
  2727. rng.CFrame = pos
  2728. local rngm = Instance.new("SpecialMesh", rng)
  2729. rngm.MeshType = "Sphere"
  2730. rngm.Scale = scale
  2731. local scaler2 = 1
  2732. local scaler2b = 1
  2733. local scaler2c = 1
  2734. if type == "Add" then
  2735. scaler2 = 1*value
  2736. scaler2b = 1*value2
  2737. scaler2c = 1*value3
  2738. elseif type == "Divide" then
  2739. scaler2 = 1/value
  2740. scaler2b = 1/value2
  2741. scaler2c = 1/value3
  2742. end
  2743. if ModeOfGlitch == 9 then
  2744. coroutine.resume(coroutine.create(function()
  2745. while true do
  2746. swait()
  2747. if rng.Parent ~= nil then
  2748. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2749. else
  2750. break
  2751. end
  2752. end
  2753. end))
  2754. end
  2755. coroutine.resume(coroutine.create(function()
  2756. for i = 0,10/bonuspeed,0.1 do
  2757. swait()
  2758. if type == "Add" then
  2759. scaler2 = scaler2 - 0.01*value/bonuspeed
  2760. scaler2b = scaler2b - 0.01*value/bonuspeed
  2761. scaler2c = scaler2c - 0.01*value/bonuspeed
  2762. elseif type == "Divide" then
  2763. scaler2 = scaler2 - 0.01/value*bonuspeed
  2764. scaler2b = scaler2b - 0.01/value*bonuspeed
  2765. scaler2c = scaler2c - 0.01/value*bonuspeed
  2766. end
  2767. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2768. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2769. end
  2770. rng:Destroy()
  2771. end))
  2772. end
  2773.  
  2774. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  2775. local type = type
  2776. local rotenable = rotatingop
  2777. local rng = Instance.new("Part", char)
  2778. rng.Anchored = true
  2779. rng.BrickColor = color
  2780. rng.CanCollide = false
  2781. rng.FormFactor = 3
  2782. rng.Name = "Ring"
  2783. rng.Material = "Neon"
  2784. rng.Size = Vector3.new(1, 1, 1)
  2785. rng.Transparency = 0
  2786. if typeoftrans == "In" then
  2787. rng.Transparency = 1
  2788. end
  2789. rng.TopSurface = 0
  2790. rng.BottomSurface = 0
  2791. rng.CFrame = pos
  2792. local rngm = Instance.new("SpecialMesh", rng)
  2793. rngm.MeshType = "FileMesh"
  2794. if typeofshape == "Normal" then
  2795. rngm.MeshId = "rbxassetid://662586858"
  2796. elseif typeofshape == "Round" then
  2797. rngm.MeshId = "rbxassetid://662585058"
  2798. end
  2799. rngm.Scale = scale
  2800. local scaler2 = 1/10
  2801. if type == "Add" then
  2802. scaler2 = 1*value/10
  2803. elseif type == "Divide" then
  2804. scaler2 = 1/value/10
  2805. end
  2806. local randomrot = math.random(1,2)
  2807. coroutine.resume(coroutine.create(function()
  2808. for i = 0,10/bonuspeed,0.1 do
  2809. swait()
  2810. if type == "Add" then
  2811. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  2812. elseif type == "Divide" then
  2813. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  2814. end
  2815. if rotenable == true then
  2816. if randomrot == 1 then
  2817. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  2818. elseif randomrot == 2 then
  2819. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  2820. end
  2821. end
  2822. if typeoftrans == "Out" then
  2823. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2824. elseif typeoftrans == "In" then
  2825. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2826. end
  2827. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  2828. end
  2829. rng:Destroy()
  2830. end))
  2831. end
  2832.  
  2833. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2834. local type = type
  2835. local rng = Instance.new("Part", char)
  2836. rng.Anchored = true
  2837. rng.BrickColor = color
  2838. rng.CanCollide = false
  2839. rng.FormFactor = 3
  2840. rng.Name = "Ring"
  2841. rng.Material = "Neon"
  2842. rng.Size = Vector3.new(1, 1, 1)
  2843. rng.Transparency = 0
  2844. rng.TopSurface = 0
  2845. rng.BottomSurface = 0
  2846. rng.CFrame = pos
  2847. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2848. local rngm = Instance.new("SpecialMesh", rng)
  2849. rngm.MeshType = "Brick"
  2850. rngm.Scale = vt(x1,y1,z1)
  2851. if rainbowmode == true then
  2852. rng.Color = Color3.new(r/255,g/255,b/255)
  2853. end
  2854. local scaler2 = 1
  2855. local speeder = FastSpeed/10
  2856. if type == "Add" then
  2857. scaler2 = 1*value
  2858. elseif type == "Divide" then
  2859. scaler2 = 1/value
  2860. end
  2861. coroutine.resume(coroutine.create(function()
  2862. for i = 0,10/bonuspeed,0.1 do
  2863. swait()
  2864. if rainbowmode == true then
  2865. rng.Color = Color3.new(r/255,g/255,b/255)
  2866. end
  2867. if type == "Add" then
  2868. scaler2 = scaler2 - 0.01*value/bonuspeed
  2869. elseif type == "Divide" then
  2870. scaler2 = scaler2 - 0.01/value*bonuspeed
  2871. end
  2872. if chaosmode == true then
  2873. rng.BrickColor = BrickColor.random()
  2874. end
  2875. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2876. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2877. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2878. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2879. end
  2880. rng:Destroy()
  2881. end))
  2882. end
  2883.  
  2884. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2885. local type = type
  2886. local rng = Instance.new("Part", char)
  2887. rng.Anchored = true
  2888. rng.BrickColor = color
  2889. rng.CanCollide = false
  2890. rng.FormFactor = 3
  2891. rng.Name = "Ring"
  2892. rng.Material = "Neon"
  2893. rng.Size = Vector3.new(1, 1, 1)
  2894. rng.Transparency = 0
  2895. rng.TopSurface = 0
  2896. rng.BottomSurface = 0
  2897. rng.CFrame = pos
  2898. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2899. local rngm = Instance.new("SpecialMesh", rng)
  2900. rngm.MeshType = "Brick"
  2901. rngm.Scale = vt(x1,y1,z1)
  2902. if rainbowmode == true then
  2903. rng.Color = Color3.new(r/255,g/255,b/255)
  2904. end
  2905. local scaler2 = 1
  2906. local speeder = FastSpeed/10
  2907. if type == "Add" then
  2908. scaler2 = 1*value
  2909. elseif type == "Divide" then
  2910. scaler2 = 1/value
  2911. end
  2912. coroutine.resume(coroutine.create(function()
  2913. for i = 0,10/bonuspeed,0.1 do
  2914. swait()
  2915. if rainbowmode == true then
  2916. rng.Color = Color3.new(r/255,g/255,b/255)
  2917. end
  2918. if type == "Add" then
  2919. scaler2 = scaler2 - 0.01*value/bonuspeed
  2920. elseif type == "Divide" then
  2921. scaler2 = scaler2 - 0.01/value*bonuspeed
  2922. end
  2923. if chaosmode == true then
  2924. rng.BrickColor = BrickColor.random()
  2925. end
  2926. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2927. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2928. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2929. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2930. end
  2931. rng:Destroy()
  2932. end))
  2933. end
  2934.  
  2935. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2936. local type = type
  2937. local rng = Instance.new("Part", char)
  2938. rng.Anchored = true
  2939. rng.BrickColor = color
  2940. rng.CanCollide = false
  2941. rng.FormFactor = 3
  2942. rng.Name = "Ring"
  2943. rng.Material = "Neon"
  2944. rng.Size = Vector3.new(1, 1, 1)
  2945. rng.Transparency = 0
  2946. rng.TopSurface = 0
  2947. rng.BottomSurface = 0
  2948. rng.CFrame = pos
  2949. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2950. local rngm = Instance.new("SpecialMesh", rng)
  2951. rngm.MeshType = "Brick"
  2952. rngm.Scale = vt(x1,y1,z1)
  2953. if rainbowmode == true then
  2954. rng.Color = Color3.new(r/255,g/255,b/255)
  2955. end
  2956. local scaler2 = 0
  2957. local speeder = FastSpeed/10
  2958. if type == "Add" then
  2959. scaler2 = 1*value
  2960. elseif type == "Divide" then
  2961. scaler2 = 1/value
  2962. end
  2963. coroutine.resume(coroutine.create(function()
  2964. for i = 0,10/bonuspeed,0.1 do
  2965. swait()
  2966. if rainbowmode == true then
  2967. rng.Color = Color3.new(r/255,g/255,b/255)
  2968. end
  2969. if type == "Add" then
  2970. scaler2 = scaler2 - 0.01*value/bonuspeed
  2971. elseif type == "Divide" then
  2972. scaler2 = scaler2 - 0.01/value*bonuspeed
  2973. end
  2974. if chaosmode == true then
  2975. rng.BrickColor = BrickColor.random()
  2976. end
  2977. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  2978. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2979. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2980. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2981. end
  2982. rng:Destroy()
  2983. end))
  2984. end
  2985.  
  2986. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  2987. local type = type
  2988. local rng = Instance.new("Part", char)
  2989. rng.Anchored = true
  2990. rng.BrickColor = color
  2991. rng.Color = color3
  2992. rng.CanCollide = false
  2993. rng.FormFactor = 3
  2994. rng.Name = "Ring"
  2995. rng.Material = "Neon"
  2996. rng.Size = Vector3.new(1, 1, 1)
  2997. rng.Transparency = 0
  2998. rng.TopSurface = 0
  2999. rng.BottomSurface = 0
  3000. rng.CFrame = pos
  3001. local rngm = Instance.new("SpecialMesh", rng)
  3002. rngm.MeshType = "Brick"
  3003. rngm.Scale = scale
  3004. local scaler2 = 1
  3005. local scaler2b = 1
  3006. local scaler2c = 1
  3007. if type == "Add" then
  3008. scaler2 = 1*value
  3009. scaler2b = 1*value2
  3010. scaler2c = 1*value3
  3011. elseif type == "Divide" then
  3012. scaler2 = 1/value
  3013. scaler2b = 1/value2
  3014. scaler2c = 1/value3
  3015. end
  3016. coroutine.resume(coroutine.create(function()
  3017. for i = 0,10/bonuspeed,0.1 do
  3018. swait()
  3019. if type == "Add" then
  3020. scaler2 = scaler2 - 0.01*value/bonuspeed
  3021. scaler2b = scaler2b - 0.01*value/bonuspeed
  3022. scaler2c = scaler2c - 0.01*value/bonuspeed
  3023. elseif type == "Divide" then
  3024. scaler2 = scaler2 - 0.01/value*bonuspeed
  3025. scaler2b = scaler2b - 0.01/value*bonuspeed
  3026. scaler2c = scaler2c - 0.01/value*bonuspeed
  3027. end
  3028. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3029. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3030. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3031. end
  3032. rng:Destroy()
  3033. end))
  3034. end
  3035.  
  3036. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3037. local type = type
  3038. local rng = Instance.new("Part", char)
  3039. rng.Anchored = true
  3040. if ModeOfGlitch ~= 9 then
  3041. rng.BrickColor = color
  3042. elseif ModeOfGlitch == 9 then
  3043. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3044. end
  3045. rng.CanCollide = false
  3046. rng.FormFactor = 3
  3047. rng.Name = "Ring"
  3048. rng.Material = "Neon"
  3049. rng.Size = Vector3.new(1, 1, 1)
  3050. rng.Transparency = 0
  3051. rng.TopSurface = 0
  3052. rng.BottomSurface = 0
  3053. rng.CFrame = pos
  3054. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3055. local rngm = Instance.new("SpecialMesh", rng)
  3056. rngm.MeshType = "Sphere"
  3057. rngm.Scale = vt(x1,y1,z1)
  3058. if rainbowmode == true then
  3059. rng.Color = Color3.new(r/255,g/255,b/255)
  3060. end
  3061. if ModeOfGlitch == 9 then
  3062. coroutine.resume(coroutine.create(function()
  3063. while true do
  3064. swait()
  3065. if rng.Parent ~= nil then
  3066. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3067. else
  3068. break
  3069. end
  3070. end
  3071. end))
  3072. end
  3073. local scaler2 = 1
  3074. local speeder = FastSpeed
  3075. if type == "Add" then
  3076. scaler2 = 1*value
  3077. elseif type == "Divide" then
  3078. scaler2 = 1/value
  3079. end
  3080. coroutine.resume(coroutine.create(function()
  3081. for i = 0,10/bonuspeed,0.1 do
  3082. swait()
  3083. if rainbowmode == true then
  3084. rng.Color = Color3.new(r/255,g/255,b/255)
  3085. end
  3086. if type == "Add" then
  3087. scaler2 = scaler2 - 0.01*value/bonuspeed
  3088. elseif type == "Divide" then
  3089. scaler2 = scaler2 - 0.01/value*bonuspeed
  3090. end
  3091. if chaosmode == true then
  3092. rng.BrickColor = BrickColor.random()
  3093. end
  3094. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3095. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3096. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3097. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3098. end
  3099. rng:Destroy()
  3100. end))
  3101. end
  3102.  
  3103.  
  3104. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3105. local type = type
  3106. local rng = Instance.new("Part", char)
  3107. rng.Anchored = true
  3108. if ModeOfGlitch ~= 9 then
  3109. rng.BrickColor = color
  3110. elseif ModeOfGlitch == 9 then
  3111. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3112. end
  3113. rng.CanCollide = false
  3114. rng.FormFactor = 3
  3115. rng.Name = "Ring"
  3116. rng.Material = "Neon"
  3117. rng.Size = Vector3.new(1, 1, 1)
  3118. rng.Transparency = 1
  3119. rng.TopSurface = 0
  3120. rng.BottomSurface = 0
  3121. rng.CFrame = pos
  3122. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3123. local rngm = Instance.new("SpecialMesh", rng)
  3124. rngm.MeshType = "Sphere"
  3125. rngm.Scale = vt(x1,y1,z1)
  3126. if rainbowmode == true then
  3127. rng.Color = Color3.new(r/255,g/255,b/255)
  3128. end
  3129. if ModeOfGlitch == 9 then
  3130. coroutine.resume(coroutine.create(function()
  3131. while true do
  3132. swait()
  3133. if rng.Parent ~= nil then
  3134. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3135. else
  3136. break
  3137. end
  3138. end
  3139. end))
  3140. end
  3141. local scaler2 = 1
  3142. local speeder = FastSpeed
  3143. if type == "Add" then
  3144. scaler2 = 1*value
  3145. elseif type == "Divide" then
  3146. scaler2 = 1/value
  3147. end
  3148. coroutine.resume(coroutine.create(function()
  3149. for i = 0,10/bonuspeed,0.1 do
  3150. swait()
  3151. if rainbowmode == true then
  3152. rng.Color = Color3.new(r/255,g/255,b/255)
  3153. end
  3154. if type == "Add" then
  3155. scaler2 = scaler2 - 0.01*value/bonuspeed
  3156. elseif type == "Divide" then
  3157. scaler2 = scaler2 - 0.01/value*bonuspeed
  3158. end
  3159. if chaosmode == true then
  3160. rng.BrickColor = BrickColor.random()
  3161. end
  3162. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3163. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3164. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3165. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3166. end
  3167. rng:Destroy()
  3168. end))
  3169. end
  3170.  
  3171. function dmg(dude)
  3172. if dude.Name ~= Character then
  3173. local keptcolor = MAINRUINCOLOR
  3174. local bgf = Instance.new("BodyGyro",dude.Head)
  3175. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3176. --[[local val = Instance.new("BoolValue",dude)
  3177. val.Name = "IsHit"]]--
  3178. local ds = coroutine.wrap(function()
  3179. dude:WaitForChild("Head"):BreakJoints()
  3180. for i, v in pairs(dude:GetChildren()) do
  3181. if v:IsA("Part") or v:IsA("MeshPart") then
  3182. v.Name = "DEMINISHED"
  3183. end
  3184. end
  3185. wait(0.5)
  3186. targetted = nil
  3187. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  3188. coroutine.resume(coroutine.create(function()
  3189. for i, v in pairs(dude:GetChildren()) do
  3190. if v:IsA("Accessory") then
  3191. v:Destroy()
  3192. end
  3193. if v:IsA("Humanoid") then
  3194. v:Destroy()
  3195. end
  3196. if v:IsA("CharacterMesh") then
  3197. v:Destroy()
  3198. end
  3199. if v:IsA("Model") then
  3200. v:Destroy()
  3201. end
  3202. if v:IsA("Part") or v:IsA("MeshPart") then
  3203. for x, o in pairs(v:GetChildren()) do
  3204. if o:IsA("Decal") then
  3205. o:Destroy()
  3206. end
  3207. end
  3208. coroutine.resume(coroutine.create(function()
  3209. v.Material = "Neon"
  3210. v.CanCollide = false
  3211. v.Anchored = false
  3212. local bld = Instance.new("ParticleEmitter",v)
  3213. bld.LightEmission = 0.75
  3214. bld.Texture = "rbxassetid://363275192" ---284205403
  3215. bld.Color = ColorSequence.new(keptcolor.Color)
  3216. bld.Rate = 500
  3217. bld.Lifetime = NumberRange.new(1)
  3218. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3219. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3220. bld.Speed = NumberRange.new(2,5)
  3221. bld.VelocitySpread = 50000
  3222. bld.Rotation = NumberRange.new(-500,500)
  3223. bld.RotSpeed = NumberRange.new(-500,500)
  3224. local sbs = Instance.new("BodyPosition", v)
  3225. sbs.P = 3000
  3226. sbs.D = 1000
  3227. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3228. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3229. v.Color = keptcolor.Color
  3230. coroutine.resume(coroutine.create(function()
  3231. for i = 0, 49 do
  3232. swait(1)
  3233. v:BreakJoints()
  3234. v.Transparency = v.Transparency + 0.02
  3235. end
  3236. v:BreakJoints()
  3237. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3238. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3239. bld.Speed = NumberRange.new(10,25)
  3240. bld.Drag = 5
  3241. bld.Acceleration = vt(0,2,0)
  3242. wait(0.5)
  3243. bld.Enabled = false
  3244. wait(8)
  3245. v:Destroy()
  3246. dude:Destroy()
  3247. end))
  3248. end))
  3249. end
  3250. end
  3251. end))
  3252. end)
  3253. ds()
  3254. end
  3255. end
  3256.  
  3257.  
  3258. function FindNearestHead(Position, Distance, SinglePlayer)
  3259. if SinglePlayer then
  3260. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3261. end
  3262. local List = {}
  3263. for i, v in pairs(workspace:GetChildren()) do
  3264. if v:IsA("Model") then
  3265. if v:findFirstChild("Head") then
  3266. if v ~= Character then
  3267. if (v.Head.Position - Position).magnitude <= Distance then
  3268. table.insert(List, v)
  3269. end
  3270. end
  3271. end
  3272. end
  3273. end
  3274. return List
  3275. end
  3276.  
  3277. function FaceMouse()
  3278. Cam = workspace.CurrentCamera
  3279. return {
  3280. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3281. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3282. }
  3283. end
  3284.  
  3285. function FaceMouse2()
  3286. Cam = workspace.CurrentCamera
  3287. return {
  3288. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3289. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3290. }
  3291. end
  3292.  
  3293. local ModeOfGlitch = 1
  3294. -- Functions are ready.
  3295. local storehumanoidWS = 16
  3296.  
  3297. function CorruptBlink()
  3298. for i = 0, 14 do
  3299. 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)
  3300. end
  3301. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3302. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3303. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3304. CameraEnshaking(2,10)
  3305. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3306. if v:FindFirstChild('Head') then
  3307. dmg(v)
  3308. end
  3309. end
  3310. for i = 0, 14 do
  3311. 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)
  3312. end
  3313. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3314. end
  3315. function PureBomb()
  3316. attack = true
  3317. hum.WalkSpeed = 0
  3318. local orb = Instance.new("Part", char)
  3319. orb.Anchored = true
  3320. orb.BrickColor = BrickColor.new("Toothpaste")
  3321. orb.CanCollide = false
  3322. orb.FormFactor = 3
  3323. orb.Name = "Ring"
  3324. orb.Material = "Neon"
  3325. orb.Size = Vector3.new(1, 1, 1)
  3326. orb.Transparency = 0
  3327. orb.TopSurface = 0
  3328. orb.BottomSurface = 0
  3329. local orbm = Instance.new("SpecialMesh", orb)
  3330. orbm.MeshType = "Sphere"
  3331. orbm.Name = "SizeMesh"
  3332. orbm.Scale = vt(0,0,0)
  3333. local scaled = 0.1
  3334. local posid = 0
  3335. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3336. for i = 0, 5, 0.1 do
  3337. swait()
  3338. scaled = scaled - 0.001
  3339. posid = posid - scaled
  3340. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3341. local scaled = 0.1
  3342. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3343. 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)
  3344. 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)
  3345. 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)
  3346. 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)
  3347. 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)
  3348. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3349. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3350. 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)
  3351. end
  3352. for i = 0, 2, 0.1 do
  3353. swait()
  3354. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3355. 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)
  3356. 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)
  3357. 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)
  3358. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3359. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3360. 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)
  3361. end
  3362. coroutine.resume(coroutine.create(function()
  3363. orb.Anchored = false
  3364. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3365. local a = Instance.new("Part",workspace)
  3366. a.Name = "Direction"
  3367. a.Anchored = true
  3368. a.BrickColor = bc("Bright red")
  3369. a.Material = "Neon"
  3370. a.Transparency = 1
  3371. a.CanCollide = false
  3372. local ray = Ray.new(
  3373. orb.CFrame.p, -- origin
  3374. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3375. )
  3376. local ignore = orb
  3377. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3378. a.BottomSurface = 10
  3379. a.TopSurface = 10
  3380. local distance = (orb.CFrame.p - position).magnitude
  3381. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3382. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3383. orb.CFrame = a.CFrame
  3384. a:Destroy()
  3385. local bv = Instance.new("BodyVelocity")
  3386. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3387. bv.velocity = orb.CFrame.lookVector*125
  3388. bv.Parent = orb
  3389. local hitted = false
  3390. game:GetService("Debris"):AddItem(orb, 15)
  3391. wait()
  3392. local hit =orb.Touched:connect(function(hit)
  3393. if hitted == false then
  3394. hitted = true
  3395. CameraEnshaking(10,2.5)
  3396. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3397. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3398. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3399. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3400. for i = 0, 49 do
  3401. 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)
  3402. end
  3403. for i = 0, 9 do
  3404. 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)
  3405. 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)
  3406. end
  3407. orb.Anchored = true
  3408. orb.Transparency = 1
  3409. wait(8)
  3410. orb:Destroy()
  3411. end
  3412. end)
  3413. end))
  3414. for i = 0, 1, 0.1 do
  3415. swait()
  3416. 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)
  3417. 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)
  3418. 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)
  3419. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3420. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3421. 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)
  3422. end
  3423. hum.WalkSpeed = storehumanoidWS
  3424. attack = false
  3425. end
  3426.  
  3427. function BanishingOrb()
  3428. attack = true
  3429. hum.WalkSpeed = 0
  3430. local radm = math.random(1,3)
  3431. if radm == 1 then
  3432. bosschatfunc("Let it's go..",MAINRUINCOLOR.Color,1)
  3433. elseif radm == 2 then
  3434. bosschatfunc("So this is it..",MAINRUINCOLOR.Color,1)
  3435. elseif radm == 3 then
  3436. bosschatfunc("I have enough thing..",MAINRUINCOLOR.Color,1)
  3437. end
  3438. CFuncs["EchoSound"].Create("rbxassetid://1535994940", char, 5, 1,0,10,0.15,0.5,1)
  3439. CFuncs["EchoSound"].Create("rbxassetid://1535994940", root, 60, 1,0,10,0.15,0.5,1)
  3440. local orb = Instance.new("Part", char)
  3441. orb.Anchored = true
  3442. orb.BrickColor = BrickColor.new("Lime green")
  3443. orb.CanCollide = false
  3444. orb.FormFactor = 3
  3445. orb.Name = "Ring"
  3446. orb.Material = "Neon"
  3447. orb.Size = Vector3.new(1, 1, 1)
  3448. orb.Transparency = 0
  3449. orb.TopSurface = 0
  3450. orb.BottomSurface = 0
  3451. local orbm = Instance.new("SpecialMesh", orb)
  3452. orbm.MeshType = "Sphere"
  3453. orbm.Name = "SizeMesh"
  3454. orbm.Scale = vt(0,0,0)
  3455. local scaled = 0.1
  3456. local posid = 0
  3457. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
  3458. for i = 0, 5, 0.1 do
  3459. swait()
  3460. scaled = scaled - 0.001
  3461. posid = posid - scaled
  3462. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3463. local scaled = 0.1
  3464. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3465. 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)
  3466. 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)
  3467. 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)
  3468. 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)
  3469. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3470. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3471. 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)
  3472. end
  3473. for i = 0, 2, 0.1 do
  3474. swait()
  3475. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3476. 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)
  3477. 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)
  3478. 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)
  3479. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3480. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3481. 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)
  3482. end
  3483. coroutine.resume(coroutine.create(function()
  3484. orb.Anchored = false
  3485. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
  3486. local a = Instance.new("Part",workspace)
  3487. a.Name = "Direction"
  3488. a.Anchored = true
  3489. a.BrickColor = bc("Lime green")
  3490. a.Material = "Neon"
  3491. a.Transparency = 1
  3492. a.CanCollide = false
  3493. local ray = Ray.new(
  3494. orb.CFrame.p, -- origin
  3495. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3496. )
  3497. local ignore = orb
  3498. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3499. a.BottomSurface = 10
  3500. a.TopSurface = 10
  3501. local distance = (orb.CFrame.p - position).magnitude
  3502. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3503. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3504. orb.CFrame = a.CFrame
  3505. a:Destroy()
  3506. local bv = Instance.new("BodyVelocity")
  3507. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3508. bv.velocity = orb.CFrame.lookVector*0
  3509. bv.Parent = orb
  3510. local hitted = false
  3511. local rate = 0
  3512. coroutine.resume(coroutine.create(function()
  3513. for i = 0, 24 do
  3514. wait(0.1)
  3515. rate = rate + 0.25
  3516. bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
  3517. for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
  3518. if v:FindFirstChild('Head') then
  3519. dmg(v)
  3520. end
  3521. end
  3522. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
  3523. sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,bc"Lime green")
  3524. sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  3525. end
  3526. orb.Anchored = true
  3527. orb.Transparency = 1
  3528. for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
  3529. if v:FindFirstChild('Head') then
  3530. dmg(v)
  3531. end
  3532. end
  3533. local eff = Instance.new("ParticleEmitter",orb)
  3534. eff.Texture = "rbxassetid://296874871"
  3535. eff.LightEmission = 0.95
  3536. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3537. eff.Rate = 1000000000
  3538. eff.Lifetime = NumberRange.new(3)
  3539. 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)})
  3540. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3541. eff.Speed = NumberRange.new(30)
  3542. eff.Acceleration = vt(0,-15,0)
  3543. eff.Rotation = NumberRange.new(-500,500)
  3544. eff.VelocitySpread = 100000
  3545. eff.RotSpeed = NumberRange.new(-500,500)
  3546. coroutine.resume(coroutine.create(function()
  3547. wait(0.6)
  3548. eff.Enabled = false
  3549. end))
  3550. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
  3551. CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
  3552. sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,bc"Lime green")
  3553. sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3554. sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
  3555. game:GetService("Debris"):AddItem(orb, 15)
  3556. end))
  3557. end))
  3558. for i = 0, 1, 0.1 do
  3559. swait()
  3560. 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)
  3561. 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)
  3562. 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)
  3563. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3564. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3565. 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)
  3566. end
  3567. hum.WalkSpeed = storehumanoidWS
  3568. attack = false
  3569. end
  3570.  
  3571.  
  3572. function ChaosGroundStrike()
  3573. attack = true
  3574. for i = 0, 2, 0.1 do
  3575. swait()
  3576. 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)
  3577. 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)
  3578. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3579. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3580. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3581. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3582. end
  3583. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3584. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3585. CameraEnshaking(4,12)
  3586. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3587. if v:FindFirstChild('Head') then
  3588. dmg(v)
  3589. end
  3590. end
  3591. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3592. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3593. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3594. for i = 0, 2, 0.1 do
  3595. swait()
  3596. 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)
  3597. 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)
  3598. 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)
  3599. 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)
  3600. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3601. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3602. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3603. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3604. end
  3605. attack = false
  3606. end
  3607.  
  3608.  
  3609.  
  3610. function Starfall()
  3611. attack = true
  3612. hum.WalkSpeed = 0
  3613. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3614. for i = 0, 5, 0.1 do
  3615. swait()
  3616. 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)
  3617. 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)
  3618. 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)
  3619. 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)
  3620. 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)
  3621. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3622. 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)
  3623. 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)
  3624. end
  3625. local Overed = false
  3626. CameraEnshaking(2,20)
  3627. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3628. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3629. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3630. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3631. local orb = Instance.new("Part", char)
  3632. orb.Anchored = true
  3633. orb.BrickColor = BrickColor.new("Toothpaste")
  3634. orb.CanCollide = false
  3635. orb.FormFactor = 3
  3636. orb.Name = "Remenant"
  3637. orb.Material = "Neon"
  3638. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3639. orb.Size = Vector3.new(1, 1, 1)
  3640. orb.Transparency = 1
  3641. orb.TopSurface = 0
  3642. orb.BottomSurface = 0
  3643. hum.WalkSpeed = storehumanoidWS
  3644. coroutine.resume(coroutine.create(function()
  3645. for i = 0, 9 do
  3646. swait(10)
  3647. local lb = Instance.new("Part")
  3648. lb.Color = MAINRUINCOLOR.Color
  3649. lb.CanCollide = false
  3650. lb.Material = "Neon"
  3651. lb.Anchored = true
  3652. lb.TopSurface = 0
  3653. lb.BottomSurface = 0
  3654. lb.Transparency = 0
  3655. lb.Size = vt(1,1,1)
  3656. 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)))
  3657. lb.Anchored = false
  3658. lb.Parent = char
  3659. local thingery = Instance.new("SpecialMesh",lb)
  3660. thingery.MeshType = "Sphere"
  3661. thingery.Scale = vt(20,20,20)
  3662. game:GetService("Debris"):AddItem(lb, 10)
  3663. local bv = Instance.new("BodyVelocity")
  3664. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3665. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3666. bv.Parent = lb
  3667. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3668. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3669. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3670. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3671. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3672. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3673. local hitted = false
  3674. coroutine.resume(coroutine.create(function()
  3675. while true do
  3676. swait(1)
  3677. if lb.Parent ~= nil and hitted == false then
  3678. 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)
  3679. elseif lb.Parent == nil then
  3680. break
  3681. end
  3682. end
  3683. end))
  3684.  
  3685. game:GetService("Debris"):AddItem(a, 0.1)
  3686.  
  3687. coroutine.resume(coroutine.create(function()
  3688. swait(1)
  3689. lb.Touched:connect(function(hit)
  3690. if hitted == false then
  3691. hitted = true
  3692. lb.Transparency = 1
  3693. lb.Anchored = true
  3694. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3695. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3696. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3697. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3698. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3699. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3700. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3701. CameraEnshaking(1,5)
  3702. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3703. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3704. for i = 0, 9 do
  3705. 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)
  3706. end
  3707. for i = 0, 49 do
  3708. swait()
  3709. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3710. 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)
  3711. end
  3712. end
  3713. end)
  3714. end))
  3715. end
  3716. Overed = true
  3717. orb:Destroy()
  3718. end))
  3719.  
  3720. attack = false
  3721. end
  3722.  
  3723. function StarfallEX()
  3724. attack = true
  3725. hum.WalkSpeed = 0
  3726. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
  3727. for i = 0, 10, 0.1 do
  3728. swait()
  3729. 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)
  3730. 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)
  3731. 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)
  3732. 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)
  3733. 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)
  3734. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3735. 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)
  3736. 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)
  3737. end
  3738. local Overed = false
  3739. CameraEnshaking(2,20)
  3740. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3741. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3742. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  3743. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
  3744. local orb = Instance.new("Part", char)
  3745. orb.Anchored = true
  3746. orb.BrickColor = BrickColor.new("Toothpaste")
  3747. orb.CanCollide = false
  3748. orb.FormFactor = 3
  3749. orb.Name = "Remenant"
  3750. orb.Material = "Neon"
  3751. orb.CFrame = root.CFrame*CFrame.new(0,250,0)
  3752. orb.Size = Vector3.new(1, 1, 1)
  3753. orb.Transparency = 1
  3754. orb.TopSurface = 0
  3755. orb.BottomSurface = 0
  3756. hum.WalkSpeed = storehumanoidWS
  3757. coroutine.resume(coroutine.create(function()
  3758. for i = 0, 4 do
  3759. swait(15)
  3760. local lb = Instance.new("Part")
  3761. lb.Color = MAINRUINCOLOR.Color
  3762. lb.CanCollide = false
  3763. lb.Material = "Neon"
  3764. lb.Anchored = true
  3765. lb.TopSurface = 0
  3766. lb.BottomSurface = 0
  3767. lb.Transparency = 0
  3768. lb.Size = vt(1,1,1)
  3769. 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)))
  3770. lb.Anchored = false
  3771. lb.Parent = char
  3772. local thingery = Instance.new("SpecialMesh",lb)
  3773. thingery.MeshType = "Sphere"
  3774. thingery.Scale = vt(50,50,50)
  3775. game:GetService("Debris"):AddItem(lb, 10)
  3776. local bv = Instance.new("BodyVelocity")
  3777. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3778. bv.velocity = lb.CFrame.lookVector*math.random(50,420)
  3779. bv.Parent = lb
  3780. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  3781. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  3782. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
  3783. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
  3784. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
  3785. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
  3786. local hitted = false
  3787. coroutine.resume(coroutine.create(function()
  3788. while true do
  3789. swait(1)
  3790. if lb.Parent ~= nil and hitted == false then
  3791. 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)
  3792. elseif lb.Parent == nil then
  3793. break
  3794. end
  3795. end
  3796. end))
  3797.  
  3798. game:GetService("Debris"):AddItem(a, 0.1)
  3799.  
  3800. coroutine.resume(coroutine.create(function()
  3801. swait(1)
  3802. lb.Touched:connect(function(hit)
  3803. if hitted == false then
  3804. hitted = true
  3805. lb.Transparency = 1
  3806. lb.Anchored = true
  3807. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
  3808. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
  3809. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
  3810. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
  3811. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
  3812. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
  3813. MagniDamage(lb, 50, 60,99, 0, "Normal")
  3814. CameraEnshaking(1,5)
  3815. sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
  3816. sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
  3817. for i = 0, 9 do
  3818. 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)
  3819. end
  3820. for i = 0, 99 do
  3821. swait()
  3822. MagniDamage(lb, 30, 6,18, 0, "Normal")
  3823. 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)
  3824. end
  3825. end
  3826. end)
  3827. end))
  3828. end
  3829. Overed = true
  3830. orb:Destroy()
  3831. end))
  3832.  
  3833. attack = false
  3834. end
  3835.  
  3836. function DivineBlast()
  3837. attack = true
  3838. bosschatfunc("Justice Beam!!",MAINRUINCOLOR.Color,0.7)
  3839. hum.WalkSpeed = 0
  3840. local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
  3841. elocacenter.Anchored = true
  3842. elocacenter.CFrame = sorb.CFrame
  3843. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3844. eloca1.Anchored = true
  3845. eloca1.CFrame = elocacenter.CFrame
  3846. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3847. eloca2.Anchored = true
  3848. eloca2.CFrame = elocacenter.CFrame
  3849. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3850. eloca3.Anchored = true
  3851. eloca3.CFrame = elocacenter.CFrame
  3852. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3853. eloca4.Anchored = true
  3854. eloca4.CFrame = elocacenter.CFrame
  3855. local lookavec = 0
  3856. local speeds = 0
  3857. CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
  3858. for i = 0, 3, 0.1 do
  3859. swait()
  3860. ---
  3861. lookavec = lookavec + 0.1
  3862. speeds = speeds + 10
  3863. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3864. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3865. 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)
  3866.  
  3867. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3868. 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)
  3869.  
  3870. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3871. 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)
  3872.  
  3873. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3874. 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)
  3875. ---
  3876. root.CFrame = FaceMouse()[1]
  3877. 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)
  3878. 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)
  3879. 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)
  3880. 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)
  3881. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  3882. 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)
  3883. end
  3884. for i = 0, 3, 0.1 do
  3885. swait()
  3886. ---
  3887. speeds = speeds + 10
  3888. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3889. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3890. 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)
  3891.  
  3892. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3893. 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)
  3894.  
  3895. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3896. 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)
  3897.  
  3898. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3899. 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)
  3900. ---
  3901. root.CFrame = FaceMouse()[1]
  3902. 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)
  3903. 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)
  3904. 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)
  3905. 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)
  3906. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  3907. 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)
  3908. end
  3909. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
  3910. CFuncs["Sound"].Create("rbxassetid://1436239652", char, 40,1)
  3911. for i = 0, 3, 0.1 do
  3912. swait()
  3913. ---
  3914. speeds = speeds + 10
  3915. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3916. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3917. 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)
  3918.  
  3919. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3920. 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)
  3921.  
  3922. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3923. 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)
  3924.  
  3925. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3926. 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)
  3927. ---
  3928. root.CFrame = FaceMouse()[1]
  3929. 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)
  3930. 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)
  3931. 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)
  3932. 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)
  3933. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  3934. 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)
  3935. end
  3936. coroutine.resume(coroutine.create(function()
  3937. local a = Instance.new("Part",Character)
  3938. a.Name = "Direction"
  3939. a.Anchored = true
  3940. a.BrickColor = bc("White")
  3941. a.Material = "Neon"
  3942. a.Transparency = 0
  3943. a.Shape = "Cylinder"
  3944. a.CanCollide = false
  3945. local a2 = Instance.new("Part",Character)
  3946. a2.Name = "Direction"
  3947. a2.Anchored = true
  3948. a2.BrickColor = bc("Bright yellow")
  3949. a2.Material = "Neon"
  3950. a2.Transparency = 0
  3951. a2.Shape = "Cylinder"
  3952. a2.CanCollide = false
  3953. local b = Instance.new("Part",Character)
  3954. b.Name = "HitDirect"
  3955. b.Anchored = true
  3956. b.BrickColor = bc("Cool yellow")
  3957. b.Material = "Neon"
  3958. b.Transparency = 1
  3959. b.CanCollide = false
  3960. local ray = Ray.new(
  3961. elocacenter.CFrame.p, -- origin
  3962. (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
  3963. )
  3964. local ignore = Character
  3965. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3966. a.BottomSurface = 10
  3967. a.TopSurface = 10
  3968. a2.BottomSurface = 10
  3969. a2.TopSurface = 10
  3970. local distance = (elocacenter.CFrame.p - position).magnitude
  3971. a.Size = Vector3.new(distance, 1, 1)
  3972. a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  3973. a2.Size = Vector3.new(distance, 1, 1)
  3974. a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  3975. b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3976. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  3977. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  3978. game:GetService("Debris"):AddItem(a, 10)
  3979. game:GetService("Debris"):AddItem(a2, 10)
  3980. game:GetService("Debris"):AddItem(b, 10)
  3981. local eff = Instance.new("ParticleEmitter",b)
  3982. eff.Texture = "rbxassetid://2273224484"
  3983. eff.LightEmission = 1
  3984. eff.Color = ColorSequence.new(Color3.new(1,1,0))
  3985. eff.Rate = 500000
  3986. eff.Lifetime = NumberRange.new(0.5,2)
  3987. 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)})
  3988. 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)})
  3989. eff.Speed = NumberRange.new(20,250)
  3990. eff.Drag = 5
  3991. eff.Rotation = NumberRange.new(-500,500)
  3992. eff.VelocitySpread = 9000
  3993. eff.RotSpeed = NumberRange.new(-50,50)
  3994. coroutine.resume(coroutine.create(function()
  3995. wait(0.25)
  3996. eff.Enabled = false
  3997. end))
  3998. local msh = Instance.new("SpecialMesh",a)
  3999. msh.MeshType = "Cylinder"
  4000. msh.Scale = vt(1,2,2)
  4001. local msh2 = Instance.new("SpecialMesh",a2)
  4002. msh2.MeshType = "Cylinder"
  4003. msh2.Scale = vt(1,2.5,2.5)
  4004. CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
  4005. coroutine.resume(coroutine.create(function()
  4006. for i = 0,10,0.1 do
  4007. swait()
  4008. msh.Scale = msh.Scale + vt(0,0.05,0.05)
  4009. a.Transparency = a.Transparency + 0.025
  4010. msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
  4011. a2.Transparency = a2.Transparency + 0.05
  4012. end
  4013. a:Destroy()
  4014. a2:Destroy()
  4015. end))
  4016. CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
  4017. CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
  4018. CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
  4019. CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
  4020. CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
  4021. CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
  4022. MagniDamage(b, 25, 40,65, 0, "Normal")
  4023. for i = 0, 49 do
  4024. 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)
  4025. 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)
  4026. end
  4027. sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
  4028. sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
  4029. sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4030. sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4031. sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4032. sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4033. end))
  4034. game:GetService("Debris"):AddItem(elocacenter, 5)
  4035. hum.WalkSpeed = storehumanoidWS
  4036. attack = false
  4037. end
  4038.  
  4039. function StarDivision()
  4040. attack = true
  4041. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4042. for i = 0, 2, 0.1 do
  4043. swait()
  4044. 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)
  4045. 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)
  4046. 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)
  4047. 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)
  4048. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  4049. 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)
  4050. end
  4051. local orb = Instance.new("Part", char)
  4052. orb.BrickColor = MAINRUINCOLOR
  4053. orb.CanCollide = false
  4054. orb.FormFactor = 3
  4055. orb.Name = "Ring"
  4056. orb.Material = "Neon"
  4057. orb.Size = Vector3.new(1, 1, 1)
  4058. orb.Transparency = 0
  4059. orb.TopSurface = 0
  4060. orb.BottomSurface = 0
  4061. local orbm = Instance.new("SpecialMesh", orb)
  4062. orbm.MeshType = "Sphere"
  4063. orbm.Name = "SizeMesh"
  4064. orbm.Scale = vt(2,2,2)
  4065. local a = Instance.new("Part",workspace)
  4066. a.Name = "Direction"
  4067. a.Anchored = true
  4068. a.BrickColor = bc("Bright red")
  4069. a.Material = "Neon"
  4070. a.Transparency = 1
  4071. a.CanCollide = false
  4072. local ray = Ray.new(
  4073. sorb.CFrame.p, -- origin
  4074. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  4075. )
  4076. local ignore = sorb
  4077. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4078. a.BottomSurface = 10
  4079. a.TopSurface = 10
  4080. local distance = (sorb.CFrame.p - position).magnitude
  4081. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4082. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4083. orb.CFrame = a.CFrame
  4084. a:Destroy()
  4085. local bv = Instance.new("BodyVelocity")
  4086. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4087. bv.velocity = orb.CFrame.lookVector*100
  4088. bv.Parent = orb
  4089. local hitted = false
  4090. game:GetService("Debris"):AddItem(orb, 10)
  4091. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  4092. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  4093. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  4094. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  4095. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  4096. coroutine.resume(coroutine.create(function()
  4097. while true do
  4098. swait(1)
  4099. if orb.Parent ~= nil and hitted == false then
  4100. 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)
  4101. elseif orb.Parent == nil then
  4102. break
  4103. end
  4104. end
  4105. end))
  4106. coroutine.resume(coroutine.create(function()
  4107. swait(1)
  4108. orb.Touched:connect(function(hit)
  4109. if hitted == false then
  4110. hitted = true
  4111. game:GetService("Debris"):AddItem(orb, 5)
  4112. orb.Transparency = 1
  4113. orb.Anchored = true
  4114. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4115. elocacenter.Anchored = true
  4116. elocacenter.CFrame = orb.CFrame
  4117. elocacenter.Orientation = vt(0,0,0)
  4118. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4119. eloca1.Anchored = true
  4120. eloca1.CFrame = elocacenter.CFrame
  4121. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4122. eloca2.Anchored = true
  4123. eloca2.CFrame = elocacenter.CFrame
  4124. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4125. eloca3.Anchored = true
  4126. eloca3.CFrame = elocacenter.CFrame
  4127. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4128. eloca4.Anchored = true
  4129. eloca4.CFrame = elocacenter.CFrame
  4130. local lookavec = 0
  4131. local speeds = 0
  4132. CameraEnshaking(1,1)
  4133. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4134. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4135. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4136. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4137. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4138. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4139. for i = 0, 99 do
  4140. swait()
  4141. lookavec = lookavec + 1
  4142. speeds = speeds + 0.1
  4143. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4144. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4145. 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)
  4146.  
  4147. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4148. 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)
  4149.  
  4150. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4151. 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)
  4152.  
  4153. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4154. 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)
  4155. end
  4156.  
  4157. for i = 0, 149 do
  4158. swait()
  4159. speeds = speeds + 0.1
  4160. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4161. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4162. 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)
  4163.  
  4164. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4165. 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)
  4166.  
  4167. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4168. 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)
  4169.  
  4170. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4171. 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)
  4172. end
  4173. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  4174. if v:FindFirstChild('Head') then
  4175. dmg(v)
  4176. end
  4177. end
  4178. CameraEnshaking(7,30)
  4179. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  4180. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  4181. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  4182. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  4183. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4184. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  4185. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  4186. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4187. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4188. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4189. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4190. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4191. for i = 0, 24 do
  4192. 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)
  4193. 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)
  4194. 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)
  4195. 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)
  4196. end
  4197. coroutine.resume(coroutine.create(function()
  4198. for i = 0, 499 do
  4199. swait(1)
  4200. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  4201. 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)
  4202. end
  4203. elocacenter:Destroy()
  4204. eloca1:Destroy()
  4205. eloca2:Destroy()
  4206. eloca3:Destroy()
  4207. eloca4:Destroy()
  4208. end))
  4209. end
  4210. end)
  4211. end))
  4212. attack = false
  4213. end
  4214.  
  4215.  
  4216. function THE_TRUE_POWER_OF_VIOLENCE()
  4217. attack = true
  4218. hum.WalkSpeed = 0
  4219. bosschatfunc("ALL YOUR DESTINY...",MAINRUINCOLOR.Color,4)
  4220. for i = 0, 10, 0.1 do
  4221. swait()
  4222. 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)
  4223. 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)
  4224. 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)
  4225. 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)
  4226. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  4227. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4228. 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)
  4229. end
  4230. local orb = Instance.new("Part", char)
  4231. orb.BrickColor = MAINRUINCOLOR
  4232. orb.CanCollide = false
  4233. orb.FormFactor = 3
  4234. orb.Name = "Ring"
  4235. orb.Material = "Neon"
  4236. orb.Size = Vector3.new(1, 1, 1)
  4237. orb.Transparency = 0
  4238. orb.TopSurface = 0
  4239. orb.BottomSurface = 0
  4240. orb.CFrame = sorb.CFrame
  4241. local orbm = Instance.new("SpecialMesh", orb)
  4242. orbm.MeshType = "Sphere"
  4243. orbm.Name = "SizeMesh"
  4244. orbm.Scale = vt(0,0,0)
  4245. local sbs = Instance.new("BodyPosition", orb)
  4246. sbs.P = 3000
  4247. sbs.D = 1000
  4248. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4249. sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
  4250. CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
  4251. sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4252. sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4253. sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4254. sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4255. sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4256. for i = 0, 10, 0.1 do
  4257. swait()
  4258. 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)
  4259. 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)
  4260. 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)
  4261. 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)
  4262. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4263. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4264. 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)
  4265. end
  4266. orb.Anchored = true
  4267. local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4268. elocacenter.Anchored = true
  4269. elocacenter.CFrame = orb.CFrame
  4270. elocacenter.Orientation = vt(0,0,0)
  4271. local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4272. eloca1.Anchored = true
  4273. eloca1.CFrame = elocacenter.CFrame
  4274. local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4275. eloca2.Anchored = true
  4276. eloca2.CFrame = elocacenter.CFrame
  4277. local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4278. eloca3.Anchored = true
  4279. eloca3.CFrame = elocacenter.CFrame
  4280. local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4281. eloca4.Anchored = true
  4282. eloca4.CFrame = elocacenter.CFrame
  4283. local lookavec = 0
  4284. local speeds = 0
  4285. CameraEnshaking(1,1)
  4286. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
  4287. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
  4288. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
  4289. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
  4290. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4291. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4292. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4293. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4294. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4295. for i = 0, 99 do
  4296. swait()
  4297. lookavec = lookavec + 2.5
  4298. speeds = speeds + 0.25
  4299. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4300. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4301. 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)
  4302.  
  4303. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4304. 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)
  4305.  
  4306. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4307. 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)
  4308.  
  4309. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4310. 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)
  4311. end
  4312.  
  4313. for i = 0, 149 do
  4314. swait()
  4315. speeds = speeds + 0.25
  4316. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4317. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4318. 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)
  4319.  
  4320. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4321. 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)
  4322.  
  4323. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4324. 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)
  4325.  
  4326. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4327. 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)
  4328. end
  4329. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
  4330. for i = 0, 99 do
  4331. swait()
  4332. lookavec = lookavec - 2.5
  4333. speeds = speeds + 0.25
  4334. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4335. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4336. 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)
  4337.  
  4338. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4339. 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)
  4340.  
  4341. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4342. 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)
  4343.  
  4344. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4345. 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)
  4346. end
  4347. local scaled = 0.1*75
  4348. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
  4349. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
  4350. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
  4351. CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
  4352. CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
  4353. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  4354. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4355. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4356. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4357. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4358. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4359.  
  4360. for i = 0, 10, 0.1 do
  4361. swait()
  4362. scaled = scaled - 0.001*75
  4363. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4364. 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)
  4365. 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)
  4366. 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)
  4367. 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)
  4368. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4369. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4370. 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)
  4371. end
  4372. bosschatfunc("WILL BE MINE!!!!",MAINRUINCOLOR.Color,2)
  4373. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 10, 1,0,10,0.15,0.5,1)
  4374. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 60, 1,0,10,0.15,0.5,1)
  4375. for x = 0, 4 do
  4376. for i = 0, 9 do
  4377. 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)
  4378. end
  4379. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
  4380. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
  4381. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4382. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4383. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4384. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4385. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4386. for i = 0, 5, 0.1 do
  4387. swait()
  4388. 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)
  4389. 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)
  4390. 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)
  4391. 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)
  4392. 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)
  4393. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  4394. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
  4395. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
  4396. end
  4397. end
  4398. local speedearn = 0
  4399. CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
  4400. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
  4401. CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
  4402. for i = 0, 30, 0.1 do
  4403. swait()
  4404. scaled = scaled - 0.001*75/10
  4405. speedearn = speedearn + 0.5
  4406. for i = 0, 4 do
  4407. 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)
  4408. end
  4409. 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)
  4410. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4411. 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)
  4412. 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)
  4413. 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)
  4414. 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)
  4415. 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)
  4416. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
  4417. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
  4418. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
  4419. end
  4420. orb.Transparency = 1
  4421. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
  4422. if v:FindFirstChild('Head') then
  4423. dmg(v)
  4424. end
  4425. end
  4426. CameraEnshaking(7,30)
  4427. MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
  4428. CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
  4429. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
  4430. CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
  4431. CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
  4432. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4433. CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
  4434. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4435. CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
  4436. CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
  4437. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
  4438. CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
  4439. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
  4440. CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
  4441. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4442. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4443. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4444. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4445. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4446. for i = 0, 99 do
  4447. 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)
  4448. 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)
  4449. end
  4450. for i = 0, 24 do
  4451. 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)
  4452. 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)
  4453. 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)
  4454. 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)
  4455. 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)
  4456. end
  4457. game:GetService("Debris"):AddItem(orb, 10)
  4458. hum.WalkSpeed = storehumanoidWS
  4459. attack = false
  4460. end
  4461.  
  4462.  
  4463. function ViolentRing()
  4464. attack = true
  4465. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
  4466. bosschatfunc("SHOULD I TAKE THAT EASIER?!",MAINRUINCOLOR.Color,0.7)
  4467. CFuncs["EchoSound"].Create("rbxassetid://1535994137", char, 4, 1,0,10,0.15,0.5,1)
  4468. CFuncs["EchoSound"].Create("rbxassetid://1535994137", root, 7, 1,0,10,0.15,0.5,1)
  4469. for i = 0, 2, 0.1 do
  4470. swait()
  4471. local snap = math.random(1,10)
  4472. if snap == 1 then
  4473. 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)
  4474. end
  4475. 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)
  4476. 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)
  4477. 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)
  4478. 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)
  4479. 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)
  4480. 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)
  4481. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
  4482. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
  4483. 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)
  4484. RootPart.CFrame = FaceMouse()[1]
  4485. end
  4486. local orb = Instance.new("Part", char)
  4487. orb.BrickColor = MAINRUINCOLOR
  4488. orb.CanCollide = false
  4489. orb.FormFactor = 3
  4490. orb.Name = "Ring"
  4491. orb.Material = "Neon"
  4492. orb.Size = Vector3.new(1, 1, 1)
  4493. orb.Transparency = 0
  4494. orb.TopSurface = 0
  4495. orb.BottomSurface = 0
  4496. local orbm = Instance.new("SpecialMesh", orb)
  4497. orbm.MeshType = "Sphere"
  4498. orbm.Name = "SizeMesh"
  4499. orbm.Scale = vt(2,2,2)
  4500. orb.CFrame = mouse.Hit
  4501. local bv = Instance.new("BodyVelocity")
  4502. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4503. bv.velocity = orb.CFrame.lookVector*100
  4504. bv.Parent = orb
  4505. local hitted = false
  4506. coroutine.resume(coroutine.create(function()
  4507. game:GetService("Debris"):AddItem(orb, 5)
  4508. orb.Transparency = 1
  4509. orb.Anchored = true
  4510. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4511. elocacenter.Anchored = true
  4512. elocacenter.CFrame = orb.CFrame
  4513. elocacenter.Orientation = vt(0,0,0)
  4514. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4515. eloca1.Anchored = true
  4516. eloca1.CFrame = elocacenter.CFrame
  4517. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4518. eloca2.Anchored = true
  4519. eloca2.CFrame = elocacenter.CFrame
  4520. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4521. eloca3.Anchored = true
  4522. eloca3.CFrame = elocacenter.CFrame
  4523. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4524. eloca4.Anchored = true
  4525. eloca4.CFrame = elocacenter.CFrame
  4526. local lookavec = 0
  4527. local speeds = 0
  4528. CameraEnshaking(1,1)
  4529. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4530. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4531. sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4532. sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4533. sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4534. sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4535. for i = 0, 24 do
  4536. swait()
  4537. lookavec = lookavec + 3.5
  4538. speeds = speeds + 1
  4539. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4540. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4541. 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)
  4542.  
  4543. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4544. 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)
  4545.  
  4546. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4547. 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)
  4548.  
  4549. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4550. 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)
  4551. end
  4552.  
  4553. local risen = 0
  4554. for i = 0, 49 do
  4555. swait()
  4556. risen = risen + 0.05
  4557. speeds = speeds + 0.1
  4558. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4559. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4560. 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)
  4561.  
  4562. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4563. 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)
  4564.  
  4565. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4566. 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)
  4567.  
  4568. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4569. 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)
  4570. end
  4571. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
  4572. if v:FindFirstChild('Head') then
  4573. dmg(v)
  4574. end
  4575. end
  4576. CameraEnshaking(4,10)
  4577. MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
  4578. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
  4579. CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
  4580. CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
  4581. CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
  4582. CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
  4583. local eff = Instance.new("ParticleEmitter",elocacenter)
  4584. eff.Texture = "rbxassetid://2273224484"
  4585. eff.LightEmission = 1
  4586. eff.Color = ColorSequence.new(Color3.new(1,1,0))
  4587. eff.Rate = 1000000
  4588. eff.Lifetime = NumberRange.new(0.5,2)
  4589. 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)})
  4590. 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)})
  4591. eff.Speed = NumberRange.new(20,250)
  4592. eff.Drag = 5
  4593. eff.Rotation = NumberRange.new(-500,500)
  4594. eff.VelocitySpread = 5000000
  4595. eff.RotSpeed = NumberRange.new(-50,50)
  4596. coroutine.resume(coroutine.create(function()
  4597. wait(1)
  4598. eff.Enabled = false
  4599. end))
  4600. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
  4601. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
  4602. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4603. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4604. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4605. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4606. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4607. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
  4608. for i = 0, 24 do
  4609. 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)
  4610. 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)
  4611. 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)
  4612. 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)
  4613. end
  4614. coroutine.resume(coroutine.create(function()
  4615. wait(10)
  4616. elocacenter:Destroy()
  4617. eloca1:Destroy()
  4618. eloca2:Destroy()
  4619. eloca3:Destroy()
  4620. eloca4:Destroy()
  4621. end))
  4622. end))
  4623. attack = false
  4624. end
  4625.  
  4626. function UniversalCollapse()
  4627. attack = true
  4628. local speedearn = 0
  4629. hum.WalkSpeed = 0
  4630. local sbs = Instance.new("BodyPosition", root)
  4631. sbs.P = 3000
  4632. sbs.D = 1000
  4633. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4634. sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
  4635. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4636. for i = 0, 85, 0.1 do
  4637. swait()
  4638. speedearn = speedearn + 0.1
  4639. 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)
  4640. 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)
  4641. 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)
  4642. 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)
  4643. 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)
  4644. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4645. 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)
  4646. 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)
  4647. 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)
  4648. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4649. 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)
  4650. 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)
  4651. end
  4652. bosschatfunc("Universary..",MAINRUINCOLOR.Color,1)
  4653. CFuncs["EchoSound"].Create("rbxassetid://1448032598", char, 5, 1,0,10,0.15,0.5,1)
  4654. CFuncs["EchoSound"].Create("rbxassetid://1448032598", root, 20, 1,0,10,0.15,0.5,1)
  4655. for i = 0, 25, 0.1 do
  4656. swait()
  4657. speedearn = speedearn + 0.1
  4658. 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)
  4659. 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)
  4660. 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)
  4661. 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)
  4662. 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)
  4663. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4664. 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)
  4665. 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)
  4666. 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)
  4667. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4668. 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)
  4669. 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)
  4670. end
  4671. bosschatfunc("COLLAPSE!!!",MAINRUINCOLOR.Color,1)
  4672. CFuncs["EchoSound"].Create("rbxassetid://1436241883", char, 5, 1,0,10,0.15,0.5,1)
  4673. CFuncs["EchoSound"].Create("rbxassetid://1436241883", root, 20, 1,0,10,0.15,0.5,1)
  4674. CameraEnshaking(5,50)
  4675. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4676. for i = 0, 2 do
  4677. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4678. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4679. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
  4680. CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
  4681. end
  4682. for i = 0, 49 do
  4683. 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)
  4684. 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)
  4685. 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)
  4686. 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)
  4687. end
  4688. sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4689. sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4690. sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4691. sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4692. sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4693. sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4694. sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4695. sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4696. sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4697. sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4698. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4699. sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4700. for i = 0, 99 do
  4701. 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)
  4702. 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)
  4703. end
  4704. for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
  4705. if v:FindFirstChild('Head') then
  4706. dmg(v)
  4707. end
  4708. end
  4709. MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
  4710. sbs:Destroy()
  4711. hum.WalkSpeed = storehumanoidWS
  4712. attack = false
  4713. end
  4714.  
  4715.  
  4716. function ChaosEND()
  4717. attack = true
  4718. local speedearn = 0
  4719. bosschatfunc("THIS IS..",MAINRUINCOLOR.Color,0.8)
  4720. CFuncs["EchoSound"].Create("rbxassetid://1548599511", char, 4.5, 1,0,10,0.15,0.5,1)
  4721. CFuncs["EchoSound"].Create("rbxassetid://1548599511", root, 30, 1,0,10,0.15,0.5,1)
  4722. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
  4723. for i = 0, 15, 0.1 do
  4724. swait()
  4725. speedearn = speedearn + 0.25
  4726. 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)
  4727. 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)
  4728. 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)
  4729. 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)
  4730. 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)
  4731. 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)
  4732. 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)
  4733. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4734. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4735. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4736. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4737. end
  4738. CFuncs["Sound"].Create("rbxassetid://438666141", char, 3,1)
  4739. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
  4740. bosschatfunc("THE END!!!",MAINRUINCOLOR.Color,2)
  4741. CFuncs["EchoSound"].Create("rbxassetid://1548599962", char, 8, 1,0,10,0.15,0.5,1)
  4742. CFuncs["EchoSound"].Create("rbxassetid://1548599962", root, 40, 1,0,10,0.15,0.5,1)
  4743. CameraEnshaking(5,25)
  4744. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4745. if v:FindFirstChild('Head') then
  4746. dmg(v)
  4747. end
  4748. end
  4749. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  4750. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  4751. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  4752. for i = 0, 3, 0.1 do
  4753. swait()
  4754. 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)
  4755. 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)
  4756. 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)
  4757. 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)
  4758. 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)
  4759. 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)
  4760. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4761. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4762. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4763. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4764. end
  4765. attack = false
  4766. end
  4767.  
  4768. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4769. local orb = Instance.new("Part", char)
  4770. orb.Anchored = true
  4771. orb.BrickColor = color
  4772. orb.CanCollide = false
  4773. orb.FormFactor = 3
  4774. orb.Name = "Ring"
  4775. orb.Material = "Neon"
  4776. orb.Size = Vector3.new(1, 1, 1)
  4777. orb.Transparency = 0
  4778. orb.TopSurface = 0
  4779. orb.BottomSurface = 0
  4780. local orbm = Instance.new("SpecialMesh", orb)
  4781. orbm.MeshType = "Sphere"
  4782. orb.CFrame = positted
  4783. orbm.Name = "SizeMesh"
  4784. orbm.Scale = vt(1,1,1)
  4785. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  4786. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  4787. --[[for i = 0, 2 do
  4788. 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)
  4789. end]]--
  4790. coroutine.resume(coroutine.create(function()
  4791. wait(timer)
  4792. CameraEnshaking(3,ShakePower)
  4793. orb.Transparency = 1
  4794. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  4795. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  4796. --[[for i = 0, 4 do
  4797. 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)
  4798. end]]--
  4799. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  4800. wait(3)
  4801. orb:Destroy()
  4802. end))
  4803. end
  4804.  
  4805. function orb_spawn(positted,timer)
  4806. local randomcol = math.random(1,2)
  4807. local orb = Instance.new("Part", char)
  4808. orb.Anchored = true
  4809. if randomcol == 1 then
  4810. orb.BrickColor = BrickColor.new("White")
  4811. elseif randomcol == 2 then
  4812. orb.BrickColor = BrickColor.new("Really black")
  4813. end
  4814. orb.CanCollide = false
  4815. orb.FormFactor = 3
  4816. orb.Name = "Ring"
  4817. orb.Material = "Neon"
  4818. orb.Size = Vector3.new(1, 1, 1)
  4819. orb.Transparency = 0
  4820. orb.TopSurface = 0
  4821. orb.BottomSurface = 0
  4822. local orbm = Instance.new("SpecialMesh", orb)
  4823. orbm.MeshType = "Sphere"
  4824. orb.CFrame = positted
  4825. orbm.Name = "SizeMesh"
  4826. orbm.Scale = vt(1,1,1)
  4827. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 0.15, 1)
  4828. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  4829. for i = 0, 2 do
  4830. 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)
  4831. end
  4832. coroutine.resume(coroutine.create(function()
  4833. wait(timer)
  4834. CameraEnshaking(3,2)
  4835. orb.Transparency = 1
  4836. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  4837. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  4838. for i = 0, 4 do
  4839. 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)
  4840. end
  4841. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 0.15, 0.7)
  4842. wait(3)
  4843. orb:Destroy()
  4844. end))
  4845. end
  4846.  
  4847. function scattercorrupt()
  4848. attack = true
  4849. hum.WalkSpeed = 0
  4850. for i = 0, 2, 0.1 do
  4851. swait()
  4852. 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)
  4853. 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)
  4854. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4855. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4856. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.2)
  4857. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.2)
  4858. end
  4859. local rot = 0
  4860. local randomrotations = math.random(1,2)
  4861. local lookv = 2.5
  4862. local power = 7
  4863. local radm = math.random(1,3)
  4864. if radm == 1 then
  4865. bosschatfunc("HOW LONG CAN YOU TAKE THIS?",MAINRUINCOLOR.Color,1)
  4866. elseif radm == 2 then
  4867. bosschatfunc("SWAMP!!",MAINRUINCOLOR.Color,1)
  4868. elseif radm == 3 then
  4869. bosschatfunc("SCATTER!!",MAINRUINCOLOR.Color,1)
  4870. end
  4871. CFuncs["Sound"].Create("rbxassetid://183763506", RightLeg, 2, 1)
  4872. for i = 0, 1, 0.1 do
  4873. swait()
  4874. 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)
  4875. 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)
  4876. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(15),math.rad(0),math.rad(0)),.15)
  4877. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.15)
  4878. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(40)),.15)
  4879. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(-40)),.15)
  4880. end
  4881. CFuncs["EchoSound"].Create("rbxassetid://1535994669", char, 5, 1,0,10,0.15,0.5,1)
  4882. CFuncs["EchoSound"].Create("rbxassetid://1535994669", root, 20, 1,0,10,0.15,0.5,1)
  4883. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  4884. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  4885. for i = 0, 9 do
  4886. 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)
  4887. end
  4888. local hite = Instance.new("Part", char)
  4889. hite.Anchored = true
  4890. hite.CanCollide = false
  4891. hite.FormFactor = 3
  4892. hite.Name = "Ring"
  4893. hite.Material = "Neon"
  4894. hite.Size = Vector3.new(1, 1, 1)
  4895. hite.Transparency = 1
  4896. hite.TopSurface = 0
  4897. hite.BottomSurface = 0
  4898. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  4899. local rem = Instance.new("Part", char)
  4900. rem.Anchored = true
  4901. rem.CanCollide = false
  4902. rem.FormFactor = 3
  4903. rem.Name = "Ring"
  4904. rem.Material = "Neon"
  4905. rem.Size = Vector3.new(1, 1, 1)
  4906. rem.Transparency = 1
  4907. rem.TopSurface = 0
  4908. rem.BottomSurface = 0
  4909. rem.CFrame = hite.CFrame
  4910. local rem2 = rem:Clone()
  4911. rem2.Parent = char
  4912. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4913. local rem3 = rem:Clone()
  4914. rem3.Parent = char
  4915. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4916. local rem4 = rem:Clone()
  4917. rem4.Parent = char
  4918. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4919. hite:Destroy()
  4920. coroutine.resume(coroutine.create(function()
  4921. for i = 0, 24 do
  4922. swait(1)
  4923. if randomrotations == 1 then
  4924. rot = rot + 1
  4925. elseif randomrotations == 2 then
  4926. rot = rot - 1
  4927. end
  4928. power = power + 0.5
  4929. lookv = lookv + 7.5
  4930. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4931. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4932. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4933. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4934. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  4935. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  4936. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  4937. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  4938. end
  4939. end))
  4940. wait(2)
  4941. hum.WalkSpeed = storehumanoidWS
  4942. attack = false
  4943. end
  4944. function yinyangi()
  4945. attack = true
  4946. for i = 0, 2, 0.1 do
  4947. swait()
  4948. 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)
  4949. 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)
  4950. 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)
  4951. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4952. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  4953. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  4954. end
  4955. local bv = Instance.new("BodyVelocity")
  4956. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4957. bv.velocity = root.CFrame.lookVector*175
  4958. bv.Parent = root
  4959. for Rotations = 0, 9 do
  4960. for i = 0, 1, 0.5 do
  4961. swait()
  4962. bv.velocity = root.CFrame.lookVector*175
  4963. 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)
  4964. 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)
  4965. 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)
  4966. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4967. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4968. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4969. end
  4970. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4971. for i = 0, 1, 0.5 do
  4972. swait()
  4973. bv.velocity = root.CFrame.lookVector*175
  4974. 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)
  4975. 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)
  4976. 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)
  4977. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4978. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4979. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4980. end
  4981. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4982. for i = 0, 1, 0.5 do
  4983. swait()
  4984. bv.velocity = root.CFrame.lookVector*175
  4985. 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)
  4986. 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)
  4987. 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)
  4988. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4989. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4990. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4991. end
  4992. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4993. for i = 0, 1, 0.5 do
  4994. swait()
  4995. bv.velocity = root.CFrame.lookVector*175
  4996. 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)
  4997. 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)
  4998. 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)
  4999. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5000. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5001. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5002. end
  5003. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5004. end
  5005. bv:Destroy()
  5006. attack = false
  5007. end
  5008.  
  5009. function createBGCircle(size,parent,color)
  5010. local bgui = Instance.new("BillboardGui",parent)
  5011. bgui.Size = UDim2.new(size, 0, size, 0)
  5012. local imgc = Instance.new("ImageLabel",bgui)
  5013. imgc.BackgroundTransparency = 1
  5014. imgc.ImageTransparency = 0
  5015. imgc.Size = UDim2.new(1,0,1,0)
  5016. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  5017. imgc.ImageColor3 = color
  5018. return bgui,imgc
  5019. end
  5020.  
  5021. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  5022. local bgui,imgc = createBGCircle(size,guipar,color)
  5023. bgui.AlwaysOnTop = true
  5024. imgc.Image = "rbxassetid://" ..img
  5025. local rrot = math.random(1,2)
  5026. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  5027. coroutine.resume(coroutine.create(function()
  5028. for i = 0, 24*delay do
  5029. swait()
  5030. if rotationenabled == true then
  5031. if rrot == 1 then
  5032. imgc.Rotation = imgc.Rotation + rotsp
  5033. elseif rrot == 2 then
  5034. imgc.Rotation = imgc.Rotation - rotsp
  5035. end
  5036. end
  5037. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  5038. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  5039. end
  5040. bgui:Destroy()
  5041. end))
  5042. end
  5043. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled)
  5044. for i, v in pairs(mw2:GetChildren()) do
  5045. if v:IsA("Part") then
  5046. v.BrickColor = one
  5047. v.Material = "Neon"
  5048. end
  5049. end
  5050. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  5051. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  5052. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  5053. tr1.Color = ColorSequence.new(one.Color)
  5054. tr2.Color = ColorSequence.new(one.Color)
  5055. tr3.Color = ColorSequence.new(one.Color)
  5056. for i, v in pairs(mw1:GetChildren()) do
  5057. if v:IsA("Part") then
  5058. if secondaryenabled == false then
  5059. v.Transparency = 1
  5060. elseif secondaryenabled == true then
  5061. v.Transparency = 0
  5062. end
  5063. v.BrickColor = two
  5064. v.Material = "Neon"
  5065. end
  5066. end
  5067. if secondaryenabled == false then
  5068. tl1.Enabled = false
  5069. tl2.Enabled = false
  5070. tl3.Enabled = false
  5071. elseif secondaryenabled == true then
  5072. tl1.Enabled = true
  5073. tl2.Enabled = true
  5074. tl3.Enabled = true
  5075. end
  5076. tl1.Color = ColorSequence.new(two.Color)
  5077. tl2.Color = ColorSequence.new(two.Color)
  5078. tl3.Color = ColorSequence.new(two.Color)
  5079. for i, v in pairs(m:GetChildren()) do
  5080. if v:IsA("Part") then
  5081. v.BrickColor = three
  5082. v.Material = "Ice"
  5083. end
  5084. end
  5085. for i, v in pairs(m2:GetChildren()) do
  5086. if v:IsA("Part") then
  5087. v.BrickColor = four
  5088. v.Material = "Ice"
  5089. end
  5090. end
  5091. for i, v in pairs(m3:GetChildren()) do
  5092. if v:IsA("Part") then
  5093. v.BrickColor = five
  5094. v.Material = "Neon"
  5095. end
  5096. end
  5097. for i, v in pairs(extrawingmod1:GetChildren()) do
  5098. if v:IsA("Part") then
  5099. v.Transparency = exonetran
  5100. v.BrickColor = exone
  5101. v.Material = "Neon"
  5102. end
  5103. end
  5104. for i, v in pairs(extrawingmod2:GetChildren()) do
  5105. if v:IsA("Part") then
  5106. v.Transparency = extwotran
  5107. v.BrickColor = extwo
  5108. v.Material = "Neon"
  5109. end
  5110. end
  5111. end
  5112.  
  5113.  
  5114. function normalmog()
  5115. attack = true
  5116. hum.WalkSpeed = 0
  5117. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
  5118. for i = 0,6,0.1 do
  5119. swait()
  5120. 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)
  5121. 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)
  5122. 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)
  5123. 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)
  5124. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5125. 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)
  5126. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5127. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5128. end
  5129. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  5130. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  5131. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  5132. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  5133. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  5134. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  5135. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  5136. rainbowmode = false
  5137. chaosmode = false
  5138. ModeOfGlitch = 1
  5139. storehumanoidWS = 16
  5140. newTheme("rbxassetid://367339030",48.6,1,1.25)
  5141. RecolorTextAndRename("Hopeless Guest",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  5142. CameraEnshaking(5,2.5)
  5143. MAINRUINCOLOR = BrickColor.new("Really red")
  5144. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5145. for i = 0, 49 do
  5146. 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)
  5147. end
  5148. for i = 0, 24 do
  5149. 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)
  5150. 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"))
  5151. end
  5152. for i = 0,3,0.1 do
  5153. 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)
  5154. end
  5155. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  5156. for i = 0,2,0.1 do
  5157. swait()
  5158. 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)
  5159. 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)
  5160. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  5161. 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)
  5162. 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)
  5163. 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)
  5164. end
  5165. hum.WalkSpeed = storehumanoidWS
  5166. attack = false
  5167. end
  5168.  
  5169. function attackone()
  5170. attack = true
  5171. local keptcolor = MAINRUINCOLOR
  5172. for i = 0,1,0.1 do
  5173. swait()
  5174. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  5175. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  5176. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  5177. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5178. 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)
  5179. 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)
  5180. end
  5181. local distlook = 5
  5182. coroutine.resume(coroutine.create(function()
  5183. for i = 0, 4 do
  5184. swait(2)
  5185. CameraEnshaking(2,3)
  5186. local hite = Instance.new("Part", char)
  5187. hite.Anchored = true
  5188. hite.CanCollide = false
  5189. hite.FormFactor = 3
  5190. hite.Name = "Ring"
  5191. hite.Material = "Neon"
  5192. hite.Size = Vector3.new(1, 1, 1)
  5193. hite.Transparency = 1
  5194. hite.TopSurface = 0
  5195. hite.BottomSurface = 0
  5196. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  5197. 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)
  5198. 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)
  5199. 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)
  5200. 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)
  5201. MagniDamage(hite, 9, 10,25, 0, "Normal")
  5202. for i = 0, 14 do
  5203. local rsiz = math.random(5,20)
  5204. 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)
  5205. end
  5206. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  5207. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  5208. game:GetService("Debris"):AddItem(hite, 5)
  5209. distlook = distlook + 10
  5210. end
  5211. end))
  5212. for i = 0,1,0.1 do
  5213. swait()
  5214. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  5215. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  5216. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  5217. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  5218. 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)
  5219. 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)
  5220. end
  5221. attack = false
  5222. end
  5223.  
  5224. function attacktwo()
  5225. attack = true
  5226. hum.WalkSpeed = 2
  5227. local keptcolor = MAINRUINCOLOR
  5228. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5229. 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)
  5230. 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)
  5231. for i = 0, 14 do
  5232. 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)
  5233. end
  5234. for i = 0,1,0.1 do
  5235. swait()
  5236. 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)
  5237. 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)
  5238. 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)
  5239. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  5240. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  5241. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  5242. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5243. end
  5244. for i = 0, 1 do
  5245. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  5246. for i = 0,1,0.6 do
  5247. swait()
  5248. 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)
  5249. 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"))
  5250. 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)
  5251. 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)
  5252. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5253. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5254. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5255. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5256. end
  5257. for i = 0,1,0.6 do
  5258. swait()
  5259. 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)
  5260. 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"))
  5261. 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)
  5262. 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)
  5263. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  5264. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5265. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5266. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5267. end
  5268. for i = 0,1,0.6 do
  5269. swait()
  5270. 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)
  5271. 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"))
  5272. 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)
  5273. 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)
  5274. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  5275. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5276. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5277. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5278. end
  5279. for i = 0,1,0.6 do
  5280. swait()
  5281. 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)
  5282. 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"))
  5283. 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)
  5284. 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)
  5285. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  5286. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5287. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5288. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5289. end
  5290. local rot = 0
  5291. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  5292. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  5293. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  5294. CreateMesh(dis,"Sphere",10,1,10)
  5295. local at1 = Instance.new("Attachment",dis)
  5296. at1.Position = vt(-5,0,0)
  5297. local at2 = Instance.new("Attachment",dis)
  5298. at2.Position = vt(5,0,0)
  5299. local trl = Instance.new('Trail',wed)
  5300. trl.Attachment0 = at1
  5301. trl.Attachment1 = at2
  5302. trl.Texture = "rbxassetid://1049219073"
  5303. trl.LightEmission = 1
  5304. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5305. trl.Color = ColorSequence.new(dis.Color)
  5306. trl.Lifetime = 0.6
  5307. local a = Instance.new("Part",workspace)
  5308. a.Name = "Direction"
  5309. a.Anchored = true
  5310. a.BrickColor = bc("Bright red")
  5311. a.Material = "Neon"
  5312. a.Transparency = 1
  5313. a.CanCollide = false
  5314. local ray = Ray.new(
  5315. dis.CFrame.p, -- origin
  5316. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5317. )
  5318. local ignore = dis
  5319. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5320. a.BottomSurface = 10
  5321. a.TopSurface = 10
  5322. local distance = (dis.CFrame.p - position).magnitude
  5323. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5324. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5325. dis.CFrame = a.CFrame
  5326. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5327. a:Destroy()
  5328. local bv = Instance.new("BodyVelocity")
  5329. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5330. bv.velocity = dis.CFrame.lookVector*250
  5331. bv.Parent = dis
  5332. game:GetService("Debris"):AddItem(dis, 5)
  5333. local hitted = false
  5334. coroutine.resume(coroutine.create(function()
  5335. dis.Touched:connect(function(hit)
  5336. if hitted == false and hit.Parent ~= char then
  5337. hitted = true
  5338. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  5339. MagniDamage(dis, 30, 33,56, 0, "Normal")
  5340. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  5341. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5342. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5343. coroutine.resume(coroutine.create(function()
  5344. for i = 0, 9 do
  5345. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  5346. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5347. local at1 = Instance.new("Attachment",disr)
  5348. at1.Position = vt(-5,0,0)
  5349. local at2 = Instance.new("Attachment",disr)
  5350. at2.Position = vt(5,0,0)
  5351. local trl = Instance.new('Trail',disr)
  5352. trl.Attachment0 = at1
  5353. trl.FaceCamera = true
  5354. trl.Attachment1 = at2
  5355. trl.Texture = "rbxassetid://2342682798"
  5356. trl.LightEmission = 1
  5357. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5358. trl.Color = ColorSequence.new(keptcolor.Color)
  5359. trl.Lifetime = 0.5
  5360. local bv = Instance.new("BodyVelocity")
  5361. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5362. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  5363. bv.Parent = disr
  5364. local val = 0
  5365. coroutine.resume(coroutine.create(function()
  5366. swait(30)
  5367. for i = 0, 9 do
  5368. swait()
  5369. val = val + 0.1
  5370. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5371. end
  5372. game:GetService("Debris"):AddItem(disr, 3)
  5373. end))
  5374. end
  5375. local eff = Instance.new("ParticleEmitter",dis)
  5376. eff.Texture = "rbxassetid://2273224484"
  5377. eff.LightEmission = 1
  5378. eff.Color = ColorSequence.new(keptcolor.Color)
  5379. eff.Rate = 500000
  5380. eff.Lifetime = NumberRange.new(0.5,2)
  5381. 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)})
  5382. 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)})
  5383. eff.Speed = NumberRange.new(20,250)
  5384. eff.Drag = 5
  5385. eff.Rotation = NumberRange.new(-500,500)
  5386. eff.VelocitySpread = 9000
  5387. eff.RotSpeed = NumberRange.new(-50,50)
  5388. wait(0.25)
  5389. eff.Enabled = false
  5390. end))
  5391. for i = 0, 9 do
  5392. 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"))
  5393. end
  5394. for i = 0, 19 do
  5395. 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)
  5396. end
  5397. coroutine.resume(coroutine.create(function()
  5398. for i = 0, 19 do
  5399. swait()
  5400. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  5401. end
  5402. hum.CameraOffset = vt(0,0,0)
  5403. end))
  5404. dis.Anchored = true
  5405. dis.Transparency = 1
  5406. wait(8)
  5407. dis:Destroy()
  5408. end
  5409. end)
  5410. end))
  5411. rot = rot - 15
  5412. end
  5413. for i = 0,2,0.1 do
  5414. swait()
  5415. 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)
  5416. 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)
  5417. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5418. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  5419. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5420. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5421. end
  5422. attack = false
  5423. hum.WalkSpeed = storehumanoidWS
  5424. end
  5425.  
  5426. function attackthree()
  5427. attack = true
  5428. local keptcolor = MAINRUINCOLOR
  5429. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  5430. for i = 0,2,0.1 do
  5431. swait()
  5432. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5433. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3)
  5434. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  5435. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3)
  5436. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3)
  5437. 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)
  5438. 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)
  5439. end
  5440. CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
  5441. CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
  5442. CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
  5443. CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
  5444. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  5445. sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR)
  5446. for i = 0, 24 do
  5447. 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"))
  5448. end
  5449. for i = 0,4,0.1 do
  5450. swait()
  5451. root.CFrame = root.CFrame + root.CFrame.lookVector*5
  5452. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  5453. CreateMesh(dis,"Sphere",1,1,1)
  5454. dis.Anchored = true
  5455. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  5456. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  5457. coroutine.resume(coroutine.create(function()
  5458. swait(30)
  5459. dis.Transparency = 1
  5460. coroutine.resume(coroutine.create(function()
  5461. for i = 0, 19 do
  5462. swait()
  5463. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  5464. end
  5465. hum.CameraOffset = vt(0,0,0)
  5466. end))
  5467. coroutine.resume(coroutine.create(function()
  5468. local eff = Instance.new("ParticleEmitter",dis)
  5469. eff.Texture = "rbxassetid://2273224484"
  5470. eff.LightEmission = 1
  5471. eff.Color = ColorSequence.new(dis.Color)
  5472. eff.Rate = 500000
  5473. eff.Lifetime = NumberRange.new(0.5,2)
  5474. 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)})
  5475. 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)})
  5476. eff.Speed = NumberRange.new(50,450)
  5477. eff.Drag = 5
  5478. eff.Rotation = NumberRange.new(-500,500)
  5479. eff.VelocitySpread = 9000
  5480. eff.RotSpeed = NumberRange.new(-50,50)
  5481. wait(0.125)
  5482. eff.Enabled = false
  5483. end))
  5484. MagniDamage(dis, 30, 45,50, 0, "Normal")
  5485. for i = 0, 2 do
  5486. 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)
  5487. end
  5488. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
  5489. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
  5490. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
  5491. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color)
  5492. end))
  5493. game:GetService("Debris"):AddItem(dis, 5)
  5494. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5)
  5495. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5)
  5496. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5)
  5497. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5)
  5498. 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)
  5499. 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)
  5500. end
  5501. attack = false
  5502. end
  5503. ----------------------------------- Abilities
  5504.  
  5505. function ExtinctiveHeartbreak()
  5506. local targetted = nil
  5507. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5508. targetted = mouse.Target.Parent
  5509. end
  5510. if targetted ~= nil then
  5511. attack = true
  5512. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5513. for i = 0, 9 do
  5514. 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)
  5515. end
  5516. for i = 0, 24 do
  5517. 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)
  5518. end
  5519. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5520. local originalpos = root.CFrame
  5521. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  5522. for i = 0, 9 do
  5523. 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)
  5524. end
  5525. for i = 0, 24 do
  5526. 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)
  5527. end
  5528. hum.WalkSpeed = 0
  5529. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5530. local radm = math.random(1,3)
  5531. if radm == 1 then
  5532. bosschatfunc("YOU WONT BE NECCESSARY.",MAINRUINCOLOR.Color,2)
  5533. elseif radm == 2 then
  5534. bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
  5535. elseif radm == 3 then
  5536. bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  5537. end
  5538. for i = 0,2,0.1 do
  5539. swait()
  5540. 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)
  5541. 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)
  5542. 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)
  5543. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5544. 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)
  5545. 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)
  5546. end
  5547. CFuncs["Sound"].Create("rbxassetid://153092227", root, 0.5,1)
  5548. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 2, 1,0,10,0.25,0.5,1)
  5549. for i = 0,2,0.1 do
  5550. swait()
  5551. coroutine.resume(coroutine.create(function()
  5552. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5553. for i,v in pairs(targetted:GetChildren()) do
  5554. if v:IsA("Part") or v:IsA("MeshPart") then
  5555. v.Velocity = vt(0,0,0)
  5556. end
  5557. end
  5558. end))
  5559. 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)
  5560. 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)
  5561. 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)
  5562. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  5563. 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)
  5564. 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)
  5565. end
  5566. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 0.5, 1,0,10,0.25,0.5,1)
  5567. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 0.5, 0.9,0,10,0.25,0.5,1)
  5568. for i = 0, 1 do
  5569. CFuncs["EchoSound"].Create("rbxassetid://159882598", char, 2, 1,0.1,10,0.15,0.5,1)
  5570. end
  5571. CFuncs["EchoSound"].Create("rbxassetid://159882598", root, 15, 1,0.1,10,0.15,0.5,1)
  5572. --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  5573. for i = 0,4,0.1 do
  5574. swait()
  5575. coroutine.resume(coroutine.create(function()
  5576. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5577. 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)))
  5578. local at1 = Instance.new("Attachment",dis)
  5579. at1.Position = vt(-25000,0,0)
  5580. local at2 = Instance.new("Attachment",dis)
  5581. at2.Position = vt(25000,0,0)
  5582. local trl = Instance.new('Trail',dis)
  5583. trl.Attachment0 = at1
  5584. trl.FaceCamera = true
  5585. trl.Attachment1 = at2
  5586. trl.Texture = "rbxassetid://1049219073"
  5587. trl.LightEmission = 1
  5588. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5589. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  5590. trl.Lifetime = 5
  5591. local bv = Instance.new("BodyVelocity")
  5592. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5593. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5594. bv.Parent = dis
  5595. game:GetService("Debris"):AddItem(dis, 5)
  5596. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5597. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  5598. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  5599. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  5600. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  5601. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  5602. 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)
  5603. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  5604. for i = 0, 2 do
  5605. 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"))
  5606. end
  5607. 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)
  5608. for i,v in pairs(targetted:GetChildren()) do
  5609. if v:IsA("Part") or v:IsA("MeshPart") then
  5610. v.Velocity = vt(0,0,0)
  5611. end
  5612. end
  5613. end))
  5614. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  5615. 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)
  5616. 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)
  5617. 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)
  5618. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  5619. 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)
  5620. 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)
  5621. end
  5622. hum.CameraOffset = vt(0,0,0)
  5623. for i = 0, 49 do
  5624. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5625. 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)))
  5626. local at1 = Instance.new("Attachment",dis)
  5627. at1.Position = vt(-50000,0,0)
  5628. local at2 = Instance.new("Attachment",dis)
  5629. at2.Position = vt(50000,0,0)
  5630. local trl = Instance.new('Trail',dis)
  5631. trl.Attachment0 = at1
  5632. trl.FaceCamera = true
  5633. trl.Attachment1 = at2
  5634. trl.Texture = "rbxassetid://1049219073"
  5635. trl.LightEmission = 1
  5636. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5637. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  5638. trl.Lifetime = 5
  5639. local bv = Instance.new("BodyVelocity")
  5640. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5641. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5642. bv.Parent = dis
  5643. game:GetService("Debris"):AddItem(dis, 5)
  5644. end
  5645. for i = 0, 49 do
  5646. 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)
  5647. 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"))
  5648. end
  5649. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  5650. for i = 0, 1 do
  5651. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  5652. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  5653. end
  5654. for i = 0, 4 do
  5655. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  5656. end
  5657. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  5658. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  5659. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  5660. dmg(targetted)
  5661. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5662. for i = 0, 9 do
  5663. 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)
  5664. end
  5665. for i = 0, 24 do
  5666. 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)
  5667. end
  5668. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5669. root.CFrame = originalpos
  5670. for i = 0, 9 do
  5671. 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)
  5672. end
  5673. for i = 0, 24 do
  5674. 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)
  5675. end
  5676. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5677. attack = false
  5678. hum.WalkSpeed = storehumanoidWS
  5679. end
  5680. end
  5681.  
  5682. function CorruptionEvent()
  5683. attack = true
  5684. hum.WalkSpeed = 0
  5685. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5686. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5687. local keptcolor = MAINRUINCOLOR
  5688. for i = 0,4,0.1 do
  5689. swait()
  5690. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5691. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5692. 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)
  5693. 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)
  5694. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  5695. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  5696. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  5697. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5698. end
  5699. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5700. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  5701. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  5702. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5703. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5704. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5705. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  5706. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  5707. hum.CameraOffset = vt(0,0,0)
  5708. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5709. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5710. for i = 0, 24 do
  5711. 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"))
  5712. end
  5713. local rrot = 0
  5714. coroutine.resume(coroutine.create(function()
  5715. for i = 0, 4 do
  5716. rrot = rrot + 45
  5717. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5718. xa.Anchored = true
  5719. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5720. xb.Anchored = true
  5721. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5722. xc.Anchored = true
  5723. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5724. xd.Anchored = true
  5725. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  5726. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  5727. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  5728. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  5729. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  5730. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  5731. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  5732. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  5733. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  5734. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  5735. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  5736. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  5737. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  5738. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  5739. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  5740. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  5741. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5742. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5743. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5744. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5745. for i = 0, 9 do
  5746. 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"))
  5747. 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"))
  5748. 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"))
  5749. 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"))
  5750. end
  5751. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5752. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5753. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5754. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5755. 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)
  5756. 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)
  5757. 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)
  5758. 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)
  5759. 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))
  5760. 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))
  5761. 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))
  5762. 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))
  5763. game:GetService("Debris"):AddItem(xa, 5)
  5764. game:GetService("Debris"):AddItem(xb, 5)
  5765. game:GetService("Debris"):AddItem(xc, 5)
  5766. game:GetService("Debris"):AddItem(xd, 5)
  5767. coroutine.resume(coroutine.create(function()
  5768. for i = 0, 19 do
  5769. swait()
  5770. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5771. end
  5772. hum.CameraOffset = vt(0,0,0)
  5773. end))
  5774. swait(9)
  5775. end
  5776. end))
  5777. for i = 0,2,0.1 do
  5778. swait()
  5779. 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)
  5780. 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)
  5781. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  5782. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  5783. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  5784. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5785. end
  5786. attack = false
  5787. hum.WalkSpeed = storehumanoidWS
  5788. end
  5789.  
  5790. function EndGROUND()
  5791. attack = true
  5792. hum.WalkSpeed = 0
  5793. bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
  5794. --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5795. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5796. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  5797. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  5798. local keptcolor = MAINRUINCOLOR
  5799. for i = 0,4,0.1 do
  5800. swait()
  5801. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5802. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5803. 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"))
  5804. 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)
  5805. 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)
  5806. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  5807. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  5808. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  5809. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5810. end
  5811. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5812. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5813. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5814. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5815. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  5816. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  5817. coroutine.resume(coroutine.create(function()
  5818. local shval = 10
  5819. for i = 0, 99 do
  5820. swait()
  5821. shval = shval - 0.1
  5822. hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  5823. end
  5824. hum.CameraOffset = vt(0,0,0)
  5825. end))
  5826. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5827. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5828. for i = 0, 24 do
  5829. 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"))
  5830. end
  5831. local rrot = 0
  5832. local xam = 1
  5833. coroutine.resume(coroutine.create(function()
  5834. for i = 0, 14 do
  5835. --swait()
  5836. rrot = rrot + 40*xam
  5837. xam = xam + 0.25
  5838. local bonus = xam
  5839. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  5840. xa.Anchored = true
  5841. xa.Color = Color3.new(0,0,0)
  5842. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  5843. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  5844. local xc = 0
  5845. coroutine.resume(coroutine.create(function()
  5846. for i = 0, 99 do
  5847. swait()
  5848. xc = xc + 0.01
  5849. xa.Color = Color3.new(xc,0,0)
  5850. end
  5851. xa.Transparency = 1
  5852. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  5853. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  5854. for i = 0, 9 do
  5855. 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"))
  5856. end
  5857. 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)
  5858. 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)
  5859. 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))
  5860. game:GetService("Debris"):AddItem(xa, 5)
  5861. coroutine.resume(coroutine.create(function()
  5862. for i = 0, 19 do
  5863. swait()
  5864. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5865. end
  5866. hum.CameraOffset = vt(0,0,0)
  5867. end))
  5868. end))
  5869. end
  5870. end))
  5871. for i = 0,2,0.1 do
  5872. swait()
  5873. 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)
  5874. 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)
  5875. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  5876. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  5877. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  5878. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5879. end
  5880. attack = false
  5881. hum.WalkSpeed = storehumanoidWS
  5882. end
  5883.  
  5884. function HeavenlyDisk()
  5885. attack = true
  5886. hum.WalkSpeed = 2
  5887. local keptcolor = MAINRUINCOLOR
  5888. local radm = math.random(1,3)
  5889. if radm == 1 then
  5890. bosschatfunc("Dont make this too easy for you.",MAINRUINCOLOR.Color,1)
  5891. elseif radm == 2 then
  5892. bosschatfunc("Heavenly Disks!",MAINRUINCOLOR.Color,1)
  5893. elseif radm == 3 then
  5894. bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
  5895. end
  5896. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5897. CFuncs["EchoSound"].Create("rbxassetid://1625448638", char, 4, 1,0,10,0.15,0.5,1)
  5898. 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)
  5899. 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)
  5900. for i = 0, 14 do
  5901. 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)
  5902. end
  5903. for i = 0,2,0.1 do
  5904. swait()
  5905. 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)
  5906. 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)
  5907. 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)
  5908. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5909. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  5910. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  5911. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5912. end
  5913. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  5914. for i = 0,1,0.6 do
  5915. swait()
  5916. 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)
  5917. 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"))
  5918. 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)
  5919. 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)
  5920. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5921. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5922. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5923. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5924. end
  5925. for i = 0,1,0.6 do
  5926. swait()
  5927. 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)
  5928. 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"))
  5929. 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)
  5930. 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)
  5931. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  5932. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5933. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5934. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5935. end
  5936. for i = 0,1,0.6 do
  5937. swait()
  5938. 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)
  5939. 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"))
  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)),.6)
  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)),.6)
  5942. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  5943. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5944. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5945. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5946. end
  5947. for i = 0,1,0.6 do
  5948. swait()
  5949. 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)
  5950. 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"))
  5951. 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)
  5952. 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)
  5953. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  5954. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5955. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5956. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5957. end
  5958. local rot = 15
  5959. for i = 0, 2 do
  5960. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
  5961. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  5962. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  5963. CreateMesh(dis,"Sphere",10,1,10)
  5964. local at1 = Instance.new("Attachment",dis)
  5965. at1.Position = vt(-5,0,0)
  5966. local at2 = Instance.new("Attachment",dis)
  5967. at2.Position = vt(5,0,0)
  5968. local trl = Instance.new('Trail',wed)
  5969. trl.Attachment0 = at1
  5970. trl.Attachment1 = at2
  5971. trl.Texture = "rbxassetid://1049219073"
  5972. trl.LightEmission = 1
  5973. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5974. trl.Color = ColorSequence.new(dis.Color)
  5975. trl.Lifetime = 0.6
  5976. local a = Instance.new("Part",workspace)
  5977. a.Name = "Direction"
  5978. a.Anchored = true
  5979. a.BrickColor = bc("Bright red")
  5980. a.Material = "Neon"
  5981. a.Transparency = 1
  5982. a.CanCollide = false
  5983. local ray = Ray.new(
  5984. dis.CFrame.p, -- origin
  5985. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5986. )
  5987. local ignore = dis
  5988. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5989. a.BottomSurface = 10
  5990. a.TopSurface = 10
  5991. local distance = (dis.CFrame.p - position).magnitude
  5992. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5993. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5994. dis.CFrame = a.CFrame
  5995. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5996. a:Destroy()
  5997. local bv = Instance.new("BodyVelocity")
  5998. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5999. bv.velocity = dis.CFrame.lookVector*250
  6000. bv.Parent = dis
  6001. game:GetService("Debris"):AddItem(dis, 5)
  6002. local hitted = false
  6003. coroutine.resume(coroutine.create(function()
  6004. dis.Touched:connect(function(hit)
  6005. if hitted == false and hit.Parent ~= char then
  6006. hitted = true
  6007. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  6008. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  6009. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  6010. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  6011. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  6012. coroutine.resume(coroutine.create(function()
  6013. for i = 0, 9 do
  6014. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6015. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6016. local at1 = Instance.new("Attachment",disr)
  6017. at1.Position = vt(-2,0,0)
  6018. local at2 = Instance.new("Attachment",disr)
  6019. at2.Position = vt(2,0,0)
  6020. local trl = Instance.new('Trail',disr)
  6021. trl.Attachment0 = at1
  6022. trl.FaceCamera = true
  6023. trl.Attachment1 = at2
  6024. trl.Texture = "rbxassetid://2342682798"
  6025. trl.LightEmission = 1
  6026. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6027. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6028. trl.Lifetime = 0.5
  6029. local bv = Instance.new("BodyVelocity")
  6030. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6031. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  6032. bv.Parent = disr
  6033. local val = 0
  6034. coroutine.resume(coroutine.create(function()
  6035. swait(30)
  6036. for i = 0, 9 do
  6037. swait()
  6038. val = val + 0.1
  6039. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6040. end
  6041. game:GetService("Debris"):AddItem(disr, 3)
  6042. end))
  6043. end
  6044. local eff = Instance.new("ParticleEmitter",dis)
  6045. eff.Texture = "rbxassetid://2273224484"
  6046. eff.LightEmission = 1
  6047. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6048. eff.Rate = 500000
  6049. eff.Lifetime = NumberRange.new(0.5,2)
  6050. 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)})
  6051. 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)})
  6052. eff.Speed = NumberRange.new(20,250)
  6053. eff.Drag = 5
  6054. eff.Rotation = NumberRange.new(-500,500)
  6055. eff.VelocitySpread = 9000
  6056. eff.RotSpeed = NumberRange.new(-50,50)
  6057. wait(0.25)
  6058. eff.Enabled = false
  6059. end))
  6060. for i = 0, 9 do
  6061. 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"))
  6062. end
  6063. for i = 0, 19 do
  6064. 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)
  6065. end
  6066. coroutine.resume(coroutine.create(function()
  6067. for i = 0, 19 do
  6068. swait()
  6069. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6070. end
  6071. hum.CameraOffset = vt(0,0,0)
  6072. end))
  6073. dis.Anchored = true
  6074. dis.Transparency = 1
  6075. wait(8)
  6076. dis:Destroy()
  6077. end
  6078. end)
  6079. end))
  6080. rot = rot - 15
  6081. end
  6082. for i = 0,2,0.1 do
  6083. swait()
  6084. 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)
  6085. 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)
  6086. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  6087. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  6088. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6089. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6090. end
  6091. attack = false
  6092. hum.WalkSpeed = storehumanoidWS
  6093. end
  6094.  
  6095.  
  6096. function RapidBurst()
  6097. attack = true
  6098. hum.WalkSpeed = 0
  6099. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  6100. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
  6101. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  6102. bosschatfunc("SHATTER, YOU PIECE OF TRASH!",MAINRUINCOLOR.Color,1.8)
  6103. bosschatfunc("SHATTER, YOU PIECE OF TRASH!",MAINRUINCOLOR.Color,1.9)
  6104. bosschatfunc("SHATTER, YOU PIECE OF TRASH!",MAINRUINCOLOR.Color,2)
  6105. local keptcolor = MAINRUINCOLOR
  6106. for i = 0,8,0.1 do
  6107. swait()
  6108. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6109. 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())
  6110. 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)
  6111. 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)
  6112. 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)
  6113. 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)
  6114. 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)
  6115. 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)
  6116. 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)
  6117. end
  6118. for i = 0, 99 do
  6119. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6120. 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)))
  6121. local at1 = Instance.new("Attachment",dis)
  6122. at1.Position = vt(-25000,0,0)
  6123. local at2 = Instance.new("Attachment",dis)
  6124. at2.Position = vt(25000,0,0)
  6125. local trl = Instance.new('Trail',dis)
  6126. trl.Attachment0 = at1
  6127. trl.FaceCamera = true
  6128. trl.Attachment1 = at2
  6129. trl.Texture = "rbxassetid://1049219073"
  6130. trl.LightEmission = 1
  6131. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6132. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6133. trl.Lifetime = 5
  6134. local bv = Instance.new("BodyVelocity")
  6135. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6136. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6137. bv.Parent = dis
  6138. game:GetService("Debris"):AddItem(dis, 5)
  6139. end
  6140. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6141. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6142. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6143. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6144. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6145. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6146. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6147. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6148. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6149. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6150. hum.CameraOffset = vt(0,0,0)
  6151. for i = 0, 24 do
  6152. 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())
  6153. end
  6154. local distam = 0
  6155. coroutine.resume(coroutine.create(function()
  6156. for i = 0, 99 do
  6157. wait()
  6158. distam = distam + 1
  6159. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6160. xa.Anchored = true
  6161. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  6162. game:GetService("Debris"):AddItem(xa, 5)
  6163. for i = 0, 4 do
  6164. 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())
  6165. end
  6166. coroutine.resume(coroutine.create(function()
  6167. local eff = Instance.new("ParticleEmitter",xa)
  6168. eff.Texture = "rbxassetid://2273224484"
  6169. eff.LightEmission = 1
  6170. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6171. eff.Rate = 500000
  6172. eff.Lifetime = NumberRange.new(1,3)
  6173. 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)})
  6174. 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)})
  6175. eff.Speed = NumberRange.new(50,500)
  6176. eff.Drag = 5
  6177. eff.Rotation = NumberRange.new(-500,500)
  6178. eff.VelocitySpread = 9000
  6179. eff.RotSpeed = NumberRange.new(-50,50)
  6180. wait(0.25)
  6181. eff.Enabled = false
  6182. end))
  6183. coroutine.resume(coroutine.create(function()
  6184. for i = 0, 19 do
  6185. swait()
  6186. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  6187. end
  6188. hum.CameraOffset = vt(0,0,0)
  6189. end))
  6190. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6191. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6192. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6193. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6194. end
  6195. end))
  6196. attack = false
  6197. hum.WalkSpeed = storehumanoidWS
  6198. end
  6199.  
  6200. function InsaneBeam()
  6201. attack = true
  6202. hum.WalkSpeed = 0
  6203. local keptcolor = MAINRUINCOLOR
  6204. local orb = Instance.new("Part", char)
  6205. orb.BrickColor = keptcolor
  6206. orb.CanCollide = false
  6207. orb.FormFactor = 3
  6208. orb.Name = "Ring"
  6209. orb.Material = "Neon"
  6210. orb.Size = Vector3.new(1, 1, 1)
  6211. orb.Transparency = 1
  6212. orb.TopSurface = 0
  6213. orb.BottomSurface = 0
  6214. local orbm = Instance.new("SpecialMesh", orb)
  6215. orbm.MeshType = "Sphere"
  6216. orbm.Name = "SizeMesh"
  6217. orbm.Scale = vt(22.5,10000,22.5)
  6218. orb.CFrame = mouse.Hit
  6219. orb.Anchored = true
  6220. orb.Orientation = vt(0,0,0)
  6221. orb.CFrame = orb.CFrame*CFrame.new(0,1,0)
  6222. CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 1.5, 1)
  6223. coroutine.resume(coroutine.create(function()
  6224. coroutine.resume(coroutine.create(function()
  6225. for i = 0, 399 do
  6226. swait()
  6227. orbm.Scale = orbm.Scale - vt(0.05,0,0.05)
  6228. orb.Transparency = orb.Transparency - 0.0025
  6229. end
  6230. end))
  6231. wait(9)
  6232. coroutine.resume(coroutine.create(function()
  6233. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  6234. if hfr ~= nil then
  6235. for i = 0, 49 do
  6236. local deb = Instance.new("Part", char)
  6237. deb.Anchored = true
  6238. deb.CanCollide = false
  6239. deb.FormFactor = 3
  6240. deb.Name = "Ring"
  6241. deb.Material = hitfloor.Material
  6242. deb.Color = hitfloor.Color
  6243. deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55))
  6244. deb.Transparency = 0
  6245. deb.TopSurface = 0
  6246. deb.BottomSurface = 0
  6247. 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)))
  6248. local deb2 = Instance.new("Part", char)
  6249. deb2.CanCollide = false
  6250. deb2.FormFactor = 3
  6251. deb2.Name = "Ring"
  6252. deb2.Material = hitfloor.Material
  6253. deb2.Color = hitfloor.Color
  6254. deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38))
  6255. deb2.Transparency = 0
  6256. deb2.TopSurface = 0
  6257. deb2.BottomSurface = 0
  6258. deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150))
  6259. 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)))
  6260. local eff = Instance.new("ParticleEmitter",deb)
  6261. eff.Texture = "rbxassetid://363275192"
  6262. eff.LightEmission = 0.95
  6263. eff.Color = ColorSequence.new(keptcolor.Color)
  6264. eff.Rate = 100
  6265. eff.Lifetime = NumberRange.new(1)
  6266. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
  6267. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6268. eff.Speed = NumberRange.new(0,5)
  6269. eff.Rotation = NumberRange.new(-500,500)
  6270. eff.VelocitySpread = 9000
  6271. eff.RotSpeed = NumberRange.new(-10,10)
  6272. local at1 = Instance.new('Attachment',deb2)
  6273. at1.Position = vt(0,15,0)
  6274. local at2 = Instance.new('Attachment',deb2)
  6275. at2.Position = vt(0,-15,0)
  6276. local tl = Instance.new('Trail',deb2)
  6277. tl.Attachment0 = at1
  6278. tl.Attachment1 = at2
  6279. tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6280. tl.Color = ColorSequence.new(BrickColor.new('White').Color)
  6281. tl.Lifetime = 1
  6282. game:GetService("Debris"):AddItem(deb,30)
  6283. game:GetService("Debris"):AddItem(deb2,30)
  6284. coroutine.resume(coroutine.create(function()
  6285. wait(15)
  6286. eff.Enabled = false
  6287. for i = 0, 49 do
  6288. swait()
  6289. deb.Transparency = deb.Transparency + 0.02
  6290. end
  6291. wait(1)
  6292. deb:Destroy()
  6293. end))
  6294. end
  6295. end
  6296. end))
  6297. for i = 0, 199 do
  6298. swait(1.5)
  6299. for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do
  6300. if v:FindFirstChild('Head') then
  6301. dmg(v)
  6302. end
  6303. end
  6304. 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)
  6305. 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)
  6306. 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)
  6307. sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor)
  6308. end
  6309. orb:Destroy()
  6310. end))
  6311. hum.WalkSpeed = storehumanoidWS
  6312. attack = false
  6313. end
  6314.  
  6315. function InsaneDrop()
  6316. attack = true
  6317. hum.WalkSpeed = 0
  6318. CFuncs["Sound"].Create("rbxassetid://907329669", char, 2.5, 0.5)
  6319. CFuncs["Sound"].Create("rbxassetid://907329669", root, 10, 0.5)
  6320. CFuncs["EchoSound"].Create("rbxassetid://907329669", char, 4, 1,0,10,0.15,0.5,1)
  6321. bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!",MAINRUINCOLOR.Color,1.8)
  6322. bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!",MAINRUINCOLOR.Color,1.9)
  6323. bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!",MAINRUINCOLOR.Color,2)
  6324. local keptcolor = MAINRUINCOLOR
  6325. for i = 0,8,0.1 do
  6326. swait()
  6327. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6328. 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())
  6329. 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)
  6330. 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)
  6331. 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)
  6332. 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)
  6333. 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)
  6334. 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)
  6335. 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)
  6336. end
  6337. for i = 0, 99 do
  6338. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6339. 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)))
  6340. local at1 = Instance.new("Attachment",dis)
  6341. at1.Position = vt(-25000,0,0)
  6342. local at2 = Instance.new("Attachment",dis)
  6343. at2.Position = vt(25000,0,0)
  6344. local trl = Instance.new('Trail',dis)
  6345. trl.Attachment0 = at1
  6346. trl.FaceCamera = true
  6347. trl.Attachment1 = at2
  6348. trl.Texture = "rbxassetid://1049219073"
  6349. trl.LightEmission = 1
  6350. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6351. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6352. trl.Lifetime = 5
  6353. local bv = Instance.new("BodyVelocity")
  6354. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6355. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6356. bv.Parent = dis
  6357. game:GetService("Debris"):AddItem(dis, 5)
  6358. end
  6359. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6360. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6361. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6362. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6363. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6364. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6365. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6366. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6367. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6368. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6369. hum.CameraOffset = vt(0,0,0)
  6370. for i = 0, 24 do
  6371. 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())
  6372. end
  6373. local distam = 0
  6374. coroutine.resume(coroutine.create(function()
  6375. for i = 0, 99 do
  6376. wait()
  6377. distam = distam + 1
  6378. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6379. xa.Anchored = true
  6380. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  6381. game:GetService("Debris"):AddItem(xa, 5)
  6382. for i = 0, 4 do
  6383. 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())
  6384. end
  6385. coroutine.resume(coroutine.create(function()
  6386. local eff = Instance.new("ParticleEmitter",xa)
  6387. eff.Texture = "rbxassetid://2273224484"
  6388. eff.LightEmission = 1
  6389. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6390. eff.Rate = 500000
  6391. eff.Lifetime = NumberRange.new(1,3)
  6392. 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)})
  6393. 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)})
  6394. eff.Speed = NumberRange.new(50,500)
  6395. eff.Drag = 5
  6396. eff.Rotation = NumberRange.new(-500,500)
  6397. eff.VelocitySpread = 9000
  6398. eff.RotSpeed = NumberRange.new(-50,50)
  6399. wait(0.25)
  6400. eff.Enabled = false
  6401. end))
  6402. coroutine.resume(coroutine.create(function()
  6403. for i = 0, 19 do
  6404. swait()
  6405. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  6406. end
  6407. hum.CameraOffset = vt(0,0,0)
  6408. end))
  6409. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6410. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6411. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6412. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6413. end
  6414. end))
  6415. attack = false
  6416. hum.WalkSpeed = storehumanoidWS
  6417. end
  6418.  
  6419. function FallenOrbs()
  6420. attack = true
  6421. hum.WalkSpeed = 2
  6422. local keptcolor = MAINRUINCOLOR
  6423. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 5, 1,0,10,0.15,0.5,1)
  6424. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 60, 1,0,10,0.15,0.5,1)
  6425. local radm = math.random(1,3)
  6426. if radm == 1 then
  6427. bosschatfunc("This wont be easy to you.",MAINRUINCOLOR.Color,1)
  6428. elseif radm == 2 then
  6429. bosschatfunc("How about this?",MAINRUINCOLOR.Color,1)
  6430. elseif radm == 3 then
  6431. bosschatfunc("Swarm!",MAINRUINCOLOR.Color,1)
  6432. end
  6433. coroutine.resume(coroutine.create(function()
  6434. for i = 0, 29 do
  6435. swait(2)
  6436. local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
  6437. dis.Anchored = true
  6438. CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  6439. dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35))
  6440. CreateMesh(dis,"Sphere",2,2,2)
  6441. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  6442. 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"))
  6443. coroutine.resume(coroutine.create(function()
  6444. wait(0.5)
  6445. dis.Anchored = false
  6446. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 9, 1,0,2,0.15,0.1,1)
  6447. local at1 = Instance.new("Attachment",dis)
  6448. at1.Position = vt(-1,0,0)
  6449. local at2 = Instance.new("Attachment",dis)
  6450. at2.Position = vt(1,0,0)
  6451. local trl = Instance.new('Trail',dis)
  6452. trl.Attachment0 = at1
  6453. trl.FaceCamera = true
  6454. trl.Attachment1 = at2
  6455. trl.Texture = "rbxassetid://1049219073"
  6456. trl.LightEmission = 1
  6457. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6458. trl.Color = ColorSequence.new(dis.Color)
  6459. trl.Lifetime = 0.6
  6460. local a = Instance.new("Part",workspace)
  6461. a.Name = "Direction"
  6462. a.Anchored = true
  6463. a.BrickColor = bc("Bright red")
  6464. a.Material = "Neon"
  6465. a.Transparency = 1
  6466. a.CanCollide = false
  6467. local ray = Ray.new(
  6468. dis.CFrame.p, -- origin
  6469. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6470. )
  6471. local ignore = dis
  6472. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6473. a.BottomSurface = 10
  6474. a.TopSurface = 10
  6475. local distance = (dis.CFrame.p - position).magnitude
  6476. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6477. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6478. dis.CFrame = a.CFrame
  6479. a:Destroy()
  6480. local bv = Instance.new("BodyVelocity")
  6481. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6482. bv.velocity = dis.CFrame.lookVector*500
  6483. bv.Parent = dis
  6484. game:GetService("Debris"):AddItem(dis, 5)
  6485. local hitted = false
  6486. coroutine.resume(coroutine.create(function()
  6487. dis.Touched:connect(function(hit)
  6488. if hitted == false and hit.Parent ~= char then
  6489. hitted = true
  6490. CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 5, 0.8,0,10,0.15,0.5,1)
  6491. MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  6492. sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color)
  6493. sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  6494. coroutine.resume(coroutine.create(function()
  6495. for i = 0, 4 do
  6496. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6497. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6498. local at1 = Instance.new("Attachment",disr)
  6499. at1.Position = vt(-10,0,0)
  6500. local at2 = Instance.new("Attachment",disr)
  6501. at2.Position = vt(10,0,0)
  6502. local trl = Instance.new('Trail',disr)
  6503. trl.Attachment0 = at1
  6504. trl.FaceCamera = true
  6505. trl.Attachment1 = at2
  6506. trl.Texture = "rbxassetid://2342682798"
  6507. trl.LightEmission = 1
  6508. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6509. trl.Color = ColorSequence.new(disr.Color)
  6510. trl.Lifetime = 0.5
  6511. local bv = Instance.new("BodyVelocity")
  6512. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6513. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  6514. bv.Parent = disr
  6515. local val = 0
  6516. coroutine.resume(coroutine.create(function()
  6517. swait(30)
  6518. for i = 0, 9 do
  6519. swait()
  6520. val = val + 0.1
  6521. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6522. end
  6523. game:GetService("Debris"):AddItem(disr, 3)
  6524. end))
  6525. end
  6526. local eff = Instance.new("ParticleEmitter",dis)
  6527. eff.Texture = "rbxassetid://1049219073"
  6528. eff.LightEmission = 1
  6529. eff.Color = ColorSequence.new(dis.Color)
  6530. eff.Rate = 500000
  6531. eff.Lifetime = NumberRange.new(0.5,2)
  6532. 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)})
  6533. 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)})
  6534. eff.Speed = NumberRange.new(20,250)
  6535. eff.Drag = 5
  6536. eff.Rotation = NumberRange.new(-500,500)
  6537. eff.VelocitySpread = 9000
  6538. eff.RotSpeed = NumberRange.new(-50,50)
  6539. wait(0.5)
  6540. eff.Enabled = false
  6541. end))
  6542. for i = 0, 4 do
  6543. 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"))
  6544. end
  6545. coroutine.resume(coroutine.create(function()
  6546. for i = 0, 19 do
  6547. swait()
  6548. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6549. end
  6550. hum.CameraOffset = vt(0,0,0)
  6551. end))
  6552. dis.Anchored = true
  6553. dis.Transparency = 1
  6554. wait(8)
  6555. dis:Destroy()
  6556. end
  6557. end)
  6558. end))
  6559. end))
  6560. end
  6561. end))
  6562. for i = 0,9,0.1 do
  6563. swait()
  6564. 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)
  6565. 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)
  6566. 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)
  6567. 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)
  6568. 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)
  6569. 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)
  6570. 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)
  6571. end
  6572. attack = false
  6573. hum.WalkSpeed = storehumanoidWS
  6574. end
  6575.  
  6576. function CyberSlash()
  6577. local posit = -2
  6578. attack = true
  6579. hum.WalkSpeed = 5
  6580. CFuncs["EchoSound"].Create("rbxassetid://1448033920", char, 5, 1,0,10,0.15,0.5,1)
  6581. local radm = math.random(1,3)
  6582. if radm == 1 then
  6583. bosschatfunc("FIBER!!!",MAINRUINCOLOR.Color,1)
  6584. elseif radm == 2 then
  6585. bosschatfunc("SLASHED!!",MAINRUINCOLOR.Color,1)
  6586. elseif radm == 3 then
  6587. bosschatfunc("TAKE MY CLAW!!",MAINRUINCOLOR.Color,1)
  6588. end
  6589. CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
  6590. for i = 0,2,0.1 do
  6591. swait()
  6592. 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)
  6593. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
  6594. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
  6595. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  6596. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
  6597. 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)
  6598. 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)
  6599. end
  6600. for i = 0, 2 do
  6601. CameraEnshaking(1,2)
  6602. local hite = Instance.new("Part", char)
  6603. hite.Anchored = true
  6604. hite.CanCollide = false
  6605. hite.FormFactor = 3
  6606. hite.Name = "Ring"
  6607. hite.Material = "Neon"
  6608. hite.Size = Vector3.new(1, 1, 1)
  6609. hite.Transparency = 1
  6610. hite.TopSurface = 0
  6611. hite.BottomSurface = 0
  6612. hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
  6613. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
  6614. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
  6615. coroutine.resume(coroutine.create(function()
  6616. for i = 0, 1 do
  6617. swait()
  6618. 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)
  6619. 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)
  6620. 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)
  6621. end
  6622. end))
  6623. 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)
  6624. MagniDamage(hite, 3, 30,40, 0, "Normal")
  6625. game:GetService("Debris"):AddItem(hite, 5)
  6626. posit = posit + 2
  6627. end
  6628. for i = 0,1,0.1 do
  6629. swait()
  6630. 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)
  6631. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  6632. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
  6633. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  6634. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
  6635. 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)
  6636. 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)
  6637. end
  6638. for i = 0,1,0.1 do
  6639. swait()
  6640. 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)
  6641. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,1)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
  6642. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
  6643. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
  6644. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
  6645. 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)
  6646. 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)
  6647. end
  6648. posit = -6
  6649. for i = 0, 6 do
  6650. CameraEnshaking(1,3)
  6651. local hite = Instance.new("Part", char)
  6652. hite.Anchored = true
  6653. hite.CanCollide = false
  6654. hite.FormFactor = 3
  6655. hite.Name = "Ring"
  6656. hite.Material = "Neon"
  6657. hite.Size = Vector3.new(1, 1, 1)
  6658. hite.Transparency = 1
  6659. hite.TopSurface = 0
  6660. hite.BottomSurface = 0
  6661. hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
  6662. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
  6663. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
  6664. 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)
  6665. coroutine.resume(coroutine.create(function()
  6666. for i = 0, 2 do
  6667. swait()
  6668. 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)
  6669. 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)
  6670. 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)
  6671. end
  6672. end))
  6673. MagniDamage(hite, 5, 40,70, 0, "Normal")
  6674. game:GetService("Debris"):AddItem(hite, 5)
  6675. posit = posit + 2
  6676. end
  6677. for i = 0,1,0.1 do
  6678. swait()
  6679. 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)
  6680. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
  6681. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  6682. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
  6683. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
  6684. 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)
  6685. 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)
  6686. end
  6687. hum.WalkSpeed = storehumanoidWS
  6688. attack = false
  6689. end
  6690.  
  6691. function EquinoxOrbs()
  6692. hum.WalkSpeed = 0
  6693. attack = true
  6694. local radm = math.random(1,3)
  6695. if radm == 1 then
  6696. bosschatfunc("NOX-DASH!!!",MAINRUINCOLOR.Color,1)
  6697. elseif radm == 2 then
  6698. bosschatfunc("Beware from behind",MAINRUINCOLOR.Color,1)
  6699. elseif radm == 3 then
  6700. bosschatfunc("I'M COMING!!",MAINRUINCOLOR.Color,1)
  6701. end
  6702. for i = 0,1,0.1 do
  6703. swait()
  6704. 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)
  6705. 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)
  6706. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6707. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6708. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  6709. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  6710. end
  6711. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  6712. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  6713. for i = 0, 24 do
  6714. 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"))
  6715. end
  6716. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  6717. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  6718. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  6719. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  6720. for i = 0,4,0.1 do
  6721. swait()
  6722. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  6723. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  6724. CreateMesh(dis,"Sphere",1,1,1)
  6725. dis.Anchored = true
  6726. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  6727. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
  6728. CreateMesh(dis2,"Sphere",1,1,1)
  6729. dis2.Anchored = true
  6730. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  6731. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  6732. sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  6733. coroutine.resume(coroutine.create(function()
  6734. swait(60)
  6735. dis.Transparency = 1
  6736. dis2.Transparency = 1
  6737. coroutine.resume(coroutine.create(function()
  6738. for i = 0, 19 do
  6739. swait()
  6740. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  6741. end
  6742. hum.CameraOffset = vt(0,0,0)
  6743. end))
  6744. coroutine.resume(coroutine.create(function()
  6745. local eff = Instance.new("ParticleEmitter",dis)
  6746. eff.Texture = "rbxassetid://2273224484"
  6747. eff.LightEmission = 1
  6748. eff.Color = ColorSequence.new(dis.Color)
  6749. eff.Rate = 500000
  6750. eff.Lifetime = NumberRange.new(0.5,2)
  6751. 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)})
  6752. 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)})
  6753. eff.Speed = NumberRange.new(50,450)
  6754. eff.Drag = 5
  6755. eff.Rotation = NumberRange.new(-500,500)
  6756. eff.VelocitySpread = 9000
  6757. eff.RotSpeed = NumberRange.new(-50,50)
  6758. local eff2 = eff:Clone()
  6759. eff2.Parent = dis2
  6760. eff2.LightEmission = 0
  6761. eff2.Color = ColorSequence.new(dis2.Color)
  6762. wait(0.25)
  6763. eff.Enabled = false
  6764. eff2.Enabled = false
  6765. end))
  6766. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  6767. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  6768. for i = 0, 2 do
  6769. 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)
  6770. 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)
  6771. end
  6772. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  6773. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  6774. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  6775. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  6776. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  6777. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  6778. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  6779. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  6780. end))
  6781. game:GetService("Debris"):AddItem(dis, 5)
  6782. game:GetService("Debris"):AddItem(dis2, 5)
  6783. 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)
  6784. 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)
  6785. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6786. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6787. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  6788. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  6789. end
  6790. attack = false
  6791. hum.WalkSpeed = storehumanoidWS
  6792. end
  6793. function FallenDEMISE()
  6794. attack = true
  6795. hum.WalkSpeed = 0
  6796. local keptcolor = MAINRUINCOLOR
  6797. bosschatfunc("ALL OF YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,3)
  6798. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  6799. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  6800. for i = 0, 15, 0.1 do
  6801. swait()
  6802. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6803. 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)))
  6804. local at1 = Instance.new("Attachment",dis)
  6805. at1.Position = vt(-25000,0,0)
  6806. local at2 = Instance.new("Attachment",dis)
  6807. at2.Position = vt(25000,0,0)
  6808. local trl = Instance.new('Trail',dis)
  6809. trl.Attachment0 = at1
  6810. trl.FaceCamera = true
  6811. trl.Attachment1 = at2
  6812. trl.Texture = "rbxassetid://1049219073"
  6813. trl.LightEmission = 1
  6814. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6815. trl.Color = ColorSequence.new(dis.Color)
  6816. trl.Lifetime = 5
  6817. local bv = Instance.new("BodyVelocity")
  6818. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6819. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6820. bv.Parent = dis
  6821. game:GetService("Debris"):AddItem(dis, 1)
  6822. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
  6823. 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"))
  6824. 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"))
  6825. 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)
  6826. 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)
  6827. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6828. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6829. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6830. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6831. end
  6832. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  6833. for i = 0, 30, 0.1 do
  6834. swait()
  6835. coroutine.resume(coroutine.create(function()
  6836. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  6837. if v:FindFirstChild('Head') then
  6838. dmg(v)
  6839. end
  6840. end
  6841. end))
  6842. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6843. 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)))
  6844. local at1 = Instance.new("Attachment",dis)
  6845. at1.Position = vt(-50000,0,0)
  6846. local at2 = Instance.new("Attachment",dis)
  6847. at2.Position = vt(50000,0,0)
  6848. local trl = Instance.new('Trail',dis)
  6849. trl.Attachment0 = at1
  6850. trl.FaceCamera = true
  6851. trl.Attachment1 = at2
  6852. trl.Texture = "rbxassetid://1049219073"
  6853. trl.LightEmission = 1
  6854. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6855. trl.Color = ColorSequence.new(dis.Color)
  6856. trl.Lifetime = 10
  6857. local bv = Instance.new("BodyVelocity")
  6858. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6859. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  6860. bv.Parent = dis
  6861. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  6862. sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
  6863. sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
  6864. 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"))
  6865. 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"))
  6866. 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"))
  6867. 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"))
  6868. for i = 0, 2 do
  6869. 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)
  6870. end
  6871. 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)
  6872. 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)
  6873. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6874. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6875. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6876. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6877. end
  6878. attack = false
  6879. hum.WalkSpeed = storehumanoidWS
  6880. end
  6881.  
  6882. function SpeedDrop()
  6883. attack = true
  6884. hum.WalkSpeed = 0
  6885. CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
  6886. local poste = 3
  6887. local rotation = 0
  6888. local rate = 0
  6889. bosschatfunc("AUFHHIGYBIBYHHIHIGHGI",MAINRUINCOLOR.Color,2)
  6890. for i = 0, 124 do
  6891. swait()
  6892. rotation = rotation + rate
  6893. poste = poste + 0.1
  6894. rate = rate + 0.1
  6895. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
  6896. 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)
  6897. 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)
  6898. 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)
  6899. 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)
  6900. 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)
  6901. 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)
  6902. 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)
  6903. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
  6904. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
  6905. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
  6906. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
  6907. end
  6908. CameraEnshaking(3,7)
  6909. bosschatfunc("AN ERROR HAS OCCURED",MAINRUINCOLOR.Color,2)
  6910. local loc = Instance.new("Part", char)
  6911. loc.BrickColor = MAINRUINCOLOR
  6912. loc.CanCollide = false
  6913. loc.FormFactor = 3
  6914. loc.Name = "Ring"
  6915. loc.Material = "Neon"
  6916. loc.Size = Vector3.new(1, 1, 1)
  6917. loc.Transparency = 1
  6918. loc.TopSurface = 0
  6919. loc.BottomSurface = 0
  6920. loc.Anchored = true
  6921. loc.CFrame = root.CFrame + root.CFrame.lookVector*100
  6922. CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
  6923. CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
  6924. MagniDamage(loc, 95, 500,6000, 0, "Normal")
  6925. sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
  6926. sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  6927. sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  6928. sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  6929. coroutine.resume(coroutine.create(function()
  6930. local eff = Instance.new("ParticleEmitter",loc)
  6931. eff.Texture = "rbxassetid://363275192"
  6932. eff.LightEmission = 0.95
  6933. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6934. eff.Rate = 10000
  6935. eff.Lifetime = NumberRange.new(1)
  6936. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
  6937. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6938. eff.Speed = NumberRange.new(100,500)
  6939. eff.Drag = 5
  6940. eff.Rotation = NumberRange.new(-500,500)
  6941. eff.VelocitySpread = 9000
  6942. eff.RotSpeed = NumberRange.new(-50,50)
  6943. wait(0.5)
  6944. eff.Enabled = false
  6945. end))
  6946. for i = 0, 49 do
  6947. 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)
  6948. end
  6949. for i = 0, 9 do
  6950. 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)
  6951. end
  6952. game:GetService("Debris"):AddItem(loc, 5)
  6953. root.CFrame = root.CFrame + root.CFrame.lookVector*200
  6954. hum.WalkSpeed = storehumanoidWS
  6955. attack = false
  6956. end
  6957.  
  6958. function cutesigh()
  6959. attack = true
  6960. hum.WalkSpeed = 0
  6961. bosschatfunc("sigh~~",MAINRUINCOLOR.Color,2)
  6962. local blush = Instance.new("Decal",hed)
  6963. blush.Texture = "rbxassetid://898404027"
  6964. blush.Face = "Front"
  6965. CFuncs["Sound"].Create("rbxassetid://294861193", char, 9,1)
  6966. for i = 0, 9, 0.1 do
  6967. swait()
  6968. 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)
  6969. 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)
  6970. 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)
  6971. 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)
  6972. 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)
  6973. 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)
  6974. end
  6975. coroutine.resume(coroutine.create(function()
  6976. for i = 0, 49 do
  6977. swait()
  6978. blush.Transparency = blush.Transparency + 0.02
  6979. end
  6980. blush:Destroy()
  6981. end))
  6982. hum.WalkSpeed = storehumanoidWS
  6983. attack = false
  6984. end
  6985.  
  6986. function smiter()
  6987. local targetted = nil
  6988. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  6989. targetted = mouse.Target.Parent
  6990. end
  6991. if targetted ~= nil then
  6992. RootPart.CFrame = FaceMouse()[1]
  6993. attack = true
  6994. local radm = math.random(1,3)
  6995. if radm == 1 then
  6996. bosschatfunc("SMITED!!",MAINRUINCOLOR.Color,1)
  6997. elseif radm == 2 then
  6998. bosschatfunc("FROM ABOVE!!",MAINRUINCOLOR.Color,1)
  6999. elseif radm == 3 then
  7000. bosschatfunc("LOOK UP!!",MAINRUINCOLOR.Color,1)
  7001. end
  7002. hum.WalkSpeed = 0
  7003. coroutine.resume(coroutine.create(function()
  7004. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  7005. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  7006. local vel = Instance.new("BodyPosition", targetted.Head)
  7007. vel.P = 12500
  7008. vel.D = 1000
  7009. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  7010. vel.position = targetted.Head.CFrame.p
  7011. end))
  7012. CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
  7013. CFuncs["EchoSound"].Create("rbxassetid://1436242685", char, 4, 1,0,10,0.15,0.5,1)
  7014. CFuncs["EchoSound"].Create("rbxassetid://1436242685", root, 60, 1,0,10,0.15,0.5,1)
  7015. for i = 0,4,0.1 do
  7016. swait()
  7017. 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)
  7018. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  7019. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  7020. 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)
  7021. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7022. 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)
  7023. 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)
  7024. end
  7025. coroutine.resume(coroutine.create(function()
  7026. CameraEnshaking(6,5)
  7027. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  7028. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
  7029. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
  7030. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
  7031. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  7032. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  7033. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  7034. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  7035. coroutine.resume(coroutine.create(function()
  7036. local eff = Instance.new("ParticleEmitter",targetted.Head)
  7037. eff.Texture = "rbxassetid://2273224484"
  7038. eff.LightEmission = 1
  7039. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  7040. eff.Rate = 500000
  7041. eff.Lifetime = NumberRange.new(0.5,2)
  7042. 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)})
  7043. 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)})
  7044. eff.Speed = NumberRange.new(20,250)
  7045. eff.Drag = 5
  7046. eff.Rotation = NumberRange.new(-500,500)
  7047. eff.VelocitySpread = 9000
  7048. eff.RotSpeed = NumberRange.new(-50,50)
  7049. wait(0.25)
  7050. eff.Enabled = false
  7051. local eff = Instance.new("ParticleEmitter",targetted.Head)
  7052. eff.Texture = "rbxassetid://363275192"
  7053. eff.LightEmission = 0.95
  7054. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7055. eff.Rate = 10000
  7056. eff.Lifetime = NumberRange.new(1.5)
  7057. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  7058. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7059. eff.Speed = NumberRange.new(25,150)
  7060. eff.Drag = 5
  7061. eff.Rotation = NumberRange.new(-500,500)
  7062. eff.VelocitySpread = 9000
  7063. eff.RotSpeed = NumberRange.new(-50,50)
  7064. local eff2 = eff:Clone()
  7065. eff2.Parent = targetted.Head
  7066. eff2.Texture = "rbxassetid://284205403"
  7067. eff2.Rate = 10000
  7068. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7069. eff2.Drag = 5
  7070. eff2.Rotation = NumberRange.new(-500,500)
  7071. eff2.VelocitySpread = 9000
  7072. wait(0.5)
  7073. eff2.Enabled = false
  7074. eff.Enabled = false
  7075. end))
  7076. for i = 0, 9 do
  7077. 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)
  7078. end
  7079. for i = 0, 49 do
  7080. local rsiz = math.random(10,50)
  7081. 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)
  7082. end
  7083. game:GetService("Debris"):AddItem(vel,1)
  7084. dmg(targetted)
  7085. end))
  7086. for i = 0,1,0.1 do
  7087. swait()
  7088. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  7089. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  7090. 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)
  7091. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7092. 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)
  7093. 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)
  7094. end
  7095. attack = false
  7096. hum.WalkSpeed = storehumanoidWS
  7097. end
  7098. end
  7099.  
  7100. function shytaunty()
  7101. attack = true
  7102. hum.WalkSpeed = 0
  7103. CFuncs["Sound"].Create("rbxassetid://543623779", char, 1, 1)
  7104. local blush = Instance.new("Decal",hed)
  7105. blush.Texture = "rbxassetid://898404027"
  7106. blush.Face = "Front"
  7107. for i = 0, 13, 0.1 do
  7108. swait()
  7109. 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)
  7110. 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)
  7111. 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)
  7112. 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)
  7113. 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)
  7114. 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)
  7115. end
  7116. coroutine.resume(coroutine.create(function()
  7117. for i = 0, 49 do
  7118. swait()
  7119. blush.Transparency = blush.Transparency + 0.02
  7120. end
  7121. blush:Destroy()
  7122. end))
  7123. hum.WalkSpeed = storehumanoidWS
  7124. attack = false
  7125. end
  7126.  
  7127. function PureBomb()
  7128. attack = true
  7129. CFuncs["EchoSound"].Create("rbxassetid://1436241485", char, 5, 1,0,10,0.15,0.5,1)
  7130. CFuncs["EchoSound"].Create("rbxassetid://1436241485", root, 60, 1,0,10,0.15,0.5,1)
  7131. bosschatfunc("Purified..",MAINRUINCOLOR.Color,2)
  7132. local orb = Instance.new("Part", char)
  7133. orb.Anchored = true
  7134. orb.BrickColor = BrickColor.new("Toothpaste")
  7135. orb.CanCollide = false
  7136. orb.FormFactor = 3
  7137. orb.Name = "Ring"
  7138. orb.Material = "Neon"
  7139. orb.Size = Vector3.new(1, 1, 1)
  7140. orb.Transparency = 0
  7141. orb.TopSurface = 0
  7142. orb.BottomSurface = 0
  7143. local orbm = Instance.new("SpecialMesh", orb)
  7144. orbm.MeshType = "Sphere"
  7145. orbm.Name = "SizeMesh"
  7146. orbm.Scale = vt(0,0,0)
  7147. local scaled = 0.1
  7148. local posid = 0
  7149. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 30,1)
  7150. for i = 0, 5, 0.1 do
  7151. swait()
  7152. scaled = scaled - 0.001
  7153. posid = posid - scaled
  7154. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  7155. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  7156. 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)
  7157. 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)
  7158. 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)
  7159. 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)
  7160. 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)
  7161. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7162. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  7163. 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)
  7164. end
  7165. for i = 0, 2, 0.1 do
  7166. swait()
  7167. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  7168. 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)
  7169. 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)
  7170. 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)
  7171. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  7172. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  7173. 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)
  7174. end
  7175. CFuncs["EchoSound"].Create("rbxassetid://1436240026", char, 4, 1,0,10,0.15,0.5,1)
  7176. CFuncs["EchoSound"].Create("rbxassetid://1436240026", root, 60, 1,0,10,0.15,0.5,1)
  7177. bosschatfunc("BOMB!!",MAINRUINCOLOR.Color,2)
  7178. coroutine.resume(coroutine.create(function()
  7179. orb.Anchored = false
  7180. CFuncs["Sound"].Create("rbxassetid://260433768", root, 555,1)
  7181. local a = Instance.new("Part",workspace)
  7182. a.Name = "Direction"
  7183. a.Anchored = true
  7184. a.BrickColor = bc("Bright red")
  7185. a.Material = "Neon"
  7186. a.Transparency = 1
  7187. a.CanCollide = false
  7188. local ray = Ray.new(
  7189. orb.CFrame.p, -- origin
  7190. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  7191. )
  7192. local ignore = orb
  7193. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7194. a.BottomSurface = 10
  7195. a.TopSurface = 10
  7196. local distance = (orb.CFrame.p - position).magnitude
  7197. a.Size = Vector3.new(0.1, 0.1, 0.1)
  7198. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  7199. orb.CFrame = a.CFrame
  7200. a:Destroy()
  7201. local bv = Instance.new("BodyVelocity")
  7202. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7203. bv.velocity = orb.CFrame.lookVector*125
  7204. bv.Parent = orb
  7205. local hitted = false
  7206. game:GetService("Debris"):AddItem(orb, 15)
  7207. wait()
  7208. local hit =orb.Touched:connect(function(hit)
  7209. if hitted == false then
  7210. hitted = true
  7211. CameraEnshaking(10,2.5)
  7212. MagniDamage(orb, 65, 65,90, 0, "Normal")
  7213. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  7214. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  7215. for i = 0, 49 do
  7216. 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)
  7217. end
  7218. local eff = Instance.new("ParticleEmitter",orb)
  7219. eff.Texture = "rbxassetid://2273224484"
  7220. eff.LightEmission = 1
  7221. eff.Color = ColorSequence.new(Color3.new(4/255,175/255,236/255))
  7222. eff.Rate = 500000
  7223. eff.Lifetime = NumberRange.new(0.5,2)
  7224. 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)})
  7225. 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)})
  7226. eff.Speed = NumberRange.new(20,250)
  7227. eff.Drag = 5
  7228. eff.Rotation = NumberRange.new(-500,500)
  7229. eff.VelocitySpread = 9000
  7230. eff.RotSpeed = NumberRange.new(-50,50)
  7231. coroutine.resume(coroutine.create(function()
  7232. wait(0.25)
  7233. eff.Enabled = false
  7234. end))
  7235. CFuncs["Sound"].Create("rbxassetid://1666361078", orb, 30,1)
  7236. for i = 0, 9 do
  7237. 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)
  7238. 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)
  7239. end
  7240. orb.Anchored = true
  7241. orb.Transparency = 1
  7242. local eff = Instance.new("ParticleEmitter",orb)
  7243. eff.Texture = "rbxassetid://2273224484"
  7244. eff.LightEmission = 1
  7245. eff.Color = ColorSequence.new(Color3.new(M))
  7246. eff.Rate = 500000
  7247. eff.Lifetime = NumberRange.new(0.5,2)
  7248. 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)})
  7249. 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)})
  7250. eff.Speed = NumberRange.new(20,250)
  7251. eff.Drag = 5
  7252. eff.Rotation = NumberRange.new(-500,500)
  7253. eff.VelocitySpread = 9000
  7254. eff.RotSpeed = NumberRange.new(-50,50)
  7255. coroutine.resume(coroutine.create(function()
  7256. wait(1)
  7257. eff.Enabled = false
  7258. end))
  7259. wait(8)
  7260. orb:Destroy()
  7261. end
  7262. end)
  7263. end))
  7264. for i = 0, 1, 0.1 do
  7265. swait()
  7266. 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)
  7267. 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)
  7268. 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)
  7269. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  7270. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  7271. 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)
  7272. end
  7273. attack = false
  7274. end
  7275.  
  7276.  
  7277. function BeamOfDeath()
  7278. coroutine.resume(coroutine.create(function()
  7279. attack = true
  7280. hum.WalkSpeed = 0
  7281. for i = 0, 11, 0.1 do
  7282. swait()
  7283. 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)
  7284. 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)
  7285. 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)
  7286. 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)
  7287. 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)
  7288. 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)
  7289. end
  7290. for i = 0, 1, 0.1 do
  7291. swait()
  7292. 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)
  7293. 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)
  7294. 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)
  7295. 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)
  7296. 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)
  7297. 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)
  7298. end
  7299. hum.WalkSpeed = storehumanoidWS
  7300. attack = false
  7301. end))
  7302. CFuncs["Sound"].Create("rbxassetid://430315987", char, 5, 1,0,10,0.10,0.25,1)
  7303. local radm = math.random(1,3)
  7304. if radm == 1 then
  7305. bosschatfunc("YAHHHH!!!",MAINRUINCOLOR.Color,1)
  7306. elseif radm == 2 then
  7307. bosschatfunc("TAKE THAT!!",MAINRUINCOLOR.Color,1)
  7308. elseif radm == 3 then
  7309. bosschatfunc("CONSUMED!!!",MAINRUINCOLOR.Color,1)
  7310. end
  7311. local keptcolor = MAINRUINCOLOR
  7312. local orb = Instance.new("Part", char)
  7313. orb.BrickColor = keptcolor
  7314. orb.CanCollide = false
  7315. orb.FormFactor = 3
  7316. orb.Name = "Ring"
  7317. orb.Material = "Neon"
  7318. orb.Size = Vector3.new(1, 1, 1)
  7319. orb.Transparency = 1
  7320. orb.TopSurface = 0
  7321. orb.BottomSurface = 0
  7322. local orbm = Instance.new("SpecialMesh", orb)
  7323. orbm.MeshType = "Sphere"
  7324. orbm.Name = "SizeMesh"
  7325. orbm.Scale = vt(22.5,10000,22.5)
  7326. orb.CFrame = mouse.Hit
  7327. orb.Anchored = true
  7328. orb.Orientation = vt(0,0,0)
  7329. orb.CFrame = orb.CFrame*CFrame.new(0,1,0)
  7330. CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 0.5, 1.2)
  7331. coroutine.resume(coroutine.create(function()
  7332. coroutine.resume(coroutine.create(function()
  7333. for i = 0, 175 do
  7334. swait()
  7335. orbm.Scale = orbm.Scale - vt(0.1,0,0.1)
  7336. orb.Transparency = orb.Transparency - 0.005
  7337. end
  7338. end))
  7339. wait(2)
  7340. coroutine.resume(coroutine.create(function()
  7341. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  7342. if hfr ~= nil then
  7343. for i = 0, 24.5 do
  7344. local deb = Instance.new("Part", char)
  7345. deb.Anchored = true
  7346. deb.CanCollide = false
  7347. deb.FormFactor = 3
  7348. deb.Name = "Ring"
  7349. deb.Material = hitfloor.Material
  7350. deb.Color = hitfloor.Color
  7351. deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55))
  7352. deb.Transparency = 0
  7353. deb.TopSurface = 0
  7354. deb.BottomSurface = 0
  7355. 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)))
  7356. local deb2 = Instance.new("Part", char)
  7357. deb2.CanCollide = false
  7358. deb2.FormFactor = 3
  7359. deb2.Name = "Ring"
  7360. deb2.Material = hitfloor.Material
  7361. deb2.Color = hitfloor.Color
  7362. deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38))
  7363. deb2.Transparency = 0
  7364. deb2.TopSurface = 0
  7365. deb2.BottomSurface = 0
  7366. deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150))
  7367. 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)))
  7368. local eff = Instance.new("ParticleEmitter",deb)
  7369. eff.Texture = "rbxassetid://363275192"
  7370. eff.LightEmission = 0.95
  7371. eff.Color = ColorSequence.new(keptcolor.Color)
  7372. eff.Rate = 100
  7373. eff.Lifetime = NumberRange.new(1)
  7374. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
  7375. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7376. eff.Speed = NumberRange.new(0,5)
  7377. eff.Rotation = NumberRange.new(-500,500)
  7378. eff.VelocitySpread = 9000
  7379. eff.RotSpeed = NumberRange.new(-10,10)
  7380. local at1 = Instance.new('Attachment',deb2)
  7381. at1.Position = vt(0,15,0)
  7382. local at2 = Instance.new('Attachment',deb2)
  7383. at2.Position = vt(0,-15,0)
  7384. local tl = Instance.new('Trail',deb2)
  7385. tl.Attachment0 = at1
  7386. tl.Attachment1 = at2
  7387. tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7388. tl.Color = ColorSequence.new(BrickColor.new('White').Color)
  7389. tl.Lifetime = 1
  7390. game:GetService("Debris"):AddItem(deb,30)
  7391. game:GetService("Debris"):AddItem(deb2,30)
  7392. coroutine.resume(coroutine.create(function()
  7393. wait(15)
  7394. eff.Enabled = false
  7395. for i = 0, 49 do
  7396. swait()
  7397. deb.Transparency = deb.Transparency + 0.02
  7398. end
  7399. wait(1)
  7400. deb:Destroy()
  7401. end))
  7402. end
  7403. end
  7404. end))
  7405. for i = 0, 199 do
  7406. swait(1.5)
  7407. for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do
  7408. if v:FindFirstChild('Head') then
  7409. dmg(v)
  7410. end
  7411. end
  7412. CFuncs["Sound"].Create("rbxassetid://1666361078", orb, 30,1)
  7413. 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)
  7414. 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)
  7415. 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)
  7416. sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor)
  7417. end
  7418. orb:Destroy()
  7419. end))
  7420. end
  7421.  
  7422. function Beams()
  7423. attack = true
  7424. hum.WalkSpeed = 0
  7425. CFuncs["EchoSound"].Create("rbxassetid://1436242274", char, 8, 1,0,10,0.15,0.5,1)
  7426. CFuncs["EchoSound"].Create("rbxassetid://1436242274", root, 60, 1,0,10,0.15,0.5,1)
  7427. bosschatfunc("You'll gone..",MAINRUINCOLOR.Color,2)
  7428. local keptcolor = MAINRUINCOLOR
  7429. coroutine.resume(coroutine.create(function()
  7430. for i = 0, 96 do
  7431. swait(5)
  7432. local orb = Instance.new("Part", char)
  7433. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  7434. orb.BrickColor = keptcolor
  7435. orb.CanCollide = false
  7436. orb.FormFactor = 3
  7437. orb.Name = "Ring"
  7438. orb.Material = "Neon"
  7439. orb.Size = Vector3.new(1, 1, 1)
  7440. orb.Transparency = 0
  7441. orb.TopSurface = 0
  7442. orb.BottomSurface = 0
  7443. orb.Anchored = true
  7444. local orbm = Instance.new("SpecialMesh", orb)
  7445. orbm.MeshType = "Sphere"
  7446. orbm.Name = "SizeMesh"
  7447. orbm.Scale = vt(1.25,1.25,1.25)
  7448. orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6))
  7449. sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7450. coroutine.resume(coroutine.create(function()
  7451. wait(0.5)
  7452. CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
  7453. sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7454. sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7455. orb.Transparency = 1
  7456. local a = Instance.new("Part",char)
  7457. a.Name = "Direction"
  7458. a.Anchored = true
  7459. a.BrickColor = keptcolor
  7460. a.Material = "Neon"
  7461. a.Transparency = 0.25
  7462. a.Shape = "Cylinder"
  7463. local ht = Instance.new("Part",char)
  7464. ht.Name = "DirectionHit"
  7465. ht.Anchored = true
  7466. ht.BrickColor = keptcolor
  7467. ht.CanCollide = false
  7468. ht.Transparency = 1
  7469. ht.Size = vt(0.1,0.1,0.1)
  7470. CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.6)
  7471. a.CanCollide = false
  7472. local ray = Ray.new(
  7473. orb.CFrame.p, -- origin
  7474. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  7475. )
  7476. local ignore = char
  7477. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7478. a.BottomSurface = 10
  7479. a.TopSurface = 10
  7480. local distance = (orb.CFrame.p - position).magnitude
  7481. a.Size = Vector3.new(distance,1,1)
  7482. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7483. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7484. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  7485. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  7486. MagniDamage(ht, 9, 30,60, 0, "Normal")
  7487. coroutine.resume(coroutine.create(function()
  7488. local eff = Instance.new("ParticleEmitter",ht)
  7489. eff.Texture = "rbxassetid://284205403"
  7490. eff.LightEmission = 0.95
  7491. eff.Color = ColorSequence.new(keptcolor.Color)
  7492. eff.Rate = 500
  7493. eff.Lifetime = NumberRange.new(0.5)
  7494. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  7495. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7496. eff.Speed = NumberRange.new(10,50)
  7497. eff.Drag = 5
  7498. eff.Rotation = NumberRange.new(-500,500)
  7499. eff.VelocitySpread = 9000
  7500. eff.RotSpeed = NumberRange.new(-500,500)
  7501. wait(0.25)
  7502. eff.Enabled = false
  7503. end))
  7504. for i = 0, 4 do
  7505. 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)
  7506. 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)
  7507. local rsiz = math.random(10,30)
  7508. 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)
  7509. end
  7510. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7511. local msh = Instance.new("SpecialMesh",a)
  7512. msh.MeshType = "Cylinder"
  7513. msh.Scale = vt(1,1,1)
  7514. for i = 0, 49 do
  7515. swait()
  7516. msh.Scale = msh.Scale + vt(0,0.01,0.01)
  7517. a.Transparency = a.Transparency + 0.02
  7518. end
  7519. orb:Destroy()
  7520. a:Destroy()
  7521. ht:Destroy()
  7522. end))
  7523. game:GetService("Debris"):AddItem(orb, 10)
  7524. end
  7525. end))
  7526. for i = 0,6,0.1 do
  7527. swait()
  7528. 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)
  7529. 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)
  7530. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
  7531. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3)
  7532. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3)
  7533. 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)
  7534. 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)
  7535. end
  7536. hum.WalkSpeed = storehumanoidWS
  7537. attack = false
  7538. end
  7539.  
  7540. function CalamityTrans()
  7541. attack = true
  7542. rainbowmode = false
  7543. chaosmode = false
  7544. ModeOfGlitch = 8889
  7545. hum.WalkSpeed = 0
  7546. newThemeCust("rbxassetid://723652641",0,1,1.25)
  7547. local elocacenter = CreateParta(root,1,1,"SmoothPlastic",BrickColor.random())
  7548. elocacenter.Anchored = true
  7549. elocacenter.CFrame = root.CFrame
  7550. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7551. eloca1.Anchored = true
  7552. eloca1.CFrame = elocacenter.CFrame
  7553. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7554. eloca2.Anchored = true
  7555. eloca2.CFrame = elocacenter.CFrame
  7556. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7557. eloca3.Anchored = true
  7558. eloca3.CFrame = elocacenter.CFrame
  7559. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7560. eloca4.Anchored = true
  7561. eloca4.CFrame = elocacenter.CFrame
  7562. local lookavec = 0
  7563. local speeds = 0
  7564. CameraEnshaking(3,2.5)
  7565. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7566. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7567. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7568. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7569. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7570. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7571. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 10, 1)
  7572. for i = 0, 5, 0.1 do
  7573. swait()
  7574. ---
  7575. lookavec = lookavec + 1
  7576. speeds = speeds + 10
  7577. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7578. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7579. 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)
  7580. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7581. 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)
  7582. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7583. 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)
  7584. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7585. 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)
  7586. ---
  7587. 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)
  7588. 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)
  7589. 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)
  7590. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7591. 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)
  7592. 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)
  7593. end
  7594. for i = 0, 5, 0.1 do
  7595. swait()
  7596. ---
  7597. speeds = speeds + 10
  7598. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7599. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7600. 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)
  7601. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7602. 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)
  7603. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7604. 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)
  7605. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7606. 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)
  7607. ---
  7608. 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)
  7609. 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)
  7610. 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)
  7611. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7612. 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)
  7613. 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)
  7614. end
  7615. MAINRUINCOLOR = BrickColor.new("Bright violet")
  7616. CFuncs["Sound"].Create("rbxassetid://468991944", eloca1, 5, 1)
  7617. CFuncs["Sound"].Create("rbxassetid://468991944", eloca2, 5, 1)
  7618. CFuncs["Sound"].Create("rbxassetid://468991944", eloca3, 5, 1)
  7619. CFuncs["Sound"].Create("rbxassetid://468991944", eloca4, 5, 1)
  7620. CameraEnshaking(1,3)
  7621. for i = 0, 24 do
  7622. 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)
  7623. 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)
  7624. 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)
  7625. 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)
  7626. end
  7627. sphere(1,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7628. sphere(2,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7629. sphere(3,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7630. sphere(1,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7631. sphere(2,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7632. sphere(3,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7633. sphere(1,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7634. sphere(2,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7635. sphere(3,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7636. sphere(1,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7637. sphere(2,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7638. sphere(3,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7639. for i = 0, 5, 0.1 do
  7640. swait()
  7641. ---
  7642. lookavec = lookavec - 1
  7643. speeds = speeds + 10
  7644. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7645. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7646. 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)
  7647. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7648. 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)
  7649. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7650. 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)
  7651. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7652. 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)
  7653. ---
  7654. 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)
  7655. 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)
  7656. 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)
  7657. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7658. 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)
  7659. 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)
  7660. end
  7661. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7662. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7663. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7664. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7665. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7666. for i = 0, 49 do
  7667. 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)
  7668. 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)
  7669. end
  7670. CameraEnshaking(5,6)
  7671. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7672. CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1)
  7673. CFuncs["Sound"].Create("rbxassetid://741272936", root, 5, 1)
  7674. CFuncs["Sound"].Create("rbxassetid://164881112", root, 5, 1)
  7675. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 5, 1)
  7676. CFuncs["Sound"].Create("rbxassetid://429123896", root, 5, 0.85)
  7677. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 5, 1)
  7678. storehumanoidWS = 100
  7679. hum.WalkSpeed = 100
  7680. rainbowmode = false
  7681. chaosmode = false
  7682. tl1.Enabled = true
  7683. tl2.Enabled = true
  7684. tl3.Enabled = true
  7685. RecolorTextAndRename("Galactical Guest",Color3.new(10,1,1),Color3.new(0.5,0,1),"Code")
  7686. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7687. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7688. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7689. for i, v in pairs(mw2:GetChildren()) do
  7690. if v:IsA("Part") then
  7691. v.BrickColor = MAINRUINCOLOR
  7692. v.Material = "Neon"
  7693. end
  7694. end
  7695. for i, v in pairs(mw1:GetChildren()) do
  7696. if v:IsA("Part") then
  7697. v.Transparency = 0
  7698. v.BrickColor = MAINRUINCOLOR
  7699. v.Material = "Neon"
  7700. end
  7701. end
  7702. for i, v in pairs(m:GetChildren()) do
  7703. if v:IsA("Part") then
  7704. v.Color = Color3.new(0.5,0,1)
  7705. v.Material = "Neon"
  7706. end
  7707. end
  7708. for i, v in pairs(m2:GetChildren()) do
  7709. if v:IsA("Part") then
  7710. v.Color = Color3.new(0.25,0,1)
  7711. v.Material = "Neon"
  7712. end
  7713. end
  7714. for i, v in pairs(m3:GetChildren()) do
  7715. if v:IsA("Part") then
  7716. v.Color = Color3.new(0.45,0,1)
  7717. v.Material = "Neon"
  7718. end
  7719. end
  7720. for i, v in pairs(extrawingmod1:GetChildren()) do
  7721. if v:IsA("Part") then
  7722. v.Transparency = 0.75
  7723. v.Color = Color3.new(0.25,0,1)
  7724. v.Material = "Neon"
  7725. end
  7726. end
  7727. for i, v in pairs(extrawingmod2:GetChildren()) do
  7728. if v:IsA("Part") then
  7729. v.Transparency = 0.75
  7730. v.Color = Color3.new(0.5,0,1)
  7731. v.Material = "Neon"
  7732. end
  7733. end
  7734. attack = false
  7735. end
  7736.  
  7737. function InsaneTrans()
  7738. attack = true
  7739. rainbowmode = false
  7740. chaosmode = false
  7741. ModeOfGlitch = 8889
  7742. hum.WalkSpeed = 0
  7743. newThemeCust("rbxassetid://183142252",1,1,10)
  7744. local elocacenter = CreateParta(root,1,1,"SmoothPlastic",BrickColor.random())
  7745. elocacenter.Anchored = true
  7746. elocacenter.CFrame = root.CFrame
  7747. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7748. eloca1.Anchored = true
  7749. eloca1.CFrame = elocacenter.CFrame
  7750. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7751. eloca2.Anchored = true
  7752. eloca2.CFrame = elocacenter.CFrame
  7753. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7754. eloca3.Anchored = true
  7755. eloca3.CFrame = elocacenter.CFrame
  7756. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7757. eloca4.Anchored = true
  7758. eloca4.CFrame = elocacenter.CFrame
  7759. local lookavec = 0
  7760. local speeds = 0
  7761. CameraEnshaking(3,2.5)
  7762. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7763. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7764. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7765. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7766. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7767. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7768. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 10, 1)
  7769. for i = 0, 5, 0.1 do
  7770. swait()
  7771. ---
  7772. lookavec = lookavec + 1
  7773. speeds = speeds + 10
  7774. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7775. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7776. 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)
  7777. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7778. 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)
  7779. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7780. 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)
  7781. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7782. 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)
  7783. ---
  7784. 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)
  7785. 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)
  7786. 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)
  7787. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7788. 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)
  7789. 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)
  7790. end
  7791. for i = 0, 5, 0.1 do
  7792. swait()
  7793. ---
  7794. speeds = speeds + 10
  7795. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7796. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7797. 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)
  7798. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7799. 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)
  7800. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7801. 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)
  7802. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7803. 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)
  7804. ---
  7805. 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)
  7806. 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)
  7807. 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)
  7808. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7809. 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)
  7810. 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)
  7811. end
  7812. MAINRUINCOLOR = BrickColor.new("Really black")
  7813. CFuncs["Sound"].Create("rbxassetid://468991944", eloca1, 5, 1)
  7814. CFuncs["Sound"].Create("rbxassetid://468991944", eloca2, 5, 1)
  7815. CFuncs["Sound"].Create("rbxassetid://468991944", eloca3, 5, 1)
  7816. CFuncs["Sound"].Create("rbxassetid://468991944", eloca4, 5, 1)
  7817. CameraEnshaking(1,3)
  7818. for i = 0, 24 do
  7819. 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)
  7820. 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)
  7821. 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)
  7822. 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)
  7823. end
  7824. sphere(1,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7825. sphere(2,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7826. sphere(3,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7827. sphere(1,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7828. sphere(2,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7829. sphere(3,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7830. sphere(1,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7831. sphere(2,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7832. sphere(3,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7833. sphere(1,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7834. sphere(2,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7835. sphere(3,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7836. for i = 0, 5, 0.1 do
  7837. swait()
  7838. ---
  7839. lookavec = lookavec - 1
  7840. speeds = speeds + 10
  7841. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7842. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7843. 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)
  7844. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7845. 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)
  7846. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7847. 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)
  7848. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7849. 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)
  7850. ---
  7851. 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)
  7852. 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)
  7853. 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)
  7854. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7855. 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)
  7856. 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)
  7857. end
  7858. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7859. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7860. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7861. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7862. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7863. for i = 0, 49 do
  7864. 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)
  7865. 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)
  7866. end
  7867. CameraEnshaking(5,6)
  7868. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7869. CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1)
  7870. CFuncs["Sound"].Create("rbxassetid://741272936", root, 5, 1)
  7871. CFuncs["Sound"].Create("rbxassetid://164881112", root, 5, 1)
  7872. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 5, 1)
  7873. CFuncs["Sound"].Create("rbxassetid://429123896", root, 5, 0.85)
  7874. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 5, 1)
  7875. storehumanoidWS = 100
  7876. hum.WalkSpeed = 100
  7877. rainbowmode = false
  7878. chaosmode = false
  7879. tl1.Enabled = true
  7880. tl2.Enabled = true
  7881. tl3.Enabled = true
  7882. RecolorTextAndRename("The Insane Guest",Color3.new(170,0,0),Color3.new(0,0,0),"Antique")
  7883. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7884. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7885. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7886. for i, v in pairs(mw2:GetChildren()) do
  7887. if v:IsA("Part") then
  7888. v.BrickColor = MAINRUINCOLOR
  7889. v.Material = "Neon"
  7890. end
  7891. end
  7892. for i, v in pairs(mw1:GetChildren()) do
  7893. if v:IsA("Part") then
  7894. v.Transparency = 0
  7895. v.BrickColor = MAINRUINCOLOR
  7896. v.Material = "Neon"
  7897. end
  7898. end
  7899. for i, v in pairs(m:GetChildren()) do
  7900. if v:IsA("Part") then
  7901. v.Color = Color3.new(170,0,0)
  7902. v.Material = "Neon"
  7903. end
  7904. end
  7905. for i, v in pairs(m2:GetChildren()) do
  7906. if v:IsA("Part") then
  7907. v.Color = Color3.new(0,0,0)
  7908. v.Material = "Neon"
  7909. end
  7910. end
  7911. for i, v in pairs(m3:GetChildren()) do
  7912. if v:IsA("Part") then
  7913. v.Color = Color3.new(0,0,0)
  7914. v.Material = "Neon"
  7915. end
  7916. end
  7917. for i, v in pairs(extrawingmod1:GetChildren()) do
  7918. if v:IsA("Part") then
  7919. v.Transparency = 0.75
  7920. v.Color = Color3.new(0,0,0)
  7921. v.Material = "Neon"
  7922. end
  7923. end
  7924. for i, v in pairs(extrawingmod2:GetChildren()) do
  7925. if v:IsA("Part") then
  7926. v.Transparency = 0.75
  7927. v.Color = Color3.new(0,0,0)
  7928. v.Material = "Neon"
  7929. end
  7930. end
  7931. attack = false
  7932. end
  7933.  
  7934. function GleamingBeam()
  7935. attack = true
  7936. bosschatfunc("IT ENDS NOW!!!",MAINRUINCOLOR.Color,3)
  7937. CFuncs["EchoSound"].Create("rbxassetid://1535995570", char, 8, 1,0,10,0.15,0.5,1)
  7938. CFuncs["EchoSound"].Create("rbxassetid://1535995570", root, 60, 1,0,10,0.15,0.5,1)
  7939. local rsiz = math.random(1,15)
  7940. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7941. hb.Anchored = true
  7942. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7943. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
  7944. for i = 0, 16, 0.1 do
  7945. swait()
  7946. rsiz = math.random(5,15)
  7947. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7948. 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)
  7949. 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)
  7950. 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)
  7951. 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)
  7952. 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)
  7953. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-40)),.1)
  7954. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  7955. LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.1)
  7956. end
  7957. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
  7958. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
  7959. for i = 0, 2 do
  7960. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
  7961. end
  7962. 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)
  7963. 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)
  7964. 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)
  7965. for i = 0, 49 do
  7966. local rsiza = math.random(1,15)
  7967. 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)
  7968. end
  7969. local a = Instance.new("Part",Character)
  7970. a.Name = "Direction"
  7971. a.Anchored = true
  7972. a.BrickColor = MAINRUINCOLOR
  7973. a.Material = "Neon"
  7974. a.Transparency = 0
  7975. a.Shape = "Cylinder"
  7976. a.CanCollide = false
  7977. local ba = Instance.new("Part",Character)
  7978. ba.Name = "HitDirect"
  7979. ba.Anchored = true
  7980. ba.BrickColor = bc("Cool yellow")
  7981. ba.Material = "Neon"
  7982. ba.Transparency = 1
  7983. ba.CanCollide = false
  7984. local ray = Ray.new(
  7985. hb.CFrame.p, -- origin
  7986. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  7987. )
  7988. local ignore = Character
  7989. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7990. a.BottomSurface = 10
  7991. a.TopSurface = 10
  7992. local distance = (hb.CFrame.p - position).magnitude
  7993. a.Size = Vector3.new(distance, 1, 1)
  7994. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7995. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7996. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7997. local msh = Instance.new("SpecialMesh",a)
  7998. msh.MeshType = "Cylinder"
  7999. msh.Scale = vt(1,4,4)
  8000. game:GetService("Debris"):AddItem(a, 30)
  8001. game:GetService("Debris"):AddItem(ba, 30)
  8002. for i = 0, 25, 0.1 do
  8003. swait()
  8004. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8005. ray = Ray.new(
  8006. hb.CFrame.p, -- origin
  8007. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8008. )
  8009. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8010. distance = (hb.CFrame.p - position).magnitude
  8011. a.Size = Vector3.new(distance, 1, 1)
  8012. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8013. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8014. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8015. rsiz = math.random(5,25)
  8016. MagniDamage(ba, 12, 40000,900000, 0, "Normal")
  8017. 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)
  8018. for c = 0, 2 do
  8019. 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)
  8020. end
  8021. 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)
  8022. 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)
  8023. 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)
  8024. 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)
  8025. 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)
  8026. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-80)),.6)
  8027. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(80)),.6)
  8028. LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.6)
  8029. end
  8030. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
  8031. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
  8032. CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
  8033. CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
  8034. MagniDamage(ba, 30, 400000,9000000, 0, "Normal")
  8035. 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)
  8036. 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)
  8037. 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)
  8038. 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)
  8039. 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)
  8040. 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)
  8041. for i = 0, 49 do
  8042. local rsiza = math.random(1,15)
  8043. 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)
  8044. end
  8045. for i = 0, 49 do
  8046. rsiz = math.random(1,8)
  8047. 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)
  8048. end
  8049. coroutine.resume(coroutine.create(function()
  8050. for i = 0, 99 do
  8051. swait()
  8052. a.Transparency = a.Transparency + 0.01
  8053. end
  8054. a:Destroy()
  8055. ba:Destroy()
  8056. end))
  8057. hb:Destroy()
  8058. attack = false
  8059. end
  8060.  
  8061. function DualGleamingBeam()
  8062. attack = true
  8063. hum.WalkSpeed = 0
  8064. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 5, 1,0,10,0.15,0.5,1)
  8065. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 60, 1,0,10,0.15,0.5,1)
  8066. local radm = math.random(1,3)
  8067. if radm == 1 then
  8068. bosschatfunc("YOU CAN'T ESCAPE THIS!!",MAINRUINCOLOR.Color,1)
  8069. elseif radm == 2 then
  8070. bosschatfunc("HOW DO YOU LIKE THIS?!",MAINRUINCOLOR.Color,1)
  8071. elseif radm == 3 then
  8072. bosschatfunc("You make the choice..",MAINRUINCOLOR.Color,1)
  8073. end
  8074. local rsiz = math.random(1,15)
  8075. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8076. hb.Anchored = true
  8077. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8078. local hb2 = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8079. hb2.Anchored = true
  8080. hb2.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8081. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
  8082. for i = 0, 14, 0.1 do
  8083. swait()
  8084. rsiz = math.random(5,15)
  8085. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8086. hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0)
  8087. 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)
  8088. 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)
  8089. 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)
  8090. 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"))
  8091. 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)
  8092. 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)
  8093. 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)
  8094. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.1)
  8095. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(120)),.1)
  8096. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-120)),.1)
  8097. end
  8098. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
  8099. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
  8100. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb2, 10,0.6)
  8101. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb2, 10,0.5)
  8102. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
  8103. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb2, 10,1)
  8104. 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)
  8105. 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)
  8106. 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)
  8107. 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"))
  8108. 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"))
  8109. 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"))
  8110. for i = 0, 49 do
  8111. local rsiza = math.random(1,15)
  8112. 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)
  8113. 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)
  8114. end
  8115. local a = Instance.new("Part",Character)
  8116. a.Name = "Direction"
  8117. a.Anchored = true
  8118. a.BrickColor = MAINRUINCOLOR
  8119. a.Material = "Neon"
  8120. a.Transparency = 0
  8121. a.Shape = "Cylinder"
  8122. a.CanCollide = false
  8123. local a2 = Instance.new("Part",Character)
  8124. a2.Name = "Direction"
  8125. a2.Anchored = true
  8126. a2.BrickColor = MAINRUINCOLOR
  8127. a2.Material = "Neon"
  8128. a2.Transparency = 0
  8129. a2.Shape = "Cylinder"
  8130. a2.CanCollide = false
  8131. local ba = Instance.new("Part",Character)
  8132. ba.Name = "HitDirect"
  8133. ba.Anchored = true
  8134. ba.BrickColor = MAINRUINCOLOR
  8135. ba.Material = "Neon"
  8136. ba.Transparency = 1
  8137. ba.CanCollide = false
  8138. local ba2 = Instance.new("Part",Character)
  8139. ba2.Name = "HitDirect"
  8140. ba2.Anchored = true
  8141. ba2.BrickColor = MAINRUINCOLOR
  8142. ba2.Material = "Neon"
  8143. ba2.Transparency = 1
  8144. ba2.CanCollide = false
  8145. local ray = Ray.new(
  8146. hb.CFrame.p, -- origin
  8147. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8148. )
  8149. local ignore = Character
  8150. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8151. local ray2 = Ray.new(
  8152. hb2.CFrame.p, -- origin
  8153. (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction
  8154. )
  8155. local hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore)
  8156. local distance2 = (hb2.CFrame.p - position).magnitude
  8157.  
  8158. a.BottomSurface = 10
  8159. a.TopSurface = 10
  8160. local distance = (hb.CFrame.p - position).magnitude
  8161. a.Size = Vector3.new(distance, 1, 1)
  8162. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8163. a2.BottomSurface = 10
  8164. a2.TopSurface = 10
  8165. a2.Size = Vector3.new(distance2, 1, 1)
  8166. a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2)
  8167. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8168. ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2)
  8169. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8170. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  8171. local msh = Instance.new("SpecialMesh",a)
  8172. msh.MeshType = "Cylinder"
  8173. msh.Scale = vt(1,4,4)
  8174. local msh2 = Instance.new("SpecialMesh",a2)
  8175. msh2.MeshType = "Cylinder"
  8176. msh2.Scale = vt(1,4,4)
  8177. game:GetService("Debris"):AddItem(a, 30)
  8178. game:GetService("Debris"):AddItem(a2, 30)
  8179. game:GetService("Debris"):AddItem(ba, 30)
  8180. game:GetService("Debris"):AddItem(ba2, 30)
  8181. for i = 0, 20, 0.1 do
  8182. swait()
  8183. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8184. hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0)
  8185. ray = Ray.new(
  8186. hb.CFrame.p, -- origin
  8187. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8188. )
  8189. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8190. distance = (hb.CFrame.p - position).magnitude
  8191. ray2 = Ray.new(
  8192. hb2.CFrame.p, -- origin
  8193. (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction
  8194. )
  8195. hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore)
  8196. distance2 = (hb2.CFrame.p - position).magnitude
  8197. a.Size = Vector3.new(distance, 1, 1)
  8198. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8199. a2.Size = Vector3.new(distance2, 1, 1)
  8200. a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2)
  8201. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8202. ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2)
  8203. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8204. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  8205. rsiz = math.random(5,25)
  8206. MagniDamage(ba, 12, 800,18000, 0, "Normal")
  8207. MagniDamage(ba2, 12, 800,18000, 0, "Normal")
  8208. for i, v in pairs(FindNearestHead(ba.CFrame.p, 4)) do
  8209. if v:FindFirstChild('Head') then
  8210. dmg(v)
  8211. end
  8212. end
  8213. coroutine.resume(coroutine.create(function()
  8214. local bx = Instance.new("Part",Character)
  8215. bx.Name = "Location"
  8216. bx.Anchored = true
  8217. bx.BrickColor = MAINRUINCOLOR
  8218. bx.Material = "Neon"
  8219. bx.Transparency = 1
  8220. bx.CanCollide = false
  8221. bx.Position = ba.Position
  8222. sphere2(2,"Add",bx.CFrame,vt(20,0.5,20),0.001,0,0.001,MAINRUINCOLOR)
  8223. wait(math.random(1,2))
  8224. sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.1,0,0.1,bc("Lime green"))
  8225. sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.25,0,0.25,MAINRUINCOLOR)
  8226. sphere2(6,"Add",bx.CFrame,vt(10,10,10),0.5,0.5,0.5,bc("Lime green"))
  8227. CFuncs["Sound"].Create("rbxassetid://1042693018", bx, 5,0.7)
  8228. CFuncs["Sound"].Create("rbxassetid://1042695469", bx, 5,0.8)
  8229. MagniDamage(bx, 20, 80000,900000, 0, "Normal")
  8230. for i, v in pairs(FindNearestHead(bx.CFrame.p, 15)) do
  8231. if v:FindFirstChild('Head') then
  8232. dmg(v)
  8233. end
  8234. end
  8235. wait(5)
  8236. bx:Destroy()
  8237. end))
  8238. 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)
  8239. 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)
  8240. for c = 0, 2 do
  8241. 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)
  8242. end
  8243. 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)
  8244. 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)
  8245. 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)
  8246. 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)
  8247. 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)
  8248. 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)
  8249. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.05)
  8250. RW.C0=clerp(RW.C0,cf(1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-15)),.05)
  8251. LW.C0=clerp(LW.C0,cf(-1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(15)),.05)
  8252. end
  8253. for i = 0, 1 do
  8254. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
  8255. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
  8256. CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
  8257. CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
  8258. end
  8259. MagniDamage(ba, 30, 8000,180000, 0, "Normal")
  8260. MagniDamage(ba2, 30, 8000,180000, 0, "Normal")
  8261. for i, v in pairs(FindNearestHead(ba.CFrame.p, 10)) do
  8262. if v:FindFirstChild('Head') then
  8263. dmg(v)
  8264. end
  8265. end
  8266. 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)
  8267. 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)
  8268. 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)
  8269. 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)
  8270. 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)
  8271. 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)
  8272. 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"))
  8273. 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"))
  8274. 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"))
  8275. for i = 0, 49 do
  8276. local rsiza = math.random(1,15)
  8277. 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)
  8278. 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)
  8279. end
  8280. for i = 0, 49 do
  8281. rsiz = math.random(1,8)
  8282. 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)
  8283. end
  8284. coroutine.resume(coroutine.create(function()
  8285. for i = 0, 99 do
  8286. swait()
  8287. a.Transparency = a.Transparency + 0.01
  8288. a2.Transparency = a2.Transparency + 0.01
  8289. end
  8290. a:Destroy()
  8291. ba:Destroy()
  8292. a2:Destroy()
  8293. ba2:Destroy()
  8294. end))
  8295. hum.WalkSpeed = storehumanoidWS
  8296. hb:Destroy()
  8297. hb2:Destroy()
  8298. attack = false
  8299. end
  8300.  
  8301. function dragin()
  8302. local targetted = nil
  8303. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  8304. targetted = mouse.Target.Parent
  8305. end
  8306. if targetted ~= nil then
  8307. RootPart.CFrame = FaceMouse()[1]
  8308. attack = true
  8309. hum.WalkSpeed = 0
  8310. for x = 0, 1 do
  8311. for i = 0,1,0.5 do
  8312. swait()
  8313. 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)
  8314. 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)
  8315. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  8316. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8317. 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)
  8318. 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)
  8319. end
  8320. for i = 0,1,0.5 do
  8321. swait()
  8322. 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)
  8323. 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)
  8324. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(180)),.3)
  8325. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8326. 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)
  8327. 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)
  8328. end
  8329. for i = 0,1,0.5 do
  8330. swait()
  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(6),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(3),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
  8333. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(270)),.3)
  8334. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8335. 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)
  8336. 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)
  8337. end
  8338. for i = 0,1,0.5 do
  8339. swait()
  8340. 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)
  8341. 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)
  8342. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8343. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8344. 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)
  8345. 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)
  8346. end
  8347. end
  8348. coroutine.resume(coroutine.create(function()
  8349. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 50
  8350. CFuncs["Sound"].Create("rbxassetid://884155627", targetted.Head, 1,1)
  8351. CFuncs["Sound"].Create("rbxassetid://153092213", targetted.Head, 2.5,1)
  8352. end))
  8353. local A1 = Instance.new("Attachment",targetted.Head)
  8354. local A2 = Instance.new("Attachment",sorb)
  8355. local Beem = Instance.new("Beam",tors)
  8356. Beem.Attachment0 = A1
  8357. Beem.Attachment1 = A2
  8358. Beem.Texture = "rbxassetid://897585362"
  8359. Beem.LightEmission = 0.75
  8360. Beem.FaceCamera = true
  8361. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
  8362. Beem.Width0 = 1
  8363. Beem.Width1 = 1
  8364. Beem.TextureMode = "Wrap"
  8365. Beem.TextureLength = 1
  8366. Beem.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8367. 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)
  8368. 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)
  8369. for x = 0, 24 do
  8370. local rsiz = math.random(5,15)
  8371. 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)
  8372. end
  8373.  
  8374. CFuncs["EchoSound"].Create("rbxassetid://1448032965", char, 7, 1,0,10,0.15,0.5,1)
  8375. CFuncs["EchoSound"].Create("rbxassetid://1448032965", root, 60, 1,0,10,0.15,0.5,1)
  8376. local radm = math.random(1,2)
  8377. if radm == 1 then
  8378. bosschatfunc("GOTCHA!!",MAINRUINCOLOR.Color,1)
  8379. elseif radm == 2 then
  8380. bosschatfunc("COM'ERE!!",MAINRUINCOLOR.Color,1)
  8381. end
  8382. for i = 0,3,0.1 do
  8383. swait()
  8384. coroutine.resume(coroutine.create(function()
  8385. local rsiz = math.random(5,15)
  8386. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
  8387. 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)
  8388. end))
  8389. 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)
  8390. 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)
  8391. 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)
  8392. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(50)),.6)
  8393. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(-50)),.6)
  8394. 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)
  8395. 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)
  8396. end
  8397. CFuncs["Sound"].Create("rbxassetid://231917750", sorb, 1.25,0.9)
  8398. CFuncs["Sound"].Create("rbxassetid://1042716828", sorb, 1.5,1)
  8399. local vel = Instance.new("BodyPosition", targetted.Head)
  8400. vel.P = 12500
  8401. vel.D = 1000
  8402. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  8403. vel.position = hed.CFrame.p + root.CFrame.lookVector*2.75
  8404. for i = 0,4,0.1 do
  8405. swait()
  8406. coroutine.resume(coroutine.create(function()
  8407. local rsiz = math.random(5,15)
  8408. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
  8409. 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)
  8410. end))
  8411. 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)
  8412. 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)
  8413. 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)
  8414. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  8415. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(40)),.2)
  8416. 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)
  8417. 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)
  8418. end
  8419. local visibility = 0
  8420. coroutine.resume(coroutine.create(function()
  8421. for i = 0, 49 do
  8422. swait()
  8423. visibility = visibility + 0.02
  8424. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, visibility),NumberSequenceKeypoint.new(1, visibility)})
  8425. end
  8426. Beem:Destroy()
  8427. A1:Destroy()
  8428. A2:Destroy()
  8429. end))
  8430. game:GetService("Debris"):AddItem(vel,0.75)
  8431. attack = false
  8432. hum.WalkSpeed = storehumanoidWS
  8433.  
  8434. end
  8435. end
  8436.  
  8437. function hugg()
  8438. attack = true
  8439. hum.WalkSpeed = 5
  8440. local rsiz = math.random(5,15)
  8441. for i = 0, 2, 0.1 do
  8442. swait()
  8443. 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)
  8444. 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)
  8445. 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)
  8446. 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)
  8447. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(40)),.3)
  8448. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(-40)),.3)
  8449. end
  8450. CFuncs["Sound"].Create("rbxassetid://444895479", root, 0.5,1)
  8451. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8452. hb.Anchored = true
  8453. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  8454. local huggedperson = nil
  8455. local act = false
  8456. local alreadydid = false
  8457. for i = 0, 3, 0.1 do
  8458. swait()
  8459. if act == false then
  8460. for i, v in pairs(FindNearestHead(hb.CFrame.p, 1.25)) do
  8461. if v:FindFirstChild('Head') then
  8462. if alreadydid == false then
  8463. huggedperson = v
  8464. hum.WalkSpeed = 0
  8465. CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
  8466. CFuncs["Sound"].Create("rbxassetid://200632821", root, 1,1.15)
  8467. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 1.5,1)
  8468. CFuncs["Sound"].Create("rbxassetid://884155627", root, 2,1)
  8469. local radm = math.random(1,3)
  8470. if radm == 1 then
  8471. bosschatfunc("I'm sorry.. if I hurt you..",MAINRUINCOLOR.Color,1)
  8472. elseif radm == 2 then
  8473. bosschatfunc("I..I'm interested in you",MAINRUINCOLOR.Color,1)
  8474. elseif radm == 3 then
  8475. bosschatfunc("Don't worry.. I'm with you",MAINRUINCOLOR.Color,1)
  8476. end
  8477. root.Anchored = true
  8478. coroutine.resume(coroutine.create(function()
  8479. huggedperson.Humanoid.WalkSpeed = 0
  8480. huggedperson:WaitForChild("HumanoidRootPart").Anchored = true
  8481. end))
  8482. --chatfunc(string.lower(huggedperson.Name).. "~~",BrickColor.new("Pink").Color,"Normal","SourceSansBold",1)
  8483. alreadydid = true
  8484. act = true
  8485. print(huggedperson.Name)
  8486. end
  8487. end
  8488. end
  8489. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  8490. 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)
  8491. elseif act == true then
  8492. coroutine.resume(coroutine.create(function()
  8493. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8494. end))
  8495. rsiz = math.random(5,15)
  8496. 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)
  8497. 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)
  8498. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8499. end
  8500. 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)
  8501. 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)
  8502. 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)
  8503. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8504. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8505. end
  8506. hb:Destroy()
  8507. if act == true then
  8508. for x = 0, 2 do
  8509. for i = 0, 2, 0.1 do
  8510. swait()
  8511. coroutine.resume(coroutine.create(function()
  8512. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8513. end))
  8514. rsiz = math.random(5,15)
  8515. 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)
  8516. 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)
  8517. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8518. 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)
  8519. 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)
  8520. 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)
  8521. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8522. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8523. end
  8524. for i = 0, 2, 0.1 do
  8525. swait()
  8526. coroutine.resume(coroutine.create(function()
  8527. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8528. end))
  8529. rsiz = math.random(5,15)
  8530. 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)
  8531. 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)
  8532. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8533. 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)
  8534. 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)
  8535. 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)
  8536. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8537. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8538. end
  8539. end
  8540. end
  8541. hum.WalkSpeed = storehumanoidWS
  8542. root.Anchored = false
  8543. if act == true then
  8544. coroutine.resume(coroutine.create(function()
  8545. huggedperson.Humanoid.WalkSpeed = 16
  8546. huggedperson:WaitForChild("HumanoidRootPart").Anchored = false
  8547. end))
  8548. end
  8549. hum.WalkSpeed = storehumanoidWS
  8550. attack = false
  8551. end
  8552.  
  8553. function Counter()
  8554. hum.WalkSpeed = 0
  8555. CFuncs["EchoSound"].Create("rbxassetid://2370794297", char, 5, 1,0,10,0.15,0.5,1)
  8556. CFuncs["EchoSound"].Create("rbxassetid://2370794297", root, 60, 1,0,10,0.15,0.5,1)
  8557. bosschatfunc("COUNTER!!",MAINRUINCOLOR.Color,1)
  8558. attack = true
  8559. for i = 0,1,0.1 do
  8560. swait()
  8561. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8562. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8563. 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)
  8564. 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)
  8565. 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)
  8566. 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)
  8567. end
  8568. CameraEnshaking(3,4)
  8569. MagniDamageWithEffect(root, 24, 0,0, 75, "Normal")
  8570. 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)
  8571. 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)
  8572. 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)
  8573. coroutine.resume(coroutine.create(function()
  8574. local eff = Instance.new("ParticleEmitter",root)
  8575. eff.Texture = "rbxassetid://363275192"
  8576. eff.LightEmission = 0.95
  8577. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8578. eff.Rate = 10000
  8579. eff.Lifetime = NumberRange.new(1)
  8580. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  8581. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  8582. eff.Speed = NumberRange.new(10,125)
  8583. eff.Drag = 5
  8584. eff.Rotation = NumberRange.new(-500,500)
  8585. eff.VelocitySpread = 9000
  8586. eff.RotSpeed = NumberRange.new(-50,50)
  8587. local eff2 = eff:Clone()
  8588. eff2.Parent = root
  8589. eff2.Texture = "rbxassetid://284205403"
  8590. eff2.Rate = 10000
  8591. 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)})
  8592. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  8593. eff2.Drag = 5
  8594. eff2.Speed = NumberRange.new(10,50)
  8595. eff2.Rotation = NumberRange.new(-500,500)
  8596. eff2.VelocitySpread = 9000
  8597. wait(0.25)
  8598. eff2.Enabled = false
  8599. eff.Enabled = false
  8600. wait(3)
  8601. eff2:Destroy()
  8602. eff:Destroy()
  8603. end))
  8604. for i = 0, 9 do
  8605. 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)
  8606. end
  8607. for i = 0, 24 do
  8608. local rsiz = math.random(5,20)
  8609. 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)
  8610. end
  8611. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
  8612. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
  8613. CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
  8614. for i = 0,2,0.1 do
  8615. swait()
  8616. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  8617. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8618. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  8619. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  8620. 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)
  8621. 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)
  8622. end
  8623. hum.WalkSpeed = storehumanoidWS
  8624. attack = false
  8625. end
  8626.  
  8627. function superjump()
  8628. attack = true
  8629. hum.WalkSpeed = 0
  8630. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  8631. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  8632. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7.5, 1)
  8633. for i = 0, 2, 0.1 do
  8634. swait()
  8635. root.Velocity = vt(0,0,0)
  8636. 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"))
  8637. 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)
  8638. 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)
  8639. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,-1)*angles(math.rad(20),math.rad(0),math.rad(0)),.4)
  8640. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(0)),.4)
  8641. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(40)),.4)
  8642. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(-40)),.4)
  8643. end
  8644. MagniDamage(root, 28, 25,50, 25, "Normal")
  8645. CFuncs["Sound"].Create("rbxassetid://477843807", char, 17, 1.05)
  8646. hum.Jump = true
  8647. swait()
  8648. root.Velocity = vt(0,250,0) + root.CFrame.lookVector*250
  8649. 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)
  8650. 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)
  8651. CFuncs["Sound"].Create("rbxassetid://1295446488", root, 10, 1)
  8652. for i = 0, 3, 0.1 do
  8653. swait()
  8654. 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)
  8655. 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)
  8656. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.75,0)*angles(math.rad(40),math.rad(0),math.rad(0)),.4)
  8657. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.4)
  8658. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-30),math.rad(0),math.rad(20)),.4)
  8659. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(-30),math.rad(0),math.rad(-20)),.4)
  8660. end
  8661. attack = false
  8662. if equipped == false then
  8663. hum.WalkSpeed = 16
  8664. else
  8665. hum.WalkSpeed = 24
  8666. end
  8667. end
  8668.  
  8669.  
  8670. -------------------------------------
  8671.  
  8672.  
  8673.  
  8674. Humanoid.Animator.Parent = nil
  8675.  
  8676.  
  8677.  
  8678. -------------------------------------
  8679.  
  8680. local attacktype = 1
  8681. mouse.Button1Down:connect(function()
  8682. if attack == false and attacktype == 1 then
  8683. attacktype = 2
  8684. attackone()
  8685. elseif attack == false and attacktype == 2 then
  8686. attacktype = 3
  8687. attacktwo()
  8688. elseif attack == false and attacktype == 3 then
  8689. attacktype = 1
  8690. attackthree()
  8691. elseif attack == false and attacktype == 4 then
  8692. attacktype = 1
  8693. --attackfour()
  8694. end
  8695. end)
  8696. mouse.KeyDown:connect(function(k)
  8697. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  8698. --normalmog()
  8699. ModeOfGlitch = 1
  8700. storehumanoidWS = 16
  8701. hum.WalkSpeed = 16
  8702. rainbowmode = false
  8703. chaosmode = false
  8704. newTheme("rbxassetid://367339030",48.6,1,0.85)
  8705. RecolorTextAndRename("Hopeless Guest",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  8706. MAINRUINCOLOR = BrickColor.new("Really red")
  8707. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  8708. end
  8709. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  8710. ModeOfGlitch = 2
  8711. storehumanoidWS = 16
  8712. hum.WalkSpeed = 16
  8713. rainbowmode = false
  8714. chaosmode = false
  8715. RecolorTextAndRename("Serene Guest",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
  8716. newTheme("rbxassetid://1539245059",0,1,0.85)
  8717. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  8718. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8719. end
  8720. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  8721. ModeOfGlitch = 3
  8722. storehumanoidWS = 14
  8723. hum.WalkSpeed = 14
  8724. rainbowmode = false
  8725. chaosmode = false
  8726. RecolorTextAndRename("Stable Guest",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
  8727. newTheme("rbxassetid://367339030",58.15,0.98,1)
  8728. MAINRUINCOLOR = BrickColor.new("Royal purple")
  8729. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8730. end
  8731. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  8732. ModeOfGlitch = 4
  8733. storehumanoidWS = 14
  8734. hum.WalkSpeed = 14
  8735. rainbowmode = false
  8736. chaosmode = true
  8737. RecolorTextAndRename("F.a.l.l.e.n G.u.e.s.t",Color3.new(0,0,0),Color3.new(1,1,1),"Antique")
  8738. newTheme("rbxassetid://2203914587",10,1.01,0.85)
  8739. MAINRUINCOLOR = BrickColor.new("Crimson")
  8740. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8741. end
  8742. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  8743. ModeOfGlitch = 5
  8744. storehumanoidWS = 14
  8745. hum.WalkSpeed = 14
  8746. rainbowmode = false
  8747. chaosmode = false
  8748. RecolorTextAndRename("Divine Guest",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
  8749. newTheme("rbxassetid://661079869",0,1.02,0.85)
  8750. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  8751. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8752. end
  8753. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  8754. ModeOfGlitch = 6
  8755. storehumanoidWS = 65
  8756. hum.WalkSpeed = 65
  8757. rainbowmode = false
  8758. chaosmode = false
  8759. RecolorTextAndRename("Justice Guest",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
  8760. newTheme("rbxassetid://1347011178",0,1.01,0.85)
  8761. MAINRUINCOLOR = BrickColor.new("White")
  8762. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8763. end
  8764. if k == "f" and attack == false and ModeOfGlitch ~= 8 then
  8765. ModeOfGlitch = 8
  8766. storehumanoidWS = 100
  8767. hum.WalkSpeed = 100
  8768. rainbowmode = false
  8769. chaosmode = false
  8770. RecolorTextAndRename("Destinal Guest",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
  8771. newTheme("rbxassetid://919231299",0,1.01,0.85)
  8772. MAINRUINCOLOR = BrickColor.new("Alder")
  8773. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8774. end
  8775. if k == "g" and attack == false and ModeOfGlitch ~= 9 then
  8776. ModeOfGlitch = 9
  8777. storehumanoidWS = 85
  8778. hum.WalkSpeed = 85
  8779. rainbowmode = false
  8780. chaosmode = false
  8781. RecolorTextAndRename("Infected Guest",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
  8782. newTheme("rbxassetid://879189331",0,1.01,0.85)
  8783. MAINRUINCOLOR = BrickColor.new("Br. yellowish green")
  8784. RecolorThing(MAINRUINCOLOR,BrickColor.new("Lime green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8785. end
  8786. if k == "h" and attack == false and ModeOfGlitch ~= 5555 then
  8787. ModeOfGlitch = 5555
  8788. storehumanoidWS = 30
  8789. hum.WalkSpeed = 30
  8790. rainbowmode = false
  8791. chaosmode = false
  8792. RecolorTextAndRename("Love Guest",Color3.new(1,1,1),BrickColor.new("Hot pink").Color,"Arcade")
  8793. newTheme("rbxassetid://736003449",0,1,1.25)
  8794. MAINRUINCOLOR = BrickColor.new("Hot pink")
  8795. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8796. end
  8797. if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
  8798. CalamityTrans()
  8799. end
  8800. if k == "b" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 8889 then
  8801. InsaneTrans()
  8802. end
  8803. if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
  8804. ModeOfGlitch = 55469696922
  8805. storehumanoidWS = 95
  8806. hum.WalkSpeed = 95
  8807. rainbowmode = false
  8808. chaosmode = false
  8809. RecolorTextAndRename("Nanodeath Guest",Color3.new(0.25,0,0.1),BrickColor.new("Hot pink").Color,"Antique")
  8810. newTheme("rbxassetid://919231299",0,1.005,0.9)
  8811. MAINRUINCOLOR = BrickColor.new("Hot pink")
  8812. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8813. end
  8814. if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  8815. ModeOfGlitch = 4367677813
  8816. storehumanoidWS = 75
  8817. hum.WalkSpeed = 75
  8818. rainbowmode = false
  8819. chaosmode = false
  8820. RecolorTextAndRename("Mysterious Guest",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
  8821. newTheme("rbxassetid://919231299",0,1.01,0.95)
  8822. MAINRUINCOLOR = BrickColor.new("Baby blue")
  8823. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8824. end
  8825. if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 9999999921111 then
  8826. ModeOfGlitch = 9999999921111
  8827. storehumanoidWS = 145
  8828. hum.WalkSpeed = 145
  8829. rainbowmode = false
  8830. chaosmode = false
  8831. RecolorTextAndRename("Omega Guest",BrickColor.new("Really black").Color,BrickColor.new("Bright bluish green").Color,"SciFi")
  8832. newTheme("rbxassetid://643309199",0,1.01,1)
  8833. MAINRUINCOLOR = BrickColor.new("Bright bluish green")
  8834. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8835. end
  8836. if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
  8837. ModeOfGlitch = 999999999556
  8838. storehumanoidWS = 115
  8839. hum.WalkSpeed = 115
  8840. rainbowmode = false
  8841. chaosmode = false
  8842. RecolorTextAndRename("Crazy Game",BrickColor.new("Really black").Color,BrickColor.new("Navy blue").Color,"Code")
  8843. newTheme("rbxassetid://719008519",0,1.02,0.85)
  8844. MAINRUINCOLOR = BrickColor.new("Navy blue")
  8845. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8846. end
  8847. if k == "m" and attack == false and ModeOfGlitch == 3 and ModeOfGlitch ~= 12 then
  8848. ModeOfGlitch = 12
  8849. storehumanoidWS = 19
  8850. hum.WalkSpeed = 19
  8851. rainbowmode = false
  8852. chaosmode = false
  8853. print'Mode was meant for Vengeful Program or those other fans out there'
  8854. RecolorTextAndRename("Neptunia Guest",BrickColor.new("Royal purple").Color,BrickColor.new("Bright blue").Color,"SciFi")
  8855. newTheme("rbxassetid://1873219898",0,1,1.7)
  8856. MAINRUINCOLOR = BrickColor.new("Royal purple")
  8857. RecolorThing(MAINRUINCOLOR,BrickColor.new("Bright blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8858. end
  8859.  
  8860. if k == "m" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 50 then
  8861. sphere(0.9,"Add",root.CFrame,vt(0,100000,0),1,BrickColor.new("Institutional white"))
  8862. for i = 0, 49 do
  8863. 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)
  8864. end
  8865. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8866. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8867. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8868. hum.WalkSpeed = storehumanoidWS
  8869. attack = false
  8870. ModeOfGlitch = 50
  8871. storehumanoidWS = 18
  8872. hum.WalkSpeed = 18
  8873. rainbowmode = false
  8874. chaosmode = false
  8875. RecolorTextAndRename("EnBelived",BrickColor.new("Institutional white").Color,BrickColor.new("Institutional white").Color,"Arcade")
  8876. newTheme("rbxassetid://435773595",0,1.01,1.5)
  8877. MAINRUINCOLOR = BrickColor.new("Institutional white")
  8878. RecolorThing(MAINRUINCOLOR,BrickColor.new("Institutional white"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8879. end
  8880.  
  8881. if k == "m" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 66 then
  8882. hum.WalkSpeed = 0
  8883. attack = true
  8884. for i = 0,1,0.1 do
  8885. swait()
  8886. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8887. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8888. 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)
  8889. 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)
  8890. 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)
  8891. 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)
  8892. end
  8893. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  8894. for i = 0, 148 do
  8895. 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)
  8896. end
  8897. for i = 0,3,0.1 do
  8898. 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)
  8899. end
  8900. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8901. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8902. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8903. hum.WalkSpeed = storehumanoidWS
  8904. attack = false
  8905. ModeOfGlitch = 66
  8906. storehumanoidWS = 16
  8907. hum.WalkSpeed = 16
  8908. rainbowmode = false
  8909. chaosmode = false
  8910. newTheme("rbxassetid://"..ast[Mrandom(1,2)],0,1,1.35)
  8911. MAINRUINCOLOR = BrickColor.new("Really black")
  8912. RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8913. for i = 0,2,0.1 do
  8914. swait()
  8915. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  8916. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8917. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  8918. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  8919. 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)
  8920. 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)
  8921. end
  8922. end
  8923.  
  8924. if k == "m" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 13 then
  8925. hum.WalkSpeed = 0
  8926. attack = true
  8927. for i = 0,1,0.1 do
  8928. swait()
  8929. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8930. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8931. 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)
  8932. 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)
  8933. 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)
  8934. 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)
  8935. end
  8936. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  8937. for i = 0, 49 do
  8938. 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)
  8939. end
  8940. for i = 0,3,0.1 do
  8941. 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)
  8942. end
  8943. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8944. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8945. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8946. hum.WalkSpeed = storehumanoidWS
  8947. attack = false
  8948. ModeOfGlitch = 13
  8949. storehumanoidWS = 45
  8950. hum.WalkSpeed = 45
  8951. rainbowmode = false
  8952. chaosmode = false
  8953. RecolorTextAndRename("Judicial Guest",BrickColor.new("Dark stone grey").Color,BrickColor.new("Light blue").Color,"Bodoni")
  8954. newTheme("rbxassetid://190845741",0,1,1.35)
  8955. MAINRUINCOLOR = BrickColor.new("Dark stone grey")
  8956. RecolorThing(MAINRUINCOLOR,BrickColor.new("Light blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8957. for i = 0,2,0.1 do
  8958. swait()
  8959. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  8960. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8961. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  8962. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  8963. 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)
  8964. 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)
  8965. end
  8966. end
  8967. if k == "j" and attack == false and ModeOfGlitch ~= 1002 then
  8968. ModeOfGlitch = 1002
  8969. storehumanoidWS = 45
  8970. hum.WalkSpeed = 45
  8971. rainbowmode = false
  8972. chaosmode = false
  8973. RecolorTextAndRename("Pixeled Guest",BrickColor.new("Really black").Color,BrickColor.new("Dark blue").Color,"Code")
  8974. newTheme("rbxassetid://2027652726",0,1,0.85)
  8975. MAINRUINCOLOR = BrickColor.new("Dark blue")
  8976. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8977. end
  8978. if k == "k" and attack == false and ModeOfGlitch ~= 1003 then
  8979. ModeOfGlitch = 1003
  8980. storehumanoidWS = 90
  8981. hum.WalkSpeed = 90
  8982. rainbowmode = false
  8983. chaosmode = false
  8984. RecolorTextAndRename("A.s.c.e.n.d.e.d G.u.e.s.t",BrickColor.new("White").Color,BrickColor.new("Bright yellow").Color,"Code")
  8985. newTheme("rbxassetid://257453119",0,1,0.85)
  8986. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  8987. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8988. end
  8989. if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  8990. ModeOfGlitch = 1264532489
  8991. storehumanoidWS = 175
  8992. hum.WalkSpeed = 175
  8993. rainbowmode = false
  8994. chaosmode = false
  8995. RecolorTextAndRename("Fallenx Guest",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique")
  8996. newTheme("rbxassetid://1505487022",0,1.01,1.25)
  8997. MAINRUINCOLOR = BrickColor.new("Pastel green")
  8998. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8999. end
  9000. if k == "l" and mutedtog == false then
  9001. mutedtog = true
  9002. kan.Volume = 0.85
  9003. elseif k == "l" and mutedtog == true then
  9004. mutedtog = false
  9005. kan.Volume = 0.85
  9006. end
  9007. if k == "p" and toggleTag == false then
  9008. toggleTag = true
  9009. modet.TextTransparency = 0
  9010. modet.TextStrokeTransparency = 0
  9011. elseif k == "p" and toggleTag == true then
  9012. toggleTag = false
  9013. modet.TextTransparency = 1
  9014. modet.TextStrokeTransparency = 1
  9015. end
  9016. if k == "z" and attack == false and ModeOfGlitch == 1 then
  9017. ExtinctiveHeartbreak()
  9018. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  9019. HeavenlyDisk()
  9020. elseif k == "z" and attack == false and ModeOfGlitch == 9 then
  9021. DualGleamingBeam()
  9022. elseif k == "c" and attack == false and ModeOfGlitch == 9 then
  9023. BanishingOrb()
  9024. elseif k == "z" and attack == false and ModeOfGlitch == 5555 then
  9025. hugg()
  9026. elseif k == "b" and attack == false and ModeOfGlitch == 55469696922 then
  9027. cutesigh()
  9028. elseif k == "v" and attack == false and ModeOfGlitch == 55469696922 then
  9029. Counter()
  9030. elseif k == "v" and attack == false and ModeOfGlitch == 12 then
  9031. superjump()
  9032. elseif k == "v" and attack == false and ModeOfGlitch == 9999999921111 then
  9033. dragin()
  9034. elseif k == "x" and attack == false and ModeOfGlitch == 8889 then
  9035. UniversalCollapse()
  9036. elseif k == "c" and attack == false and ModeOfGlitch == 2 then
  9037. PureBomb()
  9038. elseif k == "z" and attack == false and ModeOfGlitch == 999999999556 then
  9039. Beams()
  9040. elseif k == "x" and attack == false and ModeOfGlitch == 55469696922 then
  9041. BeamOfDeath()
  9042. elseif k == "v" and attack == false and ModeOfGlitch == 8 then
  9043. THE_TRUE_POWER_OF_VIOLENCE()
  9044. elseif k == "z" and attack == false and ModeOfGlitch == 8 then
  9045. GleamingBeam()
  9046. elseif k == "x" and attack == false and ModeOfGlitch == 5 then
  9047. ViolentRing()
  9048. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  9049. CorruptionEvent()
  9050. elseif k == "v" and attack == false and ModeOfGlitch == 3 then
  9051. CorruptBlink()
  9052. elseif k == "c" and attack == false and ModeOfGlitch == 3 then
  9053. scattercorrupt()
  9054. elseif k == "b" and attack == false and ModeOfGlitch == 5555 then
  9055. shytaunty()
  9056. elseif k == "v" and attack == false and ModeOfGlitch == 8889 then
  9057. InsaneBeam()
  9058. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  9059. RapidBurst()
  9060. elseif k == "z" and attack == false and ModeOfGlitch == 8889 then
  9061. InsaneDrop()
  9062. wait(2)
  9063. ChaosEND()
  9064. elseif k == "x" and attack == false and ModeOfGlitch == 4 then
  9065. ChaosEND()
  9066. elseif k == "c" and attack == false and ModeOfGlitch == 9999999921111 then
  9067. CyberSlash()
  9068. elseif k == "z" and attack == false and ModeOfGlitch == 4367677813 then
  9069. smiter()
  9070. elseif k == "z" and attack == false and ModeOfGlitch == 1002 then
  9071. SpeedDrop()
  9072. elseif k == "v" and attack == false and ModeOfGlitch == 5 then
  9073. --DivineLights()
  9074. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  9075. DivineBlast()
  9076. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  9077. EquinoxOrbs()
  9078. elseif k == "v" and attack == false and ModeOfGlitch == 6 then
  9079. yinyangi()
  9080. elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
  9081. FallenOrbs()
  9082. elseif k == "z" and attack == false and ModeOfGlitch == 1003 then
  9083. StarfallEX()
  9084. end
  9085. if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
  9086. FallenDEMISE()
  9087. end
  9088. if k == "x" and attack == false and ModeOfGlitch == 1 then
  9089. EndGROUND()
  9090. end
  9091. end)
  9092.  
  9093. coroutine.resume(coroutine.create(function()
  9094. while true do
  9095. swait()
  9096. 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
  9097. 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)
  9098. end
  9099. if ModeOfGlitch == 5555 then
  9100. 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)
  9101. end
  9102. end
  9103. end))
  9104. --[[coroutine.resume(coroutine.create(function()
  9105. while true do
  9106. swait(2)
  9107. if chaosmode == true then
  9108. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9109. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9110. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9111. RecolorTextAndRename("F.a.l.l.e.n G.u.e.s.t",Color3.new(0,0,0),BrickColor.random().Color,"Antique")
  9112. for i, v in pairs(mw1:GetChildren()) do
  9113. if v:IsA("Part") then
  9114. v.Transparency = 0.75
  9115. v.BrickColor = BrickColor.random()
  9116. v.Material = "Neon"
  9117. end
  9118. end
  9119. for i, v in pairs(m2:GetChildren()) do
  9120. if v:IsA("Part") then
  9121. v.BrickColor = BrickColor.random()
  9122. v.Material = "Neon"
  9123. end
  9124. end
  9125. end
  9126. end
  9127. end))]]
  9128.  
  9129.  
  9130.  
  9131. ff = Instance.new("ForceField",char)
  9132. ff.Visible = false
  9133. hum.Name = "Base"
  9134. hum.MaxHealth = 1.0E298
  9135. hum.Health = 1.0E298
  9136. game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
  9137. if hum.Health > 0.1 and hum.Health < 1.0E298 then
  9138. hum.MaxHealth = 1.0E298
  9139. hum.Health = 1.0E298
  9140. end
  9141. end)
  9142.  
  9143. local Hair = Instance.new("Part", char)
  9144. Hair.Name = "Hair"
  9145. Hair.CanCollide = false
  9146. Hair.BrickColor = BrickColor.new("Institutional white")
  9147. Hair.Transparency = 0
  9148. Hair.Material = "Plastic"
  9149. Hair.Size = Vector3.new(1, 1, 2)
  9150. Hair.TopSurface = Enum.SurfaceType.Smooth
  9151. Hair.BottomSurface = Enum.SurfaceType.Smooth
  9152.  
  9153.  
  9154. local bguis = Instance.new("BillboardGui",tors)
  9155. bguis.Size = UDim2.new(25, 0, 25, 0)
  9156. local imgca = Instance.new("ImageLabel",bguis)
  9157. imgca.BackgroundTransparency = 1
  9158. imgca.ImageTransparency = 1
  9159. imgca.Size = UDim2.new(1,0,1,0)
  9160. imgca.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891
  9161. imgca.ImageColor3 = Color3.new(0,0,0)
  9162.  
  9163.  
  9164. local bguis2 = Instance.new("BillboardGui",tors)
  9165. bguis2.Size = UDim2.new(25, 0, 25, 0)
  9166. local imgca2 = Instance.new("ImageLabel",bguis)
  9167. imgca2.BackgroundTransparency = 1
  9168. imgca2.ImageTransparency = 1
  9169. imgca2.Size = UDim2.new(1,0,1,0)
  9170. imgca2.Image = "rbxassetid://2406462507" --997291547,521073910,2312119891
  9171. imgca2.ImageColor3 = Color3.new(0,0,0)
  9172.  
  9173.  
  9174.  
  9175. idleanim=.4
  9176. while true do
  9177. if mutedtog == false then
  9178. kan.Volume = currentVol
  9179. elseif mutedtog == true then
  9180. kan.Volume = 0
  9181. end
  9182. kan.PlaybackSpeed = currentPitch
  9183. kan.Pitch = currentPitch
  9184. kan.SoundId = currentThemePlaying
  9185. kan.Looped = true
  9186. kan.Parent = char
  9187. kan:Resume()
  9188. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 13 then
  9189. imgca.ImageTransparency = 1
  9190. imgca2.ImageTransparency = 1
  9191. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
  9192. imgca.ImageColor3 = MAINRUINCOLOR.Color
  9193. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  9194. elseif ModeOfGlitch == 13 then
  9195. imgca2.ImageColor3 = MAINRUINCOLOR.Color
  9196. imgca2.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  9197. end
  9198. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
  9199. bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  9200. imgca2.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/60
  9201. bguis2.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  9202. coroutine.resume(coroutine.create(function()
  9203. if chaosmode == true then
  9204. for i, v in pairs(mw1:GetChildren()) do
  9205. if v:IsA("Part") then
  9206. v.Transparency = 0
  9207. v.BrickColor = BrickColor.random()
  9208. v.Material = "Neon"
  9209. end
  9210. end
  9211. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9212. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9213. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9214. RecolorTextAndRename("F.a.l.l.e.n G.u.e.s.t",Color3.new(0,0,0),BrickColor.random().Color,"Antique")
  9215. end
  9216. end))
  9217. coroutine.resume(coroutine.create(function()
  9218. if ModeOfGlitch == 66 then
  9219. for i, v in pairs(m:GetChildren()) do
  9220. if v:IsA("Part") then
  9221. v.Transparency = 0
  9222. v.BrickColor = BrickColor.random()
  9223. v.Material = "Neon"
  9224. end
  9225. end
  9226. for i, v in pairs(m2:GetChildren()) do
  9227. if v:IsA("Part") then
  9228. v.Transparency = 0
  9229. v.BrickColor = BrickColor.random()
  9230. v.Material = "Neon"
  9231. end
  9232. end
  9233. for i, v in pairs(mw1:GetChildren()) do
  9234. if v:IsA("Part") then
  9235. v.Transparency = 0
  9236. v.BrickColor = BrickColor.random()
  9237. v.Material = "Neon"
  9238. end
  9239. end
  9240. for i, v in pairs(extrawingmod1:GetChildren()) do
  9241. if v:IsA("Part") then
  9242. v.Transparency = 0.5
  9243. v.BrickColor = BrickColor.random()
  9244. v.Material = "Neon"
  9245. end
  9246. end
  9247. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9248. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9249. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9250. gane.Color = ColorSequence.new(BrickColor.random().Color)
  9251. gan.Color = ColorSequence.new(BrickColor.random().Color)
  9252. end
  9253. end))
  9254.  
  9255. coroutine.resume(coroutine.create(function()
  9256. if ModeOfGlitch == 66 then
  9257. RecolorTextAndRename("S N A P P E D G U E S T",BrickColor.random().Color,Color3.new(0,0,0),"Garamond")
  9258. end
  9259. end))
  9260.  
  9261. if chaosmode == false then
  9262. modet.Position = UDim2.new(0,0,0,0)
  9263. modet.Rotation = -5 * math.cos(sine / 32)
  9264. techc.Rotation = techc.Rotation + 1
  9265. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/200 - 1
  9266. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/175 + 1
  9267. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/175 + 1
  9268. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/150 - 1
  9269. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  9270. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  9271. else
  9272. techc.Rotation = techc.Rotation + 1
  9273. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
  9274. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
  9275. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
  9276. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
  9277. ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  9278. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  9279. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  9280. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  9281. end
  9282. CameraManager()
  9283. swait()
  9284. 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)
  9285. 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)
  9286. 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)
  9287. 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)
  9288. 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)
  9289. 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)
  9290. 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)
  9291. 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)
  9292. 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)
  9293. 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)
  9294. 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)
  9295. 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)
  9296. sine = sine + change
  9297. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  9298. local velderp=RootPart.Velocity.y
  9299. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  9300. coroutine.resume(coroutine.create(function()
  9301. 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
  9302. if hitfloor ~= nil then
  9303. 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"))
  9304. if ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 13 then
  9305. 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)
  9306. end
  9307. end
  9308. end
  9309. end))
  9310. if equipped==true or equipped==false then
  9311. if attack==false then
  9312. idle=idle+1
  9313. else
  9314. idle=0
  9315. end
  9316. if idle>=500 then
  9317. if attack==false then
  9318. --Sheath()
  9319. end
  9320. end
  9321. if RootPart.Velocity.y > 1 and hitfloor==nil then
  9322. Anim="Jump"
  9323. if attack==false then
  9324. 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)
  9325. 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)
  9326. 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)
  9327. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  9328. 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)
  9329. 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)
  9330. end
  9331. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  9332. Anim="Fall"
  9333. if attack==false then
  9334. 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)
  9335. 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)
  9336. 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)
  9337. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  9338. 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)
  9339. 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)
  9340. end
  9341. elseif torvel<1 and hitfloor~=nil then
  9342. Anim="Idle"
  9343. if attack==false then
  9344. if ModeOfGlitch == 1 then
  9345. local snap = math.random(1,10)
  9346. if snap == 1 then
  9347. 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)
  9348. end
  9349. 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)
  9350. 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)
  9351. 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)
  9352. 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)
  9353. 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)
  9354. 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)
  9355. elseif ModeOfGlitch == 2 then
  9356. 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)
  9357. 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)
  9358. 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)
  9359. 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)
  9360. 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)
  9361. 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)
  9362. elseif ModeOfGlitch == 2 then
  9363. 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)
  9364. 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)
  9365. 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)
  9366. 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)
  9367. 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)
  9368. 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)
  9369. elseif ModeOfGlitch == 50 then
  9370. 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)
  9371. 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)
  9372. 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)
  9373. 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)
  9374. 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)
  9375. 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)
  9376. elseif ModeOfGlitch == 5555 then --5555
  9377. 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)
  9378. 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)
  9379. 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)
  9380. 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)
  9381. 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)
  9382. 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)
  9383. elseif ModeOfGlitch == 1002 then
  9384. 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)
  9385. 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)
  9386. 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)
  9387. 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)
  9388. 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)
  9389. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1)
  9390. elseif ModeOfGlitch == 12 then
  9391. 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)
  9392. 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)
  9393. 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)
  9394. 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)
  9395. 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)
  9396. 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)
  9397. elseif ModeOfGlitch == 3 then
  9398. local snap = math.random(1,32)
  9399. if snap == 1 then
  9400. 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)
  9401. end
  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(-3),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(-3),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.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)
  9405. 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)
  9406. 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 + 3 * math.cos(sine / 45))),.1)
  9407. 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(33 - 3 * math.cos(sine / 45))),.1)
  9408. elseif ModeOfGlitch == 4 then
  9409. local snap = math.random(1,5)
  9410. if snap == 1 then
  9411. 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)
  9412. 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)
  9413. 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)
  9414. end
  9415. 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)
  9416. 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)
  9417. 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)
  9418. 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)
  9419. 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)
  9420. 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)
  9421. elseif ModeOfGlitch == 66 then
  9422. local snap = math.random(1,2)
  9423. if snap == 1 then
  9424. 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)
  9425. 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)
  9426. 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)
  9427. end
  9428. 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)
  9429. 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)
  9430. 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)
  9431. 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)
  9432. 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)
  9433. 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)
  9434. elseif ModeOfGlitch == 5 then
  9435. 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)
  9436. 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)
  9437. 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)
  9438. 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)
  9439. 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)
  9440. 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)
  9441. elseif ModeOfGlitch == 6 then
  9442. 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)
  9443. 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)
  9444. 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)
  9445. 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)
  9446. 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)
  9447. 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)
  9448. elseif ModeOfGlitch == 13 then
  9449. 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)
  9450. 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)
  9451. 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)
  9452. 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)
  9453. 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)
  9454. 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)
  9455. elseif ModeOfGlitch == 8 then
  9456. 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)
  9457. 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)
  9458. 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)
  9459. 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)
  9460. 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)
  9461. 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)
  9462. elseif ModeOfGlitch == 9 then
  9463. 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)
  9464. 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))
  9465. 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)
  9466. 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)
  9467. 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)
  9468. 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)
  9469. 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)
  9470. 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)
  9471. elseif ModeOfGlitch == 1003 then
  9472. 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)
  9473. 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)
  9474. 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)
  9475. 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)
  9476. 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)
  9477. 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)
  9478.  
  9479. elseif ModeOfGlitch == 8889 then
  9480. 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)
  9481. 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)
  9482. 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)
  9483. 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)
  9484. 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)
  9485. 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)
  9486. elseif ModeOfGlitch == 1264532489 then
  9487. 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)
  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(-14 - 5 * math.cos(sine / 48))),.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(15 + 7 * math.cos(sine / 51))),.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(21 - 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(13 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(28 + 2 * math.cos(sine / 45))),.1)
  9493. 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)
  9494. elseif ModeOfGlitch == 9999999921111 then --9999999921111
  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(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1)
  9496. 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)
  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(-21 - 2 * math.cos(sine / 32)),math.rad(8),math.rad(0)),.1)
  9498. 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)
  9499. 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)
  9500. 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)
  9501. elseif ModeOfGlitch == 4367677813 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 / 32))),.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 + 2 * math.cos(sine / 32))),.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(10)),.1)
  9505. 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)
  9506. 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)
  9507. 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)
  9508. elseif ModeOfGlitch == 55469696922 then --5555
  9509. 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)
  9510. 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)
  9511. 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)
  9512. 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)
  9513. 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)
  9514. 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)
  9515. elseif ModeOfGlitch == 999999999556 then
  9516. 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)
  9517. 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)
  9518. 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)
  9519. 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)
  9520. 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)
  9521. 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)
  9522. end
  9523. end
  9524. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  9525. Anim="Walk"
  9526. if attack==false and ModeOfGlitch ~= 66 then
  9527. 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)
  9528. 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)
  9529. 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)
  9530. 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)
  9531. 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)
  9532. 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)
  9533. elseif attack==false and ModeOfGlitch == 66 then
  9534. 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)
  9535. 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)
  9536. 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)
  9537. 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)
  9538. 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)
  9539. 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)
  9540. end
  9541. elseif torvel>=22 and hitfloor~=nil then
  9542. Anim="Run"
  9543. if attack==false then
  9544. 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
  9545. 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)
  9546. 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)
  9547. 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)
  9548. 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)
  9549. 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)
  9550. 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)
  9551. if ModeOfGlitch == 12 then
  9552. 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)
  9553. 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)
  9554. 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)
  9555. 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)
  9556. 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)
  9557. 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)
  9558. end
  9559. if ModeOfGlitch == 9 then
  9560. 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)
  9561. 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))
  9562. 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)
  9563. end
  9564. 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
  9565. 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)
  9566. 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)
  9567. 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)
  9568. 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)
  9569. 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)
  9570. 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)
  9571. elseif ModeOfGlitch == 13 then
  9572. 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)
  9573. 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)
  9574. 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)
  9575. 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)
  9576. 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)
  9577. 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)
  9578. end
  9579. end
  9580. end
  9581. end
  9582. end
Advertisement
Add Comment
Please, Sign In to add comment