Advertisement
Fullgamer309

Untitled

Jun 23rd, 2020
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 472.53 KB | None | 0 0
  1. local Player = game.Players["PROISDEAD12]
  2. require(5225365472)(Player);
  3. local LoadLibrary=require(5225414572);
  4. local RbxUtility=LoadLibrary("RbxUtility");
  5. local FakeMouse = Player.PlayerGui.FakeMouse:Clone();
  6. local Create = RbxUtility.Create;
  7. FakeMouse.Parent = Player.Character;
  8. Player.PlayerGui.FakeMouse:Destroy()
  9. owner = Player
  10. warn("FE Converter Made by jh0nd0eone")
  11. local Mouse,mouse,UserInputService,ContextActionService
  12. do
  13. local GUID = {}
  14. do
  15. GUID.IDs = {};
  16. function GUID:new(len)
  17. local id;
  18. if(not len)then
  19. id = (tostring(function() end))
  20. id = id:gsub("function: ","")
  21. else
  22. local function genID(len)
  23. local newID = ""
  24. for i = 1,len do
  25. newID = newID..string.char(math.random(48,90))
  26. end
  27. return newID
  28. end
  29. repeat id = genID(len) until not GUID.IDs[id]
  30. local oid = id;
  31. id = {Trash=function() GUID.IDs[oid]=nil; end;Get=function() return oid; end}
  32. GUID.IDs[oid]=true;
  33. end
  34. return id
  35. end
  36. end
  37.  
  38. local AHB = Instance.new("BindableEvent")
  39.  
  40. local FPS = 30
  41.  
  42. local TimeFrame = 0
  43.  
  44. local LastFrame = tick()
  45. local Frame = 1/FPS
  46.  
  47. game:service'RunService'.Heartbeat:connect(function(s,p)
  48. TimeFrame = TimeFrame + s
  49. if(TimeFrame >= Frame)then
  50. for i = 1,math.floor(TimeFrame/Frame) do
  51. AHB:Fire()
  52. end
  53. LastFrame=tick()
  54. TimeFrame=TimeFrame-Frame*math.floor(TimeFrame/Frame)
  55. end
  56. end)
  57.  
  58.  
  59. function swait(dur)
  60. if(dur == 0 or typeof(dur) ~= 'number')then
  61. AHB.Event:wait()
  62. else
  63. for i = 1, dur*FPS do
  64. AHB.Event:wait()
  65. end
  66. end
  67. end
  68.  
  69. local loudnesses={}
  70. local CoAS = {Actions={}}
  71. local Event = Instance.new("RemoteEvent")
  72. Event.Name = "UserInputEvent"
  73. Event.Parent = Player.Character
  74. local Func = Instance.new("RemoteFunction")
  75. Func.Name = "GetClientProperty"
  76. Func.Parent = Player.Character
  77. local fakeEvent = function()
  78. local t = {_fakeEvent=true,Waited={}}
  79. t.Connect = function(self,f)
  80. local ft={Disconnected=false;disconnect=function(s) s.Disconnected=true end}
  81. ft.Disconnect=ft.disconnect
  82.  
  83. ft.Func=function(...)
  84. for id,_ in next, t.Waited do
  85. t.Waited[id] = true
  86. end
  87. return f(...)
  88. end;
  89. self.Function=ft;
  90. return ft;
  91. end
  92. t.connect = t.Connect
  93. t.Wait = function()
  94. local guid = GUID:new(25)
  95. local waitingId = guid:Get()
  96. t.Waited[waitingId]=false
  97. repeat swait() until t.Waited[waitingId]==true
  98. t.Waited[waitingId]=nil;
  99. guid:Trash()
  100. end
  101. t.wait = t.Wait
  102. return t
  103. end
  104. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  105. local UsIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  106.  
  107. function CoAS:BindAction(name,fun,touch,...)
  108. CoAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  109. end
  110. function CoAS:UnbindAction(name)
  111. CoAS.Actions[name] = nil
  112. end
  113. local function te(self,ev,...)
  114. local t = self[ev]
  115. if t and t._fakeEvent and t.Function and t.Function.Func and not t.Function.Disconnected then
  116. t.Function.Func(...)
  117. elseif t and t._fakeEvent and t.Function and t.Function.Func and t.Function.Disconnected then
  118. self[ev].Function=nil
  119. end
  120. end
  121. m.TrigEvent = te
  122. UsIS.TrigEvent = te
  123. Event.OnServerEvent:Connect(function(plr,io)
  124. if plr~=Player then return end
  125. if io.Mouse then
  126. m.Target = io.Target
  127. m.Hit = io.Hit
  128. elseif io.KeyEvent then
  129. print('Key'..io.KeyEvent,io.Key)
  130. m:TrigEvent('Key'..io.KeyEvent,io.Key)
  131. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  132. if io.UserInputState == Enum.UserInputState.Begin then
  133. print'down'
  134. m:TrigEvent("Button1Down")
  135. else
  136. print'up'
  137. m:TrigEvent("Button1Up")
  138. end
  139. end
  140. if(not io.KeyEvent and not io.Mouse)then
  141. for n,t in pairs(CoAS.Actions) do
  142. for _,k in pairs(t.Keys) do
  143. if k==io.KeyCode then
  144. t.Function(t.Name,io.UserInputState,io)
  145. end
  146. end
  147. end
  148. if io.UserInputState == Enum.UserInputState.Begin then
  149. UsIS:TrigEvent("InputBegan",io,false)
  150. else
  151. UsIS:TrigEvent("InputEnded",io,false)
  152. end
  153. end
  154. end)
  155.  
  156. Func.OnServerInvoke = function(plr,inst,play)
  157. if plr~=Player then return end
  158. if(inst and typeof(inst) == 'Instance' and inst:IsA'Sound')then
  159. loudnesses[inst]=play
  160. end
  161. end
  162.  
  163. function GetClientProperty(inst,prop)
  164. if(prop == 'PlaybackLoudness' and loudnesses[inst])then
  165. return loudnesses[inst]
  166. elseif(prop == 'PlaybackLoudness')then
  167. return Func:InvokeClient(Player,'RegSound',inst)
  168. end
  169. return Func:InvokeClient(Player,inst,prop)
  170. end
  171. Mouse, mouse, UserInputService, ContextActionService = m, m, UsIS, CoAS
  172. end
  173.  
  174.  
  175. warn([[SpectrumGlitcher v5 AWAKENED Loaded.
  176. The super switcher.
  177. Velnorum is one of the first wielders.
  178.  
  179. Created, Reworked by NoobyGames12
  180. Edited by GodzPlaysRB
  181. Edited by wanTH092 (Gam_Filano CH)
  182. SpectrumGlitcher Developers ^^^
  183. ]])
  184.  
  185.  
  186. ------------- ORIGINAL WIELDER OC: Velnorum
  187. print([[Icons:
  188. ! = New
  189. ? = Spoilers
  190. * = Exclusivity
  191. C = Changes
  192.  
  193. ]])
  194. warn([[V 4.35 Update Log:
  195. ! - Added Betrayal mode (Chaos M)
  196.  
  197. !? - Added z move to destiny
  198. !c? = Added calamity transition
  199. !? - upcoming transition for some mode..
  200. - Removed some voice sound effects because they didnt sound right
  201. ]])
  202. --- its obs smooth af do not touch
  203. ---- Sources and functions might be taken from others
  204. plr = owner
  205. char = plr.Character
  206. hum = char.Humanoid
  207. local cam = game.Workspace.CurrentCamera
  208. Camera = cam
  209. local CamInterrupt = false
  210. local TwoD = false
  211. local TargetInfo = {nil, nil}
  212. cam.CameraType = "Custom"
  213. t = char.Torso
  214. h = char.Head
  215. ra = char["Right Arm"]
  216. la = char["Left Arm"]
  217. rl = char["Right Leg"]
  218. ll = char["Left Leg"]
  219. tors = char.Torso
  220. lleg = char["Left Leg"]
  221. root = char.HumanoidRootPart
  222. hed = char.Head
  223. rleg = char["Right Leg"]
  224. rarm = char["Right Arm"]
  225. larm = char["Left Arm"]
  226. radian = math.rad
  227. random = math.random
  228. Vec3 = Vector3.new
  229. Inst = Instance.new
  230. cFrame = CFrame.new
  231. Euler = CFrame.fromEulerAnglesXYZ
  232. vt = Vector3.new
  233. bc = BrickColor.new
  234. br = BrickColor.random
  235. it = Instance.new
  236. cf = CFrame.new
  237. local Player_Size = 0
  238. cam = game.Workspace.CurrentCamera
  239. CF = CFrame.new
  240. angles = CFrame.Angles
  241. attack = false
  242. Euler = CFrame.fromEulerAnglesXYZ
  243. Rad = math.rad
  244. IT = Instance.new
  245. BrickC = BrickColor.new
  246. Cos = math.cos
  247. Acos = math.acos
  248. Sin = math.sin
  249. Asin = math.asin
  250. Abs = math.abs
  251. Mrandom = math.random
  252. Floor = math.floor
  253. IT = Instance.new
  254. CF = CFrame.new
  255. VT = Vector3.new
  256. RAD = math.rad
  257. C3 = Color3.new
  258. UD2 = UDim2.new
  259. BRICKC = BrickColor.new
  260. ANGLES = CFrame.Angles
  261. EULER = CFrame.fromEulerAnglesXYZ
  262. COS = math.cos
  263. ACOS = math.acos
  264. SIN = math.sin
  265. ASIN = math.asin
  266. ABS = math.abs
  267. MRANDOM = math.random
  268. FLOOR = math.floor
  269. local SINE = 0
  270.  
  271. local Booleans = {
  272. CamFollow = true,
  273. GyroUse = true
  274. }
  275.  
  276. function lerp(object, newCFrame, alpha)
  277. return object:lerp(newCFrame, alpha)
  278. end
  279.  
  280. local Directer = Inst("BodyGyro", root)
  281. Directer.MaxTorque = Vec3(0, 0, 0)
  282. Directer.P = 600000
  283. local CPart = Inst("Part")
  284. CPart.Anchored = true
  285. CPart.CanCollide = false
  286. CPart.Locked = true
  287. CPart.Transparency = 1
  288.  
  289. local rainbowmode = false
  290. local chaosmode = false
  291.  
  292. local kan = Instance.new("Sound",tors)
  293. kan.Volume = 0.85
  294. kan.TimePosition = 0
  295. kan.PlaybackSpeed = 1
  296. kan.Pitch = 1
  297. kan.SoundId = "rbxassetid://1255569288"
  298. kan.Name = "wrecked"
  299. kan.Looped = true
  300. kan:Play()
  301.  
  302. local currentThemePlaying = kan.SoundId
  303. local currentPitch = kan.Pitch
  304. local currentVol = kan.Volume
  305. function newTheme(ID,timepos,pitch,vol)
  306. local kanz = kan
  307. --kanz:Stop()
  308. kanz.Volume = vol
  309. --kanz.TimePosition = timepos
  310. kanz.PlaybackSpeed = pitch
  311. kanz.Pitch = pitch
  312. kanz.SoundId = ID
  313. kanz.Name = "wrecked"
  314. kanz.Looped = true
  315. currentThemePlaying = kanz.SoundId
  316. currentVol = kanz.Volume
  317. currentPitch = kanz.Pitch
  318. --kanz:Play()
  319. --coroutine.resume(coroutine.create(function()
  320. --wait(0.05)
  321. --end))
  322. end
  323.  
  324.  
  325. function newThemeCust(ID,timepos,pitch,vol)
  326. local kanz = kan
  327. kanz:Stop()
  328. kanz.Volume = vol
  329. kanz.TimePosition = timepos
  330. kanz.PlaybackSpeed = pitch
  331. kanz.Pitch = pitch
  332. kanz.SoundId = ID
  333. kanz.Name = "wrecked"
  334. kanz.Looped = true
  335. currentThemePlaying = kanz.SoundId
  336. currentVol = kanz.Volume
  337. currentPitch = kanz.Pitch
  338. kanz:Play()
  339. coroutine.resume(coroutine.create(function()
  340. wait(0.05)
  341. end))
  342. end
  343.  
  344. local mutedtog = false
  345.  
  346. function CameraEnshaking(Length,Intensity)
  347. coroutine.resume(coroutine.create(function()
  348. local intensity = 1*Intensity
  349. local rotM = 0.01*Intensity
  350. for i = 0, Length, 0.1 do
  351. swait()
  352. intensity = intensity - 0.05*Intensity/Length
  353. rotM = rotM - 0.0005*Intensity/Length
  354. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  355. 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)
  356. end
  357. Humanoid.CameraOffset = Vec3(0, 0, 0)
  358. end))
  359. end
  360. CamShake=function(Part,Distan,Power,Times)
  361. local de=Part.Position
  362. for i,v in pairs(workspace:children()) do
  363. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  364. for _,c in pairs(v:children()) do
  365. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  366. local Noob=v.Humanoid
  367. if Noob~=nil then
  368. coroutine.resume(coroutine.create(function()
  369. local FV = Instance.new("BoolValue", Noob)
  370. FV.Name = "CameraShake"
  371. for ShakeNum=1,Times do
  372. swait()
  373. local ef=Power
  374. if ef>=1 then
  375. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  376. else
  377. ef=Power*10
  378. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  379. end
  380. end
  381. Humanoid.CameraOffset = Vector3.new(0,0,0)
  382. FV:Destroy()
  383. end))
  384. --CameraShake(Times, Power, Noob)
  385. end
  386. end
  387. end
  388. end
  389. end
  390. end
  391.  
  392. local toggleTag = true
  393. local bilguit = Instance.new("BillboardGui", hed)
  394. bilguit.Adornee = nil
  395. bilguit.Name = "ModeName"
  396. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  397. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  398. local modet = Instance.new("TextLabel", bilguit)
  399. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  400. modet.FontSize = "Size8"
  401. modet.TextScaled = true
  402. modet.TextTransparency = 0
  403. modet.BackgroundTransparency = 1
  404. modet.TextTransparency = 0
  405. modet.TextStrokeTransparency = 0
  406. modet.Font = "Antique"
  407. modet.TextStrokeColor3 = Color3.new(0,1,0)
  408. modet.TextColor3 = Color3.new(0,0.25,0)
  409. modet.Text = "Glitcher"
  410.  
  411.  
  412. function chatfunc(text,color,typet,font,timeex)
  413. local chat = coroutine.wrap(function()
  414. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  415. Character:FindFirstChild("TalkingBillBoard"):destroy()
  416. end
  417. local naeeym2 = Instance.new("BillboardGui",Character)
  418. naeeym2.Size = UDim2.new(0,100,0,40)
  419. naeeym2.StudsOffset = Vector3.new(0,3,0)
  420. naeeym2.Adornee = Character.Head
  421. naeeym2.Name = "TalkingBillBoard"
  422. local tecks2 = Instance.new("TextLabel",naeeym2)
  423. tecks2.BackgroundTransparency = 1
  424. tecks2.BorderSizePixel = 0
  425. tecks2.Text = ""
  426. tecks2.Font = font
  427. tecks2.TextSize = 30
  428. tecks2.TextStrokeTransparency = 0
  429. tecks2.TextColor3 = color
  430. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  431. tecks2.Size = UDim2.new(1,0,0.5,0)
  432. local tecks3 = Instance.new("TextLabel",naeeym2)
  433. tecks3.BackgroundTransparency = 1
  434. tecks3.BorderSizePixel = 0
  435. tecks3.Text = ""
  436. tecks3.Font = font
  437. tecks3.TextSize = 30
  438. tecks3.TextStrokeTransparency = 0
  439. if typet == "Inverted" then
  440. tecks3.TextColor3 = Color3.new(0,0,0)
  441. tecks3.TextStrokeColor3 = color
  442. elseif typet == "Normal" then
  443. tecks3.TextColor3 = color
  444. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  445. end
  446. tecks3.Size = UDim2.new(1,0,0.5,0)
  447. coroutine.resume(coroutine.create(function()
  448. while true do
  449. swait(1)
  450. if chaosmode == true then
  451. tecks2.TextColor3 = BrickColor.random().Color
  452. tecks3.TextStrokeColor3 = BrickColor.random().Color
  453. end
  454. end
  455. end))
  456. modet.TextTransparency = modet.TextTransparency + 1
  457. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  458. for i = 0, 74*timeex do
  459. swait()
  460. modet.TextTransparency = 1
  461. modet.TextStrokeTransparency = 1
  462. tecks2.Text = text
  463. tecks3.Text = text
  464. end
  465. local randomrot = math.random(1,2)
  466. if randomrot == 1 then
  467. for i = 1, 50 do
  468. swait()
  469. tecks2.Text = text
  470. tecks3.Text = text
  471. modet.TextTransparency = modet.TextTransparency - .02
  472. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  473. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  474. tecks2.TextTransparency = tecks2.TextTransparency + .04
  475. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  476. tecks3.TextTransparency = tecks2.TextTransparency + .04
  477. end
  478. elseif randomrot == 2 then
  479. for i = 1, 50 do
  480. swait()
  481. tecks2.Text = text
  482. tecks3.Text = text
  483. modet.TextTransparency = modet.TextTransparency - .02
  484. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  485. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  486. tecks2.TextTransparency = tecks2.TextTransparency + .04
  487. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  488. tecks3.TextTransparency = tecks2.TextTransparency + .04
  489. end
  490. end
  491. modet.TextTransparency = 0
  492. modet.TextStrokeTransparency = 0
  493. if toggleTag == false then
  494. modet.TextTransparency = 1
  495. modet.TextStrokeTransparency = 1
  496. end
  497. naeeym2:Destroy()
  498. end)
  499. chat()
  500. end
  501.  
  502. function bosschatfunc(text,color,watval)
  503. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  504. coroutine.resume(coroutine.create(function()
  505. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  506. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  507. end
  508. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  509. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  510. scrg.Name = "Dialog"
  511. local txtlb = Instance.new("TextLabel",scrg)
  512. txtlb.Text = ""
  513. txtlb.Font = "Bodoni"
  514. txtlb.TextColor3 = Color3.new(0,0,0)
  515. txtlb.TextStrokeTransparency = 0
  516. txtlb.BackgroundTransparency = 0.75
  517. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  518. txtlb.TextStrokeColor3 = color
  519. txtlb.TextScaled = true
  520. txtlb.Size = UDim2.new(1,0,0.25,0)
  521. txtlb.TextXAlignment = "Left"
  522. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  523. local txtlb2 = Instance.new("TextLabel",scrg)
  524. txtlb2.Text = plr.Name.." The Child:"
  525. txtlb2.Font = "Arcade"
  526. txtlb2.TextColor3 = Color3.new(0,0,0)
  527. txtlb2.TextStrokeTransparency = 0
  528. txtlb2.BackgroundTransparency = 1
  529. txtlb2.TextStrokeColor3 = color
  530. txtlb2.TextSize = 40
  531. txtlb2.Size = UDim2.new(1,0,0.25,0)
  532. txtlb2.TextXAlignment = "Left"
  533. txtlb2.Position = UDim2.new(0,0,1,0)
  534. local fvalen = 0.55
  535. local fval = -0.49
  536. coroutine.resume(coroutine.create(function()
  537. while true do
  538. swait()
  539. if chaosmode == true then
  540. txtlb.Rotation = math.random(-1,1)
  541. txtlb2.Rotation = math.random(-1,1)
  542. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  543. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  544. txtlb.TextStrokeColor3 = BrickColor.random().Color
  545. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  546. end
  547. end
  548. end))
  549. coroutine.resume(coroutine.create(function()
  550. while true do
  551. swait()
  552. if scrg.Parent ~= nil then
  553. fvalen = fvalen - 0.0001
  554. elseif scrg.Parent == nil then
  555. break
  556. end
  557. end
  558. end))
  559. local flol = 1.75
  560. local flil = 1.6
  561. coroutine.resume(coroutine.create(function()
  562. for i = 0, 9 do
  563. swait()
  564. fval = fval + 0.05
  565. flol = flol - 0.1
  566. flil = flil - 0.1
  567. txtlb.Text = ""
  568. txtlb.Position = UDim2.new(0,0,flol,0)
  569. txtlb2.Position = UDim2.new(0,0,flil,0)
  570. end
  571. txtlb.Text = text
  572. wait(watval)
  573. local valinc = 0
  574. for i = 0, 99 do
  575. swait()
  576. valinc = valinc + 0.0001
  577. flol = flol + valinc
  578. flil = flil + valinc
  579. txtlb.Rotation = txtlb.Rotation + valinc*20
  580. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  581. txtlb.Position = UDim2.new(0,0,flol,0)
  582. txtlb2.Position = UDim2.new(0,0,flil,0)
  583. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  584. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  585. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  586. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  587. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  588. end
  589. scrg:Destroy()
  590. end))
  591. end))
  592. end
  593. end
  594.  
  595.  
  596. CFuncs = {
  597. ["Part"] = {
  598. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  599. local Part = Create("Part"){
  600. Parent = Parent,
  601. Reflectance = Reflectance,
  602. Transparency = Transparency,
  603. CanCollide = false,
  604. Locked = true,
  605. BrickColor = BrickColor.new(tostring(BColor)),
  606. Name = Name,
  607. Size = Size,
  608. Material = Material,
  609. }
  610. RemoveOutlines(Part)
  611. return Part
  612. end;
  613. };
  614.  
  615. ["Mesh"] = {
  616. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  617. local Msh = Create(Mesh){
  618. Parent = Part,
  619. Offset = OffSet,
  620. Scale = Scale,
  621. }
  622. if Mesh == "SpecialMesh" then
  623. Msh.MeshType = MeshType
  624. Msh.MeshId = MeshId
  625. end
  626. return Msh
  627. end;
  628. };
  629.  
  630. ["Mesh"] = {
  631. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  632. local Msh = Create(Mesh){
  633. Parent = Part,
  634. Offset = OffSet,
  635. Scale = Scale,
  636. }
  637. if Mesh == "SpecialMesh" then
  638. Msh.MeshType = MeshType
  639. Msh.MeshId = MeshId
  640. end
  641. return Msh
  642. end;
  643. };
  644.  
  645. ["Weld"] = {
  646. Create = function(Parent, Part0, Part1, C0, C1)
  647. local Weld = Create("Weld"){
  648. Parent = Parent,
  649. Part0 = Part0,
  650. Part1 = Part1,
  651. C0 = C0,
  652. C1 = C1,
  653. }
  654. return Weld
  655. end;
  656. };
  657.  
  658. ["Sound"] = {
  659. Create = function(id, par, vol, pit)
  660. coroutine.resume(coroutine.create(function()
  661. local S = Create("Sound"){
  662. Volume = vol,
  663. Name = "EffectSoundo",
  664. Pitch = pit or 1,
  665. SoundId = id,
  666. Parent = par or workspace,
  667. }
  668. wait()
  669. S:play()
  670. game:GetService("Debris"):AddItem(S, 10)
  671. end))
  672. end;
  673. };
  674.  
  675. ["TimeSound"] = {
  676. Create = function(id, par, vol, pit, timepos)
  677. coroutine.resume(coroutine.create(function()
  678. local S = Create("Sound"){
  679. Volume = vol,
  680. Name = "EffectSoundo",
  681. Pitch = pit or 1,
  682. SoundId = id,
  683. TimePosition = timepos,
  684. Parent = par or workspace,
  685. }
  686. wait()
  687. S:play()
  688. game:GetService("Debris"):AddItem(S, 10)
  689. end))
  690. end;
  691. };
  692. ["EchoSound"] = {
  693. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  694. coroutine.resume(coroutine.create(function()
  695. local Sas = Create("Sound"){
  696. Volume = vol,
  697. Name = "EffectSoundo",
  698. Pitch = pit or 1,
  699. SoundId = id,
  700. TimePosition = timepos,
  701. Parent = par or workspace,
  702. }
  703. local E = Create("EchoSoundEffect"){
  704. Delay = echodelay,
  705. Name = "Echo",
  706. Feedback = fedb,
  707. DryLevel = dryl,
  708. Parent = Sas,
  709. }
  710. wait()
  711. Sas:play()
  712. game:GetService("Debris"):AddItem(Sas, delays)
  713. end))
  714. end;
  715. };
  716.  
  717. ["LongSound"] = {
  718. Create = function(id, par, vol, pit)
  719. coroutine.resume(coroutine.create(function()
  720. local S = Create("Sound"){
  721. Volume = vol,
  722. Pitch = pit or 1,
  723. SoundId = id,
  724. Parent = par or workspace,
  725. }
  726. wait()
  727. S:play()
  728. game:GetService("Debris"):AddItem(S, 60)
  729. end))
  730. end;
  731. };
  732.  
  733. ["ParticleEmitter"] = {
  734. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  735. local fp = Create("ParticleEmitter"){
  736. Parent = Parent,
  737. Color = ColorSequence.new(Color1, Color2),
  738. LightEmission = LightEmission,
  739. Size = Size,
  740. Texture = Texture,
  741. Transparency = Transparency,
  742. ZOffset = ZOffset,
  743. Acceleration = Accel,
  744. Drag = Drag,
  745. LockedToPart = LockedToPart,
  746. VelocityInheritance = VelocityInheritance,
  747. EmissionDirection = EmissionDirection,
  748. Enabled = Enabled,
  749. Lifetime = LifeTime,
  750. Rate = Rate,
  751. Rotation = Rotation,
  752. RotSpeed = RotSpeed,
  753. Speed = Speed,
  754. VelocitySpread = VelocitySpread,
  755. }
  756. return fp
  757. end;
  758. };
  759.  
  760. CreateTemplate = {
  761.  
  762. };
  763. }
  764.  
  765.  
  766.  
  767. New = function(Object, Parent, Name, Data)
  768. local Object = Instance.new(Object)
  769. for Index, Value in pairs(Data or {}) do
  770. Object[Index] = Value
  771. end
  772. Object.Parent = Parent
  773. Object.Name = Name
  774. return Object
  775. end
  776. local halocolor = BrickColor.new("Pastel light blue")
  777. local halocolor2 = BrickColor.new("Cool yellow")
  778. local starcolor = BrickColor.new("Bright yellow")
  779. local lunacolor = BrickColor.new("Navy blue")
  780. local lunacolor2 = BrickColor.new("Bright blue")
  781. local wepcolor = BrickColor.new("Really black")
  782. local maincolor = BrickColor.new("Really black")
  783. local m = Instance.new("Model",char)
  784. local m2 = Instance.new("Model",char)
  785. local m3 = Instance.new("Model",char)
  786. local mw1 = Instance.new("Model",char)
  787. local mw2 = Instance.new("Model",char)
  788.  
  789.  
  790. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  791. local gui = it(GuiType)
  792. gui.Parent = parent
  793. gui.Text = text
  794. gui.BackgroundTransparency = backtrans
  795. gui.BackgroundColor3 = backcol
  796. gui.SizeConstraint = "RelativeXY"
  797. gui.TextXAlignment = "Center"
  798. gui.TextYAlignment = "Center"
  799. gui.Position = pos
  800. gui.Size = size
  801. gui.Font = "SourceSans"
  802. gui.FontSize = "Size14"
  803. gui.TextWrapped = false
  804. gui.TextStrokeTransparency = 0
  805. gui.TextColor = BrickColor.new("White")
  806. return gui
  807. end
  808. --------------------------- GUI STUFF
  809. local basgui = it("GuiMain")
  810. basgui.Parent = plr.PlayerGui
  811. basgui.Name = "VISgui"
  812. local fullscreenz = it("Frame")
  813. fullscreenz.Parent = basgui
  814. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  815. fullscreenz.BackgroundTransparency = 1
  816. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  817. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  818. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  819. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  820. imgl2.BackgroundTransparency = 1
  821. imgl2.BorderSizePixel = 0
  822. imgl2.ImageTransparency = 0.5
  823. imgl2.ImageColor3 = Color3.new(1,0,0)
  824. imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
  825. imgl2.Size = UDim2.new(0,1000,0,1000)
  826. imgl2.Image = "rbxassetid://2325939897"
  827. local techc = imgl2:Clone()
  828. techc.Parent = fullscreenz
  829. techc.ImageTransparency = 0
  830. techc.Size = UDim2.new(0,900,0,900)
  831. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  832. techc.ImageColor3 = Color3.new(1,0,0)
  833. techc.Image = "rbxassetid://2273224484"
  834. local circl = imgl2:Clone()
  835. circl.Parent = fullscreenz
  836. circl.ImageTransparency = 0
  837. circl.Size = UDim2.new(0,550,0,550)
  838. circl.Position = UDim2.new(0.75,25,0.55,25)
  839. circl.ImageColor3 = Color3.new(0,0,0)
  840. circl.Image = "rbxassetid://2312119891"
  841. local circl2 = imgl2:Clone()
  842. circl2.Parent = fullscreenz
  843. circl2.ImageTransparency = 0
  844. circl2.Size = UDim2.new(0,700,0,700)
  845. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  846. circl2.ImageColor3 = Color3.new(1,0,0)
  847. circl2.Image = "rbxassetid://2312119891"
  848. local imgl2b = imgl2:Clone()
  849. imgl2b.Parent = fullscreenz
  850. imgl2b.ImageTransparency = 0
  851. imgl2b.Size = UDim2.new(0,800,0,800)
  852. imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
  853. imgl2b.ImageColor3 = Color3.new(0,0,0)
  854. local ned = Instance.new("TextLabel",fullscreenz)
  855. ned.ZIndex = 2
  856. ned.Font = "Arcade"
  857. ned.BackgroundTransparency = 1
  858. ned.BorderSizePixel = 0.65
  859. ned.Size = UDim2.new(0.3,0,0.2,0)
  860. ned.Position = UDim2.new(0.7,0,0.8,0)
  861. ned.TextColor3 = BrickColor.new("Bright green").Color
  862. ned.TextStrokeColor3 = BrickColor.new("Really black").Color
  863. ned.TextScaled = true
  864. ned.TextStrokeTransparency = 0
  865. ned.Text = "GLITCHER"
  866. ned.TextSize = 24
  867. ned.Rotation = 1
  868. ned.TextXAlignment = "Right"
  869. ned.TextYAlignment = "Bottom"
  870.  
  871. local extrawingmod1 = Instance.new("Model",char)
  872. local extrawingmod2 = Instance.new("Model",char)
  873.  
  874. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  875. local p = Instance.new("Part")
  876. p.TopSurface = 0
  877. p.BottomSurface = 0
  878. p.Parent = parent
  879. p.Size = Vector3.new(0.1,0.1,0.1)
  880. p.Transparency = transparency
  881. p.Reflectance = reflectance
  882. p.CanCollide = false
  883. p.Locked = true
  884. p.BrickColor = brickcolor
  885. p.Material = material
  886. return p
  887. end
  888.  
  889. function CreateMesh(parent,meshtype,x1,y1,z1)
  890. local mesh = Instance.new("SpecialMesh",parent)
  891. mesh.MeshType = meshtype
  892. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  893. return mesh
  894. end
  895.  
  896. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  897. local mesh = Instance.new("SpecialMesh",parent)
  898. mesh.MeshType = "FileMesh"
  899. mesh.MeshId = meshid
  900. mesh.Scale = Vector3.new(x1,y1,z1)
  901. return mesh
  902. end
  903.  
  904.  
  905. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  906. local mesh = Instance.new("SpecialMesh",parent)
  907. mesh.MeshType = "FileMesh"
  908. mesh.MeshId = meshid
  909. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  910. mesh.Scale = Vector3.new(x1,y1,z1)
  911. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  912. return mesh
  913. end
  914.  
  915. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  916. local weld = Instance.new("Weld")
  917. weld.Parent = parent
  918. weld.Part0 = part0
  919. weld.Part1 = part1
  920. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  921. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  922. return weld
  923. end
  924.  
  925.  
  926. --------------
  927. --------------
  928. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  929. 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))
  930. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  931. 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))
  932.  
  933. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  934. CreateMesh(handle,"Brick",0,0,0)
  935. 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))
  936. local valuaring = 10
  937. for i = 0, 49 do
  938. valuaring = valuaring + 10
  939. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  940. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  941. 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))
  942. end
  943.  
  944. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  945. CreateMesh(handle,"Brick",0,0,0)
  946. 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))
  947. local valuaring = 10
  948. for i = 0, 49 do
  949. valuaring = valuaring + 10
  950. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  951. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  952. 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))
  953. end
  954.  
  955.  
  956. local handle = CreateParta(m,1,1,"Neon",maincolor)
  957. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  958. 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))
  959.  
  960. --- Left wing.
  961.  
  962. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  963. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  964. 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))
  965.  
  966. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  967. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  968. 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))
  969. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  970. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  971. 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))
  972. A0 = Instance.new('Attachment',wed)
  973. A0.Position = vt(0,0.25,0.25)
  974. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  975. CreateMesh(wed,"Wedge",0.05,0.5,3)
  976. 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))
  977. A1 = Instance.new('Attachment',wed)
  978. A1.Position = vt(0,-0.25,-2)
  979. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  980. CreateMesh(wed,"Wedge",0.05,3,0.5)
  981. 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))
  982.  
  983. tl1 = Instance.new('Trail',wed)
  984. tl1.Attachment0 = A1
  985. tl1.Attachment1 = A0
  986. tl1.Texture = "rbxassetid://2108945559"
  987. tl1.LightEmission = 1
  988. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  989. tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  990. tl1.Lifetime = 0.6
  991.  
  992.  
  993. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  994. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  995. 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))
  996.  
  997. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  998. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  999. 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))
  1000. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1001. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1002. 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))
  1003. A0 = Instance.new('Attachment',wed)
  1004. A0.Position = vt(0,0.25,0.25)
  1005. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1006. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1007. 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))
  1008. A1 = Instance.new('Attachment',wed)
  1009. A1.Position = vt(0,-0.25,-2)
  1010. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1011. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1012. 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))
  1013.  
  1014. tl2 = Instance.new('Trail',wed)
  1015. tl2.Attachment0 = A1
  1016. tl2.Attachment1 = A0
  1017. tl2.Texture = "rbxassetid://2108945559"
  1018. tl2.LightEmission = 1
  1019. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1020. tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1021. tl2.Lifetime = 0.6
  1022.  
  1023. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1024. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1025. 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))
  1026.  
  1027. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1028. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1029. 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))
  1030. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1031. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1032. 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))
  1033. A0 = Instance.new('Attachment',wed)
  1034. A0.Position = vt(0,0.25,0.25)
  1035. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1036. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1037. 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))
  1038. A1 = Instance.new('Attachment',wed)
  1039. A1.Position = vt(0,-0.25,-2)
  1040. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1041. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1042. 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))
  1043.  
  1044. tl3 = Instance.new('Trail',wed)
  1045. tl3.Attachment0 = A1
  1046. tl3.Attachment1 = A0
  1047. tl3.Texture = "rbxassetid://2108945559"
  1048. tl3.LightEmission = 1
  1049. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1050. tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1051. tl3.Lifetime = 0.6
  1052.  
  1053. tl1.Enabled = false
  1054. tl2.Enabled = false
  1055. tl3.Enabled = false
  1056. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1057. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1058. 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))
  1059.  
  1060. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1061. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1062. 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))
  1063. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1064. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1065. 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))
  1066. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1067. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1068. 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))
  1069. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1070. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1071. 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))
  1072.  
  1073. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1074. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1075. 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))
  1076.  
  1077. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1078. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1079. 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))
  1080. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1081. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1082. 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))
  1083. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1084. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1085. 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))
  1086. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1087. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1088. 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))
  1089.  
  1090. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1091. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1092. 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))
  1093.  
  1094. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1095. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1096. 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))
  1097. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1098. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1099. 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))
  1100. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1101. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1102. 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))
  1103. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1104. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1105. 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))
  1106.  
  1107. -- Right wing.
  1108.  
  1109. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1110. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1111. 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))
  1112.  
  1113. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1114. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1115. 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))
  1116. A0 = Instance.new('Attachment',wed)
  1117. A0.Position = vt(0,0.25,0.25)
  1118. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1119. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1120. 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))
  1121. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1122. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1123. 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))
  1124. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1125. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1126. 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))
  1127. A1 = Instance.new('Attachment',wed)
  1128. A1.Position = vt(0,2,0.25)
  1129.  
  1130. tr1 = Instance.new('Trail',wed)
  1131. tr1.Attachment0 = A1
  1132. tr1.Attachment1 = A0
  1133. tr1.Texture = "rbxassetid://2108945559"
  1134. tr1.LightEmission = 1
  1135. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1136. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1137. tr1.Lifetime = 0.6
  1138.  
  1139. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1140. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1141. 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))
  1142.  
  1143. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1144. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1145. 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))
  1146. A0 = Instance.new('Attachment',wed)
  1147. A0.Position = vt(0,0.25,0.25)
  1148. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1149. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1150. 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))
  1151. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1152. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1153. 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))
  1154. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1155. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1156. 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))
  1157. A1 = Instance.new('Attachment',wed)
  1158. A1.Position = vt(0,2,0.25)
  1159.  
  1160. tr2 = Instance.new('Trail',wed)
  1161. tr2.Attachment0 = A1
  1162. tr2.Attachment1 = A0
  1163. tr2.Texture = "rbxassetid://2108945559"
  1164. tr2.LightEmission = 1
  1165. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1166. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1167. tr2.Lifetime = 0.6
  1168.  
  1169. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1170. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1171. 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))
  1172.  
  1173. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1174. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1175. 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))
  1176. A0 = Instance.new('Attachment',wed)
  1177. A0.Position = vt(0,0.25,0.25)
  1178. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1179. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1180. 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))
  1181. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1182. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1183. 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))
  1184. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1185. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1186. 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))
  1187. A1 = Instance.new('Attachment',wed)
  1188. A1.Position = vt(0,2,0.25)
  1189.  
  1190. tr3 = Instance.new('Trail',wed)
  1191. tr3.Attachment0 = A1
  1192. tr3.Attachment1 = A0
  1193. tr3.Texture = "rbxassetid://2108945559"
  1194. tr3.LightEmission = 1
  1195. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1196. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1197. tr3.Lifetime = 0.6
  1198.  
  1199.  
  1200. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1201. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1202. 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))
  1203.  
  1204. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1205. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1206. 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))
  1207. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1208. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1209. 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))
  1210. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1211. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1212. 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))
  1213. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1214. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1215. 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))
  1216.  
  1217. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1218. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1219. 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))
  1220.  
  1221. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1222. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1223. 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))
  1224. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1225. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1226. 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))
  1227. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1228. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1229. 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))
  1230. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1231. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1232. 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))
  1233.  
  1234. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1235. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1236. 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))
  1237.  
  1238. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1239. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1240. 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))
  1241. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1242. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1243. 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))
  1244. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1245. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1246. 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))
  1247. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1248. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1249. 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))
  1250.  
  1251. --HERES THE RING
  1252.  
  1253.  
  1254. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1255. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1256. 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))
  1257. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1258. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1259. 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))
  1260. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1261. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1262. 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))
  1263.  
  1264.  
  1265. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1266. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1267. 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))
  1268.  
  1269. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1270. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1271. 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))
  1272.  
  1273.  
  1274.  
  1275. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1276. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1277. 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))
  1278.  
  1279. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1280. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1281. 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))
  1282.  
  1283. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1284. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1285. 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))
  1286.  
  1287. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1288. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1289. 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))
  1290. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1291. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1292. 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))]]--
  1293.  
  1294. --- second ring
  1295.  
  1296.  
  1297. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1298. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1299. 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))
  1300.  
  1301. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1302. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1303. 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))
  1304.  
  1305.  
  1306.  
  1307. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1308. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1309. 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))
  1310.  
  1311. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1312. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1313. 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))
  1314.  
  1315. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1316. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1317. 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))
  1318.  
  1319. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1320. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1321. 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))
  1322. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1323. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1324. 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))
  1325.  
  1326.  
  1327.  
  1328. for i, v in pairs(m:GetChildren()) do
  1329. if v:IsA("Part") then
  1330. v.BrickColor = BrickColor.new("Really black")
  1331. v.Material = "Glass"
  1332. end
  1333. end
  1334. for i, v in pairs(m2:GetChildren()) do
  1335. if v:IsA("Part") then
  1336. v.BrickColor = BrickColor.new("Crimson")
  1337. v.Material = "Granite"
  1338. end
  1339. end
  1340. for i, v in pairs(m3:GetChildren()) do
  1341. if v:IsA("Part") then
  1342. v.BrickColor = BrickColor.new("Really red")
  1343. v.Material = "Neon"
  1344. end
  1345. end
  1346. for i, v in pairs(mw2:GetChildren()) do
  1347. if v:IsA("Part") then
  1348. v.BrickColor = BrickColor.new("Really red")
  1349. v.Material = "Neon"
  1350. end
  1351. end
  1352. for i, v in pairs(mw1:GetChildren()) do
  1353. if v:IsA("Part") then
  1354. v.Transparency = 1
  1355. v.BrickColor = BrickColor.new("Really red")
  1356. v.Material = "Neon"
  1357. end
  1358. end
  1359. for i, v in pairs(extrawingmod1:GetChildren()) do
  1360. if v:IsA("Part") then
  1361. v.Transparency = 1
  1362. v.BrickColor = BrickColor.new("White")
  1363. v.Material = "Neon"
  1364. end
  1365. end
  1366. for i, v in pairs(extrawingmod2:GetChildren()) do
  1367. if v:IsA("Part") then
  1368. v.Transparency = 1
  1369. v.BrickColor = BrickColor.new("White")
  1370. v.Material = "Neon"
  1371. end
  1372. end
  1373. local MAINRUINCOLOR = BrickColor.new("Really red")
  1374. ------
  1375.  
  1376.  
  1377. function RemoveOutlines(part)
  1378. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1379. end
  1380. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1381. local Part = Create("Part")({
  1382. Parent = Parent,
  1383. Reflectance = Reflectance,
  1384. Transparency = Transparency,
  1385. CanCollide = false,
  1386. Locked = true,
  1387. BrickColor = BrickColor.new(tostring(BColor)),
  1388. Name = Name,
  1389. Size = Size,
  1390. Material = Material
  1391. })
  1392. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1393. RemoveOutlines(Part)
  1394. return Part
  1395. end
  1396. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1397. local Msh = Create(Mesh)({
  1398. Parent = Part,
  1399. Offset = OffSet,
  1400. Scale = Scale
  1401. })
  1402. if Mesh == "SpecialMesh" then
  1403. Msh.MeshType = MeshType
  1404. Msh.MeshId = MeshId
  1405. end
  1406. return Msh
  1407. end
  1408. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1409. local Weld = Create("Weld")({
  1410. Parent = Parent,
  1411. Part0 = Part0,
  1412. Part1 = Part1,
  1413. C0 = C0,
  1414. C1 = C1
  1415. })
  1416. return Weld
  1417. end
  1418.  
  1419. Player = plr
  1420. Character=Player.Character
  1421. PlayerGui=Player.PlayerGui
  1422. Backpack=Player.Backpack
  1423. Torso=Character.Torso
  1424. Head=Character.Head
  1425. Humanoid=Character.Humanoid
  1426. m=Instance.new('Model',Character)
  1427. LeftArm=Character["Left Arm"]
  1428. LeftLeg=Character["Left Leg"]
  1429. RightArm=Character["Right Arm"]
  1430. RightLeg=Character["Right Leg"]
  1431. LS=Torso["Left Shoulder"]
  1432. LH=Torso["Left Hip"]
  1433. RS=Torso["Right Shoulder"]
  1434. RH=Torso["Right Hip"]
  1435. Face = Head.face
  1436. Neck=Torso.Neck
  1437. it=Instance.new
  1438. attacktype=1
  1439. vt=Vector3.new
  1440. cf=CFrame.new
  1441. euler=CFrame.fromEulerAnglesXYZ
  1442. angles=CFrame.Angles
  1443. cloaked=false
  1444. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1445. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1446. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1447. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1448. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1449. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1450. RootPart=Character.HumanoidRootPart
  1451. RootJoint=RootPart.RootJoint
  1452. RootCF=euler(-1.57,0,3.14)
  1453. attack = false
  1454. attackdebounce = false
  1455. deb=false
  1456. equipped=true
  1457. hand=false
  1458. combo=0
  1459. mana=0
  1460. trispeed=.2
  1461. attackmode='none'
  1462. local idle=0
  1463. local Anim="Idle"
  1464. local Effects={}
  1465. local gun=false
  1466. local shoot=false
  1467. local sine = 0
  1468. local change = 1
  1469.  
  1470. function RecolorTextAndRename(name,col1,col2,font)
  1471. modet.TextStrokeColor3 = col2
  1472. modet.TextColor3 = col1
  1473. modet.Font = font
  1474. modet.Text = name
  1475. techc.ImageColor3 = col2
  1476. circl.ImageColor3 = col2
  1477. circl2.ImageColor3 = col1
  1478. imgl2.ImageColor3 = col1
  1479. imgl2b.ImageColor3 = col2
  1480. ned.Text = name
  1481. ned.TextColor3 = col1
  1482. ned.TextStrokeColor3 = col2
  1483. end
  1484. --save shoulders
  1485. RSH, LSH=nil, nil
  1486. --welds
  1487. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1488. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1489. LH=Torso["Left Hip"]
  1490. RH=Torso["Right Hip"]
  1491. TorsoColor=Torso.BrickColor
  1492. function NoOutline(Part)
  1493. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1494. end
  1495. ch=Character
  1496. RSH=ch.Torso["Right Shoulder"]
  1497. LSH=ch.Torso["Left Shoulder"]
  1498. --
  1499. RSH.Parent=nil
  1500. LSH.Parent=nil
  1501. --
  1502. RW.Name="Right Shoulder"
  1503. RW.Part0=ch.Torso
  1504. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1505. RW.C1=cf(0, 0.5, 0)
  1506. RW.Part1=ch["Right Arm"]
  1507. RW.Parent=ch.Torso
  1508. --
  1509. LW.Name="Left Shoulder"
  1510. LW.Part0=ch.Torso
  1511. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1512. LW.C1=cf(0, 0.5, 0)
  1513. LW.Part1=ch["Left Arm"]
  1514. LW.Parent=ch.Torso
  1515.  
  1516. local Stats=Instance.new("BoolValue")
  1517. Stats.Name="Stats"
  1518. Stats.Parent=Character
  1519. local Atk=Instance.new("NumberValue")
  1520. Atk.Name="Damage"
  1521. Atk.Parent=Stats
  1522. Atk.Value=1
  1523. local Def=Instance.new("NumberValue")
  1524. Def.Name="Defense"
  1525. Def.Parent=Stats
  1526. Def.Value=1
  1527. local Speed=Instance.new("NumberValue")
  1528. Speed.Name="Speed"
  1529. Speed.Parent=Stats
  1530. Speed.Value=1
  1531. local Mvmt=Instance.new("NumberValue")
  1532. Mvmt.Name="Movement"
  1533. Mvmt.Parent=Stats
  1534. Mvmt.Value=1
  1535.  
  1536. local donum=0
  1537. local ast = {744586075,385254610}
  1538.  
  1539. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1540. local fp=it("Part")
  1541. fp.formFactor=formfactor
  1542. fp.Parent=parent
  1543. fp.Reflectance=reflectance
  1544. fp.Transparency=transparency
  1545. fp.CanCollide=false
  1546. fp.Locked=true
  1547. fp.BrickColor=brickcolor
  1548. fp.Name=name
  1549. fp.Size=size
  1550. fp.Position=Torso.Position
  1551. NoOutline(fp)
  1552. fp.Material="SmoothPlastic"
  1553. fp:BreakJoints()
  1554. return fp
  1555. end
  1556.  
  1557. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1558. local mesh=it(Mesh)
  1559. mesh.Parent=part
  1560. if Mesh=="SpecialMesh" then
  1561. mesh.MeshType=meshtype
  1562. if meshid~="nil" then
  1563. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1564. end
  1565. end
  1566. mesh.Offset=offset
  1567. mesh.Scale=scale
  1568. return mesh
  1569. end
  1570.  
  1571. function weld(parent,part0,part1,c0)
  1572. local weld=it("Weld")
  1573. weld.Parent=parent
  1574. weld.Part0=part0
  1575. weld.Part1=part1
  1576. weld.C0=c0
  1577. return weld
  1578. end
  1579.  
  1580. local Color1=Torso.BrickColor
  1581.  
  1582. local bodvel=Instance.new("BodyVelocity")
  1583. local bg=Instance.new("BodyGyro")
  1584.  
  1585. --------- SazEreno's Artificial HB --------------
  1586. ArtificialHB = Instance.new("BindableEvent", script)
  1587. ArtificialHB.Name = "ArtificialHB"
  1588.  
  1589. script:WaitForChild("ArtificialHB")
  1590. Frame_Speed = 1 / 60
  1591. frame = Frame_Speed
  1592. tf = 0
  1593. allowframeloss = false
  1594. tossremainder = false
  1595. lastframe = tick()
  1596. script.ArtificialHB:Fire()
  1597.  
  1598. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1599. tf = tf + s
  1600. if tf >= frame then
  1601. if allowframeloss then
  1602. script.ArtificialHB:Fire()
  1603. lastframe = tick()
  1604. else
  1605. for i = 1, math.floor(tf / frame) do
  1606. script.ArtificialHB:Fire()
  1607. end
  1608. lastframe = tick()
  1609. end
  1610. if tossremainder then
  1611. tf = 0
  1612. else
  1613. tf = tf - frame * math.floor(tf / frame)
  1614. end
  1615. end
  1616. end)
  1617.  
  1618. ------------------
  1619. function swait(num)
  1620. if num == 0 or num == nil then
  1621. ArtificialHB.Event:wait()
  1622. else
  1623. for i = 1, num do
  1624. ArtificialHB.Event:wait()
  1625. end
  1626. end
  1627. end
  1628. -------- RAINBOW LEAVE IT TO ME
  1629. local r = 255
  1630. local g = 0
  1631. local b = 0
  1632. coroutine.resume(coroutine.create(function()
  1633. while wait() do
  1634. for i = 0, 254/5 do
  1635. swait()
  1636. g = g + 5
  1637. end
  1638. for i = 0, 254/5 do
  1639. swait()
  1640. r = r - 5
  1641. end
  1642. for i = 0, 254/5 do
  1643. swait()
  1644. b = b + 5
  1645. end
  1646. for i = 0, 254/5 do
  1647. swait()
  1648. g = g - 5
  1649. end
  1650. for i = 0, 254/5 do
  1651. swait()
  1652. r = r + 5
  1653. end
  1654. for i = 0, 254/5 do
  1655. swait()
  1656. b = b - 5
  1657. end
  1658. end
  1659. end))
  1660.  
  1661.  
  1662. so = function(id,par,vol,pit)
  1663. coroutine.resume(coroutine.create(function()
  1664. local sou = Instance.new("Sound",par or workspace)
  1665. sou.Volume=vol
  1666. sou.Pitch=pit or 1
  1667. sou.SoundId=id
  1668. swait()
  1669. sou:play()
  1670. game:GetService("Debris"):AddItem(sou,6)
  1671. end))
  1672. end
  1673.  
  1674. function clerp(a,b,t)
  1675. local qa = {QuaternionFromCFrame(a)}
  1676. local qb = {QuaternionFromCFrame(b)}
  1677. local ax, ay, az = a.x, a.y, a.z
  1678. local bx, by, bz = b.x, b.y, b.z
  1679. local _t = 1-t
  1680. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1681. end
  1682.  
  1683. function QuaternionFromCFrame(cf)
  1684. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1685. local trace = m00 + m11 + m22
  1686. if trace > 0 then
  1687. local s = math.sqrt(1 + trace)
  1688. local recip = 0.5/s
  1689. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1690. else
  1691. local i = 0
  1692. if m11 > m00 then
  1693. i = 1
  1694. end
  1695. if m22 > (i == 0 and m00 or m11) then
  1696. i = 2
  1697. end
  1698. if i == 0 then
  1699. local s = math.sqrt(m00-m11-m22+1)
  1700. local recip = 0.5/s
  1701. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1702. elseif i == 1 then
  1703. local s = math.sqrt(m11-m22-m00+1)
  1704. local recip = 0.5/s
  1705. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1706. elseif i == 2 then
  1707. local s = math.sqrt(m22-m00-m11+1)
  1708. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1709. end
  1710. end
  1711. end
  1712.  
  1713. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1714. local xs, ys, zs = x + x, y + y, z + z
  1715. local wx, wy, wz = w*xs, w*ys, w*zs
  1716. local xx = x*xs
  1717. local xy = x*ys
  1718. local xz = x*zs
  1719. local yy = y*ys
  1720. local yz = y*zs
  1721. local zz = z*zs
  1722. 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))
  1723. end
  1724.  
  1725. function QuaternionSlerp(a, b, t)
  1726. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1727. local startInterp, finishInterp;
  1728. if cosTheta >= 0.0001 then
  1729. if (1 - cosTheta) > 0.0001 then
  1730. local theta = math.acos(cosTheta)
  1731. local invSinTheta = 1/math.sin(theta)
  1732. startInterp = math.sin((1-t)*theta)*invSinTheta
  1733. finishInterp = math.sin(t*theta)*invSinTheta
  1734. else
  1735. startInterp = 1-t
  1736. finishInterp = t
  1737. end
  1738. else
  1739. if (1+cosTheta) > 0.0001 then
  1740. local theta = math.acos(-cosTheta)
  1741. local invSinTheta = 1/math.sin(theta)
  1742. startInterp = math.sin((t-1)*theta)*invSinTheta
  1743. finishInterp = math.sin(t*theta)*invSinTheta
  1744. else
  1745. startInterp = t-1
  1746. finishInterp = t
  1747. end
  1748. end
  1749. 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
  1750. end
  1751.  
  1752. local function CFrameFromTopBack(at, top, back)
  1753. local right = top:Cross(back)
  1754. return CFrame.new(at.x, at.y, at.z,
  1755. right.x, top.x, back.x,
  1756. right.y, top.y, back.y,
  1757. right.z, top.z, back.z)
  1758. end
  1759.  
  1760. function Triangle(a, b, c)
  1761. local edg1 = (c-a):Dot((b-a).unit)
  1762. local edg2 = (a-b):Dot((c-b).unit)
  1763. local edg3 = (b-c):Dot((a-c).unit)
  1764. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1765. a, b, c = a, b, c
  1766. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1767. a, b, c = b, c, a
  1768. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1769. a, b, c = c, a, b
  1770. else
  1771. assert(false, "unreachable")
  1772. end
  1773.  
  1774. local len1 = (c-a):Dot((b-a).unit)
  1775. local len2 = (b-a).magnitude - len1
  1776. local width = (a + (b-a).unit*len1 - c).magnitude
  1777.  
  1778. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1779.  
  1780. local list = {}
  1781.  
  1782. if len1 > 0.01 then
  1783. local w1 = Instance.new('WedgePart', m)
  1784. game:GetService("Debris"):AddItem(w1,5)
  1785. w1.Material = "SmoothPlastic"
  1786. w1.FormFactor = 'Custom'
  1787. w1.BrickColor = BrickColor.new("Really red")
  1788. w1.Transparency = 0
  1789. w1.Reflectance = 0
  1790. w1.Material = "SmoothPlastic"
  1791. w1.CanCollide = false
  1792. local l1 = Instance.new("PointLight",w1)
  1793. l1.Color = Color3.new(170,0,0)
  1794. NoOutline(w1)
  1795. local sz = Vector3.new(0.2, width, len1)
  1796. w1.Size = sz
  1797. local sp = Instance.new("SpecialMesh",w1)
  1798. sp.MeshType = "Wedge"
  1799. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1800. w1:BreakJoints()
  1801. w1.Anchored = true
  1802. w1.Parent = workspace
  1803. w1.Transparency = 0.7
  1804. table.insert(Effects,{w1,"Disappear",.01})
  1805. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1806. table.insert(list,w1)
  1807. end
  1808.  
  1809. if len2 > 0.01 then
  1810. local w2 = Instance.new('WedgePart', m)
  1811. game:GetService("Debris"):AddItem(w2,5)
  1812. w2.Material = "SmoothPlastic"
  1813. w2.FormFactor = 'Custom'
  1814. w2.BrickColor = BrickColor.new("Really red")
  1815. w2.Transparency = 0
  1816. w2.Reflectance = 0
  1817. w2.Material = "SmoothPlastic"
  1818. w2.CanCollide = false
  1819. local l2 = Instance.new("PointLight",w2)
  1820. l2.Color = Color3.new(170,0,0)
  1821. NoOutline(w2)
  1822. local sz = Vector3.new(0.2, width, len2)
  1823. w2.Size = sz
  1824. local sp = Instance.new("SpecialMesh",w2)
  1825. sp.MeshType = "Wedge"
  1826. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1827. w2:BreakJoints()
  1828. w2.Anchored = true
  1829. w2.Parent = workspace
  1830. w2.Transparency = 0.7
  1831. table.insert(Effects,{w2,"Disappear",.01})
  1832. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1833. table.insert(list,w2)
  1834. end
  1835. return unpack(list)
  1836. end
  1837.  
  1838.  
  1839. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1840. if hit.Parent == nil then
  1841. return
  1842. end
  1843. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1844. for _, v in pairs(hit.Parent:children()) do
  1845. if v:IsA("Humanoid") then
  1846. h = v
  1847. end
  1848. end
  1849. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1850. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1851. return
  1852. end
  1853. local c = Create("ObjectValue")({
  1854. Name = "creator",
  1855. Value = game:GetService("Players").EzzyCrafts2,
  1856. Parent = h
  1857. })
  1858. game:GetService("Debris"):AddItem(c, 0.5)
  1859. if HitSound ~= nil and HitPitch ~= nil then
  1860. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1861. end
  1862. local Damage = math.random(minim, maxim)
  1863. local blocked = false
  1864. local block = hit.Parent:findFirstChild("Block")
  1865. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1866. blocked = true
  1867. block.Value = block.Value - 1
  1868. print(block.Value)
  1869. end
  1870. if blocked == false then
  1871. HitHealth = h.Health
  1872. h.MaxHealth = 100
  1873. h.Health = h.Health - Damage
  1874. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1875. print("gained kill")
  1876. dmg(h.Parent)
  1877. end
  1878. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1879. else
  1880. h.Health = h.Health - Damage / 2
  1881. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1882. end
  1883. if Type == "Knockdown" then
  1884. local hum = hit.Parent.Humanoid
  1885. hum.PlatformStand = true
  1886. coroutine.resume(coroutine.create(function(HHumanoid)
  1887. swait(1)
  1888. HHumanoid.PlatformStand = false
  1889. end), hum)
  1890. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1891. local bodvol = Create("BodyVelocity")({
  1892. velocity = angle * knockback,
  1893. P = 5000,
  1894. maxForce = Vector3.new(8000, 8000, 8000),
  1895. Parent = hit
  1896. })
  1897. local rl = Create("BodyAngularVelocity")({
  1898. P = 3000,
  1899. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1900. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1901. Parent = hit
  1902. })
  1903. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1904. game:GetService("Debris"):AddItem(rl, 0.5)
  1905. elseif Type == "Normal" then
  1906. local vp = Create("BodyVelocity")({
  1907. P = 500,
  1908. maxForce = Vector3.new(math.huge, 0, math.huge),
  1909. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1910. })
  1911. if knockback > 0 then
  1912. vp.Parent = hit.Parent.Head
  1913. end
  1914. game:GetService("Debris"):AddItem(vp, 0.5)
  1915. elseif Type == "Up" then
  1916. local bodyVelocity = Create("BodyVelocity")({
  1917. velocity = Vector3.new(0, 20, 0),
  1918. P = 5000,
  1919. maxForce = Vector3.new(8000, 8000, 8000),
  1920. Parent = hit
  1921. })
  1922. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1923. local bodyVelocity = Create("BodyVelocity")({
  1924. velocity = Vector3.new(0, 20, 0),
  1925. P = 5000,
  1926. maxForce = Vector3.new(8000, 8000, 8000),
  1927. Parent = hit
  1928. })
  1929. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1930. elseif Type == "Leech" then
  1931. local hum = hit.Parent.Humanoid
  1932. if hum ~= nil then
  1933. for i = 0, 2 do
  1934. 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)
  1935. end
  1936. Humanoid.Health = Humanoid.Health + 10
  1937. end
  1938. elseif Type == "UpKnock" then
  1939. local hum = hit.Parent.Humanoid
  1940. hum.PlatformStand = true
  1941. if hum ~= nil then
  1942. hitr = true
  1943. end
  1944. coroutine.resume(coroutine.create(function(HHumanoid)
  1945. swait(5)
  1946. HHumanoid.PlatformStand = false
  1947. hitr = false
  1948. end), hum)
  1949. local bodyVelocity = Create("BodyVelocity")({
  1950. velocity = Vector3.new(0, 20, 0),
  1951. P = 5000,
  1952. maxForce = Vector3.new(8000, 8000, 8000),
  1953. Parent = hit
  1954. })
  1955. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1956. local bodyVelocity = Create("BodyVelocity")({
  1957. velocity = Vector3.new(0, 20, 0),
  1958. P = 5000,
  1959. maxForce = Vector3.new(8000, 8000, 8000),
  1960. Parent = hit
  1961. })
  1962. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1963. elseif Type == "Snare" then
  1964. local bp = Create("BodyPosition")({
  1965. P = 2000,
  1966. D = 100,
  1967. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1968. position = hit.Parent.Torso.Position,
  1969. Parent = hit.Parent.Torso
  1970. })
  1971. game:GetService("Debris"):AddItem(bp, 1)
  1972. elseif Type == "Slashnare" then
  1973. 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)
  1974. for i = 1, math.random(4, 5) do
  1975. 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)
  1976. end
  1977. local bp = Create("BodyPosition")({
  1978. P = 2000,
  1979. D = 100,
  1980. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1981. position = hit.Parent.Torso.Position,
  1982. Parent = hit.Parent.Torso
  1983. })
  1984. game:GetService("Debris"):AddItem(bp, 1)
  1985. elseif Type == "Spike" then
  1986. --CreateBigIceSword(hit.Parent.Torso.CFrame)
  1987. local bp = Create("BodyPosition")({
  1988. P = 2000,
  1989. D = 100,
  1990. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1991. position = hit.Parent.Torso.Position,
  1992. Parent = hit.Parent.Torso
  1993. })
  1994. game:GetService("Debris"):AddItem(bp, 1)
  1995. elseif Type == "Freeze" then
  1996. local BodPos = Create("BodyPosition")({
  1997. P = 50000,
  1998. D = 1000,
  1999. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2000. position = hit.Parent.Torso.Position,
  2001. Parent = hit.Parent.Torso
  2002. })
  2003. local BodGy = Create("BodyGyro")({
  2004. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  2005. P = 20000,
  2006. Parent = hit.Parent.Torso,
  2007. cframe = hit.Parent.Torso.CFrame
  2008. })
  2009. hit.Parent.Torso.Anchored = true
  2010. coroutine.resume(coroutine.create(function(Part)
  2011. swait(1.5)
  2012. Part.Anchored = false
  2013. end), hit.Parent.Torso)
  2014. game:GetService("Debris"):AddItem(BodPos, 3)
  2015. game:GetService("Debris"):AddItem(BodGy, 3)
  2016. end
  2017. local debounce = Create("BoolValue")({
  2018. Name = "DebounceHit",
  2019. Parent = hit.Parent,
  2020. Value = true
  2021. })
  2022. game:GetService("Debris"):AddItem(debounce, Delay)
  2023. c = Instance.new("ObjectValue")
  2024. c.Name = "creator"
  2025. c.Value = Player
  2026. c.Parent = h
  2027. game:GetService("Debris"):AddItem(c, 0.5)
  2028. end
  2029. end
  2030. function ShowDamage(Pos, Text, Time, Color)
  2031. local Rate = 0.03333333333333333
  2032. local Pos = Pos or Vector3.new(0, 0, 0)
  2033. local Text = Text or ""
  2034. local Time = Time or 2
  2035. local Color = Color or Color3.new(1, 0, 1)
  2036. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2037. EffectPart.Anchored = true
  2038. local BillboardGui = Create("BillboardGui")({
  2039. Size = UDim2.new(3, 0, 3, 0),
  2040. Adornee = EffectPart,
  2041. Parent = EffectPart
  2042. })
  2043. local TextLabel = Create("TextLabel")({
  2044. BackgroundTransparency = 1,
  2045. Size = UDim2.new(1, 0, 1, 0),
  2046. Text = Text,
  2047. TextColor3 = Color,
  2048. TextScaled = true,
  2049. Font = Enum.Font.ArialBold,
  2050. Parent = BillboardGui
  2051. })
  2052. game.Debris:AddItem(EffectPart, Time + 0.1)
  2053. EffectPart.Parent = game:GetService("Workspace")
  2054. delay(0, function()
  2055. local Frames = Time / Rate
  2056. for Frame = 1, Frames do
  2057. wait(Rate)
  2058. local Percent = Frame / Frames
  2059. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2060. TextLabel.TextTransparency = Percent
  2061. end
  2062. if EffectPart and EffectPart.Parent then
  2063. EffectPart:Destroy()
  2064. end
  2065. end)
  2066. end
  2067. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2068. for _, c in pairs(workspace:children()) do
  2069. local hum = c:findFirstChildOfClass("Humanoid")
  2070. if hum ~= nil then
  2071. local head = c:findFirstChild("Head")
  2072. if head ~= nil then
  2073. local targ = head.Position - Part.Position
  2074. local mag = targ.magnitude
  2075. if magni >= mag and c.Name ~= Player.Name then
  2076. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2077. end
  2078. end
  2079. end
  2080. end
  2081. end
  2082.  
  2083. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  2084. for _, c in pairs(workspace:children()) do
  2085. local hum = c:findFirstChild("Humanoid")
  2086. if hum ~= nil then
  2087. local head = c:findFirstChild("Torso")
  2088. if head ~= nil then
  2089. local targ = head.Position - Part.Position
  2090. local mag = targ.magnitude
  2091. if magni >= mag and c.Name ~= Player.Name then
  2092. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2093. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2094. end
  2095. end
  2096. end
  2097. end
  2098. end
  2099.  
  2100. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2101. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2102. end
  2103.  
  2104. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2105. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2106. prt.Anchored=true
  2107. prt.CFrame=cframe
  2108. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2109. --http://www.roblox.com/asset/?id=4770560
  2110. game:GetService("Debris"):AddItem(prt,2)
  2111. CF=prt.CFrame
  2112. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2113. for i=0,1,0.2 do
  2114. wait()
  2115. Part.CFrame=CF*cf(0,0,-0.4)
  2116. end
  2117. for i=0,1,delay do
  2118. wait()
  2119. --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)
  2120. Mesh.Scale=Mesh.Scale
  2121. end
  2122. for i=0,1,0.1 do
  2123. wait()
  2124. Part.Transparency=i
  2125. end
  2126. Part.Parent=nil
  2127. end),prt,msh,CF)
  2128. end
  2129.  
  2130. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2131. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2132. prt.Anchored=true
  2133. prt.Material = "Neon"
  2134. prt.CFrame=cframe
  2135. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2136. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2137. game:GetService("Debris"):AddItem(prt,5)
  2138. coroutine.resume(coroutine.create(function(Part,Mesh)
  2139. for i=0,1,delay do
  2140. swait()
  2141. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2142. Part.Transparency=i
  2143. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2144. end
  2145. Part.Parent=nil
  2146. end),prt,msh)
  2147. end
  2148.  
  2149. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2150. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2151. prt.Anchored=true
  2152. prt.Material = "Neon"
  2153. prt.CFrame=cframe
  2154. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2155. game:GetService("Debris"):AddItem(prt,5)
  2156. coroutine.resume(coroutine.create(function(Part,Mesh)
  2157. local rtype = rottype
  2158. for i=0,1,delay do
  2159. swait()
  2160. if rtype == 1 then
  2161. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2162. elseif rtype == 2 then
  2163. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2164. end
  2165. Part.Transparency=i
  2166. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2167. end
  2168. Part.Parent=nil
  2169. end),prt,msh)
  2170. end
  2171.  
  2172. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2173. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2174. prt.Anchored=true
  2175. prt.CFrame=cframe
  2176. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2177. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2178. game:GetService("Debris"):AddItem(prt,5)
  2179. coroutine.resume(coroutine.create(function(Part,Mesh)
  2180. for i=0,1,delay do
  2181. wait()
  2182. Part.Transparency=i
  2183. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2184. end
  2185. Part.Parent=nil
  2186. end),prt,msh)
  2187. end
  2188.  
  2189. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2190. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2191. prt.Anchored=true
  2192. prt.Material = "Neon"
  2193. prt.CFrame=cframe
  2194. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2195. game:GetService("Debris"):AddItem(prt,5)
  2196. coroutine.resume(coroutine.create(function(Part,Mesh)
  2197. local rtype = rottype
  2198. for i=0,1,delay do
  2199. swait()
  2200. if rtype == 1 then
  2201. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2202. elseif rtype == 2 then
  2203. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2204. end
  2205. Part.Transparency=i
  2206. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2207. end
  2208. Part.Parent=nil
  2209. end),prt,msh)
  2210. end
  2211.  
  2212. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2213. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2214. prt.Anchored=true
  2215. prt.Material = "Neon"
  2216. prt.CFrame=cframe
  2217. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2218. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2219. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2220. game:GetService("Debris"):AddItem(prt,5)
  2221. coroutine.resume(coroutine.create(function(Part,Mesh)
  2222. local rtype = rottype
  2223. for i=0,1,delay do
  2224. swait()
  2225. if rtype == 1 then
  2226. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2227. elseif rtype == 2 then
  2228. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2229. end
  2230. dec.Transparency=i
  2231. dec2.Transparency=i
  2232. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2233. end
  2234. Part.Parent=nil
  2235. end),prt,msh)
  2236. end
  2237.  
  2238. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2239. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2240. prt.Anchored=true
  2241. prt.Material = "Neon"
  2242. prt.CFrame=cframe
  2243. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2244. game:GetService("Debris"):AddItem(prt,5)
  2245. coroutine.resume(coroutine.create(function(Part,Mesh)
  2246. local rtype = rottype
  2247. for i=0,1,delay do
  2248. swait()
  2249. if rtype == 1 then
  2250. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2251. elseif rtype == 2 then
  2252. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2253. end
  2254. prt.Transparency=i
  2255. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2256. end
  2257. Part.Parent=nil
  2258. end),prt,msh)
  2259. end
  2260.  
  2261. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2262. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2263. prt.Anchored=true
  2264. prt.Material = "Neon"
  2265. prt.CFrame=cframe
  2266. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2267. game:GetService("Debris"):AddItem(prt,5)
  2268. coroutine.resume(coroutine.create(function(Part,Mesh)
  2269. local rtype = rottype
  2270. for i=0,1,delay do
  2271. swait()
  2272. if rtype == 1 then
  2273. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2274. elseif rtype == 2 then
  2275. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2276. end
  2277. prt.Transparency=i
  2278. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2279. end
  2280. Part.Parent=nil
  2281. end),prt,msh)
  2282. end
  2283.  
  2284. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2285. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2286. prt.Anchored=true
  2287. prt.Material = "Neon"
  2288. prt.CFrame=cframe
  2289. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2290. game:GetService("Debris"):AddItem(prt,5)
  2291. coroutine.resume(coroutine.create(function(Part,Mesh)
  2292. local rtype = rottype
  2293. for i=0,1,delay do
  2294. swait()
  2295. if rtype == 1 then
  2296. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2297. elseif rtype == 2 then
  2298. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2299. end
  2300. prt.Transparency=i
  2301. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2302. end
  2303. Part.Parent=nil
  2304. end),prt,msh)
  2305. end
  2306.  
  2307. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2308. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2309. prt.Anchored=true
  2310. prt.Material = "Neon"
  2311. prt.CFrame=cframe
  2312. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2313. game:GetService("Debris"):AddItem(prt,5)
  2314. coroutine.resume(coroutine.create(function(Part,Mesh)
  2315. local rtype = rottype
  2316. for i=0,1,delay do
  2317. swait()
  2318. if rtype == 1 then
  2319. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2320. elseif rtype == 2 then
  2321. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2322. end
  2323. prt.Transparency=i
  2324. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2325. end
  2326. Part.Parent=nil
  2327. end),prt,msh)
  2328. end
  2329.  
  2330. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2331. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2332. prt.Anchored=false
  2333. prt.CFrame=cframe
  2334. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2335. local wld=weld(prt,prt,Parent,cframe)
  2336. game:GetService("Debris"):AddItem(prt,5)
  2337. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2338. for i=0,1,delay do
  2339. wait()
  2340. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2341. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2342. Part.Transparency=i
  2343. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2344. end
  2345. Part.Parent=nil
  2346. end),prt,msh,wld)
  2347. end
  2348.  
  2349. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2350. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2351. prt.Anchored=false
  2352. prt.CFrame=cframe
  2353. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2354. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2355. game:GetService("Debris"):AddItem(prt,5)
  2356. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2357. for i=0,1,delay do
  2358. wait()
  2359. Weld.C0=euler(i*20,0,0)
  2360. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2361. Part.Transparency=i
  2362. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2363. end
  2364. Part.Parent=nil
  2365. end),prt,msh,wld)
  2366. end
  2367.  
  2368. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2369. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2370. prt.Anchored=true
  2371. prt.CFrame=cframe
  2372. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2373. game:GetService("Debris"):AddItem(prt,2)
  2374. coroutine.resume(coroutine.create(function(Part,Mesh)
  2375. for i=0,1,delay do
  2376. wait()
  2377. Part.CFrame=Part.CFrame
  2378. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2379. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2380. prt2.Anchored=true
  2381. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2382. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2383. game:GetService("Debris"):AddItem(prt2,2)
  2384. coroutine.resume(coroutine.create(function(Part,Mesh)
  2385. for i=0,1,0.1 do
  2386. wait()
  2387. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2388. end
  2389. Part.Parent=nil
  2390. end),prt2,msh2)
  2391. end
  2392. for i=0,1,delay*2 do
  2393. wait()
  2394. Part.CFrame=Part.CFrame
  2395. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2396. end
  2397. Part.Parent=nil
  2398. end),prt,msh)
  2399. end
  2400.  
  2401. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2402. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2403. prt.Anchored=true
  2404. prt.CFrame=cframe
  2405. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2406. game:GetService("Debris"):AddItem(prt,2)
  2407. coroutine.resume(coroutine.create(function(Part,Mesh)
  2408. for i=0,1,delay do
  2409. wait()
  2410. Part.CFrame=Part.CFrame
  2411. Part.Transparency=i
  2412. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2413. end
  2414. Part.Parent=nil
  2415. end),prt,msh)
  2416. end
  2417.  
  2418. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2419. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2420. prt.Anchored=true
  2421. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2422. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2423. game:GetService("Debris"):AddItem(prt,2)
  2424. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2425. CF=Part.CFrame
  2426. Numbb=0
  2427. randnumb=math.random()/10
  2428. rand1=math.random()/10
  2429. for i=0,1,rand1 do
  2430. wait()
  2431. CF=CF*cf(0,math.random()/2,0)
  2432. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2433. Part.CFrame=CF*euler(Numbb,0,0)
  2434. Part.Transparency=i
  2435. Numbb=Numbb+randnumb
  2436. end
  2437. Part.Parent=nil
  2438. end),prt,CF,Numbb,randnumb)
  2439. end
  2440.  
  2441. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2442. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2443. prt.Anchored=true
  2444. prt.CFrame=cframe
  2445. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2446. game:GetService("Debris"):AddItem(prt,5)
  2447. coroutine.resume(coroutine.create(function(Part,Mesh)
  2448. for i=0,1,delay do
  2449. wait()
  2450. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2451. Part.Transparency=i
  2452. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2453. end
  2454. Part.Parent=nil
  2455. end),prt,msh)
  2456. end
  2457.  
  2458. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2459. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2460. prt.Anchored=true
  2461. prt.CFrame=cframe
  2462. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2463. game:GetService("Debris"):AddItem(prt,2)
  2464. coroutine.resume(coroutine.create(function(Part,Mesh)
  2465. for i=0,1,delay do
  2466. wait()
  2467. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2468. Part.Transparency=i
  2469. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2470. end
  2471. Part.Parent=nil
  2472. end),prt,msh)
  2473. end
  2474.  
  2475. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2476. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2477. prt.Anchored=true
  2478. prt.CFrame=cframe*cf(x,y,z)
  2479. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2480. game:GetService("Debris"):AddItem(prt,5)
  2481. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2482. local num=math.random()
  2483. local num2=math.random(-3,2)+math.random()
  2484. local numm=0
  2485. for i=0,1,delay*2 do
  2486. swait()
  2487. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2488. Part.Transparency=i
  2489. numm=numm+0.01
  2490. end
  2491. Part.Parent=nil
  2492. Mesh.Parent=nil
  2493. end),prt,msh,x,y,z)
  2494. end
  2495.  
  2496. function dmgstart(dmg,what)
  2497. hitcon = what.Touched:connect(function(hit)
  2498. local hum = hit.Parent:FindFirstChild("Humanoid")
  2499. if hum and not hum:IsDescendantOf(Character) then
  2500. hum:TakeDamage(dmg)
  2501. end
  2502. end)
  2503. end
  2504.  
  2505. function dmgstop()
  2506. hitcon:disconnect()
  2507. end
  2508.  
  2509. function Cloak()
  2510. Face.Parent=nil
  2511. cloaked=true
  2512. for _,v in pairs(Torso.Parent:children()) do
  2513. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2514. coroutine.resume(coroutine.create(function()
  2515. for i=0,1,0.2 do
  2516. wait()
  2517. v.Transparency=i
  2518. end
  2519. v.Transparency=1
  2520. end))
  2521. end
  2522. if v.className=="Hat" then
  2523. hatp=v.Handle
  2524. coroutine.resume(coroutine.create(function(derp)
  2525. for i=0,1,0.2 do
  2526. wait()
  2527. derp.Transparency=i
  2528. end
  2529. derp.Transparency=1
  2530. end),hatp)
  2531. end
  2532. end
  2533. for _,v in pairs(m:children()) do
  2534. if v.className=="Part" then
  2535. coroutine.resume(coroutine.create(function()
  2536. for i=0,1,0.2 do
  2537. wait()
  2538. v.Transparency=i
  2539. end
  2540. v.Transparency=1
  2541. end))
  2542. end
  2543. end
  2544. end
  2545.  
  2546. function UnCloak()
  2547. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2548. Face.Parent=Head
  2549. cloaked=false
  2550. for _,v in pairs(Torso.Parent:children()) do
  2551. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2552. coroutine.resume(coroutine.create(function()
  2553. for i=0,1,0.1 do
  2554. wait()
  2555. v.Transparency=v.Transparency-0.1
  2556. end
  2557. v.Transparency=0
  2558. end))
  2559. end
  2560. if v.className=="Hat" then
  2561. hatp=v.Handle
  2562. coroutine.resume(coroutine.create(function(derp)
  2563. for i=0,1,0.1 do
  2564. wait()
  2565. derp.Transparency=derp.Transparency-0.1
  2566. end
  2567. derp.Transparency=0
  2568. end),hatp)
  2569. end
  2570. end
  2571. for _,v in pairs(m:children()) do
  2572. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2573. coroutine.resume(coroutine.create(function()
  2574. for i=0,1,0.1 do
  2575. wait()
  2576. v.Transparency=v.Transparency-0.1
  2577. end
  2578. v.Transparency=0
  2579. end))
  2580. v.Transparency=0
  2581. end
  2582. end
  2583. end
  2584.  
  2585. local origcolor = BrickColor.new("Pastel light blue")
  2586. ---- This section of explosions.
  2587.  
  2588. ----
  2589.  
  2590.  
  2591. function ring(type,pos,scale,value)
  2592. local type = type
  2593. local rng = Instance.new("Part", char)
  2594. rng.Anchored = true
  2595. rng.BrickColor = origcolor
  2596. rng.CanCollide = false
  2597. rng.FormFactor = 3
  2598. rng.Name = "Ring"
  2599. rng.Size = Vector3.new(1, 1, 1)
  2600. rng.Transparency = 0
  2601. rng.TopSurface = 0
  2602. rng.BottomSurface = 0
  2603. rng.CFrame = pos
  2604. local rngm = Instance.new("SpecialMesh", rng)
  2605. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2606. rngm.Scale = scale
  2607. local scaler2 = 1
  2608. if type == "Add" then
  2609. scaler2 = 1*value
  2610. elseif type == "Divide" then
  2611. scaler2 = 1/value
  2612. end
  2613. coroutine.resume(coroutine.create(function()
  2614. for i = 0,10,0.1 do
  2615. swait()
  2616. if type == "Add" then
  2617. scaler2 = scaler2 - 0.01*value
  2618. elseif type == "Divide" then
  2619. scaler2 = scaler2 - 0.01/value
  2620. end
  2621. rng.Transparency = rng.Transparency + 0.01
  2622. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2623. end
  2624. rng:Destroy()
  2625. end))
  2626. end
  2627.  
  2628.  
  2629. function wave(type,pos,scale,value)
  2630. local type = type
  2631. local rng = Instance.new("Part", char)
  2632. rng.Anchored = true
  2633. rng.BrickColor = origcolor
  2634. rng.CanCollide = false
  2635. rng.FormFactor = 3
  2636. rng.Name = "Ring"
  2637. rng.Size = Vector3.new(1, 1, 1)
  2638. rng.Transparency = 0
  2639. rng.TopSurface = 0
  2640. rng.BottomSurface = 0
  2641. rng.CFrame = pos
  2642. local rngm = Instance.new("SpecialMesh", rng)
  2643. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2644. rngm.Scale = scale
  2645. local scaler2 = 1
  2646. if type == "Add" then
  2647. scaler2 = 1*value
  2648. elseif type == "Divide" then
  2649. scaler2 = 1/value
  2650. end
  2651. coroutine.resume(coroutine.create(function()
  2652. for i = 0,10,0.1 do
  2653. swait()
  2654. if type == "Add" then
  2655. scaler2 = scaler2 - 0.01*value
  2656. elseif type == "Divide" then
  2657. scaler2 = scaler2 - 0.01/value
  2658. end
  2659. rng.Transparency = rng.Transparency + 0.01
  2660. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2661. end
  2662. rng:Destroy()
  2663. end))
  2664. end
  2665.  
  2666. function wind(type,pos,scale,value,speed)
  2667. local type = type
  2668. local rng = Instance.new("Part", char)
  2669. rng.Anchored = true
  2670. rng.BrickColor = origcolor
  2671. rng.CanCollide = false
  2672. rng.FormFactor = 3
  2673. rng.Name = "Ring"
  2674. rng.Size = Vector3.new(1, 1, 1)
  2675. rng.Transparency = 0
  2676. rng.TopSurface = 0
  2677. rng.BottomSurface = 0
  2678. rng.CFrame = pos
  2679. local rngm = Instance.new("SpecialMesh", rng)
  2680. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2681. rngm.Scale = scale
  2682. local scaler2 = 1
  2683. if type == "Add" then
  2684. scaler2 = 1*value
  2685. elseif type == "Divide" then
  2686. scaler2 = 1/value
  2687. end
  2688. coroutine.resume(coroutine.create(function()
  2689. for i = 0,10,0.1 do
  2690. swait()
  2691. if type == "Add" then
  2692. scaler2 = scaler2 - 0.01*value
  2693. elseif type == "Divide" then
  2694. scaler2 = scaler2 - 0.01/value
  2695. end
  2696. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2697. rng.Transparency = rng.Transparency + 0.01
  2698. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2699. end
  2700. rng:Destroy()
  2701. end))
  2702. end
  2703.  
  2704. function groundwind(type,pos,scale,value,speed)
  2705. local type = type
  2706. local rng = Instance.new("Part", char)
  2707. rng.Anchored = true
  2708. rng.BrickColor = origcolor
  2709. rng.CanCollide = false
  2710. rng.FormFactor = 3
  2711. rng.Name = "Ring"
  2712. rng.Size = Vector3.new(1, 1, 1)
  2713. rng.Transparency = 0
  2714. rng.TopSurface = 0
  2715. rng.BottomSurface = 0
  2716. rng.CFrame = pos
  2717. local rngm = Instance.new("SpecialMesh", rng)
  2718. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2719. rngm.Scale = scale
  2720. local scaler2 = 1
  2721. if type == "Add" then
  2722. scaler2 = 1*value
  2723. elseif type == "Divide" then
  2724. scaler2 = 1/value
  2725. end
  2726. coroutine.resume(coroutine.create(function()
  2727. for i = 0,10,0.1 do
  2728. swait()
  2729. if type == "Add" then
  2730. scaler2 = scaler2 - 0.01*value
  2731. elseif type == "Divide" then
  2732. scaler2 = scaler2 - 0.01/value
  2733. end
  2734. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2735. rng.Transparency = rng.Transparency + 0.01
  2736. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2737. end
  2738. rng:Destroy()
  2739. end))
  2740. end
  2741.  
  2742. function CameraManager()
  2743. if TwoD and not CamInterrupt then
  2744. if Humanoid.Health > 0 then
  2745. Camera.CameraSubject = Humanoid
  2746. Camera.CameraType = "Scriptable"
  2747. Humanoid.AutoRotate = false
  2748. if Booleans.GyroUse then
  2749. Directer.MaxTorque = Vec3(0, huge, 0)
  2750. else
  2751. Directer.MaxTorque = Vec3(0, 0, 0)
  2752. end
  2753. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2754. if Booleans.CamFollow then
  2755. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2756. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2757. else
  2758. CPart.Position = RootPart.Position
  2759. end
  2760. else
  2761. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2762. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2763. end
  2764. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2765. else
  2766. Camera.CameraSubject = Humanoid
  2767. Camera.CameraType = "Custom"
  2768. --Controller.Disabled = false
  2769. end
  2770. end
  2771. end
  2772.  
  2773. function ring(type,pos,scale,value)
  2774. local type = type
  2775. local rng = Instance.new("Part", char)
  2776. rng.Anchored = true
  2777. rng.BrickColor = origcolor
  2778. rng.CanCollide = false
  2779. rng.FormFactor = 3
  2780. rng.Name = "Ring"
  2781. rng.Size = Vector3.new(1, 1, 1)
  2782. rng.Transparency = 0
  2783. rng.TopSurface = 0
  2784. rng.BottomSurface = 0
  2785. rng.CFrame = pos
  2786. local rngm = Instance.new("SpecialMesh", rng)
  2787. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2788. rngm.Scale = scale
  2789. local scaler2 = 1
  2790. if type == "Add" then
  2791. scaler2 = 1*value
  2792. elseif type == "Divide" then
  2793. scaler2 = 1/value
  2794. end
  2795. coroutine.resume(coroutine.create(function()
  2796. for i = 0,10,0.1 do
  2797. swait()
  2798. if type == "Add" then
  2799. scaler2 = scaler2 - 0.01*value
  2800. elseif type == "Divide" then
  2801. scaler2 = scaler2 - 0.01/value
  2802. end
  2803. rng.Transparency = rng.Transparency + 0.01
  2804. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2805. end
  2806. rng:Destroy()
  2807. end))
  2808. end
  2809.  
  2810.  
  2811. function wave(type,pos,scale,value)
  2812. local type = type
  2813. local rng = Instance.new("Part", char)
  2814. rng.Anchored = true
  2815. rng.BrickColor = origcolor
  2816. rng.CanCollide = false
  2817. rng.FormFactor = 3
  2818. rng.Name = "Ring"
  2819. rng.Size = Vector3.new(1, 1, 1)
  2820. rng.Transparency = 0
  2821. rng.TopSurface = 0
  2822. rng.BottomSurface = 0
  2823. rng.CFrame = pos
  2824. local rngm = Instance.new("SpecialMesh", rng)
  2825. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2826. rngm.Scale = scale
  2827. local scaler2 = 1
  2828. if type == "Add" then
  2829. scaler2 = 1*value
  2830. elseif type == "Divide" then
  2831. scaler2 = 1/value
  2832. end
  2833. coroutine.resume(coroutine.create(function()
  2834. for i = 0,10,0.1 do
  2835. swait()
  2836. if type == "Add" then
  2837. scaler2 = scaler2 - 0.01*value
  2838. elseif type == "Divide" then
  2839. scaler2 = scaler2 - 0.01/value
  2840. end
  2841. rng.Transparency = rng.Transparency + 0.01
  2842. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2843. end
  2844. rng:Destroy()
  2845. end))
  2846. end
  2847.  
  2848. function sphere(bonuspeed,type,pos,scale,value,color)
  2849. local type = type
  2850. local rng = Instance.new("Part", char)
  2851. rng.Anchored = true
  2852. if ModeOfGlitch ~= 9 then
  2853. rng.BrickColor = color
  2854. elseif ModeOfGlitch == 9 then
  2855. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2856. end
  2857. rng.CanCollide = false
  2858. rng.FormFactor = 3
  2859. rng.Name = "Ring"
  2860. rng.Material = "Neon"
  2861. rng.Size = Vector3.new(1, 1, 1)
  2862. rng.Transparency = 0
  2863. rng.TopSurface = 0
  2864. rng.BottomSurface = 0
  2865. rng.CFrame = pos
  2866. local rngm = Instance.new("SpecialMesh", rng)
  2867. rngm.MeshType = "Sphere"
  2868. rngm.Scale = scale
  2869. if rainbowmode == true then
  2870. rng.Color = Color3.new(r/255,g/255,b/255)
  2871. end
  2872. if ModeOfGlitch == 9 then
  2873. coroutine.resume(coroutine.create(function()
  2874. while true do
  2875. swait()
  2876. if rng.Parent ~= nil then
  2877. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2878. else
  2879. break
  2880. end
  2881. end
  2882. end))
  2883. end
  2884. local scaler2 = 1
  2885. if type == "Add" then
  2886. scaler2 = 1*value
  2887. elseif type == "Divide" then
  2888. scaler2 = 1/value
  2889. end
  2890. coroutine.resume(coroutine.create(function()
  2891. for i = 0,10/bonuspeed,0.1 do
  2892. swait()
  2893. if rainbowmode == true then
  2894. rng.Color = Color3.new(r/255,g/255,b/255)
  2895. end
  2896. if type == "Add" then
  2897. scaler2 = scaler2 - 0.01*value/bonuspeed
  2898. elseif type == "Divide" then
  2899. scaler2 = scaler2 - 0.01/value*bonuspeed
  2900. end
  2901. if chaosmode == true then
  2902. rng.BrickColor = BrickColor.random()
  2903. end
  2904. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2905. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2906. end
  2907. rng:Destroy()
  2908. end))
  2909. end
  2910.  
  2911. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  2912. local type = type
  2913. local rng = Instance.new("Part", char)
  2914. rng.Anchored = true
  2915. if ModeOfGlitch ~= 9 then
  2916. rng.BrickColor = color
  2917. elseif ModeOfGlitch == 9 then
  2918. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2919. end
  2920. rng.CanCollide = false
  2921. rng.FormFactor = 3
  2922. rng.Name = "Ring"
  2923. rng.Material = "Neon"
  2924. rng.Size = Vector3.new(1, 1, 1)
  2925. rng.Transparency = 0
  2926. rng.TopSurface = 0
  2927. rng.BottomSurface = 0
  2928. rng.CFrame = pos
  2929. local rngm = Instance.new("SpecialMesh", rng)
  2930. rngm.MeshType = "Sphere"
  2931. rngm.Scale = scale
  2932. local scaler2 = 1
  2933. local scaler2b = 1
  2934. local scaler2c = 1
  2935. if type == "Add" then
  2936. scaler2 = 1*value
  2937. scaler2b = 1*value2
  2938. scaler2c = 1*value3
  2939. elseif type == "Divide" then
  2940. scaler2 = 1/value
  2941. scaler2b = 1/value2
  2942. scaler2c = 1/value3
  2943. end
  2944. if ModeOfGlitch == 9 then
  2945. coroutine.resume(coroutine.create(function()
  2946. while true do
  2947. swait()
  2948. if rng.Parent ~= nil then
  2949. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2950. else
  2951. break
  2952. end
  2953. end
  2954. end))
  2955. end
  2956. coroutine.resume(coroutine.create(function()
  2957. for i = 0,10/bonuspeed,0.1 do
  2958. swait()
  2959. if type == "Add" then
  2960. scaler2 = scaler2 - 0.01*value/bonuspeed
  2961. scaler2b = scaler2b - 0.01*value/bonuspeed
  2962. scaler2c = scaler2c - 0.01*value/bonuspeed
  2963. elseif type == "Divide" then
  2964. scaler2 = scaler2 - 0.01/value*bonuspeed
  2965. scaler2b = scaler2b - 0.01/value*bonuspeed
  2966. scaler2c = scaler2c - 0.01/value*bonuspeed
  2967. end
  2968. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2969. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2970. end
  2971. rng:Destroy()
  2972. end))
  2973. end
  2974.  
  2975. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  2976. local type = type
  2977. local rotenable = rotatingop
  2978. local rng = Instance.new("Part", char)
  2979. rng.Anchored = true
  2980. rng.BrickColor = color
  2981. rng.CanCollide = false
  2982. rng.FormFactor = 3
  2983. rng.Name = "Ring"
  2984. rng.Material = "Neon"
  2985. rng.Size = Vector3.new(1, 1, 1)
  2986. rng.Transparency = 0
  2987. if typeoftrans == "In" then
  2988. rng.Transparency = 1
  2989. end
  2990. rng.TopSurface = 0
  2991. rng.BottomSurface = 0
  2992. rng.CFrame = pos
  2993. local rngm = Instance.new("SpecialMesh", rng)
  2994. rngm.MeshType = "FileMesh"
  2995. if typeofshape == "Normal" then
  2996. rngm.MeshId = "rbxassetid://662586858"
  2997. elseif typeofshape == "Round" then
  2998. rngm.MeshId = "rbxassetid://662585058"
  2999. end
  3000. rngm.Scale = scale
  3001. local scaler2 = 1/10
  3002. if type == "Add" then
  3003. scaler2 = 1*value/10
  3004. elseif type == "Divide" then
  3005. scaler2 = 1/value/10
  3006. end
  3007. local randomrot = math.random(1,2)
  3008. coroutine.resume(coroutine.create(function()
  3009. for i = 0,10/bonuspeed,0.1 do
  3010. swait()
  3011. if type == "Add" then
  3012. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  3013. elseif type == "Divide" then
  3014. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  3015. end
  3016. if rotenable == true then
  3017. if randomrot == 1 then
  3018. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  3019. elseif randomrot == 2 then
  3020. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  3021. end
  3022. end
  3023. if typeoftrans == "Out" then
  3024. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3025. elseif typeoftrans == "In" then
  3026. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3027. end
  3028. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  3029. end
  3030. rng:Destroy()
  3031. end))
  3032. end
  3033.  
  3034. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3035. local type = type
  3036. local rng = Instance.new("Part", char)
  3037. rng.Anchored = true
  3038. rng.BrickColor = color
  3039. rng.CanCollide = false
  3040. rng.FormFactor = 3
  3041. rng.Name = "Ring"
  3042. rng.Material = "Neon"
  3043. rng.Size = Vector3.new(1, 1, 1)
  3044. rng.Transparency = 0
  3045. rng.TopSurface = 0
  3046. rng.BottomSurface = 0
  3047. rng.CFrame = pos
  3048. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3049. local rngm = Instance.new("SpecialMesh", rng)
  3050. rngm.MeshType = "Brick"
  3051. rngm.Scale = vt(x1,y1,z1)
  3052. if rainbowmode == true then
  3053. rng.Color = Color3.new(r/255,g/255,b/255)
  3054. end
  3055. local scaler2 = 1
  3056. local speeder = FastSpeed/10
  3057. if type == "Add" then
  3058. scaler2 = 1*value
  3059. elseif type == "Divide" then
  3060. scaler2 = 1/value
  3061. end
  3062. coroutine.resume(coroutine.create(function()
  3063. for i = 0,10/bonuspeed,0.1 do
  3064. swait()
  3065. if rainbowmode == true then
  3066. rng.Color = Color3.new(r/255,g/255,b/255)
  3067. end
  3068. if type == "Add" then
  3069. scaler2 = scaler2 - 0.01*value/bonuspeed
  3070. elseif type == "Divide" then
  3071. scaler2 = scaler2 - 0.01/value*bonuspeed
  3072. end
  3073. if chaosmode == true then
  3074. rng.BrickColor = BrickColor.random()
  3075. end
  3076. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3077. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3078. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3079. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3080. end
  3081. rng:Destroy()
  3082. end))
  3083. end
  3084.  
  3085. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3086. local type = type
  3087. local rng = Instance.new("Part", char)
  3088. rng.Anchored = true
  3089. rng.BrickColor = color
  3090. rng.CanCollide = false
  3091. rng.FormFactor = 3
  3092. rng.Name = "Ring"
  3093. rng.Material = "Neon"
  3094. rng.Size = Vector3.new(1, 1, 1)
  3095. rng.Transparency = 0
  3096. rng.TopSurface = 0
  3097. rng.BottomSurface = 0
  3098. rng.CFrame = pos
  3099. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3100. local rngm = Instance.new("SpecialMesh", rng)
  3101. rngm.MeshType = "Brick"
  3102. rngm.Scale = vt(x1,y1,z1)
  3103. if rainbowmode == true then
  3104. rng.Color = Color3.new(r/255,g/255,b/255)
  3105. end
  3106. local scaler2 = 1
  3107. local speeder = FastSpeed/10
  3108. if type == "Add" then
  3109. scaler2 = 1*value
  3110. elseif type == "Divide" then
  3111. scaler2 = 1/value
  3112. end
  3113. coroutine.resume(coroutine.create(function()
  3114. for i = 0,10/bonuspeed,0.1 do
  3115. swait()
  3116. if rainbowmode == true then
  3117. rng.Color = Color3.new(r/255,g/255,b/255)
  3118. end
  3119. if type == "Add" then
  3120. scaler2 = scaler2 - 0.01*value/bonuspeed
  3121. elseif type == "Divide" then
  3122. scaler2 = scaler2 - 0.01/value*bonuspeed
  3123. end
  3124. if chaosmode == true then
  3125. rng.BrickColor = BrickColor.random()
  3126. end
  3127. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3128. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3129. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3130. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3131. end
  3132. rng:Destroy()
  3133. end))
  3134. end
  3135.  
  3136. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3137. local type = type
  3138. local rng = Instance.new("Part", char)
  3139. rng.Anchored = true
  3140. rng.BrickColor = color
  3141. rng.CanCollide = false
  3142. rng.FormFactor = 3
  3143. rng.Name = "Ring"
  3144. rng.Material = "Neon"
  3145. rng.Size = Vector3.new(1, 1, 1)
  3146. rng.Transparency = 0
  3147. rng.TopSurface = 0
  3148. rng.BottomSurface = 0
  3149. rng.CFrame = pos
  3150. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3151. local rngm = Instance.new("SpecialMesh", rng)
  3152. rngm.MeshType = "Brick"
  3153. rngm.Scale = vt(x1,y1,z1)
  3154. if rainbowmode == true then
  3155. rng.Color = Color3.new(r/255,g/255,b/255)
  3156. end
  3157. local scaler2 = 0
  3158. local speeder = FastSpeed/10
  3159. if type == "Add" then
  3160. scaler2 = 1*value
  3161. elseif type == "Divide" then
  3162. scaler2 = 1/value
  3163. end
  3164. coroutine.resume(coroutine.create(function()
  3165. for i = 0,10/bonuspeed,0.1 do
  3166. swait()
  3167. if rainbowmode == true then
  3168. rng.Color = Color3.new(r/255,g/255,b/255)
  3169. end
  3170. if type == "Add" then
  3171. scaler2 = scaler2 - 0.01*value/bonuspeed
  3172. elseif type == "Divide" then
  3173. scaler2 = scaler2 - 0.01/value*bonuspeed
  3174. end
  3175. if chaosmode == true then
  3176. rng.BrickColor = BrickColor.random()
  3177. end
  3178. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3179. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3180. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3181. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3182. end
  3183. rng:Destroy()
  3184. end))
  3185. end
  3186.  
  3187. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3188. local type = type
  3189. local rng = Instance.new("Part", char)
  3190. rng.Anchored = true
  3191. rng.BrickColor = color
  3192. rng.Color = color3
  3193. rng.CanCollide = false
  3194. rng.FormFactor = 3
  3195. rng.Name = "Ring"
  3196. rng.Material = "Neon"
  3197. rng.Size = Vector3.new(1, 1, 1)
  3198. rng.Transparency = 0
  3199. rng.TopSurface = 0
  3200. rng.BottomSurface = 0
  3201. rng.CFrame = pos
  3202. local rngm = Instance.new("SpecialMesh", rng)
  3203. rngm.MeshType = "Brick"
  3204. rngm.Scale = scale
  3205. local scaler2 = 1
  3206. local scaler2b = 1
  3207. local scaler2c = 1
  3208. if type == "Add" then
  3209. scaler2 = 1*value
  3210. scaler2b = 1*value2
  3211. scaler2c = 1*value3
  3212. elseif type == "Divide" then
  3213. scaler2 = 1/value
  3214. scaler2b = 1/value2
  3215. scaler2c = 1/value3
  3216. end
  3217. coroutine.resume(coroutine.create(function()
  3218. for i = 0,10/bonuspeed,0.1 do
  3219. swait()
  3220. if type == "Add" then
  3221. scaler2 = scaler2 - 0.01*value/bonuspeed
  3222. scaler2b = scaler2b - 0.01*value/bonuspeed
  3223. scaler2c = scaler2c - 0.01*value/bonuspeed
  3224. elseif type == "Divide" then
  3225. scaler2 = scaler2 - 0.01/value*bonuspeed
  3226. scaler2b = scaler2b - 0.01/value*bonuspeed
  3227. scaler2c = scaler2c - 0.01/value*bonuspeed
  3228. end
  3229. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3230. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3231. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3232. end
  3233. rng:Destroy()
  3234. end))
  3235. end
  3236.  
  3237. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3238. local type = type
  3239. local rng = Instance.new("Part", char)
  3240. rng.Anchored = true
  3241. if ModeOfGlitch ~= 9 then
  3242. rng.BrickColor = color
  3243. elseif ModeOfGlitch == 9 then
  3244. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3245. end
  3246. rng.CanCollide = false
  3247. rng.FormFactor = 3
  3248. rng.Name = "Ring"
  3249. rng.Material = "Neon"
  3250. rng.Size = Vector3.new(1, 1, 1)
  3251. rng.Transparency = 0
  3252. rng.TopSurface = 0
  3253. rng.BottomSurface = 0
  3254. rng.CFrame = pos
  3255. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3256. local rngm = Instance.new("SpecialMesh", rng)
  3257. rngm.MeshType = "Sphere"
  3258. rngm.Scale = vt(x1,y1,z1)
  3259. if rainbowmode == true then
  3260. rng.Color = Color3.new(r/255,g/255,b/255)
  3261. end
  3262. if ModeOfGlitch == 9 then
  3263. coroutine.resume(coroutine.create(function()
  3264. while true do
  3265. swait()
  3266. if rng.Parent ~= nil then
  3267. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3268. else
  3269. break
  3270. end
  3271. end
  3272. end))
  3273. end
  3274. local scaler2 = 1
  3275. local speeder = FastSpeed
  3276. if type == "Add" then
  3277. scaler2 = 1*value
  3278. elseif type == "Divide" then
  3279. scaler2 = 1/value
  3280. end
  3281. coroutine.resume(coroutine.create(function()
  3282. for i = 0,10/bonuspeed,0.1 do
  3283. swait()
  3284. if rainbowmode == true then
  3285. rng.Color = Color3.new(r/255,g/255,b/255)
  3286. end
  3287. if type == "Add" then
  3288. scaler2 = scaler2 - 0.01*value/bonuspeed
  3289. elseif type == "Divide" then
  3290. scaler2 = scaler2 - 0.01/value*bonuspeed
  3291. end
  3292. if chaosmode == true then
  3293. rng.BrickColor = BrickColor.random()
  3294. end
  3295. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3296. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3297. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3298. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3299. end
  3300. rng:Destroy()
  3301. end))
  3302. end
  3303.  
  3304.  
  3305. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3306. local type = type
  3307. local rng = Instance.new("Part", char)
  3308. rng.Anchored = true
  3309. if ModeOfGlitch ~= 9 then
  3310. rng.BrickColor = color
  3311. elseif ModeOfGlitch == 9 then
  3312. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3313. end
  3314. rng.CanCollide = false
  3315. rng.FormFactor = 3
  3316. rng.Name = "Ring"
  3317. rng.Material = "Neon"
  3318. rng.Size = Vector3.new(1, 1, 1)
  3319. rng.Transparency = 1
  3320. rng.TopSurface = 0
  3321. rng.BottomSurface = 0
  3322. rng.CFrame = pos
  3323. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3324. local rngm = Instance.new("SpecialMesh", rng)
  3325. rngm.MeshType = "Sphere"
  3326. rngm.Scale = vt(x1,y1,z1)
  3327. if rainbowmode == true then
  3328. rng.Color = Color3.new(r/255,g/255,b/255)
  3329. end
  3330. if ModeOfGlitch == 9 then
  3331. coroutine.resume(coroutine.create(function()
  3332. while true do
  3333. swait()
  3334. if rng.Parent ~= nil then
  3335. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3336. else
  3337. break
  3338. end
  3339. end
  3340. end))
  3341. end
  3342. local scaler2 = 1
  3343. local speeder = FastSpeed
  3344. if type == "Add" then
  3345. scaler2 = 1*value
  3346. elseif type == "Divide" then
  3347. scaler2 = 1/value
  3348. end
  3349. coroutine.resume(coroutine.create(function()
  3350. for i = 0,10/bonuspeed,0.1 do
  3351. swait()
  3352. if rainbowmode == true then
  3353. rng.Color = Color3.new(r/255,g/255,b/255)
  3354. end
  3355. if type == "Add" then
  3356. scaler2 = scaler2 - 0.01*value/bonuspeed
  3357. elseif type == "Divide" then
  3358. scaler2 = scaler2 - 0.01/value*bonuspeed
  3359. end
  3360. if chaosmode == true then
  3361. rng.BrickColor = BrickColor.random()
  3362. end
  3363. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3364. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3365. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3366. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3367. end
  3368. rng:Destroy()
  3369. end))
  3370. end
  3371.  
  3372. function dmg(dude)
  3373. if dude.Name ~= Character then
  3374. local keptcolor = MAINRUINCOLOR
  3375. local bgf = Instance.new("BodyGyro",dude.Head)
  3376. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3377. --[[local val = Instance.new("BoolValue",dude)
  3378. val.Name = "IsHit"]]--
  3379. local ds = coroutine.wrap(function()
  3380. dude:WaitForChild("Head"):BreakJoints()
  3381. for i, v in pairs(dude:GetChildren()) do
  3382. if v:IsA("Part") or v:IsA("MeshPart") then
  3383. v.Name = "DEMINISHED"
  3384. end
  3385. end
  3386. wait(0.5)
  3387. targetted = nil
  3388. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  3389. coroutine.resume(coroutine.create(function()
  3390. for i, v in pairs(dude:GetChildren()) do
  3391. if v:IsA("Accessory") then
  3392. v:Destroy()
  3393. end
  3394. if v:IsA("Humanoid") then
  3395. v:Destroy()
  3396. end
  3397. if v:IsA("CharacterMesh") then
  3398. v:Destroy()
  3399. end
  3400. if v:IsA("Model") then
  3401. v:Destroy()
  3402. end
  3403. if v:IsA("Part") or v:IsA("MeshPart") then
  3404. for x, o in pairs(v:GetChildren()) do
  3405. if o:IsA("Decal") then
  3406. o:Destroy()
  3407. end
  3408. end
  3409. coroutine.resume(coroutine.create(function()
  3410. v.Material = "Neon"
  3411. v.CanCollide = false
  3412. v.Anchored = false
  3413. local bld = Instance.new("ParticleEmitter",v)
  3414. bld.LightEmission = 0.75
  3415. bld.Texture = "rbxassetid://363275192" ---284205403
  3416. bld.Color = ColorSequence.new(keptcolor.Color)
  3417. bld.Rate = 500
  3418. bld.Lifetime = NumberRange.new(1)
  3419. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3420. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3421. bld.Speed = NumberRange.new(2,5)
  3422. bld.VelocitySpread = 50000
  3423. bld.Rotation = NumberRange.new(-500,500)
  3424. bld.RotSpeed = NumberRange.new(-500,500)
  3425. local sbs = Instance.new("BodyPosition", v)
  3426. sbs.P = 3000
  3427. sbs.D = 1000
  3428. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3429. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3430. v.Color = keptcolor.Color
  3431. coroutine.resume(coroutine.create(function()
  3432. for i = 0, 49 do
  3433. swait(1)
  3434. v:BreakJoints()
  3435. v.Transparency = v.Transparency + 0.02
  3436. end
  3437. v:BreakJoints()
  3438. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3439. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3440. bld.Speed = NumberRange.new(10,25)
  3441. bld.Drag = 5
  3442. bld.Acceleration = vt(0,2,0)
  3443. wait(0.5)
  3444. bld.Enabled = false
  3445. wait(8)
  3446. v:Destroy()
  3447. dude:Destroy()
  3448. end))
  3449. end))
  3450. end
  3451. end
  3452. end))
  3453. end)
  3454. ds()
  3455. end
  3456. end
  3457.  
  3458.  
  3459. function FindNearestHead(Position, Distance, SinglePlayer)
  3460. if SinglePlayer then
  3461. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3462. end
  3463. local List = {}
  3464. for i, v in pairs(workspace:GetChildren()) do
  3465. if v:IsA("Model") then
  3466. if v:findFirstChild("Head") then
  3467. if v ~= Character then
  3468. if (v.Head.Position - Position).magnitude <= Distance then
  3469. table.insert(List, v)
  3470. end
  3471. end
  3472. end
  3473. end
  3474. end
  3475. return List
  3476. end
  3477.  
  3478. function FaceMouse()
  3479. Cam = workspace.CurrentCamera
  3480. return {
  3481. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3482. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3483. }
  3484. end
  3485.  
  3486. function FaceMouse2()
  3487. Cam = workspace.CurrentCamera
  3488. return {
  3489. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3490. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3491. }
  3492. end
  3493.  
  3494. local ModeOfGlitch = 1
  3495. -- Functions are ready.
  3496. local storehumanoidWS = 16
  3497.  
  3498. function CorruptBlink()
  3499. for i = 0, 14 do
  3500. 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)
  3501. end
  3502. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3503. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3504. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3505. CameraEnshaking(2,10)
  3506. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3507. if v:FindFirstChild('Head') then
  3508. dmg(v)
  3509. end
  3510. end
  3511. for i = 0, 14 do
  3512. 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)
  3513. end
  3514. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3515. end
  3516. function PureBomb()
  3517. attack = true
  3518. hum.WalkSpeed = 0
  3519. local orb = Instance.new("Part", char)
  3520. orb.Anchored = true
  3521. orb.BrickColor = BrickColor.new("Toothpaste")
  3522. orb.CanCollide = false
  3523. orb.FormFactor = 3
  3524. orb.Name = "Ring"
  3525. orb.Material = "Neon"
  3526. orb.Size = Vector3.new(1, 1, 1)
  3527. orb.Transparency = 0
  3528. orb.TopSurface = 0
  3529. orb.BottomSurface = 0
  3530. local orbm = Instance.new("SpecialMesh", orb)
  3531. orbm.MeshType = "Sphere"
  3532. orbm.Name = "SizeMesh"
  3533. orbm.Scale = vt(0,0,0)
  3534. local scaled = 0.1
  3535. local posid = 0
  3536. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3537. for i = 0, 5, 0.1 do
  3538. swait()
  3539. scaled = scaled - 0.001
  3540. posid = posid - scaled
  3541. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3542. local scaled = 0.1
  3543. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3544. 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)
  3545. 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)
  3546. 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)
  3547. 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)
  3548. 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)
  3549. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3550. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3551. 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)
  3552. end
  3553. for i = 0, 2, 0.1 do
  3554. swait()
  3555. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3556. 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)
  3557. 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)
  3558. 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)
  3559. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3560. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3561. 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)
  3562. end
  3563. coroutine.resume(coroutine.create(function()
  3564. orb.Anchored = false
  3565. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3566. local a = Instance.new("Part",workspace)
  3567. a.Name = "Direction"
  3568. a.Anchored = true
  3569. a.BrickColor = bc("Bright red")
  3570. a.Material = "Neon"
  3571. a.Transparency = 1
  3572. a.CanCollide = false
  3573. local ray = Ray.new(
  3574. orb.CFrame.p, -- origin
  3575. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3576. )
  3577. local ignore = orb
  3578. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3579. a.BottomSurface = 10
  3580. a.TopSurface = 10
  3581. local distance = (orb.CFrame.p - position).magnitude
  3582. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3583. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3584. orb.CFrame = a.CFrame
  3585. a:Destroy()
  3586. local bv = Instance.new("BodyVelocity")
  3587. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3588. bv.velocity = orb.CFrame.lookVector*125
  3589. bv.Parent = orb
  3590. local hitted = false
  3591. game:GetService("Debris"):AddItem(orb, 15)
  3592. wait()
  3593. local hit =orb.Touched:connect(function(hit)
  3594. if hitted == false then
  3595. hitted = true
  3596. CameraEnshaking(10,2.5)
  3597. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3598. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3599. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3600. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3601. for i = 0, 49 do
  3602. 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)
  3603. end
  3604. for i = 0, 9 do
  3605. 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)
  3606. 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)
  3607. end
  3608. orb.Anchored = true
  3609. orb.Transparency = 1
  3610. wait(8)
  3611. orb:Destroy()
  3612. end
  3613. end)
  3614. end))
  3615. for i = 0, 1, 0.1 do
  3616. swait()
  3617. 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)
  3618. 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)
  3619. 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)
  3620. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3621. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3622. 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)
  3623. end
  3624. hum.WalkSpeed = storehumanoidWS
  3625. attack = false
  3626. end
  3627.  
  3628. function BanishingOrb()
  3629. attack = true
  3630. hum.WalkSpeed = 0
  3631. local radm = math.random(1,3)
  3632. if radm == 1 then
  3633. bosschatfunc("Let it's go..",MAINRUINCOLOR.Color,1)
  3634. elseif radm == 2 then
  3635. bosschatfunc("So this is it..",MAINRUINCOLOR.Color,1)
  3636. elseif radm == 3 then
  3637. bosschatfunc("I have enough thing..",MAINRUINCOLOR.Color,1)
  3638. end
  3639. CFuncs["EchoSound"].Create("rbxassetid://1535994940", char, 5, 1,0,10,0.15,0.5,1)
  3640. CFuncs["EchoSound"].Create("rbxassetid://1535994940", root, 60, 1,0,10,0.15,0.5,1)
  3641. local orb = Instance.new("Part", char)
  3642. orb.Anchored = true
  3643. orb.BrickColor = BrickColor.new("Lime green")
  3644. orb.CanCollide = false
  3645. orb.FormFactor = 3
  3646. orb.Name = "Ring"
  3647. orb.Material = "Neon"
  3648. orb.Size = Vector3.new(1, 1, 1)
  3649. orb.Transparency = 0
  3650. orb.TopSurface = 0
  3651. orb.BottomSurface = 0
  3652. local orbm = Instance.new("SpecialMesh", orb)
  3653. orbm.MeshType = "Sphere"
  3654. orbm.Name = "SizeMesh"
  3655. orbm.Scale = vt(0,0,0)
  3656. local scaled = 0.1
  3657. local posid = 0
  3658. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
  3659. for i = 0, 5, 0.1 do
  3660. swait()
  3661. scaled = scaled - 0.001
  3662. posid = posid - scaled
  3663. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3664. local scaled = 0.1
  3665. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3666. 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)
  3667. 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)
  3668. 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)
  3669. 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)
  3670. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3671. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3672. 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)
  3673. end
  3674. for i = 0, 2, 0.1 do
  3675. swait()
  3676. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3677. 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)
  3678. 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)
  3679. 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)
  3680. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3681. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3682. 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)
  3683. end
  3684. coroutine.resume(coroutine.create(function()
  3685. orb.Anchored = false
  3686. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
  3687. local a = Instance.new("Part",workspace)
  3688. a.Name = "Direction"
  3689. a.Anchored = true
  3690. a.BrickColor = bc("Lime green")
  3691. a.Material = "Neon"
  3692. a.Transparency = 1
  3693. a.CanCollide = false
  3694. local ray = Ray.new(
  3695. orb.CFrame.p, -- origin
  3696. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3697. )
  3698. local ignore = orb
  3699. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3700. a.BottomSurface = 10
  3701. a.TopSurface = 10
  3702. local distance = (orb.CFrame.p - position).magnitude
  3703. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3704. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3705. orb.CFrame = a.CFrame
  3706. a:Destroy()
  3707. local bv = Instance.new("BodyVelocity")
  3708. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3709. bv.velocity = orb.CFrame.lookVector*0
  3710. bv.Parent = orb
  3711. local hitted = false
  3712. local rate = 0
  3713. coroutine.resume(coroutine.create(function()
  3714. for i = 0, 24 do
  3715. wait(0.1)
  3716. rate = rate + 0.25
  3717. bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
  3718. for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
  3719. if v:FindFirstChild('Head') then
  3720. dmg(v)
  3721. end
  3722. end
  3723. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
  3724. sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,bc"Lime green")
  3725. sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  3726. end
  3727. orb.Anchored = true
  3728. orb.Transparency = 1
  3729. for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
  3730. if v:FindFirstChild('Head') then
  3731. dmg(v)
  3732. end
  3733. end
  3734. local eff = Instance.new("ParticleEmitter",orb)
  3735. eff.Texture = "rbxassetid://296874871"
  3736. eff.LightEmission = 0.95
  3737. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3738. eff.Rate = 1000000000
  3739. eff.Lifetime = NumberRange.new(3)
  3740. 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)})
  3741. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3742. eff.Speed = NumberRange.new(30)
  3743. eff.Acceleration = vt(0,-15,0)
  3744. eff.Rotation = NumberRange.new(-500,500)
  3745. eff.VelocitySpread = 100000
  3746. eff.RotSpeed = NumberRange.new(-500,500)
  3747. coroutine.resume(coroutine.create(function()
  3748. wait(0.6)
  3749. eff.Enabled = false
  3750. end))
  3751. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
  3752. CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
  3753. sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,bc"Lime green")
  3754. sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3755. sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
  3756. game:GetService("Debris"):AddItem(orb, 15)
  3757. end))
  3758. end))
  3759. for i = 0, 1, 0.1 do
  3760. swait()
  3761. 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)
  3762. 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)
  3763. 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)
  3764. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3765. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3766. 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)
  3767. end
  3768. hum.WalkSpeed = storehumanoidWS
  3769. attack = false
  3770. end
  3771.  
  3772.  
  3773. function ChaosGroundStrike()
  3774. attack = true
  3775. for i = 0, 2, 0.1 do
  3776. swait()
  3777. 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)
  3778. 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)
  3779. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3780. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3781. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3782. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3783. end
  3784. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3785. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3786. CameraEnshaking(4,12)
  3787. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3788. if v:FindFirstChild('Head') then
  3789. dmg(v)
  3790. end
  3791. end
  3792. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3793. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3794. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3795. for i = 0, 2, 0.1 do
  3796. swait()
  3797. 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)
  3798. 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)
  3799. 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)
  3800. 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)
  3801. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3802. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3803. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3804. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3805. end
  3806. attack = false
  3807. end
  3808.  
  3809.  
  3810.  
  3811. function Starfall()
  3812. attack = true
  3813. hum.WalkSpeed = 0
  3814. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3815. for i = 0, 5, 0.1 do
  3816. swait()
  3817. 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)
  3818. 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)
  3819. 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)
  3820. 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)
  3821. 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)
  3822. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3823. 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)
  3824. 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)
  3825. end
  3826. local Overed = false
  3827. CameraEnshaking(2,20)
  3828. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3829. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3830. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3831. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3832. local orb = Instance.new("Part", char)
  3833. orb.Anchored = true
  3834. orb.BrickColor = BrickColor.new("Toothpaste")
  3835. orb.CanCollide = false
  3836. orb.FormFactor = 3
  3837. orb.Name = "Remenant"
  3838. orb.Material = "Neon"
  3839. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3840. orb.Size = Vector3.new(1, 1, 1)
  3841. orb.Transparency = 1
  3842. orb.TopSurface = 0
  3843. orb.BottomSurface = 0
  3844. hum.WalkSpeed = storehumanoidWS
  3845. coroutine.resume(coroutine.create(function()
  3846. for i = 0, 9 do
  3847. swait(10)
  3848. local lb = Instance.new("Part")
  3849. lb.Color = MAINRUINCOLOR.Color
  3850. lb.CanCollide = false
  3851. lb.Material = "Neon"
  3852. lb.Anchored = true
  3853. lb.TopSurface = 0
  3854. lb.BottomSurface = 0
  3855. lb.Transparency = 0
  3856. lb.Size = vt(1,1,1)
  3857. 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)))
  3858. lb.Anchored = false
  3859. lb.Parent = char
  3860. local thingery = Instance.new("SpecialMesh",lb)
  3861. thingery.MeshType = "Sphere"
  3862. thingery.Scale = vt(20,20,20)
  3863. game:GetService("Debris"):AddItem(lb, 10)
  3864. local bv = Instance.new("BodyVelocity")
  3865. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3866. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3867. bv.Parent = lb
  3868. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3869. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3870. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3871. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3872. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3873. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3874. local hitted = false
  3875. coroutine.resume(coroutine.create(function()
  3876. while true do
  3877. swait(1)
  3878. if lb.Parent ~= nil and hitted == false then
  3879. 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)
  3880. elseif lb.Parent == nil then
  3881. break
  3882. end
  3883. end
  3884. end))
  3885.  
  3886. game:GetService("Debris"):AddItem(a, 0.1)
  3887.  
  3888. coroutine.resume(coroutine.create(function()
  3889. swait(1)
  3890. lb.Touched:connect(function(hit)
  3891. if hitted == false then
  3892. hitted = true
  3893. lb.Transparency = 1
  3894. lb.Anchored = true
  3895. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3896. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3897. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3898. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3899. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3900. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3901. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3902. CameraEnshaking(1,5)
  3903. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3904. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3905. for i = 0, 9 do
  3906. 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)
  3907. end
  3908. for i = 0, 49 do
  3909. swait()
  3910. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3911. 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)
  3912. end
  3913. end
  3914. end)
  3915. end))
  3916. end
  3917. Overed = true
  3918. orb:Destroy()
  3919. end))
  3920.  
  3921. attack = false
  3922. end
  3923.  
  3924. function StarfallEX()
  3925. attack = true
  3926. hum.WalkSpeed = 0
  3927. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
  3928. for i = 0, 10, 0.1 do
  3929. swait()
  3930. 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)
  3931. 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)
  3932. 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)
  3933. 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)
  3934. 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)
  3935. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3936. 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)
  3937. 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)
  3938. end
  3939. local Overed = false
  3940. CameraEnshaking(2,20)
  3941. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3942. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3943. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  3944. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
  3945. local orb = Instance.new("Part", char)
  3946. orb.Anchored = true
  3947. orb.BrickColor = BrickColor.new("Toothpaste")
  3948. orb.CanCollide = false
  3949. orb.FormFactor = 3
  3950. orb.Name = "Remenant"
  3951. orb.Material = "Neon"
  3952. orb.CFrame = root.CFrame*CFrame.new(0,250,0)
  3953. orb.Size = Vector3.new(1, 1, 1)
  3954. orb.Transparency = 1
  3955. orb.TopSurface = 0
  3956. orb.BottomSurface = 0
  3957. hum.WalkSpeed = storehumanoidWS
  3958. coroutine.resume(coroutine.create(function()
  3959. for i = 0, 4 do
  3960. swait(15)
  3961. local lb = Instance.new("Part")
  3962. lb.Color = MAINRUINCOLOR.Color
  3963. lb.CanCollide = false
  3964. lb.Material = "Neon"
  3965. lb.Anchored = true
  3966. lb.TopSurface = 0
  3967. lb.BottomSurface = 0
  3968. lb.Transparency = 0
  3969. lb.Size = vt(1,1,1)
  3970. 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)))
  3971. lb.Anchored = false
  3972. lb.Parent = char
  3973. local thingery = Instance.new("SpecialMesh",lb)
  3974. thingery.MeshType = "Sphere"
  3975. thingery.Scale = vt(50,50,50)
  3976. game:GetService("Debris"):AddItem(lb, 10)
  3977. local bv = Instance.new("BodyVelocity")
  3978. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3979. bv.velocity = lb.CFrame.lookVector*math.random(50,420)
  3980. bv.Parent = lb
  3981. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  3982. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  3983. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
  3984. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
  3985. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
  3986. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
  3987. local hitted = false
  3988. coroutine.resume(coroutine.create(function()
  3989. while true do
  3990. swait(1)
  3991. if lb.Parent ~= nil and hitted == false then
  3992. 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)
  3993. elseif lb.Parent == nil then
  3994. break
  3995. end
  3996. end
  3997. end))
  3998.  
  3999. game:GetService("Debris"):AddItem(a, 0.1)
  4000.  
  4001. coroutine.resume(coroutine.create(function()
  4002. swait(1)
  4003. lb.Touched:connect(function(hit)
  4004. if hitted == false then
  4005. hitted = true
  4006. lb.Transparency = 1
  4007. lb.Anchored = true
  4008. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
  4009. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
  4010. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
  4011. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
  4012. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
  4013. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
  4014. MagniDamage(lb, 50, 60,99, 0, "Normal")
  4015. CameraEnshaking(1,5)
  4016. sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
  4017. sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
  4018. for i = 0, 9 do
  4019. 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)
  4020. end
  4021. for i = 0, 99 do
  4022. swait()
  4023. MagniDamage(lb, 30, 6,18, 0, "Normal")
  4024. 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)
  4025. end
  4026. end
  4027. end)
  4028. end))
  4029. end
  4030. Overed = true
  4031. orb:Destroy()
  4032. end))
  4033.  
  4034. attack = false
  4035. end
  4036.  
  4037. function DivineBlast()
  4038. attack = true
  4039. bosschatfunc("Justice Beam!!",MAINRUINCOLOR.Color,0.7)
  4040. hum.WalkSpeed = 0
  4041. local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
  4042. elocacenter.Anchored = true
  4043. elocacenter.CFrame = sorb.CFrame
  4044. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4045. eloca1.Anchored = true
  4046. eloca1.CFrame = elocacenter.CFrame
  4047. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4048. eloca2.Anchored = true
  4049. eloca2.CFrame = elocacenter.CFrame
  4050. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4051. eloca3.Anchored = true
  4052. eloca3.CFrame = elocacenter.CFrame
  4053. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4054. eloca4.Anchored = true
  4055. eloca4.CFrame = elocacenter.CFrame
  4056. local lookavec = 0
  4057. local speeds = 0
  4058. CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
  4059. for i = 0, 3, 0.1 do
  4060. swait()
  4061. ---
  4062. lookavec = lookavec + 0.1
  4063. speeds = speeds + 10
  4064. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4065. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4066. 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)
  4067.  
  4068. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4069. 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)
  4070.  
  4071. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4072. 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)
  4073.  
  4074. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4075. 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)
  4076. ---
  4077. root.CFrame = FaceMouse()[1]
  4078. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  4079. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  4080. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4081. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  4082. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4083. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  4084. end
  4085. for i = 0, 3, 0.1 do
  4086. swait()
  4087. ---
  4088. speeds = speeds + 10
  4089. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4090. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4091. 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)
  4092.  
  4093. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4094. 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)
  4095.  
  4096. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4097. 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)
  4098.  
  4099. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4100. 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)
  4101. ---
  4102. root.CFrame = FaceMouse()[1]
  4103. 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)
  4104. 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)
  4105. 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)
  4106. 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)
  4107. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4108. 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)
  4109. end
  4110. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
  4111. CFuncs["Sound"].Create("rbxassetid://1436239652", char, 40,1)
  4112. for i = 0, 3, 0.1 do
  4113. swait()
  4114. ---
  4115. speeds = speeds + 10
  4116. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4117. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4118. 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)
  4119.  
  4120. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4121. 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)
  4122.  
  4123. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4124. 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)
  4125.  
  4126. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4127. 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)
  4128. ---
  4129. root.CFrame = FaceMouse()[1]
  4130. 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)
  4131. 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)
  4132. 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)
  4133. 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)
  4134. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  4135. 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)
  4136. end
  4137. coroutine.resume(coroutine.create(function()
  4138. local a = Instance.new("Part",Character)
  4139. a.Name = "Direction"
  4140. a.Anchored = true
  4141. a.BrickColor = bc("White")
  4142. a.Material = "Neon"
  4143. a.Transparency = 0
  4144. a.Shape = "Cylinder"
  4145. a.CanCollide = false
  4146. local a2 = Instance.new("Part",Character)
  4147. a2.Name = "Direction"
  4148. a2.Anchored = true
  4149. a2.BrickColor = bc("Bright yellow")
  4150. a2.Material = "Neon"
  4151. a2.Transparency = 0
  4152. a2.Shape = "Cylinder"
  4153. a2.CanCollide = false
  4154. local b = Instance.new("Part",Character)
  4155. b.Name = "HitDirect"
  4156. b.Anchored = true
  4157. b.BrickColor = bc("Cool yellow")
  4158. b.Material = "Neon"
  4159. b.Transparency = 1
  4160. b.CanCollide = false
  4161. local ray = Ray.new(
  4162. elocacenter.CFrame.p, -- origin
  4163. (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
  4164. )
  4165. local ignore = Character
  4166. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4167. a.BottomSurface = 10
  4168. a.TopSurface = 10
  4169. a2.BottomSurface = 10
  4170. a2.TopSurface = 10
  4171. local distance = (elocacenter.CFrame.p - position).magnitude
  4172. a.Size = Vector3.new(distance, 1, 1)
  4173. a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4174. a2.Size = Vector3.new(distance, 1, 1)
  4175. a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4176. b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4177. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4178. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4179. game:GetService("Debris"):AddItem(a, 10)
  4180. game:GetService("Debris"):AddItem(a2, 10)
  4181. game:GetService("Debris"):AddItem(b, 10)
  4182. local eff = Instance.new("ParticleEmitter",b)
  4183. eff.Texture = "rbxassetid://2273224484"
  4184. eff.LightEmission = 1
  4185. eff.Color = ColorSequence.new(Color3.new(1,1,0))
  4186. eff.Rate = 500000
  4187. eff.Lifetime = NumberRange.new(0.5,2)
  4188. 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)})
  4189. 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)})
  4190. eff.Speed = NumberRange.new(20,250)
  4191. eff.Drag = 5
  4192. eff.Rotation = NumberRange.new(-500,500)
  4193. eff.VelocitySpread = 9000
  4194. eff.RotSpeed = NumberRange.new(-50,50)
  4195. coroutine.resume(coroutine.create(function()
  4196. wait(0.25)
  4197. eff.Enabled = false
  4198. end))
  4199. local msh = Instance.new("SpecialMesh",a)
  4200. msh.MeshType = "Cylinder"
  4201. msh.Scale = vt(1,2,2)
  4202. local msh2 = Instance.new("SpecialMesh",a2)
  4203. msh2.MeshType = "Cylinder"
  4204. msh2.Scale = vt(1,2.5,2.5)
  4205. CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
  4206. coroutine.resume(coroutine.create(function()
  4207. for i = 0,10,0.1 do
  4208. swait()
  4209. msh.Scale = msh.Scale + vt(0,0.05,0.05)
  4210. a.Transparency = a.Transparency + 0.025
  4211. msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
  4212. a2.Transparency = a2.Transparency + 0.05
  4213. end
  4214. a:Destroy()
  4215. a2:Destroy()
  4216. end))
  4217. CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
  4218. CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
  4219. CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
  4220. CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
  4221. CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
  4222. CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
  4223. MagniDamage(b, 25, 40,65, 0, "Normal")
  4224. for i = 0, 49 do
  4225. 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)
  4226. 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)
  4227. end
  4228. sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
  4229. sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
  4230. sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4231. sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4232. sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4233. sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4234. end))
  4235. game:GetService("Debris"):AddItem(elocacenter, 5)
  4236. hum.WalkSpeed = storehumanoidWS
  4237. attack = false
  4238. end
  4239.  
  4240. function StarDivision()
  4241. attack = true
  4242. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4243. for i = 0, 2, 0.1 do
  4244. swait()
  4245. 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)
  4246. 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)
  4247. 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)
  4248. 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)
  4249. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  4250. 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)
  4251. end
  4252. local orb = Instance.new("Part", char)
  4253. orb.BrickColor = MAINRUINCOLOR
  4254. orb.CanCollide = false
  4255. orb.FormFactor = 3
  4256. orb.Name = "Ring"
  4257. orb.Material = "Neon"
  4258. orb.Size = Vector3.new(1, 1, 1)
  4259. orb.Transparency = 0
  4260. orb.TopSurface = 0
  4261. orb.BottomSurface = 0
  4262. local orbm = Instance.new("SpecialMesh", orb)
  4263. orbm.MeshType = "Sphere"
  4264. orbm.Name = "SizeMesh"
  4265. orbm.Scale = vt(2,2,2)
  4266. local a = Instance.new("Part",workspace)
  4267. a.Name = "Direction"
  4268. a.Anchored = true
  4269. a.BrickColor = bc("Bright red")
  4270. a.Material = "Neon"
  4271. a.Transparency = 1
  4272. a.CanCollide = false
  4273. local ray = Ray.new(
  4274. sorb.CFrame.p, -- origin
  4275. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  4276. )
  4277. local ignore = sorb
  4278. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4279. a.BottomSurface = 10
  4280. a.TopSurface = 10
  4281. local distance = (sorb.CFrame.p - position).magnitude
  4282. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4283. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4284. orb.CFrame = a.CFrame
  4285. a:Destroy()
  4286. local bv = Instance.new("BodyVelocity")
  4287. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4288. bv.velocity = orb.CFrame.lookVector*100
  4289. bv.Parent = orb
  4290. local hitted = false
  4291. game:GetService("Debris"):AddItem(orb, 10)
  4292. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  4293. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  4294. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  4295. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  4296. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  4297. coroutine.resume(coroutine.create(function()
  4298. while true do
  4299. swait(1)
  4300. if orb.Parent ~= nil and hitted == false then
  4301. 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)
  4302. elseif orb.Parent == nil then
  4303. break
  4304. end
  4305. end
  4306. end))
  4307. coroutine.resume(coroutine.create(function()
  4308. swait(1)
  4309. orb.Touched:connect(function(hit)
  4310. if hitted == false then
  4311. hitted = true
  4312. game:GetService("Debris"):AddItem(orb, 5)
  4313. orb.Transparency = 1
  4314. orb.Anchored = true
  4315. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4316. elocacenter.Anchored = true
  4317. elocacenter.CFrame = orb.CFrame
  4318. elocacenter.Orientation = vt(0,0,0)
  4319. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4320. eloca1.Anchored = true
  4321. eloca1.CFrame = elocacenter.CFrame
  4322. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4323. eloca2.Anchored = true
  4324. eloca2.CFrame = elocacenter.CFrame
  4325. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4326. eloca3.Anchored = true
  4327. eloca3.CFrame = elocacenter.CFrame
  4328. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4329. eloca4.Anchored = true
  4330. eloca4.CFrame = elocacenter.CFrame
  4331. local lookavec = 0
  4332. local speeds = 0
  4333. CameraEnshaking(1,1)
  4334. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4335. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4336. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4337. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4338. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4339. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4340. for i = 0, 99 do
  4341. swait()
  4342. lookavec = lookavec + 1
  4343. speeds = speeds + 0.1
  4344. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4345. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4346. 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)
  4347.  
  4348. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4349. 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)
  4350.  
  4351. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4352. 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)
  4353.  
  4354. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4355. 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)
  4356. end
  4357.  
  4358. for i = 0, 149 do
  4359. swait()
  4360. speeds = speeds + 0.1
  4361. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4362. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4363. 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)
  4364.  
  4365. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4366. 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)
  4367.  
  4368. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4369. 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)
  4370.  
  4371. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4372. 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)
  4373. end
  4374. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  4375. if v:FindFirstChild('Head') then
  4376. dmg(v)
  4377. end
  4378. end
  4379. CameraEnshaking(7,30)
  4380. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  4381. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  4382. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  4383. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  4384. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4385. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  4386. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  4387. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4388. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4389. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4390. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4391. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4392. for i = 0, 24 do
  4393. 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)
  4394. 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)
  4395. 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)
  4396. 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)
  4397. end
  4398. coroutine.resume(coroutine.create(function()
  4399. for i = 0, 499 do
  4400. swait(1)
  4401. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  4402. 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)
  4403. end
  4404. elocacenter:Destroy()
  4405. eloca1:Destroy()
  4406. eloca2:Destroy()
  4407. eloca3:Destroy()
  4408. eloca4:Destroy()
  4409. end))
  4410. end
  4411. end)
  4412. end))
  4413. attack = false
  4414. end
  4415.  
  4416.  
  4417. function THE_TRUE_POWER_OF_VIOLENCE()
  4418. attack = true
  4419. hum.WalkSpeed = 0
  4420. bosschatfunc("ALL YOUR DESTINY...",MAINRUINCOLOR.Color,4)
  4421. for i = 0, 10, 0.1 do
  4422. swait()
  4423. 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)
  4424. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1)
  4425. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1)
  4426. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(40)),.4)
  4427. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  4428. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4429. 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)
  4430. end
  4431. local orb = Instance.new("Part", char)
  4432. orb.BrickColor = MAINRUINCOLOR
  4433. orb.CanCollide = false
  4434. orb.FormFactor = 3
  4435. orb.Name = "Ring"
  4436. orb.Material = "Neon"
  4437. orb.Size = Vector3.new(1, 1, 1)
  4438. orb.Transparency = 0
  4439. orb.TopSurface = 0
  4440. orb.BottomSurface = 0
  4441. orb.CFrame = sorb.CFrame
  4442. local orbm = Instance.new("SpecialMesh", orb)
  4443. orbm.MeshType = "Sphere"
  4444. orbm.Name = "SizeMesh"
  4445. orbm.Scale = vt(0,0,0)
  4446. local sbs = Instance.new("BodyPosition", orb)
  4447. sbs.P = 3000
  4448. sbs.D = 1000
  4449. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4450. sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
  4451. CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
  4452. sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4453. sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4454. sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4455. sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4456. sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4457. for i = 0, 10, 0.1 do
  4458. swait()
  4459. 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)
  4460. 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)
  4461. 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)
  4462. 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)
  4463. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4464. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4465. 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)
  4466. end
  4467. orb.Anchored = true
  4468. local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4469. elocacenter.Anchored = true
  4470. elocacenter.CFrame = orb.CFrame
  4471. elocacenter.Orientation = vt(0,0,0)
  4472. local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4473. eloca1.Anchored = true
  4474. eloca1.CFrame = elocacenter.CFrame
  4475. local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4476. eloca2.Anchored = true
  4477. eloca2.CFrame = elocacenter.CFrame
  4478. local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4479. eloca3.Anchored = true
  4480. eloca3.CFrame = elocacenter.CFrame
  4481. local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4482. eloca4.Anchored = true
  4483. eloca4.CFrame = elocacenter.CFrame
  4484. local lookavec = 0
  4485. local speeds = 0
  4486. CameraEnshaking(1,1)
  4487. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
  4488. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
  4489. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
  4490. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
  4491. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4492. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4493. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4494. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4495. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4496. for i = 0, 99 do
  4497. swait()
  4498. lookavec = lookavec + 2.5
  4499. speeds = speeds + 0.25
  4500. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4501. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4502. 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)
  4503.  
  4504. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4505. 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)
  4506.  
  4507. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4508. 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)
  4509.  
  4510. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4511. 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)
  4512. end
  4513.  
  4514. for i = 0, 149 do
  4515. swait()
  4516. speeds = speeds + 0.25
  4517. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4518. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4519. 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)
  4520.  
  4521. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4522. 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)
  4523.  
  4524. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4525. 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)
  4526.  
  4527. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4528. 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)
  4529. end
  4530. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
  4531. for i = 0, 99 do
  4532. swait()
  4533. lookavec = lookavec - 2.5
  4534. speeds = speeds + 0.25
  4535. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4536. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4537. 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)
  4538.  
  4539. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4540. 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)
  4541.  
  4542. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4543. 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)
  4544.  
  4545. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4546. 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)
  4547. end
  4548. local scaled = 0.1*75
  4549. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
  4550. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
  4551. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
  4552. CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
  4553. CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
  4554. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  4555. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4556. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4557. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4558. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4559. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4560.  
  4561. for i = 0, 10, 0.1 do
  4562. swait()
  4563. scaled = scaled - 0.001*75
  4564. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4565. 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)
  4566. 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)
  4567. 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)
  4568. 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)
  4569. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4570. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4571. 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)
  4572. end
  4573. bosschatfunc("WILL BE MINE!!!!",MAINRUINCOLOR.Color,2)
  4574. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 10, 1,0,10,0.15,0.5,1)
  4575. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 60, 1,0,10,0.15,0.5,1)
  4576. for x = 0, 4 do
  4577. for i = 0, 9 do
  4578. 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)
  4579. end
  4580. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
  4581. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
  4582. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4583. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4584. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4585. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4586. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4587. for i = 0, 5, 0.1 do
  4588. swait()
  4589. 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)
  4590. 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)
  4591. 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)
  4592. 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)
  4593. 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)
  4594. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  4595. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
  4596. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
  4597. end
  4598. end
  4599. local speedearn = 0
  4600. CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
  4601. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
  4602. CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
  4603. for i = 0, 30, 0.1 do
  4604. swait()
  4605. scaled = scaled - 0.001*75/10
  4606. speedearn = speedearn + 0.5
  4607. for i = 0, 4 do
  4608. 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)
  4609. end
  4610. 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)
  4611. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4612. 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)
  4613. 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)
  4614. 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)
  4615. 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)
  4616. 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)
  4617. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
  4618. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
  4619. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
  4620. end
  4621. orb.Transparency = 1
  4622. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
  4623. if v:FindFirstChild('Head') then
  4624. dmg(v)
  4625. end
  4626. end
  4627. CameraEnshaking(7,30)
  4628. MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
  4629. CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
  4630. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
  4631. CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
  4632. CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
  4633. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4634. CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
  4635. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4636. CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
  4637. CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
  4638. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
  4639. CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
  4640. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
  4641. CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
  4642. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4643. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4644. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4645. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4646. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4647. for i = 0, 99 do
  4648. 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)
  4649. 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)
  4650. end
  4651. for i = 0, 24 do
  4652. 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)
  4653. 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)
  4654. 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)
  4655. 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)
  4656. 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)
  4657. end
  4658. game:GetService("Debris"):AddItem(orb, 10)
  4659. hum.WalkSpeed = storehumanoidWS
  4660. attack = false
  4661. end
  4662.  
  4663.  
  4664. function ViolentRing()
  4665. attack = true
  4666. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
  4667. bosschatfunc("SHOULD I TAKE THAT EASIER?!",MAINRUINCOLOR.Color,0.7)
  4668. CFuncs["EchoSound"].Create("rbxassetid://1535994137", char, 4, 1,0,10,0.15,0.5,1)
  4669. CFuncs["EchoSound"].Create("rbxassetid://1535994137", root, 7, 1,0,10,0.15,0.5,1)
  4670. for i = 0, 2, 0.1 do
  4671. swait()
  4672. local snap = math.random(1,10)
  4673. if snap == 1 then
  4674. 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)
  4675. end
  4676. 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)
  4677. 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)
  4678. 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)
  4679. 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)
  4680. 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)
  4681. 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)
  4682. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
  4683. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
  4684. 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)
  4685. RootPart.CFrame = FaceMouse()[1]
  4686. end
  4687. local orb = Instance.new("Part", char)
  4688. orb.BrickColor = MAINRUINCOLOR
  4689. orb.CanCollide = false
  4690. orb.FormFactor = 3
  4691. orb.Name = "Ring"
  4692. orb.Material = "Neon"
  4693. orb.Size = Vector3.new(1, 1, 1)
  4694. orb.Transparency = 0
  4695. orb.TopSurface = 0
  4696. orb.BottomSurface = 0
  4697. local orbm = Instance.new("SpecialMesh", orb)
  4698. orbm.MeshType = "Sphere"
  4699. orbm.Name = "SizeMesh"
  4700. orbm.Scale = vt(2,2,2)
  4701. orb.CFrame = mouse.Hit
  4702. local bv = Instance.new("BodyVelocity")
  4703. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4704. bv.velocity = orb.CFrame.lookVector*100
  4705. bv.Parent = orb
  4706. local hitted = false
  4707. coroutine.resume(coroutine.create(function()
  4708. game:GetService("Debris"):AddItem(orb, 5)
  4709. orb.Transparency = 1
  4710. orb.Anchored = true
  4711. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4712. elocacenter.Anchored = true
  4713. elocacenter.CFrame = orb.CFrame
  4714. elocacenter.Orientation = vt(0,0,0)
  4715. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4716. eloca1.Anchored = true
  4717. eloca1.CFrame = elocacenter.CFrame
  4718. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4719. eloca2.Anchored = true
  4720. eloca2.CFrame = elocacenter.CFrame
  4721. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4722. eloca3.Anchored = true
  4723. eloca3.CFrame = elocacenter.CFrame
  4724. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4725. eloca4.Anchored = true
  4726. eloca4.CFrame = elocacenter.CFrame
  4727. local lookavec = 0
  4728. local speeds = 0
  4729. CameraEnshaking(1,1)
  4730. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4731. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4732. sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4733. sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4734. sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4735. sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4736. for i = 0, 24 do
  4737. swait()
  4738. lookavec = lookavec + 3.5
  4739. speeds = speeds + 1
  4740. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4741. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4742. 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)
  4743.  
  4744. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4745. 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)
  4746.  
  4747. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4748. 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)
  4749.  
  4750. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4751. 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)
  4752. end
  4753.  
  4754. local risen = 0
  4755. for i = 0, 49 do
  4756. swait()
  4757. risen = risen + 0.05
  4758. speeds = speeds + 0.1
  4759. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4760. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4761. 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)
  4762.  
  4763. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4764. 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)
  4765.  
  4766. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4767. 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)
  4768.  
  4769. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4770. 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)
  4771. end
  4772. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
  4773. if v:FindFirstChild('Head') then
  4774. dmg(v)
  4775. end
  4776. end
  4777. CameraEnshaking(4,10)
  4778. MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
  4779. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
  4780. CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
  4781. CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
  4782. CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
  4783. CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
  4784. local eff = Instance.new("ParticleEmitter",elocacenter)
  4785. eff.Texture = "rbxassetid://2273224484"
  4786. eff.LightEmission = 1
  4787. eff.Color = ColorSequence.new(Color3.new(1,1,0))
  4788. eff.Rate = 1000000
  4789. eff.Lifetime = NumberRange.new(0.5,2)
  4790. 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)})
  4791. 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)})
  4792. eff.Speed = NumberRange.new(20,250)
  4793. eff.Drag = 5
  4794. eff.Rotation = NumberRange.new(-500,500)
  4795. eff.VelocitySpread = 5000000
  4796. eff.RotSpeed = NumberRange.new(-50,50)
  4797. coroutine.resume(coroutine.create(function()
  4798. wait(1)
  4799. eff.Enabled = false
  4800. end))
  4801. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
  4802. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
  4803. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4804. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4805. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4806. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4807. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4808. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
  4809. for i = 0, 24 do
  4810. 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)
  4811. 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)
  4812. 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)
  4813. 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)
  4814. end
  4815. coroutine.resume(coroutine.create(function()
  4816. wait(10)
  4817. elocacenter:Destroy()
  4818. eloca1:Destroy()
  4819. eloca2:Destroy()
  4820. eloca3:Destroy()
  4821. eloca4:Destroy()
  4822. end))
  4823. end))
  4824. attack = false
  4825. end
  4826.  
  4827. function UniversalCollapse()
  4828. attack = true
  4829. local speedearn = 0
  4830. hum.WalkSpeed = 0
  4831. local sbs = Instance.new("BodyPosition", root)
  4832. sbs.P = 3000
  4833. sbs.D = 1000
  4834. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4835. sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
  4836. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4837. for i = 0, 85, 0.1 do
  4838. swait()
  4839. speedearn = speedearn + 0.1
  4840. 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)
  4841. 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)
  4842. 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)
  4843. 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)
  4844. 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)
  4845. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4846. 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)
  4847. 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)
  4848. 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)
  4849. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4850. 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)
  4851. 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)
  4852. end
  4853. bosschatfunc("Universary..",MAINRUINCOLOR.Color,1)
  4854. CFuncs["EchoSound"].Create("rbxassetid://1448032598", char, 5, 1,0,10,0.15,0.5,1)
  4855. CFuncs["EchoSound"].Create("rbxassetid://1448032598", root, 20, 1,0,10,0.15,0.5,1)
  4856. for i = 0, 25, 0.1 do
  4857. swait()
  4858. speedearn = speedearn + 0.1
  4859. 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)
  4860. 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)
  4861. 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)
  4862. 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)
  4863. 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)
  4864. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4865. 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)
  4866. 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)
  4867. 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)
  4868. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4869. 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)
  4870. 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)
  4871. end
  4872. bosschatfunc("COLLAPSE!!!",MAINRUINCOLOR.Color,1)
  4873. CFuncs["EchoSound"].Create("rbxassetid://1436241883", char, 5, 1,0,10,0.15,0.5,1)
  4874. CFuncs["EchoSound"].Create("rbxassetid://1436241883", root, 20, 1,0,10,0.15,0.5,1)
  4875. CameraEnshaking(5,50)
  4876. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4877. for i = 0, 2 do
  4878. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4879. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4880. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
  4881. CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
  4882. end
  4883. for i = 0, 49 do
  4884. 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)
  4885. 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)
  4886. 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)
  4887. 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)
  4888. end
  4889. sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4890. sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4891. sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4892. sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4893. sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4894. sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4895. sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4896. sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4897. sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4898. sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4899. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4900. sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4901. for i = 0, 99 do
  4902. 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)
  4903. 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)
  4904. end
  4905. for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
  4906. if v:FindFirstChild('Head') then
  4907. dmg(v)
  4908. end
  4909. end
  4910. MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
  4911. sbs:Destroy()
  4912. hum.WalkSpeed = storehumanoidWS
  4913. attack = false
  4914. end
  4915.  
  4916.  
  4917. function ChaosEND()
  4918. attack = true
  4919. local speedearn = 0
  4920. bosschatfunc("THIS IS..",MAINRUINCOLOR.Color,0.8)
  4921. CFuncs["EchoSound"].Create("rbxassetid://1548599511", char, 4.5, 1,0,10,0.15,0.5,1)
  4922. CFuncs["EchoSound"].Create("rbxassetid://1548599511", root, 30, 1,0,10,0.15,0.5,1)
  4923. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
  4924. for i = 0, 15, 0.1 do
  4925. swait()
  4926. speedearn = speedearn + 0.25
  4927. 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)
  4928. 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)
  4929. 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)
  4930. 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)
  4931. 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)
  4932. 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)
  4933. 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)
  4934. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4935. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4936. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4937. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4938. end
  4939. CFuncs["Sound"].Create("rbxassetid://438666141", char, 3,1)
  4940. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
  4941. bosschatfunc("THE END!!!",MAINRUINCOLOR.Color,2)
  4942. CFuncs["EchoSound"].Create("rbxassetid://1548599962", char, 8, 1,0,10,0.15,0.5,1)
  4943. CFuncs["EchoSound"].Create("rbxassetid://1548599962", root, 40, 1,0,10,0.15,0.5,1)
  4944. CameraEnshaking(5,25)
  4945. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4946. if v:FindFirstChild('Head') then
  4947. dmg(v)
  4948. end
  4949. end
  4950. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  4951. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  4952. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  4953. for i = 0, 3, 0.1 do
  4954. swait()
  4955. 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)
  4956. 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)
  4957. 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)
  4958. 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)
  4959. 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)
  4960. 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)
  4961. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4962. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4963. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4964. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4965. end
  4966. attack = false
  4967. end
  4968.  
  4969. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4970. local orb = Instance.new("Part", char)
  4971. orb.Anchored = true
  4972. orb.BrickColor = color
  4973. orb.CanCollide = false
  4974. orb.FormFactor = 3
  4975. orb.Name = "Ring"
  4976. orb.Material = "Neon"
  4977. orb.Size = Vector3.new(1, 1, 1)
  4978. orb.Transparency = 0
  4979. orb.TopSurface = 0
  4980. orb.BottomSurface = 0
  4981. local orbm = Instance.new("SpecialMesh", orb)
  4982. orbm.MeshType = "Sphere"
  4983. orb.CFrame = positted
  4984. orbm.Name = "SizeMesh"
  4985. orbm.Scale = vt(1,1,1)
  4986. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  4987. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  4988. --[[for i = 0, 2 do
  4989. 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)
  4990. end]]--
  4991. coroutine.resume(coroutine.create(function()
  4992. wait(timer)
  4993. CameraEnshaking(3,ShakePower)
  4994. orb.Transparency = 1
  4995. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  4996. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  4997. --[[for i = 0, 4 do
  4998. 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)
  4999. end]]--
  5000. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  5001. wait(3)
  5002. orb:Destroy()
  5003. end))
  5004. end
  5005.  
  5006. function orb_spawn(positted,timer)
  5007. local randomcol = math.random(1,2)
  5008. local orb = Instance.new("Part", char)
  5009. orb.Anchored = true
  5010. if randomcol == 1 then
  5011. orb.BrickColor = BrickColor.new("White")
  5012. elseif randomcol == 2 then
  5013. orb.BrickColor = BrickColor.new("Really black")
  5014. end
  5015. orb.CanCollide = false
  5016. orb.FormFactor = 3
  5017. orb.Name = "Ring"
  5018. orb.Material = "Neon"
  5019. orb.Size = Vector3.new(1, 1, 1)
  5020. orb.Transparency = 0
  5021. orb.TopSurface = 0
  5022. orb.BottomSurface = 0
  5023. local orbm = Instance.new("SpecialMesh", orb)
  5024. orbm.MeshType = "Sphere"
  5025. orb.CFrame = positted
  5026. orbm.Name = "SizeMesh"
  5027. orbm.Scale = vt(1,1,1)
  5028. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 0.15, 1)
  5029. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  5030. for i = 0, 2 do
  5031. 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)
  5032. end
  5033. coroutine.resume(coroutine.create(function()
  5034. wait(timer)
  5035. CameraEnshaking(3,2)
  5036. orb.Transparency = 1
  5037. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  5038. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  5039. for i = 0, 4 do
  5040. 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)
  5041. end
  5042. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 0.15, 0.7)
  5043. wait(3)
  5044. orb:Destroy()
  5045. end))
  5046. end
  5047.  
  5048. function scattercorrupt()
  5049. attack = true
  5050. hum.WalkSpeed = 0
  5051. for i = 0, 2, 0.1 do
  5052. swait()
  5053. 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)
  5054. 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)
  5055. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5056. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5057. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.2)
  5058. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.2)
  5059. end
  5060. local rot = 0
  5061. local randomrotations = math.random(1,2)
  5062. local lookv = 2.5
  5063. local power = 7
  5064. local radm = math.random(1,3)
  5065. if radm == 1 then
  5066. bosschatfunc("HOW LONG CAN YOU TAKE THIS?",MAINRUINCOLOR.Color,1)
  5067. elseif radm == 2 then
  5068. bosschatfunc("SWAMP!!",MAINRUINCOLOR.Color,1)
  5069. elseif radm == 3 then
  5070. bosschatfunc("SCATTER!!",MAINRUINCOLOR.Color,1)
  5071. end
  5072. CFuncs["Sound"].Create("rbxassetid://183763506", RightLeg, 2, 1)
  5073. for i = 0, 1, 0.1 do
  5074. swait()
  5075. 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)
  5076. 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)
  5077. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(15),math.rad(0),math.rad(0)),.15)
  5078. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.15)
  5079. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(40)),.15)
  5080. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(-40)),.15)
  5081. end
  5082. CFuncs["EchoSound"].Create("rbxassetid://1535994669", char, 5, 1,0,10,0.15,0.5,1)
  5083. CFuncs["EchoSound"].Create("rbxassetid://1535994669", root, 20, 1,0,10,0.15,0.5,1)
  5084. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  5085. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  5086. for i = 0, 9 do
  5087. 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)
  5088. end
  5089. local hite = Instance.new("Part", char)
  5090. hite.Anchored = true
  5091. hite.CanCollide = false
  5092. hite.FormFactor = 3
  5093. hite.Name = "Ring"
  5094. hite.Material = "Neon"
  5095. hite.Size = Vector3.new(1, 1, 1)
  5096. hite.Transparency = 1
  5097. hite.TopSurface = 0
  5098. hite.BottomSurface = 0
  5099. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  5100. local rem = Instance.new("Part", char)
  5101. rem.Anchored = true
  5102. rem.CanCollide = false
  5103. rem.FormFactor = 3
  5104. rem.Name = "Ring"
  5105. rem.Material = "Neon"
  5106. rem.Size = Vector3.new(1, 1, 1)
  5107. rem.Transparency = 1
  5108. rem.TopSurface = 0
  5109. rem.BottomSurface = 0
  5110. rem.CFrame = hite.CFrame
  5111. local rem2 = rem:Clone()
  5112. rem2.Parent = char
  5113. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  5114. local rem3 = rem:Clone()
  5115. rem3.Parent = char
  5116. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  5117. local rem4 = rem:Clone()
  5118. rem4.Parent = char
  5119. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  5120. hite:Destroy()
  5121. coroutine.resume(coroutine.create(function()
  5122. for i = 0, 24 do
  5123. swait(1)
  5124. if randomrotations == 1 then
  5125. rot = rot + 1
  5126. elseif randomrotations == 2 then
  5127. rot = rot - 1
  5128. end
  5129. power = power + 0.5
  5130. lookv = lookv + 7.5
  5131. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5132. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  5133. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  5134. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  5135. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5136. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5137. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5138. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5139. end
  5140. end))
  5141. wait(2)
  5142. hum.WalkSpeed = storehumanoidWS
  5143. attack = false
  5144. end
  5145. function yinyangi()
  5146. attack = true
  5147. for i = 0, 2, 0.1 do
  5148. swait()
  5149. 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)
  5150. 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)
  5151. 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)
  5152. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5153. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  5154. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  5155. end
  5156. local bv = Instance.new("BodyVelocity")
  5157. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5158. bv.velocity = root.CFrame.lookVector*175
  5159. bv.Parent = root
  5160. for Rotations = 0, 9 do
  5161. for i = 0, 1, 0.5 do
  5162. swait()
  5163. bv.velocity = root.CFrame.lookVector*175
  5164. 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)
  5165. 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)
  5166. 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)
  5167. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5168. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5169. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5170. end
  5171. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5172. for i = 0, 1, 0.5 do
  5173. swait()
  5174. bv.velocity = root.CFrame.lookVector*175
  5175. 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)
  5176. 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)
  5177. 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)
  5178. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5179. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5180. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5181. end
  5182. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5183. for i = 0, 1, 0.5 do
  5184. swait()
  5185. bv.velocity = root.CFrame.lookVector*175
  5186. 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)
  5187. 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)
  5188. 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)
  5189. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5190. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5191. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5192. end
  5193. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5194. for i = 0, 1, 0.5 do
  5195. swait()
  5196. bv.velocity = root.CFrame.lookVector*175
  5197. 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)
  5198. 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)
  5199. 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)
  5200. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5201. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5202. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5203. end
  5204. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5205. end
  5206. bv:Destroy()
  5207. attack = false
  5208. end
  5209.  
  5210. function createBGCircle(size,parent,color)
  5211. local bgui = Instance.new("BillboardGui",parent)
  5212. bgui.Size = UDim2.new(size, 0, size, 0)
  5213. local imgc = Instance.new("ImageLabel",bgui)
  5214. imgc.BackgroundTransparency = 1
  5215. imgc.ImageTransparency = 0
  5216. imgc.Size = UDim2.new(1,0,1,0)
  5217. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  5218. imgc.ImageColor3 = color
  5219. return bgui,imgc
  5220. end
  5221.  
  5222. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  5223. local bgui,imgc = createBGCircle(size,guipar,color)
  5224. bgui.AlwaysOnTop = true
  5225. imgc.Image = "rbxassetid://" ..img
  5226. local rrot = math.random(1,2)
  5227. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  5228. coroutine.resume(coroutine.create(function()
  5229. for i = 0, 24*delay do
  5230. swait()
  5231. if rotationenabled == true then
  5232. if rrot == 1 then
  5233. imgc.Rotation = imgc.Rotation + rotsp
  5234. elseif rrot == 2 then
  5235. imgc.Rotation = imgc.Rotation - rotsp
  5236. end
  5237. end
  5238. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  5239. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  5240. end
  5241. bgui:Destroy()
  5242. end))
  5243. end
  5244. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled)
  5245. for i, v in pairs(mw2:GetChildren()) do
  5246. if v:IsA("Part") then
  5247. v.BrickColor = one
  5248. v.Material = "Neon"
  5249. end
  5250. end
  5251. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  5252. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  5253. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  5254. tr1.Color = ColorSequence.new(one.Color)
  5255. tr2.Color = ColorSequence.new(one.Color)
  5256. tr3.Color = ColorSequence.new(one.Color)
  5257. for i, v in pairs(mw1:GetChildren()) do
  5258. if v:IsA("Part") then
  5259. if secondaryenabled == false then
  5260. v.Transparency = 1
  5261. elseif secondaryenabled == true then
  5262. v.Transparency = 0
  5263. end
  5264. v.BrickColor = two
  5265. v.Material = "Neon"
  5266. end
  5267. end
  5268. if secondaryenabled == false then
  5269. tl1.Enabled = false
  5270. tl2.Enabled = false
  5271. tl3.Enabled = false
  5272. elseif secondaryenabled == true then
  5273. tl1.Enabled = true
  5274. tl2.Enabled = true
  5275. tl3.Enabled = true
  5276. end
  5277. tl1.Color = ColorSequence.new(two.Color)
  5278. tl2.Color = ColorSequence.new(two.Color)
  5279. tl3.Color = ColorSequence.new(two.Color)
  5280. for i, v in pairs(m:GetChildren()) do
  5281. if v:IsA("Part") then
  5282. v.BrickColor = three
  5283. v.Material = "Ice"
  5284. end
  5285. end
  5286. for i, v in pairs(m2:GetChildren()) do
  5287. if v:IsA("Part") then
  5288. v.BrickColor = four
  5289. v.Material = "Ice"
  5290. end
  5291. end
  5292. for i, v in pairs(m3:GetChildren()) do
  5293. if v:IsA("Part") then
  5294. v.BrickColor = five
  5295. v.Material = "Neon"
  5296. end
  5297. end
  5298. for i, v in pairs(extrawingmod1:GetChildren()) do
  5299. if v:IsA("Part") then
  5300. v.Transparency = exonetran
  5301. v.BrickColor = exone
  5302. v.Material = "Neon"
  5303. end
  5304. end
  5305. for i, v in pairs(extrawingmod2:GetChildren()) do
  5306. if v:IsA("Part") then
  5307. v.Transparency = extwotran
  5308. v.BrickColor = extwo
  5309. v.Material = "Neon"
  5310. end
  5311. end
  5312. end
  5313.  
  5314.  
  5315. function normalmog()
  5316. attack = true
  5317. hum.WalkSpeed = 0
  5318. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
  5319. for i = 0,6,0.1 do
  5320. swait()
  5321. 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)
  5322. 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)
  5323. 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)
  5324. 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)
  5325. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5326. 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)
  5327. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5328. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5329. end
  5330. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  5331. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  5332. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  5333. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  5334. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  5335. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  5336. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  5337. rainbowmode = false
  5338. chaosmode = false
  5339. ModeOfGlitch = 1
  5340. storehumanoidWS = 16
  5341. newTheme("rbxassetid://1277496561",48.6,1,30)
  5342. RecolorTextAndRename("HEARTLESS",Color3.new(0,0.0,0),Color3.new(0,0,0),"Antique")
  5343. CameraEnshaking(5,2.5)
  5344. MAINRUINCOLOR = BrickColor.new("Really black")
  5345. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5346. for i = 0, 49 do
  5347. 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)
  5348. end
  5349. for i = 0, 24 do
  5350. 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)
  5351. 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"))
  5352. end
  5353. for i = 0,3,0.1 do
  5354. 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)
  5355. end
  5356. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  5357. for i = 0,2,0.1 do
  5358. swait()
  5359. 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)
  5360. 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)
  5361. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  5362. 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)
  5363. 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)
  5364. 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)
  5365. end
  5366. hum.WalkSpeed = storehumanoidWS
  5367. attack = false
  5368. end
  5369.  
  5370. function attackone()
  5371. attack = true
  5372. local keptcolor = MAINRUINCOLOR
  5373. for i = 0,1,0.1 do
  5374. swait()
  5375. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  5376. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  5377. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  5378. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5379. 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)
  5380. 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)
  5381. end
  5382. local distlook = 5
  5383. coroutine.resume(coroutine.create(function()
  5384. for i = 0, 4 do
  5385. swait(2)
  5386. CameraEnshaking(2,3)
  5387. local hite = Instance.new("Part", char)
  5388. hite.Anchored = true
  5389. hite.CanCollide = false
  5390. hite.FormFactor = 3
  5391. hite.Name = "Ring"
  5392. hite.Material = "Neon"
  5393. hite.Size = Vector3.new(1, 1, 1)
  5394. hite.Transparency = 1
  5395. hite.TopSurface = 0
  5396. hite.BottomSurface = 0
  5397. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  5398. 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)
  5399. 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)
  5400. 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)
  5401. 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)
  5402. MagniDamage(hite, 9, 10,25, 0, "Normal")
  5403. for i = 0, 14 do
  5404. local rsiz = math.random(5,20)
  5405. 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)
  5406. end
  5407. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  5408. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  5409. game:GetService("Debris"):AddItem(hite, 5)
  5410. distlook = distlook + 10
  5411. end
  5412. end))
  5413. for i = 0,1,0.1 do
  5414. swait()
  5415. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  5416. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  5417. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  5418. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  5419. 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)
  5420. 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)
  5421. end
  5422. attack = false
  5423. end
  5424.  
  5425. function attacktwo()
  5426. attack = true
  5427. hum.WalkSpeed = 2
  5428. local keptcolor = MAINRUINCOLOR
  5429. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5430. 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)
  5431. 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)
  5432. for i = 0, 14 do
  5433. 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)
  5434. end
  5435. for i = 0,1,0.1 do
  5436. swait()
  5437. 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)
  5438. 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)
  5439. 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)
  5440. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  5441. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  5442. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  5443. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5444. end
  5445. for i = 0, 1 do
  5446. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  5447. for i = 0,1,0.6 do
  5448. swait()
  5449. 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)
  5450. 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"))
  5451. 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)
  5452. 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)
  5453. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5454. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5455. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5456. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5457. end
  5458. for i = 0,1,0.6 do
  5459. swait()
  5460. 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)
  5461. 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"))
  5462. 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)
  5463. 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)
  5464. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  5465. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5466. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5467. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5468. end
  5469. for i = 0,1,0.6 do
  5470. swait()
  5471. 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)
  5472. 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"))
  5473. 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)
  5474. 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)
  5475. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  5476. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5477. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5478. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5479. end
  5480. for i = 0,1,0.6 do
  5481. swait()
  5482. 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)
  5483. 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"))
  5484. 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)
  5485. 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)
  5486. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  5487. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5488. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5489. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5490. end
  5491. local rot = 0
  5492. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  5493. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  5494. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  5495. CreateMesh(dis,"Sphere",10,1,10)
  5496. local at1 = Instance.new("Attachment",dis)
  5497. at1.Position = vt(-5,0,0)
  5498. local at2 = Instance.new("Attachment",dis)
  5499. at2.Position = vt(5,0,0)
  5500. local trl = Instance.new('Trail',wed)
  5501. trl.Attachment0 = at1
  5502. trl.Attachment1 = at2
  5503. trl.Texture = "rbxassetid://1049219073"
  5504. trl.LightEmission = 1
  5505. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5506. trl.Color = ColorSequence.new(dis.Color)
  5507. trl.Lifetime = 0.6
  5508. local a = Instance.new("Part",workspace)
  5509. a.Name = "Direction"
  5510. a.Anchored = true
  5511. a.BrickColor = bc("Bright red")
  5512. a.Material = "Neon"
  5513. a.Transparency = 1
  5514. a.CanCollide = false
  5515. local ray = Ray.new(
  5516. dis.CFrame.p, -- origin
  5517. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5518. )
  5519. local ignore = dis
  5520. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5521. a.BottomSurface = 10
  5522. a.TopSurface = 10
  5523. local distance = (dis.CFrame.p - position).magnitude
  5524. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5525. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5526. dis.CFrame = a.CFrame
  5527. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5528. a:Destroy()
  5529. local bv = Instance.new("BodyVelocity")
  5530. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5531. bv.velocity = dis.CFrame.lookVector*250
  5532. bv.Parent = dis
  5533. game:GetService("Debris"):AddItem(dis, 5)
  5534. local hitted = false
  5535. coroutine.resume(coroutine.create(function()
  5536. dis.Touched:connect(function(hit)
  5537. if hitted == false and hit.Parent ~= char then
  5538. hitted = true
  5539. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  5540. MagniDamage(dis, 30, 33,56, 0, "Normal")
  5541. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  5542. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5543. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5544. coroutine.resume(coroutine.create(function()
  5545. for i = 0, 9 do
  5546. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  5547. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5548. local at1 = Instance.new("Attachment",disr)
  5549. at1.Position = vt(-5,0,0)
  5550. local at2 = Instance.new("Attachment",disr)
  5551. at2.Position = vt(5,0,0)
  5552. local trl = Instance.new('Trail',disr)
  5553. trl.Attachment0 = at1
  5554. trl.FaceCamera = true
  5555. trl.Attachment1 = at2
  5556. trl.Texture = "rbxassetid://2342682798"
  5557. trl.LightEmission = 1
  5558. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5559. trl.Color = ColorSequence.new(keptcolor.Color)
  5560. trl.Lifetime = 0.5
  5561. local bv = Instance.new("BodyVelocity")
  5562. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5563. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  5564. bv.Parent = disr
  5565. local val = 0
  5566. coroutine.resume(coroutine.create(function()
  5567. swait(30)
  5568. for i = 0, 9 do
  5569. swait()
  5570. val = val + 0.1
  5571. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5572. end
  5573. game:GetService("Debris"):AddItem(disr, 3)
  5574. end))
  5575. end
  5576. local eff = Instance.new("ParticleEmitter",dis)
  5577. eff.Texture = "rbxassetid://2273224484"
  5578. eff.LightEmission = 1
  5579. eff.Color = ColorSequence.new(keptcolor.Color)
  5580. eff.Rate = 500000
  5581. eff.Lifetime = NumberRange.new(0.5,2)
  5582. 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)})
  5583. 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)})
  5584. eff.Speed = NumberRange.new(20,250)
  5585. eff.Drag = 5
  5586. eff.Rotation = NumberRange.new(-500,500)
  5587. eff.VelocitySpread = 9000
  5588. eff.RotSpeed = NumberRange.new(-50,50)
  5589. wait(0.25)
  5590. eff.Enabled = false
  5591. end))
  5592. for i = 0, 9 do
  5593. 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"))
  5594. end
  5595. for i = 0, 19 do
  5596. 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)
  5597. end
  5598. coroutine.resume(coroutine.create(function()
  5599. for i = 0, 19 do
  5600. swait()
  5601. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  5602. end
  5603. hum.CameraOffset = vt(0,0,0)
  5604. end))
  5605. dis.Anchored = true
  5606. dis.Transparency = 1
  5607. wait(8)
  5608. dis:Destroy()
  5609. end
  5610. end)
  5611. end))
  5612. rot = rot - 15
  5613. end
  5614. for i = 0,2,0.1 do
  5615. swait()
  5616. 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)
  5617. 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)
  5618. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5619. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  5620. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5621. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5622. end
  5623. attack = false
  5624. hum.WalkSpeed = storehumanoidWS
  5625. end
  5626.  
  5627. function attackthree()
  5628. attack = true
  5629. local keptcolor = MAINRUINCOLOR
  5630. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  5631. for i = 0,2,0.1 do
  5632. swait()
  5633. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5634. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3)
  5635. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  5636. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3)
  5637. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3)
  5638. 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)
  5639. 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)
  5640. end
  5641. CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
  5642. CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
  5643. CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
  5644. CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
  5645. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  5646. sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR)
  5647. for i = 0, 24 do
  5648. 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"))
  5649. end
  5650. for i = 0,4,0.1 do
  5651. swait()
  5652. root.CFrame = root.CFrame + root.CFrame.lookVector*5
  5653. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  5654. CreateMesh(dis,"Sphere",1,1,1)
  5655. dis.Anchored = true
  5656. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  5657. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  5658. coroutine.resume(coroutine.create(function()
  5659. swait(30)
  5660. dis.Transparency = 1
  5661. coroutine.resume(coroutine.create(function()
  5662. for i = 0, 19 do
  5663. swait()
  5664. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  5665. end
  5666. hum.CameraOffset = vt(0,0,0)
  5667. end))
  5668. coroutine.resume(coroutine.create(function()
  5669. local eff = Instance.new("ParticleEmitter",dis)
  5670. eff.Texture = "rbxassetid://2273224484"
  5671. eff.LightEmission = 1
  5672. eff.Color = ColorSequence.new(dis.Color)
  5673. eff.Rate = 500000
  5674. eff.Lifetime = NumberRange.new(0.5,2)
  5675. 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)})
  5676. 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)})
  5677. eff.Speed = NumberRange.new(50,450)
  5678. eff.Drag = 5
  5679. eff.Rotation = NumberRange.new(-500,500)
  5680. eff.VelocitySpread = 9000
  5681. eff.RotSpeed = NumberRange.new(-50,50)
  5682. wait(0.125)
  5683. eff.Enabled = false
  5684. end))
  5685. MagniDamage(dis, 30, 45,50, 0, "Normal")
  5686. for i = 0, 2 do
  5687. 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)
  5688. end
  5689. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
  5690. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
  5691. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
  5692. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color)
  5693. end))
  5694. game:GetService("Debris"):AddItem(dis, 5)
  5695. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5)
  5696. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5)
  5697. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5)
  5698. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5)
  5699. 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)
  5700. 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)
  5701. end
  5702. attack = false
  5703. end
  5704. ----------------------------------- Abilities
  5705.  
  5706. function ExtinctiveHeartbreak()
  5707. local targetted = nil
  5708. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5709. targetted = mouse.Target.Parent
  5710. end
  5711. if targetted ~= nil then
  5712. attack = true
  5713. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5714. for i = 0, 9 do
  5715. 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)
  5716. end
  5717. for i = 0, 24 do
  5718. 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)
  5719. end
  5720. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5721. local originalpos = root.CFrame
  5722. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  5723. for i = 0, 9 do
  5724. 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)
  5725. end
  5726. for i = 0, 24 do
  5727. 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)
  5728. end
  5729. hum.WalkSpeed = 0
  5730. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5731. local radm = math.random(1,3)
  5732. if radm == 1 then
  5733. bosschatfunc("YOU WONT BE NECCESSARY.",MAINRUINCOLOR.Color,2)
  5734. elseif radm == 2 then
  5735. bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
  5736. elseif radm == 3 then
  5737. bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  5738. end
  5739. for i = 0,2,0.1 do
  5740. swait()
  5741. 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)
  5742. 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)
  5743. 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)
  5744. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5745. 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)
  5746. 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)
  5747. end
  5748. CFuncs["Sound"].Create("rbxassetid://153092227", root, 0.5,1)
  5749. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 2, 1,0,10,0.25,0.5,1)
  5750. for i = 0,2,0.1 do
  5751. swait()
  5752. coroutine.resume(coroutine.create(function()
  5753. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5754. for i,v in pairs(targetted:GetChildren()) do
  5755. if v:IsA("Part") or v:IsA("MeshPart") then
  5756. v.Velocity = vt(0,0,0)
  5757. end
  5758. end
  5759. end))
  5760. 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)
  5761. 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)
  5762. 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)
  5763. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  5764. 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)
  5765. 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)
  5766. end
  5767. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 0.5, 1,0,10,0.25,0.5,1)
  5768. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 0.5, 0.9,0,10,0.25,0.5,1)
  5769. for i = 0, 1 do
  5770. CFuncs["EchoSound"].Create("rbxassetid://159882598", char, 2, 1,0.1,10,0.15,0.5,1)
  5771. end
  5772. CFuncs["EchoSound"].Create("rbxassetid://159882598", root, 15, 1,0.1,10,0.15,0.5,1)
  5773. --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  5774. for i = 0,4,0.1 do
  5775. swait()
  5776. coroutine.resume(coroutine.create(function()
  5777. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5778. 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)))
  5779. local at1 = Instance.new("Attachment",dis)
  5780. at1.Position = vt(-25000,0,0)
  5781. local at2 = Instance.new("Attachment",dis)
  5782. at2.Position = vt(25000,0,0)
  5783. local trl = Instance.new('Trail',dis)
  5784. trl.Attachment0 = at1
  5785. trl.FaceCamera = true
  5786. trl.Attachment1 = at2
  5787. trl.Texture = "rbxassetid://1049219073"
  5788. trl.LightEmission = 1
  5789. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5790. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  5791. trl.Lifetime = 5
  5792. local bv = Instance.new("BodyVelocity")
  5793. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5794. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5795. bv.Parent = dis
  5796. game:GetService("Debris"):AddItem(dis, 5)
  5797. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5798. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  5799. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  5800. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  5801. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  5802. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  5803. 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)
  5804. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  5805. for i = 0, 2 do
  5806. 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"))
  5807. end
  5808. 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)
  5809. for i,v in pairs(targetted:GetChildren()) do
  5810. if v:IsA("Part") or v:IsA("MeshPart") then
  5811. v.Velocity = vt(0,0,0)
  5812. end
  5813. end
  5814. end))
  5815. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  5816. 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)
  5817. 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)
  5818. 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)
  5819. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  5820. 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)
  5821. 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)
  5822. end
  5823. hum.CameraOffset = vt(0,0,0)
  5824. for i = 0, 49 do
  5825. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5826. 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)))
  5827. local at1 = Instance.new("Attachment",dis)
  5828. at1.Position = vt(-50000,0,0)
  5829. local at2 = Instance.new("Attachment",dis)
  5830. at2.Position = vt(50000,0,0)
  5831. local trl = Instance.new('Trail',dis)
  5832. trl.Attachment0 = at1
  5833. trl.FaceCamera = true
  5834. trl.Attachment1 = at2
  5835. trl.Texture = "rbxassetid://1049219073"
  5836. trl.LightEmission = 1
  5837. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5838. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  5839. trl.Lifetime = 5
  5840. local bv = Instance.new("BodyVelocity")
  5841. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5842. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5843. bv.Parent = dis
  5844. game:GetService("Debris"):AddItem(dis, 5)
  5845. end
  5846. for i = 0, 49 do
  5847. 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)
  5848. 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"))
  5849. end
  5850. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  5851. for i = 0, 1 do
  5852. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  5853. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  5854. end
  5855. for i = 0, 4 do
  5856. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  5857. end
  5858. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  5859. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  5860. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  5861. dmg(targetted)
  5862. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5863. for i = 0, 9 do
  5864. 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)
  5865. end
  5866. for i = 0, 24 do
  5867. 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)
  5868. end
  5869. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5870. root.CFrame = originalpos
  5871. for i = 0, 9 do
  5872. 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)
  5873. end
  5874. for i = 0, 24 do
  5875. 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)
  5876. end
  5877. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5878. attack = false
  5879. hum.WalkSpeed = storehumanoidWS
  5880. end
  5881. end
  5882.  
  5883. function CorruptionEvent()
  5884. attack = true
  5885. hum.WalkSpeed = 0
  5886. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5887. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5888. local keptcolor = MAINRUINCOLOR
  5889. for i = 0,4,0.1 do
  5890. swait()
  5891. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5892. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5893. 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)
  5894. 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)
  5895. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  5896. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  5897. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  5898. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5899. end
  5900. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5901. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  5902. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  5903. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5904. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5905. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5906. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  5907. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  5908. hum.CameraOffset = vt(0,0,0)
  5909. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5910. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5911. for i = 0, 24 do
  5912. 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"))
  5913. end
  5914. local rrot = 0
  5915. coroutine.resume(coroutine.create(function()
  5916. for i = 0, 4 do
  5917. rrot = rrot + 45
  5918. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5919. xa.Anchored = true
  5920. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5921. xb.Anchored = true
  5922. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5923. xc.Anchored = true
  5924. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5925. xd.Anchored = true
  5926. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  5927. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  5928. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  5929. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  5930. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  5931. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  5932. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  5933. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  5934. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  5935. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  5936. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  5937. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  5938. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  5939. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  5940. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  5941. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  5942. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5943. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5944. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5945. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5946. for i = 0, 9 do
  5947. 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"))
  5948. 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"))
  5949. 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"))
  5950. 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"))
  5951. end
  5952. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5953. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5954. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5955. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5956. 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)
  5957. 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)
  5958. 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)
  5959. 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)
  5960. 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))
  5961. 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))
  5962. 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))
  5963. 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))
  5964. game:GetService("Debris"):AddItem(xa, 5)
  5965. game:GetService("Debris"):AddItem(xb, 5)
  5966. game:GetService("Debris"):AddItem(xc, 5)
  5967. game:GetService("Debris"):AddItem(xd, 5)
  5968. coroutine.resume(coroutine.create(function()
  5969. for i = 0, 19 do
  5970. swait()
  5971. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5972. end
  5973. hum.CameraOffset = vt(0,0,0)
  5974. end))
  5975. swait(9)
  5976. end
  5977. end))
  5978. for i = 0,2,0.1 do
  5979. swait()
  5980. 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)
  5981. 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)
  5982. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  5983. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  5984. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  5985. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5986. end
  5987. attack = false
  5988. hum.WalkSpeed = storehumanoidWS
  5989. end
  5990.  
  5991. function EndGROUND()
  5992. attack = true
  5993. hum.WalkSpeed = 0
  5994. bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
  5995. --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5996. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5997. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  5998. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  5999. local keptcolor = MAINRUINCOLOR
  6000. for i = 0,4,0.1 do
  6001. swait()
  6002. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6003. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6004. 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"))
  6005. 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)
  6006. 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)
  6007. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  6008. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  6009. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  6010. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  6011. end
  6012. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  6013. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  6014. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  6015. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  6016. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  6017. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  6018. coroutine.resume(coroutine.create(function()
  6019. local shval = 10
  6020. for i = 0, 99 do
  6021. swait()
  6022. shval = shval - 0.1
  6023. hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  6024. end
  6025. hum.CameraOffset = vt(0,0,0)
  6026. end))
  6027. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6028. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6029. for i = 0, 24 do
  6030. 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"))
  6031. end
  6032. local rrot = 0
  6033. local xam = 1
  6034. coroutine.resume(coroutine.create(function()
  6035. for i = 0, 14 do
  6036. --swait()
  6037. rrot = rrot + 40*xam
  6038. xam = xam + 0.25
  6039. local bonus = xam
  6040. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  6041. xa.Anchored = true
  6042. xa.Color = Color3.new(0,0,0)
  6043. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  6044. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  6045. local xc = 0
  6046. coroutine.resume(coroutine.create(function()
  6047. for i = 0, 99 do
  6048. swait()
  6049. xc = xc + 0.01
  6050. xa.Color = Color3.new(xc,0,0)
  6051. end
  6052. xa.Transparency = 1
  6053. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  6054. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  6055. for i = 0, 9 do
  6056. 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"))
  6057. end
  6058. 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)
  6059. 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)
  6060. 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))
  6061. game:GetService("Debris"):AddItem(xa, 5)
  6062. coroutine.resume(coroutine.create(function()
  6063. for i = 0, 19 do
  6064. swait()
  6065. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  6066. end
  6067. hum.CameraOffset = vt(0,0,0)
  6068. end))
  6069. end))
  6070. end
  6071. end))
  6072. for i = 0,2,0.1 do
  6073. swait()
  6074. 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)
  6075. 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)
  6076. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  6077. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  6078. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  6079. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  6080. end
  6081. attack = false
  6082. hum.WalkSpeed = storehumanoidWS
  6083. end
  6084.  
  6085. function HeavenlyDisk()
  6086. attack = true
  6087. hum.WalkSpeed = 2
  6088. local keptcolor = MAINRUINCOLOR
  6089. local radm = math.random(1,3)
  6090. if radm == 1 then
  6091. bosschatfunc("Dont make this too easy for you.",MAINRUINCOLOR.Color,1)
  6092. elseif radm == 2 then
  6093. bosschatfunc("Heavenly Disks!",MAINRUINCOLOR.Color,1)
  6094. elseif radm == 3 then
  6095. bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
  6096. end
  6097. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  6098. CFuncs["EchoSound"].Create("rbxassetid://1625448638", char, 4, 1,0,10,0.15,0.5,1)
  6099. 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)
  6100. 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)
  6101. for i = 0, 14 do
  6102. 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)
  6103. end
  6104. for i = 0,2,0.1 do
  6105. swait()
  6106. 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)
  6107. 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)
  6108. 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)
  6109. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  6110. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  6111. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6112. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  6113. end
  6114. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  6115. for i = 0,1,0.6 do
  6116. swait()
  6117. 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)
  6118. 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"))
  6119. 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)
  6120. 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)
  6121. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  6122. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6123. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6124. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6125. end
  6126. for i = 0,1,0.6 do
  6127. swait()
  6128. 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)
  6129. 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"))
  6130. 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)
  6131. 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)
  6132. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  6133. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6134. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6135. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6136. end
  6137. for i = 0,1,0.6 do
  6138. swait()
  6139. 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)
  6140. 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"))
  6141. 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)
  6142. 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)
  6143. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  6144. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6145. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6146. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6147. end
  6148. for i = 0,1,0.6 do
  6149. swait()
  6150. 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)
  6151. 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"))
  6152. 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)
  6153. 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)
  6154. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  6155. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6156. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6157. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6158. end
  6159. local rot = 15
  6160. for i = 0, 2 do
  6161. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
  6162. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  6163. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  6164. CreateMesh(dis,"Sphere",10,1,10)
  6165. local at1 = Instance.new("Attachment",dis)
  6166. at1.Position = vt(-5,0,0)
  6167. local at2 = Instance.new("Attachment",dis)
  6168. at2.Position = vt(5,0,0)
  6169. local trl = Instance.new('Trail',wed)
  6170. trl.Attachment0 = at1
  6171. trl.Attachment1 = at2
  6172. trl.Texture = "rbxassetid://1049219073"
  6173. trl.LightEmission = 1
  6174. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6175. trl.Color = ColorSequence.new(dis.Color)
  6176. trl.Lifetime = 0.6
  6177. local a = Instance.new("Part",workspace)
  6178. a.Name = "Direction"
  6179. a.Anchored = true
  6180. a.BrickColor = bc("Bright red")
  6181. a.Material = "Neon"
  6182. a.Transparency = 1
  6183. a.CanCollide = false
  6184. local ray = Ray.new(
  6185. dis.CFrame.p, -- origin
  6186. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6187. )
  6188. local ignore = dis
  6189. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6190. a.BottomSurface = 10
  6191. a.TopSurface = 10
  6192. local distance = (dis.CFrame.p - position).magnitude
  6193. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6194. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6195. dis.CFrame = a.CFrame
  6196. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  6197. a:Destroy()
  6198. local bv = Instance.new("BodyVelocity")
  6199. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6200. bv.velocity = dis.CFrame.lookVector*250
  6201. bv.Parent = dis
  6202. game:GetService("Debris"):AddItem(dis, 5)
  6203. local hitted = false
  6204. coroutine.resume(coroutine.create(function()
  6205. dis.Touched:connect(function(hit)
  6206. if hitted == false and hit.Parent ~= char then
  6207. hitted = true
  6208. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  6209. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  6210. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  6211. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  6212. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  6213. coroutine.resume(coroutine.create(function()
  6214. for i = 0, 9 do
  6215. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6216. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6217. local at1 = Instance.new("Attachment",disr)
  6218. at1.Position = vt(-2,0,0)
  6219. local at2 = Instance.new("Attachment",disr)
  6220. at2.Position = vt(2,0,0)
  6221. local trl = Instance.new('Trail',disr)
  6222. trl.Attachment0 = at1
  6223. trl.FaceCamera = true
  6224. trl.Attachment1 = at2
  6225. trl.Texture = "rbxassetid://2342682798"
  6226. trl.LightEmission = 1
  6227. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6228. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6229. trl.Lifetime = 0.5
  6230. local bv = Instance.new("BodyVelocity")
  6231. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6232. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  6233. bv.Parent = disr
  6234. local val = 0
  6235. coroutine.resume(coroutine.create(function()
  6236. swait(30)
  6237. for i = 0, 9 do
  6238. swait()
  6239. val = val + 0.1
  6240. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6241. end
  6242. game:GetService("Debris"):AddItem(disr, 3)
  6243. end))
  6244. end
  6245. local eff = Instance.new("ParticleEmitter",dis)
  6246. eff.Texture = "rbxassetid://2273224484"
  6247. eff.LightEmission = 1
  6248. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6249. eff.Rate = 500000
  6250. eff.Lifetime = NumberRange.new(0.5,2)
  6251. 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)})
  6252. 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)})
  6253. eff.Speed = NumberRange.new(20,250)
  6254. eff.Drag = 5
  6255. eff.Rotation = NumberRange.new(-500,500)
  6256. eff.VelocitySpread = 9000
  6257. eff.RotSpeed = NumberRange.new(-50,50)
  6258. wait(0.25)
  6259. eff.Enabled = false
  6260. end))
  6261. for i = 0, 9 do
  6262. 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"))
  6263. end
  6264. for i = 0, 19 do
  6265. 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)
  6266. end
  6267. coroutine.resume(coroutine.create(function()
  6268. for i = 0, 19 do
  6269. swait()
  6270. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6271. end
  6272. hum.CameraOffset = vt(0,0,0)
  6273. end))
  6274. dis.Anchored = true
  6275. dis.Transparency = 1
  6276. wait(8)
  6277. dis:Destroy()
  6278. end
  6279. end)
  6280. end))
  6281. rot = rot - 15
  6282. end
  6283. for i = 0,2,0.1 do
  6284. swait()
  6285. 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)
  6286. 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)
  6287. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  6288. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  6289. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6290. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6291. end
  6292. attack = false
  6293. hum.WalkSpeed = storehumanoidWS
  6294. end
  6295.  
  6296. function FuckMeSidewaysAndCallMeGay()
  6297. local whom = (mouse.Target and mouse.Target.Parent)
  6298. --[[local fuckThisBoi = false
  6299. if(whom and whom:FindFirstChildOfClass'Humanoid')then
  6300. for _,v in next, ODers do
  6301. if(v == whom)then
  6302. fuckThisBoi = false
  6303. end
  6304. end
  6305. end
  6306. if(not fuckThisBoi)then
  6307. attack = false
  6308. warn'to fuck that boi you need to target them with z'
  6309. else]]
  6310. if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso')then
  6311. local hed = whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso'
  6312. local hum = whom:FindFirstChildOfClass'Humanoid'
  6313. local ocf = RootPart.CFrame
  6314. hum.WalkSpeed = 0
  6315.  
  6316. hed.Anchored = true
  6317. RootPart.Anchored = true
  6318. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6319. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  6320. for i = 0, 9 do
  6321. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Pink"),0)
  6322. end
  6323. for i = 0, 24 do
  6324. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Pink"),0)
  6325. end
  6326. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
  6327. attack = true
  6328. bosschatfunc("I love you <3",MAINRUINCOLOR.Color,1)
  6329. local speed = 1
  6330. local heck;
  6331. local stopitlol = false;
  6332. heck = mouse.KeyUp:connect(function(k)
  6333. if(k:lower() == 'x')then
  6334. stopitlol = true
  6335. heck:disconnect()
  6336. end
  6337. end)
  6338. local times = 0
  6339. repeat swait()
  6340. speed = speed - .01
  6341. times = times + 1
  6342. if(speed < .1)then
  6343. speed = .1
  6344. end
  6345. for i = 0, speed, .05 do
  6346. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6347. swait()
  6348. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
  6349. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  6350. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)
  6351. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6352. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  6353. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  6354. end
  6355. CameraEnshaking(5,5)
  6356.  
  6357. CFuncs["Sound"].Create("rbxassetid://836796971", Torso, 10,1)
  6358.  
  6359. for i = 0, speed, .05 do
  6360. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6361. swait()
  6362. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
  6363. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  6364. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
  6365. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6366. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6367. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6368. end
  6369. until stopitlol and times >= 3
  6370. for i = 1, 3 do
  6371. for i = 0, 1.5, .05 do
  6372. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6373. swait()
  6374. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
  6375. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  6376. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)
  6377. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6378. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  6379. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  6380. end
  6381. CameraEnshaking(5,25)
  6382.  
  6383. CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
  6384.  
  6385.  
  6386. coroutine.resume(coroutine.create(function()
  6387. bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
  6388. bld.LightEmission = 0.1
  6389. bld.Texture = "rbxassetid://284205403"
  6390. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  6391. bld.Rate = 500
  6392. bld.Lifetime = NumberRange.new(1)
  6393. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6394. bld.Acceleration = vt(0,-25,0)
  6395. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  6396. bld.Speed = NumberRange.new(10,50)
  6397. bld.EmissionDirection = "Back"
  6398. bld.VelocitySpread = 25
  6399. bld.Rotation = NumberRange.new(-500,500)
  6400. bld.RotSpeed = NumberRange.new(-500,500)
  6401. bld.Enabled = false
  6402. bld:Emit(250)
  6403. end))
  6404. coroutine.resume(coroutine.create(function()
  6405. bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
  6406. bld.LightEmission = 0.1
  6407. bld.Texture = "rbxassetid://284205403"
  6408. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  6409. bld.Rate = 500
  6410. bld.Lifetime = NumberRange.new(1)
  6411. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6412. bld.Acceleration = vt(0,-25,0)
  6413. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  6414. bld.Speed = NumberRange.new(10,50)
  6415. bld.EmissionDirection = "Back"
  6416. bld.VelocitySpread = 25
  6417. bld.Rotation = NumberRange.new(-500,500)
  6418. bld.RotSpeed = NumberRange.new(-500,500)
  6419. bld.Enabled = false
  6420. bld:Emit(250)
  6421. end))
  6422. for i = 0, 1.5, .05 do
  6423. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6424. swait()
  6425. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
  6426. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  6427. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
  6428. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6429. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6430. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6431. end
  6432. end
  6433. for i = 0, 4, .05 do
  6434. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6435. swait()
  6436. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(100),0,0)*angles(0,math.rad(90),0),.1)
  6437. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  6438. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(-50),0,0)*RootCF,.1)
  6439. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
  6440. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.1)
  6441. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.1)
  6442. end
  6443. CameraEnshaking(5,25)
  6444. CFuncs["Sound"].Create("rbxassetid://429400881", hed, 3,1)
  6445. CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
  6446.  
  6447. dmg(whom)
  6448. coroutine.resume(coroutine.create(function()
  6449. bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
  6450. bld.LightEmission = 0.1
  6451. bld.Texture = "rbxassetid://284205403"
  6452. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  6453. bld.Rate = 500
  6454. bld.Lifetime = NumberRange.new(1)
  6455. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6456. bld.Acceleration = vt(0,-25,0)
  6457. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  6458. bld.Speed = NumberRange.new(10,50)
  6459. bld.EmissionDirection = "Back"
  6460. bld.VelocitySpread = 25
  6461. bld.Rotation = NumberRange.new(-500,500)
  6462. bld.RotSpeed = NumberRange.new(-500,500)
  6463. bld.Enabled = true
  6464. end))
  6465. coroutine.resume(coroutine.create(function()
  6466. bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
  6467. bld.LightEmission = 0.1
  6468. bld.Texture = "rbxassetid://284205403"
  6469. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  6470. bld.Rate = 500
  6471. bld.Lifetime = NumberRange.new(1)
  6472. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6473. bld.Acceleration = vt(0,-25,0)
  6474. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  6475. bld.Speed = NumberRange.new(10,50)
  6476. bld.EmissionDirection = "Back"
  6477. bld.VelocitySpread = 25
  6478. bld.Rotation = NumberRange.new(-500,500)
  6479. bld.RotSpeed = NumberRange.new(-500,500)
  6480. bld.Enabled = true
  6481. end))
  6482. for i = 0, 3, .05 do
  6483. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6484. swait()
  6485. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-100),0,0)*angles(0,math.rad(90),0),.4)
  6486. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  6487. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(50),0,0)*RootCF,.4)
  6488. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6489. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6490. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6491. end
  6492.  
  6493. RootPart.CFrame = ocf
  6494. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  6495. for i = 0, 9 do
  6496. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Pink"),0)
  6497. end
  6498. for i = 0, 24 do
  6499. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Pink"),0)
  6500. end
  6501. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
  6502. RootPart.Anchored = false
  6503. Humanoid.WalkSpeed = storehumanoidWS
  6504. bosschatfunc("Hehehehehe <3",MAINRUINCOLOR.Color,0.5)
  6505. attack = false
  6506. end
  6507. end
  6508.  
  6509. function RapidBurst()
  6510. attack = true
  6511. hum.WalkSpeed = 0
  6512. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  6513. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
  6514. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  6515. bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,1.8)
  6516. bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,1.9)
  6517. bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,2)
  6518. local keptcolor = MAINRUINCOLOR
  6519. for i = 0,8,0.1 do
  6520. swait()
  6521. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6522. 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())
  6523. 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)
  6524. 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)
  6525. 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)
  6526. 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)
  6527. 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)
  6528. 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)
  6529. 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)
  6530. end
  6531. for i = 0, 99 do
  6532. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6533. 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)))
  6534. local at1 = Instance.new("Attachment",dis)
  6535. at1.Position = vt(-25000,0,0)
  6536. local at2 = Instance.new("Attachment",dis)
  6537. at2.Position = vt(25000,0,0)
  6538. local trl = Instance.new('Trail',dis)
  6539. trl.Attachment0 = at1
  6540. trl.FaceCamera = true
  6541. trl.Attachment1 = at2
  6542. trl.Texture = "rbxassetid://1049219073"
  6543. trl.LightEmission = 1
  6544. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6545. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6546. trl.Lifetime = 5
  6547. local bv = Instance.new("BodyVelocity")
  6548. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6549. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6550. bv.Parent = dis
  6551. game:GetService("Debris"):AddItem(dis, 5)
  6552. end
  6553. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6554. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6555. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6556. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6557. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6558. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6559. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6560. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6561. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6562. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6563. hum.CameraOffset = vt(0,0,0)
  6564. for i = 0, 24 do
  6565. 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())
  6566. end
  6567. local distam = 0
  6568. coroutine.resume(coroutine.create(function()
  6569. for i = 0, 99 do
  6570. wait()
  6571. distam = distam + 1
  6572. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6573. xa.Anchored = true
  6574. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  6575. game:GetService("Debris"):AddItem(xa, 5)
  6576. for i = 0, 4 do
  6577. 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())
  6578. end
  6579. coroutine.resume(coroutine.create(function()
  6580. local eff = Instance.new("ParticleEmitter",xa)
  6581. eff.Texture = "rbxassetid://2273224484"
  6582. eff.LightEmission = 1
  6583. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6584. eff.Rate = 500000
  6585. eff.Lifetime = NumberRange.new(1,3)
  6586. 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)})
  6587. 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)})
  6588. eff.Speed = NumberRange.new(50,500)
  6589. eff.Drag = 5
  6590. eff.Rotation = NumberRange.new(-500,500)
  6591. eff.VelocitySpread = 9000
  6592. eff.RotSpeed = NumberRange.new(-50,50)
  6593. wait(0.25)
  6594. eff.Enabled = false
  6595. end))
  6596. coroutine.resume(coroutine.create(function()
  6597. for i = 0, 19 do
  6598. swait()
  6599. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  6600. end
  6601. hum.CameraOffset = vt(0,0,0)
  6602. end))
  6603. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6604. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6605. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6606. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6607. end
  6608. end))
  6609. attack = false
  6610. hum.WalkSpeed = storehumanoidWS
  6611. end
  6612.  
  6613.  
  6614. function FallenOrbs()
  6615. attack = true
  6616. hum.WalkSpeed = 2
  6617. local keptcolor = MAINRUINCOLOR
  6618. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 5, 1,0,10,0.15,0.5,1)
  6619. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 60, 1,0,10,0.15,0.5,1)
  6620. local radm = math.random(1,3)
  6621. if radm == 1 then
  6622. bosschatfunc("This wont be easy to you.",MAINRUINCOLOR.Color,1)
  6623. elseif radm == 2 then
  6624. bosschatfunc("How about this?",MAINRUINCOLOR.Color,1)
  6625. elseif radm == 3 then
  6626. bosschatfunc("Swarm!",MAINRUINCOLOR.Color,1)
  6627. end
  6628. coroutine.resume(coroutine.create(function()
  6629. for i = 0, 29 do
  6630. swait(2)
  6631. local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
  6632. dis.Anchored = true
  6633. CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  6634. dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35))
  6635. CreateMesh(dis,"Sphere",2,2,2)
  6636. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  6637. 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"))
  6638. coroutine.resume(coroutine.create(function()
  6639. wait(0.5)
  6640. dis.Anchored = false
  6641. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 9, 1,0,2,0.15,0.1,1)
  6642. local at1 = Instance.new("Attachment",dis)
  6643. at1.Position = vt(-1,0,0)
  6644. local at2 = Instance.new("Attachment",dis)
  6645. at2.Position = vt(1,0,0)
  6646. local trl = Instance.new('Trail',dis)
  6647. trl.Attachment0 = at1
  6648. trl.FaceCamera = true
  6649. trl.Attachment1 = at2
  6650. trl.Texture = "rbxassetid://1049219073"
  6651. trl.LightEmission = 1
  6652. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6653. trl.Color = ColorSequence.new(dis.Color)
  6654. trl.Lifetime = 0.6
  6655. local a = Instance.new("Part",workspace)
  6656. a.Name = "Direction"
  6657. a.Anchored = true
  6658. a.BrickColor = bc("Bright red")
  6659. a.Material = "Neon"
  6660. a.Transparency = 1
  6661. a.CanCollide = false
  6662. local ray = Ray.new(
  6663. dis.CFrame.p, -- origin
  6664. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6665. )
  6666. local ignore = dis
  6667. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6668. a.BottomSurface = 10
  6669. a.TopSurface = 10
  6670. local distance = (dis.CFrame.p - position).magnitude
  6671. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6672. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6673. dis.CFrame = a.CFrame
  6674. a:Destroy()
  6675. local bv = Instance.new("BodyVelocity")
  6676. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6677. bv.velocity = dis.CFrame.lookVector*500
  6678. bv.Parent = dis
  6679. game:GetService("Debris"):AddItem(dis, 5)
  6680. local hitted = false
  6681. coroutine.resume(coroutine.create(function()
  6682. dis.Touched:connect(function(hit)
  6683. if hitted == false and hit.Parent ~= char then
  6684. hitted = true
  6685. CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 5, 0.8,0,10,0.15,0.5,1)
  6686. MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  6687. sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color)
  6688. sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  6689. coroutine.resume(coroutine.create(function()
  6690. for i = 0, 4 do
  6691. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6692. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6693. local at1 = Instance.new("Attachment",disr)
  6694. at1.Position = vt(-10,0,0)
  6695. local at2 = Instance.new("Attachment",disr)
  6696. at2.Position = vt(10,0,0)
  6697. local trl = Instance.new('Trail',disr)
  6698. trl.Attachment0 = at1
  6699. trl.FaceCamera = true
  6700. trl.Attachment1 = at2
  6701. trl.Texture = "rbxassetid://2342682798"
  6702. trl.LightEmission = 1
  6703. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6704. trl.Color = ColorSequence.new(disr.Color)
  6705. trl.Lifetime = 0.5
  6706. local bv = Instance.new("BodyVelocity")
  6707. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6708. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  6709. bv.Parent = disr
  6710. local val = 0
  6711. coroutine.resume(coroutine.create(function()
  6712. swait(30)
  6713. for i = 0, 9 do
  6714. swait()
  6715. val = val + 0.1
  6716. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6717. end
  6718. game:GetService("Debris"):AddItem(disr, 3)
  6719. end))
  6720. end
  6721. local eff = Instance.new("ParticleEmitter",dis)
  6722. eff.Texture = "rbxassetid://1049219073"
  6723. eff.LightEmission = 1
  6724. eff.Color = ColorSequence.new(dis.Color)
  6725. eff.Rate = 500000
  6726. eff.Lifetime = NumberRange.new(0.5,2)
  6727. 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)})
  6728. 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)})
  6729. eff.Speed = NumberRange.new(20,250)
  6730. eff.Drag = 5
  6731. eff.Rotation = NumberRange.new(-500,500)
  6732. eff.VelocitySpread = 9000
  6733. eff.RotSpeed = NumberRange.new(-50,50)
  6734. wait(0.5)
  6735. eff.Enabled = false
  6736. end))
  6737. for i = 0, 4 do
  6738. 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"))
  6739. end
  6740. coroutine.resume(coroutine.create(function()
  6741. for i = 0, 19 do
  6742. swait()
  6743. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6744. end
  6745. hum.CameraOffset = vt(0,0,0)
  6746. end))
  6747. dis.Anchored = true
  6748. dis.Transparency = 1
  6749. wait(8)
  6750. dis:Destroy()
  6751. end
  6752. end)
  6753. end))
  6754. end))
  6755. end
  6756. end))
  6757. for i = 0,9,0.1 do
  6758. swait()
  6759. 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)
  6760. 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)
  6761. 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)
  6762. 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)
  6763. 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)
  6764. 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)
  6765. 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)
  6766. end
  6767. attack = false
  6768. hum.WalkSpeed = storehumanoidWS
  6769. end
  6770.  
  6771. function CyberSlash()
  6772. local posit = -2
  6773. attack = true
  6774. hum.WalkSpeed = 5
  6775. CFuncs["EchoSound"].Create("rbxassetid://1448033920", char, 5, 1,0,10,0.15,0.5,1)
  6776. local radm = math.random(1,3)
  6777. if radm == 1 then
  6778. bosschatfunc("FIBER!!!",MAINRUINCOLOR.Color,1)
  6779. elseif radm == 2 then
  6780. bosschatfunc("SLASHED!!",MAINRUINCOLOR.Color,1)
  6781. elseif radm == 3 then
  6782. bosschatfunc("TAKE MY CLAW!!",MAINRUINCOLOR.Color,1)
  6783. end
  6784. CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
  6785. for i = 0,2,0.1 do
  6786. swait()
  6787. 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)
  6788. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
  6789. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
  6790. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  6791. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
  6792. 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)
  6793. 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)
  6794. end
  6795. for i = 0, 2 do
  6796. CameraEnshaking(1,2)
  6797. local hite = Instance.new("Part", char)
  6798. hite.Anchored = true
  6799. hite.CanCollide = false
  6800. hite.FormFactor = 3
  6801. hite.Name = "Ring"
  6802. hite.Material = "Neon"
  6803. hite.Size = Vector3.new(1, 1, 1)
  6804. hite.Transparency = 1
  6805. hite.TopSurface = 0
  6806. hite.BottomSurface = 0
  6807. hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
  6808. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
  6809. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
  6810. coroutine.resume(coroutine.create(function()
  6811. for i = 0, 1 do
  6812. swait()
  6813. 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)
  6814. 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)
  6815. 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)
  6816. end
  6817. end))
  6818. 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)
  6819. MagniDamage(hite, 3, 30,40, 0, "Normal")
  6820. game:GetService("Debris"):AddItem(hite, 5)
  6821. posit = posit + 2
  6822. end
  6823. for i = 0,1,0.1 do
  6824. swait()
  6825. 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)
  6826. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  6827. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
  6828. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  6829. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
  6830. 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)
  6831. 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)
  6832. end
  6833. for i = 0,1,0.1 do
  6834. swait()
  6835. 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)
  6836. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,1)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
  6837. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
  6838. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
  6839. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
  6840. 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)
  6841. 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)
  6842. end
  6843. posit = -6
  6844. for i = 0, 6 do
  6845. CameraEnshaking(1,3)
  6846. local hite = Instance.new("Part", char)
  6847. hite.Anchored = true
  6848. hite.CanCollide = false
  6849. hite.FormFactor = 3
  6850. hite.Name = "Ring"
  6851. hite.Material = "Neon"
  6852. hite.Size = Vector3.new(1, 1, 1)
  6853. hite.Transparency = 1
  6854. hite.TopSurface = 0
  6855. hite.BottomSurface = 0
  6856. hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
  6857. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
  6858. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
  6859. 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)
  6860. coroutine.resume(coroutine.create(function()
  6861. for i = 0, 2 do
  6862. swait()
  6863. 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)
  6864. 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)
  6865. 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)
  6866. end
  6867. end))
  6868. MagniDamage(hite, 5, 40,70, 0, "Normal")
  6869. game:GetService("Debris"):AddItem(hite, 5)
  6870. posit = posit + 2
  6871. end
  6872. for i = 0,1,0.1 do
  6873. swait()
  6874. 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)
  6875. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
  6876. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  6877. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
  6878. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
  6879. 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)
  6880. 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)
  6881. end
  6882. hum.WalkSpeed = storehumanoidWS
  6883. attack = false
  6884. end
  6885.  
  6886. function EquinoxOrbs()
  6887. hum.WalkSpeed = 0
  6888. attack = true
  6889. local radm = math.random(1,3)
  6890. if radm == 1 then
  6891. bosschatfunc("NOX-DASH!!!",MAINRUINCOLOR.Color,1)
  6892. elseif radm == 2 then
  6893. bosschatfunc("Beware from behind",MAINRUINCOLOR.Color,1)
  6894. elseif radm == 3 then
  6895. bosschatfunc("I'M COMING!!",MAINRUINCOLOR.Color,1)
  6896. end
  6897. for i = 0,1,0.1 do
  6898. swait()
  6899. 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)
  6900. 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)
  6901. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6902. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6903. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  6904. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  6905. end
  6906. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  6907. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  6908. for i = 0, 24 do
  6909. 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"))
  6910. end
  6911. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  6912. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  6913. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  6914. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  6915. for i = 0,4,0.1 do
  6916. swait()
  6917. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  6918. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  6919. CreateMesh(dis,"Sphere",1,1,1)
  6920. dis.Anchored = true
  6921. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  6922. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
  6923. CreateMesh(dis2,"Sphere",1,1,1)
  6924. dis2.Anchored = true
  6925. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  6926. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  6927. sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  6928. coroutine.resume(coroutine.create(function()
  6929. swait(60)
  6930. dis.Transparency = 1
  6931. dis2.Transparency = 1
  6932. coroutine.resume(coroutine.create(function()
  6933. for i = 0, 19 do
  6934. swait()
  6935. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  6936. end
  6937. hum.CameraOffset = vt(0,0,0)
  6938. end))
  6939. coroutine.resume(coroutine.create(function()
  6940. local eff = Instance.new("ParticleEmitter",dis)
  6941. eff.Texture = "rbxassetid://2273224484"
  6942. eff.LightEmission = 1
  6943. eff.Color = ColorSequence.new(dis.Color)
  6944. eff.Rate = 500000
  6945. eff.Lifetime = NumberRange.new(0.5,2)
  6946. 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)})
  6947. 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)})
  6948. eff.Speed = NumberRange.new(50,450)
  6949. eff.Drag = 5
  6950. eff.Rotation = NumberRange.new(-500,500)
  6951. eff.VelocitySpread = 9000
  6952. eff.RotSpeed = NumberRange.new(-50,50)
  6953. local eff2 = eff:Clone()
  6954. eff2.Parent = dis2
  6955. eff2.LightEmission = 0
  6956. eff2.Color = ColorSequence.new(dis2.Color)
  6957. wait(0.25)
  6958. eff.Enabled = false
  6959. eff2.Enabled = false
  6960. end))
  6961. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  6962. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  6963. for i = 0, 2 do
  6964. 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)
  6965. 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)
  6966. end
  6967. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  6968. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  6969. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  6970. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  6971. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  6972. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  6973. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  6974. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  6975. end))
  6976. game:GetService("Debris"):AddItem(dis, 5)
  6977. game:GetService("Debris"):AddItem(dis2, 5)
  6978. 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)
  6979. 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)
  6980. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6981. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6982. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  6983. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  6984. end
  6985. attack = false
  6986. hum.WalkSpeed = storehumanoidWS
  6987. end
  6988. function FallenDEMISE()
  6989. attack = true
  6990. hum.WalkSpeed = 0
  6991. local keptcolor = MAINRUINCOLOR
  6992. bosschatfunc("ALL OF YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,3)
  6993. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  6994. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  6995. for i = 0, 15, 0.1 do
  6996. swait()
  6997. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6998. 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)))
  6999. local at1 = Instance.new("Attachment",dis)
  7000. at1.Position = vt(-25000,0,0)
  7001. local at2 = Instance.new("Attachment",dis)
  7002. at2.Position = vt(25000,0,0)
  7003. local trl = Instance.new('Trail',dis)
  7004. trl.Attachment0 = at1
  7005. trl.FaceCamera = true
  7006. trl.Attachment1 = at2
  7007. trl.Texture = "rbxassetid://1049219073"
  7008. trl.LightEmission = 1
  7009. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7010. trl.Color = ColorSequence.new(dis.Color)
  7011. trl.Lifetime = 5
  7012. local bv = Instance.new("BodyVelocity")
  7013. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7014. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  7015. bv.Parent = dis
  7016. game:GetService("Debris"):AddItem(dis, 1)
  7017. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
  7018. 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"))
  7019. 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"))
  7020. 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)
  7021. 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)
  7022. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  7023. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  7024. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  7025. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  7026. end
  7027. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  7028. for i = 0, 30, 0.1 do
  7029. swait()
  7030. coroutine.resume(coroutine.create(function()
  7031. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  7032. if v:FindFirstChild('Head') then
  7033. dmg(v)
  7034. end
  7035. end
  7036. end))
  7037. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  7038. 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)))
  7039. local at1 = Instance.new("Attachment",dis)
  7040. at1.Position = vt(-50000,0,0)
  7041. local at2 = Instance.new("Attachment",dis)
  7042. at2.Position = vt(50000,0,0)
  7043. local trl = Instance.new('Trail',dis)
  7044. trl.Attachment0 = at1
  7045. trl.FaceCamera = true
  7046. trl.Attachment1 = at2
  7047. trl.Texture = "rbxassetid://1049219073"
  7048. trl.LightEmission = 1
  7049. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7050. trl.Color = ColorSequence.new(dis.Color)
  7051. trl.Lifetime = 10
  7052. local bv = Instance.new("BodyVelocity")
  7053. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7054. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  7055. bv.Parent = dis
  7056. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  7057. sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
  7058. sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
  7059. 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"))
  7060. 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"))
  7061. 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"))
  7062. 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"))
  7063. for i = 0, 2 do
  7064. 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)
  7065. end
  7066. 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)
  7067. 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)
  7068. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  7069. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  7070. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  7071. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  7072. end
  7073. attack = false
  7074. hum.WalkSpeed = storehumanoidWS
  7075. end
  7076.  
  7077. function SpeedDrop()
  7078. attack = true
  7079. hum.WalkSpeed = 0
  7080. CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
  7081. local poste = 3
  7082. local rotation = 0
  7083. local rate = 0
  7084. bosschatfunc("AUFHHIGYBIBYHHIHIGHGI",MAINRUINCOLOR.Color,2)
  7085. for i = 0, 124 do
  7086. swait()
  7087. rotation = rotation + rate
  7088. poste = poste + 0.1
  7089. rate = rate + 0.1
  7090. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
  7091. 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)
  7092. 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)
  7093. 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)
  7094. 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)
  7095. 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)
  7096. 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)
  7097. 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)
  7098. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
  7099. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
  7100. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
  7101. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
  7102. end
  7103. CameraEnshaking(3,7)
  7104. bosschatfunc("AN ERROR HAS OCCURED",MAINRUINCOLOR.Color,2)
  7105. local loc = Instance.new("Part", char)
  7106. loc.BrickColor = MAINRUINCOLOR
  7107. loc.CanCollide = false
  7108. loc.FormFactor = 3
  7109. loc.Name = "Ring"
  7110. loc.Material = "Neon"
  7111. loc.Size = Vector3.new(1, 1, 1)
  7112. loc.Transparency = 1
  7113. loc.TopSurface = 0
  7114. loc.BottomSurface = 0
  7115. loc.Anchored = true
  7116. loc.CFrame = root.CFrame + root.CFrame.lookVector*100
  7117. CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
  7118. CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
  7119. MagniDamage(loc, 95, 500,6000, 0, "Normal")
  7120. sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
  7121. sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  7122. sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  7123. sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  7124. coroutine.resume(coroutine.create(function()
  7125. local eff = Instance.new("ParticleEmitter",loc)
  7126. eff.Texture = "rbxassetid://363275192"
  7127. eff.LightEmission = 0.95
  7128. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7129. eff.Rate = 10000
  7130. eff.Lifetime = NumberRange.new(1)
  7131. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
  7132. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7133. eff.Speed = NumberRange.new(100,500)
  7134. eff.Drag = 5
  7135. eff.Rotation = NumberRange.new(-500,500)
  7136. eff.VelocitySpread = 9000
  7137. eff.RotSpeed = NumberRange.new(-50,50)
  7138. wait(0.5)
  7139. eff.Enabled = false
  7140. end))
  7141. for i = 0, 49 do
  7142. 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)
  7143. end
  7144. for i = 0, 9 do
  7145. 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)
  7146. end
  7147. game:GetService("Debris"):AddItem(loc, 5)
  7148. root.CFrame = root.CFrame + root.CFrame.lookVector*200
  7149. hum.WalkSpeed = storehumanoidWS
  7150. attack = false
  7151. end
  7152.  
  7153. function cutesigh()
  7154. attack = true
  7155. hum.WalkSpeed = 0
  7156. bosschatfunc("sigh~~",MAINRUINCOLOR.Color,2)
  7157. local blush = Instance.new("Decal",hed)
  7158. blush.Texture = "rbxassetid://898404027"
  7159. blush.Face = "Front"
  7160. CFuncs["Sound"].Create("rbxassetid://294861193", char, 9,1)
  7161. for i = 0, 9, 0.1 do
  7162. swait()
  7163. 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)
  7164. 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)
  7165. 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)
  7166. 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)
  7167. 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)
  7168. 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)
  7169. end
  7170. coroutine.resume(coroutine.create(function()
  7171. for i = 0, 49 do
  7172. swait()
  7173. blush.Transparency = blush.Transparency + 0.02
  7174. end
  7175. blush:Destroy()
  7176. end))
  7177. hum.WalkSpeed = storehumanoidWS
  7178. attack = false
  7179. end
  7180.  
  7181. function smiter()
  7182. local targetted = nil
  7183. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  7184. targetted = mouse.Target.Parent
  7185. end
  7186. if targetted ~= nil then
  7187. RootPart.CFrame = FaceMouse()[1]
  7188. attack = true
  7189. local radm = math.random(1,3)
  7190. if radm == 1 then
  7191. bosschatfunc("SMITED!!",MAINRUINCOLOR.Color,1)
  7192. elseif radm == 2 then
  7193. bosschatfunc("FROM ABOVE!!",MAINRUINCOLOR.Color,1)
  7194. elseif radm == 3 then
  7195. bosschatfunc("LOOK UP!!",MAINRUINCOLOR.Color,1)
  7196. end
  7197. hum.WalkSpeed = 0
  7198. coroutine.resume(coroutine.create(function()
  7199. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  7200. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  7201. local vel = Instance.new("BodyPosition", targetted.Head)
  7202. vel.P = 12500
  7203. vel.D = 1000
  7204. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  7205. vel.position = targetted.Head.CFrame.p
  7206. end))
  7207. CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
  7208. CFuncs["EchoSound"].Create("rbxassetid://1436242685", char, 4, 1,0,10,0.15,0.5,1)
  7209. CFuncs["EchoSound"].Create("rbxassetid://1436242685", root, 60, 1,0,10,0.15,0.5,1)
  7210. for i = 0,4,0.1 do
  7211. swait()
  7212. 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)
  7213. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  7214. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  7215. 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)
  7216. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7217. 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)
  7218. 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)
  7219. end
  7220. coroutine.resume(coroutine.create(function()
  7221. CameraEnshaking(6,5)
  7222. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  7223. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
  7224. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
  7225. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
  7226. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  7227. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  7228. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  7229. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  7230. coroutine.resume(coroutine.create(function()
  7231. local eff = Instance.new("ParticleEmitter",targetted.Head)
  7232. eff.Texture = "rbxassetid://2273224484"
  7233. eff.LightEmission = 1
  7234. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  7235. eff.Rate = 500000
  7236. eff.Lifetime = NumberRange.new(0.5,2)
  7237. 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)})
  7238. 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)})
  7239. eff.Speed = NumberRange.new(20,250)
  7240. eff.Drag = 5
  7241. eff.Rotation = NumberRange.new(-500,500)
  7242. eff.VelocitySpread = 9000
  7243. eff.RotSpeed = NumberRange.new(-50,50)
  7244. wait(0.25)
  7245. eff.Enabled = false
  7246. local eff = Instance.new("ParticleEmitter",targetted.Head)
  7247. eff.Texture = "rbxassetid://363275192"
  7248. eff.LightEmission = 0.95
  7249. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7250. eff.Rate = 10000
  7251. eff.Lifetime = NumberRange.new(1.5)
  7252. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  7253. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7254. eff.Speed = NumberRange.new(25,150)
  7255. eff.Drag = 5
  7256. eff.Rotation = NumberRange.new(-500,500)
  7257. eff.VelocitySpread = 9000
  7258. eff.RotSpeed = NumberRange.new(-50,50)
  7259. local eff2 = eff:Clone()
  7260. eff2.Parent = targetted.Head
  7261. eff2.Texture = "rbxassetid://284205403"
  7262. eff2.Rate = 10000
  7263. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7264. eff2.Drag = 5
  7265. eff2.Rotation = NumberRange.new(-500,500)
  7266. eff2.VelocitySpread = 9000
  7267. wait(0.5)
  7268. eff2.Enabled = false
  7269. eff.Enabled = false
  7270. end))
  7271. for i = 0, 9 do
  7272. 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)
  7273. end
  7274. for i = 0, 49 do
  7275. local rsiz = math.random(10,50)
  7276. 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)
  7277. end
  7278. game:GetService("Debris"):AddItem(vel,1)
  7279. dmg(targetted)
  7280. end))
  7281. for i = 0,1,0.1 do
  7282. swait()
  7283. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  7284. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  7285. 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)
  7286. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7287. 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)
  7288. 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)
  7289. end
  7290. attack = false
  7291. hum.WalkSpeed = storehumanoidWS
  7292. end
  7293. end
  7294.  
  7295. function shytaunty()
  7296. attack = true
  7297. hum.WalkSpeed = 0
  7298. CFuncs["Sound"].Create("rbxassetid://543623779", char, 1, 1)
  7299. local blush = Instance.new("Decal",hed)
  7300. blush.Texture = "rbxassetid://898404027"
  7301. blush.Face = "Front"
  7302. for i = 0, 13, 0.1 do
  7303. swait()
  7304. 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)
  7305. 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)
  7306. 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)
  7307. 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)
  7308. 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)
  7309. 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)
  7310. end
  7311. coroutine.resume(coroutine.create(function()
  7312. for i = 0, 49 do
  7313. swait()
  7314. blush.Transparency = blush.Transparency + 0.02
  7315. end
  7316. blush:Destroy()
  7317. end))
  7318. hum.WalkSpeed = storehumanoidWS
  7319. attack = false
  7320. end
  7321.  
  7322. function PureBomb()
  7323. attack = true
  7324. CFuncs["EchoSound"].Create("rbxassetid://1436241485", char, 5, 1,0,10,0.15,0.5,1)
  7325. CFuncs["EchoSound"].Create("rbxassetid://1436241485", root, 60, 1,0,10,0.15,0.5,1)
  7326. bosschatfunc("Purified..",MAINRUINCOLOR.Color,2)
  7327. local orb = Instance.new("Part", char)
  7328. orb.Anchored = true
  7329. orb.BrickColor = BrickColor.new("Toothpaste")
  7330. orb.CanCollide = false
  7331. orb.FormFactor = 3
  7332. orb.Name = "Ring"
  7333. orb.Material = "Neon"
  7334. orb.Size = Vector3.new(1, 1, 1)
  7335. orb.Transparency = 0
  7336. orb.TopSurface = 0
  7337. orb.BottomSurface = 0
  7338. local orbm = Instance.new("SpecialMesh", orb)
  7339. orbm.MeshType = "Sphere"
  7340. orbm.Name = "SizeMesh"
  7341. orbm.Scale = vt(0,0,0)
  7342. local scaled = 0.1
  7343. local posid = 0
  7344. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 30,1)
  7345. for i = 0, 5, 0.1 do
  7346. swait()
  7347. scaled = scaled - 0.001
  7348. posid = posid - scaled
  7349. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  7350. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  7351. 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)
  7352. 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)
  7353. 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)
  7354. 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)
  7355. 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)
  7356. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7357. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  7358. 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)
  7359. end
  7360. for i = 0, 2, 0.1 do
  7361. swait()
  7362. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  7363. 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)
  7364. 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)
  7365. 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)
  7366. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  7367. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  7368. 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)
  7369. end
  7370. CFuncs["EchoSound"].Create("rbxassetid://1436240026", char, 4, 1,0,10,0.15,0.5,1)
  7371. CFuncs["EchoSound"].Create("rbxassetid://1436240026", root, 60, 1,0,10,0.15,0.5,1)
  7372. bosschatfunc("BOMB!!",MAINRUINCOLOR.Color,2)
  7373. coroutine.resume(coroutine.create(function()
  7374. orb.Anchored = false
  7375. CFuncs["Sound"].Create("rbxassetid://260433768", root, 555,1)
  7376. local a = Instance.new("Part",workspace)
  7377. a.Name = "Direction"
  7378. a.Anchored = true
  7379. a.BrickColor = bc("Bright red")
  7380. a.Material = "Neon"
  7381. a.Transparency = 1
  7382. a.CanCollide = false
  7383. local ray = Ray.new(
  7384. orb.CFrame.p, -- origin
  7385. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  7386. )
  7387. local ignore = orb
  7388. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7389. a.BottomSurface = 10
  7390. a.TopSurface = 10
  7391. local distance = (orb.CFrame.p - position).magnitude
  7392. a.Size = Vector3.new(0.1, 0.1, 0.1)
  7393. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  7394. orb.CFrame = a.CFrame
  7395. a:Destroy()
  7396. local bv = Instance.new("BodyVelocity")
  7397. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7398. bv.velocity = orb.CFrame.lookVector*125
  7399. bv.Parent = orb
  7400. local hitted = false
  7401. game:GetService("Debris"):AddItem(orb, 15)
  7402. wait()
  7403. local hit =orb.Touched:connect(function(hit)
  7404. if hitted == false then
  7405. hitted = true
  7406. CameraEnshaking(10,2.5)
  7407. MagniDamage(orb, 65, 65,90, 0, "Normal")
  7408. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  7409. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  7410. for i = 0, 49 do
  7411. 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)
  7412. end
  7413. local eff = Instance.new("ParticleEmitter",orb)
  7414. eff.Texture = "rbxassetid://2273224484"
  7415. eff.LightEmission = 1
  7416. eff.Color = ColorSequence.new(Color3.new(4/255,175/255,236/255))
  7417. eff.Rate = 500000
  7418. eff.Lifetime = NumberRange.new(0.5,2)
  7419. 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)})
  7420. 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)})
  7421. eff.Speed = NumberRange.new(20,250)
  7422. eff.Drag = 5
  7423. eff.Rotation = NumberRange.new(-500,500)
  7424. eff.VelocitySpread = 9000
  7425. eff.RotSpeed = NumberRange.new(-50,50)
  7426. coroutine.resume(coroutine.create(function()
  7427. wait(0.25)
  7428. eff.Enabled = false
  7429. end))
  7430. CFuncs["Sound"].Create("rbxassetid://1666361078", orb, 30,1)
  7431. for i = 0, 9 do
  7432. 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)
  7433. 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)
  7434. end
  7435. orb.Anchored = true
  7436. orb.Transparency = 1
  7437. local eff = Instance.new("ParticleEmitter",orb)
  7438. eff.Texture = "rbxassetid://2273224484"
  7439. eff.LightEmission = 1
  7440. eff.Color = ColorSequence.new(Color3.new(M))
  7441. eff.Rate = 500000
  7442. eff.Lifetime = NumberRange.new(0.5,2)
  7443. 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)})
  7444. 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)})
  7445. eff.Speed = NumberRange.new(20,250)
  7446. eff.Drag = 5
  7447. eff.Rotation = NumberRange.new(-500,500)
  7448. eff.VelocitySpread = 9000
  7449. eff.RotSpeed = NumberRange.new(-50,50)
  7450. coroutine.resume(coroutine.create(function()
  7451. wait(1)
  7452. eff.Enabled = false
  7453. end))
  7454. wait(8)
  7455. orb:Destroy()
  7456. end
  7457. end)
  7458. end))
  7459. for i = 0, 1, 0.1 do
  7460. swait()
  7461. 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)
  7462. 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)
  7463. 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)
  7464. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  7465. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  7466. 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)
  7467. end
  7468. attack = false
  7469. end
  7470.  
  7471.  
  7472. function BeamOfDeath()
  7473. coroutine.resume(coroutine.create(function()
  7474. attack = true
  7475. hum.WalkSpeed = 0
  7476. for i = 0, 11, 0.1 do
  7477. swait()
  7478. 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)
  7479. 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)
  7480. 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)
  7481. 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)
  7482. 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)
  7483. 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)
  7484. end
  7485. for i = 0, 1, 0.1 do
  7486. swait()
  7487. 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)
  7488. 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)
  7489. 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)
  7490. 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)
  7491. 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)
  7492. 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)
  7493. end
  7494. hum.WalkSpeed = storehumanoidWS
  7495. attack = false
  7496. end))
  7497. CFuncs["Sound"].Create("rbxassetid://1436242274", char, 5, 1,0,10,0.10,0.25,1)
  7498. local radm = math.random(1,3)
  7499. if radm == 1 then
  7500. bosschatfunc("Get Death From My Destiny",MAINRUINCOLOR.Color,1)
  7501. elseif radm == 2 then
  7502. bosschatfunc("Your Existance Was A Mistake All Along",MAINRUINCOLOR.Color,1)
  7503. elseif radm == 3 then
  7504. bosschatfunc("Your Fate Isnt Good Enough For Me...",MAINRUINCOLOR.Color,1)
  7505. end
  7506. local keptcolor = MAINRUINCOLOR
  7507. local orb = Instance.new("Part", char)
  7508. orb.BrickColor = keptcolor
  7509. orb.CanCollide = false
  7510. orb.FormFactor = 3
  7511. orb.Name = "Ring"
  7512. orb.Material = "Neon"
  7513. orb.Size = Vector3.new(1, 1, 1)
  7514. orb.Transparency = 1
  7515. orb.TopSurface = 0
  7516. orb.BottomSurface = 0
  7517. local orbm = Instance.new("SpecialMesh", orb)
  7518. orbm.MeshType = "Sphere"
  7519. orbm.Name = "SizeMesh"
  7520. orbm.Scale = vt(22.5,10000,22.5)
  7521. orb.CFrame = mouse.Hit
  7522. orb.Anchored = true
  7523. orb.Orientation = vt(0,0,0)
  7524. orb.CFrame = orb.CFrame*CFrame.new(0,1,0)
  7525. CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 0.5, 1.2)
  7526. coroutine.resume(coroutine.create(function()
  7527. coroutine.resume(coroutine.create(function()
  7528. for i = 0, 175 do
  7529. swait()
  7530. orbm.Scale = orbm.Scale - vt(0.1,0,0.1)
  7531. orb.Transparency = orb.Transparency - 0.005
  7532. end
  7533. end))
  7534. wait(2)
  7535. coroutine.resume(coroutine.create(function()
  7536. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  7537. if hfr ~= nil then
  7538. for i = 0, 24.5 do
  7539. local deb = Instance.new("Part", char)
  7540. deb.Anchored = true
  7541. deb.CanCollide = false
  7542. deb.FormFactor = 3
  7543. deb.Name = "Ring"
  7544. deb.Material = hitfloor.Material
  7545. deb.Color = hitfloor.Color
  7546. deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55))
  7547. deb.Transparency = 0
  7548. deb.TopSurface = 0
  7549. deb.BottomSurface = 0
  7550. 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)))
  7551. local deb2 = Instance.new("Part", char)
  7552. deb2.CanCollide = false
  7553. deb2.FormFactor = 3
  7554. deb2.Name = "Ring"
  7555. deb2.Material = hitfloor.Material
  7556. deb2.Color = hitfloor.Color
  7557. deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38))
  7558. deb2.Transparency = 0
  7559. deb2.TopSurface = 0
  7560. deb2.BottomSurface = 0
  7561. deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150))
  7562. 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)))
  7563. local eff = Instance.new("ParticleEmitter",deb)
  7564. eff.Texture = "rbxassetid://363275192"
  7565. eff.LightEmission = 0.95
  7566. eff.Color = ColorSequence.new(keptcolor.Color)
  7567. eff.Rate = 100
  7568. eff.Lifetime = NumberRange.new(1)
  7569. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
  7570. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7571. eff.Speed = NumberRange.new(0,5)
  7572. eff.Rotation = NumberRange.new(-500,500)
  7573. eff.VelocitySpread = 9000
  7574. eff.RotSpeed = NumberRange.new(-10,10)
  7575. local at1 = Instance.new('Attachment',deb2)
  7576. at1.Position = vt(0,15,0)
  7577. local at2 = Instance.new('Attachment',deb2)
  7578. at2.Position = vt(0,-15,0)
  7579. local tl = Instance.new('Trail',deb2)
  7580. tl.Attachment0 = at1
  7581. tl.Attachment1 = at2
  7582. tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7583. tl.Color = ColorSequence.new(BrickColor.new('White').Color)
  7584. tl.Lifetime = 1
  7585. game:GetService("Debris"):AddItem(deb,30)
  7586. game:GetService("Debris"):AddItem(deb2,30)
  7587. coroutine.resume(coroutine.create(function()
  7588. wait(15)
  7589. eff.Enabled = false
  7590. for i = 0, 49 do
  7591. swait()
  7592. deb.Transparency = deb.Transparency + 0.02
  7593. end
  7594. wait(1)
  7595. deb:Destroy()
  7596. end))
  7597. end
  7598. end
  7599. end))
  7600. for i = 0, 199 do
  7601. swait(1.5)
  7602. for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do
  7603. if v:FindFirstChild('Head') then
  7604. dmg(v)
  7605. end
  7606. end
  7607. CFuncs["Sound"].Create("rbxassetid://1666361078", orb, 30,1)
  7608. 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)
  7609. 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)
  7610. 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)
  7611. sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor)
  7612. end
  7613. orb:Destroy()
  7614. end))
  7615. end
  7616.  
  7617. function Beams()
  7618. attack = true
  7619. hum.WalkSpeed = 0
  7620. CFuncs["EchoSound"].Create("rbxassetid://1436242274", char, 8, 1,0,10,0.15,0.5,1)
  7621. CFuncs["EchoSound"].Create("rbxassetid://1436242274", root, 60, 1,0,10,0.15,0.5,1)
  7622. bosschatfunc("You'll gone..",MAINRUINCOLOR.Color,2)
  7623. local keptcolor = MAINRUINCOLOR
  7624. coroutine.resume(coroutine.create(function()
  7625. for i = 0, 96 do
  7626. swait(5)
  7627. local orb = Instance.new("Part", char)
  7628. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  7629. orb.BrickColor = keptcolor
  7630. orb.CanCollide = false
  7631. orb.FormFactor = 3
  7632. orb.Name = "Ring"
  7633. orb.Material = "Neon"
  7634. orb.Size = Vector3.new(1, 1, 1)
  7635. orb.Transparency = 0
  7636. orb.TopSurface = 0
  7637. orb.BottomSurface = 0
  7638. orb.Anchored = true
  7639. local orbm = Instance.new("SpecialMesh", orb)
  7640. orbm.MeshType = "Sphere"
  7641. orbm.Name = "SizeMesh"
  7642. orbm.Scale = vt(1.25,1.25,1.25)
  7643. orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6))
  7644. sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7645. coroutine.resume(coroutine.create(function()
  7646. wait(0.5)
  7647. CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
  7648. sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7649. sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7650. orb.Transparency = 1
  7651. local a = Instance.new("Part",char)
  7652. a.Name = "Direction"
  7653. a.Anchored = true
  7654. a.BrickColor = keptcolor
  7655. a.Material = "Neon"
  7656. a.Transparency = 0.25
  7657. a.Shape = "Cylinder"
  7658. local ht = Instance.new("Part",char)
  7659. ht.Name = "DirectionHit"
  7660. ht.Anchored = true
  7661. ht.BrickColor = keptcolor
  7662. ht.CanCollide = false
  7663. ht.Transparency = 1
  7664. ht.Size = vt(0.1,0.1,0.1)
  7665. CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.6)
  7666. a.CanCollide = false
  7667. local ray = Ray.new(
  7668. orb.CFrame.p, -- origin
  7669. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  7670. )
  7671. local ignore = char
  7672. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7673. a.BottomSurface = 10
  7674. a.TopSurface = 10
  7675. local distance = (orb.CFrame.p - position).magnitude
  7676. a.Size = Vector3.new(distance,1,1)
  7677. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7678. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7679. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  7680. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  7681. MagniDamage(ht, 9, 30,60, 0, "Normal")
  7682. coroutine.resume(coroutine.create(function()
  7683. local eff = Instance.new("ParticleEmitter",ht)
  7684. eff.Texture = "rbxassetid://284205403"
  7685. eff.LightEmission = 0.95
  7686. eff.Color = ColorSequence.new(keptcolor.Color)
  7687. eff.Rate = 500
  7688. eff.Lifetime = NumberRange.new(0.5)
  7689. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  7690. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7691. eff.Speed = NumberRange.new(10,50)
  7692. eff.Drag = 5
  7693. eff.Rotation = NumberRange.new(-500,500)
  7694. eff.VelocitySpread = 9000
  7695. eff.RotSpeed = NumberRange.new(-500,500)
  7696. wait(0.25)
  7697. eff.Enabled = false
  7698. end))
  7699. for i = 0, 4 do
  7700. 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)
  7701. 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)
  7702. local rsiz = math.random(10,30)
  7703. 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)
  7704. end
  7705. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7706. local msh = Instance.new("SpecialMesh",a)
  7707. msh.MeshType = "Cylinder"
  7708. msh.Scale = vt(1,1,1)
  7709. for i = 0, 49 do
  7710. swait()
  7711. msh.Scale = msh.Scale + vt(0,0.01,0.01)
  7712. a.Transparency = a.Transparency + 0.02
  7713. end
  7714. orb:Destroy()
  7715. a:Destroy()
  7716. ht:Destroy()
  7717. end))
  7718. game:GetService("Debris"):AddItem(orb, 10)
  7719. end
  7720. end))
  7721. for i = 0,6,0.1 do
  7722. swait()
  7723. 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)
  7724. 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)
  7725. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
  7726. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3)
  7727. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3)
  7728. 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)
  7729. 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)
  7730. end
  7731. hum.WalkSpeed = storehumanoidWS
  7732. attack = false
  7733. end
  7734.  
  7735. function CalamityTrans()
  7736. attack = true
  7737. rainbowmode = false
  7738. chaosmode = false
  7739. ModeOfGlitch = 8889
  7740. hum.WalkSpeed = 0
  7741. newThemeCust("rbxassetid://716114804",0,1,1.25)
  7742. local elocacenter = CreateParta(root,1,1,"SmoothPlastic",BrickColor.random())
  7743. elocacenter.Anchored = true
  7744. elocacenter.CFrame = root.CFrame
  7745. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7746. eloca1.Anchored = true
  7747. eloca1.CFrame = elocacenter.CFrame
  7748. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7749. eloca2.Anchored = true
  7750. eloca2.CFrame = elocacenter.CFrame
  7751. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7752. eloca3.Anchored = true
  7753. eloca3.CFrame = elocacenter.CFrame
  7754. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7755. eloca4.Anchored = true
  7756. eloca4.CFrame = elocacenter.CFrame
  7757. local lookavec = 0
  7758. local speeds = 0
  7759. CameraEnshaking(3,2.5)
  7760. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7761. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7762. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7763. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7764. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7765. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7766. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 10, 1)
  7767. for i = 0, 5, 0.1 do
  7768. swait()
  7769. ---
  7770. lookavec = lookavec + 1
  7771. speeds = speeds + 10
  7772. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7773. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7774. 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)
  7775. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7776. 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)
  7777. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7778. 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)
  7779. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7780. 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)
  7781. ---
  7782. 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)
  7783. 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)
  7784. 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)
  7785. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7786. 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)
  7787. 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)
  7788. end
  7789. for i = 0, 5, 0.1 do
  7790. swait()
  7791. ---
  7792. speeds = speeds + 10
  7793. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7794. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7795. 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)
  7796. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7797. 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)
  7798. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7799. 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)
  7800. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7801. 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)
  7802. ---
  7803. 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)
  7804. 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)
  7805. 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)
  7806. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7807. 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)
  7808. 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)
  7809. end
  7810. MAINRUINCOLOR = BrickColor.new("Bright violet")
  7811. CFuncs["Sound"].Create("rbxassetid://468991944", eloca1, 5, 1)
  7812. CFuncs["Sound"].Create("rbxassetid://468991944", eloca2, 5, 1)
  7813. CFuncs["Sound"].Create("rbxassetid://468991944", eloca3, 5, 1)
  7814. CFuncs["Sound"].Create("rbxassetid://468991944", eloca4, 5, 1)
  7815. CameraEnshaking(1,3)
  7816. for i = 0, 24 do
  7817. 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)
  7818. 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)
  7819. 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)
  7820. 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)
  7821. end
  7822. sphere(1,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7823. sphere(2,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7824. sphere(3,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7825. sphere(1,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7826. sphere(2,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7827. sphere(3,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7828. sphere(1,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7829. sphere(2,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7830. sphere(3,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7831. sphere(1,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7832. sphere(2,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7833. sphere(3,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7834. for i = 0, 5, 0.1 do
  7835. swait()
  7836. ---
  7837. lookavec = lookavec - 1
  7838. speeds = speeds + 10
  7839. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7840. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7841. 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)
  7842. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7843. 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)
  7844. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7845. 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)
  7846. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7847. 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)
  7848. ---
  7849. 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)
  7850. 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)
  7851. 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)
  7852. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7853. 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)
  7854. 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)
  7855. end
  7856. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7857. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7858. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7859. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7860. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7861. for i = 0, 49 do
  7862. 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)
  7863. 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)
  7864. end
  7865. CameraEnshaking(5,6)
  7866. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7867. CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1)
  7868. CFuncs["Sound"].Create("rbxassetid://741272936", root, 5, 1)
  7869. CFuncs["Sound"].Create("rbxassetid://164881112", root, 5, 1)
  7870. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 5, 1)
  7871. CFuncs["Sound"].Create("rbxassetid://429123896", root, 5, 0.85)
  7872. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 5, 1)
  7873. storehumanoidWS = 100
  7874. hum.WalkSpeed = 100
  7875. rainbowmode = false
  7876. chaosmode = false
  7877. tl1.Enabled = true
  7878. tl2.Enabled = true
  7879. tl3.Enabled = true
  7880. RecolorTextAndRename("CALAMITY",Color3.new(10,1,1),Color3.new(0.5,0,1),"Code")
  7881. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7882. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7883. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7884. for i, v in pairs(mw2:GetChildren()) do
  7885. if v:IsA("Part") then
  7886. v.BrickColor = MAINRUINCOLOR
  7887. v.Material = "Neon"
  7888. end
  7889. end
  7890. for i, v in pairs(mw1:GetChildren()) do
  7891. if v:IsA("Part") then
  7892. v.Transparency = 0
  7893. v.BrickColor = MAINRUINCOLOR
  7894. v.Material = "Neon"
  7895. end
  7896. end
  7897. for i, v in pairs(m:GetChildren()) do
  7898. if v:IsA("Part") then
  7899. v.Color = Color3.new(0.5,0,1)
  7900. v.Material = "Neon"
  7901. end
  7902. end
  7903. for i, v in pairs(m2:GetChildren()) do
  7904. if v:IsA("Part") then
  7905. v.Color = Color3.new(0.25,0,1)
  7906. v.Material = "Neon"
  7907. end
  7908. end
  7909. for i, v in pairs(m3:GetChildren()) do
  7910. if v:IsA("Part") then
  7911. v.Color = Color3.new(0.45,0,1)
  7912. v.Material = "Neon"
  7913. end
  7914. end
  7915. for i, v in pairs(extrawingmod1:GetChildren()) do
  7916. if v:IsA("Part") then
  7917. v.Transparency = 0.75
  7918. v.Color = Color3.new(0.25,0,1)
  7919. v.Material = "Neon"
  7920. end
  7921. end
  7922. for i, v in pairs(extrawingmod2:GetChildren()) do
  7923. if v:IsA("Part") then
  7924. v.Transparency = 0.75
  7925. v.Color = Color3.new(0.5,0,1)
  7926. v.Material = "Neon"
  7927. end
  7928. end
  7929. attack = false
  7930. end
  7931.  
  7932. function GleamingBeam()
  7933. attack = true
  7934. bosschatfunc("IT ENDS NOW!!!",MAINRUINCOLOR.Color,3)
  7935. CFuncs["EchoSound"].Create("rbxassetid://1535995570", char, 8, 1,0,10,0.15,0.5,1)
  7936. CFuncs["EchoSound"].Create("rbxassetid://1535995570", root, 60, 1,0,10,0.15,0.5,1)
  7937. local rsiz = math.random(1,15)
  7938. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7939. hb.Anchored = true
  7940. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7941. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
  7942. for i = 0, 16, 0.1 do
  7943. swait()
  7944. rsiz = math.random(5,15)
  7945. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7946. 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)
  7947. 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)
  7948. 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)
  7949. 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)
  7950. 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)
  7951. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-40)),.1)
  7952. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  7953. LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.1)
  7954. end
  7955. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
  7956. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
  7957. for i = 0, 2 do
  7958. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
  7959. end
  7960. 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)
  7961. 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)
  7962. 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)
  7963. for i = 0, 49 do
  7964. local rsiza = math.random(1,15)
  7965. 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)
  7966. end
  7967. local a = Instance.new("Part",Character)
  7968. a.Name = "Direction"
  7969. a.Anchored = true
  7970. a.BrickColor = MAINRUINCOLOR
  7971. a.Material = "Neon"
  7972. a.Transparency = 0
  7973. a.Shape = "Cylinder"
  7974. a.CanCollide = false
  7975. local ba = Instance.new("Part",Character)
  7976. ba.Name = "HitDirect"
  7977. ba.Anchored = true
  7978. ba.BrickColor = bc("Cool yellow")
  7979. ba.Material = "Neon"
  7980. ba.Transparency = 1
  7981. ba.CanCollide = false
  7982. local ray = Ray.new(
  7983. hb.CFrame.p, -- origin
  7984. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  7985. )
  7986. local ignore = Character
  7987. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7988. a.BottomSurface = 10
  7989. a.TopSurface = 10
  7990. local distance = (hb.CFrame.p - position).magnitude
  7991. a.Size = Vector3.new(distance, 1, 1)
  7992. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7993. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7994. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7995. local msh = Instance.new("SpecialMesh",a)
  7996. msh.MeshType = "Cylinder"
  7997. msh.Scale = vt(1,4,4)
  7998. game:GetService("Debris"):AddItem(a, 30)
  7999. game:GetService("Debris"):AddItem(ba, 30)
  8000. for i = 0, 25, 0.1 do
  8001. swait()
  8002. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8003. ray = Ray.new(
  8004. hb.CFrame.p, -- origin
  8005. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8006. )
  8007. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8008. distance = (hb.CFrame.p - position).magnitude
  8009. a.Size = Vector3.new(distance, 1, 1)
  8010. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8011. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8012. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8013. rsiz = math.random(5,25)
  8014. MagniDamage(ba, 12, 40000,900000, 0, "Normal")
  8015. 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)
  8016. for c = 0, 2 do
  8017. 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)
  8018. end
  8019. 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)
  8020. 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)
  8021. 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)
  8022. 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)
  8023. 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)
  8024. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-80)),.6)
  8025. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(80)),.6)
  8026. LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.6)
  8027. end
  8028. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
  8029. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
  8030. CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
  8031. CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
  8032. MagniDamage(ba, 30, 400000,9000000, 0, "Normal")
  8033. 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)
  8034. 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)
  8035. 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)
  8036. 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)
  8037. 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)
  8038. 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)
  8039. for i = 0, 49 do
  8040. local rsiza = math.random(1,15)
  8041. 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)
  8042. end
  8043. for i = 0, 49 do
  8044. rsiz = math.random(1,8)
  8045. 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)
  8046. end
  8047. coroutine.resume(coroutine.create(function()
  8048. for i = 0, 99 do
  8049. swait()
  8050. a.Transparency = a.Transparency + 0.01
  8051. end
  8052. a:Destroy()
  8053. ba:Destroy()
  8054. end))
  8055. hb:Destroy()
  8056. attack = false
  8057. end
  8058.  
  8059. function DualGleamingBeam()
  8060. attack = true
  8061. hum.WalkSpeed = 0
  8062. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 5, 1,0,10,0.15,0.5,1)
  8063. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 60, 1,0,10,0.15,0.5,1)
  8064. local radm = math.random(1,3)
  8065. if radm == 1 then
  8066. bosschatfunc("YOU CAN'T ESCAPE THIS!!",MAINRUINCOLOR.Color,1)
  8067. elseif radm == 2 then
  8068. bosschatfunc("HOW DO YOU LIKE THIS?!",MAINRUINCOLOR.Color,1)
  8069. elseif radm == 3 then
  8070. bosschatfunc("You make the choice..",MAINRUINCOLOR.Color,1)
  8071. end
  8072. local rsiz = math.random(1,15)
  8073. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8074. hb.Anchored = true
  8075. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8076. local hb2 = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8077. hb2.Anchored = true
  8078. hb2.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8079. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
  8080. for i = 0, 14, 0.1 do
  8081. swait()
  8082. rsiz = math.random(5,15)
  8083. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8084. hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0)
  8085. 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)
  8086. 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)
  8087. 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)
  8088. 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"))
  8089. 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)
  8090. 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)
  8091. 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)
  8092. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.1)
  8093. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(120)),.1)
  8094. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-120)),.1)
  8095. end
  8096. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
  8097. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
  8098. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb2, 10,0.6)
  8099. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb2, 10,0.5)
  8100. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
  8101. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb2, 10,1)
  8102. 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)
  8103. 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)
  8104. 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)
  8105. 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"))
  8106. 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"))
  8107. 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"))
  8108. for i = 0, 49 do
  8109. local rsiza = math.random(1,15)
  8110. 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)
  8111. 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)
  8112. end
  8113. local a = Instance.new("Part",Character)
  8114. a.Name = "Direction"
  8115. a.Anchored = true
  8116. a.BrickColor = MAINRUINCOLOR
  8117. a.Material = "Neon"
  8118. a.Transparency = 0
  8119. a.Shape = "Cylinder"
  8120. a.CanCollide = false
  8121. local a2 = Instance.new("Part",Character)
  8122. a2.Name = "Direction"
  8123. a2.Anchored = true
  8124. a2.BrickColor = MAINRUINCOLOR
  8125. a2.Material = "Neon"
  8126. a2.Transparency = 0
  8127. a2.Shape = "Cylinder"
  8128. a2.CanCollide = false
  8129. local ba = Instance.new("Part",Character)
  8130. ba.Name = "HitDirect"
  8131. ba.Anchored = true
  8132. ba.BrickColor = MAINRUINCOLOR
  8133. ba.Material = "Neon"
  8134. ba.Transparency = 1
  8135. ba.CanCollide = false
  8136. local ba2 = Instance.new("Part",Character)
  8137. ba2.Name = "HitDirect"
  8138. ba2.Anchored = true
  8139. ba2.BrickColor = MAINRUINCOLOR
  8140. ba2.Material = "Neon"
  8141. ba2.Transparency = 1
  8142. ba2.CanCollide = false
  8143. local ray = Ray.new(
  8144. hb.CFrame.p, -- origin
  8145. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8146. )
  8147. local ignore = Character
  8148. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8149. local ray2 = Ray.new(
  8150. hb2.CFrame.p, -- origin
  8151. (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction
  8152. )
  8153. local hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore)
  8154. local distance2 = (hb2.CFrame.p - position).magnitude
  8155.  
  8156. a.BottomSurface = 10
  8157. a.TopSurface = 10
  8158. local distance = (hb.CFrame.p - position).magnitude
  8159. a.Size = Vector3.new(distance, 1, 1)
  8160. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8161. a2.BottomSurface = 10
  8162. a2.TopSurface = 10
  8163. a2.Size = Vector3.new(distance2, 1, 1)
  8164. a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2)
  8165. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8166. ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2)
  8167. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8168. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  8169. local msh = Instance.new("SpecialMesh",a)
  8170. msh.MeshType = "Cylinder"
  8171. msh.Scale = vt(1,4,4)
  8172. local msh2 = Instance.new("SpecialMesh",a2)
  8173. msh2.MeshType = "Cylinder"
  8174. msh2.Scale = vt(1,4,4)
  8175. game:GetService("Debris"):AddItem(a, 30)
  8176. game:GetService("Debris"):AddItem(a2, 30)
  8177. game:GetService("Debris"):AddItem(ba, 30)
  8178. game:GetService("Debris"):AddItem(ba2, 30)
  8179. for i = 0, 20, 0.1 do
  8180. swait()
  8181. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8182. hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0)
  8183. ray = Ray.new(
  8184. hb.CFrame.p, -- origin
  8185. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8186. )
  8187. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8188. distance = (hb.CFrame.p - position).magnitude
  8189. ray2 = Ray.new(
  8190. hb2.CFrame.p, -- origin
  8191. (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction
  8192. )
  8193. hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore)
  8194. distance2 = (hb2.CFrame.p - position).magnitude
  8195. a.Size = Vector3.new(distance, 1, 1)
  8196. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8197. a2.Size = Vector3.new(distance2, 1, 1)
  8198. a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2)
  8199. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8200. ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2)
  8201. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8202. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  8203. rsiz = math.random(5,25)
  8204. MagniDamage(ba, 12, 800,18000, 0, "Normal")
  8205. MagniDamage(ba2, 12, 800,18000, 0, "Normal")
  8206. for i, v in pairs(FindNearestHead(ba.CFrame.p, 4)) do
  8207. if v:FindFirstChild('Head') then
  8208. dmg(v)
  8209. end
  8210. end
  8211. coroutine.resume(coroutine.create(function()
  8212. local bx = Instance.new("Part",Character)
  8213. bx.Name = "Location"
  8214. bx.Anchored = true
  8215. bx.BrickColor = MAINRUINCOLOR
  8216. bx.Material = "Neon"
  8217. bx.Transparency = 1
  8218. bx.CanCollide = false
  8219. bx.Position = ba.Position
  8220. sphere2(2,"Add",bx.CFrame,vt(20,0.5,20),0.001,0,0.001,MAINRUINCOLOR)
  8221. wait(math.random(1,2))
  8222. sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.1,0,0.1,bc("Lime green"))
  8223. sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.25,0,0.25,MAINRUINCOLOR)
  8224. sphere2(6,"Add",bx.CFrame,vt(10,10,10),0.5,0.5,0.5,bc("Lime green"))
  8225. CFuncs["Sound"].Create("rbxassetid://1042693018", bx, 5,0.7)
  8226. CFuncs["Sound"].Create("rbxassetid://1042695469", bx, 5,0.8)
  8227. MagniDamage(bx, 20, 80000,900000, 0, "Normal")
  8228. for i, v in pairs(FindNearestHead(bx.CFrame.p, 15)) do
  8229. if v:FindFirstChild('Head') then
  8230. dmg(v)
  8231. end
  8232. end
  8233. wait(5)
  8234. bx:Destroy()
  8235. end))
  8236. 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)
  8237. 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)
  8238. for c = 0, 2 do
  8239. 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)
  8240. end
  8241. 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)
  8242. 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)
  8243. 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)
  8244. 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)
  8245. 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)
  8246. 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)
  8247. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.05)
  8248. RW.C0=clerp(RW.C0,cf(1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-15)),.05)
  8249. LW.C0=clerp(LW.C0,cf(-1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(15)),.05)
  8250. end
  8251. for i = 0, 1 do
  8252. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
  8253. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
  8254. CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
  8255. CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
  8256. end
  8257. MagniDamage(ba, 30, 8000,180000, 0, "Normal")
  8258. MagniDamage(ba2, 30, 8000,180000, 0, "Normal")
  8259. for i, v in pairs(FindNearestHead(ba.CFrame.p, 10)) do
  8260. if v:FindFirstChild('Head') then
  8261. dmg(v)
  8262. end
  8263. end
  8264. 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)
  8265. 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)
  8266. 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)
  8267. 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)
  8268. 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)
  8269. 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)
  8270. 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"))
  8271. 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"))
  8272. 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"))
  8273. for i = 0, 49 do
  8274. local rsiza = math.random(1,15)
  8275. 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)
  8276. 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)
  8277. end
  8278. for i = 0, 49 do
  8279. rsiz = math.random(1,8)
  8280. 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)
  8281. end
  8282. coroutine.resume(coroutine.create(function()
  8283. for i = 0, 99 do
  8284. swait()
  8285. a.Transparency = a.Transparency + 0.01
  8286. a2.Transparency = a2.Transparency + 0.01
  8287. end
  8288. a:Destroy()
  8289. ba:Destroy()
  8290. a2:Destroy()
  8291. ba2:Destroy()
  8292. end))
  8293. hum.WalkSpeed = storehumanoidWS
  8294. hb:Destroy()
  8295. hb2:Destroy()
  8296. attack = false
  8297. end
  8298.  
  8299. function dragin()
  8300. local targetted = nil
  8301. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  8302. targetted = mouse.Target.Parent
  8303. end
  8304. if targetted ~= nil then
  8305. RootPart.CFrame = FaceMouse()[1]
  8306. attack = true
  8307. hum.WalkSpeed = 0
  8308. for x = 0, 1 do
  8309. for i = 0,1,0.5 do
  8310. swait()
  8311. 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)
  8312. 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)
  8313. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  8314. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8315. 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)
  8316. 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)
  8317. end
  8318. for i = 0,1,0.5 do
  8319. swait()
  8320. 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)
  8321. 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)
  8322. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(180)),.3)
  8323. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8324. 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)
  8325. 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)
  8326. end
  8327. for i = 0,1,0.5 do
  8328. swait()
  8329. 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)
  8330. 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)
  8331. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(270)),.3)
  8332. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8333. 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)
  8334. 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)
  8335. end
  8336. for i = 0,1,0.5 do
  8337. swait()
  8338. 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)
  8339. 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)
  8340. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8341. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8342. 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)
  8343. 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)
  8344. end
  8345. end
  8346. coroutine.resume(coroutine.create(function()
  8347. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 50
  8348. CFuncs["Sound"].Create("rbxassetid://884155627", targetted.Head, 1,1)
  8349. CFuncs["Sound"].Create("rbxassetid://153092213", targetted.Head, 2.5,1)
  8350. end))
  8351. local A1 = Instance.new("Attachment",targetted.Head)
  8352. local A2 = Instance.new("Attachment",sorb)
  8353. local Beem = Instance.new("Beam",tors)
  8354. Beem.Attachment0 = A1
  8355. Beem.Attachment1 = A2
  8356. Beem.Texture = "rbxassetid://897585362"
  8357. Beem.LightEmission = 0.75
  8358. Beem.FaceCamera = true
  8359. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
  8360. Beem.Width0 = 1
  8361. Beem.Width1 = 1
  8362. Beem.TextureMode = "Wrap"
  8363. Beem.TextureLength = 1
  8364. Beem.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8365. 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)
  8366. 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)
  8367. for x = 0, 24 do
  8368. local rsiz = math.random(5,15)
  8369. 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)
  8370. end
  8371.  
  8372. CFuncs["EchoSound"].Create("rbxassetid://1448032965", char, 7, 1,0,10,0.15,0.5,1)
  8373. CFuncs["EchoSound"].Create("rbxassetid://1448032965", root, 60, 1,0,10,0.15,0.5,1)
  8374. local radm = math.random(1,2)
  8375. if radm == 1 then
  8376. bosschatfunc("GOTCHA!!",MAINRUINCOLOR.Color,1)
  8377. elseif radm == 2 then
  8378. bosschatfunc("COM'ERE!!",MAINRUINCOLOR.Color,1)
  8379. end
  8380. for i = 0,3,0.1 do
  8381. swait()
  8382. coroutine.resume(coroutine.create(function()
  8383. local rsiz = math.random(5,15)
  8384. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
  8385. 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)
  8386. end))
  8387. 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)
  8388. 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)
  8389. 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)
  8390. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(50)),.6)
  8391. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(-50)),.6)
  8392. 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)
  8393. 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)
  8394. end
  8395. CFuncs["Sound"].Create("rbxassetid://231917750", sorb, 1.25,0.9)
  8396. CFuncs["Sound"].Create("rbxassetid://1042716828", sorb, 1.5,1)
  8397. local vel = Instance.new("BodyPosition", targetted.Head)
  8398. vel.P = 12500
  8399. vel.D = 1000
  8400. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  8401. vel.position = hed.CFrame.p + root.CFrame.lookVector*2.75
  8402. for i = 0,4,0.1 do
  8403. swait()
  8404. coroutine.resume(coroutine.create(function()
  8405. local rsiz = math.random(5,15)
  8406. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
  8407. 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)
  8408. end))
  8409. 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)
  8410. 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)
  8411. 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)
  8412. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  8413. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(40)),.2)
  8414. 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)
  8415. 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)
  8416. end
  8417. local visibility = 0
  8418. coroutine.resume(coroutine.create(function()
  8419. for i = 0, 49 do
  8420. swait()
  8421. visibility = visibility + 0.02
  8422. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, visibility),NumberSequenceKeypoint.new(1, visibility)})
  8423. end
  8424. Beem:Destroy()
  8425. A1:Destroy()
  8426. A2:Destroy()
  8427. end))
  8428. game:GetService("Debris"):AddItem(vel,0.75)
  8429. attack = false
  8430. hum.WalkSpeed = storehumanoidWS
  8431.  
  8432. end
  8433. end
  8434.  
  8435. function hugg()
  8436. attack = true
  8437. hum.WalkSpeed = 5
  8438. local rsiz = math.random(5,15)
  8439. for i = 0, 2, 0.1 do
  8440. swait()
  8441. 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)
  8442. 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)
  8443. 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)
  8444. 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)
  8445. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(40)),.3)
  8446. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(-40)),.3)
  8447. end
  8448. CFuncs["Sound"].Create("rbxassetid://444895479", root, 0.5,1)
  8449. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8450. hb.Anchored = true
  8451. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  8452. local huggedperson = nil
  8453. local act = false
  8454. local alreadydid = false
  8455. for i = 0, 3, 0.1 do
  8456. swait()
  8457. if act == false then
  8458. for i, v in pairs(FindNearestHead(hb.CFrame.p, 1.25)) do
  8459. if v:FindFirstChild('Head') then
  8460. if alreadydid == false then
  8461. huggedperson = v
  8462. hum.WalkSpeed = 0
  8463. CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
  8464. CFuncs["Sound"].Create("rbxassetid://200632821", root, 1,1.15)
  8465. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 1.5,1)
  8466. CFuncs["Sound"].Create("rbxassetid://884155627", root, 2,1)
  8467. local radm = math.random(1,3)
  8468. if radm == 1 then
  8469. bosschatfunc("I'm sorry.. if I hurt you..",MAINRUINCOLOR.Color,1)
  8470. elseif radm == 2 then
  8471. bosschatfunc("I..I'm interested in you",MAINRUINCOLOR.Color,1)
  8472. elseif radm == 3 then
  8473. bosschatfunc("Don't worry.. I'm with you",MAINRUINCOLOR.Color,1)
  8474. end
  8475. root.Anchored = true
  8476. coroutine.resume(coroutine.create(function()
  8477. huggedperson.Humanoid.WalkSpeed = 0
  8478. huggedperson:WaitForChild("HumanoidRootPart").Anchored = true
  8479. end))
  8480. --chatfunc(string.lower(huggedperson.Name).. "~~",BrickColor.new("Pink").Color,"Normal","SourceSansBold",1)
  8481. alreadydid = true
  8482. act = true
  8483. print(huggedperson.Name)
  8484. end
  8485. end
  8486. end
  8487. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  8488. 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)
  8489. elseif act == true then
  8490. coroutine.resume(coroutine.create(function()
  8491. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8492. end))
  8493. rsiz = math.random(5,15)
  8494. 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)
  8495. 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)
  8496. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8497. end
  8498. 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)
  8499. 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)
  8500. 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)
  8501. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8502. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8503. end
  8504. hb:Destroy()
  8505. if act == true then
  8506. for x = 0, 2 do
  8507. for i = 0, 2, 0.1 do
  8508. swait()
  8509. coroutine.resume(coroutine.create(function()
  8510. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8511. end))
  8512. rsiz = math.random(5,15)
  8513. 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)
  8514. 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)
  8515. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8516. 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)
  8517. 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)
  8518. 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)
  8519. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8520. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8521. end
  8522. for i = 0, 2, 0.1 do
  8523. swait()
  8524. coroutine.resume(coroutine.create(function()
  8525. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8526. end))
  8527. rsiz = math.random(5,15)
  8528. 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)
  8529. 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)
  8530. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8531. 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)
  8532. 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)
  8533. 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)
  8534. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8535. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8536. end
  8537. end
  8538. end
  8539. hum.WalkSpeed = storehumanoidWS
  8540. root.Anchored = false
  8541. if act == true then
  8542. coroutine.resume(coroutine.create(function()
  8543. huggedperson.Humanoid.WalkSpeed = 16
  8544. huggedperson:WaitForChild("HumanoidRootPart").Anchored = false
  8545. end))
  8546. end
  8547. hum.WalkSpeed = storehumanoidWS
  8548. attack = false
  8549. end
  8550.  
  8551. function Counter()
  8552. hum.WalkSpeed = 0
  8553. CFuncs["EchoSound"].Create("rbxassetid://2370794297", char, 5, 1,0,10,0.15,0.5,1)
  8554. CFuncs["EchoSound"].Create("rbxassetid://2370794297", root, 60, 1,0,10,0.15,0.5,1)
  8555. bosschatfunc("COUNTER!!",MAINRUINCOLOR.Color,1)
  8556. attack = true
  8557. for i = 0,1,0.1 do
  8558. swait()
  8559. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8560. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8561. 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)
  8562. 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)
  8563. 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)
  8564. 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)
  8565. end
  8566. CameraEnshaking(3,4)
  8567. MagniDamageWithEffect(root, 24, 0,0, 75, "Normal")
  8568. 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)
  8569. 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)
  8570. 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)
  8571. coroutine.resume(coroutine.create(function()
  8572. local eff = Instance.new("ParticleEmitter",root)
  8573. eff.Texture = "rbxassetid://363275192"
  8574. eff.LightEmission = 0.95
  8575. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8576. eff.Rate = 10000
  8577. eff.Lifetime = NumberRange.new(1)
  8578. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  8579. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  8580. eff.Speed = NumberRange.new(10,125)
  8581. eff.Drag = 5
  8582. eff.Rotation = NumberRange.new(-500,500)
  8583. eff.VelocitySpread = 9000
  8584. eff.RotSpeed = NumberRange.new(-50,50)
  8585. local eff2 = eff:Clone()
  8586. eff2.Parent = root
  8587. eff2.Texture = "rbxassetid://284205403"
  8588. eff2.Rate = 10000
  8589. 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)})
  8590. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  8591. eff2.Drag = 5
  8592. eff2.Speed = NumberRange.new(10,50)
  8593. eff2.Rotation = NumberRange.new(-500,500)
  8594. eff2.VelocitySpread = 9000
  8595. wait(0.25)
  8596. eff2.Enabled = false
  8597. eff.Enabled = false
  8598. wait(3)
  8599. eff2:Destroy()
  8600. eff:Destroy()
  8601. end))
  8602. for i = 0, 9 do
  8603. 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)
  8604. end
  8605. for i = 0, 24 do
  8606. local rsiz = math.random(5,20)
  8607. 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)
  8608. end
  8609. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
  8610. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
  8611. CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
  8612. for i = 0,2,0.1 do
  8613. swait()
  8614. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  8615. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8616. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  8617. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  8618. 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)
  8619. 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)
  8620. end
  8621. hum.WalkSpeed = storehumanoidWS
  8622. attack = false
  8623. end
  8624.  
  8625. function superjump()
  8626. attack = true
  8627. hum.WalkSpeed = 0
  8628. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  8629. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  8630. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7.5, 1)
  8631. for i = 0, 2, 0.1 do
  8632. swait()
  8633. root.Velocity = vt(0,0,0)
  8634. 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"))
  8635. 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)
  8636. 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)
  8637. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,-1)*angles(math.rad(20),math.rad(0),math.rad(0)),.4)
  8638. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(0)),.4)
  8639. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(40)),.4)
  8640. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(-40)),.4)
  8641. end
  8642. MagniDamage(root, 28, 25,50, 25, "Normal")
  8643. CFuncs["Sound"].Create("rbxassetid://477843807", char, 17, 1.05)
  8644. hum.Jump = true
  8645. swait()
  8646. root.Velocity = vt(0,250,0) + root.CFrame.lookVector*250
  8647. 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)
  8648. 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)
  8649. CFuncs["Sound"].Create("rbxassetid://1295446488", root, 10, 1)
  8650. for i = 0, 3, 0.1 do
  8651. swait()
  8652. 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)
  8653. 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)
  8654. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.75,0)*angles(math.rad(40),math.rad(0),math.rad(0)),.4)
  8655. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.4)
  8656. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-30),math.rad(0),math.rad(20)),.4)
  8657. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(-30),math.rad(0),math.rad(-20)),.4)
  8658. end
  8659. attack = false
  8660. if equipped == false then
  8661. hum.WalkSpeed = 16
  8662. else
  8663. hum.WalkSpeed = 24
  8664. end
  8665. end
  8666.  
  8667.  
  8668. -------------------------------------
  8669.  
  8670.  
  8671.  
  8672. Humanoid.Animator.Parent = nil
  8673.  
  8674.  
  8675.  
  8676. -------------------------------------
  8677.  
  8678. local attacktype = 1
  8679. --//=================================\\
  8680. --|| ASSIGN THINGS TO KEYS
  8681. --\\=================================//
  8682.  
  8683. function MouseDown(Mouse)
  8684. if attack == false and attacktype == 1 then
  8685. attacktype = 2
  8686. attackone()
  8687. elseif attack == false and attacktype == 2 then
  8688. attacktype = 3
  8689. attacktwo()
  8690. elseif attack == false and attacktype == 3 then
  8691. attacktype = 1
  8692. attackthree()
  8693. elseif attack == false and attacktype == 4 then
  8694. attacktype = 1
  8695. --attackfour()
  8696. end
  8697. end
  8698.  
  8699.  
  8700.  
  8701. function MouseUp(Mouse)
  8702. KEYHOLD = false
  8703. end
  8704.  
  8705. function KeyDown(k)
  8706. KEYHOLD = true
  8707. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  8708. --normalmog()
  8709. ModeOfGlitch = 1
  8710. storehumanoidWS = 16
  8711. hum.WalkSpeed = 16
  8712. rainbowmode = false
  8713. chaosmode = false
  8714. newTheme("rbxassetid://2691728878",48.6,1,30)
  8715. RecolorTextAndRename("HEARTLESS",Color3.new(255,255,255),Color3.new(0,0,0),"Antique")
  8716. MAINRUINCOLOR = BrickColor.new("Really black")
  8717. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  8718. end
  8719. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  8720. ModeOfGlitch = 2
  8721. storehumanoidWS = 16
  8722. hum.WalkSpeed = 16
  8723. rainbowmode = false
  8724. chaosmode = false
  8725. RecolorTextAndRename("SKY GLITCHER",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
  8726. newTheme("rbxassetid://1539245059",0,1,0.85)
  8727. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  8728. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8729. end
  8730. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  8731. ModeOfGlitch = 4
  8732. storehumanoidWS = 14
  8733. hum.WalkSpeed = 14
  8734. rainbowmode = false
  8735. chaosmode = true
  8736. RecolorTextAndRename("INSTINCT",Color3.new(0,0,0),Color3.new(1,1,1),"Arcade")
  8737. newTheme("rbxassetid://1255569288",0,1.01,0.85)
  8738. MAINRUINCOLOR = BrickColor.new("Black")
  8739. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8740. end
  8741. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  8742. ModeOfGlitch = 5
  8743. storehumanoidWS = 14
  8744. hum.WalkSpeed = 14
  8745. rainbowmode = false
  8746. chaosmode = false
  8747. RecolorTextAndRename("DIVIN POWER",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
  8748. newTheme("rbxassetid://661079869",0,1.02,0.85)
  8749. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  8750. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8751. end
  8752. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  8753. newTheme("rbxassetid://360366727",0,1.01,0.85)
  8754. bosschatfunc("YOUR GALAXY WILL SHATTER!!!",MAINRUINCOLOR.Color,3)
  8755. for i = 0,4,0.1 do
  8756. swait()
  8757. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8758. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8759. 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)
  8760. 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)
  8761. 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)
  8762. 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)
  8763. end
  8764. sphere(0.9,"Add",root.CFrame,vt(0,100000,0),1,BrickColor.new("Bright blue"))
  8765. for i = 0, 49 do
  8766. 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)
  8767. end
  8768. ModeOfGlitch = 6
  8769. storehumanoidWS = 65
  8770. hum.WalkSpeed = 65
  8771. rainbowmode = false
  8772. chaosmode = false
  8773. RecolorTextAndRename("GALAXY COLLAPSE",Color3.new(0,0,.4),Color3.new(1,1,1),"Fantasy")
  8774. MAINRUINCOLOR = BrickColor.new("Bright blue")
  8775. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8776. end
  8777. if k == "f" and attack == false and ModeOfGlitch ~= 8 then
  8778. ModeOfGlitch = 8
  8779. storehumanoidWS = 100
  8780. hum.WalkSpeed = 100
  8781. rainbowmode = false
  8782. chaosmode = false
  8783. RecolorTextAndRename("DESTINY",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
  8784. newTheme("rbxassetid://1495032271",0,1.01,0.85)
  8785. MAINRUINCOLOR = BrickColor.new("Alder")
  8786. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8787. end
  8788. if k == "g" and attack == false and ModeOfGlitch ~= 9 then
  8789. ModeOfGlitch = 9
  8790. storehumanoidWS = 85
  8791. hum.WalkSpeed = 85
  8792. rainbowmode = false
  8793. chaosmode = false
  8794. RecolorTextAndRename("INFESTATION",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
  8795. newTheme("rbxassetid://1296208488",0,1.01,0.85)
  8796. MAINRUINCOLOR = BrickColor.new("Br. yellowish green")
  8797. RecolorThing(MAINRUINCOLOR,BrickColor.new("Lime green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8798. end
  8799. if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
  8800. CalamityTrans()
  8801. end
  8802. if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
  8803. ModeOfGlitch = 55469696922
  8804. storehumanoidWS = 260
  8805. hum.WalkSpeed = 260
  8806. rainbowmode = false
  8807. chaosmode = false
  8808. RecolorTextAndRename("REVENGE",Color3.new(0.25,0,0.1),BrickColor.new("Deep orange").Color,"Arcade")
  8809. newTheme("rbxassetid://2747869710",0,1.005,0.9)
  8810. MAINRUINCOLOR = BrickColor.new("Deep orange")
  8811. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8812. end
  8813.  
  8814. if k == "b" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
  8815. ModeOfGlitch = 5546
  8816. bosschatfunc("[Why...]",MAINRUINCOLOR.Color,3)
  8817.  
  8818. storehumanoidWS = 5
  8819. hum.WalkSpeed = 5
  8820. rainbowmode = false
  8821. chaosmode = false
  8822. RecolorTextAndRename("Sadness",Color3.new(1,1,1),BrickColor.new("Black").Color,"Antique")
  8823. newTheme("rbxassetid://700666822",0,1.005,0.9)
  8824. MAINRUINCOLOR = BrickColor.new("White")
  8825. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8826. end
  8827.  
  8828. if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  8829. ModeOfGlitch = 4367677813
  8830. storehumanoidWS = 75
  8831. hum.WalkSpeed = 75
  8832. rainbowmode = false
  8833. chaosmode = false
  8834. RecolorTextAndRename("SHD",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
  8835. newTheme("rbxassetid://363284685",0,1.01,0.95)
  8836. MAINRUINCOLOR = BrickColor.new("Baby blue")
  8837. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8838. end
  8839.  
  8840.  
  8841. if k == "r" and attack == false then
  8842. CFuncs["Sound"].Create("rbxassetid://138122923", root, 3, 1)
  8843. ModeOfGlitch = 3
  8844. storehumanoidWS = 10
  8845. hum.WalkSpeed = 10
  8846. rainbowmode = false
  8847. chaosmode = false
  8848. RecolorTextAndRename("HeartBreaking",Color3.new(1,0,0),BrickColor.new("Crimson").Color,"Arcade")
  8849. newTheme("rbxassetid://1071524950",0,1.01,0.95)
  8850. MAINRUINCOLOR = BrickColor.new("Crimson")
  8851. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really red"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8852. end
  8853.  
  8854. if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 9999999921111 then
  8855. ModeOfGlitch = 9999999921111
  8856. storehumanoidWS = 145
  8857. hum.WalkSpeed = 145
  8858. rainbowmode = false
  8859. chaosmode = false
  8860. RecolorTextAndRename("BANGTAN OMEGA",BrickColor.new("Really black").Color,BrickColor.new("Royal purple").Color,"SciFi")
  8861. newTheme("rbxassetid://2220957452",0,1.01,1)
  8862. MAINRUINCOLOR = BrickColor.new("Royal purple")
  8863. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8864. end
  8865. if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
  8866. ModeOfGlitch = 999999999556
  8867. storehumanoidWS = 115
  8868. hum.WalkSpeed = 115
  8869. rainbowmode = false
  8870. chaosmode = false
  8871. RecolorTextAndRename("CHOCOLATE",BrickColor.new("Dirt brown").Color,BrickColor.new("Bronze").Color,"Code")
  8872. newTheme("rbxassetid://685425491",0,1.02,0.85)
  8873. MAINRUINCOLOR = BrickColor.new("Brown")
  8874. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8875. end
  8876. if k == "m" and attack == false and ModeOfGlitch == 3 and ModeOfGlitch ~= 12 then
  8877. ModeOfGlitch = 12
  8878. storehumanoidWS = 19
  8879. hum.WalkSpeed = 19
  8880. rainbowmode = false
  8881. chaosmode = false
  8882. print'Mode was meant for Vengeful Program or those other fans out there'
  8883. RecolorTextAndRename("NEPTUNIA",BrickColor.new("Royal purple").Color,BrickColor.new("Bright blue").Color,"SciFi")
  8884. newTheme("rbxassetid://1873219898",0,1,1.7)
  8885. MAINRUINCOLOR = BrickColor.new("Royal purple")
  8886. RecolorThing(MAINRUINCOLOR,BrickColor.new("Bright blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8887. end
  8888. if k == "n" and attack == false and ModeOfGlitch == 3 and ModeOfGlitch ~= 900 then
  8889. ModeOfGlitch = 900
  8890. storehumanoidWS = 19
  8891. hum.WalkSpeed = 19
  8892. rainbowmode = false
  8893. chaosmode = false
  8894. print'This is an Undertale Mode '
  8895. RecolorTextAndRename("BONESCUFFLE",BrickColor.new("Black").Color,BrickColor.new("Crimson").Color,"Fantasy")
  8896. newTheme("rbxassetid://2112150271",0,1,2.7)
  8897. MAINRUINCOLOR = BrickColor.new("Black")
  8898. RecolorThing(MAINRUINCOLOR,BrickColor.new("Crimson"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8899. end
  8900. if k == "m" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  8901. ModeOfGlitch = 1264532489
  8902. storehumanoidWS = 175
  8903. hum.WalkSpeed = 175
  8904. rainbowmode = false
  8905. chaosmode = false
  8906. RecolorTextAndRename("DemonZ",Color3.new(1.7,0,2),BrickColor.new("Dark purple").Color,"Antique")
  8907. newTheme("rbxassetid://978522381",0,1,1.25)
  8908. MAINRUINCOLOR = BrickColor.new("Dark purple")
  8909. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8910. end
  8911. if k == "n" and attack == false and ModeOfGlitch == 5546 then
  8912. bosschatfunc("THIS IS WHAT HAPPENS WHEN YOU MESS WITH ME",MAINRUINCOLOR.Color,2)
  8913. hum.WalkSpeed = 0
  8914. attack = true
  8915. for i = 0,1,0.1 do
  8916. swait()
  8917. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8918. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8919. 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)
  8920. 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)
  8921. 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)
  8922. 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)
  8923. end
  8924. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  8925. for i = 0, 49 do
  8926. 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)
  8927. end
  8928. for i = 0,3,0.1 do
  8929. 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)
  8930. end
  8931. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8932. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8933. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8934. hum.WalkSpeed = storehumanoidWS
  8935. attack = false
  8936. ModeOfGlitch = 13
  8937. storehumanoidWS = 45
  8938. hum.WalkSpeed = 45
  8939. rainbowmode = false
  8940. chaosmode = false
  8941. RecolorTextAndRename("TIME BREAKER",BrickColor.new("Eggplant").Color,BrickColor.new("Really black").Color,"Fantasy")
  8942. newTheme("rbxassetid://2385999365",0,1,1.35)
  8943. MAINRUINCOLOR = BrickColor.new("Eggplant")
  8944. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,0,BrickColor.new("Really black"),true)
  8945. for i = 0,2,0.1 do
  8946. swait()
  8947. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  8948. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8949. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  8950. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  8951. 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)
  8952. 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)
  8953. end
  8954. end
  8955.  
  8956.  
  8957.  
  8958. if k == "b" and attack == false and ModeOfGlitch == 13 then
  8959. newTheme("rbxassetid://780158432",46.0000,1,1)
  8960. bosschatfunc("THE END IS HERE, HERE FOR YOU",MAINRUINCOLOR.Color,4)
  8961. wait(4)
  8962. bosschatfunc("WE WILL STILL BE HERE, WE ARE ALWAYS HERE",MAINRUINCOLOR.Color,4)
  8963. wait(4)
  8964. bosschatfunc("TILL THE WORLD IS OUT OF SITE, WE ARE STILL HERE",MAINRUINCOLOR.Color,4)
  8965. wait(4)
  8966. bosschatfunc("there is no we...IT IS I!",MAINRUINCOLOR.Color,4)
  8967. wait(4)
  8968. bosschatfunc("I AM THE KING,I AM THE CHILD.",MAINRUINCOLOR.Color,4)
  8969. wait(4)
  8970. bosschatfunc("나는 왕이다!",MAINRUINCOLOR.Color,4)
  8971. wait(4)
  8972. hum.WalkSpeed = 0
  8973. attack = true
  8974. for i = 0,1,0.1 do
  8975. swait()
  8976. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8977. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8978. 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)
  8979. 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)
  8980. 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)
  8981. 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)
  8982. end
  8983. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  8984. for i = 0, 49 do
  8985. 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)
  8986. end
  8987. for i = 0,3,0.1 do
  8988. 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)
  8989. end
  8990. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8991. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8992. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8993. hum.WalkSpeed = storehumanoidWS
  8994. attack = false
  8995. ModeOfGlitch = 13
  8996. storehumanoidWS = 45
  8997. hum.WalkSpeed = 45
  8998. rainbowmode = false
  8999. chaosmode = false
  9000. RecolorTextAndRename("RLDO/-[!왕!]-\GKNI",BrickColor.new("Lily white").Color,BrickColor.new("Really black").Color,"Fantasy")
  9001. MAINRUINCOLOR = BrickColor.new("Lily white")
  9002. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,0,BrickColor.new("Really black"),true)
  9003. for i = 0,2,0.1 do
  9004. swait()
  9005. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  9006. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  9007. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  9008. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  9009. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
  9010. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
  9011. end
  9012. end
  9013.  
  9014.  
  9015.  
  9016. if k == "n" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 200 then
  9017. hum.WalkSpeed = 0
  9018. attack = true
  9019. for i = 0,1,0.1 do
  9020. swait()
  9021. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  9022. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  9023. 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)
  9024. 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)
  9025. 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)
  9026. 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)
  9027. end
  9028. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  9029. for i = 0, 49 do
  9030. 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)
  9031. end
  9032. for i = 0,3,0.1 do
  9033. 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)
  9034. end
  9035. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  9036. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  9037. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  9038. hum.WalkSpeed = storehumanoidWS
  9039. attack = false
  9040. ModeOfGlitch = 13
  9041. storehumanoidWS = 45
  9042. hum.WalkSpeed = 45
  9043. rainbowmode = false
  9044. chaosmode = false
  9045. RecolorTextAndRename("Withered Glitcher",BrickColor.new("Medium stone grey").Color,BrickColor.new("Really black").Color,"Arcade")
  9046. newTheme("rbxassetid://2409395541",0,1,1.35)
  9047. MAINRUINCOLOR = BrickColor.new("Medium stone grey")
  9048. RecolorThing(MAINRUINCOLOR,BrickColor.new("Bronze"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9049. for i = 0,2,0.1 do
  9050. swait()
  9051. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  9052. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  9053. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  9054. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  9055. 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)
  9056. 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)
  9057. end
  9058. end
  9059.  
  9060.  
  9061. if k == "m" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  9062. ModeOfGlitch = 4367677813
  9063. storehumanoidWS = 75
  9064. hum.WalkSpeed = 75
  9065. rainbowmode = false
  9066. chaosmode = false
  9067.  
  9068. RecolorTextAndRename("DHA",Color3.new(1,1,0),BrickColor.new("Black").Color,"Garamond")
  9069. newTheme("rbxassetid://736815401",0,1,0.95)
  9070. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  9071. RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9072. end
  9073. if k == "b" and attack == false and ModeOfGlitch == 1003 and ModeOfGlitch ~= 9999999921111 then
  9074. ModeOfGlitch = 9999999921111
  9075. storehumanoidWS = 145
  9076. hum.WalkSpeed = 145
  9077. rainbowmode = false
  9078. chaosmode = false
  9079. RecolorTextAndRename("ALPHA INSANITY",BrickColor.new("Really black").Color,BrickColor.new("Bright orange").Color,"SciFi")
  9080. newTheme("rbxassetid://943961217",0,1.01,1)
  9081. MAINRUINCOLOR = BrickColor.new("Bright orange")
  9082. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9083. end
  9084.  
  9085. if k == "m" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 50 then
  9086. sphere(0.9,"Add",root.CFrame,vt(0,100000,0),1,BrickColor.new("Institutional white"))
  9087. for i = 0, 49 do
  9088. 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)
  9089. end
  9090. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  9091. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  9092. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  9093. hum.WalkSpeed = storehumanoidWS
  9094. attack = false
  9095. ModeOfGlitch = 50
  9096. storehumanoidWS = 18
  9097. hum.WalkSpeed = 18
  9098. rainbowmode = false
  9099. chaosmode = false
  9100. RecolorTextAndRename("EnBelived",BrickColor.new("Institutional white").Color,BrickColor.new("Institutional white").Color,"Arcade")
  9101. newTheme("rbxassetid://435773595",0,1.01,1.5)
  9102. MAINRUINCOLOR = BrickColor.new("Institutional white")
  9103. RecolorThing(MAINRUINCOLOR,BrickColor.new("Institutional white"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9104. end
  9105.  
  9106. if k == "m" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 66 then
  9107. hum.WalkSpeed = 0
  9108. attack = true
  9109. for i = 0,1,0.1 do
  9110. swait()
  9111. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  9112. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  9113. 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)
  9114. 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)
  9115. 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)
  9116. 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)
  9117. end
  9118. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  9119. for i = 0, 148 do
  9120. 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)
  9121. end
  9122. for i = 0,3,0.1 do
  9123. 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)
  9124. end
  9125. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  9126. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  9127. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  9128. hum.WalkSpeed = storehumanoidWS
  9129. attack = false
  9130. ModeOfGlitch = 66
  9131. storehumanoidWS = 16
  9132. hum.WalkSpeed = 16
  9133. rainbowmode = false
  9134. chaosmode = false
  9135. newTheme("rbxassetid://"..ast[Mrandom(1,2)],0,1,1.35)
  9136. MAINRUINCOLOR = BrickColor.new("Really black")
  9137. RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9138. for i = 0,2,0.1 do
  9139. swait()
  9140. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  9141. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  9142. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  9143. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  9144. 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)
  9145. 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)
  9146. end
  9147. end
  9148.  
  9149. if k == "m" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 13 then
  9150. hum.WalkSpeed = 0
  9151. attack = true
  9152. for i = 0,1,0.1 do
  9153. swait()
  9154. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  9155. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  9156. 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)
  9157. 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)
  9158. 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)
  9159. 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)
  9160. end
  9161. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  9162. for i = 0, 49 do
  9163. 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)
  9164. end
  9165. for i = 0,3,0.1 do
  9166. 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)
  9167. end
  9168. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  9169. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  9170. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  9171. hum.WalkSpeed = storehumanoidWS
  9172. attack = false
  9173. ModeOfGlitch = 13
  9174. storehumanoidWS = 45
  9175. hum.WalkSpeed = 45
  9176. rainbowmode = false
  9177. chaosmode = false
  9178. RecolorTextAndRename("Judician",BrickColor.new("Dark stone grey").Color,BrickColor.new("Light blue").Color,"Bodoni")
  9179. newTheme("rbxassetid://190845741",0,1,1.35)
  9180. MAINRUINCOLOR = BrickColor.new("Dark stone grey")
  9181. RecolorThing(MAINRUINCOLOR,BrickColor.new("Light blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9182. for i = 0,2,0.1 do
  9183. swait()
  9184. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  9185. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  9186. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  9187. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  9188. 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)
  9189. 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)
  9190. end
  9191. end
  9192. if k == "j" and attack == false and ModeOfGlitch ~= 1002 then
  9193. ModeOfGlitch = 1002
  9194. storehumanoidWS = 45
  9195. hum.WalkSpeed = 45
  9196. rainbowmode = false
  9197. chaosmode = false
  9198. RecolorTextAndRename("PIXELED",BrickColor.new("Really black").Color,BrickColor.new("Dark blue").Color,"Code")
  9199. newTheme("rbxassetid://2027652726",0,1,0.85)
  9200. MAINRUINCOLOR = BrickColor.new("Dark blue")
  9201. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9202. end
  9203. if k == "k" and attack == false and ModeOfGlitch ~= 1003 then
  9204. ModeOfGlitch = 1003
  9205. storehumanoidWS = 90
  9206. hum.WalkSpeed = 90
  9207. rainbowmode = false
  9208. chaosmode = false
  9209. RecolorTextAndRename("ASCENDED",BrickColor.new("White").Color,BrickColor.new("Bright yellow").Color,"Code")
  9210. newTheme("rbxassetid://257453119",0,1,0.85)
  9211. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  9212. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9213. end
  9214. if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  9215. ModeOfGlitch = 1264532489
  9216. storehumanoidWS = 175
  9217. hum.WalkSpeed = 175
  9218. rainbowmode = false
  9219. chaosmode = false
  9220. RecolorTextAndRename("FALLENX",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique")
  9221. newTheme("rbxassetid://1505487022",0,1.01,1.25)
  9222. MAINRUINCOLOR = BrickColor.new("Pastel green")
  9223. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9224. end
  9225. if k == "l" and mutedtog == false then
  9226. mutedtog = true
  9227. kan.Volume = 0.85
  9228. elseif k == "l" and mutedtog == true then
  9229. mutedtog = false
  9230. kan.Volume = 0.85
  9231. end
  9232. if k == "p" and toggleTag == false then
  9233. toggleTag = true
  9234. modet.TextTransparency = 0
  9235. modet.TextStrokeTransparency = 0
  9236. elseif k == "p" and toggleTag == true then
  9237. toggleTag = false
  9238. modet.TextTransparency = 1
  9239. modet.TextStrokeTransparency = 1
  9240. end
  9241. if k == "z" and attack == false and ModeOfGlitch == 1 then
  9242. ExtinctiveHeartbreak()
  9243. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  9244. HeavenlyDisk()
  9245. elseif k == "z" and attack == false and ModeOfGlitch == 9 then
  9246. DualGleamingBeam()
  9247. elseif k == "c" and attack == false and ModeOfGlitch == 9 then
  9248. BanishingOrb()
  9249. elseif k == "z" and attack == false and ModeOfGlitch == 5555 then
  9250. hugg()
  9251. elseif k == "b" and attack == false and ModeOfGlitch == 55469696922 then
  9252. cutesigh()
  9253. elseif k == "v" and attack == false and ModeOfGlitch == 55469696922 then
  9254. Counter()
  9255. elseif k == "v" and attack == false and ModeOfGlitch == 12 then
  9256. superjump()
  9257. elseif k == "v" and attack == false and ModeOfGlitch == 9999999921111 then
  9258. dragin()
  9259. elseif k == "x" and attack == false and ModeOfGlitch == 8889 then
  9260. UniversalCollapse()
  9261. elseif k == "z" and attack == false and ModeOfGlitch == 13 then
  9262. UniversalCollapse()
  9263. elseif k == "c" and attack == false and ModeOfGlitch == 2 then
  9264. PureBomb()
  9265. elseif k == "z" and attack == false and ModeOfGlitch == 999999999556 then
  9266. Beams()
  9267. elseif k == "x" and attack == false and ModeOfGlitch == 55469696922 then
  9268. BeamOfDeath()
  9269. elseif k == "v" and attack == false and ModeOfGlitch == 8 then
  9270. THE_TRUE_POWER_OF_VIOLENCE()
  9271. elseif k == "x" and attack == false and ModeOfGlitch == 13 then
  9272. THE_TRUE_POWER_OF_VIOLENCE()
  9273. elseif k == "z" and attack == false and ModeOfGlitch == 8 then
  9274. GleamingBeam()
  9275. elseif k == "x" and attack == false and ModeOfGlitch == 5 then
  9276. ViolentRing()
  9277. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  9278. CorruptionEvent()
  9279. elseif k == "v" and attack == false and ModeOfGlitch == 3 then
  9280. CorruptBlink()
  9281. elseif k == "c" and attack == false and ModeOfGlitch == 3 then
  9282. scattercorrupt()
  9283. elseif k == "b" and attack == false and ModeOfGlitch == 5555 then
  9284. shytaunty()
  9285. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  9286. RapidBurst()
  9287. elseif k == "x" and attack == false and ModeOfGlitch == 4 then
  9288. ChaosEND()
  9289. elseif k == "c" and attack == false and ModeOfGlitch == 9999999921111 then
  9290. CyberSlash()
  9291. elseif k == "z" and attack == false and ModeOfGlitch == 4367677813 then
  9292. smiter()
  9293. elseif k == "z" and attack == false and ModeOfGlitch == 1002 then
  9294. SpeedDrop()
  9295. elseif k == "x" and attack == false and ModeOfGlitch == 5555 then
  9296. FuckMeSidewaysAndCallMeGay()
  9297. elseif k == "v" and attack == false and ModeOfGlitch == 5 then
  9298. --DivineLights()
  9299. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  9300. DivineBlast()
  9301. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  9302. EquinoxOrbs()
  9303. elseif k == "v" and attack == false and ModeOfGlitch == 6 then
  9304. yinyangi()
  9305. elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
  9306. FallenOrbs()
  9307. elseif k == "z" and attack == false and ModeOfGlitch == 1003 then
  9308. StarfallEX()
  9309. end
  9310. if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
  9311. FallenDEMISE()
  9312. end
  9313. if k == "x" and attack == false and ModeOfGlitch == 1 then
  9314. EndGROUND()
  9315. end
  9316. end
  9317.  
  9318. function KeyUp(Key)
  9319. KEYHOLD = false
  9320. end
  9321.  
  9322. Mouse.Button1Down:connect(function(NEWKEY)
  9323. MouseDown(NEWKEY)
  9324. end)
  9325. Mouse.Button1Up:connect(function(NEWKEY)
  9326. MouseUp(NEWKEY)
  9327. end)
  9328. Mouse.KeyDown:connect(function(NEWKEY)
  9329. KeyDown(NEWKEY)
  9330. end)
  9331. Mouse.KeyUp:connect(function(NEWKEY)
  9332. KeyUp(NEWKEY)
  9333. end)
  9334.  
  9335. --//=================================\\
  9336. --\\=================================//
  9337.  
  9338. coroutine.resume(coroutine.create(function()
  9339. while true do
  9340. swait()
  9341. 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
  9342. 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)
  9343. end
  9344. if ModeOfGlitch == 5555 then
  9345. 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)
  9346. end
  9347. end
  9348. end))
  9349. --[[coroutine.resume(coroutine.create(function()
  9350. while true do
  9351. swait(2)
  9352. if chaosmode == true then
  9353. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9354. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9355. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9356. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy")
  9357. for i, v in pairs(mw1:GetChildren()) do
  9358. if v:IsA("Part") then
  9359. v.Transparency = 0.75
  9360. v.BrickColor = BrickColor.random()
  9361. v.Material = "Neon"
  9362. end
  9363. end
  9364. for i, v in pairs(m2:GetChildren()) do
  9365. if v:IsA("Part") then
  9366. v.BrickColor = BrickColor.random()
  9367. v.Material = "Neon"
  9368. end
  9369. end
  9370. end
  9371. end
  9372. end))]]
  9373.  
  9374.  
  9375.  
  9376. ff = Instance.new("ForceField",char)
  9377. ff.Visible = false
  9378. hum.Name = "Base"
  9379. hum.MaxHealth = 1.0E298
  9380. hum.Health = 1.0E298
  9381. game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
  9382. if hum.Health > 0.1 and hum.Health < 1.0E298 then
  9383. hum.MaxHealth = 1.0E298
  9384. hum.Health = 1.0E298
  9385. end
  9386. end)
  9387.  
  9388. local Hair = Instance.new("Part", char)
  9389. Hair.Name = "Hair"
  9390. Hair.CanCollide = false
  9391. Hair.BrickColor = BrickColor.new("Institutional white")
  9392. Hair.Transparency = 0
  9393. Hair.Material = "Plastic"
  9394. Hair.Size = Vector3.new(1, 1, 2)
  9395. Hair.TopSurface = Enum.SurfaceType.Smooth
  9396. Hair.BottomSurface = Enum.SurfaceType.Smooth
  9397.  
  9398.  
  9399. local bguis = Instance.new("BillboardGui",tors)
  9400. bguis.Size = UDim2.new(25, 0, 25, 0)
  9401. local imgca = Instance.new("ImageLabel",bguis)
  9402. imgca.BackgroundTransparency = 1
  9403. imgca.ImageTransparency = 1
  9404. imgca.Size = UDim2.new(1,0,1,0)
  9405. imgca.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891
  9406. imgca.ImageColor3 = Color3.new(0,0,0)
  9407.  
  9408.  
  9409. local bguis2 = Instance.new("BillboardGui",tors)
  9410. bguis2.Size = UDim2.new(25, 0, 25, 0)
  9411. local imgca2 = Instance.new("ImageLabel",bguis)
  9412. imgca2.BackgroundTransparency = 1
  9413. imgca2.ImageTransparency = 1
  9414. imgca2.Size = UDim2.new(1,0,1,0)
  9415. imgca2.Image = "rbxassetid://2406462507" --997291547,521073910,2312119891
  9416. imgca2.ImageColor3 = Color3.new(0,0,0)
  9417.  
  9418.  
  9419.  
  9420. idleanim=.4
  9421. while true do
  9422. if mutedtog == false then
  9423. kan.Volume = currentVol
  9424. elseif mutedtog == true then
  9425. kan.Volume = 0
  9426. end
  9427. kan.PlaybackSpeed = currentPitch
  9428. kan.Pitch = currentPitch
  9429. kan.SoundId = currentThemePlaying
  9430. kan.Looped = true
  9431. kan.Parent = char
  9432. kan:Resume()
  9433. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 13 then
  9434. imgca.ImageTransparency = 1
  9435. imgca2.ImageTransparency = 1
  9436. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
  9437. imgca.ImageColor3 = MAINRUINCOLOR.Color
  9438. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  9439. elseif ModeOfGlitch == 13 then
  9440. imgca2.ImageColor3 = MAINRUINCOLOR.Color
  9441. imgca2.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  9442. end
  9443. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
  9444. bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  9445. imgca2.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/60
  9446. bguis2.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  9447. coroutine.resume(coroutine.create(function()
  9448. if chaosmode == true then
  9449. for i, v in pairs(mw1:GetChildren()) do
  9450. if v:IsA("Part") then
  9451. v.Transparency = 0
  9452. v.BrickColor = BrickColor.random()
  9453. v.Material = "Neon"
  9454. end
  9455. end
  9456. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9457. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9458. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9459. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
  9460. end
  9461. end))
  9462. coroutine.resume(coroutine.create(function()
  9463. if ModeOfGlitch == 66 then
  9464. for i, v in pairs(m:GetChildren()) do
  9465. if v:IsA("Part") then
  9466. v.Transparency = 0
  9467. v.BrickColor = BrickColor.random()
  9468. v.Material = "Neon"
  9469. end
  9470. end
  9471. for i, v in pairs(m2:GetChildren()) do
  9472. if v:IsA("Part") then
  9473. v.Transparency = 0
  9474. v.BrickColor = BrickColor.random()
  9475. v.Material = "Neon"
  9476. end
  9477. end
  9478. for i, v in pairs(mw1:GetChildren()) do
  9479. if v:IsA("Part") then
  9480. v.Transparency = 0
  9481. v.BrickColor = BrickColor.random()
  9482. v.Material = "Neon"
  9483. end
  9484. end
  9485. for i, v in pairs(extrawingmod1:GetChildren()) do
  9486. if v:IsA("Part") then
  9487. v.Transparency = 0.5
  9488. v.BrickColor = BrickColor.random()
  9489. v.Material = "Neon"
  9490. end
  9491. end
  9492. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9493. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9494. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9495. gane.Color = ColorSequence.new(BrickColor.random().Color)
  9496. gan.Color = ColorSequence.new(BrickColor.random().Color)
  9497. end
  9498. end))
  9499.  
  9500. coroutine.resume(coroutine.create(function()
  9501. if ModeOfGlitch == 66 then
  9502. RecolorTextAndRename("BETRAYAL",BrickColor.random().Color,Color3.new(0,0,0),"Garamond")
  9503. end
  9504. end))
  9505.  
  9506. if chaosmode == false then
  9507. modet.Position = UDim2.new(0,0,0,0)
  9508. modet.Rotation = -5 * math.cos(sine / 32)
  9509. techc.Rotation = techc.Rotation + 1
  9510. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/200 - 1
  9511. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/175 + 1
  9512. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/175 + 1
  9513. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/150 - 1
  9514. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  9515. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  9516. else
  9517. techc.Rotation = techc.Rotation + 1
  9518. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
  9519. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
  9520. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
  9521. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
  9522. ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  9523. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  9524. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  9525. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  9526. end
  9527. CameraManager()
  9528. swait()
  9529. 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)
  9530. 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)
  9531. 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)
  9532. 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)
  9533. 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)
  9534. 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)
  9535. 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)
  9536. 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)
  9537. 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)
  9538. 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)
  9539. 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)
  9540. 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)
  9541. sine = sine + change
  9542. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  9543. local velderp=RootPart.Velocity.y
  9544. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  9545. coroutine.resume(coroutine.create(function()
  9546. 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
  9547. if hitfloor ~= nil then
  9548. 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"))
  9549. if ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 13 then
  9550. 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)
  9551. end
  9552. end
  9553. end
  9554. end))
  9555. if equipped==true or equipped==false then
  9556. if attack==false then
  9557. idle=idle+1
  9558. else
  9559. idle=0
  9560. end
  9561. if idle>=500 then
  9562. if attack==false then
  9563. --Sheath()
  9564. end
  9565. end
  9566. if RootPart.Velocity.y > 1 and hitfloor==nil then
  9567. Anim="Jump"
  9568. if attack==false then
  9569. 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)
  9570. 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)
  9571. 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)
  9572. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  9573. 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)
  9574. 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)
  9575. end
  9576. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  9577. Anim="Fall"
  9578. if attack==false then
  9579. 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)
  9580. 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)
  9581. 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)
  9582. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  9583. 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)
  9584. 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)
  9585. end
  9586. elseif torvel<1 and hitfloor~=nil then
  9587. Anim="Idle"
  9588. if attack==false then
  9589. if ModeOfGlitch == 1 then
  9590. local snap = math.random(1,10)
  9591. if snap == 1 then
  9592. 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)
  9593. end
  9594. 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)
  9595. 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)
  9596. 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)
  9597. 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)
  9598. 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)
  9599. 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)
  9600. elseif ModeOfGlitch == 2 then
  9601. 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)
  9602. 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)
  9603. 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)
  9604. 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)
  9605. 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)
  9606. 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)
  9607. elseif ModeOfGlitch == 2 then
  9608. 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)
  9609. 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)
  9610. 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)
  9611. 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)
  9612. 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)
  9613. 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)
  9614. elseif ModeOfGlitch == 50 then
  9615. 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)
  9616. 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)
  9617. 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)
  9618. 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)
  9619. 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)
  9620. 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)
  9621. elseif ModeOfGlitch == 5555 then --5555
  9622. 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)
  9623. 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)
  9624. 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)
  9625. 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)
  9626. 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)
  9627. 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)
  9628. elseif ModeOfGlitch == 1002 then
  9629. 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)
  9630. 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)
  9631. 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)
  9632. 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)
  9633. 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)
  9634. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1)
  9635. elseif ModeOfGlitch == 12 then
  9636. 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)
  9637. 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)
  9638. 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)
  9639. 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)
  9640. 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)
  9641. 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)
  9642. elseif ModeOfGlitch == 3 then
  9643. local snap = math.random(1,32)
  9644. if snap == 1 then
  9645. 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)
  9646. end
  9647. 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)
  9648. 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)
  9649. 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)
  9650. 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)
  9651. 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)
  9652. 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)
  9653. elseif ModeOfGlitch == 4 then
  9654. local snap = math.random(1,5)
  9655. if snap == 1 then
  9656. 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)
  9657. 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)
  9658. 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)
  9659. end
  9660. 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)
  9661. 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)
  9662. 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)
  9663. 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)
  9664. 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)
  9665. 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)
  9666. elseif ModeOfGlitch == 66 then
  9667. local snap = math.random(1,2)
  9668. if snap == 1 then
  9669. 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)
  9670. 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)
  9671. 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)
  9672. end
  9673. 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)
  9674. 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)
  9675. 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)
  9676. 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)
  9677. 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)
  9678. 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)
  9679. elseif ModeOfGlitch == 5 then
  9680. 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)
  9681. 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)
  9682. 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)
  9683. 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)
  9684. 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)
  9685. 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)
  9686. elseif ModeOfGlitch == 6 then
  9687. 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)
  9688. 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)
  9689. 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)
  9690. 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)
  9691. 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)
  9692. 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)
  9693. elseif ModeOfGlitch == 13 then
  9694. 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)
  9695. 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)
  9696. 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)
  9697. 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)
  9698. 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)
  9699. 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)
  9700. elseif ModeOfGlitch == 8 then
  9701. 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)
  9702. 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)
  9703. 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)
  9704. 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)
  9705. 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)
  9706. 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)
  9707. elseif ModeOfGlitch == 9 then
  9708. 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)
  9709. 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))
  9710. 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)
  9711. 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)
  9712. 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)
  9713. 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)
  9714. 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)
  9715. 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)
  9716. elseif ModeOfGlitch == 1003 then
  9717. 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)
  9718. 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)
  9719. 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)
  9720. 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)
  9721. 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)
  9722. 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)
  9723.  
  9724. elseif ModeOfGlitch == 8889 then
  9725. 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)
  9726. 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)
  9727. 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)
  9728. 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)
  9729. 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)
  9730. 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)
  9731. elseif ModeOfGlitch == 5546 then
  9732. local snap = math.random(1,2)
  9733. if snap == 1 then
  9734. 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)
  9735. RW.C0=clerp(RW.C0,cf(1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(137 + .3 * math.cos(-0)),math.rad(0 * math.cos(sine / 53)),math.rad(-50 + 0 * math.cos(sine / 45))),.1)
  9736. LW.C0=clerp(LW.C0,cf(-1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(137 - .3 * math.cos(0)),math.rad(-0 * math.cos(sine / 55)),math.rad(50 - 0 * math.cos(sine / 45))),.1)
  9737. end
  9738. 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)
  9739. 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)
  9740. 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)
  9741. 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)
  9742. RW.C0=clerp(RW.C0,cf(1.21,0.3 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(137 + .3 * math.cos(-0)),math.rad(0 * math.cos(sine / 25)),math.rad(-50 + 0 * math.cos(sine / 45))),.1)
  9743. LW.C0=clerp(LW.C0,cf(-1.12,0.3 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(137 - .3 * math.cos(0)),math.rad(-0 * math.cos(sine / 25)),math.rad(50 - 0 * math.cos(sine / 45))),.1)
  9744.  
  9745. elseif ModeOfGlitch == 1264532489 then
  9746. 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)
  9747. 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)
  9748. 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)
  9749. 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)
  9750. 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)
  9751. 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)
  9752. 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)
  9753. elseif ModeOfGlitch == 9999999921111 then --9999999921111
  9754. 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)
  9755. 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)
  9756. 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)
  9757. 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)
  9758. 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)
  9759. 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)
  9760. elseif ModeOfGlitch == 4367677813 then
  9761. 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)
  9762. 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)
  9763. 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)
  9764. 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)
  9765. 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)
  9766. 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)
  9767. elseif ModeOfGlitch == 55469696922 then --5555
  9768. 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)
  9769. 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)
  9770. 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)
  9771. 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)
  9772. 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)
  9773. 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)
  9774. elseif ModeOfGlitch == 999999999556 then
  9775. 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)
  9776. 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)
  9777. 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)
  9778. 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)
  9779. 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)
  9780. 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)
  9781. end
  9782. end
  9783. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  9784. Anim="Walk"
  9785. if attack==false and ModeOfGlitch ~= 66 then
  9786. 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)
  9787. 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)
  9788. 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)
  9789. 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)
  9790. 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)
  9791. 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)
  9792. elseif attack==false and ModeOfGlitch == 66 and ModeOfGlitch == 5546 then
  9793. 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)
  9794. 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)
  9795. 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)
  9796. 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)
  9797. 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)
  9798. 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)
  9799. end
  9800. elseif torvel>=22 and hitfloor~=nil then
  9801. Anim="Run"
  9802. if attack==false then
  9803. 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
  9804. 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)
  9805. 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)
  9806. 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)
  9807. 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)
  9808. 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)
  9809. 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)
  9810. if ModeOfGlitch == 12 then
  9811. 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)
  9812. 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)
  9813. 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)
  9814. 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)
  9815. 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)
  9816. 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)
  9817. if ModeOfGlitch == 9 then
  9818. end
  9819. 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)
  9820. 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))
  9821. 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)
  9822. end
  9823. 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
  9824. 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)
  9825. 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)
  9826. 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)
  9827. 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)
  9828. 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)
  9829. 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)
  9830. elseif ModeOfGlitch == 13 then
  9831. 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)
  9832. 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)
  9833. 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)
  9834. 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)
  9835. 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)
  9836. 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)
  9837. end
  9838. end
  9839. end
  9840. end
  9841. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement