Advertisement
Otsakuseed

GlazeG

Apr 27th, 2019
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 489.70 KB | None | 0 0
  1. --DO NOT LEAK!
  2. if game:GetService("RunService"):IsClient() then error("For this script to work, you must use h/ instead of hl/.") end
  3. local Player = owner
  4. local Mouse,mouse,UserInputService,ContextActionService
  5. do
  6. script.Parent = GlazeDerpz
  7. local CAS = {Actions={}}
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10. Event.Parent = Player.Character
  11. local fakeEvent = function()
  12. local t = {_fakeEvent=true}
  13. t.Connect = function(self,f)self.Function=f end
  14. t.connect = t.Connect
  15. return t
  16. end
  17. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  18. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  19. function CAS:BindAction(name,fun,touch,...)
  20. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  21. end
  22. function CAS:UnbindAction(name)
  23. CAS.Actions[name] = nil
  24. end
  25. local function te(self,ev,...)
  26. local t = m[ev]
  27. if t and t._fakeEvent and t.Function then
  28. t.Function(...)
  29. end
  30. end
  31. m.TrigEvent = te
  32. UIS.TrigEvent = te
  33. Event.OnServerEvent:Connect(function(plr,io)
  34. if plr~=Player then return end
  35. if io.isMouse then
  36. m.Target = io.Target
  37. m.Hit = io.Hit
  38. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  39. if io.UserInputState == Enum.UserInputState.Begin then
  40. m:TrigEvent("Button1Down")
  41. else
  42. m:TrigEvent("Button1Up")
  43. end
  44. else
  45. for n,t in pairs(CAS.Actions) do
  46. for _,k in pairs(t.Keys) do
  47. if k==io.KeyCode then
  48. t.Function(t.Name,io.UserInputState,io)
  49. end
  50. end
  51. end
  52. if io.UserInputState == Enum.UserInputState.Begin then
  53. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  54. UIS:TrigEvent("InputBegan",io,false)
  55. else
  56. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  57. UIS:TrigEvent("InputEnded",io,false)
  58. end
  59. end
  60. end)
  61. NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63.  
  64. local Char = Player.Character
  65. local Event = Char:WaitForChild("UserInput_Event")
  66.  
  67. local UIS = game:GetService("UserInputService")
  68.  
  69. local input = function(io,a)
  70. if a then return end
  71. local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
  72. Event:FireServer(io)
  73. end
  74. UIS.InputBegan:Connect(input)
  75. UIS.InputEnded:Connect(input)
  76. local Changed = false
  77. local Mouse = Player:GetMouse()
  78. local h,t = Mouse.Hit,Mouse.Target
  79. while wait(1/30) do
  80. if h~=Mouse.Hit or t~=Mouse.Target then
  81. Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
  82. h,t=Mouse.Hit,Mouse.Target
  83. end
  84. end
  85. ]==],Player.Character)
  86. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  87. end
  88.  
  89.  
  90. wait(0.5)
  91.  
  92. warn([[X Glitcher Loade
  93. Kx3x3 has awoken once again.
  94. He's ready to kill those heroes again.
  95. Kx3x3 will take over the world!
  96.  
  97. Created, Reworked by NoobyGames12. Heavily edited by RhiBel00351.
  98. This ISN'T the regular Star Glitcher Rework.
  99. It's an edit of SGR.
  100. So if you want the regular, go find it yourself.
  101. And YES, I DO KNOW NoobyGames12.
  102. HEY! Make sure you don't abuse this!
  103. ]])
  104.  
  105.  
  106. ------------- ORIGINAL WIELDER OC: Velnorum
  107. print([[Moves:
  108. ?????? ]])
  109. warn([[Update Log:
  110. N - ???
  111. Extra modes:
  112. ???
  113. Info from RhiBel00351:
  114. Edit this if you want, I don't really care.
  115. Note:
  116. Lots of hard work on this. I won't be making this again if this gets deleted.
  117. DarkEccentric is gay
  118. Also just a reminder: That THIS script is FAR from completion, so expect some things not finished.]])
  119. --- its obs smooth af do not touch
  120. ---- Sources and functions might be taken from others
  121. plr = owner
  122. char = plr.Character
  123. hum = char.Humanoid
  124. local cam = game.Workspace.CurrentCamera
  125. Camera = cam
  126. local CamInterrupt = false
  127. local TwoD = false
  128. local TargetInfo = {nil, nil}
  129. cam.CameraType = "Custom"
  130. t = char.Torso
  131. h = char.Head
  132. ra = char["Right Arm"]
  133. la = char["Left Arm"]
  134. rl = char["Right Leg"]
  135. ll = char["Left Leg"]
  136. tors = char.Torso
  137. lleg = char["Left Leg"]
  138. root = char.HumanoidRootPart
  139. hed = char.Head
  140. rleg = char["Right Leg"]
  141. rarm = char["Right Arm"]
  142. larm = char["Left Arm"]
  143. radian = math.rad
  144. random = math.random
  145. Vec3 = Vector3.new
  146. Inst = Instance.new
  147. cFrame = CFrame.new
  148. Euler = CFrame.fromEulerAnglesXYZ
  149. vt = Vector3.new
  150. bc = BrickColor.new
  151. br = BrickColor.random
  152. it = Instance.new
  153. cf = CFrame.new
  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",char)
  177. kan.Volume = 1.25
  178. kan.TimePosition = 0
  179. kan.PlaybackSpeed = 1
  180. kan.Pitch = 1
  181. kan.SoundId = "rbxassetid://614032233"
  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.  
  209. function newThemeCust(ID,timepos,pitch,vol)
  210. local kanz = kan
  211. kanz:Stop()
  212. kanz.Volume = vol
  213. kanz.TimePosition = timepos
  214. kanz.PlaybackSpeed = pitch
  215. kanz.Pitch = pitch
  216. kanz.SoundId = ID
  217. kanz.Name = "wrecked"
  218. kanz.Looped = true
  219. currentThemePlaying = kanz.SoundId
  220. currentVol = kanz.Volume
  221. currentPitch = kanz.Pitch
  222. kanz:Play()
  223. coroutine.resume(coroutine.create(function()
  224. wait(0.05)
  225. end))
  226. end
  227.  
  228. local mutedtog = false
  229.  
  230. function CameraEnshaking(Length,Intensity)
  231. coroutine.resume(coroutine.create(function()
  232. local intensity = 1*Intensity
  233. local rotM = 0.01*Intensity
  234. for i = 0, Length, 0.1 do
  235. swait()
  236. intensity = intensity - 0.05*Intensity/Length
  237. rotM = rotM - 0.0005*Intensity/Length
  238. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  239. 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)
  240. end
  241. Humanoid.CameraOffset = Vec3(0, 0, 0)
  242. end))
  243. end
  244. CamShake=function(Part,Distan,Power,Times)
  245. local de=Part.Position
  246. for i,v in pairs(workspace:children()) do
  247. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  248. for _,c in pairs(v:children()) do
  249. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  250. local Noob=v.Humanoid
  251. if Noob~=nil then
  252. coroutine.resume(coroutine.create(function()
  253. FV = Instance.new("BoolValue", Noob)
  254. FV.Name = "CameraShake"
  255. for ShakeNum=1,Times do
  256. swait()
  257. local ef=Power
  258. if ef>=1 then
  259. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  260. else
  261. ef=Power*10
  262. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  263. end
  264. end
  265. Humanoid.CameraOffset = Vector3.new(0,0,0)
  266. FV:Destroy()
  267. end))
  268. CameraShake(Times, Power, Noob)
  269. end
  270. end
  271. end
  272. end
  273. end
  274. end
  275.  
  276. local toggleTag = true
  277. local bilguit = Instance.new("BillboardGui", hed)
  278. bilguit.Adornee = nil
  279. bilguit.Name = "ModeName"
  280. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  281. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  282. local modet = Instance.new("TextLabel", bilguit)
  283. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  284. modet.FontSize = "Size8"
  285. modet.TextScaled = true
  286. modet.TextTransparency = 0
  287. modet.BackgroundTransparency = 1
  288. modet.TextTransparency = 0
  289. modet.TextStrokeTransparency = 0
  290. modet.Font = "Antique"
  291. modet.TextStrokeColor3 = Color3.new(0,2,0)
  292. modet.TextColor3 = Color3.new(0,5,0)
  293. modet.Text = "Glaze"
  294.  
  295.  
  296. function chatfunc(text,color,typet,font,timeex)
  297. local chat = coroutine.wrap(function()
  298. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  299. Character:FindFirstChild("TalkingBillBoard"):destroy()
  300. end
  301. local naeeym2 = Instance.new("BillboardGui",Character)
  302. naeeym2.Size = UDim2.new(0,100,0,40)
  303. naeeym2.StudsOffset = Vector3.new(0,3,0)
  304. naeeym2.Adornee = Character.Head
  305. naeeym2.Name = "TalkingBillBoard"
  306. local tecks2 = Instance.new("TextLabel",naeeym2)
  307. tecks2.BackgroundTransparency = 1
  308. tecks2.BorderSizePixel = 0
  309. tecks2.Text = ""
  310. tecks2.Font = font
  311. tecks2.TextSize = 30
  312. tecks2.TextStrokeTransparency = 0
  313. tecks2.TextColor3 = color
  314. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  315. tecks2.Size = UDim2.new(1,0,0.5,0)
  316. local tecks3 = Instance.new("TextLabel",naeeym2)
  317. tecks3.BackgroundTransparency = 1
  318. tecks3.BorderSizePixel = 0
  319. tecks3.Text = ""
  320. tecks3.Font = font
  321. tecks3.TextSize = 30
  322. tecks3.TextStrokeTransparency = 0
  323. if typet == "Inverted" then
  324. tecks3.TextColor3 = Color3.new(0,0,0)
  325. tecks3.TextStrokeColor3 = color
  326. elseif typet == "Normal" then
  327. tecks3.TextColor3 = color
  328. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  329. end
  330. tecks3.Size = UDim2.new(1,0,0.5,0)
  331. coroutine.resume(coroutine.create(function()
  332. while true do
  333. swait(1)
  334. if chaosmode == true then
  335. tecks2.TextColor3 = BrickColor.random().Color
  336. tecks3.TextStrokeColor3 = BrickColor.random().Color
  337. end
  338. end
  339. end))
  340. modet.TextTransparency = modet.TextTransparency + 1
  341. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  342. for i = 0, 74*timeex do
  343. swait()
  344. modet.TextTransparency = 1
  345. modet.TextStrokeTransparency = 1
  346. tecks2.Text = text
  347. tecks3.Text = text
  348. end
  349. local randomrot = math.random(1,2)
  350. if randomrot == 1 then
  351. for i = 1, 50 do
  352. swait()
  353. tecks2.Text = text
  354. tecks3.Text = text
  355. modet.TextTransparency = modet.TextTransparency - .02
  356. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  357. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  358. tecks2.TextTransparency = tecks2.TextTransparency + .04
  359. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  360. tecks3.TextTransparency = tecks2.TextTransparency + .04
  361. end
  362. elseif randomrot == 2 then
  363. for i = 1, 50 do
  364. swait()
  365. tecks2.Text = text
  366. tecks3.Text = text
  367. modet.TextTransparency = modet.TextTransparency - .02
  368. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  369. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  370. tecks2.TextTransparency = tecks2.TextTransparency + .04
  371. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  372. tecks3.TextTransparency = tecks2.TextTransparency + .04
  373. end
  374. end
  375. modet.TextTransparency = 0
  376. modet.TextStrokeTransparency = 0
  377. if toggleTag == false then
  378. modet.TextTransparency = 1
  379. modet.TextStrokeTransparency = 1
  380. end
  381. naeeym2:Destroy()
  382. end)
  383. chat()
  384. end
  385.  
  386. function bosschatfunc(text,color,watval)
  387. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  388. coroutine.resume(coroutine.create(function()
  389. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  390. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  391. end
  392. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  393. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  394. scrg.Name = "Dialog"
  395. local txtlb = Instance.new("TextLabel",scrg)
  396. txtlb.Text = ""
  397. txtlb.Font = "Bodoni"
  398. txtlb.TextColor3 = Color3.new(0,0,0)
  399. txtlb.TextStrokeTransparency = 0
  400. txtlb.BackgroundTransparency = 0.75
  401. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  402. txtlb.TextStrokeColor3 = color
  403. txtlb.TextScaled = true
  404. txtlb.Size = UDim2.new(1,0,0.25,0)
  405. txtlb.TextXAlignment = "Left"
  406. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  407. local txtlb2 = Instance.new("TextLabel",scrg)
  408. txtlb2.Text = "GLAZE DERPS:"
  409. txtlb2.Font = "Antique"
  410. txtlb2.TextColor3 = Color3.new(0,0,0)
  411. txtlb2.TextStrokeTransparency = 0
  412. txtlb2.BackgroundTransparency = 1
  413. txtlb2.TextStrokeColor3 = color
  414. txtlb2.TextSize = 40
  415. txtlb2.Size = UDim2.new(1,0,0.25,0)
  416. txtlb2.TextXAlignment = "Left"
  417. txtlb2.Position = UDim2.new(0,0,1,0)
  418. local fvalen = 0.55
  419. local fval = -0.49
  420. coroutine.resume(coroutine.create(function()
  421. while true do
  422. swait()
  423. if chaosmode == true then
  424. txtlb.Rotation = math.random(-1,1)
  425. txtlb2.Rotation = math.random(-1,1)
  426. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  427. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  428. txtlb.TextStrokeColor3 = BrickColor.random().Color
  429. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  430. end
  431. end
  432. end))
  433. coroutine.resume(coroutine.create(function()
  434. while true do
  435. swait()
  436. if scrg.Parent ~= nil then
  437. fvalen = fvalen - 0.0001
  438. elseif scrg.Parent == nil then
  439. break
  440. end
  441. end
  442. end))
  443. local flol = 1.75
  444. local flil = 1.6
  445. coroutine.resume(coroutine.create(function()
  446. for i = 0, 9 do
  447. swait()
  448. fval = fval + 0.05
  449. flol = flol - 0.1
  450. flil = flil - 0.1
  451. txtlb.Text = ""
  452. txtlb.Position = UDim2.new(0,0,flol,0)
  453. txtlb2.Position = UDim2.new(0,0,flil,0)
  454. end
  455. txtlb.Text = text
  456. wait(watval)
  457. local valinc = 0
  458. for i = 0, 99 do
  459. swait()
  460. valinc = valinc + 0.0001
  461. flol = flol + valinc
  462. flil = flil + valinc
  463. txtlb.Rotation = txtlb.Rotation + valinc*20
  464. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  465. txtlb.Position = UDim2.new(0,0,flol,0)
  466. txtlb2.Position = UDim2.new(0,0,flil,0)
  467. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  468. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  469. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  470. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  471. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  472. end
  473. scrg:Destroy()
  474. end))
  475. end))
  476. end
  477. end
  478.  
  479.  
  480. local Create = LoadLibrary("RbxUtility").Create
  481.  
  482. CFuncs = {
  483. ["Part"] = {
  484. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  485. local Part = Create("Part"){
  486. Parent = Parent,
  487. Reflectance = Reflectance,
  488. Transparency = Transparency,
  489. CanCollide = false,
  490. Locked = true,
  491. BrickColor = BrickColor.new(tostring(BColor)),
  492. Name = Name,
  493. Size = Size,
  494. Material = Material,
  495. }
  496. RemoveOutlines(Part)
  497. return Part
  498. end;
  499. };
  500.  
  501. ["Mesh"] = {
  502. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  503. local Msh = Create(Mesh){
  504. Parent = Part,
  505. Offset = OffSet,
  506. Scale = Scale,
  507. }
  508. if Mesh == "SpecialMesh" then
  509. Msh.MeshType = MeshType
  510. Msh.MeshId = MeshId
  511. end
  512. return Msh
  513. end;
  514. };
  515.  
  516. ["Mesh"] = {
  517. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  518. local Msh = Create(Mesh){
  519. Parent = Part,
  520. Offset = OffSet,
  521. Scale = Scale,
  522. }
  523. if Mesh == "SpecialMesh" then
  524. Msh.MeshType = MeshType
  525. Msh.MeshId = MeshId
  526. end
  527. return Msh
  528. end;
  529. };
  530.  
  531. ["Weld"] = {
  532. Create = function(Parent, Part0, Part1, C0, C1)
  533. local Weld = Create("Weld"){
  534. Parent = Parent,
  535. Part0 = Part0,
  536. Part1 = Part1,
  537. C0 = C0,
  538. C1 = C1,
  539. }
  540. return Weld
  541. end;
  542. };
  543.  
  544. ["Sound"] = {
  545. Create = function(id, par, vol, pit)
  546. coroutine.resume(coroutine.create(function()
  547. local S = Create("Sound"){
  548. Volume = vol,
  549. Name = "EffectSoundo",
  550. Pitch = pit or 1,
  551. SoundId = id,
  552. Parent = par or workspace,
  553. }
  554. wait()
  555. S:play()
  556. game:GetService("Debris"):AddItem(S, 10)
  557. end))
  558. end;
  559. };
  560.  
  561. ["TimeSound"] = {
  562. Create = function(id, par, vol, pit, timepos)
  563. coroutine.resume(coroutine.create(function()
  564. local S = Create("Sound"){
  565. Volume = vol,
  566. Name = "EffectSoundo",
  567. Pitch = pit or 1,
  568. SoundId = id,
  569. TimePosition = timepos,
  570. Parent = par or workspace,
  571. }
  572. wait()
  573. S:play()
  574. game:GetService("Debris"):AddItem(S, 10)
  575. end))
  576. end;
  577. };
  578. ["EchoSound"] = {
  579. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  580. coroutine.resume(coroutine.create(function()
  581. local Sas = Create("Sound"){
  582. Volume = vol,
  583. Name = "EffectSoundo",
  584. Pitch = pit or 1,
  585. SoundId = id,
  586. TimePosition = timepos,
  587. Parent = par or workspace,
  588. }
  589. local E = Create("EchoSoundEffect"){
  590. Delay = echodelay,
  591. Name = "Echo",
  592. Feedback = fedb,
  593. DryLevel = dryl,
  594. Parent = Sas,
  595. }
  596. wait()
  597. Sas:play()
  598. game:GetService("Debris"):AddItem(Sas, delays)
  599. end))
  600. end;
  601. };
  602.  
  603. ["LongSound"] = {
  604. Create = function(id, par, vol, pit)
  605. coroutine.resume(coroutine.create(function()
  606. local S = Create("Sound"){
  607. Volume = vol,
  608. Pitch = pit or 1,
  609. SoundId = id,
  610. Parent = par or workspace,
  611. }
  612. wait()
  613. S:play()
  614. game:GetService("Debris"):AddItem(S, 60)
  615. end))
  616. end;
  617. };
  618.  
  619. ["ParticleEmitter"] = {
  620. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  621. local fp = Create("ParticleEmitter"){
  622. Parent = Parent,
  623. Color = ColorSequence.new(Color1, Color2),
  624. LightEmission = LightEmission,
  625. Size = Size,
  626. Texture = Texture,
  627. Transparency = Transparency,
  628. ZOffset = ZOffset,
  629. Acceleration = Accel,
  630. Drag = Drag,
  631. LockedToPart = LockedToPart,
  632. VelocityInheritance = VelocityInheritance,
  633. EmissionDirection = EmissionDirection,
  634. Enabled = Enabled,
  635. Lifetime = LifeTime,
  636. Rate = Rate,
  637. Rotation = Rotation,
  638. RotSpeed = RotSpeed,
  639. Speed = Speed,
  640. VelocitySpread = VelocitySpread,
  641. }
  642. return fp
  643. end;
  644. };
  645.  
  646. CreateTemplate = {
  647.  
  648. };
  649. }
  650.  
  651.  
  652.  
  653. New = function(Object, Parent, Name, Data)
  654. local Object = Instance.new(Object)
  655. for Index, Value in pairs(Data or {}) do
  656. Object[Index] = Value
  657. end
  658. Object.Parent = Parent
  659. Object.Name = Name
  660. return Object
  661. end
  662. local halocolor = BrickColor.new("Pastel light blue")
  663. local halocolor2 = BrickColor.new("Cool yellow")
  664. local starcolor = BrickColor.new("Bright yellow")
  665. local lunacolor = BrickColor.new("Navy blue")
  666. local lunacolor2 = BrickColor.new("Bright blue")
  667. local wepcolor = BrickColor.new("Really black")
  668. local maincolor = BrickColor.new("Really black")
  669. local m = Instance.new("Model",char)
  670. local m2 = Instance.new("Model",char)
  671. local m3 = Instance.new("Model",char)
  672. local mw1 = Instance.new("Model",char)
  673. local mw2 = Instance.new("Model",char)
  674.  
  675.  
  676. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  677. local gui = it(GuiType)
  678. gui.Parent = parent
  679. gui.Text = text
  680. gui.BackgroundTransparency = backtrans
  681. gui.BackgroundColor3 = backcol
  682. gui.SizeConstraint = "RelativeXY"
  683. gui.TextXAlignment = "Center"
  684. gui.TextYAlignment = "Center"
  685. gui.Position = pos
  686. gui.Size = size
  687. gui.Font = "SciFi"
  688. gui.FontSize = "Size14"
  689. gui.TextWrapped = false
  690. gui.TextStrokeTransparency = 0
  691. gui.TextColor = BrickColor.new("White")
  692. return gui
  693. end
  694. --------------------------- GUI STUFF
  695. local basgui = it("GuiMain")
  696. basgui.Parent = plr.PlayerGui
  697. basgui.Name = "VISgui"
  698. local fullscreenz = it("Frame")
  699. fullscreenz.Parent = basgui
  700. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  701. fullscreenz.BackgroundTransparency = 1
  702. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  703. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  704. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  705. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  706. imgl2.BackgroundTransparency = 1
  707. imgl2.BorderSizePixel = 0
  708. imgl2.ImageTransparency = 0.5
  709. imgl2.ImageColor3 = Color3.new(1,0,0)
  710. imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
  711. imgl2.Size = UDim2.new(0,1000,0,1000)
  712. imgl2.Image = "rbxassetid://2325939897"
  713. local techc = imgl2:Clone()
  714. techc.Parent = fullscreenz
  715. techc.ImageTransparency = 0
  716. techc.Size = UDim2.new(0,900,0,900)
  717. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  718. techc.ImageColor3 = Color3.new(1,0,0)
  719. techc.Image = "rbxassetid://2273224484"
  720. local circl = imgl2:Clone()
  721. circl.Parent = fullscreenz
  722. circl.ImageTransparency = 0
  723. circl.Size = UDim2.new(0,550,0,550)
  724. circl.Position = UDim2.new(0.75,25,0.55,25)
  725. circl.ImageColor3 = Color3.new(0,0,0)
  726. circl.Image = "rbxassetid://2312119891"
  727. local circl2 = imgl2:Clone()
  728. circl2.Parent = fullscreenz
  729. circl2.ImageTransparency = 0
  730. circl2.Size = UDim2.new(0,700,0,700)
  731. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  732. circl2.ImageColor3 = Color3.new(1,0,0)
  733. circl2.Image = "rbxassetid://2312119891"
  734. local imgl2b = imgl2:Clone()
  735. imgl2b.Parent = fullscreenz
  736. imgl2b.ImageTransparency = 0
  737. imgl2b.Size = UDim2.new(0,800,0,800)
  738. imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
  739. imgl2b.ImageColor3 = Color3.new(0,0,0)
  740. local ned = Instance.new("TextLabel",fullscreenz)
  741. ned.ZIndex = 2
  742. ned.Font = "Arcade"
  743. ned.BackgroundTransparency = 1
  744. ned.BorderSizePixel = 0.65
  745. ned.Size = UDim2.new(0.3,0,0.2,0)
  746. ned.Position = UDim2.new(0.7,0,0.8,0)
  747. ned.TextColor3 = BrickColor.new("Lime green").Color
  748. ned.TextStrokeColor3 = BrickColor.new("Forest green").Color
  749. ned.TextScaled = true
  750. ned.TextStrokeTransparency = 0
  751. ned.Text = "Glaze"
  752. ned.TextSize = 24
  753. ned.Rotation = 1
  754. ned.TextXAlignment = "Right"
  755. ned.TextYAlignment = "Bottom"
  756.  
  757. local extrawingmod1 = Instance.new("Model",char)
  758. local extrawingmod2 = Instance.new("Model",char)
  759.  
  760. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  761. local p = Instance.new("Part")
  762. p.TopSurface = 0
  763. p.BottomSurface = 0
  764. p.Parent = parent
  765. p.Size = Vector3.new(0.1,0.1,0.1)
  766. p.Transparency = transparency
  767. p.Reflectance = reflectance
  768. p.CanCollide = false
  769. p.Locked = true
  770. p.BrickColor = brickcolor
  771. p.Material = material
  772. return p
  773. end
  774.  
  775. function CreateMesh(parent,meshtype,x1,y1,z1)
  776. local mesh = Instance.new("SpecialMesh",parent)
  777. mesh.MeshType = meshtype
  778. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  779. return mesh
  780. end
  781.  
  782. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  783. local mesh = Instance.new("SpecialMesh",parent)
  784. mesh.MeshType = "FileMesh"
  785. mesh.MeshId = meshid
  786. mesh.Scale = Vector3.new(x1,y1,z1)
  787. return mesh
  788. end
  789.  
  790.  
  791. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  792. local mesh = Instance.new("SpecialMesh",parent)
  793. mesh.MeshType = "FileMesh"
  794. mesh.MeshId = meshid
  795. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  796. mesh.Scale = Vector3.new(x1,y1,z1)
  797. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  798. return mesh
  799. end
  800.  
  801. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  802. local weld = Instance.new("Weld")
  803. weld.Parent = parent
  804. weld.Part0 = part0
  805. weld.Part1 = part1
  806. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  807. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  808. return weld
  809. end
  810.  
  811.  
  812. --------------
  813. --------------
  814. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  815. 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))
  816. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  817. 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))
  818.  
  819. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  820. CreateMesh(handle,"Brick",0,0,0)
  821. 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))
  822. local valuaring = 10
  823. for i = 0, 49 do
  824. valuaring = valuaring + 10
  825. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  826. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  827. 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))
  828. end
  829.  
  830. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  831. CreateMesh(handle,"Brick",0,0,0)
  832. 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))
  833. local valuaring = 10
  834. for i = 0, 49 do
  835. valuaring = valuaring + 10
  836. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  837. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  838. 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))
  839. end
  840.  
  841.  
  842. local handle = CreateParta(m,1,1,"Neon",maincolor)
  843. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  844. 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))
  845.  
  846. --- Left wing.
  847.  
  848. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  849. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  850. 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))
  851.  
  852. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  853. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  854. 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))
  855. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  856. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  857. 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))
  858. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  859. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  860. CreateWeld(wed,lwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  861. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  862. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  863. CreateWeld(wed,lwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  864. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  865. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  866. CreateWeld(wed,lwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  867. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  868. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  869. CreateWeld(wed,lwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  870. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  871. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  872. 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))
  873. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  874. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  875. 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))
  876. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  877. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  878. CreateWeld(wed,lwing1,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  879. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  880. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  881. CreateWeld(wed,lwing1,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  882.  
  883. tl1 = Instance.new('Trail',wed)
  884. tl1.Attachment0 = A1
  885. tl1.Attachment1 = A0
  886. tl1.Texture = "rbxassetid://2108945559"
  887. tl1.LightEmission = 1
  888. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  889. tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  890. tl1.Lifetime = 0.6
  891.  
  892. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  893. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  894. 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))
  895.  
  896. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  897. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  898. 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))
  899. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  900. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  901. 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))
  902. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  903. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  904. CreateWeld(wed,lwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  905. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  906. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  907. CreateWeld(wed,lwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  908. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  909. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  910. CreateWeld(wed,lwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  911. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  912. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  913. CreateWeld(wed,lwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  914. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  915. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  916. 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))
  917. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  918. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  919. 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))
  920. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  921. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  922. CreateWeld(wed,lwing2,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  923. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  924. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  925. CreateWeld(wed,lwing2,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  926.  
  927. tl2 = Instance.new('Trail',wed)
  928. tl2.Attachment0 = A1
  929. tl2.Attachment1 = A0
  930. tl2.Texture = "rbxassetid://2108945559"
  931. tl2.LightEmission = 1
  932. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  933. tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  934. tl2.Lifetime = 0.6
  935.  
  936. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  937. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  938. 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))
  939.  
  940. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  941. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  942. 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))
  943. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  944. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  945. 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))
  946. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  947. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  948. CreateWeld(wed,lwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  949. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  950. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  951. CreateWeld(wed,lwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  952. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  953. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  954. CreateWeld(wed,lwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  955. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  956. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  957. CreateWeld(wed,lwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  958. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  959. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  960. 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))
  961. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  962. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  963. 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))
  964. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  965. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  966. CreateWeld(wed,lwing3,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  967. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  968. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  969. CreateWeld(wed,lwing3,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  970.  
  971. tl3 = Instance.new('Trail',wed)
  972. tl3.Attachment0 = A1
  973. tl3.Attachment1 = A0
  974. tl3.Texture = "rbxassetid://2108945559"
  975. tl3.LightEmission = 1
  976. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  977. tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  978. tl3.Lifetime = 0.6
  979.  
  980. tl1.Enabled = true
  981. tl2.Enabled = true
  982. tl3.Enabled = true
  983. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  984. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  985. 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))
  986.  
  987. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  988. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  989. 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))
  990. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  991. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  992. 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))
  993. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  994. CreateMesh(wed,"Wedge",0.05,0.5,3)
  995. 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))
  996. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  997. CreateMesh(wed,"Wedge",0.05,3,0.5)
  998. 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))
  999.  
  1000. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1001. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1002. 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))
  1003.  
  1004. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1005. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1006. 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))
  1007. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1008. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1009. 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))
  1010. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1011. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1012. 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))
  1013. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1014. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1015. 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))
  1016.  
  1017. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1018. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1019. 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))
  1020.  
  1021. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1022. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1023. 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))
  1024. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1025. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1026. 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))
  1027. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1028. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1029. 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))
  1030. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1031. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1032. 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))
  1033.  
  1034. -- Right wing.
  1035.  
  1036. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1037. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1038. 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))
  1039.  
  1040. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1041. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1042. 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))
  1043. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1044. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1045. 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))
  1046. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1047. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1048. CreateWeld(wed,rwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1049. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1050. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1051. CreateWeld(wed,rwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1052. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1053. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1054. CreateWeld(wed,rwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1055. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1056. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1057. CreateWeld(wed,rwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1058. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1059. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  1060. 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))
  1061. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1062. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  1063. 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))
  1064. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1065. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  1066. CreateWeld(wed,rwing1,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1067. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1068. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  1069. CreateWeld(wed,rwing1,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1070.  
  1071. tr1 = Instance.new('Trail',wed)
  1072. tr1.Attachment0 = A1
  1073. tr1.Attachment1 = A0
  1074. tr1.Texture = "rbxassetid://2108945559"
  1075. tr1.LightEmission = 1
  1076. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1077. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1078. tr1.Lifetime = 0.6
  1079.  
  1080. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1081. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1082. 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))
  1083.  
  1084. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1085. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1086. 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))
  1087. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1088. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1089. 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))
  1090. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1091. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1092. CreateWeld(wed,rwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1093. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1094. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1095. CreateWeld(wed,rwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1096. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1097. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1098. CreateWeld(wed,rwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1099. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1100. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1101. CreateWeld(wed,rwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1102. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1103. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  1104. 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))
  1105. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1106. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  1107. 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))
  1108. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1109. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  1110. CreateWeld(wed,rwing2,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1111. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1112. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  1113. CreateWeld(wed,rwing2,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1114.  
  1115. tr2 = Instance.new('Trail',wed)
  1116. tr2.Attachment0 = A1
  1117. tr2.Attachment1 = A0
  1118. tr2.Texture = "rbxassetid://2108945559"
  1119. tr2.LightEmission = 1
  1120. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1121. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1122. tr2.Lifetime = 0.6
  1123.  
  1124. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1125. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1126. 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))
  1127.  
  1128.  
  1129. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1130. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1131. 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))
  1132. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1133. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1134. 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))
  1135. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1136. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1137. CreateWeld(wed,rwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1138. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1139. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1140. CreateWeld(wed,rwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1141. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1142. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1143. CreateWeld(wed,rwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1144. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1145. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1146. CreateWeld(wed,rwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1147. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1148. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  1149. 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))
  1150. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1151. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  1152. 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))
  1153. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1154. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  1155. CreateWeld(wed,rwing3,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1156. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1157. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  1158. CreateWeld(wed,rwing3,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1159.  
  1160. tr3 = Instance.new('Trail',wed)
  1161. tr3.Attachment0 = A1
  1162. tr3.Attachment1 = A0
  1163. tr3.Texture = "rbxassetid://2108945559"
  1164. tr3.LightEmission = 1
  1165. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1166. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1167. tr3.Lifetime = 0.6
  1168.  
  1169. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1170. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1171. 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))
  1172.  
  1173. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1174. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1175. 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))
  1176. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1177. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1178. 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))
  1179. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1180. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1181. 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))
  1182. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1183. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1184. 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))
  1185.  
  1186. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1187. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1188. 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))
  1189.  
  1190. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1191. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1192. 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))
  1193. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1194. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1195. 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))
  1196. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1197. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1198. 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))
  1199. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1200. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1201. 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))
  1202.  
  1203. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1204. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1205. 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))
  1206.  
  1207. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1208. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1209. 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))
  1210. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1211. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1212. 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))
  1213. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1214. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1215. 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))
  1216. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1217. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1218. 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))
  1219.  
  1220.  
  1221. ---- HERES THE RING
  1222.  
  1223.  
  1224. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1225. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1226. 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))
  1227. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1228. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1229. 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))
  1230. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1231. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1232. 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))
  1233.  
  1234.  
  1235. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1236. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1237. 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))
  1238.  
  1239. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1240. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1241. 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))
  1242.  
  1243.  
  1244.  
  1245. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1246. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1247. 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))
  1248.  
  1249. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1250. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1251. 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))
  1252.  
  1253. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1254. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1255. 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))
  1256.  
  1257. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1258. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1259. 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))
  1260. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1261. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1262. 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))
  1263.  
  1264. --- second ring
  1265.  
  1266. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1267. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1268. CreateWeld(ran,rarm,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))
  1269. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1270. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1271. CreateWeld(ran,rarm,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))
  1272. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1273. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1274. CreateWeld(ran,rarm,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))
  1275.  
  1276. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1277. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1278. 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))
  1279.  
  1280. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1281. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1282. 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))
  1283.  
  1284.  
  1285.  
  1286. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1287. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1288. 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))
  1289.  
  1290. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1291. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1292. 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))
  1293.  
  1294. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1295. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1296. 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))
  1297.  
  1298. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1299. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1300. 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))
  1301. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1302. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1303. 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))]]--
  1304.  
  1305.  
  1306.  
  1307. for i, v in pairs(m:GetChildren()) do
  1308. if v:IsA("Part") then
  1309. v.BrickColor = BrickColor.new("Really black")
  1310. v.Material = "Glass"
  1311. end
  1312. end
  1313. for i, v in pairs(m2:GetChildren()) do
  1314. if v:IsA("Part") then
  1315. v.BrickColor = BrickColor.new("Crimson")
  1316. v.Material = "Granite"
  1317. end
  1318. end
  1319. for i, v in pairs(m3:GetChildren()) do
  1320. if v:IsA("Part") then
  1321. v.BrickColor = BrickColor.new("Really red")
  1322. v.Material = "Neon"
  1323. end
  1324. end
  1325. for i, v in pairs(mw2:GetChildren()) do
  1326. if v:IsA("Part") then
  1327. v.BrickColor = BrickColor.new("Really red")
  1328. v.Material = "Neon"
  1329. end
  1330. end
  1331. for i, v in pairs(mw1:GetChildren()) do
  1332. if v:IsA("Part") then
  1333. v.Transparency = 1
  1334. v.BrickColor = BrickColor.new("Really red")
  1335. v.Material = "Neon"
  1336. end
  1337. end
  1338. for i, v in pairs(extrawingmod1:GetChildren()) do
  1339. if v:IsA("Part") then
  1340. v.Transparency = 1
  1341. v.BrickColor = BrickColor.new("White")
  1342. v.Material = "Neon"
  1343. end
  1344. end
  1345. for i, v in pairs(extrawingmod2:GetChildren()) do
  1346. if v:IsA("Part") then
  1347. v.Transparency = 1
  1348. v.BrickColor = BrickColor.new("White")
  1349. v.Material = "Neon"
  1350. end
  1351. end
  1352. local MAINRUINCOLOR = BrickColor.new("Really red")
  1353. ------
  1354.  
  1355.  
  1356. function RemoveOutlines(part)
  1357. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1358. end
  1359. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1360. local Part = Create("Part")({
  1361. Parent = Parent,
  1362. Reflectance = Reflectance,
  1363. Transparency = Transparency,
  1364. CanCollide = false,
  1365. Locked = true,
  1366. BrickColor = BrickColor.new(tostring(BColor)),
  1367. Name = Name,
  1368. Size = Size,
  1369. Material = Material
  1370. })
  1371. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1372. RemoveOutlines(Part)
  1373. return Part
  1374. end
  1375. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1376. local Msh = Create(Mesh)({
  1377. Parent = Part,
  1378. Offset = OffSet,
  1379. Scale = Scale
  1380. })
  1381. if Mesh == "SpecialMesh" then
  1382. Msh.MeshType = MeshType
  1383. Msh.MeshId = MeshId
  1384. end
  1385. return Msh
  1386. end
  1387. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1388. local Weld = Create("Weld")({
  1389. Parent = Parent,
  1390. Part0 = Part0,
  1391. Part1 = Part1,
  1392. C0 = C0,
  1393. C1 = C1
  1394. })
  1395. return Weld
  1396. end
  1397.  
  1398. Character=Player.Character
  1399. PlayerGui=Player.PlayerGui
  1400. Backpack=Player.Backpack
  1401. Torso=Character.Torso
  1402. Head=Character.Head
  1403. Humanoid=Character.Humanoid
  1404. m=Instance.new('Model',Character)
  1405. LeftArm=Character["Left Arm"]
  1406. LeftLeg=Character["Left Leg"]
  1407. RightArm=Character["Right Arm"]
  1408. RightLeg=Character["Right Leg"]
  1409. LS=Torso["Left Shoulder"]
  1410. LH=Torso["Left Hip"]
  1411. RS=Torso["Right Shoulder"]
  1412. RH=Torso["Right Hip"]
  1413. Face = Head.face
  1414. Neck=Torso.Neck
  1415. it=Instance.new
  1416. attacktype=1
  1417. vt=Vector3.new
  1418. cf=CFrame.new
  1419. euler=CFrame.fromEulerAnglesXYZ
  1420. angles=CFrame.Angles
  1421. cloaked=false
  1422. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1423. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1424. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1425. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1426. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1427. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1428. RootPart=Character.HumanoidRootPart
  1429. RootJoint=RootPart.RootJoint
  1430. RootCF=euler(-1.57,0,3.14)
  1431. attack = false
  1432. attackdebounce = false
  1433. deb=false
  1434. equipped=true
  1435. hand=false
  1436. combo=0
  1437. mana=0
  1438. trispeed=.2
  1439. attackmode='none'
  1440. local idle=0
  1441. local Anim="Idle"
  1442. local Effects={}
  1443. local gun=false
  1444. local shoot=false
  1445. local sine = 0
  1446. local change = 1
  1447.  
  1448. function RecolorTextAndRename(name,col1,col2,font)
  1449. modet.TextStrokeColor3 = col2
  1450. modet.TextColor3 = col1
  1451. modet.Font = font
  1452. modet.Text = name
  1453. techc.ImageColor3 = col2
  1454. circl.ImageColor3 = col2
  1455. circl2.ImageColor3 = col1
  1456. imgl2.ImageColor3 = col1
  1457. imgl2b.ImageColor3 = col2
  1458. ned.Text = name
  1459. ned.TextColor3 = col1
  1460. ned.TextStrokeColor3 = col2
  1461. end
  1462. --save shoulders
  1463. RSH, LSH=nil, nil
  1464. --welds
  1465. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1466. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1467. LH=Torso["Left Hip"]
  1468. RH=Torso["Right Hip"]
  1469. TorsoColor=Torso.BrickColor
  1470. function NoOutline(Part)
  1471. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1472. end
  1473. ch=Character
  1474. RSH=ch.Torso["Right Shoulder"]
  1475. LSH=ch.Torso["Left Shoulder"]
  1476. --
  1477. RSH.Parent=nil
  1478. LSH.Parent=nil
  1479. --
  1480. RW.Name="Right Shoulder"
  1481. RW.Part0=ch.Torso
  1482. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1483. RW.C1=cf(0, 0.5, 0)
  1484. RW.Part1=ch["Right Arm"]
  1485. RW.Parent=ch.Torso
  1486. --
  1487. LW.Name="Left Shoulder"
  1488. LW.Part0=ch.Torso
  1489. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1490. LW.C1=cf(0, 0.5, 0)
  1491. LW.Part1=ch["Left Arm"]
  1492. LW.Parent=ch.Torso
  1493.  
  1494. local Stats=Instance.new("BoolValue")
  1495. Stats.Name="Stats"
  1496. Stats.Parent=Character
  1497. local Atk=Instance.new("NumberValue")
  1498. Atk.Name="Damage"
  1499. Atk.Parent=Stats
  1500. Atk.Value=1
  1501. local Def=Instance.new("NumberValue")
  1502. Def.Name="Defense"
  1503. Def.Parent=Stats
  1504. Def.Value=1
  1505. local Speed=Instance.new("NumberValue")
  1506. Speed.Name="Speed"
  1507. Speed.Parent=Stats
  1508. Speed.Value=1
  1509. local Mvmt=Instance.new("NumberValue")
  1510. Mvmt.Name="Movement"
  1511. Mvmt.Parent=Stats
  1512. Mvmt.Value=1
  1513.  
  1514. local donum=0
  1515.  
  1516.  
  1517. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1518. local fp=it("Part")
  1519. fp.formFactor=formfactor
  1520. fp.Parent=parent
  1521. fp.Reflectance=reflectance
  1522. fp.Transparency=transparency
  1523. fp.CanCollide=false
  1524. fp.Locked=true
  1525. fp.BrickColor=brickcolor
  1526. fp.Name=name
  1527. fp.Size=size
  1528. fp.Position=Torso.Position
  1529. NoOutline(fp)
  1530. fp.Material="SmoothPlastic"
  1531. fp:BreakJoints()
  1532. return fp
  1533. end
  1534.  
  1535. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1536. local mesh=it(Mesh)
  1537. mesh.Parent=part
  1538. if Mesh=="SpecialMesh" then
  1539. mesh.MeshType=meshtype
  1540. if meshid~="nil" then
  1541. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1542. end
  1543. end
  1544. mesh.Offset=offset
  1545. mesh.Scale=scale
  1546. return mesh
  1547. end
  1548.  
  1549. function weld(parent,part0,part1,c0)
  1550. local weld=it("Weld")
  1551. weld.Parent=parent
  1552. weld.Part0=part0
  1553. weld.Part1=part1
  1554. weld.C0=c0
  1555. return weld
  1556. end
  1557.  
  1558. local Color1=Torso.BrickColor
  1559.  
  1560. local bodvel=Instance.new("BodyVelocity")
  1561. local bg=Instance.new("BodyGyro")
  1562.  
  1563. --------- SazEreno's Artificial HB --------------
  1564. ArtificialHB = Instance.new("BindableEvent", script)
  1565. ArtificialHB.Name = "ArtificialHB"
  1566.  
  1567. script:WaitForChild("ArtificialHB")
  1568. Frame_Speed = 1 / 60
  1569. frame = Frame_Speed
  1570. tf = 0
  1571. allowframeloss = false
  1572. tossremainder = false
  1573. lastframe = tick()
  1574. script.ArtificialHB:Fire()
  1575.  
  1576. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1577. tf = tf + s
  1578. if tf >= frame then
  1579. if allowframeloss then
  1580. script.ArtificialHB:Fire()
  1581. lastframe = tick()
  1582. else
  1583. for i = 1, math.floor(tf / frame) do
  1584. script.ArtificialHB:Fire()
  1585. end
  1586. lastframe = tick()
  1587. end
  1588. if tossremainder then
  1589. tf = 0
  1590. else
  1591. tf = tf - frame * math.floor(tf / frame)
  1592. end
  1593. end
  1594. end)
  1595.  
  1596. ------------------
  1597. function swait(num)
  1598. function swait(num)
  1599. if num==0 or num==nil then
  1600. game:service'RunService'.Stepped:wait(0)
  1601. else
  1602. for i=0,num do
  1603. game:service'RunService'.Stepped:wait(0)
  1604. end
  1605. end
  1606. end
  1607. end
  1608.  
  1609. -------- RAINBOW LEAVE IT TO ME
  1610. local r = 255
  1611. local g = 0
  1612. local b = 0
  1613. coroutine.resume(coroutine.create(function()
  1614. while wait() do
  1615. for i = 0, 254/5 do
  1616. swait()
  1617. g = g + 5
  1618. end
  1619. for i = 0, 254/5 do
  1620. swait()
  1621. r = r - 5
  1622. end
  1623. for i = 0, 254/5 do
  1624. swait()
  1625. b = b + 5
  1626. end
  1627. for i = 0, 254/5 do
  1628. swait()
  1629. g = g - 5
  1630. end
  1631. for i = 0, 254/5 do
  1632. swait()
  1633. r = r + 5
  1634. end
  1635. for i = 0, 254/5 do
  1636. swait()
  1637. b = b - 5
  1638. end
  1639. end
  1640. end))
  1641.  
  1642.  
  1643. so = function(id,par,vol,pit)
  1644. coroutine.resume(coroutine.create(function()
  1645. local sou = Instance.new("Sound",par or workspace)
  1646. sou.Volume=vol
  1647. sou.Pitch=pit or 1
  1648. sou.SoundId=id
  1649. swait()
  1650. sou:play()
  1651. game:GetService("Debris"):AddItem(sou,6)
  1652. end))
  1653. end
  1654.  
  1655. function clerp(a,b,t)
  1656. local qa = {QuaternionFromCFrame(a)}
  1657. local qb = {QuaternionFromCFrame(b)}
  1658. local ax, ay, az = a.x, a.y, a.z
  1659. local bx, by, bz = b.x, b.y, b.z
  1660. local _t = 1-t
  1661. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1662. end
  1663.  
  1664. function QuaternionFromCFrame(cf)
  1665. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1666. local trace = m00 + m11 + m22
  1667. if trace > 0 then
  1668. local s = math.sqrt(1 + trace)
  1669. local recip = 0.5/s
  1670. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1671. else
  1672. local i = 0
  1673. if m11 > m00 then
  1674. i = 1
  1675. end
  1676. if m22 > (i == 0 and m00 or m11) then
  1677. i = 2
  1678. end
  1679. if i == 0 then
  1680. local s = math.sqrt(m00-m11-m22+1)
  1681. local recip = 0.5/s
  1682. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1683. elseif i == 1 then
  1684. local s = math.sqrt(m11-m22-m00+1)
  1685. local recip = 0.5/s
  1686. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1687. elseif i == 2 then
  1688. local s = math.sqrt(m22-m00-m11+1)
  1689. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1690. end
  1691. end
  1692. end
  1693.  
  1694. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1695. local xs, ys, zs = x + x, y + y, z + z
  1696. local wx, wy, wz = w*xs, w*ys, w*zs
  1697. local xx = x*xs
  1698. local xy = x*ys
  1699. local xz = x*zs
  1700. local yy = y*ys
  1701. local yz = y*zs
  1702. local zz = z*zs
  1703. 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))
  1704. end
  1705.  
  1706. function QuaternionSlerp(a, b, t)
  1707. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1708. local startInterp, finishInterp;
  1709. if cosTheta >= 0.0001 then
  1710. if (1 - cosTheta) > 0.0001 then
  1711. local theta = math.acos(cosTheta)
  1712. local invSinTheta = 1/math.sin(theta)
  1713. startInterp = math.sin((1-t)*theta)*invSinTheta
  1714. finishInterp = math.sin(t*theta)*invSinTheta
  1715. else
  1716. startInterp = 1-t
  1717. finishInterp = t
  1718. end
  1719. else
  1720. if (1+cosTheta) > 0.0001 then
  1721. local theta = math.acos(-cosTheta)
  1722. local invSinTheta = 1/math.sin(theta)
  1723. startInterp = math.sin((t-1)*theta)*invSinTheta
  1724. finishInterp = math.sin(t*theta)*invSinTheta
  1725. else
  1726. startInterp = t-1
  1727. finishInterp = t
  1728. end
  1729. end
  1730. 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
  1731. end
  1732.  
  1733. local function CFrameFromTopBack(at, top, back)
  1734. local right = top:Cross(back)
  1735. return CFrame.new(at.x, at.y, at.z,
  1736. right.x, top.x, back.x,
  1737. right.y, top.y, back.y,
  1738. right.z, top.z, back.z)
  1739. end
  1740.  
  1741. function Triangle(a, b, c)
  1742. local edg1 = (c-a):Dot((b-a).unit)
  1743. local edg2 = (a-b):Dot((c-b).unit)
  1744. local edg3 = (b-c):Dot((a-c).unit)
  1745. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1746. a, b, c = a, b, c
  1747. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1748. a, b, c = b, c, a
  1749. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1750. a, b, c = c, a, b
  1751. else
  1752. assert(false, "unreachable")
  1753. end
  1754.  
  1755. local len1 = (c-a):Dot((b-a).unit)
  1756. local len2 = (b-a).magnitude - len1
  1757. local width = (a + (b-a).unit*len1 - c).magnitude
  1758.  
  1759. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1760.  
  1761. local list = {}
  1762.  
  1763. if len1 > 0.01 then
  1764. local w1 = Instance.new('WedgePart', m)
  1765. game:GetService("Debris"):AddItem(w1,5)
  1766. w1.Material = "SmoothPlastic"
  1767. w1.FormFactor = 'Custom'
  1768. w1.BrickColor = BrickColor.new("Really red")
  1769. w1.Transparency = 0
  1770. w1.Reflectance = 0
  1771. w1.Material = "SmoothPlastic"
  1772. w1.CanCollide = false
  1773. local l1 = Instance.new("PointLight",w1)
  1774. l1.Color = Color3.new(170,0,0)
  1775. NoOutline(w1)
  1776. local sz = Vector3.new(0.2, width, len1)
  1777. w1.Size = sz
  1778. local sp = Instance.new("SpecialMesh",w1)
  1779. sp.MeshType = "Wedge"
  1780. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1781. w1:BreakJoints()
  1782. w1.Anchored = true
  1783. w1.Parent = workspace
  1784. w1.Transparency = 0.7
  1785. table.insert(Effects,{w1,"Disappear",.01})
  1786. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1787. table.insert(list,w1)
  1788. end
  1789.  
  1790. if len2 > 0.01 then
  1791. local w2 = Instance.new('WedgePart', m)
  1792. game:GetService("Debris"):AddItem(w2,5)
  1793. w2.Material = "SmoothPlastic"
  1794. w2.FormFactor = 'Custom'
  1795. w2.BrickColor = BrickColor.new("Really red")
  1796. w2.Transparency = 0
  1797. w2.Reflectance = 0
  1798. w2.Material = "SmoothPlastic"
  1799. w2.CanCollide = false
  1800. local l2 = Instance.new("PointLight",w2)
  1801. l2.Color = Color3.new(170,0,0)
  1802. NoOutline(w2)
  1803. local sz = Vector3.new(0.2, width, len2)
  1804. w2.Size = sz
  1805. local sp = Instance.new("SpecialMesh",w2)
  1806. sp.MeshType = "Wedge"
  1807. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1808. w2:BreakJoints()
  1809. w2.Anchored = true
  1810. w2.Parent = workspace
  1811. w2.Transparency = 0.7
  1812. table.insert(Effects,{w2,"Disappear",.01})
  1813. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1814. table.insert(list,w2)
  1815. end
  1816. return unpack(list)
  1817. end
  1818.  
  1819.  
  1820. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1821. if hit.Parent == nil then
  1822. return
  1823. end
  1824. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1825. for _, v in pairs(hit.Parent:children()) do
  1826. if v:IsA("Humanoid") then
  1827. h = v
  1828. end
  1829. end
  1830. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1831. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1832. return
  1833. end
  1834. local c = Create("ObjectValue")({
  1835. Name = "creator",
  1836. Value = game:GetService("Players").LocalPlayer,
  1837. Parent = h
  1838. })
  1839. game:GetService("Debris"):AddItem(c, 0.5)
  1840. if HitSound ~= nil and HitPitch ~= nil then
  1841. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1842. end
  1843. local Damage = math.random(minim, maxim)
  1844. local blocked = false
  1845. local block = hit.Parent:findFirstChild("Block")
  1846. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1847. blocked = true
  1848. block.Value = block.Value - 1
  1849. print(block.Value)
  1850. end
  1851. if blocked == false then
  1852. HitHealth = h.Health
  1853. h.MaxHealth = 100
  1854. h.Health = h.Health - Damage
  1855. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1856. print("gained kill")
  1857. dmg(h.Parent)
  1858. end
  1859. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1860. else
  1861. h.Health = h.Health - Damage / 2
  1862. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1863. end
  1864. if Type == "Knockdown" then
  1865. local hum = hit.Parent.Humanoid
  1866. hum.PlatformStand = true
  1867. coroutine.resume(coroutine.create(function(HHumanoid)
  1868. swait(1)
  1869. HHumanoid.PlatformStand = false
  1870. end), hum)
  1871. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1872. local bodvol = Create("BodyVelocity")({
  1873. velocity = angle * knockback,
  1874. P = 5000,
  1875. maxForce = Vector3.new(8000, 8000, 8000),
  1876. Parent = hit
  1877. })
  1878. local rl = Create("BodyAngularVelocity")({
  1879. P = 3000,
  1880. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1881. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1882. Parent = hit
  1883. })
  1884. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1885. game:GetService("Debris"):AddItem(rl, 0.5)
  1886. elseif Type == "Normal" then
  1887. local vp = Create("BodyVelocity")({
  1888. P = 500,
  1889. maxForce = Vector3.new(math.huge, 0, math.huge),
  1890. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1891. })
  1892. if knockback > 0 then
  1893. vp.Parent = hit.Parent.Head
  1894. end
  1895. game:GetService("Debris"):AddItem(vp, 0.5)
  1896. elseif Type == "Up" then
  1897. local bodyVelocity = Create("BodyVelocity")({
  1898. velocity = Vector3.new(0, 20, 0),
  1899. P = 5000,
  1900. maxForce = Vector3.new(8000, 8000, 8000),
  1901. Parent = hit
  1902. })
  1903. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1904. local bodyVelocity = Create("BodyVelocity")({
  1905. velocity = Vector3.new(0, 20, 0),
  1906. P = 5000,
  1907. maxForce = Vector3.new(8000, 8000, 8000),
  1908. Parent = hit
  1909. })
  1910. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1911. elseif Type == "Leech" then
  1912. local hum = hit.Parent.Humanoid
  1913. if hum ~= nil then
  1914. for i = 0, 2 do
  1915. 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)
  1916. end
  1917. Humanoid.Health = Humanoid.Health + 10
  1918. end
  1919. elseif Type == "UpKnock" then
  1920. local hum = hit.Parent.Humanoid
  1921. hum.PlatformStand = true
  1922. if hum ~= nil then
  1923. hitr = true
  1924. end
  1925. coroutine.resume(coroutine.create(function(HHumanoid)
  1926. swait(5)
  1927. HHumanoid.PlatformStand = false
  1928. hitr = false
  1929. end), hum)
  1930. local bodyVelocity = Create("BodyVelocity")({
  1931. velocity = Vector3.new(0, 20, 0),
  1932. P = 5000,
  1933. maxForce = Vector3.new(8000, 8000, 8000),
  1934. Parent = hit
  1935. })
  1936. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1937. local bodyVelocity = Create("BodyVelocity")({
  1938. velocity = Vector3.new(0, 20, 0),
  1939. P = 5000,
  1940. maxForce = Vector3.new(8000, 8000, 8000),
  1941. Parent = hit
  1942. })
  1943. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1944. elseif Type == "Snare" then
  1945. local bp = Create("BodyPosition")({
  1946. P = 2000,
  1947. D = 100,
  1948. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1949. position = hit.Parent.Torso.Position,
  1950. Parent = hit.Parent.Torso
  1951. })
  1952. game:GetService("Debris"):AddItem(bp, 1)
  1953. elseif Type == "Slashnare" then
  1954. 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)
  1955. for i = 1, math.random(4, 5) do
  1956. 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)
  1957. end
  1958. local bp = Create("BodyPosition")({
  1959. P = 2000,
  1960. D = 100,
  1961. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1962. position = hit.Parent.Torso.Position,
  1963. Parent = hit.Parent.Torso
  1964. })
  1965. game:GetService("Debris"):AddItem(bp, 1)
  1966. elseif Type == "Spike" then
  1967. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1968. local bp = Create("BodyPosition")({
  1969. P = 2000,
  1970. D = 100,
  1971. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1972. position = hit.Parent.Torso.Position,
  1973. Parent = hit.Parent.Torso
  1974. })
  1975. game:GetService("Debris"):AddItem(bp, 1)
  1976. elseif Type == "Freeze" then
  1977. local BodPos = Create("BodyPosition")({
  1978. P = 50000,
  1979. D = 1000,
  1980. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1981. position = hit.Parent.Torso.Position,
  1982. Parent = hit.Parent.Torso
  1983. })
  1984. local BodGy = Create("BodyGyro")({
  1985. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1986. P = 20000,
  1987. Parent = hit.Parent.Torso,
  1988. cframe = hit.Parent.Torso.CFrame
  1989. })
  1990. hit.Parent.Torso.Anchored = true
  1991. coroutine.resume(coroutine.create(function(Part)
  1992. swait(1.5)
  1993. Part.Anchored = false
  1994. end), hit.Parent.Torso)
  1995. game:GetService("Debris"):AddItem(BodPos, 3)
  1996. game:GetService("Debris"):AddItem(BodGy, 3)
  1997. end
  1998. local debounce = Create("BoolValue")({
  1999. Name = "DebounceHit",
  2000. Parent = hit.Parent,
  2001. Value = true
  2002. })
  2003. game:GetService("Debris"):AddItem(debounce, Delay)
  2004. c = Instance.new("ObjectValue")
  2005. c.Name = "creator"
  2006. c.Value = Player
  2007. c.Parent = h
  2008. game:GetService("Debris"):AddItem(c, 0.5)
  2009. end
  2010. end
  2011. function ShowDamage(Pos, Text, Time, Color)
  2012. local Rate = 0.03333333333333333
  2013. local Pos = Pos or Vector3.new(0, 0, 0)
  2014. local Text = Text or ""
  2015. local Time = Time or 2
  2016. local Color = Color or Color3.new(1, 0, 1)
  2017. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2018. EffectPart.Anchored = true
  2019. local BillboardGui = Create("BillboardGui")({
  2020. Size = UDim2.new(3, 0, 3, 0),
  2021. Adornee = EffectPart,
  2022. Parent = EffectPart
  2023. })
  2024. local TextLabel = Create("TextLabel")({
  2025. BackgroundTransparency = 1,
  2026. Size = UDim2.new(1, 0, 1, 0),
  2027. Text = Text,
  2028. TextColor3 = Color,
  2029. TextScaled = true,
  2030. Font = Enum.Font.ArialBold,
  2031. Parent = BillboardGui
  2032. })
  2033. game.Debris:AddItem(EffectPart, Time + 0.1)
  2034. EffectPart.Parent = game:GetService("Workspace")
  2035. delay(0, function()
  2036. local Frames = Time / Rate
  2037. for Frame = 1, Frames do
  2038. wait(Rate)
  2039. local Percent = Frame / Frames
  2040. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2041. TextLabel.TextTransparency = Percent
  2042. end
  2043. if EffectPart and EffectPart.Parent then
  2044. EffectPart:Destroy()
  2045. end
  2046. end)
  2047. end
  2048. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2049. for _, c in pairs(workspace:children()) do
  2050. local hum = c:findFirstChildOfClass("Humanoid")
  2051. if hum ~= nil then
  2052. local head = c:findFirstChild("Head")
  2053. if head ~= nil then
  2054. local targ = head.Position - Part.Position
  2055. local mag = targ.magnitude
  2056. if magni >= mag and c.Name ~= Player.Name then
  2057. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2058. end
  2059. end
  2060. end
  2061. end
  2062. end
  2063.  
  2064. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  2065. for _, c in pairs(workspace:children()) do
  2066. local hum = c:findFirstChild("Humanoid")
  2067. if hum ~= nil then
  2068. local head = c:findFirstChild("Torso")
  2069. if head ~= nil then
  2070. local targ = head.Position - Part.Position
  2071. local mag = targ.magnitude
  2072. if magni >= mag and c.Name ~= Player.Name then
  2073. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2074. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2075. end
  2076. end
  2077. end
  2078. end
  2079. end
  2080.  
  2081. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2082. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2083. end
  2084.  
  2085. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2086. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2087. prt.Anchored=true
  2088. prt.CFrame=cframe
  2089. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2090. --http://www.roblox.com/asset/?id=4770560
  2091. game:GetService("Debris"):AddItem(prt,2)
  2092. CF=prt.CFrame
  2093. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2094. for i=0,1,0.2 do
  2095. wait()
  2096. Part.CFrame=CF*cf(0,0,-0.4)
  2097. end
  2098. for i=0,1,delay do
  2099. wait()
  2100. --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)
  2101. Mesh.Scale=Mesh.Scale
  2102. end
  2103. for i=0,1,0.1 do
  2104. wait()
  2105. Part.Transparency=i
  2106. end
  2107. Part.Parent=nil
  2108. end),prt,msh,CF)
  2109. end
  2110.  
  2111. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2112. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2113. prt.Anchored=true
  2114. prt.Material = "Neon"
  2115. prt.CFrame=cframe
  2116. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2117. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2118. game:GetService("Debris"):AddItem(prt,5)
  2119. coroutine.resume(coroutine.create(function(Part,Mesh)
  2120. for i=0,1,delay do
  2121. swait()
  2122. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2123. Part.Transparency=i
  2124. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2125. end
  2126. Part.Parent=nil
  2127. end),prt,msh)
  2128. end
  2129.  
  2130. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2131. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2132. prt.Anchored=true
  2133. prt.Material = "Neon"
  2134. prt.CFrame=cframe
  2135. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2136. game:GetService("Debris"):AddItem(prt,5)
  2137. coroutine.resume(coroutine.create(function(Part,Mesh)
  2138. local rtype = rottype
  2139. for i=0,1,delay do
  2140. swait()
  2141. if rtype == 1 then
  2142. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2143. elseif rtype == 2 then
  2144. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2145. end
  2146. Part.Transparency=i
  2147. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2148. end
  2149. Part.Parent=nil
  2150. end),prt,msh)
  2151. end
  2152.  
  2153. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2154. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2155. prt.Anchored=true
  2156. prt.CFrame=cframe
  2157. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2158. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2159. game:GetService("Debris"):AddItem(prt,5)
  2160. coroutine.resume(coroutine.create(function(Part,Mesh)
  2161. for i=0,1,delay do
  2162. wait()
  2163. Part.Transparency=i
  2164. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2165. end
  2166. Part.Parent=nil
  2167. end),prt,msh)
  2168. end
  2169.  
  2170. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2171. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2172. prt.Anchored=true
  2173. prt.Material = "Neon"
  2174. prt.CFrame=cframe
  2175. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2176. game:GetService("Debris"):AddItem(prt,5)
  2177. coroutine.resume(coroutine.create(function(Part,Mesh)
  2178. local rtype = rottype
  2179. for i=0,1,delay do
  2180. swait()
  2181. if rtype == 1 then
  2182. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2183. elseif rtype == 2 then
  2184. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2185. end
  2186. Part.Transparency=i
  2187. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2188. end
  2189. Part.Parent=nil
  2190. end),prt,msh)
  2191. end
  2192.  
  2193. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2194. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2195. prt.Anchored=true
  2196. prt.Material = "Neon"
  2197. prt.CFrame=cframe
  2198. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2199. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2200. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2201. game:GetService("Debris"):AddItem(prt,5)
  2202. coroutine.resume(coroutine.create(function(Part,Mesh)
  2203. local rtype = rottype
  2204. for i=0,1,delay do
  2205. swait()
  2206. if rtype == 1 then
  2207. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2208. elseif rtype == 2 then
  2209. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2210. end
  2211. dec.Transparency=i
  2212. dec2.Transparency=i
  2213. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2214. end
  2215. Part.Parent=nil
  2216. end),prt,msh)
  2217. end
  2218.  
  2219. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2220. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2221. prt.Anchored=true
  2222. prt.Material = "Neon"
  2223. prt.CFrame=cframe
  2224. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2225. game:GetService("Debris"):AddItem(prt,5)
  2226. coroutine.resume(coroutine.create(function(Part,Mesh)
  2227. local rtype = rottype
  2228. for i=0,1,delay do
  2229. swait()
  2230. if rtype == 1 then
  2231. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2232. elseif rtype == 2 then
  2233. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2234. end
  2235. prt.Transparency=i
  2236. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2237. end
  2238. Part.Parent=nil
  2239. end),prt,msh)
  2240. end
  2241.  
  2242. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2243. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2244. prt.Anchored=true
  2245. prt.Material = "Neon"
  2246. prt.CFrame=cframe
  2247. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2248. game:GetService("Debris"):AddItem(prt,5)
  2249. coroutine.resume(coroutine.create(function(Part,Mesh)
  2250. local rtype = rottype
  2251. for i=0,1,delay do
  2252. swait()
  2253. if rtype == 1 then
  2254. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2255. elseif rtype == 2 then
  2256. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2257. end
  2258. prt.Transparency=i
  2259. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2260. end
  2261. Part.Parent=nil
  2262. end),prt,msh)
  2263. end
  2264.  
  2265. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2266. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2267. prt.Anchored=true
  2268. prt.Material = "Neon"
  2269. prt.CFrame=cframe
  2270. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2271. game:GetService("Debris"):AddItem(prt,5)
  2272. coroutine.resume(coroutine.create(function(Part,Mesh)
  2273. local rtype = rottype
  2274. for i=0,1,delay do
  2275. swait()
  2276. if rtype == 1 then
  2277. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2278. elseif rtype == 2 then
  2279. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2280. end
  2281. prt.Transparency=i
  2282. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2283. end
  2284. Part.Parent=nil
  2285. end),prt,msh)
  2286. end
  2287.  
  2288. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2289. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2290. prt.Anchored=true
  2291. prt.Material = "Neon"
  2292. prt.CFrame=cframe
  2293. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2294. game:GetService("Debris"):AddItem(prt,5)
  2295. coroutine.resume(coroutine.create(function(Part,Mesh)
  2296. local rtype = rottype
  2297. for i=0,1,delay do
  2298. swait()
  2299. if rtype == 1 then
  2300. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2301. elseif rtype == 2 then
  2302. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2303. end
  2304. prt.Transparency=i
  2305. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2306. end
  2307. Part.Parent=nil
  2308. end),prt,msh)
  2309. end
  2310.  
  2311. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2312. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2313. prt.Anchored=false
  2314. prt.CFrame=cframe
  2315. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2316. local wld=weld(prt,prt,Parent,cframe)
  2317. game:GetService("Debris"):AddItem(prt,5)
  2318. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2319. for i=0,1,delay do
  2320. wait()
  2321. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2322. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2323. Part.Transparency=i
  2324. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2325. end
  2326. Part.Parent=nil
  2327. end),prt,msh,wld)
  2328. end
  2329.  
  2330. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2331. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2332. prt.Anchored=false
  2333. prt.CFrame=cframe
  2334. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2335. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2336. game:GetService("Debris"):AddItem(prt,5)
  2337. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2338. for i=0,1,delay do
  2339. wait()
  2340. Weld.C0=euler(i*20,0,0)
  2341. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2342. Part.Transparency=i
  2343. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2344. end
  2345. Part.Parent=nil
  2346. end),prt,msh,wld)
  2347. end
  2348.  
  2349. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2350. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2351. prt.Anchored=true
  2352. prt.CFrame=cframe
  2353. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2354. game:GetService("Debris"):AddItem(prt,2)
  2355. coroutine.resume(coroutine.create(function(Part,Mesh)
  2356. for i=0,1,delay do
  2357. wait()
  2358. Part.CFrame=Part.CFrame
  2359. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2360. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2361. prt2.Anchored=true
  2362. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2363. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2364. game:GetService("Debris"):AddItem(prt2,2)
  2365. coroutine.resume(coroutine.create(function(Part,Mesh)
  2366. for i=0,1,0.1 do
  2367. wait()
  2368. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2369. end
  2370. Part.Parent=nil
  2371. end),prt2,msh2)
  2372. end
  2373. for i=0,1,delay*2 do
  2374. wait()
  2375. Part.CFrame=Part.CFrame
  2376. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2377. end
  2378. Part.Parent=nil
  2379. end),prt,msh)
  2380. end
  2381.  
  2382. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2383. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2384. prt.Anchored=true
  2385. prt.CFrame=cframe
  2386. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2387. game:GetService("Debris"):AddItem(prt,2)
  2388. coroutine.resume(coroutine.create(function(Part,Mesh)
  2389. for i=0,1,delay do
  2390. wait()
  2391. Part.CFrame=Part.CFrame
  2392. Part.Transparency=i
  2393. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2394. end
  2395. Part.Parent=nil
  2396. end),prt,msh)
  2397. end
  2398.  
  2399. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2400. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2401. prt.Anchored=true
  2402. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2403. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2404. game:GetService("Debris"):AddItem(prt,2)
  2405. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2406. CF=Part.CFrame
  2407. Numbb=0
  2408. randnumb=math.random()/10
  2409. rand1=math.random()/10
  2410. for i=0,1,rand1 do
  2411. wait()
  2412. CF=CF*cf(0,math.random()/2,0)
  2413. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2414. Part.CFrame=CF*euler(Numbb,0,0)
  2415. Part.Transparency=i
  2416. Numbb=Numbb+randnumb
  2417. end
  2418. Part.Parent=nil
  2419. end),prt,CF,Numbb,randnumb)
  2420. end
  2421.  
  2422. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2423. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2424. prt.Anchored=true
  2425. prt.CFrame=cframe
  2426. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2427. game:GetService("Debris"):AddItem(prt,5)
  2428. coroutine.resume(coroutine.create(function(Part,Mesh)
  2429. for i=0,1,delay do
  2430. wait()
  2431. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2432. Part.Transparency=i
  2433. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2434. end
  2435. Part.Parent=nil
  2436. end),prt,msh)
  2437. end
  2438.  
  2439. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2440. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2441. prt.Anchored=true
  2442. prt.CFrame=cframe
  2443. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2444. game:GetService("Debris"):AddItem(prt,2)
  2445. coroutine.resume(coroutine.create(function(Part,Mesh)
  2446. for i=0,1,delay do
  2447. wait()
  2448. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2449. Part.Transparency=i
  2450. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2451. end
  2452. Part.Parent=nil
  2453. end),prt,msh)
  2454. end
  2455.  
  2456. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2457. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2458. prt.Anchored=true
  2459. prt.CFrame=cframe*cf(x,y,z)
  2460. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2461. game:GetService("Debris"):AddItem(prt,5)
  2462. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2463. local num=math.random()
  2464. local num2=math.random(-3,2)+math.random()
  2465. local numm=0
  2466. for i=0,1,delay*2 do
  2467. swait()
  2468. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2469. Part.Transparency=i
  2470. numm=numm+0.01
  2471. end
  2472. Part.Parent=nil
  2473. Mesh.Parent=nil
  2474. end),prt,msh,x,y,z)
  2475. end
  2476.  
  2477. function dmgstart(dmg,what)
  2478. hitcon = what.Touched:connect(function(hit)
  2479. local hum = hit.Parent:FindFirstChild("Humanoid")
  2480. if hum and not hum:IsDescendantOf(Character) then
  2481. hum:TakeDamage(dmg)
  2482. end
  2483. end)
  2484. end
  2485.  
  2486. function dmgstop()
  2487. hitcon:disconnect()
  2488. end
  2489.  
  2490. function Cloak()
  2491. Face.Parent=nil
  2492. cloaked=true
  2493. for _,v in pairs(Torso.Parent:children()) do
  2494. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2495. coroutine.resume(coroutine.create(function()
  2496. for i=0,1,0.2 do
  2497. wait()
  2498. v.Transparency=i
  2499. end
  2500. v.Transparency=1
  2501. end))
  2502. end
  2503. if v.className=="Hat" then
  2504. hatp=v.Handle
  2505. coroutine.resume(coroutine.create(function(derp)
  2506. for i=0,1,0.2 do
  2507. wait()
  2508. derp.Transparency=i
  2509. end
  2510. derp.Transparency=1
  2511. end),hatp)
  2512. end
  2513. end
  2514. for _,v in pairs(m:children()) do
  2515. if v.className=="Part" then
  2516. coroutine.resume(coroutine.create(function()
  2517. for i=0,1,0.2 do
  2518. wait()
  2519. v.Transparency=i
  2520. end
  2521. v.Transparency=1
  2522. end))
  2523. end
  2524. end
  2525. end
  2526.  
  2527. function UnCloak()
  2528. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2529. Face.Parent=Head
  2530. cloaked=false
  2531. for _,v in pairs(Torso.Parent:children()) do
  2532. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2533. coroutine.resume(coroutine.create(function()
  2534. for i=0,1,0.1 do
  2535. wait()
  2536. v.Transparency=v.Transparency-0.1
  2537. end
  2538. v.Transparency=0
  2539. end))
  2540. end
  2541. if v.className=="Hat" then
  2542. hatp=v.Handle
  2543. coroutine.resume(coroutine.create(function(derp)
  2544. for i=0,1,0.1 do
  2545. wait()
  2546. derp.Transparency=derp.Transparency-0.1
  2547. end
  2548. derp.Transparency=0
  2549. end),hatp)
  2550. end
  2551. end
  2552. for _,v in pairs(m:children()) do
  2553. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2554. coroutine.resume(coroutine.create(function()
  2555. for i=0,1,0.1 do
  2556. wait()
  2557. v.Transparency=v.Transparency-0.1
  2558. end
  2559. v.Transparency=0
  2560. end))
  2561. v.Transparency=0
  2562. end
  2563. end
  2564. end
  2565.  
  2566. local origcolor = BrickColor.new("Pastel light blue")
  2567. ---- This section of explosions.
  2568.  
  2569. ----
  2570.  
  2571.  
  2572. function ring(type,pos,scale,value)
  2573. local type = type
  2574. local rng = Instance.new("Part", char)
  2575. rng.Anchored = true
  2576. rng.BrickColor = origcolor
  2577. rng.CanCollide = false
  2578. rng.FormFactor = 3
  2579. rng.Name = "Ring"
  2580. rng.Size = Vector3.new(1, 1, 1)
  2581. rng.Transparency = 0
  2582. rng.TopSurface = 0
  2583. rng.BottomSurface = 0
  2584. rng.CFrame = pos
  2585. local rngm = Instance.new("SpecialMesh", rng)
  2586. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2587. rngm.Scale = scale
  2588. local scaler2 = 1
  2589. if type == "Add" then
  2590. scaler2 = 1*value
  2591. elseif type == "Divide" then
  2592. scaler2 = 1/value
  2593. end
  2594. coroutine.resume(coroutine.create(function()
  2595. for i = 0,10,0.1 do
  2596. swait()
  2597. if type == "Add" then
  2598. scaler2 = scaler2 - 0.01*value
  2599. elseif type == "Divide" then
  2600. scaler2 = scaler2 - 0.01/value
  2601. end
  2602. rng.Transparency = rng.Transparency + 0.01
  2603. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2604. end
  2605. rng:Destroy()
  2606. end))
  2607. end
  2608.  
  2609.  
  2610. function wave(type,pos,scale,value)
  2611. local type = type
  2612. local rng = Instance.new("Part", char)
  2613. rng.Anchored = true
  2614. rng.BrickColor = origcolor
  2615. rng.CanCollide = false
  2616. rng.FormFactor = 3
  2617. rng.Name = "Ring"
  2618. rng.Size = Vector3.new(1, 1, 1)
  2619. rng.Transparency = 0
  2620. rng.TopSurface = 0
  2621. rng.BottomSurface = 0
  2622. rng.CFrame = pos
  2623. local rngm = Instance.new("SpecialMesh", rng)
  2624. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2625. rngm.Scale = scale
  2626. local scaler2 = 1
  2627. if type == "Add" then
  2628. scaler2 = 1*value
  2629. elseif type == "Divide" then
  2630. scaler2 = 1/value
  2631. end
  2632. coroutine.resume(coroutine.create(function()
  2633. for i = 0,10,0.1 do
  2634. swait()
  2635. if type == "Add" then
  2636. scaler2 = scaler2 - 0.01*value
  2637. elseif type == "Divide" then
  2638. scaler2 = scaler2 - 0.01/value
  2639. end
  2640. rng.Transparency = rng.Transparency + 0.01
  2641. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2642. end
  2643. rng:Destroy()
  2644. end))
  2645. end
  2646.  
  2647. function wind(type,pos,scale,value,speed)
  2648. local type = type
  2649. local rng = Instance.new("Part", char)
  2650. rng.Anchored = true
  2651. rng.BrickColor = origcolor
  2652. rng.CanCollide = false
  2653. rng.FormFactor = 3
  2654. rng.Name = "Ring"
  2655. rng.Size = Vector3.new(1, 1, 1)
  2656. rng.Transparency = 0
  2657. rng.TopSurface = 0
  2658. rng.BottomSurface = 0
  2659. rng.CFrame = pos
  2660. local rngm = Instance.new("SpecialMesh", rng)
  2661. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2662. rngm.Scale = scale
  2663. local scaler2 = 1
  2664. if type == "Add" then
  2665. scaler2 = 1*value
  2666. elseif type == "Divide" then
  2667. scaler2 = 1/value
  2668. end
  2669. coroutine.resume(coroutine.create(function()
  2670. for i = 0,10,0.1 do
  2671. swait()
  2672. if type == "Add" then
  2673. scaler2 = scaler2 - 0.01*value
  2674. elseif type == "Divide" then
  2675. scaler2 = scaler2 - 0.01/value
  2676. end
  2677. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2678. rng.Transparency = rng.Transparency + 0.01
  2679. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2680. end
  2681. rng:Destroy()
  2682. end))
  2683. end
  2684.  
  2685. function groundwind(type,pos,scale,value,speed)
  2686. local type = type
  2687. local rng = Instance.new("Part", char)
  2688. rng.Anchored = true
  2689. rng.BrickColor = origcolor
  2690. rng.CanCollide = false
  2691. rng.FormFactor = 3
  2692. rng.Name = "Ring"
  2693. rng.Size = Vector3.new(1, 1, 1)
  2694. rng.Transparency = 0
  2695. rng.TopSurface = 0
  2696. rng.BottomSurface = 0
  2697. rng.CFrame = pos
  2698. local rngm = Instance.new("SpecialMesh", rng)
  2699. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2700. rngm.Scale = scale
  2701. local scaler2 = 1
  2702. if type == "Add" then
  2703. scaler2 = 1*value
  2704. elseif type == "Divide" then
  2705. scaler2 = 1/value
  2706. end
  2707. coroutine.resume(coroutine.create(function()
  2708. for i = 0,10,0.1 do
  2709. swait()
  2710. if type == "Add" then
  2711. scaler2 = scaler2 - 0.01*value
  2712. elseif type == "Divide" then
  2713. scaler2 = scaler2 - 0.01/value
  2714. end
  2715. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2716. rng.Transparency = rng.Transparency + 0.01
  2717. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2718. end
  2719. rng:Destroy()
  2720. end))
  2721. end
  2722.  
  2723. function CameraManager()
  2724. if TwoD and not CamInterrupt then
  2725. if Humanoid.Health > 0 then
  2726. Camera.CameraSubject = Humanoid
  2727. Camera.CameraType = "Scriptable"
  2728. Humanoid.AutoRotate = false
  2729. if Booleans.GyroUse then
  2730. Directer.MaxTorque = Vec3(0, huge, 0)
  2731. else
  2732. Directer.MaxTorque = Vec3(0, 0, 0)
  2733. end
  2734. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2735. if Booleans.CamFollow then
  2736. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2737. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2738. else
  2739. CPart.Position = RootPart.Position
  2740. end
  2741. else
  2742. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2743. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2744. end
  2745. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2746. else
  2747. Camera.CameraSubject = Humanoid
  2748. Camera.CameraType = "Custom"
  2749. Controller.Disabled = false
  2750. end
  2751. end
  2752. end
  2753.  
  2754. function ring(type,pos,scale,value)
  2755. local type = type
  2756. local rng = Instance.new("Part", char)
  2757. rng.Anchored = true
  2758. rng.BrickColor = origcolor
  2759. rng.CanCollide = false
  2760. rng.FormFactor = 3
  2761. rng.Name = "Ring"
  2762. rng.Size = Vector3.new(1, 1, 1)
  2763. rng.Transparency = 0
  2764. rng.TopSurface = 0
  2765. rng.BottomSurface = 0
  2766. rng.CFrame = pos
  2767. local rngm = Instance.new("SpecialMesh", rng)
  2768. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2769. rngm.Scale = scale
  2770. local scaler2 = 1
  2771. if type == "Add" then
  2772. scaler2 = 1*value
  2773. elseif type == "Divide" then
  2774. scaler2 = 1/value
  2775. end
  2776. coroutine.resume(coroutine.create(function()
  2777. for i = 0,10,0.1 do
  2778. swait()
  2779. if type == "Add" then
  2780. scaler2 = scaler2 - 0.01*value
  2781. elseif type == "Divide" then
  2782. scaler2 = scaler2 - 0.01/value
  2783. end
  2784. rng.Transparency = rng.Transparency + 0.01
  2785. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2786. end
  2787. rng:Destroy()
  2788. end))
  2789. end
  2790.  
  2791.  
  2792. function wave(type,pos,scale,value)
  2793. local type = type
  2794. local rng = Instance.new("Part", char)
  2795. rng.Anchored = true
  2796. rng.BrickColor = origcolor
  2797. rng.CanCollide = false
  2798. rng.FormFactor = 3
  2799. rng.Name = "Ring"
  2800. rng.Size = Vector3.new(1, 1, 1)
  2801. rng.Transparency = 0
  2802. rng.TopSurface = 0
  2803. rng.BottomSurface = 0
  2804. rng.CFrame = pos
  2805. local rngm = Instance.new("SpecialMesh", rng)
  2806. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2807. rngm.Scale = scale
  2808. local scaler2 = 1
  2809. if type == "Add" then
  2810. scaler2 = 1*value
  2811. elseif type == "Divide" then
  2812. scaler2 = 1/value
  2813. end
  2814. coroutine.resume(coroutine.create(function()
  2815. for i = 0,10,0.1 do
  2816. swait()
  2817. if type == "Add" then
  2818. scaler2 = scaler2 - 0.01*value
  2819. elseif type == "Divide" then
  2820. scaler2 = scaler2 - 0.01/value
  2821. end
  2822. rng.Transparency = rng.Transparency + 0.01
  2823. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2824. end
  2825. rng:Destroy()
  2826. end))
  2827. end
  2828.  
  2829. function sphere(bonuspeed,type,pos,scale,value,color)
  2830. local type = type
  2831. local rng = Instance.new("Part", char)
  2832. rng.Anchored = true
  2833. if ModeOfGlitch ~= 9 then
  2834. rng.BrickColor = color
  2835. elseif ModeOfGlitch == 9 then
  2836. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2837. end
  2838. rng.CanCollide = false
  2839. rng.FormFactor = 3
  2840. rng.Name = "Ring"
  2841. rng.Material = "Neon"
  2842. rng.Size = Vector3.new(1, 1, 1)
  2843. rng.Transparency = 0
  2844. rng.TopSurface = 0
  2845. rng.BottomSurface = 0
  2846. rng.CFrame = pos
  2847. local rngm = Instance.new("SpecialMesh", rng)
  2848. rngm.MeshType = "Sphere"
  2849. rngm.Scale = scale
  2850. if rainbowmode == true then
  2851. rng.Color = Color3.new(r/255,g/255,b/255)
  2852. end
  2853. if ModeOfGlitch == 9 then
  2854. coroutine.resume(coroutine.create(function()
  2855. while true do
  2856. swait()
  2857. if rng.Parent ~= nil then
  2858. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2859. else
  2860. break
  2861. end
  2862. end
  2863. end))
  2864. end
  2865. local scaler2 = 1
  2866. if type == "Add" then
  2867. scaler2 = 1*value
  2868. elseif type == "Divide" then
  2869. scaler2 = 1/value
  2870. end
  2871. coroutine.resume(coroutine.create(function()
  2872. for i = 0,10/bonuspeed,0.1 do
  2873. swait()
  2874. if rainbowmode == true then
  2875. rng.Color = Color3.new(r/255,g/255,b/255)
  2876. end
  2877. if type == "Add" then
  2878. scaler2 = scaler2 - 0.01*value/bonuspeed
  2879. elseif type == "Divide" then
  2880. scaler2 = scaler2 - 0.01/value*bonuspeed
  2881. end
  2882. if chaosmode == true then
  2883. rng.BrickColor = BrickColor.random()
  2884. end
  2885. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2886. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2887. end
  2888. rng:Destroy()
  2889. end))
  2890. end
  2891.  
  2892. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  2893. local type = type
  2894. local rng = Instance.new("Part", char)
  2895. rng.Anchored = true
  2896. if ModeOfGlitch ~= 9 then
  2897. rng.BrickColor = color
  2898. elseif ModeOfGlitch == 9 then
  2899. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2900. end
  2901. rng.CanCollide = false
  2902. rng.FormFactor = 3
  2903. rng.Name = "Ring"
  2904. rng.Material = "Neon"
  2905. rng.Size = Vector3.new(1, 1, 1)
  2906. rng.Transparency = 0
  2907. rng.TopSurface = 0
  2908. rng.BottomSurface = 0
  2909. rng.CFrame = pos
  2910. local rngm = Instance.new("SpecialMesh", rng)
  2911. rngm.MeshType = "Sphere"
  2912. rngm.Scale = scale
  2913. local scaler2 = 1
  2914. local scaler2b = 1
  2915. local scaler2c = 1
  2916. if type == "Add" then
  2917. scaler2 = 1*value
  2918. scaler2b = 1*value2
  2919. scaler2c = 1*value3
  2920. elseif type == "Divide" then
  2921. scaler2 = 1/value
  2922. scaler2b = 1/value2
  2923. scaler2c = 1/value3
  2924. end
  2925. if ModeOfGlitch == 9 then
  2926. coroutine.resume(coroutine.create(function()
  2927. while true do
  2928. swait()
  2929. if rng.Parent ~= nil then
  2930. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2931. else
  2932. break
  2933. end
  2934. end
  2935. end))
  2936. end
  2937. coroutine.resume(coroutine.create(function()
  2938. for i = 0,10/bonuspeed,0.1 do
  2939. swait()
  2940. if type == "Add" then
  2941. scaler2 = scaler2 - 0.01*value/bonuspeed
  2942. scaler2b = scaler2b - 0.01*value/bonuspeed
  2943. scaler2c = scaler2c - 0.01*value/bonuspeed
  2944. elseif type == "Divide" then
  2945. scaler2 = scaler2 - 0.01/value*bonuspeed
  2946. scaler2b = scaler2b - 0.01/value*bonuspeed
  2947. scaler2c = scaler2c - 0.01/value*bonuspeed
  2948. end
  2949. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2950. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2951. end
  2952. rng:Destroy()
  2953. end))
  2954. end
  2955.  
  2956. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  2957. local type = type
  2958. local rotenable = rotatingop
  2959. local rng = Instance.new("Part", char)
  2960. rng.Anchored = true
  2961. rng.BrickColor = color
  2962. rng.CanCollide = false
  2963. rng.FormFactor = 3
  2964. rng.Name = "Ring"
  2965. rng.Material = "Neon"
  2966. rng.Size = Vector3.new(1, 1, 1)
  2967. rng.Transparency = 0
  2968. if typeoftrans == "In" then
  2969. rng.Transparency = 1
  2970. end
  2971. rng.TopSurface = 0
  2972. rng.BottomSurface = 0
  2973. rng.CFrame = pos
  2974. local rngm = Instance.new("SpecialMesh", rng)
  2975. rngm.MeshType = "FileMesh"
  2976. if typeofshape == "Normal" then
  2977. rngm.MeshId = "rbxassetid://662586858"
  2978. elseif typeofshape == "Round" then
  2979. rngm.MeshId = "rbxassetid://662585058"
  2980. end
  2981. rngm.Scale = scale
  2982. local scaler2 = 1/10
  2983. if type == "Add" then
  2984. scaler2 = 1*value/10
  2985. elseif type == "Divide" then
  2986. scaler2 = 1/value/10
  2987. end
  2988. local randomrot = math.random(1,2)
  2989. coroutine.resume(coroutine.create(function()
  2990. for i = 0,10/bonuspeed,0.1 do
  2991. swait()
  2992. if type == "Add" then
  2993. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  2994. elseif type == "Divide" then
  2995. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  2996. end
  2997. if rotenable == true then
  2998. if randomrot == 1 then
  2999. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  3000. elseif randomrot == 2 then
  3001. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  3002. end
  3003. end
  3004. if typeoftrans == "Out" then
  3005. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3006. elseif typeoftrans == "In" then
  3007. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3008. end
  3009. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  3010. end
  3011. rng:Destroy()
  3012. end))
  3013. end
  3014.  
  3015. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3016. local type = type
  3017. local rng = Instance.new("Part", char)
  3018. rng.Anchored = true
  3019. rng.BrickColor = color
  3020. rng.CanCollide = false
  3021. rng.FormFactor = 3
  3022. rng.Name = "Ring"
  3023. rng.Material = "Neon"
  3024. rng.Size = Vector3.new(1, 1, 1)
  3025. rng.Transparency = 0
  3026. rng.TopSurface = 0
  3027. rng.BottomSurface = 0
  3028. rng.CFrame = pos
  3029. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3030. local rngm = Instance.new("SpecialMesh", rng)
  3031. rngm.MeshType = "Brick"
  3032. rngm.Scale = vt(x1,y1,z1)
  3033. if rainbowmode == true then
  3034. rng.Color = Color3.new(r/255,g/255,b/255)
  3035. end
  3036. local scaler2 = 1
  3037. local speeder = FastSpeed/10
  3038. if type == "Add" then
  3039. scaler2 = 1*value
  3040. elseif type == "Divide" then
  3041. scaler2 = 1/value
  3042. end
  3043. coroutine.resume(coroutine.create(function()
  3044. for i = 0,10/bonuspeed,0.1 do
  3045. swait()
  3046. if rainbowmode == true then
  3047. rng.Color = Color3.new(r/255,g/255,b/255)
  3048. end
  3049. if type == "Add" then
  3050. scaler2 = scaler2 - 0.01*value/bonuspeed
  3051. elseif type == "Divide" then
  3052. scaler2 = scaler2 - 0.01/value*bonuspeed
  3053. end
  3054. if chaosmode == true then
  3055. rng.BrickColor = BrickColor.random()
  3056. end
  3057. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3058. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3059. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3060. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3061. end
  3062. rng:Destroy()
  3063. end))
  3064. end
  3065.  
  3066. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3067. local type = type
  3068. local rng = Instance.new("Part", char)
  3069. rng.Anchored = true
  3070. rng.BrickColor = color
  3071. rng.CanCollide = false
  3072. rng.FormFactor = 3
  3073. rng.Name = "Ring"
  3074. rng.Material = "Neon"
  3075. rng.Size = Vector3.new(1, 1, 1)
  3076. rng.Transparency = 0
  3077. rng.TopSurface = 0
  3078. rng.BottomSurface = 0
  3079. rng.CFrame = pos
  3080. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3081. local rngm = Instance.new("SpecialMesh", rng)
  3082. rngm.MeshType = "Brick"
  3083. rngm.Scale = vt(x1,y1,z1)
  3084. if rainbowmode == true then
  3085. rng.Color = Color3.new(r/255,g/255,b/255)
  3086. end
  3087. local scaler2 = 1
  3088. local speeder = FastSpeed/10
  3089. if type == "Add" then
  3090. scaler2 = 1*value
  3091. elseif type == "Divide" then
  3092. scaler2 = 1/value
  3093. end
  3094. coroutine.resume(coroutine.create(function()
  3095. for i = 0,10/bonuspeed,0.1 do
  3096. swait()
  3097. if rainbowmode == true then
  3098. rng.Color = Color3.new(r/255,g/255,b/255)
  3099. end
  3100. if type == "Add" then
  3101. scaler2 = scaler2 - 0.01*value/bonuspeed
  3102. elseif type == "Divide" then
  3103. scaler2 = scaler2 - 0.01/value*bonuspeed
  3104. end
  3105. if chaosmode == true then
  3106. rng.BrickColor = BrickColor.random()
  3107. end
  3108. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3109. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3110. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3111. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3112. end
  3113. rng:Destroy()
  3114. end))
  3115. end
  3116.  
  3117. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3118. local type = type
  3119. local rng = Instance.new("Part", char)
  3120. rng.Anchored = true
  3121. rng.BrickColor = color
  3122. rng.CanCollide = false
  3123. rng.FormFactor = 3
  3124. rng.Name = "Ring"
  3125. rng.Material = "Neon"
  3126. rng.Size = Vector3.new(1, 1, 1)
  3127. rng.Transparency = 0
  3128. rng.TopSurface = 0
  3129. rng.BottomSurface = 0
  3130. rng.CFrame = pos
  3131. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3132. local rngm = Instance.new("SpecialMesh", rng)
  3133. rngm.MeshType = "Brick"
  3134. rngm.Scale = vt(x1,y1,z1)
  3135. if rainbowmode == true then
  3136. rng.Color = Color3.new(r/255,g/255,b/255)
  3137. end
  3138. local scaler2 = 0
  3139. local speeder = FastSpeed/10
  3140. if type == "Add" then
  3141. scaler2 = 1*value
  3142. elseif type == "Divide" then
  3143. scaler2 = 1/value
  3144. end
  3145. coroutine.resume(coroutine.create(function()
  3146. for i = 0,10/bonuspeed,0.1 do
  3147. swait()
  3148. if rainbowmode == true then
  3149. rng.Color = Color3.new(r/255,g/255,b/255)
  3150. end
  3151. if type == "Add" then
  3152. scaler2 = scaler2 - 0.01*value/bonuspeed
  3153. elseif type == "Divide" then
  3154. scaler2 = scaler2 - 0.01/value*bonuspeed
  3155. end
  3156. if chaosmode == true then
  3157. rng.BrickColor = BrickColor.random()
  3158. end
  3159. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3160. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3161. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3162. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3163. end
  3164. rng:Destroy()
  3165. end))
  3166. end
  3167.  
  3168. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3169. local type = type
  3170. local rng = Instance.new("Part", char)
  3171. rng.Anchored = true
  3172. rng.BrickColor = color
  3173. rng.Color = color3
  3174. rng.CanCollide = false
  3175. rng.FormFactor = 3
  3176. rng.Name = "Ring"
  3177. rng.Material = "Neon"
  3178. rng.Size = Vector3.new(1, 1, 1)
  3179. rng.Transparency = 0
  3180. rng.TopSurface = 0
  3181. rng.BottomSurface = 0
  3182. rng.CFrame = pos
  3183. local rngm = Instance.new("SpecialMesh", rng)
  3184. rngm.MeshType = "Brick"
  3185. rngm.Scale = scale
  3186. local scaler2 = 1
  3187. local scaler2b = 1
  3188. local scaler2c = 1
  3189. if type == "Add" then
  3190. scaler2 = 1*value
  3191. scaler2b = 1*value2
  3192. scaler2c = 1*value3
  3193. elseif type == "Divide" then
  3194. scaler2 = 1/value
  3195. scaler2b = 1/value2
  3196. scaler2c = 1/value3
  3197. end
  3198. coroutine.resume(coroutine.create(function()
  3199. for i = 0,10/bonuspeed,0.1 do
  3200. swait()
  3201. if type == "Add" then
  3202. scaler2 = scaler2 - 0.01*value/bonuspeed
  3203. scaler2b = scaler2b - 0.01*value/bonuspeed
  3204. scaler2c = scaler2c - 0.01*value/bonuspeed
  3205. elseif type == "Divide" then
  3206. scaler2 = scaler2 - 0.01/value*bonuspeed
  3207. scaler2b = scaler2b - 0.01/value*bonuspeed
  3208. scaler2c = scaler2c - 0.01/value*bonuspeed
  3209. end
  3210. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3211. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3212. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3213. end
  3214. rng:Destroy()
  3215. end))
  3216. end
  3217.  
  3218. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3219. local type = type
  3220. local rng = Instance.new("Part", char)
  3221. rng.Anchored = true
  3222. if ModeOfGlitch ~= 9 then
  3223. rng.BrickColor = color
  3224. elseif ModeOfGlitch == 9 then
  3225. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3226. end
  3227. rng.CanCollide = false
  3228. rng.FormFactor = 3
  3229. rng.Name = "Ring"
  3230. rng.Material = "Neon"
  3231. rng.Size = Vector3.new(1, 1, 1)
  3232. rng.Transparency = 0
  3233. rng.TopSurface = 0
  3234. rng.BottomSurface = 0
  3235. rng.CFrame = pos
  3236. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3237. local rngm = Instance.new("SpecialMesh", rng)
  3238. rngm.MeshType = "Sphere"
  3239. rngm.Scale = vt(x1,y1,z1)
  3240. if rainbowmode == true then
  3241. rng.Color = Color3.new(r/255,g/255,b/255)
  3242. end
  3243. if ModeOfGlitch == 9 then
  3244. coroutine.resume(coroutine.create(function()
  3245. while true do
  3246. swait()
  3247. if rng.Parent ~= nil then
  3248. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3249. else
  3250. break
  3251. end
  3252. end
  3253. end))
  3254. end
  3255. local scaler2 = 1
  3256. local speeder = FastSpeed
  3257. if type == "Add" then
  3258. scaler2 = 1*value
  3259. elseif type == "Divide" then
  3260. scaler2 = 1/value
  3261. end
  3262. coroutine.resume(coroutine.create(function()
  3263. for i = 0,10/bonuspeed,0.1 do
  3264. swait()
  3265. if rainbowmode == true then
  3266. rng.Color = Color3.new(r/255,g/255,b/255)
  3267. end
  3268. if type == "Add" then
  3269. scaler2 = scaler2 - 0.01*value/bonuspeed
  3270. elseif type == "Divide" then
  3271. scaler2 = scaler2 - 0.01/value*bonuspeed
  3272. end
  3273. if chaosmode == true then
  3274. rng.BrickColor = BrickColor.random()
  3275. end
  3276. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3277. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3278. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3279. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3280. end
  3281. rng:Destroy()
  3282. end))
  3283. end
  3284.  
  3285.  
  3286. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3287. local type = type
  3288. local rng = Instance.new("Part", char)
  3289. rng.Anchored = true
  3290. if ModeOfGlitch ~= 9 then
  3291. rng.BrickColor = color
  3292. elseif ModeOfGlitch == 9 then
  3293. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3294. end
  3295. rng.CanCollide = false
  3296. rng.FormFactor = 3
  3297. rng.Name = "Ring"
  3298. rng.Material = "Neon"
  3299. rng.Size = Vector3.new(1, 1, 1)
  3300. rng.Transparency = 1
  3301. rng.TopSurface = 0
  3302. rng.BottomSurface = 0
  3303. rng.CFrame = pos
  3304. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3305. local rngm = Instance.new("SpecialMesh", rng)
  3306. rngm.MeshType = "Sphere"
  3307. rngm.Scale = vt(x1,y1,z1)
  3308. if rainbowmode == true then
  3309. rng.Color = Color3.new(r/255,g/255,b/255)
  3310. end
  3311. if ModeOfGlitch == 9 then
  3312. coroutine.resume(coroutine.create(function()
  3313. while true do
  3314. swait()
  3315. if rng.Parent ~= nil then
  3316. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3317. else
  3318. break
  3319. end
  3320. end
  3321. end))
  3322. end
  3323. local scaler2 = 1
  3324. local speeder = FastSpeed
  3325. if type == "Add" then
  3326. scaler2 = 1*value
  3327. elseif type == "Divide" then
  3328. scaler2 = 1/value
  3329. end
  3330. coroutine.resume(coroutine.create(function()
  3331. for i = 0,10/bonuspeed,0.1 do
  3332. swait()
  3333. if rainbowmode == true then
  3334. rng.Color = Color3.new(r/255,g/255,b/255)
  3335. end
  3336. if type == "Add" then
  3337. scaler2 = scaler2 - 0.01*value/bonuspeed
  3338. elseif type == "Divide" then
  3339. scaler2 = scaler2 - 0.01/value*bonuspeed
  3340. end
  3341. if chaosmode == true then
  3342. rng.BrickColor = BrickColor.random()
  3343. end
  3344. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3345. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3346. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3347. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3348. end
  3349. rng:Destroy()
  3350. end))
  3351. end
  3352.  
  3353. function dmg(dude)
  3354. if dude.Name ~= Character then
  3355. local keptcolor = MAINRUINCOLOR
  3356. local bgf = Instance.new("BodyGyro",dude.Head)
  3357. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3358. --[[local val = Instance.new("BoolValue",dude)
  3359. val.Name = "IsHit"]]--
  3360. local ds = coroutine.wrap(function()
  3361. dude:WaitForChild("Head"):BreakJoints()
  3362. for i, v in pairs(dude:GetChildren()) do
  3363. if v:IsA("Part") or v:IsA("MeshPart") then
  3364. v.Name = "DEMINISHED"
  3365. end
  3366. end
  3367. wait(0.5)
  3368. targetted = nil
  3369. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  3370. coroutine.resume(coroutine.create(function()
  3371. for i, v in pairs(dude:GetChildren()) do
  3372. if v:IsA("Accessory") then
  3373. v:Destroy()
  3374. end
  3375. if v:IsA("Humanoid") then
  3376. v:Destroy()
  3377. end
  3378. if v:IsA("CharacterMesh") then
  3379. v:Destroy()
  3380. end
  3381. if v:IsA("Model") then
  3382. v:Destroy()
  3383. end
  3384. if v:IsA("Part") or v:IsA("MeshPart") then
  3385. for x, o in pairs(v:GetChildren()) do
  3386. if o:IsA("Decal") then
  3387. o:Destroy()
  3388. end
  3389. end
  3390. coroutine.resume(coroutine.create(function()
  3391. v.Material = "Neon"
  3392. v.CanCollide = false
  3393. v.Anchored = false
  3394. local bld = Instance.new("ParticleEmitter",v)
  3395. bld.LightEmission = 0.75
  3396. bld.Texture = "rbxassetid://363275192" ---284205403
  3397. bld.Color = ColorSequence.new(keptcolor.Color)
  3398. bld.Rate = 500
  3399. bld.Lifetime = NumberRange.new(1)
  3400. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3401. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3402. bld.Speed = NumberRange.new(2,5)
  3403. bld.VelocitySpread = 50000
  3404. bld.Rotation = NumberRange.new(-500,500)
  3405. bld.RotSpeed = NumberRange.new(-500,500)
  3406. local sbs = Instance.new("BodyPosition", v)
  3407. sbs.P = 3000
  3408. sbs.D = 1000
  3409. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3410. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3411. v.Color = keptcolor.Color
  3412. coroutine.resume(coroutine.create(function()
  3413. for i = 0, 49 do
  3414. swait(1)
  3415. v:BreakJoints()
  3416. v.Transparency = v.Transparency + 0.02
  3417. end
  3418. v:BreakJoints()
  3419. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3420. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3421. bld.Speed = NumberRange.new(10,25)
  3422. bld.Drag = 5
  3423. bld.Acceleration = vt(0,2,0)
  3424. wait(0.5)
  3425. bld.Enabled = false
  3426. wait(8)
  3427. v:Destroy()
  3428. dude:Destroy()
  3429. end))
  3430. end))
  3431. end
  3432. end
  3433. end))
  3434. end)
  3435. ds()
  3436. end
  3437. end
  3438.  
  3439.  
  3440. function FindNearestHead(Position, Distance, SinglePlayer)
  3441. if SinglePlayer then
  3442. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3443. end
  3444. local List = {}
  3445. for i, v in pairs(workspace:GetChildren()) do
  3446. if v:IsA("Model") then
  3447. if v:findFirstChild("Head") then
  3448. if v ~= Character then
  3449. if (v.Head.Position - Position).magnitude <= Distance then
  3450. table.insert(List, v)
  3451. end
  3452. end
  3453. end
  3454. end
  3455. end
  3456. return List
  3457. end
  3458.  
  3459. function FaceMouse()
  3460. Cam = workspace.CurrentCamera
  3461. return {
  3462. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3463. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3464. }
  3465. end
  3466.  
  3467. function FaceMouse2()
  3468. Cam = workspace.CurrentCamera
  3469. return {
  3470. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3471. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3472. }
  3473. end
  3474.  
  3475. local ModeOfGlitch = 1
  3476. -- Functions are ready.
  3477. local storehumanoidWS = 16
  3478.  
  3479. function CorruptBlink()
  3480. for i = 0, 14 do
  3481. 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)
  3482. end
  3483. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3484. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3485. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3486. CameraEnshaking(2,10)
  3487. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3488. if v:FindFirstChild('Head') then
  3489. dmg(v)
  3490. end
  3491. end
  3492. for i = 0, 14 do
  3493. 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)
  3494. end
  3495. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3496. end
  3497.  
  3498. function PureBomb()
  3499. attack = true
  3500. CFuncs["EchoSound"].Create("rbxassetid://1436241485", char, 5, 1,0,10,0.15,0.5,1)
  3501. CFuncs["EchoSound"].Create("rbxassetid://1436241485", root, 60, 1,0,10,0.15,0.5,1)
  3502. bosschatfunc("Purified..",MAINRUINCOLOR.Color,2)
  3503. local orb = Instance.new("Part", char)
  3504. orb.Anchored = true
  3505. orb.BrickColor = BrickColor.new("Toothpaste")
  3506. orb.CanCollide = false
  3507. orb.FormFactor = 3
  3508. orb.Name = "Ring"
  3509. orb.Material = "Neon"
  3510. orb.Size = Vector3.new(1, 1, 1)
  3511. orb.Transparency = 0
  3512. orb.TopSurface = 0
  3513. orb.BottomSurface = 0
  3514. local orbm = Instance.new("SpecialMesh", orb)
  3515. orbm.MeshType = "Sphere"
  3516. orbm.Name = "SizeMesh"
  3517. orbm.Scale = vt(0,0,0)
  3518. local scaled = 0.1
  3519. local posid = 0
  3520. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 30,1)
  3521. for i = 0, 5, 0.1 do
  3522. swait()
  3523. scaled = scaled - 0.001
  3524. posid = posid - scaled
  3525. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3526. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3527. 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)
  3528. 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)
  3529. 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)
  3530. 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)
  3531. 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)
  3532. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3533. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3534. 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)
  3535. end
  3536. for i = 0, 2, 0.1 do
  3537. swait()
  3538. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3539. 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)
  3540. 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)
  3541. 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)
  3542. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3543. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3544. 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)
  3545. end
  3546. CFuncs["EchoSound"].Create("rbxassetid://1436240026", char, 4, 1,0,10,0.15,0.5,1)
  3547. CFuncs["EchoSound"].Create("rbxassetid://1436240026", root, 60, 1,0,10,0.15,0.5,1)
  3548. bosschatfunc("BOMB!!",MAINRUINCOLOR.Color,2)
  3549. coroutine.resume(coroutine.create(function()
  3550. orb.Anchored = false
  3551. CFuncs["Sound"].Create("rbxassetid://260433768", root, 555,1)
  3552. local a = Instance.new("Part",workspace)
  3553. a.Name = "Direction"
  3554. a.Anchored = true
  3555. a.BrickColor = bc("Bright red")
  3556. a.Material = "Neon"
  3557. a.Transparency = 1
  3558. a.CanCollide = false
  3559. local ray = Ray.new(
  3560. orb.CFrame.p, -- origin
  3561. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3562. )
  3563. local ignore = orb
  3564. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3565. a.BottomSurface = 10
  3566. a.TopSurface = 10
  3567. local distance = (orb.CFrame.p - position).magnitude
  3568. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3569. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3570. orb.CFrame = a.CFrame
  3571. a:Destroy()
  3572. local bv = Instance.new("BodyVelocity")
  3573. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3574. bv.velocity = orb.CFrame.lookVector*125
  3575. bv.Parent = orb
  3576. local hitted = false
  3577. game:GetService("Debris"):AddItem(orb, 15)
  3578. wait()
  3579. local hit =orb.Touched:connect(function(hit)
  3580. if hitted == false then
  3581. hitted = true
  3582. CameraEnshaking(10,2.5)
  3583. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3584. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3585. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3586. for i = 0, 49 do
  3587. 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)
  3588. end
  3589. local eff = Instance.new("ParticleEmitter",orb)
  3590. eff.Texture = "rbxassetid://2273224484"
  3591. eff.LightEmission = 1
  3592. eff.Color = ColorSequence.new(Color3.new(4/255,175/255,236/255))
  3593. eff.Rate = 500000
  3594. eff.Lifetime = NumberRange.new(0.5,2)
  3595. 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)})
  3596. 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)})
  3597. eff.Speed = NumberRange.new(20,250)
  3598. eff.Drag = 5
  3599. eff.Rotation = NumberRange.new(-500,500)
  3600. eff.VelocitySpread = 9000
  3601. eff.RotSpeed = NumberRange.new(-50,50)
  3602. coroutine.resume(coroutine.create(function()
  3603. wait(0.25)
  3604. eff.Enabled = false
  3605. end))
  3606. CFuncs["Sound"].Create("rbxassetid://1666361078", orb, 30,1)
  3607. for i = 0, 9 do
  3608. 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)
  3609. 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)
  3610. end
  3611. orb.Anchored = true
  3612. orb.Transparency = 1
  3613. local eff = Instance.new("ParticleEmitter",orb)
  3614. eff.Texture = "rbxassetid://2273224484"
  3615. eff.LightEmission = 1
  3616. eff.Color = ColorSequence.new(Color3.new(M))
  3617. eff.Rate = 500000
  3618. eff.Lifetime = NumberRange.new(0.5,2)
  3619. 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)})
  3620. 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)})
  3621. eff.Speed = NumberRange.new(20,250)
  3622. eff.Drag = 5
  3623. eff.Rotation = NumberRange.new(-500,500)
  3624. eff.VelocitySpread = 9000
  3625. eff.RotSpeed = NumberRange.new(-50,50)
  3626. coroutine.resume(coroutine.create(function()
  3627. wait(1)
  3628. eff.Enabled = false
  3629. end))
  3630. wait(8)
  3631. orb:Destroy()
  3632. end
  3633. end)
  3634. end))
  3635. for i = 0, 1, 0.1 do
  3636. swait()
  3637. 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)
  3638. 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)
  3639. 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)
  3640. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3641. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3642. 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)
  3643. end
  3644. attack = false
  3645. end
  3646.  
  3647. function BanishingOrb()
  3648. attack = true
  3649. hum.WalkSpeed = 0
  3650. local radm = math.random(1,3)
  3651. if radm == 1 then
  3652. bosschatfunc("Let it's go..",MAINRUINCOLOR.Color,1)
  3653. elseif radm == 2 then
  3654. bosschatfunc("So this is it..",MAINRUINCOLOR.Color,1)
  3655. elseif radm == 3 then
  3656. bosschatfunc("I have enough thing..",MAINRUINCOLOR.Color,1)
  3657. end
  3658. CFuncs["EchoSound"].Create("rbxassetid://1535994940", char, 5, 1,0,10,0.15,0.5,1)
  3659. CFuncs["EchoSound"].Create("rbxassetid://1535994940", root, 60, 1,0,10,0.15,0.5,1)
  3660. local orb = Instance.new("Part", char)
  3661. orb.Anchored = true
  3662. orb.BrickColor = BrickColor.new("Lime green")
  3663. orb.CanCollide = false
  3664. orb.FormFactor = 3
  3665. orb.Name = "Ring"
  3666. orb.Material = "Neon"
  3667. orb.Size = Vector3.new(1, 1, 1)
  3668. orb.Transparency = 0
  3669. orb.TopSurface = 0
  3670. orb.BottomSurface = 0
  3671. local orbm = Instance.new("SpecialMesh", orb)
  3672. orbm.MeshType = "Sphere"
  3673. orbm.Name = "SizeMesh"
  3674. orbm.Scale = vt(0,0,0)
  3675. local scaled = 0.1
  3676. local posid = 0
  3677. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
  3678. for i = 0, 5, 0.1 do
  3679. swait()
  3680. scaled = scaled - 0.001
  3681. posid = posid - scaled
  3682. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3683. local scaled = 0.1
  3684. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3685. 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)
  3686. 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)
  3687. 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)
  3688. 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)
  3689. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3690. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3691. 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)
  3692. end
  3693. for i = 0, 2, 0.1 do
  3694. swait()
  3695. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3696. 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)
  3697. 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)
  3698. 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)
  3699. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3700. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3701. 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)
  3702. end
  3703. coroutine.resume(coroutine.create(function()
  3704. orb.Anchored = false
  3705. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
  3706. local a = Instance.new("Part",workspace)
  3707. a.Name = "Direction"
  3708. a.Anchored = true
  3709. a.BrickColor = bc("Lime green")
  3710. a.Material = "Neon"
  3711. a.Transparency = 1
  3712. a.CanCollide = false
  3713. local ray = Ray.new(
  3714. orb.CFrame.p, -- origin
  3715. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3716. )
  3717. local ignore = orb
  3718. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3719. a.BottomSurface = 10
  3720. a.TopSurface = 10
  3721. local distance = (orb.CFrame.p - position).magnitude
  3722. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3723. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3724. orb.CFrame = a.CFrame
  3725. a:Destroy()
  3726. local bv = Instance.new("BodyVelocity")
  3727. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3728. bv.velocity = orb.CFrame.lookVector*0
  3729. bv.Parent = orb
  3730. local hitted = false
  3731. local rate = 0
  3732. coroutine.resume(coroutine.create(function()
  3733. for i = 0, 24 do
  3734. wait(0.1)
  3735. rate = rate + 0.25
  3736. bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
  3737. for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
  3738. if v:FindFirstChild('Head') then
  3739. dmg(v)
  3740. end
  3741. end
  3742. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
  3743. sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,bc"Lime green")
  3744. sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  3745. end
  3746. orb.Anchored = true
  3747. orb.Transparency = 1
  3748. for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
  3749. if v:FindFirstChild('Head') then
  3750. dmg(v)
  3751. end
  3752. end
  3753. local eff = Instance.new("ParticleEmitter",orb)
  3754. eff.Texture = "rbxassetid://296874871"
  3755. eff.LightEmission = 0.95
  3756. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3757. eff.Rate = 1000000000
  3758. eff.Lifetime = NumberRange.new(3)
  3759. 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)})
  3760. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3761. eff.Speed = NumberRange.new(30)
  3762. eff.Acceleration = vt(0,-15,0)
  3763. eff.Rotation = NumberRange.new(-500,500)
  3764. eff.VelocitySpread = 100000
  3765. eff.RotSpeed = NumberRange.new(-500,500)
  3766. coroutine.resume(coroutine.create(function()
  3767. wait(0.6)
  3768. eff.Enabled = false
  3769. end))
  3770. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
  3771. CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
  3772. sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,bc"Lime green")
  3773. sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3774. sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
  3775. game:GetService("Debris"):AddItem(orb, 15)
  3776. end))
  3777. end))
  3778. for i = 0, 1, 0.1 do
  3779. swait()
  3780. 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)
  3781. 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)
  3782. 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)
  3783. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3784. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3785. 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)
  3786. end
  3787. hum.WalkSpeed = storehumanoidWS
  3788. attack = false
  3789. end
  3790.  
  3791.  
  3792. function ChaosGroundStrike()
  3793. attack = true
  3794. for i = 0, 2, 0.1 do
  3795. swait()
  3796. 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)
  3797. 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)
  3798. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3799. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3800. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3801. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3802. end
  3803. bosschatfunc("DIE!",MAINRUINCOLOR.Color,1)
  3804. CFuncs["EchoSound"].Create("rbxassetid://207155717", root, 7.5,1)
  3805. CFuncs["EchoSound"].Create("rbxassetid://207155717", root, 7.5,1)
  3806. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3807. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3808. CFuncs["Sound"].Create("rbxassetid://2556945475", root, 2, 1)
  3809. CameraEnshaking(4,12)
  3810. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3811. if v:FindFirstChild('Head') then
  3812. dmg(v)
  3813. end
  3814. end
  3815. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3816. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3817. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3818. for i = 0, 2, 0.1 do
  3819. swait()
  3820. 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)
  3821. 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)
  3822. 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)
  3823. 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)
  3824. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3825. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3826. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3827. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3828. end
  3829. attack = false
  3830. end
  3831.  
  3832. function Starfall()
  3833. attack = true
  3834. hum.WalkSpeed = 0
  3835. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3836. for i = 0, 5, 0.1 do
  3837. swait()
  3838. 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)
  3839. 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)
  3840. 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)
  3841. 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)
  3842. 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)
  3843. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3844. 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)
  3845. 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)
  3846. end
  3847. local Overed = false
  3848. CameraEnshaking(2,20)
  3849. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3850. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3851. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3852. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3853. local orb = Instance.new("Part", char)
  3854. orb.Anchored = true
  3855. orb.BrickColor = BrickColor.new("Toothpaste")
  3856. orb.CanCollide = false
  3857. orb.FormFactor = 3
  3858. orb.Name = "Remenant"
  3859. orb.Material = "Neon"
  3860. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3861. orb.Size = Vector3.new(1, 1, 1)
  3862. orb.Transparency = 1
  3863. orb.TopSurface = 0
  3864. orb.BottomSurface = 0
  3865. hum.WalkSpeed = storehumanoidWS
  3866. coroutine.resume(coroutine.create(function()
  3867. for i = 0, 9 do
  3868. swait(10)
  3869. local lb = Instance.new("Part")
  3870. lb.Color = MAINRUINCOLOR.Color
  3871. lb.CanCollide = false
  3872. lb.Material = "Neon"
  3873. lb.Anchored = true
  3874. lb.TopSurface = 0
  3875. lb.BottomSurface = 0
  3876. lb.Transparency = 0
  3877. lb.Size = vt(1,1,1)
  3878. 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)))
  3879. lb.Anchored = false
  3880. lb.Parent = char
  3881. local thingery = Instance.new("SpecialMesh",lb)
  3882. thingery.MeshType = "Sphere"
  3883. thingery.Scale = vt(20,20,20)
  3884. game:GetService("Debris"):AddItem(lb, 10)
  3885. local bv = Instance.new("BodyVelocity")
  3886. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3887. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3888. bv.Parent = lb
  3889. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3890. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3891. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3892. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3893. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3894. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3895. local hitted = false
  3896. coroutine.resume(coroutine.create(function()
  3897. while true do
  3898. swait(1)
  3899. if lb.Parent ~= nil and hitted == false then
  3900. 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)
  3901. elseif lb.Parent == nil then
  3902. break
  3903. end
  3904. end
  3905. end))
  3906.  
  3907. game:GetService("Debris"):AddItem(a, 0.1)
  3908.  
  3909. coroutine.resume(coroutine.create(function()
  3910. swait(1)
  3911. lb.Touched:connect(function(hit)
  3912. if hitted == false then
  3913. hitted = true
  3914. lb.Transparency = 1
  3915. lb.Anchored = true
  3916. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3917. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3918. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3919. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3920. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3921. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3922. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3923. CameraEnshaking(1,5)
  3924. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3925. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3926. for i = 0, 9 do
  3927. 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)
  3928. end
  3929. for i = 0, 49 do
  3930. swait()
  3931. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3932. 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)
  3933. end
  3934. end
  3935. end)
  3936. end))
  3937. end
  3938. Overed = true
  3939. orb:Destroy()
  3940. end))
  3941.  
  3942. attack = false
  3943. end
  3944.  
  3945. function StarfallEX()
  3946. attack = true
  3947. hum.WalkSpeed = 0
  3948. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
  3949. for i = 0, 10, 0.1 do
  3950. swait()
  3951. 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)
  3952. 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)
  3953. 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)
  3954. 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)
  3955. 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)
  3956. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3957. 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)
  3958. 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)
  3959. end
  3960. local Overed = false
  3961. CameraEnshaking(2,20)
  3962. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3963. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3964. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  3965. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
  3966. local orb = Instance.new("Part", char)
  3967. orb.Anchored = true
  3968. orb.BrickColor = BrickColor.new("Toothpaste")
  3969. orb.CanCollide = false
  3970. orb.FormFactor = 3
  3971. orb.Name = "Remenant"
  3972. orb.Material = "Neon"
  3973. orb.CFrame = root.CFrame*CFrame.new(0,250,0)
  3974. orb.Size = Vector3.new(1, 1, 1)
  3975. orb.Transparency = 1
  3976. orb.TopSurface = 0
  3977. orb.BottomSurface = 0
  3978. hum.WalkSpeed = storehumanoidWS
  3979. coroutine.resume(coroutine.create(function()
  3980. for i = 0, 4 do
  3981. swait(15)
  3982. local lb = Instance.new("Part")
  3983. lb.Color = MAINRUINCOLOR.Color
  3984. lb.CanCollide = false
  3985. lb.Material = "Neon"
  3986. lb.Anchored = true
  3987. lb.TopSurface = 0
  3988. lb.BottomSurface = 0
  3989. lb.Transparency = 0
  3990. lb.Size = vt(1,1,1)
  3991. 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)))
  3992. lb.Anchored = false
  3993. lb.Parent = char
  3994. local thingery = Instance.new("SpecialMesh",lb)
  3995. thingery.MeshType = "Sphere"
  3996. thingery.Scale = vt(50,50,50)
  3997. game:GetService("Debris"):AddItem(lb, 10)
  3998. local bv = Instance.new("BodyVelocity")
  3999. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4000. bv.velocity = lb.CFrame.lookVector*math.random(50,420)
  4001. bv.Parent = lb
  4002. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  4003. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  4004. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
  4005. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
  4006. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
  4007. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
  4008. local hitted = false
  4009. coroutine.resume(coroutine.create(function()
  4010. while true do
  4011. swait(1)
  4012. if lb.Parent ~= nil and hitted == false then
  4013. 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)
  4014. elseif lb.Parent == nil then
  4015. break
  4016. end
  4017. end
  4018. end))
  4019.  
  4020. game:GetService("Debris"):AddItem(a, 0.1)
  4021.  
  4022. coroutine.resume(coroutine.create(function()
  4023. swait(1)
  4024. lb.Touched:connect(function(hit)
  4025. if hitted == false then
  4026. hitted = true
  4027. lb.Transparency = 1
  4028. lb.Anchored = true
  4029. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
  4030. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
  4031. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
  4032. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
  4033. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
  4034. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
  4035. MagniDamage(lb, 50, 60,99, 0, "Normal")
  4036. CameraEnshaking(1,5)
  4037. sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
  4038. sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
  4039. for i = 0, 9 do
  4040. 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)
  4041. end
  4042. for i = 0, 99 do
  4043. swait()
  4044. MagniDamage(lb, 30, 6,18, 0, "Normal")
  4045. 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)
  4046. end
  4047. end
  4048. end)
  4049. end))
  4050. end
  4051. Overed = true
  4052. orb:Destroy()
  4053. end))
  4054.  
  4055. attack = false
  4056. end
  4057.  
  4058. function DivineBlast()
  4059. attack = true
  4060. bosschatfunc("I WILL END YOU!",MAINRUINCOLOR.Color,0.7)
  4061. hum.WalkSpeed = 0
  4062. local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
  4063. elocacenter.Anchored = true
  4064. elocacenter.CFrame = sorb.CFrame
  4065. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4066. eloca1.Anchored = true
  4067. eloca1.CFrame = elocacenter.CFrame
  4068. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4069. eloca2.Anchored = true
  4070. eloca2.CFrame = elocacenter.CFrame
  4071. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4072. eloca3.Anchored = true
  4073. eloca3.CFrame = elocacenter.CFrame
  4074. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4075. eloca4.Anchored = true
  4076. eloca4.CFrame = elocacenter.CFrame
  4077. local lookavec = 0
  4078. local speeds = 0
  4079. CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
  4080. for i = 0, 3, 0.1 do
  4081. swait()
  4082. ---
  4083. lookavec = lookavec + 0.1
  4084. speeds = speeds + 10
  4085. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4086. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4087. 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)
  4088.  
  4089. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4090. 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)
  4091.  
  4092. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4093. 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)
  4094.  
  4095. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4096. 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)
  4097. ---
  4098. root.CFrame = FaceMouse()[1]
  4099. 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)
  4100. 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)
  4101. 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)
  4102. 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)
  4103. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4104. 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)
  4105. end
  4106. for i = 0, 3, 0.1 do
  4107. swait()
  4108. ---
  4109. speeds = speeds + 10
  4110. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4111. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4112. 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)
  4113.  
  4114. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4115. 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)
  4116.  
  4117. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4118. 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)
  4119.  
  4120. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4121. 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)
  4122. ---
  4123. root.CFrame = FaceMouse()[1]
  4124. 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)
  4125. 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)
  4126. 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)
  4127. 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)
  4128. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4129. 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)
  4130. end
  4131. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
  4132. CFuncs["Sound"].Create("rbxassetid://1436239652", char, 40,1)
  4133. for i = 0, 3, 0.1 do
  4134. swait()
  4135. ---
  4136. speeds = speeds + 10
  4137. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4138. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4139. 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)
  4140.  
  4141. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4142. 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)
  4143.  
  4144. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4145. 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)
  4146.  
  4147. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4148. 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)
  4149. ---
  4150. root.CFrame = FaceMouse()[1]
  4151. 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)
  4152. 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)
  4153. 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)
  4154. 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)
  4155. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  4156. 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)
  4157. end
  4158. coroutine.resume(coroutine.create(function()
  4159. local a = Instance.new("Part",Character)
  4160. a.Name = "Direction"
  4161. a.Anchored = true
  4162. a.BrickColor = bc("White")
  4163. a.Material = "Neon"
  4164. a.Transparency = 0
  4165. a.Shape = "Cylinder"
  4166. a.CanCollide = false
  4167. local a2 = Instance.new("Part",Character)
  4168. a2.Name = "Direction"
  4169. a2.Anchored = true
  4170. a2.BrickColor = bc("Bright yellow")
  4171. a2.Material = "Neon"
  4172. a2.Transparency = 0
  4173. a2.Shape = "Cylinder"
  4174. a2.CanCollide = false
  4175. local b = Instance.new("Part",Character)
  4176. b.Name = "HitDirect"
  4177. b.Anchored = true
  4178. b.BrickColor = bc("Cool yellow")
  4179. b.Material = "Neon"
  4180. b.Transparency = 1
  4181. b.CanCollide = false
  4182. local ray = Ray.new(
  4183. elocacenter.CFrame.p, -- origin
  4184. (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
  4185. )
  4186. local ignore = Character
  4187. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4188. a.BottomSurface = 10
  4189. a.TopSurface = 10
  4190. a2.BottomSurface = 10
  4191. a2.TopSurface = 10
  4192. local distance = (elocacenter.CFrame.p - position).magnitude
  4193. a.Size = Vector3.new(distance, 1, 1)
  4194. a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4195. a2.Size = Vector3.new(distance, 1, 1)
  4196. a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4197. b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4198. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4199. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4200. game:GetService("Debris"):AddItem(a, 10)
  4201. game:GetService("Debris"):AddItem(a2, 10)
  4202. game:GetService("Debris"):AddItem(b, 10)
  4203. local eff = Instance.new("ParticleEmitter",b)
  4204. eff.Texture = "rbxassetid://2273224484"
  4205. eff.LightEmission = 1
  4206. eff.Color = ColorSequence.new(Color3.new(1,1,0))
  4207. eff.Rate = 500000
  4208. eff.Lifetime = NumberRange.new(0.5,2)
  4209. 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)})
  4210. 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)})
  4211. eff.Speed = NumberRange.new(20,250)
  4212. eff.Drag = 5
  4213. eff.Rotation = NumberRange.new(-500,500)
  4214. eff.VelocitySpread = 9000
  4215. eff.RotSpeed = NumberRange.new(-50,50)
  4216. coroutine.resume(coroutine.create(function()
  4217. wait(0.25)
  4218. eff.Enabled = false
  4219. end))
  4220. local msh = Instance.new("SpecialMesh",a)
  4221. msh.MeshType = "Cylinder"
  4222. msh.Scale = vt(1,2,2)
  4223. local msh2 = Instance.new("SpecialMesh",a2)
  4224. msh2.MeshType = "Cylinder"
  4225. msh2.Scale = vt(1,2.5,2.5)
  4226. CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
  4227. coroutine.resume(coroutine.create(function()
  4228. for i = 0,10,0.1 do
  4229. swait()
  4230. msh.Scale = msh.Scale + vt(0,0.05,0.05)
  4231. a.Transparency = a.Transparency + 0.025
  4232. msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
  4233. a2.Transparency = a2.Transparency + 0.05
  4234. end
  4235. a:Destroy()
  4236. a2:Destroy()
  4237. end))
  4238. CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
  4239. CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
  4240. CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
  4241. CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
  4242. CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
  4243. CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
  4244. MagniDamage(b, 25, 40,65, 0, "Normal")
  4245. for i = 0, 49 do
  4246. 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)
  4247. 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)
  4248. end
  4249. sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
  4250. sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
  4251. sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4252. sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4253. sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4254. sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4255. end))
  4256. game:GetService("Debris"):AddItem(elocacenter, 5)
  4257. hum.WalkSpeed = storehumanoidWS
  4258. attack = false
  4259. end
  4260.  
  4261.  
  4262. function StarDivision()
  4263. attack = true
  4264. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4265. for i = 0, 2, 0.1 do
  4266. swait()
  4267. 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)
  4268. 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)
  4269. 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)
  4270. 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)
  4271. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  4272. 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)
  4273. end
  4274. local orb = Instance.new("Part", char)
  4275. orb.BrickColor = MAINRUINCOLOR
  4276. orb.CanCollide = false
  4277. orb.FormFactor = 3
  4278. orb.Name = "Ring"
  4279. orb.Material = "Neon"
  4280. orb.Size = Vector3.new(1, 1, 1)
  4281. orb.Transparency = 0
  4282. orb.TopSurface = 0
  4283. orb.BottomSurface = 0
  4284. local orbm = Instance.new("SpecialMesh", orb)
  4285. orbm.MeshType = "Sphere"
  4286. orbm.Name = "SizeMesh"
  4287. orbm.Scale = vt(2,2,2)
  4288. local a = Instance.new("Part",workspace)
  4289. a.Name = "Direction"
  4290. a.Anchored = true
  4291. a.BrickColor = bc("Bright red")
  4292. a.Material = "Neon"
  4293. a.Transparency = 1
  4294. a.CanCollide = false
  4295. local ray = Ray.new(
  4296. sorb.CFrame.p, -- origin
  4297. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  4298. )
  4299. local ignore = sorb
  4300. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4301. a.BottomSurface = 10
  4302. a.TopSurface = 10
  4303. local distance = (sorb.CFrame.p - position).magnitude
  4304. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4305. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4306. orb.CFrame = a.CFrame
  4307. a:Destroy()
  4308. local bv = Instance.new("BodyVelocity")
  4309. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4310. bv.velocity = orb.CFrame.lookVector*100
  4311. bv.Parent = orb
  4312. local hitted = false
  4313. game:GetService("Debris"):AddItem(orb, 10)
  4314. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  4315. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  4316. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  4317. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  4318. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  4319. coroutine.resume(coroutine.create(function()
  4320. while true do
  4321. swait(1)
  4322. if orb.Parent ~= nil and hitted == false then
  4323. 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)
  4324. elseif orb.Parent == nil then
  4325. break
  4326. end
  4327. end
  4328. end))
  4329. coroutine.resume(coroutine.create(function()
  4330. swait(1)
  4331. orb.Touched:connect(function(hit)
  4332. if hitted == false then
  4333. hitted = true
  4334. game:GetService("Debris"):AddItem(orb, 5)
  4335. orb.Transparency = 1
  4336. orb.Anchored = true
  4337. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4338. elocacenter.Anchored = true
  4339. elocacenter.CFrame = orb.CFrame
  4340. elocacenter.Orientation = vt(0,0,0)
  4341. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4342. eloca1.Anchored = true
  4343. eloca1.CFrame = elocacenter.CFrame
  4344. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4345. eloca2.Anchored = true
  4346. eloca2.CFrame = elocacenter.CFrame
  4347. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4348. eloca3.Anchored = true
  4349. eloca3.CFrame = elocacenter.CFrame
  4350. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4351. eloca4.Anchored = true
  4352. eloca4.CFrame = elocacenter.CFrame
  4353. local lookavec = 0
  4354. local speeds = 0
  4355. CameraEnshaking(1,1)
  4356. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4357. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4358. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4359. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4360. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4361. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4362. for i = 0, 99 do
  4363. swait()
  4364. lookavec = lookavec + 1
  4365. speeds = speeds + 0.1
  4366. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4367. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4368. 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)
  4369.  
  4370. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4371. 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)
  4372.  
  4373. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4374. 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)
  4375.  
  4376. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4377. 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)
  4378. end
  4379.  
  4380. for i = 0, 149 do
  4381. swait()
  4382. speeds = speeds + 0.1
  4383. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4384. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4385. 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)
  4386.  
  4387. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4388. 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)
  4389.  
  4390. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4391. 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)
  4392.  
  4393. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4394. 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)
  4395. end
  4396. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  4397. if v:FindFirstChild('Head') then
  4398. dmg(v)
  4399. end
  4400. end
  4401. CameraEnshaking(7,30)
  4402. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  4403. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  4404. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  4405. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  4406. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4407. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  4408. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  4409. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4410. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4411. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4412. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4413. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4414. for i = 0, 24 do
  4415. 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)
  4416. 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)
  4417. 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)
  4418. 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)
  4419. end
  4420. coroutine.resume(coroutine.create(function()
  4421. for i = 0, 499 do
  4422. swait(1)
  4423. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  4424. 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)
  4425. end
  4426. elocacenter:Destroy()
  4427. eloca1:Destroy()
  4428. eloca2:Destroy()
  4429. eloca3:Destroy()
  4430. eloca4:Destroy()
  4431. end))
  4432. end
  4433. end)
  4434. end))
  4435. attack = false
  4436. end
  4437.  
  4438.  
  4439. function THE_TRUE_POWER_OF_VIOLENCE()
  4440. attack = true
  4441. hum.WalkSpeed = 0
  4442. bosschatfunc("ALL YOUR DESTINY...",MAINRUINCOLOR.Color,4)
  4443. for i = 0, 10, 0.1 do
  4444. swait()
  4445. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  4446. 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)
  4447. 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)
  4448. 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)
  4449. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  4450. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4451. 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)
  4452. end
  4453. local orb = Instance.new("Part", char)
  4454. orb.BrickColor = MAINRUINCOLOR
  4455. orb.CanCollide = false
  4456. orb.FormFactor = 3
  4457. orb.Name = "Ring"
  4458. orb.Material = "Neon"
  4459. orb.Size = Vector3.new(1, 1, 1)
  4460. orb.Transparency = 0
  4461. orb.TopSurface = 0
  4462. orb.BottomSurface = 0
  4463. orb.CFrame = sorb.CFrame
  4464. local orbm = Instance.new("SpecialMesh", orb)
  4465. orbm.MeshType = "Sphere"
  4466. orbm.Name = "SizeMesh"
  4467. orbm.Scale = vt(0,0,0)
  4468. local sbs = Instance.new("BodyPosition", orb)
  4469. sbs.P = 3000
  4470. sbs.D = 1000
  4471. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4472. sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
  4473. CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
  4474. sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4475. sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4476. sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4477. sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4478. sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4479. for i = 0, 10, 0.1 do
  4480. swait()
  4481. 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)
  4482. 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)
  4483. 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)
  4484. 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)
  4485. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4486. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4487. 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)
  4488. end
  4489. orb.Anchored = true
  4490. local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4491. elocacenter.Anchored = true
  4492. elocacenter.CFrame = orb.CFrame
  4493. elocacenter.Orientation = vt(0,0,0)
  4494. local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4495. eloca1.Anchored = true
  4496. eloca1.CFrame = elocacenter.CFrame
  4497. local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4498. eloca2.Anchored = true
  4499. eloca2.CFrame = elocacenter.CFrame
  4500. local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4501. eloca3.Anchored = true
  4502. eloca3.CFrame = elocacenter.CFrame
  4503. local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4504. eloca4.Anchored = true
  4505. eloca4.CFrame = elocacenter.CFrame
  4506. local lookavec = 0
  4507. local speeds = 0
  4508. CameraEnshaking(1,1)
  4509. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
  4510. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
  4511. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
  4512. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
  4513. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4514. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4515. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4516. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4517. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4518. for i = 0, 99 do
  4519. swait()
  4520. lookavec = lookavec + 2.5
  4521. speeds = speeds + 0.25
  4522. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4523. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4524. 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)
  4525.  
  4526. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4527. 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)
  4528.  
  4529. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4530. 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)
  4531.  
  4532. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4533. 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)
  4534. end
  4535.  
  4536. for i = 0, 149 do
  4537. swait()
  4538. speeds = speeds + 0.25
  4539. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4540. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4541. PixelBlockNeg(2,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)
  4542.  
  4543. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4544. 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)
  4545.  
  4546. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4547. 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)
  4548.  
  4549. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4550. 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)
  4551. end
  4552. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
  4553. for i = 0, 99 do
  4554. swait()
  4555. lookavec = lookavec - 2.5
  4556. speeds = speeds + 0.25
  4557. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4558. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4559. 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)
  4560.  
  4561. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4562. 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)
  4563.  
  4564. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4565. 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)
  4566.  
  4567. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4568. 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)
  4569. end
  4570. local scaled = 0.1*75
  4571. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
  4572. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
  4573. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
  4574. CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
  4575. CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
  4576. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  4577. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4578. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4579. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4580. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4581. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4582.  
  4583. for i = 0, 10, 0.1 do
  4584. swait()
  4585. scaled = scaled - 0.001*75
  4586. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4587. 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)
  4588. 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)
  4589. 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)
  4590. 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)
  4591. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4592. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4593. 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)
  4594. end
  4595. bosschatfunc("WILL BE MINE!!!!",MAINRUINCOLOR.Color,2)
  4596. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 10, 1,0,10,0.15,0.5,1)
  4597. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 60, 1,0,10,0.15,0.5,1)
  4598. for x = 0, 4 do
  4599. for i = 0, 9 do
  4600. 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)
  4601. end
  4602. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
  4603. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
  4604. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4605. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4606. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4607. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4608. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4609. for i = 0, 5, 0.1 do
  4610. swait()
  4611. 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)
  4612. 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)
  4613. 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)
  4614. 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)
  4615. 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)
  4616. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  4617. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
  4618. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
  4619. end
  4620. end
  4621. local speedearn = 0
  4622. CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
  4623. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
  4624. CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
  4625. for i = 0, 30, 0.1 do
  4626. swait()
  4627. scaled = scaled - 0.001*75/10
  4628. speedearn = speedearn + 0.5
  4629. for i = 0, 4 do
  4630. 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)
  4631. end
  4632. 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)
  4633. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4634. 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)
  4635. 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)
  4636. 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)
  4637. 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)
  4638. 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)
  4639. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
  4640. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
  4641. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
  4642. end
  4643. orb.Transparency = 1
  4644. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
  4645. if v:FindFirstChild('Head') then
  4646. dmg(v)
  4647. end
  4648. end
  4649. CameraEnshaking(7,30)
  4650. MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
  4651. CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
  4652. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
  4653. CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
  4654. CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
  4655. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4656. CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
  4657. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4658. CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
  4659. CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
  4660. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
  4661. CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
  4662. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
  4663. CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
  4664. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4665. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4666. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4667. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4668. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4669. for i = 0, 99 do
  4670. 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)
  4671. 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)
  4672. end
  4673. for i = 0, 24 do
  4674. 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)
  4675. 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)
  4676. 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)
  4677. 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)
  4678. 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)
  4679. end
  4680. game:GetService("Debris"):AddItem(orb, 10)
  4681. hum.WalkSpeed = storehumanoidWS
  4682. attack = false
  4683. end
  4684.  
  4685.  
  4686. function ViolentRing()
  4687. attack = true
  4688. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
  4689. bosschatfunc("SHOULD I TAKE THAT EASIER?!",MAINRUINCOLOR.Color,0.7)
  4690. CFuncs["EchoSound"].Create("rbxassetid://1535994137", char, 4, 1,0,10,0.15,0.5,1)
  4691. CFuncs["EchoSound"].Create("rbxassetid://1535994137", root, 7, 1,0,10,0.15,0.5,1)
  4692. for i = 0, 2, 0.1 do
  4693. swait()
  4694. local snap = math.random(1,10)
  4695. if snap == 1 then
  4696. 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)
  4697. end
  4698. 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)
  4699. 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)
  4700. 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)
  4701. 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)
  4702. 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)
  4703. 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)
  4704. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
  4705. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
  4706. 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)
  4707. RootPart.CFrame = FaceMouse()[1]
  4708. end
  4709. local orb = Instance.new("Part", char)
  4710. orb.BrickColor = MAINRUINCOLOR
  4711. orb.CanCollide = false
  4712. orb.FormFactor = 3
  4713. orb.Name = "Ring"
  4714. orb.Material = "Neon"
  4715. orb.Size = Vector3.new(1, 1, 1)
  4716. orb.Transparency = 0
  4717. orb.TopSurface = 0
  4718. orb.BottomSurface = 0
  4719. local orbm = Instance.new("SpecialMesh", orb)
  4720. orbm.MeshType = "Sphere"
  4721. orbm.Name = "SizeMesh"
  4722. orbm.Scale = vt(2,2,2)
  4723. orb.CFrame = mouse.Hit
  4724. local bv = Instance.new("BodyVelocity")
  4725. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4726. bv.velocity = orb.CFrame.lookVector*100
  4727. bv.Parent = orb
  4728. local hitted = false
  4729. coroutine.resume(coroutine.create(function()
  4730. game:GetService("Debris"):AddItem(orb, 5)
  4731. orb.Transparency = 1
  4732. orb.Anchored = true
  4733. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4734. elocacenter.Anchored = true
  4735. elocacenter.CFrame = orb.CFrame
  4736. elocacenter.Orientation = vt(0,0,0)
  4737. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4738. eloca1.Anchored = true
  4739. eloca1.CFrame = elocacenter.CFrame
  4740. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4741. eloca2.Anchored = true
  4742. eloca2.CFrame = elocacenter.CFrame
  4743. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4744. eloca3.Anchored = true
  4745. eloca3.CFrame = elocacenter.CFrame
  4746. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4747. eloca4.Anchored = true
  4748. eloca4.CFrame = elocacenter.CFrame
  4749. local lookavec = 0
  4750. local speeds = 0
  4751. CameraEnshaking(1,1)
  4752. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4753. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4754. sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4755. sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4756. sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4757. sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4758. for i = 0, 24 do
  4759. swait()
  4760. lookavec = lookavec + 3.5
  4761. speeds = speeds + 1
  4762. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4763. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4764. 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)
  4765.  
  4766. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4767. 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)
  4768.  
  4769. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4770. 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)
  4771.  
  4772. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4773. 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)
  4774. end
  4775.  
  4776. local risen = 0
  4777. for i = 0, 49 do
  4778. swait()
  4779. risen = risen + 0.05
  4780. speeds = speeds + 0.1
  4781. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4782. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4783. 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)
  4784.  
  4785. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4786. 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)
  4787.  
  4788. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4789. 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)
  4790.  
  4791. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4792. 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)
  4793. end
  4794. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
  4795. if v:FindFirstChild('Head') then
  4796. dmg(v)
  4797. end
  4798. end
  4799. CameraEnshaking(4,10)
  4800. MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
  4801. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
  4802. CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
  4803. CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
  4804. CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
  4805. CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
  4806. local eff = Instance.new("ParticleEmitter",elocacenter)
  4807. eff.Texture = "rbxassetid://2273224484"
  4808. eff.LightEmission = 1
  4809. eff.Color = ColorSequence.new(Color3.new(1,1,0))
  4810. eff.Rate = 1000000
  4811. eff.Lifetime = NumberRange.new(0.5,2)
  4812. 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)})
  4813. 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)})
  4814. eff.Speed = NumberRange.new(20,250)
  4815. eff.Drag = 5
  4816. eff.Rotation = NumberRange.new(-500,500)
  4817. eff.VelocitySpread = 5000000
  4818. eff.RotSpeed = NumberRange.new(-50,50)
  4819. coroutine.resume(coroutine.create(function()
  4820. wait(1)
  4821. eff.Enabled = false
  4822. end))
  4823. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
  4824. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
  4825. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4826. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4827. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4828. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4829. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4830. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
  4831. for i = 0, 24 do
  4832. 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)
  4833. 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)
  4834. 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)
  4835. 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)
  4836. end
  4837. coroutine.resume(coroutine.create(function()
  4838. wait(10)
  4839. elocacenter:Destroy()
  4840. eloca1:Destroy()
  4841. eloca2:Destroy()
  4842. eloca3:Destroy()
  4843. eloca4:Destroy()
  4844. end))
  4845. end))
  4846. attack = false
  4847. end
  4848.  
  4849. function UniversalCollapse()
  4850. attack = true
  4851. local speedearn = 0
  4852. hum.WalkSpeed = 0
  4853. local sbs = Instance.new("BodyPosition", root)
  4854. sbs.P = 3000
  4855. sbs.D = 1000
  4856. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4857. sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
  4858. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4859. for i = 0, 85, 0.1 do
  4860. swait()
  4861. speedearn = speedearn + 0.1
  4862. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4863. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4864. 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)
  4865. 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)
  4866. 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)
  4867. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4868. 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)
  4869. 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)
  4870. 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)
  4871. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4872. 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)
  4873. 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)
  4874. end
  4875. bosschatfunc("Universary..",MAINRUINCOLOR.Color,1)
  4876. CFuncs["EchoSound"].Create("rbxassetid://1448032598", char, 5, 1,0,10,0.15,0.5,1)
  4877. CFuncs["EchoSound"].Create("rbxassetid://1448032598", root, 20, 1,0,10,0.15,0.5,1)
  4878. for i = 0, 25, 0.1 do
  4879. swait()
  4880. speedearn = speedearn + 0.1
  4881. 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)
  4882. 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)
  4883. 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)
  4884. 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)
  4885. 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)
  4886. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4887. 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)
  4888. 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)
  4889. 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)
  4890. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4891. 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)
  4892. 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)
  4893. end
  4894. bosschatfunc("COLLAPSE!!!",MAINRUINCOLOR.Color,1)
  4895. CFuncs["EchoSound"].Create("rbxassetid://1436241883", char, 5, 1,0,10,0.15,0.5,1)
  4896. CFuncs["EchoSound"].Create("rbxassetid://1436241883", root, 20, 1,0,10,0.15,0.5,1)
  4897. CameraEnshaking(5,50)
  4898. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4899. for i = 0, 2 do
  4900. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4901. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4902. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
  4903. CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
  4904. end
  4905. for i = 0, 49 do
  4906. 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)
  4907. 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)
  4908. 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)
  4909. 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)
  4910. end
  4911. sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4912. sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4913. sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4914. sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4915. sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4916. sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4917. sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4918. sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4919. sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4920. sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4921. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4922. sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4923. for i = 0, 99 do
  4924. 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)
  4925. 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)
  4926. end
  4927. for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
  4928. if v:FindFirstChild('Head') then
  4929. dmg(v)
  4930. end
  4931. end
  4932. MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
  4933. sbs:Destroy()
  4934. hum.WalkSpeed = storehumanoidWS
  4935. attack = false
  4936. end
  4937.  
  4938. function ChaosEND()
  4939. attack = true
  4940. local speedearn = 0
  4941. bosschatfunc("THIS IS...",MAINRUINCOLOR.Color,1)
  4942. CFuncs["EchoSound"].Create("rbxassetid://1548599511", char, 4.5, 1,0,10,0.15,0.5,1)
  4943. CFuncs["EchoSound"].Create("rbxassetid://1548599511", root, 30, 1,0,10,0.15,0.5,1)
  4944. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
  4945. CFuncs["Sound"].Create("rbxassetid://2556945475", root, 5, 1)
  4946. for i = 0, 15, 0.1 do
  4947. swait()
  4948. speedearn = speedearn + 0.25
  4949. 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)
  4950. 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)
  4951. 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)
  4952. 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)
  4953. 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)
  4954. 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)
  4955. 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)
  4956. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4957. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4958. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4959. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4960. end
  4961. CFuncs["Sound"].Create("rbxassetid://438666141", char, 3,1)
  4962. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
  4963. bosschatfunc("THE END!!!",MAINRUINCOLOR.Color,1)
  4964. CFuncs["EchoSound"].Create("rbxassetid://1548599962", char, 8, 1,0,10,0.15,0.5,1)
  4965. CFuncs["EchoSound"].Create("rbxassetid://1548599962", root, 40, 1,0,10,0.15,0.5,1)
  4966. CameraEnshaking(5,25)
  4967. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4968. if v:FindFirstChild('Head') then
  4969. dmg(v)
  4970. end
  4971. end
  4972. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  4973. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  4974. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  4975. for i = 0, 3, 0.1 do
  4976. swait()
  4977. 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)
  4978. 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)
  4979. 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)
  4980. 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)
  4981. 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)
  4982. 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)
  4983. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4984. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4985. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4986. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4987. end
  4988. attack = false
  4989. end
  4990.  
  4991. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4992. local orb = Instance.new("Part", char)
  4993. orb.Anchored = true
  4994. orb.BrickColor = color
  4995. orb.CanCollide = false
  4996. orb.FormFactor = 3
  4997. orb.Name = "Ring"
  4998. orb.Material = "Neon"
  4999. orb.Size = Vector3.new(1, 1, 1)
  5000. orb.Transparency = 0
  5001. orb.TopSurface = 0
  5002. orb.BottomSurface = 0
  5003. local orbm = Instance.new("SpecialMesh", orb)
  5004. orbm.MeshType = "Sphere"
  5005. orb.CFrame = positted
  5006. orbm.Name = "SizeMesh"
  5007. orbm.Scale = vt(1,1,1)
  5008. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  5009. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  5010. --[[for i = 0, 2 do
  5011. 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)
  5012. end]]--
  5013. coroutine.resume(coroutine.create(function()
  5014. wait(timer)
  5015. CameraEnshaking(3,ShakePower)
  5016. orb.Transparency = 1
  5017. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  5018. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  5019. --[[for i = 0, 4 do
  5020. 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)
  5021. end]]--
  5022. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  5023. wait(3)
  5024. orb:Destroy()
  5025. end))
  5026. end
  5027.  
  5028. function orb_spawn(positted,timer)
  5029. local randomcol = math.random(1,2)
  5030. local orb = Instance.new("Part", char)
  5031. orb.Anchored = true
  5032. if randomcol == 1 then
  5033. orb.BrickColor = BrickColor.new("White")
  5034. elseif randomcol == 2 then
  5035. orb.BrickColor = BrickColor.new("Really black")
  5036. end
  5037. orb.CanCollide = false
  5038. orb.FormFactor = 3
  5039. orb.Name = "Ring"
  5040. orb.Material = "Neon"
  5041. orb.Size = Vector3.new(1, 1, 1)
  5042. orb.Transparency = 0
  5043. orb.TopSurface = 0
  5044. orb.BottomSurface = 0
  5045. local orbm = Instance.new("SpecialMesh", orb)
  5046. orbm.MeshType = "Sphere"
  5047. orb.CFrame = positted
  5048. orbm.Name = "SizeMesh"
  5049. orbm.Scale = vt(1,1,1)
  5050. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
  5051. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  5052. for i = 0, 2 do
  5053. 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)
  5054. end
  5055. coroutine.resume(coroutine.create(function()
  5056. wait(timer)
  5057. CameraEnshaking(3,2)
  5058. orb.Transparency = 1
  5059. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  5060. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  5061. for i = 0, 4 do
  5062. 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)
  5063. end
  5064. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
  5065. wait(3)
  5066. orb:Destroy()
  5067. end))
  5068. end
  5069.  
  5070. function scattercorrupt()
  5071. attack = true
  5072. hum.WalkSpeed = 0
  5073. for i = 0, 2, 0.1 do
  5074. swait()
  5075. 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)
  5076. 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)
  5077. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5078. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5079. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.2)
  5080. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.2)
  5081. end
  5082. local rot = 0
  5083. local randomrotations = math.random(1,2)
  5084. local lookv = 2.5
  5085. local power = 7
  5086. local radm = math.random(1,3)
  5087. if radm == 1 then
  5088. bosschatfunc("HOW LONG CAN YOU TAKE THIS?",MAINRUINCOLOR.Color,1)
  5089. elseif radm == 2 then
  5090. bosschatfunc("SWAMP!!",MAINRUINCOLOR.Color,1)
  5091. elseif radm == 3 then
  5092. bosschatfunc("SCATTER!!",MAINRUINCOLOR.Color,1)
  5093. end
  5094. CFuncs["Sound"].Create("rbxassetid://183763506", RightLeg, 2, 1)
  5095. for i = 0, 1, 0.1 do
  5096. swait()
  5097. 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)
  5098. 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)
  5099. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(15),math.rad(0),math.rad(0)),.15)
  5100. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.15)
  5101. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(40)),.15)
  5102. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(-40)),.15)
  5103. end
  5104. CFuncs["EchoSound"].Create("rbxassetid://1535994669", char, 5, 1,0,10,0.15,0.5,1)
  5105. CFuncs["EchoSound"].Create("rbxassetid://1535994669", root, 20, 1,0,10,0.15,0.5,1)
  5106. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  5107. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  5108. for i = 0, 9 do
  5109. 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)
  5110. end
  5111. local hite = Instance.new("Part", char)
  5112. hite.Anchored = true
  5113. hite.CanCollide = false
  5114. hite.FormFactor = 3
  5115. hite.Name = "Ring"
  5116. hite.Material = "Neon"
  5117. hite.Size = Vector3.new(1, 1, 1)
  5118. hite.Transparency = 1
  5119. hite.TopSurface = 0
  5120. hite.BottomSurface = 0
  5121. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  5122. local rem = Instance.new("Part", char)
  5123. rem.Anchored = true
  5124. rem.CanCollide = false
  5125. rem.FormFactor = 3
  5126. rem.Name = "Ring"
  5127. rem.Material = "Neon"
  5128. rem.Size = Vector3.new(1, 1, 1)
  5129. rem.Transparency = 1
  5130. rem.TopSurface = 0
  5131. rem.BottomSurface = 0
  5132. rem.CFrame = hite.CFrame
  5133. local rem2 = rem:Clone()
  5134. rem2.Parent = char
  5135. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  5136. local rem3 = rem:Clone()
  5137. rem3.Parent = char
  5138. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  5139. local rem4 = rem:Clone()
  5140. rem4.Parent = char
  5141. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  5142. hite:Destroy()
  5143. coroutine.resume(coroutine.create(function()
  5144. for i = 0, 24 do
  5145. swait(1)
  5146. if randomrotations == 1 then
  5147. rot = rot + 1
  5148. elseif randomrotations == 2 then
  5149. rot = rot - 1
  5150. end
  5151. power = power + 0.5
  5152. lookv = lookv + 7.5
  5153. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5154. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  5155. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  5156. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  5157. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5158. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5159. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5160. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5161. end
  5162. end))
  5163. wait(2)
  5164. hum.WalkSpeed = storehumanoidWS
  5165. attack = false
  5166. end
  5167.  
  5168. function yinyangi()
  5169. attack = true
  5170. for i = 0, 2, 0.1 do
  5171. swait()
  5172. bosschatfunc("YAAAAAHHHHHHH!",MAINRUINCOLOR.Color,1)
  5173. CFuncs["Sound"].Create("rbxassetid://430315987", root, 1, 1,0,10,0.25,0.25,1)
  5174. 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)
  5175. 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)
  5176. 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)
  5177. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5178. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  5179. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  5180. end
  5181. local bv = Instance.new("BodyVelocity")
  5182. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5183. bv.velocity = root.CFrame.lookVector*175
  5184. bv.Parent = root
  5185. for Rotations = 0, 9 do
  5186. for i = 0, 1, 0.5 do
  5187. swait()
  5188. bv.velocity = root.CFrame.lookVector*175
  5189. 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)
  5190. 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)
  5191. 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)
  5192. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5193. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5194. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5195. end
  5196. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5197. for i = 0, 1, 0.5 do
  5198. swait()
  5199. bv.velocity = root.CFrame.lookVector*175
  5200. 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)
  5201. 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)
  5202. 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)
  5203. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5204. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5205. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5206. end
  5207. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5208. for i = 0, 1, 0.5 do
  5209. swait()
  5210. bv.velocity = root.CFrame.lookVector*175
  5211. 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)
  5212. 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)
  5213. 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)
  5214. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5215. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5216. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5217. end
  5218. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5219. for i = 0, 1, 0.5 do
  5220. swait()
  5221. bv.velocity = root.CFrame.lookVector*175
  5222. 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)
  5223. 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)
  5224. 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)
  5225. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5226. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5227. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5228. end
  5229. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5230. end
  5231. bv:Destroy()
  5232. attack = false
  5233. end
  5234.  
  5235. function createBGCircle(size,parent,color)
  5236. local bgui = Instance.new("BillboardGui",parent)
  5237. bgui.Size = UDim2.new(size, 0, size, 0)
  5238. local imgc = Instance.new("ImageLabel",bgui)
  5239. imgc.BackgroundTransparency = 1
  5240. imgc.ImageTransparency = 0
  5241. imgc.Size = UDim2.new(1,0,1,0)
  5242. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  5243. imgc.ImageColor3 = color
  5244. return bgui,imgc
  5245. end
  5246.  
  5247. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  5248. local bgui,imgc = createBGCircle(size,guipar,color)
  5249. bgui.AlwaysOnTop = true
  5250. imgc.Image = "rbxassetid://" ..img
  5251. local rrot = math.random(1,2)
  5252. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  5253. coroutine.resume(coroutine.create(function()
  5254. for i = 0, 24*delay do
  5255. swait()
  5256. if rotationenabled == true then
  5257. if rrot == 1 then
  5258. imgc.Rotation = imgc.Rotation + rotsp
  5259. elseif rrot == 2 then
  5260. imgc.Rotation = imgc.Rotation - rotsp
  5261. end
  5262. end
  5263. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  5264. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  5265. end
  5266. bgui:Destroy()
  5267. end))
  5268. end
  5269. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled)
  5270. for i, v in pairs(mw2:GetChildren()) do
  5271. if v:IsA("Part") then
  5272. v.BrickColor = one
  5273. v.Material = "Neon"
  5274. end
  5275. end
  5276. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  5277. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  5278. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  5279. tr1.Color = ColorSequence.new(one.Color)
  5280. tr2.Color = ColorSequence.new(one.Color)
  5281. tr3.Color = ColorSequence.new(one.Color)
  5282. for i, v in pairs(mw1:GetChildren()) do
  5283. if v:IsA("Part") then
  5284. if secondaryenabled == false then
  5285. v.Transparency = 1
  5286. elseif secondaryenabled == true then
  5287. v.Transparency = 0
  5288. end
  5289. v.BrickColor = two
  5290. v.Material = "Neon"
  5291. end
  5292. end
  5293. if secondaryenabled == false then
  5294. tl1.Enabled = false
  5295. tl2.Enabled = false
  5296. tl3.Enabled = false
  5297. elseif secondaryenabled == true then
  5298. tl1.Enabled = true
  5299. tl2.Enabled = true
  5300. tl3.Enabled = true
  5301. end
  5302. tl1.Color = ColorSequence.new(two.Color)
  5303. tl2.Color = ColorSequence.new(two.Color)
  5304. tl3.Color = ColorSequence.new(two.Color)
  5305. for i, v in pairs(m:GetChildren()) do
  5306. if v:IsA("Part") then
  5307. v.BrickColor = three
  5308. v.Material = "Ice"
  5309. end
  5310. end
  5311. for i, v in pairs(m2:GetChildren()) do
  5312. if v:IsA("Part") then
  5313. v.BrickColor = four
  5314. v.Material = "Ice"
  5315. end
  5316. end
  5317. for i, v in pairs(m3:GetChildren()) do
  5318. if v:IsA("Part") then
  5319. v.BrickColor = five
  5320. v.Material = "Neon"
  5321. end
  5322. end
  5323. for i, v in pairs(extrawingmod1:GetChildren()) do
  5324. if v:IsA("Part") then
  5325. v.Transparency = exonetran
  5326. v.BrickColor = exone
  5327. v.Material = "Neon"
  5328. end
  5329. end
  5330. for i, v in pairs(extrawingmod2:GetChildren()) do
  5331. if v:IsA("Part") then
  5332. v.Transparency = extwotran
  5333. v.BrickColor = extwo
  5334. v.Material = "Neon"
  5335. end
  5336. end
  5337. end
  5338.  
  5339.  
  5340. function normalmog()
  5341. attack = true
  5342. hum.WalkSpeed = 0
  5343. CFuncs["Sound"].Create("rbxassetid://2556945475", root, 35, 1.25)
  5344. bosschatfunc("YOUR EXISTANCE IS WASTED!!!!!!",MAINRUINCOLOR.Color,1)
  5345. for i = 0,6,0.1 do
  5346. swait()
  5347. 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)
  5348. 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)
  5349. 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)
  5350. 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)
  5351. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5352. 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)
  5353. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5354. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5355. end
  5356. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  5357. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  5358. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  5359. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  5360. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  5361. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  5362. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  5363. rainbowmode = false
  5364. chaosmode = false
  5365. ModeOfGlitch = 1
  5366. storehumanoidWS = 16
  5367. newTheme("rbxassetid://614032233",48.6,1,1.25)
  5368. RecolorTextAndRename("Glaze",Color3.new(0,1,0),Color3.new(0,2,0),"Antique")
  5369. CameraEnshaking(5,2.5)
  5370. MAINRUINCOLOR = BrickColor.new("Forest green")
  5371. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5372. for i = 0, 49 do
  5373. 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)
  5374. end
  5375. for i = 0, 24 do
  5376. 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)
  5377. slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,350)/250,BrickColor.new("White"))
  5378. end
  5379. for i = 0,3,0.1 do
  5380. 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)
  5381. end
  5382. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  5383. for i = 0,2,0.1 do
  5384. swait()
  5385. 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)
  5386. 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)
  5387. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  5388. 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)
  5389. 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)
  5390. 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)
  5391. end
  5392. hum.WalkSpeed = storehumanoidWS
  5393. attack = false
  5394. end
  5395.  
  5396. function attackone()
  5397. attack = true
  5398. for i = 0,1,0.1 do
  5399. swait()
  5400. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3)
  5401. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3)
  5402. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
  5403. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5404. 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(0)),.3)
  5405. 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(10),math.rad(0)),.3)
  5406. end
  5407. local distlook = 5
  5408. for i = 0, 4 do
  5409. swait(2)
  5410. CameraEnshaking(2,3)
  5411. local hite = Instance.new("Part", char)
  5412. hite.Anchored = true
  5413. hite.CanCollide = false
  5414. hite.FormFactor = 3
  5415. hite.Name = "Ring"
  5416. hite.Material = "Neon"
  5417. hite.Size = Vector3.new(1, 1, 1)
  5418. hite.Transparency = 1
  5419. hite.TopSurface = 0
  5420. hite.BottomSurface = 0
  5421. hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook
  5422. sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR)
  5423. sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR)
  5424. MagniDamage(hite, 10, 15,35, 0, "Normal")
  5425. for i = 0, 2 do
  5426. sphereMK(2,0.2,"Add",rarm.CFrame*CFrame.Angles(math.rad(-90+math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  5427. sphereMK(3,0.2,"Add",hite.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,MAINRUINCOLOR,0)
  5428. sphereMK(6,0.35,"Add",hite.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,MAINRUINCOLOR,0)
  5429. end
  5430. CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1)
  5431. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6)
  5432. game:GetService("Debris"):AddItem(hite, 5)
  5433. distlook = distlook + 10
  5434. end
  5435. attack = false
  5436. end
  5437.  
  5438. function attacktwo()
  5439. attack = true
  5440. for i = 0,1,0.1 do
  5441. swait()
  5442. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  5443. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  5444. 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)
  5445. 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)
  5446. 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)
  5447. 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)
  5448. end
  5449. CameraEnshaking(3,4)
  5450. MagniDamage(root, 12, 15,30, 0, "Normal")
  5451. sphere2(5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
  5452. sphere2(7.5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
  5453. sphere2(10,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
  5454. coroutine.resume(coroutine.create(function()
  5455. local eff = Instance.new("ParticleEmitter",root)
  5456. eff.Texture = "rbxassetid://363275192"
  5457. eff.LightEmission = 0.95
  5458. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5459. eff.Rate = 10000
  5460. eff.Lifetime = NumberRange.new(1)
  5461. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  5462. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  5463. eff.Speed = NumberRange.new(10,125)
  5464. eff.Drag = 5
  5465. eff.Rotation = NumberRange.new(-500,500)
  5466. eff.VelocitySpread = 9000
  5467. eff.RotSpeed = NumberRange.new(-50,50)
  5468. local eff2 = eff:Clone()
  5469. eff2.Parent = root
  5470. eff2.Texture = "rbxassetid://284205403"
  5471. eff2.Rate = 10000
  5472. eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  5473. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  5474. eff2.Drag = 5
  5475. eff2.Speed = NumberRange.new(10,50)
  5476. eff2.Rotation = NumberRange.new(-500,500)
  5477. eff2.VelocitySpread = 9000
  5478. wait(0.25)
  5479. eff2.Enabled = false
  5480. eff.Enabled = false
  5481. wait(3)
  5482. eff2:Destroy()
  5483. eff:Destroy()
  5484. end))
  5485. for i = 0, 9 do
  5486. sphere2(7.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)
  5487. end
  5488. for i = 0, 24 do
  5489. local rsiz = math.random(5,20)
  5490. sphereMK(math.random(1,5),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)
  5491. end
  5492. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
  5493. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
  5494. CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
  5495. for i = 0,2,0.1 do
  5496. swait()
  5497. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  5498. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  5499. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  5500. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  5501. 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)
  5502. 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)
  5503. end
  5504. attack = false
  5505. end
  5506.  
  5507. function attackthree()
  5508. attack = true
  5509. local keptcolor = MAINRUINCOLOR
  5510. CFuncs["Sound"].Create("rbxassetid://1042700914", root, 2, 1.75)
  5511. for i = 0,1,0.1 do
  5512. swait()
  5513. sphere2(6,"Add",root.CFrame + root.CFrame.lookVector*2.5,vt(3,3,3),0.01,0.01,0.01,MAINRUINCOLOR)
  5514. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.5)
  5515. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.5)
  5516. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(-40)), 0.5)
  5517. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(40)), 0.5)
  5518. 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(0)),.5)
  5519. 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)),.5)
  5520. end
  5521. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 1.5, 0.9)
  5522. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 0.9)
  5523. local angle = -25
  5524. coroutine.resume(coroutine.create(function()
  5525. for i = 0, 2 do
  5526. local orb = Instance.new("Part", char)
  5527. orb.BrickColor = MAINRUINCOLOR
  5528. orb.CanCollide = false
  5529. orb.FormFactor = 3
  5530. orb.Name = "Ring"
  5531. orb.Material = "Neon"
  5532. orb.Size = Vector3.new(1, 1, 1)
  5533. orb.Transparency = 0.5
  5534. orb.TopSurface = 0
  5535. orb.BottomSurface = 0
  5536. local orbm = Instance.new("SpecialMesh", orb)
  5537. orbm.MeshType = "Sphere"
  5538. orbm.Name = "SizeMesh"
  5539. orbm.Scale = vt(3,3,3)
  5540. orb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(angle),0) + root.CFrame.lookVector*2.5
  5541. local bv = Instance.new("BodyVelocity")
  5542. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5543. bv.velocity = orb.CFrame.lookVector*100
  5544. bv.Parent = orb
  5545. game:GetService("Debris"):AddItem(orb, 10)
  5546. sphere2(6,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.15,0.15,0.15,keptcolor)
  5547. sphere2(9,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.15,0.15,0.15,keptcolor)
  5548. coroutine.resume(coroutine.create(function()
  5549. MagniDamage(orb, 6, 8,15, 0, "Normal")
  5550. for i = 0, 7 do
  5551. swait(2.5)
  5552. CameraEnshaking(1,2)
  5553. MagniDamage(orb, 6, 8,15, 0, "Normal")
  5554. CFuncs["Sound"].Create("rbxassetid://1042693018", orb, 1.5, 1.5)
  5555. for i = 0, 4 do
  5556. local rsiz = math.random(5,10)
  5557. sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,1,0.5),-0.0025,0.25,-0.0025,keptcolor)
  5558. sphereMK(math.random(2,6),0.15,"Add",orb.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)
  5559. end
  5560. sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.1,0.1,0.1,keptcolor)
  5561. sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.1,0.1,0.1,keptcolor)
  5562. end
  5563. orb.Transparency = 1
  5564. orb.Anchored = false
  5565. wait(10)
  5566. orb:Destroy()
  5567. end))
  5568. angle = angle + 25
  5569. end
  5570. end))
  5571. for i = 0,1,0.1 do
  5572. swait()
  5573. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  5574. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  5575. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.3)
  5576. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  5577. 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)
  5578. 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)
  5579. end
  5580. attack = false
  5581. end
  5582. ----------------------------------- Abilities
  5583.  
  5584. function ExtinctiveHeartbreak()
  5585. local targetted = nil
  5586. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5587. targetted = mouse.Target.Parent
  5588. end
  5589. if targetted ~= nil then
  5590. attack = true
  5591. bosschatfunc("I AM THE MIGHTIEST!!",MAINRUINCOLOR.Color,1)
  5592. CFuncs["EchoSound"].Create("rbxassetid://357202141", char, 1.5, 1,0,10,0.15,0.5,1)
  5593. CFuncs["EchoSound"].Create("rbxassetid://357202141", root, 10, 1,0,10,0.15,0.5,1)
  5594. CFuncs["Sound"].Create("rbxassetid://2556945475", root, 2.5,1)
  5595. for i = 0, 9 do
  5596. 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)
  5597. end
  5598. for i = 0, 24 do
  5599. 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)
  5600. end
  5601. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5602. local originalpos = root.CFrame
  5603. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  5604. for i = 0, 9 do
  5605. 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)
  5606. end
  5607. for i = 0, 24 do
  5608. 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)
  5609. end
  5610. hum.WalkSpeed = 0
  5611. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5612. local radm = math.random(1,3)
  5613. if radm == 1 then
  5614. bosschatfunc("I AM THE MIGHTIEST!!!",MAINRUINCOLOR.Color,2)
  5615. elseif radm == 2 then
  5616. bosschatfunc("I AM THE MIGHTIEST!!!",MAINRUINCOLOR.Color,2)
  5617. elseif radm == 3 then
  5618. bosschatfunc("I AM THE MIGHTIEST!!!",MAINRUINCOLOR.Color,2)
  5619. end
  5620. for i = 0,2,0.1 do
  5621. swait()
  5622. 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)
  5623. 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)
  5624. 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)
  5625. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5626. 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)
  5627. 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)
  5628. end
  5629. CFuncs["Sound"].Create("rbxassetid://153092227", root, 0.5,1)
  5630. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 2, 1,0,10,0.25,0.5,1)
  5631. for i = 0,2,0.1 do
  5632. swait()
  5633. coroutine.resume(coroutine.create(function()
  5634. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5635. for i,v in pairs(targetted:GetChildren()) do
  5636. if v:IsA("Part") or v:IsA("MeshPart") then
  5637. v.Velocity = vt(0,0,0)
  5638. end
  5639. end
  5640. end))
  5641. 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)
  5642. 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)
  5643. 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)
  5644. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  5645. 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)
  5646. 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)
  5647. end
  5648. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 0.5, 1,0,10,0.25,0.5,1)
  5649. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 0.5, 0.9,0,10,0.25,0.5,1)
  5650. for i = 0, 1 do
  5651. CFuncs["EchoSound"].Create("rbxassetid://159882598", char, 2, 1,0.1,10,0.15,0.5,1)
  5652. end
  5653. CFuncs["EchoSound"].Create("rbxassetid://159882598", root, 15, 1,0.1,10,0.15,0.5,1)
  5654. --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  5655. for i = 0,4,0.1 do
  5656. swait()
  5657. coroutine.resume(coroutine.create(function()
  5658. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5659. dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5660. local at1 = Instance.new("Attachment",dis)
  5661. at1.Position = vt(-25000,0,0)
  5662. local at2 = Instance.new("Attachment",dis)
  5663. at2.Position = vt(25000,0,0)
  5664. local trl = Instance.new('Trail',dis)
  5665. trl.Attachment0 = at1
  5666. trl.FaceCamera = true
  5667. trl.Attachment1 = at2
  5668. trl.Texture = "rbxassetid://1049219073"
  5669. trl.LightEmission = 1
  5670. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5671. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  5672. trl.Lifetime = 5
  5673. local bv = Instance.new("BodyVelocity")
  5674. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5675. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5676. bv.Parent = dis
  5677. game:GetService("Debris"):AddItem(dis, 5)
  5678. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5679. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  5680. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  5681. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  5682. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  5683. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  5684. 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)
  5685. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  5686. for i = 0, 2 do
  5687. 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"))
  5688. end
  5689. 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)
  5690. for i,v in pairs(targetted:GetChildren()) do
  5691. if v:IsA("Part") or v:IsA("MeshPart") then
  5692. v.Velocity = vt(0,0,0)
  5693. end
  5694. end
  5695. end))
  5696. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  5697. 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)
  5698. 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)
  5699. 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)
  5700. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  5701. 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)
  5702. 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)
  5703. end
  5704. hum.CameraOffset = vt(0,0,0)
  5705. for i = 0, 49 do
  5706. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5707. 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)))
  5708. local at1 = Instance.new("Attachment",dis)
  5709. at1.Position = vt(-50000,0,0)
  5710. local at2 = Instance.new("Attachment",dis)
  5711. at2.Position = vt(50000,0,0)
  5712. local trl = Instance.new('Trail',dis)
  5713. trl.Attachment0 = at1
  5714. trl.FaceCamera = true
  5715. trl.Attachment1 = at2
  5716. trl.Texture = "rbxassetid://1049219073"
  5717. trl.LightEmission = 1
  5718. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5719. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  5720. trl.Lifetime = 5
  5721. local bv = Instance.new("BodyVelocity")
  5722. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5723. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5724. bv.Parent = dis
  5725. game:GetService("Debris"):AddItem(dis, 5)
  5726. end
  5727. for i = 0, 49 do
  5728. 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)
  5729. 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"))
  5730. end
  5731. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  5732. for i = 0, 1 do
  5733. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  5734. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  5735. end
  5736. for i = 0, 4 do
  5737. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  5738. end
  5739. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  5740. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  5741. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  5742. dmg(targetted)
  5743. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5744. for i = 0, 9 do
  5745. 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)
  5746. end
  5747. for i = 0, 24 do
  5748. 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)
  5749. end
  5750. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5751. root.CFrame = originalpos
  5752. for i = 0, 9 do
  5753. 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)
  5754. end
  5755. for i = 0, 24 do
  5756. 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)
  5757. end
  5758. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5759. attack = false
  5760. hum.WalkSpeed = storehumanoidWS
  5761. end
  5762. end
  5763.  
  5764. function CorruptionEvent()
  5765. attack = true
  5766. hum.WalkSpeed = 0
  5767. bosschatfunc("I'LL CRUSH YOU!",MAINRUINCOLOR.Color,1)
  5768. CFuncs["EchoSound"].Create("rbxassetid://358080519", char, 1.5, 1,0,10,0.15,0.5,1)
  5769. CFuncs["EchoSound"].Create("rbxassetid://358080519", root, 10, 1,0,10,0.15,0.5,1)
  5770. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5771. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5772. local keptcolor = MAINRUINCOLOR
  5773. for i = 0,4,0.1 do
  5774. swait()
  5775. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5776. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5777. 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)
  5778. 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)
  5779. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  5780. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  5781. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  5782. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5783. end
  5784. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5785. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  5786. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  5787. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5788. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5789. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5790. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  5791. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  5792. hum.CameraOffset = vt(0,0,0)
  5793. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5794. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5795. for i = 0, 24 do
  5796. 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"))
  5797. end
  5798. local rrot = 0
  5799. coroutine.resume(coroutine.create(function()
  5800. for i = 0, 4 do
  5801. rrot = rrot + 45
  5802. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5803. xa.Anchored = true
  5804. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5805. xb.Anchored = true
  5806. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5807. xc.Anchored = true
  5808. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5809. xd.Anchored = true
  5810. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  5811. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  5812. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  5813. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  5814. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  5815. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  5816. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  5817. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  5818. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  5819. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  5820. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  5821. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  5822. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  5823. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  5824. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  5825. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  5826. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5827. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5828. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5829. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5830. for i = 0, 9 do
  5831. 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"))
  5832. 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"))
  5833. 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"))
  5834. 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"))
  5835. end
  5836. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5837. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5838. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5839. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5840. 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)
  5841. 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)
  5842. 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)
  5843. 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)
  5844. 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))
  5845. 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))
  5846. 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))
  5847. 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))
  5848. game:GetService("Debris"):AddItem(xa, 5)
  5849. game:GetService("Debris"):AddItem(xb, 5)
  5850. game:GetService("Debris"):AddItem(xc, 5)
  5851. game:GetService("Debris"):AddItem(xd, 5)
  5852. coroutine.resume(coroutine.create(function()
  5853. for i = 0, 19 do
  5854. swait()
  5855. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5856. end
  5857. hum.CameraOffset = vt(0,0,0)
  5858. end))
  5859. swait(9)
  5860. end
  5861. end))
  5862. for i = 0,2,0.1 do
  5863. swait()
  5864. 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)
  5865. 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)
  5866. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  5867. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  5868. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  5869. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5870. end
  5871. attack = false
  5872. hum.WalkSpeed = storehumanoidWS
  5873. end
  5874.  
  5875. function EndGROUND()
  5876. attack = true
  5877. hum.WalkSpeed = 0
  5878. bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
  5879. --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5880. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5881. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  5882. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  5883. local keptcolor = MAINRUINCOLOR
  5884. for i = 0,4,0.1 do
  5885. swait()
  5886. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5887. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5888. 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"))
  5889. 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)
  5890. 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)
  5891. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  5892. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  5893. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  5894. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5895. end
  5896. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5897. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5898. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5899. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5900. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  5901. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  5902. coroutine.resume(coroutine.create(function()
  5903. local shval = 10
  5904. for i = 0, 99 do
  5905. swait()
  5906. shval = shval - 0.1
  5907. hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  5908. end
  5909. hum.CameraOffset = vt(0,0,0)
  5910. end))
  5911. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5912. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5913. for i = 0, 24 do
  5914. 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"))
  5915. end
  5916. local rrot = 0
  5917. local xam = 1
  5918. coroutine.resume(coroutine.create(function()
  5919. for i = 0, 14 do
  5920. --swait()
  5921. rrot = rrot + 40*xam
  5922. xam = xam + 0.25
  5923. local bonus = xam
  5924. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  5925. xa.Anchored = true
  5926. xa.Color = Color3.new(0,0,0)
  5927. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  5928. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  5929. local xc = 0
  5930. coroutine.resume(coroutine.create(function()
  5931. for i = 0, 99 do
  5932. swait()
  5933. xc = xc + 0.01
  5934. xa.Color = Color3.new(xc,0,0)
  5935. end
  5936. xa.Transparency = 1
  5937. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  5938. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  5939. for i = 0, 9 do
  5940. 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"))
  5941. end
  5942. 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)
  5943. 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)
  5944. 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))
  5945. game:GetService("Debris"):AddItem(xa, 5)
  5946. coroutine.resume(coroutine.create(function()
  5947. for i = 0, 19 do
  5948. swait()
  5949. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5950. end
  5951. hum.CameraOffset = vt(0,0,0)
  5952. end))
  5953. end))
  5954. end
  5955. end))
  5956. for i = 0,2,0.1 do
  5957. swait()
  5958. 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)
  5959. 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)
  5960. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  5961. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  5962. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  5963. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5964. end
  5965. attack = false
  5966. hum.WalkSpeed = storehumanoidWS
  5967. end
  5968.  
  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("So this is it..",MAINRUINCOLOR.Color,1)
  5977. elseif radm == 2 then
  5978. bosschatfunc("I really don't have a choice...",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://1535994940", 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(MULTIRUINCOLOR),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(MULTIRUINCOLOR))
  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. function RapidBurst()
  6182. attack = true
  6183. hum.WalkSpeed = 0
  6184. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  6185. CFuncs["Sound"].Create("rbxassetid://1097266621", root, 10, 0.5)
  6186. CFuncs["Sound"].Create("rbxassetid://138677306", root, 10, 0.5)
  6187. CFuncs["EchoSound"].Create("rbxassetid://358080429", char, 4, 1,0,10,0.15,0.5,1)
  6188. CFuncs["EchoSound"].Create("rbxassetid://2014087015", char, 4, 1,0,10,0.15,0.5,1)
  6189. bosschatfunc("ENOUGH!!",MAINRUINCOLOR.Color,2)
  6190. local keptcolor = MAINRUINCOLOR
  6191. for i = 0,8,0.1 do
  6192. swait()
  6193. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6194. 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())
  6195. 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)
  6196. 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)
  6197. 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)
  6198. 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)
  6199. 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)
  6200. 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)
  6201. 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)
  6202. end
  6203. for i = 0, 99 do
  6204. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6205. 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)))
  6206. local at1 = Instance.new("Attachment",dis)
  6207. at1.Position = vt(-25000,0,0)
  6208. local at2 = Instance.new("Attachment",dis)
  6209. at2.Position = vt(25000,0,0)
  6210. local trl = Instance.new('Trail',dis)
  6211. trl.Attachment0 = at1
  6212. trl.FaceCamera = true
  6213. trl.Attachment1 = at2
  6214. trl.Texture = "rbxassetid://1049219073"
  6215. trl.LightEmission = 1
  6216. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6217. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6218. trl.Lifetime = 5
  6219. local bv = Instance.new("BodyVelocity")
  6220. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6221. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6222. bv.Parent = dis
  6223. game:GetService("Debris"):AddItem(dis, 5)
  6224. end
  6225. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6226. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6227. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6228. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6229. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6230. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6231. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6232. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6233. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6234. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6235. hum.CameraOffset = vt(0,0,0)
  6236. for i = 0, 24 do
  6237. 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())
  6238. end
  6239. local distam = 0
  6240. coroutine.resume(coroutine.create(function()
  6241. for i = 0, 99 do
  6242. wait()
  6243. distam = distam + 1
  6244. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6245. xa.Anchored = true
  6246. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  6247. game:GetService("Debris"):AddItem(xa, 5)
  6248. for i = 0, 4 do
  6249. 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())
  6250. end
  6251. coroutine.resume(coroutine.create(function()
  6252. local eff = Instance.new("ParticleEmitter",xa)
  6253. eff.Texture = "rbxassetid://2273224484"
  6254. eff.LightEmission = 1
  6255. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6256. eff.Rate = 500000
  6257. eff.Lifetime = NumberRange.new(1,3)
  6258. 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)})
  6259. 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)})
  6260. eff.Speed = NumberRange.new(50,500)
  6261. eff.Drag = 5
  6262. eff.Rotation = NumberRange.new(-500,500)
  6263. eff.VelocitySpread = 9000
  6264. eff.RotSpeed = NumberRange.new(-50,50)
  6265. wait(0.25)
  6266. eff.Enabled = false
  6267. end))
  6268. coroutine.resume(coroutine.create(function()
  6269. for i = 0, 19 do
  6270. swait()
  6271. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  6272. end
  6273. hum.CameraOffset = vt(0,0,0)
  6274. end))
  6275. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6276. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6277. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6278. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6279. end
  6280. end))
  6281. attack = false
  6282. hum.WalkSpeed = storehumanoidWS
  6283. end
  6284.  
  6285.  
  6286. function FallenOrbs()
  6287. attack = true
  6288. hum.WalkSpeed = 2
  6289. local keptcolor = MAINRUINCOLOR
  6290. CFuncs["EchoSound"].Create("rbxassetid://358080470", char, 1.5, 1,0,10,0.15,0.5,1)
  6291. CFuncs["EchoSound"].Create("rbxassetid://358080470", root, 10, 1,0,10,0.15,0.5,1)
  6292. local radm = math.random(1,3)
  6293. if radm == 1 then
  6294. bosschatfunc("Sorry...",MAINRUINCOLOR.Color,1)
  6295. elseif radm == 2 then
  6296. bosschatfunc("WHY WON'T YOU DIE!!!!",MAINRUINCOLOR.Color,1)
  6297. elseif radm == 3 then
  6298. bosschatfunc("IM SORRY JUST DIE!!",MAINRUINCOLOR.Color,1)
  6299. end
  6300. coroutine.resume(coroutine.create(function()
  6301. for i = 0, 29 do
  6302. swait(2)
  6303. local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
  6304. dis.Anchored = true
  6305. CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  6306. dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35))
  6307. CreateMesh(dis,"Sphere",2,2,2)
  6308. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  6309. 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"))
  6310. coroutine.resume(coroutine.create(function()
  6311. wait(0.5)
  6312. dis.Anchored = false
  6313. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 9, 1,0,2,0.15,0.1,1)
  6314. local at1 = Instance.new("Attachment",dis)
  6315. at1.Position = vt(-1,0,0)
  6316. local at2 = Instance.new("Attachment",dis)
  6317. at2.Position = vt(1,0,0)
  6318. local trl = Instance.new('Trail',dis)
  6319. trl.Attachment0 = at1
  6320. trl.FaceCamera = true
  6321. trl.Attachment1 = at2
  6322. trl.Texture = "rbxassetid://1049219073"
  6323. trl.LightEmission = 1
  6324. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6325. trl.Color = ColorSequence.new(dis.Color)
  6326. trl.Lifetime = 0.6
  6327. local a = Instance.new("Part",workspace)
  6328. a.Name = "Direction"
  6329. a.Anchored = true
  6330. a.BrickColor = bc("Bright red")
  6331. a.Material = "Neon"
  6332. a.Transparency = 1
  6333. a.CanCollide = false
  6334. local ray = Ray.new(
  6335. dis.CFrame.p, -- origin
  6336. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6337. )
  6338. local ignore = dis
  6339. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6340. a.BottomSurface = 10
  6341. a.TopSurface = 10
  6342. local distance = (dis.CFrame.p - position).magnitude
  6343. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6344. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6345. dis.CFrame = a.CFrame
  6346. a:Destroy()
  6347. local bv = Instance.new("BodyVelocity")
  6348. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6349. bv.velocity = dis.CFrame.lookVector*500
  6350. bv.Parent = dis
  6351. game:GetService("Debris"):AddItem(dis, 5)
  6352. local hitted = false
  6353. coroutine.resume(coroutine.create(function()
  6354. dis.Touched:connect(function(hit)
  6355. if hitted == false and hit.Parent ~= char then
  6356. hitted = true
  6357. CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 5, 0.8,0,10,0.15,0.5,1)
  6358. MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  6359. sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color)
  6360. sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  6361. coroutine.resume(coroutine.create(function()
  6362. for i = 0, 4 do
  6363. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6364. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6365. local at1 = Instance.new("Attachment",disr)
  6366. at1.Position = vt(-10,0,0)
  6367. local at2 = Instance.new("Attachment",disr)
  6368. at2.Position = vt(10,0,0)
  6369. local trl = Instance.new('Trail',disr)
  6370. trl.Attachment0 = at1
  6371. trl.FaceCamera = true
  6372. trl.Attachment1 = at2
  6373. trl.Texture = "rbxassetid://2342682798"
  6374. trl.LightEmission = 1
  6375. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6376. trl.Color = ColorSequence.new(disr.Color)
  6377. trl.Lifetime = 0.5
  6378. local bv = Instance.new("BodyVelocity")
  6379. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6380. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  6381. bv.Parent = disr
  6382. local val = 0
  6383. coroutine.resume(coroutine.create(function()
  6384. swait(30)
  6385. for i = 0, 9 do
  6386. swait()
  6387. val = val + 0.1
  6388. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6389. end
  6390. game:GetService("Debris"):AddItem(disr, 3)
  6391. end))
  6392. end
  6393. local eff = Instance.new("ParticleEmitter",dis)
  6394. eff.Texture = "rbxassetid://1049219073"
  6395. eff.LightEmission = 1
  6396. eff.Color = ColorSequence.new(dis.Color)
  6397. eff.Rate = 500000
  6398. eff.Lifetime = NumberRange.new(0.5,2)
  6399. 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)})
  6400. 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)})
  6401. eff.Speed = NumberRange.new(20,250)
  6402. eff.Drag = 5
  6403. eff.Rotation = NumberRange.new(-500,500)
  6404. eff.VelocitySpread = 9000
  6405. eff.RotSpeed = NumberRange.new(-50,50)
  6406. wait(0.5)
  6407. eff.Enabled = false
  6408. end))
  6409. for i = 0, 4 do
  6410. 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"))
  6411. end
  6412. coroutine.resume(coroutine.create(function()
  6413. for i = 0, 19 do
  6414. swait()
  6415. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6416. end
  6417. hum.CameraOffset = vt(0,0,0)
  6418. end))
  6419. dis.Anchored = true
  6420. dis.Transparency = 1
  6421. wait(8)
  6422. dis:Destroy()
  6423. end
  6424. end)
  6425. end))
  6426. end))
  6427. end
  6428. end))
  6429. for i = 0,9,0.1 do
  6430. swait()
  6431. 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)
  6432. 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)
  6433. 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)
  6434. 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)
  6435. 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)
  6436. 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)
  6437. 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)
  6438. end
  6439. attack = false
  6440. hum.WalkSpeed = storehumanoidWS
  6441. end
  6442.  
  6443. function EquinoxOrbs()
  6444. hum.WalkSpeed = 0
  6445. attack = true
  6446. for i = 0,1,0.1 do
  6447. swait()
  6448. 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)
  6449. 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)
  6450. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6451. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6452. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  6453. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  6454. end
  6455. --sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  6456. --sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  6457. for i = 0, 24 do
  6458. --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"))
  6459. end
  6460. bosschatfunc("TAKE THIS!",MAINRUINCOLOR.Color,1)
  6461. CFuncs["EchoSound"].Create("rbxassetid://313205954", char, 4, 1,0,10,0.15,0.5,1)
  6462. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  6463. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  6464. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  6465. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  6466. for i = 0,1,0.1 do
  6467. swait()
  6468. 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)
  6469. 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)
  6470. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6471. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6472. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  6473. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  6474. end
  6475. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  6476. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  6477. for i = 0, 24 do
  6478. 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"))
  6479. end
  6480. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  6481. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  6482. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  6483. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  6484. for i = 0,4,0.1 do
  6485. swait()
  6486. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  6487. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  6488. CreateMesh(dis,"Sphere",1,1,1)
  6489. dis.Anchored = true
  6490. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  6491. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
  6492. CreateMesh(dis2,"Sphere",1,1,1)
  6493. dis2.Anchored = true
  6494. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  6495. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  6496. sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  6497. coroutine.resume(coroutine.create(function()
  6498. swait(60)
  6499. dis.Transparency = 1
  6500. dis2.Transparency = 1
  6501. coroutine.resume(coroutine.create(function()
  6502. for i = 0, 19 do
  6503. swait()
  6504. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  6505. end
  6506. hum.CameraOffset = vt(0,0,0)
  6507. end))
  6508. coroutine.resume(coroutine.create(function()
  6509. local eff = Instance.new("ParticleEmitter",dis)
  6510. eff.Texture = "rbxassetid://2273224484"
  6511. eff.LightEmission = 1
  6512. eff.Color = ColorSequence.new(dis.Color)
  6513. eff.Rate = 500000
  6514. eff.Lifetime = NumberRange.new(0.5,2)
  6515. 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)})
  6516. 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)})
  6517. eff.Speed = NumberRange.new(50,450)
  6518. eff.Drag = 5
  6519. eff.Rotation = NumberRange.new(-500,500)
  6520. eff.VelocitySpread = 9000
  6521. eff.RotSpeed = NumberRange.new(-50,50)
  6522. local eff2 = eff:Clone()
  6523. eff2.Parent = dis2
  6524. eff2.LightEmission = 0
  6525. eff2.Color = ColorSequence.new(dis2.Color)
  6526. wait(0.25)
  6527. eff.Enabled = false
  6528. eff2.Enabled = false
  6529. end))
  6530. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  6531. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  6532. for i = 0, 2 do
  6533. 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)
  6534. 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)
  6535. end
  6536. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  6537. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  6538. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  6539. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  6540. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  6541. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  6542. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  6543. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  6544. end))
  6545. game:GetService("Debris"):AddItem(dis, 5)
  6546. game:GetService("Debris"):AddItem(dis2, 5)
  6547. 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)
  6548. 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)
  6549. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6550. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6551. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  6552. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  6553. end
  6554. attack = false
  6555. hum.WalkSpeed = storehumanoidWS
  6556. end
  6557.  
  6558. function FallenDEMISE()
  6559. attack = true
  6560. hum.WalkSpeed = 0
  6561. local keptcolor = MAINRUINCOLOR
  6562. bosschatfunc("HOW ABOUT THIS!?",MAINRUINCOLOR.Color,3)
  6563. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  6564. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  6565. for i = 0, 15, 0.1 do
  6566. swait()
  6567. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6568. 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)))
  6569. local at1 = Instance.new("Attachment",dis)
  6570. at1.Position = vt(-25000,0,0)
  6571. local at2 = Instance.new("Attachment",dis)
  6572. at2.Position = vt(25000,0,0)
  6573. local trl = Instance.new('Trail',dis)
  6574. trl.Attachment0 = at1
  6575. trl.FaceCamera = true
  6576. trl.Attachment1 = at2
  6577. trl.Texture = "rbxassetid://1049219073"
  6578. trl.LightEmission = 1
  6579. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6580. trl.Color = ColorSequence.new(dis.Color)
  6581. trl.Lifetime = 5
  6582. local bv = Instance.new("BodyVelocity")
  6583. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6584. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6585. bv.Parent = dis
  6586. game:GetService("Debris"):AddItem(dis, 1)
  6587. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
  6588. 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"))
  6589. 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"))
  6590. 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)
  6591. 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)
  6592. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6593. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6594. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6595. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6596. end
  6597. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  6598. for i = 0, 30, 0.1 do
  6599. swait()
  6600. coroutine.resume(coroutine.create(function()
  6601. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  6602. if v:FindFirstChild('Head') then
  6603. dmg(v)
  6604. end
  6605. end
  6606. end))
  6607. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6608. 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)))
  6609. local at1 = Instance.new("Attachment",dis)
  6610. at1.Position = vt(-50000,0,0)
  6611. local at2 = Instance.new("Attachment",dis)
  6612. at2.Position = vt(50000,0,0)
  6613. local trl = Instance.new('Trail',dis)
  6614. trl.Attachment0 = at1
  6615. trl.FaceCamera = true
  6616. trl.Attachment1 = at2
  6617. trl.Texture = "rbxassetid://1049219073"
  6618. trl.LightEmission = 1
  6619. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6620. trl.Color = ColorSequence.new(dis.Color)
  6621. trl.Lifetime = 10
  6622. local bv = Instance.new("BodyVelocity")
  6623. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6624. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  6625. bv.Parent = dis
  6626. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  6627. sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
  6628. sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
  6629. 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"))
  6630. 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"))
  6631. 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"))
  6632. 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"))
  6633. for i = 0, 2 do
  6634. 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)
  6635. end
  6636. 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)
  6637. 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)
  6638. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6639. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6640. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6641. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6642. end
  6643. attack = false
  6644. hum.WalkSpeed = storehumanoidWS
  6645. end
  6646.  
  6647. function EightBitMegaBlade()
  6648. attack = true
  6649. hum.WalkSpeed = 0
  6650. hum.JumpPower = 0
  6651. CFuncs["Sound"].Create("rbxassetid://1368583274", larm, 4.5, 1.2)
  6652. local OverCut = false
  6653. cam.CameraSubject = Humanoid
  6654. cam.CameraType = "Scriptable"
  6655. coroutine.resume(coroutine.create(function()
  6656. while true do
  6657. swait()
  6658. if OverCut == false then
  6659. cam.CFrame = lerp(cam.CFrame, root.CFrame * cf(1, 1.5, -6) * ceuler(math.rad(10), math.rad(170), math.rad(-20)), 0.1)
  6660. else
  6661. break
  6662. end
  6663. end
  6664. end))
  6665. for i = 0, 10, 0.1 do
  6666. swait()
  6667. 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,50)/250,BrickColor.new("White"))
  6668. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,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.1,-0.01,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  6669. slash(math.random(20,40)/10,5,true,"Round","Add","Out",larm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.025,0.001,0.025),-0.025,BrickColor.new("White"))
  6670. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0),math.rad(-6)),.3)
  6671. 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(30),math.rad(3)),.3)
  6672. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  6673. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15),math.rad(5),math.rad(50)),.3)
  6674. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-13),math.rad(-40),math.rad(20)),.3)
  6675. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(170),math.rad(10),math.rad(0)),.3)
  6676. end
  6677. OverCut = true
  6678. local orb = Instance.new("Part", char)
  6679. orb.Anchored = true
  6680. orb.BrickColor = BrickColor.new("Toothpaste")
  6681. orb.CanCollide = false
  6682. orb.FormFactor = 3
  6683. orb.Name = "Ring"
  6684. orb.Material = "Neon"
  6685. orb.Size = Vector3.new(1, 1, 1)
  6686. orb.Transparency = 0.5
  6687. orb.TopSurface = 0
  6688. orb.BottomSurface = 0
  6689. local orbm = Instance.new("SpecialMesh", orb)
  6690. orbm.MeshType = "FileMesh"
  6691. orbm.MeshId = "rbxassetid://361629844"
  6692. orbm.Scale = vt(30,60,60)
  6693. orb.CFrame = root.CFrame*CFrame.new(0,50,0)
  6694. for i = 0, 24 do
  6695. slash(math.random(10,30)/10,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.001,0.1),math.random(50,400)/420,BrickColor.new("White"))
  6696. end
  6697. sphere2(2,"Add",orb.CFrame,vt(10,10,10),0.5,0.5,0.5,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  6698. sphere2(3,"Add",orb.CFrame,vt(10,10,10),0.75,0.75,0.75,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  6699. sphere2(4,"Add",orb.CFrame,vt(10,10,10),1,1,1,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  6700. CFuncs["Sound"].Create("rbxassetid://1368637781", orb, 7.5, 1)
  6701. local a = Instance.new("Part",workspace)
  6702. a.Name = "Direction"
  6703. a.Anchored = true
  6704. a.Transparency = 1
  6705. a.CanCollide = false
  6706. local ray = Ray.new(
  6707. orb.CFrame.p, -- origin
  6708. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  6709. )
  6710. local ignore = orb
  6711. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6712. a.BottomSurface = 10
  6713. a.TopSurface = 10
  6714. local distance = (orb.CFrame.p - position).magnitude
  6715. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6716. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  6717. orb.CFrame = a.CFrame
  6718. for i = 0, 8, 0.1 do
  6719. swait()
  6720. sphere2(5,"Add",orb.CFrame*CFrame.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)),vt(1,1,1),0.01,0.01,0.01,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  6721. ray = Ray.new(
  6722. orb.CFrame.p, -- origin
  6723. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  6724. )
  6725. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6726. distance = (orb.CFrame.p - position).magnitude
  6727. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  6728. orb.CFrame = a.CFrame
  6729. 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,50)/250,BrickColor.new("White"))
  6730. cam.CFrame = lerp(cam.CFrame, root.CFrame * cf(20, 65, 55) * ceuler(math.rad(-20), math.rad(0), math.rad(10)), 0.2)
  6731. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0),math.rad(-6)),.3)
  6732. 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(40),math.rad(3)),.3)
  6733. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  6734. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(90)),.3)
  6735. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-13),math.rad(-20),math.rad(20)),.3)
  6736. LW.C0=clerp(LW.C0,cf(-1.25,0.5,-0.5)*angles(math.rad(100),math.rad(0),math.rad(60)),.3)
  6737. end
  6738. cam.CameraType = "Custom"
  6739. orb.Anchored = false
  6740. a:Destroy()
  6741. local bv = Instance.new("BodyVelocity")
  6742. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6743. bv.velocity = orb.CFrame.lookVector*250
  6744. bv.Parent = orb
  6745. local hitted = false
  6746. CFuncs["Sound"].Create("rbxassetid://466493476", orb, 7.5, 0.7)
  6747. waveEff(2,"Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(5,1,5),0.5,0.1,BrickColor.new("Cyan"))
  6748. waveEff(4,"Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(5,1,5),0.5,0.05,BrickColor.new("Royal purple"))
  6749. coroutine.resume(coroutine.create(function()
  6750. while true do
  6751. swait(2)
  6752. if hitted == false and orb.Parent ~= nil then
  6753. slash(3,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(0.075,0.005,0.075),-0.05,BrickColor.new("White"))
  6754. elseif hitted == true and orb.Parent == nil then
  6755. break
  6756. end
  6757. end
  6758. end))
  6759. orb.Touched:connect(function(hit)
  6760. if hitted == false and hit.Parent ~= char then
  6761. hitted = true
  6762. MagniDamage(orb, 30, 72,95, 0, "Normal",153092213)
  6763. CFuncs["Sound"].Create("rbxassetid://763717897", orb, 10, 1)
  6764. CFuncs["Sound"].Create("rbxassetid://1295446488", orb, 9, 0.75)
  6765. for i = 0, 24 do
  6766. slash(math.random(15,30)/10,5,true,"Round","Add","Out",orb.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.001,0.01),math.random(125,250)/400,BrickColor.new("White"))
  6767. end
  6768. slash(1,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(0.01,0.015,0.01),1.5,BrickColor.new("White"))
  6769. slash(1,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(0.01,0.01,0.01),2,BrickColor.new("White"))
  6770. sphere2(1,"Add",orb.CFrame,vt(10,10,10),1,1,1,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  6771. sphere2(1.5,"Add",orb.CFrame,vt(10,10,10),1.1,1.1,1.1,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  6772. sphere2(2,"Add",orb.CFrame,vt(10,10,10),1.2,1.2,1.2,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  6773. orb.Anchored = true
  6774. orb.Transparency = 1
  6775. coroutine.resume(coroutine.create(function()
  6776. for i = 0, 4, 0.1 do
  6777. swait()
  6778. slash(math.random(10,50)/10,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(90 + math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.015,0.01),1.5,BrickColor.new("Royal purple"))
  6779. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  6780. end
  6781. hum.CameraOffset = vt(0,0,0)
  6782. end))
  6783. wait(10)
  6784. orb:Destroy()
  6785. end
  6786. end)
  6787. game:GetService("Debris"):AddItem(orb, 10)
  6788. for i = 0, 2, 0.1 do
  6789. swait()
  6790. 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,50)/250,BrickColor.new("White"))
  6791. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0),math.rad(-6)),.3)
  6792. 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(30),math.rad(3)),.3)
  6793. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.4,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  6794. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(70)),.3)
  6795. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-13),math.rad(-40),math.rad(20)),.3)
  6796. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-80)),.3)
  6797. end
  6798. attack = false
  6799. hum.WalkSpeed = 24
  6800. hum.JumpPower = 50
  6801. end
  6802.  
  6803. function BladeSpinAgain()
  6804. attack = true
  6805. hum.WalkSpeed = 4
  6806. hum.JumpPower = 0
  6807. CFuncs["Sound"].Create("rbxassetid://1368598393", rarmor, 2, 1)
  6808. CFuncs["Sound"].Create("rbxassetid://1368583274", rarmor, 2.5, 1)
  6809. for x = 0, 9 do
  6810. slash(5,5,true,"Round","Add","Out",rarmor.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),vt(0.05,0.01,0.05),0.05,BrickColor.new("White"))
  6811. CFuncs["Sound"].Create("rbxassetid://200633108", rarmor, 2, 1.05)
  6812. CFuncs["Sound"].Create("rbxassetid://234365573", rarmor, 2.5, 1.025)
  6813. for i = 0, 1, 0.6 do
  6814. swait()
  6815. sphereMK(5,math.random(4,25)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0)
  6816. sphereMK(5,math.random(1,15)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),math.rad(math.random(-25,25))),0.75,0.75,20,-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0)
  6817. 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,50)/250,BrickColor.new("White"))
  6818. sphere2(5,"Add",rarmor.CFrame*CFrame.new(math.random(-8,-2),0,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.1,0.1),0,0.1,0,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  6819. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6820. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-10)),.2)
  6821. 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(30),math.rad(0)),.2)
  6822. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  6823. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(60)),.3)
  6824. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(80)),.3)
  6825. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6826. end
  6827. slash(5,5,true,"Round","Add","Out",rarmor.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),vt(0.05,0.01,0.05),0.05,BrickColor.new("White"))
  6828. for i = 0, 1, 0.6 do
  6829. swait()
  6830. sphereMK(5,math.random(4,25)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0)
  6831. sphereMK(5,math.random(1,15)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),math.rad(math.random(-25,25))),0.75,0.75,20,-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0)
  6832. 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,50)/250,BrickColor.new("White"))
  6833. sphere2(5,"Add",rarmor.CFrame*CFrame.new(math.random(-8,-2),0,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.1,0.1),0,0.1,0,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  6834. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6835. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-10)),.2)
  6836. 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(30),math.rad(0)),.2)
  6837. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  6838. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(60)),.3)
  6839. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(80)),.3)
  6840. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6841. end
  6842. slash(5,5,true,"Round","Add","Out",rarmor.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),vt(0.05,0.01,0.05),0.05,BrickColor.new("White"))
  6843. for i = 0, 1, 0.6 do
  6844. swait()
  6845. sphereMK(5,math.random(4,25)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0)
  6846. sphereMK(5,math.random(1,15)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),math.rad(math.random(-25,25))),0.75,0.75,20,-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0)
  6847. 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,50)/250,BrickColor.new("White"))
  6848. sphere2(5,"Add",rarmor.CFrame*CFrame.new(math.random(-8,-2),0,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.1,0.1),0,0.1,0,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  6849. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6850. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-10)),.2)
  6851. 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(30),math.rad(0)),.2)
  6852. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  6853. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(60)),.3)
  6854. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(80)),.3)
  6855. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6856. end
  6857. slash(5,5,true,"Round","Add","Out",rarmor.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),vt(0.05,0.01,0.05),0.05,BrickColor.new("White"))
  6858. for i = 0, 1, 0.6 do
  6859. swait()
  6860. sphereMK(5,math.random(4,25)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0)
  6861. sphereMK(5,math.random(1,15)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),math.rad(math.random(-25,25))),0.75,0.75,20,-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0)
  6862. 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,50)/250,BrickColor.new("White"))
  6863. sphere2(5,"Add",rarmor.CFrame*CFrame.new(math.random(-8,-2),0,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.1,0.1),0,0.1,0,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  6864. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6865. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-10)),.2)
  6866. 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(30),math.rad(0)),.2)
  6867. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  6868. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(60)),.3)
  6869. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(80)),.3)
  6870. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6871. end
  6872. local hitb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.Random())
  6873. hitb.Anchored = true
  6874. hitb.CFrame = root.CFrame + root.CFrame.lookVector*8
  6875. hitb.CFrame = hitb.CFrame*CFrame.new(0,1,0)
  6876. MagniDamage(hitb, 8, 92,158, 0, "Normal",153092213)
  6877. sphere2(5,"Add",hitb.CFrame,vt(2.1,2.1,2),-0.02,-0.02,5,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  6878. sphere2(5,"Add",hitb.CFrame,vt(2,2,2),-0.02,-0.02,4,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  6879. for i = 0, 24 do
  6880. slash(math.random(20,100)/10,5,true,"Round","Add","Out",hitb.CFrame*CFrame.new(0,0,math.random(-60,60))*CFrame.Angles(math.rad(90),0,0),vt(0.01,0.01,0.01),math.random(10,100)/1000,BrickColor.new("White"))
  6881. end
  6882. CFuncs["Sound"].Create("rbxassetid://313205954", root, 4,1)
  6883. CFuncs["Sound"].Create("rbxassetid://1368637781", rarmor, 4,1)
  6884. CFuncs["Sound"].Create("rbxassetid://763718160", rarmor, 5, 1.1)
  6885. CFuncs["Sound"].Create("rbxassetid://782353443", rarmor, 6, 1)
  6886. --CFuncs["Sound"].Create("rbxassetid://1548538202", rarmor, 4,1)
  6887. for i = 0, 2, 0.1 do
  6888. swait()
  6889. MagniDamage(hitb, 8, 92,158, 0, "Normal",153092213)
  6890. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  6891. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-20),math.rad(-10)),.9)
  6892. 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(0)),.9)
  6893. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.9)
  6894. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-80)),.9)
  6895. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(70)),.9)
  6896. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(-60)),.9)
  6897. end
  6898. hum.CameraOffset = vt(0,0,0)
  6899. hitb:Destroy()
  6900. attack = false
  6901. hum.WalkSpeed = 24
  6902. hum.JumpPower = 50
  6903. end
  6904.  
  6905. function SpinnyBlade()
  6906. attack = true
  6907. hum.WalkSpeed = 1
  6908. hum.JumpPower = 0
  6909. CFuncs["Sound"].Create("rbxassetid://1368583274", root, 4.5, 1)
  6910. local bgui = Instance.new("BillboardGui",root)
  6911. bgui.Size = UDim2.new(25, 0, 25, 0)
  6912. local imgc = Instance.new("ImageLabel",bgui)
  6913. imgc.BackgroundTransparency = 1
  6914. imgc.ImageTransparency = 1
  6915. imgc.Size = UDim2.new(1,0,1,0)
  6916. imgc.Image = "rbxassetid://997291547"
  6917. imgc.ImageColor3 = Color3.new(0,0.5,1)
  6918. local imgc2 = imgc:Clone()
  6919. imgc2.Parent = bgui
  6920. imgc2.Position = UDim2.new(-0.5,0,-0.5,0)
  6921. imgc2.Size = UDim2.new(2,0,2,0)
  6922. imgc2.ImageColor3 = Color3.new(0.5,0,1)
  6923. for i = 0, 10, 0.1 do
  6924. swait()
  6925. imgc.ImageTransparency = imgc.ImageTransparency - 0.01
  6926. imgc.Rotation = imgc.Rotation + 1
  6927. imgc2.ImageTransparency = imgc2.ImageTransparency - 0.01
  6928. imgc2.Rotation = imgc2.Rotation - 1
  6929. bgui.Size = bgui.Size - UDim2.new(0.25, 0, 0.25, 0)
  6930. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-360,360)),math.rad(math.random(-10,10))),vt(0.1,0.01,0.1),math.random(25,50)/250,BrickColor.new("White"))
  6931. sphere2(5,"Add",rarmor.CFrame*CFrame.new(math.random(-8,-2),0,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.1,0.1),0,0.1,0,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  6932. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  6933. sphereMK(5,math.random(4,25)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0)
  6934. sphereMK(5,math.random(1,15)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),math.rad(math.random(-25,25))),0.75,0.75,20,-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0)
  6935. waveEff(5,"Add","In",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,math.rad(math.random(-360,360)),0),vt(15,0.25,15),-0.075,0.05,BrickColor.new("White"))
  6936. RH.C0=clerp(RH.C0,cf(1,-0.5,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-40),math.rad(10)),.2)
  6937. 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)),.2)
  6938. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0.1,0.2,-0.3)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  6939. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  6940. RW.C0=clerp(RW.C0,cf(1.25,0.5,-0.65)*angles(math.rad(100),math.rad(0),math.rad(-23)),.3)
  6941. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(110),math.rad(0),math.rad(-85)),.3)
  6942. end
  6943. imgc.ImageTransparency = 1
  6944. hum.CameraOffset = vt(0,0,0)
  6945. waveEff(2,"Add","Out",root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(6,10,6),0.5,0.8,BrickColor.new("White"))
  6946. waveEff(3,"Add","Out",root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(6,10,6),0.5,0.4,BrickColor.new("White"))
  6947. waveEff(4,"Add","Out",root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(6,10,6),0.5,0.2,BrickColor.new("White"))
  6948. waveEff(5,"Add","Out",root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(6,10,6),0.5,0.1,BrickColor.new("White"))
  6949. waveEff(6,"Add","Out",root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(6,10,6),0.5,0.05,BrickColor.new("White"))
  6950. for i = 0, 9 do
  6951. slash(math.random(10,25)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,0,math.random(-30,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-360,360)),math.rad(math.random(-10,10))),vt(0.1,0.01,0.1),math.random(75,250)/250,BrickColor.new("White"))
  6952. end
  6953. CFuncs["Sound"].Create("rbxassetid://430315987", root, 1.5, 1)
  6954. CFuncs["Sound"].Create("rbxassetid://1295446488", root, 3, 1)
  6955. for x = 0, 14 do
  6956. CFuncs["Sound"].Create("rbxassetid://200633281", rarmor, 1, 1.05)
  6957. CFuncs["Sound"].Create("rbxassetid://161006195", rarmor, 1.5, 1.025)
  6958. MagniDamage(tors, 10, 60,85, 0, "Normal",153092213)
  6959. CFuncs["Sound"].Create("rbxassetid://200632992", rarmor, 1.25, 1)
  6960. slash(5,5,true,"Round","Add","Out",root.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(0.05,0.01,0.05),math.random(1,10)/100,BrickColor.new("White"))
  6961. for i = 0, 1, 0.6 do
  6962. swait()
  6963. sphereMK(2,-1,"Add",root.CFrame*CFrame.new(math.random(-8,8),math.random(-8,8),math.random(-3,8))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,math.random(5,25),-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0)
  6964. root.CFrame = root.CFrame + root.CFrame.lookVector*2
  6965. root.Velocity = vt(0,0,0)
  6966. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2)
  6967. 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(0)),.2)
  6968. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  6969. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-60)),.3)
  6970. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  6971. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  6972. end
  6973. slash(5,2.5,true,"Round","Add","Out",root.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(0.05,0.01,0.05),math.random(1,10)/100,BrickColor.new("White"))
  6974. CFuncs["Sound"].Create("rbxassetid://200632992", rarmor, 1.25, 1)
  6975. MagniDamage(tors, 10, 60,85, 0, "Normal",153092213)
  6976. for i = 0, 1, 0.6 do
  6977. swait()
  6978. sphereMK(2,-1,"Add",root.CFrame*CFrame.new(math.random(-8,8),math.random(-8,8),math.random(-3,8))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,math.random(5,25),-0.0075,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0)
  6979. root.CFrame = root.CFrame + root.CFrame.lookVector*3
  6980. root.Velocity = vt(0,0,0)
  6981. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2)
  6982. 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(0)),.2)
  6983. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  6984. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-60)),.3)
  6985. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  6986. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  6987. end
  6988. slash(5,2.5,true,"Round","Add","Out",root.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(0.05,0.01,0.05),math.random(1,10)/100,BrickColor.new("White"))
  6989. CFuncs["Sound"].Create("rbxassetid://200632992", rarmor, 1.25, 1)
  6990. MagniDamage(tors, 10, 60,85, 0, "Normal",153092213)
  6991. for i = 0, 1, 0.6 do
  6992. swait()
  6993. sphereMK(2,-1,"Add",root.CFrame*CFrame.new(math.random(-8,8),math.random(-8,8),math.random(-3,8))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,math.random(5,25),-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0)
  6994. root.CFrame = root.CFrame + root.CFrame.lookVector*3
  6995. root.Velocity = vt(0,0,0)
  6996. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2)
  6997. 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(0)),.2)
  6998. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(180),math.rad(0),math.rad(90)),.3)
  6999. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-60)),.3)
  7000. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  7001. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  7002. end
  7003. slash(5,2.5,true,"Round","Add","Out",root.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(0.05,0.01,0.05),math.random(1,10)/100,BrickColor.new("White"))
  7004. CFuncs["Sound"].Create("rbxassetid://200632992", rarmor, 1.25, 1)
  7005. MagniDamage(tors, 10, 60,85, 0, "Normal",153092213)
  7006. for i = 0, 1, 0.6 do
  7007. swait()
  7008. sphereMK(2,-1,"Add",root.CFrame*CFrame.new(math.random(-8,8),math.random(-8,8),math.random(-3,8))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,math.random(5,25),-0.0075,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0)
  7009. root.CFrame = root.CFrame + root.CFrame.lookVector*3
  7010. root.Velocity = vt(0,0,0)
  7011. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2)
  7012. 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(0)),.2)
  7013. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(270),math.rad(0),math.rad(90)),.3)
  7014. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-60)),.3)
  7015. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  7016. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  7017. end
  7018. end
  7019. hum.WalkSpeed = 0
  7020. for i = 0, 5, 0.1 do
  7021. swait()
  7022. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-20)),.2)
  7023. LH.C0=clerp(LH.C0,cf(-1,-0.6,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(20),math.rad(-12)),.2)
  7024. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0.1,0.2,-0.35)*angles(math.rad(10),math.rad(0),math.rad(-40)),.2)
  7025. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(40)),.2)
  7026. RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(110)),.2)
  7027. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0)*angles(math.rad(45),math.rad(0),math.rad(-20)),.2)
  7028. end
  7029. bgui:Destroy()
  7030. attack = false
  7031. hum.WalkSpeed = 24
  7032. hum.JumpPower = 50
  7033. end
  7034. end
  7035.  
  7036. function GleamingBeam()
  7037. attack = true
  7038. bosschatfunc("IT ENDS NOW!!!",MAINRUINCOLOR.Color,3)
  7039. CFuncs["EchoSound"].Create("rbxassetid://1535995570", char, 8, 1,0,10,0.15,0.5,1)
  7040. CFuncs["EchoSound"].Create("rbxassetid://1535995570", root, 60, 1,0,10,0.15,0.5,1)
  7041. local rsiz = math.random(1,15)
  7042. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7043. hb.Anchored = true
  7044. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7045. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
  7046. for i = 0, 16, 0.1 do
  7047. swait()
  7048. rsiz = math.random(5,15)
  7049. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7050. 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)
  7051. 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)
  7052. 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)
  7053. 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)
  7054. 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)
  7055. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-40)),.1)
  7056. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  7057. LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.1)
  7058. end
  7059. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
  7060. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
  7061. for i = 0, 2 do
  7062. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
  7063. end
  7064. 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)
  7065. 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)
  7066. 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)
  7067. for i = 0, 49 do
  7068. local rsiza = math.random(1,15)
  7069. 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)
  7070. end
  7071. local a = Instance.new("Part",Character)
  7072. a.Name = "Direction"
  7073. a.Anchored = true
  7074. a.BrickColor = MAINRUINCOLOR
  7075. a.Material = "Neon"
  7076. a.Transparency = 0
  7077. a.Shape = "Cylinder"
  7078. a.CanCollide = false
  7079. local ba = Instance.new("Part",Character)
  7080. ba.Name = "HitDirect"
  7081. ba.Anchored = true
  7082. ba.BrickColor = bc("Cool yellow")
  7083. ba.Material = "Neon"
  7084. ba.Transparency = 1
  7085. ba.CanCollide = false
  7086. local ray = Ray.new(
  7087. hb.CFrame.p, -- origin
  7088. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  7089. )
  7090. local ignore = Character
  7091. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7092. a.BottomSurface = 10
  7093. a.TopSurface = 10
  7094. local distance = (hb.CFrame.p - position).magnitude
  7095. a.Size = Vector3.new(distance, 1, 1)
  7096. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7097. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7098. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7099. local msh = Instance.new("SpecialMesh",a)
  7100. msh.MeshType = "Cylinder"
  7101. msh.Scale = vt(1,4,4)
  7102. game:GetService("Debris"):AddItem(a, 30)
  7103. game:GetService("Debris"):AddItem(ba, 30)
  7104. for i = 0, 25, 0.1 do
  7105. swait()
  7106. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7107. ray = Ray.new(
  7108. hb.CFrame.p, -- origin
  7109. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  7110. )
  7111. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7112. distance = (hb.CFrame.p - position).magnitude
  7113. a.Size = Vector3.new(distance, 1, 1)
  7114. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7115. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7116. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7117. rsiz = math.random(5,25)
  7118. MagniDamage(ba, 12, 40000,900000, 0, "Normal")
  7119. 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)
  7120. for c = 0, 2 do
  7121. 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)
  7122. end
  7123. 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)
  7124. 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)
  7125. 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)
  7126. 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)
  7127. 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)
  7128. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-80)),.6)
  7129. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(80)),.6)
  7130. LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.6)
  7131. end
  7132. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
  7133. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
  7134. CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
  7135. CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
  7136. MagniDamage(ba, 30, 400000,9000000, 0, "Normal")
  7137. 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)
  7138. 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)
  7139. 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)
  7140. 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)
  7141. 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)
  7142. 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)
  7143. for i = 0, 49 do
  7144. local rsiza = math.random(1,15)
  7145. 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)
  7146. end
  7147. for i = 0, 49 do
  7148. rsiz = math.random(1,8)
  7149. 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)
  7150. end
  7151. coroutine.resume(coroutine.create(function()
  7152. for i = 0, 99 do
  7153. swait()
  7154. a.Transparency = a.Transparency + 0.01
  7155. end
  7156. a:Destroy()
  7157. ba:Destroy()
  7158. end))
  7159. hb:Destroy()
  7160. attack = false
  7161. end
  7162.  
  7163. function SHDTwist()
  7164. attack = true
  7165. hum.WalkSpeed = 2
  7166. local radm = math.random(1,4)
  7167. if radm == 1 then
  7168. bosschatfunc("YOU FOOL!",MAINRUINCOLOR.Color,1)
  7169. elseif radm == 2 then
  7170. bosschatfunc("SUBMIT TO ME!",MAINRUINCOLOR.Color,1)
  7171. elseif radm == 3 then
  7172. bosschatfunc("DIE!",MAINRUINCOLOR.Color,1)
  7173. elseif radm == 4 then
  7174. bosschatfunc("YOU DARE FIGHT ME?",MAINRUINCOLOR.Color,1)
  7175. end
  7176. CFuncs["EchoSound"].Create("rbxassetid://1448033299", rarm, 1.5,1.25)
  7177. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1.5,1.25)
  7178. local obj1 = script.chring2:Clone()
  7179. obj1.Parent = char
  7180. obj1.Transparency = 1
  7181. obj1.Size = vt(1,1,1)
  7182. obj1.Color = BrickColor.new("Pink").Color
  7183. local obj2 = script.spball:Clone()
  7184. obj2.Parent = char
  7185. obj2.Transparency = 1
  7186. obj2.Size = vt(1,1,1)
  7187. obj2.Color = MAINRUINCOLOR.Color
  7188. local cfor = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  7189. cfor.Anchored = true
  7190. cfor.CFrame = obj2.CFrame
  7191. local cef = Instance.new("ParticleEmitter",cfor)
  7192. cef.Texture = "rbxassetid://2344870656"
  7193. cef.LightEmission = 1
  7194. cef.Color = ColorSequence.new(obj2.Color)
  7195. cef.Rate = 150
  7196. cef.Lifetime = NumberRange.new(0.25)
  7197. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,1,0),NumberSequenceKeypoint.new(1,0,0)})
  7198. cef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  7199. cef.Speed = NumberRange.new(0)
  7200. local rval = 0
  7201. local eval = 1
  7202. for i = 0,7,0.1 do
  7203. swait()
  7204. rval = rval + math.random(30,40)
  7205. eval = eval + 0.45
  7206. obj1.Transparency = obj1.Transparency - 0.005
  7207. obj1.Size = obj1.Size + vt(0.3,0.3,0.1)
  7208. obj1.CFrame = root.CFrame*CFrame.new(0,1,-5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(rval))
  7209. obj2.Transparency = obj2.Transparency - 0.007
  7210. obj2.Size = obj2.Size + vt(0.15,0.15,0.15)
  7211. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,eval,0),NumberSequenceKeypoint.new(1,0,0)})
  7212. obj2.CFrame = root.CFrame*CFrame.new(0,1,-7)*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  7213. cfor.CFrame = obj2.CFrame
  7214. 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("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  7215. sphere2(10,"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.15,-0.01,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  7216. 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)
  7217. 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)
  7218. 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(-50)),.3)
  7219. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2 * math.cos(sine / 37)),math.rad(10 + 1 * math.cos(sine / 58)),math.rad(50 + 2 * math.cos(sine / 53))),.3)
  7220. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(10 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(5 + 2 * math.cos(sine / 45))),.3)
  7221. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(90 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-50 - 4 * math.cos(sine / 45))),.3)
  7222. end
  7223. cef.Enabled = false
  7224. coroutine.resume(coroutine.create(function()
  7225. for i = 0,49 do
  7226. swait()
  7227. rval = rval + 100
  7228. obj2.CFrame = obj2.CFrame*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  7229. obj2.Transparency = obj2.Transparency + 0.02
  7230. obj2.Size = obj2.Size + vt(5,5,5)
  7231. obj1.Transparency = obj1.Transparency + 0.02
  7232. obj1.Size = obj1.Size + vt(0,-0.5,-0.5)
  7233. end
  7234. obj1:Destroy()
  7235. obj2:Destroy()
  7236. cfor:Destroy()
  7237. end))
  7238. local lva = 1
  7239. local ica = 0
  7240. local cent = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  7241. CFuncs["Sound"].Create("rbxassetid://1177785010", cent, 10, 1)
  7242. cent.CFrame = root.CFrame*CFrame.Angles(0,0,0) + root.CFrame.lookVector*5
  7243. sphere2(2,"Add",cent.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  7244. sphere2(3,"Add",cent.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  7245.  
  7246. local a = Instance.new("Part",workspace)
  7247. a.Name = "Direction"
  7248. a.Anchored = true
  7249. a.BrickColor = bc("Bright red")
  7250. a.Material = "Neon"
  7251. a.Transparency = 1
  7252. a.CanCollide = false
  7253. local ray = Ray.new(
  7254. cent.CFrame.p, -- origin
  7255. (mouse.Hit.p - cent.CFrame.p).unit * 500 -- direction
  7256. )
  7257. local ignore = cent
  7258. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7259. a.BottomSurface = 10
  7260. a.TopSurface = 10
  7261. local distance = (cent.CFrame.p - position).magnitude
  7262. a.Size = Vector3.new(0.1, 0.1, 0.1)
  7263. a.CFrame = CFrame.new(cent.CFrame.p, position) * CFrame.new(0, 0, 0)
  7264. cent.CFrame = a.CFrame
  7265. a:Destroy()
  7266. local bv = Instance.new("BodyVelocity")
  7267. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7268. bv.velocity = cent.CFrame.lookVector*0
  7269. bv.Parent = cent
  7270. game:GetService("Debris"):AddItem(cent, 20)
  7271. local hitted = false
  7272. coroutine.resume(coroutine.create(function()
  7273. while true do
  7274. swait(1)
  7275. if hitted == false and cent.Parent ~= nil then
  7276. ica = ica + 4*lva
  7277. lva = lva + 0.1
  7278. bv.velocity = cent.CFrame.lookVector*ica
  7279. sphere2(3,"Add",cent.CFrame,vt(5,5,5),-0.05,-0.05,-0.05,BrickColor.new("Pastel light blue"))
  7280. sphere2(5,"Add",cent.CFrame*CFrame.Angles(0,0,math.rad(ica))*CFrame.new(0,-5,0),vt(4,4,4),-0.04,-0.04,-0.04,BrickColor.new("Pink"))
  7281. sphere2(5,"Add",cent.CFrame*CFrame.Angles(0,0,math.rad(ica))*CFrame.new(0,5,0),vt(4,4,4),-0.04,-0.04,-0.04,BrickColor.new("Pastel light blue"))
  7282. elseif hitted == true or cent.Parent == nil then
  7283. break
  7284. end
  7285. end
  7286. end))
  7287. coroutine.resume(coroutine.create(function()
  7288. cent.Touched:connect(function(hit)
  7289. if hitted == false and hit.Parent ~= char then
  7290. hitted = true
  7291. cent.Anchored = true
  7292. CFuncs["Sound"].Create("rbxassetid://782353443", cent, 10, 1)
  7293. CFuncs["Sound"].Create("rbxassetid://1368637781", cent, 8, 1)
  7294. CFuncs["Sound"].Create("rbxassetid://763717897", cent, 5, 1)
  7295. CFuncs["EchoSound"].Create("rbxassetid://1177785010", cent, 8, 1.1,0,10,0.15,0.5,1)
  7296. MagniDamage(cent, 50, 50,99999, 0, "Normal")
  7297. sphere2(2,"Add",cent.CFrame,vt(1,1,1),1,1,1,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  7298. sphere2(3,"Add",cent.CFrame,vt(1,1,1),1.2,1.2,1.2,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  7299. for i = 0, 19 do
  7300. slash(math.random(10,50)/10,5,true,"Round","Add","Out",cent.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,400)/250,BrickColor.new("Pink"))
  7301. slash(math.random(10,50)/10,5,true,"Round","Add","Out",cent.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,300)/250,BrickColor.new("Pastel light blue"))
  7302. end
  7303. coroutine.resume(coroutine.create(function()
  7304. local eff = Instance.new("ParticleEmitter",cent)
  7305. eff.Texture = "rbxassetid://2344870656"
  7306. eff.LightEmission = 1
  7307. eff.Color = ColorSequence.new(BrickColor.new("Pastel light blue").Color)
  7308. eff.Rate = 10000000
  7309. eff.Enabled = true
  7310. --eff.EmissionDirection = "Front"
  7311. eff.Lifetime = NumberRange.new(5)
  7312. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,40,0),NumberSequenceKeypoint.new(0.8,60,0),NumberSequenceKeypoint.new(1,80,0)})
  7313. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  7314. eff.Speed = NumberRange.new(350)
  7315. eff.Drag = 5
  7316. eff.Rotation = NumberRange.new(-500,500)
  7317. eff.SpreadAngle = Vector2.new(0,900)
  7318. eff.RotSpeed = NumberRange.new(-500,500)
  7319. local eff2 = eff:Clone()
  7320. eff2.Parent = cent
  7321. eff2.Speed = NumberRange.new(250)
  7322. eff2.Color = ColorSequence.new(BrickColor.new("Pink").Color)
  7323. wait(0.2)
  7324. eff.Enabled = false
  7325. eff2.Enabled = false
  7326. end))
  7327. end
  7328. end)
  7329. end))
  7330. attack = false
  7331. hum.WalkSpeed = storehumanoidWS
  7332. end
  7333.  
  7334. function dragin()
  7335. local targetted = nil
  7336. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  7337. targetted = mouse.Target.Parent
  7338. end
  7339. if targetted ~= nil then
  7340. RootPart.CFrame = FaceMouse()[1]
  7341. attack = true
  7342. hum.WalkSpeed = 0
  7343. for x = 0, 1 do
  7344. for i = 0,1,0.5 do
  7345. swait()
  7346. 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)
  7347. 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)
  7348. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  7349. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  7350. 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)
  7351. 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)
  7352. end
  7353. for i = 0,1,0.5 do
  7354. swait()
  7355. 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)
  7356. 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)
  7357. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(180)),.3)
  7358. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  7359. 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)
  7360. 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)
  7361. end
  7362. for i = 0,1,0.5 do
  7363. swait()
  7364. 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)
  7365. 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)
  7366. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(270)),.3)
  7367. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  7368. 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)
  7369. 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)
  7370. end
  7371. for i = 0,1,0.5 do
  7372. swait()
  7373. 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)
  7374. 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)
  7375. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7376. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  7377. 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)
  7378. 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)
  7379. end
  7380. end
  7381. coroutine.resume(coroutine.create(function()
  7382. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 50
  7383. CFuncs["Sound"].Create("rbxassetid://884155627", targetted.Head, 1,1)
  7384. CFuncs["Sound"].Create("rbxassetid://153092213", targetted.Head, 2.5,1)
  7385. end))
  7386. local A1 = Instance.new("Attachment",targetted.Head)
  7387. local A2 = Instance.new("Attachment",sorb)
  7388. local Beem = Instance.new("Beam",tors)
  7389. Beem.Attachment0 = A1
  7390. Beem.Attachment1 = A2
  7391. Beem.Texture = "rbxassetid://897585362"
  7392. Beem.LightEmission = 0.75
  7393. Beem.FaceCamera = true
  7394. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
  7395. Beem.Width0 = 1
  7396. Beem.Width1 = 1
  7397. Beem.TextureMode = "Wrap"
  7398. Beem.TextureLength = 1
  7399. Beem.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7400. 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)
  7401. 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)
  7402. for x = 0, 24 do
  7403. local rsiz = math.random(5,15)
  7404. 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)
  7405. end
  7406.  
  7407. CFuncs["EchoSound"].Create("rbxassetid://131228548", char, 7, 1,0,10,0.15,0.5,1)
  7408. CFuncs["EchoSound"].Create("rbxassetid://131228548", root, 60, 1,0,10,0.15,0.5,1)
  7409. local radm = math.random(1,2)
  7410. if radm == 1 then
  7411. bosschatfunc("GET OVER HERE!",MAINRUINCOLOR.Color,1)
  7412. elseif radm == 2 then
  7413. bosschatfunc("COM'ERE!!",MAINRUINCOLOR.Color,1)
  7414. end
  7415. for i = 0,3,0.1 do
  7416. swait()
  7417. coroutine.resume(coroutine.create(function()
  7418. local rsiz = math.random(5,15)
  7419. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
  7420. 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)
  7421. end))
  7422. 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)
  7423. 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)
  7424. 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)
  7425. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(50)),.6)
  7426. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(-50)),.6)
  7427. 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)
  7428. 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)
  7429. end
  7430. CFuncs["Sound"].Create("rbxassetid://231917750", sorb, 1.25,0.9)
  7431. CFuncs["Sound"].Create("rbxassetid://1042716828", sorb, 1.5,1)
  7432. local vel = Instance.new("BodyPosition", targetted.Head)
  7433. vel.P = 12500
  7434. vel.D = 1000
  7435. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  7436. vel.position = hed.CFrame.p + root.CFrame.lookVector*2.75
  7437. for i = 0,4,0.1 do
  7438. swait()
  7439. coroutine.resume(coroutine.create(function()
  7440. local rsiz = math.random(5,15)
  7441. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
  7442. 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)
  7443. end))
  7444. 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)
  7445. 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)
  7446. 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)
  7447. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  7448. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(40)),.2)
  7449. 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)
  7450. 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)
  7451. end
  7452. local visibility = 0
  7453. coroutine.resume(coroutine.create(function()
  7454. for i = 0, 49 do
  7455. swait()
  7456. visibility = visibility + 0.02
  7457. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, visibility),NumberSequenceKeypoint.new(1, visibility)})
  7458. end
  7459. Beem:Destroy()
  7460. A1:Destroy()
  7461. A2:Destroy()
  7462. end))
  7463. game:GetService("Debris"):AddItem(vel,0.75)
  7464. attack = false
  7465. hum.WalkSpeed = storehumanoidWS
  7466.  
  7467. end
  7468. end
  7469.  
  7470. function DualGleamingBeam()
  7471. attack = true
  7472. hum.WalkSpeed = 0
  7473. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 5, 1,0,10,0.15,0.5,1)
  7474. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 60, 1,0,10,0.15,0.5,1)
  7475. local radm = math.random(1,3)
  7476. if radm == 1 then
  7477. bosschatfunc("YOU CAN'T ESCAPE THIS!!",MAINRUINCOLOR.Color,1)
  7478. elseif radm == 2 then
  7479. bosschatfunc("HOW DO YOU LIKE THIS?!",MAINRUINCOLOR.Color,1)
  7480. elseif radm == 3 then
  7481. bosschatfunc("You make the choice..",MAINRUINCOLOR.Color,1)
  7482. end
  7483. local rsiz = math.random(1,15)
  7484. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7485. hb.Anchored = true
  7486. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7487. local hb2 = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7488. hb2.Anchored = true
  7489. hb2.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7490. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
  7491. CFuncs["Sound"].Create("rbxassetid://138677306", sorb, 8,0.25)
  7492. for i = 0, 14, 0.1 do
  7493. swait()
  7494. rsiz = math.random(5,15)
  7495. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7496. hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0)
  7497. 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)
  7498. 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)
  7499. 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)
  7500. 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"))
  7501. 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)
  7502. 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)
  7503. 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)
  7504. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.1)
  7505. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(120)),.1)
  7506. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-120)),.1)
  7507. end
  7508. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
  7509. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
  7510. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb2, 10,0.6)
  7511. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb2, 10,0.5)
  7512. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
  7513. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb2, 10,1)
  7514. 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)
  7515. 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)
  7516. 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)
  7517. 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"))
  7518. 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"))
  7519. 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"))
  7520. for i = 0, 49 do
  7521. local rsiza = math.random(1,15)
  7522. 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)
  7523. 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)
  7524. end
  7525. local a = Instance.new("Part",Character)
  7526. a.Name = "Direction"
  7527. a.Anchored = true
  7528. a.BrickColor = MAINRUINCOLOR
  7529. a.Material = "Neon"
  7530. a.Transparency = 0
  7531. a.Shape = "Cylinder"
  7532. a.CanCollide = false
  7533. local a2 = Instance.new("Part",Character)
  7534. a2.Name = "Direction"
  7535. a2.Anchored = true
  7536. a2.BrickColor = MAINRUINCOLOR
  7537. a2.Material = "Neon"
  7538. a2.Transparency = 0
  7539. a2.Shape = "Cylinder"
  7540. a2.CanCollide = false
  7541. local ba = Instance.new("Part",Character)
  7542. ba.Name = "HitDirect"
  7543. ba.Anchored = true
  7544. ba.BrickColor = MAINRUINCOLOR
  7545. ba.Material = "Neon"
  7546. ba.Transparency = 1
  7547. ba.CanCollide = false
  7548. local ba2 = Instance.new("Part",Character)
  7549. ba2.Name = "HitDirect"
  7550. ba2.Anchored = true
  7551. ba2.BrickColor = MAINRUINCOLOR
  7552. ba2.Material = "Neon"
  7553. ba2.Transparency = 1
  7554. ba2.CanCollide = false
  7555. local ray = Ray.new(
  7556. hb.CFrame.p, -- origin
  7557. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  7558. )
  7559. local ignore = Character
  7560. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7561. local ray2 = Ray.new(
  7562. hb2.CFrame.p, -- origin
  7563. (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction
  7564. )
  7565. local hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore)
  7566. local distance2 = (hb2.CFrame.p - position).magnitude
  7567.  
  7568. a.BottomSurface = 10
  7569. a.TopSurface = 10
  7570. local distance = (hb.CFrame.p - position).magnitude
  7571. a.Size = Vector3.new(distance, 1, 1)
  7572. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7573. a2.BottomSurface = 10
  7574. a2.TopSurface = 10
  7575. a2.Size = Vector3.new(distance2, 1, 1)
  7576. a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2)
  7577. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7578. ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2)
  7579. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7580. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  7581. local msh = Instance.new("SpecialMesh",a)
  7582. msh.MeshType = "Cylinder"
  7583. msh.Scale = vt(1,4,4)
  7584. local msh2 = Instance.new("SpecialMesh",a2)
  7585. msh2.MeshType = "Cylinder"
  7586. msh2.Scale = vt(1,4,4)
  7587. game:GetService("Debris"):AddItem(a, 30)
  7588. game:GetService("Debris"):AddItem(a2, 30)
  7589. game:GetService("Debris"):AddItem(ba, 30)
  7590. game:GetService("Debris"):AddItem(ba2, 30)
  7591. for i = 0, 20, 0.1 do
  7592. swait()
  7593. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7594. hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0)
  7595. ray = Ray.new(
  7596. hb.CFrame.p, -- origin
  7597. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  7598. )
  7599. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7600. distance = (hb.CFrame.p - position).magnitude
  7601. ray2 = Ray.new(
  7602. hb2.CFrame.p, -- origin
  7603. (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction
  7604. )
  7605. hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore)
  7606. distance2 = (hb2.CFrame.p - position).magnitude
  7607. a.Size = Vector3.new(distance, 1, 1)
  7608. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7609. a2.Size = Vector3.new(distance2, 1, 1)
  7610. a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2)
  7611. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7612. ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2)
  7613. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7614. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  7615. rsiz = math.random(5,25)
  7616. MagniDamage(ba, 12, 800,18000, 0, "Normal")
  7617. MagniDamage(ba2, 12, 800,18000, 0, "Normal")
  7618. for i, v in pairs(FindNearestHead(ba.CFrame.p, 4)) do
  7619. if v:FindFirstChild('Head') then
  7620. dmg(v)
  7621. end
  7622. end
  7623. coroutine.resume(coroutine.create(function()
  7624. local bx = Instance.new("Part",Character)
  7625. bx.Name = "Location"
  7626. bx.Anchored = true
  7627. bx.BrickColor = MAINRUINCOLOR
  7628. bx.Material = "Neon"
  7629. bx.Transparency = 1
  7630. bx.CanCollide = false
  7631. bx.Position = ba.Position
  7632. sphere2(2,"Add",bx.CFrame,vt(20,0.5,20),0.001,0,0.001,MAINRUINCOLOR)
  7633. wait(math.random(1,2))
  7634. sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.1,0,0.1,bc("Lime green"))
  7635. sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.25,0,0.25,MAINRUINCOLOR)
  7636. sphere2(6,"Add",bx.CFrame,vt(10,10,10),0.5,0.5,0.5,bc("Lime green"))
  7637. CFuncs["Sound"].Create("rbxassetid://1042693018", bx, 5,0.7)
  7638. CFuncs["Sound"].Create("rbxassetid://1042695469", bx, 5,0.8)
  7639. MagniDamage(bx, 20, 80000,900000, 0, "Normal")
  7640. for i, v in pairs(FindNearestHead(bx.CFrame.p, 15)) do
  7641. if v:FindFirstChild('Head') then
  7642. dmg(v)
  7643. end
  7644. end
  7645. wait(5)
  7646. bx:Destroy()
  7647. end))
  7648. 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)
  7649. 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)
  7650. for c = 0, 2 do
  7651. 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)
  7652. end
  7653. 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)
  7654. 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)
  7655. 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)
  7656. 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)
  7657. 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)
  7658. 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)
  7659. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.05)
  7660. RW.C0=clerp(RW.C0,cf(1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-15)),.05)
  7661. LW.C0=clerp(LW.C0,cf(-1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(15)),.05)
  7662. end
  7663. for i = 0, 1 do
  7664. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
  7665. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
  7666. CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
  7667. CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
  7668. end
  7669. MagniDamage(ba, 30, 8000,180000, 0, "Normal")
  7670. MagniDamage(ba2, 30, 8000,180000, 0, "Normal")
  7671. for i, v in pairs(FindNearestHead(ba.CFrame.p, 10)) do
  7672. if v:FindFirstChild('Head') then
  7673. dmg(v)
  7674. end
  7675. end
  7676. 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)
  7677. 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)
  7678. 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)
  7679. 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)
  7680. 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)
  7681. 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)
  7682. 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"))
  7683. 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"))
  7684. 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"))
  7685. for i = 0, 49 do
  7686. local rsiza = math.random(1,15)
  7687. 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)
  7688. 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)
  7689. end
  7690. for i = 0, 49 do
  7691. rsiz = math.random(1,8)
  7692. 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)
  7693. end
  7694. coroutine.resume(coroutine.create(function()
  7695. for i = 0, 99 do
  7696. swait()
  7697. a.Transparency = a.Transparency + 0.01
  7698. a2.Transparency = a2.Transparency + 0.01
  7699. end
  7700. a:Destroy()
  7701. ba:Destroy()
  7702. a2:Destroy()
  7703. ba2:Destroy()
  7704. end))
  7705. hum.WalkSpeed = storehumanoidWS
  7706. hb:Destroy()
  7707. hb2:Destroy()
  7708. attack = false
  7709. end
  7710.  
  7711. function Counter()
  7712. hum.WalkSpeed = 0
  7713. CFuncs["EchoSound"].Create("rbxassetid://2370794297", char, 5, 1,0,10,0.15,0.5,1)
  7714. CFuncs["EchoSound"].Create("rbxassetid://2370794297", root, 60, 1,0,10,0.15,0.5,1)
  7715. bosschatfunc("COUNTER!!",MAINRUINCOLOR.Color,1)
  7716. attack = true
  7717. for i = 0,1,0.1 do
  7718. swait()
  7719. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  7720. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  7721. 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)
  7722. 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)
  7723. 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)
  7724. 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)
  7725. end
  7726. CameraEnshaking(3,4)
  7727. MagniDamageWithEffect(root, 24, 0,0, 75, "Normal")
  7728. 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)
  7729. 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)
  7730. 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)
  7731. coroutine.resume(coroutine.create(function()
  7732. local eff = Instance.new("ParticleEmitter",root)
  7733. eff.Texture = "rbxassetid://363275192"
  7734. eff.LightEmission = 0.95
  7735. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7736. eff.Rate = 10000
  7737. eff.Lifetime = NumberRange.new(1)
  7738. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  7739. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  7740. eff.Speed = NumberRange.new(10,125)
  7741. eff.Drag = 5
  7742. eff.Rotation = NumberRange.new(-500,500)
  7743. eff.VelocitySpread = 9000
  7744. eff.RotSpeed = NumberRange.new(-50,50)
  7745. local eff2 = eff:Clone()
  7746. eff2.Parent = root
  7747. eff2.Texture = "rbxassetid://284205403"
  7748. eff2.Rate = 10000
  7749. 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)})
  7750. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  7751. eff2.Drag = 5
  7752. eff2.Speed = NumberRange.new(10,50)
  7753. eff2.Rotation = NumberRange.new(-500,500)
  7754. eff2.VelocitySpread = 9000
  7755. wait(0.25)
  7756. eff2.Enabled = false
  7757. eff.Enabled = false
  7758. wait(3)
  7759. eff2:Destroy()
  7760. eff:Destroy()
  7761. end))
  7762. for i = 0, 9 do
  7763. 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)
  7764. end
  7765. for i = 0, 24 do
  7766. local rsiz = math.random(5,20)
  7767. 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)
  7768. end
  7769. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
  7770. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
  7771. CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
  7772. for i = 0,2,0.1 do
  7773. swait()
  7774. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  7775. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  7776. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  7777. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  7778. 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)
  7779. 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)
  7780. end
  7781. hum.WalkSpeed = storehumanoidWS
  7782. attack = false
  7783. end
  7784.  
  7785. function CyberSlash()
  7786. local posit = -2
  7787. attack = true
  7788. hum.WalkSpeed = 5
  7789. CFuncs["EchoSound"].Create("rbxassetid://1448033920", char, 5, 1,0,10,0.15,0.5,1)
  7790. local radm = math.random(1,3)
  7791. if radm == 1 then
  7792. bosschatfunc("FIBER!!!",MAINRUINCOLOR.Color,1)
  7793. elseif radm == 2 then
  7794. bosschatfunc("SLASHED!!",MAINRUINCOLOR.Color,1)
  7795. elseif radm == 3 then
  7796. bosschatfunc("TAKE MY CLAW!!",MAINRUINCOLOR.Color,1)
  7797. end
  7798. CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
  7799. for i = 0,2,0.1 do
  7800. swait()
  7801. 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)
  7802. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
  7803. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
  7804. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  7805. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
  7806. 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)
  7807. 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)
  7808. end
  7809. for i = 0, 2 do
  7810. CameraEnshaking(1,2)
  7811. local hite = Instance.new("Part", char)
  7812. hite.Anchored = true
  7813. hite.CanCollide = false
  7814. hite.FormFactor = 3
  7815. hite.Name = "Ring"
  7816. hite.Material = "Neon"
  7817. hite.Size = Vector3.new(1, 1, 1)
  7818. hite.Transparency = 1
  7819. hite.TopSurface = 0
  7820. hite.BottomSurface = 0
  7821. hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
  7822. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
  7823. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
  7824. coroutine.resume(coroutine.create(function()
  7825. for i = 0, 1 do
  7826. swait()
  7827. 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)
  7828. 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)
  7829. 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)
  7830. end
  7831. end))
  7832. 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)
  7833. MagniDamage(hite, 3, 30,40, 0, "Normal")
  7834. game:GetService("Debris"):AddItem(hite, 5)
  7835. posit = posit + 2
  7836. end
  7837. for i = 0,1,0.1 do
  7838. swait()
  7839. 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)
  7840. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  7841. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
  7842. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  7843. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
  7844. 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)
  7845. 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)
  7846. end
  7847. for i = 0,1,0.1 do
  7848. swait()
  7849. 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)
  7850. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,1)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
  7851. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
  7852. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
  7853. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
  7854. 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)
  7855. 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)
  7856. end
  7857. posit = -6
  7858. for i = 0, 6 do
  7859. CameraEnshaking(1,3)
  7860. local hite = Instance.new("Part", char)
  7861. hite.Anchored = true
  7862. hite.CanCollide = false
  7863. hite.FormFactor = 3
  7864. hite.Name = "Ring"
  7865. hite.Material = "Neon"
  7866. hite.Size = Vector3.new(1, 1, 1)
  7867. hite.Transparency = 1
  7868. hite.TopSurface = 0
  7869. hite.BottomSurface = 0
  7870. hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
  7871. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
  7872. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
  7873. 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)
  7874. coroutine.resume(coroutine.create(function()
  7875. for i = 0, 2 do
  7876. swait()
  7877. 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)
  7878. 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)
  7879. 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)
  7880. end
  7881. end))
  7882. MagniDamage(hite, 5, 40,70, 0, "Normal")
  7883. game:GetService("Debris"):AddItem(hite, 5)
  7884. posit = posit + 2
  7885. end
  7886. for i = 0,1,0.1 do
  7887. swait()
  7888. 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)
  7889. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
  7890. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  7891. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
  7892. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
  7893. 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)
  7894. 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)
  7895. end
  7896. hum.WalkSpeed = storehumanoidWS
  7897. attack = false
  7898. end
  7899.  
  7900. function Beams()
  7901. attack = true
  7902. hum.WalkSpeed = 0
  7903. CFuncs["EchoSound"].Create("rbxassetid://1436242274", char, 8, 1,0,10,0.15,0.5,1)
  7904. CFuncs["EchoSound"].Create("rbxassetid://1436242274", root, 60, 1,0,10,0.15,0.5,1)
  7905. bosschatfunc("You're gone..",MAINRUINCOLOR.Color,2)
  7906. local keptcolor = MAINRUINCOLOR
  7907. coroutine.resume(coroutine.create(function()
  7908. for i = 0, 96 do
  7909. swait(5)
  7910. local orb = Instance.new("Part", char)
  7911. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  7912. orb.BrickColor = keptcolor
  7913. orb.CanCollide = false
  7914. orb.FormFactor = 3
  7915. orb.Name = "Ring"
  7916. orb.Material = "Neon"
  7917. orb.Size = Vector3.new(1, 1, 1)
  7918. orb.Transparency = 0
  7919. orb.TopSurface = 0
  7920. orb.BottomSurface = 0
  7921. orb.Anchored = true
  7922. local orbm = Instance.new("SpecialMesh", orb)
  7923. orbm.MeshType = "Sphere"
  7924. orbm.Name = "SizeMesh"
  7925. orbm.Scale = vt(1.25,1.25,1.25)
  7926. orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6))
  7927. sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7928. coroutine.resume(coroutine.create(function()
  7929. wait(0.5)
  7930. CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
  7931. sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7932. sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7933. orb.Transparency = 1
  7934. local a = Instance.new("Part",char)
  7935. a.Name = "Direction"
  7936. a.Anchored = true
  7937. a.BrickColor = keptcolor
  7938. a.Material = "Neon"
  7939. a.Transparency = 0.25
  7940. a.Shape = "Cylinder"
  7941. local ht = Instance.new("Part",char)
  7942. ht.Name = "DirectionHit"
  7943. ht.Anchored = true
  7944. ht.BrickColor = keptcolor
  7945. ht.CanCollide = false
  7946. ht.Transparency = 1
  7947. ht.Size = vt(0.1,0.1,0.1)
  7948. CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.6)
  7949. a.CanCollide = false
  7950. local ray = Ray.new(
  7951. orb.CFrame.p, -- origin
  7952. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  7953. )
  7954. local ignore = char
  7955. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7956. a.BottomSurface = 10
  7957. a.TopSurface = 10
  7958. local distance = (orb.CFrame.p - position).magnitude
  7959. a.Size = Vector3.new(distance,1,1)
  7960. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7961. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7962. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  7963. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  7964. MagniDamage(ht, 9, 30,60, 0, "Normal")
  7965. coroutine.resume(coroutine.create(function()
  7966. local eff = Instance.new("ParticleEmitter",ht)
  7967. eff.Texture = "rbxassetid://284205403"
  7968. eff.LightEmission = 0.95
  7969. eff.Color = ColorSequence.new(keptcolor.Color)
  7970. eff.Rate = 500
  7971. eff.Lifetime = NumberRange.new(0.5)
  7972. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  7973. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7974. eff.Speed = NumberRange.new(10,50)
  7975. eff.Drag = 5
  7976. eff.Rotation = NumberRange.new(-500,500)
  7977. eff.VelocitySpread = 9000
  7978. eff.RotSpeed = NumberRange.new(-500,500)
  7979. wait(0.25)
  7980. eff.Enabled = false
  7981. end))
  7982. for i = 0, 4 do
  7983. 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)
  7984. 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)
  7985. local rsiz = math.random(10,30)
  7986. 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)
  7987. end
  7988. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7989. local msh = Instance.new("SpecialMesh",a)
  7990. msh.MeshType = "Cylinder"
  7991. msh.Scale = vt(1,1,1)
  7992. for i = 0, 49 do
  7993. swait()
  7994. msh.Scale = msh.Scale + vt(0,0.01,0.01)
  7995. a.Transparency = a.Transparency + 0.02
  7996. end
  7997. orb:Destroy()
  7998. a:Destroy()
  7999. ht:Destroy()
  8000. end))
  8001. game:GetService("Debris"):AddItem(orb, 10)
  8002. end
  8003. end))
  8004. for i = 0,6,0.1 do
  8005. swait()
  8006. 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)
  8007. 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)
  8008. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
  8009. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3)
  8010. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3)
  8011. 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)
  8012. 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)
  8013. end
  8014. hum.WalkSpeed = storehumanoidWS
  8015. attack = false
  8016. end
  8017.  
  8018. function hugg()
  8019. attack = true
  8020. hum.WalkSpeed = 5
  8021. local rsiz = math.random(5,15)
  8022. for i = 0, 2, 0.1 do
  8023. swait()
  8024. 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)
  8025. 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)
  8026. 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)
  8027. 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)
  8028. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(40)),.3)
  8029. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(-40)),.3)
  8030. end
  8031. CFuncs["Sound"].Create("rbxassetid://444895479", root, 0.5,1)
  8032. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8033. hb.Anchored = true
  8034. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  8035. local huggedperson = nil
  8036. local act = false
  8037. local alreadydid = false
  8038. for i = 0, 3, 0.1 do
  8039. swait()
  8040. if act == false then
  8041. for i, v in pairs(FindNearestHead(hb.CFrame.p, 1.25)) do
  8042. if v:FindFirstChild('Head') then
  8043. if alreadydid == false then
  8044. huggedperson = v
  8045. hum.WalkSpeed = 0
  8046. CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
  8047. CFuncs["Sound"].Create("rbxassetid://200632821", root, 1,1.15)
  8048. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 1.5,1)
  8049. CFuncs["Sound"].Create("rbxassetid://884155627", root, 2,1)
  8050. local radm = math.random(1,3)
  8051. if radm == 1 then
  8052. bosschatfunc("I'm sorry.. if I hurt you..",MAINRUINCOLOR.Color,1)
  8053. elseif radm == 2 then
  8054. bosschatfunc("I..I'm interested in you",MAINRUINCOLOR.Color,1)
  8055. elseif radm == 3 then
  8056. bosschatfunc("Don't worry.. I'm with you",MAINRUINCOLOR.Color,1)
  8057. end
  8058. root.Anchored = true
  8059. coroutine.resume(coroutine.create(function()
  8060. huggedperson.Humanoid.WalkSpeed = 0
  8061. huggedperson:WaitForChild("HumanoidRootPart").Anchored = true
  8062. end))
  8063. --chatfunc(string.lower(huggedperson.Name).. "~~",BrickColor.new("Pink").Color,"Normal","SourceSansBold",1)
  8064. alreadydid = true
  8065. act = true
  8066. print(huggedperson.Name)
  8067. end
  8068. end
  8069. end
  8070. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  8071. 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)
  8072. elseif act == true then
  8073. coroutine.resume(coroutine.create(function()
  8074. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8075. end))
  8076. rsiz = math.random(5,15)
  8077. 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)
  8078. 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)
  8079. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8080. end
  8081. 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)
  8082. 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)
  8083. 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)
  8084. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8085. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8086. end
  8087. hb:Destroy()
  8088. if act == true then
  8089. for x = 0, 2 do
  8090. for i = 0, 2, 0.1 do
  8091. swait()
  8092. coroutine.resume(coroutine.create(function()
  8093. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8094. end))
  8095. rsiz = math.random(5,15)
  8096. 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)
  8097. 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)
  8098. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8099. 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)
  8100. 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)
  8101. 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)
  8102. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8103. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8104. end
  8105. for i = 0, 2, 0.1 do
  8106. swait()
  8107. coroutine.resume(coroutine.create(function()
  8108. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8109. end))
  8110. rsiz = math.random(5,15)
  8111. 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)
  8112. 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)
  8113. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8114. 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)
  8115. 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)
  8116. 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)
  8117. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8118. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8119. end
  8120. end
  8121. end
  8122. hum.WalkSpeed = storehumanoidWS
  8123. root.Anchored = false
  8124. if act == true then
  8125. coroutine.resume(coroutine.create(function()
  8126. huggedperson.Humanoid.WalkSpeed = 16
  8127. huggedperson:WaitForChild("HumanoidRootPart").Anchored = false
  8128. end))
  8129. end
  8130. hum.WalkSpeed = storehumanoidWS
  8131. attack = false
  8132. end
  8133.  
  8134. function shytaunty()
  8135. attack = true
  8136. hum.WalkSpeed = 0
  8137. bosschatfunc("*Blushes and giggles*",MAINRUINCOLOR.Color,1)
  8138. CFuncs["Sound"].Create("rbxassetid://543623779", char, 1, 1)
  8139. local blush = Instance.new("Decal",hed)
  8140. blush.Texture = "rbxassetid://898404027"
  8141. blush.Face = "Front"
  8142. for i = 0, 13, 0.1 do
  8143. swait()
  8144. 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)
  8145. 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)
  8146. 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)
  8147. 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)
  8148. 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)
  8149. 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)
  8150. end
  8151. coroutine.resume(coroutine.create(function()
  8152. for i = 0, 49 do
  8153. swait()
  8154. blush.Transparency = blush.Transparency + 0.02
  8155. end
  8156. blush:Destroy()
  8157. end))
  8158. hum.WalkSpeed = storehumanoidWS
  8159. attack = false
  8160. end
  8161.  
  8162. function smiter()
  8163. local targetted = nil
  8164. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  8165. targetted = mouse.Target.Parent
  8166. end
  8167. if targetted ~= nil then
  8168. RootPart.CFrame = FaceMouse()[1]
  8169. attack = true
  8170. local radm = math.random(1,3)
  8171. if radm == 1 then
  8172. bosschatfunc("SMITED!!",MAINRUINCOLOR.Color,1)
  8173. elseif radm == 2 then
  8174. bosschatfunc("FROM ABOVE!!",MAINRUINCOLOR.Color,1)
  8175. elseif radm == 3 then
  8176. bosschatfunc("LOOK UP!!",MAINRUINCOLOR.Color,1)
  8177. end
  8178. hum.WalkSpeed = 0
  8179. coroutine.resume(coroutine.create(function()
  8180. CFuncs["Sound"].Create("rbxassetid://2556945475", char, 1.5, 1)
  8181. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  8182. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  8183. local vel = Instance.new("BodyPosition", targetted.Head)
  8184. vel.P = 12500
  8185. vel.D = 1000
  8186. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  8187. vel.position = targetted.Head.CFrame.p
  8188. end))
  8189. CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
  8190. CFuncs["EchoSound"].Create("rbxassetid://1436242685", char, 4, 1,0,10,0.15,0.5,1)
  8191. CFuncs["EchoSound"].Create("rbxassetid://1436242685", root, 60, 1,0,10,0.15,0.5,1)
  8192. for i = 0,4,0.1 do
  8193. swait()
  8194. 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)
  8195. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  8196. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  8197. 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)
  8198. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  8199. 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)
  8200. 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)
  8201. end
  8202. coroutine.resume(coroutine.create(function()
  8203. CameraEnshaking(6,5)
  8204. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  8205. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
  8206. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
  8207. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
  8208. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  8209. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  8210. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  8211. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  8212. coroutine.resume(coroutine.create(function()
  8213. local eff = Instance.new("ParticleEmitter",targetted.Head)
  8214. eff.Texture = "rbxassetid://2273224484"
  8215. eff.LightEmission = 1
  8216. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  8217. eff.Rate = 500000
  8218. eff.Lifetime = NumberRange.new(0.5,2)
  8219. 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)})
  8220. 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)})
  8221. eff.Speed = NumberRange.new(20,250)
  8222. eff.Drag = 5
  8223. eff.Rotation = NumberRange.new(-500,500)
  8224. eff.VelocitySpread = 9000
  8225. eff.RotSpeed = NumberRange.new(-50,50)
  8226. wait(0.25)
  8227. eff.Enabled = false
  8228. local eff = Instance.new("ParticleEmitter",targetted.Head)
  8229. eff.Texture = "rbxassetid://363275192"
  8230. eff.LightEmission = 0.95
  8231. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8232. eff.Rate = 10000
  8233. eff.Lifetime = NumberRange.new(1.5)
  8234. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  8235. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  8236. eff.Speed = NumberRange.new(25,150)
  8237. eff.Drag = 5
  8238. eff.Rotation = NumberRange.new(-500,500)
  8239. eff.VelocitySpread = 9000
  8240. eff.RotSpeed = NumberRange.new(-50,50)
  8241. local eff2 = eff:Clone()
  8242. eff2.Parent = targetted.Head
  8243. eff2.Texture = "rbxassetid://284205403"
  8244. eff2.Rate = 10000
  8245. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  8246. eff2.Drag = 5
  8247. eff2.Rotation = NumberRange.new(-500,500)
  8248. eff2.VelocitySpread = 9000
  8249. wait(0.5)
  8250. eff2.Enabled = false
  8251. eff.Enabled = false
  8252. end))
  8253. for i = 0, 9 do
  8254. 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)
  8255. end
  8256. for i = 0, 49 do
  8257. local rsiz = math.random(10,50)
  8258. 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)
  8259. end
  8260. game:GetService("Debris"):AddItem(vel,1)
  8261. dmg(targetted)
  8262. end))
  8263. for i = 0,1,0.1 do
  8264. swait()
  8265. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  8266. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  8267. 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)
  8268. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  8269. 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)
  8270. 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)
  8271. end
  8272. attack = false
  8273. hum.WalkSpeed = storehumanoidWS
  8274. end
  8275.  
  8276. function SpeedDrop()
  8277. attack = true
  8278. hum.WalkSpeed = 0
  8279. CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
  8280. local poste = 3
  8281. local rotation = 0
  8282. local rate = 0
  8283. bosschatfunc("AUFHHIGYBIBYHHIHIGHGI",MAINRUINCOLOR.Color,2)
  8284. for i = 0, 124 do
  8285. swait()
  8286. rotation = rotation + rate
  8287. poste = poste + 0.1
  8288. rate = rate + 0.1
  8289. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
  8290. 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)
  8291. 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)
  8292. 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)
  8293. 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)
  8294. 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)
  8295. 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)
  8296. 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)
  8297. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
  8298. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
  8299. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
  8300. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
  8301. end
  8302. CameraEnshaking(3,7)
  8303. bosschatfunc("AN ERROR HAS OCCURED",MAINRUINCOLOR.Color,2)
  8304. local loc = Instance.new("Part", char)
  8305. loc.BrickColor = MAINRUINCOLOR
  8306. loc.CanCollide = false
  8307. loc.FormFactor = 3
  8308. loc.Name = "Ring"
  8309. loc.Material = "Neon"
  8310. loc.Size = Vector3.new(1, 1, 1)
  8311. loc.Transparency = 1
  8312. loc.TopSurface = 0
  8313. loc.BottomSurface = 0
  8314. loc.Anchored = true
  8315. loc.CFrame = root.CFrame + root.CFrame.lookVector*100
  8316. CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
  8317. CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
  8318. MagniDamage(loc, 95, 500,6000, 0, "Normal")
  8319. sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
  8320. sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  8321. sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  8322. sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  8323. coroutine.resume(coroutine.create(function()
  8324. local eff = Instance.new("ParticleEmitter",loc)
  8325. eff.Texture = "rbxassetid://363275192"
  8326. eff.LightEmission = 0.95
  8327. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8328. eff.Rate = 10000
  8329. eff.Lifetime = NumberRange.new(1)
  8330. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
  8331. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  8332. eff.Speed = NumberRange.new(100,500)
  8333. eff.Drag = 5
  8334. eff.Rotation = NumberRange.new(-500,500)
  8335. eff.VelocitySpread = 9000
  8336. eff.RotSpeed = NumberRange.new(-50,50)
  8337. wait(0.5)
  8338. eff.Enabled = false
  8339. end))
  8340. for i = 0, 49 do
  8341. 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)
  8342. end
  8343. for i = 0, 9 do
  8344. 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)
  8345. end
  8346. game:GetService("Debris"):AddItem(loc, 5)
  8347. root.CFrame = root.CFrame + root.CFrame.lookVector*200
  8348. hum.WalkSpeed = storehumanoidWS
  8349. attack = false
  8350. end
  8351.  
  8352. function HolyBarrier()
  8353. attack = true
  8354. shielding = true
  8355. for i = 0, 2, 0.1 do
  8356. swait()
  8357. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  8358. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  8359. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  8360. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.4)
  8361. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(120),math.rad(-230),math.rad(-40)),.1)
  8362. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(120),math.rad(230),math.rad(40)),.1)
  8363. end
  8364. CFuncs["Sound"].Create("rbxassetid://240429289", root, 7, 1)
  8365. stash = Instance.new("Model",workspace)
  8366. local barrier = Instance.new("Part",stash)
  8367. barrier.Anchored = true
  8368. barrier.CanCollide = false
  8369. barrier.Size = Vector3.new(20,20,20)
  8370. barrier.CFrame = root.CFrame
  8371. barrier.Transparency = 0.6
  8372. barrier.BrickColor = MAINRUINCOLOR
  8373. barrier.Material = Enum.Material.Neon
  8374. barrier.Shape = Enum.PartType.Ball
  8375. barrier.CFrame = root.CFrame
  8376. sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR)
  8377. Torso.Anchored = true
  8378. for i=1,50 do
  8379. local p = Instance.new("Part",stash)
  8380. p.Anchored = true
  8381. p.Transparency = 1
  8382. p.Size = Vector3.new(11,11,11)
  8383. p.CFrame = root.CFrame * CFrame.Angles(math.random(0,360),math.random(0,360),math.random(0,360))
  8384. end
  8385. repeat
  8386. swait(5)
  8387. 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("White"),0)
  8388. until shielding == false
  8389. stash:Remove()
  8390. Torso.Anchored = false
  8391. shielding = false
  8392. sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR)
  8393. attack = false
  8394. end
  8395.  
  8396. function Judgement()
  8397. attack = true
  8398. judgement = true
  8399. hum.WalkSpeed = 0
  8400. local p = Instance.new("Part",root)
  8401. p.Anchored = true
  8402. p.CanCollide = false
  8403. p.BrickColor = MAINRUINCOLOR
  8404. p.Material = Enum.Material.Neon
  8405. p.Size = Vector3.new(1,1,1)
  8406. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  8407. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  8408. local m = Instance.new("SpecialMesh",p)
  8409. m.MeshType = "Cylinder"
  8410. m.Scale = Vector3.new(2000,2,2)
  8411. local targ = Instance.new("Part",root)
  8412. targ.Anchored = true
  8413. targ.Transparency = 1
  8414. targ.CanCollide = false
  8415. targ.Size = Vector3.new(1,1,1)
  8416. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  8417. local s = Instance.new("Sound",targ)
  8418. s.SoundId = "https://roblox.com/asset/?id=115327352"
  8419. s.Looped = true
  8420. s.Pitch = 1.2
  8421. s.Volume = 3
  8422. spawn(function()
  8423. swait(15)
  8424. s:Play()
  8425. end)
  8426. CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1)
  8427. for i = 1,15 do
  8428. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  8429. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
  8430. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  8431. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  8432. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  8433. 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(-20)),.2)
  8434. 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(10),math.rad(20)),.2)
  8435. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR)
  8436. sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 7, -0.005, MAINRUINCOLOR, 0)
  8437. m.Scale = m.Scale+Vector3.new(0,1,1)
  8438. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  8439. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  8440. swait()
  8441. end
  8442. sphereMK(3, 0.2, "Add", targ.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, MAINRUINCOLOR, 0)
  8443. repeat
  8444. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  8445. sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 3, 3, 15, -0.005, MAINRUINCOLOR, 0)
  8446. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR)
  8447. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  8448. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  8449. MagniDamage(targ, 25, 5, 8, 0, "Normal")
  8450. swait()
  8451. until judgement == false
  8452. for i =1,15 do
  8453. m.Scale = m.Scale-Vector3.new(1,1,1)
  8454. p.Transparency = i / 15
  8455. s.Pitch = s.Pitch - 0.4
  8456. swait()
  8457. end
  8458. p:Destroy()
  8459. hum.WalkSpeed = storehumanoidWS
  8460. attack = false
  8461. end
  8462.  
  8463. function vistaunty()
  8464. attack = false
  8465. hum.WalkSpeed = 0
  8466. local rd = math.random(1,5)
  8467. if rd == 1 then
  8468. chatfunc("You're familiar with this, arent you?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  8469. elseif rd == 2 then
  8470. chatfunc("Dance to the beat. If you want to.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  8471. elseif rd == 3 then
  8472. chatfunc("I'm just bored. Don't mess with me.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  8473. elseif rd == 4 then
  8474. chatfunc("Ready to dance? If not, come back if you want to.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  8475. elseif rd == 5 then
  8476. chatfunc("Ehh, not really into something right now.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  8477. end
  8478. for i = 0, 8, 0.1 do
  8479. swait()
  8480. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/5000,-0.1)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(0 - 2 * math.cos(sine / 56) + kan.PlaybackLoudness/450)),.4)
  8481. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - kan.PlaybackLoudness/6500,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 2 * math.cos(sine / 56) + kan.PlaybackLoudness/500)),.4)
  8482. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 56) ,0 + 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/7000)*angles(math.rad(0 - 2 * math.cos(sine / 56)),math.rad(0),math.rad(60)),.4)
  8483. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2 * math.cos(sine / 28) - kan.PlaybackLoudness/60),math.rad(0 + 2 * math.cos(sine / 73)),math.rad(-60)),.4)
  8484. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(90 + 5 * math.cos(sine / 34) + kan.PlaybackLoudness/7.5),math.rad(0),math.rad(60 - 2 * math.cos(sine / 38))),.4)
  8485. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(10),math.rad(5),math.rad(7.5)),.4)
  8486. end
  8487. hum.WalkSpeed = storehumanoidWS
  8488. attack = false
  8489. end
  8490.  
  8491. function BinaryBLINK()
  8492. for i = 0, 9 do
  8493. sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)
  8494. end
  8495. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  8496. coroutine.resume(coroutine.create(function()
  8497. local eff = Instance.new("ParticleEmitter",root)
  8498. eff.Texture = "rbxassetid://1175838406"
  8499. eff.LightEmission = 0.95
  8500. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8501. eff.Rate = 10000
  8502. eff.Lifetime = NumberRange.new(1)
  8503. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  8504. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  8505. eff.Speed = NumberRange.new(30,160)
  8506. eff.Drag = 5
  8507. eff.Rotation = NumberRange.new(-500,500)
  8508. eff.VelocitySpread = 100000
  8509. wait(0.25)
  8510. eff.Enabled = false
  8511. wait(4)
  8512. eff:Destroy()
  8513. end))
  8514. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  8515. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  8516. CameraEnshaking(2,10)
  8517. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 10)) do
  8518. if v:FindFirstChild('Head') then
  8519. dmg(v)
  8520. end
  8521. end
  8522. for i = 0, 9 do
  8523. sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)
  8524. end
  8525. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  8526. end
  8527.  
  8528. function AZUREFINALE()
  8529. attack = false
  8530. duringend = true
  8531. hum.WalkSpeed = 0
  8532. CFuncs["Sound"].Create("rbxassetid://1117054464", char, 7.5, 0.75)
  8533. CFuncs["LongSound"].Create("rbxassetid://1042700914", char, 3.5, 0.05)
  8534. local hite = Instance.new("Part", char)
  8535. hite.Anchored = true
  8536. hite.CanCollide = false
  8537. hite.FormFactor = 3
  8538. hite.Name = "Ring"
  8539. hite.Material = "Neon"
  8540. hite.Size = Vector3.new(1, 1, 1)
  8541. hite.Transparency = 0
  8542. hite.TopSurface = 0
  8543. hite.BottomSurface = 0
  8544. hite.BrickColor = MAINRUINCOLOR
  8545. local orbm = Instance.new("SpecialMesh", hite)
  8546. orbm.MeshType = "Sphere"
  8547. orbm.Name = "SizeMesh"
  8548. orbm.Scale = vt(0,0,0)
  8549. hite.CFrame = root.CFrame*CFrame.new(0,200,0)
  8550. for i = 0,70,0.1 do
  8551. swait()
  8552. orbm.Scale = orbm.Scale + vt(0.5,0.5,0.5)
  8553. rsiz = math.random(10,45)
  8554. kan.Volume = kan.Volume + 0.01
  8555. kan.Pitch = kan.Pitch - 0.00135
  8556. sphereMK(math.random(1,4),2.5,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/2,rsiz/2,rsiz/2,0,MAINRUINCOLOR,-300)
  8557. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,1.5,10),-0.01,10,-0.01,MAINRUINCOLOR)
  8558. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  8559. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  8560. 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)
  8561. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  8562. 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 + 1 * math.cos(sine / 34))),.2)
  8563. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  8564. end
  8565. kan.Pitch = 0.1
  8566. hite.Transparency = 1
  8567. for i = 0,2 do
  8568. CFuncs["LongSound"].Create("rbxassetid://324849898", char, 10,0.9)
  8569. end
  8570. CFuncs["LongSound"].Create("rbxassetid://1117054464", char, 5, 0.75)
  8571. sphere2(1,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),-5,-5,-5,MAINRUINCOLOR)
  8572. sphere2(1,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),2,2,2,MAINRUINCOLOR)
  8573. sphere2(2,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),3,3,3,MAINRUINCOLOR)
  8574. coroutine.resume(coroutine.create(function()
  8575. local eff = Instance.new("ParticleEmitter",hite)
  8576. eff.Texture = "rbxassetid://284205403"
  8577. eff.LightEmission = 0.95
  8578. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8579. eff.Rate = 10000
  8580. eff.Lifetime = NumberRange.new(5)
  8581. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,100,0),NumberSequenceKeypoint.new(1,0,0)})
  8582. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  8583. eff.Speed = NumberRange.new(600,1250)
  8584. eff.Drag = 5
  8585. eff.Rotation = NumberRange.new(-500,500)
  8586. eff.VelocitySpread = 9000
  8587. eff.RotSpeed = NumberRange.new(-500,500)
  8588. wait(1)
  8589. eff.Enabled = false
  8590. end))
  8591. for i = 0,5,0.1 do
  8592. swait()
  8593. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  8594. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  8595. 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)
  8596. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  8597. 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 + 1 * math.cos(sine / 34))),.2)
  8598. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  8599. end
  8600. local adsc = 0
  8601. local radiatezone = 0
  8602. for i = 0,20,0.1 do
  8603. swait()
  8604. adsc = adsc + 0.025
  8605. radiatezone = radiatezone + 1.25
  8606. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
  8607. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  8608. if v:FindFirstChild('Head') then
  8609. dmg(v)
  8610. end
  8611. end
  8612. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  8613. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  8614. 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)
  8615. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  8616. 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 + 1 * math.cos(sine / 34))),.2)
  8617. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  8618. end
  8619. for i = 0,2 do
  8620. CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.9)
  8621. end
  8622. for i = 0,40,0.1 do
  8623. swait()
  8624. adsc = adsc + 0.05
  8625. radiatezone = radiatezone + 2.5
  8626. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
  8627. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  8628. if v:FindFirstChild('Head') then
  8629. dmg(v)
  8630. end
  8631. end
  8632. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  8633. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  8634. 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)
  8635. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  8636. 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 + 1 * math.cos(sine / 34))),.2)
  8637. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  8638. end
  8639. for i = 0,4 do
  8640. CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.75)
  8641. CFuncs["LongSound"].Create("rbxassetid://923073285", char, 1.25,0.75)
  8642. end
  8643. for i = 0,80,0.1 do
  8644. swait()
  8645. adsc = adsc + 0.075
  8646. radiatezone = radiatezone + 3.75
  8647. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
  8648. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  8649. if v:FindFirstChild('Head') then
  8650. dmg(v)
  8651. end
  8652. end
  8653. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  8654. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  8655. 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)
  8656. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  8657. 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 + 1 * math.cos(sine / 34))),.2)
  8658. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  8659. end
  8660. hite:Destroy()
  8661. duringend = false
  8662. hum.WalkSpeed = storehumanoidWS
  8663. attack = false
  8664. end
  8665.  
  8666. function WarpedDash()
  8667. attack = true
  8668. hum.WalkSpeed = 0
  8669. hum.JumpPower = 0
  8670. CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
  8671. local poste = 3
  8672. local rotation = 0
  8673. local rate = 0
  8674. for i = 0, 124 do
  8675. swait()
  8676. rotation = rotation + rate
  8677. poste = poste + 0.1
  8678. rate = rate + 0.1
  8679. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
  8680. 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)
  8681. 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)
  8682. 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)
  8683. 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)
  8684. 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)
  8685. 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)
  8686. 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)
  8687. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
  8688. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
  8689. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
  8690. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
  8691. end
  8692. CameraEnshaking(3,7)
  8693. local loc = Instance.new("Part", char)
  8694. loc.BrickColor = MAINRUINCOLOR
  8695. loc.CanCollide = false
  8696. loc.FormFactor = 3
  8697. loc.Name = "Ring"
  8698. loc.Material = "Neon"
  8699. loc.Size = Vector3.new(1, 1, 1)
  8700. loc.Transparency = 1
  8701. loc.TopSurface = 0
  8702. loc.BottomSurface = 0
  8703. loc.Anchored = true
  8704. loc.CFrame = root.CFrame + root.CFrame.lookVector*100
  8705. CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
  8706. CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
  8707. MagniDamage(loc, 95, 500,6000, 0, "Normal")
  8708. sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
  8709. sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  8710. sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  8711. sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  8712. coroutine.resume(coroutine.create(function()
  8713. local eff = Instance.new("ParticleEmitter",loc)
  8714. eff.Texture = "rbxassetid://363275192"
  8715. eff.LightEmission = 0.95
  8716. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8717. eff.Rate = 10000
  8718. eff.Lifetime = NumberRange.new(1)
  8719. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
  8720. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  8721. eff.Speed = NumberRange.new(100,500)
  8722. eff.Drag = 5
  8723. eff.Rotation = NumberRange.new(-500,500)
  8724. eff.VelocitySpread = 9000
  8725. eff.RotSpeed = NumberRange.new(-50,50)
  8726. wait(0.5)
  8727. eff.Enabled = false
  8728. end))
  8729. for i = 0, 49 do
  8730. 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)
  8731. end
  8732. for i = 0, 9 do
  8733. 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)
  8734. end
  8735. game:GetService("Debris"):AddItem(loc, 5)
  8736. root.CFrame = root.CFrame + root.CFrame.lookVector*200
  8737. hum.WalkSpeed = storehumanoidWS
  8738. hum.JumpPower = 50
  8739. attack = false
  8740. end
  8741.  
  8742. function Suicidal()
  8743. hum.WalkSpeed = 0
  8744. attack = true
  8745. local keptcolor = MAINRUINCOLOR
  8746. local locat = Instance.new("Part", char)
  8747. locat.CanCollide = false
  8748. locat.FormFactor = 3
  8749. locat.Name = "Ring"
  8750. locat.Material = "Neon"
  8751. locat.Size = Vector3.new(1, 1, 1)
  8752. locat.Transparency = 1
  8753. locat.TopSurface = 0
  8754. locat.BottomSurface = 0
  8755. locat.Anchored = true
  8756. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  8757. local poste = 0
  8758. local rotation = 0
  8759. local upperpos = 0
  8760. local rate = 0
  8761. local x = locat
  8762. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5, 1)
  8763. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5, 1)
  8764. sphere2(8,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  8765. CameraEnshaking(2,5)
  8766. for i = 0, 49 do
  8767. swait()
  8768. rotation = rotation + 5
  8769. poste = poste + 1
  8770. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  8771. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  8772. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  8773. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  8774. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  8775. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  8776. end
  8777. for i = 0, 49 do
  8778. swait()
  8779. rotation = rotation + 5
  8780. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  8781. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  8782. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  8783. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  8784. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  8785. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  8786. end
  8787. ModeOfGlitch = 432
  8788. storehumanoidWS = 300
  8789. hum.WalkSpeed = 16
  8790. rainbowmode = false
  8791. chaosmode = false
  8792. RecolorTextAndRename("???",BrickColor.new("Black").Color,BrickColor.new("Really red").Color,"Antique")
  8793. newThemeCust("rbxassetid://1891600872",0,0.9,1.5)
  8794. MAINRUINCOLOR = BrickColor.new("Really red")
  8795. keptcolor = MAINRUINCOLOR
  8796. RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  8797. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  8798. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
  8799. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Navy blue"))
  8800. attack = false
  8801. hum.WalkSpeed = storehumanoidWS
  8802. for i = 0, 49 do
  8803. local rsiz = math.random(150,450)
  8804. end
  8805. coroutine.resume(coroutine.create(function()
  8806. local eff = Instance.new("ParticleEmitter",x)
  8807. eff.Texture = "rbxassetid://284205403"
  8808. eff.LightEmission = 0.95
  8809. eff.Color = ColorSequence.new(BrickColor.new("Navy blue").Color)
  8810. eff.Rate = 50000
  8811. eff.Lifetime = NumberRange.new(2.5)
  8812. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  8813. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  8814. eff.Speed = NumberRange.new(250,1000)
  8815. eff.Drag = 5
  8816. eff.Rotation = NumberRange.new(-500,500)
  8817. eff.VelocitySpread = 9000
  8818. eff.RotSpeed = NumberRange.new(-500,500)
  8819. wait(0.5)
  8820. eff.Enabled = false
  8821. end))
  8822. --[[for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do
  8823. if v:FindFirstChild('Head') then
  8824. dmg(v)
  8825. end
  8826. end]]--
  8827. CameraEnshaking(8,10)
  8828. for i = 0, 99 do
  8829. swait()
  8830. rotation = rotation + 5
  8831. poste = poste + 1
  8832. upperpos = upperpos + rate
  8833. rate = rate + 0.1
  8834. end
  8835. x:Destroy()
  8836. end
  8837.  
  8838. function Technobeam()
  8839. attack = true
  8840. hum.WalkSpeed = 3.01
  8841. for i = 0, 4, 0.1 do
  8842. swait()
  8843. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0)
  8844. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(40)), 0.2)
  8845. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  8846. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2)
  8847. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2)
  8848. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  8849. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  8850. end
  8851. for i = 0, 2, 0.1 do
  8852. swait()
  8853. hum.CameraOffset = Vector3.new(0, 0.3 + 0.1 * Cos(sine / 20), 0)
  8854. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(40)), 0.2)
  8855. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(-40)), 0.2)
  8856. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-25)), 0.2)
  8857. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(25)), 0.2)
  8858. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  8859. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  8860. end
  8861. Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, MAINRUINCOLOR, "Sphere")
  8862. Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, MAINRUINCOLOR, "Sphere")
  8863. Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, MAINRUINCOLOR, "Sphere")
  8864. Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, MAINRUINCOLOR, "Sphere")
  8865. CameraEnshaking(4, 5)
  8866. Cso("206049428", char, 10, 1)
  8867. for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
  8868. if v:FindFirstChild("Head") then
  8869. Eviscerate(v)
  8870. end
  8871. end
  8872. for i = 0, 2, 0.1 do
  8873. swait()
  8874. hum.CameraOffset = Vector3.new(0, -0.2 + 0.1 * Cos(sine / 20), 0)
  8875. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-5), Rad(0), Rad(40)), 0.2)
  8876. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  8877. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2)
  8878. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2)
  8879. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  8880. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  8881. end
  8882. hum.WalkSpeed = storehumanoidWS
  8883. attack = false
  8884. end
  8885.  
  8886. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  8887. local orb = Instance.new("Part", char)
  8888. orb.Anchored = true
  8889. orb.BrickColor = color
  8890. orb.CanCollide = false
  8891. orb.FormFactor = 3
  8892. orb.Name = "Ring"
  8893. orb.Material = "Neon"
  8894. orb.Size = Vector3.new(1, 1, 1)
  8895. orb.Transparency = 0
  8896. orb.TopSurface = 0
  8897. orb.BottomSurface = 0
  8898. local orbm = Instance.new("SpecialMesh", orb)
  8899. orbm.MeshType = "Sphere"
  8900. orb.CFrame = positted
  8901. orbm.Name = "SizeMesh"
  8902. orbm.Scale = vt(1,1,1)
  8903. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  8904. Sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  8905. --[[for i = 0, 2 do
  8906. 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)
  8907. end]]--
  8908. coroutine.resume(coroutine.create(function()
  8909. wait(timer)
  8910. CameraEnshaking(3,ShakePower)
  8911. orb.Transparency = 1
  8912. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  8913. Sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  8914. --[[for i = 0, 4 do
  8915. 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)
  8916. end]]--
  8917. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  8918. wait(3)
  8919. orb:Destroy()
  8920. end))
  8921. end
  8922.  
  8923. function GalacticalBeams()
  8924. attack = true
  8925. local keptcolor = MAINRUINCOLOR
  8926. coroutine.resume(coroutine.create(function()
  8927. for i = 0, 0 do
  8928. swait(10)
  8929. local orb = Instance.new("Part", char)
  8930. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  8931. orb.BrickColor = keptcolor
  8932. orb.CanCollide = false
  8933. orb.FormFactor = 3
  8934. orb.Name = "Ring"
  8935. orb.Material = "Neon"
  8936. orb.Size = Vector3.new(1, 1, 1)
  8937. orb.Transparency = 1
  8938. orb.TopSurface = 0
  8939. orb.BottomSurface = 0
  8940. orb.Anchored = true
  8941. local orbm = Instance.new("SpecialMesh", orb)
  8942. orbm.MeshType = "Sphere"
  8943. orbm.Name = "SizeMesh"
  8944. orbm.Scale = vt(1.25,1.25,1.25)
  8945. orb.CFrame = root.CFrame*CFrame.new(math.random(-25,25),math.random(75,150),math.random(-25,25))
  8946. coroutine.resume(coroutine.create(function()
  8947. orb.Transparency = 1
  8948. local a = Instance.new("Part",char)
  8949. a.Name = "Direction"
  8950. a.Anchored = true
  8951. a.BrickColor = keptcolor
  8952. a.Material = "Neon"
  8953. a.Transparency = 1
  8954. a.Shape = "Cylinder"
  8955. local x = Instance.new("Part",char)
  8956. x.Name = "Direction"
  8957. x.Anchored = true
  8958. x.BrickColor = keptcolor
  8959. x.Material = "Neon"
  8960. x.Transparency = 1
  8961. x.Shape = "Cylinder"
  8962. local ht = Instance.new("Part",char)
  8963. ht.Name = "DirectionHit"
  8964. ht.Anchored = true
  8965. ht.BrickColor = keptcolor
  8966. ht.CanCollide = false
  8967. ht.Transparency = 1
  8968. ht.Size = vt(0.1,0.1,0.1)
  8969. a.CanCollide = false
  8970. local ray = Ray.new(
  8971. orb.CFrame.p, -- origin
  8972. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  8973. )
  8974. local ignore = char
  8975. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8976. a.BottomSurface = 10
  8977. a.TopSurface = 10
  8978. local distance = (orb.CFrame.p - position).magnitude
  8979. a.Size = Vector3.new(distance,1,1)
  8980. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8981. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8982. x.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  8983. local poste = 0
  8984. local rotation = 0
  8985. CFuncs["Sound"].Create("rbxassetid://153092315", char, 1.5, 1)
  8986. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(5,5,5),2.5,2.5,0,keptcolor)
  8987. CameraEnshaking(2,2)
  8988. for i = 0, 49 do
  8989. swait()
  8990. rotation = rotation + 5
  8991. poste = poste + 1
  8992. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  8993. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  8994. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  8995. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  8996. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  8997. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  8998. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  8999. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  9000. end
  9001. local A1 = Instance.new("Attachment",x)
  9002. local A2 = Instance.new("Attachment",ht)
  9003. local Beem = Instance.new("Beam",ht)
  9004. Beem.Attachment0 = A1
  9005. Beem.Attachment1 = A2
  9006. Beem.LightEmission = 1
  9007. Beem.FaceCamera = true
  9008. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, 0),NumberSequenceKeypoint.new(0.975, 0),NumberSequenceKeypoint.new(1, 1)})
  9009. Beem.Width0 = 125
  9010. Beem.Width1 = 125
  9011. Beem.Texture = "rbxassetid://1134824633"
  9012. Beem.TextureMode = "Wrap"
  9013. Beem.TextureLength = 200
  9014. Beem.TextureSpeed = 1.5
  9015. Beem.Color = ColorSequence.new(keptcolor.Color)
  9016. CameraEnshaking(3,6)
  9017. CFuncs["Sound"].Create("rbxassetid://294188875", char, 2, 1.5)
  9018. a.Transparency = 0.25
  9019. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  9020. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  9021. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  9022. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  9023. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor)
  9024. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor)
  9025. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  9026. local eff = Instance.new("ParticleEmitter",ht)
  9027. eff.Texture = "rbxassetid://284205403"
  9028. eff.LightEmission = 0.95
  9029. eff.Color = ColorSequence.new(keptcolor.Color)
  9030. eff.Rate = 500
  9031. eff.Lifetime = NumberRange.new(1)
  9032. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.2,35,0),NumberSequenceKeypoint.new(1,0.1,0)})
  9033. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  9034. eff.Speed = NumberRange.new(80,500)
  9035. eff.Drag = 5
  9036. eff.Rotation = NumberRange.new(-500,500)
  9037. eff.VelocitySpread = 9000
  9038. eff.RotSpeed = NumberRange.new(-500,500)
  9039. for i = 0, 24 do
  9040. sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor)
  9041. local rsiz = math.random(10,50)
  9042. sphereMK(math.random(3,6),1.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)
  9043. end
  9044. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  9045. local msh = Instance.new("SpecialMesh",a)
  9046. msh.MeshType = "Cylinder"
  9047. msh.Scale = vt(1,15,15)
  9048. for i = 0, 49 do
  9049. swait()
  9050. CameraEnshaking(1,4)
  9051. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  9052. rotation = rotation + 5
  9053. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  9054. sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor)
  9055. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(25,25,5),1,1,0,keptcolor)
  9056. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  9057. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  9058. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  9059. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  9060. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  9061. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  9062. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  9063. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  9064. for i = 0, 2 do
  9065. local rsiz = math.random(50,250)
  9066. sphereMK(math.random(3,6),math.random(2,4),"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)
  9067. end
  9068. msh.Scale = msh.Scale + vt(0,0.25,0.25)
  9069. end
  9070. eff.Enabled = false
  9071. local visibility = 0
  9072. for i = 0, 49 do
  9073. swait()
  9074. visibility = visibility + 0.02
  9075. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, visibility),NumberSequenceKeypoint.new(0.975, visibility),NumberSequenceKeypoint.new(1, 1)})
  9076. rotation = rotation + 5
  9077. poste = poste - 1
  9078. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  9079. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  9080. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  9081. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  9082. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  9083. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  9084. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  9085. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  9086. msh.Scale = msh.Scale + vt(0,-0.5,-0.5)
  9087. a.Transparency = a.Transparency + 0.02
  9088. end
  9089. wait(1)
  9090. orb:Destroy()
  9091. a:Destroy()
  9092. ht:Destroy()
  9093. end))
  9094. game:GetService("Debris"):AddItem(orb, 10)
  9095. end
  9096. end))
  9097. hum.WalkSpeed = storehumanoidWS
  9098. attack = false
  9099. end
  9100. end
  9101. -------------------------------------
  9102.  
  9103. Humanoid.Animator.Parent = nil
  9104.  
  9105. -------------------------------------
  9106.  
  9107. local attacktype = 1
  9108. mouse.Button1Down:connect(function()
  9109. if attack == false and attacktype == 1 then
  9110. attacktype = 2
  9111. attackone()
  9112. elseif attack == false and attacktype == 2 then
  9113. attacktype = 3
  9114. attacktwo()
  9115. elseif attack == false and attacktype == 3 then
  9116. attacktype = 1
  9117. attackthree()
  9118. elseif attack == false and attacktype == 4 then
  9119. attacktype = 1
  9120. --attackfour()
  9121. end
  9122. end)
  9123. mouse.KeyDown:connect(function(k)
  9124. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  9125. --normalmog() ---Disabled due to crashing... only in VSB
  9126. ModeOfGlitch = 1
  9127. storehumanoidWS = 17
  9128. hum.WalkSpeed = 17
  9129. rainbowmode = false
  9130. chaosmode = false
  9131. newTheme("rbxassetid://614032233",48.6,1,1.25)
  9132. RecolorTextAndRename("Glaze",Color3.new(0,1,0),Color3.new(0,2,0),"Antique")
  9133. MAINRUINCOLOR = BrickColor.new("Forest green")
  9134. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  9135. end
  9136. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  9137. ModeOfGlitch = 2
  9138. storehumanoidWS = 25
  9139. hum.WalkSpeed = 25
  9140. rainbowmode = false
  9141. chaosmode = false
  9142. RecolorTextAndRename("PURITY",Color3.new(0,1,1),Color3.new(0,1,1),"Code")
  9143. newTheme("rbxassetid://1539245059",0,1,1)
  9144. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  9145. RecolorThing(MAINRUINCOLOR,BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9146. end
  9147. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  9148. ModeOfGlitch = 3
  9149. storehumanoidWS = 25
  9150. hum.WalkSpeed = 25
  9151. rainbowmode = false
  9152. chaosmode = false
  9153. RecolorTextAndRename("CORRUPTION G",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
  9154. newTheme("rbxassetid://1232367576",58.15,0.98,1.25)
  9155. MAINRUINCOLOR = BrickColor.new("Royal purple")
  9156. RecolorThing(MAINRUINCOLOR,BrickColor.new("Lilac"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9157. end
  9158. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  9159. ModeOfGlitch = 4
  9160. storehumanoidWS = 20
  9161. hum.WalkSpeed = 20
  9162. rainbowmode = false
  9163. chaosmode = true
  9164. RecolorTextAndRename("Derp",Color3.new(0,0,0),Color3.new(1,1,1),"Arcade")
  9165. newTheme("rbxassetid://2525700576",0,1.01,1.25)
  9166. MAINRUINCOLOR = BrickColor.new("Really black")
  9167. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9168. end
  9169. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  9170. ModeOfGlitch = 5
  9171. storehumanoidWS = 450
  9172. hum.WalkSpeed = 540
  9173. rainbowmode = true
  9174. chaosmode = false
  9175. RecolorTextAndRename("Speedy Glaze",Color3.new(15,1,4),Color3.new(1,31,11),"Arcade")
  9176. newTheme("rbxassetid://1747430851",0,1,2)
  9177. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  9178. RecolorThing(MAINRUINCOLOR,BrickColor.new("baby blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9179. end
  9180. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  9181. ModeOfGlitch = 6
  9182. storehumanoidWS = 100
  9183. hum.WalkSpeed = 100
  9184. rainbowmode = false
  9185. chaosmode = false
  9186. RecolorTextAndRename("Burning Glaze",Color3.new(0.75,0.9,1),BrickColor.new("Bright yellow").Color,"Arcade")
  9187. newTheme("rbxassetid://1276814239",0,1,1)
  9188. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  9189. RecolorThing(MAINRUINCOLOR,BrickColor.new("Deep orange"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9190. end
  9191. if k == "f" and attack == false and ModeOfGlitch ~= 8 then
  9192. ModeOfGlitch = 8
  9193. storehumanoidWS = 140
  9194. hum.WalkSpeed = 140
  9195. rainbowmode = false
  9196. chaosmode = false
  9197. RecolorTextAndRename("Derp's Destiny",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
  9198. newTheme("rbxassetid://2018331827",0,1.01,1.25)
  9199. MAINRUINCOLOR = BrickColor.new("Alder")
  9200. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9201. end
  9202. if k == "g" and attack == false and ModeOfGlitch ~= 9 then
  9203. ModeOfGlitch = 9
  9204. storehumanoidWS = 150
  9205. hum.WalkSpeed = 150
  9206. rainbowmode = false
  9207. chaosmode = false
  9208. RecolorTextAndRename("Holy Glaze",Color3.new(1,1,1),Color3.new(1,1,0.5),"Arcade")
  9209. newTheme("rbxassetid://661079869",0,1,2)
  9210. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  9211. RecolorThing(MAINRUINCOLOR,BrickColor.new("Bright yellow"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9212. end
  9213. if k == "h" and attack == false and ModeOfGlitch ~= 10 then
  9214. ModeOfGlitch = 10
  9215. storehumanoidWS = 75
  9216. hum.WalkSpeed = 75
  9217. rainbowmode = false
  9218. chaosmode = false
  9219. RecolorTextAndRename("Infected Glaze",Color3.new(0,6,0),BrickColor.new("Dark green").Color,"Code")
  9220. newTheme("rbxassetid://1812212957",0,1,1)
  9221. MAINRUINCOLOR = BrickColor.new("Dark green")
  9222. RecolorThing(MAINRUINCOLOR,BrickColor.new("Lime green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9223. end
  9224. if k == "m" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 83 then
  9225. ModeOfGlitch = 83
  9226. storehumanoidWS = 180
  9227. hum.WalkSpeed = 180
  9228. rainbowmode = false
  9229. chaosmode = false
  9230. RecolorTextAndRename("TWISTED",BrickColor.new("Black").Color,BrickColor.new("Really black").Color,"Antique")
  9231. newTheme("rbxassetid://2072448553",0,1,1)
  9232. MAINRUINCOLOR = BrickColor.new("Really black")
  9233. RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9234. end
  9235. if k == "m" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 95 then
  9236. ModeOfGlitch = 95
  9237. storehumanoidWS = 180
  9238. hum.WalkSpeed = 180
  9239. rainbowmode = true
  9240. chaosmode = false
  9241. RecolorTextAndRename("Stressed Glaze",BrickColor.new("Red").Color,BrickColor.new("Black").Color,"Antique")
  9242. newTheme("rbxassetid://1301290348",0,1,1)
  9243. MAINRUINCOLOR = BrickColor.new("Black")
  9244. RecolorThing(MAINRUINCOLOR,BrickColor.new("Red"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9245. end
  9246. if k == "n" and attack == false and ModeOfGlitch == 3 and ModeOfGlitch ~= 150 then
  9247. ModeOfGlitch = 150
  9248. storehumanoidWS = 180
  9249. hum.WalkSpeed = 180
  9250. rainbowmode = false
  9251. chaosmode = false
  9252. RecolorTextAndRename("Glaze..?",BrickColor.new("Black").Color,BrickColor.new("Really black").Color,"Antique")
  9253. newTheme("rbxassetid://1960307734",0,1,1)
  9254. MAINRUINCOLOR = BrickColor.new("Really black")
  9255. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9256. end
  9257. if k == "n" and attack == false and ModeOfGlitch == 9 and ModeOfGlitch ~= 500 then
  9258. ModeOfGlitch = 500
  9259. storehumanoidWS = 180
  9260. hum.WalkSpeed = 180
  9261. rainbowmode = false
  9262. chaosmode = false
  9263. RecolorTextAndRename("Glaze derps",BrickColor.new("Alder").Color,BrickColor.new("Lilac").Color,"Antique")
  9264. newTheme("rbxassetid://1382488262",0,1,1)
  9265. MAINRUINCOLOR = BrickColor.new("Lilac")
  9266. RecolorThing(MAINRUINCOLOR,BrickColor.new("Lilac"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9267. end
  9268. if k == "m" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 652 then
  9269. ModeOfGlitch = 652
  9270. storehumanoidWS = 180
  9271. hum.WalkSpeed = 180
  9272. rainbowmode = true
  9273. chaosmode = false
  9274. RecolorTextAndRename("FROZEN Glaze",BrickColor.new("Baby blue").Color,BrickColor.new("Cyan").Color,"Antique")
  9275. newTheme("rbxassetid://603565821",0,1,1)
  9276. MAINRUINCOLOR = BrickColor.new("Baby blue")
  9277. RecolorThing(MAINRUINCOLOR,BrickColor.new("Cyan"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9278. end
  9279. if k == "m" and attack == false and ModeOfGlitch == 150 and ModeOfGlitch ~= 999 then
  9280. ModeOfGlitch = 999
  9281. storehumanoidWS = 180
  9282. hum.WalkSpeed = 180
  9283. rainbowmode = false
  9284. chaosmode = false
  9285. RecolorTextAndRename("G L A Z E ? ? ?",BrickColor.new("Dark stone grey").Color,BrickColor.new("Really black").Color,"Antique")
  9286. newTheme("rbxassetid://2813571497",0,1,1)
  9287. MAINRUINCOLOR = BrickColor.new("Dark stone grey")
  9288. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9289. end
  9290. if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
  9291. ModeOfGlitch = 8889
  9292. storehumanoidWS = 180
  9293. hum.WalkSpeed = 180
  9294. rainbowmode = false
  9295. chaosmode = false
  9296. RecolorTextAndRename("Calamity Glaze",BrickColor.new("Pink").Color,BrickColor.new("Royal purple").Color,"Antique")
  9297. newTheme("rbxassetid://1027314531",0,1,1)
  9298. MAINRUINCOLOR = BrickColor.new("Royal purple")
  9299. RecolorThing(MAINRUINCOLOR,BrickColor.new("Lilac"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9300. end
  9301. if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
  9302. ModeOfGlitch = 55469696922
  9303. storehumanoidWS = 275
  9304. hum.WalkSpeed = 275
  9305. rainbowmode = false
  9306. chaosmode = false
  9307. RecolorTextAndRename("NANO",Color3.new(0.25,0,0.1),BrickColor.new("Hot pink").Color,"Antique")
  9308. newTheme("rbxassetid://2234873423",0,1,1)
  9309. MAINRUINCOLOR = BrickColor.new("Pink")
  9310. RecolorThing(MAINRUINCOLOR,BrickColor.new("Hot pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9311. end
  9312. if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  9313. ModeOfGlitch = 4367677813
  9314. storehumanoidWS = 225
  9315. hum.WalkSpeed = 225
  9316. rainbowmode = false
  9317. chaosmode = false
  9318. RecolorTextAndRename("Clean glaze",Color3.new(0,1,1),BrickColor.new("Electric blue").Color,"Arcade")
  9319. newTheme("rbxassetid://2482117221",0,1,1)
  9320. MAINRUINCOLOR = BrickColor.new("Electric blue")
  9321. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9322. end
  9323. if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 9999999921111 then
  9324. ModeOfGlitch = 9999999921111
  9325. storehumanoidWS = 300
  9326. hum.WalkSpeed = 300
  9327. rainbowmode = false
  9328. chaosmode = false
  9329. RecolorTextAndRename("OMEGA GLAZE",BrickColor.new("Black").Color,BrickColor.new("Bright bluish green").Color,"SciFi")
  9330. newTheme("rbxassetid://643309199",0,1,1)
  9331. MAINRUINCOLOR = BrickColor.new("Bright bluish green")
  9332. RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9333. end
  9334. if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
  9335. ModeOfGlitch = 999999999556
  9336. storehumanoidWS = 500
  9337. hum.WalkSpeed = 500
  9338. rainbowmode = false
  9339. chaosmode = false
  9340. RecolorTextAndRename("ABYSSAL GLAZE",Color3.new(0,0,0),Color3.new(0,0,7),"Code")
  9341. newTheme("rbxassetid://1422695084",0,1,1)
  9342. MAINRUINCOLOR = BrickColor.new("Black")
  9343. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9344. end
  9345. if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  9346. ModeOfGlitch = 1264532489
  9347. storehumanoidWS = 250
  9348. hum.WalkSpeed = 250
  9349. rainbowmode = false
  9350. chaosmode = false
  9351. RecolorTextAndRename("STAR GLAZE",Color3.new(0.5,0,1),BrickColor.new("Royal purple").Color,"Arcade")
  9352. newTheme("rbxassetid://614032233",0,1,1)
  9353. MAINRUINCOLOR = BrickColor.new("Royal purple")
  9354. RecolorThing(MAINRUINCOLOR,BrickColor.new("Royal purple"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9355. end
  9356. if k == "n" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 7536 then
  9357. ModeOfGlitch = 7536
  9358. storehumanoidWS = 250
  9359. hum.WalkSpeed = 250
  9360. rainbowmode = false
  9361. chaosmode = false
  9362. RecolorTextAndRename("cHILLED GLAZE",Color3.new(0,0,0),Color3.new(0.35,0,1),"Arcade")
  9363. newTheme("rbxassetid://561833161",0,1,1)
  9364. MAINRUINCOLOR = BrickColor.new("Really blue")
  9365. RecolorThing(MAINRUINCOLOR,BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9366. end
  9367. if k == "n" and attack == false and ModeOfGlitch == 10 and ModeOfGlitch ~= 666 then
  9368. ModeOfGlitch = 666
  9369. storehumanoidWS = 75
  9370. hum.WalkSpeed = 75
  9371. rainbowmode = false
  9372. chaosmode = false
  9373. RecolorTextAndRename("Virus",Color3.new(0.5,2,0.1),BrickColor.new("Lime green").Color,"Arcade")
  9374. newTheme("rbxassetid://1296208488",0,1,1)
  9375. MAINRUINCOLOR = BrickColor.new("Lime green")
  9376. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9377. end
  9378. if k == "l" and mutedtog == false then
  9379. mutedtog = true
  9380. kan.Volume = 0
  9381. elseif k == "l" and mutedtog == true then
  9382. mutedtog = false
  9383. kan.Volume = 1.25
  9384. end
  9385. if k == "p" and toggleTag == false then
  9386. toggleTag = true
  9387. modet.TextTransparency = 0
  9388. modet.TextStrokeTransparency = 0
  9389. elseif k == "p" and toggleTag == true then
  9390. toggleTag = false
  9391. modet.TextTransparency = 1
  9392. modet.TextStrokeTransparency = 1
  9393. end
  9394. if k == "z" and attack == false and ModeOfGlitch == 1 then
  9395. ExtinctiveHeartbreak()
  9396. elseif k == "c" and attack == false and ModeOfGlitch == 1 then
  9397. FallenOrbs()
  9398. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  9399. HeavenlyDisk()
  9400. elseif k == "x" and attack == false and ModeOfGlitch == 2 then
  9401. PureOrb()
  9402. elseif k == "c" and attack == false and ModeOfGlitch == 2 then
  9403. harmonytaunty()
  9404. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  9405. CorruptionEvent()
  9406. elseif k == "x" and attack == false and ModeOfGlitch == 3 then
  9407. DivineBlast()
  9408. elseif k == "c" and attack == false and ModeOfGlitch == 3 then
  9409. scattercorrupt()
  9410. elseif k == "v" and attack == false and ModeOfGlitch == 3 then
  9411. CorruptBlink()
  9412. elseif k == "c" and attack == false and ModeOfGlitch == 4 then
  9413. ChaosEND()
  9414. elseif k == "x" and attack == false and ModeOfGlitch == 4 then
  9415. attacktwo()
  9416. elseif k == "v" and attack == false and ModeOfGlitch == 4 then
  9417. ChaosGroundStrike()
  9418. elseif k == "m" and attack == false and ModeOfGlitch == 4 then
  9419. FallenOrbs()
  9420. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  9421. RapidBurst()
  9422. elseif k == "k" and attack == false and ModeOfGlitch == 4 then
  9423. InsaneDrop()
  9424. elseif k == "j" and attack == false and ModeOfGlitch == 4 then
  9425. SpeedDrop()
  9426. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  9427. DivineLights()
  9428. elseif k == "x" and attack == false and ModeOfGlitch == 5 then
  9429. vistaunty()
  9430. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  9431. EquinoxOrbs()
  9432. elseif k == "x" and attack == false and ModeOfGlitch == 6 then
  9433. shytaunty()
  9434. elseif k == "c" and attack == false and ModeOfGlitch == 6 then
  9435. cutesigh()
  9436. elseif k == "v" and attack == false and ModeOfGlitch == 6 then
  9437. Counter()
  9438. elseif k == "b" and attack == false and ModeOfGlitch == 6 then
  9439. hugg()
  9440. elseif k == "z" and attack == false and ModeOfGlitch == 7536 then
  9441. yinyangi()
  9442. elseif k == "x" and attack == false and ModeOfGlitch == 9 then
  9443. smiter()
  9444. elseif k == "c" and attack == false and ModeOfGlitch == 9 then
  9445. HolyBarrier()
  9446. elseif k == "v" and attack == false and ModeOfGlitch == 9 then
  9447. Judgement()
  9448. elseif k == "m" and attack == false and ModeOfGlitch == 9 then
  9449. Suicidal()
  9450. elseif k == "z" and attack == false and ModeOfGlitch == 83 then
  9451. ViolentRing()
  9452. elseif k == "x" and attack == false and ModeOfGlitch == 83 then
  9453. THE_TRUE_POWER_OF_VIOLENCE()
  9454. elseif k == "z" and attack == false and ModeOfGlitch == 999 then
  9455. ExtinctiveHeartbreak()
  9456. elseif k == "z" and attack == false and ModeOfGlitch == 8889 then
  9457. attackone()
  9458. elseif k == "x" and attack == false and ModeOfGlitch == 8889 then
  9459. UniversalCollapse()
  9460. elseif k == "z" and attack == false and ModeOfGlitch == 9 then
  9461. FallenOrbs()
  9462. elseif k == "c" and attack == false and ModeOfGlitch == 8889 then
  9463. FallenOrbs()
  9464. elseif k == "z" and attack == false and ModeOfGlitch == 8889 then
  9465. EquinoxOrbs()
  9466. elseif k == "v" and attack == false and ModeOfGlitch == 8889 then
  9467. CyberSlash()
  9468. elseif k == "b" and attack == false and ModeOfGlitch == 8889 then
  9469. CardStorm()
  9470. elseif k == "z" and attack == false and ModeOfGlitch == 55469696922 then
  9471. BinaryBLINK()
  9472. elseif k == "x" and attack == false and ModeOfGlitch == 55469696922 then
  9473. BeamOfDeath()
  9474. elseif k == "c" and attack == false and ModeOfGlitch == 55469696922 then
  9475. GalacticalBeams()
  9476. elseif k == "z" and attack == false and ModeOfGlitch == 999999999556 then
  9477. WarpedDash()
  9478. elseif k == "x" and attack == false and ModeOfGlitch == 999999999556 then
  9479. Technobeam()
  9480. elseif k == "c" and attack == false and ModeOfGlitch == 999999999556 then
  9481. FinalCalamity()
  9482. elseif k == "z" and attack == false and ModeOfGlitch == 9999999921111 then
  9483. EndGROUND()
  9484. elseif k == "x" and attack == false and ModeOfGlitch == 9999999921111 then
  9485. StarDivision()
  9486. elseif k == "c" and attack == false and ModeOfGlitch == 9999999921111 then
  9487. GleamingBeam()
  9488. elseif k == "v" and attack == false and ModeOfGlitch == 9999999921111 then
  9489. DualGleamingBeam()
  9490. elseif k == "b" and attack == false and ModeOfGlitch == 9999999921111 then
  9491. dragin()
  9492. elseif k == "m" and attack == false and ModeOfGlitch == 9999999921111 then
  9493. Beams()
  9494. elseif k == "x" and attack == false and ModeOfGlitch == 1264532489 then
  9495. AZUREFINALE()
  9496. elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
  9497. FallenOrbs()
  9498. end
  9499. if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
  9500. FallenDEMISE()
  9501. end
  9502. if k == "x" and attack == false and ModeOfGlitch == 1 then
  9503. EndGROUND()
  9504. end
  9505. end)
  9506.  
  9507. --[[coroutine.resume(coroutine.create(function()
  9508. while true do
  9509. swait(2)
  9510. if chaosmode == true then
  9511. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9512. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9513. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9514. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy")
  9515. for i, v in pairs(mw1:GetChildren()) do
  9516. if v:IsA("Part") then
  9517. v.Transparency = 0.75
  9518. v.BrickColor = BrickColor.random()
  9519. v.Material = "Neon"
  9520. end
  9521. end
  9522. for i, v in pairs(m2:GetChildren()) do
  9523. if v:IsA("Part") then
  9524. v.BrickColor = BrickColor.random()
  9525. v.Material = "Neon"
  9526. end
  9527. end
  9528. end
  9529. end
  9530. end))]]--
  9531. Humanoid.Name = "STARGLITCHER"
  9532. Humanoid.MaxHealth = math.huge
  9533. Humanoid.Health = math.huge
  9534. Instance.new("ForceField",char).Visible = false
  9535.  
  9536. local bguis = Instance.new("BillboardGui",tors)
  9537. bguis.Size = UDim2.new(25, 0, 25, 0)
  9538. local imgca = Instance.new("ImageLabel",bguis)
  9539. imgca.BackgroundTransparency = 1
  9540. imgca.ImageTransparency = 1
  9541. imgca.Size = UDim2.new(1,0,1,0)
  9542. imgca.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891
  9543. imgca.ImageColor3 = Color3.new(0,0,0)
  9544.  
  9545. idleanim=.4
  9546. while true do
  9547. if mutedtog == false then
  9548. kan.Volume = currentVol
  9549. elseif mutedtog == true then
  9550. kan.Volume = 0
  9551. end
  9552. kan.PlaybackSpeed = currentPitch
  9553. kan.Pitch = currentPitch
  9554. kan.SoundId = currentThemePlaying
  9555. kan.Looped = true
  9556. kan.Parent = char
  9557. kan:Resume()
  9558. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 then
  9559. imgca.ImageTransparency = 1
  9560. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
  9561. imgca.ImageColor3 = MAINRUINCOLOR.Color
  9562. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  9563. end
  9564. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
  9565. bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  9566. coroutine.resume(coroutine.create(function()
  9567. if chaosmode == true then
  9568. for i, v in pairs(mw1:GetChildren()) do
  9569. if v:IsA("Part") then
  9570. v.Transparency = 0
  9571. v.BrickColor = BrickColor.random()
  9572. v.Material = "Neon"
  9573. end
  9574. end
  9575. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9576. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9577. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9578. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
  9579. end
  9580. end))
  9581.  
  9582. if chaosmode == false then
  9583. modet.Position = UDim2.new(0,0,0,0)
  9584. modet.Rotation = -5 * math.cos(sine / 32)
  9585. techc.Rotation = techc.Rotation + 1
  9586. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1
  9587. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1
  9588. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 + 1
  9589. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25 - 1
  9590. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  9591. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  9592. else
  9593. techc.Rotation = techc.Rotation + 1
  9594. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
  9595. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
  9596. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
  9597. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
  9598. ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  9599. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  9600. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  9601. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  9602. end
  9603. CameraManager()
  9604. swait()
  9605. 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)
  9606. 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)
  9607. 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)
  9608. 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)
  9609. 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)
  9610. 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)
  9611. 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)
  9612. 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)
  9613. 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)
  9614. 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)
  9615. 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)
  9616. 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)
  9617. sine = sine + change
  9618. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  9619. local velderp=RootPart.Velocity.y
  9620. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  9621. if equipped==true or equipped==false then
  9622. if attack==false then
  9623. idle=idle+1
  9624. else
  9625. idle=0
  9626. end
  9627. if idle>=500 then
  9628. if attack==false then
  9629. --Sheath()
  9630. end
  9631. end
  9632. if RootPart.Velocity.y > 1 and hitfloor==nil then
  9633. Anim="Jump"
  9634. if attack==false then
  9635. 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)
  9636. 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)
  9637. 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)
  9638. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  9639. 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)
  9640. 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)
  9641. end
  9642. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  9643. Anim="Fall"
  9644. if attack==false then
  9645. 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)
  9646. 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)
  9647. 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)
  9648. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  9649. 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)
  9650. 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)
  9651. end
  9652. elseif torvel<1 and hitfloor~=nil then
  9653. Anim="Idle"
  9654. if attack==false then
  9655. if ModeOfGlitch == 1 then
  9656. local snap = math.random(1,10)
  9657. if snap == 1 then
  9658. 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)
  9659. end
  9660. 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)
  9661. 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)
  9662. 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)
  9663. 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)
  9664. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(13 + 9 * math.cos(sine / 45))),.1)
  9665. 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)
  9666. elseif ModeOfGlitch == 2 then
  9667. 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(0 + 1 * math.cos(sine / 34))),.1)
  9668. 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)
  9669. 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)
  9670. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  9671. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
  9672. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  9673. elseif ModeOfGlitch == 3 then
  9674. local snap = math.random(1,32)
  9675. if snap == 1 then
  9676. 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)
  9677. end
  9678. 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)
  9679. 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)
  9680. 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)
  9681. 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)
  9682. 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)
  9683. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1)
  9684. elseif ModeOfGlitch == 4 then
  9685. local snap = math.random(1,5)
  9686. if snap == 1 then
  9687. 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)
  9688. 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)
  9689. 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)
  9690. end
  9691. sphere2(8,"Add",rleg.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.random(),BrickColor.random().Color)
  9692. sphere2(8,"Add",lleg.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.random(),BrickColor.random().Color)
  9693. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.025 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-1.5), math.rad(0), math.rad(20)), 0.1)
  9694. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.025 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-1.5), math.rad(0), math.rad(-20)), 0.1)
  9695. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.025 * math.cos(sine / 32)) * angles(math.rad(20 - 0.5 * math.cos(sine / 32)), math.rad(0), math.rad(0)), 0.1)
  9696. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(30 - 5 * math.cos(sine / 0.5265)), math.rad(0 - 5 * math.cos(sine / 0.25)), math.rad(0 - 5 * math.cos(sine / 0.465))), 0.1)
  9697. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)), math.rad(0 + 2.5 * math.cos(sine / 0.123)), math.rad(5 + 2.5 * math.cos(sine / 0.6))), 0.1)
  9698. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)), math.rad(0 + 2.5 * math.cos(sine / 0.664)), math.rad(-5 + 2.5 * math.cos(sine / 0.23))), 0.1)
  9699. elseif ModeOfGlitch == 5 then
  9700. 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)
  9701. 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("Alder"),Color3.new(0,1,0))
  9702. 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)
  9703. 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)
  9704. 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)
  9705. 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)
  9706. 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)
  9707. 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)
  9708. elseif ModeOfGlitch == 6 then
  9709. 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)
  9710. 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)
  9711. 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)
  9712. 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)
  9713. 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)
  9714. 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)
  9715. elseif ModeOfGlitch == 8 then
  9716. 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)
  9717. 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)
  9718. 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)
  9719. 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)
  9720. 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)
  9721. 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)
  9722. elseif ModeOfGlitch == 9 then
  9723. local snap = math.random(1,32)
  9724. if snap == 1 then
  9725. 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)
  9726. end
  9727. 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)
  9728. 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)
  9729. 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)
  9730. 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)
  9731. 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)
  9732. 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)
  9733. elseif ModeOfGlitch == 10 then
  9734. 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))), 0.1)
  9735. 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))), 0.1)
  9736. 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)), 0.1)
  9737. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(5 - 2.5 * math.cos(sine / 28)), math.rad(0), math.rad(0)), 0.1)
  9738. RW.C0 = clerp(RW.C0, cf(1, 0.5 + 0.1 * math.cos(sine / 28), 0.45) * angles(math.rad(-30), math.rad(0), math.rad(-30)), 0.1)
  9739. 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)), 0.1)
  9740. elseif ModeOfGlitch == 83 then
  9741. 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)
  9742. 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)
  9743. 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)
  9744. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1)
  9745. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(-5),math.rad(15 + 7.5 * math.cos(sine / 12.5))),.1)
  9746. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(5),math.rad(-15 - 7.5 * math.cos(sine / 12.5))),.1)
  9747. elseif ModeOfGlitch == 95 then
  9748. 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)
  9749. 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)
  9750. 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)
  9751. 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)
  9752. 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)
  9753. 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)
  9754. elseif ModeOfGlitch == 150 then
  9755. local snap = math.random(1,5)
  9756. if snap == 1 then
  9757. 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)
  9758. 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)
  9759. 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)
  9760. end
  9761. 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(0 + 1 * math.cos(sine / 34))),.1)
  9762. 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)
  9763. 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)
  9764. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  9765. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
  9766. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  9767. elseif ModeOfGlitch == 432 then
  9768. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(95),math.rad(0))*angles(math.rad(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1)
  9769. 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(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
  9770. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1)
  9771. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  9772. 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)
  9773. 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)
  9774. elseif ModeOfGlitch == 500 then
  9775. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.1)
  9776. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.1)
  9777. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(10)),.1)
  9778. 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)
  9779. 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)
  9780. 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)
  9781. elseif ModeOfGlitch == 652 then
  9782. local snap = math.random(1,2)
  9783. if snap == 1 then
  9784. 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)
  9785. 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)
  9786. 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)
  9787. end
  9788. 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)
  9789. 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)
  9790. 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)
  9791. 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)
  9792. 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)
  9793. 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)
  9794. elseif ModeOfGlitch == 666 then
  9795. 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)
  9796. 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)
  9797. 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)
  9798. 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)
  9799. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-2 - 3 * math.cos(sine / 30)),math.rad(25 - 3 * math.cos(sine / 38)),math.rad(28 - 6 * math.cos(sine / 34))),.1)
  9800. LW.C0=clerp(LW.C0,cf(-0.95,0.65 + 0.075 * math.cos(sine / 28),-0.65)*angles(math.rad(90 + 2 * math.cos(sine / 73)),math.rad(25 + 5 * math.cos(sine / 24)),math.rad(73 - 3 * math.cos(sine / 65))),.1)
  9801. elseif ModeOfGlitch == 789 then
  9802. 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(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1)
  9803. 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(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
  9804. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1)
  9805. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  9806. 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)
  9807. 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)
  9808. elseif ModeOfGlitch == 999 then
  9809. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  9810. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  9811. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  9812. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(-25),0)*angles(math.rad(0 - 25 * math.cos(sine / 0.1164)),math.rad(0 - 30 * math.cos(sine / 0.25)),math.rad(0 - 30 * math.cos(sine / 0.465))),.1)
  9813. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  9814. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  9815. elseif ModeOfGlitch == 7536 then
  9816. 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(0 - 6 * math.cos(sine / 40)),math.rad(-6 + 2 * math.cos(sine / 20) - 6 * math.cos(sine / 40))),.1)
  9817. 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(10 - 6 * math.cos(sine / 40)),math.rad(3 - 2 * math.cos(sine / 20) - 3 * math.cos(sine / 40))),.1)
  9818. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.02 * math.cos(sine / 40),0 - 0.06 * 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(-20 + 6 * math.cos(sine / 40))),.1)
  9819. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(6),math.rad(0 - 2 * math.cos(sine / 42)),math.rad(20 - 6 * math.cos(sine / 40))),.1)
  9820. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-13 + 3 * math.cos(sine / 26)),math.rad(-20 - 3 * math.cos(sine / 24)),math.rad(20 - 5 * math.cos(sine / 34))),.1)
  9821. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-13 - 3 * math.cos(sine / 25)),math.rad(10 + 3 * math.cos(sine / 24)),math.rad(-10 + 5 * math.cos(sine / 34))),.1)
  9822. elseif ModeOfGlitch == 8889 then
  9823. 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)
  9824. 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("Toothpaste"),Color3.new(0,1,0))
  9825. 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)), 0.1)
  9826. 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)), 0.1)
  9827. 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)), 0.1)
  9828. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(15), math.rad(0), math.rad(0)), 0.1)
  9829. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20 + 2.5 * math.cos(sine / 28))), 0.1)
  9830. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20 - 2.5 * math.cos(sine / 28))), 0.1)
  9831. elseif ModeOfGlitch == 1264532489 then
  9832. 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)
  9833. 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)
  9834. 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(-60)),.1)
  9835. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(21 - 2 * math.cos(sine / 37)),math.rad(20 + 1 * math.cos(sine / 58)),math.rad(60 + 2 * math.cos(sine / 53))),.1)
  9836. 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)
  9837. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(98 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  9838. elseif ModeOfGlitch == 9999999921111 then
  9839. local snap = math.random(1,10)
  9840. if snap == 1 then
  9841. 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)
  9842. end
  9843. 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)
  9844. 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)
  9845. 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)
  9846. 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)
  9847. 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)
  9848. 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)
  9849. elseif ModeOfGlitch == 4367677813 then
  9850. 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)
  9851. 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)
  9852. 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)
  9853. 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)
  9854. 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)
  9855. 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)
  9856. elseif ModeOfGlitch == 55469696922 then
  9857. 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)
  9858. 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)
  9859. 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)
  9860. 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)
  9861. 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)
  9862. 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)
  9863. 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)
  9864. elseif ModeOfGlitch == 999999999556 then
  9865. 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)
  9866. 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)
  9867. 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)
  9868. 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)
  9869. 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)
  9870. 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)
  9871. end
  9872. end
  9873. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  9874. Anim="Walk"
  9875. if attack==false then
  9876. 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)
  9877. 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)
  9878. 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)
  9879. 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)
  9880. 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)
  9881. 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)
  9882. end
  9883. elseif torvel>=22 and hitfloor~=nil then
  9884. Anim="Run"
  9885. if attack==false then
  9886. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 8889 and ModeofGlitch ~= 7536 and ModeofGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 10 then
  9887. 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)
  9888. 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)
  9889. 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)
  9890. 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)
  9891. 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)
  9892. 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)
  9893. if ModeOfGlitch == 9 then
  9894. --
  9895. end
  9896. elseif ModeOfGlitch == 6 or ModeOfGlitch == 10 or ModeofGlitch == 8 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 then
  9897. 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)
  9898. 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)
  9899. 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)
  9900. 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)
  9901. 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)
  9902. 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)
  9903. end
  9904. end
  9905. end
  9906. end
  9907. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement