Advertisement
goober_the_ultimate

Untitled

Mar 2nd, 2019
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --ALREADY FINISHED!!! =D PM me on Discord at Shiny Rayquaza#6898 if there's any bugs
  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 = RhiBel00351
  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([[Hyperion Glitcher Loaded.
  93. They say you can run, but you can't hide...
  94. but you can't run.
  95. You cannot move.
  96. You are hopeless.
  97.  
  98. Created, Reworked by NoobyGames12. Heavily edited by RhiBel00351.
  99. This ISN'T the regular Star Glitcher Rework.
  100. It's an edit of SGR.
  101. So if you want the regular, go find it yourself.
  102. And YES, I DO KNOW NoobyGames12.
  103. HEY! Make sure you don't abuse this!
  104. ]])
  105.  
  106.  
  107. ------------- ORIGINAL WIELDER OC: Velnorum
  108. print([[Hey! Don't abuse this!
  109. ]])
  110. warn([[
  111.  
  112. Info from RhiBel00351:
  113. Edit this if you want, I don't really care.
  114. Also, make sure you join my Discord at C8bDh2v.
  115. PLEASE JOIN, YOU WON'T REGRET IT!
  116. Note:
  117. Lots of hard work on this. I won't be making this again if this gets deleted.
  118. I respect NoobyGames12 and his scripts
  119. Also just a reminder: That THIS script is completed.]])
  120. --- its obs smooth af do not touch
  121. ---- Sources and functions might be taken from others
  122. plr = owner
  123. char = plr.Character
  124. hum = char.Humanoid
  125. local cam = game.Workspace.CurrentCamera
  126. Camera = cam
  127. local CamInterrupt = false
  128. local TwoD = false
  129. local TargetInfo = {nil, nil}
  130. cam.CameraType = "Custom"
  131. t = char.Torso
  132. h = char.Head
  133. ra = char["Right Arm"]
  134. la = char["Left Arm"]
  135. rl = char["Right Leg"]
  136. ll = char["Left Leg"]
  137. tors = char.Torso
  138. lleg = char["Left Leg"]
  139. root = char.HumanoidRootPart
  140. hed = char.Head
  141. rleg = char["Right Leg"]
  142. rarm = char["Right Arm"]
  143. larm = char["Left Arm"]
  144. radian = math.rad
  145. random = math.random
  146. Vec3 = Vector3.new
  147. Inst = Instance.new
  148. cFrame = CFrame.new
  149. Euler = CFrame.fromEulerAnglesXYZ
  150. vt = Vector3.new
  151. bc = BrickColor.new
  152. br = BrickColor.random
  153. it = Instance.new
  154. cf = CFrame.new
  155.  
  156. local Booleans = {
  157. CamFollow = true,
  158. GyroUse = true
  159. }
  160.  
  161. function lerp(object, newCFrame, alpha)
  162. return object:lerp(newCFrame, alpha)
  163. end
  164.  
  165. local Directer = Inst("BodyGyro", root)
  166. Directer.MaxTorque = Vec3(0, 0, 0)
  167. Directer.P = 600000
  168. local CPart = Inst("Part")
  169. CPart.Anchored = true
  170. CPart.CanCollide = false
  171. CPart.Locked = true
  172. CPart.Transparency = 1
  173.  
  174. local rainbowmode = false
  175. local chaosmode = false
  176.  
  177. local kan = Instance.new("Sound",char)
  178. kan.Volume = 1.25
  179. kan.TimePosition = 0
  180. kan.PlaybackSpeed = 1
  181. kan.Pitch = 1
  182. kan.SoundId = "rbxassetid://601578010"
  183. kan.Name = "wrecked"
  184. kan.Looped = true
  185. kan:Play()
  186.  
  187. local currentThemePlaying = kan.SoundId
  188. local currentPitch = kan.Pitch
  189. local currentVol = kan.Volume
  190. function newTheme(ID,timepos,pitch,vol)
  191. local kanz = kan
  192. --kanz:Stop()
  193. kanz.Volume = vol
  194. --kanz.TimePosition = timepos
  195. kanz.PlaybackSpeed = pitch
  196. kanz.Pitch = pitch
  197. kanz.SoundId = ID
  198. kanz.Name = "wrecked"
  199. kanz.Looped = true
  200. currentThemePlaying = kanz.SoundId
  201. currentVol = kanz.Volume
  202. currentPitch = kanz.Pitch
  203. --kanz:Play()
  204. --coroutine.resume(coroutine.create(function()
  205. --wait(0.05)
  206. --end))
  207. end
  208.  
  209.  
  210. function newThemeCust(ID,timepos,pitch,vol)
  211. local kanz = kan
  212. kanz:Stop()
  213. kanz.Volume = vol
  214. kanz.TimePosition = timepos
  215. kanz.PlaybackSpeed = pitch
  216. kanz.Pitch = pitch
  217. kanz.SoundId = ID
  218. kanz.Name = "wrecked"
  219. kanz.Looped = true
  220. currentThemePlaying = kanz.SoundId
  221. currentVol = kanz.Volume
  222. currentPitch = kanz.Pitch
  223. kanz:Play()
  224. coroutine.resume(coroutine.create(function()
  225. wait(0.05)
  226. end))
  227. end
  228.  
  229. local mutedtog = false
  230.  
  231. function CameraEnshaking(Length,Intensity)
  232. coroutine.resume(coroutine.create(function()
  233. local intensity = 1*Intensity
  234. local rotM = 0.01*Intensity
  235. for i = 0, Length, 0.1 do
  236. swait()
  237. intensity = intensity - 0.05*Intensity/Length
  238. rotM = rotM - 0.0005*Intensity/Length
  239. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  240. 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)
  241. end
  242. Humanoid.CameraOffset = Vec3(0, 0, 0)
  243. end))
  244. end
  245. CamShake=function(Part,Distan,Power,Times)
  246. local de=Part.Position
  247. for i,v in pairs(workspace:children()) do
  248. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  249. for _,c in pairs(v:children()) do
  250. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  251. local Noob=v.Humanoid
  252. if Noob~=nil then
  253. coroutine.resume(coroutine.create(function()
  254. FV = Instance.new("BoolValue", Noob)
  255. FV.Name = "CameraShake"
  256. for ShakeNum=1,Times do
  257. swait()
  258. local ef=Power
  259. if ef>=1 then
  260. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  261. else
  262. ef=Power*10
  263. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  264. end
  265. end
  266. Humanoid.CameraOffset = Vector3.new(0,0,0)
  267. FV:Destroy()
  268. end))
  269. CameraShake(Times, Power, Noob)
  270. end
  271. end
  272. end
  273. end
  274. end
  275. end
  276.  
  277. local toggleTag = true
  278. local bilguit = Instance.new("BillboardGui", hed)
  279. bilguit.Adornee = nil
  280. bilguit.Name = "ModeName"
  281. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  282. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  283. local modet = Instance.new("TextLabel", bilguit)
  284. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  285. modet.FontSize = "Size8"
  286. modet.TextScaled = true
  287. modet.TextTransparency = 0
  288. modet.BackgroundTransparency = 1
  289. modet.TextTransparency = 0
  290. modet.TextStrokeTransparency = 0
  291. modet.Font = "Antique"
  292. modet.TextStrokeColor3 = Color3.new(1,0,0)
  293. modet.TextColor3 = Color3.new(0.25,0,0)
  294. modet.Text = "EVIL"
  295.  
  296.  
  297. function chatfunc(text,color,typet,font,timeex)
  298. local chat = coroutine.wrap(function()
  299. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  300. Character:FindFirstChild("TalkingBillBoard"):destroy()
  301. end
  302. local naeeym2 = Instance.new("BillboardGui",Character)
  303. naeeym2.Size = UDim2.new(0,100,0,40)
  304. naeeym2.StudsOffset = Vector3.new(0,3,0)
  305. naeeym2.Adornee = Character.Head
  306. naeeym2.Name = "TalkingBillBoard"
  307. local tecks2 = Instance.new("TextLabel",naeeym2)
  308. tecks2.BackgroundTransparency = 1
  309. tecks2.BorderSizePixel = 0
  310. tecks2.Text = ""
  311. tecks2.Font = font
  312. tecks2.TextSize = 30
  313. tecks2.TextStrokeTransparency = 0
  314. tecks2.TextColor3 = color
  315. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  316. tecks2.Size = UDim2.new(1,0,0.5,0)
  317. local tecks3 = Instance.new("TextLabel",naeeym2)
  318. tecks3.BackgroundTransparency = 1
  319. tecks3.BorderSizePixel = 0
  320. tecks3.Text = ""
  321. tecks3.Font = font
  322. tecks3.TextSize = 30
  323. tecks3.TextStrokeTransparency = 0
  324. if typet == "Inverted" then
  325. tecks3.TextColor3 = Color3.new(0,0,0)
  326. tecks3.TextStrokeColor3 = color
  327. elseif typet == "Normal" then
  328. tecks3.TextColor3 = color
  329. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  330. end
  331. tecks3.Size = UDim2.new(1,0,0.5,0)
  332. coroutine.resume(coroutine.create(function()
  333. while true do
  334. swait(1)
  335. if chaosmode == true then
  336. tecks2.TextColor3 = BrickColor.random().Color
  337. tecks3.TextStrokeColor3 = BrickColor.random().Color
  338. end
  339. end
  340. end))
  341. modet.TextTransparency = modet.TextTransparency + 1
  342. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  343. for i = 0, 74*timeex do
  344. swait()
  345. modet.TextTransparency = 1
  346. modet.TextStrokeTransparency = 1
  347. tecks2.Text = text
  348. tecks3.Text = text
  349. end
  350. local randomrot = math.random(1,2)
  351. if randomrot == 1 then
  352. for i = 1, 50 do
  353. swait()
  354. tecks2.Text = text
  355. tecks3.Text = text
  356. modet.TextTransparency = modet.TextTransparency - .02
  357. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  358. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  359. tecks2.TextTransparency = tecks2.TextTransparency + .04
  360. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  361. tecks3.TextTransparency = tecks2.TextTransparency + .04
  362. end
  363. elseif randomrot == 2 then
  364. for i = 1, 50 do
  365. swait()
  366. tecks2.Text = text
  367. tecks3.Text = text
  368. modet.TextTransparency = modet.TextTransparency - .02
  369. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  370. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  371. tecks2.TextTransparency = tecks2.TextTransparency + .04
  372. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  373. tecks3.TextTransparency = tecks2.TextTransparency + .04
  374. end
  375. end
  376. modet.TextTransparency = 0
  377. modet.TextStrokeTransparency = 0
  378. if toggleTag == false then
  379. modet.TextTransparency = 1
  380. modet.TextStrokeTransparency = 1
  381. end
  382. naeeym2:Destroy()
  383. end)
  384. chat()
  385. end
  386.  
  387. function bosschatfunc(text,color,watval)
  388. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  389. coroutine.resume(coroutine.create(function()
  390. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  391. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  392. end
  393. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  394. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  395. scrg.Name = "Dialog"
  396. local txtlb = Instance.new("TextLabel",scrg)
  397. txtlb.Text = ""
  398. txtlb.Font = "Bodoni"
  399. txtlb.TextColor3 = Color3.new(0,0,0)
  400. txtlb.TextStrokeTransparency = 0
  401. txtlb.BackgroundTransparency = 0.75
  402. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  403. txtlb.TextStrokeColor3 = color
  404. txtlb.TextScaled = true
  405. txtlb.Size = UDim2.new(1,0,0.25,0)
  406. txtlb.TextXAlignment = "Left"
  407. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  408. local txtlb2 = Instance.new("TextLabel",scrg)
  409. txtlb2.Text = "???:"
  410. txtlb2.Font = "Arcade"
  411. txtlb2.TextColor3 = Color3.new(0,0,0)
  412. txtlb2.TextStrokeTransparency = 0
  413. txtlb2.BackgroundTransparency = 1
  414. txtlb2.TextStrokeColor3 = color
  415. txtlb2.TextSize = 40
  416. txtlb2.Size = UDim2.new(1,0,0.25,0)
  417. txtlb2.TextXAlignment = "Left"
  418. txtlb2.Position = UDim2.new(0,0,1,0)
  419. local fvalen = 0.55
  420. local fval = -0.49
  421. coroutine.resume(coroutine.create(function()
  422. while true do
  423. swait()
  424. if chaosmode == true then
  425. txtlb.Rotation = math.random(-1,1)
  426. txtlb2.Rotation = math.random(-1,1)
  427. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  428. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  429. txtlb.TextStrokeColor3 = BrickColor.random().Color
  430. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  431. end
  432. end
  433. end))
  434. coroutine.resume(coroutine.create(function()
  435. while true do
  436. swait()
  437. if scrg.Parent ~= nil then
  438. fvalen = fvalen - 0.0001
  439. elseif scrg.Parent == nil then
  440. break
  441. end
  442. end
  443. end))
  444. local flol = 1.75
  445. local flil = 1.6
  446. coroutine.resume(coroutine.create(function()
  447. for i = 0, 9 do
  448. swait()
  449. fval = fval + 0.05
  450. flol = flol - 0.1
  451. flil = flil - 0.1
  452. txtlb.Text = ""
  453. txtlb.Position = UDim2.new(0,0,flol,0)
  454. txtlb2.Position = UDim2.new(0,0,flil,0)
  455. end
  456. txtlb.Text = text
  457. wait(watval)
  458. local valinc = 0
  459. for i = 0, 99 do
  460. swait()
  461. valinc = valinc + 0.0001
  462. flol = flol + valinc
  463. flil = flil + valinc
  464. txtlb.Rotation = txtlb.Rotation + valinc*20
  465. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  466. txtlb.Position = UDim2.new(0,0,flol,0)
  467. txtlb2.Position = UDim2.new(0,0,flil,0)
  468. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  469. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  470. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  471. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  472. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  473. end
  474. scrg:Destroy()
  475. end))
  476. end))
  477. end
  478. end
  479.  
  480.  
  481. local Create = LoadLibrary("RbxUtility").Create
  482.  
  483. CFuncs = {
  484. ["Part"] = {
  485. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  486. local Part = Create("Part"){
  487. Parent = Parent,
  488. Reflectance = Reflectance,
  489. Transparency = Transparency,
  490. CanCollide = false,
  491. Locked = true,
  492. BrickColor = BrickColor.new(tostring(BColor)),
  493. Name = Name,
  494. Size = Size,
  495. Material = Material,
  496. }
  497. RemoveOutlines(Part)
  498. return Part
  499. end;
  500. };
  501.  
  502. ["Mesh"] = {
  503. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  504. local Msh = Create(Mesh){
  505. Parent = Part,
  506. Offset = OffSet,
  507. Scale = Scale,
  508. }
  509. if Mesh == "SpecialMesh" then
  510. Msh.MeshType = MeshType
  511. Msh.MeshId = MeshId
  512. end
  513. return Msh
  514. end;
  515. };
  516.  
  517. ["Mesh"] = {
  518. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  519. local Msh = Create(Mesh){
  520. Parent = Part,
  521. Offset = OffSet,
  522. Scale = Scale,
  523. }
  524. if Mesh == "SpecialMesh" then
  525. Msh.MeshType = MeshType
  526. Msh.MeshId = MeshId
  527. end
  528. return Msh
  529. end;
  530. };
  531.  
  532. ["Weld"] = {
  533. Create = function(Parent, Part0, Part1, C0, C1)
  534. local Weld = Create("Weld"){
  535. Parent = Parent,
  536. Part0 = Part0,
  537. Part1 = Part1,
  538. C0 = C0,
  539. C1 = C1,
  540. }
  541. return Weld
  542. end;
  543. };
  544.  
  545. ["Sound"] = {
  546. Create = function(id, par, vol, pit)
  547. coroutine.resume(coroutine.create(function()
  548. local S = Create("Sound"){
  549. Volume = vol,
  550. Name = "EffectSoundo",
  551. Pitch = pit or 1,
  552. SoundId = id,
  553. Parent = par or workspace,
  554. }
  555. wait()
  556. S:play()
  557. game:GetService("Debris"):AddItem(S, 10)
  558. end))
  559. end;
  560. };
  561.  
  562. ["TimeSound"] = {
  563. Create = function(id, par, vol, pit, timepos)
  564. coroutine.resume(coroutine.create(function()
  565. local S = Create("Sound"){
  566. Volume = vol,
  567. Name = "EffectSoundo",
  568. Pitch = pit or 1,
  569. SoundId = id,
  570. TimePosition = timepos,
  571. Parent = par or workspace,
  572. }
  573. wait()
  574. S:play()
  575. game:GetService("Debris"):AddItem(S, 10)
  576. end))
  577. end;
  578. };
  579. ["EchoSound"] = {
  580. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  581. coroutine.resume(coroutine.create(function()
  582. local Sas = Create("Sound"){
  583. Volume = vol,
  584. Name = "EffectSoundo",
  585. Pitch = pit or 1,
  586. SoundId = id,
  587. TimePosition = timepos,
  588. Parent = par or workspace,
  589. }
  590. local E = Create("EchoSoundEffect"){
  591. Delay = echodelay,
  592. Name = "Echo",
  593. Feedback = fedb,
  594. DryLevel = dryl,
  595. Parent = Sas,
  596. }
  597. wait()
  598. Sas:play()
  599. game:GetService("Debris"):AddItem(Sas, delays)
  600. end))
  601. end;
  602. };
  603.  
  604. ["LongSound"] = {
  605. Create = function(id, par, vol, pit)
  606. coroutine.resume(coroutine.create(function()
  607. local S = Create("Sound"){
  608. Volume = vol,
  609. Pitch = pit or 1,
  610. SoundId = id,
  611. Parent = par or workspace,
  612. }
  613. wait()
  614. S:play()
  615. game:GetService("Debris"):AddItem(S, 60)
  616. end))
  617. end;
  618. };
  619.  
  620. ["ParticleEmitter"] = {
  621. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  622. local fp = Create("ParticleEmitter"){
  623. Parent = Parent,
  624. Color = ColorSequence.new(Color1, Color2),
  625. LightEmission = LightEmission,
  626. Size = Size,
  627. Texture = Texture,
  628. Transparency = Transparency,
  629. ZOffset = ZOffset,
  630. Acceleration = Accel,
  631. Drag = Drag,
  632. LockedToPart = LockedToPart,
  633. VelocityInheritance = VelocityInheritance,
  634. EmissionDirection = EmissionDirection,
  635. Enabled = Enabled,
  636. Lifetime = LifeTime,
  637. Rate = Rate,
  638. Rotation = Rotation,
  639. RotSpeed = RotSpeed,
  640. Speed = Speed,
  641. VelocitySpread = VelocitySpread,
  642. }
  643. return fp
  644. end;
  645. };
  646.  
  647. CreateTemplate = {
  648.  
  649. };
  650. }
  651.  
  652.  
  653.  
  654. New = function(Object, Parent, Name, Data)
  655. local Object = Instance.new(Object)
  656. for Index, Value in pairs(Data or {}) do
  657. Object[Index] = Value
  658. end
  659. Object.Parent = Parent
  660. Object.Name = Name
  661. return Object
  662. end
  663. local halocolor = BrickColor.new("Pastel light blue")
  664. local halocolor2 = BrickColor.new("Cool yellow")
  665. local starcolor = BrickColor.new("Bright yellow")
  666. local lunacolor = BrickColor.new("Navy blue")
  667. local lunacolor2 = BrickColor.new("Bright blue")
  668. local wepcolor = BrickColor.new("Really black")
  669. local maincolor = BrickColor.new("Really black")
  670. local m = Instance.new("Model",char)
  671. local m2 = Instance.new("Model",char)
  672. local m3 = Instance.new("Model",char)
  673. local mw1 = Instance.new("Model",char)
  674. local mw2 = Instance.new("Model",char)
  675.  
  676.  
  677. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  678. local gui = it(GuiType)
  679. gui.Parent = parent
  680. gui.Text = text
  681. gui.BackgroundTransparency = backtrans
  682. gui.BackgroundColor3 = backcol
  683. gui.SizeConstraint = "RelativeXY"
  684. gui.TextXAlignment = "Center"
  685. gui.TextYAlignment = "Center"
  686. gui.Position = pos
  687. gui.Size = size
  688. gui.Font = "SciFi"
  689. gui.FontSize = "Size14"
  690. gui.TextWrapped = false
  691. gui.TextStrokeTransparency = 0
  692. gui.TextColor = BrickColor.new("White")
  693. return gui
  694. end
  695. --------------------------- GUI STUFF
  696. local basgui = it("GuiMain")
  697. basgui.Parent = plr.PlayerGui
  698. basgui.Name = "VISgui"
  699. local fullscreenz = it("Frame")
  700. fullscreenz.Parent = basgui
  701. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  702. fullscreenz.BackgroundTransparency = 1
  703. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  704. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  705. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  706. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  707. imgl2.BackgroundTransparency = 1
  708. imgl2.BorderSizePixel = 0
  709. imgl2.ImageTransparency = 0.5
  710. imgl2.ImageColor3 = Color3.new(1,0,0)
  711. imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
  712. imgl2.Size = UDim2.new(0,1000,0,1000)
  713. imgl2.Image = "rbxassetid://2325939897"
  714. local techc = imgl2:Clone()
  715. techc.Parent = fullscreenz
  716. techc.ImageTransparency = 0
  717. techc.Size = UDim2.new(0,900,0,900)
  718. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  719. techc.ImageColor3 = Color3.new(1,0,0)
  720. techc.Image = "rbxassetid://2273224484"
  721. local circl = imgl2:Clone()
  722. circl.Parent = fullscreenz
  723. circl.ImageTransparency = 0
  724. circl.Size = UDim2.new(0,550,0,550)
  725. circl.Position = UDim2.new(0.75,25,0.55,25)
  726. circl.ImageColor3 = Color3.new(0,0,0)
  727. circl.Image = "rbxassetid://2312119891"
  728. local circl2 = imgl2:Clone()
  729. circl2.Parent = fullscreenz
  730. circl2.ImageTransparency = 0
  731. circl2.Size = UDim2.new(0,700,0,700)
  732. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  733. circl2.ImageColor3 = Color3.new(1,0,0)
  734. circl2.Image = "rbxassetid://2312119891"
  735. local imgl2b = imgl2:Clone()
  736. imgl2b.Parent = fullscreenz
  737. imgl2b.ImageTransparency = 0
  738. imgl2b.Size = UDim2.new(0,800,0,800)
  739. imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
  740. imgl2b.ImageColor3 = Color3.new(0,0,0)
  741. local ned = Instance.new("TextLabel",fullscreenz)
  742. ned.ZIndex = 2
  743. ned.Font = "Arcade"
  744. ned.BackgroundTransparency = 1
  745. ned.BorderSizePixel = 0.65
  746. ned.Size = UDim2.new(0.3,0,0.2,0)
  747. ned.Position = UDim2.new(0.7,0,0.8,0)
  748. ned.TextColor3 = BrickColor.new("Really red").Color
  749. ned.TextStrokeColor3 = BrickColor.new("Really black").Color
  750. ned.TextScaled = true
  751. ned.TextStrokeTransparency = 0
  752. ned.Text = "EVIL"
  753. ned.TextSize = 24
  754. ned.Rotation = 1
  755. ned.TextXAlignment = "Right"
  756. ned.TextYAlignment = "Bottom"
  757.  
  758. local extrawingmod1 = Instance.new("Model",char)
  759. local extrawingmod2 = Instance.new("Model",char)
  760.  
  761. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  762. local p = Instance.new("Part")
  763. p.TopSurface = 0
  764. p.BottomSurface = 0
  765. p.Parent = parent
  766. p.Size = Vector3.new(0.1,0.1,0.1)
  767. p.Transparency = transparency
  768. p.Reflectance = reflectance
  769. p.CanCollide = false
  770. p.Locked = true
  771. p.BrickColor = brickcolor
  772. p.Material = material
  773. return p
  774. end
  775.  
  776. function CreateMesh(parent,meshtype,x1,y1,z1)
  777. local mesh = Instance.new("SpecialMesh",parent)
  778. mesh.MeshType = meshtype
  779. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  780. return mesh
  781. end
  782.  
  783. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  784. local mesh = Instance.new("SpecialMesh",parent)
  785. mesh.MeshType = "FileMesh"
  786. mesh.MeshId = meshid
  787. mesh.Scale = Vector3.new(x1,y1,z1)
  788. return mesh
  789. end
  790.  
  791.  
  792. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  793. local mesh = Instance.new("SpecialMesh",parent)
  794. mesh.MeshType = "FileMesh"
  795. mesh.MeshId = meshid
  796. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  797. mesh.Scale = Vector3.new(x1,y1,z1)
  798. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  799. return mesh
  800. end
  801.  
  802. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  803. local weld = Instance.new("Weld")
  804. weld.Parent = parent
  805. weld.Part0 = part0
  806. weld.Part1 = part1
  807. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  808. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  809. return weld
  810. end
  811.  
  812.  
  813. --------------
  814. --------------
  815. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  816. 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))
  817. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  818. 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))
  819.  
  820. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  821. CreateMesh(handle,"Brick",0,0,0)
  822. 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))
  823. local valuaring = 10
  824. for i = 0, 49 do
  825. valuaring = valuaring + 10
  826. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  827. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  828. 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))
  829. end
  830.  
  831. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  832. CreateMesh(handle,"Brick",0,0,0)
  833. 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))
  834. local valuaring = 10
  835. for i = 0, 49 do
  836. valuaring = valuaring + 10
  837. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  838. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  839. 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))
  840. end
  841.  
  842.  
  843. local handle = CreateParta(m,1,1,"Neon",maincolor)
  844. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  845. 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))
  846.  
  847. --- Left wing.
  848.  
  849. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  850. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  851. 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))
  852.  
  853. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  854. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  855. 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))
  856. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  857. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  858. 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))
  859. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  860. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  861. 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))
  862. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  863. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  864. 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))
  865. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  866. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  867. 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))
  868. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  869. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  870. 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))
  871. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  872. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  873. 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))
  874. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  875. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  876. 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))
  877. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  878. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  879. 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))
  880. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  881. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  882. 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))
  883.  
  884. tl1 = Instance.new('Trail',wed)
  885. tl1.Attachment0 = A1
  886. tl1.Attachment1 = A0
  887. tl1.Texture = "rbxassetid://2108945559"
  888. tl1.LightEmission = 1
  889. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  890. tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  891. tl1.Lifetime = 0.6
  892.  
  893. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  894. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  895. 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))
  896.  
  897. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  898. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  899. 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))
  900. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  901. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  902. 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))
  903. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  904. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  905. 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))
  906. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  907. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  908. 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))
  909. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  910. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  911. 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))
  912. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  913. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  914. 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))
  915. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  916. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  917. 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))
  918. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  919. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  920. 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))
  921. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  922. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  923. 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))
  924. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  925. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  926. 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))
  927.  
  928. tl2 = Instance.new('Trail',wed)
  929. tl2.Attachment0 = A1
  930. tl2.Attachment1 = A0
  931. tl2.Texture = "rbxassetid://2108945559"
  932. tl2.LightEmission = 1
  933. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  934. tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  935. tl2.Lifetime = 0.6
  936.  
  937. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  938. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  939. 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))
  940.  
  941. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  942. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  943. 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))
  944. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  945. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  946. 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))
  947. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  948. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  949. 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))
  950. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  951. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  952. 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))
  953. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  954. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  955. 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))
  956. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  957. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  958. 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))
  959. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  960. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  961. 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))
  962. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  963. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  964. 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))
  965. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  966. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  967. 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))
  968. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  969. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  970. 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))
  971.  
  972. tl3 = Instance.new('Trail',wed)
  973. tl3.Attachment0 = A1
  974. tl3.Attachment1 = A0
  975. tl3.Texture = "rbxassetid://2108945559"
  976. tl3.LightEmission = 1
  977. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  978. tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  979. tl3.Lifetime = 0.6
  980.  
  981. tl1.Enabled = false
  982. tl2.Enabled = false
  983. tl3.Enabled = false
  984. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  985. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  986. 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))
  987.  
  988. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  989. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  990. 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))
  991. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  992. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  993. 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))
  994. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  995. CreateMesh(wed,"Wedge",0.05,0.5,3)
  996. 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))
  997. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  998. CreateMesh(wed,"Wedge",0.05,3,0.5)
  999. 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))
  1000.  
  1001. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1002. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1003. 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))
  1004.  
  1005. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1006. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1007. 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))
  1008. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1009. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1010. 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))
  1011. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1012. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1013. 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))
  1014. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1015. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1016. 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))
  1017.  
  1018. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1019. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1020. 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))
  1021.  
  1022. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1023. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1024. 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))
  1025. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1026. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1027. 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))
  1028. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1029. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1030. 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))
  1031. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1032. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1033. 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))
  1034.  
  1035. -- Right wing.
  1036.  
  1037. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1038. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1039. 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))
  1040.  
  1041. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1042. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1043. 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))
  1044. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1045. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1046. 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))
  1047. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1048. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1049. 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))
  1050. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1051. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1052. 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))
  1053. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1054. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1055. 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))
  1056. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1057. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1058. 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))
  1059. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1060. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  1061. 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))
  1062. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1063. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  1064. 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))
  1065. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1066. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  1067. 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))
  1068. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1069. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  1070. 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))
  1071.  
  1072. tr1 = Instance.new('Trail',wed)
  1073. tr1.Attachment0 = A1
  1074. tr1.Attachment1 = A0
  1075. tr1.Texture = "rbxassetid://2108945559"
  1076. tr1.LightEmission = 1
  1077. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1078. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1079. tr1.Lifetime = 0.6
  1080.  
  1081. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1082. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1083. 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))
  1084.  
  1085. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1086. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1087. 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))
  1088. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1089. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1090. 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))
  1091. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1092. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1093. 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))
  1094. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1095. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1096. 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))
  1097. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1098. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1099. 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))
  1100. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1101. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1102. 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))
  1103. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1104. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  1105. 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))
  1106. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1107. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  1108. 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))
  1109. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1110. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  1111. 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))
  1112. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1113. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  1114. 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))
  1115.  
  1116. tr2 = Instance.new('Trail',wed)
  1117. tr2.Attachment0 = A1
  1118. tr2.Attachment1 = A0
  1119. tr2.Texture = "rbxassetid://2108945559"
  1120. tr2.LightEmission = 1
  1121. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1122. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1123. tr2.Lifetime = 0.6
  1124.  
  1125. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1126. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1127. 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))
  1128.  
  1129.  
  1130. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1131. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1132. 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))
  1133. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1134. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1135. 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))
  1136. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1137. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1138. 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))
  1139. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1140. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1141. 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))
  1142. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1143. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1144. 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))
  1145. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1146. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1147. 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))
  1148. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1149. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  1150. 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))
  1151. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1152. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  1153. 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))
  1154. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1155. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  1156. 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))
  1157. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1158. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  1159. 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))
  1160.  
  1161. tr3 = Instance.new('Trail',wed)
  1162. tr3.Attachment0 = A1
  1163. tr3.Attachment1 = A0
  1164. tr3.Texture = "rbxassetid://2108945559"
  1165. tr3.LightEmission = 1
  1166. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1167. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1168. tr3.Lifetime = 0.6
  1169.  
  1170. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1171. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1172. 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))
  1173.  
  1174. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1175. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1176. 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))
  1177. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1178. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1179. 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))
  1180. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1181. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1182. 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))
  1183. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1184. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1185. 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))
  1186.  
  1187. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1188. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1189. 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))
  1190.  
  1191. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1192. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1193. 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))
  1194. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1195. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1196. 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))
  1197. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1198. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1199. 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))
  1200. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1201. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1202. 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))
  1203.  
  1204. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1205. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1206. 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))
  1207.  
  1208. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1209. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1210. 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))
  1211. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1212. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1213. 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))
  1214. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1215. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1216. 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))
  1217. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1218. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1219. 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))
  1220.  
  1221.  
  1222. ---- HERES THE RING
  1223.  
  1224.  
  1225. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1226. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1227. 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))
  1228. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1229. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1230. 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))
  1231. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1232. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1233. 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))
  1234.  
  1235.  
  1236. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1237. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1238. 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))
  1239.  
  1240. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1241. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1242. 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))
  1243.  
  1244.  
  1245.  
  1246. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1247. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1248. 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))
  1249.  
  1250. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1251. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1252. 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))
  1253.  
  1254. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1255. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1256. 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))
  1257.  
  1258. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1259. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1260. 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))
  1261. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1262. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1263. 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))
  1264.  
  1265. --- second ring
  1266.  
  1267. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1268. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1269. 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))
  1270. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1271. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1272. 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))
  1273. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1274. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1275. 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))
  1276.  
  1277. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1278. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1279. 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))
  1280.  
  1281. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1282. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1283. 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))
  1284.  
  1285.  
  1286.  
  1287. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1288. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1289. 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))
  1290.  
  1291. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1292. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1293. 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))
  1294.  
  1295. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1296. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1297. 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))
  1298.  
  1299. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1300. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1301. 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))
  1302. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1303. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1304. 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))]]--
  1305.  
  1306.  
  1307.  
  1308. for i, v in pairs(m:GetChildren()) do
  1309. if v:IsA("Part") then
  1310. v.BrickColor = BrickColor.new("Really black")
  1311. v.Material = "Glass"
  1312. end
  1313. end
  1314. for i, v in pairs(m2:GetChildren()) do
  1315. if v:IsA("Part") then
  1316. v.BrickColor = BrickColor.new("Crimson")
  1317. v.Material = "Granite"
  1318. end
  1319. end
  1320. for i, v in pairs(m3:GetChildren()) do
  1321. if v:IsA("Part") then
  1322. v.BrickColor = BrickColor.new("Really red")
  1323. v.Material = "Neon"
  1324. end
  1325. end
  1326. for i, v in pairs(mw2:GetChildren()) do
  1327. if v:IsA("Part") then
  1328. v.BrickColor = BrickColor.new("Really red")
  1329. v.Material = "Neon"
  1330. end
  1331. end
  1332. for i, v in pairs(mw1:GetChildren()) do
  1333. if v:IsA("Part") then
  1334. v.Transparency = 1
  1335. v.BrickColor = BrickColor.new("Really red")
  1336. v.Material = "Neon"
  1337. end
  1338. end
  1339. for i, v in pairs(extrawingmod1:GetChildren()) do
  1340. if v:IsA("Part") then
  1341. v.Transparency = 1
  1342. v.BrickColor = BrickColor.new("White")
  1343. v.Material = "Neon"
  1344. end
  1345. end
  1346. for i, v in pairs(extrawingmod2:GetChildren()) do
  1347. if v:IsA("Part") then
  1348. v.Transparency = 1
  1349. v.BrickColor = BrickColor.new("White")
  1350. v.Material = "Neon"
  1351. end
  1352. end
  1353. local MAINRUINCOLOR = BrickColor.new("Really red")
  1354. ------
  1355.  
  1356.  
  1357. function RemoveOutlines(part)
  1358. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1359. end
  1360. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1361. local Part = Create("Part")({
  1362. Parent = Parent,
  1363. Reflectance = Reflectance,
  1364. Transparency = Transparency,
  1365. CanCollide = false,
  1366. Locked = true,
  1367. BrickColor = BrickColor.new(tostring(BColor)),
  1368. Name = Name,
  1369. Size = Size,
  1370. Material = Material
  1371. })
  1372. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1373. RemoveOutlines(Part)
  1374. return Part
  1375. end
  1376. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1377. local Msh = Create(Mesh)({
  1378. Parent = Part,
  1379. Offset = OffSet,
  1380. Scale = Scale
  1381. })
  1382. if Mesh == "SpecialMesh" then
  1383. Msh.MeshType = MeshType
  1384. Msh.MeshId = MeshId
  1385. end
  1386. return Msh
  1387. end
  1388. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1389. local Weld = Create("Weld")({
  1390. Parent = Parent,
  1391. Part0 = Part0,
  1392. Part1 = Part1,
  1393. C0 = C0,
  1394. C1 = C1
  1395. })
  1396. return Weld
  1397. end
  1398.  
  1399. Character=Player.Character
  1400. PlayerGui=Player.PlayerGui
  1401. Backpack=Player.Backpack
  1402. Torso=Character.Torso
  1403. Head=Character.Head
  1404. Humanoid=Character.Humanoid
  1405. m=Instance.new('Model',Character)
  1406. LeftArm=Character["Left Arm"]
  1407. LeftLeg=Character["Left Leg"]
  1408. RightArm=Character["Right Arm"]
  1409. RightLeg=Character["Right Leg"]
  1410. LS=Torso["Left Shoulder"]
  1411. LH=Torso["Left Hip"]
  1412. RS=Torso["Right Shoulder"]
  1413. RH=Torso["Right Hip"]
  1414. Face = Head.face
  1415. Neck=Torso.Neck
  1416. it=Instance.new
  1417. attacktype=1
  1418. vt=Vector3.new
  1419. cf=CFrame.new
  1420. euler=CFrame.fromEulerAnglesXYZ
  1421. angles=CFrame.Angles
  1422. cloaked=false
  1423. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1424. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1425. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1426. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1427. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1428. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1429. RootPart=Character.HumanoidRootPart
  1430. RootJoint=RootPart.RootJoint
  1431. RootCF=euler(-1.57,0,3.14)
  1432. attack = false
  1433. attackdebounce = false
  1434. deb=false
  1435. equipped=true
  1436. hand=false
  1437. combo=0
  1438. mana=0
  1439. trispeed=.2
  1440. attackmode='none'
  1441. local idle=0
  1442. local Anim="Idle"
  1443. local Effects={}
  1444. local gun=false
  1445. local shoot=false
  1446. local sine = 0
  1447. local change = 1
  1448.  
  1449. function RecolorTextAndRename(name,col1,col2,font)
  1450. modet.TextStrokeColor3 = col2
  1451. modet.TextColor3 = col1
  1452. modet.Font = font
  1453. modet.Text = name
  1454. techc.ImageColor3 = col2
  1455. circl.ImageColor3 = col2
  1456. circl2.ImageColor3 = col1
  1457. imgl2.ImageColor3 = col1
  1458. imgl2b.ImageColor3 = col2
  1459. ned.Text = name
  1460. ned.TextColor3 = col1
  1461. ned.TextStrokeColor3 = col2
  1462. end
  1463. --save shoulders
  1464. RSH, LSH=nil, nil
  1465. --welds
  1466. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1467. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1468. LH=Torso["Left Hip"]
  1469. RH=Torso["Right Hip"]
  1470. TorsoColor=Torso.BrickColor
  1471. function NoOutline(Part)
  1472. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1473. end
  1474. ch=Character
  1475. RSH=ch.Torso["Right Shoulder"]
  1476. LSH=ch.Torso["Left Shoulder"]
  1477. --
  1478. RSH.Parent=nil
  1479. LSH.Parent=nil
  1480. --
  1481. RW.Name="Right Shoulder"
  1482. RW.Part0=ch.Torso
  1483. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1484. RW.C1=cf(0, 0.5, 0)
  1485. RW.Part1=ch["Right Arm"]
  1486. RW.Parent=ch.Torso
  1487. --
  1488. LW.Name="Left Shoulder"
  1489. LW.Part0=ch.Torso
  1490. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1491. LW.C1=cf(0, 0.5, 0)
  1492. LW.Part1=ch["Left Arm"]
  1493. LW.Parent=ch.Torso
  1494.  
  1495. local Stats=Instance.new("BoolValue")
  1496. Stats.Name="Stats"
  1497. Stats.Parent=Character
  1498. local Atk=Instance.new("NumberValue")
  1499. Atk.Name="Damage"
  1500. Atk.Parent=Stats
  1501. Atk.Value=1
  1502. local Def=Instance.new("NumberValue")
  1503. Def.Name="Defense"
  1504. Def.Parent=Stats
  1505. Def.Value=1
  1506. local Speed=Instance.new("NumberValue")
  1507. Speed.Name="Speed"
  1508. Speed.Parent=Stats
  1509. Speed.Value=1
  1510. local Mvmt=Instance.new("NumberValue")
  1511. Mvmt.Name="Movement"
  1512. Mvmt.Parent=Stats
  1513. Mvmt.Value=1
  1514.  
  1515. local donum=0
  1516.  
  1517.  
  1518. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1519. local fp=it("Part")
  1520. fp.formFactor=formfactor
  1521. fp.Parent=parent
  1522. fp.Reflectance=reflectance
  1523. fp.Transparency=transparency
  1524. fp.CanCollide=false
  1525. fp.Locked=true
  1526. fp.BrickColor=brickcolor
  1527. fp.Name=name
  1528. fp.Size=size
  1529. fp.Position=Torso.Position
  1530. NoOutline(fp)
  1531. fp.Material="SmoothPlastic"
  1532. fp:BreakJoints()
  1533. return fp
  1534. end
  1535.  
  1536. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1537. local mesh=it(Mesh)
  1538. mesh.Parent=part
  1539. if Mesh=="SpecialMesh" then
  1540. mesh.MeshType=meshtype
  1541. if meshid~="nil" then
  1542. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1543. end
  1544. end
  1545. mesh.Offset=offset
  1546. mesh.Scale=scale
  1547. return mesh
  1548. end
  1549.  
  1550. function weld(parent,part0,part1,c0)
  1551. local weld=it("Weld")
  1552. weld.Parent=parent
  1553. weld.Part0=part0
  1554. weld.Part1=part1
  1555. weld.C0=c0
  1556. return weld
  1557. end
  1558.  
  1559. local Color1=Torso.BrickColor
  1560.  
  1561. local bodvel=Instance.new("BodyVelocity")
  1562. local bg=Instance.new("BodyGyro")
  1563.  
  1564. --------- SazEreno's Artificial HB --------------
  1565. ArtificialHB = Instance.new("BindableEvent", script)
  1566. ArtificialHB.Name = "ArtificialHB"
  1567.  
  1568. script:WaitForChild("ArtificialHB")
  1569. Frame_Speed = 1 / 60
  1570. frame = Frame_Speed
  1571. tf = 0
  1572. allowframeloss = false
  1573. tossremainder = false
  1574. lastframe = tick()
  1575. script.ArtificialHB:Fire()
  1576.  
  1577. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1578. tf = tf + s
  1579. if tf >= frame then
  1580. if allowframeloss then
  1581. script.ArtificialHB:Fire()
  1582. lastframe = tick()
  1583. else
  1584. for i = 1, math.floor(tf / frame) do
  1585. script.ArtificialHB:Fire()
  1586. end
  1587. lastframe = tick()
  1588. end
  1589. if tossremainder then
  1590. tf = 0
  1591. else
  1592. tf = tf - frame * math.floor(tf / frame)
  1593. end
  1594. end
  1595. end)
  1596.  
  1597. ------------------
  1598. function swait(num)
  1599. function swait(num)
  1600. if num==0 or num==nil then
  1601. game:service'RunService'.Stepped:wait(0)
  1602. else
  1603. for i=0,num do
  1604. game:service'RunService'.Stepped:wait(0)
  1605. end
  1606. end
  1607. end
  1608. end
  1609.  
  1610. -------- RAINBOW LEAVE IT TO ME
  1611. local r = 255
  1612. local g = 0
  1613. local b = 0
  1614. coroutine.resume(coroutine.create(function()
  1615. while wait() do
  1616. for i = 0, 254/5 do
  1617. swait()
  1618. g = g + 5
  1619. end
  1620. for i = 0, 254/5 do
  1621. swait()
  1622. r = r - 5
  1623. end
  1624. for i = 0, 254/5 do
  1625. swait()
  1626. b = b + 5
  1627. end
  1628. for i = 0, 254/5 do
  1629. swait()
  1630. g = g - 5
  1631. end
  1632. for i = 0, 254/5 do
  1633. swait()
  1634. r = r + 5
  1635. end
  1636. for i = 0, 254/5 do
  1637. swait()
  1638. b = b - 5
  1639. end
  1640. end
  1641. end))
  1642.  
  1643.  
  1644. so = function(id,par,vol,pit)
  1645. coroutine.resume(coroutine.create(function()
  1646. local sou = Instance.new("Sound",par or workspace)
  1647. sou.Volume=vol
  1648. sou.Pitch=pit or 1
  1649. sou.SoundId=id
  1650. swait()
  1651. sou:play()
  1652. game:GetService("Debris"):AddItem(sou,6)
  1653. end))
  1654. end
  1655.  
  1656. function clerp(a,b,t)
  1657. local qa = {QuaternionFromCFrame(a)}
  1658. local qb = {QuaternionFromCFrame(b)}
  1659. local ax, ay, az = a.x, a.y, a.z
  1660. local bx, by, bz = b.x, b.y, b.z
  1661. local _t = 1-t
  1662. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1663. end
  1664.  
  1665. function QuaternionFromCFrame(cf)
  1666. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1667. local trace = m00 + m11 + m22
  1668. if trace > 0 then
  1669. local s = math.sqrt(1 + trace)
  1670. local recip = 0.5/s
  1671. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1672. else
  1673. local i = 0
  1674. if m11 > m00 then
  1675. i = 1
  1676. end
  1677. if m22 > (i == 0 and m00 or m11) then
  1678. i = 2
  1679. end
  1680. if i == 0 then
  1681. local s = math.sqrt(m00-m11-m22+1)
  1682. local recip = 0.5/s
  1683. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1684. elseif i == 1 then
  1685. local s = math.sqrt(m11-m22-m00+1)
  1686. local recip = 0.5/s
  1687. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1688. elseif i == 2 then
  1689. local s = math.sqrt(m22-m00-m11+1)
  1690. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1691. end
  1692. end
  1693. end
  1694.  
  1695. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1696. local xs, ys, zs = x + x, y + y, z + z
  1697. local wx, wy, wz = w*xs, w*ys, w*zs
  1698. local xx = x*xs
  1699. local xy = x*ys
  1700. local xz = x*zs
  1701. local yy = y*ys
  1702. local yz = y*zs
  1703. local zz = z*zs
  1704. 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))
  1705. end
  1706.  
  1707. function QuaternionSlerp(a, b, t)
  1708. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1709. local startInterp, finishInterp;
  1710. if cosTheta >= 0.0001 then
  1711. if (1 - cosTheta) > 0.0001 then
  1712. local theta = math.acos(cosTheta)
  1713. local invSinTheta = 1/math.sin(theta)
  1714. startInterp = math.sin((1-t)*theta)*invSinTheta
  1715. finishInterp = math.sin(t*theta)*invSinTheta
  1716. else
  1717. startInterp = 1-t
  1718. finishInterp = t
  1719. end
  1720. else
  1721. if (1+cosTheta) > 0.0001 then
  1722. local theta = math.acos(-cosTheta)
  1723. local invSinTheta = 1/math.sin(theta)
  1724. startInterp = math.sin((t-1)*theta)*invSinTheta
  1725. finishInterp = math.sin(t*theta)*invSinTheta
  1726. else
  1727. startInterp = t-1
  1728. finishInterp = t
  1729. end
  1730. end
  1731. 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
  1732. end
  1733.  
  1734. local function CFrameFromTopBack(at, top, back)
  1735. local right = top:Cross(back)
  1736. return CFrame.new(at.x, at.y, at.z,
  1737. right.x, top.x, back.x,
  1738. right.y, top.y, back.y,
  1739. right.z, top.z, back.z)
  1740. end
  1741.  
  1742. function Triangle(a, b, c)
  1743. local edg1 = (c-a):Dot((b-a).unit)
  1744. local edg2 = (a-b):Dot((c-b).unit)
  1745. local edg3 = (b-c):Dot((a-c).unit)
  1746. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1747. a, b, c = a, b, c
  1748. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1749. a, b, c = b, c, a
  1750. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1751. a, b, c = c, a, b
  1752. else
  1753. assert(false, "unreachable")
  1754. end
  1755.  
  1756. local len1 = (c-a):Dot((b-a).unit)
  1757. local len2 = (b-a).magnitude - len1
  1758. local width = (a + (b-a).unit*len1 - c).magnitude
  1759.  
  1760. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1761.  
  1762. local list = {}
  1763.  
  1764. if len1 > 0.01 then
  1765. local w1 = Instance.new('WedgePart', m)
  1766. game:GetService("Debris"):AddItem(w1,5)
  1767. w1.Material = "SmoothPlastic"
  1768. w1.FormFactor = 'Custom'
  1769. w1.BrickColor = BrickColor.new("Really red")
  1770. w1.Transparency = 0
  1771. w1.Reflectance = 0
  1772. w1.Material = "SmoothPlastic"
  1773. w1.CanCollide = false
  1774. local l1 = Instance.new("PointLight",w1)
  1775. l1.Color = Color3.new(170,0,0)
  1776. NoOutline(w1)
  1777. local sz = Vector3.new(0.2, width, len1)
  1778. w1.Size = sz
  1779. local sp = Instance.new("SpecialMesh",w1)
  1780. sp.MeshType = "Wedge"
  1781. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1782. w1:BreakJoints()
  1783. w1.Anchored = true
  1784. w1.Parent = workspace
  1785. w1.Transparency = 0.7
  1786. table.insert(Effects,{w1,"Disappear",.01})
  1787. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1788. table.insert(list,w1)
  1789. end
  1790.  
  1791. if len2 > 0.01 then
  1792. local w2 = Instance.new('WedgePart', m)
  1793. game:GetService("Debris"):AddItem(w2,5)
  1794. w2.Material = "SmoothPlastic"
  1795. w2.FormFactor = 'Custom'
  1796. w2.BrickColor = BrickColor.new("Really red")
  1797. w2.Transparency = 0
  1798. w2.Reflectance = 0
  1799. w2.Material = "SmoothPlastic"
  1800. w2.CanCollide = false
  1801. local l2 = Instance.new("PointLight",w2)
  1802. l2.Color = Color3.new(170,0,0)
  1803. NoOutline(w2)
  1804. local sz = Vector3.new(0.2, width, len2)
  1805. w2.Size = sz
  1806. local sp = Instance.new("SpecialMesh",w2)
  1807. sp.MeshType = "Wedge"
  1808. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1809. w2:BreakJoints()
  1810. w2.Anchored = true
  1811. w2.Parent = workspace
  1812. w2.Transparency = 0.7
  1813. table.insert(Effects,{w2,"Disappear",.01})
  1814. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1815. table.insert(list,w2)
  1816. end
  1817. return unpack(list)
  1818. end
  1819.  
  1820.  
  1821. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1822. if hit.Parent == nil then
  1823. return
  1824. end
  1825. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1826. for _, v in pairs(hit.Parent:children()) do
  1827. if v:IsA("Humanoid") then
  1828. h = v
  1829. end
  1830. end
  1831. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1832. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1833. return
  1834. end
  1835. local c = Create("ObjectValue")({
  1836. Name = "creator",
  1837. Value = game:GetService("Players").LocalPlayer,
  1838. Parent = h
  1839. })
  1840. game:GetService("Debris"):AddItem(c, 0.5)
  1841. if HitSound ~= nil and HitPitch ~= nil then
  1842. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1843. end
  1844. local Damage = math.random(minim, maxim)
  1845. local blocked = false
  1846. local block = hit.Parent:findFirstChild("Block")
  1847. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1848. blocked = true
  1849. block.Value = block.Value - 1
  1850. print(block.Value)
  1851. end
  1852. if blocked == false then
  1853. HitHealth = h.Health
  1854. h.MaxHealth = 100
  1855. h.Health = h.Health - Damage
  1856. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1857. print("gained kill")
  1858. dmg(h.Parent)
  1859. end
  1860. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1861. else
  1862. h.Health = h.Health - Damage / 2
  1863. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1864. end
  1865. if Type == "Knockdown" then
  1866. local hum = hit.Parent.Humanoid
  1867. hum.PlatformStand = true
  1868. coroutine.resume(coroutine.create(function(HHumanoid)
  1869. swait(1)
  1870. HHumanoid.PlatformStand = false
  1871. end), hum)
  1872. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1873. local bodvol = Create("BodyVelocity")({
  1874. velocity = angle * knockback,
  1875. P = 5000,
  1876. maxForce = Vector3.new(8000, 8000, 8000),
  1877. Parent = hit
  1878. })
  1879. local rl = Create("BodyAngularVelocity")({
  1880. P = 3000,
  1881. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1882. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1883. Parent = hit
  1884. })
  1885. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1886. game:GetService("Debris"):AddItem(rl, 0.5)
  1887. elseif Type == "Normal" then
  1888. local vp = Create("BodyVelocity")({
  1889. P = 500,
  1890. maxForce = Vector3.new(math.huge, 0, math.huge),
  1891. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1892. })
  1893. if knockback > 0 then
  1894. vp.Parent = hit.Parent.Head
  1895. end
  1896. game:GetService("Debris"):AddItem(vp, 0.5)
  1897. elseif Type == "Up" then
  1898. local bodyVelocity = Create("BodyVelocity")({
  1899. velocity = Vector3.new(0, 20, 0),
  1900. P = 5000,
  1901. maxForce = Vector3.new(8000, 8000, 8000),
  1902. Parent = hit
  1903. })
  1904. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1905. local bodyVelocity = Create("BodyVelocity")({
  1906. velocity = Vector3.new(0, 20, 0),
  1907. P = 5000,
  1908. maxForce = Vector3.new(8000, 8000, 8000),
  1909. Parent = hit
  1910. })
  1911. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1912. elseif Type == "Leech" then
  1913. local hum = hit.Parent.Humanoid
  1914. if hum ~= nil then
  1915. for i = 0, 2 do
  1916. 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)
  1917. end
  1918. Humanoid.Health = Humanoid.Health + 10
  1919. end
  1920. elseif Type == "UpKnock" then
  1921. local hum = hit.Parent.Humanoid
  1922. hum.PlatformStand = true
  1923. if hum ~= nil then
  1924. hitr = true
  1925. end
  1926. coroutine.resume(coroutine.create(function(HHumanoid)
  1927. swait(5)
  1928. HHumanoid.PlatformStand = false
  1929. hitr = false
  1930. end), hum)
  1931. local bodyVelocity = Create("BodyVelocity")({
  1932. velocity = Vector3.new(0, 20, 0),
  1933. P = 5000,
  1934. maxForce = Vector3.new(8000, 8000, 8000),
  1935. Parent = hit
  1936. })
  1937. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1938. local bodyVelocity = Create("BodyVelocity")({
  1939. velocity = Vector3.new(0, 20, 0),
  1940. P = 5000,
  1941. maxForce = Vector3.new(8000, 8000, 8000),
  1942. Parent = hit
  1943. })
  1944. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1945. elseif Type == "Snare" then
  1946. local bp = Create("BodyPosition")({
  1947. P = 2000,
  1948. D = 100,
  1949. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1950. position = hit.Parent.Torso.Position,
  1951. Parent = hit.Parent.Torso
  1952. })
  1953. game:GetService("Debris"):AddItem(bp, 1)
  1954. elseif Type == "Slashnare" then
  1955. 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)
  1956. for i = 1, math.random(4, 5) do
  1957. 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)
  1958. end
  1959. local bp = Create("BodyPosition")({
  1960. P = 2000,
  1961. D = 100,
  1962. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1963. position = hit.Parent.Torso.Position,
  1964. Parent = hit.Parent.Torso
  1965. })
  1966. game:GetService("Debris"):AddItem(bp, 1)
  1967. elseif Type == "Spike" then
  1968. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1969. local bp = Create("BodyPosition")({
  1970. P = 2000,
  1971. D = 100,
  1972. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1973. position = hit.Parent.Torso.Position,
  1974. Parent = hit.Parent.Torso
  1975. })
  1976. game:GetService("Debris"):AddItem(bp, 1)
  1977. elseif Type == "Freeze" then
  1978. local BodPos = Create("BodyPosition")({
  1979. P = 50000,
  1980. D = 1000,
  1981. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1982. position = hit.Parent.Torso.Position,
  1983. Parent = hit.Parent.Torso
  1984. })
  1985. local BodGy = Create("BodyGyro")({
  1986. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1987. P = 20000,
  1988. Parent = hit.Parent.Torso,
  1989. cframe = hit.Parent.Torso.CFrame
  1990. })
  1991. hit.Parent.Torso.Anchored = true
  1992. coroutine.resume(coroutine.create(function(Part)
  1993. swait(1.5)
  1994. Part.Anchored = false
  1995. end), hit.Parent.Torso)
  1996. game:GetService("Debris"):AddItem(BodPos, 3)
  1997. game:GetService("Debris"):AddItem(BodGy, 3)
  1998. end
  1999. local debounce = Create("BoolValue")({
  2000. Name = "DebounceHit",
  2001. Parent = hit.Parent,
  2002. Value = true
  2003. })
  2004. game:GetService("Debris"):AddItem(debounce, Delay)
  2005. c = Instance.new("ObjectValue")
  2006. c.Name = "creator"
  2007. c.Value = Player
  2008. c.Parent = h
  2009. game:GetService("Debris"):AddItem(c, 0.5)
  2010. end
  2011. end
  2012. function ShowDamage(Pos, Text, Time, Color)
  2013. local Rate = 0.03333333333333333
  2014. local Pos = Pos or Vector3.new(0, 0, 0)
  2015. local Text = Text or ""
  2016. local Time = Time or 2
  2017. local Color = Color or Color3.new(1, 0, 1)
  2018. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2019. EffectPart.Anchored = true
  2020. local BillboardGui = Create("BillboardGui")({
  2021. Size = UDim2.new(3, 0, 3, 0),
  2022. Adornee = EffectPart,
  2023. Parent = EffectPart
  2024. })
  2025. local TextLabel = Create("TextLabel")({
  2026. BackgroundTransparency = 1,
  2027. Size = UDim2.new(1, 0, 1, 0),
  2028. Text = Text,
  2029. TextColor3 = Color,
  2030. TextScaled = true,
  2031. Font = Enum.Font.ArialBold,
  2032. Parent = BillboardGui
  2033. })
  2034. game.Debris:AddItem(EffectPart, Time + 0.1)
  2035. EffectPart.Parent = game:GetService("Workspace")
  2036. delay(0, function()
  2037. local Frames = Time / Rate
  2038. for Frame = 1, Frames do
  2039. wait(Rate)
  2040. local Percent = Frame / Frames
  2041. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2042. TextLabel.TextTransparency = Percent
  2043. end
  2044. if EffectPart and EffectPart.Parent then
  2045. EffectPart:Destroy()
  2046. end
  2047. end)
  2048. end
  2049. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2050. for _, c in pairs(workspace:children()) do
  2051. local hum = c:findFirstChildOfClass("Humanoid")
  2052. if hum ~= nil then
  2053. local head = c:findFirstChild("Head")
  2054. if head ~= nil then
  2055. local targ = head.Position - Part.Position
  2056. local mag = targ.magnitude
  2057. if magni >= mag and c.Name ~= Player.Name then
  2058. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2059. end
  2060. end
  2061. end
  2062. end
  2063. end
  2064.  
  2065. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  2066. for _, c in pairs(workspace:children()) do
  2067. local hum = c:findFirstChild("Humanoid")
  2068. if hum ~= nil then
  2069. local head = c:findFirstChild("Torso")
  2070. if head ~= nil then
  2071. local targ = head.Position - Part.Position
  2072. local mag = targ.magnitude
  2073. if magni >= mag and c.Name ~= Player.Name then
  2074. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2075. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2076. end
  2077. end
  2078. end
  2079. end
  2080. end
  2081.  
  2082. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2083. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2084. end
  2085.  
  2086. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2087. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2088. prt.Anchored=true
  2089. prt.CFrame=cframe
  2090. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2091. --http://www.roblox.com/asset/?id=4770560
  2092. game:GetService("Debris"):AddItem(prt,2)
  2093. CF=prt.CFrame
  2094. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2095. for i=0,1,0.2 do
  2096. wait()
  2097. Part.CFrame=CF*cf(0,0,-0.4)
  2098. end
  2099. for i=0,1,delay do
  2100. wait()
  2101. --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)
  2102. Mesh.Scale=Mesh.Scale
  2103. end
  2104. for i=0,1,0.1 do
  2105. wait()
  2106. Part.Transparency=i
  2107. end
  2108. Part.Parent=nil
  2109. end),prt,msh,CF)
  2110. end
  2111.  
  2112. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2113. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2114. prt.Anchored=true
  2115. prt.Material = "Neon"
  2116. prt.CFrame=cframe
  2117. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2118. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2119. game:GetService("Debris"):AddItem(prt,5)
  2120. coroutine.resume(coroutine.create(function(Part,Mesh)
  2121. for i=0,1,delay do
  2122. swait()
  2123. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2124. Part.Transparency=i
  2125. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2126. end
  2127. Part.Parent=nil
  2128. end),prt,msh)
  2129. end
  2130.  
  2131. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2132. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2133. prt.Anchored=true
  2134. prt.Material = "Neon"
  2135. prt.CFrame=cframe
  2136. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2137. game:GetService("Debris"):AddItem(prt,5)
  2138. coroutine.resume(coroutine.create(function(Part,Mesh)
  2139. local rtype = rottype
  2140. for i=0,1,delay do
  2141. swait()
  2142. if rtype == 1 then
  2143. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2144. elseif rtype == 2 then
  2145. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2146. end
  2147. Part.Transparency=i
  2148. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2149. end
  2150. Part.Parent=nil
  2151. end),prt,msh)
  2152. end
  2153.  
  2154. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2155. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2156. prt.Anchored=true
  2157. prt.CFrame=cframe
  2158. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2159. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2160. game:GetService("Debris"):AddItem(prt,5)
  2161. coroutine.resume(coroutine.create(function(Part,Mesh)
  2162. for i=0,1,delay do
  2163. wait()
  2164. Part.Transparency=i
  2165. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2166. end
  2167. Part.Parent=nil
  2168. end),prt,msh)
  2169. end
  2170.  
  2171. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2172. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2173. prt.Anchored=true
  2174. prt.Material = "Neon"
  2175. prt.CFrame=cframe
  2176. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2177. game:GetService("Debris"):AddItem(prt,5)
  2178. coroutine.resume(coroutine.create(function(Part,Mesh)
  2179. local rtype = rottype
  2180. for i=0,1,delay do
  2181. swait()
  2182. if rtype == 1 then
  2183. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2184. elseif rtype == 2 then
  2185. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2186. end
  2187. Part.Transparency=i
  2188. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2189. end
  2190. Part.Parent=nil
  2191. end),prt,msh)
  2192. end
  2193.  
  2194. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2195. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2196. prt.Anchored=true
  2197. prt.Material = "Neon"
  2198. prt.CFrame=cframe
  2199. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2200. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2201. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2202. game:GetService("Debris"):AddItem(prt,5)
  2203. coroutine.resume(coroutine.create(function(Part,Mesh)
  2204. local rtype = rottype
  2205. for i=0,1,delay do
  2206. swait()
  2207. if rtype == 1 then
  2208. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2209. elseif rtype == 2 then
  2210. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2211. end
  2212. dec.Transparency=i
  2213. dec2.Transparency=i
  2214. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2215. end
  2216. Part.Parent=nil
  2217. end),prt,msh)
  2218. end
  2219.  
  2220. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2221. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2222. prt.Anchored=true
  2223. prt.Material = "Neon"
  2224. prt.CFrame=cframe
  2225. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2226. game:GetService("Debris"):AddItem(prt,5)
  2227. coroutine.resume(coroutine.create(function(Part,Mesh)
  2228. local rtype = rottype
  2229. for i=0,1,delay do
  2230. swait()
  2231. if rtype == 1 then
  2232. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2233. elseif rtype == 2 then
  2234. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2235. end
  2236. prt.Transparency=i
  2237. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2238. end
  2239. Part.Parent=nil
  2240. end),prt,msh)
  2241. end
  2242.  
  2243. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2244. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2245. prt.Anchored=true
  2246. prt.Material = "Neon"
  2247. prt.CFrame=cframe
  2248. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2249. game:GetService("Debris"):AddItem(prt,5)
  2250. coroutine.resume(coroutine.create(function(Part,Mesh)
  2251. local rtype = rottype
  2252. for i=0,1,delay do
  2253. swait()
  2254. if rtype == 1 then
  2255. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2256. elseif rtype == 2 then
  2257. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2258. end
  2259. prt.Transparency=i
  2260. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2261. end
  2262. Part.Parent=nil
  2263. end),prt,msh)
  2264. end
  2265.  
  2266. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2267. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2268. prt.Anchored=true
  2269. prt.Material = "Neon"
  2270. prt.CFrame=cframe
  2271. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2272. game:GetService("Debris"):AddItem(prt,5)
  2273. coroutine.resume(coroutine.create(function(Part,Mesh)
  2274. local rtype = rottype
  2275. for i=0,1,delay do
  2276. swait()
  2277. if rtype == 1 then
  2278. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2279. elseif rtype == 2 then
  2280. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2281. end
  2282. prt.Transparency=i
  2283. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2284. end
  2285. Part.Parent=nil
  2286. end),prt,msh)
  2287. end
  2288.  
  2289. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2290. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2291. prt.Anchored=true
  2292. prt.Material = "Neon"
  2293. prt.CFrame=cframe
  2294. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2295. game:GetService("Debris"):AddItem(prt,5)
  2296. coroutine.resume(coroutine.create(function(Part,Mesh)
  2297. local rtype = rottype
  2298. for i=0,1,delay do
  2299. swait()
  2300. if rtype == 1 then
  2301. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2302. elseif rtype == 2 then
  2303. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2304. end
  2305. prt.Transparency=i
  2306. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2307. end
  2308. Part.Parent=nil
  2309. end),prt,msh)
  2310. end
  2311.  
  2312. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2313. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2314. prt.Anchored=false
  2315. prt.CFrame=cframe
  2316. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2317. local wld=weld(prt,prt,Parent,cframe)
  2318. game:GetService("Debris"):AddItem(prt,5)
  2319. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2320. for i=0,1,delay do
  2321. wait()
  2322. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2323. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2324. Part.Transparency=i
  2325. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2326. end
  2327. Part.Parent=nil
  2328. end),prt,msh,wld)
  2329. end
  2330.  
  2331. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2332. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2333. prt.Anchored=false
  2334. prt.CFrame=cframe
  2335. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2336. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2337. game:GetService("Debris"):AddItem(prt,5)
  2338. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2339. for i=0,1,delay do
  2340. wait()
  2341. Weld.C0=euler(i*20,0,0)
  2342. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2343. Part.Transparency=i
  2344. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2345. end
  2346. Part.Parent=nil
  2347. end),prt,msh,wld)
  2348. end
  2349.  
  2350. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2351. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2352. prt.Anchored=true
  2353. prt.CFrame=cframe
  2354. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2355. game:GetService("Debris"):AddItem(prt,2)
  2356. coroutine.resume(coroutine.create(function(Part,Mesh)
  2357. for i=0,1,delay do
  2358. wait()
  2359. Part.CFrame=Part.CFrame
  2360. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2361. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2362. prt2.Anchored=true
  2363. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2364. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2365. game:GetService("Debris"):AddItem(prt2,2)
  2366. coroutine.resume(coroutine.create(function(Part,Mesh)
  2367. for i=0,1,0.1 do
  2368. wait()
  2369. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2370. end
  2371. Part.Parent=nil
  2372. end),prt2,msh2)
  2373. end
  2374. for i=0,1,delay*2 do
  2375. wait()
  2376. Part.CFrame=Part.CFrame
  2377. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2378. end
  2379. Part.Parent=nil
  2380. end),prt,msh)
  2381. end
  2382.  
  2383. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2384. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2385. prt.Anchored=true
  2386. prt.CFrame=cframe
  2387. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2388. game:GetService("Debris"):AddItem(prt,2)
  2389. coroutine.resume(coroutine.create(function(Part,Mesh)
  2390. for i=0,1,delay do
  2391. wait()
  2392. Part.CFrame=Part.CFrame
  2393. Part.Transparency=i
  2394. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2395. end
  2396. Part.Parent=nil
  2397. end),prt,msh)
  2398. end
  2399.  
  2400. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2401. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2402. prt.Anchored=true
  2403. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2404. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2405. game:GetService("Debris"):AddItem(prt,2)
  2406. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2407. CF=Part.CFrame
  2408. Numbb=0
  2409. randnumb=math.random()/10
  2410. rand1=math.random()/10
  2411. for i=0,1,rand1 do
  2412. wait()
  2413. CF=CF*cf(0,math.random()/2,0)
  2414. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2415. Part.CFrame=CF*euler(Numbb,0,0)
  2416. Part.Transparency=i
  2417. Numbb=Numbb+randnumb
  2418. end
  2419. Part.Parent=nil
  2420. end),prt,CF,Numbb,randnumb)
  2421. end
  2422.  
  2423. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2424. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2425. prt.Anchored=true
  2426. prt.CFrame=cframe
  2427. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2428. game:GetService("Debris"):AddItem(prt,5)
  2429. coroutine.resume(coroutine.create(function(Part,Mesh)
  2430. for i=0,1,delay do
  2431. wait()
  2432. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2433. Part.Transparency=i
  2434. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2435. end
  2436. Part.Parent=nil
  2437. end),prt,msh)
  2438. end
  2439.  
  2440. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2441. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2442. prt.Anchored=true
  2443. prt.CFrame=cframe
  2444. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2445. game:GetService("Debris"):AddItem(prt,2)
  2446. coroutine.resume(coroutine.create(function(Part,Mesh)
  2447. for i=0,1,delay do
  2448. wait()
  2449. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2450. Part.Transparency=i
  2451. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2452. end
  2453. Part.Parent=nil
  2454. end),prt,msh)
  2455. end
  2456.  
  2457. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2458. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2459. prt.Anchored=true
  2460. prt.CFrame=cframe*cf(x,y,z)
  2461. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2462. game:GetService("Debris"):AddItem(prt,5)
  2463. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2464. local num=math.random()
  2465. local num2=math.random(-3,2)+math.random()
  2466. local numm=0
  2467. for i=0,1,delay*2 do
  2468. swait()
  2469. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2470. Part.Transparency=i
  2471. numm=numm+0.01
  2472. end
  2473. Part.Parent=nil
  2474. Mesh.Parent=nil
  2475. end),prt,msh,x,y,z)
  2476. end
  2477.  
  2478. function dmgstart(dmg,what)
  2479. hitcon = what.Touched:connect(function(hit)
  2480. local hum = hit.Parent:FindFirstChild("Humanoid")
  2481. if hum and not hum:IsDescendantOf(Character) then
  2482. hum:TakeDamage(dmg)
  2483. end
  2484. end)
  2485. end
  2486.  
  2487. function dmgstop()
  2488. hitcon:disconnect()
  2489. end
  2490.  
  2491. function Cloak()
  2492. Face.Parent=nil
  2493. cloaked=true
  2494. for _,v in pairs(Torso.Parent:children()) do
  2495. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2496. coroutine.resume(coroutine.create(function()
  2497. for i=0,1,0.2 do
  2498. wait()
  2499. v.Transparency=i
  2500. end
  2501. v.Transparency=1
  2502. end))
  2503. end
  2504. if v.className=="Hat" then
  2505. hatp=v.Handle
  2506. coroutine.resume(coroutine.create(function(derp)
  2507. for i=0,1,0.2 do
  2508. wait()
  2509. derp.Transparency=i
  2510. end
  2511. derp.Transparency=1
  2512. end),hatp)
  2513. end
  2514. end
  2515. for _,v in pairs(m:children()) do
  2516. if v.className=="Part" then
  2517. coroutine.resume(coroutine.create(function()
  2518. for i=0,1,0.2 do
  2519. wait()
  2520. v.Transparency=i
  2521. end
  2522. v.Transparency=1
  2523. end))
  2524. end
  2525. end
  2526. end
  2527.  
  2528. function UnCloak()
  2529. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2530. Face.Parent=Head
  2531. cloaked=false
  2532. for _,v in pairs(Torso.Parent:children()) do
  2533. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2534. coroutine.resume(coroutine.create(function()
  2535. for i=0,1,0.1 do
  2536. wait()
  2537. v.Transparency=v.Transparency-0.1
  2538. end
  2539. v.Transparency=0
  2540. end))
  2541. end
  2542. if v.className=="Hat" then
  2543. hatp=v.Handle
  2544. coroutine.resume(coroutine.create(function(derp)
  2545. for i=0,1,0.1 do
  2546. wait()
  2547. derp.Transparency=derp.Transparency-0.1
  2548. end
  2549. derp.Transparency=0
  2550. end),hatp)
  2551. end
  2552. end
  2553. for _,v in pairs(m:children()) do
  2554. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2555. coroutine.resume(coroutine.create(function()
  2556. for i=0,1,0.1 do
  2557. wait()
  2558. v.Transparency=v.Transparency-0.1
  2559. end
  2560. v.Transparency=0
  2561. end))
  2562. v.Transparency=0
  2563. end
  2564. end
  2565. end
  2566.  
  2567. local origcolor = BrickColor.new("Pastel light blue")
  2568. ---- This section of explosions.
  2569.  
  2570. ----
  2571.  
  2572.  
  2573. function ring(type,pos,scale,value)
  2574. local type = type
  2575. local rng = Instance.new("Part", char)
  2576. rng.Anchored = true
  2577. rng.BrickColor = origcolor
  2578. rng.CanCollide = false
  2579. rng.FormFactor = 3
  2580. rng.Name = "Ring"
  2581. rng.Size = Vector3.new(1, 1, 1)
  2582. rng.Transparency = 0
  2583. rng.TopSurface = 0
  2584. rng.BottomSurface = 0
  2585. rng.CFrame = pos
  2586. local rngm = Instance.new("SpecialMesh", rng)
  2587. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2588. rngm.Scale = scale
  2589. local scaler2 = 1
  2590. if type == "Add" then
  2591. scaler2 = 1*value
  2592. elseif type == "Divide" then
  2593. scaler2 = 1/value
  2594. end
  2595. coroutine.resume(coroutine.create(function()
  2596. for i = 0,10,0.1 do
  2597. swait()
  2598. if type == "Add" then
  2599. scaler2 = scaler2 - 0.01*value
  2600. elseif type == "Divide" then
  2601. scaler2 = scaler2 - 0.01/value
  2602. end
  2603. rng.Transparency = rng.Transparency + 0.01
  2604. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2605. end
  2606. rng:Destroy()
  2607. end))
  2608. end
  2609.  
  2610.  
  2611. function wave(type,pos,scale,value)
  2612. local type = type
  2613. local rng = Instance.new("Part", char)
  2614. rng.Anchored = true
  2615. rng.BrickColor = origcolor
  2616. rng.CanCollide = false
  2617. rng.FormFactor = 3
  2618. rng.Name = "Ring"
  2619. rng.Size = Vector3.new(1, 1, 1)
  2620. rng.Transparency = 0
  2621. rng.TopSurface = 0
  2622. rng.BottomSurface = 0
  2623. rng.CFrame = pos
  2624. local rngm = Instance.new("SpecialMesh", rng)
  2625. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2626. rngm.Scale = scale
  2627. local scaler2 = 1
  2628. if type == "Add" then
  2629. scaler2 = 1*value
  2630. elseif type == "Divide" then
  2631. scaler2 = 1/value
  2632. end
  2633. coroutine.resume(coroutine.create(function()
  2634. for i = 0,10,0.1 do
  2635. swait()
  2636. if type == "Add" then
  2637. scaler2 = scaler2 - 0.01*value
  2638. elseif type == "Divide" then
  2639. scaler2 = scaler2 - 0.01/value
  2640. end
  2641. rng.Transparency = rng.Transparency + 0.01
  2642. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2643. end
  2644. rng:Destroy()
  2645. end))
  2646. end
  2647.  
  2648. function wind(type,pos,scale,value,speed)
  2649. local type = type
  2650. local rng = Instance.new("Part", char)
  2651. rng.Anchored = true
  2652. rng.BrickColor = origcolor
  2653. rng.CanCollide = false
  2654. rng.FormFactor = 3
  2655. rng.Name = "Ring"
  2656. rng.Size = Vector3.new(1, 1, 1)
  2657. rng.Transparency = 0
  2658. rng.TopSurface = 0
  2659. rng.BottomSurface = 0
  2660. rng.CFrame = pos
  2661. local rngm = Instance.new("SpecialMesh", rng)
  2662. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2663. rngm.Scale = scale
  2664. local scaler2 = 1
  2665. if type == "Add" then
  2666. scaler2 = 1*value
  2667. elseif type == "Divide" then
  2668. scaler2 = 1/value
  2669. end
  2670. coroutine.resume(coroutine.create(function()
  2671. for i = 0,10,0.1 do
  2672. swait()
  2673. if type == "Add" then
  2674. scaler2 = scaler2 - 0.01*value
  2675. elseif type == "Divide" then
  2676. scaler2 = scaler2 - 0.01/value
  2677. end
  2678. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2679. rng.Transparency = rng.Transparency + 0.01
  2680. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2681. end
  2682. rng:Destroy()
  2683. end))
  2684. end
  2685.  
  2686. function groundwind(type,pos,scale,value,speed)
  2687. local type = type
  2688. local rng = Instance.new("Part", char)
  2689. rng.Anchored = true
  2690. rng.BrickColor = origcolor
  2691. rng.CanCollide = false
  2692. rng.FormFactor = 3
  2693. rng.Name = "Ring"
  2694. rng.Size = Vector3.new(1, 1, 1)
  2695. rng.Transparency = 0
  2696. rng.TopSurface = 0
  2697. rng.BottomSurface = 0
  2698. rng.CFrame = pos
  2699. local rngm = Instance.new("SpecialMesh", rng)
  2700. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2701. rngm.Scale = scale
  2702. local scaler2 = 1
  2703. if type == "Add" then
  2704. scaler2 = 1*value
  2705. elseif type == "Divide" then
  2706. scaler2 = 1/value
  2707. end
  2708. coroutine.resume(coroutine.create(function()
  2709. for i = 0,10,0.1 do
  2710. swait()
  2711. if type == "Add" then
  2712. scaler2 = scaler2 - 0.01*value
  2713. elseif type == "Divide" then
  2714. scaler2 = scaler2 - 0.01/value
  2715. end
  2716. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2717. rng.Transparency = rng.Transparency + 0.01
  2718. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2719. end
  2720. rng:Destroy()
  2721. end))
  2722. end
  2723.  
  2724. function CameraManager()
  2725. if TwoD and not CamInterrupt then
  2726. if Humanoid.Health > 0 then
  2727. Camera.CameraSubject = Humanoid
  2728. Camera.CameraType = "Scriptable"
  2729. Humanoid.AutoRotate = false
  2730. if Booleans.GyroUse then
  2731. Directer.MaxTorque = Vec3(0, huge, 0)
  2732. else
  2733. Directer.MaxTorque = Vec3(0, 0, 0)
  2734. end
  2735. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2736. if Booleans.CamFollow then
  2737. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2738. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2739. else
  2740. CPart.Position = RootPart.Position
  2741. end
  2742. else
  2743. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2744. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2745. end
  2746. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2747. else
  2748. Camera.CameraSubject = Humanoid
  2749. Camera.CameraType = "Custom"
  2750. Controller.Disabled = false
  2751. end
  2752. end
  2753. end
  2754.  
  2755. function ring(type,pos,scale,value)
  2756. local type = type
  2757. local rng = Instance.new("Part", char)
  2758. rng.Anchored = true
  2759. rng.BrickColor = origcolor
  2760. rng.CanCollide = false
  2761. rng.FormFactor = 3
  2762. rng.Name = "Ring"
  2763. rng.Size = Vector3.new(1, 1, 1)
  2764. rng.Transparency = 0
  2765. rng.TopSurface = 0
  2766. rng.BottomSurface = 0
  2767. rng.CFrame = pos
  2768. local rngm = Instance.new("SpecialMesh", rng)
  2769. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2770. rngm.Scale = scale
  2771. local scaler2 = 1
  2772. if type == "Add" then
  2773. scaler2 = 1*value
  2774. elseif type == "Divide" then
  2775. scaler2 = 1/value
  2776. end
  2777. coroutine.resume(coroutine.create(function()
  2778. for i = 0,10,0.1 do
  2779. swait()
  2780. if type == "Add" then
  2781. scaler2 = scaler2 - 0.01*value
  2782. elseif type == "Divide" then
  2783. scaler2 = scaler2 - 0.01/value
  2784. end
  2785. rng.Transparency = rng.Transparency + 0.01
  2786. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2787. end
  2788. rng:Destroy()
  2789. end))
  2790. end
  2791.  
  2792.  
  2793. function wave(type,pos,scale,value)
  2794. local type = type
  2795. local rng = Instance.new("Part", char)
  2796. rng.Anchored = true
  2797. rng.BrickColor = origcolor
  2798. rng.CanCollide = false
  2799. rng.FormFactor = 3
  2800. rng.Name = "Ring"
  2801. rng.Size = Vector3.new(1, 1, 1)
  2802. rng.Transparency = 0
  2803. rng.TopSurface = 0
  2804. rng.BottomSurface = 0
  2805. rng.CFrame = pos
  2806. local rngm = Instance.new("SpecialMesh", rng)
  2807. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2808. rngm.Scale = scale
  2809. local scaler2 = 1
  2810. if type == "Add" then
  2811. scaler2 = 1*value
  2812. elseif type == "Divide" then
  2813. scaler2 = 1/value
  2814. end
  2815. coroutine.resume(coroutine.create(function()
  2816. for i = 0,10,0.1 do
  2817. swait()
  2818. if type == "Add" then
  2819. scaler2 = scaler2 - 0.01*value
  2820. elseif type == "Divide" then
  2821. scaler2 = scaler2 - 0.01/value
  2822. end
  2823. rng.Transparency = rng.Transparency + 0.01
  2824. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2825. end
  2826. rng:Destroy()
  2827. end))
  2828. end
  2829.  
  2830. function sphere(bonuspeed,type,pos,scale,value,color)
  2831. local type = type
  2832. local rng = Instance.new("Part", char)
  2833. rng.Anchored = true
  2834. if ModeOfGlitch ~= 9 then
  2835. rng.BrickColor = color
  2836. elseif ModeOfGlitch == 9 then
  2837. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2838. end
  2839. rng.CanCollide = false
  2840. rng.FormFactor = 3
  2841. rng.Name = "Ring"
  2842. rng.Material = "Neon"
  2843. rng.Size = Vector3.new(1, 1, 1)
  2844. rng.Transparency = 0
  2845. rng.TopSurface = 0
  2846. rng.BottomSurface = 0
  2847. rng.CFrame = pos
  2848. local rngm = Instance.new("SpecialMesh", rng)
  2849. rngm.MeshType = "Sphere"
  2850. rngm.Scale = scale
  2851. if rainbowmode == true then
  2852. rng.Color = Color3.new(r/255,g/255,b/255)
  2853. end
  2854. if ModeOfGlitch == 9 then
  2855. coroutine.resume(coroutine.create(function()
  2856. while true do
  2857. swait()
  2858. if rng.Parent ~= nil then
  2859. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2860. else
  2861. break
  2862. end
  2863. end
  2864. end))
  2865. end
  2866. local scaler2 = 1
  2867. if type == "Add" then
  2868. scaler2 = 1*value
  2869. elseif type == "Divide" then
  2870. scaler2 = 1/value
  2871. end
  2872. coroutine.resume(coroutine.create(function()
  2873. for i = 0,10/bonuspeed,0.1 do
  2874. swait()
  2875. if rainbowmode == true then
  2876. rng.Color = Color3.new(r/255,g/255,b/255)
  2877. end
  2878. if type == "Add" then
  2879. scaler2 = scaler2 - 0.01*value/bonuspeed
  2880. elseif type == "Divide" then
  2881. scaler2 = scaler2 - 0.01/value*bonuspeed
  2882. end
  2883. if chaosmode == true then
  2884. rng.BrickColor = BrickColor.random()
  2885. end
  2886. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2887. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2888. end
  2889. rng:Destroy()
  2890. end))
  2891. end
  2892.  
  2893. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  2894. local type = type
  2895. local rng = Instance.new("Part", char)
  2896. rng.Anchored = true
  2897. if ModeOfGlitch ~= 9 then
  2898. rng.BrickColor = color
  2899. elseif ModeOfGlitch == 9 then
  2900. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2901. end
  2902. rng.CanCollide = false
  2903. rng.FormFactor = 3
  2904. rng.Name = "Ring"
  2905. rng.Material = "Neon"
  2906. rng.Size = Vector3.new(1, 1, 1)
  2907. rng.Transparency = 0
  2908. rng.TopSurface = 0
  2909. rng.BottomSurface = 0
  2910. rng.CFrame = pos
  2911. local rngm = Instance.new("SpecialMesh", rng)
  2912. rngm.MeshType = "Sphere"
  2913. rngm.Scale = scale
  2914. local scaler2 = 1
  2915. local scaler2b = 1
  2916. local scaler2c = 1
  2917. if type == "Add" then
  2918. scaler2 = 1*value
  2919. scaler2b = 1*value2
  2920. scaler2c = 1*value3
  2921. elseif type == "Divide" then
  2922. scaler2 = 1/value
  2923. scaler2b = 1/value2
  2924. scaler2c = 1/value3
  2925. end
  2926. if ModeOfGlitch == 9 then
  2927. coroutine.resume(coroutine.create(function()
  2928. while true do
  2929. swait()
  2930. if rng.Parent ~= nil then
  2931. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2932. else
  2933. break
  2934. end
  2935. end
  2936. end))
  2937. end
  2938. coroutine.resume(coroutine.create(function()
  2939. for i = 0,10/bonuspeed,0.1 do
  2940. swait()
  2941. if type == "Add" then
  2942. scaler2 = scaler2 - 0.01*value/bonuspeed
  2943. scaler2b = scaler2b - 0.01*value/bonuspeed
  2944. scaler2c = scaler2c - 0.01*value/bonuspeed
  2945. elseif type == "Divide" then
  2946. scaler2 = scaler2 - 0.01/value*bonuspeed
  2947. scaler2b = scaler2b - 0.01/value*bonuspeed
  2948. scaler2c = scaler2c - 0.01/value*bonuspeed
  2949. end
  2950. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2951. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2952. end
  2953. rng:Destroy()
  2954. end))
  2955. end
  2956.  
  2957. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  2958. local type = type
  2959. local rotenable = rotatingop
  2960. local rng = Instance.new("Part", char)
  2961. rng.Anchored = true
  2962. rng.BrickColor = color
  2963. rng.CanCollide = false
  2964. rng.FormFactor = 3
  2965. rng.Name = "Ring"
  2966. rng.Material = "Neon"
  2967. rng.Size = Vector3.new(1, 1, 1)
  2968. rng.Transparency = 0
  2969. if typeoftrans == "In" then
  2970. rng.Transparency = 1
  2971. end
  2972. rng.TopSurface = 0
  2973. rng.BottomSurface = 0
  2974. rng.CFrame = pos
  2975. local rngm = Instance.new("SpecialMesh", rng)
  2976. rngm.MeshType = "FileMesh"
  2977. if typeofshape == "Normal" then
  2978. rngm.MeshId = "rbxassetid://662586858"
  2979. elseif typeofshape == "Round" then
  2980. rngm.MeshId = "rbxassetid://662585058"
  2981. end
  2982. rngm.Scale = scale
  2983. local scaler2 = 1/10
  2984. if type == "Add" then
  2985. scaler2 = 1*value/10
  2986. elseif type == "Divide" then
  2987. scaler2 = 1/value/10
  2988. end
  2989. local randomrot = math.random(1,2)
  2990. coroutine.resume(coroutine.create(function()
  2991. for i = 0,10/bonuspeed,0.1 do
  2992. swait()
  2993. if type == "Add" then
  2994. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  2995. elseif type == "Divide" then
  2996. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  2997. end
  2998. if rotenable == true then
  2999. if randomrot == 1 then
  3000. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  3001. elseif randomrot == 2 then
  3002. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  3003. end
  3004. end
  3005. if typeoftrans == "Out" then
  3006. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3007. elseif typeoftrans == "In" then
  3008. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3009. end
  3010. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  3011. end
  3012. rng:Destroy()
  3013. end))
  3014. end
  3015.  
  3016. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3017. local type = type
  3018. local rng = Instance.new("Part", char)
  3019. rng.Anchored = true
  3020. rng.BrickColor = color
  3021. rng.CanCollide = false
  3022. rng.FormFactor = 3
  3023. rng.Name = "Ring"
  3024. rng.Material = "Neon"
  3025. rng.Size = Vector3.new(1, 1, 1)
  3026. rng.Transparency = 0
  3027. rng.TopSurface = 0
  3028. rng.BottomSurface = 0
  3029. rng.CFrame = pos
  3030. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3031. local rngm = Instance.new("SpecialMesh", rng)
  3032. rngm.MeshType = "Brick"
  3033. rngm.Scale = vt(x1,y1,z1)
  3034. if rainbowmode == true then
  3035. rng.Color = Color3.new(r/255,g/255,b/255)
  3036. end
  3037. local scaler2 = 1
  3038. local speeder = FastSpeed/10
  3039. if type == "Add" then
  3040. scaler2 = 1*value
  3041. elseif type == "Divide" then
  3042. scaler2 = 1/value
  3043. end
  3044. coroutine.resume(coroutine.create(function()
  3045. for i = 0,10/bonuspeed,0.1 do
  3046. swait()
  3047. if rainbowmode == true then
  3048. rng.Color = Color3.new(r/255,g/255,b/255)
  3049. end
  3050. if type == "Add" then
  3051. scaler2 = scaler2 - 0.01*value/bonuspeed
  3052. elseif type == "Divide" then
  3053. scaler2 = scaler2 - 0.01/value*bonuspeed
  3054. end
  3055. if chaosmode == true then
  3056. rng.BrickColor = BrickColor.random()
  3057. end
  3058. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3059. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3060. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3061. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3062. end
  3063. rng:Destroy()
  3064. end))
  3065. end
  3066.  
  3067. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3068. local type = type
  3069. local rng = Instance.new("Part", char)
  3070. rng.Anchored = true
  3071. rng.BrickColor = color
  3072. rng.CanCollide = false
  3073. rng.FormFactor = 3
  3074. rng.Name = "Ring"
  3075. rng.Material = "Neon"
  3076. rng.Size = Vector3.new(1, 1, 1)
  3077. rng.Transparency = 0
  3078. rng.TopSurface = 0
  3079. rng.BottomSurface = 0
  3080. rng.CFrame = pos
  3081. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3082. local rngm = Instance.new("SpecialMesh", rng)
  3083. rngm.MeshType = "Brick"
  3084. rngm.Scale = vt(x1,y1,z1)
  3085. if rainbowmode == true then
  3086. rng.Color = Color3.new(r/255,g/255,b/255)
  3087. end
  3088. local scaler2 = 1
  3089. local speeder = FastSpeed/10
  3090. if type == "Add" then
  3091. scaler2 = 1*value
  3092. elseif type == "Divide" then
  3093. scaler2 = 1/value
  3094. end
  3095. coroutine.resume(coroutine.create(function()
  3096. for i = 0,10/bonuspeed,0.1 do
  3097. swait()
  3098. if rainbowmode == true then
  3099. rng.Color = Color3.new(r/255,g/255,b/255)
  3100. end
  3101. if type == "Add" then
  3102. scaler2 = scaler2 - 0.01*value/bonuspeed
  3103. elseif type == "Divide" then
  3104. scaler2 = scaler2 - 0.01/value*bonuspeed
  3105. end
  3106. if chaosmode == true then
  3107. rng.BrickColor = BrickColor.random()
  3108. end
  3109. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3110. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3111. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3112. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3113. end
  3114. rng:Destroy()
  3115. end))
  3116. end
  3117.  
  3118. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3119. local type = type
  3120. local rng = Instance.new("Part", char)
  3121. rng.Anchored = true
  3122. rng.BrickColor = color
  3123. rng.CanCollide = false
  3124. rng.FormFactor = 3
  3125. rng.Name = "Ring"
  3126. rng.Material = "Neon"
  3127. rng.Size = Vector3.new(1, 1, 1)
  3128. rng.Transparency = 0
  3129. rng.TopSurface = 0
  3130. rng.BottomSurface = 0
  3131. rng.CFrame = pos
  3132. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3133. local rngm = Instance.new("SpecialMesh", rng)
  3134. rngm.MeshType = "Brick"
  3135. rngm.Scale = vt(x1,y1,z1)
  3136. if rainbowmode == true then
  3137. rng.Color = Color3.new(r/255,g/255,b/255)
  3138. end
  3139. local scaler2 = 0
  3140. local speeder = FastSpeed/10
  3141. if type == "Add" then
  3142. scaler2 = 1*value
  3143. elseif type == "Divide" then
  3144. scaler2 = 1/value
  3145. end
  3146. coroutine.resume(coroutine.create(function()
  3147. for i = 0,10/bonuspeed,0.1 do
  3148. swait()
  3149. if rainbowmode == true then
  3150. rng.Color = Color3.new(r/255,g/255,b/255)
  3151. end
  3152. if type == "Add" then
  3153. scaler2 = scaler2 - 0.01*value/bonuspeed
  3154. elseif type == "Divide" then
  3155. scaler2 = scaler2 - 0.01/value*bonuspeed
  3156. end
  3157. if chaosmode == true then
  3158. rng.BrickColor = BrickColor.random()
  3159. end
  3160. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3161. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3162. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3163. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3164. end
  3165. rng:Destroy()
  3166. end))
  3167. end
  3168.  
  3169. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3170. local type = type
  3171. local rng = Instance.new("Part", char)
  3172. rng.Anchored = true
  3173. rng.BrickColor = color
  3174. rng.Color = color3
  3175. rng.CanCollide = false
  3176. rng.FormFactor = 3
  3177. rng.Name = "Ring"
  3178. rng.Material = "Neon"
  3179. rng.Size = Vector3.new(1, 1, 1)
  3180. rng.Transparency = 0
  3181. rng.TopSurface = 0
  3182. rng.BottomSurface = 0
  3183. rng.CFrame = pos
  3184. local rngm = Instance.new("SpecialMesh", rng)
  3185. rngm.MeshType = "Brick"
  3186. rngm.Scale = scale
  3187. local scaler2 = 1
  3188. local scaler2b = 1
  3189. local scaler2c = 1
  3190. if type == "Add" then
  3191. scaler2 = 1*value
  3192. scaler2b = 1*value2
  3193. scaler2c = 1*value3
  3194. elseif type == "Divide" then
  3195. scaler2 = 1/value
  3196. scaler2b = 1/value2
  3197. scaler2c = 1/value3
  3198. end
  3199. coroutine.resume(coroutine.create(function()
  3200. for i = 0,10/bonuspeed,0.1 do
  3201. swait()
  3202. if type == "Add" then
  3203. scaler2 = scaler2 - 0.01*value/bonuspeed
  3204. scaler2b = scaler2b - 0.01*value/bonuspeed
  3205. scaler2c = scaler2c - 0.01*value/bonuspeed
  3206. elseif type == "Divide" then
  3207. scaler2 = scaler2 - 0.01/value*bonuspeed
  3208. scaler2b = scaler2b - 0.01/value*bonuspeed
  3209. scaler2c = scaler2c - 0.01/value*bonuspeed
  3210. end
  3211. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3212. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3213. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3214. end
  3215. rng:Destroy()
  3216. end))
  3217. end
  3218.  
  3219. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3220. local type = type
  3221. local rng = Instance.new("Part", char)
  3222. rng.Anchored = true
  3223. if ModeOfGlitch ~= 9 then
  3224. rng.BrickColor = color
  3225. elseif ModeOfGlitch == 9 then
  3226. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3227. end
  3228. rng.CanCollide = false
  3229. rng.FormFactor = 3
  3230. rng.Name = "Ring"
  3231. rng.Material = "Neon"
  3232. rng.Size = Vector3.new(1, 1, 1)
  3233. rng.Transparency = 0
  3234. rng.TopSurface = 0
  3235. rng.BottomSurface = 0
  3236. rng.CFrame = pos
  3237. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3238. local rngm = Instance.new("SpecialMesh", rng)
  3239. rngm.MeshType = "Sphere"
  3240. rngm.Scale = vt(x1,y1,z1)
  3241. if rainbowmode == true then
  3242. rng.Color = Color3.new(r/255,g/255,b/255)
  3243. end
  3244. if ModeOfGlitch == 9 then
  3245. coroutine.resume(coroutine.create(function()
  3246. while true do
  3247. swait()
  3248. if rng.Parent ~= nil then
  3249. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3250. else
  3251. break
  3252. end
  3253. end
  3254. end))
  3255. end
  3256. local scaler2 = 1
  3257. local speeder = FastSpeed
  3258. if type == "Add" then
  3259. scaler2 = 1*value
  3260. elseif type == "Divide" then
  3261. scaler2 = 1/value
  3262. end
  3263. coroutine.resume(coroutine.create(function()
  3264. for i = 0,10/bonuspeed,0.1 do
  3265. swait()
  3266. if rainbowmode == true then
  3267. rng.Color = Color3.new(r/255,g/255,b/255)
  3268. end
  3269. if type == "Add" then
  3270. scaler2 = scaler2 - 0.01*value/bonuspeed
  3271. elseif type == "Divide" then
  3272. scaler2 = scaler2 - 0.01/value*bonuspeed
  3273. end
  3274. if chaosmode == true then
  3275. rng.BrickColor = BrickColor.random()
  3276. end
  3277. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3278. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3279. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3280. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3281. end
  3282. rng:Destroy()
  3283. end))
  3284. end
  3285.  
  3286.  
  3287. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3288. local type = type
  3289. local rng = Instance.new("Part", char)
  3290. rng.Anchored = true
  3291. if ModeOfGlitch ~= 9 then
  3292. rng.BrickColor = color
  3293. elseif ModeOfGlitch == 9 then
  3294. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3295. end
  3296. rng.CanCollide = false
  3297. rng.FormFactor = 3
  3298. rng.Name = "Ring"
  3299. rng.Material = "Neon"
  3300. rng.Size = Vector3.new(1, 1, 1)
  3301. rng.Transparency = 1
  3302. rng.TopSurface = 0
  3303. rng.BottomSurface = 0
  3304. rng.CFrame = pos
  3305. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3306. local rngm = Instance.new("SpecialMesh", rng)
  3307. rngm.MeshType = "Sphere"
  3308. rngm.Scale = vt(x1,y1,z1)
  3309. if rainbowmode == true then
  3310. rng.Color = Color3.new(r/255,g/255,b/255)
  3311. end
  3312. if ModeOfGlitch == 9 then
  3313. coroutine.resume(coroutine.create(function()
  3314. while true do
  3315. swait()
  3316. if rng.Parent ~= nil then
  3317. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3318. else
  3319. break
  3320. end
  3321. end
  3322. end))
  3323. end
  3324. local scaler2 = 1
  3325. local speeder = FastSpeed
  3326. if type == "Add" then
  3327. scaler2 = 1*value
  3328. elseif type == "Divide" then
  3329. scaler2 = 1/value
  3330. end
  3331. coroutine.resume(coroutine.create(function()
  3332. for i = 0,10/bonuspeed,0.1 do
  3333. swait()
  3334. if rainbowmode == true then
  3335. rng.Color = Color3.new(r/255,g/255,b/255)
  3336. end
  3337. if type == "Add" then
  3338. scaler2 = scaler2 - 0.01*value/bonuspeed
  3339. elseif type == "Divide" then
  3340. scaler2 = scaler2 - 0.01/value*bonuspeed
  3341. end
  3342. if chaosmode == true then
  3343. rng.BrickColor = BrickColor.random()
  3344. end
  3345. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3346. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3347. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3348. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3349. end
  3350. rng:Destroy()
  3351. end))
  3352. end
  3353.  
  3354. function dmg(dude)
  3355. if dude.Name ~= Character then
  3356. local keptcolor = MAINRUINCOLOR
  3357. local bgf = Instance.new("BodyGyro",dude.Head)
  3358. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3359. --[[local val = Instance.new("BoolValue",dude)
  3360. val.Name = "IsHit"]]--
  3361. local ds = coroutine.wrap(function()
  3362. dude:WaitForChild("Head"):BreakJoints()
  3363. for i, v in pairs(dude:GetChildren()) do
  3364. if v:IsA("Part") or v:IsA("MeshPart") then
  3365. v.Name = "DEMINISHED"
  3366. end
  3367. end
  3368. wait(0.5)
  3369. targetted = nil
  3370. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  3371. coroutine.resume(coroutine.create(function()
  3372. for i, v in pairs(dude:GetChildren()) do
  3373. if v:IsA("Accessory") then
  3374. v:Destroy()
  3375. end
  3376. if v:IsA("Humanoid") then
  3377. v:Destroy()
  3378. end
  3379. if v:IsA("CharacterMesh") then
  3380. v:Destroy()
  3381. end
  3382. if v:IsA("Model") then
  3383. v:Destroy()
  3384. end
  3385. if v:IsA("Part") or v:IsA("MeshPart") then
  3386. for x, o in pairs(v:GetChildren()) do
  3387. if o:IsA("Decal") then
  3388. o:Destroy()
  3389. end
  3390. end
  3391. coroutine.resume(coroutine.create(function()
  3392. v.Material = "Neon"
  3393. v.CanCollide = false
  3394. v.Anchored = false
  3395. local bld = Instance.new("ParticleEmitter",v)
  3396. bld.LightEmission = 0.75
  3397. bld.Texture = "rbxassetid://363275192" ---284205403
  3398. bld.Color = ColorSequence.new(keptcolor.Color)
  3399. bld.Rate = 500
  3400. bld.Lifetime = NumberRange.new(1)
  3401. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3402. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3403. bld.Speed = NumberRange.new(2,5)
  3404. bld.VelocitySpread = 50000
  3405. bld.Rotation = NumberRange.new(-500,500)
  3406. bld.RotSpeed = NumberRange.new(-500,500)
  3407. local sbs = Instance.new("BodyPosition", v)
  3408. sbs.P = 3000
  3409. sbs.D = 1000
  3410. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3411. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3412. v.Color = keptcolor.Color
  3413. coroutine.resume(coroutine.create(function()
  3414. for i = 0, 49 do
  3415. swait(1)
  3416. v:BreakJoints()
  3417. v.Transparency = v.Transparency + 0.02
  3418. end
  3419. v:BreakJoints()
  3420. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3421. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3422. bld.Speed = NumberRange.new(10,25)
  3423. bld.Drag = 5
  3424. bld.Acceleration = vt(0,2,0)
  3425. wait(0.5)
  3426. bld.Enabled = false
  3427. wait(8)
  3428. v:Destroy()
  3429. dude:Destroy()
  3430. end))
  3431. end))
  3432. end
  3433. end
  3434. end))
  3435. end)
  3436. ds()
  3437. end
  3438. end
  3439.  
  3440.  
  3441. function FindNearestHead(Position, Distance, SinglePlayer)
  3442. if SinglePlayer then
  3443. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3444. end
  3445. local List = {}
  3446. for i, v in pairs(workspace:GetChildren()) do
  3447. if v:IsA("Model") then
  3448. if v:findFirstChild("Head") then
  3449. if v ~= Character then
  3450. if (v.Head.Position - Position).magnitude <= Distance then
  3451. table.insert(List, v)
  3452. end
  3453. end
  3454. end
  3455. end
  3456. end
  3457. return List
  3458. end
  3459.  
  3460. function FaceMouse()
  3461. Cam = workspace.CurrentCamera
  3462. return {
  3463. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3464. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3465. }
  3466. end
  3467.  
  3468. function FaceMouse2()
  3469. Cam = workspace.CurrentCamera
  3470. return {
  3471. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3472. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3473. }
  3474. end
  3475.  
  3476. local ModeOfGlitch = 1
  3477. -- Functions are ready.
  3478. local storehumanoidWS = 16
  3479.  
  3480. function CorruptBlink()
  3481. for i = 0, 14 do
  3482. 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)
  3483. end
  3484. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3485. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3486. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3487. CameraEnshaking(2,10)
  3488. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3489. if v:FindFirstChild('Head') then
  3490. dmg(v)
  3491. end
  3492. end
  3493. for i = 0, 14 do
  3494. 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)
  3495. end
  3496. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3497. end
  3498.  
  3499. function PureBomb()
  3500. attack = true
  3501. CFuncs["EchoSound"].Create("rbxassetid://1436241485", char, 5, 1,0,10,0.15,0.5,1)
  3502. CFuncs["EchoSound"].Create("rbxassetid://1436241485", root, 60, 1,0,10,0.15,0.5,1)
  3503. bosschatfunc("Purified..",MAINRUINCOLOR.Color,2)
  3504. local orb = Instance.new("Part", char)
  3505. orb.Anchored = true
  3506. orb.BrickColor = BrickColor.new("Toothpaste")
  3507. orb.CanCollide = false
  3508. orb.FormFactor = 3
  3509. orb.Name = "Ring"
  3510. orb.Material = "Neon"
  3511. orb.Size = Vector3.new(1, 1, 1)
  3512. orb.Transparency = 0
  3513. orb.TopSurface = 0
  3514. orb.BottomSurface = 0
  3515. local orbm = Instance.new("SpecialMesh", orb)
  3516. orbm.MeshType = "Sphere"
  3517. orbm.Name = "SizeMesh"
  3518. orbm.Scale = vt(0,0,0)
  3519. local scaled = 0.1
  3520. local posid = 0
  3521. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 30,1)
  3522. for i = 0, 5, 0.1 do
  3523. swait()
  3524. scaled = scaled - 0.001
  3525. posid = posid - scaled
  3526. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3527. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3528. 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)
  3529. 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)
  3530. 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)
  3531. 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)
  3532. 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)
  3533. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3534. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3535. 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)
  3536. end
  3537. for i = 0, 2, 0.1 do
  3538. swait()
  3539. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3540. 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)
  3541. 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)
  3542. 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)
  3543. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3544. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3545. 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)
  3546. end
  3547. CFuncs["EchoSound"].Create("rbxassetid://1436240026", char, 4, 1,0,10,0.15,0.5,1)
  3548. CFuncs["EchoSound"].Create("rbxassetid://1436240026", root, 60, 1,0,10,0.15,0.5,1)
  3549. bosschatfunc("BOMB!!",MAINRUINCOLOR.Color,2)
  3550. coroutine.resume(coroutine.create(function()
  3551. orb.Anchored = false
  3552. CFuncs["Sound"].Create("rbxassetid://260433768", root, 555,1)
  3553. local a = Instance.new("Part",workspace)
  3554. a.Name = "Direction"
  3555. a.Anchored = true
  3556. a.BrickColor = bc("Toothpaste")
  3557. a.Material = "Neon"
  3558. a.Transparency = 1
  3559. a.CanCollide = false
  3560. local ray = Ray.new(
  3561. orb.CFrame.p, -- origin
  3562. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3563. )
  3564. local ignore = orb
  3565. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3566. a.BottomSurface = 10
  3567. a.TopSurface = 10
  3568. local distance = (orb.CFrame.p - position).magnitude
  3569. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3570. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3571. orb.CFrame = a.CFrame
  3572. a:Destroy()
  3573. local bv = Instance.new("BodyVelocity")
  3574. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3575. bv.velocity = orb.CFrame.lookVector*125
  3576. bv.Parent = orb
  3577. local hitted = false
  3578. game:GetService("Debris"):AddItem(orb, 15)
  3579. wait()
  3580. local hit =orb.Touched:connect(function(hit)
  3581. if hitted == false then
  3582. hitted = true
  3583. CameraEnshaking(10,2.5)
  3584. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3585. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3586. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3587. for i = 0, 49 do
  3588. 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)
  3589. end
  3590. local eff = Instance.new("ParticleEmitter",orb)
  3591. eff.Texture = "rbxassetid://2273224484"
  3592. eff.LightEmission = 1
  3593. eff.Color = ColorSequence.new(Color3.new(4/255,175/255,236/255))
  3594. eff.Rate = 500000
  3595. eff.Lifetime = NumberRange.new(0.5,2)
  3596. 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)})
  3597. 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)})
  3598. eff.Speed = NumberRange.new(20,250)
  3599. eff.Drag = 5
  3600. eff.Rotation = NumberRange.new(-500,500)
  3601. eff.VelocitySpread = 9000
  3602. eff.RotSpeed = NumberRange.new(-50,50)
  3603. coroutine.resume(coroutine.create(function()
  3604. wait(0.25)
  3605. eff.Enabled = false
  3606. end))
  3607. CFuncs["Sound"].Create("rbxassetid://1666361078", orb, 30,1)
  3608. for i = 0, 9 do
  3609. 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)
  3610. 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)
  3611. end
  3612. orb.Anchored = true
  3613. orb.Transparency = 1
  3614. local eff = Instance.new("ParticleEmitter",orb)
  3615. eff.Texture = "rbxassetid://2273224484"
  3616. eff.LightEmission = 1
  3617. eff.Color = ColorSequence.new(Color3.new(M))
  3618. eff.Rate = 500000
  3619. eff.Lifetime = NumberRange.new(0.5,2)
  3620. 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)})
  3621. 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)})
  3622. eff.Speed = NumberRange.new(20,250)
  3623. eff.Drag = 5
  3624. eff.Rotation = NumberRange.new(-500,500)
  3625. eff.VelocitySpread = 9000
  3626. eff.RotSpeed = NumberRange.new(-50,50)
  3627. coroutine.resume(coroutine.create(function()
  3628. wait(1)
  3629. eff.Enabled = false
  3630. end))
  3631. wait(8)
  3632. orb:Destroy()
  3633. end
  3634. end)
  3635. end))
  3636. for i = 0, 1, 0.1 do
  3637. swait()
  3638. 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)
  3639. 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)
  3640. 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)
  3641. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3642. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3643. 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)
  3644. end
  3645. attack = false
  3646. end
  3647.  
  3648. function BanishingOrb()
  3649. attack = true
  3650. hum.WalkSpeed = 0
  3651. local radm = math.random(1,3)
  3652. if radm == 1 then
  3653. bosschatfunc("Let's go..",MAINRUINCOLOR.Color,1)
  3654. elseif radm == 2 then
  3655. bosschatfunc("So this is it..",MAINRUINCOLOR.Color,1)
  3656. elseif radm == 3 then
  3657. bosschatfunc("I have enough thing..",MAINRUINCOLOR.Color,1)
  3658. end
  3659. CFuncs["EchoSound"].Create("rbxassetid://1535994940", char, 5, 1,0,10,0.15,0.5,1)
  3660. CFuncs["EchoSound"].Create("rbxassetid://1535994940", root, 60, 1,0,10,0.15,0.5,1)
  3661. local orb = Instance.new("Part", char)
  3662. orb.Anchored = true
  3663. orb.BrickColor = BrickColor.new("Lime green")
  3664. orb.CanCollide = false
  3665. orb.FormFactor = 3
  3666. orb.Name = "Ring"
  3667. orb.Material = "Neon"
  3668. orb.Size = Vector3.new(1, 1, 1)
  3669. orb.Transparency = 0
  3670. orb.TopSurface = 0
  3671. orb.BottomSurface = 0
  3672. local orbm = Instance.new("SpecialMesh", orb)
  3673. orbm.MeshType = "Sphere"
  3674. orbm.Name = "SizeMesh"
  3675. orbm.Scale = vt(0,0,0)
  3676. local scaled = 0.1
  3677. local posid = 0
  3678. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
  3679. for i = 0, 5, 0.1 do
  3680. swait()
  3681. scaled = scaled - 0.001
  3682. posid = posid - scaled
  3683. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3684. local scaled = 0.1
  3685. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3686. 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)
  3687. 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)
  3688. 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)
  3689. 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)
  3690. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3691. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3692. 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)
  3693. end
  3694. for i = 0, 2, 0.1 do
  3695. swait()
  3696. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3697. 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)
  3698. 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)
  3699. 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)
  3700. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3701. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3702. 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)
  3703. end
  3704. coroutine.resume(coroutine.create(function()
  3705. orb.Anchored = false
  3706. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
  3707. local a = Instance.new("Part",workspace)
  3708. a.Name = "Direction"
  3709. a.Anchored = true
  3710. a.BrickColor = bc("Lime green")
  3711. a.Material = "Neon"
  3712. a.Transparency = 1
  3713. a.CanCollide = false
  3714. local ray = Ray.new(
  3715. orb.CFrame.p, -- origin
  3716. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3717. )
  3718. local ignore = orb
  3719. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3720. a.BottomSurface = 10
  3721. a.TopSurface = 10
  3722. local distance = (orb.CFrame.p - position).magnitude
  3723. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3724. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3725. orb.CFrame = a.CFrame
  3726. a:Destroy()
  3727. local bv = Instance.new("BodyVelocity")
  3728. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3729. bv.velocity = orb.CFrame.lookVector*0
  3730. bv.Parent = orb
  3731. local hitted = false
  3732. local rate = 0
  3733. coroutine.resume(coroutine.create(function()
  3734. for i = 0, 24 do
  3735. wait(0.1)
  3736. rate = rate + 0.25
  3737. bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
  3738. for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
  3739. if v:FindFirstChild('Head') then
  3740. dmg(v)
  3741. end
  3742. end
  3743. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
  3744. sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,bc"Lime green")
  3745. sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  3746. end
  3747. orb.Anchored = true
  3748. orb.Transparency = 1
  3749. for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
  3750. if v:FindFirstChild('Head') then
  3751. dmg(v)
  3752. end
  3753. end
  3754. local eff = Instance.new("ParticleEmitter",orb)
  3755. eff.Texture = "rbxassetid://296874871"
  3756. eff.LightEmission = 0.95
  3757. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3758. eff.Rate = 1000000000
  3759. eff.Lifetime = NumberRange.new(3)
  3760. 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)})
  3761. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3762. eff.Speed = NumberRange.new(30)
  3763. eff.Acceleration = vt(0,-15,0)
  3764. eff.Rotation = NumberRange.new(-500,500)
  3765. eff.VelocitySpread = 100000
  3766. eff.RotSpeed = NumberRange.new(-500,500)
  3767. coroutine.resume(coroutine.create(function()
  3768. wait(0.6)
  3769. eff.Enabled = false
  3770. end))
  3771. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
  3772. CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
  3773. sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,bc"Lime green")
  3774. sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3775. sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
  3776. game:GetService("Debris"):AddItem(orb, 15)
  3777. end))
  3778. end))
  3779. for i = 0, 1, 0.1 do
  3780. swait()
  3781. 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)
  3782. 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)
  3783. 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)
  3784. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3785. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3786. 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)
  3787. end
  3788. hum.WalkSpeed = storehumanoidWS
  3789. attack = false
  3790. end
  3791.  
  3792.  
  3793. function ChaosGroundStrike()
  3794. attack = true
  3795. for i = 0, 2, 0.1 do
  3796. swait()
  3797. 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)
  3798. 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)
  3799. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3800. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3801. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3802. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3803. end
  3804. bosschatfunc("DIE!",MAINRUINCOLOR.Color,1)
  3805. CFuncs["EchoSound"].Create("rbxassetid://207155717", root, 7.5,1)
  3806. CFuncs["EchoSound"].Create("rbxassetid://207155717", root, 7.5,1)
  3807. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3808. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3809. CFuncs["Sound"].Create("rbxassetid://2556945475", root, 2, 1)
  3810. CameraEnshaking(4,12)
  3811. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3812. if v:FindFirstChild('Head') then
  3813. dmg(v)
  3814. end
  3815. end
  3816. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3817. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3818. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3819. for i = 0, 2, 0.1 do
  3820. swait()
  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. 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)
  3823. 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)
  3824. 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)
  3825. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3826. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3827. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3828. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3829. end
  3830. attack = false
  3831. end
  3832.  
  3833. function Starfall()
  3834. attack = true
  3835. hum.WalkSpeed = 0
  3836. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3837. for i = 0, 5, 0.1 do
  3838. swait()
  3839. 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)
  3840. 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)
  3841. 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)
  3842. 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)
  3843. 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)
  3844. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3845. 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)
  3846. 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)
  3847. end
  3848. local Overed = false
  3849. CameraEnshaking(2,20)
  3850. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3851. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3852. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3853. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3854. local orb = Instance.new("Part", char)
  3855. orb.Anchored = true
  3856. orb.BrickColor = BrickColor.new("Toothpaste")
  3857. orb.CanCollide = false
  3858. orb.FormFactor = 3
  3859. orb.Name = "Remenant"
  3860. orb.Material = "Neon"
  3861. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3862. orb.Size = Vector3.new(1, 1, 1)
  3863. orb.Transparency = 1
  3864. orb.TopSurface = 0
  3865. orb.BottomSurface = 0
  3866. hum.WalkSpeed = storehumanoidWS
  3867. coroutine.resume(coroutine.create(function()
  3868. for i = 0, 9 do
  3869. swait(10)
  3870. local lb = Instance.new("Part")
  3871. lb.Color = MAINRUINCOLOR.Color
  3872. lb.CanCollide = false
  3873. lb.Material = "Neon"
  3874. lb.Anchored = true
  3875. lb.TopSurface = 0
  3876. lb.BottomSurface = 0
  3877. lb.Transparency = 0
  3878. lb.Size = vt(1,1,1)
  3879. 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)))
  3880. lb.Anchored = false
  3881. lb.Parent = char
  3882. local thingery = Instance.new("SpecialMesh",lb)
  3883. thingery.MeshType = "Sphere"
  3884. thingery.Scale = vt(20,20,20)
  3885. game:GetService("Debris"):AddItem(lb, 10)
  3886. local bv = Instance.new("BodyVelocity")
  3887. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3888. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3889. bv.Parent = lb
  3890. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3891. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3892. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3893. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3894. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3895. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3896. local hitted = false
  3897. coroutine.resume(coroutine.create(function()
  3898. while true do
  3899. swait(1)
  3900. if lb.Parent ~= nil and hitted == false then
  3901. 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)
  3902. elseif lb.Parent == nil then
  3903. break
  3904. end
  3905. end
  3906. end))
  3907.  
  3908. game:GetService("Debris"):AddItem(a, 0.1)
  3909.  
  3910. coroutine.resume(coroutine.create(function()
  3911. swait(1)
  3912. lb.Touched:connect(function(hit)
  3913. if hitted == false then
  3914. hitted = true
  3915. lb.Transparency = 1
  3916. lb.Anchored = true
  3917. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3918. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3919. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3920. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3921. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3922. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3923. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3924. CameraEnshaking(1,5)
  3925. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3926. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3927. for i = 0, 9 do
  3928. 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)
  3929. end
  3930. for i = 0, 49 do
  3931. swait()
  3932. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3933. 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)
  3934. end
  3935. end
  3936. end)
  3937. end))
  3938. end
  3939. Overed = true
  3940. orb:Destroy()
  3941. end))
  3942.  
  3943. attack = false
  3944. end
  3945.  
  3946. function StarfallEX()
  3947. attack = true
  3948. hum.WalkSpeed = 0
  3949. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
  3950. for i = 0, 10, 0.1 do
  3951. swait()
  3952. 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)
  3953. 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)
  3954. 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)
  3955. 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)
  3956. 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)
  3957. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3958. 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)
  3959. 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)
  3960. end
  3961. local Overed = false
  3962. CameraEnshaking(2,20)
  3963. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3964. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3965. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  3966. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
  3967. local orb = Instance.new("Part", char)
  3968. orb.Anchored = true
  3969. orb.BrickColor = BrickColor.new("Toothpaste")
  3970. orb.CanCollide = false
  3971. orb.FormFactor = 3
  3972. orb.Name = "Remenant"
  3973. orb.Material = "Neon"
  3974. orb.CFrame = root.CFrame*CFrame.new(0,250,0)
  3975. orb.Size = Vector3.new(1, 1, 1)
  3976. orb.Transparency = 1
  3977. orb.TopSurface = 0
  3978. orb.BottomSurface = 0
  3979. hum.WalkSpeed = storehumanoidWS
  3980. coroutine.resume(coroutine.create(function()
  3981. for i = 0, 4 do
  3982. swait(15)
  3983. local lb = Instance.new("Part")
  3984. lb.Color = MAINRUINCOLOR.Color
  3985. lb.CanCollide = false
  3986. lb.Material = "Neon"
  3987. lb.Anchored = true
  3988. lb.TopSurface = 0
  3989. lb.BottomSurface = 0
  3990. lb.Transparency = 0
  3991. lb.Size = vt(1,1,1)
  3992. 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)))
  3993. lb.Anchored = false
  3994. lb.Parent = char
  3995. local thingery = Instance.new("SpecialMesh",lb)
  3996. thingery.MeshType = "Sphere"
  3997. thingery.Scale = vt(50,50,50)
  3998. game:GetService("Debris"):AddItem(lb, 10)
  3999. local bv = Instance.new("BodyVelocity")
  4000. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4001. bv.velocity = lb.CFrame.lookVector*math.random(50,420)
  4002. bv.Parent = lb
  4003. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  4004. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  4005. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
  4006. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
  4007. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
  4008. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
  4009. local hitted = false
  4010. coroutine.resume(coroutine.create(function()
  4011. while true do
  4012. swait(1)
  4013. if lb.Parent ~= nil and hitted == false then
  4014. 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)
  4015. elseif lb.Parent == nil then
  4016. break
  4017. end
  4018. end
  4019. end))
  4020.  
  4021. game:GetService("Debris"):AddItem(a, 0.1)
  4022.  
  4023. coroutine.resume(coroutine.create(function()
  4024. swait(1)
  4025. lb.Touched:connect(function(hit)
  4026. if hitted == false then
  4027. hitted = true
  4028. lb.Transparency = 1
  4029. lb.Anchored = true
  4030. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
  4031. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
  4032. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
  4033. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
  4034. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
  4035. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
  4036. MagniDamage(lb, 50, 60,99, 0, "Normal")
  4037. CameraEnshaking(1,5)
  4038. sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
  4039. sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
  4040. for i = 0, 9 do
  4041. 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)
  4042. end
  4043. for i = 0, 99 do
  4044. swait()
  4045. MagniDamage(lb, 30, 6,18, 0, "Normal")
  4046. 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)
  4047. end
  4048. end
  4049. end)
  4050. end))
  4051. end
  4052. Overed = true
  4053. orb:Destroy()
  4054. end))
  4055.  
  4056. attack = false
  4057. end
  4058.  
  4059. function DivineBlast()
  4060. attack = true
  4061. bosschatfunc("I WILL END YOU!",MAINRUINCOLOR.Color,0.7)
  4062. hum.WalkSpeed = 0
  4063. local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
  4064. elocacenter.Anchored = true
  4065. elocacenter.CFrame = sorb.CFrame
  4066. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4067. eloca1.Anchored = true
  4068. eloca1.CFrame = elocacenter.CFrame
  4069. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4070. eloca2.Anchored = true
  4071. eloca2.CFrame = elocacenter.CFrame
  4072. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4073. eloca3.Anchored = true
  4074. eloca3.CFrame = elocacenter.CFrame
  4075. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4076. eloca4.Anchored = true
  4077. eloca4.CFrame = elocacenter.CFrame
  4078. local lookavec = 0
  4079. local speeds = 0
  4080. CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
  4081. for i = 0, 3, 0.1 do
  4082. swait()
  4083. ---
  4084. lookavec = lookavec + 0.1
  4085. speeds = speeds + 10
  4086. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4087. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4088. 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)
  4089.  
  4090. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4091. 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)
  4092.  
  4093. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4094. 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)
  4095.  
  4096. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4097. 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)
  4098. ---
  4099. root.CFrame = FaceMouse()[1]
  4100. 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)
  4101. 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)
  4102. 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)
  4103. 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)
  4104. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4105. 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)
  4106. end
  4107. for i = 0, 3, 0.1 do
  4108. swait()
  4109. ---
  4110. speeds = speeds + 10
  4111. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4112. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4113. 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)
  4114.  
  4115. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4116. 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)
  4117.  
  4118. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4119. 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)
  4120.  
  4121. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4122. 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)
  4123. ---
  4124. root.CFrame = FaceMouse()[1]
  4125. 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)
  4126. 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)
  4127. 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)
  4128. 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)
  4129. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4130. 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)
  4131. end
  4132. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
  4133. CFuncs["Sound"].Create("rbxassetid://1436239652", char, 40,1)
  4134. for i = 0, 3, 0.1 do
  4135. swait()
  4136. ---
  4137. speeds = speeds + 10
  4138. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4139. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4140. 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)
  4141.  
  4142. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4143. 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)
  4144.  
  4145. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4146. 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)
  4147.  
  4148. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4149. 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)
  4150. ---
  4151. root.CFrame = FaceMouse()[1]
  4152. 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)
  4153. 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)
  4154. 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)
  4155. 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)
  4156. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  4157. 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)
  4158. end
  4159. coroutine.resume(coroutine.create(function()
  4160. local a = Instance.new("Part",Character)
  4161. a.Name = "Direction"
  4162. a.Anchored = true
  4163. a.BrickColor = bc("White")
  4164. a.Material = "Neon"
  4165. a.Transparency = 0
  4166. a.Shape = "Cylinder"
  4167. a.CanCollide = false
  4168. local a2 = Instance.new("Part",Character)
  4169. a2.Name = "Direction"
  4170. a2.Anchored = true
  4171. a2.BrickColor = bc("Bright yellow")
  4172. a2.Material = "Neon"
  4173. a2.Transparency = 0
  4174. a2.Shape = "Cylinder"
  4175. a2.CanCollide = false
  4176. local b = Instance.new("Part",Character)
  4177. b.Name = "HitDirect"
  4178. b.Anchored = true
  4179. b.BrickColor = bc("Cool yellow")
  4180. b.Material = "Neon"
  4181. b.Transparency = 1
  4182. b.CanCollide = false
  4183. local ray = Ray.new(
  4184. elocacenter.CFrame.p, -- origin
  4185. (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
  4186. )
  4187. local ignore = Character
  4188. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4189. a.BottomSurface = 10
  4190. a.TopSurface = 10
  4191. a2.BottomSurface = 10
  4192. a2.TopSurface = 10
  4193. local distance = (elocacenter.CFrame.p - position).magnitude
  4194. a.Size = Vector3.new(distance, 1, 1)
  4195. a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4196. a2.Size = Vector3.new(distance, 1, 1)
  4197. a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4198. b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4199. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4200. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4201. game:GetService("Debris"):AddItem(a, 10)
  4202. game:GetService("Debris"):AddItem(a2, 10)
  4203. game:GetService("Debris"):AddItem(b, 10)
  4204. local eff = Instance.new("ParticleEmitter",b)
  4205. eff.Texture = "rbxassetid://2273224484"
  4206. eff.LightEmission = 1
  4207. eff.Color = ColorSequence.new(Color3.new(1,1,0))
  4208. eff.Rate = 500000
  4209. eff.Lifetime = NumberRange.new(0.5,2)
  4210. 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)})
  4211. 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)})
  4212. eff.Speed = NumberRange.new(20,250)
  4213. eff.Drag = 5
  4214. eff.Rotation = NumberRange.new(-500,500)
  4215. eff.VelocitySpread = 9000
  4216. eff.RotSpeed = NumberRange.new(-50,50)
  4217. coroutine.resume(coroutine.create(function()
  4218. wait(0.25)
  4219. eff.Enabled = false
  4220. end))
  4221. local msh = Instance.new("SpecialMesh",a)
  4222. msh.MeshType = "Cylinder"
  4223. msh.Scale = vt(1,2,2)
  4224. local msh2 = Instance.new("SpecialMesh",a2)
  4225. msh2.MeshType = "Cylinder"
  4226. msh2.Scale = vt(1,2.5,2.5)
  4227. CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
  4228. coroutine.resume(coroutine.create(function()
  4229. for i = 0,10,0.1 do
  4230. swait()
  4231. msh.Scale = msh.Scale + vt(0,0.05,0.05)
  4232. a.Transparency = a.Transparency + 0.025
  4233. msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
  4234. a2.Transparency = a2.Transparency + 0.05
  4235. end
  4236. a:Destroy()
  4237. a2:Destroy()
  4238. end))
  4239. CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
  4240. CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
  4241. CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
  4242. CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
  4243. CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
  4244. CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
  4245. MagniDamage(b, 25, 40,65, 0, "Normal")
  4246. for i = 0, 49 do
  4247. 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)
  4248. 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)
  4249. end
  4250. sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
  4251. sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
  4252. sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4253. sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4254. sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4255. sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4256. end))
  4257. game:GetService("Debris"):AddItem(elocacenter, 5)
  4258. hum.WalkSpeed = storehumanoidWS
  4259. attack = false
  4260. end
  4261.  
  4262.  
  4263. function StarDivision()
  4264. attack = true
  4265. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4266. for i = 0, 2, 0.1 do
  4267. swait()
  4268. 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)
  4269. 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)
  4270. 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)
  4271. 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)
  4272. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  4273. 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)
  4274. end
  4275. local orb = Instance.new("Part", char)
  4276. orb.BrickColor = MAINRUINCOLOR
  4277. orb.CanCollide = false
  4278. orb.FormFactor = 3
  4279. orb.Name = "Ring"
  4280. orb.Material = "Neon"
  4281. orb.Size = Vector3.new(1, 1, 1)
  4282. orb.Transparency = 0
  4283. orb.TopSurface = 0
  4284. orb.BottomSurface = 0
  4285. local orbm = Instance.new("SpecialMesh", orb)
  4286. orbm.MeshType = "Sphere"
  4287. orbm.Name = "SizeMesh"
  4288. orbm.Scale = vt(2,2,2)
  4289. local a = Instance.new("Part",workspace)
  4290. a.Name = "Direction"
  4291. a.Anchored = true
  4292. a.BrickColor = bc("Bright red")
  4293. a.Material = "Neon"
  4294. a.Transparency = 1
  4295. a.CanCollide = false
  4296. local ray = Ray.new(
  4297. sorb.CFrame.p, -- origin
  4298. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  4299. )
  4300. local ignore = sorb
  4301. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4302. a.BottomSurface = 10
  4303. a.TopSurface = 10
  4304. local distance = (sorb.CFrame.p - position).magnitude
  4305. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4306. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4307. orb.CFrame = a.CFrame
  4308. a:Destroy()
  4309. local bv = Instance.new("BodyVelocity")
  4310. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4311. bv.velocity = orb.CFrame.lookVector*100
  4312. bv.Parent = orb
  4313. local hitted = false
  4314. game:GetService("Debris"):AddItem(orb, 10)
  4315. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  4316. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  4317. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  4318. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  4319. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  4320. coroutine.resume(coroutine.create(function()
  4321. while true do
  4322. swait(1)
  4323. if orb.Parent ~= nil and hitted == false then
  4324. 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)
  4325. elseif orb.Parent == nil then
  4326. break
  4327. end
  4328. end
  4329. end))
  4330. coroutine.resume(coroutine.create(function()
  4331. swait(1)
  4332. orb.Touched:connect(function(hit)
  4333. if hitted == false then
  4334. hitted = true
  4335. game:GetService("Debris"):AddItem(orb, 5)
  4336. orb.Transparency = 1
  4337. orb.Anchored = true
  4338. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4339. elocacenter.Anchored = true
  4340. elocacenter.CFrame = orb.CFrame
  4341. elocacenter.Orientation = vt(0,0,0)
  4342. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4343. eloca1.Anchored = true
  4344. eloca1.CFrame = elocacenter.CFrame
  4345. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4346. eloca2.Anchored = true
  4347. eloca2.CFrame = elocacenter.CFrame
  4348. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4349. eloca3.Anchored = true
  4350. eloca3.CFrame = elocacenter.CFrame
  4351. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4352. eloca4.Anchored = true
  4353. eloca4.CFrame = elocacenter.CFrame
  4354. local lookavec = 0
  4355. local speeds = 0
  4356. CameraEnshaking(1,1)
  4357. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4358. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4359. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4360. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4361. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4362. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4363. for i = 0, 99 do
  4364. swait()
  4365. lookavec = lookavec + 1
  4366. speeds = speeds + 0.1
  4367. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4368. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4369. 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)
  4370.  
  4371. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4372. 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)
  4373.  
  4374. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4375. 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)
  4376.  
  4377. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4378. 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)
  4379. end
  4380.  
  4381. for i = 0, 149 do
  4382. swait()
  4383. speeds = speeds + 0.1
  4384. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4385. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4386. 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)
  4387.  
  4388. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4389. 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)
  4390.  
  4391. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4392. 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)
  4393.  
  4394. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4395. 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)
  4396. end
  4397. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  4398. if v:FindFirstChild('Head') then
  4399. dmg(v)
  4400. end
  4401. end
  4402. CameraEnshaking(7,30)
  4403. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  4404. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  4405. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  4406. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  4407. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4408. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  4409. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  4410. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4411. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4412. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4413. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4414. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4415. for i = 0, 24 do
  4416. 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)
  4417. 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)
  4418. 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)
  4419. 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)
  4420. end
  4421. coroutine.resume(coroutine.create(function()
  4422. for i = 0, 499 do
  4423. swait(1)
  4424. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  4425. 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)
  4426. end
  4427. elocacenter:Destroy()
  4428. eloca1:Destroy()
  4429. eloca2:Destroy()
  4430. eloca3:Destroy()
  4431. eloca4:Destroy()
  4432. end))
  4433. end
  4434. end)
  4435. end))
  4436. attack = false
  4437. end
  4438.  
  4439.  
  4440. function THE_TRUE_POWER_OF_VIOLENCE()
  4441. attack = true
  4442. hum.WalkSpeed = 0
  4443. bosschatfunc("ALL YOUR DESTINY...",MAINRUINCOLOR.Color,4)
  4444. for i = 0, 10, 0.1 do
  4445. swait()
  4446. 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)
  4447. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1)
  4448. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1)
  4449. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(40)),.4)
  4450. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  4451. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4452. 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)
  4453. end
  4454. local orb = Instance.new("Part", char)
  4455. orb.BrickColor = MAINRUINCOLOR
  4456. orb.CanCollide = false
  4457. orb.FormFactor = 3
  4458. orb.Name = "Ring"
  4459. orb.Material = "Neon"
  4460. orb.Size = Vector3.new(1, 1, 1)
  4461. orb.Transparency = 0
  4462. orb.TopSurface = 0
  4463. orb.BottomSurface = 0
  4464. orb.CFrame = sorb.CFrame
  4465. local orbm = Instance.new("SpecialMesh", orb)
  4466. orbm.MeshType = "Sphere"
  4467. orbm.Name = "SizeMesh"
  4468. orbm.Scale = vt(0,0,0)
  4469. local sbs = Instance.new("BodyPosition", orb)
  4470. sbs.P = 3000
  4471. sbs.D = 1000
  4472. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4473. sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
  4474. CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
  4475. sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4476. sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4477. sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4478. sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4479. sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4480. for i = 0, 10, 0.1 do
  4481. swait()
  4482. 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)
  4483. 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)
  4484. 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)
  4485. 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)
  4486. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4487. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4488. 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)
  4489. end
  4490. orb.Anchored = true
  4491. local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4492. elocacenter.Anchored = true
  4493. elocacenter.CFrame = orb.CFrame
  4494. elocacenter.Orientation = vt(0,0,0)
  4495. local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4496. eloca1.Anchored = true
  4497. eloca1.CFrame = elocacenter.CFrame
  4498. local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4499. eloca2.Anchored = true
  4500. eloca2.CFrame = elocacenter.CFrame
  4501. local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4502. eloca3.Anchored = true
  4503. eloca3.CFrame = elocacenter.CFrame
  4504. local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4505. eloca4.Anchored = true
  4506. eloca4.CFrame = elocacenter.CFrame
  4507. local lookavec = 0
  4508. local speeds = 0
  4509. CameraEnshaking(1,1)
  4510. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
  4511. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
  4512. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
  4513. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
  4514. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4515. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4516. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4517. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4518. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4519. for i = 0, 99 do
  4520. swait()
  4521. lookavec = lookavec + 2.5
  4522. speeds = speeds + 0.25
  4523. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4524. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4525. 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)
  4526.  
  4527. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4528. 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)
  4529.  
  4530. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4531. 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)
  4532.  
  4533. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4534. 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)
  4535. end
  4536.  
  4537. for i = 0, 149 do
  4538. swait()
  4539. speeds = speeds + 0.25
  4540. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4541. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4542. 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)
  4543.  
  4544. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4545. 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)
  4546.  
  4547. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4548. 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)
  4549.  
  4550. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4551. 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)
  4552. end
  4553. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
  4554. for i = 0, 99 do
  4555. swait()
  4556. lookavec = lookavec - 2.5
  4557. speeds = speeds + 0.25
  4558. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4559. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4560. PixelBlockNeg(2,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)
  4561.  
  4562. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4563. 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)
  4564.  
  4565. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4566. 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)
  4567.  
  4568. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4569. 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)
  4570. end
  4571. local scaled = 0.1*75
  4572. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
  4573. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
  4574. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
  4575. CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
  4576. CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
  4577. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  4578. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4579. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4580. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4581. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4582. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4583.  
  4584. for i = 0, 10, 0.1 do
  4585. swait()
  4586. scaled = scaled - 0.001*75
  4587. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4588. 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)
  4589. 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)
  4590. 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)
  4591. 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)
  4592. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4593. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4594. 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)
  4595. end
  4596. bosschatfunc("WILL BE MINE!!!!",MAINRUINCOLOR.Color,2)
  4597. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 10, 1,0,10,0.15,0.5,1)
  4598. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 60, 1,0,10,0.15,0.5,1)
  4599. for x = 0, 4 do
  4600. for i = 0, 9 do
  4601. 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)
  4602. end
  4603. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
  4604. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
  4605. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4606. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4607. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4608. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4609. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4610. for i = 0, 5, 0.1 do
  4611. swait()
  4612. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  4613. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  4614. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1)
  4615. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1)
  4616. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4617. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  4618. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
  4619. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
  4620. end
  4621. end
  4622. local speedearn = 0
  4623. CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
  4624. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
  4625. CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
  4626. for i = 0, 30, 0.1 do
  4627. swait()
  4628. scaled = scaled - 0.001*75/10
  4629. speedearn = speedearn + 0.5
  4630. for i = 0, 4 do
  4631. 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)
  4632. end
  4633. 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)
  4634. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4635. 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)
  4636. 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)
  4637. 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)
  4638. 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)
  4639. 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)
  4640. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
  4641. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
  4642. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
  4643. end
  4644. orb.Transparency = 1
  4645. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
  4646. if v:FindFirstChild('Head') then
  4647. dmg(v)
  4648. end
  4649. end
  4650. CameraEnshaking(7,30)
  4651. MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
  4652. CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
  4653. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
  4654. CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
  4655. CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
  4656. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4657. CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
  4658. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4659. CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
  4660. CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
  4661. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
  4662. CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
  4663. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
  4664. CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
  4665. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4666. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4667. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4668. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4669. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4670. for i = 0, 99 do
  4671. 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)
  4672. 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)
  4673. end
  4674. for i = 0, 24 do
  4675. 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)
  4676. 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)
  4677. 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)
  4678. 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)
  4679. 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)
  4680. end
  4681. game:GetService("Debris"):AddItem(orb, 10)
  4682. hum.WalkSpeed = storehumanoidWS
  4683. attack = false
  4684. end
  4685.  
  4686.  
  4687. function ViolentRing()
  4688. attack = true
  4689. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
  4690. bosschatfunc("SHOULD I TAKE THAT EASIER?!",MAINRUINCOLOR.Color,0.7)
  4691. CFuncs["EchoSound"].Create("rbxassetid://1535994137", char, 4, 1,0,10,0.15,0.5,1)
  4692. CFuncs["EchoSound"].Create("rbxassetid://1535994137", root, 7, 1,0,10,0.15,0.5,1)
  4693. for i = 0, 2, 0.1 do
  4694. swait()
  4695. local snap = math.random(1,10)
  4696. if snap == 1 then
  4697. 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)
  4698. end
  4699. 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)
  4700. 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)
  4701. 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)
  4702. 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)
  4703. 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)
  4704. 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)
  4705. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
  4706. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
  4707. 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)
  4708. RootPart.CFrame = FaceMouse()[1]
  4709. end
  4710. local orb = Instance.new("Part", char)
  4711. orb.BrickColor = MAINRUINCOLOR
  4712. orb.CanCollide = false
  4713. orb.FormFactor = 3
  4714. orb.Name = "Ring"
  4715. orb.Material = "Neon"
  4716. orb.Size = Vector3.new(1, 1, 1)
  4717. orb.Transparency = 0
  4718. orb.TopSurface = 0
  4719. orb.BottomSurface = 0
  4720. local orbm = Instance.new("SpecialMesh", orb)
  4721. orbm.MeshType = "Sphere"
  4722. orbm.Name = "SizeMesh"
  4723. orbm.Scale = vt(2,2,2)
  4724. orb.CFrame = mouse.Hit
  4725. local bv = Instance.new("BodyVelocity")
  4726. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4727. bv.velocity = orb.CFrame.lookVector*100
  4728. bv.Parent = orb
  4729. local hitted = false
  4730. coroutine.resume(coroutine.create(function()
  4731. game:GetService("Debris"):AddItem(orb, 5)
  4732. orb.Transparency = 1
  4733. orb.Anchored = true
  4734. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4735. elocacenter.Anchored = true
  4736. elocacenter.CFrame = orb.CFrame
  4737. elocacenter.Orientation = vt(0,0,0)
  4738. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4739. eloca1.Anchored = true
  4740. eloca1.CFrame = elocacenter.CFrame
  4741. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4742. eloca2.Anchored = true
  4743. eloca2.CFrame = elocacenter.CFrame
  4744. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4745. eloca3.Anchored = true
  4746. eloca3.CFrame = elocacenter.CFrame
  4747. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4748. eloca4.Anchored = true
  4749. eloca4.CFrame = elocacenter.CFrame
  4750. local lookavec = 0
  4751. local speeds = 0
  4752. CameraEnshaking(1,1)
  4753. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4754. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4755. sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4756. sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4757. sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4758. sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4759. for i = 0, 24 do
  4760. swait()
  4761. lookavec = lookavec + 3.5
  4762. speeds = speeds + 1
  4763. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4764. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4765. 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)
  4766.  
  4767. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4768. 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)
  4769.  
  4770. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4771. 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)
  4772.  
  4773. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4774. 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)
  4775. end
  4776.  
  4777. local risen = 0
  4778. for i = 0, 49 do
  4779. swait()
  4780. risen = risen + 0.05
  4781. speeds = speeds + 0.1
  4782. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4783. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4784. 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)
  4785.  
  4786. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4787. 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)
  4788.  
  4789. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4790. 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)
  4791.  
  4792. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4793. 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)
  4794. end
  4795. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
  4796. if v:FindFirstChild('Head') then
  4797. dmg(v)
  4798. end
  4799. end
  4800. CameraEnshaking(4,10)
  4801. MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
  4802. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
  4803. CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
  4804. CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
  4805. CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
  4806. CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
  4807. local eff = Instance.new("ParticleEmitter",elocacenter)
  4808. eff.Texture = "rbxassetid://2273224484"
  4809. eff.LightEmission = 1
  4810. eff.Color = ColorSequence.new(Color3.new(1,1,0))
  4811. eff.Rate = 1000000
  4812. eff.Lifetime = NumberRange.new(0.5,2)
  4813. 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)})
  4814. 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)})
  4815. eff.Speed = NumberRange.new(20,250)
  4816. eff.Drag = 5
  4817. eff.Rotation = NumberRange.new(-500,500)
  4818. eff.VelocitySpread = 5000000
  4819. eff.RotSpeed = NumberRange.new(-50,50)
  4820. coroutine.resume(coroutine.create(function()
  4821. wait(1)
  4822. eff.Enabled = false
  4823. end))
  4824. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
  4825. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
  4826. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4827. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4828. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4829. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4830. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4831. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
  4832. for i = 0, 24 do
  4833. 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)
  4834. 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)
  4835. 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)
  4836. 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)
  4837. end
  4838. coroutine.resume(coroutine.create(function()
  4839. wait(10)
  4840. elocacenter:Destroy()
  4841. eloca1:Destroy()
  4842. eloca2:Destroy()
  4843. eloca3:Destroy()
  4844. eloca4:Destroy()
  4845. end))
  4846. end))
  4847. attack = false
  4848. end
  4849.  
  4850. function UniversalCollapse()
  4851. attack = true
  4852. local speedearn = 0
  4853. hum.WalkSpeed = 0
  4854. local sbs = Instance.new("BodyPosition", root)
  4855. sbs.P = 3000
  4856. sbs.D = 1000
  4857. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4858. sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
  4859. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4860. for i = 0, 85, 0.1 do
  4861. swait()
  4862. speedearn = speedearn + 0.1
  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. 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)
  4868. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4869. 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)
  4870. 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)
  4871. 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)
  4872. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4873. 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)
  4874. 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)
  4875. end
  4876. bosschatfunc("Universal...",MAINRUINCOLOR.Color,1)
  4877. CFuncs["EchoSound"].Create("rbxassetid://1448032598", char, 5, 1,0,10,0.15,0.5,1)
  4878. CFuncs["EchoSound"].Create("rbxassetid://1448032598", root, 20, 1,0,10,0.15,0.5,1)
  4879. for i = 0, 25, 0.1 do
  4880. swait()
  4881. speedearn = speedearn + 0.1
  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. 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)
  4887. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4888. 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)
  4889. 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)
  4890. 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)
  4891. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4892. 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)
  4893. 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)
  4894. end
  4895. bosschatfunc("COLLAPSE!!!",MAINRUINCOLOR.Color,1)
  4896. CFuncs["EchoSound"].Create("rbxassetid://1436241883", char, 5, 1,0,10,0.15,0.5,1)
  4897. CFuncs["EchoSound"].Create("rbxassetid://1436241883", root, 20, 1,0,10,0.15,0.5,1)
  4898. CameraEnshaking(5,50)
  4899. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4900. for i = 0, 2 do
  4901. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4902. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4903. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
  4904. CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
  4905. end
  4906. for i = 0, 49 do
  4907. 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)
  4908. 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)
  4909. 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)
  4910. 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)
  4911. end
  4912. sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4913. sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4914. sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4915. sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4916. sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4917. sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4918. sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4919. sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4920. sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4921. sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4922. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4923. sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4924. for i = 0, 99 do
  4925. 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)
  4926. 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)
  4927. end
  4928. for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
  4929. if v:FindFirstChild('Head') then
  4930. dmg(v)
  4931. end
  4932. end
  4933. MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
  4934. sbs:Destroy()
  4935. hum.WalkSpeed = storehumanoidWS
  4936. attack = false
  4937. end
  4938.  
  4939. function ChaosEND()
  4940. attack = true
  4941. local speedearn = 0
  4942. bosschatfunc("THIS IS...",MAINRUINCOLOR.Color,1)
  4943. CFuncs["EchoSound"].Create("rbxassetid://1548599511", char, 4.5, 1,0,10,0.15,0.5,1)
  4944. CFuncs["EchoSound"].Create("rbxassetid://1548599511", root, 30, 1,0,10,0.15,0.5,1)
  4945. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
  4946. CFuncs["Sound"].Create("rbxassetid://2556945475", root, 5, 1)
  4947. for i = 0, 15, 0.1 do
  4948. swait()
  4949. speedearn = speedearn + 0.25
  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. 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)
  4955. 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)
  4956. 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)
  4957. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4958. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4959. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4960. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4961. end
  4962. CFuncs["Sound"].Create("rbxassetid://438666141", char, 3,1)
  4963. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
  4964. bosschatfunc("THE END!!!",MAINRUINCOLOR.Color,1)
  4965. CFuncs["EchoSound"].Create("rbxassetid://1548599962", char, 8, 1,0,10,0.15,0.5,1)
  4966. CFuncs["EchoSound"].Create("rbxassetid://1548599962", root, 40, 1,0,10,0.15,0.5,1)
  4967. CameraEnshaking(5,25)
  4968. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4969. if v:FindFirstChild('Head') then
  4970. dmg(v)
  4971. end
  4972. end
  4973. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  4974. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  4975. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  4976. for i = 0, 3, 0.1 do
  4977. swait()
  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. 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)
  4982. 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)
  4983. 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)
  4984. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4985. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4986. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4987. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4988. end
  4989. attack = false
  4990. end
  4991.  
  4992. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4993. local orb = Instance.new("Part", char)
  4994. orb.Anchored = true
  4995. orb.BrickColor = color
  4996. orb.CanCollide = false
  4997. orb.FormFactor = 3
  4998. orb.Name = "Ring"
  4999. orb.Material = "Neon"
  5000. orb.Size = Vector3.new(1, 1, 1)
  5001. orb.Transparency = 0
  5002. orb.TopSurface = 0
  5003. orb.BottomSurface = 0
  5004. local orbm = Instance.new("SpecialMesh", orb)
  5005. orbm.MeshType = "Sphere"
  5006. orb.CFrame = positted
  5007. orbm.Name = "SizeMesh"
  5008. orbm.Scale = vt(1,1,1)
  5009. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  5010. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  5011. --[[for i = 0, 2 do
  5012. 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)
  5013. end]]--
  5014. coroutine.resume(coroutine.create(function()
  5015. wait(timer)
  5016. CameraEnshaking(3,ShakePower)
  5017. orb.Transparency = 1
  5018. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  5019. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  5020. --[[for i = 0, 4 do
  5021. 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)
  5022. end]]--
  5023. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  5024. wait(3)
  5025. orb:Destroy()
  5026. end))
  5027. end
  5028.  
  5029. function orb_spawn(positted,timer)
  5030. local randomcol = math.random(1,2)
  5031. local orb = Instance.new("Part", char)
  5032. orb.Anchored = true
  5033. if randomcol == 1 then
  5034. orb.BrickColor = BrickColor.new("White")
  5035. elseif randomcol == 2 then
  5036. orb.BrickColor = BrickColor.new("Really black")
  5037. end
  5038. orb.CanCollide = false
  5039. orb.FormFactor = 3
  5040. orb.Name = "Ring"
  5041. orb.Material = "Neon"
  5042. orb.Size = Vector3.new(1, 1, 1)
  5043. orb.Transparency = 0
  5044. orb.TopSurface = 0
  5045. orb.BottomSurface = 0
  5046. local orbm = Instance.new("SpecialMesh", orb)
  5047. orbm.MeshType = "Sphere"
  5048. orb.CFrame = positted
  5049. orbm.Name = "SizeMesh"
  5050. orbm.Scale = vt(1,1,1)
  5051. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
  5052. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  5053. for i = 0, 2 do
  5054. 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)
  5055. end
  5056. coroutine.resume(coroutine.create(function()
  5057. wait(timer)
  5058. CameraEnshaking(3,2)
  5059. orb.Transparency = 1
  5060. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  5061. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  5062. for i = 0, 4 do
  5063. 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)
  5064. end
  5065. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
  5066. wait(3)
  5067. orb:Destroy()
  5068. end))
  5069. end
  5070.  
  5071. function scattercorrupt()
  5072. attack = true
  5073. hum.WalkSpeed = 0
  5074. for i = 0, 2, 0.1 do
  5075. swait()
  5076. 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)
  5077. 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)
  5078. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5079. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5080. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.2)
  5081. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.2)
  5082. end
  5083. local rot = 0
  5084. local randomrotations = math.random(1,2)
  5085. local lookv = 2.5
  5086. local power = 7
  5087. local radm = math.random(1,3)
  5088. if radm == 1 then
  5089. bosschatfunc("HOW LONG CAN YOU TAKE THIS?",MAINRUINCOLOR.Color,1)
  5090. elseif radm == 2 then
  5091. bosschatfunc("YOUR EXISTANCE IS WASTED!!!!!!",MAINRUINCOLOR.Color,1)
  5092. elseif radm == 3 then
  5093. bosschatfunc("SCATTER!!",MAINRUINCOLOR.Color,1)
  5094. end
  5095. CFuncs["Sound"].Create("rbxassetid://183763506", RightLeg, 2, 1)
  5096. for i = 0, 1, 0.1 do
  5097. swait()
  5098. 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)
  5099. 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)
  5100. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(15),math.rad(0),math.rad(0)),.15)
  5101. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.15)
  5102. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(40)),.15)
  5103. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(-40)),.15)
  5104. end
  5105. CFuncs["EchoSound"].Create("rbxassetid://1535994669", char, 5, 1,0,10,0.15,0.5,1)
  5106. CFuncs["EchoSound"].Create("rbxassetid://1535994669", root, 20, 1,0,10,0.15,0.5,1)
  5107. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  5108. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  5109. for i = 0, 9 do
  5110. 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)
  5111. end
  5112. local hite = Instance.new("Part", char)
  5113. hite.Anchored = true
  5114. hite.CanCollide = false
  5115. hite.FormFactor = 3
  5116. hite.Name = "Ring"
  5117. hite.Material = "Neon"
  5118. hite.Size = Vector3.new(1, 1, 1)
  5119. hite.Transparency = 1
  5120. hite.TopSurface = 0
  5121. hite.BottomSurface = 0
  5122. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  5123. local rem = Instance.new("Part", char)
  5124. rem.Anchored = true
  5125. rem.CanCollide = false
  5126. rem.FormFactor = 3
  5127. rem.Name = "Ring"
  5128. rem.Material = "Neon"
  5129. rem.Size = Vector3.new(1, 1, 1)
  5130. rem.Transparency = 1
  5131. rem.TopSurface = 0
  5132. rem.BottomSurface = 0
  5133. rem.CFrame = hite.CFrame
  5134. local rem2 = rem:Clone()
  5135. rem2.Parent = char
  5136. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  5137. local rem3 = rem:Clone()
  5138. rem3.Parent = char
  5139. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  5140. local rem4 = rem:Clone()
  5141. rem4.Parent = char
  5142. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  5143. hite:Destroy()
  5144. coroutine.resume(coroutine.create(function()
  5145. for i = 0, 24 do
  5146. swait(1)
  5147. if randomrotations == 1 then
  5148. rot = rot + 1
  5149. elseif randomrotations == 2 then
  5150. rot = rot - 1
  5151. end
  5152. power = power + 0.5
  5153. lookv = lookv + 7.5
  5154. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5155. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  5156. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  5157. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  5158. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5159. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5160. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5161. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5162. end
  5163. end))
  5164. wait(2)
  5165. hum.WalkSpeed = storehumanoidWS
  5166. attack = false
  5167. end
  5168.  
  5169. function yinyangi()
  5170. attack = true
  5171. for i = 0, 2, 0.1 do
  5172. swait()
  5173. bosschatfunc("YAAAAAHHHHHHH!",MAINRUINCOLOR.Color,1)
  5174. CFuncs["Sound"].Create("rbxassetid://430315987", root, 1, 1,0,10,0.25,0.25,1)
  5175. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2)
  5176. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.2)
  5177. 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)
  5178. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5179. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  5180. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  5181. end
  5182. local bv = Instance.new("BodyVelocity")
  5183. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5184. bv.velocity = root.CFrame.lookVector*175
  5185. bv.Parent = root
  5186. for Rotations = 0, 9 do
  5187. for i = 0, 1, 0.5 do
  5188. swait()
  5189. bv.velocity = root.CFrame.lookVector*175
  5190. 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)
  5191. 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)
  5192. 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)
  5193. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5194. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5195. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5196. end
  5197. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5198. for i = 0, 1, 0.5 do
  5199. swait()
  5200. bv.velocity = root.CFrame.lookVector*175
  5201. 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)
  5202. 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)
  5203. 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)
  5204. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5205. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5206. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5207. end
  5208. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5209. for i = 0, 1, 0.5 do
  5210. swait()
  5211. bv.velocity = root.CFrame.lookVector*175
  5212. 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)
  5213. 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)
  5214. 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)
  5215. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5216. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5217. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5218. end
  5219. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5220. for i = 0, 1, 0.5 do
  5221. swait()
  5222. bv.velocity = root.CFrame.lookVector*175
  5223. 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)
  5224. 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)
  5225. 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)
  5226. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5227. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5228. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5229. end
  5230. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5231. end
  5232. bv:Destroy()
  5233. attack = false
  5234. end
  5235.  
  5236. function createBGCircle(size,parent,color)
  5237. local bgui = Instance.new("BillboardGui",parent)
  5238. bgui.Size = UDim2.new(size, 0, size, 0)
  5239. local imgc = Instance.new("ImageLabel",bgui)
  5240. imgc.BackgroundTransparency = 1
  5241. imgc.ImageTransparency = 0
  5242. imgc.Size = UDim2.new(1,0,1,0)
  5243. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  5244. imgc.ImageColor3 = color
  5245. return bgui,imgc
  5246. end
  5247.  
  5248. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  5249. local bgui,imgc = createBGCircle(size,guipar,color)
  5250. bgui.AlwaysOnTop = true
  5251. imgc.Image = "rbxassetid://" ..img
  5252. local rrot = math.random(1,2)
  5253. CFuncs["Sound"].Create("rbxassetid://183763506", 2.5, 1.05)
  5254. coroutine.resume(coroutine.create(function()
  5255. for i = 0, 24*delay do
  5256. swait()
  5257. if rotationenabled == true then
  5258. if rrot == 1 then
  5259. imgc.Rotation = imgc.Rotation + rotsp
  5260. elseif rrot == 2 then
  5261. imgc.Rotation = imgc.Rotation - rotsp
  5262. end
  5263. end
  5264. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  5265. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  5266. end
  5267. bgui:Destroy()
  5268. end))
  5269. end
  5270. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled)
  5271. for i, v in pairs(mw2:GetChildren()) do
  5272. if v:IsA("Part") then
  5273. v.BrickColor = one
  5274. v.Material = "Neon"
  5275. end
  5276. end
  5277. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  5278. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  5279. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  5280. tr1.Color = ColorSequence.new(one.Color)
  5281. tr2.Color = ColorSequence.new(one.Color)
  5282. tr3.Color = ColorSequence.new(one.Color)
  5283. for i, v in pairs(mw1:GetChildren()) do
  5284. if v:IsA("Part") then
  5285. if secondaryenabled == false then
  5286. v.Transparency = 1
  5287. elseif secondaryenabled == true then
  5288. v.Transparency = 0
  5289. end
  5290. v.BrickColor = two
  5291. v.Material = "Neon"
  5292. end
  5293. end
  5294. if secondaryenabled == false then
  5295. tl1.Enabled = false
  5296. tl2.Enabled = false
  5297. tl3.Enabled = false
  5298. elseif secondaryenabled == true then
  5299. tl1.Enabled = true
  5300. tl2.Enabled = true
  5301. tl3.Enabled = true
  5302. end
  5303. tl1.Color = ColorSequence.new(two.Color)
  5304. tl2.Color = ColorSequence.new(two.Color)
  5305. tl3.Color = ColorSequence.new(two.Color)
  5306. for i, v in pairs(m:GetChildren()) do
  5307. if v:IsA("Part") then
  5308. v.BrickColor = three
  5309. v.Material = "Ice"
  5310. end
  5311. end
  5312. for i, v in pairs(m2:GetChildren()) do
  5313. if v:IsA("Part") then
  5314. v.BrickColor = four
  5315. v.Material = "Ice"
  5316. end
  5317. end
  5318. for i, v in pairs(m3:GetChildren()) do
  5319. if v:IsA("Part") then
  5320. v.BrickColor = five
  5321. v.Material = "Neon"
  5322. end
  5323. end
  5324. for i, v in pairs(extrawingmod1:GetChildren()) do
  5325. if v:IsA("Part") then
  5326. v.Transparency = exonetran
  5327. v.BrickColor = exone
  5328. v.Material = "Neon"
  5329. end
  5330. end
  5331. for i, v in pairs(extrawingmod2:GetChildren()) do
  5332. if v:IsA("Part") then
  5333. v.Transparency = extwotran
  5334. v.BrickColor = extwo
  5335. v.Material = "Neon"
  5336. end
  5337. end
  5338. end
  5339.  
  5340.  
  5341. function normalmog()
  5342. attack = true
  5343. hum.WalkSpeed = 0
  5344. CFuncs["Sound"].Create("rbxassetid://2556945475", root, 35, 1.25)
  5345. bosschatfunc("YOUR EXISTANCE IS WASTED!!!!!!",MAINRUINCOLOR.Color,1)
  5346. for i = 0,6,0.1 do
  5347. swait()
  5348. 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)
  5349. 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)
  5350. 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)
  5351. 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)
  5352. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5353. 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)
  5354. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5355. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5356. end
  5357. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  5358. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  5359. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  5360. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  5361. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  5362. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  5363. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  5364. rainbowmode = false
  5365. chaosmode = false
  5366. ModeOfGlitch = 1
  5367. storehumanoidWS = 16
  5368. newTheme("rbxassetid://601578010",48.6,1,1.25)
  5369. RecolorTextAndRename("EVIL",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  5370. CameraEnshaking(5,2.5)
  5371. MAINRUINCOLOR = BrickColor.new("Really red")
  5372. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5373. for i = 0, 49 do
  5374. 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)
  5375. end
  5376. for i = 0, 24 do
  5377. 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)
  5378. 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"))
  5379. end
  5380. for i = 0,3,0.1 do
  5381. 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)
  5382. end
  5383. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  5384. for i = 0,2,0.1 do
  5385. swait()
  5386. 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)
  5387. 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)
  5388. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  5389. 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)
  5390. 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)
  5391. 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)
  5392. end
  5393. hum.WalkSpeed = storehumanoidWS
  5394. attack = false
  5395. end
  5396.  
  5397. function attackone()
  5398. attack = true
  5399. for i = 0,1,0.1 do
  5400. swait()
  5401. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3)
  5402. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3)
  5403. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
  5404. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5405. 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)
  5406. 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)
  5407. end
  5408. local distlook = 5
  5409. for i = 0, 4 do
  5410. swait(2)
  5411. CameraEnshaking(2,3)
  5412. local hite = Instance.new("Part", char)
  5413. hite.Anchored = true
  5414. hite.CanCollide = false
  5415. hite.FormFactor = 3
  5416. hite.Name = "Ring"
  5417. hite.Material = "Neon"
  5418. hite.Size = Vector3.new(1, 1, 1)
  5419. hite.Transparency = 1
  5420. hite.TopSurface = 0
  5421. hite.BottomSurface = 0
  5422. hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook
  5423. sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR)
  5424. sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR)
  5425. MagniDamage(hite, 10, 15,35, 0, "Normal")
  5426. for i = 0, 2 do
  5427. 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)
  5428. 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)
  5429. 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)
  5430. end
  5431. CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1)
  5432. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.26, 0.6)
  5433. CFuncs["Sound"].Create("rbxassetid://2556945475", root, 10,1)
  5434. game:GetService("Debris"):AddItem(hite, 5)
  5435. distlook = distlook + 10
  5436. end
  5437. attack = false
  5438. end
  5439.  
  5440. function attacktwo()
  5441. attack = true
  5442. for i = 0,1,0.1 do
  5443. swait()
  5444. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  5445. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  5446. 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)
  5447. 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)
  5448. 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)
  5449. 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)
  5450. end
  5451. CameraEnshaking(3,4)
  5452. MagniDamage(root, 12, 15,30, 0, "Normal")
  5453. 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)
  5454. 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)
  5455. 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)
  5456. coroutine.resume(coroutine.create(function()
  5457. local eff = Instance.new("ParticleEmitter",root)
  5458. eff.Texture = "rbxassetid://363275192"
  5459. eff.LightEmission = 0.95
  5460. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5461. eff.Rate = 10000
  5462. eff.Lifetime = NumberRange.new(1)
  5463. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  5464. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  5465. eff.Speed = NumberRange.new(10,125)
  5466. eff.Drag = 5
  5467. eff.Rotation = NumberRange.new(-500,500)
  5468. eff.VelocitySpread = 9000
  5469. eff.RotSpeed = NumberRange.new(-50,50)
  5470. local eff2 = eff:Clone()
  5471. eff2.Parent = root
  5472. eff2.Texture = "rbxassetid://284205403"
  5473. eff2.Rate = 10000
  5474. 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)})
  5475. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  5476. eff2.Drag = 5
  5477. eff2.Speed = NumberRange.new(10,50)
  5478. eff2.Rotation = NumberRange.new(-500,500)
  5479. eff2.VelocitySpread = 9000
  5480. wait(0.25)
  5481. eff2.Enabled = false
  5482. eff.Enabled = false
  5483. wait(3)
  5484. eff2:Destroy()
  5485. eff:Destroy()
  5486. end))
  5487. for i = 0, 9 do
  5488. 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)
  5489. end
  5490. for i = 0, 24 do
  5491. local rsiz = math.random(5,20)
  5492. 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)
  5493. end
  5494. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
  5495. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
  5496. CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
  5497. CFuncs["Sound"].Create("rbxassetid://201858045", root, 2.5,1.3)
  5498. for i = 0,2,0.1 do
  5499. swait()
  5500. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  5501. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  5502. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  5503. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  5504. 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)
  5505. 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)
  5506. end
  5507. attack = false
  5508. end
  5509.  
  5510. function attackthree()
  5511. attack = true
  5512. local keptcolor = MAINRUINCOLOR
  5513. CFuncs["Sound"].Create("rbxassetid://1042700914", root, 2, 1.75)
  5514. for i = 0,1,0.1 do
  5515. swait()
  5516. sphere2(6,"Add",root.CFrame + root.CFrame.lookVector*2.5,vt(3,3,3),0.01,0.01,0.01,MAINRUINCOLOR)
  5517. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.5)
  5518. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.5)
  5519. 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)
  5520. 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)
  5521. 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)
  5522. 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)
  5523. end
  5524. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 1.5, 0.9)
  5525. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 0.9)
  5526. local angle = -25
  5527. coroutine.resume(coroutine.create(function()
  5528. for i = 0, 2 do
  5529. local orb = Instance.new("Part", char)
  5530. orb.BrickColor = MAINRUINCOLOR
  5531. orb.CanCollide = false
  5532. orb.FormFactor = 3
  5533. orb.Name = "Ring"
  5534. orb.Material = "Neon"
  5535. orb.Size = Vector3.new(1, 1, 1)
  5536. orb.Transparency = 0.5
  5537. orb.TopSurface = 0
  5538. orb.BottomSurface = 0
  5539. local orbm = Instance.new("SpecialMesh", orb)
  5540. orbm.MeshType = "Sphere"
  5541. orbm.Name = "SizeMesh"
  5542. orbm.Scale = vt(3,3,3)
  5543. orb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(angle),0) + root.CFrame.lookVector*2.5
  5544. local bv = Instance.new("BodyVelocity")
  5545. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5546. bv.velocity = orb.CFrame.lookVector*100
  5547. bv.Parent = orb
  5548. game:GetService("Debris"):AddItem(orb, 10)
  5549. 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)
  5550. 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)
  5551. coroutine.resume(coroutine.create(function()
  5552. MagniDamage(orb, 6, 8,15, 0, "Normal")
  5553. for i = 0, 7 do
  5554. swait(2.5)
  5555. CameraEnshaking(1,2)
  5556. MagniDamage(orb, 6, 8,15, 0, "Normal")
  5557. CFuncs["Sound"].Create("rbxassetid://1042693018", orb, 1.5, 1.5)
  5558. for i = 0, 4 do
  5559. local rsiz = math.random(5,10)
  5560. 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)
  5561. 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)
  5562. end
  5563. 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)
  5564. 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)
  5565. end
  5566. orb.Transparency = 1
  5567. orb.Anchored = false
  5568. wait(10)
  5569. orb:Destroy()
  5570. end))
  5571. angle = angle + 25
  5572. end
  5573. end))
  5574. for i = 0,1,0.1 do
  5575. swait()
  5576. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  5577. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  5578. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.3)
  5579. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  5580. 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)
  5581. 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)
  5582. end
  5583. attack = false
  5584. end
  5585. ----------------------------------- Abilities
  5586.  
  5587. function ExtinctiveHeartbreak()
  5588. local targetted = nil
  5589. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5590. targetted = mouse.Target.Parent
  5591. end
  5592. if targetted ~= nil then
  5593. attack = true
  5594. bosschatfunc("I AM THE MIGHTIEST!!",MAINRUINCOLOR.Color,1)
  5595. CFuncs["EchoSound"].Create("rbxassetid://357202141", char, 1.5, 1,0,10,0.15,0.5,1)
  5596. CFuncs["EchoSound"].Create("rbxassetid://357202141", root, 10, 1,0,10,0.15,0.5,1)
  5597. CFuncs["Sound"].Create("rbxassetid://2556945475", root, 2.5,1)
  5598. CFuncs["Sound"].Create("rbxassetid://201858045", root, 2.5,1.3)
  5599. for i = 0, 9 do
  5600. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  5601. end
  5602. for i = 0, 24 do
  5603. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  5604. end
  5605. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5606. local originalpos = root.CFrame
  5607. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  5608. for i = 0, 9 do
  5609. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  5610. end
  5611. for i = 0, 24 do
  5612. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  5613. end
  5614. hum.WalkSpeed = 0
  5615. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5616. local radm = math.random(1,3)
  5617. if radm == 1 then
  5618. bosschatfunc("I AM THE MIGHTIEST!!!",MAINRUINCOLOR.Color,2)
  5619. elseif radm == 2 then
  5620. bosschatfunc("I AM THE MIGHTIEST!!!",MAINRUINCOLOR.Color,2)
  5621. elseif radm == 3 then
  5622. bosschatfunc("I AM THE MIGHTIEST!!!",MAINRUINCOLOR.Color,2)
  5623. end
  5624. for i = 0,2,0.1 do
  5625. swait()
  5626. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-10),math.rad(0)),.4)
  5627. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
  5628. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(80)),.4)
  5629. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5630. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.4)
  5631. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(60)),.4)
  5632. end
  5633. CFuncs["Sound"].Create("rbxassetid://153092227", root, 0.5,1)
  5634. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 2, 1,0,10,0.25,0.5,1)
  5635. for i = 0,2,0.1 do
  5636. swait()
  5637. coroutine.resume(coroutine.create(function()
  5638. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5639. for i,v in pairs(targetted:GetChildren()) do
  5640. if v:IsA("Part") or v:IsA("MeshPart") then
  5641. v.Velocity = vt(0,0,0)
  5642. end
  5643. end
  5644. end))
  5645. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
  5646. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.8)
  5647. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  5648. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  5649. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5650. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(-80)),.8)
  5651. end
  5652. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 0.5, 1,0,10,0.25,0.5,1)
  5653. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 0.5, 0.9,0,10,0.25,0.5,1)
  5654. for i = 0, 1 do
  5655. CFuncs["EchoSound"].Create("rbxassetid://159882598", char, 2, 1,0.1,10,0.15,0.5,1)
  5656. end
  5657. CFuncs["EchoSound"].Create("rbxassetid://159882598", root, 15, 1,0.1,10,0.15,0.5,1)
  5658. chatfunc("DIE!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  5659. for i = 0,4,0.1 do
  5660. swait()
  5661. coroutine.resume(coroutine.create(function()
  5662. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5663. dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5664. local at1 = Instance.new("Attachment",dis)
  5665. at1.Position = vt(-25000,0,0)
  5666. local at2 = Instance.new("Attachment",dis)
  5667. at2.Position = vt(25000,0,0)
  5668. local trl = Instance.new('Trail',dis)
  5669. trl.Attachment0 = at1
  5670. trl.FaceCamera = true
  5671. trl.Attachment1 = at2
  5672. trl.Texture = "rbxassetid://1049219073"
  5673. trl.LightEmission = 1
  5674. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5675. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  5676. trl.Lifetime = 5
  5677. local bv = Instance.new("BodyVelocity")
  5678. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5679. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5680. bv.Parent = dis
  5681. game:GetService("Debris"):AddItem(dis, 5)
  5682. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5683. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  5684. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  5685. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  5686. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  5687. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  5688. sphere2(5,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(3,3,3),-0.03,15,-0.03,MAINRUINCOLOR)
  5689. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  5690. for i = 0, 2 do
  5691. slash(5,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,350)/250,BrickColor.new("Crimson"))
  5692. end
  5693. symbolizeBlink(targetted.Head,0,2092248396,Color3.new(1,0,0),math.random(3,35),0,0,0,targetted.Head,true,math.random(3,9),0.25)
  5694. for i,v in pairs(targetted:GetChildren()) do
  5695. if v:IsA("Part") or v:IsA("MeshPart") then
  5696. v.Velocity = vt(0,0,0)
  5697. end
  5698. end
  5699. end))
  5700. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  5701. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
  5702. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.8)
  5703. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  5704. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  5705. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(40)),.8)
  5706. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(170),math.rad(0),math.rad(-30)),.8)
  5707. end
  5708. hum.CameraOffset = vt(0,0,0)
  5709. for i = 0, 49 do
  5710. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5711. dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5712. local at1 = Instance.new("Attachment",dis)
  5713. at1.Position = vt(-50000,0,0)
  5714. local at2 = Instance.new("Attachment",dis)
  5715. at2.Position = vt(50000,0,0)
  5716. local trl = Instance.new('Trail',dis)
  5717. trl.Attachment0 = at1
  5718. trl.FaceCamera = true
  5719. trl.Attachment1 = at2
  5720. trl.Texture = "rbxassetid://1049219073"
  5721. trl.LightEmission = 1
  5722. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5723. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  5724. trl.Lifetime = 5
  5725. local bv = Instance.new("BodyVelocity")
  5726. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5727. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5728. bv.Parent = dis
  5729. game:GetService("Debris"):AddItem(dis, 5)
  5730. end
  5731. for i = 0, 49 do
  5732. sphere2(math.random(10,75)/10,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,5,5),-0.05,50,-0.05,MAINRUINCOLOR)
  5733. slash(math.random(10,30)/15,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(40,500)/250,BrickColor.new("Really red"))
  5734. end
  5735. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  5736. for i = 0, 1 do
  5737. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  5738. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  5739. end
  5740. for i = 0, 4 do
  5741. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  5742. end
  5743. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  5744. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  5745. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  5746. dmg(targetted)
  5747. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5748. for i = 0, 9 do
  5749. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  5750. end
  5751. for i = 0, 24 do
  5752. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  5753. end
  5754. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5755. root.CFrame = originalpos
  5756. for i = 0, 9 do
  5757. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  5758. end
  5759. for i = 0, 24 do
  5760. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  5761. end
  5762. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5763. attack = false
  5764. hum.WalkSpeed = storehumanoidWS
  5765. end
  5766. end
  5767.  
  5768. function CorruptionEvent()
  5769. attack = true
  5770. hum.WalkSpeed = 0
  5771. bosschatfunc("I'LL CRUSH YOU!",MAINRUINCOLOR.Color,1)
  5772. CFuncs["EchoSound"].Create("rbxassetid://358080519", char, 1.5, 1,0,10,0.15,0.5,1)
  5773. CFuncs["EchoSound"].Create("rbxassetid://358080519", root, 10, 1,0,10,0.15,0.5,1)
  5774. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5775. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5776. local keptcolor = MAINRUINCOLOR
  5777. for i = 0,4,0.1 do
  5778. swait()
  5779. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5780. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5781. 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)
  5782. 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)
  5783. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  5784. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  5785. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  5786. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5787. end
  5788. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5789. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  5790. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  5791. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5792. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5793. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5794. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  5795. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  5796. hum.CameraOffset = vt(0,0,0)
  5797. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5798. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5799. for i = 0, 24 do
  5800. 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"))
  5801. end
  5802. local rrot = 0
  5803. coroutine.resume(coroutine.create(function()
  5804. for i = 0, 4 do
  5805. rrot = rrot + 45
  5806. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5807. xa.Anchored = true
  5808. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5809. xb.Anchored = true
  5810. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5811. xc.Anchored = true
  5812. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5813. xd.Anchored = true
  5814. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  5815. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  5816. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  5817. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  5818. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  5819. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  5820. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  5821. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  5822. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  5823. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  5824. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  5825. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  5826. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  5827. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  5828. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  5829. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  5830. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5831. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5832. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5833. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5834. for i = 0, 9 do
  5835. 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"))
  5836. 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"))
  5837. 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"))
  5838. 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"))
  5839. end
  5840. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5841. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5842. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5843. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5844. 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)
  5845. 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)
  5846. 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)
  5847. 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)
  5848. 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))
  5849. 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))
  5850. 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))
  5851. 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))
  5852. game:GetService("Debris"):AddItem(xa, 5)
  5853. game:GetService("Debris"):AddItem(xb, 5)
  5854. game:GetService("Debris"):AddItem(xc, 5)
  5855. game:GetService("Debris"):AddItem(xd, 5)
  5856. coroutine.resume(coroutine.create(function()
  5857. for i = 0, 19 do
  5858. swait()
  5859. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5860. end
  5861. hum.CameraOffset = vt(0,0,0)
  5862. end))
  5863. swait(9)
  5864. end
  5865. end))
  5866. for i = 0,2,0.1 do
  5867. swait()
  5868. 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)
  5869. 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)
  5870. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  5871. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  5872. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  5873. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5874. end
  5875. attack = false
  5876. hum.WalkSpeed = storehumanoidWS
  5877. end
  5878.  
  5879. function EndGROUND()
  5880. attack = true
  5881. hum.WalkSpeed = 0
  5882. bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
  5883. --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5884. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5885. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  5886. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  5887. local keptcolor = MAINRUINCOLOR
  5888. for i = 0,4,0.1 do
  5889. swait()
  5890. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5891. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5892. 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"))
  5893. RH.C0=clerp(RH.C0,cf(1,-0.15,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-15),math.rad(-20)),.1)
  5894. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.1)
  5895. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  5896. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  5897. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  5898. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5899. end
  5900. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5901. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5902. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5903. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5904. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  5905. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  5906. coroutine.resume(coroutine.create(function()
  5907. local shval = 10
  5908. for i = 0, 99 do
  5909. swait()
  5910. shval = shval - 0.1
  5911. hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  5912. end
  5913. hum.CameraOffset = vt(0,0,0)
  5914. end))
  5915. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5916. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5917. for i = 0, 24 do
  5918. 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"))
  5919. end
  5920. local rrot = 0
  5921. local xam = 1
  5922. coroutine.resume(coroutine.create(function()
  5923. for i = 0, 14 do
  5924. --swait()
  5925. rrot = rrot + 40*xam
  5926. xam = xam + 0.25
  5927. local bonus = xam
  5928. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  5929. xa.Anchored = true
  5930. xa.Color = Color3.new(0,0,0)
  5931. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  5932. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  5933. local xc = 0
  5934. coroutine.resume(coroutine.create(function()
  5935. for i = 0, 99 do
  5936. swait()
  5937. xc = xc + 0.01
  5938. xa.Color = Color3.new(xc,0,0)
  5939. end
  5940. xa.Transparency = 1
  5941. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  5942. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  5943. for i = 0, 9 do
  5944. 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"))
  5945. end
  5946. 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)
  5947. 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)
  5948. 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))
  5949. game:GetService("Debris"):AddItem(xa, 5)
  5950. coroutine.resume(coroutine.create(function()
  5951. for i = 0, 19 do
  5952. swait()
  5953. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5954. end
  5955. hum.CameraOffset = vt(0,0,0)
  5956. end))
  5957. end))
  5958. end
  5959. end))
  5960. for i = 0,2,0.1 do
  5961. swait()
  5962. 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)
  5963. 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)
  5964. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  5965. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  5966. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  5967. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5968. end
  5969. attack = false
  5970. hum.WalkSpeed = storehumanoidWS
  5971. end
  5972.  
  5973.  
  5974. function HeavenlyDisk()
  5975. attack = true
  5976. hum.WalkSpeed = 2
  5977. local keptcolor = MAINRUINCOLOR
  5978. local radm = math.random(1,3)
  5979. if radm == 1 then
  5980. bosschatfunc("So this is it..",MAINRUINCOLOR.Color,1)
  5981. elseif radm == 2 then
  5982. bosschatfunc("I really don't have a choice...",MAINRUINCOLOR.Color,1)
  5983. elseif radm == 3 then
  5984. bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
  5985. end
  5986. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5987. CFuncs["EchoSound"].Create("rbxassetid://1535994940", char, 4, 1,0,10,0.15,0.5,1)
  5988. 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)
  5989. 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)
  5990. for i = 0, 14 do
  5991. 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)
  5992. end
  5993. for i = 0,2,0.1 do
  5994. swait()
  5995. 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)
  5996. 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)
  5997. 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)
  5998. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5999. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  6000. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6001. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  6002. end
  6003. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  6004. for i = 0,1,0.6 do
  6005. swait()
  6006. 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)
  6007. 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"))
  6008. 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)
  6009. 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)
  6010. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  6011. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6012. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6013. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6014. end
  6015. for i = 0,1,0.6 do
  6016. swait()
  6017. 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)
  6018. 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"))
  6019. 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)
  6020. 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)
  6021. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  6022. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6023. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6024. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6025. end
  6026. for i = 0,1,0.6 do
  6027. swait()
  6028. 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)
  6029. 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"))
  6030. 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)
  6031. 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)
  6032. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  6033. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6034. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6035. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6036. end
  6037. for i = 0,1,0.6 do
  6038. swait()
  6039. 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)
  6040. 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"))
  6041. 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)
  6042. 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)
  6043. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  6044. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6045. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6046. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6047. end
  6048. local rot = 15
  6049. for i = 0, 2 do
  6050. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new(MULTIRUINCOLOR))
  6051. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  6052. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  6053. CreateMesh(dis,"Sphere",10,1,10)
  6054. local at1 = Instance.new("Attachment",dis)
  6055. at1.Position = vt(-5,0,0)
  6056. local at2 = Instance.new("Attachment",dis)
  6057. at2.Position = vt(5,0,0)
  6058. local trl = Instance.new('Trail',wed)
  6059. trl.Attachment0 = at1
  6060. trl.Attachment1 = at2
  6061. trl.Texture = "rbxassetid://1049219073"
  6062. trl.LightEmission = 1
  6063. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6064. trl.Color = ColorSequence.new(dis.Color)
  6065. trl.Lifetime = 0.6
  6066. local a = Instance.new("Part",workspace)
  6067. a.Name = "Direction"
  6068. a.Anchored = true
  6069. a.BrickColor = bc("Bright red")
  6070. a.Material = "Neon"
  6071. a.Transparency = 1
  6072. a.CanCollide = false
  6073. local ray = Ray.new(
  6074. dis.CFrame.p, -- origin
  6075. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6076. )
  6077. local ignore = dis
  6078. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6079. a.BottomSurface = 10
  6080. a.TopSurface = 10
  6081. local distance = (dis.CFrame.p - position).magnitude
  6082. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6083. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6084. dis.CFrame = a.CFrame
  6085. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  6086. a:Destroy()
  6087. local bv = Instance.new("BodyVelocity")
  6088. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6089. bv.velocity = dis.CFrame.lookVector*250
  6090. bv.Parent = dis
  6091. game:GetService("Debris"):AddItem(dis, 5)
  6092. local hitted = false
  6093. coroutine.resume(coroutine.create(function()
  6094. dis.Touched:connect(function(hit)
  6095. if hitted == false and hit.Parent ~= char then
  6096. hitted = true
  6097. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  6098. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  6099. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  6100. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  6101. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  6102. coroutine.resume(coroutine.create(function()
  6103. for i = 0, 9 do
  6104. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6105. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6106. local at1 = Instance.new("Attachment",disr)
  6107. at1.Position = vt(-2,0,0)
  6108. local at2 = Instance.new("Attachment",disr)
  6109. at2.Position = vt(2,0,0)
  6110. local trl = Instance.new('Trail',disr)
  6111. trl.Attachment0 = at1
  6112. trl.FaceCamera = true
  6113. trl.Attachment1 = at2
  6114. trl.Texture = "rbxassetid://2342682798"
  6115. trl.LightEmission = 1
  6116. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6117. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6118. trl.Lifetime = 0.5
  6119. local bv = Instance.new("BodyVelocity")
  6120. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6121. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  6122. bv.Parent = disr
  6123. local val = 0
  6124. coroutine.resume(coroutine.create(function()
  6125. swait(30)
  6126. for i = 0, 9 do
  6127. swait()
  6128. val = val + 0.1
  6129. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6130. end
  6131. game:GetService("Debris"):AddItem(disr, 3)
  6132. end))
  6133. end
  6134. local eff = Instance.new("ParticleEmitter",dis)
  6135. eff.Texture = "rbxassetid://2273224484"
  6136. eff.LightEmission = 1
  6137. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6138. eff.Rate = 500000
  6139. eff.Lifetime = NumberRange.new(0.5,2)
  6140. 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)})
  6141. 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)})
  6142. eff.Speed = NumberRange.new(20,250)
  6143. eff.Drag = 5
  6144. eff.Rotation = NumberRange.new(-500,500)
  6145. eff.VelocitySpread = 9000
  6146. eff.RotSpeed = NumberRange.new(-50,50)
  6147. wait(0.25)
  6148. eff.Enabled = false
  6149. end))
  6150. for i = 0, 9 do
  6151. 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"))
  6152. end
  6153. for i = 0, 19 do
  6154. 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)
  6155. end
  6156. coroutine.resume(coroutine.create(function()
  6157. for i = 0, 19 do
  6158. swait()
  6159. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6160. end
  6161. hum.CameraOffset = vt(0,0,0)
  6162. end))
  6163. dis.Anchored = true
  6164. dis.Transparency = 1
  6165. wait(8)
  6166. dis:Destroy()
  6167. end
  6168. end)
  6169. end))
  6170. rot = rot - 15
  6171. end
  6172. for i = 0,2,0.1 do
  6173. swait()
  6174. 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)
  6175. 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)
  6176. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  6177. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  6178. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6179. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6180. end
  6181. attack = false
  6182. hum.WalkSpeed = storehumanoidWS
  6183. end
  6184.  
  6185. function RapidBurst()
  6186. attack = true
  6187. hum.WalkSpeed = 0
  6188. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  6189. CFuncs["Sound"].Create("rbxassetid://1097266621", root, 10, 0.5)
  6190. CFuncs["Sound"].Create("rbxassetid://138677306", root, 10, 0.5)
  6191. CFuncs["EchoSound"].Create("rbxassetid://358080429", char, 4, 1,0,10,0.15,0.5,1)
  6192. CFuncs["EchoSound"].Create("rbxassetid://2014087015", char, 4, 1,0,10,0.15,0.5,1)
  6193. bosschatfunc("ENOUGH!!",MAINRUINCOLOR.Color,2)
  6194. local keptcolor = MAINRUINCOLOR
  6195. for i = 0,8,0.1 do
  6196. swait()
  6197. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6198. 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())
  6199. 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)
  6200. 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)
  6201. 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)
  6202. 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)
  6203. 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)
  6204. 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)
  6205. 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)
  6206. end
  6207. for i = 0, 99 do
  6208. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6209. 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)))
  6210. local at1 = Instance.new("Attachment",dis)
  6211. at1.Position = vt(-25000,0,0)
  6212. local at2 = Instance.new("Attachment",dis)
  6213. at2.Position = vt(25000,0,0)
  6214. local trl = Instance.new('Trail',dis)
  6215. trl.Attachment0 = at1
  6216. trl.FaceCamera = true
  6217. trl.Attachment1 = at2
  6218. trl.Texture = "rbxassetid://1049219073"
  6219. trl.LightEmission = 1
  6220. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6221. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6222. trl.Lifetime = 5
  6223. local bv = Instance.new("BodyVelocity")
  6224. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6225. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6226. bv.Parent = dis
  6227. game:GetService("Debris"):AddItem(dis, 5)
  6228. end
  6229. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6230. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6231. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6232. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6233. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6234. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6235. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6236. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6237. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6238. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6239. hum.CameraOffset = vt(0,0,0)
  6240. for i = 0, 24 do
  6241. 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())
  6242. end
  6243. local distam = 0
  6244. coroutine.resume(coroutine.create(function()
  6245. for i = 0, 99 do
  6246. wait()
  6247. distam = distam + 1
  6248. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6249. xa.Anchored = true
  6250. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  6251. game:GetService("Debris"):AddItem(xa, 5)
  6252. for i = 0, 4 do
  6253. 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())
  6254. end
  6255. coroutine.resume(coroutine.create(function()
  6256. local eff = Instance.new("ParticleEmitter",xa)
  6257. eff.Texture = "rbxassetid://2273224484"
  6258. eff.LightEmission = 1
  6259. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6260. eff.Rate = 500000
  6261. eff.Lifetime = NumberRange.new(1,3)
  6262. 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)})
  6263. 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)})
  6264. eff.Speed = NumberRange.new(50,500)
  6265. eff.Drag = 5
  6266. eff.Rotation = NumberRange.new(-500,500)
  6267. eff.VelocitySpread = 9000
  6268. eff.RotSpeed = NumberRange.new(-50,50)
  6269. wait(0.25)
  6270. eff.Enabled = false
  6271. end))
  6272. coroutine.resume(coroutine.create(function()
  6273. for i = 0, 19 do
  6274. swait()
  6275. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  6276. end
  6277. hum.CameraOffset = vt(0,0,0)
  6278. end))
  6279. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6280. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6281. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6282. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6283. end
  6284. end))
  6285. attack = false
  6286. hum.WalkSpeed = storehumanoidWS
  6287. end
  6288.  
  6289.  
  6290. function FallenOrbs()
  6291. attack = true
  6292. hum.WalkSpeed = 2
  6293. local keptcolor = MAINRUINCOLOR
  6294. CFuncs["EchoSound"].Create("rbxassetid://358080470", char, 1.5, 1,0,10,0.15,0.5,1)
  6295. CFuncs["EchoSound"].Create("rbxassetid://358080470", root, 10, 1,0,10,0.15,0.5,1)
  6296. local radm = math.random(1,3)
  6297. if radm == 1 then
  6298. bosschatfunc("DIE!",MAINRUINCOLOR.Color,1)
  6299. elseif radm == 2 then
  6300. bosschatfunc("You Fool....",MAINRUINCOLOR.Color,1)
  6301. elseif radm == 3 then
  6302. bosschatfunc("YOU WON'T EXIST FOR LONG!",MAINRUINCOLOR.Color,1)
  6303. end
  6304. coroutine.resume(coroutine.create(function()
  6305. for i = 0, 29 do
  6306. swait(2)
  6307. local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
  6308. dis.Anchored = true
  6309. CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  6310. dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35))
  6311. CreateMesh(dis,"Sphere",2,2,2)
  6312. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  6313. 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"))
  6314. coroutine.resume(coroutine.create(function()
  6315. wait(0.5)
  6316. dis.Anchored = false
  6317. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 9, 1,0,2,0.15,0.1,1)
  6318. local at1 = Instance.new("Attachment",dis)
  6319. at1.Position = vt(-1,0,0)
  6320. local at2 = Instance.new("Attachment",dis)
  6321. at2.Position = vt(1,0,0)
  6322. local trl = Instance.new('Trail',dis)
  6323. trl.Attachment0 = at1
  6324. trl.FaceCamera = true
  6325. trl.Attachment1 = at2
  6326. trl.Texture = "rbxassetid://1049219073"
  6327. trl.LightEmission = 1
  6328. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6329. trl.Color = ColorSequence.new(dis.Color)
  6330. trl.Lifetime = 0.6
  6331. local a = Instance.new("Part",workspace)
  6332. a.Name = "Direction"
  6333. a.Anchored = true
  6334. a.BrickColor = bc("Bright red")
  6335. a.Material = "Neon"
  6336. a.Transparency = 1
  6337. a.CanCollide = false
  6338. local ray = Ray.new(
  6339. dis.CFrame.p, -- origin
  6340. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6341. )
  6342. local ignore = dis
  6343. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6344. a.BottomSurface = 10
  6345. a.TopSurface = 10
  6346. local distance = (dis.CFrame.p - position).magnitude
  6347. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6348. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6349. dis.CFrame = a.CFrame
  6350. a:Destroy()
  6351. local bv = Instance.new("BodyVelocity")
  6352. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6353. bv.velocity = dis.CFrame.lookVector*500
  6354. bv.Parent = dis
  6355. game:GetService("Debris"):AddItem(dis, 5)
  6356. local hitted = false
  6357. coroutine.resume(coroutine.create(function()
  6358. dis.Touched:connect(function(hit)
  6359. if hitted == false and hit.Parent ~= char then
  6360. hitted = true
  6361. CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 5, 0.8,0,10,0.15,0.5,1)
  6362. MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  6363. sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color)
  6364. sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  6365. coroutine.resume(coroutine.create(function()
  6366. for i = 0, 4 do
  6367. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6368. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6369. local at1 = Instance.new("Attachment",disr)
  6370. at1.Position = vt(-10,0,0)
  6371. local at2 = Instance.new("Attachment",disr)
  6372. at2.Position = vt(10,0,0)
  6373. local trl = Instance.new('Trail',disr)
  6374. trl.Attachment0 = at1
  6375. trl.FaceCamera = true
  6376. trl.Attachment1 = at2
  6377. trl.Texture = "rbxassetid://2342682798"
  6378. trl.LightEmission = 1
  6379. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6380. trl.Color = ColorSequence.new(disr.Color)
  6381. trl.Lifetime = 0.5
  6382. local bv = Instance.new("BodyVelocity")
  6383. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6384. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  6385. bv.Parent = disr
  6386. local val = 0
  6387. coroutine.resume(coroutine.create(function()
  6388. swait(30)
  6389. for i = 0, 9 do
  6390. swait()
  6391. val = val + 0.1
  6392. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6393. end
  6394. game:GetService("Debris"):AddItem(disr, 3)
  6395. end))
  6396. end
  6397. local eff = Instance.new("ParticleEmitter",dis)
  6398. eff.Texture = "rbxassetid://1049219073"
  6399. eff.LightEmission = 1
  6400. eff.Color = ColorSequence.new(dis.Color)
  6401. eff.Rate = 500000
  6402. eff.Lifetime = NumberRange.new(0.5,2)
  6403. 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)})
  6404. 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)})
  6405. eff.Speed = NumberRange.new(20,250)
  6406. eff.Drag = 5
  6407. eff.Rotation = NumberRange.new(-500,500)
  6408. eff.VelocitySpread = 9000
  6409. eff.RotSpeed = NumberRange.new(-50,50)
  6410. wait(0.5)
  6411. eff.Enabled = false
  6412. end))
  6413. for i = 0, 4 do
  6414. 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"))
  6415. end
  6416. coroutine.resume(coroutine.create(function()
  6417. for i = 0, 19 do
  6418. swait()
  6419. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6420. end
  6421. hum.CameraOffset = vt(0,0,0)
  6422. end))
  6423. dis.Anchored = true
  6424. dis.Transparency = 1
  6425. wait(8)
  6426. dis:Destroy()
  6427. end
  6428. end)
  6429. end))
  6430. end))
  6431. end
  6432. end))
  6433. for i = 0,9,0.1 do
  6434. swait()
  6435. 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)
  6436. 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)
  6437. 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)
  6438. 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)
  6439. 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)
  6440. 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)
  6441. 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)
  6442. end
  6443. attack = false
  6444. hum.WalkSpeed = storehumanoidWS
  6445. end
  6446.  
  6447. function EquinoxOrbs()
  6448. hum.WalkSpeed = 0
  6449. attack = true
  6450. for i = 0,1,0.1 do
  6451. swait()
  6452. 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)
  6453. 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)
  6454. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6455. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6456. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  6457. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  6458. end
  6459. --sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  6460. --sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  6461. for i = 0, 24 do
  6462. --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"))
  6463. end
  6464. bosschatfunc("TAKE THIS!",MAINRUINCOLOR.Color,1)
  6465. CFuncs["EchoSound"].Create("rbxassetid://313205954", char, 4, 1,0,10,0.15,0.5,1)
  6466. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  6467. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  6468. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  6469. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  6470. for i = 0,1,0.1 do
  6471. swait()
  6472. 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)
  6473. 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)
  6474. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6475. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6476. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  6477. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  6478. end
  6479. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  6480. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  6481. for i = 0, 24 do
  6482. 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"))
  6483. end
  6484. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  6485. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  6486. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  6487. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  6488. for i = 0,4,0.1 do
  6489. swait()
  6490. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  6491. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  6492. CreateMesh(dis,"Sphere",1,1,1)
  6493. dis.Anchored = true
  6494. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  6495. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
  6496. CreateMesh(dis2,"Sphere",1,1,1)
  6497. dis2.Anchored = true
  6498. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  6499. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  6500. sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  6501. coroutine.resume(coroutine.create(function()
  6502. swait(60)
  6503. dis.Transparency = 1
  6504. dis2.Transparency = 1
  6505. coroutine.resume(coroutine.create(function()
  6506. for i = 0, 19 do
  6507. swait()
  6508. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  6509. end
  6510. hum.CameraOffset = vt(0,0,0)
  6511. end))
  6512. coroutine.resume(coroutine.create(function()
  6513. local eff = Instance.new("ParticleEmitter",dis)
  6514. eff.Texture = "rbxassetid://2273224484"
  6515. eff.LightEmission = 1
  6516. eff.Color = ColorSequence.new(dis.Color)
  6517. eff.Rate = 500000
  6518. eff.Lifetime = NumberRange.new(0.5,2)
  6519. 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)})
  6520. 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)})
  6521. eff.Speed = NumberRange.new(50,450)
  6522. eff.Drag = 5
  6523. eff.Rotation = NumberRange.new(-500,500)
  6524. eff.VelocitySpread = 9000
  6525. eff.RotSpeed = NumberRange.new(-50,50)
  6526. local eff2 = eff:Clone()
  6527. eff2.Parent = dis2
  6528. eff2.LightEmission = 0
  6529. eff2.Color = ColorSequence.new(dis2.Color)
  6530. wait(0.25)
  6531. eff.Enabled = false
  6532. eff2.Enabled = false
  6533. end))
  6534. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  6535. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  6536. for i = 0, 2 do
  6537. 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)
  6538. 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)
  6539. end
  6540. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  6541. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  6542. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  6543. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  6544. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  6545. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  6546. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  6547. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  6548. end))
  6549. game:GetService("Debris"):AddItem(dis, 5)
  6550. game:GetService("Debris"):AddItem(dis2, 5)
  6551. 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)
  6552. 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)
  6553. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6554. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6555. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  6556. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  6557. end
  6558. attack = false
  6559. hum.WalkSpeed = storehumanoidWS
  6560. end
  6561.  
  6562. function FallenDEMISE()
  6563. attack = true
  6564. hum.WalkSpeed = 0
  6565. local keptcolor = MAINRUINCOLOR
  6566. bosschatfunc("HOW ABOUT THIS!?",MAINRUINCOLOR.Color,3)
  6567. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  6568. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  6569. for i = 0, 15, 0.1 do
  6570. swait()
  6571. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6572. 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)))
  6573. local at1 = Instance.new("Attachment",dis)
  6574. at1.Position = vt(-25000,0,0)
  6575. local at2 = Instance.new("Attachment",dis)
  6576. at2.Position = vt(25000,0,0)
  6577. local trl = Instance.new('Trail',dis)
  6578. trl.Attachment0 = at1
  6579. trl.FaceCamera = true
  6580. trl.Attachment1 = at2
  6581. trl.Texture = "rbxassetid://1049219073"
  6582. trl.LightEmission = 1
  6583. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6584. trl.Color = ColorSequence.new(dis.Color)
  6585. trl.Lifetime = 5
  6586. local bv = Instance.new("BodyVelocity")
  6587. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6588. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6589. bv.Parent = dis
  6590. game:GetService("Debris"):AddItem(dis, 1)
  6591. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
  6592. 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"))
  6593. 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"))
  6594. 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)
  6595. 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)
  6596. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6597. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6598. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6599. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6600. end
  6601. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  6602. for i = 0, 30, 0.1 do
  6603. swait()
  6604. coroutine.resume(coroutine.create(function()
  6605. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  6606. if v:FindFirstChild('Head') then
  6607. dmg(v)
  6608. end
  6609. end
  6610. end))
  6611. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6612. 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)))
  6613. local at1 = Instance.new("Attachment",dis)
  6614. at1.Position = vt(-50000,0,0)
  6615. local at2 = Instance.new("Attachment",dis)
  6616. at2.Position = vt(50000,0,0)
  6617. local trl = Instance.new('Trail',dis)
  6618. trl.Attachment0 = at1
  6619. trl.FaceCamera = true
  6620. trl.Attachment1 = at2
  6621. trl.Texture = "rbxassetid://1049219073"
  6622. trl.LightEmission = 1
  6623. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6624. trl.Color = ColorSequence.new(dis.Color)
  6625. trl.Lifetime = 10
  6626. local bv = Instance.new("BodyVelocity")
  6627. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6628. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  6629. bv.Parent = dis
  6630. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  6631. sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
  6632. sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
  6633. 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"))
  6634. 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"))
  6635. 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"))
  6636. 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"))
  6637. for i = 0, 2 do
  6638. 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)
  6639. end
  6640. 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)
  6641. 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)
  6642. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6643. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6644. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6645. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6646. end
  6647. attack = false
  6648. hum.WalkSpeed = storehumanoidWS
  6649. end
  6650.  
  6651. function EightBitMegaBlade()
  6652. attack = true
  6653. hum.WalkSpeed = 0
  6654. hum.JumpPower = 0
  6655. CFuncs["Sound"].Create("rbxassetid://1368583274", larm, 4.5, 1.2)
  6656. local OverCut = false
  6657. cam.CameraSubject = Humanoid
  6658. cam.CameraType = "Scriptable"
  6659. coroutine.resume(coroutine.create(function()
  6660. while true do
  6661. swait()
  6662. if OverCut == false then
  6663. cam.CFrame = lerp(cam.CFrame, root.CFrame * cf(1, 1.5, -6) * ceuler(math.rad(10), math.rad(170), math.rad(-20)), 0.1)
  6664. else
  6665. break
  6666. end
  6667. end
  6668. end))
  6669. for i = 0, 10, 0.1 do
  6670. swait()
  6671. 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"))
  6672. 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)
  6673. 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"))
  6674. 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)
  6675. 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)
  6676. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  6677. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15),math.rad(5),math.rad(50)),.3)
  6678. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-13),math.rad(-40),math.rad(20)),.3)
  6679. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(170),math.rad(10),math.rad(0)),.3)
  6680. end
  6681. OverCut = true
  6682. local orb = Instance.new("Part", char)
  6683. orb.Anchored = true
  6684. orb.BrickColor = BrickColor.new("Toothpaste")
  6685. orb.CanCollide = false
  6686. orb.FormFactor = 3
  6687. orb.Name = "Ring"
  6688. orb.Material = "Neon"
  6689. orb.Size = Vector3.new(1, 1, 1)
  6690. orb.Transparency = 0.5
  6691. orb.TopSurface = 0
  6692. orb.BottomSurface = 0
  6693. local orbm = Instance.new("SpecialMesh", orb)
  6694. orbm.MeshType = "FileMesh"
  6695. orbm.MeshId = "rbxassetid://361629844"
  6696. orbm.Scale = vt(30,60,60)
  6697. orb.CFrame = root.CFrame*CFrame.new(0,50,0)
  6698. for i = 0, 24 do
  6699. 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"))
  6700. end
  6701. sphere2(2,"Add",orb.CFrame,vt(10,10,10),0.5,0.5,0.5,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  6702. sphere2(3,"Add",orb.CFrame,vt(10,10,10),0.75,0.75,0.75,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  6703. sphere2(4,"Add",orb.CFrame,vt(10,10,10),1,1,1,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  6704. CFuncs["Sound"].Create("rbxassetid://1368637781", orb, 7.5, 1)
  6705. local a = Instance.new("Part",workspace)
  6706. a.Name = "Direction"
  6707. a.Anchored = true
  6708. a.Transparency = 1
  6709. a.CanCollide = false
  6710. local ray = Ray.new(
  6711. orb.CFrame.p, -- origin
  6712. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  6713. )
  6714. local ignore = orb
  6715. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6716. a.BottomSurface = 10
  6717. a.TopSurface = 10
  6718. local distance = (orb.CFrame.p - position).magnitude
  6719. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6720. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  6721. orb.CFrame = a.CFrame
  6722. for i = 0, 8, 0.1 do
  6723. swait()
  6724. 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)
  6725. ray = Ray.new(
  6726. orb.CFrame.p, -- origin
  6727. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  6728. )
  6729. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6730. distance = (orb.CFrame.p - position).magnitude
  6731. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  6732. orb.CFrame = a.CFrame
  6733. 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"))
  6734. cam.CFrame = lerp(cam.CFrame, root.CFrame * cf(20, 65, 55) * ceuler(math.rad(-20), math.rad(0), math.rad(10)), 0.2)
  6735. 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)
  6736. 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)
  6737. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  6738. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(90)),.3)
  6739. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-13),math.rad(-20),math.rad(20)),.3)
  6740. LW.C0=clerp(LW.C0,cf(-1.25,0.5,-0.5)*angles(math.rad(100),math.rad(0),math.rad(60)),.3)
  6741. end
  6742. cam.CameraType = "Custom"
  6743. orb.Anchored = false
  6744. a:Destroy()
  6745. local bv = Instance.new("BodyVelocity")
  6746. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6747. bv.velocity = orb.CFrame.lookVector*250
  6748. bv.Parent = orb
  6749. local hitted = false
  6750. CFuncs["Sound"].Create("rbxassetid://466493476", orb, 7.5, 0.7)
  6751. 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"))
  6752. 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"))
  6753. coroutine.resume(coroutine.create(function()
  6754. while true do
  6755. swait(2)
  6756. if hitted == false and orb.Parent ~= nil then
  6757. 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"))
  6758. elseif hitted == true and orb.Parent == nil then
  6759. break
  6760. end
  6761. end
  6762. end))
  6763. orb.Touched:connect(function(hit)
  6764. if hitted == false and hit.Parent ~= char then
  6765. hitted = true
  6766. MagniDamage(orb, 30, 72,95, 0, "Normal",153092213)
  6767. CFuncs["Sound"].Create("rbxassetid://763717897", orb, 10, 1)
  6768. CFuncs["Sound"].Create("rbxassetid://1295446488", orb, 9, 0.75)
  6769. for i = 0, 24 do
  6770. 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"))
  6771. end
  6772. 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"))
  6773. 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"))
  6774. sphere2(1,"Add",orb.CFrame,vt(10,10,10),1,1,1,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  6775. 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)
  6776. sphere2(2,"Add",orb.CFrame,vt(10,10,10),1.2,1.2,1.2,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  6777. orb.Anchored = true
  6778. orb.Transparency = 1
  6779. coroutine.resume(coroutine.create(function()
  6780. for i = 0, 4, 0.1 do
  6781. swait()
  6782. 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"))
  6783. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  6784. end
  6785. hum.CameraOffset = vt(0,0,0)
  6786. end))
  6787. wait(10)
  6788. orb:Destroy()
  6789. end
  6790. end)
  6791. game:GetService("Debris"):AddItem(orb, 10)
  6792. for i = 0, 2, 0.1 do
  6793. swait()
  6794. 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"))
  6795. 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)
  6796. 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)
  6797. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.4,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  6798. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(70)),.3)
  6799. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-13),math.rad(-40),math.rad(20)),.3)
  6800. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-80)),.3)
  6801. end
  6802. attack = false
  6803. hum.WalkSpeed = 24
  6804. hum.JumpPower = 50
  6805. end
  6806.  
  6807. function BladeSpinAgain()
  6808. attack = true
  6809. hum.WalkSpeed = 4
  6810. hum.JumpPower = 0
  6811. CFuncs["Sound"].Create("rbxassetid://1368598393", rarmor, 2, 1)
  6812. CFuncs["Sound"].Create("rbxassetid://1368583274", rarmor, 2.5, 1)
  6813. for x = 0, 9 do
  6814. 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"))
  6815. CFuncs["Sound"].Create("rbxassetid://200633108", rarmor, 2, 1.05)
  6816. CFuncs["Sound"].Create("rbxassetid://234365573", rarmor, 2.5, 1.025)
  6817. for i = 0, 1, 0.6 do
  6818. swait()
  6819. 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)
  6820. 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)
  6821. 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"))
  6822. 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)
  6823. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6824. 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)
  6825. 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)
  6826. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  6827. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(60)),.3)
  6828. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(80)),.3)
  6829. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6830. end
  6831. 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"))
  6832. for i = 0, 1, 0.6 do
  6833. swait()
  6834. 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)
  6835. 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)
  6836. 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"))
  6837. 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)
  6838. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6839. 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)
  6840. 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)
  6841. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  6842. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(60)),.3)
  6843. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(80)),.3)
  6844. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6845. end
  6846. 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"))
  6847. for i = 0, 1, 0.6 do
  6848. swait()
  6849. 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)
  6850. 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)
  6851. 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"))
  6852. 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)
  6853. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6854. 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)
  6855. 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)
  6856. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  6857. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(60)),.3)
  6858. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(80)),.3)
  6859. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6860. end
  6861. 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"))
  6862. for i = 0, 1, 0.6 do
  6863. swait()
  6864. 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)
  6865. 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)
  6866. 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"))
  6867. 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)
  6868. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6869. 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)
  6870. 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)
  6871. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  6872. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(60)),.3)
  6873. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(80)),.3)
  6874. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6875. end
  6876. local hitb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.Random())
  6877. hitb.Anchored = true
  6878. hitb.CFrame = root.CFrame + root.CFrame.lookVector*8
  6879. hitb.CFrame = hitb.CFrame*CFrame.new(0,1,0)
  6880. MagniDamage(hitb, 8, 92,158, 0, "Normal",153092213)
  6881. 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)
  6882. sphere2(5,"Add",hitb.CFrame,vt(2,2,2),-0.02,-0.02,4,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  6883. for i = 0, 24 do
  6884. 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"))
  6885. end
  6886. CFuncs["Sound"].Create("rbxassetid://313205954", root, 4,1)
  6887. CFuncs["Sound"].Create("rbxassetid://1368637781", rarmor, 4,1)
  6888. CFuncs["Sound"].Create("rbxassetid://763718160", rarmor, 5, 1.1)
  6889. CFuncs["Sound"].Create("rbxassetid://782353443", rarmor, 6, 1)
  6890. --CFuncs["Sound"].Create("rbxassetid://1548538202", rarmor, 4,1)
  6891. for i = 0, 2, 0.1 do
  6892. swait()
  6893. MagniDamage(hitb, 8, 92,158, 0, "Normal",153092213)
  6894. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  6895. 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)
  6896. 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)
  6897. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.9)
  6898. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-80)),.9)
  6899. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(70)),.9)
  6900. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(-60)),.9)
  6901. end
  6902. hum.CameraOffset = vt(0,0,0)
  6903. hitb:Destroy()
  6904. attack = false
  6905. hum.WalkSpeed = 24
  6906. hum.JumpPower = 50
  6907. end
  6908.  
  6909. function SpinnyBlade()
  6910. attack = true
  6911. hum.WalkSpeed = 1
  6912. hum.JumpPower = 0
  6913. CFuncs["Sound"].Create("rbxassetid://1368583274", root, 4.5, 1)
  6914. local bgui = Instance.new("BillboardGui",root)
  6915. bgui.Size = UDim2.new(25, 0, 25, 0)
  6916. local imgc = Instance.new("ImageLabel",bgui)
  6917. imgc.BackgroundTransparency = 1
  6918. imgc.ImageTransparency = 1
  6919. imgc.Size = UDim2.new(1,0,1,0)
  6920. imgc.Image = "rbxassetid://997291547"
  6921. imgc.ImageColor3 = Color3.new(0,0.5,1)
  6922. local imgc2 = imgc:Clone()
  6923. imgc2.Parent = bgui
  6924. imgc2.Position = UDim2.new(-0.5,0,-0.5,0)
  6925. imgc2.Size = UDim2.new(2,0,2,0)
  6926. imgc2.ImageColor3 = Color3.new(0.5,0,1)
  6927. for i = 0, 10, 0.1 do
  6928. swait()
  6929. imgc.ImageTransparency = imgc.ImageTransparency - 0.01
  6930. imgc.Rotation = imgc.Rotation + 1
  6931. imgc2.ImageTransparency = imgc2.ImageTransparency - 0.01
  6932. imgc2.Rotation = imgc2.Rotation - 1
  6933. bgui.Size = bgui.Size - UDim2.new(0.25, 0, 0.25, 0)
  6934. 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"))
  6935. 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)
  6936. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  6937. 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)
  6938. 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)
  6939. 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"))
  6940. 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)
  6941. 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)
  6942. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0.1,0.2,-0.3)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  6943. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  6944. RW.C0=clerp(RW.C0,cf(1.25,0.5,-0.65)*angles(math.rad(100),math.rad(0),math.rad(-23)),.3)
  6945. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(110),math.rad(0),math.rad(-85)),.3)
  6946. end
  6947. imgc.ImageTransparency = 1
  6948. hum.CameraOffset = vt(0,0,0)
  6949. 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"))
  6950. 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"))
  6951. 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"))
  6952. 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"))
  6953. 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"))
  6954. for i = 0, 9 do
  6955. 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"))
  6956. end
  6957. CFuncs["Sound"].Create("rbxassetid://430315987", root, 1.5, 1)
  6958. CFuncs["Sound"].Create("rbxassetid://1295446488", root, 3, 1)
  6959. for x = 0, 14 do
  6960. CFuncs["Sound"].Create("rbxassetid://200633281", rarmor, 1, 1.05)
  6961. CFuncs["Sound"].Create("rbxassetid://161006195", rarmor, 1.5, 1.025)
  6962. MagniDamage(tors, 10, 60,85, 0, "Normal",153092213)
  6963. CFuncs["Sound"].Create("rbxassetid://200632992", rarmor, 1.25, 1)
  6964. 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"))
  6965. for i = 0, 1, 0.6 do
  6966. swait()
  6967. 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)
  6968. root.CFrame = root.CFrame + root.CFrame.lookVector*2
  6969. root.Velocity = vt(0,0,0)
  6970. 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)
  6971. 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)
  6972. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  6973. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-60)),.3)
  6974. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  6975. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  6976. end
  6977. 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"))
  6978. CFuncs["Sound"].Create("rbxassetid://200632992", rarmor, 1.25, 1)
  6979. MagniDamage(tors, 10, 60,85, 0, "Normal",153092213)
  6980. for i = 0, 1, 0.6 do
  6981. swait()
  6982. 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)
  6983. root.CFrame = root.CFrame + root.CFrame.lookVector*3
  6984. root.Velocity = vt(0,0,0)
  6985. 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)
  6986. 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)
  6987. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  6988. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-60)),.3)
  6989. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  6990. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  6991. end
  6992. 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"))
  6993. CFuncs["Sound"].Create("rbxassetid://200632992", rarmor, 1.25, 1)
  6994. MagniDamage(tors, 10, 60,85, 0, "Normal",153092213)
  6995. for i = 0, 1, 0.6 do
  6996. swait()
  6997. 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)
  6998. root.CFrame = root.CFrame + root.CFrame.lookVector*3
  6999. root.Velocity = vt(0,0,0)
  7000. 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)
  7001. 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)
  7002. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(180),math.rad(0),math.rad(90)),.3)
  7003. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-60)),.3)
  7004. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  7005. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  7006. end
  7007. 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"))
  7008. CFuncs["Sound"].Create("rbxassetid://200632992", rarmor, 1.25, 1)
  7009. MagniDamage(tors, 10, 60,85, 0, "Normal",153092213)
  7010. for i = 0, 1, 0.6 do
  7011. swait()
  7012. 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)
  7013. root.CFrame = root.CFrame + root.CFrame.lookVector*3
  7014. root.Velocity = vt(0,0,0)
  7015. 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)
  7016. 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)
  7017. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(270),math.rad(0),math.rad(90)),.3)
  7018. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-60)),.3)
  7019. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  7020. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  7021. end
  7022. end
  7023. hum.WalkSpeed = 0
  7024. for i = 0, 5, 0.1 do
  7025. swait()
  7026. 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)
  7027. 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)
  7028. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0.1,0.2,-0.35)*angles(math.rad(10),math.rad(0),math.rad(-40)),.2)
  7029. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(40)),.2)
  7030. RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(110)),.2)
  7031. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0)*angles(math.rad(45),math.rad(0),math.rad(-20)),.2)
  7032. end
  7033. bgui:Destroy()
  7034. attack = false
  7035. hum.WalkSpeed = 24
  7036. hum.JumpPower = 50
  7037. end
  7038. end
  7039.  
  7040. function GleamingBeam()
  7041. attack = true
  7042. bosschatfunc("IT ENDS NOW!!!",MAINRUINCOLOR.Color,3)
  7043. CFuncs["EchoSound"].Create("rbxassetid://1535995570", char, 8, 1,0,10,0.15,0.5,1)
  7044. CFuncs["EchoSound"].Create("rbxassetid://1535995570", root, 60, 1,0,10,0.15,0.5,1)
  7045. local rsiz = math.random(1,15)
  7046. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7047. hb.Anchored = true
  7048. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7049. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
  7050. for i = 0, 16, 0.1 do
  7051. swait()
  7052. rsiz = math.random(5,15)
  7053. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7054. 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)
  7055. 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)
  7056. 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)
  7057. 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)
  7058. 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)
  7059. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-40)),.1)
  7060. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  7061. LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.1)
  7062. end
  7063. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
  7064. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
  7065. for i = 0, 2 do
  7066. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
  7067. end
  7068. 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)
  7069. 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)
  7070. 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)
  7071. for i = 0, 49 do
  7072. local rsiza = math.random(1,15)
  7073. 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)
  7074. end
  7075. local a = Instance.new("Part",Character)
  7076. a.Name = "Direction"
  7077. a.Anchored = true
  7078. a.BrickColor = MAINRUINCOLOR
  7079. a.Material = "Neon"
  7080. a.Transparency = 0
  7081. a.Shape = "Cylinder"
  7082. a.CanCollide = false
  7083. local ba = Instance.new("Part",Character)
  7084. ba.Name = "HitDirect"
  7085. ba.Anchored = true
  7086. ba.BrickColor = bc("Cool yellow")
  7087. ba.Material = "Neon"
  7088. ba.Transparency = 1
  7089. ba.CanCollide = false
  7090. local ray = Ray.new(
  7091. hb.CFrame.p, -- origin
  7092. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  7093. )
  7094. local ignore = Character
  7095. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7096. a.BottomSurface = 10
  7097. a.TopSurface = 10
  7098. local distance = (hb.CFrame.p - position).magnitude
  7099. a.Size = Vector3.new(distance, 1, 1)
  7100. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7101. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7102. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7103. local msh = Instance.new("SpecialMesh",a)
  7104. msh.MeshType = "Cylinder"
  7105. msh.Scale = vt(1,4,4)
  7106. game:GetService("Debris"):AddItem(a, 30)
  7107. game:GetService("Debris"):AddItem(ba, 30)
  7108. for i = 0, 25, 0.1 do
  7109. swait()
  7110. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7111. ray = Ray.new(
  7112. hb.CFrame.p, -- origin
  7113. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  7114. )
  7115. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7116. distance = (hb.CFrame.p - position).magnitude
  7117. a.Size = Vector3.new(distance, 1, 1)
  7118. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7119. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7120. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7121. rsiz = math.random(5,25)
  7122. MagniDamage(ba, 12, 40000,900000, 0, "Normal")
  7123. 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)
  7124. for c = 0, 2 do
  7125. 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)
  7126. end
  7127. 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)
  7128. 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)
  7129. 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)
  7130. 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)
  7131. 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)
  7132. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-80)),.6)
  7133. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(80)),.6)
  7134. LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.6)
  7135. end
  7136. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
  7137. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
  7138. CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
  7139. CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
  7140. MagniDamage(ba, 30, 400000,9000000, 0, "Normal")
  7141. 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)
  7142. 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)
  7143. 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)
  7144. 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)
  7145. 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)
  7146. 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)
  7147. for i = 0, 49 do
  7148. local rsiza = math.random(1,15)
  7149. 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)
  7150. end
  7151. for i = 0, 49 do
  7152. rsiz = math.random(1,8)
  7153. 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)
  7154. end
  7155. coroutine.resume(coroutine.create(function()
  7156. for i = 0, 99 do
  7157. swait()
  7158. a.Transparency = a.Transparency + 0.01
  7159. end
  7160. a:Destroy()
  7161. ba:Destroy()
  7162. end))
  7163. hb:Destroy()
  7164. attack = false
  7165. end
  7166.  
  7167. function SHDTwist()
  7168. attack = true
  7169. hum.WalkSpeed = 2
  7170. local radm = math.random(1,4)
  7171. if radm == 1 then
  7172. bosschatfunc("YOU FOOL!",MAINRUINCOLOR.Color,1)
  7173. elseif radm == 2 then
  7174. bosschatfunc("SUBMIT TO ME!",MAINRUINCOLOR.Color,1)
  7175. elseif radm == 3 then
  7176. bosschatfunc("DIE!",MAINRUINCOLOR.Color,1)
  7177. elseif radm == 4 then
  7178. bosschatfunc("YOU DARE FIGHT ME?",MAINRUINCOLOR.Color,1)
  7179. end
  7180. CFuncs["EchoSound"].Create("rbxassetid://1448033299", rarm, 1.5,1.25)
  7181. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1.5,1.25)
  7182. local obj1 = script.chring2:Clone()
  7183. obj1.Parent = char
  7184. obj1.Transparency = 1
  7185. obj1.Size = vt(1,1,1)
  7186. obj1.Color = BrickColor.new("Pink").Color
  7187. local obj2 = script.spball:Clone()
  7188. obj2.Parent = char
  7189. obj2.Transparency = 1
  7190. obj2.Size = vt(1,1,1)
  7191. obj2.Color = MAINRUINCOLOR.Color
  7192. local cfor = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  7193. cfor.Anchored = true
  7194. cfor.CFrame = obj2.CFrame
  7195. local cef = Instance.new("ParticleEmitter",cfor)
  7196. cef.Texture = "rbxassetid://2344870656"
  7197. cef.LightEmission = 1
  7198. cef.Color = ColorSequence.new(obj2.Color)
  7199. cef.Rate = 150
  7200. cef.Lifetime = NumberRange.new(0.25)
  7201. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,1,0),NumberSequenceKeypoint.new(1,0,0)})
  7202. cef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  7203. cef.Speed = NumberRange.new(0)
  7204. local rval = 0
  7205. local eval = 1
  7206. for i = 0,7,0.1 do
  7207. swait()
  7208. rval = rval + math.random(30,40)
  7209. eval = eval + 0.45
  7210. obj1.Transparency = obj1.Transparency - 0.005
  7211. obj1.Size = obj1.Size + vt(0.3,0.3,0.1)
  7212. obj1.CFrame = root.CFrame*CFrame.new(0,1,-5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(rval))
  7213. obj2.Transparency = obj2.Transparency - 0.007
  7214. obj2.Size = obj2.Size + vt(0.15,0.15,0.15)
  7215. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,eval,0),NumberSequenceKeypoint.new(1,0,0)})
  7216. obj2.CFrame = root.CFrame*CFrame.new(0,1,-7)*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  7217. cfor.CFrame = obj2.CFrame
  7218. 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)
  7219. 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)
  7220. 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)
  7221. 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)
  7222. 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)
  7223. 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)
  7224. 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)
  7225. 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)
  7226. end
  7227. cef.Enabled = false
  7228. coroutine.resume(coroutine.create(function()
  7229. for i = 0,49 do
  7230. swait()
  7231. rval = rval + 100
  7232. obj2.CFrame = obj2.CFrame*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  7233. obj2.Transparency = obj2.Transparency + 0.02
  7234. obj2.Size = obj2.Size + vt(5,5,5)
  7235. obj1.Transparency = obj1.Transparency + 0.02
  7236. obj1.Size = obj1.Size + vt(0,-0.5,-0.5)
  7237. end
  7238. obj1:Destroy()
  7239. obj2:Destroy()
  7240. cfor:Destroy()
  7241. end))
  7242. local lva = 1
  7243. local ica = 0
  7244. local cent = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  7245. CFuncs["Sound"].Create("rbxassetid://1177785010", cent, 10, 1)
  7246. cent.CFrame = root.CFrame*CFrame.Angles(0,0,0) + root.CFrame.lookVector*5
  7247. 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)
  7248. sphere2(3,"Add",cent.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  7249.  
  7250. local a = Instance.new("Part",workspace)
  7251. a.Name = "Direction"
  7252. a.Anchored = true
  7253. a.BrickColor = bc("Bright red")
  7254. a.Material = "Neon"
  7255. a.Transparency = 1
  7256. a.CanCollide = false
  7257. local ray = Ray.new(
  7258. cent.CFrame.p, -- origin
  7259. (mouse.Hit.p - cent.CFrame.p).unit * 500 -- direction
  7260. )
  7261. local ignore = cent
  7262. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7263. a.BottomSurface = 10
  7264. a.TopSurface = 10
  7265. local distance = (cent.CFrame.p - position).magnitude
  7266. a.Size = Vector3.new(0.1, 0.1, 0.1)
  7267. a.CFrame = CFrame.new(cent.CFrame.p, position) * CFrame.new(0, 0, 0)
  7268. cent.CFrame = a.CFrame
  7269. a:Destroy()
  7270. local bv = Instance.new("BodyVelocity")
  7271. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7272. bv.velocity = cent.CFrame.lookVector*0
  7273. bv.Parent = cent
  7274. game:GetService("Debris"):AddItem(cent, 20)
  7275. local hitted = false
  7276. coroutine.resume(coroutine.create(function()
  7277. while true do
  7278. swait(1)
  7279. if hitted == false and cent.Parent ~= nil then
  7280. ica = ica + 4*lva
  7281. lva = lva + 0.1
  7282. bv.velocity = cent.CFrame.lookVector*ica
  7283. sphere2(3,"Add",cent.CFrame,vt(5,5,5),-0.05,-0.05,-0.05,BrickColor.new("Pastel light blue"))
  7284. 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"))
  7285. 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"))
  7286. elseif hitted == true or cent.Parent == nil then
  7287. break
  7288. end
  7289. end
  7290. end))
  7291. coroutine.resume(coroutine.create(function()
  7292. cent.Touched:connect(function(hit)
  7293. if hitted == false and hit.Parent ~= char then
  7294. hitted = true
  7295. cent.Anchored = true
  7296. CFuncs["Sound"].Create("rbxassetid://782353443", cent, 10, 1)
  7297. CFuncs["Sound"].Create("rbxassetid://1368637781", cent, 8, 1)
  7298. CFuncs["Sound"].Create("rbxassetid://763717897", cent, 5, 1)
  7299. CFuncs["EchoSound"].Create("rbxassetid://1177785010", cent, 8, 1.1,0,10,0.15,0.5,1)
  7300. MagniDamage(cent, 50, 50,99999, 0, "Normal")
  7301. sphere2(2,"Add",cent.CFrame,vt(1,1,1),1,1,1,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  7302. sphere2(3,"Add",cent.CFrame,vt(1,1,1),1.2,1.2,1.2,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  7303. for i = 0, 19 do
  7304. 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"))
  7305. 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"))
  7306. end
  7307. coroutine.resume(coroutine.create(function()
  7308. local eff = Instance.new("ParticleEmitter",cent)
  7309. eff.Texture = "rbxassetid://2344870656"
  7310. eff.LightEmission = 1
  7311. eff.Color = ColorSequence.new(BrickColor.new("Pastel light blue").Color)
  7312. eff.Rate = 10000000
  7313. eff.Enabled = true
  7314. --eff.EmissionDirection = "Front"
  7315. eff.Lifetime = NumberRange.new(5)
  7316. 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)})
  7317. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  7318. eff.Speed = NumberRange.new(350)
  7319. eff.Drag = 5
  7320. eff.Rotation = NumberRange.new(-500,500)
  7321. eff.SpreadAngle = Vector2.new(0,900)
  7322. eff.RotSpeed = NumberRange.new(-500,500)
  7323. local eff2 = eff:Clone()
  7324. eff2.Parent = cent
  7325. eff2.Speed = NumberRange.new(250)
  7326. eff2.Color = ColorSequence.new(BrickColor.new("Pink").Color)
  7327. wait(0.2)
  7328. eff.Enabled = false
  7329. eff2.Enabled = false
  7330. end))
  7331. end
  7332. end)
  7333. end))
  7334. attack = false
  7335. hum.WalkSpeed = storehumanoidWS
  7336. end
  7337.  
  7338. function dragin()
  7339. local targetted = nil
  7340. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  7341. targetted = mouse.Target.Parent
  7342. end
  7343. if targetted ~= nil then
  7344. RootPart.CFrame = FaceMouse()[1]
  7345. attack = true
  7346. hum.WalkSpeed = 0
  7347. for x = 0, 1 do
  7348. for i = 0,1,0.5 do
  7349. swait()
  7350. 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)
  7351. 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)
  7352. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  7353. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  7354. 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)
  7355. 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)
  7356. end
  7357. for i = 0,1,0.5 do
  7358. swait()
  7359. 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)
  7360. 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)
  7361. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(180)),.3)
  7362. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  7363. 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)
  7364. 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)
  7365. end
  7366. for i = 0,1,0.5 do
  7367. swait()
  7368. 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)
  7369. 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)
  7370. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(270)),.3)
  7371. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  7372. 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)
  7373. 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)
  7374. end
  7375. for i = 0,1,0.5 do
  7376. swait()
  7377. 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)
  7378. 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)
  7379. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7380. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  7381. 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)
  7382. 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)
  7383. end
  7384. end
  7385. coroutine.resume(coroutine.create(function()
  7386. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 50
  7387. CFuncs["Sound"].Create("rbxassetid://884155627", targetted.Head, 1,1)
  7388. CFuncs["Sound"].Create("rbxassetid://153092213", targetted.Head, 2.5,1)
  7389. end))
  7390. local A1 = Instance.new("Attachment",targetted.Head)
  7391. local A2 = Instance.new("Attachment",sorb)
  7392. local Beem = Instance.new("Beam",tors)
  7393. Beem.Attachment0 = A1
  7394. Beem.Attachment1 = A2
  7395. Beem.Texture = "rbxassetid://897585362"
  7396. Beem.LightEmission = 0.75
  7397. Beem.FaceCamera = true
  7398. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
  7399. Beem.Width0 = 1
  7400. Beem.Width1 = 1
  7401. Beem.TextureMode = "Wrap"
  7402. Beem.TextureLength = 1
  7403. Beem.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7404. 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)
  7405. 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)
  7406. for x = 0, 24 do
  7407. local rsiz = math.random(5,15)
  7408. 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)
  7409. end
  7410.  
  7411. CFuncs["EchoSound"].Create("rbxassetid://131228548", char, 7, 1,0,10,0.15,0.5,1)
  7412. CFuncs["EchoSound"].Create("rbxassetid://131228548", root, 60, 1,0,10,0.15,0.5,1)
  7413. local radm = math.random(1,2)
  7414. if radm == 1 then
  7415. bosschatfunc("GET OVER HERE!",MAINRUINCOLOR.Color,1)
  7416. elseif radm == 2 then
  7417. bosschatfunc("COM'ERE!!",MAINRUINCOLOR.Color,1)
  7418. end
  7419. for i = 0,3,0.1 do
  7420. swait()
  7421. coroutine.resume(coroutine.create(function()
  7422. local rsiz = math.random(5,15)
  7423. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
  7424. 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)
  7425. end))
  7426. 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)
  7427. 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)
  7428. 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)
  7429. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(50)),.6)
  7430. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(-50)),.6)
  7431. 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)
  7432. 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)
  7433. end
  7434. CFuncs["Sound"].Create("rbxassetid://231917750", sorb, 1.25,0.9)
  7435. CFuncs["Sound"].Create("rbxassetid://1042716828", sorb, 1.5,1)
  7436. local vel = Instance.new("BodyPosition", targetted.Head)
  7437. vel.P = 12500
  7438. vel.D = 1000
  7439. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  7440. vel.position = hed.CFrame.p + root.CFrame.lookVector*2.75
  7441. for i = 0,4,0.1 do
  7442. swait()
  7443. coroutine.resume(coroutine.create(function()
  7444. local rsiz = math.random(5,15)
  7445. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
  7446. 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)
  7447. end))
  7448. 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)
  7449. 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)
  7450. 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)
  7451. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  7452. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(40)),.2)
  7453. 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)
  7454. 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)
  7455. end
  7456. local visibility = 0
  7457. coroutine.resume(coroutine.create(function()
  7458. for i = 0, 49 do
  7459. swait()
  7460. visibility = visibility + 0.02
  7461. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, visibility),NumberSequenceKeypoint.new(1, visibility)})
  7462. end
  7463. Beem:Destroy()
  7464. A1:Destroy()
  7465. A2:Destroy()
  7466. end))
  7467. game:GetService("Debris"):AddItem(vel,0.75)
  7468. attack = false
  7469. hum.WalkSpeed = storehumanoidWS
  7470.  
  7471. end
  7472. end
  7473.  
  7474. function DualGleamingBeam()
  7475. attack = true
  7476. hum.WalkSpeed = 0
  7477. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 5, 1,0,10,0.15,0.5,1)
  7478. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 60, 1,0,10,0.15,0.5,1)
  7479. local radm = math.random(1,3)
  7480. if radm == 1 then
  7481. bosschatfunc("YOU CAN'T ESCAPE THIS!!",MAINRUINCOLOR.Color,1)
  7482. elseif radm == 2 then
  7483. bosschatfunc("HOW DO YOU LIKE THIS?!",MAINRUINCOLOR.Color,1)
  7484. elseif radm == 3 then
  7485. bosschatfunc("You make the choice..",MAINRUINCOLOR.Color,1)
  7486. end
  7487. local rsiz = math.random(1,15)
  7488. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7489. hb.Anchored = true
  7490. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7491. local hb2 = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7492. hb2.Anchored = true
  7493. hb2.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7494. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
  7495. CFuncs["Sound"].Create("rbxassetid://138677306", sorb, 8,0.25)
  7496. for i = 0, 14, 0.1 do
  7497. swait()
  7498. rsiz = math.random(5,15)
  7499. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7500. hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0)
  7501. 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)
  7502. 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)
  7503. 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)
  7504. 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"))
  7505. 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)
  7506. 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)
  7507. 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)
  7508. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.1)
  7509. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(120)),.1)
  7510. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-120)),.1)
  7511. end
  7512. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
  7513. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
  7514. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb2, 10,0.6)
  7515. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb2, 10,0.5)
  7516. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
  7517. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb2, 10,1)
  7518. 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)
  7519. 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)
  7520. 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)
  7521. 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"))
  7522. 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"))
  7523. 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"))
  7524. for i = 0, 49 do
  7525. local rsiza = math.random(1,15)
  7526. 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)
  7527. 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)
  7528. end
  7529. local a = Instance.new("Part",Character)
  7530. a.Name = "Direction"
  7531. a.Anchored = true
  7532. a.BrickColor = MAINRUINCOLOR
  7533. a.Material = "Neon"
  7534. a.Transparency = 0
  7535. a.Shape = "Cylinder"
  7536. a.CanCollide = false
  7537. local a2 = Instance.new("Part",Character)
  7538. a2.Name = "Direction"
  7539. a2.Anchored = true
  7540. a2.BrickColor = MAINRUINCOLOR
  7541. a2.Material = "Neon"
  7542. a2.Transparency = 0
  7543. a2.Shape = "Cylinder"
  7544. a2.CanCollide = false
  7545. local ba = Instance.new("Part",Character)
  7546. ba.Name = "HitDirect"
  7547. ba.Anchored = true
  7548. ba.BrickColor = MAINRUINCOLOR
  7549. ba.Material = "Neon"
  7550. ba.Transparency = 1
  7551. ba.CanCollide = false
  7552. local ba2 = Instance.new("Part",Character)
  7553. ba2.Name = "HitDirect"
  7554. ba2.Anchored = true
  7555. ba2.BrickColor = MAINRUINCOLOR
  7556. ba2.Material = "Neon"
  7557. ba2.Transparency = 1
  7558. ba2.CanCollide = false
  7559. local ray = Ray.new(
  7560. hb.CFrame.p, -- origin
  7561. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  7562. )
  7563. local ignore = Character
  7564. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7565. local ray2 = Ray.new(
  7566. hb2.CFrame.p, -- origin
  7567. (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction
  7568. )
  7569. local hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore)
  7570. local distance2 = (hb2.CFrame.p - position).magnitude
  7571.  
  7572. a.BottomSurface = 10
  7573. a.TopSurface = 10
  7574. local distance = (hb.CFrame.p - position).magnitude
  7575. a.Size = Vector3.new(distance, 1, 1)
  7576. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7577. a2.BottomSurface = 10
  7578. a2.TopSurface = 10
  7579. a2.Size = Vector3.new(distance2, 1, 1)
  7580. a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2)
  7581. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7582. ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2)
  7583. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7584. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  7585. local msh = Instance.new("SpecialMesh",a)
  7586. msh.MeshType = "Cylinder"
  7587. msh.Scale = vt(1,4,4)
  7588. local msh2 = Instance.new("SpecialMesh",a2)
  7589. msh2.MeshType = "Cylinder"
  7590. msh2.Scale = vt(1,4,4)
  7591. game:GetService("Debris"):AddItem(a, 30)
  7592. game:GetService("Debris"):AddItem(a2, 30)
  7593. game:GetService("Debris"):AddItem(ba, 30)
  7594. game:GetService("Debris"):AddItem(ba2, 30)
  7595. for i = 0, 20, 0.1 do
  7596. swait()
  7597. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7598. hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0)
  7599. ray = Ray.new(
  7600. hb.CFrame.p, -- origin
  7601. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  7602. )
  7603. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7604. distance = (hb.CFrame.p - position).magnitude
  7605. ray2 = Ray.new(
  7606. hb2.CFrame.p, -- origin
  7607. (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction
  7608. )
  7609. hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore)
  7610. distance2 = (hb2.CFrame.p - position).magnitude
  7611. a.Size = Vector3.new(distance, 1, 1)
  7612. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7613. a2.Size = Vector3.new(distance2, 1, 1)
  7614. a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2)
  7615. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7616. ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2)
  7617. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7618. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  7619. rsiz = math.random(5,25)
  7620. MagniDamage(ba, 12, 800,18000, 0, "Normal")
  7621. MagniDamage(ba2, 12, 800,18000, 0, "Normal")
  7622. for i, v in pairs(FindNearestHead(ba.CFrame.p, 4)) do
  7623. if v:FindFirstChild('Head') then
  7624. dmg(v)
  7625. end
  7626. end
  7627. coroutine.resume(coroutine.create(function()
  7628. local bx = Instance.new("Part",Character)
  7629. bx.Name = "Location"
  7630. bx.Anchored = true
  7631. bx.BrickColor = MAINRUINCOLOR
  7632. bx.Material = "Neon"
  7633. bx.Transparency = 1
  7634. bx.CanCollide = false
  7635. bx.Position = ba.Position
  7636. sphere2(2,"Add",bx.CFrame,vt(20,0.5,20),0.001,0,0.001,MAINRUINCOLOR)
  7637. wait(math.random(1,2))
  7638. sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.1,0,0.1,bc("Lime green"))
  7639. sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.25,0,0.25,MAINRUINCOLOR)
  7640. sphere2(6,"Add",bx.CFrame,vt(10,10,10),0.5,0.5,0.5,bc("Lime green"))
  7641. CFuncs["Sound"].Create("rbxassetid://1042693018", bx, 5,0.7)
  7642. CFuncs["Sound"].Create("rbxassetid://1042695469", bx, 5,0.8)
  7643. MagniDamage(bx, 20, 80000,900000, 0, "Normal")
  7644. for i, v in pairs(FindNearestHead(bx.CFrame.p, 15)) do
  7645. if v:FindFirstChild('Head') then
  7646. dmg(v)
  7647. end
  7648. end
  7649. wait(5)
  7650. bx:Destroy()
  7651. end))
  7652. 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)
  7653. 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)
  7654. for c = 0, 2 do
  7655. 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)
  7656. end
  7657. 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)
  7658. 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)
  7659. 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)
  7660. 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)
  7661. 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)
  7662. 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)
  7663. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.05)
  7664. RW.C0=clerp(RW.C0,cf(1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-15)),.05)
  7665. LW.C0=clerp(LW.C0,cf(-1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(15)),.05)
  7666. end
  7667. for i = 0, 1 do
  7668. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
  7669. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
  7670. CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
  7671. CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
  7672. end
  7673. MagniDamage(ba, 30, 8000,180000, 0, "Normal")
  7674. MagniDamage(ba2, 30, 8000,180000, 0, "Normal")
  7675. for i, v in pairs(FindNearestHead(ba.CFrame.p, 10)) do
  7676. if v:FindFirstChild('Head') then
  7677. dmg(v)
  7678. end
  7679. end
  7680. 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)
  7681. 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)
  7682. 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)
  7683. 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)
  7684. 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)
  7685. 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)
  7686. 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"))
  7687. 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"))
  7688. 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"))
  7689. for i = 0, 49 do
  7690. local rsiza = math.random(1,15)
  7691. 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)
  7692. 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)
  7693. end
  7694. for i = 0, 49 do
  7695. rsiz = math.random(1,8)
  7696. 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)
  7697. end
  7698. coroutine.resume(coroutine.create(function()
  7699. for i = 0, 99 do
  7700. swait()
  7701. a.Transparency = a.Transparency + 0.01
  7702. a2.Transparency = a2.Transparency + 0.01
  7703. end
  7704. a:Destroy()
  7705. ba:Destroy()
  7706. a2:Destroy()
  7707. ba2:Destroy()
  7708. end))
  7709. hum.WalkSpeed = storehumanoidWS
  7710. hb:Destroy()
  7711. hb2:Destroy()
  7712. attack = false
  7713. end
  7714.  
  7715. function Counter()
  7716. hum.WalkSpeed = 0
  7717. CFuncs["EchoSound"].Create("rbxassetid://2370794297", char, 5, 1,0,10,0.15,0.5,1)
  7718. CFuncs["EchoSound"].Create("rbxassetid://2370794297", root, 60, 1,0,10,0.15,0.5,1)
  7719. bosschatfunc("COUNTER!!",MAINRUINCOLOR.Color,1)
  7720. attack = true
  7721. for i = 0,1,0.1 do
  7722. swait()
  7723. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  7724. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  7725. 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)
  7726. 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)
  7727. 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)
  7728. 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)
  7729. end
  7730. CameraEnshaking(3,4)
  7731. MagniDamageWithEffect(root, 24, 0,0, 75, "Normal")
  7732. 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)
  7733. 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)
  7734. 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)
  7735. coroutine.resume(coroutine.create(function()
  7736. local eff = Instance.new("ParticleEmitter",root)
  7737. eff.Texture = "rbxassetid://363275192"
  7738. eff.LightEmission = 0.95
  7739. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7740. eff.Rate = 10000
  7741. eff.Lifetime = NumberRange.new(1)
  7742. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  7743. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  7744. eff.Speed = NumberRange.new(10,125)
  7745. eff.Drag = 5
  7746. eff.Rotation = NumberRange.new(-500,500)
  7747. eff.VelocitySpread = 9000
  7748. eff.RotSpeed = NumberRange.new(-50,50)
  7749. local eff2 = eff:Clone()
  7750. eff2.Parent = root
  7751. eff2.Texture = "rbxassetid://284205403"
  7752. eff2.Rate = 10000
  7753. 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)})
  7754. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  7755. eff2.Drag = 5
  7756. eff2.Speed = NumberRange.new(10,50)
  7757. eff2.Rotation = NumberRange.new(-500,500)
  7758. eff2.VelocitySpread = 9000
  7759. wait(0.25)
  7760. eff2.Enabled = false
  7761. eff.Enabled = false
  7762. wait(3)
  7763. eff2:Destroy()
  7764. eff:Destroy()
  7765. end))
  7766. for i = 0, 9 do
  7767. 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)
  7768. end
  7769. for i = 0, 24 do
  7770. local rsiz = math.random(5,20)
  7771. 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)
  7772. end
  7773. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
  7774. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
  7775. CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
  7776. for i = 0,2,0.1 do
  7777. swait()
  7778. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  7779. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  7780. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  7781. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  7782. 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)
  7783. 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)
  7784. end
  7785. hum.WalkSpeed = storehumanoidWS
  7786. attack = false
  7787. end
  7788.  
  7789. function CyberSlash()
  7790. local posit = -2
  7791. attack = true
  7792. hum.WalkSpeed = 5
  7793. CFuncs["EchoSound"].Create("rbxassetid://1448033920", char, 5, 1,0,10,0.15,0.5,1)
  7794. local radm = math.random(1,3)
  7795. if radm == 1 then
  7796. bosschatfunc("FIBER!!!",MAINRUINCOLOR.Color,1)
  7797. elseif radm == 2 then
  7798. bosschatfunc("SLASHED!!",MAINRUINCOLOR.Color,1)
  7799. elseif radm == 3 then
  7800. bosschatfunc("TAKE MY CLAW!!",MAINRUINCOLOR.Color,1)
  7801. end
  7802. CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
  7803. for i = 0,2,0.1 do
  7804. swait()
  7805. 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)
  7806. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
  7807. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
  7808. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  7809. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
  7810. 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)
  7811. 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)
  7812. end
  7813. for i = 0, 2 do
  7814. CameraEnshaking(1,2)
  7815. local hite = Instance.new("Part", char)
  7816. hite.Anchored = true
  7817. hite.CanCollide = false
  7818. hite.FormFactor = 3
  7819. hite.Name = "Ring"
  7820. hite.Material = "Neon"
  7821. hite.Size = Vector3.new(1, 1, 1)
  7822. hite.Transparency = 1
  7823. hite.TopSurface = 0
  7824. hite.BottomSurface = 0
  7825. hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
  7826. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
  7827. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
  7828. coroutine.resume(coroutine.create(function()
  7829. for i = 0, 1 do
  7830. swait()
  7831. 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)
  7832. 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)
  7833. 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)
  7834. end
  7835. end))
  7836. 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)
  7837. MagniDamage(hite, 3, 30,40, 0, "Normal")
  7838. game:GetService("Debris"):AddItem(hite, 5)
  7839. posit = posit + 2
  7840. end
  7841. for i = 0,1,0.1 do
  7842. swait()
  7843. 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)
  7844. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  7845. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
  7846. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  7847. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
  7848. 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)
  7849. 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)
  7850. end
  7851. for i = 0,1,0.1 do
  7852. swait()
  7853. 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)
  7854. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,1)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
  7855. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
  7856. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
  7857. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
  7858. 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)
  7859. 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)
  7860. end
  7861. posit = -6
  7862. for i = 0, 6 do
  7863. CameraEnshaking(1,3)
  7864. local hite = Instance.new("Part", char)
  7865. hite.Anchored = true
  7866. hite.CanCollide = false
  7867. hite.FormFactor = 3
  7868. hite.Name = "Ring"
  7869. hite.Material = "Neon"
  7870. hite.Size = Vector3.new(1, 1, 1)
  7871. hite.Transparency = 1
  7872. hite.TopSurface = 0
  7873. hite.BottomSurface = 0
  7874. hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
  7875. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
  7876. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
  7877. 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)
  7878. coroutine.resume(coroutine.create(function()
  7879. for i = 0, 2 do
  7880. swait()
  7881. 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)
  7882. 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)
  7883. 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)
  7884. end
  7885. end))
  7886. MagniDamage(hite, 5, 40,70, 0, "Normal")
  7887. game:GetService("Debris"):AddItem(hite, 5)
  7888. posit = posit + 2
  7889. end
  7890. for i = 0,1,0.1 do
  7891. swait()
  7892. 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)
  7893. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
  7894. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  7895. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
  7896. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
  7897. 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)
  7898. 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)
  7899. end
  7900. hum.WalkSpeed = storehumanoidWS
  7901. attack = false
  7902. end
  7903.  
  7904. function Beams()
  7905. attack = true
  7906. hum.WalkSpeed = 0
  7907. CFuncs["EchoSound"].Create("rbxassetid://1436242274", char, 8, 1,0,10,0.15,0.5,1)
  7908. CFuncs["EchoSound"].Create("rbxassetid://1436242274", root, 60, 1,0,10,0.15,0.5,1)
  7909. bosschatfunc("You'll gone..",MAINRUINCOLOR.Color,2)
  7910. local keptcolor = MAINRUINCOLOR
  7911. coroutine.resume(coroutine.create(function()
  7912. for i = 0, 96 do
  7913. swait(5)
  7914. local orb = Instance.new("Part", char)
  7915. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  7916. orb.BrickColor = keptcolor
  7917. orb.CanCollide = false
  7918. orb.FormFactor = 3
  7919. orb.Name = "Ring"
  7920. orb.Material = "Neon"
  7921. orb.Size = Vector3.new(1, 1, 1)
  7922. orb.Transparency = 0
  7923. orb.TopSurface = 0
  7924. orb.BottomSurface = 0
  7925. orb.Anchored = true
  7926. local orbm = Instance.new("SpecialMesh", orb)
  7927. orbm.MeshType = "Sphere"
  7928. orbm.Name = "SizeMesh"
  7929. orbm.Scale = vt(1.25,1.25,1.25)
  7930. orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6))
  7931. sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7932. coroutine.resume(coroutine.create(function()
  7933. wait(0.5)
  7934. CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
  7935. sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7936. sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7937. orb.Transparency = 1
  7938. local a = Instance.new("Part",char)
  7939. a.Name = "Direction"
  7940. a.Anchored = true
  7941. a.BrickColor = keptcolor
  7942. a.Material = "Neon"
  7943. a.Transparency = 0.25
  7944. a.Shape = "Cylinder"
  7945. local ht = Instance.new("Part",char)
  7946. ht.Name = "DirectionHit"
  7947. ht.Anchored = true
  7948. ht.BrickColor = keptcolor
  7949. ht.CanCollide = false
  7950. ht.Transparency = 1
  7951. ht.Size = vt(0.1,0.1,0.1)
  7952. CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.6)
  7953. a.CanCollide = false
  7954. local ray = Ray.new(
  7955. orb.CFrame.p, -- origin
  7956. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  7957. )
  7958. local ignore = char
  7959. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7960. a.BottomSurface = 10
  7961. a.TopSurface = 10
  7962. local distance = (orb.CFrame.p - position).magnitude
  7963. a.Size = Vector3.new(distance,1,1)
  7964. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7965. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7966. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  7967. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  7968. MagniDamage(ht, 9, 30,60, 0, "Normal")
  7969. coroutine.resume(coroutine.create(function()
  7970. local eff = Instance.new("ParticleEmitter",ht)
  7971. eff.Texture = "rbxassetid://284205403"
  7972. eff.LightEmission = 0.95
  7973. eff.Color = ColorSequence.new(keptcolor.Color)
  7974. eff.Rate = 500
  7975. eff.Lifetime = NumberRange.new(0.5)
  7976. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  7977. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7978. eff.Speed = NumberRange.new(10,50)
  7979. eff.Drag = 5
  7980. eff.Rotation = NumberRange.new(-500,500)
  7981. eff.VelocitySpread = 9000
  7982. eff.RotSpeed = NumberRange.new(-500,500)
  7983. wait(0.25)
  7984. eff.Enabled = false
  7985. end))
  7986. for i = 0, 4 do
  7987. 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)
  7988. 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)
  7989. local rsiz = math.random(10,30)
  7990. 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)
  7991. end
  7992. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7993. local msh = Instance.new("SpecialMesh",a)
  7994. msh.MeshType = "Cylinder"
  7995. msh.Scale = vt(1,1,1)
  7996. for i = 0, 49 do
  7997. swait()
  7998. msh.Scale = msh.Scale + vt(0,0.01,0.01)
  7999. a.Transparency = a.Transparency + 0.02
  8000. end
  8001. orb:Destroy()
  8002. a:Destroy()
  8003. ht:Destroy()
  8004. end))
  8005. game:GetService("Debris"):AddItem(orb, 10)
  8006. end
  8007. end))
  8008. for i = 0,6,0.1 do
  8009. swait()
  8010. 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)
  8011. 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)
  8012. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
  8013. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3)
  8014. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3)
  8015. 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)
  8016. 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)
  8017. end
  8018. hum.WalkSpeed = storehumanoidWS
  8019. attack = false
  8020. end
  8021.  
  8022. function hugg()
  8023. attack = true
  8024. hum.WalkSpeed = 5
  8025. local rsiz = math.random(5,15)
  8026. for i = 0, 2, 0.1 do
  8027. swait()
  8028. 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)
  8029. 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)
  8030. 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)
  8031. 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)
  8032. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(40)),.3)
  8033. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(-40)),.3)
  8034. end
  8035. CFuncs["Sound"].Create("rbxassetid://444895479", root, 0.5,1)
  8036. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8037. hb.Anchored = true
  8038. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  8039. local huggedperson = nil
  8040. local act = false
  8041. local alreadydid = false
  8042. for i = 0, 3, 0.1 do
  8043. swait()
  8044. if act == false then
  8045. for i, v in pairs(FindNearestHead(hb.CFrame.p, 1.25)) do
  8046. if v:FindFirstChild('Head') then
  8047. if alreadydid == false then
  8048. huggedperson = v
  8049. hum.WalkSpeed = 0
  8050. CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
  8051. CFuncs["Sound"].Create("rbxassetid://200632821", root, 1,1.15)
  8052. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 1.5,1)
  8053. CFuncs["Sound"].Create("rbxassetid://884155627", root, 2,1)
  8054. local radm = math.random(1,3)
  8055. if radm == 1 then
  8056. bosschatfunc("I'm sorry.. if I hurt you..",MAINRUINCOLOR.Color,1)
  8057. elseif radm == 2 then
  8058. bosschatfunc("I..I'm interested in you",MAINRUINCOLOR.Color,1)
  8059. elseif radm == 3 then
  8060. bosschatfunc("Don't worry.. I'm with you",MAINRUINCOLOR.Color,1)
  8061. end
  8062. root.Anchored = true
  8063. coroutine.resume(coroutine.create(function()
  8064. huggedperson.Humanoid.WalkSpeed = 0
  8065. huggedperson:WaitForChild("HumanoidRootPart").Anchored = true
  8066. end))
  8067. --chatfunc(string.lower(huggedperson.Name).. "~~",BrickColor.new("Pink").Color,"Normal","SourceSansBold",1)
  8068. alreadydid = true
  8069. act = true
  8070. print(huggedperson.Name)
  8071. end
  8072. end
  8073. end
  8074. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  8075. 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)
  8076. elseif act == true then
  8077. coroutine.resume(coroutine.create(function()
  8078. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8079. end))
  8080. rsiz = math.random(5,15)
  8081. 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)
  8082. 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)
  8083. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8084. end
  8085. 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)
  8086. 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)
  8087. 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)
  8088. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8089. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8090. end
  8091. hb:Destroy()
  8092. if act == true then
  8093. for x = 0, 2 do
  8094. for i = 0, 2, 0.1 do
  8095. swait()
  8096. coroutine.resume(coroutine.create(function()
  8097. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8098. end))
  8099. rsiz = math.random(5,15)
  8100. 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)
  8101. 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)
  8102. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8103. 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)
  8104. 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)
  8105. 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)
  8106. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8107. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8108. end
  8109. for i = 0, 2, 0.1 do
  8110. swait()
  8111. coroutine.resume(coroutine.create(function()
  8112. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8113. end))
  8114. rsiz = math.random(5,15)
  8115. 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)
  8116. 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)
  8117. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8118. 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)
  8119. 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)
  8120. 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)
  8121. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8122. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8123. end
  8124. end
  8125. end
  8126. hum.WalkSpeed = storehumanoidWS
  8127. root.Anchored = false
  8128. if act == true then
  8129. coroutine.resume(coroutine.create(function()
  8130. huggedperson.Humanoid.WalkSpeed = 16
  8131. huggedperson:WaitForChild("HumanoidRootPart").Anchored = false
  8132. end))
  8133. end
  8134. hum.WalkSpeed = storehumanoidWS
  8135. attack = false
  8136. end
  8137.  
  8138. function shytaunty()
  8139. attack = true
  8140. hum.WalkSpeed = 0
  8141. bosschatfunc("*Blushes and giggles*",MAINRUINCOLOR.Color,1)
  8142. CFuncs["Sound"].Create("rbxassetid://543623779", char, 1, 1)
  8143. local blush = Instance.new("Decal",hed)
  8144. blush.Texture = "rbxassetid://898404027"
  8145. blush.Face = "Front"
  8146. for i = 0, 13, 0.1 do
  8147. swait()
  8148. 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)
  8149. 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)
  8150. 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)
  8151. 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)
  8152. 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)
  8153. 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)
  8154. end
  8155. coroutine.resume(coroutine.create(function()
  8156. for i = 0, 49 do
  8157. swait()
  8158. blush.Transparency = blush.Transparency + 0.02
  8159. end
  8160. blush:Destroy()
  8161. end))
  8162. hum.WalkSpeed = storehumanoidWS
  8163. attack = false
  8164. end
  8165.  
  8166. function smiter()
  8167. local targetted = nil
  8168. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  8169. targetted = mouse.Target.Parent
  8170. end
  8171. if targetted ~= nil then
  8172. RootPart.CFrame = FaceMouse()[1]
  8173. attack = true
  8174. local radm = math.random(1,3)
  8175. if radm == 1 then
  8176. bosschatfunc("SMITED!!",MAINRUINCOLOR.Color,1)
  8177. elseif radm == 2 then
  8178. bosschatfunc("FROM ABOVE!!",MAINRUINCOLOR.Color,1)
  8179. elseif radm == 3 then
  8180. bosschatfunc("LOOK UP!!",MAINRUINCOLOR.Color,1)
  8181. end
  8182. hum.WalkSpeed = 0
  8183. coroutine.resume(coroutine.create(function()
  8184. CFuncs["Sound"].Create("rbxassetid://2556945475", char, 1.5, 1)
  8185. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  8186. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  8187. local vel = Instance.new("BodyPosition", targetted.Head)
  8188. vel.P = 12500
  8189. vel.D = 1000
  8190. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  8191. vel.position = targetted.Head.CFrame.p
  8192. end))
  8193. CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
  8194. CFuncs["EchoSound"].Create("rbxassetid://1436242685", char, 4, 1,0,10,0.15,0.5,1)
  8195. CFuncs["EchoSound"].Create("rbxassetid://1436242685", root, 60, 1,0,10,0.15,0.5,1)
  8196. for i = 0,4,0.1 do
  8197. swait()
  8198. 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)
  8199. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  8200. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  8201. 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)
  8202. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  8203. 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)
  8204. 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)
  8205. end
  8206. coroutine.resume(coroutine.create(function()
  8207. CameraEnshaking(6,5)
  8208. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  8209. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
  8210. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
  8211. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
  8212. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  8213. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  8214. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  8215. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  8216. coroutine.resume(coroutine.create(function()
  8217. local eff = Instance.new("ParticleEmitter",targetted.Head)
  8218. eff.Texture = "rbxassetid://2273224484"
  8219. eff.LightEmission = 1
  8220. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  8221. eff.Rate = 500000
  8222. eff.Lifetime = NumberRange.new(0.5,2)
  8223. 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)})
  8224. 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)})
  8225. eff.Speed = NumberRange.new(20,250)
  8226. eff.Drag = 5
  8227. eff.Rotation = NumberRange.new(-500,500)
  8228. eff.VelocitySpread = 9000
  8229. eff.RotSpeed = NumberRange.new(-50,50)
  8230. wait(0.25)
  8231. eff.Enabled = false
  8232. local eff = Instance.new("ParticleEmitter",targetted.Head)
  8233. eff.Texture = "rbxassetid://363275192"
  8234. eff.LightEmission = 0.95
  8235. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8236. eff.Rate = 10000
  8237. eff.Lifetime = NumberRange.new(1.5)
  8238. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  8239. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  8240. eff.Speed = NumberRange.new(25,150)
  8241. eff.Drag = 5
  8242. eff.Rotation = NumberRange.new(-500,500)
  8243. eff.VelocitySpread = 9000
  8244. eff.RotSpeed = NumberRange.new(-50,50)
  8245. local eff2 = eff:Clone()
  8246. eff2.Parent = targetted.Head
  8247. eff2.Texture = "rbxassetid://284205403"
  8248. eff2.Rate = 10000
  8249. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  8250. eff2.Drag = 5
  8251. eff2.Rotation = NumberRange.new(-500,500)
  8252. eff2.VelocitySpread = 9000
  8253. wait(0.5)
  8254. eff2.Enabled = false
  8255. eff.Enabled = false
  8256. end))
  8257. for i = 0, 9 do
  8258. 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)
  8259. end
  8260. for i = 0, 49 do
  8261. local rsiz = math.random(10,50)
  8262. 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)
  8263. end
  8264. game:GetService("Debris"):AddItem(vel,1)
  8265. dmg(targetted)
  8266. end))
  8267. for i = 0,1,0.1 do
  8268. swait()
  8269. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  8270. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  8271. 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)
  8272. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  8273. 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)
  8274. 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)
  8275. end
  8276. attack = false
  8277. hum.WalkSpeed = storehumanoidWS
  8278. end
  8279.  
  8280. function SpeedDrop()
  8281. attack = true
  8282. hum.WalkSpeed = 0
  8283. CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
  8284. local poste = 3
  8285. local rotation = 0
  8286. local rate = 0
  8287. bosschatfunc("AUFHHIGYBIBYHHIHIGHGI",MAINRUINCOLOR.Color,2)
  8288. for i = 0, 124 do
  8289. swait()
  8290. rotation = rotation + rate
  8291. poste = poste + 0.1
  8292. rate = rate + 0.1
  8293. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
  8294. 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)
  8295. 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)
  8296. 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)
  8297. 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)
  8298. 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)
  8299. 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)
  8300. 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)
  8301. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
  8302. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
  8303. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
  8304. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
  8305. end
  8306. CameraEnshaking(3,7)
  8307. bosschatfunc("AN ERROR HAS OCCURED",MAINRUINCOLOR.Color,2)
  8308. local loc = Instance.new("Part", char)
  8309. loc.BrickColor = MAINRUINCOLOR
  8310. loc.CanCollide = false
  8311. loc.FormFactor = 3
  8312. loc.Name = "Ring"
  8313. loc.Material = "Neon"
  8314. loc.Size = Vector3.new(1, 1, 1)
  8315. loc.Transparency = 1
  8316. loc.TopSurface = 0
  8317. loc.BottomSurface = 0
  8318. loc.Anchored = true
  8319. loc.CFrame = root.CFrame + root.CFrame.lookVector*100
  8320. CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
  8321. CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
  8322. MagniDamage(loc, 95, 500,6000, 0, "Normal")
  8323. sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
  8324. sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  8325. sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  8326. sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  8327. coroutine.resume(coroutine.create(function()
  8328. local eff = Instance.new("ParticleEmitter",loc)
  8329. eff.Texture = "rbxassetid://363275192"
  8330. eff.LightEmission = 0.95
  8331. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8332. eff.Rate = 10000
  8333. eff.Lifetime = NumberRange.new(1)
  8334. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
  8335. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  8336. eff.Speed = NumberRange.new(100,500)
  8337. eff.Drag = 5
  8338. eff.Rotation = NumberRange.new(-500,500)
  8339. eff.VelocitySpread = 9000
  8340. eff.RotSpeed = NumberRange.new(-50,50)
  8341. wait(0.5)
  8342. eff.Enabled = false
  8343. end))
  8344. for i = 0, 49 do
  8345. 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)
  8346. end
  8347. for i = 0, 9 do
  8348. 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)
  8349. end
  8350. game:GetService("Debris"):AddItem(loc, 5)
  8351. root.CFrame = root.CFrame + root.CFrame.lookVector*200
  8352. hum.WalkSpeed = storehumanoidWS
  8353. attack = false
  8354. end
  8355.  
  8356. function HolyBarrier()
  8357. attack = true
  8358. shielding = true
  8359. for i = 0, 2, 0.1 do
  8360. swait()
  8361. 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)
  8362. 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)
  8363. 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)
  8364. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.4)
  8365. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(120),math.rad(-230),math.rad(-40)),.1)
  8366. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(120),math.rad(230),math.rad(40)),.1)
  8367. end
  8368. CFuncs["Sound"].Create("rbxassetid://240429289", root, 7, 1)
  8369. stash = Instance.new("Model",workspace)
  8370. local barrier = Instance.new("Part",stash)
  8371. barrier.Anchored = true
  8372. barrier.CanCollide = false
  8373. barrier.Size = Vector3.new(20,20,20)
  8374. barrier.CFrame = root.CFrame
  8375. barrier.Transparency = 0.6
  8376. barrier.BrickColor = MAINRUINCOLOR
  8377. barrier.Material = Enum.Material.Neon
  8378. barrier.Shape = Enum.PartType.Ball
  8379. barrier.CFrame = root.CFrame
  8380. sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR)
  8381. Torso.Anchored = true
  8382. for i=1,50 do
  8383. local p = Instance.new("Part",stash)
  8384. p.Anchored = true
  8385. p.Transparency = 1
  8386. p.Size = Vector3.new(11,11,11)
  8387. p.CFrame = root.CFrame * CFrame.Angles(math.random(0,360),math.random(0,360),math.random(0,360))
  8388. end
  8389. repeat
  8390. swait(5)
  8391. 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)
  8392. until shielding == false
  8393. stash:Remove()
  8394. Torso.Anchored = false
  8395. shielding = false
  8396. sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR)
  8397. attack = false
  8398. end
  8399.  
  8400. function vistaunty()
  8401. attack = true
  8402. hum.WalkSpeed = 0
  8403. local rd = math.random(1,5)
  8404. if rd == 1 then
  8405. chatfunc("You're familiar with this, arent you?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  8406. elseif rd == 2 then
  8407. chatfunc("Dance to the beat. If you want to.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  8408. elseif rd == 3 then
  8409. chatfunc("I'm just bored. Don't mess with me.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  8410. elseif rd == 4 then
  8411. chatfunc("Ready to dance? If not, come back if you want to.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  8412. elseif rd == 5 then
  8413. chatfunc("Ehh, not really into something right now.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  8414. end
  8415. for i = 0, 8, 0.1 do
  8416. swait()
  8417. 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)
  8418. 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)
  8419. 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)
  8420. 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)
  8421. 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)
  8422. 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)
  8423. end
  8424. hum.WalkSpeed = storehumanoidWS
  8425. attack = false
  8426. end
  8427.  
  8428. function BinaryBLINK()
  8429. for i = 0, 9 do
  8430. 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)
  8431. end
  8432. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  8433. coroutine.resume(coroutine.create(function()
  8434. local eff = Instance.new("ParticleEmitter",root)
  8435. eff.Texture = "rbxassetid://1175838406"
  8436. eff.LightEmission = 0.95
  8437. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8438. eff.Rate = 10000
  8439. eff.Lifetime = NumberRange.new(1)
  8440. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  8441. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  8442. eff.Speed = NumberRange.new(30,160)
  8443. eff.Drag = 5
  8444. eff.Rotation = NumberRange.new(-500,500)
  8445. eff.VelocitySpread = 100000
  8446. wait(0.25)
  8447. eff.Enabled = false
  8448. wait(4)
  8449. eff:Destroy()
  8450. end))
  8451. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  8452. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  8453. CameraEnshaking(2,10)
  8454. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 10)) do
  8455. if v:FindFirstChild('Head') then
  8456. dmg(v)
  8457. end
  8458. end
  8459. for i = 0, 9 do
  8460. 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)
  8461. end
  8462. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  8463. end
  8464.  
  8465. function AZUREFINALE()
  8466. attack = true
  8467. duringend = true
  8468. hum.WalkSpeed = 0
  8469. CFuncs["Sound"].Create("rbxassetid://1117054464", char, 7.5, 0.75)
  8470. CFuncs["LongSound"].Create("rbxassetid://1042700914", char, 3.5, 0.05)
  8471. local hite = Instance.new("Part", char)
  8472. hite.Anchored = true
  8473. hite.CanCollide = false
  8474. hite.FormFactor = 3
  8475. hite.Name = "Ring"
  8476. hite.Material = "Neon"
  8477. hite.Size = Vector3.new(1, 1, 1)
  8478. hite.Transparency = 0
  8479. hite.TopSurface = 0
  8480. hite.BottomSurface = 0
  8481. hite.BrickColor = MAINRUINCOLOR
  8482. local orbm = Instance.new("SpecialMesh", hite)
  8483. orbm.MeshType = "Sphere"
  8484. orbm.Name = "SizeMesh"
  8485. orbm.Scale = vt(0,0,0)
  8486. hite.CFrame = root.CFrame*CFrame.new(0,200,0)
  8487. for i = 0,70,0.1 do
  8488. swait()
  8489. orbm.Scale = orbm.Scale + vt(0.5,0.5,0.5)
  8490. rsiz = math.random(10,45)
  8491. kan.Volume = kan.Volume + 0.01
  8492. kan.Pitch = kan.Pitch - 0.00135
  8493. 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)
  8494. 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)
  8495. 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)
  8496. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  8497. 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)
  8498. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  8499. 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)
  8500. 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)
  8501. end
  8502. kan.Pitch = 0.1
  8503. hite.Transparency = 1
  8504. for i = 0,2 do
  8505. CFuncs["LongSound"].Create("rbxassetid://324849898", char, 10,0.9)
  8506. end
  8507. CFuncs["LongSound"].Create("rbxassetid://1117054464", char, 5, 0.75)
  8508. 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)
  8509. 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)
  8510. 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)
  8511. coroutine.resume(coroutine.create(function()
  8512. local eff = Instance.new("ParticleEmitter",hite)
  8513. eff.Texture = "rbxassetid://284205403"
  8514. eff.LightEmission = 0.95
  8515. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8516. eff.Rate = 10000
  8517. eff.Lifetime = NumberRange.new(5)
  8518. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,100,0),NumberSequenceKeypoint.new(1,0,0)})
  8519. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  8520. eff.Speed = NumberRange.new(600,1250)
  8521. eff.Drag = 5
  8522. eff.Rotation = NumberRange.new(-500,500)
  8523. eff.VelocitySpread = 9000
  8524. eff.RotSpeed = NumberRange.new(-500,500)
  8525. wait(1)
  8526. eff.Enabled = false
  8527. end))
  8528. for i = 0,5,0.1 do
  8529. swait()
  8530. 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)
  8531. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  8532. 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)
  8533. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  8534. 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)
  8535. 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)
  8536. end
  8537. local adsc = 0
  8538. local radiatezone = 0
  8539. for i = 0,20,0.1 do
  8540. swait()
  8541. adsc = adsc + 0.025
  8542. radiatezone = radiatezone + 1.25
  8543. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
  8544. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  8545. if v:FindFirstChild('Head') then
  8546. dmg(v)
  8547. end
  8548. end
  8549. 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)
  8550. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  8551. 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)
  8552. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  8553. 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)
  8554. 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)
  8555. end
  8556. for i = 0,2 do
  8557. CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.9)
  8558. end
  8559. for i = 0,40,0.1 do
  8560. swait()
  8561. adsc = adsc + 0.05
  8562. radiatezone = radiatezone + 2.5
  8563. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
  8564. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  8565. if v:FindFirstChild('Head') then
  8566. dmg(v)
  8567. end
  8568. end
  8569. 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)
  8570. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  8571. 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)
  8572. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  8573. 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)
  8574. 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)
  8575. end
  8576. for i = 0,4 do
  8577. CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.75)
  8578. CFuncs["LongSound"].Create("rbxassetid://923073285", char, 1.25,0.75)
  8579. end
  8580. for i = 0,80,0.1 do
  8581. swait()
  8582. adsc = adsc + 0.075
  8583. radiatezone = radiatezone + 3.75
  8584. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
  8585. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  8586. if v:FindFirstChild('Head') then
  8587. dmg(v)
  8588. end
  8589. end
  8590. 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)
  8591. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  8592. 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)
  8593. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  8594. 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)
  8595. 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)
  8596. end
  8597. hite:Destroy()
  8598. duringend = false
  8599. hum.WalkSpeed = storehumanoidWS
  8600. attack = false
  8601. end
  8602.  
  8603. function WarpedDash()
  8604. attack = true
  8605. hum.WalkSpeed = 0
  8606. hum.JumpPower = 0
  8607. CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
  8608. local poste = 3
  8609. local rotation = 0
  8610. local rate = 0
  8611. for i = 0, 124 do
  8612. swait()
  8613. rotation = rotation + rate
  8614. poste = poste + 0.1
  8615. rate = rate + 0.1
  8616. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
  8617. 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)
  8618. 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)
  8619. 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)
  8620. 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)
  8621. 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)
  8622. 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)
  8623. 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)
  8624. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
  8625. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
  8626. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
  8627. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
  8628. end
  8629. CameraEnshaking(3,7)
  8630. local loc = Instance.new("Part", char)
  8631. loc.BrickColor = MAINRUINCOLOR
  8632. loc.CanCollide = false
  8633. loc.FormFactor = 3
  8634. loc.Name = "Ring"
  8635. loc.Material = "Neon"
  8636. loc.Size = Vector3.new(1, 1, 1)
  8637. loc.Transparency = 1
  8638. loc.TopSurface = 0
  8639. loc.BottomSurface = 0
  8640. loc.Anchored = true
  8641. loc.CFrame = root.CFrame + root.CFrame.lookVector*100
  8642. CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
  8643. CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
  8644. MagniDamage(loc, 95, 500,6000, 0, "Normal")
  8645. sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
  8646. sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  8647. sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  8648. sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  8649. coroutine.resume(coroutine.create(function()
  8650. local eff = Instance.new("ParticleEmitter",loc)
  8651. eff.Texture = "rbxassetid://363275192"
  8652. eff.LightEmission = 0.95
  8653. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8654. eff.Rate = 10000
  8655. eff.Lifetime = NumberRange.new(1)
  8656. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
  8657. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  8658. eff.Speed = NumberRange.new(100,500)
  8659. eff.Drag = 5
  8660. eff.Rotation = NumberRange.new(-500,500)
  8661. eff.VelocitySpread = 9000
  8662. eff.RotSpeed = NumberRange.new(-50,50)
  8663. wait(0.5)
  8664. eff.Enabled = false
  8665. end))
  8666. for i = 0, 49 do
  8667. 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)
  8668. end
  8669. for i = 0, 9 do
  8670. 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)
  8671. end
  8672. game:GetService("Debris"):AddItem(loc, 5)
  8673. root.CFrame = root.CFrame + root.CFrame.lookVector*200
  8674. hum.WalkSpeed = storehumanoidWS
  8675. hum.JumpPower = 50
  8676. attack = false
  8677. end
  8678.  
  8679. function GalacticalBeams()
  8680. attack = true
  8681. local keptcolor = MAINRUINCOLOR
  8682. coroutine.resume(coroutine.create(function()
  8683. for i = 0, 0 do
  8684. swait(10)
  8685. local orb = Instance.new("Part", char)
  8686. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  8687. orb.BrickColor = keptcolor
  8688. orb.CanCollide = false
  8689. orb.FormFactor = 3
  8690. orb.Name = "Ring"
  8691. orb.Material = "Neon"
  8692. orb.Size = Vector3.new(1, 1, 1)
  8693. orb.Transparency = 1
  8694. orb.TopSurface = 0
  8695. orb.BottomSurface = 0
  8696. orb.Anchored = true
  8697. local orbm = Instance.new("SpecialMesh", orb)
  8698. orbm.MeshType = "Sphere"
  8699. orbm.Name = "SizeMesh"
  8700. orbm.Scale = vt(1.25,1.25,1.25)
  8701. orb.CFrame = root.CFrame*CFrame.new(math.random(-25,25),math.random(75,150),math.random(-25,25))
  8702. coroutine.resume(coroutine.create(function()
  8703. orb.Transparency = 1
  8704. local a = Instance.new("Part",char)
  8705. a.Name = "Direction"
  8706. a.Anchored = true
  8707. a.BrickColor = keptcolor
  8708. a.Material = "Neon"
  8709. a.Transparency = 1
  8710. a.Shape = "Cylinder"
  8711. local x = Instance.new("Part",char)
  8712. x.Name = "Direction"
  8713. x.Anchored = true
  8714. x.BrickColor = keptcolor
  8715. x.Material = "Neon"
  8716. x.Transparency = 1
  8717. x.Shape = "Cylinder"
  8718. local ht = Instance.new("Part",char)
  8719. ht.Name = "DirectionHit"
  8720. ht.Anchored = true
  8721. ht.BrickColor = keptcolor
  8722. ht.CanCollide = false
  8723. ht.Transparency = 1
  8724. ht.Size = vt(0.1,0.1,0.1)
  8725. a.CanCollide = false
  8726. local ray = Ray.new(
  8727. orb.CFrame.p, -- origin
  8728. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  8729. )
  8730. local ignore = char
  8731. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8732. a.BottomSurface = 10
  8733. a.TopSurface = 10
  8734. local distance = (orb.CFrame.p - position).magnitude
  8735. a.Size = Vector3.new(distance,1,1)
  8736. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8737. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8738. x.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  8739. local poste = 0
  8740. local rotation = 0
  8741. CFuncs["Sound"].Create("rbxassetid://153092315", char, 1.5, 1)
  8742. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(5,5,5),2.5,2.5,0,keptcolor)
  8743. CameraEnshaking(2,2)
  8744. for i = 0, 49 do
  8745. swait()
  8746. rotation = rotation + 5
  8747. poste = poste + 1
  8748. 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)
  8749. 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)
  8750. 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)
  8751. 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)
  8752. 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)
  8753. 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)
  8754. 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)
  8755. 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)
  8756. end
  8757. local A1 = Instance.new("Attachment",x)
  8758. local A2 = Instance.new("Attachment",ht)
  8759. local Beem = Instance.new("Beam",ht)
  8760. Beem.Attachment0 = A1
  8761. Beem.Attachment1 = A2
  8762. Beem.LightEmission = 1
  8763. Beem.FaceCamera = true
  8764. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, 0),NumberSequenceKeypoint.new(0.975, 0),NumberSequenceKeypoint.new(1, 1)})
  8765. Beem.Width0 = 125
  8766. Beem.Width1 = 125
  8767. Beem.Texture = "rbxassetid://1134824633"
  8768. Beem.TextureMode = "Wrap"
  8769. Beem.TextureLength = 200
  8770. Beem.TextureSpeed = 1.5
  8771. Beem.Color = ColorSequence.new(keptcolor.Color)
  8772. CameraEnshaking(3,6)
  8773. CFuncs["Sound"].Create("rbxassetid://294188875", char, 2, 1.5)
  8774. a.Transparency = 0.25
  8775. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  8776. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  8777. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  8778. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  8779. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor)
  8780. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor)
  8781. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  8782. local eff = Instance.new("ParticleEmitter",ht)
  8783. eff.Texture = "rbxassetid://284205403"
  8784. eff.LightEmission = 0.95
  8785. eff.Color = ColorSequence.new(keptcolor.Color)
  8786. eff.Rate = 500
  8787. eff.Lifetime = NumberRange.new(1)
  8788. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.2,35,0),NumberSequenceKeypoint.new(1,0.1,0)})
  8789. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  8790. eff.Speed = NumberRange.new(80,500)
  8791. eff.Drag = 5
  8792. eff.Rotation = NumberRange.new(-500,500)
  8793. eff.VelocitySpread = 9000
  8794. eff.RotSpeed = NumberRange.new(-500,500)
  8795. for i = 0, 24 do
  8796. 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)
  8797. local rsiz = math.random(10,50)
  8798. 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)
  8799. end
  8800. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8801. local msh = Instance.new("SpecialMesh",a)
  8802. msh.MeshType = "Cylinder"
  8803. msh.Scale = vt(1,15,15)
  8804. for i = 0, 49 do
  8805. swait()
  8806. CameraEnshaking(1,4)
  8807. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  8808. rotation = rotation + 5
  8809. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  8810. 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)
  8811. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(25,25,5),1,1,0,keptcolor)
  8812. 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)
  8813. 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)
  8814. 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)
  8815. 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)
  8816. 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)
  8817. 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)
  8818. 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)
  8819. 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)
  8820. for i = 0, 2 do
  8821. local rsiz = math.random(50,250)
  8822. 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)
  8823. end
  8824. msh.Scale = msh.Scale + vt(0,0.25,0.25)
  8825. end
  8826. eff.Enabled = false
  8827. local visibility = 0
  8828. for i = 0, 49 do
  8829. swait()
  8830. visibility = visibility + 0.02
  8831. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, visibility),NumberSequenceKeypoint.new(0.975, visibility),NumberSequenceKeypoint.new(1, 1)})
  8832. rotation = rotation + 5
  8833. poste = poste - 1
  8834. 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)
  8835. 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)
  8836. 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)
  8837. 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)
  8838. 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)
  8839. 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)
  8840. 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)
  8841. 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)
  8842. msh.Scale = msh.Scale + vt(0,-0.5,-0.5)
  8843. a.Transparency = a.Transparency + 0.02
  8844. end
  8845. wait(1)
  8846. orb:Destroy()
  8847. a:Destroy()
  8848. ht:Destroy()
  8849. end))
  8850. game:GetService("Debris"):AddItem(orb, 10)
  8851. end
  8852. end))
  8853. hum.WalkSpeed = storehumanoidWS
  8854. attack = false
  8855. end
  8856. end
  8857. -------------------------------------
  8858.  
  8859. Humanoid.Animator.Parent = nil
  8860.  
  8861. -------------------------------------
  8862.  
  8863. local attacktype = 1
  8864. mouse.Button1Down:connect(function()
  8865. if attack == false and attacktype == 1 then
  8866. attacktype = 2
  8867. attackone()
  8868. elseif attack == false and attacktype == 2 then
  8869. attacktype = 3
  8870. attacktwo()
  8871. elseif attack == false and attacktype == 3 then
  8872. attacktype = 1
  8873. attackthree()
  8874. elseif attack == false and attacktype == 4 then
  8875. attacktype = 1
  8876. --attackfour()
  8877. end
  8878. end)
  8879. mouse.KeyDown:connect(function(k)
  8880. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  8881. --normalmog() ---Disabled due to crashing... only in VSB
  8882. ModeOfGlitch = 1
  8883. storehumanoidWS = 17
  8884. hum.WalkSpeed = 17
  8885. rainbowmode = false
  8886. chaosmode = false
  8887. newTheme("rbxassetid://601578010",48.6,1,1.25)
  8888. RecolorTextAndRename("EVIL",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  8889. MAINRUINCOLOR = BrickColor.new("Really red")
  8890. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  8891. end
  8892. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  8893. ModeOfGlitch = 2
  8894. storehumanoidWS = 25
  8895. hum.WalkSpeed = 25
  8896. rainbowmode = false
  8897. chaosmode = false
  8898. RecolorTextAndRename("PURITY",Color3.new(0,1,1),Color3.new(0,1,1),"Code")
  8899. newTheme("rbxassetid://1973214272",0,1,1)
  8900. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  8901. RecolorThing(MAINRUINCOLOR,BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8902. end
  8903. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  8904. ModeOfGlitch = 3
  8905. storehumanoidWS = 25
  8906. hum.WalkSpeed = 25
  8907. rainbowmode = false
  8908. chaosmode = false
  8909. RecolorTextAndRename("VIRUS",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
  8910. newTheme("rbxassetid://2128137966",58.15,0.98,1.25)
  8911. MAINRUINCOLOR = BrickColor.new("Royal purple")
  8912. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8913. end
  8914. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  8915. ModeOfGlitch = 4
  8916. storehumanoidWS = 20
  8917. hum.WalkSpeed = 20
  8918. rainbowmode = false
  8919. chaosmode = true
  8920. RecolorTextAndRename("PRISM",Color3.new(0,0,0),Color3.new(1,1,1),"Arcade")
  8921. newTheme("rbxassetid://1363487118",0,1.01,1.25)
  8922. MAINRUINCOLOR = BrickColor.new("Really black")
  8923. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8924. end
  8925. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  8926. ModeOfGlitch = 5
  8927. storehumanoidWS = 55
  8928. hum.WalkSpeed = 55
  8929. rainbowmode = false
  8930. chaosmode = false
  8931. RecolorTextAndRename("JUSTICE",Color3.new(1,1,1),Color3.new(1,1,1),"SciFi")
  8932. newTheme("rbxassetid://2248992726",0,1,1)
  8933. MAINRUINCOLOR = BrickColor.new("Alder")
  8934. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8935. end
  8936. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  8937. ModeOfGlitch = 6
  8938. storehumanoidWS = 100
  8939. hum.WalkSpeed = 100
  8940. rainbowmode = false
  8941. chaosmode = false
  8942. print'Mode was meant for Vengeful Program or those other fans out there'
  8943. RecolorTextAndRename("NEPTUNE",Color3.new(0.75,0.9,1),BrickColor.new("Hot pink").Color,"Arcade")
  8944. newTheme("rbxassetid://344781763",0,1.02,1.1)
  8945. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  8946. RecolorThing(MAINRUINCOLOR,BrickColor.new("Hot pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8947. end
  8948. if k == "f" and attack == false and ModeOfGlitch ~= 8 then
  8949. ModeOfGlitch = 8
  8950. storehumanoidWS = 140
  8951. hum.WalkSpeed = 140
  8952. rainbowmode = false
  8953. chaosmode = false
  8954. RecolorTextAndRename("God",Color3.new(0,0,0),BrickColor.new("Deep orange").Color,"Code")
  8955. newTheme("rbxassetid://2177679508",0,1.01,1.25)
  8956. MAINRUINCOLOR = BrickColor.new("Deep orange")
  8957. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8958. end
  8959. if k == "g" and attack == false and ModeOfGlitch ~= 9 then
  8960. ModeOfGlitch = 9
  8961. storehumanoidWS = 150
  8962. hum.WalkSpeed = 150
  8963. rainbowmode = false
  8964. chaosmode = false
  8965. RecolorTextAndRename("DIVINITY",BrickColor.new("White").Color,BrickColor.new("Bright yellow").Color,"SciFi")
  8966. newTheme("rbxassetid://595800581",0,1,2)
  8967. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  8968. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8969. end
  8970. if k == "h" and attack == false and ModeOfGlitch ~= 10 then
  8971. ModeOfGlitch = 10
  8972. storehumanoidWS = 75
  8973. hum.WalkSpeed = 75
  8974. rainbowmode = false
  8975. chaosmode = false
  8976. RecolorTextAndRename("Hero..?",Color3.new(0,0,5),BrickColor.new("Lapis").Color,"Code")
  8977. newTheme("rbxassetid://976836387",0,1,1)
  8978. MAINRUINCOLOR = BrickColor.new("Lapis")
  8979. RecolorThing(MAINRUINCOLOR,BrickColor.new("Lapis"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8980. end
  8981. if k == "m" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 83 then
  8982. ModeOfGlitch = 83
  8983. storehumanoidWS = 180
  8984. hum.WalkSpeed = 180
  8985. rainbowmode = true
  8986. chaosmode = false
  8987. RecolorTextAndRename("TWISTED",BrickColor.new("Black").Color,BrickColor.new("Really black").Color,"Antique")
  8988. newTheme("rbxassetid://2072448553",0,1,1)
  8989. MAINRUINCOLOR = BrickColor.new("Really black")
  8990. RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8991. end
  8992. if k == "m" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 95 then
  8993. ModeOfGlitch = 95
  8994. storehumanoidWS = 180
  8995. hum.WalkSpeed = 180
  8996. rainbowmode = true
  8997. chaosmode = false
  8998. RecolorTextAndRename("LUNAR",BrickColor.new("Electric blue").Color,BrickColor.new("Electric blue").Color,"Antique")
  8999. newTheme("rbxassetid://561833161",0,0.4,1)
  9000. MAINRUINCOLOR = BrickColor.new("Electric blue")
  9001. RecolorThing(MAINRUINCOLOR,BrickColor.new("Electric blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9002. end
  9003. if k == "n" and attack == false and ModeOfGlitch == 3 and ModeOfGlitch ~= 150 then
  9004. ModeOfGlitch = 150
  9005. storehumanoidWS = 180
  9006. hum.WalkSpeed = 180
  9007. rainbowmode = true
  9008. chaosmode = false
  9009. RecolorTextAndRename("ERROR",BrickColor.new("White").Color,BrickColor.new("Really black").Color,"Antique")
  9010. newTheme("rbxassetid://1960307734",0,1,1)
  9011. MAINRUINCOLOR = BrickColor.new("White")
  9012. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9013. end
  9014. if k == "n" and attack == false and ModeOfGlitch == 9 and ModeOfGlitch ~= 500 then
  9015. ModeOfGlitch = 500
  9016. storehumanoidWS = 180
  9017. hum.WalkSpeed = 180
  9018. rainbowmode = true
  9019. chaosmode = false
  9020. RecolorTextAndRename("Pandora",BrickColor.new("Alder").Color,BrickColor.new("Lilac").Color,"Antique")
  9021. newTheme("rbxassetid://1382488262",0,1,1)
  9022. MAINRUINCOLOR = BrickColor.new("Lilac")
  9023. RecolorThing(MAINRUINCOLOR,BrickColor.new("Lilac"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9024. end
  9025. if k == "m" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 652 then
  9026. ModeOfGlitch = 652
  9027. storehumanoidWS = 180
  9028. hum.WalkSpeed = 180
  9029. rainbowmode = true
  9030. chaosmode = false
  9031. RecolorTextAndRename("SUB-ZERO",BrickColor.new("Baby blue").Color,BrickColor.new("Cyan").Color,"Antique")
  9032. newTheme("rbxassetid://603565821",0,1,1)
  9033. MAINRUINCOLOR = BrickColor.new("Baby blue")
  9034. RecolorThing(MAINRUINCOLOR,BrickColor.new("Cyan"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9035. end
  9036. if k == "m" and attack == false and ModeOfGlitch == 150 and ModeOfGlitch ~= 999 then
  9037. ModeOfGlitch = 999
  9038. storehumanoidWS = 180
  9039. hum.WalkSpeed = 180
  9040. rainbowmode = true
  9041. chaosmode = false
  9042. RecolorTextAndRename("The Big Black",BrickColor.new("Dark stone grey").Color,BrickColor.new("Really black").Color,"Antique")
  9043. newTheme("rbxassetid://1681272944",0,1,1)
  9044. MAINRUINCOLOR = BrickColor.new("Dark stone grey")
  9045. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9046. end
  9047. if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
  9048. ModeOfGlitch = 8889
  9049. storehumanoidWS = 180
  9050. hum.WalkSpeed = 180
  9051. rainbowmode = false
  9052. chaosmode = false
  9053. RecolorTextAndRename("False God",BrickColor.new("Deep orange").Color,BrickColor.new("Deep orange").Color,"Antique")
  9054. newTheme("rbxassetid://2189291880",0,1,1)
  9055. MAINRUINCOLOR = BrickColor.new("Deep orange")
  9056. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9057. end
  9058. if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
  9059. ModeOfGlitch = 55469696922
  9060. storehumanoidWS = 275
  9061. hum.WalkSpeed = 275
  9062. rainbowmode = false
  9063. chaosmode = false
  9064. RecolorTextAndRename("NANO",BrickColor.new("Hot pink").Color,BrickColor.new("Hot pink").Color,"Antique")
  9065. newTheme("rbxassetid://582020393",0,1,1)
  9066. MAINRUINCOLOR = BrickColor.new("Hot pink")
  9067. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9068. end
  9069. if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  9070. ModeOfGlitch = 4367677813
  9071. storehumanoidWS = 225
  9072. hum.WalkSpeed = 225
  9073. rainbowmode = false
  9074. chaosmode = false
  9075. RecolorTextAndRename("CLARITY",Color3.new(0,1,1),BrickColor.new("Electric blue").Color,"Arcade")
  9076. newTheme("rbxassetid://672082621",0,1,1)
  9077. MAINRUINCOLOR = BrickColor.new("Electric blue")
  9078. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9079. end
  9080. if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 9999999921111 then
  9081. ModeOfGlitch = 9999999921111
  9082. storehumanoidWS = 300
  9083. hum.WalkSpeed = 300
  9084. rainbowmode = false
  9085. chaosmode = false
  9086. RecolorTextAndRename("Soul",BrickColor.new("Really blue").Color,BrickColor.new("Deep blue").Color,"Antique")
  9087. newTheme("1471930267",0,1,1)
  9088. MAINRUINCOLOR = BrickColor.new("Really blue")
  9089. RecolorThing(MAINRUINCOLOR,BrickColor.new("Deep blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9090. end
  9091. if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
  9092. ModeOfGlitch = 999999999556
  9093. storehumanoidWS = 500
  9094. hum.WalkSpeed = 500
  9095. rainbowmode = false
  9096. chaosmode = false
  9097. RecolorTextAndRename("THEORIES",Color3.new(1,1,0.5),Color3.new(0,0,7),"Code")
  9098. newTheme("rbxassetid://1295603847",0,1,1)
  9099. MAINRUINCOLOR = BrickColor.new("Storm blue")
  9100. RecolorThing(MAINRUINCOLOR,BrickColor.new("Bright yellow"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9101. end
  9102. if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  9103. ModeOfGlitch = 1264532489
  9104. storehumanoidWS = 250
  9105. hum.WalkSpeed = 250
  9106. rainbowmode = false
  9107. chaosmode = false
  9108. RecolorTextAndRename("ASCENDED",Color3.new(0.5,1,1),BrickColor.new("Alder").Color,"Garamond")
  9109. newTheme("rbxassetid://2394998087",0,1,1)
  9110. MAINRUINCOLOR = BrickColor.new("Alder")
  9111. RecolorThing(MAINRUINCOLOR,BrickColor.new("Alder"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9112. end
  9113. if k == "n" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 7536 then
  9114. ModeOfGlitch = 7536
  9115. storehumanoidWS = 250
  9116. hum.WalkSpeed = 250
  9117. rainbowmode = false
  9118. chaosmode = false
  9119. print'Mode was meant for Vengeful Program or those other fans out there'
  9120. RecolorTextAndRename("PURPLE HEART",Color3.new(0,0,0),Color3.new(0.35,0,1),"Arcade")
  9121. newTheme("rbxassetid://1873219898",0,1,1)
  9122. MAINRUINCOLOR = BrickColor.new("Royal purple")
  9123. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9124. end
  9125. if k == "n" and attack == false and ModeOfGlitch == 10 and ModeOfGlitch ~= 666 then
  9126. ModeOfGlitch = 666
  9127. storehumanoidWS = 75
  9128. hum.WalkSpeed = 75
  9129. rainbowmode = false
  9130. chaosmode = false
  9131. RecolorTextAndRename("INFESTED",Color3.new(0.5,2,0.1),BrickColor.new("Lime green").Color,"Arcade")
  9132. newTheme("rbxassetid://974854133",0,1,1)
  9133. MAINRUINCOLOR = BrickColor.new("Lime green")
  9134. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9135. end
  9136. if k == "l" and mutedtog == false then
  9137. mutedtog = true
  9138. kan.Volume = 0
  9139. elseif k == "l" and mutedtog == true then
  9140. mutedtog = false
  9141. kan.Volume = 1.25
  9142. end
  9143. if k == "p" and toggleTag == false then
  9144. toggleTag = true
  9145. modet.TextTransparency = 0
  9146. modet.TextStrokeTransparency = 0
  9147. elseif k == "p" and toggleTag == true then
  9148. toggleTag = false
  9149. modet.TextTransparency = 1
  9150. modet.TextStrokeTransparency = 1
  9151. end
  9152. if k == "z" and attack == false and ModeOfGlitch == 1 then
  9153. ExtinctiveHeartbreak()
  9154. elseif k == "c" and attack == false and ModeOfGlitch == 1 then
  9155. FallenOrbs()
  9156. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  9157. HeavenlyDisk()
  9158. elseif k == "x" and attack == false and ModeOfGlitch == 2 then
  9159. PureOrb()
  9160. elseif k == "c" and attack == false and ModeOfGlitch == 2 then
  9161. harmonytaunty()
  9162. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  9163. CorruptionEvent()
  9164. elseif k == "x" and attack == false and ModeOfGlitch == 3 then
  9165. scattercorrupt()
  9166. elseif k == "c" and attack == false and ModeOfGlitch == 3 then
  9167. CorruptBlink()
  9168. elseif k == "c" and attack == false and ModeOfGlitch == 4 then
  9169. ChaosEND()
  9170. elseif k == "v" and attack == false and ModeOfGlitch == 4 then
  9171. ChaosGroundStrike()
  9172. elseif k == "m" and attack == false and ModeOfGlitch == 4 then
  9173. FallenOrbs()
  9174. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  9175. RapidBurst()
  9176. elseif k == "k" and attack == false and ModeOfGlitch == 4 then
  9177. InsaneDrop()
  9178. elseif k == "j" and attack == false and ModeOfGlitch == 4 then
  9179. SpeedDrop()
  9180. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  9181. DivineLights()
  9182. elseif k == "x" and attack == false and ModeOfGlitch == 5 then
  9183. vistaunty()
  9184. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  9185. EquinoxOrbs()
  9186. elseif k == "x" and attack == false and ModeOfGlitch == 6 then
  9187. shytaunty()
  9188. elseif k == "c" and attack == false and ModeOfGlitch == 6 then
  9189. cutesigh()
  9190. elseif k == "v" and attack == false and ModeOfGlitch == 6 then
  9191. Counter()
  9192. elseif k == "b" and attack == false and ModeOfGlitch == 6 then
  9193. hugg()
  9194. elseif k == "z" and attack == false and ModeOfGlitch == 7536 then
  9195. yinyangi()
  9196. elseif k == "x" and attack == false and ModeOfGlitch == 9 then
  9197. smiter()
  9198. elseif k == "c" and attack == false and ModeOfGlitch == 9 then
  9199. HolyBarrier()
  9200. elseif k == "z" and attack == false and ModeOfGlitch == 999 then
  9201. ExtinctiveHeartbreak()
  9202. elseif k == "z" and attack == false and ModeOfGlitch == 8889 then
  9203. attackone()
  9204. elseif k == "x" and attack == false and ModeOfGlitch == 8889 then
  9205. UniversalCollapse()
  9206. elseif k == "z" and attack == false and ModeOfGlitch == 9 then
  9207. FallenOrbs()
  9208. elseif k == "c" and attack == false and ModeOfGlitch == 8889 then
  9209. FallenOrbs()
  9210. elseif k == "z" and attack == false and ModeOfGlitch == 8889 then
  9211. EquinoxOrbs()
  9212. elseif k == "v" and attack == false and ModeOfGlitch == 8889 then
  9213. CyberSlash()
  9214. elseif k == "z" and attack == false and ModeOfGlitch == 9999999921111 then
  9215. EndGROUND()
  9216. elseif k == "x" and attack == false and ModeOfGlitch == 9999999921111 then
  9217. StarDivision()
  9218. elseif k == "c" and attack == false and ModeOfGlitch == 9999999921111 then
  9219. GleamingBeam()
  9220. elseif k == "v" and attack == false and ModeOfGlitch == 9999999921111 then
  9221. DualGleamingBeam()
  9222. elseif k == "b" and attack == false and ModeOfGlitch == 9999999921111 then
  9223. dragin()
  9224. elseif k == "m" and attack == false and ModeOfGlitch == 9999999921111 then
  9225. Beams()
  9226. elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
  9227. FallenOrbs()
  9228. end
  9229. if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
  9230. FallenDEMISE()
  9231. end
  9232. if k == "x" and attack == false and ModeOfGlitch == 1 then
  9233. EndGROUND()
  9234. end
  9235. end)
  9236.  
  9237. --[[coroutine.resume(coroutine.create(function()
  9238. while true do
  9239. swait(2)
  9240. if chaosmode == true then
  9241. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9242. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9243. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9244. RecolorTextAndRename("PRISM",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy")
  9245. for i, v in pairs(mw1:GetChildren()) do
  9246. if v:IsA("Part") then
  9247. v.Transparency = 0.75
  9248. v.BrickColor = BrickColor.random()
  9249. v.Material = "Neon"
  9250. end
  9251. end
  9252. for i, v in pairs(m2:GetChildren()) do
  9253. if v:IsA("Part") then
  9254. v.BrickColor = BrickColor.random()
  9255. v.Material = "Neon"
  9256. end
  9257. end
  9258. end
  9259. end
  9260. end))]]--
  9261. Humanoid.Name = "STARGLITCHER"
  9262. Humanoid.MaxHealth = math.huge
  9263. Humanoid.Health = math.huge
  9264. Instance.new("ForceField",char).Visible = false
  9265.  
  9266. local bguis = Instance.new("BillboardGui",tors)
  9267. bguis.Size = UDim2.new(25, 0, 25, 0)
  9268. local imgca = Instance.new("ImageLabel",bguis)
  9269. imgca.BackgroundTransparency = 1
  9270. imgca.ImageTransparency = 1
  9271. imgca.Size = UDim2.new(1,0,1,0)
  9272. imgca.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891
  9273. imgca.ImageColor3 = Color3.new(0,0,0)
  9274.  
  9275. idleanim=.4
  9276. while true do
  9277. if mutedtog == false then
  9278. kan.Volume = currentVol
  9279. elseif mutedtog == true then
  9280. kan.Volume = 0
  9281. end
  9282. kan.PlaybackSpeed = currentPitch
  9283. kan.Pitch = currentPitch
  9284. kan.SoundId = currentThemePlaying
  9285. kan.Looped = true
  9286. kan.Parent = char
  9287. kan:Resume()
  9288. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 then
  9289. imgca.ImageTransparency = 1
  9290. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
  9291. imgca.ImageColor3 = MAINRUINCOLOR.Color
  9292. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  9293. end
  9294. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
  9295. bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  9296. coroutine.resume(coroutine.create(function()
  9297. if chaosmode == true then
  9298. for i, v in pairs(mw1:GetChildren()) do
  9299. if v:IsA("Part") then
  9300. v.Transparency = 0
  9301. v.BrickColor = BrickColor.random()
  9302. v.Material = "Neon"
  9303. end
  9304. end
  9305. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9306. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9307. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9308. RecolorTextAndRename("PRISM",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
  9309. end
  9310. end))
  9311.  
  9312. if chaosmode == false then
  9313. modet.Position = UDim2.new(0,0,0,0)
  9314. modet.Rotation = -5 * math.cos(sine / 32)
  9315. techc.Rotation = techc.Rotation + 1
  9316. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1
  9317. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1
  9318. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 + 1
  9319. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25 - 1
  9320. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  9321. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  9322. else
  9323. techc.Rotation = techc.Rotation + 1
  9324. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
  9325. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
  9326. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
  9327. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
  9328. ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  9329. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  9330. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  9331. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  9332. end
  9333. CameraManager()
  9334. swait()
  9335. 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)
  9336. 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)
  9337. 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)
  9338. 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)
  9339. 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)
  9340. 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)
  9341. 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)
  9342. 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)
  9343. 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)
  9344. 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)
  9345. 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)
  9346. 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)
  9347. sine = sine + change
  9348. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  9349. local velderp=RootPart.Velocity.y
  9350. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  9351. if equipped==true or equipped==false then
  9352. if attack==false then
  9353. idle=idle+1
  9354. else
  9355. idle=0
  9356. end
  9357. if idle>=500 then
  9358. if attack==false then
  9359. --Sheath()
  9360. end
  9361. end
  9362. if RootPart.Velocity.y > 1 and hitfloor==nil then
  9363. Anim="Jump"
  9364. if attack==false then
  9365. 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)
  9366. 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)
  9367. 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)
  9368. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  9369. 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)
  9370. 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)
  9371. end
  9372. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  9373. Anim="Fall"
  9374. if attack==false then
  9375. 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)
  9376. 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)
  9377. 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)
  9378. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  9379. 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)
  9380. 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)
  9381. end
  9382. elseif torvel<1 and hitfloor~=nil then
  9383. Anim="Idle"
  9384. if attack==false then
  9385. if ModeOfGlitch == 1 then
  9386. local snap = math.random(1,10)
  9387. if snap == 1 then
  9388. 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)
  9389. end
  9390. 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)
  9391. 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)
  9392. 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)
  9393. 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)
  9394. 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)
  9395. 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)
  9396. elseif ModeOfGlitch == 2 then
  9397. 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)
  9398. 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)
  9399. 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)
  9400. 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)
  9401. 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)
  9402. 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)
  9403. elseif ModeOfGlitch == 3 then
  9404. local snap = math.random(1,32)
  9405. if snap == 1 then
  9406. 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)
  9407. end
  9408. 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)
  9409. 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)
  9410. 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)
  9411. 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)
  9412. 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)
  9413. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1)
  9414. elseif ModeOfGlitch == 4 then
  9415. local snap = math.random(1,5)
  9416. if snap == 1 then
  9417. 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)
  9418. 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)
  9419. 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)
  9420. end
  9421. 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)
  9422. 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)
  9423. 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)
  9424. 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)
  9425. 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)
  9426. 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)
  9427. 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)
  9428. 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)
  9429. elseif ModeOfGlitch == 5 then
  9430. 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)
  9431. 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))
  9432. 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)
  9433. 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)
  9434. 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)
  9435. 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)
  9436. 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)
  9437. 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)
  9438. elseif ModeOfGlitch == 6 then
  9439. 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)
  9440. 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)
  9441. 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)
  9442. 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)
  9443. 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)
  9444. 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)
  9445. elseif ModeOfGlitch == 8 then
  9446. 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)
  9447. 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)
  9448. 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)
  9449. 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)
  9450. 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)
  9451. 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)
  9452. elseif ModeOfGlitch == 9 then
  9453. local snap = math.random(1,32)
  9454. if snap == 1 then
  9455. 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)
  9456. end
  9457. 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)
  9458. 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)
  9459. 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)
  9460. 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)
  9461. 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)
  9462. 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)
  9463. elseif ModeOfGlitch == 10 then
  9464. 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)
  9465. 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)
  9466. 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)
  9467. 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)
  9468. 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)
  9469. 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)
  9470. elseif ModeOfGlitch == 83 then
  9471. 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)
  9472. 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)
  9473. 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)
  9474. 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)
  9475. 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)
  9476. 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)
  9477. elseif ModeOfGlitch == 95 then
  9478. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1)
  9479. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1)
  9480. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-21 - 2 * math.cos(sine / 32)),math.rad(8),math.rad(0)),.1)
  9481. 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)
  9482. 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)
  9483. 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)
  9484. elseif ModeOfGlitch == 150 then
  9485. local snap = math.random(1,5)
  9486. if snap == 1 then
  9487. 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)
  9488. 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)
  9489. 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)
  9490. end
  9491. 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)
  9492. 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)
  9493. 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)
  9494. 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)
  9495. 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)
  9496. 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)
  9497. elseif ModeOfGlitch == 432 then
  9498. 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)
  9499. 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)
  9500. 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)
  9501. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  9502. 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)
  9503. 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)
  9504. elseif ModeOfGlitch == 500 then
  9505. 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)
  9506. 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)
  9507. 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)
  9508. 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)
  9509. 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)
  9510. 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)
  9511. elseif ModeOfGlitch == 652 then
  9512. local snap = math.random(1,2)
  9513. if snap == 1 then
  9514. 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)
  9515. 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)
  9516. 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)
  9517. end
  9518. 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)
  9519. 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)
  9520. 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)
  9521. 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)
  9522. 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)
  9523. 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)
  9524. elseif ModeOfGlitch == 666 then
  9525. 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)
  9526. 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)
  9527. 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)
  9528. 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)
  9529. 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)
  9530. 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)
  9531. elseif ModeOfGlitch == 789 then
  9532. 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)
  9533. 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)
  9534. 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)
  9535. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  9536. 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)
  9537. 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)
  9538. elseif ModeOfGlitch == 999 then
  9539. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  9540. 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)
  9541. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  9542. 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)
  9543. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  9544. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  9545. elseif ModeOfGlitch == 7536 then
  9546. 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)
  9547. 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)
  9548. 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)
  9549. 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)
  9550. 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)
  9551. 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)
  9552. elseif ModeOfGlitch == 8889 then
  9553. 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)),.1)
  9554. 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)),.1)
  9555. 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)),.1)
  9556. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  9557. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,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)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  9558. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,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)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  9559. elseif ModeOfGlitch == 1264532489 then
  9560. 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)
  9561. 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)
  9562. 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)
  9563. 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)
  9564. 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)
  9565. 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)
  9566. elseif ModeOfGlitch == 9999999921111 then
  9567. local snap = math.random(1,10)
  9568. if snap == 1 then
  9569. 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)
  9570. end
  9571. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  9572. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  9573. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  9574. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
  9575. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(8 + 3 * math.cos(sine / 45))),.1)
  9576. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
  9577. elseif ModeOfGlitch == 4367677813 then
  9578. 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)
  9579. 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)
  9580. 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)
  9581. 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)
  9582. 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)
  9583. 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)
  9584. elseif ModeOfGlitch == 55469696922 then
  9585. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(19 + 8 * math.cos(sine / 62)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-20 - 3 * math.cos(sine / 34))),.1)
  9586. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 - 1 * math.cos(sine / 55)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(26 + 5 * math.cos(sine / 41))),.1)
  9587. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-13 - 2 * math.cos(sine / 32)),math.rad(3),math.rad(10 - 4 * math.cos(sine / 67))),.1)
  9588. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 8 * math.cos(sine / 37)),math.rad(-21 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1)
  9589. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 14 * math.cos(sine / 45))),.1)
  9590. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(35 - 8 * math.cos(sine / 51))),.1)
  9591. elseif ModeOfGlitch == 999999999556 then
  9592. 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)
  9593. 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)
  9594. 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)
  9595. 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)
  9596. 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)
  9597. 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)
  9598. end
  9599. end
  9600. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  9601. Anim="Walk"
  9602. if attack==false then
  9603. 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)
  9604. 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)
  9605. 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)
  9606. 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)
  9607. 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)
  9608. 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)
  9609. end
  9610. elseif torvel>=22 and hitfloor~=nil then
  9611. Anim="Run"
  9612. if attack==false then
  9613. 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
  9614. 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)
  9615. 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)
  9616. 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)
  9617. 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)
  9618. 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)
  9619. 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)
  9620. if ModeOfGlitch == 9 then
  9621. --
  9622. end
  9623. 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
  9624. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2)
  9625. 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)
  9626. 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)
  9627. 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)
  9628. 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)
  9629. 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)
  9630. end
  9631. end
  9632. end
  9633. end
  9634. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement