Advertisement
NoHackJustStevePlayz

MrGoo

Nov 3rd, 2018
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 462.30 KB | None | 0 0
  1. local Player = game:GetService("Players").MrGoo345
  2. local Mouse,mouse,UserInputService,ContextActionService
  3. do
  4. script.Parent = Player.Character
  5. local CAS = {Actions={}}
  6. local Event = Instance.new("RemoteEvent")
  7. Event.Name = "UserInput_Event"
  8. Event.Parent = Player.Character
  9. local fakeEvent = function()
  10. local t = {_fakeEvent=true}
  11. t.Connect = function(self,f)self.Function=f end
  12. t.connect = t.Connect
  13. return t
  14. end
  15. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  16. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  17. function CAS:BindAction(name,fun,touch,...)
  18. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  19. end
  20. function CAS:UnbindAction(name)
  21. CAS.Actions[name] = nil
  22. end
  23. local function te(self,ev,...)
  24. local t = m[ev]
  25. if t and t._fakeEvent and t.Function then
  26. t.Function(...)
  27. end
  28. end
  29. m.TrigEvent = te
  30. UIS.TrigEvent = te
  31. Event.OnServerEvent:Connect(function(plr,io)
  32. if plr~=Player then return end
  33. if io.isMouse then
  34. m.Target = io.Target
  35. m.Hit = io.Hit
  36. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  37. if io.UserInputState == Enum.UserInputState.Begin then
  38. m:TrigEvent("Button1Down")
  39. else
  40. m:TrigEvent("Button1Up")
  41. end
  42. else
  43. for n,t in pairs(CAS.Actions) do
  44. for _,k in pairs(t.Keys) do
  45. if k==io.KeyCode then
  46. t.Function(t.Name,io.UserInputState,io)
  47. end
  48. end
  49. end
  50. if io.UserInputState == Enum.UserInputState.Begin then
  51. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  52. UIS:TrigEvent("InputBegan",io,false)
  53. else
  54. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent("InputEnded",io,false)
  56. end
  57. end
  58. end)
  59. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  60. end
  61. wait(0.2)
  62.  
  63.  
  64. warn([[SpectrumGlitcher v5 AWAKENED Loaded.
  65. The super switcher.
  66. Velnorum is one of the first wielders.
  67.  
  68. Created, Reworked by NoobyGames12
  69. Edited by GodzPlaysRB
  70. Edited by wanTH092 (Gam_Filano CH)
  71. SpectrumGlitcher Developers ^^^
  72. ]])
  73.  
  74.  
  75. ------------- ORIGINAL WIELDER OC: Velnorum
  76. print([[Icons:
  77. ! = New
  78. ? = Spoilers
  79. * = Exclusivity
  80. C = Changes
  81.  
  82. ]])
  83. warn([[V 7.5 Update Log:
  84. C: Changed everything to guest xd
  85. ]])
  86. --- its obs smooth af do not touch
  87. ---- Sources and functions might be taken from others
  88. plr = game:GetService("Players").MrGoo345
  89. char = plr.Character
  90. hum = char.Humanoid
  91. local cam = game.Workspace.CurrentCamera
  92. Camera = cam
  93. local CamInterrupt = false
  94. local TwoD = false
  95. local TargetInfo = {nil, nil}
  96. cam.CameraType = "Custom"
  97. t = char.Torso
  98. h = char.Head
  99. ra = char["Right Arm"]
  100. la = char["Left Arm"]
  101. rl = char["Right Leg"]
  102. ll = char["Left Leg"]
  103. tors = char.Torso
  104. lleg = char["Left Leg"]
  105. root = char.HumanoidRootPart
  106. hed = char.Head
  107. rleg = char["Right Leg"]
  108. rarm = char["Right Arm"]
  109. larm = char["Left Arm"]
  110. radian = math.rad
  111. random = math.random
  112. Vec3 = Vector3.new
  113. Inst = Instance.new
  114. cFrame = CFrame.new
  115. Euler = CFrame.fromEulerAnglesXYZ
  116. vt = Vector3.new
  117. bc = BrickColor.new
  118. br = BrickColor.random
  119. it = Instance.new
  120. cf = CFrame.new
  121. local Player_Size = 0
  122. cam = game.Workspace.CurrentCamera
  123. CF = CFrame.new
  124. angles = CFrame.Angles
  125. attack = false
  126. Euler = CFrame.fromEulerAnglesXYZ
  127. Rad = math.rad
  128. IT = Instance.new
  129. BrickC = BrickColor.new
  130. Cos = math.cos
  131. Acos = math.acos
  132. Sin = math.sin
  133. Asin = math.asin
  134. Abs = math.abs
  135. Mrandom = math.random
  136. Floor = math.floor
  137. IT = Instance.new
  138. CF = CFrame.new
  139. VT = Vector3.new
  140. RAD = math.rad
  141. C3 = Color3.new
  142. UD2 = UDim2.new
  143. BRICKC = BrickColor.new
  144. ANGLES = CFrame.Angles
  145. EULER = CFrame.fromEulerAnglesXYZ
  146. COS = math.cos
  147. ACOS = math.acos
  148. SIN = math.sin
  149. ASIN = math.asin
  150. ABS = math.abs
  151. MRANDOM = math.random
  152. FLOOR = math.floor
  153. local SINE = 0
  154.  
  155. local Booleans = {
  156. CamFollow = true,
  157. GyroUse = true
  158. }
  159.  
  160. function lerp(object, newCFrame, alpha)
  161. return object:lerp(newCFrame, alpha)
  162. end
  163.  
  164. local Directer = Inst("BodyGyro", root)
  165. Directer.MaxTorque = Vec3(0, 0, 0)
  166. Directer.P = 600000
  167. local CPart = Inst("Part")
  168. CPart.Anchored = true
  169. CPart.CanCollide = false
  170. CPart.Locked = true
  171. CPart.Transparency = 1
  172.  
  173. local rainbowmode = false
  174. local chaosmode = false
  175.  
  176. local kan = Instance.new("Sound",tors)
  177. kan.Volume = 0.85
  178. kan.TimePosition = 0
  179. kan.PlaybackSpeed = 1
  180. kan.Pitch = 1
  181. kan.SoundId = "rbxassetid://1255569288"
  182. kan.Name = "wrecked"
  183. kan.Looped = true
  184. kan:Play()
  185.  
  186. local currentThemePlaying = kan.SoundId
  187. local currentPitch = kan.Pitch
  188. local currentVol = kan.Volume
  189. function newTheme(ID,timepos,pitch,vol)
  190. local kanz = kan
  191. --kanz:Stop()
  192. kanz.Volume = vol
  193. --kanz.TimePosition = timepos
  194. kanz.PlaybackSpeed = pitch
  195. kanz.Pitch = pitch
  196. kanz.SoundId = ID
  197. kanz.Name = "wrecked"
  198. kanz.Looped = true
  199. currentThemePlaying = kanz.SoundId
  200. currentVol = kanz.Volume
  201. currentPitch = kanz.Pitch
  202. --kanz:Play()
  203. --coroutine.resume(coroutine.create(function()
  204. --wait(0.05)
  205. --end))
  206. end
  207.  
  208. function newThemeCust(ID,timepos,pitch,vol)
  209. local kanz = kan
  210. kanz:Stop()
  211. kanz.Volume = vol
  212. kanz.TimePosition = timepos
  213. kanz.PlaybackSpeed = pitch
  214. kanz.Pitch = pitch
  215. kanz.SoundId = ID
  216. kanz.Name = "wrecked"
  217. kanz.Looped = true
  218. currentThemePlaying = kanz.SoundId
  219. currentVol = kanz.Volume
  220. currentPitch = kanz.Pitch
  221. kanz:Play()
  222. coroutine.resume(coroutine.create(function()
  223. wait(0.05)
  224. end))
  225. end
  226.  
  227. local mutedtog = false
  228.  
  229. function CameraEnshaking(Length,Intensity)
  230. coroutine.resume(coroutine.create(function()
  231. local intensity = 1*Intensity
  232. local rotM = 0.01*Intensity
  233. for i = 0, Length, 0.1 do
  234. swait()
  235. intensity = intensity - 0.05*Intensity/Length
  236. rotM = rotM - 0.0005*Intensity/Length
  237. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  238. 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)
  239. end
  240. Humanoid.CameraOffset = Vec3(0, 0, 0)
  241. end))
  242. end
  243. CamShake=function(Part,Distan,Power,Times)
  244. local de=Part.Position
  245. for i,v in pairs(workspace:children()) do
  246. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  247. for _,c in pairs(v:children()) do
  248. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  249. local Noob=v.Humanoid
  250. if Noob~=nil then
  251. coroutine.resume(coroutine.create(function()
  252. FV = Instance.new("BoolValue", Noob)
  253. FV.Name = "CameraShake"
  254. for ShakeNum=1,Times do
  255. swait()
  256. local ef=Power
  257. if ef>=1 then
  258. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  259. else
  260. ef=Power*10
  261. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  262. end
  263. end
  264. Humanoid.CameraOffset = Vector3.new(0,0,0)
  265. FV:Destroy()
  266. end))
  267. CameraShake(Times, Power, Noob)
  268. end
  269. end
  270. end
  271. end
  272. end
  273. end
  274.  
  275. local toggleTag = true
  276. local bilguit = Instance.new("BillboardGui", hed)
  277. bilguit.Adornee = nil
  278. bilguit.Name = "ModeName"
  279. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  280. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  281. local modet = Instance.new("TextLabel", bilguit)
  282. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  283. modet.FontSize = "Size8"
  284. modet.TextScaled = true
  285. modet.TextTransparency = 0
  286. modet.BackgroundTransparency = 1
  287. modet.TextTransparency = 0
  288. modet.TextStrokeTransparency = 0
  289. modet.Font = "Antique"
  290. modet.TextStrokeColor3 = Color3.new(1,0,0)
  291. modet.TextColor3 = Color3.new(0.25,0,0)
  292. modet.Text = "Solitude "
  293.  
  294.  
  295. function chatfunc(text,color,typet,font,timeex)
  296. local chat = coroutine.wrap(function()
  297. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  298. Character:FindFirstChild("TalkingBillBoard"):destroy()
  299. end
  300. local naeeym2 = Instance.new("BillboardGui",Character)
  301. naeeym2.Size = UDim2.new(0,100,0,40)
  302. naeeym2.StudsOffset = Vector3.new(0,3,0)
  303. naeeym2.Adornee = Character.Head
  304. naeeym2.Name = "TalkingBillBoard"
  305. local tecks2 = Instance.new("TextLabel",naeeym2)
  306. tecks2.BackgroundTransparency = 1
  307. tecks2.BorderSizePixel = 0
  308. tecks2.Text = ""
  309. tecks2.Font = font
  310. tecks2.TextSize = 30
  311. tecks2.TextStrokeTransparency = 0
  312. tecks2.TextColor3 = color
  313. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  314. tecks2.Size = UDim2.new(1,0,0.5,0)
  315. local tecks3 = Instance.new("TextLabel",naeeym2)
  316. tecks3.BackgroundTransparency = 1
  317. tecks3.BorderSizePixel = 0
  318. tecks3.Text = ""
  319. tecks3.Font = font
  320. tecks3.TextSize = 30
  321. tecks3.TextStrokeTransparency = 0
  322. if typet == "Inverted" then
  323. tecks3.TextColor3 = Color3.new(0,0,0)
  324. tecks3.TextStrokeColor3 = color
  325. elseif typet == "Normal" then
  326. tecks3.TextColor3 = color
  327. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  328. end
  329. tecks3.Size = UDim2.new(1,0,0.5,0)
  330. coroutine.resume(coroutine.create(function()
  331. while true do
  332. swait(1)
  333. if chaosmode == true then
  334. tecks2.TextColor3 = BrickColor.random().Color
  335. tecks3.TextStrokeColor3 = BrickColor.random().Color
  336. end
  337. end
  338. end))
  339. modet.TextTransparency = modet.TextTransparency + 1
  340. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  341. for i = 0, 74*timeex do
  342. swait()
  343. modet.TextTransparency = 1
  344. modet.TextStrokeTransparency = 1
  345. tecks2.Text = text
  346. tecks3.Text = text
  347. end
  348. local randomrot = math.random(1,2)
  349. if randomrot == 1 then
  350. for i = 1, 50 do
  351. swait()
  352. tecks2.Text = text
  353. tecks3.Text = text
  354. modet.TextTransparency = modet.TextTransparency - .02
  355. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  356. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  357. tecks2.TextTransparency = tecks2.TextTransparency + .04
  358. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  359. tecks3.TextTransparency = tecks2.TextTransparency + .04
  360. end
  361. elseif randomrot == 2 then
  362. for i = 1, 50 do
  363. swait()
  364. tecks2.Text = text
  365. tecks3.Text = text
  366. modet.TextTransparency = modet.TextTransparency - .02
  367. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  368. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  369. tecks2.TextTransparency = tecks2.TextTransparency + .04
  370. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  371. tecks3.TextTransparency = tecks2.TextTransparency + .04
  372. end
  373. end
  374. modet.TextTransparency = 0
  375. modet.TextStrokeTransparency = 0
  376. if toggleTag == false then
  377. modet.TextTransparency = 1
  378. modet.TextStrokeTransparency = 1
  379. end
  380. naeeym2:Destroy()
  381. end)
  382. chat()
  383. end
  384.  
  385. function bosschatfunc(text,color,watval)
  386. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  387. coroutine.resume(coroutine.create(function()
  388. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  389. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  390. end
  391. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  392. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  393. scrg.Name = "Dialog"
  394. local txtlb = Instance.new("TextLabel",scrg)
  395. txtlb.Text = ""
  396. txtlb.Font = "Bodoni"
  397. txtlb.TextColor3 = Color3.new(0,0,0)
  398. txtlb.TextStrokeTransparency = 0
  399. txtlb.BackgroundTransparency = 0.75
  400. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  401. txtlb.TextStrokeColor3 = color
  402. txtlb.TextScaled = true
  403. txtlb.Size = UDim2.new(1,0,0.25,0)
  404. txtlb.TextXAlignment = "Left"
  405. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  406. local txtlb2 = Instance.new("TextLabel",scrg)
  407. txtlb2.Text = plr.Name.." :"
  408. txtlb2.Font = "Antique"
  409. txtlb2.TextColor3 = Color3.new(0,0,0)
  410. txtlb2.TextStrokeTransparency = 0
  411. txtlb2.BackgroundTransparency = 1
  412. txtlb2.TextStrokeColor3 = color
  413. txtlb2.TextSize = 40
  414. txtlb2.Size = UDim2.new(1,0,0.25,0)
  415. txtlb2.TextXAlignment = "Left"
  416. txtlb2.Position = UDim2.new(0,0,1,0)
  417. local fvalen = 0.55
  418. local fval = -0.49
  419. coroutine.resume(coroutine.create(function()
  420. while true do
  421. swait()
  422. if chaosmode == true then
  423. txtlb.Rotation = math.random(-1,1)
  424. txtlb2.Rotation = math.random(-1,1)
  425. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  426. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  427. txtlb.TextStrokeColor3 = BrickColor.random().Color
  428. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  429. end
  430. end
  431. end))
  432. coroutine.resume(coroutine.create(function()
  433. while true do
  434. swait()
  435. if scrg.Parent ~= nil then
  436. fvalen = fvalen - 0.0001
  437. elseif scrg.Parent == nil then
  438. break
  439. end
  440. end
  441. end))
  442. local flol = 1.75
  443. local flil = 1.6
  444. coroutine.resume(coroutine.create(function()
  445. for i = 0, 9 do
  446. swait()
  447. fval = fval + 0.05
  448. flol = flol - 0.1
  449. flil = flil - 0.1
  450. txtlb.Text = ""
  451. txtlb.Position = UDim2.new(0,0,flol,0)
  452. txtlb2.Position = UDim2.new(0,0,flil,0)
  453. end
  454. txtlb.Text = text
  455. wait(watval)
  456. local valinc = 0
  457. for i = 0, 99 do
  458. swait()
  459. valinc = valinc + 0.0001
  460. flol = flol + valinc
  461. flil = flil + valinc
  462. txtlb.Rotation = txtlb.Rotation + valinc*20
  463. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  464. txtlb.Position = UDim2.new(0,0,flol,0)
  465. txtlb2.Position = UDim2.new(0,0,flil,0)
  466. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  467. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  468. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  469. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  470. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  471. end
  472. scrg:Destroy()
  473. end))
  474. end))
  475. end
  476. end
  477.  
  478.  
  479. local Create = LoadLibrary("RbxUtility").Create
  480.  
  481. CFuncs = {
  482. ["Part"] = {
  483. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  484. local Part = Create("Part"){
  485. Parent = Parent,
  486. Reflectance = Reflectance,
  487. Transparency = Transparency,
  488. CanCollide = false,
  489. Locked = true,
  490. BrickColor = BrickColor.new(tostring(BColor)),
  491. Name = Name,
  492. Size = Size,
  493. Material = Material,
  494. }
  495. RemoveOutlines(Part)
  496. return Part
  497. end;
  498. };
  499.  
  500. ["Mesh"] = {
  501. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  502. local Msh = Create(Mesh){
  503. Parent = Part,
  504. Offset = OffSet,
  505. Scale = Scale,
  506. }
  507. if Mesh == "SpecialMesh" then
  508. Msh.MeshType = MeshType
  509. Msh.MeshId = MeshId
  510. end
  511. return Msh
  512. end;
  513. };
  514.  
  515. ["Mesh"] = {
  516. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  517. local Msh = Create(Mesh){
  518. Parent = Part,
  519. Offset = OffSet,
  520. Scale = Scale,
  521. }
  522. if Mesh == "SpecialMesh" then
  523. Msh.MeshType = MeshType
  524. Msh.MeshId = MeshId
  525. end
  526. return Msh
  527. end;
  528. };
  529.  
  530. ["Weld"] = {
  531. Create = function(Parent, Part0, Part1, C0, C1)
  532. local Weld = Create("Weld"){
  533. Parent = Parent,
  534. Part0 = Part0,
  535. Part1 = Part1,
  536. C0 = C0,
  537. C1 = C1,
  538. }
  539. return Weld
  540. end;
  541. };
  542.  
  543. ["Sound"] = {
  544. Create = function(id, par, vol, pit)
  545. coroutine.resume(coroutine.create(function()
  546. local S = Create("Sound"){
  547. Volume = vol,
  548. Name = "EffectSoundo",
  549. Pitch = pit or 1,
  550. SoundId = id,
  551. Parent = par or workspace,
  552. }
  553. wait()
  554. S:play()
  555. game:GetService("Debris"):AddItem(S, 10)
  556. end))
  557. end;
  558. };
  559.  
  560. ["TimeSound"] = {
  561. Create = function(id, par, vol, pit, timepos)
  562. coroutine.resume(coroutine.create(function()
  563. local S = Create("Sound"){
  564. Volume = vol,
  565. Name = "EffectSoundo",
  566. Pitch = pit or 1,
  567. SoundId = id,
  568. TimePosition = timepos,
  569. Parent = par or workspace,
  570. }
  571. wait()
  572. S:play()
  573. game:GetService("Debris"):AddItem(S, 10)
  574. end))
  575. end;
  576. };
  577. ["EchoSound"] = {
  578. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  579. coroutine.resume(coroutine.create(function()
  580. local Sas = Create("Sound"){
  581. Volume = vol,
  582. Name = "EffectSoundo",
  583. Pitch = pit or 1,
  584. SoundId = id,
  585. TimePosition = timepos,
  586. Parent = par or workspace,
  587. }
  588. local E = Create("EchoSoundEffect"){
  589. Delay = echodelay,
  590. Name = "Echo",
  591. Feedback = fedb,
  592. DryLevel = dryl,
  593. Parent = Sas,
  594. }
  595. wait()
  596. Sas:play()
  597. game:GetService("Debris"):AddItem(Sas, delays)
  598. end))
  599. end;
  600. };
  601.  
  602. ["LongSound"] = {
  603. Create = function(id, par, vol, pit)
  604. coroutine.resume(coroutine.create(function()
  605. local S = Create("Sound"){
  606. Volume = vol,
  607. Pitch = pit or 1,
  608. SoundId = id,
  609. Parent = par or workspace,
  610. }
  611. wait()
  612. S:play()
  613. game:GetService("Debris"):AddItem(S, 60)
  614. end))
  615. end;
  616. };
  617.  
  618. ["ParticleEmitter"] = {
  619. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  620. local fp = Create("ParticleEmitter"){
  621. Parent = Parent,
  622. Color = ColorSequence.new(Color1, Color2),
  623. LightEmission = LightEmission,
  624. Size = Size,
  625. Texture = Texture,
  626. Transparency = Transparency,
  627. ZOffset = ZOffset,
  628. Acceleration = Accel,
  629. Drag = Drag,
  630. LockedToPart = LockedToPart,
  631. VelocityInheritance = VelocityInheritance,
  632. EmissionDirection = EmissionDirection,
  633. Enabled = Enabled,
  634. Lifetime = LifeTime,
  635. Rate = Rate,
  636. Rotation = Rotation,
  637. RotSpeed = RotSpeed,
  638. Speed = Speed,
  639. VelocitySpread = VelocitySpread,
  640. }
  641. return fp
  642. end;
  643. };
  644.  
  645. CreateTemplate = {
  646.  
  647. };
  648. }
  649.  
  650.  
  651.  
  652. New = function(Object, Parent, Name, Data)
  653. local Object = Instance.new(Object)
  654. for Index, Value in pairs(Data or {}) do
  655. Object[Index] = Value
  656. end
  657. Object.Parent = Parent
  658. Object.Name = Name
  659. return Object
  660. end
  661. local halocolor = BrickColor.new("Pastel light blue")
  662. local halocolor2 = BrickColor.new("Cool yellow")
  663. local starcolor = BrickColor.new("Bright yellow")
  664. local lunacolor = BrickColor.new("Navy blue")
  665. local lunacolor2 = BrickColor.new("Bright blue")
  666. local wepcolor = BrickColor.new("Really black")
  667. local maincolor = BrickColor.new("Really black")
  668. local m = Instance.new("Model",char)
  669. local m2 = Instance.new("Model",char)
  670. local m3 = Instance.new("Model",char)
  671. local mw1 = Instance.new("Model",char)
  672. local mw2 = Instance.new("Model",char)
  673.  
  674.  
  675. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  676. local gui = it(GuiType)
  677. gui.Parent = parent
  678. gui.Text = text
  679. gui.BackgroundTransparency = backtrans
  680. gui.BackgroundColor3 = backcol
  681. gui.SizeConstraint = "RelativeXY"
  682. gui.TextXAlignment = "Center"
  683. gui.TextYAlignment = "Center"
  684. gui.Position = pos
  685. gui.Size = size
  686. gui.Font = "SourceSans"
  687. gui.FontSize = "Size14"
  688. gui.TextWrapped = false
  689. gui.TextStrokeTransparency = 0
  690. gui.TextColor = BrickColor.new("White")
  691. return gui
  692. end
  693. --------------------------- GUI STUFF
  694. local basgui = it("GuiMain")
  695. basgui.Parent = plr.PlayerGui
  696. basgui.Name = "VISgui"
  697. local fullscreenz = it("Frame")
  698. fullscreenz.Parent = basgui
  699. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  700. fullscreenz.BackgroundTransparency = 1
  701. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  702. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  703. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  704. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  705. imgl2.BackgroundTransparency = 1
  706. imgl2.BorderSizePixel = 0
  707. imgl2.ImageTransparency = 0.5
  708. imgl2.ImageColor3 = Color3.new(1,0,0)
  709. imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
  710. imgl2.Size = UDim2.new(0,1000,0,1000)
  711. imgl2.Image = "rbxassetid://2325939897"
  712. local techc = imgl2:Clone()
  713. techc.Parent = fullscreenz
  714. techc.ImageTransparency = 0
  715. techc.Size = UDim2.new(0,900,0,900)
  716. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  717. techc.ImageColor3 = Color3.new(1,0,0)
  718. techc.Image = "rbxassetid://2273224484"
  719. local circl = imgl2:Clone()
  720. circl.Parent = fullscreenz
  721. circl.ImageTransparency = 0
  722. circl.Size = UDim2.new(0,550,0,550)
  723. circl.Position = UDim2.new(0.75,25,0.55,25)
  724. circl.ImageColor3 = Color3.new(0,0,0)
  725. circl.Image = "rbxassetid://2312119891"
  726. local circl2 = imgl2:Clone()
  727. circl2.Parent = fullscreenz
  728. circl2.ImageTransparency = 0
  729. circl2.Size = UDim2.new(0,700,0,700)
  730. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  731. circl2.ImageColor3 = Color3.new(1,0,0)
  732. circl2.Image = "rbxassetid://2312119891"
  733. local imgl2b = imgl2:Clone()
  734. imgl2b.Parent = fullscreenz
  735. imgl2b.ImageTransparency = 0
  736. imgl2b.Size = UDim2.new(0,800,0,800)
  737. imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
  738. imgl2b.ImageColor3 = Color3.new(0,0,0)
  739. local ned = Instance.new("TextLabel",fullscreenz)
  740. ned.ZIndex = 2
  741. ned.Font = "Arcade"
  742. ned.BackgroundTransparency = 1
  743. ned.BorderSizePixel = 0.65
  744. ned.Size = UDim2.new(0.3,0,0.2,0)
  745. ned.Position = UDim2.new(0.7,0,0.8,0)
  746. ned.TextColor3 = BrickColor.new("Really black").Color
  747. ned.TextStrokeColor3 = BrickColor.new("Really black").Color
  748. ned.TextScaled = true
  749. ned.TextStrokeTransparency = 0
  750. ned.Text = "Solitude"
  751. ned.TextSize = 24
  752. ned.Rotation = 1
  753. ned.TextXAlignment = "Right"
  754. ned.TextYAlignment = "Bottom"
  755.  
  756. local extrawingmod1 = Instance.new("Model",char)
  757. local extrawingmod2 = Instance.new("Model",char)
  758.  
  759. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  760. local p = Instance.new("Part")
  761. p.TopSurface = 0
  762. p.BottomSurface = 0
  763. p.Parent = parent
  764. p.Size = Vector3.new(0.1,0.1,0.1)
  765. p.Transparency = transparency
  766. p.Reflectance = reflectance
  767. p.CanCollide = false
  768. p.Locked = true
  769. p.BrickColor = brickcolor
  770. p.Material = material
  771. return p
  772. end
  773.  
  774. function CreateMesh(parent,meshtype,x1,y1,z1)
  775. local mesh = Instance.new("SpecialMesh",parent)
  776. mesh.MeshType = meshtype
  777. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  778. return mesh
  779. end
  780.  
  781. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  782. local mesh = Instance.new("SpecialMesh",parent)
  783. mesh.MeshType = "FileMesh"
  784. mesh.MeshId = meshid
  785. mesh.Scale = Vector3.new(x1,y1,z1)
  786. return mesh
  787. end
  788.  
  789.  
  790. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  791. local mesh = Instance.new("SpecialMesh",parent)
  792. mesh.MeshType = "FileMesh"
  793. mesh.MeshId = meshid
  794. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  795. mesh.Scale = Vector3.new(x1,y1,z1)
  796. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  797. return mesh
  798. end
  799.  
  800. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  801. local weld = Instance.new("Weld")
  802. weld.Parent = parent
  803. weld.Part0 = part0
  804. weld.Part1 = part1
  805. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  806. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  807. return weld
  808. end
  809.  
  810.  
  811. --------------
  812. --------------
  813. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  814. 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))
  815. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  816. 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))
  817.  
  818. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  819. CreateMesh(handle,"Brick",0,0,0)
  820. 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))
  821. local valuaring = 10
  822. for i = 0, 49 do
  823. valuaring = valuaring + 10
  824. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  825. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  826. 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))
  827. end
  828.  
  829. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  830. CreateMesh(handle,"Brick",0,0,0)
  831. 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))
  832. local valuaring = 10
  833. for i = 0, 49 do
  834. valuaring = valuaring + 10
  835. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  836. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  837. 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))
  838. end
  839.  
  840.  
  841. local handle = CreateParta(m,1,1,"Neon",maincolor)
  842. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  843. 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))
  844.  
  845. --- Left wing.
  846.  
  847. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  848. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  849. 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))
  850.  
  851. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  852. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  853. 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))
  854. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  855. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  856. 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))
  857. A0 = Instance.new('Attachment',wed)
  858. A0.Position = vt(0,0.25,0.25)
  859. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  860. CreateMesh(wed,"Wedge",0.05,0.5,3)
  861. 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))
  862. A1 = Instance.new('Attachment',wed)
  863. A1.Position = vt(0,-0.25,-2)
  864. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  865. CreateMesh(wed,"Wedge",0.05,3,0.5)
  866. 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))
  867.  
  868. tl1 = Instance.new('Trail',wed)
  869. tl1.Attachment0 = A1
  870. tl1.Attachment1 = A0
  871. tl1.Texture = "rbxassetid://2108945559"
  872. tl1.LightEmission = 1
  873. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  874. tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  875. tl1.Lifetime = 0.6
  876.  
  877.  
  878. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  879. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  880. 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))
  881.  
  882. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  883. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  884. 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))
  885. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  886. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  887. 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))
  888. A0 = Instance.new('Attachment',wed)
  889. A0.Position = vt(0,0.25,0.25)
  890. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  891. CreateMesh(wed,"Wedge",0.05,0.5,3)
  892. 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))
  893. A1 = Instance.new('Attachment',wed)
  894. A1.Position = vt(0,-0.25,-2)
  895. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  896. CreateMesh(wed,"Wedge",0.05,3,0.5)
  897. 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))
  898.  
  899. tl2 = Instance.new('Trail',wed)
  900. tl2.Attachment0 = A1
  901. tl2.Attachment1 = A0
  902. tl2.Texture = "rbxassetid://2108945559"
  903. tl2.LightEmission = 1
  904. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  905. tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  906. tl2.Lifetime = 0.6
  907.  
  908. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  909. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  910. 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))
  911.  
  912. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  913. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  914. 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))
  915. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  916. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  917. 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))
  918. A0 = Instance.new('Attachment',wed)
  919. A0.Position = vt(0,0.25,0.25)
  920. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  921. CreateMesh(wed,"Wedge",0.05,0.5,3)
  922. 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))
  923. A1 = Instance.new('Attachment',wed)
  924. A1.Position = vt(0,-0.25,-2)
  925. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  926. CreateMesh(wed,"Wedge",0.05,3,0.5)
  927. 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))
  928.  
  929. tl3 = Instance.new('Trail',wed)
  930. tl3.Attachment0 = A1
  931. tl3.Attachment1 = A0
  932. tl3.Texture = "rbxassetid://2108945559"
  933. tl3.LightEmission = 1
  934. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  935. tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  936. tl3.Lifetime = 0.6
  937.  
  938. tl1.Enabled = false
  939. tl2.Enabled = false
  940. tl3.Enabled = false
  941. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  942. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  943. 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))
  944.  
  945. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  946. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  947. 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))
  948. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  949. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  950. 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))
  951. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  952. CreateMesh(wed,"Wedge",0.05,0.5,3)
  953. 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))
  954. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  955. CreateMesh(wed,"Wedge",0.05,3,0.5)
  956. 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))
  957.  
  958. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  959. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  960. 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))
  961.  
  962. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  963. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  964. 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))
  965. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  966. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  967. 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))
  968. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  969. CreateMesh(wed,"Wedge",0.05,0.5,3)
  970. 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))
  971. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  972. CreateMesh(wed,"Wedge",0.05,3,0.5)
  973. 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))
  974.  
  975. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  976. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  977. 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))
  978.  
  979. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  980. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  981. 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))
  982. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  983. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  984. 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))
  985. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  986. CreateMesh(wed,"Wedge",0.05,0.5,3)
  987. 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))
  988. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  989. CreateMesh(wed,"Wedge",0.05,3,0.5)
  990. 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))
  991.  
  992. -- Right wing.
  993.  
  994. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  995. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  996. 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))
  997.  
  998. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  999. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1000. 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))
  1001. A0 = Instance.new('Attachment',wed)
  1002. A0.Position = vt(0,0.25,0.25)
  1003. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1004. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1005. 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))
  1006. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1007. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1008. 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))
  1009. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1010. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1011. 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))
  1012. A1 = Instance.new('Attachment',wed)
  1013. A1.Position = vt(0,2,0.25)
  1014.  
  1015. tr1 = Instance.new('Trail',wed)
  1016. tr1.Attachment0 = A1
  1017. tr1.Attachment1 = A0
  1018. tr1.Texture = "rbxassetid://2108945559"
  1019. tr1.LightEmission = 1
  1020. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1021. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1022. tr1.Lifetime = 0.6
  1023.  
  1024. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1025. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1026. 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))
  1027.  
  1028. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1029. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1030. 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))
  1031. A0 = Instance.new('Attachment',wed)
  1032. A0.Position = vt(0,0.25,0.25)
  1033. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1034. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1035. 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))
  1036. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1037. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1038. 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))
  1039. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1040. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1041. 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))
  1042. A1 = Instance.new('Attachment',wed)
  1043. A1.Position = vt(0,2,0.25)
  1044.  
  1045. tr2 = Instance.new('Trail',wed)
  1046. tr2.Attachment0 = A1
  1047. tr2.Attachment1 = A0
  1048. tr2.Texture = "rbxassetid://2108945559"
  1049. tr2.LightEmission = 1
  1050. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1051. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1052. tr2.Lifetime = 0.6
  1053.  
  1054. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1055. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1056. 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))
  1057.  
  1058. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1059. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1060. 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))
  1061. A0 = Instance.new('Attachment',wed)
  1062. A0.Position = vt(0,0.25,0.25)
  1063. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1064. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1065. 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))
  1066. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1067. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1068. 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))
  1069. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1070. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1071. 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))
  1072. A1 = Instance.new('Attachment',wed)
  1073. A1.Position = vt(0,2,0.25)
  1074.  
  1075. tr3 = Instance.new('Trail',wed)
  1076. tr3.Attachment0 = A1
  1077. tr3.Attachment1 = A0
  1078. tr3.Texture = "rbxassetid://2108945559"
  1079. tr3.LightEmission = 1
  1080. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1081. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1082. tr3.Lifetime = 0.6
  1083.  
  1084.  
  1085. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1086. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1087. 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))
  1088.  
  1089. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1090. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1091. 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))
  1092. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1093. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1094. 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))
  1095. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1096. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1097. 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))
  1098. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1099. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1100. 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))
  1101.  
  1102. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1103. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1104. 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))
  1105.  
  1106. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1107. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1108. 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))
  1109. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1110. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1111. 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))
  1112. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1113. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1114. 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))
  1115. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1116. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1117. 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))
  1118.  
  1119. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1120. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1121. 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))
  1122.  
  1123. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1124. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1125. 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))
  1126. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1127. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1128. 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))
  1129. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1130. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1131. 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))
  1132. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1133. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1134. 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))
  1135.  
  1136. --HERES THE RING
  1137.  
  1138.  
  1139. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1140. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1141. 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))
  1142. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1143. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1144. 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))
  1145. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1146. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1147. 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))
  1148.  
  1149.  
  1150. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1151. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1152. 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))
  1153.  
  1154. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1155. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1156. 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))
  1157.  
  1158.  
  1159.  
  1160. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1161. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1162. 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))
  1163.  
  1164. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1165. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1166. 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))
  1167.  
  1168. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1169. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1170. 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))
  1171.  
  1172. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1173. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1174. 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))
  1175. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1176. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1177. 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))]]--
  1178.  
  1179. --- second ring
  1180.  
  1181.  
  1182. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1183. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1184. 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))
  1185.  
  1186. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1187. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1188. 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))
  1189.  
  1190.  
  1191.  
  1192. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1193. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1194. 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))
  1195.  
  1196. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1197. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1198. 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))
  1199.  
  1200. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1201. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1202. 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))
  1203.  
  1204. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1205. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1206. 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))
  1207. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1208. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1209. 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))
  1210.  
  1211.  
  1212.  
  1213. for i, v in pairs(m:GetChildren()) do
  1214. if v:IsA("Part") then
  1215. v.BrickColor = BrickColor.new("Really black")
  1216. v.Material = "Glass"
  1217. end
  1218. end
  1219. for i, v in pairs(m2:GetChildren()) do
  1220. if v:IsA("Part") then
  1221. v.BrickColor = BrickColor.new("Crimson")
  1222. v.Material = "Granite"
  1223. end
  1224. end
  1225. for i, v in pairs(m3:GetChildren()) do
  1226. if v:IsA("Part") then
  1227. v.BrickColor = BrickColor.new("Really red")
  1228. v.Material = "Neon"
  1229. end
  1230. end
  1231. for i, v in pairs(mw2:GetChildren()) do
  1232. if v:IsA("Part") then
  1233. v.BrickColor = BrickColor.new("Really red")
  1234. v.Material = "Neon"
  1235. end
  1236. end
  1237. for i, v in pairs(mw1:GetChildren()) do
  1238. if v:IsA("Part") then
  1239. v.Transparency = 1
  1240. v.BrickColor = BrickColor.new("Really red")
  1241. v.Material = "Neon"
  1242. end
  1243. end
  1244. for i, v in pairs(extrawingmod1:GetChildren()) do
  1245. if v:IsA("Part") then
  1246. v.Transparency = 1
  1247. v.BrickColor = BrickColor.new("White")
  1248. v.Material = "Neon"
  1249. end
  1250. end
  1251. for i, v in pairs(extrawingmod2:GetChildren()) do
  1252. if v:IsA("Part") then
  1253. v.Transparency = 1
  1254. v.BrickColor = BrickColor.new("White")
  1255. v.Material = "Neon"
  1256. end
  1257. end
  1258. local MAINRUINCOLOR = BrickColor.new("Really red")
  1259. ------
  1260.  
  1261.  
  1262. function RemoveOutlines(part)
  1263. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1264. end
  1265. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1266. local Part = Create("Part")({
  1267. Parent = Parent,
  1268. Reflectance = Reflectance,
  1269. Transparency = Transparency,
  1270. CanCollide = false,
  1271. Locked = true,
  1272. BrickColor = BrickColor.new(tostring(BColor)),
  1273. Name = Name,
  1274. Size = Size,
  1275. Material = Material
  1276. })
  1277. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1278. RemoveOutlines(Part)
  1279. return Part
  1280. end
  1281. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1282. local Msh = Create(Mesh)({
  1283. Parent = Part,
  1284. Offset = OffSet,
  1285. Scale = Scale
  1286. })
  1287. if Mesh == "SpecialMesh" then
  1288. Msh.MeshType = MeshType
  1289. Msh.MeshId = MeshId
  1290. end
  1291. return Msh
  1292. end
  1293. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1294. local Weld = Create("Weld")({
  1295. Parent = Parent,
  1296. Part0 = Part0,
  1297. Part1 = Part1,
  1298. C0 = C0,
  1299. C1 = C1
  1300. })
  1301. return Weld
  1302. end
  1303.  
  1304. Player = plr
  1305. Character=Player.Character
  1306. PlayerGui=Player.PlayerGui
  1307. Backpack=Player.Backpack
  1308. Torso=Character.Torso
  1309. Head=Character.Head
  1310. Humanoid=Character.Humanoid
  1311. m=Instance.new('Model',Character)
  1312. LeftArm=Character["Left Arm"]
  1313. LeftLeg=Character["Left Leg"]
  1314. RightArm=Character["Right Arm"]
  1315. RightLeg=Character["Right Leg"]
  1316. LS=Torso["Left Shoulder"]
  1317. LH=Torso["Left Hip"]
  1318. RS=Torso["Right Shoulder"]
  1319. RH=Torso["Right Hip"]
  1320. Face = Head.face
  1321. Neck=Torso.Neck
  1322. it=Instance.new
  1323. attacktype=1
  1324. vt=Vector3.new
  1325. cf=CFrame.new
  1326. euler=CFrame.fromEulerAnglesXYZ
  1327. angles=CFrame.Angles
  1328. cloaked=false
  1329. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1330. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1331. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1332. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1333. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1334. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1335. RootPart=Character.HumanoidRootPart
  1336. RootJoint=RootPart.RootJoint
  1337. RootCF=euler(-1.57,0,3.14)
  1338. attack = false
  1339. attackdebounce = false
  1340. deb=false
  1341. equipped=true
  1342. hand=false
  1343. combo=0
  1344. mana=0
  1345. trispeed=.2
  1346. attackmode='none'
  1347. local idle=0
  1348. local Anim="Idle"
  1349. local Effects={}
  1350. local gun=false
  1351. local shoot=false
  1352. local sine = 0
  1353. local change = 1
  1354.  
  1355. function RecolorTextAndRename(name,col1,col2,font)
  1356. modet.TextStrokeColor3 = col2
  1357. modet.TextColor3 = col1
  1358. modet.Font = font
  1359. modet.Text = name
  1360. techc.ImageColor3 = col2
  1361. circl.ImageColor3 = col2
  1362. circl2.ImageColor3 = col1
  1363. imgl2.ImageColor3 = col1
  1364. imgl2b.ImageColor3 = col2
  1365. ned.Text = name
  1366. ned.TextColor3 = col1
  1367. ned.TextStrokeColor3 = col2
  1368. end
  1369. --save shoulders
  1370. RSH, LSH=nil, nil
  1371. --welds
  1372. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1373. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1374. LH=Torso["Left Hip"]
  1375. RH=Torso["Right Hip"]
  1376. TorsoColor=Torso.BrickColor
  1377. function NoOutline(Part)
  1378. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1379. end
  1380. ch=Character
  1381. RSH=ch.Torso["Right Shoulder"]
  1382. LSH=ch.Torso["Left Shoulder"]
  1383. --
  1384. RSH.Parent=nil
  1385. LSH.Parent=nil
  1386. --
  1387. RW.Name="Right Shoulder"
  1388. RW.Part0=ch.Torso
  1389. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1390. RW.C1=cf(0, 0.5, 0)
  1391. RW.Part1=ch["Right Arm"]
  1392. RW.Parent=ch.Torso
  1393. --
  1394. LW.Name="Left Shoulder"
  1395. LW.Part0=ch.Torso
  1396. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1397. LW.C1=cf(0, 0.5, 0)
  1398. LW.Part1=ch["Left Arm"]
  1399. LW.Parent=ch.Torso
  1400.  
  1401. local Stats=Instance.new("BoolValue")
  1402. Stats.Name="Stats"
  1403. Stats.Parent=Character
  1404. local Atk=Instance.new("NumberValue")
  1405. Atk.Name="Damage"
  1406. Atk.Parent=Stats
  1407. Atk.Value=1
  1408. local Def=Instance.new("NumberValue")
  1409. Def.Name="Defense"
  1410. Def.Parent=Stats
  1411. Def.Value=1
  1412. local Speed=Instance.new("NumberValue")
  1413. Speed.Name="Speed"
  1414. Speed.Parent=Stats
  1415. Speed.Value=1
  1416. local Mvmt=Instance.new("NumberValue")
  1417. Mvmt.Name="Movement"
  1418. Mvmt.Parent=Stats
  1419. Mvmt.Value=1
  1420.  
  1421. local donum=0
  1422. local ast = {744586075,385254610}
  1423.  
  1424. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1425. local fp=it("Part")
  1426. fp.formFactor=formfactor
  1427. fp.Parent=parent
  1428. fp.Reflectance=reflectance
  1429. fp.Transparency=transparency
  1430. fp.CanCollide=false
  1431. fp.Locked=true
  1432. fp.BrickColor=brickcolor
  1433. fp.Name=name
  1434. fp.Size=size
  1435. fp.Position=Torso.Position
  1436. NoOutline(fp)
  1437. fp.Material="SmoothPlastic"
  1438. fp:BreakJoints()
  1439. return fp
  1440. end
  1441.  
  1442. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1443. local mesh=it(Mesh)
  1444. mesh.Parent=part
  1445. if Mesh=="SpecialMesh" then
  1446. mesh.MeshType=meshtype
  1447. if meshid~="nil" then
  1448. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1449. end
  1450. end
  1451. mesh.Offset=offset
  1452. mesh.Scale=scale
  1453. return mesh
  1454. end
  1455.  
  1456. function weld(parent,part0,part1,c0)
  1457. local weld=it("Weld")
  1458. weld.Parent=parent
  1459. weld.Part0=part0
  1460. weld.Part1=part1
  1461. weld.C0=c0
  1462. return weld
  1463. end
  1464.  
  1465. local Color1=Torso.BrickColor
  1466.  
  1467. local bodvel=Instance.new("BodyVelocity")
  1468. local bg=Instance.new("BodyGyro")
  1469.  
  1470. --------- SazEreno's Artificial HB --------------
  1471. ArtificialHB = Instance.new("BindableEvent", script)
  1472. ArtificialHB.Name = "ArtificialHB"
  1473.  
  1474. script:WaitForChild("ArtificialHB")
  1475. Frame_Speed = 1 / 60
  1476. frame = Frame_Speed
  1477. tf = 0
  1478. allowframeloss = false
  1479. tossremainder = false
  1480. lastframe = tick()
  1481. script.ArtificialHB:Fire()
  1482.  
  1483. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1484. tf = tf + s
  1485. if tf >= frame then
  1486. if allowframeloss then
  1487. script.ArtificialHB:Fire()
  1488. lastframe = tick()
  1489. else
  1490. for i = 1, math.floor(tf / frame) do
  1491. script.ArtificialHB:Fire()
  1492. end
  1493. lastframe = tick()
  1494. end
  1495. if tossremainder then
  1496. tf = 0
  1497. else
  1498. tf = tf - frame * math.floor(tf / frame)
  1499. end
  1500. end
  1501. end)
  1502.  
  1503. ------------------
  1504. function swait(num)
  1505. if num == 0 or num == nil then
  1506. ArtificialHB.Event:wait()
  1507. else
  1508. for i = 1, num do
  1509. ArtificialHB.Event:wait()
  1510. end
  1511. end
  1512. end
  1513. -------- RAINBOW LEAVE IT TO ME
  1514. local r = 255
  1515. local g = 0
  1516. local b = 0
  1517. coroutine.resume(coroutine.create(function()
  1518. while wait() do
  1519. for i = 0, 254/5 do
  1520. swait()
  1521. g = g + 5
  1522. end
  1523. for i = 0, 254/5 do
  1524. swait()
  1525. r = r - 5
  1526. end
  1527. for i = 0, 254/5 do
  1528. swait()
  1529. b = b + 5
  1530. end
  1531. for i = 0, 254/5 do
  1532. swait()
  1533. g = g - 5
  1534. end
  1535. for i = 0, 254/5 do
  1536. swait()
  1537. r = r + 5
  1538. end
  1539. for i = 0, 254/5 do
  1540. swait()
  1541. b = b - 5
  1542. end
  1543. end
  1544. end))
  1545.  
  1546.  
  1547. so = function(id,par,vol,pit)
  1548. coroutine.resume(coroutine.create(function()
  1549. local sou = Instance.new("Sound",par or workspace)
  1550. sou.Volume=vol
  1551. sou.Pitch=pit or 1
  1552. sou.SoundId=id
  1553. swait()
  1554. sou:play()
  1555. game:GetService("Debris"):AddItem(sou,6)
  1556. end))
  1557. end
  1558.  
  1559. function clerp(a,b,t)
  1560. local qa = {QuaternionFromCFrame(a)}
  1561. local qb = {QuaternionFromCFrame(b)}
  1562. local ax, ay, az = a.x, a.y, a.z
  1563. local bx, by, bz = b.x, b.y, b.z
  1564. local _t = 1-t
  1565. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1566. end
  1567.  
  1568. function QuaternionFromCFrame(cf)
  1569. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1570. local trace = m00 + m11 + m22
  1571. if trace > 0 then
  1572. local s = math.sqrt(1 + trace)
  1573. local recip = 0.5/s
  1574. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1575. else
  1576. local i = 0
  1577. if m11 > m00 then
  1578. i = 1
  1579. end
  1580. if m22 > (i == 0 and m00 or m11) then
  1581. i = 2
  1582. end
  1583. if i == 0 then
  1584. local s = math.sqrt(m00-m11-m22+1)
  1585. local recip = 0.5/s
  1586. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1587. elseif i == 1 then
  1588. local s = math.sqrt(m11-m22-m00+1)
  1589. local recip = 0.5/s
  1590. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1591. elseif i == 2 then
  1592. local s = math.sqrt(m22-m00-m11+1)
  1593. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1594. end
  1595. end
  1596. end
  1597.  
  1598. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1599. local xs, ys, zs = x + x, y + y, z + z
  1600. local wx, wy, wz = w*xs, w*ys, w*zs
  1601. local xx = x*xs
  1602. local xy = x*ys
  1603. local xz = x*zs
  1604. local yy = y*ys
  1605. local yz = y*zs
  1606. local zz = z*zs
  1607. 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))
  1608. end
  1609.  
  1610. function QuaternionSlerp(a, b, t)
  1611. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1612. local startInterp, finishInterp;
  1613. if cosTheta >= 0.0001 then
  1614. if (1 - cosTheta) > 0.0001 then
  1615. local theta = math.acos(cosTheta)
  1616. local invSinTheta = 1/math.sin(theta)
  1617. startInterp = math.sin((1-t)*theta)*invSinTheta
  1618. finishInterp = math.sin(t*theta)*invSinTheta
  1619. else
  1620. startInterp = 1-t
  1621. finishInterp = t
  1622. end
  1623. else
  1624. if (1+cosTheta) > 0.0001 then
  1625. local theta = math.acos(-cosTheta)
  1626. local invSinTheta = 1/math.sin(theta)
  1627. startInterp = math.sin((t-1)*theta)*invSinTheta
  1628. finishInterp = math.sin(t*theta)*invSinTheta
  1629. else
  1630. startInterp = t-1
  1631. finishInterp = t
  1632. end
  1633. end
  1634. 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
  1635. end
  1636.  
  1637. local function CFrameFromTopBack(at, top, back)
  1638. local right = top:Cross(back)
  1639. return CFrame.new(at.x, at.y, at.z,
  1640. right.x, top.x, back.x,
  1641. right.y, top.y, back.y,
  1642. right.z, top.z, back.z)
  1643. end
  1644.  
  1645. function Triangle(a, b, c)
  1646. local edg1 = (c-a):Dot((b-a).unit)
  1647. local edg2 = (a-b):Dot((c-b).unit)
  1648. local edg3 = (b-c):Dot((a-c).unit)
  1649. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1650. a, b, c = a, b, c
  1651. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1652. a, b, c = b, c, a
  1653. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1654. a, b, c = c, a, b
  1655. else
  1656. assert(false, "unreachable")
  1657. end
  1658.  
  1659. local len1 = (c-a):Dot((b-a).unit)
  1660. local len2 = (b-a).magnitude - len1
  1661. local width = (a + (b-a).unit*len1 - c).magnitude
  1662.  
  1663. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1664.  
  1665. local list = {}
  1666.  
  1667. if len1 > 0.01 then
  1668. local w1 = Instance.new('WedgePart', m)
  1669. game:GetService("Debris"):AddItem(w1,5)
  1670. w1.Material = "SmoothPlastic"
  1671. w1.FormFactor = 'Custom'
  1672. w1.BrickColor = BrickColor.new("Really red")
  1673. w1.Transparency = 0
  1674. w1.Reflectance = 0
  1675. w1.Material = "SmoothPlastic"
  1676. w1.CanCollide = false
  1677. local l1 = Instance.new("PointLight",w1)
  1678. l1.Color = Color3.new(170,0,0)
  1679. NoOutline(w1)
  1680. local sz = Vector3.new(0.2, width, len1)
  1681. w1.Size = sz
  1682. local sp = Instance.new("SpecialMesh",w1)
  1683. sp.MeshType = "Wedge"
  1684. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1685. w1:BreakJoints()
  1686. w1.Anchored = true
  1687. w1.Parent = workspace
  1688. w1.Transparency = 0.7
  1689. table.insert(Effects,{w1,"Disappear",.01})
  1690. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1691. table.insert(list,w1)
  1692. end
  1693.  
  1694. if len2 > 0.01 then
  1695. local w2 = Instance.new('WedgePart', m)
  1696. game:GetService("Debris"):AddItem(w2,5)
  1697. w2.Material = "SmoothPlastic"
  1698. w2.FormFactor = 'Custom'
  1699. w2.BrickColor = BrickColor.new("Really red")
  1700. w2.Transparency = 0
  1701. w2.Reflectance = 0
  1702. w2.Material = "SmoothPlastic"
  1703. w2.CanCollide = false
  1704. local l2 = Instance.new("PointLight",w2)
  1705. l2.Color = Color3.new(170,0,0)
  1706. NoOutline(w2)
  1707. local sz = Vector3.new(0.2, width, len2)
  1708. w2.Size = sz
  1709. local sp = Instance.new("SpecialMesh",w2)
  1710. sp.MeshType = "Wedge"
  1711. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1712. w2:BreakJoints()
  1713. w2.Anchored = true
  1714. w2.Parent = workspace
  1715. w2.Transparency = 0.7
  1716. table.insert(Effects,{w2,"Disappear",.01})
  1717. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1718. table.insert(list,w2)
  1719. end
  1720. return unpack(list)
  1721. end
  1722.  
  1723.  
  1724. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1725. if hit.Parent == nil then
  1726. return
  1727. end
  1728. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1729. for _, v in pairs(hit.Parent:children()) do
  1730. if v:IsA("Humanoid") then
  1731. h = v
  1732. end
  1733. end
  1734. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1735. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1736. return
  1737. end
  1738. local c = Create("ObjectValue")({
  1739. Name = "creator",
  1740. Value = game:GetService("Players").MrGoo345,
  1741. Parent = h
  1742. })
  1743. game:GetService("Debris"):AddItem(c, 0.5)
  1744. if HitSound ~= nil and HitPitch ~= nil then
  1745. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1746. end
  1747. local Damage = math.random(minim, maxim)
  1748. local blocked = false
  1749. local block = hit.Parent:findFirstChild("Block")
  1750. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1751. blocked = true
  1752. block.Value = block.Value - 1
  1753. print(block.Value)
  1754. end
  1755. if blocked == false then
  1756. HitHealth = h.Health
  1757. h.MaxHealth = 100
  1758. h.Health = h.Health - Damage
  1759. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1760. print("gained kill")
  1761. dmg(h.Parent)
  1762. end
  1763. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1764. else
  1765. h.Health = h.Health - Damage / 2
  1766. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1767. end
  1768. if Type == "Knockdown" then
  1769. local hum = hit.Parent.Humanoid
  1770. hum.PlatformStand = true
  1771. coroutine.resume(coroutine.create(function(HHumanoid)
  1772. swait(1)
  1773. HHumanoid.PlatformStand = false
  1774. end), hum)
  1775. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1776. local bodvol = Create("BodyVelocity")({
  1777. velocity = angle * knockback,
  1778. P = 5000,
  1779. maxForce = Vector3.new(8000, 8000, 8000),
  1780. Parent = hit
  1781. })
  1782. local rl = Create("BodyAngularVelocity")({
  1783. P = 3000,
  1784. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1785. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1786. Parent = hit
  1787. })
  1788. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1789. game:GetService("Debris"):AddItem(rl, 0.5)
  1790. elseif Type == "Normal" then
  1791. local vp = Create("BodyVelocity")({
  1792. P = 500,
  1793. maxForce = Vector3.new(math.huge, 0, math.huge),
  1794. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1795. })
  1796. if knockback > 0 then
  1797. vp.Parent = hit.Parent.Head
  1798. end
  1799. game:GetService("Debris"):AddItem(vp, 0.5)
  1800. elseif Type == "Up" then
  1801. local bodyVelocity = Create("BodyVelocity")({
  1802. velocity = Vector3.new(0, 20, 0),
  1803. P = 5000,
  1804. maxForce = Vector3.new(8000, 8000, 8000),
  1805. Parent = hit
  1806. })
  1807. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1808. local bodyVelocity = Create("BodyVelocity")({
  1809. velocity = Vector3.new(0, 20, 0),
  1810. P = 5000,
  1811. maxForce = Vector3.new(8000, 8000, 8000),
  1812. Parent = hit
  1813. })
  1814. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1815. elseif Type == "Leech" then
  1816. local hum = hit.Parent.Humanoid
  1817. if hum ~= nil then
  1818. for i = 0, 2 do
  1819. 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)
  1820. end
  1821. Humanoid.Health = Humanoid.Health + 10
  1822. end
  1823. elseif Type == "UpKnock" then
  1824. local hum = hit.Parent.Humanoid
  1825. hum.PlatformStand = true
  1826. if hum ~= nil then
  1827. hitr = true
  1828. end
  1829. coroutine.resume(coroutine.create(function(HHumanoid)
  1830. swait(5)
  1831. HHumanoid.PlatformStand = false
  1832. hitr = false
  1833. end), hum)
  1834. local bodyVelocity = Create("BodyVelocity")({
  1835. velocity = Vector3.new(0, 20, 0),
  1836. P = 5000,
  1837. maxForce = Vector3.new(8000, 8000, 8000),
  1838. Parent = hit
  1839. })
  1840. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1841. local bodyVelocity = Create("BodyVelocity")({
  1842. velocity = Vector3.new(0, 20, 0),
  1843. P = 5000,
  1844. maxForce = Vector3.new(8000, 8000, 8000),
  1845. Parent = hit
  1846. })
  1847. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1848. elseif Type == "Snare" then
  1849. local bp = Create("BodyPosition")({
  1850. P = 2000,
  1851. D = 100,
  1852. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1853. position = hit.Parent.Torso.Position,
  1854. Parent = hit.Parent.Torso
  1855. })
  1856. game:GetService("Debris"):AddItem(bp, 1)
  1857. elseif Type == "Slashnare" then
  1858. 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)
  1859. for i = 1, math.random(4, 5) do
  1860. 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)
  1861. end
  1862. local bp = Create("BodyPosition")({
  1863. P = 2000,
  1864. D = 100,
  1865. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1866. position = hit.Parent.Torso.Position,
  1867. Parent = hit.Parent.Torso
  1868. })
  1869. game:GetService("Debris"):AddItem(bp, 1)
  1870. elseif Type == "Spike" then
  1871. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1872. local bp = Create("BodyPosition")({
  1873. P = 2000,
  1874. D = 100,
  1875. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1876. position = hit.Parent.Torso.Position,
  1877. Parent = hit.Parent.Torso
  1878. })
  1879. game:GetService("Debris"):AddItem(bp, 1)
  1880. elseif Type == "Freeze" then
  1881. local BodPos = Create("BodyPosition")({
  1882. P = 50000,
  1883. D = 1000,
  1884. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1885. position = hit.Parent.Torso.Position,
  1886. Parent = hit.Parent.Torso
  1887. })
  1888. local BodGy = Create("BodyGyro")({
  1889. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1890. P = 20000,
  1891. Parent = hit.Parent.Torso,
  1892. cframe = hit.Parent.Torso.CFrame
  1893. })
  1894. hit.Parent.Torso.Anchored = true
  1895. coroutine.resume(coroutine.create(function(Part)
  1896. swait(1.5)
  1897. Part.Anchored = false
  1898. end), hit.Parent.Torso)
  1899. game:GetService("Debris"):AddItem(BodPos, 3)
  1900. game:GetService("Debris"):AddItem(BodGy, 3)
  1901. end
  1902. local debounce = Create("BoolValue")({
  1903. Name = "DebounceHit",
  1904. Parent = hit.Parent,
  1905. Value = true
  1906. })
  1907. game:GetService("Debris"):AddItem(debounce, Delay)
  1908. c = Instance.new("ObjectValue")
  1909. c.Name = "creator"
  1910. c.Value = Player
  1911. c.Parent = h
  1912. game:GetService("Debris"):AddItem(c, 0.5)
  1913. end
  1914. end
  1915. function ShowDamage(Pos, Text, Time, Color)
  1916. local Rate = 0.03333333333333333
  1917. local Pos = Pos or Vector3.new(0, 0, 0)
  1918. local Text = Text or ""
  1919. local Time = Time or 2
  1920. local Color = Color or Color3.new(1, 0, 1)
  1921. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1922. EffectPart.Anchored = true
  1923. local BillboardGui = Create("BillboardGui")({
  1924. Size = UDim2.new(3, 0, 3, 0),
  1925. Adornee = EffectPart,
  1926. Parent = EffectPart
  1927. })
  1928. local TextLabel = Create("TextLabel")({
  1929. BackgroundTransparency = 1,
  1930. Size = UDim2.new(1, 0, 1, 0),
  1931. Text = Text,
  1932. TextColor3 = Color,
  1933. TextScaled = true,
  1934. Font = Enum.Font.ArialBold,
  1935. Parent = BillboardGui
  1936. })
  1937. game.Debris:AddItem(EffectPart, Time + 0.1)
  1938. EffectPart.Parent = game:GetService("Workspace")
  1939. delay(0, function()
  1940. local Frames = Time / Rate
  1941. for Frame = 1, Frames do
  1942. wait(Rate)
  1943. local Percent = Frame / Frames
  1944. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1945. TextLabel.TextTransparency = Percent
  1946. end
  1947. if EffectPart and EffectPart.Parent then
  1948. EffectPart:Destroy()
  1949. end
  1950. end)
  1951. end
  1952. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1953. for _, c in pairs(workspace:children()) do
  1954. local hum = c:findFirstChildOfClass("Humanoid")
  1955. if hum ~= nil then
  1956. local head = c:findFirstChild("Head")
  1957. if head ~= nil then
  1958. local targ = head.Position - Part.Position
  1959. local mag = targ.magnitude
  1960. if magni >= mag and c.Name ~= Player.Name then
  1961. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1962. end
  1963. end
  1964. end
  1965. end
  1966. end
  1967.  
  1968. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1969. for _, c in pairs(workspace:children()) do
  1970. local hum = c:findFirstChild("Humanoid")
  1971. if hum ~= nil then
  1972. local head = c:findFirstChild("Torso")
  1973. if head ~= nil then
  1974. local targ = head.Position - Part.Position
  1975. local mag = targ.magnitude
  1976. if magni >= mag and c.Name ~= Player.Name then
  1977. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  1978. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1979. end
  1980. end
  1981. end
  1982. end
  1983. end
  1984.  
  1985. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1986. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1987. end
  1988.  
  1989. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1990. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1991. prt.Anchored=true
  1992. prt.CFrame=cframe
  1993. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1994. --http://www.roblox.com/asset/?id=4770560
  1995. game:GetService("Debris"):AddItem(prt,2)
  1996. CF=prt.CFrame
  1997. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1998. for i=0,1,0.2 do
  1999. wait()
  2000. Part.CFrame=CF*cf(0,0,-0.4)
  2001. end
  2002. for i=0,1,delay do
  2003. wait()
  2004. --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)
  2005. Mesh.Scale=Mesh.Scale
  2006. end
  2007. for i=0,1,0.1 do
  2008. wait()
  2009. Part.Transparency=i
  2010. end
  2011. Part.Parent=nil
  2012. end),prt,msh,CF)
  2013. end
  2014.  
  2015. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2016. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2017. prt.Anchored=true
  2018. prt.Material = "Neon"
  2019. prt.CFrame=cframe
  2020. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2021. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2022. game:GetService("Debris"):AddItem(prt,5)
  2023. coroutine.resume(coroutine.create(function(Part,Mesh)
  2024. for i=0,1,delay do
  2025. swait()
  2026. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2027. Part.Transparency=i
  2028. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2029. end
  2030. Part.Parent=nil
  2031. end),prt,msh)
  2032. end
  2033.  
  2034. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2035. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2036. prt.Anchored=true
  2037. prt.Material = "Neon"
  2038. prt.CFrame=cframe
  2039. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2040. game:GetService("Debris"):AddItem(prt,5)
  2041. coroutine.resume(coroutine.create(function(Part,Mesh)
  2042. local rtype = rottype
  2043. for i=0,1,delay do
  2044. swait()
  2045. if rtype == 1 then
  2046. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2047. elseif rtype == 2 then
  2048. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2049. end
  2050. Part.Transparency=i
  2051. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2052. end
  2053. Part.Parent=nil
  2054. end),prt,msh)
  2055. end
  2056.  
  2057. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2058. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2059. prt.Anchored=true
  2060. prt.CFrame=cframe
  2061. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2062. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2063. game:GetService("Debris"):AddItem(prt,5)
  2064. coroutine.resume(coroutine.create(function(Part,Mesh)
  2065. for i=0,1,delay do
  2066. wait()
  2067. Part.Transparency=i
  2068. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2069. end
  2070. Part.Parent=nil
  2071. end),prt,msh)
  2072. end
  2073.  
  2074. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2075. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2076. prt.Anchored=true
  2077. prt.Material = "Neon"
  2078. prt.CFrame=cframe
  2079. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2080. game:GetService("Debris"):AddItem(prt,5)
  2081. coroutine.resume(coroutine.create(function(Part,Mesh)
  2082. local rtype = rottype
  2083. for i=0,1,delay do
  2084. swait()
  2085. if rtype == 1 then
  2086. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2087. elseif rtype == 2 then
  2088. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2089. end
  2090. Part.Transparency=i
  2091. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2092. end
  2093. Part.Parent=nil
  2094. end),prt,msh)
  2095. end
  2096.  
  2097. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2098. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2099. prt.Anchored=true
  2100. prt.Material = "Neon"
  2101. prt.CFrame=cframe
  2102. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2103. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2104. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2105. game:GetService("Debris"):AddItem(prt,5)
  2106. coroutine.resume(coroutine.create(function(Part,Mesh)
  2107. local rtype = rottype
  2108. for i=0,1,delay do
  2109. swait()
  2110. if rtype == 1 then
  2111. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2112. elseif rtype == 2 then
  2113. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2114. end
  2115. dec.Transparency=i
  2116. dec2.Transparency=i
  2117. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2118. end
  2119. Part.Parent=nil
  2120. end),prt,msh)
  2121. end
  2122.  
  2123. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2124. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2125. prt.Anchored=true
  2126. prt.Material = "Neon"
  2127. prt.CFrame=cframe
  2128. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2129. game:GetService("Debris"):AddItem(prt,5)
  2130. coroutine.resume(coroutine.create(function(Part,Mesh)
  2131. local rtype = rottype
  2132. for i=0,1,delay do
  2133. swait()
  2134. if rtype == 1 then
  2135. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2136. elseif rtype == 2 then
  2137. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2138. end
  2139. prt.Transparency=i
  2140. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2141. end
  2142. Part.Parent=nil
  2143. end),prt,msh)
  2144. end
  2145.  
  2146. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2147. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2148. prt.Anchored=true
  2149. prt.Material = "Neon"
  2150. prt.CFrame=cframe
  2151. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2152. game:GetService("Debris"):AddItem(prt,5)
  2153. coroutine.resume(coroutine.create(function(Part,Mesh)
  2154. local rtype = rottype
  2155. for i=0,1,delay do
  2156. swait()
  2157. if rtype == 1 then
  2158. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2159. elseif rtype == 2 then
  2160. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2161. end
  2162. prt.Transparency=i
  2163. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2164. end
  2165. Part.Parent=nil
  2166. end),prt,msh)
  2167. end
  2168.  
  2169. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2170. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2171. prt.Anchored=true
  2172. prt.Material = "Neon"
  2173. prt.CFrame=cframe
  2174. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2175. game:GetService("Debris"):AddItem(prt,5)
  2176. coroutine.resume(coroutine.create(function(Part,Mesh)
  2177. local rtype = rottype
  2178. for i=0,1,delay do
  2179. swait()
  2180. if rtype == 1 then
  2181. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2182. elseif rtype == 2 then
  2183. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2184. end
  2185. prt.Transparency=i
  2186. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2187. end
  2188. Part.Parent=nil
  2189. end),prt,msh)
  2190. end
  2191.  
  2192. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2193. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2194. prt.Anchored=true
  2195. prt.Material = "Neon"
  2196. prt.CFrame=cframe
  2197. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2198. game:GetService("Debris"):AddItem(prt,5)
  2199. coroutine.resume(coroutine.create(function(Part,Mesh)
  2200. local rtype = rottype
  2201. for i=0,1,delay do
  2202. swait()
  2203. if rtype == 1 then
  2204. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2205. elseif rtype == 2 then
  2206. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2207. end
  2208. prt.Transparency=i
  2209. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2210. end
  2211. Part.Parent=nil
  2212. end),prt,msh)
  2213. end
  2214.  
  2215. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2216. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2217. prt.Anchored=false
  2218. prt.CFrame=cframe
  2219. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2220. local wld=weld(prt,prt,Parent,cframe)
  2221. game:GetService("Debris"):AddItem(prt,5)
  2222. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2223. for i=0,1,delay do
  2224. wait()
  2225. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2226. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2227. Part.Transparency=i
  2228. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2229. end
  2230. Part.Parent=nil
  2231. end),prt,msh,wld)
  2232. end
  2233.  
  2234. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2235. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2236. prt.Anchored=false
  2237. prt.CFrame=cframe
  2238. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2239. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2240. game:GetService("Debris"):AddItem(prt,5)
  2241. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2242. for i=0,1,delay do
  2243. wait()
  2244. Weld.C0=euler(i*20,0,0)
  2245. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2246. Part.Transparency=i
  2247. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2248. end
  2249. Part.Parent=nil
  2250. end),prt,msh,wld)
  2251. end
  2252.  
  2253. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2254. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2255. prt.Anchored=true
  2256. prt.CFrame=cframe
  2257. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2258. game:GetService("Debris"):AddItem(prt,2)
  2259. coroutine.resume(coroutine.create(function(Part,Mesh)
  2260. for i=0,1,delay do
  2261. wait()
  2262. Part.CFrame=Part.CFrame
  2263. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2264. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2265. prt2.Anchored=true
  2266. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2267. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2268. game:GetService("Debris"):AddItem(prt2,2)
  2269. coroutine.resume(coroutine.create(function(Part,Mesh)
  2270. for i=0,1,0.1 do
  2271. wait()
  2272. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2273. end
  2274. Part.Parent=nil
  2275. end),prt2,msh2)
  2276. end
  2277. for i=0,1,delay*2 do
  2278. wait()
  2279. Part.CFrame=Part.CFrame
  2280. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2281. end
  2282. Part.Parent=nil
  2283. end),prt,msh)
  2284. end
  2285.  
  2286. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2287. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2288. prt.Anchored=true
  2289. prt.CFrame=cframe
  2290. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2291. game:GetService("Debris"):AddItem(prt,2)
  2292. coroutine.resume(coroutine.create(function(Part,Mesh)
  2293. for i=0,1,delay do
  2294. wait()
  2295. Part.CFrame=Part.CFrame
  2296. Part.Transparency=i
  2297. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2298. end
  2299. Part.Parent=nil
  2300. end),prt,msh)
  2301. end
  2302.  
  2303. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2304. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2305. prt.Anchored=true
  2306. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2307. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2308. game:GetService("Debris"):AddItem(prt,2)
  2309. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2310. CF=Part.CFrame
  2311. Numbb=0
  2312. randnumb=math.random()/10
  2313. rand1=math.random()/10
  2314. for i=0,1,rand1 do
  2315. wait()
  2316. CF=CF*cf(0,math.random()/2,0)
  2317. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2318. Part.CFrame=CF*euler(Numbb,0,0)
  2319. Part.Transparency=i
  2320. Numbb=Numbb+randnumb
  2321. end
  2322. Part.Parent=nil
  2323. end),prt,CF,Numbb,randnumb)
  2324. end
  2325.  
  2326. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2327. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2328. prt.Anchored=true
  2329. prt.CFrame=cframe
  2330. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2331. game:GetService("Debris"):AddItem(prt,5)
  2332. coroutine.resume(coroutine.create(function(Part,Mesh)
  2333. for i=0,1,delay do
  2334. wait()
  2335. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2336. Part.Transparency=i
  2337. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2338. end
  2339. Part.Parent=nil
  2340. end),prt,msh)
  2341. end
  2342.  
  2343. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2344. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2345. prt.Anchored=true
  2346. prt.CFrame=cframe
  2347. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2348. game:GetService("Debris"):AddItem(prt,2)
  2349. coroutine.resume(coroutine.create(function(Part,Mesh)
  2350. for i=0,1,delay do
  2351. wait()
  2352. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2353. Part.Transparency=i
  2354. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2355. end
  2356. Part.Parent=nil
  2357. end),prt,msh)
  2358. end
  2359.  
  2360. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2361. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2362. prt.Anchored=true
  2363. prt.CFrame=cframe*cf(x,y,z)
  2364. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2365. game:GetService("Debris"):AddItem(prt,5)
  2366. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2367. local num=math.random()
  2368. local num2=math.random(-3,2)+math.random()
  2369. local numm=0
  2370. for i=0,1,delay*2 do
  2371. swait()
  2372. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2373. Part.Transparency=i
  2374. numm=numm+0.01
  2375. end
  2376. Part.Parent=nil
  2377. Mesh.Parent=nil
  2378. end),prt,msh,x,y,z)
  2379. end
  2380.  
  2381. function dmgstart(dmg,what)
  2382. hitcon = what.Touched:connect(function(hit)
  2383. local hum = hit.Parent:FindFirstChild("Humanoid")
  2384. if hum and not hum:IsDescendantOf(Character) then
  2385. hum:TakeDamage(dmg)
  2386. end
  2387. end)
  2388. end
  2389.  
  2390. function dmgstop()
  2391. hitcon:disconnect()
  2392. end
  2393.  
  2394. function Cloak()
  2395. Face.Parent=nil
  2396. cloaked=true
  2397. for _,v in pairs(Torso.Parent:children()) do
  2398. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2399. coroutine.resume(coroutine.create(function()
  2400. for i=0,1,0.2 do
  2401. wait()
  2402. v.Transparency=i
  2403. end
  2404. v.Transparency=1
  2405. end))
  2406. end
  2407. if v.className=="Hat" then
  2408. hatp=v.Handle
  2409. coroutine.resume(coroutine.create(function(derp)
  2410. for i=0,1,0.2 do
  2411. wait()
  2412. derp.Transparency=i
  2413. end
  2414. derp.Transparency=1
  2415. end),hatp)
  2416. end
  2417. end
  2418. for _,v in pairs(m:children()) do
  2419. if v.className=="Part" then
  2420. coroutine.resume(coroutine.create(function()
  2421. for i=0,1,0.2 do
  2422. wait()
  2423. v.Transparency=i
  2424. end
  2425. v.Transparency=1
  2426. end))
  2427. end
  2428. end
  2429. end
  2430.  
  2431. function UnCloak()
  2432. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2433. Face.Parent=Head
  2434. cloaked=false
  2435. for _,v in pairs(Torso.Parent:children()) do
  2436. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2437. coroutine.resume(coroutine.create(function()
  2438. for i=0,1,0.1 do
  2439. wait()
  2440. v.Transparency=v.Transparency-0.1
  2441. end
  2442. v.Transparency=0
  2443. end))
  2444. end
  2445. if v.className=="Hat" then
  2446. hatp=v.Handle
  2447. coroutine.resume(coroutine.create(function(derp)
  2448. for i=0,1,0.1 do
  2449. wait()
  2450. derp.Transparency=derp.Transparency-0.1
  2451. end
  2452. derp.Transparency=0
  2453. end),hatp)
  2454. end
  2455. end
  2456. for _,v in pairs(m:children()) do
  2457. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2458. coroutine.resume(coroutine.create(function()
  2459. for i=0,1,0.1 do
  2460. wait()
  2461. v.Transparency=v.Transparency-0.1
  2462. end
  2463. v.Transparency=0
  2464. end))
  2465. v.Transparency=0
  2466. end
  2467. end
  2468. end
  2469.  
  2470. local origcolor = BrickColor.new("Pastel light blue")
  2471. ---- This section of explosions.
  2472.  
  2473. ----
  2474.  
  2475.  
  2476. function ring(type,pos,scale,value)
  2477. local type = type
  2478. local rng = Instance.new("Part", char)
  2479. rng.Anchored = true
  2480. rng.BrickColor = origcolor
  2481. rng.CanCollide = false
  2482. rng.FormFactor = 3
  2483. rng.Name = "Ring"
  2484. rng.Size = Vector3.new(1, 1, 1)
  2485. rng.Transparency = 0
  2486. rng.TopSurface = 0
  2487. rng.BottomSurface = 0
  2488. rng.CFrame = pos
  2489. local rngm = Instance.new("SpecialMesh", rng)
  2490. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2491. rngm.Scale = scale
  2492. local scaler2 = 1
  2493. if type == "Add" then
  2494. scaler2 = 1*value
  2495. elseif type == "Divide" then
  2496. scaler2 = 1/value
  2497. end
  2498. coroutine.resume(coroutine.create(function()
  2499. for i = 0,10,0.1 do
  2500. swait()
  2501. if type == "Add" then
  2502. scaler2 = scaler2 - 0.01*value
  2503. elseif type == "Divide" then
  2504. scaler2 = scaler2 - 0.01/value
  2505. end
  2506. rng.Transparency = rng.Transparency + 0.01
  2507. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2508. end
  2509. rng:Destroy()
  2510. end))
  2511. end
  2512.  
  2513.  
  2514. function wave(type,pos,scale,value)
  2515. local type = type
  2516. local rng = Instance.new("Part", char)
  2517. rng.Anchored = true
  2518. rng.BrickColor = origcolor
  2519. rng.CanCollide = false
  2520. rng.FormFactor = 3
  2521. rng.Name = "Ring"
  2522. rng.Size = Vector3.new(1, 1, 1)
  2523. rng.Transparency = 0
  2524. rng.TopSurface = 0
  2525. rng.BottomSurface = 0
  2526. rng.CFrame = pos
  2527. local rngm = Instance.new("SpecialMesh", rng)
  2528. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2529. rngm.Scale = scale
  2530. local scaler2 = 1
  2531. if type == "Add" then
  2532. scaler2 = 1*value
  2533. elseif type == "Divide" then
  2534. scaler2 = 1/value
  2535. end
  2536. coroutine.resume(coroutine.create(function()
  2537. for i = 0,10,0.1 do
  2538. swait()
  2539. if type == "Add" then
  2540. scaler2 = scaler2 - 0.01*value
  2541. elseif type == "Divide" then
  2542. scaler2 = scaler2 - 0.01/value
  2543. end
  2544. rng.Transparency = rng.Transparency + 0.01
  2545. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2546. end
  2547. rng:Destroy()
  2548. end))
  2549. end
  2550.  
  2551. function wind(type,pos,scale,value,speed)
  2552. local type = type
  2553. local rng = Instance.new("Part", char)
  2554. rng.Anchored = true
  2555. rng.BrickColor = origcolor
  2556. rng.CanCollide = false
  2557. rng.FormFactor = 3
  2558. rng.Name = "Ring"
  2559. rng.Size = Vector3.new(1, 1, 1)
  2560. rng.Transparency = 0
  2561. rng.TopSurface = 0
  2562. rng.BottomSurface = 0
  2563. rng.CFrame = pos
  2564. local rngm = Instance.new("SpecialMesh", rng)
  2565. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2566. rngm.Scale = scale
  2567. local scaler2 = 1
  2568. if type == "Add" then
  2569. scaler2 = 1*value
  2570. elseif type == "Divide" then
  2571. scaler2 = 1/value
  2572. end
  2573. coroutine.resume(coroutine.create(function()
  2574. for i = 0,10,0.1 do
  2575. swait()
  2576. if type == "Add" then
  2577. scaler2 = scaler2 - 0.01*value
  2578. elseif type == "Divide" then
  2579. scaler2 = scaler2 - 0.01/value
  2580. end
  2581. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2582. rng.Transparency = rng.Transparency + 0.01
  2583. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2584. end
  2585. rng:Destroy()
  2586. end))
  2587. end
  2588.  
  2589. function groundwind(type,pos,scale,value,speed)
  2590. local type = type
  2591. local rng = Instance.new("Part", char)
  2592. rng.Anchored = true
  2593. rng.BrickColor = origcolor
  2594. rng.CanCollide = false
  2595. rng.FormFactor = 3
  2596. rng.Name = "Ring"
  2597. rng.Size = Vector3.new(1, 1, 1)
  2598. rng.Transparency = 0
  2599. rng.TopSurface = 0
  2600. rng.BottomSurface = 0
  2601. rng.CFrame = pos
  2602. local rngm = Instance.new("SpecialMesh", rng)
  2603. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2604. rngm.Scale = scale
  2605. local scaler2 = 1
  2606. if type == "Add" then
  2607. scaler2 = 1*value
  2608. elseif type == "Divide" then
  2609. scaler2 = 1/value
  2610. end
  2611. coroutine.resume(coroutine.create(function()
  2612. for i = 0,10,0.1 do
  2613. swait()
  2614. if type == "Add" then
  2615. scaler2 = scaler2 - 0.01*value
  2616. elseif type == "Divide" then
  2617. scaler2 = scaler2 - 0.01/value
  2618. end
  2619. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2620. rng.Transparency = rng.Transparency + 0.01
  2621. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2622. end
  2623. rng:Destroy()
  2624. end))
  2625. end
  2626.  
  2627. function CameraManager()
  2628. if TwoD and not CamInterrupt then
  2629. if Humanoid.Health > 0 then
  2630. Camera.CameraSubject = Humanoid
  2631. Camera.CameraType = "Scriptable"
  2632. Humanoid.AutoRotate = false
  2633. if Booleans.GyroUse then
  2634. Directer.MaxTorque = Vec3(0, huge, 0)
  2635. else
  2636. Directer.MaxTorque = Vec3(0, 0, 0)
  2637. end
  2638. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2639. if Booleans.CamFollow then
  2640. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2641. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2642. else
  2643. CPart.Position = RootPart.Position
  2644. end
  2645. else
  2646. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2647. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2648. end
  2649. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2650. else
  2651. Camera.CameraSubject = Humanoid
  2652. Camera.CameraType = "Custom"
  2653. Controller.Disabled = false
  2654. end
  2655. end
  2656. end
  2657.  
  2658. function ring(type,pos,scale,value)
  2659. local type = type
  2660. local rng = Instance.new("Part", char)
  2661. rng.Anchored = true
  2662. rng.BrickColor = origcolor
  2663. rng.CanCollide = false
  2664. rng.FormFactor = 3
  2665. rng.Name = "Ring"
  2666. rng.Size = Vector3.new(1, 1, 1)
  2667. rng.Transparency = 0
  2668. rng.TopSurface = 0
  2669. rng.BottomSurface = 0
  2670. rng.CFrame = pos
  2671. local rngm = Instance.new("SpecialMesh", rng)
  2672. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2673. rngm.Scale = scale
  2674. local scaler2 = 1
  2675. if type == "Add" then
  2676. scaler2 = 1*value
  2677. elseif type == "Divide" then
  2678. scaler2 = 1/value
  2679. end
  2680. coroutine.resume(coroutine.create(function()
  2681. for i = 0,10,0.1 do
  2682. swait()
  2683. if type == "Add" then
  2684. scaler2 = scaler2 - 0.01*value
  2685. elseif type == "Divide" then
  2686. scaler2 = scaler2 - 0.01/value
  2687. end
  2688. rng.Transparency = rng.Transparency + 0.01
  2689. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2690. end
  2691. rng:Destroy()
  2692. end))
  2693. end
  2694.  
  2695.  
  2696. function wave(type,pos,scale,value)
  2697. local type = type
  2698. local rng = Instance.new("Part", char)
  2699. rng.Anchored = true
  2700. rng.BrickColor = origcolor
  2701. rng.CanCollide = false
  2702. rng.FormFactor = 3
  2703. rng.Name = "Ring"
  2704. rng.Size = Vector3.new(1, 1, 1)
  2705. rng.Transparency = 0
  2706. rng.TopSurface = 0
  2707. rng.BottomSurface = 0
  2708. rng.CFrame = pos
  2709. local rngm = Instance.new("SpecialMesh", rng)
  2710. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2711. rngm.Scale = scale
  2712. local scaler2 = 1
  2713. if type == "Add" then
  2714. scaler2 = 1*value
  2715. elseif type == "Divide" then
  2716. scaler2 = 1/value
  2717. end
  2718. coroutine.resume(coroutine.create(function()
  2719. for i = 0,10,0.1 do
  2720. swait()
  2721. if type == "Add" then
  2722. scaler2 = scaler2 - 0.01*value
  2723. elseif type == "Divide" then
  2724. scaler2 = scaler2 - 0.01/value
  2725. end
  2726. rng.Transparency = rng.Transparency + 0.01
  2727. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2728. end
  2729. rng:Destroy()
  2730. end))
  2731. end
  2732.  
  2733. function sphere(bonuspeed,type,pos,scale,value,color)
  2734. local type = type
  2735. local rng = Instance.new("Part", char)
  2736. rng.Anchored = true
  2737. if ModeOfGlitch ~= 9 then
  2738. rng.BrickColor = color
  2739. elseif ModeOfGlitch == 9 then
  2740. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2741. end
  2742. rng.CanCollide = false
  2743. rng.FormFactor = 3
  2744. rng.Name = "Ring"
  2745. rng.Material = "Neon"
  2746. rng.Size = Vector3.new(1, 1, 1)
  2747. rng.Transparency = 0
  2748. rng.TopSurface = 0
  2749. rng.BottomSurface = 0
  2750. rng.CFrame = pos
  2751. local rngm = Instance.new("SpecialMesh", rng)
  2752. rngm.MeshType = "Sphere"
  2753. rngm.Scale = scale
  2754. if rainbowmode == true then
  2755. rng.Color = Color3.new(r/255,g/255,b/255)
  2756. end
  2757. if ModeOfGlitch == 9 then
  2758. coroutine.resume(coroutine.create(function()
  2759. while true do
  2760. swait()
  2761. if rng.Parent ~= nil then
  2762. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2763. else
  2764. break
  2765. end
  2766. end
  2767. end))
  2768. end
  2769. local scaler2 = 1
  2770. if type == "Add" then
  2771. scaler2 = 1*value
  2772. elseif type == "Divide" then
  2773. scaler2 = 1/value
  2774. end
  2775. coroutine.resume(coroutine.create(function()
  2776. for i = 0,10/bonuspeed,0.1 do
  2777. swait()
  2778. if rainbowmode == true then
  2779. rng.Color = Color3.new(r/255,g/255,b/255)
  2780. end
  2781. if type == "Add" then
  2782. scaler2 = scaler2 - 0.01*value/bonuspeed
  2783. elseif type == "Divide" then
  2784. scaler2 = scaler2 - 0.01/value*bonuspeed
  2785. end
  2786. if chaosmode == true then
  2787. rng.BrickColor = BrickColor.random()
  2788. end
  2789. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2790. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2791. end
  2792. rng:Destroy()
  2793. end))
  2794. end
  2795.  
  2796. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  2797. local type = type
  2798. local rng = Instance.new("Part", char)
  2799. rng.Anchored = true
  2800. if ModeOfGlitch ~= 9 then
  2801. rng.BrickColor = color
  2802. elseif ModeOfGlitch == 9 then
  2803. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2804. end
  2805. rng.CanCollide = false
  2806. rng.FormFactor = 3
  2807. rng.Name = "Ring"
  2808. rng.Material = "Neon"
  2809. rng.Size = Vector3.new(1, 1, 1)
  2810. rng.Transparency = 0
  2811. rng.TopSurface = 0
  2812. rng.BottomSurface = 0
  2813. rng.CFrame = pos
  2814. local rngm = Instance.new("SpecialMesh", rng)
  2815. rngm.MeshType = "Sphere"
  2816. rngm.Scale = scale
  2817. local scaler2 = 1
  2818. local scaler2b = 1
  2819. local scaler2c = 1
  2820. if type == "Add" then
  2821. scaler2 = 1*value
  2822. scaler2b = 1*value2
  2823. scaler2c = 1*value3
  2824. elseif type == "Divide" then
  2825. scaler2 = 1/value
  2826. scaler2b = 1/value2
  2827. scaler2c = 1/value3
  2828. end
  2829. if ModeOfGlitch == 9 then
  2830. coroutine.resume(coroutine.create(function()
  2831. while true do
  2832. swait()
  2833. if rng.Parent ~= nil then
  2834. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2835. else
  2836. break
  2837. end
  2838. end
  2839. end))
  2840. end
  2841. coroutine.resume(coroutine.create(function()
  2842. for i = 0,10/bonuspeed,0.1 do
  2843. swait()
  2844. if type == "Add" then
  2845. scaler2 = scaler2 - 0.01*value/bonuspeed
  2846. scaler2b = scaler2b - 0.01*value/bonuspeed
  2847. scaler2c = scaler2c - 0.01*value/bonuspeed
  2848. elseif type == "Divide" then
  2849. scaler2 = scaler2 - 0.01/value*bonuspeed
  2850. scaler2b = scaler2b - 0.01/value*bonuspeed
  2851. scaler2c = scaler2c - 0.01/value*bonuspeed
  2852. end
  2853. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2854. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2855. end
  2856. rng:Destroy()
  2857. end))
  2858. end
  2859.  
  2860. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  2861. local type = type
  2862. local rotenable = rotatingop
  2863. local rng = Instance.new("Part", char)
  2864. rng.Anchored = true
  2865. rng.BrickColor = color
  2866. rng.CanCollide = false
  2867. rng.FormFactor = 3
  2868. rng.Name = "Ring"
  2869. rng.Material = "Neon"
  2870. rng.Size = Vector3.new(1, 1, 1)
  2871. rng.Transparency = 0
  2872. if typeoftrans == "In" then
  2873. rng.Transparency = 1
  2874. end
  2875. rng.TopSurface = 0
  2876. rng.BottomSurface = 0
  2877. rng.CFrame = pos
  2878. local rngm = Instance.new("SpecialMesh", rng)
  2879. rngm.MeshType = "FileMesh"
  2880. if typeofshape == "Normal" then
  2881. rngm.MeshId = "rbxassetid://662586858"
  2882. elseif typeofshape == "Round" then
  2883. rngm.MeshId = "rbxassetid://662585058"
  2884. end
  2885. rngm.Scale = scale
  2886. local scaler2 = 1/10
  2887. if type == "Add" then
  2888. scaler2 = 1*value/10
  2889. elseif type == "Divide" then
  2890. scaler2 = 1/value/10
  2891. end
  2892. local randomrot = math.random(1,2)
  2893. coroutine.resume(coroutine.create(function()
  2894. for i = 0,10/bonuspeed,0.1 do
  2895. swait()
  2896. if type == "Add" then
  2897. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  2898. elseif type == "Divide" then
  2899. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  2900. end
  2901. if rotenable == true then
  2902. if randomrot == 1 then
  2903. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  2904. elseif randomrot == 2 then
  2905. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  2906. end
  2907. end
  2908. if typeoftrans == "Out" then
  2909. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2910. elseif typeoftrans == "In" then
  2911. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2912. end
  2913. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  2914. end
  2915. rng:Destroy()
  2916. end))
  2917. end
  2918.  
  2919. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2920. local type = type
  2921. local rng = Instance.new("Part", char)
  2922. rng.Anchored = true
  2923. rng.BrickColor = color
  2924. rng.CanCollide = false
  2925. rng.FormFactor = 3
  2926. rng.Name = "Ring"
  2927. rng.Material = "Neon"
  2928. rng.Size = Vector3.new(1, 1, 1)
  2929. rng.Transparency = 0
  2930. rng.TopSurface = 0
  2931. rng.BottomSurface = 0
  2932. rng.CFrame = pos
  2933. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2934. local rngm = Instance.new("SpecialMesh", rng)
  2935. rngm.MeshType = "Brick"
  2936. rngm.Scale = vt(x1,y1,z1)
  2937. if rainbowmode == true then
  2938. rng.Color = Color3.new(r/255,g/255,b/255)
  2939. end
  2940. local scaler2 = 1
  2941. local speeder = FastSpeed/10
  2942. if type == "Add" then
  2943. scaler2 = 1*value
  2944. elseif type == "Divide" then
  2945. scaler2 = 1/value
  2946. end
  2947. coroutine.resume(coroutine.create(function()
  2948. for i = 0,10/bonuspeed,0.1 do
  2949. swait()
  2950. if rainbowmode == true then
  2951. rng.Color = Color3.new(r/255,g/255,b/255)
  2952. end
  2953. if type == "Add" then
  2954. scaler2 = scaler2 - 0.01*value/bonuspeed
  2955. elseif type == "Divide" then
  2956. scaler2 = scaler2 - 0.01/value*bonuspeed
  2957. end
  2958. if chaosmode == true then
  2959. rng.BrickColor = BrickColor.random()
  2960. end
  2961. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2962. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2963. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2964. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2965. end
  2966. rng:Destroy()
  2967. end))
  2968. end
  2969.  
  2970. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2971. local type = type
  2972. local rng = Instance.new("Part", char)
  2973. rng.Anchored = true
  2974. rng.BrickColor = color
  2975. rng.CanCollide = false
  2976. rng.FormFactor = 3
  2977. rng.Name = "Ring"
  2978. rng.Material = "Neon"
  2979. rng.Size = Vector3.new(1, 1, 1)
  2980. rng.Transparency = 0
  2981. rng.TopSurface = 0
  2982. rng.BottomSurface = 0
  2983. rng.CFrame = pos
  2984. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2985. local rngm = Instance.new("SpecialMesh", rng)
  2986. rngm.MeshType = "Brick"
  2987. rngm.Scale = vt(x1,y1,z1)
  2988. if rainbowmode == true then
  2989. rng.Color = Color3.new(r/255,g/255,b/255)
  2990. end
  2991. local scaler2 = 1
  2992. local speeder = FastSpeed/10
  2993. if type == "Add" then
  2994. scaler2 = 1*value
  2995. elseif type == "Divide" then
  2996. scaler2 = 1/value
  2997. end
  2998. coroutine.resume(coroutine.create(function()
  2999. for i = 0,10/bonuspeed,0.1 do
  3000. swait()
  3001. if rainbowmode == true then
  3002. rng.Color = Color3.new(r/255,g/255,b/255)
  3003. end
  3004. if type == "Add" then
  3005. scaler2 = scaler2 - 0.01*value/bonuspeed
  3006. elseif type == "Divide" then
  3007. scaler2 = scaler2 - 0.01/value*bonuspeed
  3008. end
  3009. if chaosmode == true then
  3010. rng.BrickColor = BrickColor.random()
  3011. end
  3012. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3013. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3014. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3015. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3016. end
  3017. rng:Destroy()
  3018. end))
  3019. end
  3020.  
  3021. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3022. local type = type
  3023. local rng = Instance.new("Part", char)
  3024. rng.Anchored = true
  3025. rng.BrickColor = color
  3026. rng.CanCollide = false
  3027. rng.FormFactor = 3
  3028. rng.Name = "Ring"
  3029. rng.Material = "Neon"
  3030. rng.Size = Vector3.new(1, 1, 1)
  3031. rng.Transparency = 0
  3032. rng.TopSurface = 0
  3033. rng.BottomSurface = 0
  3034. rng.CFrame = pos
  3035. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3036. local rngm = Instance.new("SpecialMesh", rng)
  3037. rngm.MeshType = "Brick"
  3038. rngm.Scale = vt(x1,y1,z1)
  3039. if rainbowmode == true then
  3040. rng.Color = Color3.new(r/255,g/255,b/255)
  3041. end
  3042. local scaler2 = 0
  3043. local speeder = FastSpeed/10
  3044. if type == "Add" then
  3045. scaler2 = 1*value
  3046. elseif type == "Divide" then
  3047. scaler2 = 1/value
  3048. end
  3049. coroutine.resume(coroutine.create(function()
  3050. for i = 0,10/bonuspeed,0.1 do
  3051. swait()
  3052. if rainbowmode == true then
  3053. rng.Color = Color3.new(r/255,g/255,b/255)
  3054. end
  3055. if type == "Add" then
  3056. scaler2 = scaler2 - 0.01*value/bonuspeed
  3057. elseif type == "Divide" then
  3058. scaler2 = scaler2 - 0.01/value*bonuspeed
  3059. end
  3060. if chaosmode == true then
  3061. rng.BrickColor = BrickColor.random()
  3062. end
  3063. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3064. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3065. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3066. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3067. end
  3068. rng:Destroy()
  3069. end))
  3070. end
  3071.  
  3072. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3073. local type = type
  3074. local rng = Instance.new("Part", char)
  3075. rng.Anchored = true
  3076. rng.BrickColor = color
  3077. rng.Color = color3
  3078. rng.CanCollide = false
  3079. rng.FormFactor = 3
  3080. rng.Name = "Ring"
  3081. rng.Material = "Neon"
  3082. rng.Size = Vector3.new(1, 1, 1)
  3083. rng.Transparency = 0
  3084. rng.TopSurface = 0
  3085. rng.BottomSurface = 0
  3086. rng.CFrame = pos
  3087. local rngm = Instance.new("SpecialMesh", rng)
  3088. rngm.MeshType = "Brick"
  3089. rngm.Scale = scale
  3090. local scaler2 = 1
  3091. local scaler2b = 1
  3092. local scaler2c = 1
  3093. if type == "Add" then
  3094. scaler2 = 1*value
  3095. scaler2b = 1*value2
  3096. scaler2c = 1*value3
  3097. elseif type == "Divide" then
  3098. scaler2 = 1/value
  3099. scaler2b = 1/value2
  3100. scaler2c = 1/value3
  3101. end
  3102. coroutine.resume(coroutine.create(function()
  3103. for i = 0,10/bonuspeed,0.1 do
  3104. swait()
  3105. if type == "Add" then
  3106. scaler2 = scaler2 - 0.01*value/bonuspeed
  3107. scaler2b = scaler2b - 0.01*value/bonuspeed
  3108. scaler2c = scaler2c - 0.01*value/bonuspeed
  3109. elseif type == "Divide" then
  3110. scaler2 = scaler2 - 0.01/value*bonuspeed
  3111. scaler2b = scaler2b - 0.01/value*bonuspeed
  3112. scaler2c = scaler2c - 0.01/value*bonuspeed
  3113. end
  3114. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3115. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3116. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3117. end
  3118. rng:Destroy()
  3119. end))
  3120. end
  3121.  
  3122. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3123. local type = type
  3124. local rng = Instance.new("Part", char)
  3125. rng.Anchored = true
  3126. if ModeOfGlitch ~= 9 then
  3127. rng.BrickColor = color
  3128. elseif ModeOfGlitch == 9 then
  3129. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3130. end
  3131. rng.CanCollide = false
  3132. rng.FormFactor = 3
  3133. rng.Name = "Ring"
  3134. rng.Material = "Neon"
  3135. rng.Size = Vector3.new(1, 1, 1)
  3136. rng.Transparency = 0
  3137. rng.TopSurface = 0
  3138. rng.BottomSurface = 0
  3139. rng.CFrame = pos
  3140. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3141. local rngm = Instance.new("SpecialMesh", rng)
  3142. rngm.MeshType = "Sphere"
  3143. rngm.Scale = vt(x1,y1,z1)
  3144. if rainbowmode == true then
  3145. rng.Color = Color3.new(r/255,g/255,b/255)
  3146. end
  3147. if ModeOfGlitch == 9 then
  3148. coroutine.resume(coroutine.create(function()
  3149. while true do
  3150. swait()
  3151. if rng.Parent ~= nil then
  3152. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3153. else
  3154. break
  3155. end
  3156. end
  3157. end))
  3158. end
  3159. local scaler2 = 1
  3160. local speeder = FastSpeed
  3161. if type == "Add" then
  3162. scaler2 = 1*value
  3163. elseif type == "Divide" then
  3164. scaler2 = 1/value
  3165. end
  3166. coroutine.resume(coroutine.create(function()
  3167. for i = 0,10/bonuspeed,0.1 do
  3168. swait()
  3169. if rainbowmode == true then
  3170. rng.Color = Color3.new(r/255,g/255,b/255)
  3171. end
  3172. if type == "Add" then
  3173. scaler2 = scaler2 - 0.01*value/bonuspeed
  3174. elseif type == "Divide" then
  3175. scaler2 = scaler2 - 0.01/value*bonuspeed
  3176. end
  3177. if chaosmode == true then
  3178. rng.BrickColor = BrickColor.random()
  3179. end
  3180. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3181. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3182. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3183. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3184. end
  3185. rng:Destroy()
  3186. end))
  3187. end
  3188.  
  3189.  
  3190. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3191. local type = type
  3192. local rng = Instance.new("Part", char)
  3193. rng.Anchored = true
  3194. if ModeOfGlitch ~= 9 then
  3195. rng.BrickColor = color
  3196. elseif ModeOfGlitch == 9 then
  3197. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3198. end
  3199. rng.CanCollide = false
  3200. rng.FormFactor = 3
  3201. rng.Name = "Ring"
  3202. rng.Material = "Neon"
  3203. rng.Size = Vector3.new(1, 1, 1)
  3204. rng.Transparency = 1
  3205. rng.TopSurface = 0
  3206. rng.BottomSurface = 0
  3207. rng.CFrame = pos
  3208. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3209. local rngm = Instance.new("SpecialMesh", rng)
  3210. rngm.MeshType = "Sphere"
  3211. rngm.Scale = vt(x1,y1,z1)
  3212. if rainbowmode == true then
  3213. rng.Color = Color3.new(r/255,g/255,b/255)
  3214. end
  3215. if ModeOfGlitch == 9 then
  3216. coroutine.resume(coroutine.create(function()
  3217. while true do
  3218. swait()
  3219. if rng.Parent ~= nil then
  3220. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3221. else
  3222. break
  3223. end
  3224. end
  3225. end))
  3226. end
  3227. local scaler2 = 1
  3228. local speeder = FastSpeed
  3229. if type == "Add" then
  3230. scaler2 = 1*value
  3231. elseif type == "Divide" then
  3232. scaler2 = 1/value
  3233. end
  3234. coroutine.resume(coroutine.create(function()
  3235. for i = 0,10/bonuspeed,0.1 do
  3236. swait()
  3237. if rainbowmode == true then
  3238. rng.Color = Color3.new(r/255,g/255,b/255)
  3239. end
  3240. if type == "Add" then
  3241. scaler2 = scaler2 - 0.01*value/bonuspeed
  3242. elseif type == "Divide" then
  3243. scaler2 = scaler2 - 0.01/value*bonuspeed
  3244. end
  3245. if chaosmode == true then
  3246. rng.BrickColor = BrickColor.random()
  3247. end
  3248. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3249. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3250. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3251. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3252. end
  3253. rng:Destroy()
  3254. end))
  3255. end
  3256.  
  3257. function dmg(dude)
  3258. if dude.Name ~= Character then
  3259. local keptcolor = MAINRUINCOLOR
  3260. local bgf = Instance.new("BodyGyro",dude.Head)
  3261. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3262. --[[local val = Instance.new("BoolValue",dude)
  3263. val.Name = "IsHit"]]--
  3264. local ds = coroutine.wrap(function()
  3265. dude:WaitForChild("Head"):BreakJoints()
  3266. for i, v in pairs(dude:GetChildren()) do
  3267. if v:IsA("Part") or v:IsA("MeshPart") then
  3268. v.Name = "DEMINISHED"
  3269. end
  3270. end
  3271. wait(0.5)
  3272. targetted = nil
  3273. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  3274. coroutine.resume(coroutine.create(function()
  3275. for i, v in pairs(dude:GetChildren()) do
  3276. if v:IsA("Accessory") then
  3277. v:Destroy()
  3278. end
  3279. if v:IsA("Humanoid") then
  3280. v:Destroy()
  3281. end
  3282. if v:IsA("CharacterMesh") then
  3283. v:Destroy()
  3284. end
  3285. if v:IsA("Model") then
  3286. v:Destroy()
  3287. end
  3288. if v:IsA("Part") or v:IsA("MeshPart") then
  3289. for x, o in pairs(v:GetChildren()) do
  3290. if o:IsA("Decal") then
  3291. o:Destroy()
  3292. end
  3293. end
  3294. coroutine.resume(coroutine.create(function()
  3295. v.Material = "Neon"
  3296. v.CanCollide = false
  3297. v.Anchored = false
  3298. local bld = Instance.new("ParticleEmitter",v)
  3299. bld.LightEmission = 0.75
  3300. bld.Texture = "rbxassetid://363275192" ---284205403
  3301. bld.Color = ColorSequence.new(keptcolor.Color)
  3302. bld.Rate = 500
  3303. bld.Lifetime = NumberRange.new(1)
  3304. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3305. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3306. bld.Speed = NumberRange.new(2,5)
  3307. bld.VelocitySpread = 50000
  3308. bld.Rotation = NumberRange.new(-500,500)
  3309. bld.RotSpeed = NumberRange.new(-500,500)
  3310. local sbs = Instance.new("BodyPosition", v)
  3311. sbs.P = 3000
  3312. sbs.D = 1000
  3313. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3314. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3315. v.Color = keptcolor.Color
  3316. coroutine.resume(coroutine.create(function()
  3317. for i = 0, 49 do
  3318. swait(1)
  3319. v:BreakJoints()
  3320. v.Transparency = v.Transparency + 0.02
  3321. end
  3322. v:BreakJoints()
  3323. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3324. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3325. bld.Speed = NumberRange.new(10,25)
  3326. bld.Drag = 5
  3327. bld.Acceleration = vt(0,2,0)
  3328. wait(0.5)
  3329. bld.Enabled = false
  3330. wait(8)
  3331. v:Destroy()
  3332. dude:Destroy()
  3333. end))
  3334. end))
  3335. end
  3336. end
  3337. end))
  3338. end)
  3339. ds()
  3340. end
  3341. end
  3342.  
  3343.  
  3344. function FindNearestHead(Position, Distance, SinglePlayer)
  3345. if SinglePlayer then
  3346. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3347. end
  3348. local List = {}
  3349. for i, v in pairs(workspace:GetChildren()) do
  3350. if v:IsA("Model") then
  3351. if v:findFirstChild("Head") then
  3352. if v ~= Character then
  3353. if (v.Head.Position - Position).magnitude <= Distance then
  3354. table.insert(List, v)
  3355. end
  3356. end
  3357. end
  3358. end
  3359. end
  3360. return List
  3361. end
  3362.  
  3363. function FaceMouse()
  3364. Cam = workspace.CurrentCamera
  3365. return {
  3366. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3367. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3368. }
  3369. end
  3370.  
  3371. function FaceMouse2()
  3372. Cam = workspace.CurrentCamera
  3373. return {
  3374. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3375. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3376. }
  3377. end
  3378.  
  3379. local ModeOfGlitch = 1
  3380. -- Functions are ready.
  3381. local storehumanoidWS = 16
  3382.  
  3383. function CorruptBlink()
  3384. for i = 0, 14 do
  3385. 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)
  3386. end
  3387. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3388. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3389. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3390. CameraEnshaking(2,10)
  3391. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3392. if v:FindFirstChild('Head') then
  3393. dmg(v)
  3394. end
  3395. end
  3396. for i = 0, 14 do
  3397. 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)
  3398. end
  3399. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3400. end
  3401. function PureBomb()
  3402. attack = true
  3403. hum.WalkSpeed = 0
  3404. local orb = Instance.new("Part", char)
  3405. orb.Anchored = true
  3406. orb.BrickColor = BrickColor.new("Toothpaste")
  3407. orb.CanCollide = false
  3408. orb.FormFactor = 3
  3409. orb.Name = "Ring"
  3410. orb.Material = "Neon"
  3411. orb.Size = Vector3.new(1, 1, 1)
  3412. orb.Transparency = 0
  3413. orb.TopSurface = 0
  3414. orb.BottomSurface = 0
  3415. local orbm = Instance.new("SpecialMesh", orb)
  3416. orbm.MeshType = "Sphere"
  3417. orbm.Name = "SizeMesh"
  3418. orbm.Scale = vt(0,0,0)
  3419. local scaled = 0.1
  3420. local posid = 0
  3421. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3422. for i = 0, 5, 0.1 do
  3423. swait()
  3424. scaled = scaled - 0.001
  3425. posid = posid - scaled
  3426. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3427. local scaled = 0.1
  3428. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3429. 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)
  3430. 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)
  3431. 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)
  3432. 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)
  3433. 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)
  3434. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3435. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3436. 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)
  3437. end
  3438. for i = 0, 2, 0.1 do
  3439. swait()
  3440. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3441. 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)
  3442. 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)
  3443. 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)
  3444. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3445. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3446. 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)
  3447. end
  3448. coroutine.resume(coroutine.create(function()
  3449. orb.Anchored = false
  3450. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3451. local a = Instance.new("Part",workspace)
  3452. a.Name = "Direction"
  3453. a.Anchored = true
  3454. a.BrickColor = bc("Bright red")
  3455. a.Material = "Neon"
  3456. a.Transparency = 1
  3457. a.CanCollide = false
  3458. local ray = Ray.new(
  3459. orb.CFrame.p, -- origin
  3460. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3461. )
  3462. local ignore = orb
  3463. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3464. a.BottomSurface = 10
  3465. a.TopSurface = 10
  3466. local distance = (orb.CFrame.p - position).magnitude
  3467. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3468. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3469. orb.CFrame = a.CFrame
  3470. a:Destroy()
  3471. local bv = Instance.new("BodyVelocity")
  3472. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3473. bv.velocity = orb.CFrame.lookVector*125
  3474. bv.Parent = orb
  3475. local hitted = false
  3476. game:GetService("Debris"):AddItem(orb, 15)
  3477. wait()
  3478. local hit =orb.Touched:connect(function(hit)
  3479. if hitted == false then
  3480. hitted = true
  3481. CameraEnshaking(10,2.5)
  3482. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3483. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3484. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3485. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3486. for i = 0, 49 do
  3487. 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)
  3488. end
  3489. for i = 0, 9 do
  3490. 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)
  3491. 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)
  3492. end
  3493. orb.Anchored = true
  3494. orb.Transparency = 1
  3495. wait(8)
  3496. orb:Destroy()
  3497. end
  3498. end)
  3499. end))
  3500. for i = 0, 1, 0.1 do
  3501. swait()
  3502. 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)
  3503. 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)
  3504. 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)
  3505. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3506. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3507. 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)
  3508. end
  3509. hum.WalkSpeed = storehumanoidWS
  3510. attack = false
  3511. end
  3512.  
  3513. function BanishingOrb()
  3514. attack = true
  3515. hum.WalkSpeed = 0
  3516. local radm = math.random(1,3)
  3517. if radm == 1 then
  3518. bosschatfunc("Let it's go..",MAINRUINCOLOR.Color,1)
  3519. elseif radm == 2 then
  3520. bosschatfunc("So this is it..",MAINRUINCOLOR.Color,1)
  3521. elseif radm == 3 then
  3522. bosschatfunc("I have enough thing..",MAINRUINCOLOR.Color,1)
  3523. end
  3524. CFuncs["EchoSound"].Create("rbxassetid://1535994940", char, 5, 1,0,10,0.15,0.5,1)
  3525. CFuncs["EchoSound"].Create("rbxassetid://1535994940", root, 60, 1,0,10,0.15,0.5,1)
  3526. local orb = Instance.new("Part", char)
  3527. orb.Anchored = true
  3528. orb.BrickColor = BrickColor.new("Lime green")
  3529. orb.CanCollide = false
  3530. orb.FormFactor = 3
  3531. orb.Name = "Ring"
  3532. orb.Material = "Neon"
  3533. orb.Size = Vector3.new(1, 1, 1)
  3534. orb.Transparency = 0
  3535. orb.TopSurface = 0
  3536. orb.BottomSurface = 0
  3537. local orbm = Instance.new("SpecialMesh", orb)
  3538. orbm.MeshType = "Sphere"
  3539. orbm.Name = "SizeMesh"
  3540. orbm.Scale = vt(0,0,0)
  3541. local scaled = 0.1
  3542. local posid = 0
  3543. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
  3544. for i = 0, 5, 0.1 do
  3545. swait()
  3546. scaled = scaled - 0.001
  3547. posid = posid - scaled
  3548. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3549. local scaled = 0.1
  3550. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3551. 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)
  3552. 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)
  3553. 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)
  3554. 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)
  3555. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3556. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3557. 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)
  3558. end
  3559. for i = 0, 2, 0.1 do
  3560. swait()
  3561. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3562. 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)
  3563. 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)
  3564. 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)
  3565. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3566. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3567. 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)
  3568. end
  3569. coroutine.resume(coroutine.create(function()
  3570. orb.Anchored = false
  3571. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
  3572. local a = Instance.new("Part",workspace)
  3573. a.Name = "Direction"
  3574. a.Anchored = true
  3575. a.BrickColor = bc("Lime green")
  3576. a.Material = "Neon"
  3577. a.Transparency = 1
  3578. a.CanCollide = false
  3579. local ray = Ray.new(
  3580. orb.CFrame.p, -- origin
  3581. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3582. )
  3583. local ignore = orb
  3584. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3585. a.BottomSurface = 10
  3586. a.TopSurface = 10
  3587. local distance = (orb.CFrame.p - position).magnitude
  3588. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3589. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3590. orb.CFrame = a.CFrame
  3591. a:Destroy()
  3592. local bv = Instance.new("BodyVelocity")
  3593. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3594. bv.velocity = orb.CFrame.lookVector*0
  3595. bv.Parent = orb
  3596. local hitted = false
  3597. local rate = 0
  3598. coroutine.resume(coroutine.create(function()
  3599. for i = 0, 24 do
  3600. wait(0.1)
  3601. rate = rate + 0.25
  3602. bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
  3603. for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
  3604. if v:FindFirstChild('Head') then
  3605. dmg(v)
  3606. end
  3607. end
  3608. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
  3609. sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,bc"Lime green")
  3610. sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  3611. end
  3612. orb.Anchored = true
  3613. orb.Transparency = 1
  3614. for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
  3615. if v:FindFirstChild('Head') then
  3616. dmg(v)
  3617. end
  3618. end
  3619. local eff = Instance.new("ParticleEmitter",orb)
  3620. eff.Texture = "rbxassetid://296874871"
  3621. eff.LightEmission = 0.95
  3622. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3623. eff.Rate = 1000000000
  3624. eff.Lifetime = NumberRange.new(3)
  3625. 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)})
  3626. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3627. eff.Speed = NumberRange.new(30)
  3628. eff.Acceleration = vt(0,-15,0)
  3629. eff.Rotation = NumberRange.new(-500,500)
  3630. eff.VelocitySpread = 100000
  3631. eff.RotSpeed = NumberRange.new(-500,500)
  3632. coroutine.resume(coroutine.create(function()
  3633. wait(0.6)
  3634. eff.Enabled = false
  3635. end))
  3636. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
  3637. CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
  3638. sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,bc"Lime green")
  3639. sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3640. sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
  3641. game:GetService("Debris"):AddItem(orb, 15)
  3642. end))
  3643. end))
  3644. for i = 0, 1, 0.1 do
  3645. swait()
  3646. 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)
  3647. 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)
  3648. 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)
  3649. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3650. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3651. 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)
  3652. end
  3653. hum.WalkSpeed = storehumanoidWS
  3654. attack = false
  3655. end
  3656.  
  3657.  
  3658. function ChaosGroundStrike()
  3659. attack = true
  3660. for i = 0, 2, 0.1 do
  3661. swait()
  3662. 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)
  3663. 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)
  3664. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3665. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3666. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3667. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3668. end
  3669. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3670. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3671. CameraEnshaking(4,12)
  3672. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3673. if v:FindFirstChild('Head') then
  3674. dmg(v)
  3675. end
  3676. end
  3677. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3678. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3679. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3680. for i = 0, 2, 0.1 do
  3681. swait()
  3682. 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)
  3683. 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)
  3684. 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)
  3685. 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)
  3686. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3687. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3688. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3689. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3690. end
  3691. attack = false
  3692. end
  3693.  
  3694.  
  3695.  
  3696. function Starfall()
  3697. attack = true
  3698. hum.WalkSpeed = 0
  3699. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3700. for i = 0, 5, 0.1 do
  3701. swait()
  3702. 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)
  3703. 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)
  3704. 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)
  3705. 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)
  3706. 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)
  3707. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3708. 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)
  3709. 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)
  3710. end
  3711. local Overed = false
  3712. CameraEnshaking(2,20)
  3713. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3714. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3715. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3716. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3717. local orb = Instance.new("Part", char)
  3718. orb.Anchored = true
  3719. orb.BrickColor = BrickColor.new("Toothpaste")
  3720. orb.CanCollide = false
  3721. orb.FormFactor = 3
  3722. orb.Name = "Remenant"
  3723. orb.Material = "Neon"
  3724. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3725. orb.Size = Vector3.new(1, 1, 1)
  3726. orb.Transparency = 1
  3727. orb.TopSurface = 0
  3728. orb.BottomSurface = 0
  3729. hum.WalkSpeed = storehumanoidWS
  3730. coroutine.resume(coroutine.create(function()
  3731. for i = 0, 9 do
  3732. swait(10)
  3733. local lb = Instance.new("Part")
  3734. lb.Color = MAINRUINCOLOR.Color
  3735. lb.CanCollide = false
  3736. lb.Material = "Neon"
  3737. lb.Anchored = true
  3738. lb.TopSurface = 0
  3739. lb.BottomSurface = 0
  3740. lb.Transparency = 0
  3741. lb.Size = vt(1,1,1)
  3742. 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)))
  3743. lb.Anchored = false
  3744. lb.Parent = char
  3745. local thingery = Instance.new("SpecialMesh",lb)
  3746. thingery.MeshType = "Sphere"
  3747. thingery.Scale = vt(20,20,20)
  3748. game:GetService("Debris"):AddItem(lb, 10)
  3749. local bv = Instance.new("BodyVelocity")
  3750. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3751. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3752. bv.Parent = lb
  3753. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3754. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3755. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3756. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3757. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3758. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3759. local hitted = false
  3760. coroutine.resume(coroutine.create(function()
  3761. while true do
  3762. swait(1)
  3763. if lb.Parent ~= nil and hitted == false then
  3764. 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)
  3765. elseif lb.Parent == nil then
  3766. break
  3767. end
  3768. end
  3769. end))
  3770.  
  3771. game:GetService("Debris"):AddItem(a, 0.1)
  3772.  
  3773. coroutine.resume(coroutine.create(function()
  3774. swait(1)
  3775. lb.Touched:connect(function(hit)
  3776. if hitted == false then
  3777. hitted = true
  3778. lb.Transparency = 1
  3779. lb.Anchored = true
  3780. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3781. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3782. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3783. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3784. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3785. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3786. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3787. CameraEnshaking(1,5)
  3788. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3789. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3790. for i = 0, 9 do
  3791. 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)
  3792. end
  3793. for i = 0, 49 do
  3794. swait()
  3795. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3796. 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)
  3797. end
  3798. end
  3799. end)
  3800. end))
  3801. end
  3802. Overed = true
  3803. orb:Destroy()
  3804. end))
  3805.  
  3806. attack = false
  3807. end
  3808.  
  3809. function StarfallEX()
  3810. attack = true
  3811. hum.WalkSpeed = 0
  3812. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
  3813. for i = 0, 10, 0.1 do
  3814. swait()
  3815. 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)
  3816. 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)
  3817. 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)
  3818. 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)
  3819. 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)
  3820. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3821. 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)
  3822. 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)
  3823. end
  3824. local Overed = false
  3825. CameraEnshaking(2,20)
  3826. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3827. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3828. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  3829. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
  3830. local orb = Instance.new("Part", char)
  3831. orb.Anchored = true
  3832. orb.BrickColor = BrickColor.new("Toothpaste")
  3833. orb.CanCollide = false
  3834. orb.FormFactor = 3
  3835. orb.Name = "Remenant"
  3836. orb.Material = "Neon"
  3837. orb.CFrame = root.CFrame*CFrame.new(0,250,0)
  3838. orb.Size = Vector3.new(1, 1, 1)
  3839. orb.Transparency = 1
  3840. orb.TopSurface = 0
  3841. orb.BottomSurface = 0
  3842. hum.WalkSpeed = storehumanoidWS
  3843. coroutine.resume(coroutine.create(function()
  3844. for i = 0, 4 do
  3845. swait(15)
  3846. local lb = Instance.new("Part")
  3847. lb.Color = MAINRUINCOLOR.Color
  3848. lb.CanCollide = false
  3849. lb.Material = "Neon"
  3850. lb.Anchored = true
  3851. lb.TopSurface = 0
  3852. lb.BottomSurface = 0
  3853. lb.Transparency = 0
  3854. lb.Size = vt(1,1,1)
  3855. 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)))
  3856. lb.Anchored = false
  3857. lb.Parent = char
  3858. local thingery = Instance.new("SpecialMesh",lb)
  3859. thingery.MeshType = "Sphere"
  3860. thingery.Scale = vt(50,50,50)
  3861. game:GetService("Debris"):AddItem(lb, 10)
  3862. local bv = Instance.new("BodyVelocity")
  3863. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3864. bv.velocity = lb.CFrame.lookVector*math.random(50,420)
  3865. bv.Parent = lb
  3866. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  3867. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  3868. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
  3869. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
  3870. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
  3871. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
  3872. local hitted = false
  3873. coroutine.resume(coroutine.create(function()
  3874. while true do
  3875. swait(1)
  3876. if lb.Parent ~= nil and hitted == false then
  3877. 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)
  3878. elseif lb.Parent == nil then
  3879. break
  3880. end
  3881. end
  3882. end))
  3883.  
  3884. game:GetService("Debris"):AddItem(a, 0.1)
  3885.  
  3886. coroutine.resume(coroutine.create(function()
  3887. swait(1)
  3888. lb.Touched:connect(function(hit)
  3889. if hitted == false then
  3890. hitted = true
  3891. lb.Transparency = 1
  3892. lb.Anchored = true
  3893. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
  3894. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
  3895. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
  3896. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
  3897. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
  3898. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
  3899. MagniDamage(lb, 50, 60,99, 0, "Normal")
  3900. CameraEnshaking(1,5)
  3901. sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
  3902. sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
  3903. for i = 0, 9 do
  3904. 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)
  3905. end
  3906. for i = 0, 99 do
  3907. swait()
  3908. MagniDamage(lb, 30, 6,18, 0, "Normal")
  3909. 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)
  3910. end
  3911. end
  3912. end)
  3913. end))
  3914. end
  3915. Overed = true
  3916. orb:Destroy()
  3917. end))
  3918.  
  3919. attack = false
  3920. end
  3921.  
  3922. function DivineBlast()
  3923. attack = true
  3924. bosschatfunc("Justice Beam!!",MAINRUINCOLOR.Color,0.7)
  3925. hum.WalkSpeed = 0
  3926. local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
  3927. elocacenter.Anchored = true
  3928. elocacenter.CFrame = sorb.CFrame
  3929. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3930. eloca1.Anchored = true
  3931. eloca1.CFrame = elocacenter.CFrame
  3932. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3933. eloca2.Anchored = true
  3934. eloca2.CFrame = elocacenter.CFrame
  3935. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3936. eloca3.Anchored = true
  3937. eloca3.CFrame = elocacenter.CFrame
  3938. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3939. eloca4.Anchored = true
  3940. eloca4.CFrame = elocacenter.CFrame
  3941. local lookavec = 0
  3942. local speeds = 0
  3943. CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
  3944. for i = 0, 3, 0.1 do
  3945. swait()
  3946. ---
  3947. lookavec = lookavec + 0.1
  3948. speeds = speeds + 10
  3949. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3950. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3951. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3952.  
  3953. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3954. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3955.  
  3956. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3957. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3958.  
  3959. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3960. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  3961. ---
  3962. root.CFrame = FaceMouse()[1]
  3963. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  3964. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  3965. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3966. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  3967. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  3968. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  3969. end
  3970. for i = 0, 3, 0.1 do
  3971. swait()
  3972. ---
  3973. speeds = speeds + 10
  3974. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3975. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3976. 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)
  3977.  
  3978. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3979. 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)
  3980.  
  3981. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3982. 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)
  3983.  
  3984. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3985. 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)
  3986. ---
  3987. root.CFrame = FaceMouse()[1]
  3988. 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)
  3989. 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)
  3990. 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)
  3991. 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)
  3992. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  3993. 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)
  3994. end
  3995. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
  3996. CFuncs["Sound"].Create("rbxassetid://1436239652", char, 40,1)
  3997. for i = 0, 3, 0.1 do
  3998. swait()
  3999. ---
  4000. speeds = speeds + 10
  4001. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4002. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4003. 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)
  4004.  
  4005. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4006. 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)
  4007.  
  4008. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4009. 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)
  4010.  
  4011. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4012. 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)
  4013. ---
  4014. root.CFrame = FaceMouse()[1]
  4015. 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)
  4016. 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)
  4017. 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)
  4018. 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)
  4019. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  4020. 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)
  4021. end
  4022. coroutine.resume(coroutine.create(function()
  4023. local a = Instance.new("Part",Character)
  4024. a.Name = "Direction"
  4025. a.Anchored = true
  4026. a.BrickColor = bc("White")
  4027. a.Material = "Neon"
  4028. a.Transparency = 0
  4029. a.Shape = "Cylinder"
  4030. a.CanCollide = false
  4031. local a2 = Instance.new("Part",Character)
  4032. a2.Name = "Direction"
  4033. a2.Anchored = true
  4034. a2.BrickColor = bc("Bright yellow")
  4035. a2.Material = "Neon"
  4036. a2.Transparency = 0
  4037. a2.Shape = "Cylinder"
  4038. a2.CanCollide = false
  4039. local b = Instance.new("Part",Character)
  4040. b.Name = "HitDirect"
  4041. b.Anchored = true
  4042. b.BrickColor = bc("Cool yellow")
  4043. b.Material = "Neon"
  4044. b.Transparency = 1
  4045. b.CanCollide = false
  4046. local ray = Ray.new(
  4047. elocacenter.CFrame.p, -- origin
  4048. (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
  4049. )
  4050. local ignore = Character
  4051. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4052. a.BottomSurface = 10
  4053. a.TopSurface = 10
  4054. a2.BottomSurface = 10
  4055. a2.TopSurface = 10
  4056. local distance = (elocacenter.CFrame.p - position).magnitude
  4057. a.Size = Vector3.new(distance, 1, 1)
  4058. a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4059. a2.Size = Vector3.new(distance, 1, 1)
  4060. a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4061. b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4062. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4063. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4064. game:GetService("Debris"):AddItem(a, 10)
  4065. game:GetService("Debris"):AddItem(a2, 10)
  4066. game:GetService("Debris"):AddItem(b, 10)
  4067. local eff = Instance.new("ParticleEmitter",b)
  4068. eff.Texture = "rbxassetid://2273224484"
  4069. eff.LightEmission = 1
  4070. eff.Color = ColorSequence.new(Color3.new(1,1,0))
  4071. eff.Rate = 500000
  4072. eff.Lifetime = NumberRange.new(0.5,2)
  4073. 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)})
  4074. 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)})
  4075. eff.Speed = NumberRange.new(20,250)
  4076. eff.Drag = 5
  4077. eff.Rotation = NumberRange.new(-500,500)
  4078. eff.VelocitySpread = 9000
  4079. eff.RotSpeed = NumberRange.new(-50,50)
  4080. coroutine.resume(coroutine.create(function()
  4081. wait(0.25)
  4082. eff.Enabled = false
  4083. end))
  4084. local msh = Instance.new("SpecialMesh",a)
  4085. msh.MeshType = "Cylinder"
  4086. msh.Scale = vt(1,2,2)
  4087. local msh2 = Instance.new("SpecialMesh",a2)
  4088. msh2.MeshType = "Cylinder"
  4089. msh2.Scale = vt(1,2.5,2.5)
  4090. CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
  4091. coroutine.resume(coroutine.create(function()
  4092. for i = 0,10,0.1 do
  4093. swait()
  4094. msh.Scale = msh.Scale + vt(0,0.05,0.05)
  4095. a.Transparency = a.Transparency + 0.025
  4096. msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
  4097. a2.Transparency = a2.Transparency + 0.05
  4098. end
  4099. a:Destroy()
  4100. a2:Destroy()
  4101. end))
  4102. CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
  4103. CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
  4104. CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
  4105. CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
  4106. CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
  4107. CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
  4108. MagniDamage(b, 25, 40,65, 0, "Normal")
  4109. for i = 0, 49 do
  4110. 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)
  4111. 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)
  4112. end
  4113. sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
  4114. sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
  4115. sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4116. sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4117. sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4118. sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4119. end))
  4120. game:GetService("Debris"):AddItem(elocacenter, 5)
  4121. hum.WalkSpeed = storehumanoidWS
  4122. attack = false
  4123. end
  4124.  
  4125. function StarDivision()
  4126. attack = true
  4127. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4128. for i = 0, 2, 0.1 do
  4129. swait()
  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 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.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(0)),.1)
  4134. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  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. local orb = Instance.new("Part", char)
  4138. orb.BrickColor = MAINRUINCOLOR
  4139. orb.CanCollide = false
  4140. orb.FormFactor = 3
  4141. orb.Name = "Ring"
  4142. orb.Material = "Neon"
  4143. orb.Size = Vector3.new(1, 1, 1)
  4144. orb.Transparency = 0
  4145. orb.TopSurface = 0
  4146. orb.BottomSurface = 0
  4147. local orbm = Instance.new("SpecialMesh", orb)
  4148. orbm.MeshType = "Sphere"
  4149. orbm.Name = "SizeMesh"
  4150. orbm.Scale = vt(2,2,2)
  4151. local a = Instance.new("Part",workspace)
  4152. a.Name = "Direction"
  4153. a.Anchored = true
  4154. a.BrickColor = bc("Bright red")
  4155. a.Material = "Neon"
  4156. a.Transparency = 1
  4157. a.CanCollide = false
  4158. local ray = Ray.new(
  4159. sorb.CFrame.p, -- origin
  4160. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  4161. )
  4162. local ignore = sorb
  4163. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4164. a.BottomSurface = 10
  4165. a.TopSurface = 10
  4166. local distance = (sorb.CFrame.p - position).magnitude
  4167. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4168. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4169. orb.CFrame = a.CFrame
  4170. a:Destroy()
  4171. local bv = Instance.new("BodyVelocity")
  4172. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4173. bv.velocity = orb.CFrame.lookVector*100
  4174. bv.Parent = orb
  4175. local hitted = false
  4176. game:GetService("Debris"):AddItem(orb, 10)
  4177. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  4178. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  4179. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  4180. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  4181. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  4182. coroutine.resume(coroutine.create(function()
  4183. while true do
  4184. swait(1)
  4185. if orb.Parent ~= nil and hitted == false then
  4186. 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)
  4187. elseif orb.Parent == nil then
  4188. break
  4189. end
  4190. end
  4191. end))
  4192. coroutine.resume(coroutine.create(function()
  4193. swait(1)
  4194. orb.Touched:connect(function(hit)
  4195. if hitted == false then
  4196. hitted = true
  4197. game:GetService("Debris"):AddItem(orb, 5)
  4198. orb.Transparency = 1
  4199. orb.Anchored = true
  4200. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4201. elocacenter.Anchored = true
  4202. elocacenter.CFrame = orb.CFrame
  4203. elocacenter.Orientation = vt(0,0,0)
  4204. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4205. eloca1.Anchored = true
  4206. eloca1.CFrame = elocacenter.CFrame
  4207. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4208. eloca2.Anchored = true
  4209. eloca2.CFrame = elocacenter.CFrame
  4210. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4211. eloca3.Anchored = true
  4212. eloca3.CFrame = elocacenter.CFrame
  4213. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4214. eloca4.Anchored = true
  4215. eloca4.CFrame = elocacenter.CFrame
  4216. local lookavec = 0
  4217. local speeds = 0
  4218. CameraEnshaking(1,1)
  4219. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4220. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4221. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4222. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4223. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4224. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4225. for i = 0, 99 do
  4226. swait()
  4227. lookavec = lookavec + 1
  4228. speeds = speeds + 0.1
  4229. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4230. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4231. 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)
  4232.  
  4233. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4234. 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)
  4235.  
  4236. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4237. 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)
  4238.  
  4239. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4240. 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)
  4241. end
  4242.  
  4243. for i = 0, 149 do
  4244. swait()
  4245. speeds = speeds + 0.1
  4246. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4247. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4248. 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)
  4249.  
  4250. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4251. 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)
  4252.  
  4253. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4254. 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)
  4255.  
  4256. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4257. 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)
  4258. end
  4259. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  4260. if v:FindFirstChild('Head') then
  4261. dmg(v)
  4262. end
  4263. end
  4264. CameraEnshaking(7,30)
  4265. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  4266. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  4267. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  4268. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  4269. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4270. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  4271. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  4272. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4273. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4274. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4275. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4276. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4277. for i = 0, 24 do
  4278. 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)
  4279. 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)
  4280. 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)
  4281. 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)
  4282. end
  4283. coroutine.resume(coroutine.create(function()
  4284. for i = 0, 499 do
  4285. swait(1)
  4286. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  4287. 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)
  4288. end
  4289. elocacenter:Destroy()
  4290. eloca1:Destroy()
  4291. eloca2:Destroy()
  4292. eloca3:Destroy()
  4293. eloca4:Destroy()
  4294. end))
  4295. end
  4296. end)
  4297. end))
  4298. attack = false
  4299. end
  4300.  
  4301.  
  4302. function THE_TRUE_POWER_OF_VIOLENCE()
  4303. attack = true
  4304. hum.WalkSpeed = 0
  4305. bosschatfunc("ALL YOUR DESTINY...",MAINRUINCOLOR.Color,4)
  4306. for i = 0, 10, 0.1 do
  4307. swait()
  4308. 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)
  4309. 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)
  4310. 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)
  4311. 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)
  4312. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  4313. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4314. 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)
  4315. end
  4316. local orb = Instance.new("Part", char)
  4317. orb.BrickColor = MAINRUINCOLOR
  4318. orb.CanCollide = false
  4319. orb.FormFactor = 3
  4320. orb.Name = "Ring"
  4321. orb.Material = "Neon"
  4322. orb.Size = Vector3.new(1, 1, 1)
  4323. orb.Transparency = 0
  4324. orb.TopSurface = 0
  4325. orb.BottomSurface = 0
  4326. orb.CFrame = sorb.CFrame
  4327. local orbm = Instance.new("SpecialMesh", orb)
  4328. orbm.MeshType = "Sphere"
  4329. orbm.Name = "SizeMesh"
  4330. orbm.Scale = vt(0,0,0)
  4331. local sbs = Instance.new("BodyPosition", orb)
  4332. sbs.P = 3000
  4333. sbs.D = 1000
  4334. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4335. sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
  4336. CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
  4337. sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4338. sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4339. sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4340. sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4341. sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4342. for i = 0, 10, 0.1 do
  4343. swait()
  4344. 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)
  4345. 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)
  4346. 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)
  4347. 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)
  4348. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4349. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4350. 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)
  4351. end
  4352. orb.Anchored = true
  4353. local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4354. elocacenter.Anchored = true
  4355. elocacenter.CFrame = orb.CFrame
  4356. elocacenter.Orientation = vt(0,0,0)
  4357. local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4358. eloca1.Anchored = true
  4359. eloca1.CFrame = elocacenter.CFrame
  4360. local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4361. eloca2.Anchored = true
  4362. eloca2.CFrame = elocacenter.CFrame
  4363. local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4364. eloca3.Anchored = true
  4365. eloca3.CFrame = elocacenter.CFrame
  4366. local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4367. eloca4.Anchored = true
  4368. eloca4.CFrame = elocacenter.CFrame
  4369. local lookavec = 0
  4370. local speeds = 0
  4371. CameraEnshaking(1,1)
  4372. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
  4373. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
  4374. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
  4375. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
  4376. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4377. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4378. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4379. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4380. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4381. for i = 0, 99 do
  4382. swait()
  4383. lookavec = lookavec + 2.5
  4384. speeds = speeds + 0.25
  4385. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4386. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4387. 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)
  4388.  
  4389. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4390. 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)
  4391.  
  4392. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4393. 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)
  4394.  
  4395. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4396. 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)
  4397. end
  4398.  
  4399. for i = 0, 149 do
  4400. swait()
  4401. speeds = speeds + 0.25
  4402. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4403. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4404. 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)
  4405.  
  4406. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4407. 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)
  4408.  
  4409. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4410. 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)
  4411.  
  4412. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4413. 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)
  4414. end
  4415. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
  4416. for i = 0, 99 do
  4417. swait()
  4418. lookavec = lookavec - 2.5
  4419. speeds = speeds + 0.25
  4420. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4421. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4422. 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)
  4423.  
  4424. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4425. 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)
  4426.  
  4427. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4428. 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)
  4429.  
  4430. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4431. 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)
  4432. end
  4433. local scaled = 0.1*75
  4434. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
  4435. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
  4436. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
  4437. CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
  4438. CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
  4439. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  4440. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4441. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4442. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4443. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4444. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4445.  
  4446. for i = 0, 10, 0.1 do
  4447. swait()
  4448. scaled = scaled - 0.001*75
  4449. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4450. 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)
  4451. 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)
  4452. 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)
  4453. 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)
  4454. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4455. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4456. 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)
  4457. end
  4458. bosschatfunc("WILL BE MINE!!!!",MAINRUINCOLOR.Color,2)
  4459. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 10, 1,0,10,0.15,0.5,1)
  4460. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 60, 1,0,10,0.15,0.5,1)
  4461. for x = 0, 4 do
  4462. for i = 0, 9 do
  4463. 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)
  4464. end
  4465. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
  4466. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
  4467. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4468. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4469. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4470. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4471. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4472. for i = 0, 5, 0.1 do
  4473. swait()
  4474. 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)
  4475. 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)
  4476. 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)
  4477. 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)
  4478. 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)
  4479. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  4480. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
  4481. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
  4482. end
  4483. end
  4484. local speedearn = 0
  4485. CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
  4486. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
  4487. CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
  4488. for i = 0, 30, 0.1 do
  4489. swait()
  4490. scaled = scaled - 0.001*75/10
  4491. speedearn = speedearn + 0.5
  4492. for i = 0, 4 do
  4493. 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)
  4494. end
  4495. 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)
  4496. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4497. 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)
  4498. 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)
  4499. 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)
  4500. 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)
  4501. 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)
  4502. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
  4503. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
  4504. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
  4505. end
  4506. orb.Transparency = 1
  4507. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
  4508. if v:FindFirstChild('Head') then
  4509. dmg(v)
  4510. end
  4511. end
  4512. CameraEnshaking(7,30)
  4513. MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
  4514. CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
  4515. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
  4516. CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
  4517. CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
  4518. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4519. CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
  4520. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4521. CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
  4522. CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
  4523. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
  4524. CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
  4525. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
  4526. CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
  4527. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4528. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4529. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4530. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4531. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4532. for i = 0, 99 do
  4533. 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)
  4534. 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)
  4535. end
  4536. for i = 0, 24 do
  4537. 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)
  4538. 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)
  4539. 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)
  4540. 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)
  4541. 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)
  4542. end
  4543. game:GetService("Debris"):AddItem(orb, 10)
  4544. hum.WalkSpeed = storehumanoidWS
  4545. attack = false
  4546. end
  4547.  
  4548.  
  4549. function ViolentRing()
  4550. attack = true
  4551. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
  4552. bosschatfunc("SHOULD I TAKE THAT EASIER?!",MAINRUINCOLOR.Color,0.7)
  4553. CFuncs["EchoSound"].Create("rbxassetid://1535994137", char, 4, 1,0,10,0.15,0.5,1)
  4554. CFuncs["EchoSound"].Create("rbxassetid://1535994137", root, 7, 1,0,10,0.15,0.5,1)
  4555. for i = 0, 2, 0.1 do
  4556. swait()
  4557. local snap = math.random(1,10)
  4558. if snap == 1 then
  4559. 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)
  4560. end
  4561. 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)
  4562. 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)
  4563. 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)
  4564. 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)
  4565. 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)
  4566. 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)
  4567. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
  4568. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
  4569. 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)
  4570. RootPart.CFrame = FaceMouse()[1]
  4571. end
  4572. local orb = Instance.new("Part", char)
  4573. orb.BrickColor = MAINRUINCOLOR
  4574. orb.CanCollide = false
  4575. orb.FormFactor = 3
  4576. orb.Name = "Ring"
  4577. orb.Material = "Neon"
  4578. orb.Size = Vector3.new(1, 1, 1)
  4579. orb.Transparency = 0
  4580. orb.TopSurface = 0
  4581. orb.BottomSurface = 0
  4582. local orbm = Instance.new("SpecialMesh", orb)
  4583. orbm.MeshType = "Sphere"
  4584. orbm.Name = "SizeMesh"
  4585. orbm.Scale = vt(2,2,2)
  4586. orb.CFrame = mouse.Hit
  4587. local bv = Instance.new("BodyVelocity")
  4588. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4589. bv.velocity = orb.CFrame.lookVector*100
  4590. bv.Parent = orb
  4591. local hitted = false
  4592. coroutine.resume(coroutine.create(function()
  4593. game:GetService("Debris"):AddItem(orb, 5)
  4594. orb.Transparency = 1
  4595. orb.Anchored = true
  4596. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4597. elocacenter.Anchored = true
  4598. elocacenter.CFrame = orb.CFrame
  4599. elocacenter.Orientation = vt(0,0,0)
  4600. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4601. eloca1.Anchored = true
  4602. eloca1.CFrame = elocacenter.CFrame
  4603. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4604. eloca2.Anchored = true
  4605. eloca2.CFrame = elocacenter.CFrame
  4606. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4607. eloca3.Anchored = true
  4608. eloca3.CFrame = elocacenter.CFrame
  4609. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4610. eloca4.Anchored = true
  4611. eloca4.CFrame = elocacenter.CFrame
  4612. local lookavec = 0
  4613. local speeds = 0
  4614. CameraEnshaking(1,1)
  4615. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4616. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4617. sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4618. sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4619. sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4620. sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4621. for i = 0, 24 do
  4622. swait()
  4623. lookavec = lookavec + 3.5
  4624. speeds = speeds + 1
  4625. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4626. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4627. 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)
  4628.  
  4629. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4630. 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)
  4631.  
  4632. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4633. 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)
  4634.  
  4635. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4636. 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)
  4637. end
  4638.  
  4639. local risen = 0
  4640. for i = 0, 49 do
  4641. swait()
  4642. risen = risen + 0.05
  4643. speeds = speeds + 0.1
  4644. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4645. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4646. 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)
  4647.  
  4648. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4649. 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)
  4650.  
  4651. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4652. 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)
  4653.  
  4654. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4655. 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)
  4656. end
  4657. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
  4658. if v:FindFirstChild('Head') then
  4659. dmg(v)
  4660. end
  4661. end
  4662. CameraEnshaking(4,10)
  4663. MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
  4664. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
  4665. CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
  4666. CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
  4667. CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
  4668. CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
  4669. local eff = Instance.new("ParticleEmitter",elocacenter)
  4670. eff.Texture = "rbxassetid://2273224484"
  4671. eff.LightEmission = 1
  4672. eff.Color = ColorSequence.new(Color3.new(1,1,0))
  4673. eff.Rate = 1000000
  4674. eff.Lifetime = NumberRange.new(0.5,2)
  4675. 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)})
  4676. 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)})
  4677. eff.Speed = NumberRange.new(20,250)
  4678. eff.Drag = 5
  4679. eff.Rotation = NumberRange.new(-500,500)
  4680. eff.VelocitySpread = 5000000
  4681. eff.RotSpeed = NumberRange.new(-50,50)
  4682. coroutine.resume(coroutine.create(function()
  4683. wait(1)
  4684. eff.Enabled = false
  4685. end))
  4686. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
  4687. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
  4688. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4689. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4690. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4691. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4692. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4693. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
  4694. for i = 0, 24 do
  4695. 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)
  4696. 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)
  4697. 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)
  4698. 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)
  4699. end
  4700. coroutine.resume(coroutine.create(function()
  4701. wait(10)
  4702. elocacenter:Destroy()
  4703. eloca1:Destroy()
  4704. eloca2:Destroy()
  4705. eloca3:Destroy()
  4706. eloca4:Destroy()
  4707. end))
  4708. end))
  4709. attack = false
  4710. end
  4711.  
  4712. function UniversalCollapse()
  4713. attack = true
  4714. local speedearn = 0
  4715. hum.WalkSpeed = 0
  4716. local sbs = Instance.new("BodyPosition", root)
  4717. sbs.P = 3000
  4718. sbs.D = 1000
  4719. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4720. sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
  4721. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4722. for i = 0, 85, 0.1 do
  4723. swait()
  4724. speedearn = speedearn + 0.1
  4725. 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)
  4726. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4727. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4728. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4729. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4730. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4731. 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)
  4732. 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)
  4733. 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)
  4734. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4735. 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)
  4736. 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)
  4737. end
  4738. bosschatfunc("Universary..",MAINRUINCOLOR.Color,1)
  4739. CFuncs["EchoSound"].Create("rbxassetid://1448032598", char, 5, 1,0,10,0.15,0.5,1)
  4740. CFuncs["EchoSound"].Create("rbxassetid://1448032598", root, 20, 1,0,10,0.15,0.5,1)
  4741. for i = 0, 25, 0.1 do
  4742. swait()
  4743. speedearn = speedearn + 0.1
  4744. 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)
  4745. 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)
  4746. 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)
  4747. 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)
  4748. 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)
  4749. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4750. 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)
  4751. 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)
  4752. 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)
  4753. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4754. 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)
  4755. 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)
  4756. end
  4757. bosschatfunc("COLLAPSE!!!",MAINRUINCOLOR.Color,1)
  4758. CFuncs["EchoSound"].Create("rbxassetid://1436241883", char, 5, 1,0,10,0.15,0.5,1)
  4759. CFuncs["EchoSound"].Create("rbxassetid://1436241883", root, 20, 1,0,10,0.15,0.5,1)
  4760. CameraEnshaking(5,50)
  4761. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4762. for i = 0, 2 do
  4763. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4764. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4765. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
  4766. CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
  4767. end
  4768. for i = 0, 49 do
  4769. 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)
  4770. 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)
  4771. 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)
  4772. 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)
  4773. end
  4774. sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4775. sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4776. sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4777. sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4778. sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4779. sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4780. sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4781. sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4782. sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4783. sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4784. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4785. sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4786. for i = 0, 99 do
  4787. 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)
  4788. 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)
  4789. end
  4790. for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
  4791. if v:FindFirstChild('Head') then
  4792. dmg(v)
  4793. end
  4794. end
  4795. MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
  4796. sbs:Destroy()
  4797. hum.WalkSpeed = storehumanoidWS
  4798. attack = false
  4799. end
  4800.  
  4801.  
  4802. function ChaosEND()
  4803. attack = true
  4804. local speedearn = 0
  4805. bosschatfunc("THIS IS..",MAINRUINCOLOR.Color,0.8)
  4806. CFuncs["EchoSound"].Create("rbxassetid://1548599511", char, 4.5, 1,0,10,0.15,0.5,1)
  4807. CFuncs["EchoSound"].Create("rbxassetid://1548599511", root, 30, 1,0,10,0.15,0.5,1)
  4808. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
  4809. for i = 0, 15, 0.1 do
  4810. swait()
  4811. speedearn = speedearn + 0.25
  4812. 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)
  4813. 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)
  4814. 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)
  4815. 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)
  4816. 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)
  4817. 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)
  4818. 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)
  4819. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4820. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4821. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4822. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4823. end
  4824. CFuncs["Sound"].Create("rbxassetid://438666141", char, 3,1)
  4825. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
  4826. bosschatfunc("THE END!!!",MAINRUINCOLOR.Color,2)
  4827. CFuncs["EchoSound"].Create("rbxassetid://1548599962", char, 8, 1,0,10,0.15,0.5,1)
  4828. CFuncs["EchoSound"].Create("rbxassetid://1548599962", root, 40, 1,0,10,0.15,0.5,1)
  4829. CameraEnshaking(5,25)
  4830. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4831. if v:FindFirstChild('Head') then
  4832. dmg(v)
  4833. end
  4834. end
  4835. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  4836. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  4837. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  4838. for i = 0, 3, 0.1 do
  4839. swait()
  4840. 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)
  4841. 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)
  4842. 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)
  4843. 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)
  4844. 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)
  4845. 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)
  4846. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4847. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4848. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4849. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4850. end
  4851. attack = false
  4852. end
  4853.  
  4854. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4855. local orb = Instance.new("Part", char)
  4856. orb.Anchored = true
  4857. orb.BrickColor = color
  4858. orb.CanCollide = false
  4859. orb.FormFactor = 3
  4860. orb.Name = "Ring"
  4861. orb.Material = "Neon"
  4862. orb.Size = Vector3.new(1, 1, 1)
  4863. orb.Transparency = 0
  4864. orb.TopSurface = 0
  4865. orb.BottomSurface = 0
  4866. local orbm = Instance.new("SpecialMesh", orb)
  4867. orbm.MeshType = "Sphere"
  4868. orb.CFrame = positted
  4869. orbm.Name = "SizeMesh"
  4870. orbm.Scale = vt(1,1,1)
  4871. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  4872. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  4873. --[[for i = 0, 2 do
  4874. 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)
  4875. end]]--
  4876. coroutine.resume(coroutine.create(function()
  4877. wait(timer)
  4878. CameraEnshaking(3,ShakePower)
  4879. orb.Transparency = 1
  4880. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  4881. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  4882. --[[for i = 0, 4 do
  4883. 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)
  4884. end]]--
  4885. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  4886. wait(3)
  4887. orb:Destroy()
  4888. end))
  4889. end
  4890.  
  4891. function orb_spawn(positted,timer)
  4892. local randomcol = math.random(1,2)
  4893. local orb = Instance.new("Part", char)
  4894. orb.Anchored = true
  4895. if randomcol == 1 then
  4896. orb.BrickColor = BrickColor.new("White")
  4897. elseif randomcol == 2 then
  4898. orb.BrickColor = BrickColor.new("Really black")
  4899. end
  4900. orb.CanCollide = false
  4901. orb.FormFactor = 3
  4902. orb.Name = "Ring"
  4903. orb.Material = "Neon"
  4904. orb.Size = Vector3.new(1, 1, 1)
  4905. orb.Transparency = 0
  4906. orb.TopSurface = 0
  4907. orb.BottomSurface = 0
  4908. local orbm = Instance.new("SpecialMesh", orb)
  4909. orbm.MeshType = "Sphere"
  4910. orb.CFrame = positted
  4911. orbm.Name = "SizeMesh"
  4912. orbm.Scale = vt(1,1,1)
  4913. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 0.15, 1)
  4914. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  4915. for i = 0, 2 do
  4916. 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)
  4917. end
  4918. coroutine.resume(coroutine.create(function()
  4919. wait(timer)
  4920. CameraEnshaking(3,2)
  4921. orb.Transparency = 1
  4922. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  4923. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  4924. for i = 0, 4 do
  4925. 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)
  4926. end
  4927. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 0.15, 0.7)
  4928. wait(3)
  4929. orb:Destroy()
  4930. end))
  4931. end
  4932.  
  4933. function scattercorrupt()
  4934. attack = true
  4935. hum.WalkSpeed = 0
  4936. for i = 0, 2, 0.1 do
  4937. swait()
  4938. 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)
  4939. 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)
  4940. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4941. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4942. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.2)
  4943. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.2)
  4944. end
  4945. local rot = 0
  4946. local randomrotations = math.random(1,2)
  4947. local lookv = 2.5
  4948. local power = 7
  4949. local radm = math.random(1,3)
  4950. if radm == 1 then
  4951. bosschatfunc("HOW LONG CAN YOU TAKE THIS?",MAINRUINCOLOR.Color,1)
  4952. elseif radm == 2 then
  4953. bosschatfunc("SWAMP!!",MAINRUINCOLOR.Color,1)
  4954. elseif radm == 3 then
  4955. bosschatfunc("SCATTER!!",MAINRUINCOLOR.Color,1)
  4956. end
  4957. CFuncs["Sound"].Create("rbxassetid://183763506", RightLeg, 2, 1)
  4958. for i = 0, 1, 0.1 do
  4959. swait()
  4960. 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)
  4961. 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)
  4962. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(15),math.rad(0),math.rad(0)),.15)
  4963. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.15)
  4964. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(40)),.15)
  4965. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(-40)),.15)
  4966. end
  4967. CFuncs["EchoSound"].Create("rbxassetid://1535994669", char, 5, 1,0,10,0.15,0.5,1)
  4968. CFuncs["EchoSound"].Create("rbxassetid://1535994669", root, 20, 1,0,10,0.15,0.5,1)
  4969. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  4970. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  4971. for i = 0, 9 do
  4972. 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)
  4973. end
  4974. local hite = Instance.new("Part", char)
  4975. hite.Anchored = true
  4976. hite.CanCollide = false
  4977. hite.FormFactor = 3
  4978. hite.Name = "Ring"
  4979. hite.Material = "Neon"
  4980. hite.Size = Vector3.new(1, 1, 1)
  4981. hite.Transparency = 1
  4982. hite.TopSurface = 0
  4983. hite.BottomSurface = 0
  4984. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  4985. local rem = Instance.new("Part", char)
  4986. rem.Anchored = true
  4987. rem.CanCollide = false
  4988. rem.FormFactor = 3
  4989. rem.Name = "Ring"
  4990. rem.Material = "Neon"
  4991. rem.Size = Vector3.new(1, 1, 1)
  4992. rem.Transparency = 1
  4993. rem.TopSurface = 0
  4994. rem.BottomSurface = 0
  4995. rem.CFrame = hite.CFrame
  4996. local rem2 = rem:Clone()
  4997. rem2.Parent = char
  4998. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4999. local rem3 = rem:Clone()
  5000. rem3.Parent = char
  5001. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  5002. local rem4 = rem:Clone()
  5003. rem4.Parent = char
  5004. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  5005. hite:Destroy()
  5006. coroutine.resume(coroutine.create(function()
  5007. for i = 0, 24 do
  5008. swait(1)
  5009. if randomrotations == 1 then
  5010. rot = rot + 1
  5011. elseif randomrotations == 2 then
  5012. rot = rot - 1
  5013. end
  5014. power = power + 0.5
  5015. lookv = lookv + 7.5
  5016. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5017. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  5018. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  5019. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  5020. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5021. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5022. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5023. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5024. end
  5025. end))
  5026. wait(2)
  5027. hum.WalkSpeed = storehumanoidWS
  5028. attack = false
  5029. end
  5030. function yinyangi()
  5031. attack = true
  5032. for i = 0, 2, 0.1 do
  5033. swait()
  5034. 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)
  5035. 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)
  5036. 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)
  5037. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5038. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  5039. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  5040. end
  5041. local bv = Instance.new("BodyVelocity")
  5042. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5043. bv.velocity = root.CFrame.lookVector*175
  5044. bv.Parent = root
  5045. for Rotations = 0, 9 do
  5046. for i = 0, 1, 0.5 do
  5047. swait()
  5048. bv.velocity = root.CFrame.lookVector*175
  5049. 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)
  5050. 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)
  5051. 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)
  5052. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5053. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5054. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5055. end
  5056. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5057. for i = 0, 1, 0.5 do
  5058. swait()
  5059. bv.velocity = root.CFrame.lookVector*175
  5060. 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)
  5061. 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)
  5062. 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)
  5063. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5064. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5065. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5066. end
  5067. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5068. for i = 0, 1, 0.5 do
  5069. swait()
  5070. bv.velocity = root.CFrame.lookVector*175
  5071. 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)
  5072. 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)
  5073. 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)
  5074. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5075. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5076. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5077. end
  5078. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5079. for i = 0, 1, 0.5 do
  5080. swait()
  5081. bv.velocity = root.CFrame.lookVector*175
  5082. 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)
  5083. 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)
  5084. 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)
  5085. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5086. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5087. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5088. end
  5089. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5090. end
  5091. bv:Destroy()
  5092. attack = false
  5093. end
  5094.  
  5095. function createBGCircle(size,parent,color)
  5096. local bgui = Instance.new("BillboardGui",parent)
  5097. bgui.Size = UDim2.new(size, 0, size, 0)
  5098. local imgc = Instance.new("ImageLabel",bgui)
  5099. imgc.BackgroundTransparency = 1
  5100. imgc.ImageTransparency = 0
  5101. imgc.Size = UDim2.new(1,0,1,0)
  5102. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  5103. imgc.ImageColor3 = color
  5104. return bgui,imgc
  5105. end
  5106.  
  5107. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  5108. local bgui,imgc = createBGCircle(size,guipar,color)
  5109. bgui.AlwaysOnTop = true
  5110. imgc.Image = "rbxassetid://" ..img
  5111. local rrot = math.random(1,2)
  5112. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  5113. coroutine.resume(coroutine.create(function()
  5114. for i = 0, 24*delay do
  5115. swait()
  5116. if rotationenabled == true then
  5117. if rrot == 1 then
  5118. imgc.Rotation = imgc.Rotation + rotsp
  5119. elseif rrot == 2 then
  5120. imgc.Rotation = imgc.Rotation - rotsp
  5121. end
  5122. end
  5123. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  5124. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  5125. end
  5126. bgui:Destroy()
  5127. end))
  5128. end
  5129. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled)
  5130. for i, v in pairs(mw2:GetChildren()) do
  5131. if v:IsA("Part") then
  5132. v.BrickColor = one
  5133. v.Material = "Neon"
  5134. end
  5135. end
  5136. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  5137. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  5138. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  5139. tr1.Color = ColorSequence.new(one.Color)
  5140. tr2.Color = ColorSequence.new(one.Color)
  5141. tr3.Color = ColorSequence.new(one.Color)
  5142. for i, v in pairs(mw1:GetChildren()) do
  5143. if v:IsA("Part") then
  5144. if secondaryenabled == false then
  5145. v.Transparency = 1
  5146. elseif secondaryenabled == true then
  5147. v.Transparency = 0
  5148. end
  5149. v.BrickColor = two
  5150. v.Material = "Neon"
  5151. end
  5152. end
  5153. if secondaryenabled == false then
  5154. tl1.Enabled = false
  5155. tl2.Enabled = false
  5156. tl3.Enabled = false
  5157. elseif secondaryenabled == true then
  5158. tl1.Enabled = true
  5159. tl2.Enabled = true
  5160. tl3.Enabled = true
  5161. end
  5162. tl1.Color = ColorSequence.new(two.Color)
  5163. tl2.Color = ColorSequence.new(two.Color)
  5164. tl3.Color = ColorSequence.new(two.Color)
  5165. for i, v in pairs(m:GetChildren()) do
  5166. if v:IsA("Part") then
  5167. v.BrickColor = three
  5168. v.Material = "Ice"
  5169. end
  5170. end
  5171. for i, v in pairs(m2:GetChildren()) do
  5172. if v:IsA("Part") then
  5173. v.BrickColor = four
  5174. v.Material = "Ice"
  5175. end
  5176. end
  5177. for i, v in pairs(m3:GetChildren()) do
  5178. if v:IsA("Part") then
  5179. v.BrickColor = five
  5180. v.Material = "Neon"
  5181. end
  5182. end
  5183. for i, v in pairs(extrawingmod1:GetChildren()) do
  5184. if v:IsA("Part") then
  5185. v.Transparency = exonetran
  5186. v.BrickColor = exone
  5187. v.Material = "Neon"
  5188. end
  5189. end
  5190. for i, v in pairs(extrawingmod2:GetChildren()) do
  5191. if v:IsA("Part") then
  5192. v.Transparency = extwotran
  5193. v.BrickColor = extwo
  5194. v.Material = "Neon"
  5195. end
  5196. end
  5197. end
  5198.  
  5199.  
  5200. function normalmog()
  5201. attack = true
  5202. hum.WalkSpeed = 0
  5203. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
  5204. for i = 0,6,0.1 do
  5205. swait()
  5206. 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)
  5207. 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)
  5208. 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)
  5209. 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)
  5210. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5211. 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)
  5212. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5213. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5214. end
  5215. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  5216. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  5217. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  5218. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  5219. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  5220. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  5221. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  5222. rainbowmode = false
  5223. chaosmode = false
  5224. ModeOfGlitch = 1
  5225. storehumanoidWS = 16
  5226. newTheme("rbxassetid://723652641",0,1,1.7)
  5227. RecolorTextAndRename("Solitude",Color3.new(0,0,0),Color3.new(0,0,0),"Arcade")
  5228. CameraEnshaking(5,2.5)
  5229. MAINRUINCOLOR = BrickColor.new("Really black")
  5230. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5231. for i = 0, 49 do
  5232. 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)
  5233. end
  5234. for i = 0, 24 do
  5235. 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)
  5236. 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("Really red"))
  5237. end
  5238. for i = 0,3,0.1 do
  5239. 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)
  5240. end
  5241. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  5242. for i = 0,2,0.1 do
  5243. swait()
  5244. 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)
  5245. 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)
  5246. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  5247. 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)
  5248. 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)
  5249. 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)
  5250. end
  5251. hum.WalkSpeed = storehumanoidWS
  5252. attack = false
  5253. end
  5254.  
  5255. function attackone()
  5256. attack = true
  5257. local keptcolor = MAINRUINCOLOR
  5258. for i = 0,1,0.1 do
  5259. swait()
  5260. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  5261. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  5262. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  5263. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5264. 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)
  5265. 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)
  5266. end
  5267. local distlook = 5
  5268. coroutine.resume(coroutine.create(function()
  5269. for i = 0, 4 do
  5270. swait(2)
  5271. CameraEnshaking(2,3)
  5272. local hite = Instance.new("Part", char)
  5273. hite.Anchored = true
  5274. hite.CanCollide = false
  5275. hite.FormFactor = 3
  5276. hite.Name = "Ring"
  5277. hite.Material = "Neon"
  5278. hite.Size = Vector3.new(1, 1, 1)
  5279. hite.Transparency = 1
  5280. hite.TopSurface = 0
  5281. hite.BottomSurface = 0
  5282. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  5283. 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)
  5284. 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)
  5285. 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)
  5286. 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)
  5287. MagniDamage(hite, 9, 10,25, 0, "Normal")
  5288. for i = 0, 14 do
  5289. local rsiz = math.random(5,20)
  5290. 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)
  5291. end
  5292. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  5293. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  5294. game:GetService("Debris"):AddItem(hite, 5)
  5295. distlook = distlook + 10
  5296. end
  5297. end))
  5298. for i = 0,1,0.1 do
  5299. swait()
  5300. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  5301. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  5302. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  5303. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  5304. 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)
  5305. 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)
  5306. end
  5307. attack = false
  5308. end
  5309.  
  5310. function attacktwo()
  5311. attack = true
  5312. hum.WalkSpeed = 2
  5313. local keptcolor = MAINRUINCOLOR
  5314. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5315. 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)
  5316. 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)
  5317. for i = 0, 14 do
  5318. 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)
  5319. end
  5320. for i = 0,1,0.1 do
  5321. swait()
  5322. 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)
  5323. 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)
  5324. 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)
  5325. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  5326. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  5327. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  5328. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5329. end
  5330. for i = 0, 1 do
  5331. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  5332. for i = 0,1,0.6 do
  5333. swait()
  5334. 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)
  5335. 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"))
  5336. 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)
  5337. 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)
  5338. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5339. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5340. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5341. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5342. end
  5343. for i = 0,1,0.6 do
  5344. swait()
  5345. 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)
  5346. 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"))
  5347. 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)
  5348. 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)
  5349. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  5350. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5351. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5352. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5353. end
  5354. for i = 0,1,0.6 do
  5355. swait()
  5356. 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)
  5357. 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"))
  5358. 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)
  5359. 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)
  5360. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  5361. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5362. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5363. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5364. end
  5365. for i = 0,1,0.6 do
  5366. swait()
  5367. 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)
  5368. 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"))
  5369. 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)
  5370. 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)
  5371. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  5372. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5373. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5374. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5375. end
  5376. local rot = 0
  5377. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  5378. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  5379. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  5380. CreateMesh(dis,"Sphere",10,1,10)
  5381. local at1 = Instance.new("Attachment",dis)
  5382. at1.Position = vt(-5,0,0)
  5383. local at2 = Instance.new("Attachment",dis)
  5384. at2.Position = vt(5,0,0)
  5385. local trl = Instance.new('Trail',wed)
  5386. trl.Attachment0 = at1
  5387. trl.Attachment1 = at2
  5388. trl.Texture = "rbxassetid://1049219073"
  5389. trl.LightEmission = 1
  5390. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5391. trl.Color = ColorSequence.new(dis.Color)
  5392. trl.Lifetime = 0.6
  5393. local a = Instance.new("Part",workspace)
  5394. a.Name = "Direction"
  5395. a.Anchored = true
  5396. a.BrickColor = bc("Bright red")
  5397. a.Material = "Neon"
  5398. a.Transparency = 1
  5399. a.CanCollide = false
  5400. local ray = Ray.new(
  5401. dis.CFrame.p, -- origin
  5402. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5403. )
  5404. local ignore = dis
  5405. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5406. a.BottomSurface = 10
  5407. a.TopSurface = 10
  5408. local distance = (dis.CFrame.p - position).magnitude
  5409. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5410. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5411. dis.CFrame = a.CFrame
  5412. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5413. a:Destroy()
  5414. local bv = Instance.new("BodyVelocity")
  5415. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5416. bv.velocity = dis.CFrame.lookVector*250
  5417. bv.Parent = dis
  5418. game:GetService("Debris"):AddItem(dis, 5)
  5419. local hitted = false
  5420. coroutine.resume(coroutine.create(function()
  5421. dis.Touched:connect(function(hit)
  5422. if hitted == false and hit.Parent ~= char then
  5423. hitted = true
  5424. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  5425. MagniDamage(dis, 30, 33,56, 0, "Normal")
  5426. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  5427. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5428. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5429. coroutine.resume(coroutine.create(function()
  5430. for i = 0, 9 do
  5431. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  5432. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5433. local at1 = Instance.new("Attachment",disr)
  5434. at1.Position = vt(-5,0,0)
  5435. local at2 = Instance.new("Attachment",disr)
  5436. at2.Position = vt(5,0,0)
  5437. local trl = Instance.new('Trail',disr)
  5438. trl.Attachment0 = at1
  5439. trl.FaceCamera = true
  5440. trl.Attachment1 = at2
  5441. trl.Texture = "rbxassetid://2342682798"
  5442. trl.LightEmission = 1
  5443. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5444. trl.Color = ColorSequence.new(keptcolor.Color)
  5445. trl.Lifetime = 0.5
  5446. local bv = Instance.new("BodyVelocity")
  5447. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5448. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  5449. bv.Parent = disr
  5450. local val = 0
  5451. coroutine.resume(coroutine.create(function()
  5452. swait(30)
  5453. for i = 0, 9 do
  5454. swait()
  5455. val = val + 0.1
  5456. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5457. end
  5458. game:GetService("Debris"):AddItem(disr, 3)
  5459. end))
  5460. end
  5461. local eff = Instance.new("ParticleEmitter",dis)
  5462. eff.Texture = "rbxassetid://2273224484"
  5463. eff.LightEmission = 1
  5464. eff.Color = ColorSequence.new(keptcolor.Color)
  5465. eff.Rate = 500000
  5466. eff.Lifetime = NumberRange.new(0.5,2)
  5467. 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)})
  5468. 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)})
  5469. eff.Speed = NumberRange.new(20,250)
  5470. eff.Drag = 5
  5471. eff.Rotation = NumberRange.new(-500,500)
  5472. eff.VelocitySpread = 9000
  5473. eff.RotSpeed = NumberRange.new(-50,50)
  5474. wait(0.25)
  5475. eff.Enabled = false
  5476. end))
  5477. for i = 0, 9 do
  5478. 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"))
  5479. end
  5480. for i = 0, 19 do
  5481. 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)
  5482. end
  5483. coroutine.resume(coroutine.create(function()
  5484. for i = 0, 19 do
  5485. swait()
  5486. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  5487. end
  5488. hum.CameraOffset = vt(0,0,0)
  5489. end))
  5490. dis.Anchored = true
  5491. dis.Transparency = 1
  5492. wait(8)
  5493. dis:Destroy()
  5494. end
  5495. end)
  5496. end))
  5497. rot = rot - 15
  5498. end
  5499. for i = 0,2,0.1 do
  5500. swait()
  5501. 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)
  5502. 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)
  5503. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5504. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  5505. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5506. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5507. end
  5508. attack = false
  5509. hum.WalkSpeed = storehumanoidWS
  5510. end
  5511.  
  5512. function attackthree()
  5513. attack = true
  5514. local keptcolor = MAINRUINCOLOR
  5515. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  5516. for i = 0,2,0.1 do
  5517. swait()
  5518. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5519. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3)
  5520. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  5521. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3)
  5522. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3)
  5523. 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)
  5524. 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)
  5525. end
  5526. CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
  5527. CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
  5528. CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
  5529. CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
  5530. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  5531. sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR)
  5532. for i = 0, 24 do
  5533. 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"))
  5534. end
  5535. for i = 0,4,0.1 do
  5536. swait()
  5537. root.CFrame = root.CFrame + root.CFrame.lookVector*5
  5538. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  5539. CreateMesh(dis,"Sphere",1,1,1)
  5540. dis.Anchored = true
  5541. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  5542. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  5543. coroutine.resume(coroutine.create(function()
  5544. swait(30)
  5545. dis.Transparency = 1
  5546. coroutine.resume(coroutine.create(function()
  5547. for i = 0, 19 do
  5548. swait()
  5549. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  5550. end
  5551. hum.CameraOffset = vt(0,0,0)
  5552. end))
  5553. coroutine.resume(coroutine.create(function()
  5554. local eff = Instance.new("ParticleEmitter",dis)
  5555. eff.Texture = "rbxassetid://2273224484"
  5556. eff.LightEmission = 1
  5557. eff.Color = ColorSequence.new(dis.Color)
  5558. eff.Rate = 500000
  5559. eff.Lifetime = NumberRange.new(0.5,2)
  5560. 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)})
  5561. 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)})
  5562. eff.Speed = NumberRange.new(50,450)
  5563. eff.Drag = 5
  5564. eff.Rotation = NumberRange.new(-500,500)
  5565. eff.VelocitySpread = 9000
  5566. eff.RotSpeed = NumberRange.new(-50,50)
  5567. wait(0.125)
  5568. eff.Enabled = false
  5569. end))
  5570. MagniDamage(dis, 30, 45,50, 0, "Normal")
  5571. for i = 0, 2 do
  5572. 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)
  5573. end
  5574. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
  5575. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
  5576. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
  5577. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color)
  5578. end))
  5579. game:GetService("Debris"):AddItem(dis, 5)
  5580. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5)
  5581. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5)
  5582. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5)
  5583. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5)
  5584. 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)
  5585. 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)
  5586. end
  5587. attack = false
  5588. end
  5589. ----------------------------------- Abilities
  5590.  
  5591. function ExtinctiveHeartbreak()
  5592. local targetted = nil
  5593. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5594. targetted = mouse.Target.Parent
  5595. end
  5596. if targetted ~= nil then
  5597. attack = true
  5598. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5599. for i = 0, 9 do
  5600. 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)
  5601. end
  5602. for i = 0, 24 do
  5603. 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)
  5604. end
  5605. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5606. local originalpos = root.CFrame
  5607. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  5608. for i = 0, 9 do
  5609. 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)
  5610. end
  5611. for i = 0, 24 do
  5612. 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)
  5613. end
  5614. hum.WalkSpeed = 0
  5615. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5616. local radm = math.random(1,3)
  5617. if radm == 1 then
  5618. bosschatfunc("YOU WONT BE NECCESSARY.",MAINRUINCOLOR.Color,2)
  5619. elseif radm == 2 then
  5620. bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
  5621. elseif radm == 3 then
  5622. bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  5623. end
  5624. for i = 0,2,0.1 do
  5625. swait()
  5626. 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)
  5627. 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)
  5628. 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)
  5629. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5630. 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)
  5631. 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)
  5632. end
  5633. CFuncs["Sound"].Create("rbxassetid://153092227", root, 0.5,1)
  5634. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 2, 1,0,10,0.25,0.5,1)
  5635. for i = 0,2,0.1 do
  5636. swait()
  5637. coroutine.resume(coroutine.create(function()
  5638. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5639. for i,v in pairs(targetted:GetChildren()) do
  5640. if v:IsA("Part") or v:IsA("MeshPart") then
  5641. v.Velocity = vt(0,0,0)
  5642. end
  5643. end
  5644. end))
  5645. 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)
  5646. 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)
  5647. 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)
  5648. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  5649. 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)
  5650. 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)
  5651. end
  5652. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 0.5, 1,0,10,0.25,0.5,1)
  5653. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 0.5, 0.9,0,10,0.25,0.5,1)
  5654. for i = 0, 1 do
  5655. CFuncs["EchoSound"].Create("rbxassetid://159882598", char, 2, 1,0.1,10,0.15,0.5,1)
  5656. end
  5657. CFuncs["EchoSound"].Create("rbxassetid://159882598", root, 15, 1,0.1,10,0.15,0.5,1)
  5658. --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  5659. for i = 0,4,0.1 do
  5660. swait()
  5661. coroutine.resume(coroutine.create(function()
  5662. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5663. 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)))
  5664. local at1 = Instance.new("Attachment",dis)
  5665. at1.Position = vt(-25000,0,0)
  5666. local at2 = Instance.new("Attachment",dis)
  5667. at2.Position = vt(25000,0,0)
  5668. local trl = Instance.new('Trail',dis)
  5669. trl.Attachment0 = at1
  5670. trl.FaceCamera = true
  5671. trl.Attachment1 = at2
  5672. trl.Texture = "rbxassetid://1049219073"
  5673. trl.LightEmission = 1
  5674. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5675. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  5676. trl.Lifetime = 5
  5677. local bv = Instance.new("BodyVelocity")
  5678. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5679. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5680. bv.Parent = dis
  5681. game:GetService("Debris"):AddItem(dis, 5)
  5682. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5683. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  5684. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  5685. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  5686. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  5687. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  5688. 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)
  5689. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  5690. for i = 0, 2 do
  5691. 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"))
  5692. end
  5693. 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)
  5694. for i,v in pairs(targetted:GetChildren()) do
  5695. if v:IsA("Part") or v:IsA("MeshPart") then
  5696. v.Velocity = vt(0,0,0)
  5697. end
  5698. end
  5699. end))
  5700. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  5701. 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)
  5702. 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)
  5703. 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)
  5704. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  5705. 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)
  5706. 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)
  5707. end
  5708. hum.CameraOffset = vt(0,0,0)
  5709. for i = 0, 49 do
  5710. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5711. 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)))
  5712. local at1 = Instance.new("Attachment",dis)
  5713. at1.Position = vt(-50000,0,0)
  5714. local at2 = Instance.new("Attachment",dis)
  5715. at2.Position = vt(50000,0,0)
  5716. local trl = Instance.new('Trail',dis)
  5717. trl.Attachment0 = at1
  5718. trl.FaceCamera = true
  5719. trl.Attachment1 = at2
  5720. trl.Texture = "rbxassetid://1049219073"
  5721. trl.LightEmission = 1
  5722. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5723. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  5724. trl.Lifetime = 5
  5725. local bv = Instance.new("BodyVelocity")
  5726. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5727. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5728. bv.Parent = dis
  5729. game:GetService("Debris"):AddItem(dis, 5)
  5730. end
  5731. for i = 0, 49 do
  5732. 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)
  5733. 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"))
  5734. end
  5735. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  5736. for i = 0, 1 do
  5737. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  5738. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  5739. end
  5740. for i = 0, 4 do
  5741. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  5742. end
  5743. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  5744. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  5745. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  5746. dmg(targetted)
  5747. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5748. for i = 0, 9 do
  5749. 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)
  5750. end
  5751. for i = 0, 24 do
  5752. 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)
  5753. end
  5754. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5755. root.CFrame = originalpos
  5756. for i = 0, 9 do
  5757. 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)
  5758. end
  5759. for i = 0, 24 do
  5760. 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)
  5761. end
  5762. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5763. attack = false
  5764. hum.WalkSpeed = storehumanoidWS
  5765. end
  5766. end
  5767.  
  5768. function CorruptionEvent()
  5769. attack = true
  5770. hum.WalkSpeed = 0
  5771. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5772. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5773. local keptcolor = MAINRUINCOLOR
  5774. for i = 0,4,0.1 do
  5775. swait()
  5776. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5777. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5778. 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)
  5779. 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)
  5780. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  5781. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  5782. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  5783. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5784. end
  5785. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5786. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  5787. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  5788. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5789. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5790. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5791. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  5792. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  5793. hum.CameraOffset = vt(0,0,0)
  5794. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5795. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5796. for i = 0, 24 do
  5797. 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"))
  5798. end
  5799. local rrot = 0
  5800. coroutine.resume(coroutine.create(function()
  5801. for i = 0, 4 do
  5802. rrot = rrot + 45
  5803. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5804. xa.Anchored = true
  5805. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5806. xb.Anchored = true
  5807. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5808. xc.Anchored = true
  5809. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5810. xd.Anchored = true
  5811. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  5812. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  5813. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  5814. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  5815. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  5816. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  5817. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  5818. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  5819. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  5820. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  5821. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  5822. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  5823. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  5824. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  5825. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  5826. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  5827. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5828. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5829. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5830. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5831. for i = 0, 9 do
  5832. 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"))
  5833. 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"))
  5834. 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"))
  5835. 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"))
  5836. end
  5837. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5838. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5839. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5840. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5841. 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)
  5842. 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)
  5843. 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)
  5844. 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)
  5845. 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))
  5846. 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))
  5847. 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))
  5848. 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))
  5849. game:GetService("Debris"):AddItem(xa, 5)
  5850. game:GetService("Debris"):AddItem(xb, 5)
  5851. game:GetService("Debris"):AddItem(xc, 5)
  5852. game:GetService("Debris"):AddItem(xd, 5)
  5853. coroutine.resume(coroutine.create(function()
  5854. for i = 0, 19 do
  5855. swait()
  5856. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5857. end
  5858. hum.CameraOffset = vt(0,0,0)
  5859. end))
  5860. swait(9)
  5861. end
  5862. end))
  5863. for i = 0,2,0.1 do
  5864. swait()
  5865. 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)
  5866. 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)
  5867. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  5868. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  5869. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  5870. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5871. end
  5872. attack = false
  5873. hum.WalkSpeed = storehumanoidWS
  5874. end
  5875.  
  5876. function EndGROUND()
  5877. attack = true
  5878. hum.WalkSpeed = 0
  5879. bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
  5880. --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5881. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5882. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  5883. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  5884. local keptcolor = MAINRUINCOLOR
  5885. for i = 0,4,0.1 do
  5886. swait()
  5887. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5888. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5889. 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"))
  5890. 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)
  5891. 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)
  5892. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  5893. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  5894. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  5895. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5896. end
  5897. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5898. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5899. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5900. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5901. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  5902. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  5903. coroutine.resume(coroutine.create(function()
  5904. local shval = 10
  5905. for i = 0, 99 do
  5906. swait()
  5907. shval = shval - 0.1
  5908. hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  5909. end
  5910. hum.CameraOffset = vt(0,0,0)
  5911. end))
  5912. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5913. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5914. for i = 0, 24 do
  5915. 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"))
  5916. end
  5917. local rrot = 0
  5918. local xam = 1
  5919. coroutine.resume(coroutine.create(function()
  5920. for i = 0, 14 do
  5921. --swait()
  5922. rrot = rrot + 40*xam
  5923. xam = xam + 0.25
  5924. local bonus = xam
  5925. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  5926. xa.Anchored = true
  5927. xa.Color = Color3.new(0,0,0)
  5928. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  5929. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  5930. local xc = 0
  5931. coroutine.resume(coroutine.create(function()
  5932. for i = 0, 99 do
  5933. swait()
  5934. xc = xc + 0.01
  5935. xa.Color = Color3.new(xc,0,0)
  5936. end
  5937. xa.Transparency = 1
  5938. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  5939. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  5940. for i = 0, 9 do
  5941. 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"))
  5942. end
  5943. 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)
  5944. 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)
  5945. 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))
  5946. game:GetService("Debris"):AddItem(xa, 5)
  5947. coroutine.resume(coroutine.create(function()
  5948. for i = 0, 19 do
  5949. swait()
  5950. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5951. end
  5952. hum.CameraOffset = vt(0,0,0)
  5953. end))
  5954. end))
  5955. end
  5956. end))
  5957. for i = 0,2,0.1 do
  5958. swait()
  5959. 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)
  5960. 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)
  5961. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  5962. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  5963. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  5964. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5965. end
  5966. attack = false
  5967. hum.WalkSpeed = storehumanoidWS
  5968. end
  5969.  
  5970. function HeavenlyDisk()
  5971. attack = true
  5972. hum.WalkSpeed = 2
  5973. local keptcolor = MAINRUINCOLOR
  5974. local radm = math.random(1,3)
  5975. if radm == 1 then
  5976. bosschatfunc("Dont make this too easy for you.",MAINRUINCOLOR.Color,1)
  5977. elseif radm == 2 then
  5978. bosschatfunc("Heavenly Disks!",MAINRUINCOLOR.Color,1)
  5979. elseif radm == 3 then
  5980. bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
  5981. end
  5982. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5983. CFuncs["EchoSound"].Create("rbxassetid://1625448638", char, 4, 1,0,10,0.15,0.5,1)
  5984. 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)
  5985. 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)
  5986. for i = 0, 14 do
  5987. 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)
  5988. end
  5989. for i = 0,2,0.1 do
  5990. swait()
  5991. 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)
  5992. 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)
  5993. 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)
  5994. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5995. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  5996. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  5997. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5998. end
  5999. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  6000. for i = 0,1,0.6 do
  6001. swait()
  6002. 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)
  6003. 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"))
  6004. 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)
  6005. 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)
  6006. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  6007. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6008. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6009. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6010. end
  6011. for i = 0,1,0.6 do
  6012. swait()
  6013. 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)
  6014. 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"))
  6015. 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)
  6016. 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)
  6017. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  6018. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6019. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6020. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6021. end
  6022. for i = 0,1,0.6 do
  6023. swait()
  6024. 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)
  6025. 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"))
  6026. 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)
  6027. 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)
  6028. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  6029. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6030. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6031. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6032. end
  6033. for i = 0,1,0.6 do
  6034. swait()
  6035. 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)
  6036. 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"))
  6037. 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)
  6038. 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)
  6039. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  6040. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6041. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6042. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6043. end
  6044. local rot = 15
  6045. for i = 0, 2 do
  6046. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
  6047. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  6048. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  6049. CreateMesh(dis,"Sphere",10,1,10)
  6050. local at1 = Instance.new("Attachment",dis)
  6051. at1.Position = vt(-5,0,0)
  6052. local at2 = Instance.new("Attachment",dis)
  6053. at2.Position = vt(5,0,0)
  6054. local trl = Instance.new('Trail',wed)
  6055. trl.Attachment0 = at1
  6056. trl.Attachment1 = at2
  6057. trl.Texture = "rbxassetid://1049219073"
  6058. trl.LightEmission = 1
  6059. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6060. trl.Color = ColorSequence.new(dis.Color)
  6061. trl.Lifetime = 0.6
  6062. local a = Instance.new("Part",workspace)
  6063. a.Name = "Direction"
  6064. a.Anchored = true
  6065. a.BrickColor = bc("Bright red")
  6066. a.Material = "Neon"
  6067. a.Transparency = 1
  6068. a.CanCollide = false
  6069. local ray = Ray.new(
  6070. dis.CFrame.p, -- origin
  6071. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6072. )
  6073. local ignore = dis
  6074. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6075. a.BottomSurface = 10
  6076. a.TopSurface = 10
  6077. local distance = (dis.CFrame.p - position).magnitude
  6078. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6079. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6080. dis.CFrame = a.CFrame
  6081. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  6082. a:Destroy()
  6083. local bv = Instance.new("BodyVelocity")
  6084. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6085. bv.velocity = dis.CFrame.lookVector*250
  6086. bv.Parent = dis
  6087. game:GetService("Debris"):AddItem(dis, 5)
  6088. local hitted = false
  6089. coroutine.resume(coroutine.create(function()
  6090. dis.Touched:connect(function(hit)
  6091. if hitted == false and hit.Parent ~= char then
  6092. hitted = true
  6093. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  6094. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  6095. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  6096. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  6097. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  6098. coroutine.resume(coroutine.create(function()
  6099. for i = 0, 9 do
  6100. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6101. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6102. local at1 = Instance.new("Attachment",disr)
  6103. at1.Position = vt(-2,0,0)
  6104. local at2 = Instance.new("Attachment",disr)
  6105. at2.Position = vt(2,0,0)
  6106. local trl = Instance.new('Trail',disr)
  6107. trl.Attachment0 = at1
  6108. trl.FaceCamera = true
  6109. trl.Attachment1 = at2
  6110. trl.Texture = "rbxassetid://2342682798"
  6111. trl.LightEmission = 1
  6112. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6113. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6114. trl.Lifetime = 0.5
  6115. local bv = Instance.new("BodyVelocity")
  6116. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6117. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  6118. bv.Parent = disr
  6119. local val = 0
  6120. coroutine.resume(coroutine.create(function()
  6121. swait(30)
  6122. for i = 0, 9 do
  6123. swait()
  6124. val = val + 0.1
  6125. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6126. end
  6127. game:GetService("Debris"):AddItem(disr, 3)
  6128. end))
  6129. end
  6130. local eff = Instance.new("ParticleEmitter",dis)
  6131. eff.Texture = "rbxassetid://2273224484"
  6132. eff.LightEmission = 1
  6133. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6134. eff.Rate = 500000
  6135. eff.Lifetime = NumberRange.new(0.5,2)
  6136. 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)})
  6137. 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)})
  6138. eff.Speed = NumberRange.new(20,250)
  6139. eff.Drag = 5
  6140. eff.Rotation = NumberRange.new(-500,500)
  6141. eff.VelocitySpread = 9000
  6142. eff.RotSpeed = NumberRange.new(-50,50)
  6143. wait(0.25)
  6144. eff.Enabled = false
  6145. end))
  6146. for i = 0, 9 do
  6147. 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"))
  6148. end
  6149. for i = 0, 19 do
  6150. 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)
  6151. end
  6152. coroutine.resume(coroutine.create(function()
  6153. for i = 0, 19 do
  6154. swait()
  6155. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6156. end
  6157. hum.CameraOffset = vt(0,0,0)
  6158. end))
  6159. dis.Anchored = true
  6160. dis.Transparency = 1
  6161. wait(8)
  6162. dis:Destroy()
  6163. end
  6164. end)
  6165. end))
  6166. rot = rot - 15
  6167. end
  6168. for i = 0,2,0.1 do
  6169. swait()
  6170. 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)
  6171. 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)
  6172. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  6173. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  6174. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6175. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6176. end
  6177. attack = false
  6178. hum.WalkSpeed = storehumanoidWS
  6179. end
  6180.  
  6181.  
  6182. function RapidBurst()
  6183. attack = true
  6184. hum.WalkSpeed = 0
  6185. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  6186. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
  6187. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  6188. bosschatfunc("SHATTER, YOU PIECE OF TRASH!",MAINRUINCOLOR.Color,1.8)
  6189. bosschatfunc("SHATTER, YOU PIECE OF TRASH!",MAINRUINCOLOR.Color,1.9)
  6190. bosschatfunc("SHATTER, YOU PIECE OF TRASH!",MAINRUINCOLOR.Color,2)
  6191. local keptcolor = MAINRUINCOLOR
  6192. for i = 0,8,0.1 do
  6193. swait()
  6194. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6195. 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())
  6196. 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)
  6197. 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)
  6198. 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)
  6199. 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)
  6200. 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)
  6201. 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)
  6202. 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)
  6203. end
  6204. for i = 0, 99 do
  6205. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6206. 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)))
  6207. local at1 = Instance.new("Attachment",dis)
  6208. at1.Position = vt(-25000,0,0)
  6209. local at2 = Instance.new("Attachment",dis)
  6210. at2.Position = vt(25000,0,0)
  6211. local trl = Instance.new('Trail',dis)
  6212. trl.Attachment0 = at1
  6213. trl.FaceCamera = true
  6214. trl.Attachment1 = at2
  6215. trl.Texture = "rbxassetid://1049219073"
  6216. trl.LightEmission = 1
  6217. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6218. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6219. trl.Lifetime = 5
  6220. local bv = Instance.new("BodyVelocity")
  6221. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6222. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6223. bv.Parent = dis
  6224. game:GetService("Debris"):AddItem(dis, 5)
  6225. end
  6226. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6227. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6228. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6229. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6230. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6231. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6232. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6233. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6234. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6235. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6236. hum.CameraOffset = vt(0,0,0)
  6237. for i = 0, 24 do
  6238. 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())
  6239. end
  6240. local distam = 0
  6241. coroutine.resume(coroutine.create(function()
  6242. for i = 0, 99 do
  6243. wait()
  6244. distam = distam + 1
  6245. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6246. xa.Anchored = true
  6247. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  6248. game:GetService("Debris"):AddItem(xa, 5)
  6249. for i = 0, 4 do
  6250. 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())
  6251. end
  6252. coroutine.resume(coroutine.create(function()
  6253. local eff = Instance.new("ParticleEmitter",xa)
  6254. eff.Texture = "rbxassetid://2273224484"
  6255. eff.LightEmission = 1
  6256. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6257. eff.Rate = 500000
  6258. eff.Lifetime = NumberRange.new(1,3)
  6259. 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)})
  6260. 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)})
  6261. eff.Speed = NumberRange.new(50,500)
  6262. eff.Drag = 5
  6263. eff.Rotation = NumberRange.new(-500,500)
  6264. eff.VelocitySpread = 9000
  6265. eff.RotSpeed = NumberRange.new(-50,50)
  6266. wait(0.25)
  6267. eff.Enabled = false
  6268. end))
  6269. coroutine.resume(coroutine.create(function()
  6270. for i = 0, 19 do
  6271. swait()
  6272. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  6273. end
  6274. hum.CameraOffset = vt(0,0,0)
  6275. end))
  6276. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6277. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6278. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6279. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6280. end
  6281. end))
  6282. attack = false
  6283. hum.WalkSpeed = storehumanoidWS
  6284. end
  6285.  
  6286. function InsaneDrop()
  6287. attack = true
  6288. hum.WalkSpeed = 0
  6289. CFuncs["Sound"].Create("rbxassetid://907329669", char, 2.5, 0.5)
  6290. CFuncs["Sound"].Create("rbxassetid://907329669", root, 10, 0.5)
  6291. CFuncs["EchoSound"].Create("rbxassetid://907329669", char, 4, 1,0,10,0.15,0.5,1)
  6292. bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!",MAINRUINCOLOR.Color,1.8)
  6293. bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!",MAINRUINCOLOR.Color,1.9)
  6294. bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!",MAINRUINCOLOR.Color,2)
  6295. local keptcolor = MAINRUINCOLOR
  6296. for i = 0,8,0.1 do
  6297. swait()
  6298. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6299. 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())
  6300. 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)
  6301. 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)
  6302. 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)
  6303. 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)
  6304. 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)
  6305. 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)
  6306. 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)
  6307. end
  6308. for i = 0, 99 do
  6309. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6310. 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)))
  6311. local at1 = Instance.new("Attachment",dis)
  6312. at1.Position = vt(-25000,0,0)
  6313. local at2 = Instance.new("Attachment",dis)
  6314. at2.Position = vt(25000,0,0)
  6315. local trl = Instance.new('Trail',dis)
  6316. trl.Attachment0 = at1
  6317. trl.FaceCamera = true
  6318. trl.Attachment1 = at2
  6319. trl.Texture = "rbxassetid://1049219073"
  6320. trl.LightEmission = 1
  6321. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6322. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6323. trl.Lifetime = 5
  6324. local bv = Instance.new("BodyVelocity")
  6325. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6326. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6327. bv.Parent = dis
  6328. game:GetService("Debris"):AddItem(dis, 5)
  6329. end
  6330. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6331. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6332. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6333. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6334. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6335. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6336. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6337. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6338. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6339. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6340. hum.CameraOffset = vt(0,0,0)
  6341. for i = 0, 24 do
  6342. 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())
  6343. end
  6344. local distam = 0
  6345. coroutine.resume(coroutine.create(function()
  6346. for i = 0, 99 do
  6347. wait()
  6348. distam = distam + 1
  6349. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6350. xa.Anchored = true
  6351. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  6352. game:GetService("Debris"):AddItem(xa, 5)
  6353. for i = 0, 4 do
  6354. 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())
  6355. end
  6356. coroutine.resume(coroutine.create(function()
  6357. local eff = Instance.new("ParticleEmitter",xa)
  6358. eff.Texture = "rbxassetid://2273224484"
  6359. eff.LightEmission = 1
  6360. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6361. eff.Rate = 500000
  6362. eff.Lifetime = NumberRange.new(1,3)
  6363. 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)})
  6364. 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)})
  6365. eff.Speed = NumberRange.new(50,500)
  6366. eff.Drag = 5
  6367. eff.Rotation = NumberRange.new(-500,500)
  6368. eff.VelocitySpread = 9000
  6369. eff.RotSpeed = NumberRange.new(-50,50)
  6370. wait(0.25)
  6371. eff.Enabled = false
  6372. end))
  6373. coroutine.resume(coroutine.create(function()
  6374. for i = 0, 19 do
  6375. swait()
  6376. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  6377. end
  6378. hum.CameraOffset = vt(0,0,0)
  6379. end))
  6380. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6381. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6382. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6383. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6384. end
  6385. end))
  6386. attack = false
  6387. hum.WalkSpeed = storehumanoidWS
  6388. end
  6389.  
  6390. function FallenOrbs()
  6391. attack = true
  6392. hum.WalkSpeed = 2
  6393. local keptcolor = MAINRUINCOLOR
  6394. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 5, 1,0,10,0.15,0.5,1)
  6395. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 60, 1,0,10,0.15,0.5,1)
  6396. local radm = math.random(1,3)
  6397. if radm == 1 then
  6398. bosschatfunc("This wont be easy to you.",MAINRUINCOLOR.Color,1)
  6399. elseif radm == 2 then
  6400. bosschatfunc("How about this?",MAINRUINCOLOR.Color,1)
  6401. elseif radm == 3 then
  6402. bosschatfunc("Swarm!",MAINRUINCOLOR.Color,1)
  6403. end
  6404. coroutine.resume(coroutine.create(function()
  6405. for i = 0, 29 do
  6406. swait(2)
  6407. local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
  6408. dis.Anchored = true
  6409. CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  6410. dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35))
  6411. CreateMesh(dis,"Sphere",2,2,2)
  6412. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  6413. 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"))
  6414. coroutine.resume(coroutine.create(function()
  6415. wait(0.5)
  6416. dis.Anchored = false
  6417. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 9, 1,0,2,0.15,0.1,1)
  6418. local at1 = Instance.new("Attachment",dis)
  6419. at1.Position = vt(-1,0,0)
  6420. local at2 = Instance.new("Attachment",dis)
  6421. at2.Position = vt(1,0,0)
  6422. local trl = Instance.new('Trail',dis)
  6423. trl.Attachment0 = at1
  6424. trl.FaceCamera = true
  6425. trl.Attachment1 = at2
  6426. trl.Texture = "rbxassetid://1049219073"
  6427. trl.LightEmission = 1
  6428. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6429. trl.Color = ColorSequence.new(dis.Color)
  6430. trl.Lifetime = 0.6
  6431. local a = Instance.new("Part",workspace)
  6432. a.Name = "Direction"
  6433. a.Anchored = true
  6434. a.BrickColor = bc("Bright red")
  6435. a.Material = "Neon"
  6436. a.Transparency = 1
  6437. a.CanCollide = false
  6438. local ray = Ray.new(
  6439. dis.CFrame.p, -- origin
  6440. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6441. )
  6442. local ignore = dis
  6443. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6444. a.BottomSurface = 10
  6445. a.TopSurface = 10
  6446. local distance = (dis.CFrame.p - position).magnitude
  6447. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6448. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6449. dis.CFrame = a.CFrame
  6450. a:Destroy()
  6451. local bv = Instance.new("BodyVelocity")
  6452. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6453. bv.velocity = dis.CFrame.lookVector*500
  6454. bv.Parent = dis
  6455. game:GetService("Debris"):AddItem(dis, 5)
  6456. local hitted = false
  6457. coroutine.resume(coroutine.create(function()
  6458. dis.Touched:connect(function(hit)
  6459. if hitted == false and hit.Parent ~= char then
  6460. hitted = true
  6461. CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 5, 0.8,0,10,0.15,0.5,1)
  6462. MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  6463. sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color)
  6464. sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  6465. coroutine.resume(coroutine.create(function()
  6466. for i = 0, 4 do
  6467. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6468. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6469. local at1 = Instance.new("Attachment",disr)
  6470. at1.Position = vt(-10,0,0)
  6471. local at2 = Instance.new("Attachment",disr)
  6472. at2.Position = vt(10,0,0)
  6473. local trl = Instance.new('Trail',disr)
  6474. trl.Attachment0 = at1
  6475. trl.FaceCamera = true
  6476. trl.Attachment1 = at2
  6477. trl.Texture = "rbxassetid://2342682798"
  6478. trl.LightEmission = 1
  6479. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6480. trl.Color = ColorSequence.new(disr.Color)
  6481. trl.Lifetime = 0.5
  6482. local bv = Instance.new("BodyVelocity")
  6483. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6484. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  6485. bv.Parent = disr
  6486. local val = 0
  6487. coroutine.resume(coroutine.create(function()
  6488. swait(30)
  6489. for i = 0, 9 do
  6490. swait()
  6491. val = val + 0.1
  6492. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6493. end
  6494. game:GetService("Debris"):AddItem(disr, 3)
  6495. end))
  6496. end
  6497. local eff = Instance.new("ParticleEmitter",dis)
  6498. eff.Texture = "rbxassetid://1049219073"
  6499. eff.LightEmission = 1
  6500. eff.Color = ColorSequence.new(dis.Color)
  6501. eff.Rate = 500000
  6502. eff.Lifetime = NumberRange.new(0.5,2)
  6503. 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)})
  6504. 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)})
  6505. eff.Speed = NumberRange.new(20,250)
  6506. eff.Drag = 5
  6507. eff.Rotation = NumberRange.new(-500,500)
  6508. eff.VelocitySpread = 9000
  6509. eff.RotSpeed = NumberRange.new(-50,50)
  6510. wait(0.5)
  6511. eff.Enabled = false
  6512. end))
  6513. for i = 0, 4 do
  6514. 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"))
  6515. end
  6516. coroutine.resume(coroutine.create(function()
  6517. for i = 0, 19 do
  6518. swait()
  6519. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6520. end
  6521. hum.CameraOffset = vt(0,0,0)
  6522. end))
  6523. dis.Anchored = true
  6524. dis.Transparency = 1
  6525. wait(8)
  6526. dis:Destroy()
  6527. end
  6528. end)
  6529. end))
  6530. end))
  6531. end
  6532. end))
  6533. for i = 0,9,0.1 do
  6534. swait()
  6535. 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)
  6536. 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)
  6537. 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)
  6538. 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)
  6539. 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)
  6540. 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)
  6541. 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)
  6542. end
  6543. attack = false
  6544. hum.WalkSpeed = storehumanoidWS
  6545. end
  6546.  
  6547. function CyberSlash()
  6548. local posit = -2
  6549. attack = true
  6550. hum.WalkSpeed = 5
  6551. CFuncs["EchoSound"].Create("rbxassetid://1448033920", char, 5, 1,0,10,0.15,0.5,1)
  6552. local radm = math.random(1,3)
  6553. if radm == 1 then
  6554. bosschatfunc("FIBER!!!",MAINRUINCOLOR.Color,1)
  6555. elseif radm == 2 then
  6556. bosschatfunc("SLASHED!!",MAINRUINCOLOR.Color,1)
  6557. elseif radm == 3 then
  6558. bosschatfunc("TAKE MY CLAW!!",MAINRUINCOLOR.Color,1)
  6559. end
  6560. CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
  6561. for i = 0,2,0.1 do
  6562. swait()
  6563. 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)
  6564. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
  6565. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
  6566. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  6567. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
  6568. 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)
  6569. 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)
  6570. end
  6571. for i = 0, 2 do
  6572. CameraEnshaking(1,2)
  6573. local hite = Instance.new("Part", char)
  6574. hite.Anchored = true
  6575. hite.CanCollide = false
  6576. hite.FormFactor = 3
  6577. hite.Name = "Ring"
  6578. hite.Material = "Neon"
  6579. hite.Size = Vector3.new(1, 1, 1)
  6580. hite.Transparency = 1
  6581. hite.TopSurface = 0
  6582. hite.BottomSurface = 0
  6583. hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
  6584. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
  6585. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
  6586. coroutine.resume(coroutine.create(function()
  6587. for i = 0, 1 do
  6588. swait()
  6589. 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)
  6590. 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)
  6591. 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)
  6592. end
  6593. end))
  6594. 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)
  6595. MagniDamage(hite, 3, 30,40, 0, "Normal")
  6596. game:GetService("Debris"):AddItem(hite, 5)
  6597. posit = posit + 2
  6598. end
  6599. for i = 0,1,0.1 do
  6600. swait()
  6601. 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)
  6602. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  6603. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
  6604. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  6605. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
  6606. 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)
  6607. 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)
  6608. end
  6609. for i = 0,1,0.1 do
  6610. swait()
  6611. 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)
  6612. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,1)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
  6613. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
  6614. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
  6615. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
  6616. 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)
  6617. 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)
  6618. end
  6619. posit = -6
  6620. for i = 0, 6 do
  6621. CameraEnshaking(1,3)
  6622. local hite = Instance.new("Part", char)
  6623. hite.Anchored = true
  6624. hite.CanCollide = false
  6625. hite.FormFactor = 3
  6626. hite.Name = "Ring"
  6627. hite.Material = "Neon"
  6628. hite.Size = Vector3.new(1, 1, 1)
  6629. hite.Transparency = 1
  6630. hite.TopSurface = 0
  6631. hite.BottomSurface = 0
  6632. hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
  6633. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
  6634. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
  6635. 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)
  6636. coroutine.resume(coroutine.create(function()
  6637. for i = 0, 2 do
  6638. swait()
  6639. 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)
  6640. 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)
  6641. 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)
  6642. end
  6643. end))
  6644. MagniDamage(hite, 5, 40,70, 0, "Normal")
  6645. game:GetService("Debris"):AddItem(hite, 5)
  6646. posit = posit + 2
  6647. end
  6648. for i = 0,1,0.1 do
  6649. swait()
  6650. 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)
  6651. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
  6652. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  6653. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
  6654. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
  6655. 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)
  6656. 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)
  6657. end
  6658. hum.WalkSpeed = storehumanoidWS
  6659. attack = false
  6660. end
  6661.  
  6662. function EquinoxOrbs()
  6663. hum.WalkSpeed = 0
  6664. attack = true
  6665. local radm = math.random(1,3)
  6666. if radm == 1 then
  6667. bosschatfunc("NOX-DASH!!!",MAINRUINCOLOR.Color,1)
  6668. elseif radm == 2 then
  6669. bosschatfunc("Beware from behind",MAINRUINCOLOR.Color,1)
  6670. elseif radm == 3 then
  6671. bosschatfunc("I'M COMING!!",MAINRUINCOLOR.Color,1)
  6672. end
  6673. for i = 0,1,0.1 do
  6674. swait()
  6675. 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)
  6676. 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)
  6677. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6678. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6679. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  6680. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  6681. end
  6682. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  6683. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  6684. for i = 0, 24 do
  6685. 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"))
  6686. end
  6687. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  6688. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  6689. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  6690. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  6691. for i = 0,4,0.1 do
  6692. swait()
  6693. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  6694. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  6695. CreateMesh(dis,"Sphere",1,1,1)
  6696. dis.Anchored = true
  6697. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  6698. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
  6699. CreateMesh(dis2,"Sphere",1,1,1)
  6700. dis2.Anchored = true
  6701. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  6702. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  6703. sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  6704. coroutine.resume(coroutine.create(function()
  6705. swait(60)
  6706. dis.Transparency = 1
  6707. dis2.Transparency = 1
  6708. coroutine.resume(coroutine.create(function()
  6709. for i = 0, 19 do
  6710. swait()
  6711. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  6712. end
  6713. hum.CameraOffset = vt(0,0,0)
  6714. end))
  6715. coroutine.resume(coroutine.create(function()
  6716. local eff = Instance.new("ParticleEmitter",dis)
  6717. eff.Texture = "rbxassetid://2273224484"
  6718. eff.LightEmission = 1
  6719. eff.Color = ColorSequence.new(dis.Color)
  6720. eff.Rate = 500000
  6721. eff.Lifetime = NumberRange.new(0.5,2)
  6722. 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)})
  6723. 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)})
  6724. eff.Speed = NumberRange.new(50,450)
  6725. eff.Drag = 5
  6726. eff.Rotation = NumberRange.new(-500,500)
  6727. eff.VelocitySpread = 9000
  6728. eff.RotSpeed = NumberRange.new(-50,50)
  6729. local eff2 = eff:Clone()
  6730. eff2.Parent = dis2
  6731. eff2.LightEmission = 0
  6732. eff2.Color = ColorSequence.new(dis2.Color)
  6733. wait(0.25)
  6734. eff.Enabled = false
  6735. eff2.Enabled = false
  6736. end))
  6737. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  6738. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  6739. for i = 0, 2 do
  6740. 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)
  6741. 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)
  6742. end
  6743. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  6744. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  6745. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  6746. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  6747. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  6748. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  6749. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  6750. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  6751. end))
  6752. game:GetService("Debris"):AddItem(dis, 5)
  6753. game:GetService("Debris"):AddItem(dis2, 5)
  6754. 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)
  6755. 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)
  6756. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6757. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6758. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  6759. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  6760. end
  6761. attack = false
  6762. hum.WalkSpeed = storehumanoidWS
  6763. end
  6764. function FallenDEMISE()
  6765. attack = true
  6766. hum.WalkSpeed = 0
  6767. local keptcolor = MAINRUINCOLOR
  6768. bosschatfunc("ALL OF YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,3)
  6769. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  6770. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  6771. for i = 0, 15, 0.1 do
  6772. swait()
  6773. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6774. 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)))
  6775. local at1 = Instance.new("Attachment",dis)
  6776. at1.Position = vt(-25000,0,0)
  6777. local at2 = Instance.new("Attachment",dis)
  6778. at2.Position = vt(25000,0,0)
  6779. local trl = Instance.new('Trail',dis)
  6780. trl.Attachment0 = at1
  6781. trl.FaceCamera = true
  6782. trl.Attachment1 = at2
  6783. trl.Texture = "rbxassetid://1049219073"
  6784. trl.LightEmission = 1
  6785. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6786. trl.Color = ColorSequence.new(dis.Color)
  6787. trl.Lifetime = 5
  6788. local bv = Instance.new("BodyVelocity")
  6789. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6790. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6791. bv.Parent = dis
  6792. game:GetService("Debris"):AddItem(dis, 1)
  6793. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
  6794. 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"))
  6795. 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"))
  6796. 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)
  6797. 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)
  6798. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6799. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6800. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6801. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6802. end
  6803. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  6804. for i = 0, 30, 0.1 do
  6805. swait()
  6806. coroutine.resume(coroutine.create(function()
  6807. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  6808. if v:FindFirstChild('Head') then
  6809. dmg(v)
  6810. end
  6811. end
  6812. end))
  6813. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6814. 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)))
  6815. local at1 = Instance.new("Attachment",dis)
  6816. at1.Position = vt(-50000,0,0)
  6817. local at2 = Instance.new("Attachment",dis)
  6818. at2.Position = vt(50000,0,0)
  6819. local trl = Instance.new('Trail',dis)
  6820. trl.Attachment0 = at1
  6821. trl.FaceCamera = true
  6822. trl.Attachment1 = at2
  6823. trl.Texture = "rbxassetid://1049219073"
  6824. trl.LightEmission = 1
  6825. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6826. trl.Color = ColorSequence.new(dis.Color)
  6827. trl.Lifetime = 10
  6828. local bv = Instance.new("BodyVelocity")
  6829. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6830. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  6831. bv.Parent = dis
  6832. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  6833. sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
  6834. sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
  6835. 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"))
  6836. 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"))
  6837. 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"))
  6838. 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"))
  6839. for i = 0, 2 do
  6840. 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)
  6841. end
  6842. 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)
  6843. 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)
  6844. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6845. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6846. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6847. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6848. end
  6849. attack = false
  6850. hum.WalkSpeed = storehumanoidWS
  6851. end
  6852.  
  6853. function SpeedDrop()
  6854. attack = true
  6855. hum.WalkSpeed = 0
  6856. CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
  6857. local poste = 3
  6858. local rotation = 0
  6859. local rate = 0
  6860. bosschatfunc("Nah..",MAINRUINCOLOR.Color,2)
  6861. for i = 0, 124 do
  6862. swait()
  6863. rotation = rotation + rate
  6864. poste = poste + 0.1
  6865. rate = rate + 0.1
  6866. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
  6867. 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)
  6868. 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)
  6869. 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)
  6870. 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)
  6871. 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)
  6872. 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)
  6873. 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)
  6874. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
  6875. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
  6876. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
  6877. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
  6878. end
  6879. CameraEnshaking(3,7)
  6880. bosschatfunc("See ya!",MAINRUINCOLOR.Color,2)
  6881. local loc = Instance.new("Part", char)
  6882. loc.BrickColor = MAINRUINCOLOR
  6883. loc.CanCollide = false
  6884. loc.FormFactor = 3
  6885. loc.Name = "Ring"
  6886. loc.Material = "Neon"
  6887. loc.Size = Vector3.new(1, 1, 1)
  6888. loc.Transparency = 1
  6889. loc.TopSurface = 0
  6890. loc.BottomSurface = 0
  6891. loc.Anchored = true
  6892. loc.CFrame = root.CFrame + root.CFrame.lookVector*100
  6893. CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
  6894. CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
  6895. MagniDamage(loc, 95, 500,6000, 0, "Normal")
  6896. sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
  6897. sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  6898. sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  6899. sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  6900. coroutine.resume(coroutine.create(function()
  6901. local eff = Instance.new("ParticleEmitter",loc)
  6902. eff.Texture = "rbxassetid://363275192"
  6903. eff.LightEmission = 0.95
  6904. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6905. eff.Rate = 10000
  6906. eff.Lifetime = NumberRange.new(1)
  6907. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
  6908. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6909. eff.Speed = NumberRange.new(100,500)
  6910. eff.Drag = 5
  6911. eff.Rotation = NumberRange.new(-500,500)
  6912. eff.VelocitySpread = 9000
  6913. eff.RotSpeed = NumberRange.new(-50,50)
  6914. wait(0.5)
  6915. eff.Enabled = false
  6916. end))
  6917. for i = 0, 49 do
  6918. 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)
  6919. end
  6920. for i = 0, 9 do
  6921. 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)
  6922. end
  6923. game:GetService("Debris"):AddItem(loc, 5)
  6924. root.CFrame = root.CFrame + root.CFrame.lookVector*200
  6925. hum.WalkSpeed = storehumanoidWS
  6926. attack = false
  6927. end
  6928.  
  6929. function cutesigh()
  6930. attack = true
  6931. hum.WalkSpeed = 0
  6932. bosschatfunc("sigh~~",MAINRUINCOLOR.Color,2)
  6933. local blush = Instance.new("Decal",hed)
  6934. blush.Texture = "rbxassetid://898404027"
  6935. blush.Face = "Front"
  6936. CFuncs["Sound"].Create("rbxassetid://294861193", char, 9,1)
  6937. for i = 0, 9, 0.1 do
  6938. swait()
  6939. 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)
  6940. 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)
  6941. 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)
  6942. 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)
  6943. 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)
  6944. 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)
  6945. end
  6946. coroutine.resume(coroutine.create(function()
  6947. for i = 0, 49 do
  6948. swait()
  6949. blush.Transparency = blush.Transparency + 0.02
  6950. end
  6951. blush:Destroy()
  6952. end))
  6953. hum.WalkSpeed = storehumanoidWS
  6954. attack = false
  6955. end
  6956.  
  6957. function smiter()
  6958. local targetted = nil
  6959. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  6960. targetted = mouse.Target.Parent
  6961. end
  6962. if targetted ~= nil then
  6963. RootPart.CFrame = FaceMouse()[1]
  6964. attack = true
  6965. local radm = math.random(1,3)
  6966. if radm == 1 then
  6967. bosschatfunc("SMITED!!",MAINRUINCOLOR.Color,1)
  6968. elseif radm == 2 then
  6969. bosschatfunc("FROM ABOVE!!",MAINRUINCOLOR.Color,1)
  6970. elseif radm == 3 then
  6971. bosschatfunc("LOOK UP!!",MAINRUINCOLOR.Color,1)
  6972. end
  6973. hum.WalkSpeed = 0
  6974. coroutine.resume(coroutine.create(function()
  6975. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  6976. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  6977. local vel = Instance.new("BodyPosition", targetted.Head)
  6978. vel.P = 12500
  6979. vel.D = 1000
  6980. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  6981. vel.position = targetted.Head.CFrame.p
  6982. end))
  6983. CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
  6984. CFuncs["EchoSound"].Create("rbxassetid://1436242685", char, 4, 1,0,10,0.15,0.5,1)
  6985. CFuncs["EchoSound"].Create("rbxassetid://1436242685", root, 60, 1,0,10,0.15,0.5,1)
  6986. for i = 0,4,0.1 do
  6987. swait()
  6988. 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)
  6989. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  6990. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  6991. 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)
  6992. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  6993. 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)
  6994. 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)
  6995. end
  6996. coroutine.resume(coroutine.create(function()
  6997. CameraEnshaking(6,5)
  6998. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  6999. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
  7000. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
  7001. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
  7002. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  7003. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  7004. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  7005. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  7006. coroutine.resume(coroutine.create(function()
  7007. local eff = Instance.new("ParticleEmitter",targetted.Head)
  7008. eff.Texture = "rbxassetid://2273224484"
  7009. eff.LightEmission = 1
  7010. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  7011. eff.Rate = 500000
  7012. eff.Lifetime = NumberRange.new(0.5,2)
  7013. 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)})
  7014. 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)})
  7015. eff.Speed = NumberRange.new(20,250)
  7016. eff.Drag = 5
  7017. eff.Rotation = NumberRange.new(-500,500)
  7018. eff.VelocitySpread = 9000
  7019. eff.RotSpeed = NumberRange.new(-50,50)
  7020. wait(0.25)
  7021. eff.Enabled = false
  7022. local eff = Instance.new("ParticleEmitter",targetted.Head)
  7023. eff.Texture = "rbxassetid://363275192"
  7024. eff.LightEmission = 0.95
  7025. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7026. eff.Rate = 10000
  7027. eff.Lifetime = NumberRange.new(1.5)
  7028. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  7029. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7030. eff.Speed = NumberRange.new(25,150)
  7031. eff.Drag = 5
  7032. eff.Rotation = NumberRange.new(-500,500)
  7033. eff.VelocitySpread = 9000
  7034. eff.RotSpeed = NumberRange.new(-50,50)
  7035. local eff2 = eff:Clone()
  7036. eff2.Parent = targetted.Head
  7037. eff2.Texture = "rbxassetid://284205403"
  7038. eff2.Rate = 10000
  7039. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7040. eff2.Drag = 5
  7041. eff2.Rotation = NumberRange.new(-500,500)
  7042. eff2.VelocitySpread = 9000
  7043. wait(0.5)
  7044. eff2.Enabled = false
  7045. eff.Enabled = false
  7046. end))
  7047. for i = 0, 9 do
  7048. 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)
  7049. end
  7050. for i = 0, 49 do
  7051. local rsiz = math.random(10,50)
  7052. 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)
  7053. end
  7054. game:GetService("Debris"):AddItem(vel,1)
  7055. dmg(targetted)
  7056. end))
  7057. for i = 0,1,0.1 do
  7058. swait()
  7059. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  7060. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  7061. 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)
  7062. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7063. 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)
  7064. 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)
  7065. end
  7066. attack = false
  7067. hum.WalkSpeed = storehumanoidWS
  7068. end
  7069. end
  7070.  
  7071. function shytaunty()
  7072. attack = true
  7073. hum.WalkSpeed = 0
  7074. CFuncs["Sound"].Create("rbxassetid://543623779", char, 1, 1)
  7075. local blush = Instance.new("Decal",hed)
  7076. blush.Texture = "rbxassetid://898404027"
  7077. blush.Face = "Front"
  7078. for i = 0, 13, 0.1 do
  7079. swait()
  7080. 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)
  7081. 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)
  7082. 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)
  7083. 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)
  7084. 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)
  7085. 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)
  7086. end
  7087. coroutine.resume(coroutine.create(function()
  7088. for i = 0, 49 do
  7089. swait()
  7090. blush.Transparency = blush.Transparency + 0.02
  7091. end
  7092. blush:Destroy()
  7093. end))
  7094. hum.WalkSpeed = storehumanoidWS
  7095. attack = false
  7096. end
  7097.  
  7098. function PureBomb()
  7099. attack = true
  7100. CFuncs["EchoSound"].Create("rbxassetid://1436241485", char, 5, 1,0,10,0.15,0.5,1)
  7101. CFuncs["EchoSound"].Create("rbxassetid://1436241485", root, 60, 1,0,10,0.15,0.5,1)
  7102. bosschatfunc("Purified..",MAINRUINCOLOR.Color,2)
  7103. local orb = Instance.new("Part", char)
  7104. orb.Anchored = true
  7105. orb.BrickColor = BrickColor.new("Toothpaste")
  7106. orb.CanCollide = false
  7107. orb.FormFactor = 3
  7108. orb.Name = "Ring"
  7109. orb.Material = "Neon"
  7110. orb.Size = Vector3.new(1, 1, 1)
  7111. orb.Transparency = 0
  7112. orb.TopSurface = 0
  7113. orb.BottomSurface = 0
  7114. local orbm = Instance.new("SpecialMesh", orb)
  7115. orbm.MeshType = "Sphere"
  7116. orbm.Name = "SizeMesh"
  7117. orbm.Scale = vt(0,0,0)
  7118. local scaled = 0.1
  7119. local posid = 0
  7120. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 30,1)
  7121. for i = 0, 5, 0.1 do
  7122. swait()
  7123. scaled = scaled - 0.001
  7124. posid = posid - scaled
  7125. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  7126. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  7127. 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)
  7128. 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)
  7129. 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)
  7130. 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)
  7131. 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)
  7132. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7133. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  7134. 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)
  7135. end
  7136. for i = 0, 2, 0.1 do
  7137. swait()
  7138. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  7139. 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)
  7140. 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)
  7141. 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)
  7142. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  7143. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  7144. 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)
  7145. end
  7146. CFuncs["EchoSound"].Create("rbxassetid://1436240026", char, 4, 1,0,10,0.15,0.5,1)
  7147. CFuncs["EchoSound"].Create("rbxassetid://1436240026", root, 60, 1,0,10,0.15,0.5,1)
  7148. bosschatfunc("BOMB!!",MAINRUINCOLOR.Color,2)
  7149. coroutine.resume(coroutine.create(function()
  7150. orb.Anchored = false
  7151. CFuncs["Sound"].Create("rbxassetid://260433768", root, 555,1)
  7152. local a = Instance.new("Part",workspace)
  7153. a.Name = "Direction"
  7154. a.Anchored = true
  7155. a.BrickColor = bc("Bright red")
  7156. a.Material = "Neon"
  7157. a.Transparency = 1
  7158. a.CanCollide = false
  7159. local ray = Ray.new(
  7160. orb.CFrame.p, -- origin
  7161. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  7162. )
  7163. local ignore = orb
  7164. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7165. a.BottomSurface = 10
  7166. a.TopSurface = 10
  7167. local distance = (orb.CFrame.p - position).magnitude
  7168. a.Size = Vector3.new(0.1, 0.1, 0.1)
  7169. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  7170. orb.CFrame = a.CFrame
  7171. a:Destroy()
  7172. local bv = Instance.new("BodyVelocity")
  7173. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7174. bv.velocity = orb.CFrame.lookVector*125
  7175. bv.Parent = orb
  7176. local hitted = false
  7177. game:GetService("Debris"):AddItem(orb, 15)
  7178. wait()
  7179. local hit =orb.Touched:connect(function(hit)
  7180. if hitted == false then
  7181. hitted = true
  7182. CameraEnshaking(10,2.5)
  7183. MagniDamage(orb, 65, 65,90, 0, "Normal")
  7184. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  7185. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  7186. for i = 0, 49 do
  7187. 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)
  7188. end
  7189. local eff = Instance.new("ParticleEmitter",orb)
  7190. eff.Texture = "rbxassetid://2273224484"
  7191. eff.LightEmission = 1
  7192. eff.Color = ColorSequence.new(Color3.new(4/255,175/255,236/255))
  7193. eff.Rate = 500000
  7194. eff.Lifetime = NumberRange.new(0.5,2)
  7195. 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)})
  7196. 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)})
  7197. eff.Speed = NumberRange.new(20,250)
  7198. eff.Drag = 5
  7199. eff.Rotation = NumberRange.new(-500,500)
  7200. eff.VelocitySpread = 9000
  7201. eff.RotSpeed = NumberRange.new(-50,50)
  7202. coroutine.resume(coroutine.create(function()
  7203. wait(0.25)
  7204. eff.Enabled = false
  7205. end))
  7206. CFuncs["Sound"].Create("rbxassetid://1666361078", orb, 30,1)
  7207. for i = 0, 9 do
  7208. 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)
  7209. 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)
  7210. end
  7211. orb.Anchored = true
  7212. orb.Transparency = 1
  7213. local eff = Instance.new("ParticleEmitter",orb)
  7214. eff.Texture = "rbxassetid://2273224484"
  7215. eff.LightEmission = 1
  7216. eff.Color = ColorSequence.new(Color3.new(M))
  7217. eff.Rate = 500000
  7218. eff.Lifetime = NumberRange.new(0.5,2)
  7219. 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)})
  7220. 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)})
  7221. eff.Speed = NumberRange.new(20,250)
  7222. eff.Drag = 5
  7223. eff.Rotation = NumberRange.new(-500,500)
  7224. eff.VelocitySpread = 9000
  7225. eff.RotSpeed = NumberRange.new(-50,50)
  7226. coroutine.resume(coroutine.create(function()
  7227. wait(1)
  7228. eff.Enabled = false
  7229. end))
  7230. wait(8)
  7231. orb:Destroy()
  7232. end
  7233. end)
  7234. end))
  7235. for i = 0, 1, 0.1 do
  7236. swait()
  7237. 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)
  7238. 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)
  7239. 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)
  7240. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  7241. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  7242. 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)
  7243. end
  7244. attack = false
  7245. end
  7246.  
  7247.  
  7248. function BeamOfDeath()
  7249. coroutine.resume(coroutine.create(function()
  7250. attack = true
  7251. hum.WalkSpeed = 0
  7252. for i = 0, 11, 0.1 do
  7253. swait()
  7254. 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)
  7255. 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)
  7256. 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)
  7257. 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)
  7258. 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)
  7259. 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)
  7260. end
  7261. for i = 0, 1, 0.1 do
  7262. swait()
  7263. 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)
  7264. 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)
  7265. 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)
  7266. 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)
  7267. 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)
  7268. 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)
  7269. end
  7270. hum.WalkSpeed = storehumanoidWS
  7271. attack = false
  7272. end))
  7273. CFuncs["Sound"].Create("rbxassetid://430315987", char, 5, 1,0,10,0.10,0.25,1)
  7274. local radm = math.random(1,3)
  7275. if radm == 1 then
  7276. bosschatfunc("YAHHHH!!!",MAINRUINCOLOR.Color,1)
  7277. elseif radm == 2 then
  7278. bosschatfunc("TAKE THAT!!",MAINRUINCOLOR.Color,1)
  7279. elseif radm == 3 then
  7280. bosschatfunc("CONSUMED!!!",MAINRUINCOLOR.Color,1)
  7281. end
  7282. local keptcolor = MAINRUINCOLOR
  7283. local orb = Instance.new("Part", char)
  7284. orb.BrickColor = keptcolor
  7285. orb.CanCollide = false
  7286. orb.FormFactor = 3
  7287. orb.Name = "Ring"
  7288. orb.Material = "Neon"
  7289. orb.Size = Vector3.new(1, 1, 1)
  7290. orb.Transparency = 1
  7291. orb.TopSurface = 0
  7292. orb.BottomSurface = 0
  7293. local orbm = Instance.new("SpecialMesh", orb)
  7294. orbm.MeshType = "Sphere"
  7295. orbm.Name = "SizeMesh"
  7296. orbm.Scale = vt(22.5,10000,22.5)
  7297. orb.CFrame = mouse.Hit
  7298. orb.Anchored = true
  7299. orb.Orientation = vt(0,0,0)
  7300. orb.CFrame = orb.CFrame*CFrame.new(0,1,0)
  7301. CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 0.5, 1.2)
  7302. coroutine.resume(coroutine.create(function()
  7303. coroutine.resume(coroutine.create(function()
  7304. for i = 0, 175 do
  7305. swait()
  7306. orbm.Scale = orbm.Scale - vt(0.1,0,0.1)
  7307. orb.Transparency = orb.Transparency - 0.005
  7308. end
  7309. end))
  7310. wait(2)
  7311. coroutine.resume(coroutine.create(function()
  7312. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  7313. if hfr ~= nil then
  7314. for i = 0, 24.5 do
  7315. local deb = Instance.new("Part", char)
  7316. deb.Anchored = true
  7317. deb.CanCollide = false
  7318. deb.FormFactor = 3
  7319. deb.Name = "Ring"
  7320. deb.Material = hitfloor.Material
  7321. deb.Color = hitfloor.Color
  7322. deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55))
  7323. deb.Transparency = 0
  7324. deb.TopSurface = 0
  7325. deb.BottomSurface = 0
  7326. 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)))
  7327. local deb2 = Instance.new("Part", char)
  7328. deb2.CanCollide = false
  7329. deb2.FormFactor = 3
  7330. deb2.Name = "Ring"
  7331. deb2.Material = hitfloor.Material
  7332. deb2.Color = hitfloor.Color
  7333. deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38))
  7334. deb2.Transparency = 0
  7335. deb2.TopSurface = 0
  7336. deb2.BottomSurface = 0
  7337. deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150))
  7338. 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)))
  7339. local eff = Instance.new("ParticleEmitter",deb)
  7340. eff.Texture = "rbxassetid://363275192"
  7341. eff.LightEmission = 0.95
  7342. eff.Color = ColorSequence.new(keptcolor.Color)
  7343. eff.Rate = 100
  7344. eff.Lifetime = NumberRange.new(1)
  7345. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
  7346. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7347. eff.Speed = NumberRange.new(0,5)
  7348. eff.Rotation = NumberRange.new(-500,500)
  7349. eff.VelocitySpread = 9000
  7350. eff.RotSpeed = NumberRange.new(-10,10)
  7351. local at1 = Instance.new('Attachment',deb2)
  7352. at1.Position = vt(0,15,0)
  7353. local at2 = Instance.new('Attachment',deb2)
  7354. at2.Position = vt(0,-15,0)
  7355. local tl = Instance.new('Trail',deb2)
  7356. tl.Attachment0 = at1
  7357. tl.Attachment1 = at2
  7358. tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7359. tl.Color = ColorSequence.new(BrickColor.new('White').Color)
  7360. tl.Lifetime = 1
  7361. game:GetService("Debris"):AddItem(deb,30)
  7362. game:GetService("Debris"):AddItem(deb2,30)
  7363. coroutine.resume(coroutine.create(function()
  7364. wait(15)
  7365. eff.Enabled = false
  7366. for i = 0, 49 do
  7367. swait()
  7368. deb.Transparency = deb.Transparency + 0.02
  7369. end
  7370. wait(1)
  7371. deb:Destroy()
  7372. end))
  7373. end
  7374. end
  7375. end))
  7376. for i = 0, 199 do
  7377. swait(1.5)
  7378. for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do
  7379. if v:FindFirstChild('Head') then
  7380. dmg(v)
  7381. end
  7382. end
  7383. CFuncs["Sound"].Create("rbxassetid://1666361078", orb, 30,1)
  7384. 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)
  7385. 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)
  7386. 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)
  7387. sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor)
  7388. end
  7389. orb:Destroy()
  7390. end))
  7391. end
  7392.  
  7393. function Beams()
  7394. attack = true
  7395. hum.WalkSpeed = 0
  7396. CFuncs["EchoSound"].Create("rbxassetid://1436242274", char, 8, 1,0,10,0.15,0.5,1)
  7397. CFuncs["EchoSound"].Create("rbxassetid://1436242274", root, 60, 1,0,10,0.15,0.5,1)
  7398. bosschatfunc("You'll gone..",MAINRUINCOLOR.Color,2)
  7399. local keptcolor = MAINRUINCOLOR
  7400. coroutine.resume(coroutine.create(function()
  7401. for i = 0, 96 do
  7402. swait(5)
  7403. local orb = Instance.new("Part", char)
  7404. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  7405. orb.BrickColor = keptcolor
  7406. orb.CanCollide = false
  7407. orb.FormFactor = 3
  7408. orb.Name = "Ring"
  7409. orb.Material = "Neon"
  7410. orb.Size = Vector3.new(1, 1, 1)
  7411. orb.Transparency = 0
  7412. orb.TopSurface = 0
  7413. orb.BottomSurface = 0
  7414. orb.Anchored = true
  7415. local orbm = Instance.new("SpecialMesh", orb)
  7416. orbm.MeshType = "Sphere"
  7417. orbm.Name = "SizeMesh"
  7418. orbm.Scale = vt(1.25,1.25,1.25)
  7419. orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6))
  7420. sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7421. coroutine.resume(coroutine.create(function()
  7422. wait(0.5)
  7423. CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
  7424. sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7425. sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7426. orb.Transparency = 1
  7427. local a = Instance.new("Part",char)
  7428. a.Name = "Direction"
  7429. a.Anchored = true
  7430. a.BrickColor = keptcolor
  7431. a.Material = "Neon"
  7432. a.Transparency = 0.25
  7433. a.Shape = "Cylinder"
  7434. local ht = Instance.new("Part",char)
  7435. ht.Name = "DirectionHit"
  7436. ht.Anchored = true
  7437. ht.BrickColor = keptcolor
  7438. ht.CanCollide = false
  7439. ht.Transparency = 1
  7440. ht.Size = vt(0.1,0.1,0.1)
  7441. CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.6)
  7442. a.CanCollide = false
  7443. local ray = Ray.new(
  7444. orb.CFrame.p, -- origin
  7445. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  7446. )
  7447. local ignore = char
  7448. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7449. a.BottomSurface = 10
  7450. a.TopSurface = 10
  7451. local distance = (orb.CFrame.p - position).magnitude
  7452. a.Size = Vector3.new(distance,1,1)
  7453. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7454. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7455. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  7456. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  7457. MagniDamage(ht, 9, 30,60, 0, "Normal")
  7458. coroutine.resume(coroutine.create(function()
  7459. local eff = Instance.new("ParticleEmitter",ht)
  7460. eff.Texture = "rbxassetid://284205403"
  7461. eff.LightEmission = 0.95
  7462. eff.Color = ColorSequence.new(keptcolor.Color)
  7463. eff.Rate = 500
  7464. eff.Lifetime = NumberRange.new(0.5)
  7465. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  7466. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7467. eff.Speed = NumberRange.new(10,50)
  7468. eff.Drag = 5
  7469. eff.Rotation = NumberRange.new(-500,500)
  7470. eff.VelocitySpread = 9000
  7471. eff.RotSpeed = NumberRange.new(-500,500)
  7472. wait(0.25)
  7473. eff.Enabled = false
  7474. end))
  7475. for i = 0, 4 do
  7476. 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)
  7477. 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)
  7478. local rsiz = math.random(10,30)
  7479. 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)
  7480. end
  7481. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7482. local msh = Instance.new("SpecialMesh",a)
  7483. msh.MeshType = "Cylinder"
  7484. msh.Scale = vt(1,1,1)
  7485. for i = 0, 49 do
  7486. swait()
  7487. msh.Scale = msh.Scale + vt(0,0.01,0.01)
  7488. a.Transparency = a.Transparency + 0.02
  7489. end
  7490. orb:Destroy()
  7491. a:Destroy()
  7492. ht:Destroy()
  7493. end))
  7494. game:GetService("Debris"):AddItem(orb, 10)
  7495. end
  7496. end))
  7497. for i = 0,6,0.1 do
  7498. swait()
  7499. 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)
  7500. 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)
  7501. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
  7502. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3)
  7503. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3)
  7504. 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)
  7505. 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)
  7506. end
  7507. hum.WalkSpeed = storehumanoidWS
  7508. attack = false
  7509. end
  7510.  
  7511. function CalamityTrans()
  7512. attack = true
  7513. rainbowmode = false
  7514. chaosmode = false
  7515. ModeOfGlitch = 8889
  7516. hum.WalkSpeed = 0
  7517. newThemeCust("rbxassetid://723652641",0,1,1.25)
  7518. local elocacenter = CreateParta(root,1,1,"SmoothPlastic",BrickColor.random())
  7519. elocacenter.Anchored = true
  7520. elocacenter.CFrame = root.CFrame
  7521. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7522. eloca1.Anchored = true
  7523. eloca1.CFrame = elocacenter.CFrame
  7524. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7525. eloca2.Anchored = true
  7526. eloca2.CFrame = elocacenter.CFrame
  7527. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7528. eloca3.Anchored = true
  7529. eloca3.CFrame = elocacenter.CFrame
  7530. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7531. eloca4.Anchored = true
  7532. eloca4.CFrame = elocacenter.CFrame
  7533. local lookavec = 0
  7534. local speeds = 0
  7535. CameraEnshaking(3,2.5)
  7536. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7537. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7538. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7539. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7540. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7541. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7542. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 10, 1)
  7543. for i = 0, 5, 0.1 do
  7544. swait()
  7545. ---
  7546. lookavec = lookavec + 1
  7547. speeds = speeds + 10
  7548. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7549. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7550. 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)
  7551. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7552. 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)
  7553. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7554. 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)
  7555. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7556. 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)
  7557. ---
  7558. 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)
  7559. 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)
  7560. 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)
  7561. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7562. 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)
  7563. 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)
  7564. end
  7565. for i = 0, 5, 0.1 do
  7566. swait()
  7567. ---
  7568. speeds = speeds + 10
  7569. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7570. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7571. 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)
  7572. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7573. 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)
  7574. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7575. 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)
  7576. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7577. 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)
  7578. ---
  7579. 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)
  7580. 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)
  7581. 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)
  7582. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7583. 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)
  7584. 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)
  7585. end
  7586. MAINRUINCOLOR = BrickColor.new("Bright violet")
  7587. CFuncs["Sound"].Create("rbxassetid://468991944", eloca1, 5, 1)
  7588. CFuncs["Sound"].Create("rbxassetid://468991944", eloca2, 5, 1)
  7589. CFuncs["Sound"].Create("rbxassetid://468991944", eloca3, 5, 1)
  7590. CFuncs["Sound"].Create("rbxassetid://468991944", eloca4, 5, 1)
  7591. CameraEnshaking(1,3)
  7592. for i = 0, 24 do
  7593. 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)
  7594. 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)
  7595. 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)
  7596. 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)
  7597. end
  7598. sphere(1,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7599. sphere(2,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7600. sphere(3,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7601. sphere(1,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7602. sphere(2,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7603. sphere(3,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7604. sphere(1,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7605. sphere(2,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7606. sphere(3,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7607. sphere(1,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7608. sphere(2,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7609. sphere(3,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7610. for i = 0, 5, 0.1 do
  7611. swait()
  7612. ---
  7613. lookavec = lookavec - 1
  7614. speeds = speeds + 10
  7615. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7616. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7617. 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)
  7618. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7619. 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)
  7620. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7621. 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)
  7622. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7623. 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)
  7624. ---
  7625. 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)
  7626. 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)
  7627. 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)
  7628. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7629. 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)
  7630. 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)
  7631. end
  7632. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7633. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7634. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7635. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7636. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7637. for i = 0, 49 do
  7638. 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)
  7639. 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)
  7640. end
  7641. CameraEnshaking(5,6)
  7642. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7643. CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1)
  7644. CFuncs["Sound"].Create("rbxassetid://741272936", root, 5, 1)
  7645. CFuncs["Sound"].Create("rbxassetid://164881112", root, 5, 1)
  7646. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 5, 1)
  7647. CFuncs["Sound"].Create("rbxassetid://429123896", root, 5, 0.85)
  7648. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 5, 1)
  7649. storehumanoidWS = 100
  7650. hum.WalkSpeed = 100
  7651. rainbowmode = false
  7652. chaosmode = false
  7653. tl1.Enabled = true
  7654. tl2.Enabled = true
  7655. tl3.Enabled = true
  7656. RecolorTextAndRename("Galactical",Color3.new(10,1,1),Color3.new(0.5,0,1),"Code")
  7657. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7658. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7659. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7660. for i, v in pairs(mw2:GetChildren()) do
  7661. if v:IsA("Part") then
  7662. v.BrickColor = MAINRUINCOLOR
  7663. v.Material = "Neon"
  7664. end
  7665. end
  7666. for i, v in pairs(mw1:GetChildren()) do
  7667. if v:IsA("Part") then
  7668. v.Transparency = 0
  7669. v.BrickColor = MAINRUINCOLOR
  7670. v.Material = "Neon"
  7671. end
  7672. end
  7673. for i, v in pairs(m:GetChildren()) do
  7674. if v:IsA("Part") then
  7675. v.Color = Color3.new(0.5,0,1)
  7676. v.Material = "Neon"
  7677. end
  7678. end
  7679. for i, v in pairs(m2:GetChildren()) do
  7680. if v:IsA("Part") then
  7681. v.Color = Color3.new(0.25,0,1)
  7682. v.Material = "Neon"
  7683. end
  7684. end
  7685. for i, v in pairs(m3:GetChildren()) do
  7686. if v:IsA("Part") then
  7687. v.Color = Color3.new(0.45,0,1)
  7688. v.Material = "Neon"
  7689. end
  7690. end
  7691. for i, v in pairs(extrawingmod1:GetChildren()) do
  7692. if v:IsA("Part") then
  7693. v.Transparency = 0.75
  7694. v.Color = Color3.new(0.25,0,1)
  7695. v.Material = "Neon"
  7696. end
  7697. end
  7698. for i, v in pairs(extrawingmod2:GetChildren()) do
  7699. if v:IsA("Part") then
  7700. v.Transparency = 0.75
  7701. v.Color = Color3.new(0.5,0,1)
  7702. v.Material = "Neon"
  7703. end
  7704. end
  7705. attack = false
  7706. end
  7707.  
  7708. function InsaneTrans()
  7709. attack = true
  7710. rainbowmode = false
  7711. chaosmode = false
  7712. ModeOfGlitch = 8889
  7713. hum.WalkSpeed = 0
  7714. newThemeCust("rbxassetid://183142252",1,1,10)
  7715. local elocacenter = CreateParta(root,1,1,"SmoothPlastic",BrickColor.random())
  7716. elocacenter.Anchored = true
  7717. elocacenter.CFrame = root.CFrame
  7718. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7719. eloca1.Anchored = true
  7720. eloca1.CFrame = elocacenter.CFrame
  7721. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7722. eloca2.Anchored = true
  7723. eloca2.CFrame = elocacenter.CFrame
  7724. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7725. eloca3.Anchored = true
  7726. eloca3.CFrame = elocacenter.CFrame
  7727. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7728. eloca4.Anchored = true
  7729. eloca4.CFrame = elocacenter.CFrame
  7730. local lookavec = 0
  7731. local speeds = 0
  7732. CameraEnshaking(3,2.5)
  7733. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7734. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7735. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7736. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7737. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7738. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7739. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 10, 1)
  7740. for i = 0, 5, 0.1 do
  7741. swait()
  7742. ---
  7743. lookavec = lookavec + 1
  7744. speeds = speeds + 10
  7745. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7746. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7747. 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)
  7748. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7749. 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)
  7750. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7751. 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)
  7752. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7753. 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)
  7754. ---
  7755. 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)
  7756. 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)
  7757. 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)
  7758. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7759. 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)
  7760. 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)
  7761. end
  7762. for i = 0, 5, 0.1 do
  7763. swait()
  7764. ---
  7765. speeds = speeds + 10
  7766. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7767. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7768. 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)
  7769. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7770. 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)
  7771. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7772. 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)
  7773. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7774. 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)
  7775. ---
  7776. 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)
  7777. 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)
  7778. 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)
  7779. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7780. 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)
  7781. 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)
  7782. end
  7783. MAINRUINCOLOR = BrickColor.new("Really black")
  7784. CFuncs["Sound"].Create("rbxassetid://468991944", eloca1, 5, 1)
  7785. CFuncs["Sound"].Create("rbxassetid://468991944", eloca2, 5, 1)
  7786. CFuncs["Sound"].Create("rbxassetid://468991944", eloca3, 5, 1)
  7787. CFuncs["Sound"].Create("rbxassetid://468991944", eloca4, 5, 1)
  7788. CameraEnshaking(1,3)
  7789. for i = 0, 24 do
  7790. 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)
  7791. 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)
  7792. 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)
  7793. 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)
  7794. end
  7795. sphere(1,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7796. sphere(2,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7797. sphere(3,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7798. sphere(1,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7799. sphere(2,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7800. sphere(3,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7801. sphere(1,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7802. sphere(2,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7803. sphere(3,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7804. sphere(1,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7805. sphere(2,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7806. sphere(3,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7807. for i = 0, 5, 0.1 do
  7808. swait()
  7809. ---
  7810. lookavec = lookavec - 1
  7811. speeds = speeds + 10
  7812. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7813. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7814. 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)
  7815. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7816. 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)
  7817. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7818. 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)
  7819. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7820. 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)
  7821. ---
  7822. 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)
  7823. 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)
  7824. 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)
  7825. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7826. 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)
  7827. 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)
  7828. end
  7829. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7830. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7831. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7832. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7833. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7834. for i = 0, 49 do
  7835. 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)
  7836. 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)
  7837. end
  7838. CameraEnshaking(5,6)
  7839. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7840. CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1)
  7841. CFuncs["Sound"].Create("rbxassetid://741272936", root, 5, 1)
  7842. CFuncs["Sound"].Create("rbxassetid://164881112", root, 5, 1)
  7843. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 5, 1)
  7844. CFuncs["Sound"].Create("rbxassetid://429123896", root, 5, 0.85)
  7845. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 5, 1)
  7846. storehumanoidWS = 100
  7847. hum.WalkSpeed = 100
  7848. rainbowmode = false
  7849. chaosmode = false
  7850. tl1.Enabled = true
  7851. tl2.Enabled = true
  7852. tl3.Enabled = true
  7853. RecolorTextAndRename("The Big Black",Color3.new(0,0,0),Color3.new(0,0,0),"Arcade")
  7854. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7855. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7856. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7857. for i, v in pairs(mw2:GetChildren()) do
  7858. if v:IsA("Part") then
  7859. v.BrickColor = MAINRUINCOLOR
  7860. v.Material = "Neon"
  7861. end
  7862. end
  7863. for i, v in pairs(mw1:GetChildren()) do
  7864. if v:IsA("Part") then
  7865. v.Transparency = 0
  7866. v.BrickColor = MAINRUINCOLOR
  7867. v.Material = "Neon"
  7868. end
  7869. end
  7870. for i, v in pairs(m:GetChildren()) do
  7871. if v:IsA("Part") then
  7872. v.Color = Color3.new(0,0,0)
  7873. v.Material = "Neon"
  7874. end
  7875. end
  7876. for i, v in pairs(m2:GetChildren()) do
  7877. if v:IsA("Part") then
  7878. v.Color = Color3.new(0,0,0)
  7879. v.Material = "Neon"
  7880. end
  7881. end
  7882. for i, v in pairs(m3:GetChildren()) do
  7883. if v:IsA("Part") then
  7884. v.Color = Color3.new(0,0,0)
  7885. v.Material = "Neon"
  7886. end
  7887. end
  7888. for i, v in pairs(extrawingmod1:GetChildren()) do
  7889. if v:IsA("Part") then
  7890. v.Transparency = 0.75
  7891. v.Color = Color3.new(0,0,0)
  7892. v.Material = "Neon"
  7893. end
  7894. end
  7895. for i, v in pairs(extrawingmod2:GetChildren()) do
  7896. if v:IsA("Part") then
  7897. v.Transparency = 0.75
  7898. v.Color = Color3.new(0,0,0)
  7899. v.Material = "Neon"
  7900. end
  7901. end
  7902. attack = false
  7903. end
  7904.  
  7905. function GleamingBeam()
  7906. attack = true
  7907. bosschatfunc("IT ENDS NOW!!!",MAINRUINCOLOR.Color,3)
  7908. CFuncs["EchoSound"].Create("rbxassetid://1535995570", char, 8, 1,0,10,0.15,0.5,1)
  7909. CFuncs["EchoSound"].Create("rbxassetid://1535995570", root, 60, 1,0,10,0.15,0.5,1)
  7910. local rsiz = math.random(1,15)
  7911. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7912. hb.Anchored = true
  7913. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7914. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
  7915. for i = 0, 16, 0.1 do
  7916. swait()
  7917. rsiz = math.random(5,15)
  7918. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7919. 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)
  7920. 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)
  7921. 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)
  7922. 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)
  7923. 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)
  7924. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-40)),.1)
  7925. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  7926. LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.1)
  7927. end
  7928. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
  7929. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
  7930. for i = 0, 2 do
  7931. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
  7932. end
  7933. 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)
  7934. 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)
  7935. 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)
  7936. for i = 0, 49 do
  7937. local rsiza = math.random(1,15)
  7938. 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)
  7939. end
  7940. local a = Instance.new("Part",Character)
  7941. a.Name = "Direction"
  7942. a.Anchored = true
  7943. a.BrickColor = MAINRUINCOLOR
  7944. a.Material = "Neon"
  7945. a.Transparency = 0
  7946. a.Shape = "Cylinder"
  7947. a.CanCollide = false
  7948. local ba = Instance.new("Part",Character)
  7949. ba.Name = "HitDirect"
  7950. ba.Anchored = true
  7951. ba.BrickColor = bc("Cool yellow")
  7952. ba.Material = "Neon"
  7953. ba.Transparency = 1
  7954. ba.CanCollide = false
  7955. local ray = Ray.new(
  7956. hb.CFrame.p, -- origin
  7957. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  7958. )
  7959. local ignore = Character
  7960. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7961. a.BottomSurface = 10
  7962. a.TopSurface = 10
  7963. local distance = (hb.CFrame.p - position).magnitude
  7964. a.Size = Vector3.new(distance, 1, 1)
  7965. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7966. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7967. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7968. local msh = Instance.new("SpecialMesh",a)
  7969. msh.MeshType = "Cylinder"
  7970. msh.Scale = vt(1,4,4)
  7971. game:GetService("Debris"):AddItem(a, 30)
  7972. game:GetService("Debris"):AddItem(ba, 30)
  7973. for i = 0, 25, 0.1 do
  7974. swait()
  7975. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7976. ray = Ray.new(
  7977. hb.CFrame.p, -- origin
  7978. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  7979. )
  7980. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7981. distance = (hb.CFrame.p - position).magnitude
  7982. a.Size = Vector3.new(distance, 1, 1)
  7983. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7984. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7985. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7986. rsiz = math.random(5,25)
  7987. MagniDamage(ba, 12, 40000,900000, 0, "Normal")
  7988. 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)
  7989. for c = 0, 2 do
  7990. 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)
  7991. end
  7992. 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)
  7993. 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)
  7994. 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)
  7995. 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)
  7996. 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)
  7997. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-80)),.6)
  7998. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(80)),.6)
  7999. LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.6)
  8000. end
  8001. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
  8002. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
  8003. CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
  8004. CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
  8005. MagniDamage(ba, 30, 400000,9000000, 0, "Normal")
  8006. 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)
  8007. 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)
  8008. 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)
  8009. 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)
  8010. 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)
  8011. 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)
  8012. for i = 0, 49 do
  8013. local rsiza = math.random(1,15)
  8014. 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)
  8015. end
  8016. for i = 0, 49 do
  8017. rsiz = math.random(1,8)
  8018. 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)
  8019. end
  8020. coroutine.resume(coroutine.create(function()
  8021. for i = 0, 99 do
  8022. swait()
  8023. a.Transparency = a.Transparency + 0.01
  8024. end
  8025. a:Destroy()
  8026. ba:Destroy()
  8027. end))
  8028. hb:Destroy()
  8029. attack = false
  8030. end
  8031.  
  8032. function DualGleamingBeam()
  8033. attack = true
  8034. hum.WalkSpeed = 0
  8035. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 5, 1,0,10,0.15,0.5,1)
  8036. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 60, 1,0,10,0.15,0.5,1)
  8037. local radm = math.random(1,3)
  8038. if radm == 1 then
  8039. bosschatfunc("YOU CAN'T ESCAPE THIS!!",MAINRUINCOLOR.Color,1)
  8040. elseif radm == 2 then
  8041. bosschatfunc("HOW DO YOU LIKE THIS?!",MAINRUINCOLOR.Color,1)
  8042. elseif radm == 3 then
  8043. bosschatfunc("You make the choice..",MAINRUINCOLOR.Color,1)
  8044. end
  8045. local rsiz = math.random(1,15)
  8046. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8047. hb.Anchored = true
  8048. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8049. local hb2 = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8050. hb2.Anchored = true
  8051. hb2.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8052. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
  8053. for i = 0, 14, 0.1 do
  8054. swait()
  8055. rsiz = math.random(5,15)
  8056. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8057. hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0)
  8058. 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)
  8059. 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)
  8060. 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)
  8061. 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"))
  8062. 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)
  8063. 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)
  8064. 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)
  8065. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.1)
  8066. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(120)),.1)
  8067. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-120)),.1)
  8068. end
  8069. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
  8070. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
  8071. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb2, 10,0.6)
  8072. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb2, 10,0.5)
  8073. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
  8074. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb2, 10,1)
  8075. 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)
  8076. 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)
  8077. 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)
  8078. 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"))
  8079. 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"))
  8080. 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"))
  8081. for i = 0, 49 do
  8082. local rsiza = math.random(1,15)
  8083. 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)
  8084. 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)
  8085. end
  8086. local a = Instance.new("Part",Character)
  8087. a.Name = "Direction"
  8088. a.Anchored = true
  8089. a.BrickColor = MAINRUINCOLOR
  8090. a.Material = "Neon"
  8091. a.Transparency = 0
  8092. a.Shape = "Cylinder"
  8093. a.CanCollide = false
  8094. local a2 = Instance.new("Part",Character)
  8095. a2.Name = "Direction"
  8096. a2.Anchored = true
  8097. a2.BrickColor = MAINRUINCOLOR
  8098. a2.Material = "Neon"
  8099. a2.Transparency = 0
  8100. a2.Shape = "Cylinder"
  8101. a2.CanCollide = false
  8102. local ba = Instance.new("Part",Character)
  8103. ba.Name = "HitDirect"
  8104. ba.Anchored = true
  8105. ba.BrickColor = MAINRUINCOLOR
  8106. ba.Material = "Neon"
  8107. ba.Transparency = 1
  8108. ba.CanCollide = false
  8109. local ba2 = Instance.new("Part",Character)
  8110. ba2.Name = "HitDirect"
  8111. ba2.Anchored = true
  8112. ba2.BrickColor = MAINRUINCOLOR
  8113. ba2.Material = "Neon"
  8114. ba2.Transparency = 1
  8115. ba2.CanCollide = false
  8116. local ray = Ray.new(
  8117. hb.CFrame.p, -- origin
  8118. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8119. )
  8120. local ignore = Character
  8121. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8122. local ray2 = Ray.new(
  8123. hb2.CFrame.p, -- origin
  8124. (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction
  8125. )
  8126. local hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore)
  8127. local distance2 = (hb2.CFrame.p - position).magnitude
  8128.  
  8129. a.BottomSurface = 10
  8130. a.TopSurface = 10
  8131. local distance = (hb.CFrame.p - position).magnitude
  8132. a.Size = Vector3.new(distance, 1, 1)
  8133. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8134. a2.BottomSurface = 10
  8135. a2.TopSurface = 10
  8136. a2.Size = Vector3.new(distance2, 1, 1)
  8137. a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2)
  8138. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8139. ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2)
  8140. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8141. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  8142. local msh = Instance.new("SpecialMesh",a)
  8143. msh.MeshType = "Cylinder"
  8144. msh.Scale = vt(1,4,4)
  8145. local msh2 = Instance.new("SpecialMesh",a2)
  8146. msh2.MeshType = "Cylinder"
  8147. msh2.Scale = vt(1,4,4)
  8148. game:GetService("Debris"):AddItem(a, 30)
  8149. game:GetService("Debris"):AddItem(a2, 30)
  8150. game:GetService("Debris"):AddItem(ba, 30)
  8151. game:GetService("Debris"):AddItem(ba2, 30)
  8152. for i = 0, 20, 0.1 do
  8153. swait()
  8154. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8155. hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0)
  8156. ray = Ray.new(
  8157. hb.CFrame.p, -- origin
  8158. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8159. )
  8160. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8161. distance = (hb.CFrame.p - position).magnitude
  8162. ray2 = Ray.new(
  8163. hb2.CFrame.p, -- origin
  8164. (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction
  8165. )
  8166. hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore)
  8167. distance2 = (hb2.CFrame.p - position).magnitude
  8168. a.Size = Vector3.new(distance, 1, 1)
  8169. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8170. a2.Size = Vector3.new(distance2, 1, 1)
  8171. a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2)
  8172. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8173. ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2)
  8174. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8175. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  8176. rsiz = math.random(5,25)
  8177. MagniDamage(ba, 12, 800,18000, 0, "Normal")
  8178. MagniDamage(ba2, 12, 800,18000, 0, "Normal")
  8179. for i, v in pairs(FindNearestHead(ba.CFrame.p, 4)) do
  8180. if v:FindFirstChild('Head') then
  8181. dmg(v)
  8182. end
  8183. end
  8184. coroutine.resume(coroutine.create(function()
  8185. local bx = Instance.new("Part",Character)
  8186. bx.Name = "Location"
  8187. bx.Anchored = true
  8188. bx.BrickColor = MAINRUINCOLOR
  8189. bx.Material = "Neon"
  8190. bx.Transparency = 1
  8191. bx.CanCollide = false
  8192. bx.Position = ba.Position
  8193. sphere2(2,"Add",bx.CFrame,vt(20,0.5,20),0.001,0,0.001,MAINRUINCOLOR)
  8194. wait(math.random(1,2))
  8195. sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.1,0,0.1,bc("Lime green"))
  8196. sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.25,0,0.25,MAINRUINCOLOR)
  8197. sphere2(6,"Add",bx.CFrame,vt(10,10,10),0.5,0.5,0.5,bc("Lime green"))
  8198. CFuncs["Sound"].Create("rbxassetid://1042693018", bx, 5,0.7)
  8199. CFuncs["Sound"].Create("rbxassetid://1042695469", bx, 5,0.8)
  8200. MagniDamage(bx, 20, 80000,900000, 0, "Normal")
  8201. for i, v in pairs(FindNearestHead(bx.CFrame.p, 15)) do
  8202. if v:FindFirstChild('Head') then
  8203. dmg(v)
  8204. end
  8205. end
  8206. wait(5)
  8207. bx:Destroy()
  8208. end))
  8209. 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)
  8210. 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)
  8211. for c = 0, 2 do
  8212. 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)
  8213. end
  8214. 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)
  8215. 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)
  8216. 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)
  8217. 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)
  8218. 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)
  8219. 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)
  8220. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.05)
  8221. RW.C0=clerp(RW.C0,cf(1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-15)),.05)
  8222. LW.C0=clerp(LW.C0,cf(-1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(15)),.05)
  8223. end
  8224. for i = 0, 1 do
  8225. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
  8226. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
  8227. CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
  8228. CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
  8229. end
  8230. MagniDamage(ba, 30, 8000,180000, 0, "Normal")
  8231. MagniDamage(ba2, 30, 8000,180000, 0, "Normal")
  8232. for i, v in pairs(FindNearestHead(ba.CFrame.p, 10)) do
  8233. if v:FindFirstChild('Head') then
  8234. dmg(v)
  8235. end
  8236. end
  8237. 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)
  8238. 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)
  8239. 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)
  8240. 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)
  8241. 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)
  8242. 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)
  8243. 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"))
  8244. 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"))
  8245. 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"))
  8246. for i = 0, 49 do
  8247. local rsiza = math.random(1,15)
  8248. 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)
  8249. 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)
  8250. end
  8251. for i = 0, 49 do
  8252. rsiz = math.random(1,8)
  8253. 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)
  8254. end
  8255. coroutine.resume(coroutine.create(function()
  8256. for i = 0, 99 do
  8257. swait()
  8258. a.Transparency = a.Transparency + 0.01
  8259. a2.Transparency = a2.Transparency + 0.01
  8260. end
  8261. a:Destroy()
  8262. ba:Destroy()
  8263. a2:Destroy()
  8264. ba2:Destroy()
  8265. end))
  8266. hum.WalkSpeed = storehumanoidWS
  8267. hb:Destroy()
  8268. hb2:Destroy()
  8269. attack = false
  8270. end
  8271.  
  8272. function dragin()
  8273. local targetted = nil
  8274. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  8275. targetted = mouse.Target.Parent
  8276. end
  8277. if targetted ~= nil then
  8278. RootPart.CFrame = FaceMouse()[1]
  8279. attack = true
  8280. hum.WalkSpeed = 0
  8281. for x = 0, 1 do
  8282. for i = 0,1,0.5 do
  8283. swait()
  8284. 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)
  8285. 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)
  8286. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  8287. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8288. 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)
  8289. 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)
  8290. end
  8291. for i = 0,1,0.5 do
  8292. swait()
  8293. 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)
  8294. 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)
  8295. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(180)),.3)
  8296. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8297. 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)
  8298. 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)
  8299. end
  8300. for i = 0,1,0.5 do
  8301. swait()
  8302. 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)
  8303. 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)
  8304. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(270)),.3)
  8305. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8306. 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)
  8307. 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)
  8308. end
  8309. for i = 0,1,0.5 do
  8310. swait()
  8311. 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)
  8312. 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)
  8313. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(0)),.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. end
  8319. coroutine.resume(coroutine.create(function()
  8320. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 50
  8321. CFuncs["Sound"].Create("rbxassetid://884155627", targetted.Head, 1,1)
  8322. CFuncs["Sound"].Create("rbxassetid://153092213", targetted.Head, 2.5,1)
  8323. end))
  8324. local A1 = Instance.new("Attachment",targetted.Head)
  8325. local A2 = Instance.new("Attachment",sorb)
  8326. local Beem = Instance.new("Beam",tors)
  8327. Beem.Attachment0 = A1
  8328. Beem.Attachment1 = A2
  8329. Beem.Texture = "rbxassetid://897585362"
  8330. Beem.LightEmission = 0.75
  8331. Beem.FaceCamera = true
  8332. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
  8333. Beem.Width0 = 1
  8334. Beem.Width1 = 1
  8335. Beem.TextureMode = "Wrap"
  8336. Beem.TextureLength = 1
  8337. Beem.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8338. 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)
  8339. 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)
  8340. for x = 0, 24 do
  8341. local rsiz = math.random(5,15)
  8342. 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)
  8343. end
  8344.  
  8345. CFuncs["EchoSound"].Create("rbxassetid://1448032965", char, 7, 1,0,10,0.15,0.5,1)
  8346. CFuncs["EchoSound"].Create("rbxassetid://1448032965", root, 60, 1,0,10,0.15,0.5,1)
  8347. local radm = math.random(1,2)
  8348. if radm == 1 then
  8349. bosschatfunc("GOTCHA!!",MAINRUINCOLOR.Color,1)
  8350. elseif radm == 2 then
  8351. bosschatfunc("COM'ERE!!",MAINRUINCOLOR.Color,1)
  8352. end
  8353. for i = 0,3,0.1 do
  8354. swait()
  8355. coroutine.resume(coroutine.create(function()
  8356. local rsiz = math.random(5,15)
  8357. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
  8358. 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)
  8359. end))
  8360. 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)
  8361. 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)
  8362. 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)
  8363. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(50)),.6)
  8364. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(-50)),.6)
  8365. 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)
  8366. 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)
  8367. end
  8368. CFuncs["Sound"].Create("rbxassetid://231917750", sorb, 1.25,0.9)
  8369. CFuncs["Sound"].Create("rbxassetid://1042716828", sorb, 1.5,1)
  8370. local vel = Instance.new("BodyPosition", targetted.Head)
  8371. vel.P = 12500
  8372. vel.D = 1000
  8373. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  8374. vel.position = hed.CFrame.p + root.CFrame.lookVector*2.75
  8375. for i = 0,4,0.1 do
  8376. swait()
  8377. coroutine.resume(coroutine.create(function()
  8378. local rsiz = math.random(5,15)
  8379. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
  8380. 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)
  8381. end))
  8382. 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)
  8383. 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)
  8384. 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)
  8385. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  8386. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(40)),.2)
  8387. 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)
  8388. 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)
  8389. end
  8390. local visibility = 0
  8391. coroutine.resume(coroutine.create(function()
  8392. for i = 0, 49 do
  8393. swait()
  8394. visibility = visibility + 0.02
  8395. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, visibility),NumberSequenceKeypoint.new(1, visibility)})
  8396. end
  8397. Beem:Destroy()
  8398. A1:Destroy()
  8399. A2:Destroy()
  8400. end))
  8401. game:GetService("Debris"):AddItem(vel,0.75)
  8402. attack = false
  8403. hum.WalkSpeed = storehumanoidWS
  8404.  
  8405. end
  8406. end
  8407.  
  8408. function hugg()
  8409. attack = true
  8410. hum.WalkSpeed = 5
  8411. local rsiz = math.random(5,15)
  8412. for i = 0, 2, 0.1 do
  8413. swait()
  8414. 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)
  8415. 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)
  8416. 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)
  8417. 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)
  8418. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(40)),.3)
  8419. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(-40)),.3)
  8420. end
  8421. CFuncs["Sound"].Create("rbxassetid://444895479", root, 0.5,1)
  8422. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8423. hb.Anchored = true
  8424. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  8425. local huggedperson = nil
  8426. local act = false
  8427. local alreadydid = false
  8428. for i = 0, 3, 0.1 do
  8429. swait()
  8430. if act == false then
  8431. for i, v in pairs(FindNearestHead(hb.CFrame.p, 1.25)) do
  8432. if v:FindFirstChild('Head') then
  8433. if alreadydid == false then
  8434. huggedperson = v
  8435. hum.WalkSpeed = 0
  8436. CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
  8437. CFuncs["Sound"].Create("rbxassetid://200632821", root, 1,1.15)
  8438. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 1.5,1)
  8439. CFuncs["Sound"].Create("rbxassetid://884155627", root, 2,1)
  8440. local radm = math.random(1,3)
  8441. if radm == 1 then
  8442. bosschatfunc("I'm sorry.. if I hurt you..",MAINRUINCOLOR.Color,1)
  8443. elseif radm == 2 then
  8444. bosschatfunc("I..I'm interested in you",MAINRUINCOLOR.Color,1)
  8445. elseif radm == 3 then
  8446. bosschatfunc("Don't worry.. I'm with you",MAINRUINCOLOR.Color,1)
  8447. end
  8448. root.Anchored = true
  8449. coroutine.resume(coroutine.create(function()
  8450. huggedperson.Humanoid.WalkSpeed = 0
  8451. huggedperson:WaitForChild("HumanoidRootPart").Anchored = true
  8452. end))
  8453. --chatfunc(string.lower(huggedperson.Name).. "~~",BrickColor.new("Pink").Color,"Normal","SourceSansBold",1)
  8454. alreadydid = true
  8455. act = true
  8456. print(huggedperson.Name)
  8457. end
  8458. end
  8459. end
  8460. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  8461. 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)
  8462. elseif act == true then
  8463. coroutine.resume(coroutine.create(function()
  8464. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8465. end))
  8466. rsiz = math.random(5,15)
  8467. 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)
  8468. 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)
  8469. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8470. end
  8471. 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)
  8472. 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)
  8473. 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)
  8474. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8475. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8476. end
  8477. hb:Destroy()
  8478. if act == true then
  8479. for x = 0, 2 do
  8480. for i = 0, 2, 0.1 do
  8481. swait()
  8482. coroutine.resume(coroutine.create(function()
  8483. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8484. end))
  8485. rsiz = math.random(5,15)
  8486. 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)
  8487. 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)
  8488. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8489. 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)
  8490. 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)
  8491. 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)
  8492. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8493. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8494. end
  8495. for i = 0, 2, 0.1 do
  8496. swait()
  8497. coroutine.resume(coroutine.create(function()
  8498. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8499. end))
  8500. rsiz = math.random(5,15)
  8501. 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)
  8502. 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)
  8503. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8504. 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)
  8505. 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)
  8506. 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)
  8507. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8508. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8509. end
  8510. end
  8511. end
  8512. hum.WalkSpeed = storehumanoidWS
  8513. root.Anchored = false
  8514. if act == true then
  8515. coroutine.resume(coroutine.create(function()
  8516. huggedperson.Humanoid.WalkSpeed = 16
  8517. huggedperson:WaitForChild("HumanoidRootPart").Anchored = false
  8518. end))
  8519. end
  8520. hum.WalkSpeed = storehumanoidWS
  8521. attack = false
  8522. end
  8523.  
  8524. function Counter()
  8525. hum.WalkSpeed = 0
  8526. CFuncs["EchoSound"].Create("rbxassetid://2370794297", char, 5, 1,0,10,0.15,0.5,1)
  8527. CFuncs["EchoSound"].Create("rbxassetid://2370794297", root, 60, 1,0,10,0.15,0.5,1)
  8528. bosschatfunc("COUNTER!!",MAINRUINCOLOR.Color,1)
  8529. attack = true
  8530. for i = 0,1,0.1 do
  8531. swait()
  8532. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8533. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8534. 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)
  8535. 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)
  8536. 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)
  8537. 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)
  8538. end
  8539. CameraEnshaking(3,4)
  8540. MagniDamageWithEffect(root, 24, 0,0, 75, "Normal")
  8541. 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)
  8542. 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)
  8543. 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)
  8544. coroutine.resume(coroutine.create(function()
  8545. local eff = Instance.new("ParticleEmitter",root)
  8546. eff.Texture = "rbxassetid://363275192"
  8547. eff.LightEmission = 0.95
  8548. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8549. eff.Rate = 10000
  8550. eff.Lifetime = NumberRange.new(1)
  8551. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  8552. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  8553. eff.Speed = NumberRange.new(10,125)
  8554. eff.Drag = 5
  8555. eff.Rotation = NumberRange.new(-500,500)
  8556. eff.VelocitySpread = 9000
  8557. eff.RotSpeed = NumberRange.new(-50,50)
  8558. local eff2 = eff:Clone()
  8559. eff2.Parent = root
  8560. eff2.Texture = "rbxassetid://284205403"
  8561. eff2.Rate = 10000
  8562. 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)})
  8563. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  8564. eff2.Drag = 5
  8565. eff2.Speed = NumberRange.new(10,50)
  8566. eff2.Rotation = NumberRange.new(-500,500)
  8567. eff2.VelocitySpread = 9000
  8568. wait(0.25)
  8569. eff2.Enabled = false
  8570. eff.Enabled = false
  8571. wait(3)
  8572. eff2:Destroy()
  8573. eff:Destroy()
  8574. end))
  8575. for i = 0, 9 do
  8576. 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)
  8577. end
  8578. for i = 0, 24 do
  8579. local rsiz = math.random(5,20)
  8580. 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)
  8581. end
  8582. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
  8583. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
  8584. CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
  8585. for i = 0,2,0.1 do
  8586. swait()
  8587. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  8588. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8589. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  8590. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  8591. 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)
  8592. 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)
  8593. end
  8594. hum.WalkSpeed = storehumanoidWS
  8595. attack = false
  8596. end
  8597.  
  8598. function superjump()
  8599. attack = true
  8600. hum.WalkSpeed = 0
  8601. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  8602. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  8603. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7.5, 1)
  8604. for i = 0, 2, 0.1 do
  8605. swait()
  8606. root.Velocity = vt(0,0,0)
  8607. 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"))
  8608. 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)
  8609. 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)
  8610. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,-1)*angles(math.rad(20),math.rad(0),math.rad(0)),.4)
  8611. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(0)),.4)
  8612. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(40)),.4)
  8613. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(-40)),.4)
  8614. end
  8615. MagniDamage(root, 28, 25,50, 25, "Normal")
  8616. CFuncs["Sound"].Create("rbxassetid://477843807", char, 17, 1.05)
  8617. hum.Jump = true
  8618. swait()
  8619. root.Velocity = vt(0,250,0) + root.CFrame.lookVector*250
  8620. 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)
  8621. 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)
  8622. CFuncs["Sound"].Create("rbxassetid://1295446488", root, 10, 1)
  8623. for i = 0, 3, 0.1 do
  8624. swait()
  8625. 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)
  8626. 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)
  8627. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.75,0)*angles(math.rad(40),math.rad(0),math.rad(0)),.4)
  8628. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.4)
  8629. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-30),math.rad(0),math.rad(20)),.4)
  8630. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(-30),math.rad(0),math.rad(-20)),.4)
  8631. end
  8632. attack = false
  8633. if equipped == false then
  8634. hum.WalkSpeed = 16
  8635. else
  8636. hum.WalkSpeed = 24
  8637. end
  8638. end
  8639.  
  8640.  
  8641. -------------------------------------
  8642.  
  8643.  
  8644.  
  8645. Humanoid.Animator.Parent = nil
  8646.  
  8647.  
  8648.  
  8649. -------------------------------------
  8650.  
  8651. local attacktype = 1
  8652. mouse.Button1Down:connect(function()
  8653. if attack == false and attacktype == 1 then
  8654. attacktype = 2
  8655. attackone()
  8656. elseif attack == false and attacktype == 2 then
  8657. attacktype = 3
  8658. attacktwo()
  8659. elseif attack == false and attacktype == 3 then
  8660. attacktype = 1
  8661. attackthree()
  8662. elseif attack == false and attacktype == 4 then
  8663. attacktype = 1
  8664. --attackfour()
  8665. end
  8666. end)
  8667. mouse.KeyDown:connect(function(k)
  8668. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  8669. --normalmog()
  8670. ModeOfGlitch = 1
  8671. storehumanoidWS = 16
  8672. hum.WalkSpeed = 16
  8673. rainbowmode = false
  8674. chaosmode = false
  8675. newTheme("rbxassetid://723652641",0,1,1.7)
  8676. RecolorTextAndRename("Solitude",Color3.new(0,0,0),Color3.new(0,0,0),"Arcade")
  8677. MAINRUINCOLOR = BrickColor.new("Really black")
  8678. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  8679. end
  8680. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  8681. ModeOfGlitch = 2
  8682. storehumanoidWS = 16
  8683. hum.WalkSpeed = 16
  8684. rainbowmode = false
  8685. chaosmode = false
  8686. RecolorTextAndRename("Pure",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
  8687. newTheme("rbxassetid://1539245059",0,1,0.85)
  8688. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  8689. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8690. end
  8691. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  8692. ModeOfGlitch = 3
  8693. storehumanoidWS = 14
  8694. hum.WalkSpeed = 14
  8695. rainbowmode = false
  8696. chaosmode = false
  8697. RecolorTextAndRename("Unstable",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
  8698. newTheme("rbxassetid://367339030",58.15,0.98,1)
  8699. MAINRUINCOLOR = BrickColor.new("Royal purple")
  8700. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8701. end
  8702. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  8703. ModeOfGlitch = 4
  8704. storehumanoidWS = 14
  8705. hum.WalkSpeed = 14
  8706. rainbowmode = false
  8707. chaosmode = true
  8708. RecolorTextAndRename("Fallen Angel",Color3.new(0,0,0),Color3.new(1,1,1),"Antique")
  8709. newTheme("rbxassetid://2203914587",10,1.01,0.85)
  8710. MAINRUINCOLOR = BrickColor.new("Crimson")
  8711. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8712. end
  8713. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  8714. ModeOfGlitch = 5
  8715. storehumanoidWS = 14
  8716. hum.WalkSpeed = 14
  8717. rainbowmode = false
  8718. chaosmode = false
  8719. RecolorTextAndRename("Angel",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
  8720. newTheme("rbxassetid://661079869",0,1.02,0.85)
  8721. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  8722. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8723. end
  8724. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  8725. ModeOfGlitch = 6
  8726. storehumanoidWS = 65
  8727. hum.WalkSpeed = 65
  8728. rainbowmode = false
  8729. chaosmode = false
  8730. RecolorTextAndRename("Justice",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
  8731. newTheme("rbxassetid://1347011178",0,1.01,0.85)
  8732. MAINRUINCOLOR = BrickColor.new("White")
  8733. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8734. end
  8735. if k == "f" and attack == false and ModeOfGlitch ~= 8 then
  8736. ModeOfGlitch = 8
  8737. storehumanoidWS = 100
  8738. hum.WalkSpeed = 100
  8739. rainbowmode = false
  8740. chaosmode = false
  8741. RecolorTextAndRename("Destinal",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
  8742. newTheme("rbxassetid://919231299",0,1.01,0.85)
  8743. MAINRUINCOLOR = BrickColor.new("Alder")
  8744. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8745. end
  8746. if k == "g" and attack == false and ModeOfGlitch ~= 9 then
  8747. ModeOfGlitch = 9
  8748. storehumanoidWS = 85
  8749. hum.WalkSpeed = 85
  8750. rainbowmode = false
  8751. chaosmode = false
  8752. RecolorTextAndRename("Infected",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
  8753. newTheme("rbxassetid://879189331",0,1.01,0.85)
  8754. MAINRUINCOLOR = BrickColor.new("Br. yellowish green")
  8755. RecolorThing(MAINRUINCOLOR,BrickColor.new("Lime green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8756. end
  8757. if k == "h" and attack == false and ModeOfGlitch ~= 5555 then
  8758. ModeOfGlitch = 5555
  8759. storehumanoidWS = 30
  8760. hum.WalkSpeed = 30
  8761. rainbowmode = false
  8762. chaosmode = false
  8763. RecolorTextAndRename("Love",Color3.new(1,1,1),BrickColor.new("Hot pink").Color,"Arcade")
  8764. newTheme("rbxassetid://736003449",0,1,1.25)
  8765. MAINRUINCOLOR = BrickColor.new("Hot pink")
  8766. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8767. end
  8768. if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
  8769. CalamityTrans()
  8770. end
  8771. if k == "b" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 8889 then
  8772. InsaneTrans()
  8773. end
  8774. if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
  8775. ModeOfGlitch = 55469696922
  8776. storehumanoidWS = 95
  8777. hum.WalkSpeed = 95
  8778. rainbowmode = false
  8779. chaosmode = false
  8780. RecolorTextAndRename("Nanodeath",Color3.new(0.25,0,0.1),BrickColor.new("Hot pink").Color,"Antique")
  8781. newTheme("rbxassetid://919231299",0,1.005,0.9)
  8782. MAINRUINCOLOR = BrickColor.new("Hot pink")
  8783. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8784. end
  8785. if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  8786. ModeOfGlitch = 4367677813
  8787. storehumanoidWS = 75
  8788. hum.WalkSpeed = 75
  8789. rainbowmode = false
  8790. chaosmode = false
  8791. RecolorTextAndRename("Mysterious",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
  8792. newTheme("rbxassetid://919231299",0,1.01,0.95)
  8793. MAINRUINCOLOR = BrickColor.new("Baby blue")
  8794. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8795. end
  8796. if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 9999999921111 then
  8797. ModeOfGlitch = 9999999921111
  8798. storehumanoidWS = 145
  8799. hum.WalkSpeed = 145
  8800. rainbowmode = false
  8801. chaosmode = false
  8802. RecolorTextAndRename("Omega",BrickColor.new("Really black").Color,BrickColor.new("Bright bluish green").Color,"SciFi")
  8803. newTheme("rbxassetid://643309199",0,1.01,1)
  8804. MAINRUINCOLOR = BrickColor.new("Bright bluish green")
  8805. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8806. end
  8807. if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
  8808. ModeOfGlitch = 999999999556
  8809. storehumanoidWS = 115
  8810. hum.WalkSpeed = 115
  8811. rainbowmode = false
  8812. chaosmode = false
  8813. RecolorTextAndRename("Crazy Game",BrickColor.new("Really black").Color,BrickColor.new("Navy blue").Color,"Code")
  8814. newTheme("rbxassetid://719008519",0,1.02,0.85)
  8815. MAINRUINCOLOR = BrickColor.new("Navy blue")
  8816. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8817. end
  8818. if k == "m" and attack == false and ModeOfGlitch == 3 and ModeOfGlitch ~= 12 then
  8819. ModeOfGlitch = 12
  8820. storehumanoidWS = 19
  8821. hum.WalkSpeed = 19
  8822. rainbowmode = false
  8823. chaosmode = false
  8824. print'Mode was meant for Vengeful Program or those other fans out there'
  8825. RecolorTextAndRename("Neptunia",BrickColor.new("Royal purple").Color,BrickColor.new("Bright blue").Color,"SciFi")
  8826. newTheme("rbxassetid://1873219898",0,1,1.7)
  8827. MAINRUINCOLOR = BrickColor.new("Royal purple")
  8828. RecolorThing(MAINRUINCOLOR,BrickColor.new("Bright blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8829. end
  8830.  
  8831. if k == "m" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 50 then
  8832. sphere(0.9,"Add",root.CFrame,vt(0,100000,0),1,BrickColor.new("Institutional white"))
  8833. for i = 0, 49 do
  8834. 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)
  8835. end
  8836. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8837. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8838. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8839. hum.WalkSpeed = storehumanoidWS
  8840. attack = false
  8841. ModeOfGlitch = 50
  8842. storehumanoidWS = 18
  8843. hum.WalkSpeed = 18
  8844. rainbowmode = false
  8845. chaosmode = false
  8846. RecolorTextAndRename("Voided",BrickColor.new("Really black").Color,BrickColor.new("Really black").Color,"Arcade")
  8847. newTheme("rbxassetid://143382469",0,1.01,1.5)
  8848. MAINRUINCOLOR = BrickColor.new("Really black")
  8849. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8850. end
  8851.  
  8852. if k == "m" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 66 then
  8853. hum.WalkSpeed = 0
  8854. attack = true
  8855. for i = 0,1,0.1 do
  8856. swait()
  8857. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8858. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8859. 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)
  8860. 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)
  8861. 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)
  8862. 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)
  8863. end
  8864. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  8865. for i = 0, 148 do
  8866. 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)
  8867. end
  8868. for i = 0,3,0.1 do
  8869. 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)
  8870. end
  8871. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8872. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8873. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8874. hum.WalkSpeed = storehumanoidWS
  8875. attack = false
  8876. ModeOfGlitch = 66
  8877. storehumanoidWS = 16
  8878. hum.WalkSpeed = 16
  8879. rainbowmode = false
  8880. chaosmode = false
  8881. newTheme("rbxassetid://"..ast[Mrandom(1,2)],0,1,1.35)
  8882. MAINRUINCOLOR = BrickColor.new("Really black")
  8883. RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8884. for i = 0,2,0.1 do
  8885. swait()
  8886. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  8887. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8888. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  8889. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  8890. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
  8891. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
  8892. end
  8893. end
  8894.  
  8895. if k == "m" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 13 then
  8896. hum.WalkSpeed = 0
  8897. attack = true
  8898. for i = 0,1,0.1 do
  8899. swait()
  8900. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8901. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8902. 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)
  8903. 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)
  8904. 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)
  8905. 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)
  8906. end
  8907. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  8908. for i = 0, 49 do
  8909. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  8910. end
  8911. for i = 0,3,0.1 do
  8912. 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)
  8913. end
  8914. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8915. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8916. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8917. hum.WalkSpeed = storehumanoidWS
  8918. attack = false
  8919. ModeOfGlitch = 13
  8920. storehumanoidWS = 45
  8921. hum.WalkSpeed = 45
  8922. rainbowmode = false
  8923. chaosmode = false
  8924. RecolorTextAndRename("Judicial",BrickColor.new("Dark stone grey").Color,BrickColor.new("Light blue").Color,"Bodoni")
  8925. newTheme("rbxassetid://190845741",0,1,1.35)
  8926. MAINRUINCOLOR = BrickColor.new("Dark stone grey")
  8927. RecolorThing(MAINRUINCOLOR,BrickColor.new("Light blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8928. for i = 0,2,0.1 do
  8929. swait()
  8930. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  8931. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8932. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  8933. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  8934. 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)
  8935. 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)
  8936. end
  8937. end
  8938. if k == "j" and attack == false and ModeOfGlitch ~= 1002 then
  8939. ModeOfGlitch = 1002
  8940. storehumanoidWS = 45
  8941. hum.WalkSpeed = 45
  8942. rainbowmode = false
  8943. chaosmode = false
  8944. RecolorTextAndRename("Superior",BrickColor.new("Really red").Color,BrickColor.new("Really black").Color,"Arcade")
  8945. newTheme("rbxassetid://1873219898",0,1,0.85)
  8946. MAINRUINCOLOR = BrickColor.new("Really red")
  8947. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8948. end
  8949. if k == "k" and attack == false and ModeOfGlitch ~= 1003 then
  8950. ModeOfGlitch = 1003
  8951. storehumanoidWS = 90
  8952. hum.WalkSpeed = 90
  8953. rainbowmode = false
  8954. chaosmode = false
  8955. RecolorTextAndRename("A S C E N D E D",BrickColor.new("White").Color,BrickColor.new("Bright yellow").Color,"Code")
  8956. newTheme("rbxassetid://257453119",0,1,0.85)
  8957. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  8958. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8959. end
  8960. if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  8961. ModeOfGlitch = 1264532489
  8962. storehumanoidWS = 175
  8963. hum.WalkSpeed = 175
  8964. rainbowmode = false
  8965. chaosmode = false
  8966. RecolorTextAndRename("Fallen Angel",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique")
  8967. newTheme("rbxassetid://1505487022",0,1.01,1.25)
  8968. MAINRUINCOLOR = BrickColor.new("Pastel green")
  8969. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8970. end
  8971. if k == "l" and mutedtog == false then
  8972. mutedtog = true
  8973. kan.Volume = 0.85
  8974. elseif k == "l" and mutedtog == true then
  8975. mutedtog = false
  8976. kan.Volume = 0.85
  8977. end
  8978. if k == "p" and toggleTag == false then
  8979. toggleTag = true
  8980. modet.TextTransparency = 0
  8981. modet.TextStrokeTransparency = 0
  8982. elseif k == "p" and toggleTag == true then
  8983. toggleTag = false
  8984. modet.TextTransparency = 1
  8985. modet.TextStrokeTransparency = 1
  8986. end
  8987. if k == "z" and attack == false and ModeOfGlitch == 1 then
  8988. ExtinctiveHeartbreak()
  8989. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  8990. HeavenlyDisk()
  8991. elseif k == "z" and attack == false and ModeOfGlitch == 9 then
  8992. DualGleamingBeam()
  8993. elseif k == "c" and attack == false and ModeOfGlitch == 9 then
  8994. BanishingOrb()
  8995. elseif k == "z" and attack == false and ModeOfGlitch == 5555 then
  8996. hugg()
  8997. elseif k == "b" and attack == false and ModeOfGlitch == 55469696922 then
  8998. cutesigh()
  8999. elseif k == "v" and attack == false and ModeOfGlitch == 55469696922 then
  9000. Counter()
  9001. elseif k == "v" and attack == false and ModeOfGlitch == 12 then
  9002. superjump()
  9003. elseif k == "v" and attack == false and ModeOfGlitch == 9999999921111 then
  9004. dragin()
  9005. elseif k == "x" and attack == false and ModeOfGlitch == 8889 then
  9006. UniversalCollapse()
  9007. elseif k == "c" and attack == false and ModeOfGlitch == 2 then
  9008. PureBomb()
  9009. elseif k == "z" and attack == false and ModeOfGlitch == 999999999556 then
  9010. Beams()
  9011. elseif k == "x" and attack == false and ModeOfGlitch == 55469696922 then
  9012. BeamOfDeath()
  9013. elseif k == "v" and attack == false and ModeOfGlitch == 8 then
  9014. THE_TRUE_POWER_OF_VIOLENCE()
  9015. elseif k == "z" and attack == false and ModeOfGlitch == 8 then
  9016. GleamingBeam()
  9017. elseif k == "x" and attack == false and ModeOfGlitch == 5 then
  9018. ViolentRing()
  9019. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  9020. CorruptionEvent()
  9021. elseif k == "v" and attack == false and ModeOfGlitch == 3 then
  9022. CorruptBlink()
  9023. elseif k == "c" and attack == false and ModeOfGlitch == 3 then
  9024. scattercorrupt()
  9025. elseif k == "b" and attack == false and ModeOfGlitch == 5555 then
  9026. shytaunty()
  9027. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  9028. RapidBurst()
  9029. elseif k == "z" and attack == false and ModeOfGlitch == 8889 then
  9030. InsaneDrop()
  9031. wait(2)
  9032. ChaosEND()
  9033. elseif k == "x" and attack == false and ModeOfGlitch == 4 then
  9034. ChaosEND()
  9035. elseif k == "c" and attack == false and ModeOfGlitch == 9999999921111 then
  9036. CyberSlash()
  9037. elseif k == "z" and attack == false and ModeOfGlitch == 4367677813 then
  9038. smiter()
  9039. elseif k == "z" and attack == false and ModeOfGlitch == 1002 then
  9040. SpeedDrop()
  9041. elseif k == "v" and attack == false and ModeOfGlitch == 5 then
  9042. --DivineLights()
  9043. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  9044. DivineBlast()
  9045. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  9046. EquinoxOrbs()
  9047. elseif k == "v" and attack == false and ModeOfGlitch == 6 then
  9048. yinyangi()
  9049. elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
  9050. FallenOrbs()
  9051. elseif k == "z" and attack == false and ModeOfGlitch == 1003 then
  9052. StarfallEX()
  9053. end
  9054. if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
  9055. FallenDEMISE()
  9056. end
  9057. if k == "x" and attack == false and ModeOfGlitch == 1 then
  9058. EndGROUND()
  9059. end
  9060. end)
  9061.  
  9062. coroutine.resume(coroutine.create(function()
  9063. while true do
  9064. swait()
  9065. 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
  9066. 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)
  9067. end
  9068. if ModeOfGlitch == 5555 then
  9069. 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)
  9070. end
  9071. end
  9072. end))
  9073. --[[coroutine.resume(coroutine.create(function()
  9074. while true do
  9075. swait(2)
  9076. if chaosmode == true then
  9077. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9078. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9079. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9080. RecolorTextAndRename("HATE",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
  9081. for i, v in pairs(mw1:GetChildren()) do
  9082. if v:IsA("Part") then
  9083. v.Transparency = 0.75
  9084. v.BrickColor = BrickColor.random()
  9085. v.Material = "Neon"
  9086. end
  9087. end
  9088. for i, v in pairs(m2:GetChildren()) do
  9089. if v:IsA("Part") then
  9090. v.BrickColor = BrickColor.random()
  9091. v.Material = "Neon"
  9092. end
  9093. end
  9094. end
  9095. end
  9096. end))]]
  9097.  
  9098.  
  9099.  
  9100. ff = Instance.new("ForceField",char)
  9101. ff.Visible = false
  9102. hum.Name = "Base"
  9103. hum.MaxHealth = 1.0E298
  9104. hum.Health = 1.0E298
  9105. game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
  9106. if hum.Health > 0.1 and hum.Health < 1.0E298 then
  9107. hum.MaxHealth = 1.0E298
  9108. hum.Health = 1.0E298
  9109. end
  9110. end)
  9111.  
  9112. local Hair = Instance.new("Part", char)
  9113. Hair.Name = "Hair"
  9114. Hair.CanCollide = false
  9115. Hair.BrickColor = BrickColor.new("Institutional white")
  9116. Hair.Transparency = 0
  9117. Hair.Material = "Plastic"
  9118. Hair.Size = Vector3.new(1, 1, 2)
  9119. Hair.TopSurface = Enum.SurfaceType.Smooth
  9120. Hair.BottomSurface = Enum.SurfaceType.Smooth
  9121.  
  9122.  
  9123. local bguis = Instance.new("BillboardGui",tors)
  9124. bguis.Size = UDim2.new(25, 0, 25, 0)
  9125. local imgca = Instance.new("ImageLabel",bguis)
  9126. imgca.BackgroundTransparency = 1
  9127. imgca.ImageTransparency = 1
  9128. imgca.Size = UDim2.new(1,0,1,0)
  9129. imgca.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891
  9130. imgca.ImageColor3 = Color3.new(0,0,0)
  9131.  
  9132.  
  9133. local bguis2 = Instance.new("BillboardGui",tors)
  9134. bguis2.Size = UDim2.new(25, 0, 25, 0)
  9135. local imgca2 = Instance.new("ImageLabel",bguis)
  9136. imgca2.BackgroundTransparency = 1
  9137. imgca2.ImageTransparency = 1
  9138. imgca2.Size = UDim2.new(1,0,1,0)
  9139. imgca2.Image = "rbxassetid://2406462507" --997291547,521073910,2312119891
  9140. imgca2.ImageColor3 = Color3.new(0,0,0)
  9141.  
  9142.  
  9143.  
  9144. idleanim=.4
  9145. while true do
  9146. if mutedtog == false then
  9147. kan.Volume = currentVol
  9148. elseif mutedtog == true then
  9149. kan.Volume = 0
  9150. end
  9151. kan.PlaybackSpeed = currentPitch
  9152. kan.Pitch = currentPitch
  9153. kan.SoundId = currentThemePlaying
  9154. kan.Looped = true
  9155. kan.Parent = char
  9156. kan:Resume()
  9157. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 13 then
  9158. imgca.ImageTransparency = 1
  9159. imgca2.ImageTransparency = 1
  9160. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
  9161. imgca.ImageColor3 = MAINRUINCOLOR.Color
  9162. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  9163. elseif ModeOfGlitch == 13 then
  9164. imgca2.ImageColor3 = MAINRUINCOLOR.Color
  9165. imgca2.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  9166. end
  9167. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
  9168. bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  9169. imgca2.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/60
  9170. bguis2.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  9171. coroutine.resume(coroutine.create(function()
  9172. if chaosmode == true then
  9173. for i, v in pairs(mw1:GetChildren()) do
  9174. if v:IsA("Part") then
  9175. v.Transparency = 0
  9176. v.BrickColor = BrickColor.random()
  9177. v.Material = "Neon"
  9178. end
  9179. end
  9180. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9181. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9182. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9183. RecolorTextAndRename("HATE",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
  9184. end
  9185. end))
  9186. coroutine.resume(coroutine.create(function()
  9187. if ModeOfGlitch == 66 then
  9188. for i, v in pairs(m:GetChildren()) do
  9189. if v:IsA("Part") then
  9190. v.Transparency = 0
  9191. v.BrickColor = BrickColor.random()
  9192. v.Material = "Neon"
  9193. end
  9194. end
  9195. for i, v in pairs(m2:GetChildren()) do
  9196. if v:IsA("Part") then
  9197. v.Transparency = 0
  9198. v.BrickColor = BrickColor.random()
  9199. v.Material = "Neon"
  9200. end
  9201. end
  9202. for i, v in pairs(mw1:GetChildren()) do
  9203. if v:IsA("Part") then
  9204. v.Transparency = 0
  9205. v.BrickColor = BrickColor.random()
  9206. v.Material = "Neon"
  9207. end
  9208. end
  9209. for i, v in pairs(extrawingmod1:GetChildren()) do
  9210. if v:IsA("Part") then
  9211. v.Transparency = 0.5
  9212. v.BrickColor = BrickColor.random()
  9213. v.Material = "Neon"
  9214. end
  9215. end
  9216. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9217. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9218. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9219. gane.Color = ColorSequence.new(BrickColor.random().Color)
  9220. gan.Color = ColorSequence.new(BrickColor.random().Color)
  9221. end
  9222. end))
  9223.  
  9224. coroutine.resume(coroutine.create(function()
  9225. if ModeOfGlitch == 66 then
  9226. RecolorTextAndRename("BETRAYED",BrickColor.random().Color,Color3.new(0,0,0),"Garamond")
  9227. end
  9228. end))
  9229.  
  9230. if chaosmode == false then
  9231. modet.Position = UDim2.new(0,0,0,0)
  9232. modet.Rotation = -5 * math.cos(sine / 32)
  9233. techc.Rotation = techc.Rotation + 1
  9234. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/200 - 1
  9235. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/175 + 1
  9236. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/175 + 1
  9237. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/150 - 1
  9238. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  9239. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  9240. else
  9241. techc.Rotation = techc.Rotation + 1
  9242. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
  9243. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
  9244. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
  9245. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
  9246. ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  9247. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  9248. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  9249. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  9250. end
  9251. CameraManager()
  9252. swait()
  9253. 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)
  9254. 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)
  9255. 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)
  9256. 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)
  9257. 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)
  9258. 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)
  9259. 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)
  9260. 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)
  9261. 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)
  9262. 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)
  9263. 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)
  9264. 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)
  9265. sine = sine + change
  9266. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  9267. local velderp=RootPart.Velocity.y
  9268. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  9269. coroutine.resume(coroutine.create(function()
  9270. 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
  9271. if hitfloor ~= nil then
  9272. 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"))
  9273. if ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 13 then
  9274. 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)
  9275. end
  9276. end
  9277. end
  9278. end))
  9279. if equipped==true or equipped==false then
  9280. if attack==false then
  9281. idle=idle+1
  9282. else
  9283. idle=0
  9284. end
  9285. if idle>=500 then
  9286. if attack==false then
  9287. --Sheath()
  9288. end
  9289. end
  9290. if RootPart.Velocity.y > 1 and hitfloor==nil then
  9291. Anim="Jump"
  9292. if attack==false then
  9293. 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)
  9294. 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)
  9295. 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)
  9296. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  9297. 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)
  9298. 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)
  9299. end
  9300. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  9301. Anim="Fall"
  9302. if attack==false then
  9303. 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)
  9304. 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)
  9305. 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)
  9306. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  9307. 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)
  9308. 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)
  9309. end
  9310. elseif torvel<1 and hitfloor~=nil then
  9311. Anim="Idle"
  9312. if attack==false then
  9313. if ModeOfGlitch == 1 then
  9314. local snap = math.random(1,10)
  9315. if snap == 1 then
  9316. 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)
  9317. end
  9318. 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)
  9319. 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)
  9320. 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)
  9321. 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)
  9322. 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)
  9323. 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)
  9324. elseif ModeOfGlitch == 2 then
  9325. 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)
  9326. 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)
  9327. 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)
  9328. 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)
  9329. 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)
  9330. 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)
  9331. elseif ModeOfGlitch == 2 then
  9332. 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)
  9333. 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)
  9334. 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)
  9335. 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)
  9336. 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)
  9337. 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)
  9338. elseif ModeOfGlitch == 50 then
  9339. 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)
  9340. 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)
  9341. 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)
  9342. 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)
  9343. 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)
  9344. 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)
  9345. elseif ModeOfGlitch == 5555 then --5555
  9346. 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)
  9347. 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)
  9348. 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)
  9349. 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)
  9350. 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)
  9351. 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)
  9352. elseif ModeOfGlitch == 1002 then
  9353. 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)
  9354. 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)
  9355. 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)
  9356. 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)
  9357. 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)
  9358. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1)
  9359. elseif ModeOfGlitch == 12 then
  9360. 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)
  9361. 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)
  9362. 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)
  9363. 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)
  9364. 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)
  9365. 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)
  9366. elseif ModeOfGlitch == 3 then
  9367. local snap = math.random(1,32)
  9368. if snap == 1 then
  9369. 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)
  9370. end
  9371. 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)
  9372. 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)
  9373. 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)
  9374. 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)
  9375. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
  9376. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
  9377. elseif ModeOfGlitch == 4 then
  9378. local snap = math.random(1,5)
  9379. if snap == 1 then
  9380. 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)
  9381. 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)
  9382. 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)
  9383. end
  9384. 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)
  9385. 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)
  9386. 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)
  9387. 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)
  9388. 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)
  9389. 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)
  9390. elseif ModeOfGlitch == 66 then
  9391. local snap = math.random(1,2)
  9392. if snap == 1 then
  9393. 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)
  9394. 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)
  9395. 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)
  9396. end
  9397. 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)
  9398. 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)
  9399. 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)
  9400. 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)
  9401. 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)
  9402. 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)
  9403. elseif ModeOfGlitch == 5 then
  9404. 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)
  9405. 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)
  9406. 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)
  9407. 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)
  9408. 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)
  9409. 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)
  9410. elseif ModeOfGlitch == 6 then
  9411. 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)
  9412. 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)
  9413. 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)
  9414. 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)
  9415. 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)
  9416. 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)
  9417. elseif ModeOfGlitch == 13 then
  9418. 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)
  9419. 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)
  9420. 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)
  9421. 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)
  9422. 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)
  9423. 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)
  9424. elseif ModeOfGlitch == 8 then
  9425. 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)
  9426. 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)
  9427. 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)
  9428. 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)
  9429. 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)
  9430. 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)
  9431. elseif ModeOfGlitch == 9 then
  9432. 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)
  9433. 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))
  9434. 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)
  9435. 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)
  9436. 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)
  9437. 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)
  9438. 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)
  9439. 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)
  9440. elseif ModeOfGlitch == 1003 then
  9441. 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)
  9442. 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)
  9443. 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)
  9444. 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)
  9445. 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)
  9446. 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)
  9447.  
  9448. elseif ModeOfGlitch == 8889 then
  9449. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 5 * math.cos(sine / 51))),.1)
  9450. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 44))),.1)
  9451. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-36)),.1)
  9452. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(36 + 2 * math.cos(sine / 53))),.1)
  9453. 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)
  9454. 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)
  9455. elseif ModeOfGlitch == 1264532489 then
  9456. 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)
  9457. 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)
  9458. 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)
  9459. 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)
  9460. 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)
  9461. 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)
  9462. 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)
  9463. elseif ModeOfGlitch == 9999999921111 then --9999999921111
  9464. 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)
  9465. 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)
  9466. 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)
  9467. 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)
  9468. 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)
  9469. 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)
  9470. elseif ModeOfGlitch == 4367677813 then
  9471. 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)
  9472. 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)
  9473. 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)
  9474. 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)
  9475. 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)
  9476. 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)
  9477. elseif ModeOfGlitch == 55469696922 then --5555
  9478. 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)
  9479. 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)
  9480. 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)
  9481. 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)
  9482. 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)
  9483. 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)
  9484. elseif ModeOfGlitch == 999999999556 then
  9485. 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)
  9486. 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)
  9487. 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)
  9488. 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)
  9489. 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)
  9490. 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)
  9491. end
  9492. end
  9493. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  9494. Anim="Walk"
  9495. if attack==false and ModeOfGlitch ~= 66 then
  9496. 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)
  9497. 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)
  9498. 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)
  9499. 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)
  9500. 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)
  9501. 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)
  9502. elseif attack==false and ModeOfGlitch == 66 then
  9503. 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)
  9504. 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)
  9505. 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)
  9506. 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)
  9507. 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)
  9508. 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)
  9509. end
  9510. elseif torvel>=22 and hitfloor~=nil then
  9511. Anim="Run"
  9512. if attack==false then
  9513. 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
  9514. 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)
  9515. 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)
  9516. 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)
  9517. 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)
  9518. 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)
  9519. 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)
  9520. if ModeOfGlitch == 12 then
  9521. 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)
  9522. 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)
  9523. 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)
  9524. 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)
  9525. 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)
  9526. 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)
  9527. end
  9528. if ModeOfGlitch == 9 then
  9529. 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)
  9530. 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))
  9531. 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)
  9532. end
  9533. 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
  9534. 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)
  9535. 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)
  9536. 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)
  9537. 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)
  9538. 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)
  9539. 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)
  9540. elseif ModeOfGlitch == 13 then
  9541. 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)
  9542. 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)
  9543. 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)
  9544. 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)
  9545. 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)
  9546. 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)
  9547. end
  9548. end
  9549. end
  9550. end
  9551. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement