Advertisement
Dasd5755

cytus fix

Dec 31st, 2018
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 411.50 KB | None | 0 0
  1. --TODO: add comments or something idk
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player = owner
  4. local Mouse,mouse,UserInputService,ContextActionService
  5. do
  6. script.Parent = Player.Character
  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([[SG AWAKEN Loaded.
  93. The super switcher.
  94. Velnorum is one of the first wielders.
  95.  
  96. Created, Reworked by NoobyGames12 and converted by Helkern
  97. ]])
  98.  
  99.  
  100. ------------- ORIGINAL WIELDER OC: Velnorum
  101. print([[Icons:
  102. ! = New
  103. ? = Spoilers
  104. * = Exclusivity
  105. C = Changes
  106.  
  107. ]])
  108. warn([[V 4.1 Update Log:
  109. !C? - Mostly about 7-9 main modes added.
  110. ! - Non-canon [N] modes are added from few modes:
  111. > Mayhem: NANO
  112. > Purity: BRIGHTNESS
  113. > Chaos: CRAZED
  114. > Divinity: FALLEN
  115. > Destiny: OMEGA
  116. ! - Added back CALAMITY and INFESTATION.
  117. C - Two main click attacks changed.
  118. !C - Moves are added back, with severe change and difference.
  119. C - Some modes got renamed because fat filter
  120. C - Toned down the effects to be compatible with fe without strong lag.]])
  121. --- its obs smooth af do not touch
  122. ---- Sources and functions might be taken from others
  123. plr = owner
  124. char = plr.Character
  125. hum = char.Humanoid
  126. local cam = game.Workspace.CurrentCamera
  127. Camera = cam
  128. local CamInterrupt = false
  129. local TwoD = false
  130. local TargetInfo = {nil, nil}
  131. cam.CameraType = "Custom"
  132. t = char.Torso
  133. h = char.Head
  134. ra = char["Right Arm"]
  135. la = char["Left Arm"]
  136. rl = char["Right Leg"]
  137. ll = char["Left Leg"]
  138. tors = char.Torso
  139. lleg = char["Left Leg"]
  140. root = char.HumanoidRootPart
  141. hed = char.Head
  142. rleg = char["Right Leg"]
  143. rarm = char["Right Arm"]
  144. larm = char["Left Arm"]
  145. radian = math.rad
  146. random = math.random
  147. Vec3 = Vector3.new
  148. Inst = Instance.new
  149. cFrame = CFrame.new
  150. Euler = CFrame.fromEulerAnglesXYZ
  151. vt = Vector3.new
  152. bc = BrickColor.new
  153. br = BrickColor.random
  154. it = Instance.new
  155. cf = CFrame.new
  156.  
  157. local Booleans = {
  158. CamFollow = true,
  159. GyroUse = true
  160. }
  161.  
  162. function lerp(object, newCFrame, alpha)
  163. return object:lerp(newCFrame, alpha)
  164. end
  165.  
  166. local Directer = Inst("BodyGyro", root)
  167. Directer.MaxTorque = Vec3(0, 0, 0)
  168. Directer.P = 600000
  169. local CPart = Inst("Part")
  170. CPart.Anchored = true
  171. CPart.CanCollide = false
  172. CPart.Locked = true
  173. CPart.Transparency = 1
  174.  
  175. local rainbowmode = false
  176. local chaosmode = false
  177.  
  178. local kan = Instance.new("Sound",char)
  179. kan.Volume = 1.25
  180. kan.TimePosition = 0
  181. kan.PlaybackSpeed = 1
  182. kan.Pitch = 1
  183. kan.SoundId = "rbxassetid://614032233"
  184. kan.Name = "wrecked"
  185. kan.Looped = true
  186. kan:Play()
  187.  
  188. local currentThemePlaying = kan.SoundId
  189. local currentPitch = kan.Pitch
  190. local currentVol = kan.Volume
  191. function newTheme(ID,timepos,pitch,vol)
  192. local kanz = kan
  193. --kanz:Stop()
  194. kanz.Volume = vol
  195. --kanz.TimePosition = timepos
  196. kanz.PlaybackSpeed = pitch
  197. kanz.Pitch = pitch
  198. kanz.SoundId = ID
  199. kanz.Name = "wrecked"
  200. kanz.Looped = true
  201. currentThemePlaying = kanz.SoundId
  202. currentVol = kanz.Volume
  203. currentPitch = kanz.Pitch
  204. --kanz:Play()
  205. --coroutine.resume(coroutine.create(function()
  206. --wait(0.05)
  207. --end))
  208. end
  209.  
  210.  
  211. function newThemeCust(ID,timepos,pitch,vol)
  212. local kanz = kan
  213. kanz:Stop()
  214. kanz.Volume = vol
  215. kanz.TimePosition = timepos
  216. kanz.PlaybackSpeed = pitch
  217. kanz.Pitch = pitch
  218. kanz.SoundId = ID
  219. kanz.Name = "wrecked"
  220. kanz.Looped = true
  221. currentThemePlaying = kanz.SoundId
  222. currentVol = kanz.Volume
  223. currentPitch = kanz.Pitch
  224. kanz:Play()
  225. coroutine.resume(coroutine.create(function()
  226. wait(0.05)
  227. end))
  228. end
  229.  
  230. local mutedtog = false
  231.  
  232. function CameraEnshaking(Length,Intensity)
  233. coroutine.resume(coroutine.create(function()
  234. local intensity = 1*Intensity
  235. local rotM = 0.01*Intensity
  236. for i = 0, Length, 0.1 do
  237. swait()
  238. intensity = intensity - 0.05*Intensity/Length
  239. rotM = rotM - 0.0005*Intensity/Length
  240. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  241. 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)
  242. end
  243. Humanoid.CameraOffset = Vec3(0, 0, 0)
  244. end))
  245. end
  246. CamShake=function(Part,Distan,Power,Times)
  247. local de=Part.Position
  248. for i,v in pairs(workspace:children()) do
  249. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  250. for _,c in pairs(v:children()) do
  251. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  252. local Noob=v.Humanoid
  253. if Noob~=nil then
  254. coroutine.resume(coroutine.create(function()
  255. FV = Instance.new("BoolValue", Noob)
  256. FV.Name = "CameraShake"
  257. for ShakeNum=1,Times do
  258. swait()
  259. local ef=Power
  260. if ef>=1 then
  261. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  262. else
  263. ef=Power*10
  264. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  265. end
  266. end
  267. Humanoid.CameraOffset = Vector3.new(0,0,0)
  268. FV:Destroy()
  269. end))
  270. CameraShake(Times, Power, Noob)
  271. end
  272. end
  273. end
  274. end
  275. end
  276. end
  277.  
  278. local toggleTag = true
  279. local bilguit = Instance.new("BillboardGui", hed)
  280. bilguit.Adornee = nil
  281. bilguit.Name = "ModeName"
  282. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  283. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  284. local modet = Instance.new("TextLabel", bilguit)
  285. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  286. modet.FontSize = "Size8"
  287. modet.TextScaled = true
  288. modet.TextTransparency = 0
  289. modet.BackgroundTransparency = 1
  290. modet.TextTransparency = 0
  291. modet.TextStrokeTransparency = 0
  292. modet.Font = "Antique"
  293. modet.TextStrokeColor3 = Color3.new(1,0,0)
  294. modet.TextColor3 = Color3.new(0.25,0,0)
  295. modet.Text = "MAYHEM"
  296.  
  297.  
  298. function chatfunc(text,color,typet,font,timeex)
  299. local chat = coroutine.wrap(function()
  300. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  301. Character:FindFirstChild("TalkingBillBoard"):destroy()
  302. end
  303. local naeeym2 = Instance.new("BillboardGui",Character)
  304. naeeym2.Size = UDim2.new(0,100,0,40)
  305. naeeym2.StudsOffset = Vector3.new(0,3,0)
  306. naeeym2.Adornee = Character.Head
  307. naeeym2.Name = "TalkingBillBoard"
  308. local tecks2 = Instance.new("TextLabel",naeeym2)
  309. tecks2.BackgroundTransparency = 1
  310. tecks2.BorderSizePixel = 0
  311. tecks2.Text = ""
  312. tecks2.Font = font
  313. tecks2.TextSize = 30
  314. tecks2.TextStrokeTransparency = 0
  315. tecks2.TextColor3 = color
  316. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  317. tecks2.Size = UDim2.new(1,0,0.5,0)
  318. local tecks3 = Instance.new("TextLabel",naeeym2)
  319. tecks3.BackgroundTransparency = 1
  320. tecks3.BorderSizePixel = 0
  321. tecks3.Text = ""
  322. tecks3.Font = font
  323. tecks3.TextSize = 30
  324. tecks3.TextStrokeTransparency = 0
  325. if typet == "Inverted" then
  326. tecks3.TextColor3 = Color3.new(0,0,0)
  327. tecks3.TextStrokeColor3 = color
  328. elseif typet == "Normal" then
  329. tecks3.TextColor3 = color
  330. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  331. end
  332. tecks3.Size = UDim2.new(1,0,0.5,0)
  333. coroutine.resume(coroutine.create(function()
  334. while true do
  335. swait(1)
  336. if chaosmode == true then
  337. tecks2.TextColor3 = BrickColor.random().Color
  338. tecks3.TextStrokeColor3 = BrickColor.random().Color
  339. end
  340. end
  341. end))
  342. modet.TextTransparency = modet.TextTransparency + 1
  343. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  344. for i = 0, 74*timeex do
  345. swait()
  346. modet.TextTransparency = 1
  347. modet.TextStrokeTransparency = 1
  348. tecks2.Text = text
  349. tecks3.Text = text
  350. end
  351. local randomrot = math.random(1,2)
  352. if randomrot == 1 then
  353. for i = 1, 50 do
  354. swait()
  355. tecks2.Text = text
  356. tecks3.Text = text
  357. modet.TextTransparency = modet.TextTransparency - .02
  358. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  359. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  360. tecks2.TextTransparency = tecks2.TextTransparency + .04
  361. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  362. tecks3.TextTransparency = tecks2.TextTransparency + .04
  363. end
  364. elseif randomrot == 2 then
  365. for i = 1, 50 do
  366. swait()
  367. tecks2.Text = text
  368. tecks3.Text = text
  369. modet.TextTransparency = modet.TextTransparency - .02
  370. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  371. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  372. tecks2.TextTransparency = tecks2.TextTransparency + .04
  373. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  374. tecks3.TextTransparency = tecks2.TextTransparency + .04
  375. end
  376. end
  377. modet.TextTransparency = 0
  378. modet.TextStrokeTransparency = 0
  379. if toggleTag == false then
  380. modet.TextTransparency = 1
  381. modet.TextStrokeTransparency = 1
  382. end
  383. naeeym2:Destroy()
  384. end)
  385. chat()
  386. end
  387.  
  388. function bosschatfunc(text,color,watval)
  389. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  390. coroutine.resume(coroutine.create(function()
  391. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  392. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  393. end
  394. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  395. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  396. scrg.Name = "Dialog"
  397. local txtlb = Instance.new("TextLabel",scrg)
  398. txtlb.Text = ""
  399. txtlb.Font = "Bodoni"
  400. txtlb.TextColor3 = Color3.new(0,0,0)
  401. txtlb.TextStrokeTransparency = 0
  402. txtlb.BackgroundTransparency = 0.75
  403. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  404. txtlb.TextStrokeColor3 = color
  405. txtlb.TextScaled = true
  406. txtlb.Size = UDim2.new(1,0,0.25,0)
  407. txtlb.TextXAlignment = "Left"
  408. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  409. local txtlb2 = Instance.new("TextLabel",scrg)
  410. txtlb2.Text = "?:"
  411. txtlb2.Font = "Arcade"
  412. txtlb2.TextColor3 = Color3.new(0,0,0)
  413. txtlb2.TextStrokeTransparency = 0
  414. txtlb2.BackgroundTransparency = 1
  415. txtlb2.TextStrokeColor3 = color
  416. txtlb2.TextSize = 40
  417. txtlb2.Size = UDim2.new(1,0,0.25,0)
  418. txtlb2.TextXAlignment = "Left"
  419. txtlb2.Position = UDim2.new(0,0,1,0)
  420. local fvalen = 0.55
  421. local fval = -0.49
  422. coroutine.resume(coroutine.create(function()
  423. while true do
  424. swait()
  425. if chaosmode == true then
  426. txtlb.Rotation = math.random(-1,1)
  427. txtlb2.Rotation = math.random(-1,1)
  428. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  429. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  430. txtlb.TextStrokeColor3 = BrickColor.random().Color
  431. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  432. end
  433. end
  434. end))
  435. coroutine.resume(coroutine.create(function()
  436. while true do
  437. swait()
  438. if scrg.Parent ~= nil then
  439. fvalen = fvalen - 0.0001
  440. elseif scrg.Parent == nil then
  441. break
  442. end
  443. end
  444. end))
  445. local flol = 1.75
  446. local flil = 1.6
  447. coroutine.resume(coroutine.create(function()
  448. for i = 0, 9 do
  449. swait()
  450. fval = fval + 0.05
  451. flol = flol - 0.1
  452. flil = flil - 0.1
  453. txtlb.Text = ""
  454. txtlb.Position = UDim2.new(0,0,flol,0)
  455. txtlb2.Position = UDim2.new(0,0,flil,0)
  456. end
  457. txtlb.Text = text
  458. wait(watval)
  459. local valinc = 0
  460. for i = 0, 99 do
  461. swait()
  462. valinc = valinc + 0.0001
  463. flol = flol + valinc
  464. flil = flil + valinc
  465. txtlb.Rotation = txtlb.Rotation + valinc*20
  466. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  467. txtlb.Position = UDim2.new(0,0,flol,0)
  468. txtlb2.Position = UDim2.new(0,0,flil,0)
  469. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  470. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  471. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  472. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  473. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  474. end
  475. scrg:Destroy()
  476. end))
  477. end))
  478. end
  479. end
  480.  
  481.  
  482. local Create = LoadLibrary("RbxUtility").Create
  483.  
  484. CFuncs = {
  485. ["Part"] = {
  486. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  487. local Part = Create("Part"){
  488. Parent = Parent,
  489. Reflectance = Reflectance,
  490. Transparency = Transparency,
  491. CanCollide = false,
  492. Locked = true,
  493. BrickColor = BrickColor.new(tostring(BColor)),
  494. Name = Name,
  495. Size = Size,
  496. Material = Material,
  497. }
  498. RemoveOutlines(Part)
  499. return Part
  500. end;
  501. };
  502.  
  503. ["Mesh"] = {
  504. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  505. local Msh = Create(Mesh){
  506. Parent = Part,
  507. Offset = OffSet,
  508. Scale = Scale,
  509. }
  510. if Mesh == "SpecialMesh" then
  511. Msh.MeshType = MeshType
  512. Msh.MeshId = MeshId
  513. end
  514. return Msh
  515. end;
  516. };
  517.  
  518. ["Mesh"] = {
  519. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  520. local Msh = Create(Mesh){
  521. Parent = Part,
  522. Offset = OffSet,
  523. Scale = Scale,
  524. }
  525. if Mesh == "SpecialMesh" then
  526. Msh.MeshType = MeshType
  527. Msh.MeshId = MeshId
  528. end
  529. return Msh
  530. end;
  531. };
  532.  
  533. ["Weld"] = {
  534. Create = function(Parent, Part0, Part1, C0, C1)
  535. local Weld = Create("Weld"){
  536. Parent = Parent,
  537. Part0 = Part0,
  538. Part1 = Part1,
  539. C0 = C0,
  540. C1 = C1,
  541. }
  542. return Weld
  543. end;
  544. };
  545.  
  546. ["Sound"] = {
  547. Create = function(id, par, vol, pit)
  548. coroutine.resume(coroutine.create(function()
  549. local S = Create("Sound"){
  550. Volume = vol,
  551. Name = "EffectSoundo",
  552. Pitch = pit or 1,
  553. SoundId = id,
  554. Parent = par or workspace,
  555. }
  556. wait()
  557. S:play()
  558. game:GetService("Debris"):AddItem(S, 10)
  559. end))
  560. end;
  561. };
  562.  
  563. ["TimeSound"] = {
  564. Create = function(id, par, vol, pit, timepos)
  565. coroutine.resume(coroutine.create(function()
  566. local S = Create("Sound"){
  567. Volume = vol,
  568. Name = "EffectSoundo",
  569. Pitch = pit or 1,
  570. SoundId = id,
  571. TimePosition = timepos,
  572. Parent = par or workspace,
  573. }
  574. wait()
  575. S:play()
  576. game:GetService("Debris"):AddItem(S, 10)
  577. end))
  578. end;
  579. };
  580. ["EchoSound"] = {
  581. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  582. coroutine.resume(coroutine.create(function()
  583. local Sas = Create("Sound"){
  584. Volume = vol,
  585. Name = "EffectSoundo",
  586. Pitch = pit or 1,
  587. SoundId = id,
  588. TimePosition = timepos,
  589. Parent = par or workspace,
  590. }
  591. local E = Create("EchoSoundEffect"){
  592. Delay = echodelay,
  593. Name = "Echo",
  594. Feedback = fedb,
  595. DryLevel = dryl,
  596. Parent = Sas,
  597. }
  598. wait()
  599. Sas:play()
  600. game:GetService("Debris"):AddItem(Sas, delays)
  601. end))
  602. end;
  603. };
  604.  
  605. ["LongSound"] = {
  606. Create = function(id, par, vol, pit)
  607. coroutine.resume(coroutine.create(function()
  608. local S = Create("Sound"){
  609. Volume = vol,
  610. Pitch = pit or 1,
  611. SoundId = id,
  612. Parent = par or workspace,
  613. }
  614. wait()
  615. S:play()
  616. game:GetService("Debris"):AddItem(S, 60)
  617. end))
  618. end;
  619. };
  620.  
  621. ["ParticleEmitter"] = {
  622. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  623. local fp = Create("ParticleEmitter"){
  624. Parent = Parent,
  625. Color = ColorSequence.new(Color1, Color2),
  626. LightEmission = LightEmission,
  627. Size = Size,
  628. Texture = Texture,
  629. Transparency = Transparency,
  630. ZOffset = ZOffset,
  631. Acceleration = Accel,
  632. Drag = Drag,
  633. LockedToPart = LockedToPart,
  634. VelocityInheritance = VelocityInheritance,
  635. EmissionDirection = EmissionDirection,
  636. Enabled = Enabled,
  637. Lifetime = LifeTime,
  638. Rate = Rate,
  639. Rotation = Rotation,
  640. RotSpeed = RotSpeed,
  641. Speed = Speed,
  642. VelocitySpread = VelocitySpread,
  643. }
  644. return fp
  645. end;
  646. };
  647.  
  648. CreateTemplate = {
  649.  
  650. };
  651. }
  652.  
  653.  
  654.  
  655. New = function(Object, Parent, Name, Data)
  656. local Object = Instance.new(Object)
  657. for Index, Value in pairs(Data or {}) do
  658. Object[Index] = Value
  659. end
  660. Object.Parent = Parent
  661. Object.Name = Name
  662. return Object
  663. end
  664. local halocolor = BrickColor.new("Pastel light blue")
  665. local halocolor2 = BrickColor.new("Cool yellow")
  666. local starcolor = BrickColor.new("Bright yellow")
  667. local lunacolor = BrickColor.new("Navy blue")
  668. local lunacolor2 = BrickColor.new("Bright blue")
  669. local wepcolor = BrickColor.new("Really black")
  670. local maincolor = BrickColor.new("Really black")
  671. local m = Instance.new("Model",char)
  672. local m2 = Instance.new("Model",char)
  673. local m3 = Instance.new("Model",char)
  674. local mw1 = Instance.new("Model",char)
  675. local mw2 = Instance.new("Model",char)
  676.  
  677.  
  678. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  679. local gui = it(GuiType)
  680. gui.Parent = parent
  681. gui.Text = text
  682. gui.BackgroundTransparency = backtrans
  683. gui.BackgroundColor3 = backcol
  684. gui.SizeConstraint = "RelativeXY"
  685. gui.TextXAlignment = "Center"
  686. gui.TextYAlignment = "Center"
  687. gui.Position = pos
  688. gui.Size = size
  689. gui.Font = "SourceSans"
  690. gui.FontSize = "Size14"
  691. gui.TextWrapped = false
  692. gui.TextStrokeTransparency = 0
  693. gui.TextColor = BrickColor.new("White")
  694. return gui
  695. end
  696. --------------------------- GUI STUFF
  697. local basgui = it("GuiMain")
  698. basgui.Parent = plr.PlayerGui
  699. basgui.Name = "VISgui"
  700. local fullscreenz = it("Frame")
  701. fullscreenz.Parent = basgui
  702. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  703. fullscreenz.BackgroundTransparency = 1
  704. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  705. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  706. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  707. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  708. imgl2.BackgroundTransparency = 1
  709. imgl2.BorderSizePixel = 0
  710. imgl2.ImageTransparency = 0.5
  711. imgl2.ImageColor3 = Color3.new(1,1,1)
  712. imgl2.Position = UDim2.new(0.75,-100,0.55,-100)
  713. imgl2.Size = UDim2.new(0,800,0,800)
  714. imgl2.Image = "rbxassetid://2076458450"
  715. local techc = imgl2:Clone()
  716. techc.Parent = fullscreenz
  717. techc.ImageTransparency = 0
  718. techc.Size = UDim2.new(0,900,0,900)
  719. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  720. techc.ImageColor3 = Color3.new(1,1,1)
  721. techc.Image = "rbxassetid://2092248396"
  722. local circl = imgl2:Clone()
  723. circl.Parent = fullscreenz
  724. circl.ImageTransparency = 0
  725. circl.Size = UDim2.new(0,550,0,550)
  726. circl.Position = UDim2.new(0.75,25,0.55,25)
  727. circl.ImageColor3 = Color3.new(0,0,0)
  728. circl.Image = "rbxassetid://2076519836"
  729. local circl2 = imgl2:Clone()
  730. circl2.Parent = fullscreenz
  731. circl2.ImageTransparency = 0
  732. circl2.Size = UDim2.new(0,700,0,700)
  733. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  734. circl2.ImageColor3 = Color3.new(1,1,1)
  735. circl2.Image = "rbxassetid://2076519836"
  736. local imgl2b = imgl2:Clone()
  737. imgl2b.Parent = fullscreenz
  738. imgl2b.ImageTransparency = 0
  739. imgl2b.Size = UDim2.new(0,600,0,600)
  740. imgl2b.Position = UDim2.new(0.75,0,0.55,0)
  741. imgl2b.ImageColor3 = Color3.new(0,0,0)
  742. local ned = Instance.new("TextLabel",fullscreenz)
  743. ned.ZIndex = 2
  744. ned.Font = "SciFi"
  745. ned.BackgroundTransparency = 1
  746. ned.BorderSizePixel = 0.65
  747. ned.Size = UDim2.new(0.3,0,0.2,0)
  748. ned.Position = UDim2.new(0.7,0,0.8,0)
  749. ned.TextColor3 = BrickColor.new("White").Color
  750. ned.TextStrokeColor3 = BrickColor.new("Medium stone grey").Color
  751. ned.TextScaled = true
  752. ned.TextStrokeTransparency = 0
  753. ned.Text = "ENLIGHTENED"
  754. ned.TextSize = 24
  755. ned.Rotation = 1
  756. ned.TextXAlignment = "Right"
  757. ned.TextYAlignment = "Bottom"
  758.  
  759. local bguis = Instance.new("BillboardGui",tors)
  760. bguis.Size = UDim2.new(25, 0, 25, 0)
  761. local imgca = Instance.new("ImageLabel",bguis)
  762. imgca.BackgroundTransparency = 1
  763. imgca.ImageTransparency = 1
  764. imgca.Size = UDim2.new(1,0,1,0)
  765. imgca.Image = "rbxassetid://2076519836" --997291547,521073910
  766. imgca.ImageColor3 = Color3.new(0,0,0)
  767.  
  768. local extrawingmod1 = Instance.new("Model",char)
  769. local extrawingmod2 = Instance.new("Model",char)
  770.  
  771. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  772. local p = Instance.new("Part")
  773. p.TopSurface = 0
  774. p.BottomSurface = 0
  775. p.Parent = parent
  776. p.Size = Vector3.new(0.1,0.1,0.1)
  777. p.Transparency = transparency
  778. p.Reflectance = reflectance
  779. p.CanCollide = false
  780. p.Locked = true
  781. p.BrickColor = brickcolor
  782. p.Material = material
  783. return p
  784. end
  785.  
  786. function CreateMesh(parent,meshtype,x1,y1,z1)
  787. local mesh = Instance.new("SpecialMesh",parent)
  788. mesh.MeshType = meshtype
  789. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  790. return mesh
  791. end
  792.  
  793. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  794. local mesh = Instance.new("SpecialMesh",parent)
  795. mesh.MeshType = "FileMesh"
  796. mesh.MeshId = meshid
  797. mesh.Scale = Vector3.new(x1,y1,z1)
  798. return mesh
  799. end
  800.  
  801.  
  802. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  803. local mesh = Instance.new("SpecialMesh",parent)
  804. mesh.MeshType = "FileMesh"
  805. mesh.MeshId = meshid
  806. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  807. mesh.Scale = Vector3.new(x1,y1,z1)
  808. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  809. return mesh
  810. end
  811.  
  812. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  813. local weld = Instance.new("Weld")
  814. weld.Parent = parent
  815. weld.Part0 = part0
  816. weld.Part1 = part1
  817. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  818. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  819. return weld
  820. end
  821.  
  822.  
  823. --------------
  824. --------------
  825. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  826. 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))
  827. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  828. 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))
  829.  
  830. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  831. CreateMesh(handle,"Brick",0,0,0)
  832. 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))
  833. local valuaring = 10
  834. for i = 0, 49 do
  835. valuaring = valuaring + 10
  836. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  837. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  838. 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))
  839. end
  840.  
  841. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  842. CreateMesh(handle,"Brick",0,0,0)
  843. 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))
  844. local valuaring = 10
  845. for i = 0, 49 do
  846. valuaring = valuaring + 10
  847. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  848. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  849. 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))
  850. end
  851.  
  852.  
  853. local handle = CreateParta(m,1,1,"Neon",maincolor)
  854. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  855. 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))
  856.  
  857. --- Left wing.
  858.  
  859. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  860. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  861. 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))
  862.  
  863. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  864. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  865. 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))
  866. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  867. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  868. 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))
  869. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  870. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  871. 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))
  872. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  873. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  874. 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))
  875. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  876. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  877. 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))
  878. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  879. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  880. 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))
  881. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  882. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  883. 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))
  884. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  885. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  886. 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))
  887. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  888. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  889. 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))
  890. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  891. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  892. 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))
  893.  
  894.  
  895. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  896. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  897. 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))
  898.  
  899. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  900. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  901. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  902. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  903. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  904. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  905. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  906. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  907. CreateWeld(wed,lwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  908. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  909. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  910. CreateWeld(wed,lwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  911. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  912. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  913. CreateWeld(wed,lwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  914. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  915. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  916. 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))
  917. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  918. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  919. 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))
  920. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  921. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  922. 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))
  923. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  924. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  925. 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))
  926. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  927. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  928. 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))
  929.  
  930. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  931. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  932. 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))
  933.  
  934. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  935. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  936. 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))
  937. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  938. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  939. 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))
  940. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  941. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  942. CreateWeld(wed,lwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  943. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  944. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  945. CreateWeld(wed,lwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  946. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  947. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  948. CreateWeld(wed,lwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  949. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  950. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  951. CreateWeld(wed,lwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  952. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  953. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  954. 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))
  955. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  956. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  957. 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))
  958. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  959. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  960. 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))
  961. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  962. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  963. 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))
  964.  
  965. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  966. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  967. 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))
  968.  
  969. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  970. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  971. 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))
  972. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  973. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  974. 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))
  975. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  976. CreateMesh(wed,"Wedge",0.05,0.5,3)
  977. 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))
  978. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  979. CreateMesh(wed,"Wedge",0.05,3,0.5)
  980. 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))
  981.  
  982. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  983. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  984. 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))
  985.  
  986. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  987. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  988. 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))
  989. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  990. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  991. 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))
  992. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  993. CreateMesh(wed,"Wedge",0.05,0.5,3)
  994. 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))
  995. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  996. CreateMesh(wed,"Wedge",0.05,3,0.5)
  997. 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))
  998.  
  999. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1000. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1001. 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))
  1002.  
  1003. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1004. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1005. 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))
  1006. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1007. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1008. 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))
  1009. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1010. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1011. 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))
  1012. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1013. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1014. 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))
  1015.  
  1016. -- Right wing.
  1017.  
  1018. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1019. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1020. 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))
  1021.  
  1022. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1023. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1024. 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))
  1025. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1026. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1027. 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))
  1028. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1029. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1030. 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))
  1031. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1032. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1033. 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))
  1034. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1035. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1036. 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))
  1037. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1038. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1039. 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))
  1040. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1041. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  1042. 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))
  1043. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1044. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  1045. 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))
  1046. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1047. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  1048. 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))
  1049. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1050. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  1051. 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))
  1052.  
  1053. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1054. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1055. 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))
  1056.  
  1057. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1058. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1059. 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))
  1060. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1061. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1062. 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))
  1063. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1064. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1065. 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))
  1066. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1067. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1068. 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))
  1069. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1070. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1071. 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))
  1072. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1073. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1074. 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))
  1075. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1076. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  1077. 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))
  1078. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1079. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  1080. 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))
  1081. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1082. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  1083. 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))
  1084. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1085. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  1086. 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))
  1087.  
  1088. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1089. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1090. 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))
  1091.  
  1092.  
  1093. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1094. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1095. 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))
  1096. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1097. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1098. 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))
  1099. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1100. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1101. 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))
  1102. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1103. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1104. 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))
  1105. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1106. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1107. 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))
  1108. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1109. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1110. 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))
  1111. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1112. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  1113. 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))
  1114. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1115. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  1116. 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))
  1117. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1118. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  1119. 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))
  1120. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1121. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  1122. 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))
  1123.  
  1124.  
  1125. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1126. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1127. 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))
  1128.  
  1129. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1130. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1131. 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))
  1132. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1133. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1134. 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))
  1135. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1136. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1137. 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))
  1138. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1139. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1140. 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))
  1141.  
  1142. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1143. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1144. 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))
  1145.  
  1146. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1147. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1148. 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))
  1149. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1150. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1151. 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))
  1152. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1153. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1154. 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))
  1155. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1156. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1157. 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))
  1158.  
  1159. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1160. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1161. 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))
  1162.  
  1163. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1164. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1165. 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))
  1166. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1167. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1168. 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))
  1169. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1170. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1171. 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))
  1172. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1173. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1174. 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))
  1175.  
  1176. ---- HERES THE RING
  1177.  
  1178.  
  1179. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1180. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1181. 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))
  1182. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1183. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1184. 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))
  1185. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1186. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1187. 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))
  1188.  
  1189.  
  1190. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1191. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1192. 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))
  1193.  
  1194. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1195. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1196. 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))
  1197.  
  1198.  
  1199.  
  1200. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1201. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1202. 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))
  1203.  
  1204. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1205. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1206. 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))
  1207.  
  1208. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1209. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1210. 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))
  1211.  
  1212. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1213. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1214. 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))
  1215. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1216. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1217. 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))
  1218.  
  1219. --- second ring
  1220.  
  1221. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1222. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1223. 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))
  1224. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1225. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1226. 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))
  1227. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1228. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1229. 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))
  1230.  
  1231. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1232. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1233. 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))
  1234.  
  1235. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1236. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1237. 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))
  1238.  
  1239.  
  1240.  
  1241. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1242. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1243. 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))
  1244.  
  1245. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1246. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1247. 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))
  1248.  
  1249. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1250. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1251. 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))
  1252.  
  1253. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1254. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1255. 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))
  1256. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1257. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1258. 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))]]--
  1259.  
  1260.  
  1261.  
  1262. for i, v in pairs(m:GetChildren()) do
  1263. if v:IsA("Part") then
  1264. v.BrickColor = BrickColor.new("Really black")
  1265. v.Material = "Glass"
  1266. end
  1267. end
  1268. for i, v in pairs(m2:GetChildren()) do
  1269. if v:IsA("Part") then
  1270. v.BrickColor = BrickColor.new("Crimson")
  1271. v.Material = "Granite"
  1272. end
  1273. end
  1274. for i, v in pairs(m3:GetChildren()) do
  1275. if v:IsA("Part") then
  1276. v.BrickColor = BrickColor.new("Really red")
  1277. v.Material = "Neon"
  1278. end
  1279. end
  1280. for i, v in pairs(mw2:GetChildren()) do
  1281. if v:IsA("Part") then
  1282. v.BrickColor = BrickColor.new("Really red")
  1283. v.Material = "Neon"
  1284. end
  1285. end
  1286. for i, v in pairs(mw1:GetChildren()) do
  1287. if v:IsA("Part") then
  1288. v.Transparency = 1
  1289. v.BrickColor = BrickColor.new("Really red")
  1290. v.Material = "Neon"
  1291. end
  1292. end
  1293. for i, v in pairs(extrawingmod1:GetChildren()) do
  1294. if v:IsA("Part") then
  1295. v.Transparency = 1
  1296. v.BrickColor = BrickColor.new("White")
  1297. v.Material = "Neon"
  1298. end
  1299. end
  1300. for i, v in pairs(extrawingmod2:GetChildren()) do
  1301. if v:IsA("Part") then
  1302. v.Transparency = 1
  1303. v.BrickColor = BrickColor.new("White")
  1304. v.Material = "Neon"
  1305. end
  1306. end
  1307. local MAINRUINCOLOR = BrickColor.new("Really red")
  1308. ------
  1309.  
  1310.  
  1311. function RemoveOutlines(part)
  1312. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1313. end
  1314. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1315. local Part = Create("Part")({
  1316. Parent = Parent,
  1317. Reflectance = Reflectance,
  1318. Transparency = Transparency,
  1319. CanCollide = false,
  1320. Locked = true,
  1321. BrickColor = BrickColor.new(tostring(BColor)),
  1322. Name = Name,
  1323. Size = Size,
  1324. Material = Material
  1325. })
  1326. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1327. RemoveOutlines(Part)
  1328. return Part
  1329. end
  1330. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1331. local Msh = Create(Mesh)({
  1332. Parent = Part,
  1333. Offset = OffSet,
  1334. Scale = Scale
  1335. })
  1336. if Mesh == "SpecialMesh" then
  1337. Msh.MeshType = MeshType
  1338. Msh.MeshId = MeshId
  1339. end
  1340. return Msh
  1341. end
  1342. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1343. local Weld = Create("Weld")({
  1344. Parent = Parent,
  1345. Part0 = Part0,
  1346. Part1 = Part1,
  1347. C0 = C0,
  1348. C1 = C1
  1349. })
  1350. return Weld
  1351. end
  1352.  
  1353. Character=Player.Character
  1354. PlayerGui=Player.PlayerGui
  1355. Backpack=Player.Backpack
  1356. Torso=Character.Torso
  1357. Head=Character.Head
  1358. Humanoid=Character.Humanoid
  1359. m=Instance.new('Model',Character)
  1360. LeftArm=Character["Left Arm"]
  1361. LeftLeg=Character["Left Leg"]
  1362. RightArm=Character["Right Arm"]
  1363. RightLeg=Character["Right Leg"]
  1364. LS=Torso["Left Shoulder"]
  1365. LH=Torso["Left Hip"]
  1366. RS=Torso["Right Shoulder"]
  1367. RH=Torso["Right Hip"]
  1368. Face = Head.face
  1369. Neck=Torso.Neck
  1370. it=Instance.new
  1371. attacktype=1
  1372. vt=Vector3.new
  1373. cf=CFrame.new
  1374. euler=CFrame.fromEulerAnglesXYZ
  1375. angles=CFrame.Angles
  1376. cloaked=false
  1377. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1378. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1379. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1380. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1381. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1382. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1383. RootPart=Character.HumanoidRootPart
  1384. RootJoint=RootPart.RootJoint
  1385. RootCF=euler(-1.57,0,3.14)
  1386. attack = false
  1387. attackdebounce = false
  1388. deb=false
  1389. equipped=true
  1390. hand=false
  1391. combo=0
  1392. mana=0
  1393. trispeed=.2
  1394. attackmode='none'
  1395. local idle=0
  1396. local Anim="Idle"
  1397. local Effects={}
  1398. local gun=false
  1399. local shoot=false
  1400. local sine = 0
  1401. local change = 1
  1402.  
  1403. function RecolorTextAndRename(name,col1,col2,font)
  1404. modet.TextStrokeColor3 = col2
  1405. modet.TextColor3 = col1
  1406. modet.Font = font
  1407. modet.Text = name
  1408. techc.ImageColor3 = col2
  1409. circl.ImageColor3 = col2
  1410. circl2.ImageColor3 = col1
  1411. imgl2.ImageColor3 = col1
  1412. imgl2b.ImageColor3 = col2
  1413. ned.Text = name
  1414. ned.TextColor3 = col1
  1415. ned.TextStrokeColor3 = col2
  1416. end
  1417. --save shoulders
  1418. RSH, LSH=nil, nil
  1419. --welds
  1420. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1421. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1422. LH=Torso["Left Hip"]
  1423. RH=Torso["Right Hip"]
  1424. TorsoColor=Torso.BrickColor
  1425. function NoOutline(Part)
  1426. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1427. end
  1428. ch=Character
  1429. RSH=ch.Torso["Right Shoulder"]
  1430. LSH=ch.Torso["Left Shoulder"]
  1431. --
  1432. RSH.Parent=nil
  1433. LSH.Parent=nil
  1434. --
  1435. RW.Name="Right Shoulder"
  1436. RW.Part0=ch.Torso
  1437. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1438. RW.C1=cf(0, 0.5, 0)
  1439. RW.Part1=ch["Right Arm"]
  1440. RW.Parent=ch.Torso
  1441. --
  1442. LW.Name="Left Shoulder"
  1443. LW.Part0=ch.Torso
  1444. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1445. LW.C1=cf(0, 0.5, 0)
  1446. LW.Part1=ch["Left Arm"]
  1447. LW.Parent=ch.Torso
  1448.  
  1449. local Stats=Instance.new("BoolValue")
  1450. Stats.Name="Stats"
  1451. Stats.Parent=Character
  1452. local Atk=Instance.new("NumberValue")
  1453. Atk.Name="Damage"
  1454. Atk.Parent=Stats
  1455. Atk.Value=1
  1456. local Def=Instance.new("NumberValue")
  1457. Def.Name="Defense"
  1458. Def.Parent=Stats
  1459. Def.Value=1
  1460. local Speed=Instance.new("NumberValue")
  1461. Speed.Name="Speed"
  1462. Speed.Parent=Stats
  1463. Speed.Value=1
  1464. local Mvmt=Instance.new("NumberValue")
  1465. Mvmt.Name="Movement"
  1466. Mvmt.Parent=Stats
  1467. Mvmt.Value=1
  1468.  
  1469. local donum=0
  1470.  
  1471.  
  1472. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1473. local fp=it("Part")
  1474. fp.formFactor=formfactor
  1475. fp.Parent=parent
  1476. fp.Reflectance=reflectance
  1477. fp.Transparency=transparency
  1478. fp.CanCollide=false
  1479. fp.Locked=true
  1480. fp.BrickColor=brickcolor
  1481. fp.Name=name
  1482. fp.Size=size
  1483. fp.Position=Torso.Position
  1484. NoOutline(fp)
  1485. fp.Material="SmoothPlastic"
  1486. fp:BreakJoints()
  1487. return fp
  1488. end
  1489.  
  1490. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1491. local mesh=it(Mesh)
  1492. mesh.Parent=part
  1493. if Mesh=="SpecialMesh" then
  1494. mesh.MeshType=meshtype
  1495. if meshid~="nil" then
  1496. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1497. end
  1498. end
  1499. mesh.Offset=offset
  1500. mesh.Scale=scale
  1501. return mesh
  1502. end
  1503.  
  1504. function weld(parent,part0,part1,c0)
  1505. local weld=it("Weld")
  1506. weld.Parent=parent
  1507. weld.Part0=part0
  1508. weld.Part1=part1
  1509. weld.C0=c0
  1510. return weld
  1511. end
  1512.  
  1513. local Color1=Torso.BrickColor
  1514.  
  1515. local bodvel=Instance.new("BodyVelocity")
  1516. local bg=Instance.new("BodyGyro")
  1517.  
  1518. --------- SazEreno's Artificial HB --------------
  1519. ArtificialHB = Instance.new("BindableEvent", script)
  1520. ArtificialHB.Name = "ArtificialHB"
  1521.  
  1522. script:WaitForChild("ArtificialHB")
  1523. Frame_Speed = 1 / 60
  1524. frame = Frame_Speed
  1525. tf = 0
  1526. allowframeloss = false
  1527. tossremainder = false
  1528. lastframe = tick()
  1529. script.ArtificialHB:Fire()
  1530.  
  1531. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1532. tf = tf + s
  1533. if tf >= frame then
  1534. if allowframeloss then
  1535. script.ArtificialHB:Fire()
  1536. lastframe = tick()
  1537. else
  1538. for i = 1, math.floor(tf / frame) do
  1539. script.ArtificialHB:Fire()
  1540. end
  1541. lastframe = tick()
  1542. end
  1543. if tossremainder then
  1544. tf = 0
  1545. else
  1546. tf = tf - frame * math.floor(tf / frame)
  1547. end
  1548. end
  1549. end)
  1550.  
  1551. ------------------
  1552. function swait(num)
  1553. function swait(num)
  1554. if num==0 or num==nil then
  1555. game:service'RunService'.Stepped:wait(0)
  1556. else
  1557. for i=0,num do
  1558. game:service'RunService'.Stepped:wait(0)
  1559. end
  1560. end
  1561. end
  1562. end
  1563.  
  1564. -------- RAINBOW LEAVE IT TO ME
  1565. local r = 255
  1566. local g = 0
  1567. local b = 0
  1568. coroutine.resume(coroutine.create(function()
  1569. while wait() do
  1570. for i = 0, 254/5 do
  1571. swait()
  1572. g = g + 5
  1573. end
  1574. for i = 0, 254/5 do
  1575. swait()
  1576. r = r - 5
  1577. end
  1578. for i = 0, 254/5 do
  1579. swait()
  1580. b = b + 5
  1581. end
  1582. for i = 0, 254/5 do
  1583. swait()
  1584. g = g - 5
  1585. end
  1586. for i = 0, 254/5 do
  1587. swait()
  1588. r = r + 5
  1589. end
  1590. for i = 0, 254/5 do
  1591. swait()
  1592. b = b - 5
  1593. end
  1594. end
  1595. end))
  1596.  
  1597.  
  1598. so = function(id,par,vol,pit)
  1599. coroutine.resume(coroutine.create(function()
  1600. local sou = Instance.new("Sound",par or workspace)
  1601. sou.Volume=vol
  1602. sou.Pitch=pit or 1
  1603. sou.SoundId=id
  1604. swait()
  1605. sou:play()
  1606. game:GetService("Debris"):AddItem(sou,6)
  1607. end))
  1608. end
  1609.  
  1610. function clerp(a,b,t)
  1611. local qa = {QuaternionFromCFrame(a)}
  1612. local qb = {QuaternionFromCFrame(b)}
  1613. local ax, ay, az = a.x, a.y, a.z
  1614. local bx, by, bz = b.x, b.y, b.z
  1615. local _t = 1-t
  1616. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1617. end
  1618.  
  1619. function QuaternionFromCFrame(cf)
  1620. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1621. local trace = m00 + m11 + m22
  1622. if trace > 0 then
  1623. local s = math.sqrt(1 + trace)
  1624. local recip = 0.5/s
  1625. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1626. else
  1627. local i = 0
  1628. if m11 > m00 then
  1629. i = 1
  1630. end
  1631. if m22 > (i == 0 and m00 or m11) then
  1632. i = 2
  1633. end
  1634. if i == 0 then
  1635. local s = math.sqrt(m00-m11-m22+1)
  1636. local recip = 0.5/s
  1637. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1638. elseif i == 1 then
  1639. local s = math.sqrt(m11-m22-m00+1)
  1640. local recip = 0.5/s
  1641. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1642. elseif i == 2 then
  1643. local s = math.sqrt(m22-m00-m11+1)
  1644. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1645. end
  1646. end
  1647. end
  1648.  
  1649. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1650. local xs, ys, zs = x + x, y + y, z + z
  1651. local wx, wy, wz = w*xs, w*ys, w*zs
  1652. local xx = x*xs
  1653. local xy = x*ys
  1654. local xz = x*zs
  1655. local yy = y*ys
  1656. local yz = y*zs
  1657. local zz = z*zs
  1658. 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))
  1659. end
  1660.  
  1661. function QuaternionSlerp(a, b, t)
  1662. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1663. local startInterp, finishInterp;
  1664. if cosTheta >= 0.0001 then
  1665. if (1 - cosTheta) > 0.0001 then
  1666. local theta = math.acos(cosTheta)
  1667. local invSinTheta = 1/math.sin(theta)
  1668. startInterp = math.sin((1-t)*theta)*invSinTheta
  1669. finishInterp = math.sin(t*theta)*invSinTheta
  1670. else
  1671. startInterp = 1-t
  1672. finishInterp = t
  1673. end
  1674. else
  1675. if (1+cosTheta) > 0.0001 then
  1676. local theta = math.acos(-cosTheta)
  1677. local invSinTheta = 1/math.sin(theta)
  1678. startInterp = math.sin((t-1)*theta)*invSinTheta
  1679. finishInterp = math.sin(t*theta)*invSinTheta
  1680. else
  1681. startInterp = t-1
  1682. finishInterp = t
  1683. end
  1684. end
  1685. 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
  1686. end
  1687.  
  1688. local function CFrameFromTopBack(at, top, back)
  1689. local right = top:Cross(back)
  1690. return CFrame.new(at.x, at.y, at.z,
  1691. right.x, top.x, back.x,
  1692. right.y, top.y, back.y,
  1693. right.z, top.z, back.z)
  1694. end
  1695.  
  1696. function Triangle(a, b, c)
  1697. local edg1 = (c-a):Dot((b-a).unit)
  1698. local edg2 = (a-b):Dot((c-b).unit)
  1699. local edg3 = (b-c):Dot((a-c).unit)
  1700. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1701. a, b, c = a, b, c
  1702. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1703. a, b, c = b, c, a
  1704. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1705. a, b, c = c, a, b
  1706. else
  1707. assert(false, "unreachable")
  1708. end
  1709.  
  1710. local len1 = (c-a):Dot((b-a).unit)
  1711. local len2 = (b-a).magnitude - len1
  1712. local width = (a + (b-a).unit*len1 - c).magnitude
  1713.  
  1714. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1715.  
  1716. local list = {}
  1717.  
  1718. if len1 > 0.01 then
  1719. local w1 = Instance.new('WedgePart', m)
  1720. game:GetService("Debris"):AddItem(w1,5)
  1721. w1.Material = "SmoothPlastic"
  1722. w1.FormFactor = 'Custom'
  1723. w1.BrickColor = BrickColor.new("Really red")
  1724. w1.Transparency = 0
  1725. w1.Reflectance = 0
  1726. w1.Material = "SmoothPlastic"
  1727. w1.CanCollide = false
  1728. local l1 = Instance.new("PointLight",w1)
  1729. l1.Color = Color3.new(170,0,0)
  1730. NoOutline(w1)
  1731. local sz = Vector3.new(0.2, width, len1)
  1732. w1.Size = sz
  1733. local sp = Instance.new("SpecialMesh",w1)
  1734. sp.MeshType = "Wedge"
  1735. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1736. w1:BreakJoints()
  1737. w1.Anchored = true
  1738. w1.Parent = workspace
  1739. w1.Transparency = 0.7
  1740. table.insert(Effects,{w1,"Disappear",.01})
  1741. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1742. table.insert(list,w1)
  1743. end
  1744.  
  1745. if len2 > 0.01 then
  1746. local w2 = Instance.new('WedgePart', m)
  1747. game:GetService("Debris"):AddItem(w2,5)
  1748. w2.Material = "SmoothPlastic"
  1749. w2.FormFactor = 'Custom'
  1750. w2.BrickColor = BrickColor.new("Really red")
  1751. w2.Transparency = 0
  1752. w2.Reflectance = 0
  1753. w2.Material = "SmoothPlastic"
  1754. w2.CanCollide = false
  1755. local l2 = Instance.new("PointLight",w2)
  1756. l2.Color = Color3.new(170,0,0)
  1757. NoOutline(w2)
  1758. local sz = Vector3.new(0.2, width, len2)
  1759. w2.Size = sz
  1760. local sp = Instance.new("SpecialMesh",w2)
  1761. sp.MeshType = "Wedge"
  1762. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1763. w2:BreakJoints()
  1764. w2.Anchored = true
  1765. w2.Parent = workspace
  1766. w2.Transparency = 0.7
  1767. table.insert(Effects,{w2,"Disappear",.01})
  1768. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1769. table.insert(list,w2)
  1770. end
  1771. return unpack(list)
  1772. end
  1773.  
  1774.  
  1775. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1776. if hit.Parent == nil then
  1777. return
  1778. end
  1779. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1780. for _, v in pairs(hit.Parent:children()) do
  1781. if v:IsA("Humanoid") then
  1782. h = v
  1783. end
  1784. end
  1785. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1786. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1787. return
  1788. end
  1789. local c = Create("ObjectValue")({
  1790. Name = "creator",
  1791. Value = game:GetService("Players").LocalPlayer,
  1792. Parent = h
  1793. })
  1794. game:GetService("Debris"):AddItem(c, 0.5)
  1795. if HitSound ~= nil and HitPitch ~= nil then
  1796. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1797. end
  1798. local Damage = math.random(minim, maxim)
  1799. local blocked = false
  1800. local block = hit.Parent:findFirstChild("Block")
  1801. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1802. blocked = true
  1803. block.Value = block.Value - 1
  1804. print(block.Value)
  1805. end
  1806. if blocked == false then
  1807. HitHealth = h.Health
  1808. h.MaxHealth = 100
  1809. h.Health = h.Health - Damage
  1810. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1811. print("gained kill")
  1812. dmg(h.Parent)
  1813. end
  1814. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1815. else
  1816. h.Health = h.Health - Damage / 2
  1817. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1818. end
  1819. if Type == "Knockdown" then
  1820. local hum = hit.Parent.Humanoid
  1821. hum.PlatformStand = true
  1822. coroutine.resume(coroutine.create(function(HHumanoid)
  1823. swait(1)
  1824. HHumanoid.PlatformStand = false
  1825. end), hum)
  1826. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1827. local bodvol = Create("BodyVelocity")({
  1828. velocity = angle * knockback,
  1829. P = 5000,
  1830. maxForce = Vector3.new(8000, 8000, 8000),
  1831. Parent = hit
  1832. })
  1833. local rl = Create("BodyAngularVelocity")({
  1834. P = 3000,
  1835. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1836. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1837. Parent = hit
  1838. })
  1839. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1840. game:GetService("Debris"):AddItem(rl, 0.5)
  1841. elseif Type == "Normal" then
  1842. local vp = Create("BodyVelocity")({
  1843. P = 500,
  1844. maxForce = Vector3.new(math.huge, 0, math.huge),
  1845. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1846. })
  1847. if knockback > 0 then
  1848. vp.Parent = hit.Parent.Head
  1849. end
  1850. game:GetService("Debris"):AddItem(vp, 0.5)
  1851. elseif Type == "Up" then
  1852. local bodyVelocity = Create("BodyVelocity")({
  1853. velocity = Vector3.new(0, 20, 0),
  1854. P = 5000,
  1855. maxForce = Vector3.new(8000, 8000, 8000),
  1856. Parent = hit
  1857. })
  1858. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1859. local bodyVelocity = Create("BodyVelocity")({
  1860. velocity = Vector3.new(0, 20, 0),
  1861. P = 5000,
  1862. maxForce = Vector3.new(8000, 8000, 8000),
  1863. Parent = hit
  1864. })
  1865. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1866. elseif Type == "Leech" then
  1867. local hum = hit.Parent.Humanoid
  1868. if hum ~= nil then
  1869. for i = 0, 2 do
  1870. 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)
  1871. end
  1872. Humanoid.Health = Humanoid.Health + 10
  1873. end
  1874. elseif Type == "UpKnock" then
  1875. local hum = hit.Parent.Humanoid
  1876. hum.PlatformStand = true
  1877. if hum ~= nil then
  1878. hitr = true
  1879. end
  1880. coroutine.resume(coroutine.create(function(HHumanoid)
  1881. swait(5)
  1882. HHumanoid.PlatformStand = false
  1883. hitr = false
  1884. end), hum)
  1885. local bodyVelocity = Create("BodyVelocity")({
  1886. velocity = Vector3.new(0, 20, 0),
  1887. P = 5000,
  1888. maxForce = Vector3.new(8000, 8000, 8000),
  1889. Parent = hit
  1890. })
  1891. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1892. local bodyVelocity = Create("BodyVelocity")({
  1893. velocity = Vector3.new(0, 20, 0),
  1894. P = 5000,
  1895. maxForce = Vector3.new(8000, 8000, 8000),
  1896. Parent = hit
  1897. })
  1898. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1899. elseif Type == "Snare" then
  1900. local bp = Create("BodyPosition")({
  1901. P = 2000,
  1902. D = 100,
  1903. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1904. position = hit.Parent.Torso.Position,
  1905. Parent = hit.Parent.Torso
  1906. })
  1907. game:GetService("Debris"):AddItem(bp, 1)
  1908. elseif Type == "Slashnare" then
  1909. 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)
  1910. for i = 1, math.random(4, 5) do
  1911. 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)
  1912. end
  1913. local bp = Create("BodyPosition")({
  1914. P = 2000,
  1915. D = 100,
  1916. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1917. position = hit.Parent.Torso.Position,
  1918. Parent = hit.Parent.Torso
  1919. })
  1920. game:GetService("Debris"):AddItem(bp, 1)
  1921. elseif Type == "Spike" then
  1922. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1923. local bp = Create("BodyPosition")({
  1924. P = 2000,
  1925. D = 100,
  1926. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1927. position = hit.Parent.Torso.Position,
  1928. Parent = hit.Parent.Torso
  1929. })
  1930. game:GetService("Debris"):AddItem(bp, 1)
  1931. elseif Type == "Freeze" then
  1932. local BodPos = Create("BodyPosition")({
  1933. P = 50000,
  1934. D = 1000,
  1935. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1936. position = hit.Parent.Torso.Position,
  1937. Parent = hit.Parent.Torso
  1938. })
  1939. local BodGy = Create("BodyGyro")({
  1940. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1941. P = 20000,
  1942. Parent = hit.Parent.Torso,
  1943. cframe = hit.Parent.Torso.CFrame
  1944. })
  1945. hit.Parent.Torso.Anchored = true
  1946. coroutine.resume(coroutine.create(function(Part)
  1947. swait(1.5)
  1948. Part.Anchored = false
  1949. end), hit.Parent.Torso)
  1950. game:GetService("Debris"):AddItem(BodPos, 3)
  1951. game:GetService("Debris"):AddItem(BodGy, 3)
  1952. end
  1953. local debounce = Create("BoolValue")({
  1954. Name = "DebounceHit",
  1955. Parent = hit.Parent,
  1956. Value = true
  1957. })
  1958. game:GetService("Debris"):AddItem(debounce, Delay)
  1959. c = Instance.new("ObjectValue")
  1960. c.Name = "creator"
  1961. c.Value = Player
  1962. c.Parent = h
  1963. game:GetService("Debris"):AddItem(c, 0.5)
  1964. end
  1965. end
  1966. function ShowDamage(Pos, Text, Time, Color)
  1967. local Rate = 0.03333333333333333
  1968. local Pos = Pos or Vector3.new(0, 0, 0)
  1969. local Text = Text or ""
  1970. local Time = Time or 2
  1971. local Color = Color or Color3.new(1, 0, 1)
  1972. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1973. EffectPart.Anchored = true
  1974. local BillboardGui = Create("BillboardGui")({
  1975. Size = UDim2.new(3, 0, 3, 0),
  1976. Adornee = EffectPart,
  1977. Parent = EffectPart
  1978. })
  1979. local TextLabel = Create("TextLabel")({
  1980. BackgroundTransparency = 1,
  1981. Size = UDim2.new(1, 0, 1, 0),
  1982. Text = Text,
  1983. TextColor3 = Color,
  1984. TextScaled = true,
  1985. Font = Enum.Font.ArialBold,
  1986. Parent = BillboardGui
  1987. })
  1988. game.Debris:AddItem(EffectPart, Time + 0.1)
  1989. EffectPart.Parent = game:GetService("Workspace")
  1990. delay(0, function()
  1991. local Frames = Time / Rate
  1992. for Frame = 1, Frames do
  1993. wait(Rate)
  1994. local Percent = Frame / Frames
  1995. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1996. TextLabel.TextTransparency = Percent
  1997. end
  1998. if EffectPart and EffectPart.Parent then
  1999. EffectPart:Destroy()
  2000. end
  2001. end)
  2002. end
  2003. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2004. for _, c in pairs(workspace:children()) do
  2005. local hum = c:findFirstChildOfClass("Humanoid")
  2006. if hum ~= nil then
  2007. local head = c:findFirstChild("Head")
  2008. if head ~= nil then
  2009. local targ = head.Position - Part.Position
  2010. local mag = targ.magnitude
  2011. if magni >= mag and c.Name ~= Player.Name then
  2012. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2013. end
  2014. end
  2015. end
  2016. end
  2017. end
  2018.  
  2019. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  2020. for _, c in pairs(workspace:children()) do
  2021. local hum = c:findFirstChild("Humanoid")
  2022. if hum ~= nil then
  2023. local head = c:findFirstChild("Torso")
  2024. if head ~= nil then
  2025. local targ = head.Position - Part.Position
  2026. local mag = targ.magnitude
  2027. if magni >= mag and c.Name ~= Player.Name then
  2028. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2029. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2030. end
  2031. end
  2032. end
  2033. end
  2034. end
  2035.  
  2036. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2037. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2038. end
  2039.  
  2040. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2041. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2042. prt.Anchored=true
  2043. prt.CFrame=cframe
  2044. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2045. --http://www.roblox.com/asset/?id=4770560
  2046. game:GetService("Debris"):AddItem(prt,2)
  2047. CF=prt.CFrame
  2048. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2049. for i=0,1,0.2 do
  2050. wait()
  2051. Part.CFrame=CF*cf(0,0,-0.4)
  2052. end
  2053. for i=0,1,delay do
  2054. wait()
  2055. --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)
  2056. Mesh.Scale=Mesh.Scale
  2057. end
  2058. for i=0,1,0.1 do
  2059. wait()
  2060. Part.Transparency=i
  2061. end
  2062. Part.Parent=nil
  2063. end),prt,msh,CF)
  2064. end
  2065.  
  2066. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2067. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2068. prt.Anchored=true
  2069. prt.Material = "Neon"
  2070. prt.CFrame=cframe
  2071. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2072. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2073. game:GetService("Debris"):AddItem(prt,5)
  2074. coroutine.resume(coroutine.create(function(Part,Mesh)
  2075. for i=0,1,delay do
  2076. swait()
  2077. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2078. Part.Transparency=i
  2079. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2080. end
  2081. Part.Parent=nil
  2082. end),prt,msh)
  2083. end
  2084.  
  2085. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2086. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2087. prt.Anchored=true
  2088. prt.Material = "Neon"
  2089. prt.CFrame=cframe
  2090. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2091. game:GetService("Debris"):AddItem(prt,5)
  2092. coroutine.resume(coroutine.create(function(Part,Mesh)
  2093. local rtype = rottype
  2094. for i=0,1,delay do
  2095. swait()
  2096. if rtype == 1 then
  2097. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2098. elseif rtype == 2 then
  2099. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2100. end
  2101. Part.Transparency=i
  2102. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2103. end
  2104. Part.Parent=nil
  2105. end),prt,msh)
  2106. end
  2107.  
  2108. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2109. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2110. prt.Anchored=true
  2111. prt.CFrame=cframe
  2112. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2113. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2114. game:GetService("Debris"):AddItem(prt,5)
  2115. coroutine.resume(coroutine.create(function(Part,Mesh)
  2116. for i=0,1,delay do
  2117. wait()
  2118. Part.Transparency=i
  2119. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2120. end
  2121. Part.Parent=nil
  2122. end),prt,msh)
  2123. end
  2124.  
  2125. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2126. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2127. prt.Anchored=true
  2128. prt.Material = "Neon"
  2129. prt.CFrame=cframe
  2130. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2131. game:GetService("Debris"):AddItem(prt,5)
  2132. coroutine.resume(coroutine.create(function(Part,Mesh)
  2133. local rtype = rottype
  2134. for i=0,1,delay do
  2135. swait()
  2136. if rtype == 1 then
  2137. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2138. elseif rtype == 2 then
  2139. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2140. end
  2141. Part.Transparency=i
  2142. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2143. end
  2144. Part.Parent=nil
  2145. end),prt,msh)
  2146. end
  2147.  
  2148. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2149. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2150. prt.Anchored=true
  2151. prt.Material = "Neon"
  2152. prt.CFrame=cframe
  2153. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2154. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2155. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2156. game:GetService("Debris"):AddItem(prt,5)
  2157. coroutine.resume(coroutine.create(function(Part,Mesh)
  2158. local rtype = rottype
  2159. for i=0,1,delay do
  2160. swait()
  2161. if rtype == 1 then
  2162. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2163. elseif rtype == 2 then
  2164. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2165. end
  2166. dec.Transparency=i
  2167. dec2.Transparency=i
  2168. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2169. end
  2170. Part.Parent=nil
  2171. end),prt,msh)
  2172. end
  2173.  
  2174. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2175. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2176. prt.Anchored=true
  2177. prt.Material = "Neon"
  2178. prt.CFrame=cframe
  2179. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2180. game:GetService("Debris"):AddItem(prt,5)
  2181. coroutine.resume(coroutine.create(function(Part,Mesh)
  2182. local rtype = rottype
  2183. for i=0,1,delay do
  2184. swait()
  2185. if rtype == 1 then
  2186. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2187. elseif rtype == 2 then
  2188. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2189. end
  2190. prt.Transparency=i
  2191. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2192. end
  2193. Part.Parent=nil
  2194. end),prt,msh)
  2195. end
  2196.  
  2197. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2198. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2199. prt.Anchored=true
  2200. prt.Material = "Neon"
  2201. prt.CFrame=cframe
  2202. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2203. game:GetService("Debris"):AddItem(prt,5)
  2204. coroutine.resume(coroutine.create(function(Part,Mesh)
  2205. local rtype = rottype
  2206. for i=0,1,delay do
  2207. swait()
  2208. if rtype == 1 then
  2209. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2210. elseif rtype == 2 then
  2211. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2212. end
  2213. prt.Transparency=i
  2214. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2215. end
  2216. Part.Parent=nil
  2217. end),prt,msh)
  2218. end
  2219.  
  2220. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,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,z1))
  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 MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,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,y1,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,0.1)
  2256. elseif rtype == 2 then
  2257. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2258. end
  2259. prt.Transparency=i
  2260. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2261. end
  2262. Part.Parent=nil
  2263. end),prt,msh)
  2264. end
  2265.  
  2266. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2267. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2268. prt.Anchored=false
  2269. prt.CFrame=cframe
  2270. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2271. local wld=weld(prt,prt,Parent,cframe)
  2272. game:GetService("Debris"):AddItem(prt,5)
  2273. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2274. for i=0,1,delay do
  2275. wait()
  2276. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2277. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2278. Part.Transparency=i
  2279. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2280. end
  2281. Part.Parent=nil
  2282. end),prt,msh,wld)
  2283. end
  2284.  
  2285. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2286. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2287. prt.Anchored=false
  2288. prt.CFrame=cframe
  2289. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2290. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2291. game:GetService("Debris"):AddItem(prt,5)
  2292. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2293. for i=0,1,delay do
  2294. wait()
  2295. Weld.C0=euler(i*20,0,0)
  2296. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2297. Part.Transparency=i
  2298. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2299. end
  2300. Part.Parent=nil
  2301. end),prt,msh,wld)
  2302. end
  2303.  
  2304. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2305. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2306. prt.Anchored=true
  2307. prt.CFrame=cframe
  2308. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2309. game:GetService("Debris"):AddItem(prt,2)
  2310. coroutine.resume(coroutine.create(function(Part,Mesh)
  2311. for i=0,1,delay do
  2312. wait()
  2313. Part.CFrame=Part.CFrame
  2314. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2315. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2316. prt2.Anchored=true
  2317. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2318. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2319. game:GetService("Debris"):AddItem(prt2,2)
  2320. coroutine.resume(coroutine.create(function(Part,Mesh)
  2321. for i=0,1,0.1 do
  2322. wait()
  2323. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2324. end
  2325. Part.Parent=nil
  2326. end),prt2,msh2)
  2327. end
  2328. for i=0,1,delay*2 do
  2329. wait()
  2330. Part.CFrame=Part.CFrame
  2331. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2332. end
  2333. Part.Parent=nil
  2334. end),prt,msh)
  2335. end
  2336.  
  2337. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2338. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2339. prt.Anchored=true
  2340. prt.CFrame=cframe
  2341. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2342. game:GetService("Debris"):AddItem(prt,2)
  2343. coroutine.resume(coroutine.create(function(Part,Mesh)
  2344. for i=0,1,delay do
  2345. wait()
  2346. Part.CFrame=Part.CFrame
  2347. Part.Transparency=i
  2348. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2349. end
  2350. Part.Parent=nil
  2351. end),prt,msh)
  2352. end
  2353.  
  2354. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2355. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2356. prt.Anchored=true
  2357. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2358. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2359. game:GetService("Debris"):AddItem(prt,2)
  2360. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2361. CF=Part.CFrame
  2362. Numbb=0
  2363. randnumb=math.random()/10
  2364. rand1=math.random()/10
  2365. for i=0,1,rand1 do
  2366. wait()
  2367. CF=CF*cf(0,math.random()/2,0)
  2368. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2369. Part.CFrame=CF*euler(Numbb,0,0)
  2370. Part.Transparency=i
  2371. Numbb=Numbb+randnumb
  2372. end
  2373. Part.Parent=nil
  2374. end),prt,CF,Numbb,randnumb)
  2375. end
  2376.  
  2377. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2378. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2379. prt.Anchored=true
  2380. prt.CFrame=cframe
  2381. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2382. game:GetService("Debris"):AddItem(prt,5)
  2383. coroutine.resume(coroutine.create(function(Part,Mesh)
  2384. for i=0,1,delay do
  2385. wait()
  2386. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2387. Part.Transparency=i
  2388. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2389. end
  2390. Part.Parent=nil
  2391. end),prt,msh)
  2392. end
  2393.  
  2394. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2395. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2396. prt.Anchored=true
  2397. prt.CFrame=cframe
  2398. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2399. game:GetService("Debris"):AddItem(prt,2)
  2400. coroutine.resume(coroutine.create(function(Part,Mesh)
  2401. for i=0,1,delay do
  2402. wait()
  2403. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2404. Part.Transparency=i
  2405. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2406. end
  2407. Part.Parent=nil
  2408. end),prt,msh)
  2409. end
  2410.  
  2411. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2412. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2413. prt.Anchored=true
  2414. prt.CFrame=cframe*cf(x,y,z)
  2415. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2416. game:GetService("Debris"):AddItem(prt,5)
  2417. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2418. local num=math.random()
  2419. local num2=math.random(-3,2)+math.random()
  2420. local numm=0
  2421. for i=0,1,delay*2 do
  2422. swait()
  2423. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2424. Part.Transparency=i
  2425. numm=numm+0.01
  2426. end
  2427. Part.Parent=nil
  2428. Mesh.Parent=nil
  2429. end),prt,msh,x,y,z)
  2430. end
  2431.  
  2432. function dmgstart(dmg,what)
  2433. hitcon = what.Touched:connect(function(hit)
  2434. local hum = hit.Parent:FindFirstChild("Humanoid")
  2435. if hum and not hum:IsDescendantOf(Character) then
  2436. hum:TakeDamage(dmg)
  2437. end
  2438. end)
  2439. end
  2440.  
  2441. function dmgstop()
  2442. hitcon:disconnect()
  2443. end
  2444.  
  2445. function Cloak()
  2446. Face.Parent=nil
  2447. cloaked=true
  2448. for _,v in pairs(Torso.Parent:children()) do
  2449. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2450. coroutine.resume(coroutine.create(function()
  2451. for i=0,1,0.2 do
  2452. wait()
  2453. v.Transparency=i
  2454. end
  2455. v.Transparency=1
  2456. end))
  2457. end
  2458. if v.className=="Hat" then
  2459. hatp=v.Handle
  2460. coroutine.resume(coroutine.create(function(derp)
  2461. for i=0,1,0.2 do
  2462. wait()
  2463. derp.Transparency=i
  2464. end
  2465. derp.Transparency=1
  2466. end),hatp)
  2467. end
  2468. end
  2469. for _,v in pairs(m:children()) do
  2470. if v.className=="Part" then
  2471. coroutine.resume(coroutine.create(function()
  2472. for i=0,1,0.2 do
  2473. wait()
  2474. v.Transparency=i
  2475. end
  2476. v.Transparency=1
  2477. end))
  2478. end
  2479. end
  2480. end
  2481.  
  2482. function UnCloak()
  2483. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2484. Face.Parent=Head
  2485. cloaked=false
  2486. for _,v in pairs(Torso.Parent:children()) do
  2487. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2488. coroutine.resume(coroutine.create(function()
  2489. for i=0,1,0.1 do
  2490. wait()
  2491. v.Transparency=v.Transparency-0.1
  2492. end
  2493. v.Transparency=0
  2494. end))
  2495. end
  2496. if v.className=="Hat" then
  2497. hatp=v.Handle
  2498. coroutine.resume(coroutine.create(function(derp)
  2499. for i=0,1,0.1 do
  2500. wait()
  2501. derp.Transparency=derp.Transparency-0.1
  2502. end
  2503. derp.Transparency=0
  2504. end),hatp)
  2505. end
  2506. end
  2507. for _,v in pairs(m:children()) do
  2508. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2509. coroutine.resume(coroutine.create(function()
  2510. for i=0,1,0.1 do
  2511. wait()
  2512. v.Transparency=v.Transparency-0.1
  2513. end
  2514. v.Transparency=0
  2515. end))
  2516. v.Transparency=0
  2517. end
  2518. end
  2519. end
  2520.  
  2521. local origcolor = BrickColor.new("Pastel light blue")
  2522. ---- This section of explosions.
  2523.  
  2524. ----
  2525.  
  2526.  
  2527. function ring(type,pos,scale,value)
  2528. local type = type
  2529. local rng = Instance.new("Part", char)
  2530. rng.Anchored = true
  2531. rng.BrickColor = origcolor
  2532. rng.CanCollide = false
  2533. rng.FormFactor = 3
  2534. rng.Name = "Ring"
  2535. rng.Size = Vector3.new(1, 1, 1)
  2536. rng.Transparency = 0
  2537. rng.TopSurface = 0
  2538. rng.BottomSurface = 0
  2539. rng.CFrame = pos
  2540. local rngm = Instance.new("SpecialMesh", rng)
  2541. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2542. rngm.Scale = scale
  2543. local scaler2 = 1
  2544. if type == "Add" then
  2545. scaler2 = 1*value
  2546. elseif type == "Divide" then
  2547. scaler2 = 1/value
  2548. end
  2549. coroutine.resume(coroutine.create(function()
  2550. for i = 0,10,0.1 do
  2551. swait()
  2552. if type == "Add" then
  2553. scaler2 = scaler2 - 0.01*value
  2554. elseif type == "Divide" then
  2555. scaler2 = scaler2 - 0.01/value
  2556. end
  2557. rng.Transparency = rng.Transparency + 0.01
  2558. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2559. end
  2560. rng:Destroy()
  2561. end))
  2562. end
  2563.  
  2564.  
  2565. function wave(type,pos,scale,value)
  2566. local type = type
  2567. local rng = Instance.new("Part", char)
  2568. rng.Anchored = true
  2569. rng.BrickColor = origcolor
  2570. rng.CanCollide = false
  2571. rng.FormFactor = 3
  2572. rng.Name = "Ring"
  2573. rng.Size = Vector3.new(1, 1, 1)
  2574. rng.Transparency = 0
  2575. rng.TopSurface = 0
  2576. rng.BottomSurface = 0
  2577. rng.CFrame = pos
  2578. local rngm = Instance.new("SpecialMesh", rng)
  2579. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2580. rngm.Scale = scale
  2581. local scaler2 = 1
  2582. if type == "Add" then
  2583. scaler2 = 1*value
  2584. elseif type == "Divide" then
  2585. scaler2 = 1/value
  2586. end
  2587. coroutine.resume(coroutine.create(function()
  2588. for i = 0,10,0.1 do
  2589. swait()
  2590. if type == "Add" then
  2591. scaler2 = scaler2 - 0.01*value
  2592. elseif type == "Divide" then
  2593. scaler2 = scaler2 - 0.01/value
  2594. end
  2595. rng.Transparency = rng.Transparency + 0.01
  2596. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2597. end
  2598. rng:Destroy()
  2599. end))
  2600. end
  2601.  
  2602. function wind(type,pos,scale,value,speed)
  2603. local type = type
  2604. local rng = Instance.new("Part", char)
  2605. rng.Anchored = true
  2606. rng.BrickColor = origcolor
  2607. rng.CanCollide = false
  2608. rng.FormFactor = 3
  2609. rng.Name = "Ring"
  2610. rng.Size = Vector3.new(1, 1, 1)
  2611. rng.Transparency = 0
  2612. rng.TopSurface = 0
  2613. rng.BottomSurface = 0
  2614. rng.CFrame = pos
  2615. local rngm = Instance.new("SpecialMesh", rng)
  2616. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2617. rngm.Scale = scale
  2618. local scaler2 = 1
  2619. if type == "Add" then
  2620. scaler2 = 1*value
  2621. elseif type == "Divide" then
  2622. scaler2 = 1/value
  2623. end
  2624. coroutine.resume(coroutine.create(function()
  2625. for i = 0,10,0.1 do
  2626. swait()
  2627. if type == "Add" then
  2628. scaler2 = scaler2 - 0.01*value
  2629. elseif type == "Divide" then
  2630. scaler2 = scaler2 - 0.01/value
  2631. end
  2632. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2633. rng.Transparency = rng.Transparency + 0.01
  2634. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2635. end
  2636. rng:Destroy()
  2637. end))
  2638. end
  2639.  
  2640. function groundwind(type,pos,scale,value,speed)
  2641. local type = type
  2642. local rng = Instance.new("Part", char)
  2643. rng.Anchored = true
  2644. rng.BrickColor = origcolor
  2645. rng.CanCollide = false
  2646. rng.FormFactor = 3
  2647. rng.Name = "Ring"
  2648. rng.Size = Vector3.new(1, 1, 1)
  2649. rng.Transparency = 0
  2650. rng.TopSurface = 0
  2651. rng.BottomSurface = 0
  2652. rng.CFrame = pos
  2653. local rngm = Instance.new("SpecialMesh", rng)
  2654. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2655. rngm.Scale = scale
  2656. local scaler2 = 1
  2657. if type == "Add" then
  2658. scaler2 = 1*value
  2659. elseif type == "Divide" then
  2660. scaler2 = 1/value
  2661. end
  2662. coroutine.resume(coroutine.create(function()
  2663. for i = 0,10,0.1 do
  2664. swait()
  2665. if type == "Add" then
  2666. scaler2 = scaler2 - 0.01*value
  2667. elseif type == "Divide" then
  2668. scaler2 = scaler2 - 0.01/value
  2669. end
  2670. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2671. rng.Transparency = rng.Transparency + 0.01
  2672. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2673. end
  2674. rng:Destroy()
  2675. end))
  2676. end
  2677.  
  2678. function CameraManager()
  2679. if TwoD and not CamInterrupt then
  2680. if Humanoid.Health > 0 then
  2681. Camera.CameraSubject = Humanoid
  2682. Camera.CameraType = "Scriptable"
  2683. Humanoid.AutoRotate = false
  2684. if Booleans.GyroUse then
  2685. Directer.MaxTorque = Vec3(0, huge, 0)
  2686. else
  2687. Directer.MaxTorque = Vec3(0, 0, 0)
  2688. end
  2689. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2690. if Booleans.CamFollow then
  2691. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2692. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2693. else
  2694. CPart.Position = RootPart.Position
  2695. end
  2696. else
  2697. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2698. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2699. end
  2700. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2701. else
  2702. Camera.CameraSubject = Humanoid
  2703. Camera.CameraType = "Custom"
  2704. Controller.Disabled = false
  2705. end
  2706. end
  2707. end
  2708.  
  2709. function ring(type,pos,scale,value)
  2710. local type = type
  2711. local rng = Instance.new("Part", char)
  2712. rng.Anchored = true
  2713. rng.BrickColor = origcolor
  2714. rng.CanCollide = false
  2715. rng.FormFactor = 3
  2716. rng.Name = "Ring"
  2717. rng.Size = Vector3.new(1, 1, 1)
  2718. rng.Transparency = 0
  2719. rng.TopSurface = 0
  2720. rng.BottomSurface = 0
  2721. rng.CFrame = pos
  2722. local rngm = Instance.new("SpecialMesh", rng)
  2723. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2724. rngm.Scale = scale
  2725. local scaler2 = 1
  2726. if type == "Add" then
  2727. scaler2 = 1*value
  2728. elseif type == "Divide" then
  2729. scaler2 = 1/value
  2730. end
  2731. coroutine.resume(coroutine.create(function()
  2732. for i = 0,10,0.1 do
  2733. swait()
  2734. if type == "Add" then
  2735. scaler2 = scaler2 - 0.01*value
  2736. elseif type == "Divide" then
  2737. scaler2 = scaler2 - 0.01/value
  2738. end
  2739. rng.Transparency = rng.Transparency + 0.01
  2740. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2741. end
  2742. rng:Destroy()
  2743. end))
  2744. end
  2745.  
  2746.  
  2747. function wave(type,pos,scale,value)
  2748. local type = type
  2749. local rng = Instance.new("Part", char)
  2750. rng.Anchored = true
  2751. rng.BrickColor = origcolor
  2752. rng.CanCollide = false
  2753. rng.FormFactor = 3
  2754. rng.Name = "Ring"
  2755. rng.Size = Vector3.new(1, 1, 1)
  2756. rng.Transparency = 0
  2757. rng.TopSurface = 0
  2758. rng.BottomSurface = 0
  2759. rng.CFrame = pos
  2760. local rngm = Instance.new("SpecialMesh", rng)
  2761. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2762. rngm.Scale = scale
  2763. local scaler2 = 1
  2764. if type == "Add" then
  2765. scaler2 = 1*value
  2766. elseif type == "Divide" then
  2767. scaler2 = 1/value
  2768. end
  2769. coroutine.resume(coroutine.create(function()
  2770. for i = 0,10,0.1 do
  2771. swait()
  2772. if type == "Add" then
  2773. scaler2 = scaler2 - 0.01*value
  2774. elseif type == "Divide" then
  2775. scaler2 = scaler2 - 0.01/value
  2776. end
  2777. rng.Transparency = rng.Transparency + 0.01
  2778. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2779. end
  2780. rng:Destroy()
  2781. end))
  2782. end
  2783.  
  2784. function sphere(bonuspeed,type,pos,scale,value,color)
  2785. local type = type
  2786. local rng = Instance.new("Part", char)
  2787. rng.Anchored = true
  2788. if ModeOfGlitch ~= 9 then
  2789. rng.BrickColor = color
  2790. elseif ModeOfGlitch == 9 then
  2791. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2792. end
  2793. rng.CanCollide = false
  2794. rng.FormFactor = 3
  2795. rng.Name = "Ring"
  2796. rng.Material = "Neon"
  2797. rng.Size = Vector3.new(1, 1, 1)
  2798. rng.Transparency = 0
  2799. rng.TopSurface = 0
  2800. rng.BottomSurface = 0
  2801. rng.CFrame = pos
  2802. local rngm = Instance.new("SpecialMesh", rng)
  2803. rngm.MeshType = "Sphere"
  2804. rngm.Scale = scale
  2805. if rainbowmode == true then
  2806. rng.Color = Color3.new(r/255,g/255,b/255)
  2807. end
  2808. if ModeOfGlitch == 9 then
  2809. coroutine.resume(coroutine.create(function()
  2810. while true do
  2811. swait()
  2812. if rng.Parent ~= nil then
  2813. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2814. else
  2815. break
  2816. end
  2817. end
  2818. end))
  2819. end
  2820. local scaler2 = 1
  2821. if type == "Add" then
  2822. scaler2 = 1*value
  2823. elseif type == "Divide" then
  2824. scaler2 = 1/value
  2825. end
  2826. coroutine.resume(coroutine.create(function()
  2827. for i = 0,10/bonuspeed,0.1 do
  2828. swait()
  2829. if rainbowmode == true then
  2830. rng.Color = Color3.new(r/255,g/255,b/255)
  2831. end
  2832. if type == "Add" then
  2833. scaler2 = scaler2 - 0.01*value/bonuspeed
  2834. elseif type == "Divide" then
  2835. scaler2 = scaler2 - 0.01/value*bonuspeed
  2836. end
  2837. if chaosmode == true then
  2838. rng.BrickColor = BrickColor.random()
  2839. end
  2840. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2841. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2842. end
  2843. rng:Destroy()
  2844. end))
  2845. end
  2846.  
  2847. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  2848. local type = type
  2849. local rng = Instance.new("Part", char)
  2850. rng.Anchored = true
  2851. if ModeOfGlitch ~= 9 then
  2852. rng.BrickColor = color
  2853. elseif ModeOfGlitch == 9 then
  2854. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2855. end
  2856. rng.CanCollide = false
  2857. rng.FormFactor = 3
  2858. rng.Name = "Ring"
  2859. rng.Material = "Neon"
  2860. rng.Size = Vector3.new(1, 1, 1)
  2861. rng.Transparency = 0
  2862. rng.TopSurface = 0
  2863. rng.BottomSurface = 0
  2864. rng.CFrame = pos
  2865. local rngm = Instance.new("SpecialMesh", rng)
  2866. rngm.MeshType = "Sphere"
  2867. rngm.Scale = scale
  2868. local scaler2 = 1
  2869. local scaler2b = 1
  2870. local scaler2c = 1
  2871. if type == "Add" then
  2872. scaler2 = 1*value
  2873. scaler2b = 1*value2
  2874. scaler2c = 1*value3
  2875. elseif type == "Divide" then
  2876. scaler2 = 1/value
  2877. scaler2b = 1/value2
  2878. scaler2c = 1/value3
  2879. end
  2880. if ModeOfGlitch == 9 then
  2881. coroutine.resume(coroutine.create(function()
  2882. while true do
  2883. swait()
  2884. if rng.Parent ~= nil then
  2885. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2886. else
  2887. break
  2888. end
  2889. end
  2890. end))
  2891. end
  2892. coroutine.resume(coroutine.create(function()
  2893. for i = 0,10/bonuspeed,0.1 do
  2894. swait()
  2895. if type == "Add" then
  2896. scaler2 = scaler2 - 0.01*value/bonuspeed
  2897. scaler2b = scaler2b - 0.01*value/bonuspeed
  2898. scaler2c = scaler2c - 0.01*value/bonuspeed
  2899. elseif type == "Divide" then
  2900. scaler2 = scaler2 - 0.01/value*bonuspeed
  2901. scaler2b = scaler2b - 0.01/value*bonuspeed
  2902. scaler2c = scaler2c - 0.01/value*bonuspeed
  2903. end
  2904. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2905. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2906. end
  2907. rng:Destroy()
  2908. end))
  2909. end
  2910.  
  2911. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  2912. local type = type
  2913. local rotenable = rotatingop
  2914. local rng = Instance.new("Part", char)
  2915. rng.Anchored = true
  2916. rng.BrickColor = color
  2917. rng.CanCollide = false
  2918. rng.FormFactor = 3
  2919. rng.Name = "Ring"
  2920. rng.Material = "Neon"
  2921. rng.Size = Vector3.new(1, 1, 1)
  2922. rng.Transparency = 0
  2923. if typeoftrans == "In" then
  2924. rng.Transparency = 1
  2925. end
  2926. rng.TopSurface = 0
  2927. rng.BottomSurface = 0
  2928. rng.CFrame = pos
  2929. local rngm = Instance.new("SpecialMesh", rng)
  2930. rngm.MeshType = "FileMesh"
  2931. if typeofshape == "Normal" then
  2932. rngm.MeshId = "rbxassetid://662586858"
  2933. elseif typeofshape == "Round" then
  2934. rngm.MeshId = "rbxassetid://662585058"
  2935. end
  2936. rngm.Scale = scale
  2937. local scaler2 = 1/10
  2938. if type == "Add" then
  2939. scaler2 = 1*value/10
  2940. elseif type == "Divide" then
  2941. scaler2 = 1/value/10
  2942. end
  2943. local randomrot = math.random(1,2)
  2944. coroutine.resume(coroutine.create(function()
  2945. for i = 0,10/bonuspeed,0.1 do
  2946. swait()
  2947. if type == "Add" then
  2948. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  2949. elseif type == "Divide" then
  2950. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  2951. end
  2952. if rotenable == true then
  2953. if randomrot == 1 then
  2954. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  2955. elseif randomrot == 2 then
  2956. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  2957. end
  2958. end
  2959. if typeoftrans == "Out" then
  2960. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2961. elseif typeoftrans == "In" then
  2962. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2963. end
  2964. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  2965. end
  2966. rng:Destroy()
  2967. end))
  2968. end
  2969.  
  2970. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2971. local type = type
  2972. local rng = Instance.new("Part", char)
  2973. rng.Anchored = true
  2974. rng.BrickColor = color
  2975. rng.CanCollide = false
  2976. rng.FormFactor = 3
  2977. rng.Name = "Ring"
  2978. rng.Material = "Neon"
  2979. rng.Size = Vector3.new(1, 1, 1)
  2980. rng.Transparency = 0
  2981. rng.TopSurface = 0
  2982. rng.BottomSurface = 0
  2983. rng.CFrame = pos
  2984. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2985. local rngm = Instance.new("SpecialMesh", rng)
  2986. rngm.MeshType = "Brick"
  2987. rngm.Scale = vt(x1,y1,z1)
  2988. if rainbowmode == true then
  2989. rng.Color = Color3.new(r/255,g/255,b/255)
  2990. end
  2991. local scaler2 = 1
  2992. local speeder = FastSpeed/10
  2993. if type == "Add" then
  2994. scaler2 = 1*value
  2995. elseif type == "Divide" then
  2996. scaler2 = 1/value
  2997. end
  2998. coroutine.resume(coroutine.create(function()
  2999. for i = 0,10/bonuspeed,0.1 do
  3000. swait()
  3001. if rainbowmode == true then
  3002. rng.Color = Color3.new(r/255,g/255,b/255)
  3003. end
  3004. if type == "Add" then
  3005. scaler2 = scaler2 - 0.01*value/bonuspeed
  3006. elseif type == "Divide" then
  3007. scaler2 = scaler2 - 0.01/value*bonuspeed
  3008. end
  3009. if chaosmode == true then
  3010. rng.BrickColor = BrickColor.random()
  3011. end
  3012. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3013. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3014. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3015. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3016. end
  3017. rng:Destroy()
  3018. end))
  3019. end
  3020.  
  3021. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3022. local type = type
  3023. local rng = Instance.new("Part", char)
  3024. rng.Anchored = true
  3025. rng.BrickColor = color
  3026. rng.CanCollide = false
  3027. rng.FormFactor = 3
  3028. rng.Name = "Ring"
  3029. rng.Material = "Neon"
  3030. rng.Size = Vector3.new(1, 1, 1)
  3031. rng.Transparency = 0
  3032. rng.TopSurface = 0
  3033. rng.BottomSurface = 0
  3034. rng.CFrame = pos
  3035. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3036. local rngm = Instance.new("SpecialMesh", rng)
  3037. rngm.MeshType = "Brick"
  3038. rngm.Scale = vt(x1,y1,z1)
  3039. if rainbowmode == true then
  3040. rng.Color = Color3.new(r/255,g/255,b/255)
  3041. end
  3042. local scaler2 = 1
  3043. local speeder = FastSpeed/10
  3044. if type == "Add" then
  3045. scaler2 = 1*value
  3046. elseif type == "Divide" then
  3047. scaler2 = 1/value
  3048. end
  3049. coroutine.resume(coroutine.create(function()
  3050. for i = 0,10/bonuspeed,0.1 do
  3051. swait()
  3052. if rainbowmode == true then
  3053. rng.Color = Color3.new(r/255,g/255,b/255)
  3054. end
  3055. if type == "Add" then
  3056. scaler2 = scaler2 - 0.01*value/bonuspeed
  3057. elseif type == "Divide" then
  3058. scaler2 = scaler2 - 0.01/value*bonuspeed
  3059. end
  3060. if chaosmode == true then
  3061. rng.BrickColor = BrickColor.random()
  3062. end
  3063. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3064. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3065. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3066. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3067. end
  3068. rng:Destroy()
  3069. end))
  3070. end
  3071.  
  3072. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3073. local type = type
  3074. local rng = Instance.new("Part", char)
  3075. rng.Anchored = true
  3076. rng.BrickColor = color
  3077. rng.CanCollide = false
  3078. rng.FormFactor = 3
  3079. rng.Name = "Ring"
  3080. rng.Material = "Neon"
  3081. rng.Size = Vector3.new(1, 1, 1)
  3082. rng.Transparency = 0
  3083. rng.TopSurface = 0
  3084. rng.BottomSurface = 0
  3085. rng.CFrame = pos
  3086. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3087. local rngm = Instance.new("SpecialMesh", rng)
  3088. rngm.MeshType = "Brick"
  3089. rngm.Scale = vt(x1,y1,z1)
  3090. if rainbowmode == true then
  3091. rng.Color = Color3.new(r/255,g/255,b/255)
  3092. end
  3093. local scaler2 = 0
  3094. local speeder = FastSpeed/10
  3095. if type == "Add" then
  3096. scaler2 = 1*value
  3097. elseif type == "Divide" then
  3098. scaler2 = 1/value
  3099. end
  3100. coroutine.resume(coroutine.create(function()
  3101. for i = 0,10/bonuspeed,0.1 do
  3102. swait()
  3103. if rainbowmode == true then
  3104. rng.Color = Color3.new(r/255,g/255,b/255)
  3105. end
  3106. if type == "Add" then
  3107. scaler2 = scaler2 - 0.01*value/bonuspeed
  3108. elseif type == "Divide" then
  3109. scaler2 = scaler2 - 0.01/value*bonuspeed
  3110. end
  3111. if chaosmode == true then
  3112. rng.BrickColor = BrickColor.random()
  3113. end
  3114. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3115. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3116. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3117. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3118. end
  3119. rng:Destroy()
  3120. end))
  3121. end
  3122.  
  3123. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3124. local type = type
  3125. local rng = Instance.new("Part", char)
  3126. rng.Anchored = true
  3127. rng.BrickColor = color
  3128. rng.Color = color3
  3129. rng.CanCollide = false
  3130. rng.FormFactor = 3
  3131. rng.Name = "Ring"
  3132. rng.Material = "Neon"
  3133. rng.Size = Vector3.new(1, 1, 1)
  3134. rng.Transparency = 0
  3135. rng.TopSurface = 0
  3136. rng.BottomSurface = 0
  3137. rng.CFrame = pos
  3138. local rngm = Instance.new("SpecialMesh", rng)
  3139. rngm.MeshType = "Brick"
  3140. rngm.Scale = scale
  3141. local scaler2 = 1
  3142. local scaler2b = 1
  3143. local scaler2c = 1
  3144. if type == "Add" then
  3145. scaler2 = 1*value
  3146. scaler2b = 1*value2
  3147. scaler2c = 1*value3
  3148. elseif type == "Divide" then
  3149. scaler2 = 1/value
  3150. scaler2b = 1/value2
  3151. scaler2c = 1/value3
  3152. end
  3153. coroutine.resume(coroutine.create(function()
  3154. for i = 0,10/bonuspeed,0.1 do
  3155. swait()
  3156. if type == "Add" then
  3157. scaler2 = scaler2 - 0.01*value/bonuspeed
  3158. scaler2b = scaler2b - 0.01*value/bonuspeed
  3159. scaler2c = scaler2c - 0.01*value/bonuspeed
  3160. elseif type == "Divide" then
  3161. scaler2 = scaler2 - 0.01/value*bonuspeed
  3162. scaler2b = scaler2b - 0.01/value*bonuspeed
  3163. scaler2c = scaler2c - 0.01/value*bonuspeed
  3164. end
  3165. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3166. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3167. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3168. end
  3169. rng:Destroy()
  3170. end))
  3171. end
  3172.  
  3173. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3174. local type = type
  3175. local rng = Instance.new("Part", char)
  3176. rng.Anchored = true
  3177. if ModeOfGlitch ~= 9 then
  3178. rng.BrickColor = color
  3179. elseif ModeOfGlitch == 9 then
  3180. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3181. end
  3182. rng.CanCollide = false
  3183. rng.FormFactor = 3
  3184. rng.Name = "Ring"
  3185. rng.Material = "Neon"
  3186. rng.Size = Vector3.new(1, 1, 1)
  3187. rng.Transparency = 0
  3188. rng.TopSurface = 0
  3189. rng.BottomSurface = 0
  3190. rng.CFrame = pos
  3191. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3192. local rngm = Instance.new("SpecialMesh", rng)
  3193. rngm.MeshType = "Sphere"
  3194. rngm.Scale = vt(x1,y1,z1)
  3195. if rainbowmode == true then
  3196. rng.Color = Color3.new(r/255,g/255,b/255)
  3197. end
  3198. if ModeOfGlitch == 9 then
  3199. coroutine.resume(coroutine.create(function()
  3200. while true do
  3201. swait()
  3202. if rng.Parent ~= nil then
  3203. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3204. else
  3205. break
  3206. end
  3207. end
  3208. end))
  3209. end
  3210. local scaler2 = 1
  3211. local speeder = FastSpeed
  3212. if type == "Add" then
  3213. scaler2 = 1*value
  3214. elseif type == "Divide" then
  3215. scaler2 = 1/value
  3216. end
  3217. coroutine.resume(coroutine.create(function()
  3218. for i = 0,10/bonuspeed,0.1 do
  3219. swait()
  3220. if rainbowmode == true then
  3221. rng.Color = Color3.new(r/255,g/255,b/255)
  3222. end
  3223. if type == "Add" then
  3224. scaler2 = scaler2 - 0.01*value/bonuspeed
  3225. elseif type == "Divide" then
  3226. scaler2 = scaler2 - 0.01/value*bonuspeed
  3227. end
  3228. if chaosmode == true then
  3229. rng.BrickColor = BrickColor.random()
  3230. end
  3231. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3232. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3233. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3234. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3235. end
  3236. rng:Destroy()
  3237. end))
  3238. end
  3239.  
  3240.  
  3241. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3242. local type = type
  3243. local rng = Instance.new("Part", char)
  3244. rng.Anchored = true
  3245. if ModeOfGlitch ~= 9 then
  3246. rng.BrickColor = color
  3247. elseif ModeOfGlitch == 9 then
  3248. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3249. end
  3250. rng.CanCollide = false
  3251. rng.FormFactor = 3
  3252. rng.Name = "Ring"
  3253. rng.Material = "Neon"
  3254. rng.Size = Vector3.new(1, 1, 1)
  3255. rng.Transparency = 1
  3256. rng.TopSurface = 0
  3257. rng.BottomSurface = 0
  3258. rng.CFrame = pos
  3259. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3260. local rngm = Instance.new("SpecialMesh", rng)
  3261. rngm.MeshType = "Sphere"
  3262. rngm.Scale = vt(x1,y1,z1)
  3263. if rainbowmode == true then
  3264. rng.Color = Color3.new(r/255,g/255,b/255)
  3265. end
  3266. if ModeOfGlitch == 9 then
  3267. coroutine.resume(coroutine.create(function()
  3268. while true do
  3269. swait()
  3270. if rng.Parent ~= nil then
  3271. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3272. else
  3273. break
  3274. end
  3275. end
  3276. end))
  3277. end
  3278. local scaler2 = 1
  3279. local speeder = FastSpeed
  3280. if type == "Add" then
  3281. scaler2 = 1*value
  3282. elseif type == "Divide" then
  3283. scaler2 = 1/value
  3284. end
  3285. coroutine.resume(coroutine.create(function()
  3286. for i = 0,10/bonuspeed,0.1 do
  3287. swait()
  3288. if rainbowmode == true then
  3289. rng.Color = Color3.new(r/255,g/255,b/255)
  3290. end
  3291. if type == "Add" then
  3292. scaler2 = scaler2 - 0.01*value/bonuspeed
  3293. elseif type == "Divide" then
  3294. scaler2 = scaler2 - 0.01/value*bonuspeed
  3295. end
  3296. if chaosmode == true then
  3297. rng.BrickColor = BrickColor.random()
  3298. end
  3299. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3300. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3301. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3302. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3303. end
  3304. rng:Destroy()
  3305. end))
  3306. end
  3307.  
  3308. function dmg(dude)
  3309. if dude.Name ~= Character then
  3310. local keptcolor = MAINRUINCOLOR
  3311. local bgf = Instance.new("BodyGyro",dude.Head)
  3312. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3313. --[[local val = Instance.new("BoolValue",dude)
  3314. val.Name = "IsHit"]]--
  3315. local ds = coroutine.wrap(function()
  3316. dude:WaitForChild("Head"):BreakJoints()
  3317. for i, v in pairs(dude:GetChildren()) do
  3318. if v:IsA("Part") or v:IsA("MeshPart") then
  3319. v.Name = "DEMINISHED"
  3320. end
  3321. end
  3322. wait(0.5)
  3323. targetted = nil
  3324. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  3325. coroutine.resume(coroutine.create(function()
  3326. for i, v in pairs(dude:GetChildren()) do
  3327. if v:IsA("Accessory") then
  3328. v:Destroy()
  3329. end
  3330. if v:IsA("Humanoid") then
  3331. v:Destroy()
  3332. end
  3333. if v:IsA("CharacterMesh") then
  3334. v:Destroy()
  3335. end
  3336. if v:IsA("Model") then
  3337. v:Destroy()
  3338. end
  3339. if v:IsA("Part") or v:IsA("MeshPart") then
  3340. for x, o in pairs(v:GetChildren()) do
  3341. if o:IsA("Decal") then
  3342. o:Destroy()
  3343. end
  3344. end
  3345. coroutine.resume(coroutine.create(function()
  3346. v.Material = "Neon"
  3347. v.CanCollide = false
  3348. v.Anchored = false
  3349. local bld = Instance.new("ParticleEmitter",v)
  3350. bld.LightEmission = 0.75
  3351. bld.Texture = "rbxassetid://363275192" ---284205403
  3352. bld.Color = ColorSequence.new(keptcolor.Color)
  3353. bld.Rate = 500
  3354. bld.Lifetime = NumberRange.new(1)
  3355. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3356. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3357. bld.Speed = NumberRange.new(2,5)
  3358. bld.VelocitySpread = 50000
  3359. bld.Rotation = NumberRange.new(-500,500)
  3360. bld.RotSpeed = NumberRange.new(-500,500)
  3361. local sbs = Instance.new("BodyPosition", v)
  3362. sbs.P = 3000
  3363. sbs.D = 1000
  3364. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3365. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3366. v.Color = keptcolor.Color
  3367. coroutine.resume(coroutine.create(function()
  3368. for i = 0, 49 do
  3369. swait(1)
  3370. v:BreakJoints()
  3371. v.Transparency = v.Transparency + 0.02
  3372. end
  3373. v:BreakJoints()
  3374. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3375. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3376. bld.Speed = NumberRange.new(10,25)
  3377. bld.Drag = 5
  3378. bld.Acceleration = vt(0,2,0)
  3379. wait(0.5)
  3380. bld.Enabled = false
  3381. wait(8)
  3382. v:Destroy()
  3383. dude:Destroy()
  3384. end))
  3385. end))
  3386. end
  3387. end
  3388. end))
  3389. end)
  3390. ds()
  3391. end
  3392. end
  3393.  
  3394.  
  3395. function FindNearestHead(Position, Distance, SinglePlayer)
  3396. if SinglePlayer then
  3397. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3398. end
  3399. local List = {}
  3400. for i, v in pairs(workspace:GetChildren()) do
  3401. if v:IsA("Model") then
  3402. if v:findFirstChild("Head") then
  3403. if v ~= Character then
  3404. if (v.Head.Position - Position).magnitude <= Distance then
  3405. table.insert(List, v)
  3406. end
  3407. end
  3408. end
  3409. end
  3410. end
  3411. return List
  3412. end
  3413.  
  3414. function FaceMouse()
  3415. Cam = workspace.CurrentCamera
  3416. return {
  3417. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3418. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3419. }
  3420. end
  3421.  
  3422. function FaceMouse2()
  3423. Cam = workspace.CurrentCamera
  3424. return {
  3425. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3426. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3427. }
  3428. end
  3429.  
  3430. local ModeOfGlitch = 1
  3431. -- Functions are ready.
  3432. local storehumanoidWS = 16
  3433.  
  3434. function CorruptBlink()
  3435. for i = 0, 14 do
  3436. 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)
  3437. end
  3438. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3439. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3440. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3441. CameraEnshaking(2,10)
  3442. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3443. if v:FindFirstChild('Head') then
  3444. dmg(v)
  3445. end
  3446. end
  3447. for i = 0, 14 do
  3448. 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)
  3449. end
  3450. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3451. end
  3452. function PureBomb()
  3453. attack = true
  3454. hum.WalkSpeed = 0
  3455. local orb = Instance.new("Part", char)
  3456. orb.Anchored = true
  3457. orb.BrickColor = BrickColor.new("Toothpaste")
  3458. orb.CanCollide = false
  3459. orb.FormFactor = 3
  3460. orb.Name = "Ring"
  3461. orb.Material = "Neon"
  3462. orb.Size = Vector3.new(1, 1, 1)
  3463. orb.Transparency = 0
  3464. orb.TopSurface = 0
  3465. orb.BottomSurface = 0
  3466. local orbm = Instance.new("SpecialMesh", orb)
  3467. orbm.MeshType = "Sphere"
  3468. orbm.Name = "SizeMesh"
  3469. orbm.Scale = vt(0,0,0)
  3470. local scaled = 0.1
  3471. local posid = 0
  3472. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3473. for i = 0, 5, 0.1 do
  3474. swait()
  3475. scaled = scaled - 0.001
  3476. posid = posid - scaled
  3477. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3478. local scaled = 0.1
  3479. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3480. 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)
  3481. 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)
  3482. 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)
  3483. 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)
  3484. 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)
  3485. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3486. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3487. 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)
  3488. end
  3489. for i = 0, 2, 0.1 do
  3490. swait()
  3491. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3492. 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)
  3493. 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)
  3494. 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)
  3495. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3496. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3497. 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)
  3498. end
  3499. coroutine.resume(coroutine.create(function()
  3500. orb.Anchored = false
  3501. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3502. local a = Instance.new("Part",workspace)
  3503. a.Name = "Direction"
  3504. a.Anchored = true
  3505. a.BrickColor = bc("Bright red")
  3506. a.Material = "Neon"
  3507. a.Transparency = 1
  3508. a.CanCollide = false
  3509. local ray = Ray.new(
  3510. orb.CFrame.p, -- origin
  3511. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3512. )
  3513. local ignore = orb
  3514. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3515. a.BottomSurface = 10
  3516. a.TopSurface = 10
  3517. local distance = (orb.CFrame.p - position).magnitude
  3518. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3519. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3520. orb.CFrame = a.CFrame
  3521. a:Destroy()
  3522. local bv = Instance.new("BodyVelocity")
  3523. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3524. bv.velocity = orb.CFrame.lookVector*125
  3525. bv.Parent = orb
  3526. local hitted = false
  3527. game:GetService("Debris"):AddItem(orb, 15)
  3528. wait()
  3529. local hit =orb.Touched:connect(function(hit)
  3530. if hitted == false then
  3531. hitted = true
  3532. CameraEnshaking(10,2.5)
  3533. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3534. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3535. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3536. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3537. for i = 0, 49 do
  3538. 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)
  3539. end
  3540. for i = 0, 9 do
  3541. 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)
  3542. 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)
  3543. end
  3544. orb.Anchored = true
  3545. orb.Transparency = 1
  3546. wait(8)
  3547. orb:Destroy()
  3548. end
  3549. end)
  3550. end))
  3551. for i = 0, 1, 0.1 do
  3552. swait()
  3553. 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)
  3554. 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)
  3555. 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)
  3556. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3557. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3558. 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)
  3559. end
  3560. hum.WalkSpeed = storehumanoidWS
  3561. attack = false
  3562. end
  3563.  
  3564. function BanishingOrb()
  3565. attack = true
  3566. hum.WalkSpeed = 0
  3567. local orb = Instance.new("Part", char)
  3568. orb.Anchored = true
  3569. orb.BrickColor = BrickColor.new("Black")
  3570. orb.CanCollide = false
  3571. orb.FormFactor = 3
  3572. orb.Name = "Ring"
  3573. orb.Material = "Neon"
  3574. orb.Size = Vector3.new(1, 1, 1)
  3575. orb.Transparency = 0
  3576. orb.TopSurface = 0
  3577. orb.BottomSurface = 0
  3578. local orbm = Instance.new("SpecialMesh", orb)
  3579. orbm.MeshType = "Sphere"
  3580. orbm.Name = "SizeMesh"
  3581. orbm.Scale = vt(0,0,0)
  3582. local scaled = 0.1
  3583. local posid = 0
  3584. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
  3585. for i = 0, 5, 0.1 do
  3586. swait()
  3587. scaled = scaled - 0.001
  3588. posid = posid - scaled
  3589. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3590. local scaled = 0.1
  3591. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3592. 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("Black"),10)
  3593. 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)
  3594. 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)
  3595. 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)
  3596. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3597. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3598. 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)
  3599. end
  3600. for i = 0, 2, 0.1 do
  3601. swait()
  3602. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3603. 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)
  3604. 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)
  3605. 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)
  3606. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3607. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3608. 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)
  3609. end
  3610. coroutine.resume(coroutine.create(function()
  3611. orb.Anchored = false
  3612. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
  3613. local a = Instance.new("Part",workspace)
  3614. a.Name = "Direction"
  3615. a.Anchored = true
  3616. a.BrickColor = bc("Bright red")
  3617. a.Material = "Neon"
  3618. a.Transparency = 1
  3619. a.CanCollide = false
  3620. local ray = Ray.new(
  3621. orb.CFrame.p, -- origin
  3622. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3623. )
  3624. local ignore = orb
  3625. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3626. a.BottomSurface = 10
  3627. a.TopSurface = 10
  3628. local distance = (orb.CFrame.p - position).magnitude
  3629. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3630. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3631. orb.CFrame = a.CFrame
  3632. a:Destroy()
  3633. local bv = Instance.new("BodyVelocity")
  3634. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3635. bv.velocity = orb.CFrame.lookVector*0
  3636. bv.Parent = orb
  3637. local hitted = false
  3638. local rate = 0
  3639. coroutine.resume(coroutine.create(function()
  3640. for i = 0, 24 do
  3641. wait(0.1)
  3642. rate = rate + 0.25
  3643. bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
  3644. for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
  3645. if v:FindFirstChild('Head') then
  3646. dmg(v)
  3647. end
  3648. end
  3649. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
  3650. sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3651. sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  3652. end
  3653. orb.Anchored = true
  3654. orb.Transparency = 1
  3655. for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
  3656. if v:FindFirstChild('Head') then
  3657. dmg(v)
  3658. end
  3659. end
  3660. local eff = Instance.new("ParticleEmitter",orb)
  3661. eff.Texture = "rbxassetid://296874871"
  3662. eff.LightEmission = 0.95
  3663. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3664. eff.Rate = 1000000000
  3665. eff.Lifetime = NumberRange.new(3)
  3666. 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)})
  3667. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3668. eff.Speed = NumberRange.new(30)
  3669. eff.Acceleration = vt(0,-15,0)
  3670. eff.Rotation = NumberRange.new(-500,500)
  3671. eff.VelocitySpread = 100000
  3672. eff.RotSpeed = NumberRange.new(-500,500)
  3673. coroutine.resume(coroutine.create(function()
  3674. wait(0.6)
  3675. eff.Enabled = false
  3676. end))
  3677. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
  3678. CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
  3679. sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  3680. sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3681. sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
  3682. game:GetService("Debris"):AddItem(orb, 15)
  3683. end))
  3684. end))
  3685. for i = 0, 1, 0.1 do
  3686. swait()
  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))),.4)
  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)),.4)
  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(50)),.4)
  3690. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3691. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  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)),.4)
  3693. end
  3694. hum.WalkSpeed = storehumanoidWS
  3695. attack = false
  3696. end
  3697.  
  3698.  
  3699. function ChaosGroundStrike()
  3700. attack = true
  3701. for i = 0, 2, 0.1 do
  3702. swait()
  3703. 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)
  3704. 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)
  3705. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3706. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3707. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3708. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3709. end
  3710. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3711. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3712. CameraEnshaking(4,12)
  3713. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3714. if v:FindFirstChild('Head') then
  3715. dmg(v)
  3716. end
  3717. end
  3718. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3719. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3720. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3721. for i = 0, 2, 0.1 do
  3722. swait()
  3723. 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)
  3724. 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)
  3725. 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)
  3726. 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)
  3727. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3728. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3729. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3730. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3731. end
  3732. attack = false
  3733. end
  3734.  
  3735.  
  3736.  
  3737. function Starfall()
  3738. attack = true
  3739. hum.WalkSpeed = 0
  3740. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3741. for i = 0, 5, 0.1 do
  3742. swait()
  3743. 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)
  3744. 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)
  3745. 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)
  3746. 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)
  3747. 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)
  3748. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3749. 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)
  3750. 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)
  3751. end
  3752. local Overed = false
  3753. CameraEnshaking(2,20)
  3754. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3755. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3756. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3757. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3758. local orb = Instance.new("Part", char)
  3759. orb.Anchored = true
  3760. orb.BrickColor = BrickColor.new("Toothpaste")
  3761. orb.CanCollide = false
  3762. orb.FormFactor = 3
  3763. orb.Name = "Remenant"
  3764. orb.Material = "Neon"
  3765. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3766. orb.Size = Vector3.new(1, 1, 1)
  3767. orb.Transparency = 1
  3768. orb.TopSurface = 0
  3769. orb.BottomSurface = 0
  3770. hum.WalkSpeed = storehumanoidWS
  3771. coroutine.resume(coroutine.create(function()
  3772. for i = 0, 9 do
  3773. swait(10)
  3774. local lb = Instance.new("Part")
  3775. lb.Color = MAINRUINCOLOR.Color
  3776. lb.CanCollide = false
  3777. lb.Material = "Neon"
  3778. lb.Anchored = true
  3779. lb.TopSurface = 0
  3780. lb.BottomSurface = 0
  3781. lb.Transparency = 0
  3782. lb.Size = vt(1,1,1)
  3783. 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)))
  3784. lb.Anchored = false
  3785. lb.Parent = char
  3786. local thingery = Instance.new("SpecialMesh",lb)
  3787. thingery.MeshType = "Sphere"
  3788. thingery.Scale = vt(20,20,20)
  3789. game:GetService("Debris"):AddItem(lb, 10)
  3790. local bv = Instance.new("BodyVelocity")
  3791. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3792. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3793. bv.Parent = lb
  3794. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3795. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3796. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3797. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3798. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3799. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3800. local hitted = false
  3801. coroutine.resume(coroutine.create(function()
  3802. while true do
  3803. swait(1)
  3804. if lb.Parent ~= nil and hitted == false then
  3805. 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)
  3806. elseif lb.Parent == nil then
  3807. break
  3808. end
  3809. end
  3810. end))
  3811.  
  3812. game:GetService("Debris"):AddItem(a, 0.1)
  3813.  
  3814. coroutine.resume(coroutine.create(function()
  3815. swait(1)
  3816. lb.Touched:connect(function(hit)
  3817. if hitted == false then
  3818. hitted = true
  3819. lb.Transparency = 1
  3820. lb.Anchored = true
  3821. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3822. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3823. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3824. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3825. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3826. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3827. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3828. CameraEnshaking(1,5)
  3829. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3830. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3831. for i = 0, 9 do
  3832. 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)
  3833. end
  3834. for i = 0, 49 do
  3835. swait()
  3836. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3837. 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)
  3838. end
  3839. end
  3840. end)
  3841. end))
  3842. end
  3843. Overed = true
  3844. orb:Destroy()
  3845. end))
  3846.  
  3847. attack = false
  3848. end
  3849.  
  3850. function StarfallEX()
  3851. attack = true
  3852. hum.WalkSpeed = 0
  3853. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
  3854. for i = 0, 10, 0.1 do
  3855. swait()
  3856. 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)
  3857. 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)
  3858. 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)
  3859. 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)
  3860. 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)
  3861. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3862. 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)
  3863. 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)
  3864. end
  3865. local Overed = false
  3866. CameraEnshaking(2,20)
  3867. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3868. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3869. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  3870. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
  3871. local orb = Instance.new("Part", char)
  3872. orb.Anchored = true
  3873. orb.BrickColor = BrickColor.new("Toothpaste")
  3874. orb.CanCollide = false
  3875. orb.FormFactor = 3
  3876. orb.Name = "Remenant"
  3877. orb.Material = "Neon"
  3878. orb.CFrame = root.CFrame*CFrame.new(0,250,0)
  3879. orb.Size = Vector3.new(1, 1, 1)
  3880. orb.Transparency = 1
  3881. orb.TopSurface = 0
  3882. orb.BottomSurface = 0
  3883. hum.WalkSpeed = storehumanoidWS
  3884. coroutine.resume(coroutine.create(function()
  3885. for i = 0, 4 do
  3886. swait(15)
  3887. local lb = Instance.new("Part")
  3888. lb.Color = MAINRUINCOLOR.Color
  3889. lb.CanCollide = false
  3890. lb.Material = "Neon"
  3891. lb.Anchored = true
  3892. lb.TopSurface = 0
  3893. lb.BottomSurface = 0
  3894. lb.Transparency = 0
  3895. lb.Size = vt(1,1,1)
  3896. 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)))
  3897. lb.Anchored = false
  3898. lb.Parent = char
  3899. local thingery = Instance.new("SpecialMesh",lb)
  3900. thingery.MeshType = "Sphere"
  3901. thingery.Scale = vt(50,50,50)
  3902. game:GetService("Debris"):AddItem(lb, 10)
  3903. local bv = Instance.new("BodyVelocity")
  3904. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3905. bv.velocity = lb.CFrame.lookVector*math.random(50,420)
  3906. bv.Parent = lb
  3907. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  3908. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  3909. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
  3910. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
  3911. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
  3912. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
  3913. local hitted = false
  3914. coroutine.resume(coroutine.create(function()
  3915. while true do
  3916. swait(1)
  3917. if lb.Parent ~= nil and hitted == false then
  3918. 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)
  3919. elseif lb.Parent == nil then
  3920. break
  3921. end
  3922. end
  3923. end))
  3924.  
  3925. game:GetService("Debris"):AddItem(a, 0.1)
  3926.  
  3927. coroutine.resume(coroutine.create(function()
  3928. swait(1)
  3929. lb.Touched:connect(function(hit)
  3930. if hitted == false then
  3931. hitted = true
  3932. lb.Transparency = 1
  3933. lb.Anchored = true
  3934. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
  3935. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
  3936. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
  3937. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
  3938. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
  3939. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
  3940. MagniDamage(lb, 50, 60,99, 0, "Normal")
  3941. CameraEnshaking(1,5)
  3942. sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
  3943. sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
  3944. for i = 0, 9 do
  3945. 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)
  3946. end
  3947. for i = 0, 99 do
  3948. swait()
  3949. MagniDamage(lb, 30, 6,18, 0, "Normal")
  3950. 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)
  3951. end
  3952. end
  3953. end)
  3954. end))
  3955. end
  3956. Overed = true
  3957. orb:Destroy()
  3958. end))
  3959.  
  3960. attack = false
  3961. end
  3962.  
  3963. function DivineBlast()
  3964. attack = true
  3965. hum.WalkSpeed = 0
  3966. local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
  3967. elocacenter.Anchored = true
  3968. elocacenter.CFrame = sorb.CFrame
  3969. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3970. eloca1.Anchored = true
  3971. eloca1.CFrame = elocacenter.CFrame
  3972. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3973. eloca2.Anchored = true
  3974. eloca2.CFrame = elocacenter.CFrame
  3975. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3976. eloca3.Anchored = true
  3977. eloca3.CFrame = elocacenter.CFrame
  3978. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3979. eloca4.Anchored = true
  3980. eloca4.CFrame = elocacenter.CFrame
  3981. local lookavec = 0
  3982. local speeds = 0
  3983. CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
  3984. for i = 0, 3, 0.1 do
  3985. swait()
  3986. ---
  3987. lookavec = lookavec + 0.1
  3988. speeds = speeds + 10
  3989. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3990. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3991. 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)
  3992.  
  3993. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3994. 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)
  3995.  
  3996. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3997. 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)
  3998.  
  3999. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4000. 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)
  4001. ---
  4002. root.CFrame = FaceMouse()[1]
  4003. 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)
  4004. 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)
  4005. 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)
  4006. 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)
  4007. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4008. 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)
  4009. end
  4010. for i = 0, 3, 0.1 do
  4011. swait()
  4012. ---
  4013. speeds = speeds + 10
  4014. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4015. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4016. 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)
  4017.  
  4018. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4019. 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)
  4020.  
  4021. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4022. 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)
  4023.  
  4024. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4025. 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)
  4026. ---
  4027. root.CFrame = FaceMouse()[1]
  4028. 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)
  4029. 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)
  4030. 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)
  4031. 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)
  4032. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4033. 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)
  4034. end
  4035. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
  4036. for i = 0, 3, 0.1 do
  4037. swait()
  4038. ---
  4039. speeds = speeds + 10
  4040. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4041. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4042. 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)
  4043.  
  4044. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4045. 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)
  4046.  
  4047. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4048. 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)
  4049.  
  4050. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4051. 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)
  4052. ---
  4053. root.CFrame = FaceMouse()[1]
  4054. 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)
  4055. 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)
  4056. 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(40)),.1)
  4057. 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)
  4058. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  4059. 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)
  4060. end
  4061. coroutine.resume(coroutine.create(function()
  4062. local a = Instance.new("Part",Character)
  4063. a.Name = "Direction"
  4064. a.Anchored = true
  4065. a.BrickColor = bc("White")
  4066. a.Material = "Neon"
  4067. a.Transparency = 0
  4068. a.Shape = "Cylinder"
  4069. a.CanCollide = false
  4070. local a2 = Instance.new("Part",Character)
  4071. a2.Name = "Direction"
  4072. a2.Anchored = true
  4073. a2.BrickColor = bc("Bright yellow")
  4074. a2.Material = "Neon"
  4075. a2.Transparency = 0
  4076. a2.Shape = "Cylinder"
  4077. a2.CanCollide = false
  4078. local b = Instance.new("Part",Character)
  4079. b.Name = "HitDirect"
  4080. b.Anchored = true
  4081. b.BrickColor = bc("Cool yellow")
  4082. b.Material = "Neon"
  4083. b.Transparency = 1
  4084. b.CanCollide = false
  4085. local ray = Ray.new(
  4086. elocacenter.CFrame.p, -- origin
  4087. (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
  4088. )
  4089. local ignore = Character
  4090. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4091. a.BottomSurface = 10
  4092. a.TopSurface = 10
  4093. a2.BottomSurface = 10
  4094. a2.TopSurface = 10
  4095. local distance = (elocacenter.CFrame.p - position).magnitude
  4096. a.Size = Vector3.new(distance, 1, 1)
  4097. a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4098. a2.Size = Vector3.new(distance, 1, 1)
  4099. a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4100. b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4101. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4102. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4103. game:GetService("Debris"):AddItem(a, 10)
  4104. game:GetService("Debris"):AddItem(a2, 10)
  4105. game:GetService("Debris"):AddItem(b, 10)
  4106. local msh = Instance.new("SpecialMesh",a)
  4107. msh.MeshType = "Cylinder"
  4108. msh.Scale = vt(1,2,2)
  4109. local msh2 = Instance.new("SpecialMesh",a2)
  4110. msh2.MeshType = "Cylinder"
  4111. msh2.Scale = vt(1,2.5,2.5)
  4112. CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
  4113. coroutine.resume(coroutine.create(function()
  4114. for i = 0,10,0.1 do
  4115. swait()
  4116. msh.Scale = msh.Scale + vt(0,0.05,0.05)
  4117. a.Transparency = a.Transparency + 0.025
  4118. msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
  4119. a2.Transparency = a2.Transparency + 0.05
  4120. end
  4121. a:Destroy()
  4122. a2:Destroy()
  4123. end))
  4124. CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
  4125. CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
  4126. CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
  4127. CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
  4128. CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
  4129. CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
  4130. MagniDamage(b, 25, 40,65, 0, "Normal")
  4131. for i = 0, 49 do
  4132. 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)
  4133. 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)
  4134. end
  4135. sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
  4136. sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
  4137. sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4138. sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4139. sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4140. sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4141. end))
  4142. game:GetService("Debris"):AddItem(elocacenter, 5)
  4143. hum.WalkSpeed = storehumanoidWS
  4144. attack = false
  4145. end
  4146.  
  4147. function StarDivision()
  4148. attack = true
  4149. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4150. for i = 0, 2, 0.1 do
  4151. swait()
  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 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.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(0)),.1)
  4156. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  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. local orb = Instance.new("Part", char)
  4160. orb.BrickColor = MAINRUINCOLOR
  4161. orb.CanCollide = false
  4162. orb.FormFactor = 3
  4163. orb.Name = "Ring"
  4164. orb.Material = "Neon"
  4165. orb.Size = Vector3.new(1, 1, 1)
  4166. orb.Transparency = 0
  4167. orb.TopSurface = 0
  4168. orb.BottomSurface = 0
  4169. local orbm = Instance.new("SpecialMesh", orb)
  4170. orbm.MeshType = "Sphere"
  4171. orbm.Name = "SizeMesh"
  4172. orbm.Scale = vt(2,2,2)
  4173. local a = Instance.new("Part",workspace)
  4174. a.Name = "Direction"
  4175. a.Anchored = true
  4176. a.BrickColor = bc("Bright red")
  4177. a.Material = "Neon"
  4178. a.Transparency = 1
  4179. a.CanCollide = false
  4180. local ray = Ray.new(
  4181. sorb.CFrame.p, -- origin
  4182. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  4183. )
  4184. local ignore = sorb
  4185. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4186. a.BottomSurface = 10
  4187. a.TopSurface = 10
  4188. local distance = (sorb.CFrame.p - position).magnitude
  4189. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4190. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4191. orb.CFrame = a.CFrame
  4192. a:Destroy()
  4193. local bv = Instance.new("BodyVelocity")
  4194. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4195. bv.velocity = orb.CFrame.lookVector*100
  4196. bv.Parent = orb
  4197. local hitted = false
  4198. game:GetService("Debris"):AddItem(orb, 10)
  4199. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  4200. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  4201. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  4202. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  4203. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  4204. coroutine.resume(coroutine.create(function()
  4205. while true do
  4206. swait(1)
  4207. if orb.Parent ~= nil and hitted == false then
  4208. 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)
  4209. elseif orb.Parent == nil then
  4210. break
  4211. end
  4212. end
  4213. end))
  4214. coroutine.resume(coroutine.create(function()
  4215. swait(1)
  4216. orb.Touched:connect(function(hit)
  4217. if hitted == false then
  4218. hitted = true
  4219. game:GetService("Debris"):AddItem(orb, 5)
  4220. orb.Transparency = 1
  4221. orb.Anchored = true
  4222. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4223. elocacenter.Anchored = true
  4224. elocacenter.CFrame = orb.CFrame
  4225. elocacenter.Orientation = vt(0,0,0)
  4226. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4227. eloca1.Anchored = true
  4228. eloca1.CFrame = elocacenter.CFrame
  4229. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4230. eloca2.Anchored = true
  4231. eloca2.CFrame = elocacenter.CFrame
  4232. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4233. eloca3.Anchored = true
  4234. eloca3.CFrame = elocacenter.CFrame
  4235. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4236. eloca4.Anchored = true
  4237. eloca4.CFrame = elocacenter.CFrame
  4238. local lookavec = 0
  4239. local speeds = 0
  4240. CameraEnshaking(1,1)
  4241. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4242. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4243. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4244. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4245. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4246. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4247. for i = 0, 99 do
  4248. swait()
  4249. lookavec = lookavec + 1
  4250. speeds = speeds + 0.1
  4251. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4252. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4253. 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)
  4254.  
  4255. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4256. 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)
  4257.  
  4258. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4259. 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)
  4260.  
  4261. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4262. 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)
  4263. end
  4264.  
  4265. for i = 0, 149 do
  4266. swait()
  4267. speeds = speeds + 0.1
  4268. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4269. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4270. 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)
  4271.  
  4272. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4273. 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)
  4274.  
  4275. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4276. 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)
  4277.  
  4278. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4279. 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)
  4280. end
  4281. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  4282. if v:FindFirstChild('Head') then
  4283. dmg(v)
  4284. end
  4285. end
  4286. CameraEnshaking(7,30)
  4287. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  4288. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  4289. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  4290. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  4291. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4292. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  4293. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  4294. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4295. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4296. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4297. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4298. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4299. for i = 0, 24 do
  4300. 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)
  4301. 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)
  4302. 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)
  4303. 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)
  4304. end
  4305. coroutine.resume(coroutine.create(function()
  4306. for i = 0, 499 do
  4307. swait(1)
  4308. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  4309. 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)
  4310. end
  4311. elocacenter:Destroy()
  4312. eloca1:Destroy()
  4313. eloca2:Destroy()
  4314. eloca3:Destroy()
  4315. eloca4:Destroy()
  4316. end))
  4317. end
  4318. end)
  4319. end))
  4320. attack = false
  4321. end
  4322.  
  4323.  
  4324. function THE_TRUE_POWER_OF_VIOLENCE()
  4325. attack = true
  4326. hum.WalkSpeed = 0
  4327. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 2.5,0.7)
  4328. for i = 0, 10, 0.1 do
  4329. swait()
  4330. 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)
  4331. 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)
  4332. 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)),.4)
  4333. 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(40)),.4)
  4334. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  4335. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4336. 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)
  4337. end
  4338. local orb = Instance.new("Part", char)
  4339. orb.BrickColor = MAINRUINCOLOR
  4340. orb.CanCollide = false
  4341. orb.FormFactor = 3
  4342. orb.Name = "Ring"
  4343. orb.Material = "Neon"
  4344. orb.Size = Vector3.new(1, 1, 1)
  4345. orb.Transparency = 0
  4346. orb.TopSurface = 0
  4347. orb.BottomSurface = 0
  4348. orb.CFrame = sorb.CFrame
  4349. local orbm = Instance.new("SpecialMesh", orb)
  4350. orbm.MeshType = "Sphere"
  4351. orbm.Name = "SizeMesh"
  4352. orbm.Scale = vt(0,0,0)
  4353. local sbs = Instance.new("BodyPosition", orb)
  4354. sbs.P = 3000
  4355. sbs.D = 1000
  4356. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4357. sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
  4358. CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
  4359. sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4360. sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4361. sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4362. sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4363. sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4364. for i = 0, 10, 0.1 do
  4365. swait()
  4366. 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)
  4367. 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)
  4368. 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)
  4369. 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(60)),.6)
  4370. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4371. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4372. 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)
  4373. end
  4374. orb.Anchored = true
  4375. local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4376. elocacenter.Anchored = true
  4377. elocacenter.CFrame = orb.CFrame
  4378. elocacenter.Orientation = vt(0,0,0)
  4379. local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4380. eloca1.Anchored = true
  4381. eloca1.CFrame = elocacenter.CFrame
  4382. local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4383. eloca2.Anchored = true
  4384. eloca2.CFrame = elocacenter.CFrame
  4385. local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4386. eloca3.Anchored = true
  4387. eloca3.CFrame = elocacenter.CFrame
  4388. local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4389. eloca4.Anchored = true
  4390. eloca4.CFrame = elocacenter.CFrame
  4391. local lookavec = 0
  4392. local speeds = 0
  4393. CameraEnshaking(1,1)
  4394. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
  4395. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
  4396. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
  4397. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
  4398. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4399. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4400. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4401. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4402. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4403. for i = 0, 99 do
  4404. swait()
  4405. lookavec = lookavec + 2.5
  4406. speeds = speeds + 0.25
  4407. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4408. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4409. 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)
  4410.  
  4411. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4412. 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)
  4413.  
  4414. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4415. 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)
  4416.  
  4417. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4418. 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)
  4419. end
  4420.  
  4421. for i = 0, 149 do
  4422. swait()
  4423. speeds = speeds + 0.25
  4424. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4425. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4426. 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)
  4427.  
  4428. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4429. 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)
  4430.  
  4431. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4432. 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)
  4433.  
  4434. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4435. 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)
  4436. end
  4437. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
  4438. for i = 0, 99 do
  4439. swait()
  4440. lookavec = lookavec - 2.5
  4441. speeds = speeds + 0.25
  4442. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4443. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4444. 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)
  4445.  
  4446. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4447. 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)
  4448.  
  4449. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4450. 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)
  4451.  
  4452. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4453. 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)
  4454. end
  4455. local scaled = 0.1*75
  4456. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
  4457. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
  4458. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
  4459. CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
  4460. CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
  4461. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  4462. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4463. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4464. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4465. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4466. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4467. for i = 0, 10, 0.1 do
  4468. swait()
  4469. scaled = scaled - 0.001*75
  4470. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4471. 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)
  4472. 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)
  4473. 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)
  4474. 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(60)),.6)
  4475. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4476. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4477. 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)
  4478. end
  4479. for x = 0, 4 do
  4480. for i = 0, 9 do
  4481. 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)
  4482. end
  4483. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
  4484. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
  4485. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4486. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4487. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4488. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4489. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4490. for i = 0, 5, 0.1 do
  4491. swait()
  4492. 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)
  4493. 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)
  4494. 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)
  4495. 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)),.1)
  4496. 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)
  4497. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  4498. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
  4499. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
  4500. end
  4501. end
  4502. local speedearn = 0
  4503. CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
  4504. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
  4505. CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
  4506. for i = 0, 30, 0.1 do
  4507. swait()
  4508. scaled = scaled - 0.001*75/10
  4509. speedearn = speedearn + 0.5
  4510. for i = 0, 4 do
  4511. 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)
  4512. end
  4513. 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)
  4514. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4515. 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)
  4516. 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)
  4517. 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)
  4518. 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)
  4519. 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)),.6)
  4520. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
  4521. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
  4522. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
  4523. end
  4524. orb.Transparency = 1
  4525. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
  4526. if v:FindFirstChild('Head') then
  4527. dmg(v)
  4528. end
  4529. end
  4530. CameraEnshaking(7,30)
  4531. MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
  4532. CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
  4533. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
  4534. CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
  4535. CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
  4536. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4537. CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
  4538. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4539. CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
  4540. CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
  4541. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
  4542. CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
  4543. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
  4544. CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
  4545. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4546. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4547. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4548. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4549. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4550. for i = 0, 99 do
  4551. 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)
  4552. 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)
  4553. end
  4554. for i = 0, 24 do
  4555. 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)
  4556. 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)
  4557. 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)
  4558. 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)
  4559. 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)
  4560. end
  4561. game:GetService("Debris"):AddItem(orb, 10)
  4562. hum.WalkSpeed = storehumanoidWS
  4563. attack = false
  4564. end
  4565.  
  4566.  
  4567. function ViolentRing()
  4568. attack = true
  4569. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
  4570. for i = 0, 2, 0.1 do
  4571. swait()
  4572. local snap = math.random(1,10)
  4573. if snap == 1 then
  4574. 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)
  4575. end
  4576. 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)
  4577. 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)
  4578. 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)
  4579. 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)
  4580. 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)
  4581. 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)
  4582. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
  4583. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
  4584. 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)
  4585. RootPart.CFrame = FaceMouse()[1]
  4586. end
  4587. local orb = Instance.new("Part", char)
  4588. orb.BrickColor = MAINRUINCOLOR
  4589. orb.CanCollide = false
  4590. orb.FormFactor = 3
  4591. orb.Name = "Ring"
  4592. orb.Material = "Neon"
  4593. orb.Size = Vector3.new(1, 1, 1)
  4594. orb.Transparency = 0
  4595. orb.TopSurface = 0
  4596. orb.BottomSurface = 0
  4597. local orbm = Instance.new("SpecialMesh", orb)
  4598. orbm.MeshType = "Sphere"
  4599. orbm.Name = "SizeMesh"
  4600. orbm.Scale = vt(2,2,2)
  4601. orb.CFrame = mouse.Hit
  4602. local bv = Instance.new("BodyVelocity")
  4603. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4604. bv.velocity = orb.CFrame.lookVector*100
  4605. bv.Parent = orb
  4606. local hitted = false
  4607. coroutine.resume(coroutine.create(function()
  4608. game:GetService("Debris"):AddItem(orb, 5)
  4609. orb.Transparency = 1
  4610. orb.Anchored = true
  4611. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4612. elocacenter.Anchored = true
  4613. elocacenter.CFrame = orb.CFrame
  4614. elocacenter.Orientation = vt(0,0,0)
  4615. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4616. eloca1.Anchored = true
  4617. eloca1.CFrame = elocacenter.CFrame
  4618. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4619. eloca2.Anchored = true
  4620. eloca2.CFrame = elocacenter.CFrame
  4621. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4622. eloca3.Anchored = true
  4623. eloca3.CFrame = elocacenter.CFrame
  4624. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4625. eloca4.Anchored = true
  4626. eloca4.CFrame = elocacenter.CFrame
  4627. local lookavec = 0
  4628. local speeds = 0
  4629. CameraEnshaking(1,1)
  4630. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4631. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4632. sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4633. sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4634. sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4635. sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4636. for i = 0, 24 do
  4637. swait()
  4638. lookavec = lookavec + 3.5
  4639. speeds = speeds + 1
  4640. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4641. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4642. 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)
  4643.  
  4644. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4645. 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)
  4646.  
  4647. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4648. 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)
  4649.  
  4650. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4651. 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)
  4652. end
  4653.  
  4654. local risen = 0
  4655. for i = 0, 49 do
  4656. swait()
  4657. risen = risen + 0.05
  4658. speeds = speeds + 0.1
  4659. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4660. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4661. 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)
  4662.  
  4663. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4664. 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)
  4665.  
  4666. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4667. 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)
  4668.  
  4669. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4670. 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)
  4671. end
  4672. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
  4673. if v:FindFirstChild('Head') then
  4674. dmg(v)
  4675. end
  4676. end
  4677. CameraEnshaking(4,10)
  4678. MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
  4679. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
  4680. CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
  4681. CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
  4682. CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
  4683. CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
  4684. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
  4685. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
  4686. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4687. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4688. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4689. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4690. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4691. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
  4692. for i = 0, 24 do
  4693. 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)
  4694. 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)
  4695. 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)
  4696. 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)
  4697. end
  4698. coroutine.resume(coroutine.create(function()
  4699. wait(10)
  4700. elocacenter:Destroy()
  4701. eloca1:Destroy()
  4702. eloca2:Destroy()
  4703. eloca3:Destroy()
  4704. eloca4:Destroy()
  4705. end))
  4706. end))
  4707. attack = false
  4708. end
  4709.  
  4710. function UniversalCollapse()
  4711. attack = true
  4712. local speedearn = 0
  4713. hum.WalkSpeed = 0
  4714. local sbs = Instance.new("BodyPosition", root)
  4715. sbs.P = 3000
  4716. sbs.D = 1000
  4717. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4718. sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
  4719. CFuncs["LongSound"].Create("rbxassetid://489657591", char, 10, 1)
  4720. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4721. for i = 0, 110, 0.1 do
  4722. swait()
  4723. speedearn = speedearn + 0.1
  4724. 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)
  4725. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4726. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4727. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4728. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4729. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4730. 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)
  4731. 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)
  4732. 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)
  4733. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4734. 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)
  4735. 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)
  4736. end
  4737. CameraEnshaking(5,50)
  4738. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4739. for i = 0, 2 do
  4740. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4741. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4742. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
  4743. CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
  4744. end
  4745. for i = 0, 49 do
  4746. 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)
  4747. 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)
  4748. 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)
  4749. 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)
  4750. end
  4751. sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4752. sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4753. sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4754. sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4755. sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4756. sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4757. sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4758. sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4759. sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4760. sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4761. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4762. sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4763. for i = 0, 99 do
  4764. 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)
  4765. 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)
  4766. end
  4767. for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
  4768. if v:FindFirstChild('Head') then
  4769. dmg(v)
  4770. end
  4771. end
  4772. MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
  4773. sbs:Destroy()
  4774. hum.WalkSpeed = storehumanoidWS
  4775. attack = false
  4776. end
  4777.  
  4778.  
  4779. function ChaosEND()
  4780. attack = true
  4781. local speedearn = 0
  4782. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.5)
  4783. for i = 0, 15, 0.1 do
  4784. swait()
  4785. speedearn = speedearn + 0.25
  4786. 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)
  4787. 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)
  4788. 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)
  4789. 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)
  4790. 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)
  4791. 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)
  4792. 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)
  4793. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4794. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4795. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4796. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4797. end
  4798. CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
  4799. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4800. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 0.75)
  4801. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 0.5)
  4802. CameraEnshaking(5,25)
  4803. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4804. if v:FindFirstChild('Head') then
  4805. dmg(v)
  4806. end
  4807. end
  4808. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  4809. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  4810. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  4811. for i = 0, 3, 0.1 do
  4812. swait()
  4813. 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)
  4814. 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)
  4815. 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)
  4816. 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)
  4817. 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)
  4818. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  4819. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4820. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4821. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4822. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4823. end
  4824. attack = false
  4825. end
  4826.  
  4827. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4828. local orb = Instance.new("Part", char)
  4829. orb.Anchored = true
  4830. orb.BrickColor = color
  4831. orb.CanCollide = false
  4832. orb.FormFactor = 3
  4833. orb.Name = "Ring"
  4834. orb.Material = "Neon"
  4835. orb.Size = Vector3.new(1, 1, 1)
  4836. orb.Transparency = 0
  4837. orb.TopSurface = 0
  4838. orb.BottomSurface = 0
  4839. local orbm = Instance.new("SpecialMesh", orb)
  4840. orbm.MeshType = "Sphere"
  4841. orb.CFrame = positted
  4842. orbm.Name = "SizeMesh"
  4843. orbm.Scale = vt(1,1,1)
  4844. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  4845. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  4846. --[[for i = 0, 2 do
  4847. 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)
  4848. end]]--
  4849. coroutine.resume(coroutine.create(function()
  4850. wait(timer)
  4851. CameraEnshaking(3,ShakePower)
  4852. orb.Transparency = 1
  4853. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  4854. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  4855. --[[for i = 0, 4 do
  4856. 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)
  4857. end]]--
  4858. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  4859. wait(3)
  4860. orb:Destroy()
  4861. end))
  4862. end
  4863.  
  4864. function orb_spawn(positted,timer)
  4865. local randomcol = math.random(1,2)
  4866. local orb = Instance.new("Part", char)
  4867. orb.Anchored = true
  4868. if randomcol == 1 then
  4869. orb.BrickColor = BrickColor.new("White")
  4870. elseif randomcol == 2 then
  4871. orb.BrickColor = BrickColor.new("Really black")
  4872. end
  4873. orb.CanCollide = false
  4874. orb.FormFactor = 3
  4875. orb.Name = "Ring"
  4876. orb.Material = "Neon"
  4877. orb.Size = Vector3.new(1, 1, 1)
  4878. orb.Transparency = 0
  4879. orb.TopSurface = 0
  4880. orb.BottomSurface = 0
  4881. local orbm = Instance.new("SpecialMesh", orb)
  4882. orbm.MeshType = "Sphere"
  4883. orb.CFrame = positted
  4884. orbm.Name = "SizeMesh"
  4885. orbm.Scale = vt(1,1,1)
  4886. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
  4887. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  4888. for i = 0, 2 do
  4889. 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)
  4890. end
  4891. coroutine.resume(coroutine.create(function()
  4892. wait(timer)
  4893. CameraEnshaking(3,2)
  4894. orb.Transparency = 1
  4895. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  4896. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  4897. for i = 0, 4 do
  4898. 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)
  4899. end
  4900. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
  4901. wait(3)
  4902. orb:Destroy()
  4903. end))
  4904. end
  4905.  
  4906. function scattercorrupt()
  4907. attack = true
  4908. local rot = 0
  4909. local randomrotations = math.random(1,2)
  4910. local lookv = 2.5
  4911. local power = 5
  4912. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  4913. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  4914. for i = 0, 9 do
  4915. 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)
  4916. end
  4917. CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
  4918. CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
  4919. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
  4920. CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
  4921. CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
  4922. local hite = Instance.new("Part", char)
  4923. hite.Anchored = true
  4924. hite.CanCollide = false
  4925. hite.FormFactor = 3
  4926. hite.Name = "Ring"
  4927. hite.Material = "Neon"
  4928. hite.Size = Vector3.new(1, 1, 1)
  4929. hite.Transparency = 1
  4930. hite.TopSurface = 0
  4931. hite.BottomSurface = 0
  4932. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  4933. local rem = Instance.new("Part", char)
  4934. rem.Anchored = true
  4935. rem.CanCollide = false
  4936. rem.FormFactor = 3
  4937. rem.Name = "Ring"
  4938. rem.Material = "Neon"
  4939. rem.Size = Vector3.new(1, 1, 1)
  4940. rem.Transparency = 1
  4941. rem.TopSurface = 0
  4942. rem.BottomSurface = 0
  4943. rem.CFrame = hite.CFrame
  4944. local rem2 = rem:Clone()
  4945. rem2.Parent = char
  4946. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4947. local rem3 = rem:Clone()
  4948. rem3.Parent = char
  4949. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4950. local rem4 = rem:Clone()
  4951. rem4.Parent = char
  4952. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4953. hite:Destroy()
  4954. coroutine.resume(coroutine.create(function()
  4955. for i = 0, 24 do
  4956. swait(1)
  4957. if randomrotations == 1 then
  4958. rot = rot + 1
  4959. elseif randomrotations == 2 then
  4960. rot = rot - 1
  4961. end
  4962. power = power + 0.5
  4963. lookv = lookv + 7.5
  4964. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4965. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4966. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4967. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4968. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4969. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4970. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4971. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4972. end
  4973. end))
  4974. attack = false
  4975. end
  4976. function yinyangi()
  4977. attack = true
  4978. for i = 0, 2, 0.1 do
  4979. swait()
  4980. 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)
  4981. 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)
  4982. 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)
  4983. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4984. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  4985. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  4986. end
  4987. local bv = Instance.new("BodyVelocity")
  4988. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4989. bv.velocity = root.CFrame.lookVector*175
  4990. bv.Parent = root
  4991. for Rotations = 0, 9 do
  4992. for i = 0, 1, 0.5 do
  4993. swait()
  4994. bv.velocity = root.CFrame.lookVector*175
  4995. 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)
  4996. 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)
  4997. 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)
  4998. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4999. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5000. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5001. end
  5002. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5003. for i = 0, 1, 0.5 do
  5004. swait()
  5005. bv.velocity = root.CFrame.lookVector*175
  5006. 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)
  5007. 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)
  5008. 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)
  5009. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5010. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5011. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5012. end
  5013. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5014. for i = 0, 1, 0.5 do
  5015. swait()
  5016. bv.velocity = root.CFrame.lookVector*175
  5017. 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)
  5018. 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)
  5019. 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)
  5020. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5021. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5022. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5023. end
  5024. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5025. for i = 0, 1, 0.5 do
  5026. swait()
  5027. bv.velocity = root.CFrame.lookVector*175
  5028. 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)
  5029. 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)
  5030. 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)
  5031. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5032. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5033. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5034. end
  5035. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5036. end
  5037. bv:Destroy()
  5038. attack = false
  5039. end
  5040.  
  5041. function createBGCircle(size,parent,color)
  5042. local bgui = Instance.new("BillboardGui",parent)
  5043. bgui.Size = UDim2.new(size, 0, size, 0)
  5044. local imgc = Instance.new("ImageLabel",bgui)
  5045. imgc.BackgroundTransparency = 1
  5046. imgc.ImageTransparency = 0
  5047. imgc.Size = UDim2.new(1,0,1,0)
  5048. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  5049. imgc.ImageColor3 = color
  5050. return bgui,imgc
  5051. end
  5052.  
  5053. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  5054. local bgui,imgc = createBGCircle(size,guipar,color)
  5055. bgui.AlwaysOnTop = true
  5056. imgc.Image = "rbxassetid://" ..img
  5057. local rrot = math.random(1,2)
  5058. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  5059. coroutine.resume(coroutine.create(function()
  5060. for i = 0, 24*delay do
  5061. swait()
  5062. if rotationenabled == true then
  5063. if rrot == 1 then
  5064. imgc.Rotation = imgc.Rotation + rotsp
  5065. elseif rrot == 2 then
  5066. imgc.Rotation = imgc.Rotation - rotsp
  5067. end
  5068. end
  5069. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  5070. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  5071. end
  5072. bgui:Destroy()
  5073. end))
  5074. end
  5075. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled)
  5076. for i, v in pairs(mw2:GetChildren()) do
  5077. if v:IsA("Part") then
  5078. v.BrickColor = one
  5079. v.Material = "Neon"
  5080. end
  5081. end
  5082. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  5083. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  5084. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  5085. for i, v in pairs(mw1:GetChildren()) do
  5086. if v:IsA("Part") then
  5087. if secondaryenabled == false then
  5088. v.Transparency = 1
  5089. elseif secondaryenabled == true then
  5090. v.Transparency = 0
  5091. end
  5092. v.BrickColor = two
  5093. v.Material = "Neon"
  5094. end
  5095. end
  5096. if secondaryenabled == false then
  5097. elseif secondaryenabled == true then
  5098. end
  5099. for i, v in pairs(m:GetChildren()) do
  5100. if v:IsA("Part") then
  5101. v.BrickColor = three
  5102. v.Material = "Ice"
  5103. end
  5104. end
  5105. for i, v in pairs(m2:GetChildren()) do
  5106. if v:IsA("Part") then
  5107. v.BrickColor = four
  5108. v.Material = "Ice"
  5109. end
  5110. end
  5111. for i, v in pairs(m3:GetChildren()) do
  5112. if v:IsA("Part") then
  5113. v.BrickColor = five
  5114. v.Material = "Neon"
  5115. end
  5116. end
  5117. for i, v in pairs(extrawingmod1:GetChildren()) do
  5118. if v:IsA("Part") then
  5119. v.Transparency = exonetran
  5120. v.BrickColor = exone
  5121. v.Material = "Neon"
  5122. end
  5123. end
  5124. for i, v in pairs(extrawingmod2:GetChildren()) do
  5125. if v:IsA("Part") then
  5126. v.Transparency = extwotran
  5127. v.BrickColor = extwo
  5128. v.Material = "Neon"
  5129. end
  5130. end
  5131. end
  5132.  
  5133.  
  5134. function normalmog()
  5135. attack = true
  5136. hum.WalkSpeed = 0
  5137. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
  5138. for i = 0,6,0.1 do
  5139. swait()
  5140. 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)
  5141. 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)
  5142. 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)
  5143. 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)
  5144. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5145. 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)
  5146. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5147. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5148. end
  5149. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  5150. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  5151. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  5152. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  5153. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  5154. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  5155. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  5156. rainbowmode = false
  5157. chaosmode = false
  5158. ModeOfGlitch = 1
  5159. storehumanoidWS = 16
  5160. newTheme("rbxassetid://614032233",48.6,1,1.25)
  5161. RecolorTextAndRename("MAYHEM",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  5162. CameraEnshaking(5,2.5)
  5163. MAINRUINCOLOR = BrickColor.new("Really red")
  5164. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5165. for i = 0, 49 do
  5166. 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)
  5167. end
  5168. for i = 0, 24 do
  5169. 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)
  5170. 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"))
  5171. end
  5172. for i = 0,3,0.1 do
  5173. 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)
  5174. end
  5175. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  5176. for i = 0,2,0.1 do
  5177. swait()
  5178. 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)
  5179. 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)
  5180. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  5181. 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)
  5182. 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)
  5183. 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)
  5184. end
  5185. hum.WalkSpeed = storehumanoidWS
  5186. attack = false
  5187. end
  5188.  
  5189. function attackone()
  5190. attack = true
  5191. local keptcolor = MAINRUINCOLOR
  5192. for i = 0,1,0.1 do
  5193. swait()
  5194. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  5195. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  5196. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  5197. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5198. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
  5199. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0)),.3)
  5200. end
  5201. local distlook = 5
  5202. coroutine.resume(coroutine.create(function()
  5203. for i = 0, 4 do
  5204. swait(2)
  5205. CameraEnshaking(2,3)
  5206. local hite = Instance.new("Part", char)
  5207. hite.Anchored = true
  5208. hite.CanCollide = false
  5209. hite.FormFactor = 3
  5210. hite.Name = "Ring"
  5211. hite.Material = "Neon"
  5212. hite.Size = Vector3.new(1, 1, 1)
  5213. hite.Transparency = 1
  5214. hite.TopSurface = 0
  5215. hite.BottomSurface = 0
  5216. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  5217. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0,1,0),0.2,0.001,0.2,keptcolor)
  5218. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(8,1,8),-0.045,0.15,-0.045,keptcolor)
  5219. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(4,1,4),-0.025,0.25,-0.025,keptcolor)
  5220. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(2,1,2),-0.015,0.35,-0.015,keptcolor)
  5221. MagniDamage(hite, 9, 10,25, 0, "Normal")
  5222. for i = 0, 14 do
  5223. local rsiz = math.random(5,20)
  5224. sphereMK(math.random(1,3),0.25,"Add",hite.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  5225. end
  5226. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  5227. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  5228. game:GetService("Debris"):AddItem(hite, 5)
  5229. distlook = distlook + 10
  5230. end
  5231. end))
  5232. for i = 0,1,0.1 do
  5233. swait()
  5234. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  5235. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  5236. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  5237. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  5238. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-10)),.5)
  5239. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.5)
  5240. end
  5241. attack = false
  5242. end
  5243.  
  5244. function attacktwo()
  5245. attack = true
  5246. hum.WalkSpeed = 2
  5247. local keptcolor = MAINRUINCOLOR
  5248. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5249. sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  5250. sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.2,0.2,0.2,keptcolor,keptcolor.Color)
  5251. for i = 0, 14 do
  5252. end
  5253. for i = 0,1,0.1 do
  5254. swait()
  5255. 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)
  5256. 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)
  5257. 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)
  5258. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  5259. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  5260. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  5261. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5262. end
  5263. for i = 0, 1 do
  5264. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  5265. for i = 0,1,0.6 do
  5266. swait()
  5267. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  5268. 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)
  5269. 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)
  5270. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5271. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5272. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5273. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5274. end
  5275. for i = 0,1,0.6 do
  5276. swait()
  5277. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  5278. 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)
  5279. 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)
  5280. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  5281. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5282. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5283. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5284. end
  5285. for i = 0,1,0.6 do
  5286. swait()
  5287. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  5288. 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)
  5289. 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)
  5290. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  5291. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5292. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5293. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5294. end
  5295. for i = 0,1,0.6 do
  5296. swait()
  5297. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  5298. 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)
  5299. 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)
  5300. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  5301. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5302. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5303. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5304. end
  5305. local rot = 0
  5306. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  5307. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  5308. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  5309. CreateMesh(dis,"Sphere",10,1,10)
  5310. local at1 = Instance.new("Attachment",dis)
  5311. at1.Position = vt(-5,0,0)
  5312. local at2 = Instance.new("Attachment",dis)
  5313. at2.Position = vt(5,0,0)
  5314. local trl = Instance.new('Trail',wed)
  5315. trl.Attachment0 = at1
  5316. trl.Attachment1 = at2
  5317. trl.Texture = "rbxassetid://1049219073"
  5318. trl.LightEmission = 1
  5319. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5320. trl.Color = ColorSequence.new(dis.Color)
  5321. trl.Lifetime = 0.6
  5322. local a = Instance.new("Part",workspace)
  5323. a.Name = "Direction"
  5324. a.Anchored = true
  5325. a.BrickColor = bc("Bright red")
  5326. a.Material = "Neon"
  5327. a.Transparency = 1
  5328. a.CanCollide = false
  5329. local ray = Ray.new(
  5330. dis.CFrame.p, -- origin
  5331. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5332. )
  5333. local ignore = dis
  5334. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5335. a.BottomSurface = 10
  5336. a.TopSurface = 10
  5337. local distance = (dis.CFrame.p - position).magnitude
  5338. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5339. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5340. dis.CFrame = a.CFrame
  5341. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5342. a:Destroy()
  5343. local bv = Instance.new("BodyVelocity")
  5344. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5345. bv.velocity = dis.CFrame.lookVector*250
  5346. bv.Parent = dis
  5347. game:GetService("Debris"):AddItem(dis, 5)
  5348. local hitted = false
  5349. coroutine.resume(coroutine.create(function()
  5350. dis.Touched:connect(function(hit)
  5351. if hitted == false and hit.Parent ~= char then
  5352. hitted = true
  5353. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  5354. MagniDamage(dis, 30, 33,56, 0, "Normal")
  5355. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  5356. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5357. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5358. coroutine.resume(coroutine.create(function()
  5359. for i = 0, 9 do
  5360. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  5361. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5362. local at1 = Instance.new("Attachment",disr)
  5363. at1.Position = vt(-5,0,0)
  5364. local at2 = Instance.new("Attachment",disr)
  5365. at2.Position = vt(5,0,0)
  5366. local trl = Instance.new('Trail',disr)
  5367. trl.Attachment0 = at1
  5368. trl.FaceCamera = true
  5369. trl.Attachment1 = at2
  5370. trl.Texture = "rbxassetid://2342682798"
  5371. trl.LightEmission = 1
  5372. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5373. trl.Color = ColorSequence.new(keptcolor.Color)
  5374. trl.Lifetime = 0.5
  5375. local bv = Instance.new("BodyVelocity")
  5376. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5377. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  5378. bv.Parent = disr
  5379. local val = 0
  5380. coroutine.resume(coroutine.create(function()
  5381. swait(30)
  5382. for i = 0, 9 do
  5383. swait()
  5384. val = val + 0.1
  5385. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5386. end
  5387. game:GetService("Debris"):AddItem(disr, 3)
  5388. end))
  5389. end
  5390. local eff = Instance.new("ParticleEmitter",dis)
  5391. eff.Texture = "rbxassetid://2273224484"
  5392. eff.LightEmission = 1
  5393. eff.Color = ColorSequence.new(keptcolor.Color)
  5394. eff.Rate = 50
  5395. eff.Lifetime = NumberRange.new(0.5,2)
  5396. 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)})
  5397. 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)})
  5398. eff.Speed = NumberRange.new(20,250)
  5399. eff.Drag = 5
  5400. eff.Rotation = NumberRange.new(-500,500)
  5401. eff.VelocitySpread = 9000
  5402. eff.RotSpeed = NumberRange.new(-50,50)
  5403. wait(0.25)
  5404. eff.Enabled = false
  5405. end))
  5406. for i = 0, 9 do
  5407. end
  5408. for i = 0, 19 do
  5409. end
  5410. coroutine.resume(coroutine.create(function()
  5411. for i = 0, 19 do
  5412. swait()
  5413. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  5414. end
  5415. hum.CameraOffset = vt(0,0,0)
  5416. end))
  5417. dis.Anchored = true
  5418. dis.Transparency = 1
  5419. wait(8)
  5420. dis:Destroy()
  5421. end
  5422. end)
  5423. end))
  5424. rot = rot - 15
  5425. end
  5426. for i = 0,2,0.1 do
  5427. swait()
  5428. 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)
  5429. 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)
  5430. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5431. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  5432. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5433. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5434. end
  5435. attack = false
  5436. hum.WalkSpeed = storehumanoidWS
  5437. end
  5438.  
  5439. function attackthree()
  5440. attack = true
  5441. local keptcolor = MAINRUINCOLOR
  5442. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  5443. for i = 0,2,0.1 do
  5444. swait()
  5445. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5446. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3)
  5447. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  5448. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3)
  5449. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3)
  5450. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-50),math.rad(-10)),.3)
  5451. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(40)),.3)
  5452. end
  5453. CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
  5454. CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
  5455. CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
  5456. CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
  5457. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  5458. sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR)
  5459. for i = 0, 24 do
  5460. end
  5461. for i = 0,4,0.1 do
  5462. swait()
  5463. root.CFrame = root.CFrame + root.CFrame.lookVector*5
  5464. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  5465. CreateMesh(dis,"Sphere",1,1,1)
  5466. dis.Anchored = true
  5467. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  5468. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  5469. coroutine.resume(coroutine.create(function()
  5470. swait(30)
  5471. dis.Transparency = 1
  5472. coroutine.resume(coroutine.create(function()
  5473. for i = 0, 19 do
  5474. swait()
  5475. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  5476. end
  5477. hum.CameraOffset = vt(0,0,0)
  5478. end))
  5479. coroutine.resume(coroutine.create(function()
  5480. local eff = Instance.new("ParticleEmitter",dis)
  5481. eff.Texture = "rbxassetid://2273224484"
  5482. eff.LightEmission = 1
  5483. eff.Color = ColorSequence.new(dis.Color)
  5484. eff.Rate = 500000
  5485. eff.Lifetime = NumberRange.new(0.5,2)
  5486. 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)})
  5487. 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)})
  5488. eff.Speed = NumberRange.new(50,450)
  5489. eff.Drag = 5
  5490. eff.Rotation = NumberRange.new(-500,500)
  5491. eff.VelocitySpread = 9000
  5492. eff.RotSpeed = NumberRange.new(-50,50)
  5493. wait(0.125)
  5494. eff.Enabled = false
  5495. end))
  5496. MagniDamage(dis, 30, 45,50, 0, "Normal")
  5497. for i = 0, 2 do
  5498. --slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,150)/250,dis.BrickColor)
  5499. end
  5500. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
  5501. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
  5502. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
  5503. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color)
  5504. end))
  5505. game:GetService("Debris"):AddItem(dis, 5)
  5506. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5)
  5507. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5)
  5508. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5)
  5509. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5)
  5510. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-8),math.rad(0),math.rad(-20)),.5)
  5511. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(9),math.rad(0),math.rad(20)),.5)
  5512. end
  5513. attack = false
  5514. end
  5515. ------------------------------------- Abilities ---------------------------------------------------------
  5516. function Crossfire()
  5517. attack = true
  5518. hum.WalkSpeed = 0
  5519. local vel = Instance.new("BodyPosition", root)
  5520. vel.P = 30000
  5521. vel.D = 1000
  5522. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  5523. vel.position = root.CFrame.p + vt(0,150,0)
  5524. CFuncs["Sound"].Create("rbxassetid://1295446488", root, 7.5, 1)
  5525. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5526. local keptcolor = MAINRUINCOLOR
  5527. sphere2(2,"Add",root.CFrame,vt(25,1,25),-0.05,3,-0.05,keptcolor)
  5528. sphere2(2,"Add",root.CFrame,vt(50,1,50),-0.1,6,-0.1,keptcolor)
  5529. for i = 0, 24 do
  5530. slash(math.random(30,60)/10,3,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.05,0.01,0.05),math.random(25,250)/250,BrickColor.new("White"))
  5531. end
  5532. for i = 0,3,0.1 do
  5533. swait()
  5534. 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.5,1.5,1.5),-0.01,0.15,-0.01,keptcolor)
  5535. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  5536. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  5537. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.5)
  5538. LW.C0 = clerp(LW.C0, CFrame.new(-1.05, 0.5, -0.65) * angles(math.rad(-20), math.rad(0), math.rad(140)), 0.5)
  5539. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.5)
  5540. 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(10)),.5)
  5541. end
  5542. local rotz = 25
  5543. coroutine.resume(coroutine.create(function()
  5544. for i = 0, 4 do
  5545. local orb = Instance.new("Part", char)
  5546. orb.BrickColor = keptcolor
  5547. orb.CanCollide = false
  5548. orb.FormFactor = 3
  5549. orb.Name = "Ring"
  5550. orb.Material = "Neon"
  5551. orb.Size = Vector3.new(1, 1, 1)
  5552. orb.Transparency = 0
  5553. orb.TopSurface = 0
  5554. orb.BottomSurface = 0
  5555. local orbm = Instance.new("SpecialMesh", orb)
  5556. orbm.MeshType = "Sphere"
  5557. orbm.Name = "SizeMesh"
  5558. orbm.Scale = vt(4,4,4)
  5559. orb.CFrame = root.CFrame + root.CFrame.lookVector*3
  5560. local eff = Instance.new("ParticleEmitter",orb)
  5561. eff.Texture = "rbxassetid://296874871"
  5562. eff.LightEmission = 0.95
  5563. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  5564. eff.Rate = 500
  5565. eff.Lifetime = NumberRange.new(1.5)
  5566. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,7,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5567. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  5568. eff.Speed = NumberRange.new(25)
  5569. eff.Drag = 5
  5570. eff.Rotation = NumberRange.new(-500,500)
  5571. eff.VelocitySpread = 9000
  5572. eff.RotSpeed = NumberRange.new(-500,500)
  5573. local a = Instance.new("Part",workspace)
  5574. a.Name = "Direction"
  5575. a.Anchored = true
  5576. a.BrickColor = bc("Bright red")
  5577. a.Material = "Neon"
  5578. a.Transparency = 1
  5579. a.CanCollide = false
  5580. local ray = Ray.new(
  5581. orb.CFrame.p, -- origin
  5582. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  5583. )
  5584. local ignore = orb
  5585. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5586. a.BottomSurface = 10
  5587. a.TopSurface = 10
  5588. local distance = (orb.CFrame.p - position).magnitude
  5589. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5590. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  5591. orb.CFrame = a.CFrame
  5592. a:Destroy()
  5593. orb.CFrame = orb.CFrame*CFrame.Angles(0,math.rad(rotz),0)
  5594. rotz = rotz - 12.5
  5595. CFuncs["Sound"].Create("rbxassetid://335657174", orb, 3, 0.75)
  5596. CFuncs["Sound"].Create("rbxassetid://304448425", orb, 3.5, 0.9)
  5597. local bv = Instance.new("BodyVelocity")
  5598. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5599. bv.velocity = orb.CFrame.lookVector*225
  5600. bv.Parent = orb
  5601. game:GetService("Debris"):AddItem(orb, 10)
  5602. local hitted = false
  5603. local hit =orb.Touched:connect(function(hit)
  5604. if hitted == false and hit.Parent ~= char then
  5605. hitted = true
  5606. eff.Enabled = false
  5607. CameraEnshaking(4,4)
  5608. for i = 0, 9 do
  5609. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  5610. disr.CFrame = orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5611. local at1 = Instance.new("Attachment",disr)
  5612. at1.Position = vt(-15,0,0)
  5613. local at2 = Instance.new("Attachment",disr)
  5614. at2.Position = vt(15,0,0)
  5615. local trl = Instance.new('Trail',disr)
  5616. trl.Attachment0 = at1
  5617. trl.FaceCamera = true
  5618. trl.Attachment1 = at2
  5619. trl.Texture = "rbxassetid://2325530138"
  5620. trl.LightEmission = 1
  5621. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5622. trl.Color = ColorSequence.new(keptcolor.Color)
  5623. trl.Lifetime = 0.5
  5624. local bv = Instance.new("BodyVelocity")
  5625. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5626. bv.velocity = disr.CFrame.lookVector*math.random(75,250)
  5627. bv.Parent = disr
  5628. local val = 0
  5629. coroutine.resume(coroutine.create(function()
  5630. swait(30)
  5631. for i = 0, 19 do
  5632. swait()
  5633. val = val + 0.05
  5634. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5635. end
  5636. game:GetService("Debris"):AddItem(disr, 3)
  5637. end))
  5638. end
  5639. CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 6, 0.7)
  5640. CFuncs["Sound"].Create("rbxassetid://1368637781", orb, 8,1)
  5641. CFuncs["Sound"].Create("rbxassetid://1368637781", orb, 8,1)
  5642. CFuncs["Sound"].Create("rbxassetid://763718160", orb, 7, 1.1)
  5643. CFuncs["Sound"].Create("rbxassetid://782353443", orb, 7, 1)
  5644. CFuncs["Sound"].Create("rbxassetid://178452221", orb, 6, 0.4)
  5645. MagniDamage(orb, 25, 80,140, 0, "Normal")
  5646. sphere2(4,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  5647. sphere2(3,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  5648. sphere2(2,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  5649. for i = 0, 9 do
  5650. 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(1.5,1,1.5),-0.005,4,-0.005,keptcolor)
  5651. end
  5652. for i = 0, 19 do
  5653. slash(math.random(10,50)/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.01,0.01),math.random(50,250)/250,BrickColor.new("White"))
  5654. end
  5655. for i = 0, 19 do
  5656. local rsiz = math.random(10,30)
  5657. sphereMK(math.random(2,6),1,"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)
  5658. end
  5659. local eff = Instance.new("ParticleEmitter",orb)
  5660. eff.Texture = "rbxassetid://296874871"
  5661. eff.LightEmission = 0.95
  5662. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  5663. eff.Rate = 10000
  5664. eff.Lifetime = NumberRange.new(1.5)
  5665. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  5666. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  5667. eff.Speed = NumberRange.new(150)
  5668. eff.Drag = 5
  5669. eff.Rotation = NumberRange.new(-500,500)
  5670. eff.VelocitySpread = 9000
  5671. eff.RotSpeed = NumberRange.new(-500,500)
  5672. coroutine.resume(coroutine.create(function()
  5673. wait(0.25)
  5674. eff.Enabled = false
  5675. end))
  5676. orb.Anchored = true
  5677. orb.Transparency = 1
  5678. wait(10)
  5679. orb:Destroy()
  5680. end
  5681. end)
  5682. end
  5683. end))
  5684. for i = 0,1,0.1 do
  5685. swait()
  5686. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(60)),0.3)
  5687. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.3)
  5688. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
  5689. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-20)), 0.3)
  5690. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.5)
  5691. 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(10)),.5)
  5692. end
  5693. for i = 0,1,0.1 do
  5694. swait()
  5695. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.3)
  5696. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-70)),.3)
  5697. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
  5698. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-10)), 0.3)
  5699. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.5)
  5700. 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(10)),.5)
  5701. end
  5702. coroutine.resume(coroutine.create(function()
  5703. for i = 0, 4 do
  5704. local orb = Instance.new("Part", char)
  5705. orb.BrickColor = keptcolor
  5706. orb.CanCollide = false
  5707. orb.FormFactor = 3
  5708. orb.Name = "Ring"
  5709. orb.Material = "Neon"
  5710. orb.Size = Vector3.new(1, 1, 1)
  5711. orb.Transparency = 0
  5712. orb.TopSurface = 0
  5713. orb.BottomSurface = 0
  5714. local orbm = Instance.new("SpecialMesh", orb)
  5715. orbm.MeshType = "Sphere"
  5716. orbm.Name = "SizeMesh"
  5717. orbm.Scale = vt(4,4,4)
  5718. orb.CFrame = root.CFrame + root.CFrame.lookVector*3
  5719. local eff = Instance.new("ParticleEmitter",orb)
  5720. eff.Texture = "rbxassetid://296874871"
  5721. eff.LightEmission = 0.95
  5722. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  5723. eff.Rate = 500
  5724. eff.Lifetime = NumberRange.new(1.5)
  5725. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,7,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5726. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  5727. eff.Speed = NumberRange.new(25)
  5728. eff.Drag = 5
  5729. eff.Rotation = NumberRange.new(-500,500)
  5730. eff.VelocitySpread = 9000
  5731. eff.RotSpeed = NumberRange.new(-500,500)
  5732. local a = Instance.new("Part",workspace)
  5733. a.Name = "Direction"
  5734. a.Anchored = true
  5735. a.BrickColor = bc("Bright red")
  5736. a.Material = "Neon"
  5737. a.Transparency = 1
  5738. a.CanCollide = false
  5739. local ray = Ray.new(
  5740. orb.CFrame.p, -- origin
  5741. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  5742. )
  5743. local ignore = orb
  5744. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5745. a.BottomSurface = 10
  5746. a.TopSurface = 10
  5747. local distance = (orb.CFrame.p - position).magnitude
  5748. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5749. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  5750. orb.CFrame = a.CFrame
  5751. a:Destroy()
  5752. rotz = rotz + 12.5
  5753. orb.CFrame = orb.CFrame*CFrame.Angles(math.rad(rotz),0,0)
  5754. CFuncs["Sound"].Create("rbxassetid://335657174", orb, 3, 0.75)
  5755. CFuncs["Sound"].Create("rbxassetid://304448425", orb, 3.5, 0.9)
  5756. local bv = Instance.new("BodyVelocity")
  5757. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5758. bv.velocity = orb.CFrame.lookVector*225
  5759. bv.Parent = orb
  5760. game:GetService("Debris"):AddItem(orb, 10)
  5761. local hitted = false
  5762. local hit =orb.Touched:connect(function(hit)
  5763. if hitted == false and hit.Parent ~= char then
  5764. hitted = true
  5765. eff.Enabled = false
  5766. CameraEnshaking(4,4)
  5767. for i = 0, 9 do
  5768. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  5769. disr.CFrame = orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5770. local at1 = Instance.new("Attachment",disr)
  5771. at1.Position = vt(-15,0,0)
  5772. local at2 = Instance.new("Attachment",disr)
  5773. at2.Position = vt(15,0,0)
  5774. local trl = Instance.new('Trail',disr)
  5775. trl.Attachment0 = at1
  5776. trl.FaceCamera = true
  5777. trl.Attachment1 = at2
  5778. trl.Texture = "rbxassetid://2325530138"
  5779. trl.LightEmission = 1
  5780. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5781. trl.Color = ColorSequence.new(keptcolor.Color)
  5782. trl.Lifetime = 0.5
  5783. local bv = Instance.new("BodyVelocity")
  5784. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5785. bv.velocity = disr.CFrame.lookVector*math.random(75,250)
  5786. bv.Parent = disr
  5787. local val = 0
  5788. coroutine.resume(coroutine.create(function()
  5789. swait(30)
  5790. for i = 0, 19 do
  5791. swait()
  5792. val = val + 0.05
  5793. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5794. end
  5795. game:GetService("Debris"):AddItem(disr, 3)
  5796. end))
  5797. end
  5798. CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 6, 0.7)
  5799. CFuncs["Sound"].Create("rbxassetid://1368637781", orb, 8,1)
  5800. CFuncs["Sound"].Create("rbxassetid://1368637781", orb, 8,1)
  5801. CFuncs["Sound"].Create("rbxassetid://763718160", orb, 7, 1.1)
  5802. CFuncs["Sound"].Create("rbxassetid://782353443", orb, 7, 1)
  5803. CFuncs["Sound"].Create("rbxassetid://178452221", orb, 6, 0.4)
  5804. MagniDamage(orb, 25, 80,140, 0, "Normal")
  5805. sphere2(4,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  5806. sphere2(3,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  5807. sphere2(2,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  5808. for i = 0, 9 do
  5809. 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(1.5,1,1.5),-0.005,4,-0.005,keptcolor)
  5810. end
  5811. for i = 0, 19 do
  5812. slash(math.random(10,50)/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.01,0.01),math.random(50,250)/250,BrickColor.new("White"))
  5813. end
  5814. for i = 0, 24 do
  5815. local rsiz = math.random(10,30)
  5816. sphereMK(math.random(1,3),1,"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)
  5817. end
  5818. local eff = Instance.new("ParticleEmitter",orb)
  5819. eff.Texture = "rbxassetid://296874871"
  5820. eff.LightEmission = 0.95
  5821. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  5822. eff.Rate = 10000
  5823. eff.Lifetime = NumberRange.new(1.5)
  5824. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  5825. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  5826. eff.Speed = NumberRange.new(150)
  5827. eff.Drag = 5
  5828. eff.Rotation = NumberRange.new(-500,500)
  5829. eff.VelocitySpread = 9000
  5830. eff.RotSpeed = NumberRange.new(-500,500)
  5831. coroutine.resume(coroutine.create(function()
  5832. wait(0.25)
  5833. eff.Enabled = false
  5834. end))
  5835. orb.Anchored = true
  5836. orb.Transparency = 1
  5837. wait(10)
  5838. orb:Destroy()
  5839. end
  5840. end)
  5841. end
  5842. end))
  5843. for i = 0,2,0.1 do
  5844. swait()
  5845. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-80)),0.3)
  5846. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.3)
  5847. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
  5848. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-30)), 0.3)
  5849. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.5)
  5850. 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(10)),.5)
  5851. end
  5852. vel:Destroy()
  5853. hum.WalkSpeed = storehumanoidWS
  5854. attack = false
  5855. end
  5856.  
  5857. function BeamOfDeath()
  5858. attack = true
  5859. hum.WalkSpeed = 0
  5860. CFuncs["Sound"].Create("rbxassetid://1368598393", rarm, 8, 1)
  5861. for i = 0, 5, 0.1 do
  5862. swait()
  5863. block(8,"Add",rarm.CFrame*CFrame.new(0,-2,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.01,0.01,BrickColor.new("Really red"),Color3.new(1,0,0))
  5864. 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)
  5865. 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)),.1)
  5866. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(60)),.1)
  5867. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(-5),math.rad(-60)),.1)
  5868. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(1),math.rad(60)),.1)
  5869. LW.C0=clerp(LW.C0,cf(-0.95,0.65,-0.65)*angles(math.rad(90),math.rad(25),math.rad(73)),.1)
  5870. end
  5871. CFuncs["Sound"].Create("rbxassetid://335657174", rarm, 8, 1)
  5872. for i = 0, 14 do
  5873. slash(math.random(10,40)/10,5,true,"Round","Add","Out",rarm.CFrame*CFrame.new(0,-2,0)*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(25,150)/250,BrickColor.new("Really red"))
  5874. end
  5875. block(3,"Add",rarm.CFrame*CFrame.new(0,-2,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.05,0.05,0.05,BrickColor.new("Really red"),Color3.new(1,0,0))
  5876. block(3,"Add",rarm.CFrame*CFrame.new(0,-2,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.1,0.15,0.1,BrickColor.new("Really red"),Color3.new(1,0,0))
  5877. local keptcolor = MAINRUINCOLOR
  5878. local orb = Instance.new("Part", char)
  5879. orb.BrickColor = keptcolor
  5880. orb.CanCollide = false
  5881. orb.FormFactor = 3
  5882. orb.Name = "Ring"
  5883. orb.Material = "Neon"
  5884. orb.Size = Vector3.new(1, 1, 1)
  5885. orb.Transparency = 1
  5886. orb.TopSurface = 0
  5887. orb.BottomSurface = 0
  5888. local orbm = Instance.new("SpecialMesh", orb)
  5889. orbm.MeshType = "Sphere"
  5890. orbm.Name = "SizeMesh"
  5891. orbm.Scale = vt(22.5,10000,22.5)
  5892. orb.CFrame = mouse.Hit
  5893. orb.Anchored = true
  5894. orb.Orientation = vt(0,0,0)
  5895. orb.CFrame = orb.CFrame*CFrame.new(0,1,0)
  5896. CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 2.5, 1)
  5897. local bgui,imgc = createBGCircle(300,orb,MAINRUINCOLOR.Color)
  5898. bgui.AlwaysOnTop = true
  5899. imgc.ImageTransparency = 1
  5900. imgc.Image = "rbxassetid://2325939897"
  5901. local over = false
  5902. coroutine.resume(coroutine.create(function()
  5903. while true do
  5904. swait()
  5905. imgc.Rotation = imgc.Rotation + 5
  5906. if over == true then
  5907. break
  5908. end
  5909. end
  5910. end))
  5911. coroutine.resume(coroutine.create(function()
  5912. coroutine.resume(coroutine.create(function()
  5913. for i = 0, 399 do
  5914. swait()
  5915. bgui.Size = bgui.Size - UDim2.new(0.5,0,0.5,0)
  5916. imgc.ImageTransparency = imgc.ImageTransparency - 0.0025
  5917. orbm.Scale = orbm.Scale - vt(0.05,0,0.05)
  5918. --orb.Transparency = orb.Transparency - 0.0025
  5919. end
  5920. end))
  5921. wait(9)
  5922. CameraEnshaking(15,5)
  5923. for i = 0, 99 do
  5924. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5925. dis.CFrame = orb.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)))
  5926. local at1 = Instance.new("Attachment",dis)
  5927. at1.Position = vt(-25000,0,0)
  5928. local at2 = Instance.new("Attachment",dis)
  5929. at2.Position = vt(25000,0,0)
  5930. local trl = Instance.new('Trail',dis)
  5931. trl.Attachment0 = at1
  5932. trl.FaceCamera = true
  5933. trl.Attachment1 = at2
  5934. trl.Texture = "rbxassetid://1049219073"
  5935. trl.LightEmission = 1
  5936. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5937. trl.Color = ColorSequence.new(keptcolor.Color)
  5938. trl.Lifetime = 5
  5939. local bv = Instance.new("BodyVelocity")
  5940. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5941. bv.velocity = dis.CFrame.lookVector*math.random(1500,7500)
  5942. bv.Parent = dis
  5943. game:GetService("Debris"):AddItem(dis, 15)
  5944. end
  5945. CFuncs["Sound"].Create("rbxassetid://763718160", char, 6, 1.1)
  5946. CFuncs["Sound"].Create("rbxassetid://782353443", char, 6, 1)
  5947. CFuncs["LongSound"].Create("rbxassetid://763717897", char, 5, 0.5)
  5948. CFuncs["LongSound"].Create("rbxassetid://763717897", char, 4, 0.75)
  5949. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 6, 1)
  5950. coroutine.resume(coroutine.create(function()
  5951. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  5952. if hfr ~= nil then
  5953. for i = 0, 49 do
  5954. local deb = Instance.new("Part", char)
  5955. deb.Anchored = true
  5956. deb.CanCollide = false
  5957. deb.FormFactor = 3
  5958. deb.Name = "Ring"
  5959. deb.Material = hitfloor.Material
  5960. deb.Color = hitfloor.Color
  5961. deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55))
  5962. deb.Transparency = 0
  5963. deb.TopSurface = 0
  5964. deb.BottomSurface = 0
  5965. deb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),-5,math.random(-150,150))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5966. local deb2 = Instance.new("Part", char)
  5967. deb2.CanCollide = false
  5968. deb2.FormFactor = 3
  5969. deb2.Name = "Ring"
  5970. deb2.Material = hitfloor.Material
  5971. deb2.Color = hitfloor.Color
  5972. deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38))
  5973. deb2.Transparency = 0
  5974. deb2.TopSurface = 0
  5975. deb2.BottomSurface = 0
  5976. deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150))
  5977. deb2.CFrame = orb.CFrame*CFrame.new(math.random(-60,60),-5,math.random(-60,60))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5978. local eff = Instance.new("ParticleEmitter",deb)
  5979. eff.Texture = "rbxassetid://363275192"
  5980. eff.LightEmission = 0.95
  5981. eff.Color = ColorSequence.new(keptcolor.Color)
  5982. eff.Rate = 100
  5983. eff.Lifetime = NumberRange.new(1)
  5984. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
  5985. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  5986. eff.Speed = NumberRange.new(0,5)
  5987. eff.Rotation = NumberRange.new(-500,500)
  5988. eff.VelocitySpread = 9000
  5989. eff.RotSpeed = NumberRange.new(-10,10)
  5990. local at1 = Instance.new('Attachment',deb2)
  5991. at1.Position = vt(0,15,0)
  5992. local at2 = Instance.new('Attachment',deb2)
  5993. at2.Position = vt(0,-15,0)
  5994. local tl = Instance.new('Trail',deb2)
  5995. tl.Attachment0 = at1
  5996. tl.Attachment1 = at2
  5997. tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5998. tl.Color = ColorSequence.new(BrickColor.new('White').Color)
  5999. tl.Lifetime = 1
  6000. game:GetService("Debris"):AddItem(deb,30)
  6001. game:GetService("Debris"):AddItem(deb2,30)
  6002. coroutine.resume(coroutine.create(function()
  6003. wait(15)
  6004. eff.Enabled = false
  6005. for i = 0, 49 do
  6006. swait()
  6007. deb.Transparency = deb.Transparency + 0.02
  6008. end
  6009. wait(1)
  6010. deb:Destroy()
  6011. end))
  6012. end
  6013. end
  6014. end))
  6015. for i = 0, 49, 0.1 do
  6016. swait(1.5)
  6017. bgui.Size = bgui.Size + UDim2.new(45,0,45,0)
  6018. imgc.ImageTransparency = imgc.ImageTransparency + 0.01
  6019. for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do
  6020. if v:FindFirstChild('Head') then
  6021. dmg(v)
  6022. end
  6023. end
  6024. for i = 0, 2 do
  6025. slash(math.random(40,80)/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.01,0.01),math.random(500,2500)/250,BrickColor.new("White"))
  6026. end
  6027. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),5,5,5,keptcolor)
  6028. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),1,35,1,keptcolor)
  6029. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),0,50,0,keptcolor)
  6030. sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor)
  6031. end
  6032. over = true
  6033. orb:Destroy()
  6034. end))
  6035. hum.WalkSpeed = storehumanoidWS
  6036. attack = false
  6037. end
  6038.  
  6039.  
  6040.  
  6041. function Beams()
  6042. attack = true
  6043. hum.WalkSpeed = 0
  6044. local keptcolor = MAINRUINCOLOR
  6045. coroutine.resume(coroutine.create(function()
  6046. for i = 0, 24 do
  6047. swait(5)
  6048. local orb = Instance.new("Part", char)
  6049. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  6050. orb.BrickColor = keptcolor
  6051. orb.CanCollide = false
  6052. orb.FormFactor = 3
  6053. orb.Name = "Ring"
  6054. orb.Material = "Neon"
  6055. orb.Size = Vector3.new(1, 1, 1)
  6056. orb.Transparency = 0
  6057. orb.TopSurface = 0
  6058. orb.BottomSurface = 0
  6059. orb.Anchored = true
  6060. local orbm = Instance.new("SpecialMesh", orb)
  6061. orbm.MeshType = "Sphere"
  6062. orbm.Name = "SizeMesh"
  6063. orbm.Scale = vt(1.25,1.25,1.25)
  6064. orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6))
  6065. sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  6066. coroutine.resume(coroutine.create(function()
  6067. local eff = Instance.new("ParticleEmitter",orb)
  6068. eff.Texture = "rbxassetid://2273224484"
  6069. eff.LightEmission = 1
  6070. eff.Color = ColorSequence.new(keptcolor.Color)
  6071. eff.Rate = 1500
  6072. eff.Lifetime = NumberRange.new(0.5,1)
  6073. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.2,1,0),NumberSequenceKeypoint.new(1,0,0)})
  6074. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6075. eff.Speed = NumberRange.new(10,30)
  6076. eff.Drag = 5
  6077. eff.Rotation = NumberRange.new(-500,500)
  6078. eff.VelocitySpread = 9000
  6079. eff.RotSpeed = NumberRange.new(-500,500)
  6080. wait(0.25)
  6081. eff.Enabled = false
  6082. end))
  6083. coroutine.resume(coroutine.create(function()
  6084. wait(0.5)
  6085. CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
  6086. sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  6087. sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  6088. orb.Transparency = 1
  6089. local a = Instance.new("Part",char)
  6090. a.Name = "Direction"
  6091. a.Anchored = true
  6092. a.BrickColor = keptcolor
  6093. a.Material = "Neon"
  6094. a.Transparency = 0.25
  6095. a.Shape = "Cylinder"
  6096. local ht = Instance.new("Part",char)
  6097. ht.Name = "DirectionHit"
  6098. ht.Anchored = true
  6099. ht.BrickColor = keptcolor
  6100. ht.CanCollide = false
  6101. ht.Transparency = 1
  6102. ht.Size = vt(0.1,0.1,0.1)
  6103. CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.2)
  6104. a.CanCollide = false
  6105. local ray = Ray.new(
  6106. orb.CFrame.p, -- origin
  6107. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  6108. )
  6109. local ignore = char
  6110. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6111. a.BottomSurface = 10
  6112. a.TopSurface = 10
  6113. local distance = (orb.CFrame.p - position).magnitude
  6114. a.Size = Vector3.new(distance,1,1)
  6115. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  6116. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  6117. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  6118. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  6119. MagniDamage(ht, 9, 10,15, 0, "Normal")
  6120. CameraEnshaking(2,1)
  6121. coroutine.resume(coroutine.create(function()
  6122. for i = 0, 9 do
  6123. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6124. disr.CFrame = ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6125. local at1 = Instance.new("Attachment",disr)
  6126. at1.Position = vt(-2,0,0)
  6127. local at2 = Instance.new("Attachment",disr)
  6128. at2.Position = vt(2,0,0)
  6129. local trl = Instance.new('Trail',disr)
  6130. trl.Attachment0 = at1
  6131. trl.FaceCamera = true
  6132. trl.Attachment1 = at2
  6133. trl.Texture = "rbxassetid://2325530138"
  6134. trl.LightEmission = 1
  6135. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6136. trl.Color = ColorSequence.new(keptcolor.Color)
  6137. trl.Lifetime = 0.5
  6138. local bv = Instance.new("BodyVelocity")
  6139. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6140. bv.velocity = disr.CFrame.lookVector*math.random(25,100)
  6141. bv.Parent = disr
  6142. local val = 0
  6143. coroutine.resume(coroutine.create(function()
  6144. swait(30)
  6145. for i = 0, 9 do
  6146. swait()
  6147. val = val + 0.1
  6148. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6149. end
  6150. game:GetService("Debris"):AddItem(disr, 3)
  6151. end))
  6152. end
  6153. local eff = Instance.new("ParticleEmitter",ht)
  6154. eff.Texture = "rbxassetid://2273224484"
  6155. eff.LightEmission = 1
  6156. eff.Color = ColorSequence.new(keptcolor.Color)
  6157. eff.Rate = 5000
  6158. eff.Lifetime = NumberRange.new(0.5,1.5)
  6159. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6160. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  6161. eff.Speed = NumberRange.new(5,100)
  6162. eff.Drag = 5
  6163. eff.Rotation = NumberRange.new(-500,500)
  6164. eff.VelocitySpread = 9000
  6165. eff.RotSpeed = NumberRange.new(-50,50)
  6166. wait(0.25)
  6167. eff.Enabled = false
  6168. end))
  6169. for i = 0, 4 do
  6170. slash(math.random(10,60)/10,5,true,"Round","Add","Out",ht.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"))
  6171. 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)
  6172. 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)
  6173. local rsiz = math.random(10,30)
  6174. 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)
  6175. end
  6176. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  6177. local msh = Instance.new("SpecialMesh",a)
  6178. msh.MeshType = "Cylinder"
  6179. msh.Scale = vt(1,1,1)
  6180. for i = 0, 49 do
  6181. swait()
  6182. msh.Scale = msh.Scale + vt(0,0.01,0.01)
  6183. a.Transparency = a.Transparency + 0.02
  6184. end
  6185. wait(1)
  6186. orb:Destroy()
  6187. a:Destroy()
  6188. ht:Destroy()
  6189. end))
  6190. game:GetService("Debris"):AddItem(orb, 10)
  6191. end
  6192. end))
  6193. for i = 0,12,0.1 do
  6194. swait()
  6195. 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)
  6196. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
  6197. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
  6198. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3)
  6199. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3)
  6200. 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)),.3)
  6201. 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)),.3)
  6202. end
  6203. hum.WalkSpeed = storehumanoidWS
  6204. attack = false
  6205. end
  6206.  
  6207. function smiter()
  6208. local targetted = nil
  6209. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  6210. targetted = mouse.Target.Parent
  6211. end
  6212. if targetted ~= nil then
  6213. attack = true
  6214. hum.WalkSpeed = 0
  6215. coroutine.resume(coroutine.create(function()
  6216. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  6217. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  6218. local vel = Instance.new("BodyPosition", targetted.Head)
  6219. vel.P = 12500
  6220. vel.D = 1000
  6221. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  6222. vel.position = targetted.Head.CFrame.p
  6223. end))
  6224. CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
  6225. for i = 0,4,0.1 do
  6226. swait()
  6227. 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)
  6228. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  6229. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  6230. 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)
  6231. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  6232. 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(0),math.rad(0)),.2)
  6233. 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(20),math.rad(5)),.2)
  6234. end
  6235. coroutine.resume(coroutine.create(function()
  6236. CameraEnshaking(6,5)
  6237. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  6238. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
  6239. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
  6240. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
  6241. for i = 0, 19 do
  6242. slash(math.random(10,50)/10,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,250)/250,BrickColor.new("White"))
  6243. end
  6244. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  6245. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  6246. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  6247. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  6248. coroutine.resume(coroutine.create(function()
  6249. local eff = Instance.new("ParticleEmitter",targetted.Head)
  6250. eff.Texture = "rbxassetid://363275192"
  6251. eff.LightEmission = 0.95
  6252. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6253. eff.Rate = 10000
  6254. eff.Lifetime = NumberRange.new(1.5)
  6255. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  6256. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6257. eff.Speed = NumberRange.new(25,150)
  6258. eff.Drag = 5
  6259. eff.Rotation = NumberRange.new(-500,500)
  6260. eff.VelocitySpread = 9000
  6261. eff.RotSpeed = NumberRange.new(-50,50)
  6262. local eff2 = eff:Clone()
  6263. eff2.Parent = targetted.Head
  6264. eff2.LightEmission = 1
  6265. eff2.Color = ColorSequence.new(Color3.new(0.75,0.5,1))
  6266. eff2.Texture = "rbxassetid://2273224484"
  6267. eff2.Rate = 10000
  6268. eff2.Lifetime = NumberRange.new(1,3)
  6269. eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,10,0),NumberSequenceKeypoint.new(1,0,0)})
  6270. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6271. eff2.Drag = 5
  6272. eff2.Speed = NumberRange.new(50,250)
  6273. eff2.Rotation = NumberRange.new(-500,500)
  6274. eff2.VelocitySpread = 9000
  6275. wait(0.5)
  6276. eff2.Enabled = false
  6277. eff.Enabled = false
  6278. end))
  6279. for i = 0, 9 do
  6280. 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)
  6281. end
  6282. for i = 0, 49 do
  6283. local rsiz = math.random(10,50)
  6284. 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)
  6285. end
  6286. game:GetService("Debris"):AddItem(vel,1)
  6287. dmg(targetted)
  6288. end))
  6289. for i = 0,1,0.1 do
  6290. swait()
  6291. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  6292. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  6293. 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)),.5)
  6294. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-50)), 0.5)
  6295. 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(0),math.rad(0)),.5)
  6296. 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(20),math.rad(5)),.5)
  6297. end
  6298. attack = false
  6299. hum.WalkSpeed = storehumanoidWS
  6300. end
  6301. end
  6302.  
  6303. function supsmiter()
  6304. local targetted = nil
  6305. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  6306. targetted = mouse.Target.Parent
  6307. end
  6308. if targetted ~= nil then
  6309. attack = true
  6310. hum.WalkSpeed = 0
  6311. coroutine.resume(coroutine.create(function()
  6312. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 5, 0.5)
  6313. local vel = Instance.new("BodyPosition", targetted.Head)
  6314. vel.P = 12500
  6315. vel.D = 1000
  6316. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  6317. vel.position = targetted.Head.CFrame.p + vt(0,10,0)
  6318. for i,v in pairs(targetted:GetChildren()) do
  6319. if v:IsA("Part") or v:IsA("MeshPart") then
  6320. coroutine.resume(coroutine.create(function()
  6321. local bld = Instance.new("ParticleEmitter",v)
  6322. bld.LightEmission = 0.75
  6323. bld.Texture = "rbxassetid://363275192" ---284205403
  6324. bld.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6325. bld.Rate = 500
  6326. bld.Lifetime = NumberRange.new(1)
  6327. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  6328. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  6329. bld.Speed = NumberRange.new(2,5)
  6330. bld.VelocitySpread = 50000
  6331. bld.Rotation = NumberRange.new(-500,500)
  6332. bld.RotSpeed = NumberRange.new(-500,500)
  6333. end))
  6334. end
  6335. end
  6336. local A1 = Instance.new("Attachment",sorb2)
  6337. local A2 = Instance.new("Attachment",targetted.Head)
  6338. local Beem = Instance.new("Beam",targetted.Head)
  6339. Beem.Attachment0 = A1
  6340. Beem.Attachment1 = A2
  6341. Beem.LightEmission = 1
  6342. Beem.FaceCamera = true
  6343. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
  6344. Beem.Width0 = 1
  6345. Beem.Width1 = 1
  6346. Beem.Texture = "rbxassetid://1134824633"
  6347. Beem.TextureMode = "Wrap"
  6348. Beem.TextureLength = 2
  6349. Beem.TextureSpeed = 5
  6350. Beem.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6351. end))
  6352. local rd = math.random(1,5)
  6353. if rd == 1 then
  6354. chatfunc("Your fate goes here.",MAINRUINCOLOR.Color,"Inverted","Antique",1.5)
  6355. elseif rd == 2 then
  6356. chatfunc("You're nonexistant.",MAINRUINCOLOR.Color,"Inverted","Antique",1.5)
  6357. elseif rd == 3 then
  6358. chatfunc("Sigh... you really make me bored, dont ya?",MAINRUINCOLOR.Color,"Inverted","Antique",1.5)
  6359. elseif rd == 4 then
  6360. chatfunc("Nothing will exist into you after you're gone!",MAINRUINCOLOR.Color,"Inverted","Antique",1.5)
  6361. elseif rd == 5 then
  6362. chatfunc("You're a disgrace to this universe!",MAINRUINCOLOR.Color,"Inverted","Antique",1.5)
  6363. end
  6364. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb2, 2.5, 0.25)
  6365. for i = 0,14,0.1 do
  6366. swait()
  6367. rsiz = math.random(5,15)
  6368. sphereMK(math.random(3,9),0.25,"Add",sorb2.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,-15)
  6369. 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.5,1.5,1.5),-0.01,0.15,-0.01,MAINRUINCOLOR)
  6370. 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)
  6371. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  6372. 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)
  6373. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  6374. 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)
  6375. 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)
  6376. end
  6377. sphere2(3,"Add",sorb2.CFrame,vt(0,0,0),0.1,0.1,0.1,MAINRUINCOLOR)
  6378. sphere2(3,"Add",sorb2.CFrame,vt(0,0,0),0.2,0.2,0.2,MAINRUINCOLOR)
  6379. CFuncs["Sound"].Create("rbxassetid://1368637781", sorb2, 2.5, 1.1)
  6380. coroutine.resume(coroutine.create(function()
  6381. local ref = Instance.new("Part", char)
  6382. ref.Anchored = true
  6383. ref.CanCollide = false
  6384. ref.Transparency = 1
  6385. ref.CFrame = targetted.Head.CFrame
  6386. sphere2(1,"Add",targetted.Head.CFrame,vt(8,8,8),0.25,0.25,0.25,MAINRUINCOLOR)
  6387. sphere2(2,"Add",targetted.Head.CFrame,vt(8,8,8),0.5,0.5,0.5,MAINRUINCOLOR)
  6388. sphere2(3,"Add",targetted.Head.CFrame,vt(8,8,8),0.75,0.75,0.75,MAINRUINCOLOR)
  6389. for i = 0, 24 do
  6390. slash(math.random(10,25)/10,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.001,0.001,0.001),math.random(25,250)/250,BrickColor.new("White"))
  6391. end
  6392. targetted.Head.Parent:Destroy()
  6393. CFuncs["Sound"].Create("rbxassetid://1368637781", ref, 10, 1)
  6394. CFuncs["Sound"].Create("rbxassetid://763718160", ref, 10, 1.1)
  6395. CFuncs["Sound"].Create("rbxassetid://782353443", ref, 10, 1)
  6396. CFuncs["Sound"].Create("rbxassetid://335657174", ref, 10, 1)
  6397. wait(5)
  6398. ref:Destroy()
  6399. end))
  6400. attack = false
  6401. hum.WalkSpeed = storehumanoidWS
  6402. end
  6403. end
  6404.  
  6405. function BinaryBLINK()
  6406. for i = 0, 9 do
  6407. 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)
  6408. end
  6409. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  6410. coroutine.resume(coroutine.create(function()
  6411. local eff = Instance.new("ParticleEmitter",root)
  6412. eff.Texture = "rbxassetid://1175838406"
  6413. eff.LightEmission = 0.95
  6414. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6415. eff.Rate = 10000
  6416. eff.Lifetime = NumberRange.new(1)
  6417. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  6418. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6419. eff.Speed = NumberRange.new(30,160)
  6420. eff.Drag = 5
  6421. eff.Rotation = NumberRange.new(-500,500)
  6422. eff.VelocitySpread = 100000
  6423. wait(0.25)
  6424. eff.Enabled = false
  6425. wait(4)
  6426. eff:Destroy()
  6427. end))
  6428. CFuncs["Sound"].Create("rbxassetid://335657174", root, 5, 1)
  6429. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  6430. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  6431. CameraEnshaking(2,10)
  6432. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 10)) do
  6433. if v:FindFirstChild('Head') then
  6434. dmg(v)
  6435. end
  6436. end
  6437. for i = 0, 9 do
  6438. 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)
  6439. end
  6440. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  6441. end
  6442.  
  6443. function BinaryE()
  6444. local posit = -2
  6445. attack = true
  6446. hum.WalkSpeed = 5
  6447. CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
  6448. for i = 0,2,0.1 do
  6449. swait()
  6450. 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)
  6451. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
  6452. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
  6453. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  6454. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
  6455. 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)
  6456. 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)
  6457. end
  6458. for i = 0, 2 do
  6459. CameraEnshaking(1,2)
  6460. local hite = Instance.new("Part", char)
  6461. hite.Anchored = true
  6462. hite.CanCollide = false
  6463. hite.FormFactor = 3
  6464. hite.Name = "Ring"
  6465. hite.Material = "Neon"
  6466. hite.Size = Vector3.new(1, 1, 1)
  6467. hite.Transparency = 1
  6468. hite.TopSurface = 0
  6469. hite.BottomSurface = 0
  6470. hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
  6471. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
  6472. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
  6473. coroutine.resume(coroutine.create(function()
  6474. local eff = Instance.new("ParticleEmitter",hite)
  6475. eff.Texture = "rbxassetid://1175838406"
  6476. eff.LightEmission = 0.95
  6477. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6478. eff.Rate = 1000
  6479. eff.Lifetime = NumberRange.new(1)
  6480. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
  6481. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6482. eff.Speed = NumberRange.new(10,50)
  6483. eff.Drag = 5
  6484. eff.Rotation = NumberRange.new(-500,500)
  6485. eff.VelocitySpread = 100000
  6486. wait(0.25)
  6487. eff.Enabled = false
  6488. end))
  6489. coroutine.resume(coroutine.create(function()
  6490. for i = 0, 1 do
  6491. swait()
  6492. 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)
  6493. 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)
  6494. 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)
  6495. end
  6496. end))
  6497. 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)
  6498. MagniDamage(hite, 3, 30,40, 0, "Normal")
  6499. game:GetService("Debris"):AddItem(hite, 5)
  6500. posit = posit + 2
  6501. end
  6502. for i = 0,1,0.1 do
  6503. swait()
  6504. 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)
  6505. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  6506. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
  6507. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  6508. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
  6509. 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)
  6510. 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)
  6511. end
  6512. for i = 0,1,0.1 do
  6513. swait()
  6514. 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)
  6515. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,0)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
  6516. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
  6517. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
  6518. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
  6519. 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)
  6520. 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)
  6521. end
  6522. posit = -6
  6523. for i = 0, 6 do
  6524. CameraEnshaking(1,3)
  6525. local hite = Instance.new("Part", char)
  6526. hite.Anchored = true
  6527. hite.CanCollide = false
  6528. hite.FormFactor = 3
  6529. hite.Name = "Ring"
  6530. hite.Material = "Neon"
  6531. hite.Size = Vector3.new(1, 1, 1)
  6532. hite.Transparency = 1
  6533. hite.TopSurface = 0
  6534. hite.BottomSurface = 0
  6535. hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
  6536. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
  6537. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
  6538. 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)
  6539. coroutine.resume(coroutine.create(function()
  6540. local eff = Instance.new("ParticleEmitter",hite)
  6541. eff.Texture = "rbxassetid://1175838406"
  6542. eff.LightEmission = 0.95
  6543. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6544. eff.Rate = 1000
  6545. eff.Lifetime = NumberRange.new(1)
  6546. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
  6547. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6548. eff.Speed = NumberRange.new(20,70)
  6549. eff.Drag = 5
  6550. eff.Rotation = NumberRange.new(-500,500)
  6551. eff.VelocitySpread = 100000
  6552. wait(0.25)
  6553. eff.Enabled = false
  6554. end))
  6555. coroutine.resume(coroutine.create(function()
  6556. for i = 0, 2 do
  6557. swait()
  6558. 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)
  6559. 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)
  6560. 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)
  6561. end
  6562. end))
  6563. MagniDamage(hite, 5, 40,70, 0, "Normal")
  6564. game:GetService("Debris"):AddItem(hite, 5)
  6565. posit = posit + 2
  6566. end
  6567. for i = 0,1,0.1 do
  6568. swait()
  6569. 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)
  6570. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
  6571. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  6572. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
  6573. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
  6574. 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)
  6575. 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)
  6576. end
  6577. hum.WalkSpeed = storehumanoidWS
  6578. attack = false
  6579. end
  6580.  
  6581.  
  6582.  
  6583. function AZUREFINALE()
  6584. attack = true
  6585. duringend = true
  6586. hum.WalkSpeed = 0
  6587. CFuncs["Sound"].Create("rbxassetid://1117054464", char, 7.5, 0.75)
  6588. CFuncs["LongSound"].Create("rbxassetid://1042700914", char, 3.5, 0.05)
  6589. local hite = Instance.new("Part", char)
  6590. hite.Anchored = true
  6591. hite.CanCollide = false
  6592. hite.FormFactor = 3
  6593. hite.Name = "Ring"
  6594. hite.Material = "Neon"
  6595. hite.Size = Vector3.new(1, 1, 1)
  6596. hite.Transparency = 0
  6597. hite.TopSurface = 0
  6598. hite.BottomSurface = 0
  6599. hite.BrickColor = MAINRUINCOLOR
  6600. local orbm = Instance.new("SpecialMesh", hite)
  6601. orbm.MeshType = "Sphere"
  6602. orbm.Name = "SizeMesh"
  6603. orbm.Scale = vt(0,0,0)
  6604. hite.CFrame = root.CFrame*CFrame.new(0,200,0)
  6605. for i = 0,70,0.1 do
  6606. swait()
  6607. orbm.Scale = orbm.Scale + vt(0.5,0.5,0.5)
  6608. rsiz = math.random(10,45)
  6609. kan.Volume = kan.Volume + 0.01
  6610. kan.Pitch = kan.Pitch - 0.00135
  6611. 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)
  6612. 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)
  6613. 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)
  6614. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  6615. 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)
  6616. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  6617. 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)
  6618. 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)
  6619. end
  6620. kan.Pitch = 0.1
  6621. hite.Transparency = 1
  6622. for i = 0,2 do
  6623. CFuncs["LongSound"].Create("rbxassetid://324849898", char, 10,0.9)
  6624. end
  6625. CFuncs["LongSound"].Create("rbxassetid://1117054464", char, 5, 0.75)
  6626. 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)
  6627. 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)
  6628. 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)
  6629. coroutine.resume(coroutine.create(function()
  6630. local eff = Instance.new("ParticleEmitter",hite)
  6631. eff.Texture = "rbxassetid://284205403"
  6632. eff.LightEmission = 0.95
  6633. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6634. eff.Rate = 10000
  6635. eff.Lifetime = NumberRange.new(5)
  6636. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,100,0),NumberSequenceKeypoint.new(1,0,0)})
  6637. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6638. eff.Speed = NumberRange.new(600,1250)
  6639. eff.Drag = 5
  6640. eff.Rotation = NumberRange.new(-500,500)
  6641. eff.VelocitySpread = 9000
  6642. eff.RotSpeed = NumberRange.new(-500,500)
  6643. wait(1)
  6644. eff.Enabled = false
  6645. end))
  6646. for i = 0,5,0.1 do
  6647. swait()
  6648. 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)
  6649. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  6650. 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)
  6651. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  6652. 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)
  6653. 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)
  6654. end
  6655. local adsc = 0
  6656. local radiatezone = 0
  6657. for i = 0,20,0.1 do
  6658. swait()
  6659. adsc = adsc + 0.025
  6660. radiatezone = radiatezone + 1.25
  6661. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
  6662. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  6663. if v:FindFirstChild('Head') then
  6664. dmg(v)
  6665. end
  6666. end
  6667. 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)
  6668. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  6669. 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)
  6670. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  6671. 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)
  6672. 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)
  6673. end
  6674. for i = 0,2 do
  6675. CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.9)
  6676. end
  6677. for i = 0,40,0.1 do
  6678. swait()
  6679. adsc = adsc + 0.05
  6680. radiatezone = radiatezone + 2.5
  6681. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
  6682. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  6683. if v:FindFirstChild('Head') then
  6684. dmg(v)
  6685. end
  6686. end
  6687. 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)
  6688. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  6689. 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)
  6690. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  6691. 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)
  6692. 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)
  6693. end
  6694. for i = 0,4 do
  6695. CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.75)
  6696. CFuncs["LongSound"].Create("rbxassetid://923073285", char, 1.25,0.75)
  6697. end
  6698. for i = 0,80,0.1 do
  6699. swait()
  6700. adsc = adsc + 0.075
  6701. radiatezone = radiatezone + 3.75
  6702. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
  6703. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  6704. if v:FindFirstChild('Head') then
  6705. dmg(v)
  6706. end
  6707. end
  6708. 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)
  6709. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  6710. 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)
  6711. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  6712. 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)
  6713. 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)
  6714. end
  6715. hite:Destroy()
  6716. duringend = false
  6717. hum.WalkSpeed = storehumanoidWS
  6718. attack = false
  6719. end
  6720.  
  6721. function AzureVANISHMENT()
  6722. attack = true
  6723. hum.WalkSpeed = 0
  6724. local truescale = 0
  6725. local rd = math.random(1,3)
  6726. if rd == 1 then
  6727. chatfunc("This is your end!",MAINRUINCOLOR.Color,"Inverted","Antique",2.5)
  6728. elseif rd == 2 then
  6729. chatfunc("Pathetic.",MAINRUINCOLOR.Color,"Inverted","Antique",2.5)
  6730. elseif rd == 3 then
  6731. chatfunc("Time to end this.",MAINRUINCOLOR.Color,"Inverted","Antique",2.5)
  6732. end
  6733. CFuncs["LongSound"].Create("rbxassetid://1368583274", char, 10, 0.25)
  6734. for i = 0,49,0.1 do
  6735. swait()
  6736. truescale = truescale + 0.2
  6737. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6738. slash(5,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,75,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(3,0.01,3),-3,BrickColor.new("Royal purple"))
  6739. block(10,"Add",root.CFrame*CFrame.new(0,75,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(truescale,truescale,truescale),0.01,0.01,0.01,BrickColor.new("Magenta"),BrickColor.new("Magenta").Color)
  6740. 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(5),math.rad(-10)),.5)
  6741. 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(5)),.5)
  6742. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(40)),.5)
  6743. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.5)
  6744. RW.C0=clerp(RW.C0,cf(1.45,1,0.1)*angles(math.rad(180),math.rad(-30),math.rad(-5)),.5)
  6745. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-10)),.5)
  6746. end
  6747. hum.CameraOffset = vt(0,0,0)
  6748. CFuncs["Sound"].Create("rbxassetid://260411131", rarm, 7.5, 1)
  6749. for i = 0,2,0.1 do
  6750. swait()
  6751. block(10,"Add",rarm.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.01,0.01,BrickColor.new("Magenta"),BrickColor.new("Magenta").Color)
  6752. 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(5),math.rad(-10)),.5)
  6753. 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(5)),.5)
  6754. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(55)),.5)
  6755. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-55)),.5)
  6756. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.6)*angles(math.rad(90),math.rad(0),math.rad(-50)),.5)
  6757. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-10)),.5)
  6758. end
  6759. local orb = Instance.new("Part", char)
  6760. for i = 0, 4 do
  6761. CFuncs["Sound"].Create("rbxassetid://335657174", char, 7.5, 0.5)
  6762. end
  6763. local efec = Instance.new("ParticleEmitter",orb)
  6764. efec.Texture = "rbxassetid://2109052855"
  6765. efec.LightEmission = 1
  6766. efec.Color = ColorSequence.new(Color3.new(0.5,0,1))
  6767. efec.Rate = 5
  6768. efec.Lifetime = NumberRange.new(3)
  6769. efec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,100,0),NumberSequenceKeypoint.new(0.2,175,0),NumberSequenceKeypoint.new(0.6,110,0),NumberSequenceKeypoint.new(0.8,175,0),NumberSequenceKeypoint.new(1,200,0)})
  6770. efec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.25,0),NumberSequenceKeypoint.new(0.6,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  6771. efec.Drag = 5
  6772. efec.LockedToPart = true
  6773. efec.Rotation = NumberRange.new(-500,500)
  6774. efec.VelocitySpread = 9000
  6775. efec.RotSpeed = NumberRange.new(-500,500)
  6776. orb.BrickColor = BrickColor.new("Magenta")
  6777. orb.CanCollide = false
  6778. orb.FormFactor = 3
  6779. orb.Name = "Ring"
  6780. orb.Material = "Neon"
  6781. orb.Size = Vector3.new(1, 1, 1)
  6782. orb.Transparency = 0
  6783. orb.TopSurface = 0
  6784. orb.BottomSurface = 0
  6785. local orbm = Instance.new("SpecialMesh", orb)
  6786. orbm.MeshType = "Sphere"
  6787. orbm.Name = "SizeMesh"
  6788. orbm.Scale = vt(25,25,25)
  6789. orb.CFrame = root.CFrame + root.CFrame.lookVector*3
  6790. local a = Instance.new("Part",workspace)
  6791. a.Name = "Direction"
  6792. a.Anchored = true
  6793. a.BrickColor = bc("Bright red")
  6794. a.Material = "Neon"
  6795. a.Transparency = 1
  6796. a.CanCollide = false
  6797. local ray = Ray.new(
  6798. orb.CFrame.p, -- origin
  6799. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  6800. )
  6801. local ignore = orb
  6802. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6803. a.BottomSurface = 10
  6804. a.TopSurface = 10
  6805. local distance = (orb.CFrame.p - position).magnitude
  6806. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6807. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  6808. orb.CFrame = a.CFrame
  6809. a:Destroy()
  6810. local over = false
  6811. local bgui,imgc = createBGCircle(250,orb,Color3.new(0.5,0,1))
  6812. bgui.AlwaysOnTop = true
  6813. imgc.Image = "rbxassetid://2076519836"
  6814. coroutine.resume(coroutine.create(function()
  6815. while true do
  6816. swait()
  6817. if over == false then
  6818. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6819. coroutine.resume(coroutine.create(function()
  6820. for i, v in pairs(FindNearestHead(orb.CFrame.p, 100)) do
  6821. if v:FindFirstChild('Head') then
  6822. dmg(v)
  6823. end
  6824. end
  6825. end))
  6826. slash(10,2,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.01,0.01),1,BrickColor.new("Dark indigo"))
  6827. imgc.Rotation = imgc.Rotation + 5
  6828. imgc.ImageTransparency = 0.75 + 0.25 * math.cos(sine / 15)
  6829. bgui.Size = UDim2.new(250 + 25 * math.cos(sine / 15),0, 250 + 25 * math.cos(sine / 15),0)
  6830. elseif over == true then
  6831. break
  6832. end
  6833. end
  6834. end))
  6835. local bv = Instance.new("BodyVelocity")
  6836. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6837. bv.velocity = orb.CFrame.lookVector*50
  6838. bv.Parent = orb
  6839. coroutine.resume(coroutine.create(function()
  6840. wait(10)
  6841. hum.CameraOffset = vt(0,0,0)
  6842. over = true
  6843. efec.Enabled = false
  6844. orb.Anchored = true
  6845. for i = 0, 2 do
  6846. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 10,1)
  6847. CFuncs["LongSound"].Create("rbxassetid://763717897", char, 10, 0.5)
  6848. CFuncs["LongSound"].Create("rbxassetid://763717897", char, 7.5, 0.25)
  6849. CFuncs["Sound"].Create("rbxassetid://763718160", char, 10, 0.9)
  6850. CFuncs["Sound"].Create("rbxassetid://782353443", char, 10, 0.5)
  6851. CFuncs["Sound"].Create("rbxassetid://335657174", char, 5, 0.75)
  6852. CFuncs["LongSound"].Create("rbxassetid://335657174", char, 10, 0.25)
  6853. CFuncs["Sound"].Create("rbxassetid://167115397", char, 10, 1)
  6854. CFuncs["LongSound"].Create("rbxassetid://167115397", char, 10, 0.75)
  6855. CFuncs["LongSound"].Create("rbxassetid://167115397", char, 10, 0.5)
  6856. end
  6857. for i = 0, 2 do
  6858. block(3,"Add",orb.CFrame,vt(1,1,1),6.5,6.5,6.5,BrickColor.new("Dark indigo"),BrickColor.new("Dark indigo").Color)
  6859. block(2,"Add",orb.CFrame,vt(1,1,1),6,6,6,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  6860. block(1,"Add",orb.CFrame,vt(1,1,1),4.5,4.5,4.5,BrickColor.new("Magenta"),BrickColor.new("Magenta").Color)
  6861. end
  6862. for i = 0, 49 do
  6863. 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.01,0.01,0.01),math.random(150,2500)/250,BrickColor.new("Royal purple"))
  6864. end
  6865. imgc.ImageTransparency = 0
  6866. --CameraEnshaking(20,30)
  6867. for i = 0, 199 do
  6868. swait()
  6869. --[[coroutine.resume(coroutine.create(function()
  6870. for i, v in pairs(FindNearestHead(orb.CFrame.p, 5000)) do
  6871. if v:FindFirstChild('Head') then
  6872. dmg(v)
  6873. end
  6874. end
  6875. end))]]--
  6876. imgc.Rotation = imgc.Rotation + 10
  6877. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6878. dis.CFrame = orb.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)))
  6879. local at1 = Instance.new("Attachment",dis)
  6880. at1.Position = vt(-25000,0,0)
  6881. local at2 = Instance.new("Attachment",dis)
  6882. at2.Position = vt(25000,0,0)
  6883. local trl = Instance.new('Trail',dis)
  6884. trl.Attachment0 = at1
  6885. trl.FaceCamera = true
  6886. trl.Attachment1 = at2
  6887. trl.Texture = "rbxassetid://1049219073"
  6888. trl.LightEmission = 1
  6889. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6890. trl.Color = ColorSequence.new(orb.Color)
  6891. trl.Lifetime = 5
  6892. local bv = Instance.new("BodyVelocity")
  6893. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6894. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6895. bv.Parent = dis
  6896. game:GetService("Debris"):AddItem(dis, 5)
  6897. sphere2(15,"Add",orb.CFrame,vt(1.25,1.25,1.25),45,45,45,BrickColor.new("Royal purple"))
  6898. for i = 0, 2 do
  6899. slash(15,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.01,0.01),25,BrickColor.new("Really black"))
  6900. slash(15,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.01,0.01),50,BrickColor.new("Dark indigo"))
  6901. end
  6902. orbm.Scale = orbm.Scale + vt(10,10,10)
  6903. orb.Transparency = orb.Transparency + 0.005
  6904. imgc.ImageTransparency = imgc.ImageTransparency + 0.005
  6905. bgui.Size = bgui.Size + UDim2.new(35,0,35,0)
  6906. end
  6907. hum.CameraOffset = vt(0,0,0)
  6908. game:GetService("Debris"):AddItem(orb, 10)
  6909. end))
  6910. for i = 0,2,0.1 do
  6911. swait()
  6912. 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(5),math.rad(-10)),.5)
  6913. 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(20),math.rad(10)),.5)
  6914. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,1)*angles(math.rad(5),math.rad(0),math.rad(-45)),.5)
  6915. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(45)),.5)
  6916. RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(50)),.5)
  6917. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(20),math.rad(10),math.rad(-30)),.5)
  6918. end
  6919. attack = false
  6920. hum.WalkSpeed = storehumanoidWS
  6921. end
  6922.  
  6923. function GalacticalBeams()
  6924. attack = true
  6925. local keptcolor = MAINRUINCOLOR
  6926. coroutine.resume(coroutine.create(function()
  6927. for i = 0, 0 do
  6928. swait(10)
  6929. local orb = Instance.new("Part", char)
  6930. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  6931. orb.BrickColor = keptcolor
  6932. orb.CanCollide = false
  6933. orb.FormFactor = 3
  6934. orb.Name = "Ring"
  6935. orb.Material = "Neon"
  6936. orb.Size = Vector3.new(1, 1, 1)
  6937. orb.Transparency = 1
  6938. orb.TopSurface = 0
  6939. orb.BottomSurface = 0
  6940. orb.Anchored = true
  6941. local orbm = Instance.new("SpecialMesh", orb)
  6942. orbm.MeshType = "Sphere"
  6943. orbm.Name = "SizeMesh"
  6944. orbm.Scale = vt(1.25,1.25,1.25)
  6945. orb.CFrame = root.CFrame*CFrame.new(math.random(-25,25),math.random(75,150),math.random(-25,25))
  6946. coroutine.resume(coroutine.create(function()
  6947. orb.Transparency = 1
  6948. local a = Instance.new("Part",char)
  6949. a.Name = "Direction"
  6950. a.Anchored = true
  6951. a.BrickColor = keptcolor
  6952. a.Material = "Neon"
  6953. a.Transparency = 1
  6954. a.Shape = "Cylinder"
  6955. local x = Instance.new("Part",char)
  6956. x.Name = "Direction"
  6957. x.Anchored = true
  6958. x.BrickColor = keptcolor
  6959. x.Material = "Neon"
  6960. x.Transparency = 1
  6961. x.Shape = "Cylinder"
  6962. local ht = Instance.new("Part",char)
  6963. ht.Name = "DirectionHit"
  6964. ht.Anchored = true
  6965. ht.BrickColor = keptcolor
  6966. ht.CanCollide = false
  6967. ht.Transparency = 1
  6968. ht.Size = vt(0.1,0.1,0.1)
  6969. a.CanCollide = false
  6970. local ray = Ray.new(
  6971. orb.CFrame.p, -- origin
  6972. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  6973. )
  6974. local ignore = char
  6975. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6976. a.BottomSurface = 10
  6977. a.TopSurface = 10
  6978. local distance = (orb.CFrame.p - position).magnitude
  6979. a.Size = Vector3.new(distance,1,1)
  6980. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  6981. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  6982. x.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  6983. local poste = 0
  6984. local rotation = 0
  6985. CFuncs["Sound"].Create("rbxassetid://153092315", char, 1.5, 1)
  6986. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(5,5,5),2.5,2.5,0,keptcolor)
  6987. CameraEnshaking(2,2)
  6988. coroutine.resume(coroutine.create(function()
  6989. local eff = Instance.new("ParticleEmitter",orb)
  6990. eff.Texture = "rbxassetid://2273224484"
  6991. eff.LightEmission = 1
  6992. eff.Color = ColorSequence.new(keptcolor.Color)
  6993. eff.Rate = 15000
  6994. eff.Lifetime = NumberRange.new(2.5,5)
  6995. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,60,0),NumberSequenceKeypoint.new(0.2,3,0),NumberSequenceKeypoint.new(0.8,24,0),NumberSequenceKeypoint.new(1,0,0)})
  6996. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6997. eff.Speed = NumberRange.new(100,650)
  6998. eff.Drag = 5
  6999. eff.Rotation = NumberRange.new(-500,500)
  7000. eff.VelocitySpread = 9000
  7001. eff.RotSpeed = NumberRange.new(-50,50)
  7002. wait(0.35)
  7003. eff.Enabled = false
  7004. end))
  7005. for i = 0, 49 do
  7006. swait()
  7007. rotation = rotation + 5
  7008. poste = poste + 1
  7009. 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)
  7010. 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)
  7011. 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)
  7012. 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)
  7013. 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)
  7014. 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)
  7015. 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)
  7016. 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)
  7017. end
  7018. local A1 = Instance.new("Attachment",x)
  7019. local A2 = Instance.new("Attachment",ht)
  7020. local Beem = Instance.new("Beam",ht)
  7021. Beem.Attachment0 = A1
  7022. Beem.Attachment1 = A2
  7023. Beem.LightEmission = 1
  7024. Beem.FaceCamera = true
  7025. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, 0),NumberSequenceKeypoint.new(0.975, 0),NumberSequenceKeypoint.new(1, 1)})
  7026. Beem.Width0 = 125
  7027. Beem.Width1 = 125
  7028. Beem.Texture = "rbxassetid://1134824633"
  7029. Beem.TextureMode = "Wrap"
  7030. Beem.TextureLength = 200
  7031. Beem.TextureSpeed = 1.5
  7032. Beem.Color = ColorSequence.new(keptcolor.Color)
  7033. CameraEnshaking(3,6)
  7034. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 1.5, 1)
  7035. CFuncs["Sound"].Create("rbxassetid://294188875", char, 2, 1.5)
  7036. a.Transparency = 0.25
  7037. for i = 0, 49 do
  7038. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  7039. disr.CFrame = ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  7040. local at1 = Instance.new("Attachment",disr)
  7041. at1.Position = vt(-5,0,0)
  7042. local at2 = Instance.new("Attachment",disr)
  7043. at2.Position = vt(5,0,0)
  7044. local trl = Instance.new('Trail',disr)
  7045. trl.Attachment0 = at1
  7046. trl.FaceCamera = true
  7047. trl.Attachment1 = at2
  7048. trl.Texture = "rbxassetid://2325530138"
  7049. trl.LightEmission = 1
  7050. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7051. trl.Color = ColorSequence.new(keptcolor.Color)
  7052. trl.Lifetime = 0.5
  7053. local bv = Instance.new("BodyVelocity")
  7054. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7055. bv.velocity = disr.CFrame.lookVector*math.random(50,500)
  7056. bv.Parent = disr
  7057. local val = 0
  7058. coroutine.resume(coroutine.create(function()
  7059. swait(math.random(30,60))
  7060. for i = 0, 19 do
  7061. swait()
  7062. val = val + 0.05
  7063. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  7064. end
  7065. game:GetService("Debris"):AddItem(disr, 3)
  7066. end))
  7067. end
  7068. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  7069. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  7070. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  7071. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  7072. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor)
  7073. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor)
  7074. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  7075. local eff = Instance.new("ParticleEmitter",ht)
  7076. eff.Texture = "rbxassetid://2273224484"
  7077. eff.LightEmission = 1
  7078. eff.Color = ColorSequence.new(keptcolor.Color)
  7079. eff.Rate = 500
  7080. eff.Lifetime = NumberRange.new(1,3)
  7081. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,10,0),NumberSequenceKeypoint.new(1,0,0)})
  7082. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  7083. eff.Speed = NumberRange.new(80,700)
  7084. eff.Drag = 3
  7085. eff.Rotation = NumberRange.new(-500,500)
  7086. eff.VelocitySpread = 9000
  7087. eff.RotSpeed = NumberRange.new(-100,100)
  7088. for i = 0, 24 do
  7089. 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)
  7090. local rsiz = math.random(10,50)
  7091. 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)
  7092. end
  7093. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7094. local msh = Instance.new("SpecialMesh",a)
  7095. msh.MeshType = "Cylinder"
  7096. msh.Scale = vt(1,15,15)
  7097. for i = 0, 49 do
  7098. swait()
  7099. CameraEnshaking(1,4)
  7100. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  7101. rotation = rotation + 5
  7102. slash(math.random(30,90)/10,5,true,"Round","Add","Out",ht.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,450)/250,BrickColor.new("White"))
  7103. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  7104. 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)
  7105. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(25,25,5),1,1,0,keptcolor)
  7106. 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)
  7107. 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)
  7108. 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)
  7109. 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)
  7110. 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)
  7111. 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)
  7112. 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)
  7113. 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)
  7114. for i = 0, 2 do
  7115. local rsiz = math.random(50,250)
  7116. 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)
  7117. end
  7118. msh.Scale = msh.Scale + vt(0,0.25,0.25)
  7119. end
  7120. eff.Enabled = false
  7121. local visibility = 0
  7122. for i = 0, 49 do
  7123. swait()
  7124. visibility = visibility + 0.02
  7125. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, visibility),NumberSequenceKeypoint.new(0.975, visibility),NumberSequenceKeypoint.new(1, 1)})
  7126. rotation = rotation + 5
  7127. poste = poste - 1
  7128. 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)
  7129. 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)
  7130. 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)
  7131. 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)
  7132. 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)
  7133. 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)
  7134. 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)
  7135. 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)
  7136. msh.Scale = msh.Scale + vt(0,-0.5,-0.5)
  7137. a.Transparency = a.Transparency + 0.02
  7138. end
  7139. wait(1)
  7140. orb:Destroy()
  7141. a:Destroy()
  7142. ht:Destroy()
  7143. end))
  7144. game:GetService("Debris"):AddItem(orb, 10)
  7145. end
  7146. end))
  7147. hum.WalkSpeed = storehumanoidWS
  7148. attack = false
  7149. end
  7150.  
  7151.  
  7152.  
  7153. function SingularityVoid()
  7154. attack = true
  7155. hum.WalkSpeed = 0
  7156. hum.JumpPower = 0
  7157. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
  7158. local poste = 3
  7159. local rotation = 0
  7160. local rate = 0
  7161. local bgui,imgc = createBGCircle(0,root,Color3.new(0,0,0))
  7162. bgui.AlwaysOnTop = true
  7163. imgc.ImageTransparency = 1
  7164. imgc.Image = "rbxassetid://2076519836"
  7165. for i = 0, 124 do
  7166. swait()
  7167. bgui.Size = bgui.Size + UDim2.new(2.5,0,2.5,0)
  7168. imgc.ImageTransparency = imgc.ImageTransparency - 0.01
  7169. imgc.Rotation = imgc.Rotation - rotation/10
  7170. rotation = rotation + rate
  7171. poste = poste + 0.1
  7172. rate = rate + 0.1
  7173. 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(-25)),.1)
  7174. 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(25)),.1)
  7175. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-25),math.rad(0),math.rad(0)),.1)
  7176. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  7177. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-10),math.rad(0),math.rad(90)),.1)
  7178. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(0),math.rad(-90)),.1)
  7179. end
  7180. CameraEnshaking(5,12)
  7181. local keptcolor = MAINRUINCOLOR
  7182. for i, v in pairs(FindNearestHead(root.CFrame.p, 125)) do
  7183. if v:FindFirstChild('Head') then
  7184. coroutine.resume(coroutine.create(function()
  7185. CFuncs["Sound"].Create("rbxassetid://1042716828", v.Head, 5, 0.5)
  7186. local vel = Instance.new("BodyPosition", v.Head)
  7187. vel.P = 12500
  7188. vel.D = 1000
  7189. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  7190. vel.position = v.Head.CFrame.p + vt(0,10,0)
  7191. for i,v in pairs(v:GetChildren()) do
  7192. if v:IsA("Part") or v:IsA("MeshPart") then
  7193. coroutine.resume(coroutine.create(function()
  7194. local bld = Instance.new("ParticleEmitter",v)
  7195. bld.LightEmission = 0.75
  7196. bld.Texture = "rbxassetid://363275192" ---284205403
  7197. bld.Color = ColorSequence.new(keptcolor.Color)
  7198. bld.Rate = 500
  7199. bld.Lifetime = NumberRange.new(1)
  7200. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  7201. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  7202. bld.Speed = NumberRange.new(2,5)
  7203. bld.VelocitySpread = 50000
  7204. bld.Rotation = NumberRange.new(-500,500)
  7205. bld.RotSpeed = NumberRange.new(-500,500)
  7206. end))
  7207. end
  7208. end
  7209. local A1 = Instance.new("Attachment",root)
  7210. local A2 = Instance.new("Attachment",v.Head)
  7211. local Beem = Instance.new("Beam",v.Head)
  7212. Beem.Attachment0 = A1
  7213. Beem.Attachment1 = A2
  7214. Beem.LightEmission = 1
  7215. Beem.FaceCamera = true
  7216. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
  7217. Beem.Width0 = 1
  7218. Beem.Width1 = 1
  7219. Beem.Texture = "rbxassetid://1134824633"
  7220. Beem.TextureMode = "Wrap"
  7221. Beem.TextureLength = 2
  7222. Beem.TextureSpeed = 5
  7223. Beem.Color = ColorSequence.new(keptcolor.Color)
  7224. wait(5)
  7225. coroutine.resume(coroutine.create(function()
  7226. local ref = Instance.new("Part", char)
  7227. ref.Anchored = true
  7228. ref.CanCollide = false
  7229. ref.Transparency = 1
  7230. ref.CFrame = v.Head.CFrame
  7231. sphere2(1,"Add",v.Head.CFrame,vt(25,25,25),-0.25,-0.25,-0.25,keptcolor)
  7232. sphere2(2,"Add",v.Head.CFrame,vt(25,25,25),-0.5,-0.5,-0.5,keptcolor)
  7233. sphere2(3,"Add",v.Head.CFrame,vt(25,25,25),-0.75,-0.75,-0.75,keptcolor)
  7234. for i = 0, 9 do
  7235. slash(math.random(10,25)/10,5,true,"Round","Add","Out",v.Head.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.001,0.5),-1,BrickColor.new("Really black"))
  7236. end
  7237. v.Head.Parent:Destroy()
  7238. CFuncs["Sound"].Create("rbxassetid://763718160", ref, 10, 1.1)
  7239. CFuncs["Sound"].Create("rbxassetid://782353443", ref, 10, 1)
  7240. CFuncs["Sound"].Create("rbxassetid://335657174", ref, 10, 1)
  7241. wait(5)
  7242. ref:Destroy()
  7243. end))
  7244. end))
  7245. end
  7246. end
  7247. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 2, 1)
  7248. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 3, 1)
  7249. CFuncs["Sound"].Create("rbxassetid://167115397", char, 3, 1)
  7250. CFuncs["Sound"].Create("rbxassetid://782353443", char, 3, 0.9)
  7251. CFuncs["Sound"].Create("rbxassetid://782353443", char, 4, 0.8)
  7252. CFuncs["Sound"].Create("rbxassetid://782353443", char, 5, 0.7)
  7253. for i = 0, 49 do
  7254. slash(math.random(10,50)/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.25,0.01,0.25),math.random(150,1000)/250,BrickColor.new("Really black"))
  7255. end
  7256. coroutine.resume(coroutine.create(function()
  7257. local eff = Instance.new("ParticleEmitter",root)
  7258. eff.Texture = "rbxassetid://2273224484"
  7259. eff.LightEmission = 1
  7260. eff.Color = ColorSequence.new(BrickColor.new("Alder").Color)
  7261. eff.Rate = 5000000
  7262. eff.Lifetime = NumberRange.new(3)
  7263. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25,0),NumberSequenceKeypoint.new(0.2,8,0),NumberSequenceKeypoint.new(1,0.1,0)})
  7264. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(1,1,0)})
  7265. eff.Speed = NumberRange.new(150,1000)
  7266. eff.Drag = 5
  7267. eff.Rotation = NumberRange.new(-500,500)
  7268. eff.VelocitySpread = 9000
  7269. eff.RotSpeed = NumberRange.new(-100,100)
  7270. wait(0.5)
  7271. eff.Enabled = false
  7272. wait(6)
  7273. eff:Destroy()
  7274. end))
  7275. coroutine.resume(coroutine.create(function()
  7276. local eff = Instance.new("ParticleEmitter",root)
  7277. eff.Texture = "rbxassetid://363275192"
  7278. eff.LightEmission = 0.95
  7279. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7280. eff.Rate = 10000
  7281. eff.Lifetime = NumberRange.new(1)
  7282. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,80,0)})
  7283. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7284. eff.Speed = NumberRange.new(100,500)
  7285. eff.Drag = 5
  7286. eff.Rotation = NumberRange.new(-500,500)
  7287. eff.VelocitySpread = 9000
  7288. eff.RotSpeed = NumberRange.new(-50,50)
  7289. wait(0.5)
  7290. eff.Enabled = false
  7291. wait(6)
  7292. eff:Destroy()
  7293. end))
  7294. sphere2(10,"Add",root.CFrame,vt(250,250,250),5,5,5,MAINRUINCOLOR)
  7295. sphere2(9,"Add",root.CFrame,vt(250,250,250),5,5,5,MAINRUINCOLOR)
  7296. sphere2(8,"Add",root.CFrame,vt(250,250,250),5,5,5,MAINRUINCOLOR)
  7297. sphere2(2,"Add",root.CFrame,vt(250,250,250),0.1,0.1,0.1,MAINRUINCOLOR)
  7298. coroutine.resume(coroutine.create(function()
  7299. wait(1)
  7300. rotation = 0
  7301. rate = 0
  7302. for i = 0, 49 do
  7303. swait()
  7304. bgui.Size = bgui.Size - UDim2.new(rate/2,0,rate/2,0)
  7305. imgc.Rotation = imgc.Rotation + rotation/20
  7306. rotation = rotation + rate
  7307. poste = poste + 1.5
  7308. rate = rate + 1.5
  7309. end
  7310. bgui:Destroy()
  7311. end))
  7312. hum.WalkSpeed = storehumanoidWS
  7313. hum.JumpPower = 50
  7314. attack = false
  7315. end
  7316.  
  7317.  
  7318. function WarpedDash()
  7319. attack = true
  7320. hum.WalkSpeed = 0
  7321. hum.JumpPower = 0
  7322. CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
  7323. local poste = 3
  7324. local rotation = 0
  7325. local rate = 0
  7326. local bgui,imgc = createBGCircle(100,root,MAINRUINCOLOR.Color)
  7327. bgui.AlwaysOnTop = true
  7328. imgc.ImageTransparency = 1
  7329. imgc.Image = "rbxassetid://2076519836"
  7330. for i = 0, 124 do
  7331. swait()
  7332. bgui.Size = bgui.Size - UDim2.new(0.85,0,0.85,0)
  7333. imgc.ImageTransparency = imgc.ImageTransparency - 0.01
  7334. imgc.Rotation = imgc.Rotation - rotation/10
  7335. rotation = rotation + rate
  7336. poste = poste + 0.1
  7337. rate = rate + 0.1
  7338. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
  7339. 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)
  7340. 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)
  7341. 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)
  7342. 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)
  7343. 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)
  7344. 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(poste/100,0.01,poste/100),poste/30,BrickColor.new("White"))
  7345. 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)
  7346. 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)
  7347. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
  7348. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
  7349. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
  7350. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
  7351. end
  7352. bgui:Destroy()
  7353. CameraEnshaking(3,7)
  7354. local loc = Instance.new("Part", char)
  7355. loc.BrickColor = MAINRUINCOLOR
  7356. loc.CanCollide = false
  7357. loc.FormFactor = 3
  7358. loc.Name = "Ring"
  7359. loc.Material = "Neon"
  7360. loc.Size = Vector3.new(1, 1, 1)
  7361. loc.Transparency = 1
  7362. loc.TopSurface = 0
  7363. loc.BottomSurface = 0
  7364. loc.Anchored = true
  7365. loc.CFrame = root.CFrame + root.CFrame.lookVector*100
  7366. CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
  7367. CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
  7368. MagniDamage(loc, 95, 500,6000, 0, "Normal")
  7369. sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
  7370. sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  7371. sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  7372. sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  7373. coroutine.resume(coroutine.create(function()
  7374. for i = 0, 49 do
  7375. local disr = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  7376. disr.CFrame = loc.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  7377. local at1 = Instance.new("Attachment",disr)
  7378. at1.Position = vt(-5,0,0)
  7379. local at2 = Instance.new("Attachment",disr)
  7380. at2.Position = vt(5,0,0)
  7381. local trl = Instance.new('Trail',disr)
  7382. trl.Attachment0 = at1
  7383. trl.FaceCamera = true
  7384. trl.Attachment1 = at2
  7385. trl.Texture = "rbxassetid://2325530138"
  7386. trl.LightEmission = 1
  7387. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7388. trl.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7389. trl.Lifetime = 0.5
  7390. local bv = Instance.new("BodyVelocity")
  7391. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7392. bv.velocity = disr.CFrame.lookVector*math.random(50,500)
  7393. bv.Parent = disr
  7394. local val = 0
  7395. coroutine.resume(coroutine.create(function()
  7396. swait(math.random(30,60))
  7397. for i = 0, 9 do
  7398. swait()
  7399. val = val + 0.1
  7400. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  7401. end
  7402. game:GetService("Debris"):AddItem(disr, 3)
  7403. end))
  7404. end
  7405. local eff = Instance.new("ParticleEmitter",loc)
  7406. eff.Texture = "rbxassetid://363275192"
  7407. eff.LightEmission = 0.95
  7408. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7409. eff.Rate = 10000
  7410. eff.Lifetime = NumberRange.new(1)
  7411. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,80,0)})
  7412. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7413. eff.Speed = NumberRange.new(100,500)
  7414. eff.Drag = 5
  7415. eff.Rotation = NumberRange.new(-500,500)
  7416. eff.VelocitySpread = 9000
  7417. eff.RotSpeed = NumberRange.new(-50,50)
  7418. wait(0.5)
  7419. eff.Enabled = false
  7420. end))
  7421. for i = 0, 29 do
  7422. slash(math.random(10,50)/10,5,true,"Round","Add","Out",loc.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,500)/250,BrickColor.new("White"))
  7423. end
  7424. for i = 0, 49 do
  7425. 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)
  7426. end
  7427. for i = 0, 9 do
  7428. 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)
  7429. end
  7430. game:GetService("Debris"):AddItem(loc, 5)
  7431. root.CFrame = root.CFrame + root.CFrame.lookVector*200
  7432. hum.WalkSpeed = storehumanoidWS
  7433. hum.JumpPower = 50
  7434. attack = false
  7435. end
  7436.  
  7437. ------------------------------------
  7438. function harmonytaunty()
  7439. attack = true
  7440. hum.WalkSpeed = 0
  7441. CFuncs["Sound"].Create("rbxassetid://430312221", tors, 1.25, 1.15)
  7442. for i = 0,7,0.1 do
  7443. swait()
  7444. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-20 + 6 * math.cos(sine / 34))),.2)
  7445. 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(10 - 4 * math.cos(sine / 47))),.2)
  7446. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(-2 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(-2 + 4 * math.cos(sine / 62))),.2)
  7447. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(12 - 3 * math.cos(sine / 28)),math.rad(12 - 3 * math.cos(sine / 79)),math.rad(2 - 4 * math.cos(sine / 62))),.2)
  7448. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.01 * math.cos(sine / 28),-0.1)*angles(math.rad(34 + 2 * math.cos(sine / 33)),math.rad(0),math.rad(-13 - 3 * math.cos(sine / 28))),.2)
  7449. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(80 - 3 * math.cos(sine / 37)),math.rad(0),math.rad(10 + 5 * math.cos(sine / 30))),.2)
  7450. end
  7451. hum.WalkSpeed = storehumanoidWS
  7452. attack = false
  7453. end
  7454.  
  7455.  
  7456.  
  7457. function vistaunty()
  7458. attack = true
  7459. hum.WalkSpeed = 0
  7460. local rd = math.random(1,5)
  7461. if rd == 1 then
  7462. chatfunc("You're familiar with this, arent you?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  7463. elseif rd == 2 then
  7464. chatfunc("Dance to the beat. If you want to.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  7465. elseif rd == 3 then
  7466. chatfunc("I'm just bored. Don't mess with me.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  7467. elseif rd == 4 then
  7468. chatfunc("Ready to dance? If not, come back if you want to.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  7469. elseif rd == 5 then
  7470. chatfunc("Ehh, not really into something right now.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  7471. end
  7472. for i = 0, 8, 0.1 do
  7473. swait()
  7474. 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)
  7475. 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)
  7476. 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)
  7477. 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)
  7478. 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)
  7479. 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)
  7480. end
  7481. hum.WalkSpeed = storehumanoidWS
  7482. attack = false
  7483. end
  7484.  
  7485. function shytaunty()
  7486. attack = true
  7487. hum.WalkSpeed = 0
  7488. CFuncs["Sound"].Create("rbxassetid://543623779", tors, 0.35, 1)
  7489. local blush = Instance.new("Decal",hed)
  7490. blush.Texture = "rbxassetid://898404027"
  7491. blush.Face = "Front"
  7492. for i = 0, 13, 0.1 do
  7493. swait()
  7494. 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)
  7495. 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)
  7496. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),-0.05 + 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)
  7497. 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)
  7498. 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)
  7499. 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)
  7500. end
  7501. coroutine.resume(coroutine.create(function()
  7502. for i = 0, 49 do
  7503. swait()
  7504. blush.Transparency = blush.Transparency + 0.02
  7505. end
  7506. blush:Destroy()
  7507. end))
  7508. hum.WalkSpeed = storehumanoidWS
  7509. attack = false
  7510. end
  7511. ------------------------------------ Mode Ascendances
  7512. function UnknownA()
  7513. hum.WalkSpeed = 0
  7514. attack = true
  7515. local keptcolor = MAINRUINCOLOR
  7516. local locat = Instance.new("Part", char)
  7517. locat.CanCollide = false
  7518. locat.FormFactor = 3
  7519. locat.Name = "Ring"
  7520. locat.Material = "Neon"
  7521. locat.Size = Vector3.new(1, 1, 1)
  7522. locat.Transparency = 1
  7523. locat.TopSurface = 0
  7524. locat.BottomSurface = 0
  7525. locat.Anchored = true
  7526. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  7527. local poste = 0
  7528. local rotation = 0
  7529. local upperpos = 0
  7530. local rate = 0
  7531. local x = locat
  7532.  
  7533. local efec = Instance.new("ParticleEmitter",root)
  7534. efec.Texture = "rbxassetid://2109052855"
  7535. efec.LightEmission = 1
  7536. efec.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7537. efec.Rate = 5
  7538. efec.Lifetime = NumberRange.new(1)
  7539. efec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,100,0),NumberSequenceKeypoint.new(0.2,50,0),NumberSequenceKeypoint.new(0.6,125,0),NumberSequenceKeypoint.new(0.8,175,0),NumberSequenceKeypoint.new(1,20,0)})
  7540. efec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.25,0),NumberSequenceKeypoint.new(0.6,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  7541. efec.Drag = 5
  7542. efec.LockedToPart = true
  7543. efec.Rotation = NumberRange.new(-500,500)
  7544. efec.VelocitySpread = 9000
  7545. efec.RotSpeed = NumberRange.new(-500,500)
  7546. local efec2 = efec:Clone()
  7547. efec2.LightEmission = 1
  7548. efec2.Texture = "rbxassetid://2092248396"
  7549. efec2.Parent = root
  7550. efec2.Rate = 10
  7551. efec2.Lifetime = NumberRange.new(1)
  7552. efec2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,175,0),NumberSequenceKeypoint.new(0.5,150,0),NumberSequenceKeypoint.new(0.8,500,0),NumberSequenceKeypoint.new(1,1000,0)})
  7553. efec2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7554. efec2.Speed = NumberRange.new(0)
  7555. efec2.RotSpeed = NumberRange.new(-100,100)
  7556. local efec3 = efec:Clone()
  7557. efec3.LightEmission = 1
  7558. efec3.Color = ColorSequence.new(Color3.new(0.75,0.85,1))
  7559. efec3.Texture = "rbxassetid://2273224484"
  7560. efec3.Parent = root
  7561. efec3.Rate = 10000
  7562. efec3.Drag = 5
  7563. efec3.LockedToPart = false
  7564. efec3.Lifetime = NumberRange.new(2)
  7565. efec3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.5,10,0),NumberSequenceKeypoint.new(0.8,15,0),NumberSequenceKeypoint.new(1,0,0)})
  7566. efec3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  7567. efec3.Speed = NumberRange.new(50,700)
  7568. efec3.RotSpeed = NumberRange.new(-100,100)
  7569. CFuncs["Sound"].Create("rbxassetid://136007472", char, 3.5,0.7)
  7570. CFuncs["Sound"].Create("rbxassetid://289315275", char, 3.5, 1)
  7571. CFuncs["Sound"].Create("rbxassetid://419447292", char, 3.5, 1)
  7572. sphere2(8,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  7573. sphere2(6,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  7574. sphere2(4,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  7575. sphere2(2,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  7576. CameraEnshaking(2,5)
  7577. for i = 0, 99 do
  7578. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  7579. disr.CFrame = root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  7580. local at1 = Instance.new("Attachment",disr)
  7581. at1.Position = vt(-10,0,0)
  7582. local at2 = Instance.new("Attachment",disr)
  7583. at2.Position = vt(10,0,0)
  7584. local trl = Instance.new('Trail',disr)
  7585. trl.Attachment0 = at1
  7586. trl.FaceCamera = true
  7587. trl.Attachment1 = at2
  7588. trl.Texture = "rbxassetid://2325530138"
  7589. trl.LightEmission = 1
  7590. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7591. trl.Color = ColorSequence.new(keptcolor.Color)
  7592. trl.Lifetime = 0.5
  7593. local bv = Instance.new("BodyVelocity")
  7594. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7595. bv.velocity = disr.CFrame.lookVector*math.random(50,500)
  7596. bv.Parent = disr
  7597. local val = 0
  7598. coroutine.resume(coroutine.create(function()
  7599. swait(math.random(30,60))
  7600. for i = 0, 19 do
  7601. swait()
  7602. val = val + 0.05
  7603. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  7604. end
  7605. game:GetService("Debris"):AddItem(disr, 3)
  7606. end))
  7607. end
  7608. for i = 0, 49 do
  7609. swait()
  7610. rotation = rotation + 5
  7611. poste = poste + 1
  7612. sphere2(math.random(4,6),"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,1,5),-0.05,math.random(25,100)/25,-0.05,keptcolor)
  7613. 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(poste/100,0.01,poste/100),poste/50,BrickColor.new("White"))
  7614. sphere2(8,"Add",tors.CFrame,vt(poste/1.5,poste/1.5,poste/1.5),0.01,0.01,0.01,keptcolor)
  7615. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7616. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7617. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7618. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7619. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7620. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7621. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7622. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7623. 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)),.5)
  7624. 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)),.5)
  7625. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.5)
  7626. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.5)
  7627. 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))),.5)
  7628. 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))),.5)
  7629. end
  7630. for i = 0, 149 do
  7631. swait()
  7632. rotation = rotation + 5
  7633. sphere2(math.random(4,6),"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,1,5),-0.05,math.random(25,100)/25,-0.05,keptcolor)
  7634. 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(poste/100,0.01,poste/100),poste/50,BrickColor.new("White"))
  7635. sphere2(8,"Add",tors.CFrame,vt(poste/1.5,poste/1.5,poste/1.5),0.01,0.01,0.01,keptcolor)
  7636. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7637. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7638. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7639. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7640. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7641. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7642. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7643. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7644. 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)),.5)
  7645. 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)),.5)
  7646. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.5)
  7647. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.5)
  7648. 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))),.5)
  7649. 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))),.5)
  7650. end
  7651. efec.Enabled = false
  7652. efec2.Enabled = false
  7653. efec3.Enabled = false
  7654. game:GetService("Debris"):AddItem(efec, 5)
  7655. game:GetService("Debris"):AddItem(efec2, 5)
  7656. game:GetService("Debris"):AddItem(efec3, 5)
  7657. ModeOfGlitch = 6000000000
  7658. storehumanoidWS = 300
  7659. hum.WalkSpeed = 300
  7660. rainbowmode = false
  7661. chaosmode = false
  7662. RecolorTextAndRename("HARMONY",BrickColor.new("Toothpaste").Color,BrickColor.new("Cool yellow").Color,"Highway")
  7663. newThemeCust("rbxassetid://603565821",0,1.01,1.5)
  7664. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  7665. keptcolor = MAINRUINCOLOR
  7666. RecolorThing(MAINRUINCOLOR,BrickColor.new("Cool yellow"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  7667. CFuncs["Sound"].Create("rbxassetid://763717897", char, 4, 1)
  7668. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
  7669. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 4, 0.95)
  7670. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(15,0,15),5,0,5,BrickColor.new("Cool yellow"))
  7671. sphere2(2,"Add",x.CFrame*CFrame.new(0,0,0),vt(15,0,15),5,0,5,keptcolor)
  7672. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("White"))
  7673. sphere2(2,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Cool yellow"))
  7674. sphere2(4,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,keptcolor)
  7675. for i = 0, 99 do
  7676. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  7677. 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)))
  7678. local at1 = Instance.new("Attachment",dis)
  7679. at1.Position = vt(-25000,0,0)
  7680. local at2 = Instance.new("Attachment",dis)
  7681. at2.Position = vt(25000,0,0)
  7682. local trl = Instance.new('Trail',dis)
  7683. trl.Attachment0 = at1
  7684. trl.FaceCamera = true
  7685. trl.Attachment1 = at2
  7686. trl.Texture = "rbxassetid://1049219073"
  7687. trl.LightEmission = 1
  7688. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7689. trl.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7690. trl.Lifetime = 5
  7691. local bv = Instance.new("BodyVelocity")
  7692. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7693. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  7694. bv.Parent = dis
  7695. game:GetService("Debris"):AddItem(dis, 10)
  7696. end
  7697. attack = false
  7698. hum.WalkSpeed = storehumanoidWS
  7699. for i = 0, 99 do
  7700. 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(250,2500)/250,BrickColor.new("White"))
  7701. end
  7702. for i = 0, 49 do
  7703. local rsiz = math.random(150,450)
  7704. sphere2(math.random(1,4),"Add",tors.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(25,500)/25,-0.05,BrickColor.new("Cool yellow"))
  7705. sphere2(math.random(1,2),"Add",x.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*CFrame.new(math.random(-350,350),math.random(-350,350),math.random(-350,350)),vt(1,1,1),-0.01,math.random(50,250)/10,-0.01,BrickColor.new("Cool yellow"))
  7706. sphereMK(math.random(1,2),math.random(2,4),"Add",x.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,BrickColor.new("White"),0)
  7707. end
  7708. coroutine.resume(coroutine.create(function()
  7709. local eff = Instance.new("ParticleEmitter",x)
  7710. eff.Texture = "rbxassetid://2273224484"
  7711. eff.LightEmission = 1
  7712. eff.Color = ColorSequence.new(BrickColor.new("Cool yellow").Color)
  7713. eff.Rate = 50000
  7714. eff.Lifetime = NumberRange.new(3,8)
  7715. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,120,0),NumberSequenceKeypoint.new(0.2,25,0),NumberSequenceKeypoint.new(1,0.1,0)})
  7716. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(1,1,0)})
  7717. eff.Speed = NumberRange.new(250,1500)
  7718. eff.Drag = 5
  7719. eff.Rotation = NumberRange.new(-500,500)
  7720. eff.VelocitySpread = 9000
  7721. eff.RotSpeed = NumberRange.new(-100,100)
  7722. wait(1.25)
  7723. eff.Enabled = false
  7724. end))
  7725. --[[for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do
  7726. if v:FindFirstChild('Head') then
  7727. dmg(v)
  7728. end
  7729. end]]--
  7730. sphere2(3,"Add",tors.CFrame,vt(1,1,1),10,10,10,keptcolor)
  7731. sphere2(2,"Add",tors.CFrame,vt(1,1,1),10,10,10,BrickColor.new("Cool yellow"))
  7732. sphere2(1,"Add",tors.CFrame,vt(1,1,1),10,10,10,BrickColor.new("White"))
  7733. CameraEnshaking(8,10)
  7734. for i = 0, 99 do
  7735. swait()
  7736. rotation = rotation + 5
  7737. poste = poste + 1
  7738. upperpos = upperpos + rate
  7739. rate = rate + 0.1
  7740. sphere2(math.random(1,2),"Add",x.CFrame*CFrame.new(math.random(-350,350),0,math.random(-350,350)),vt(5,1,5),-0.05,math.random(50,250)/50,-0.05,keptcolor)
  7741. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,upperpos,poste),vt(5+upperpos/5,5+upperpos/5,5+upperpos/5),-0.05,-0.05,-0.05,BrickColor.new("Cool yellow"))
  7742. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90+rotation),0)*CFrame.new(0,upperpos,poste),vt(5+upperpos/5,5+upperpos/5,5+upperpos/5),-0.05,-0.05,-0.05,BrickColor.new("Cool yellow"))
  7743. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180+rotation),0)*CFrame.new(0,upperpos,poste),vt(5+upperpos/5,5+upperpos/5,5+upperpos/5),-0.05,-0.05,-0.05,BrickColor.new("Cool yellow"))
  7744. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270+rotation),0)*CFrame.new(0,upperpos,poste),vt(5+upperpos/5,5+upperpos/5,5+upperpos/5),-0.05,-0.05,-0.05,BrickColor.new("Cool yellow"))
  7745. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.05,-0.05,-0.05,keptcolor)
  7746. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.05,-0.05,-0.05,keptcolor)
  7747. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.05,-0.05,-0.05,keptcolor)
  7748. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.05,-0.05,-0.05,keptcolor)
  7749. end
  7750. wait(6)
  7751. x:Destroy()
  7752. end
  7753.  
  7754.  
  7755.  
  7756. function loveydovey()
  7757. attack = true
  7758. local keptcolor = MAINRUINCOLOR
  7759. hum.WalkSpeed = 0
  7760. for i = 0, 5, 0.1 do
  7761. swait()
  7762. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1)
  7763. 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)),.1)
  7764. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7765. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
  7766. RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
  7767. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
  7768. end
  7769. CameraEnshaking(4,9)
  7770. sphere2(2,"Add",root.CFrame,vt(5,5,5),0.5,0.5,0.5,keptcolor)
  7771. sphere2(2,"Add",root.CFrame,vt(5,5,5),0.75,0.75,0.75,keptcolor)
  7772. sphere2(3,"Add",root.CFrame,vt(5,5,5),1,1,1,keptcolor)
  7773. sphere2(3,"Add",root.CFrame,vt(5,5,5),1.25,1.25,1.25,keptcolor)
  7774. sphere2(1,"Add",root.CFrame,vt(5,10000,5),0.5,0.5,0.5,keptcolor)
  7775. sphere2(2,"Add",root.CFrame,vt(5,10000,5),0.6,0.6,0.6,keptcolor)
  7776. CFuncs["Sound"].Create("rbxassetid://1368637781", char, 1.5,1.25)
  7777. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1.25)
  7778. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 1)
  7779. coroutine.resume(coroutine.create(function()
  7780. local eff = Instance.new("ParticleEmitter",root)
  7781. eff.Texture = "rbxassetid://363275192"
  7782. eff.LightEmission = 0.95
  7783. eff.Color = ColorSequence.new(keptcolor.Color)
  7784. eff.Rate = 10000
  7785. eff.Lifetime = NumberRange.new(1)
  7786. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  7787. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7788. eff.Speed = NumberRange.new(50,200)
  7789. eff.Drag = 5
  7790. eff.Rotation = NumberRange.new(-500,500)
  7791. eff.VelocitySpread = 9000
  7792. eff.RotSpeed = NumberRange.new(-50,50)
  7793. wait(0.5)
  7794. eff.Enabled = false
  7795. wait(5)
  7796. eff:Destroy()
  7797. end))
  7798. for i = 0, 24 do
  7799. slash(math.random(10,50)/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(250,500)/250,BrickColor.new("White"))
  7800. end
  7801. for i = 0, 49 do
  7802. local rsiz = math.random(70,90)
  7803. sphere2(math.random(1,4),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,1,5),-0.005,math.random(25,100)/25,-0.005,MAINRUINCOLOR)
  7804. end
  7805. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  7806. CFuncs["Sound"].Create("rbxassetid://543623779", root, 1.5,1)
  7807. newTheme("rbxassetid://728272672",0,1.02,1.25)
  7808. ModeOfGlitch = 9600000000
  7809. MAINRUINCOLOR = BrickColor.new("Hot pink")
  7810. for i = 0, 1, 0.2 do
  7811. swait()
  7812. RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  7813. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  7814. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
  7815. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(20),math.rad(0)),.8)
  7816. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(12),math.rad(0),math.rad(57)),.8)
  7817. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(13),math.rad(0),math.rad(-58)),.8)
  7818. end
  7819. for i = 0, 9, 0.1 do
  7820. swait()
  7821. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1)
  7822. 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)),.1)
  7823. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7824. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
  7825. RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
  7826. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
  7827. end
  7828. CameraEnshaking(2,11)
  7829. sphere2(2,"Add",root.CFrame,vt(5,5,5),0.75,0.75,0.75,BrickColor.new("Pink"))
  7830. sphere2(2,"Add",root.CFrame,vt(5,5,5),1,1,1,BrickColor.new("Pink"))
  7831. sphere2(3,"Add",root.CFrame,vt(5,5,5),1.25,1.25,1.25,MAINRUINCOLOR)
  7832. sphere2(3,"Add",root.CFrame,vt(5,5,5),1.5,1.5,1.5,MAINRUINCOLOR)
  7833. sphere2(1,"Add",root.CFrame,vt(5,10000,5),0.5,0.5,0.5,BrickColor.new("Pink"))
  7834. sphere2(2,"Add",root.CFrame,vt(5,10000,5),1,1,1,MAINRUINCOLOR)
  7835. CFuncs["Sound"].Create("rbxassetid://1368637781", char, 2,1)
  7836. CFuncs["Sound"].Create("rbxassetid://763717897", char, 3, 1.125)
  7837. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 3, 0.75)
  7838. for i = 0, 49 do
  7839. 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(250,500)/250,BrickColor.new("White"))
  7840. end
  7841. for i = 0, 49 do
  7842. local rsiz = math.random(70,90)
  7843. sphere2(math.random(1,4),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,1,5),-0.005,math.random(50,200)/25,-0.005,MAINRUINCOLOR)
  7844. sphereMK(math.random(1,2),math.random(1,3),"Add",root.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,BrickColor.new("Pink"),0)
  7845. end
  7846. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  7847. for i = 0, 1, 0.2 do
  7848. swait()
  7849. RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  7850. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  7851. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
  7852. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(20),math.rad(0)),.8)
  7853. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(12),math.rad(0),math.rad(57)),.8)
  7854. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(13),math.rad(0),math.rad(-58)),.8)
  7855. end
  7856. for i = 0, 1, 0.1 do
  7857. swait()
  7858. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1)
  7859. 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)),.1)
  7860. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7861. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
  7862. RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
  7863. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
  7864. end
  7865. CameraEnshaking(9,14)
  7866. sphere2(4,"Add",root.CFrame,vt(5,5,5),1,1,1,BrickColor.new("Pink"))
  7867. sphere2(4,"Add",root.CFrame,vt(5,5,5),2,2,2,BrickColor.new("Pink"))
  7868. sphere2(9,"Add",root.CFrame,vt(5,5,5),3,3,3,MAINRUINCOLOR)
  7869. sphere2(9,"Add",root.CFrame,vt(5,5,5),4,4,4,MAINRUINCOLOR)
  7870. CFuncs["Sound"].Create("rbxassetid://847061203", char, 3,0.5)
  7871. CFuncs["Sound"].Create("rbxassetid://763717897", char, 5, 0.75)
  7872. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 6, 0.5)
  7873. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 5, 1)
  7874. sphere2(1,"Add",root.CFrame,vt(5,5,5),2,2,2,BrickColor.new("Pink"))
  7875. sphere2(1,"Add",root.CFrame,vt(5,5,5),3,3,3,BrickColor.new("Pink"))
  7876. sphere2(1,"Add",root.CFrame,vt(5,5,5),4,4,4,BrickColor.new("Pink"))
  7877. sphere2(1,"Add",root.CFrame,vt(5,10000,5),2.5,2.5,2.5,BrickColor.new("Pink"))
  7878. sphere2(2,"Add",root.CFrame,vt(5,10000,5),3.5,3.5,3.5,MAINRUINCOLOR)
  7879. sphere2(1,"Add",root.CFrame,vt(5,5,5),8,8,8,BrickColor.new("Pink"))
  7880. sphere2(2,"Add",root.CFrame,vt(5,5,5),14,14,14,MAINRUINCOLOR)
  7881. sphere2(3,"Add",root.CFrame,vt(5,5,5),20,20,20,MAINRUINCOLOR)
  7882. for i = 0, 99 do
  7883. 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(250,2500)/250,BrickColor.new("White"))
  7884. end
  7885. for i = 0, 99 do
  7886. local rsiz = math.random(150,450)
  7887. sphere2(math.random(1,4),"Add",root.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(25,500)/25,-0.05,BrickColor.new("Pink"))
  7888. sphere2(math.random(1,2),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*CFrame.new(math.random(-350,350),math.random(-350,350),math.random(-350,350)),vt(1,1,1),-0.01,math.random(50,250)/10,-0.01,MAINRUINCOLOR)
  7889. sphereMK(math.random(1,2),math.random(4,6),"Add",root.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,BrickColor.new("Pink"),0)
  7890. end
  7891. coroutine.resume(coroutine.create(function()
  7892. local eff = Instance.new("ParticleEmitter",root)
  7893. eff.Texture = "rbxassetid://749327003"
  7894. eff.LightEmission = 1
  7895. eff.Color = ColorSequence.new(BrickColor.new("Pink").Color)
  7896. eff.Rate = 50000
  7897. eff.Lifetime = NumberRange.new(5)
  7898. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,60,0),NumberSequenceKeypoint.new(1,0.1,0)})
  7899. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7900. eff.Speed = NumberRange.new(250,1000)
  7901. eff.Drag = 5
  7902. eff.Rotation = NumberRange.new(-50,50)
  7903. eff.VelocitySpread = 9000
  7904. eff.RotSpeed = NumberRange.new(-50,50)
  7905. wait(0.5)
  7906. eff.Enabled = false
  7907. wait(5)
  7908. eff:Destroy()
  7909. end))
  7910. storehumanoidWS = 100
  7911. rainbowmode = false
  7912. chaosmode = false
  7913. RecolorTextAndRename("LOVE",BrickColor.new("Pink").Color,BrickColor.new("Hot pink").Color,"Cartoon")
  7914. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  7915. for i = 0, 2, 0.1 do
  7916. swait()
  7917. sphere2(math.random(1,2),"Add",root.CFrame*CFrame.new(math.random(-350,350),0,math.random(-350,350)),vt(5,1,5),-0.05,math.random(50,250)/50,-0.05,MAINRUINCOLOR)
  7918. RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  7919. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  7920. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
  7921. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15),math.rad(0),math.rad(0)),.8)
  7922. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.8)
  7923. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.8)
  7924. end
  7925. hum.WalkSpeed = storehumanoidWS
  7926. attack = false
  7927. end
  7928.  
  7929. function ascendAzure()
  7930. attack = true
  7931. hum.WalkSpeed = 0
  7932. newThemeCust("rbxassetid://739066292",0,1.01,1.5)
  7933. MAINRUINCOLOR = BrickColor.new("Magenta")
  7934. local vel = Instance.new("BodyPosition", root)
  7935. vel.P = 25000
  7936. vel.D = 1000
  7937. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  7938. vel.position = root.CFrame.p + vt(0,250,0)
  7939. CFuncs["Sound"].Create("rbxassetid://1295446488", char, 1.5, 1)
  7940. for i = 0, 49 do
  7941. slash(math.random(10,100)/10,3,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.05,0.01,0.05),math.random(25,500)/250,BrickColor.new("White"))
  7942. end
  7943. local efec = Instance.new("ParticleEmitter",root)
  7944. efec.Texture = "rbxassetid://2109052855"
  7945. efec.LightEmission = 1
  7946. efec.Color = ColorSequence.new(Color3.new(0.5,0,1))
  7947. efec.Rate = 5
  7948. efec.Lifetime = NumberRange.new(3)
  7949. efec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.2,60,0),NumberSequenceKeypoint.new(0.6,400,0),NumberSequenceKeypoint.new(0.8,300,0),NumberSequenceKeypoint.new(1,200,0)})
  7950. efec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.25,0),NumberSequenceKeypoint.new(0.6,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  7951. efec.Drag = 5
  7952. efec.LockedToPart = true
  7953. efec.Rotation = NumberRange.new(-500,500)
  7954. efec.VelocitySpread = 9000
  7955. efec.RotSpeed = NumberRange.new(-500,500)
  7956. local efec2 = efec:Clone()
  7957. efec2.LightEmission = 1
  7958. efec2.Texture = "rbxassetid://2092248396"
  7959. efec2.Parent = root
  7960. efec2.Rate = 10
  7961. efec2.Lifetime = NumberRange.new(2)
  7962. efec2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,175,0),NumberSequenceKeypoint.new(0.5,150,0),NumberSequenceKeypoint.new(0.8,500,0),NumberSequenceKeypoint.new(1,1000,0)})
  7963. efec2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7964. efec2.Speed = NumberRange.new(0)
  7965. efec2.RotSpeed = NumberRange.new(-100,100)
  7966. local efec3 = efec:Clone()
  7967. efec3.LightEmission = 1
  7968. efec3.Color = ColorSequence.new(Color3.new(0.75,0.5,1))
  7969. efec3.Texture = "rbxassetid://2273224484"
  7970. efec3.Parent = root
  7971. efec3.Rate = 10000
  7972. efec3.Drag = 5
  7973. efec3.LockedToPart = false
  7974. efec3.Lifetime = NumberRange.new(2)
  7975. efec3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.5,10,0),NumberSequenceKeypoint.new(0.8,15,0),NumberSequenceKeypoint.new(1,0,0)})
  7976. efec3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  7977. efec3.Speed = NumberRange.new(50,1550)
  7978. efec3.RotSpeed = NumberRange.new(-100,100)
  7979. for i = 0, 4, 0.1 do
  7980. swait()
  7981. hum.CameraOffset = vt(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30)
  7982. 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(-25)),.8)
  7983. 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(25)),.8)
  7984. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.8)
  7985. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(35),math.rad(0),math.rad(0)),.8)
  7986. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-57)),.8)
  7987. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(83),math.rad(0),math.rad(58)),.8)
  7988. end
  7989. local absval = 0
  7990. CFuncs["LongSound"].Create("rbxassetid://1368583274", char, 4.5, 0.2)
  7991. for i = 0, 50, 0.1 do
  7992. swait()
  7993. hum.CameraOffset = vt(math.random(-20,20)/10*absval/2,math.random(-20,20)/10*absval/2,math.random(-20,20)/10*absval/2)
  7994. absval = absval + 0.005
  7995. sphere2(4,"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),absval,absval,absval,MAINRUINCOLOR)
  7996. 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)
  7997. 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)
  7998. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  7999. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  8000. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  8001. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  8002. end
  8003. CFuncs["Sound"].Create("rbxassetid://824687369", char, 5, 0.6)
  8004. CFuncs["Sound"].Create("rbxassetid://824687369", char, 5, 0.7)
  8005. CFuncs["Sound"].Create("rbxassetid://824687369", char, 5, 0.8)
  8006. CFuncs["Sound"].Create("rbxassetid://289315275", char, 7.5, 1)
  8007. CFuncs["Sound"].Create("rbxassetid://419447292", char, 7, 1)
  8008. CFuncs["Sound"].Create("rbxassetid://419447292", char, 6.5, 0.8)
  8009. for i = 0, 99 do
  8010. local disr = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  8011. disr.CFrame = root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  8012. local at1 = Instance.new("Attachment",disr)
  8013. at1.Position = vt(-10,0,0)
  8014. local at2 = Instance.new("Attachment",disr)
  8015. at2.Position = vt(10,0,0)
  8016. local trl = Instance.new('Trail',disr)
  8017. trl.Attachment0 = at1
  8018. trl.FaceCamera = true
  8019. trl.Attachment1 = at2
  8020. trl.Texture = "rbxassetid://2325530138"
  8021. trl.LightEmission = 1
  8022. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  8023. trl.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8024. trl.Lifetime = 0.5
  8025. local bv = Instance.new("BodyVelocity")
  8026. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  8027. bv.velocity = disr.CFrame.lookVector*math.random(50,750)
  8028. bv.Parent = disr
  8029. local val = 0
  8030. coroutine.resume(coroutine.create(function()
  8031. swait(math.random(30,60))
  8032. for i = 0, 19 do
  8033. swait()
  8034. val = val + 0.05
  8035. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  8036. end
  8037. game:GetService("Debris"):AddItem(disr, 3)
  8038. end))
  8039. end
  8040. sphere2(4,"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),absval*2.5,absval*2.5,absval*2.5,MAINRUINCOLOR)
  8041. sphere2(4,"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),absval*5,absval*5,absval*5,MAINRUINCOLOR)
  8042. for i = 0, 25, 0.1 do
  8043. swait()
  8044. local disr = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  8045. disr.CFrame = root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  8046. local at1 = Instance.new("Attachment",disr)
  8047. at1.Position = vt(-10,0,0)
  8048. local at2 = Instance.new("Attachment",disr)
  8049. at2.Position = vt(10,0,0)
  8050. local trl = Instance.new('Trail',disr)
  8051. trl.Attachment0 = at1
  8052. trl.FaceCamera = true
  8053. trl.Attachment1 = at2
  8054. trl.Texture = "rbxassetid://2325530138"
  8055. trl.LightEmission = 1
  8056. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  8057. trl.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8058. trl.Lifetime = 0.5
  8059. local bv = Instance.new("BodyVelocity")
  8060. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  8061. bv.velocity = disr.CFrame.lookVector*math.random(50,750)
  8062. bv.Parent = disr
  8063. local val = 0
  8064. coroutine.resume(coroutine.create(function()
  8065. swait(30)
  8066. for i = 0, 9 do
  8067. swait()
  8068. val = val + 0.1
  8069. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  8070. end
  8071. game:GetService("Debris"):AddItem(disr, 3)
  8072. end))
  8073. hum.CameraOffset = vt(math.random(-20,20)/10*absval/2,math.random(-20,20)/10*absval/2,math.random(-20,20)/10*absval/2)
  8074. sphere2(4,"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),absval,absval,absval,MAINRUINCOLOR)
  8075. sphere2(4,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,5,15),-0.15,absval*5,-0.15,MAINRUINCOLOR)
  8076. 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)
  8077. 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)
  8078. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  8079. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  8080. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  8081. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  8082. end
  8083. efec.Enabled = false
  8084. efec2.Enabled = false
  8085. efec3.Enabled = false
  8086. CFuncs["Sound"].Create("rbxassetid://1368605755", char, 7.5, 1)
  8087. CFuncs["Sound"].Create("rbxassetid://763718160", char, 10, 0.5)
  8088. CFuncs["Sound"].Create("rbxassetid://763718160", char, 10, 0.25)
  8089. CFuncs["Sound"].Create("rbxassetid://782353443", char, 10, 1)
  8090. CFuncs["Sound"].Create("rbxassetid://782353443", char, 10, 0.75)
  8091. CFuncs["LongSound"].Create("rbxassetid://782353443", char, 10, 0.5)
  8092. CFuncs["LongSound"].Create("rbxassetid://782353443", char, 10, 0.25)
  8093. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 10, 1)
  8094. for i = 0, 2 do
  8095. CFuncs["Sound"].Create("rbxassetid://824687369", char, 10, 1)
  8096. CFuncs["Sound"].Create("rbxassetid://824687369", char, 10, 0.75)
  8097. end
  8098. for i = 0, 99 do
  8099. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  8100. 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)))
  8101. local at1 = Instance.new("Attachment",dis)
  8102. at1.Position = vt(-25000,0,0)
  8103. local at2 = Instance.new("Attachment",dis)
  8104. at2.Position = vt(25000,0,0)
  8105. local trl = Instance.new('Trail',dis)
  8106. trl.Attachment0 = at1
  8107. trl.FaceCamera = true
  8108. trl.Attachment1 = at2
  8109. trl.Texture = "rbxassetid://1049219073"
  8110. trl.LightEmission = 1
  8111. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  8112. trl.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8113. trl.Lifetime = 5
  8114. local bv = Instance.new("BodyVelocity")
  8115. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  8116. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  8117. bv.Parent = dis
  8118. game:GetService("Debris"):AddItem(dis, 10)
  8119. end
  8120. for i = 0, 49 do
  8121. sphere2(1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),0.1,absval*100,0.1,BrickColor.new("Royal purple"))
  8122. end
  8123. for i = 0, 3, 0.1 do
  8124. swait()
  8125. hum.CameraOffset = vt(math.random(-20,20)/5*absval,math.random(-20,20)/5*absval,math.random(-20,20)/5*absval)
  8126. sphere2(9,"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),absval+5,absval+5,absval+5,BrickColor.new("Royal purple"))
  8127. for i = 0, 4 do
  8128. slash(math.random(10,50)/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(absval/2,0.01,absval/2),math.random(50,5000)/100,BrickColor.new("Really black"))
  8129. end
  8130. 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)
  8131. 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)
  8132. 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)
  8133. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  8134. 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)
  8135. 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)
  8136. end
  8137. hum.CameraOffset = vt(0,0,0)
  8138. vel:Destroy()
  8139. efec:Destroy()
  8140. efec2:Destroy()
  8141. efec3:Destroy()
  8142. hum.WalkSpeed = 200
  8143. ModeOfGlitch = 2000000000
  8144. storehumanoidWS = 200
  8145. hum.WalkSpeed = 200
  8146. rainbowmode = false
  8147. chaosmode = false
  8148. RecolorTextAndRename("AZURE X",BrickColor.new("Dark indigo").Color,BrickColor.new("Magenta").Color,"Antique")
  8149. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark indigo"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  8150. attack = false
  8151. end
  8152.  
  8153. function SolarSystem()
  8154. attack = true
  8155. hum.WalkSpeed = 0
  8156. MAINRUINCOLOR = BrickColor.new("Bright orange")
  8157. newThemeCust("rbxassetid://318062185",0,1.01,1.5) --737063244,925278639
  8158. local vel = Instance.new("BodyPosition", root)
  8159. vel.P = 10000
  8160. vel.D = 1000
  8161. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  8162. vel.position = root.CFrame.p + vt(0,250,0)
  8163. CFuncs["Sound"].Create("rbxassetid://1295446488", char, 5, 0.5)
  8164. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 7.5, 0.5)
  8165. for i = 0, 49 do
  8166. slash(math.random(10,100)/10,3,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.05,0.01,0.05),math.random(25,500)/250,BrickColor.new("White"))
  8167. end
  8168. local efec = Instance.new("ParticleEmitter",root)
  8169. efec.Texture = "rbxassetid://2109052855"
  8170. efec.LightEmission = 1
  8171. efec.Color = ColorSequence.new(Color3.new(1,0.45,0))
  8172. efec.Rate = 5
  8173. efec.Lifetime = NumberRange.new(3)
  8174. efec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.2,60,0),NumberSequenceKeypoint.new(0.6,400,0),NumberSequenceKeypoint.new(0.8,300,0),NumberSequenceKeypoint.new(1,200,0)})
  8175. efec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.25,0),NumberSequenceKeypoint.new(0.6,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  8176. efec.Drag = 5
  8177. efec.LockedToPart = true
  8178. efec.Rotation = NumberRange.new(-500,500)
  8179. efec.VelocitySpread = 9000
  8180. efec.RotSpeed = NumberRange.new(-500,500)
  8181. local efec2 = efec:Clone()
  8182. efec2.LightEmission = 1
  8183. efec2.Texture = "rbxassetid://2092248396"
  8184. efec2.Parent = root
  8185. efec2.Rate = 10
  8186. efec2.Lifetime = NumberRange.new(2)
  8187. efec2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,175,0),NumberSequenceKeypoint.new(0.5,150,0),NumberSequenceKeypoint.new(0.8,500,0),NumberSequenceKeypoint.new(1,1000,0)})
  8188. efec2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  8189. efec2.Speed = NumberRange.new(0)
  8190. efec2.RotSpeed = NumberRange.new(-100,100)
  8191. local efec3 = efec:Clone()
  8192. efec3.LightEmission = 1
  8193. efec3.Color = ColorSequence.new(Color3.new(1,0.85,0.5))
  8194. efec3.Texture = "rbxassetid://2273224484"
  8195. efec3.Parent = root
  8196. efec3.Rate = 10000
  8197. efec3.Drag = 5
  8198. efec3.LockedToPart = false
  8199. efec3.Lifetime = NumberRange.new(2)
  8200. efec3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.5,10,0),NumberSequenceKeypoint.new(0.8,15,0),NumberSequenceKeypoint.new(1,0,0)})
  8201. efec3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  8202. efec3.Speed = NumberRange.new(50,1550)
  8203. efec3.RotSpeed = NumberRange.new(-100,100)
  8204. for x = 0, 10 do
  8205. for i = 0, 1, 0.6 do
  8206. swait()
  8207. hum.CameraOffset = vt(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30)
  8208. sphere2(4,"Add",sorb.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.1,0.1,0.1,MAINRUINCOLOR)
  8209. sphere2(4,"Add",sorb2.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.1,0.1,0.1,MAINRUINCOLOR)
  8210. RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  8211. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  8212. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.8)
  8213. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  8214. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.8)
  8215. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.8)
  8216. end
  8217. for i = 0, 1, 0.6 do
  8218. swait()
  8219. hum.CameraOffset = vt(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30)
  8220. sphere2(4,"Add",sorb.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.1,0.1,0.1,MAINRUINCOLOR)
  8221. sphere2(4,"Add",sorb2.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.1,0.1,0.1,MAINRUINCOLOR)
  8222. RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  8223. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  8224. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.8)
  8225. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  8226. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.8)
  8227. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.8)
  8228. end
  8229. for i = 0, 1, 0.6 do
  8230. swait()
  8231. hum.CameraOffset = vt(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30)
  8232. sphere2(4,"Add",sorb.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.1,0.1,0.1,MAINRUINCOLOR)
  8233. sphere2(4,"Add",sorb2.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.1,0.1,0.1,MAINRUINCOLOR)
  8234. RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  8235. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  8236. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.8)
  8237. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  8238. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.8)
  8239. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.8)
  8240. end
  8241. for i = 0, 1, 0.6 do
  8242. swait()
  8243. hum.CameraOffset = vt(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30)
  8244. sphere2(4,"Add",sorb.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.1,0.1,0.1,MAINRUINCOLOR)
  8245. sphere2(4,"Add",sorb2.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.1,0.1,0.1,MAINRUINCOLOR)
  8246. RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  8247. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  8248. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.8)
  8249. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  8250. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.8)
  8251. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.8)
  8252. end
  8253. end
  8254. local absval = 0
  8255. CFuncs["Sound"].Create("rbxassetid://1368583274", char, 7.5, 0.25)
  8256. CFuncs["LongSound"].Create("rbxassetid://1368583274", char, 7.5, 0.5)
  8257. for i = 0, 40, 0.1 do
  8258. swait()
  8259. hum.CameraOffset = vt(math.random(-20,20)/10*absval/2,math.random(-20,20)/10*absval/2,math.random(-20,20)/10*absval/2)
  8260. absval = absval + 0.01
  8261. slash(math.random(50,100)/10,2,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(absval*2,0.01,absval*2),math.random(10,100)/1000,BrickColor.new("Bright orange"))
  8262. slash(math.random(10,100)/10,2,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(absval/3,0.01,absval/3),math.random(50,100)/100,BrickColor.new("Deep orange"))
  8263. for i = 0, 1 do
  8264. sphere2(4,"Add",root.CFrame*CFrame.new(math.random(-absval*200,absval*200),math.random(-25,25),math.random(-absval*200,absval*200)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
  8265. end
  8266. sphere2(4,"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),absval,absval,absval,MAINRUINCOLOR)
  8267. sphere2(4,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,5,15),-0.15,absval*5,-0.15,MAINRUINCOLOR)
  8268. 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)
  8269. 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)
  8270. 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)
  8271. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  8272. 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)
  8273. 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)
  8274. end
  8275. for i = 0, 25, 0.1 do
  8276. swait()
  8277. hum.CameraOffset = vt(math.random(-20,20)/10*absval/2,math.random(-20,20)/10*absval/2,math.random(-20,20)/10*absval/2)
  8278. slash(math.random(50,100)/10,2,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(absval*2,0.01,absval*2),math.random(10,100)/1000,BrickColor.new("Bright orange"))
  8279. slash(math.random(10,100)/10,2,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(absval/3,0.01,absval/3),math.random(50,100)/100,BrickColor.new("Deep orange"))
  8280. for i = 0, 1 do
  8281. sphere2(4,"Add",root.CFrame*CFrame.new(math.random(-absval*200,absval*200),math.random(-25,25),math.random(-absval*200,absval*200)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
  8282. end
  8283. sphere2(4,"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),absval,absval,absval,MAINRUINCOLOR)
  8284. sphere2(4,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,5,15),-0.15,absval*5,-0.15,MAINRUINCOLOR)
  8285. 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)
  8286. 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)
  8287. 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)
  8288. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  8289. 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)
  8290. 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)
  8291. end
  8292. efec.Enabled = false
  8293. efec2.Enabled = false
  8294. efec3.Enabled = false
  8295. CFuncs["Sound"].Create("rbxassetid://1368637781", char, 5, 0.25)
  8296. CFuncs["Sound"].Create("rbxassetid://1368637781", char, 5, 0.5)
  8297. CFuncs["Sound"].Create("rbxassetid://1368637781", char, 5, 0.75)
  8298. CFuncs["Sound"].Create("rbxassetid://1368637781", char, 7.5, 1)
  8299. CFuncs["Sound"].Create("rbxassetid://1368605755", char, 7.5, 1)
  8300. CFuncs["Sound"].Create("rbxassetid://763718160", char, 10, 0.5)
  8301. CFuncs["Sound"].Create("rbxassetid://763718160", char, 10, 0.25)
  8302. CFuncs["Sound"].Create("rbxassetid://782353443", char, 10, 1)
  8303. CFuncs["Sound"].Create("rbxassetid://782353443", char, 10, 0.75)
  8304. CFuncs["LongSound"].Create("rbxassetid://782353443", char, 10, 0.5)
  8305. CFuncs["LongSound"].Create("rbxassetid://782353443", char, 10, 0.25)
  8306. for i = 0, 2 do
  8307. CFuncs["Sound"].Create("rbxassetid://763717897", char, 10, 0.5)
  8308. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 10, 1)
  8309. end
  8310. for i = 0, 99 do
  8311. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  8312. 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)))
  8313. local at1 = Instance.new("Attachment",dis)
  8314. at1.Position = vt(-25000,0,0)
  8315. local at2 = Instance.new("Attachment",dis)
  8316. at2.Position = vt(25000,0,0)
  8317. local trl = Instance.new('Trail',dis)
  8318. trl.Attachment0 = at1
  8319. trl.FaceCamera = true
  8320. trl.Attachment1 = at2
  8321. trl.Texture = "rbxassetid://1049219073"
  8322. trl.LightEmission = 1
  8323. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  8324. trl.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8325. trl.Lifetime = 5
  8326. local bv = Instance.new("BodyVelocity")
  8327. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  8328. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  8329. bv.Parent = dis
  8330. game:GetService("Debris"):AddItem(dis, 15)
  8331. end
  8332. for i = 0, 49 do
  8333. sphere2(1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),-0.1,absval*100,-0.1,MAINRUINCOLOR)
  8334. end
  8335. for i = 0, 9, 0.1 do
  8336. swait()
  8337. hum.CameraOffset = vt(math.random(-20,20)/5*absval,math.random(-20,20)/5*absval,math.random(-20,20)/5*absval)
  8338. sphere2(9,"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),absval+5,absval+5,absval+5,MAINRUINCOLOR)
  8339. for i = 0, 4 do
  8340. slash(math.random(10,50)/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(absval/2,0.01,absval/2),math.random(50,5000)/100,BrickColor.new("Deep orange"))
  8341. end
  8342. 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)
  8343. 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)
  8344. 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)
  8345. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  8346. 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)
  8347. 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)
  8348. end
  8349. hum.CameraOffset = vt(0,0,0)
  8350. vel:Destroy()
  8351. efec:Destroy()
  8352. efec2:Destroy()
  8353. efec3:Destroy()
  8354. ModeOfGlitch = 5000000000
  8355. storehumanoidWS = 200
  8356. hum.WalkSpeed = 200
  8357. rainbowmode = false
  8358. chaosmode = false
  8359. RecolorTextAndRename("SOL",Color3.new(1,0.75,0),Color3.new(1,0.35,0),"Antique")
  8360. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  8361. hum.WalkSpeed = 200
  8362. attack = false
  8363. end
  8364.  
  8365.  
  8366. -------------------------------------
  8367.  
  8368. Humanoid.Animator.Parent = nil
  8369.  
  8370. Character.Animate:Destroy()
  8371.  
  8372. -------------------------------------
  8373.  
  8374. local attacktype = 1
  8375. mouse.Button1Down:connect(function()
  8376. if attack == false and attacktype == 1 then
  8377. attacktype = 2
  8378. attackone()
  8379. elseif attack == false and attacktype == 2 then
  8380. attacktype = 3
  8381. attacktwo()
  8382. elseif attack == false and attacktype == 3 then
  8383. attacktype = 1
  8384. attackthree()
  8385. elseif attack == false and attacktype == 4 then
  8386. attacktype = 1
  8387. --attackfour()
  8388. end
  8389. end)
  8390.  
  8391. local OVMID = 1554894079
  8392. local OVMPIT = 1
  8393. local OVMVOL = 1
  8394. mouse.KeyDown:connect(function(k)
  8395. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  8396. --resetmode()
  8397. ModeOfGlitch = 1
  8398. storehumanoidWS = 16
  8399. hum.WalkSpeed = 16
  8400. hum.JumpPower = 50
  8401. rainbowmode = false
  8402. chaosmode = false
  8403. RecolorTextAndRename("Enlightened",Color3.new(1,1,1),Color3.new(0.75,0.75,0.75),"Code")
  8404. newTheme("rbxassetid://603567552",0,1.02,1.25)
  8405. MAINRUINCOLOR = BrickColor.new("White")
  8406. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8407. end
  8408. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  8409. ModeOfGlitch = 2
  8410. storehumanoidWS = 16
  8411. hum.WalkSpeed = 16
  8412. rainbowmode = false
  8413. chaosmode = false
  8414. RecolorTextAndRename("Azure",Color3.new(0,0,0),BrickColor.new("Bright violet").Color,"Code")
  8415. newTheme("rbxassetid://2027652726",0,1.01,1.25)
  8416. MAINRUINCOLOR = BrickColor.new("Bright violet")
  8417. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8418. end
  8419. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  8420. ModeOfGlitch = 3
  8421. storehumanoidWS = 16
  8422. hum.WalkSpeed = 16
  8423. rainbowmode = false
  8424. chaosmode = false
  8425. RecolorTextAndRename("BINARY",Color3.new(0,0,0),Color3.new(0,1,0),"SciFi")
  8426. newTheme("rbxassetid://2041343402",0,1.01,1.25)
  8427. MAINRUINCOLOR = BrickColor.new("Lime green")
  8428. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8429. end
  8430. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  8431. ModeOfGlitch = 4
  8432. storehumanoidWS = 16
  8433. hum.WalkSpeed = 16
  8434. rainbowmode = false
  8435. chaosmode = false
  8436. RecolorTextAndRename("Luna",Color3.new(0,0,0.25),BrickColor.new("Bright yellow").Color,"SourceSansBold")
  8437. newTheme("rbxassetid://2022787645",0,1.02,1.25)
  8438. MAINRUINCOLOR = BrickColor.new("Navy blue")
  8439. RecolorThing(MAINRUINCOLOR,BrickColor.new("Bright yellow"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8440. end
  8441. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  8442. ModeOfGlitch = 5
  8443. storehumanoidWS = 16
  8444. hum.WalkSpeed = 16
  8445. rainbowmode = false
  8446. chaosmode = false
  8447. RecolorTextAndRename("Blaze",Color3.new(1,0.5,0),Color3.new(1,1,0),"Fantasy")
  8448. newTheme("rbxassetid://318890513",0,1.01,1.25)
  8449. MAINRUINCOLOR = BrickColor.new("Deep orange")
  8450. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8451. end
  8452. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  8453. ModeOfGlitch = 6
  8454. storehumanoidWS = 100
  8455. hum.WalkSpeed = 100
  8456. rainbowmode = false
  8457. chaosmode = false
  8458. RecolorTextAndRename("GALACTIC",Color3.new(0,0,0.5),Color3.new(0.75,1,1),"Fantasy")
  8459. newTheme("rbxassetid://604910909",0,1.02,1.25)
  8460. MAINRUINCOLOR = BrickColor.new("Pastel light blue")
  8461. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8462. end
  8463. if k == "f" and attack == false and ModeOfGlitch ~= 7 then
  8464. ModeOfGlitch = 7
  8465. storehumanoidWS = 175
  8466. hum.WalkSpeed = 175
  8467. rainbowmode = false
  8468. chaosmode = false
  8469. RecolorTextAndRename("HYPERSPEED",BrickColor.new("Cyan").Color,BrickColor.new("Toothpaste").Color,"Arcade")
  8470. newTheme("rbxassetid://2011847746",0,1.01,1.25)
  8471. MAINRUINCOLOR = BrickColor.new("Cyan")
  8472. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8473. end
  8474. if k == "g" and attack == false and ModeOfGlitch ~= 8 then
  8475. ModeOfGlitch = 8
  8476. storehumanoidWS = 100
  8477. hum.WalkSpeed = 100
  8478. rainbowmode = false
  8479. chaosmode = false
  8480. RecolorTextAndRename("CHAOTIC",BrickColor.new("Really red").Color,BrickColor.new("Bright red").Color,"Antique")
  8481. newTheme("rbxassetid://603566564",0,1.01,1.65)
  8482. MAINRUINCOLOR = BrickColor.new("Really red")
  8483. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8484. end
  8485. if k == "h" and attack == false and ModeOfGlitch ~= 9 then
  8486. ModeOfGlitch = 9
  8487. storehumanoidWS = 135
  8488. hum.WalkSpeed = 135
  8489. rainbowmode = false
  8490. chaosmode = false
  8491. RecolorTextAndRename("Visualiser",BrickColor.new("Medium stone grey").Color,BrickColor.new("Black").Color,"Arcade")
  8492. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  8493. MAINRUINCOLOR = BrickColor.new("Medium stone grey")
  8494. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  8495. end
  8496. if k == "m" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 1000000000 and plr.Name == "dasd5755" then
  8497. ModeOfGlitch = 1000000000
  8498. storehumanoidWS = 350
  8499. hum.WalkSpeed = 350
  8500. rainbowmode = false
  8501. chaosmode = false
  8502. RecolorTextAndRename("DARKNESS",Color3.new(0,0,0),BrickColor.new("Really black").Color,"Antique")
  8503. newTheme("rbxassetid://577543579",0,1,1.25)
  8504. MAINRUINCOLOR = BrickColor.new("Really black")
  8505. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  8506. end
  8507. if k == "j" and attack == false and ModeOfGlitch ~= 9600000000 and plr.Name == "dasd5755" then
  8508. loveydovey()
  8509. end
  8510. if k == "m" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 6000000000 and plr.Name == "dasd5755" then
  8511. UnknownA()
  8512. elseif k == "m" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 5000000000 and plr.Name == "dasd5755" then
  8513. SolarSystem()
  8514. elseif k == "m" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 2000000000 and plr.Name == "dasd5755" then
  8515. ascendAzure()
  8516. end
  8517. if k == "b" and ModeOfGlitch == 6000000000 and attack == false then
  8518. harmonytaunty()
  8519. elseif k == "b" and ModeOfGlitch == 9 and attack == false then
  8520. vistaunty()
  8521. elseif k == "b" and ModeOfGlitch == 9600000000 and attack == false then
  8522. shytaunty()
  8523. end
  8524. if k == "z" and ModeOfGlitch == 1 and attack == false then
  8525. Beams()
  8526. elseif k == "z" and ModeOfGlitch == 2 and attack == false then
  8527. smiter()
  8528. elseif k == "z" and ModeOfGlitch == 2000000000 and attack == false then
  8529. supsmiter()
  8530. elseif k == "z" and ModeOfGlitch == 3 and attack == false then
  8531. BinaryE()
  8532. elseif k == "z" and ModeOfGlitch == 4 and attack == false then
  8533. elseif k == "z" and ModeOfGlitch == 5 and attack == false then
  8534. Crossfire()
  8535. elseif k == "z" and ModeOfGlitch == 6 and attack == false then
  8536. GalacticalBeams()
  8537. elseif k == "z" and ModeOfGlitch == 7 and attack == false then
  8538. WarpedDash()
  8539. elseif k == "z" and ModeOfGlitch == 8 and attack == false then
  8540. elseif k == "z" and ModeOfGlitch == 9 and attack == false then
  8541. end
  8542. if k == "x" and ModeOfGlitch == 3 and attack == false then
  8543. BinaryBLINK()
  8544. end
  8545. if k == "v" and ModeOfGlitch == 2 and attack == false then
  8546. SingularityVoid()
  8547. elseif k == "v" and ModeOfGlitch == 8 and attack == false then
  8548. BeamOfDeath()
  8549. elseif k == "v" and ModeOfGlitch == 2000000000 and attack == false then
  8550. AzureVANISHMENT()
  8551. end
  8552. if k == "l" and mutedtog == false then
  8553. mutedtog = true
  8554. kan.Volume = 0
  8555. elseif k == "l" and mutedtog == true then
  8556. mutedtog = false
  8557. kan.Volume = 1.25
  8558. end
  8559. if k == "p" and toggleTag == false then
  8560. toggleTag = true
  8561. modet.TextTransparency = 0
  8562. modet.TextStrokeTransparency = 0
  8563. elseif k == "p" and toggleTag == true then
  8564. toggleTag = false
  8565. modet.TextTransparency = 1
  8566. modet.TextStrokeTransparency = 1
  8567. end
  8568. end)
  8569.  
  8570. local sunval = 0.01
  8571. coroutine.resume(coroutine.create(function()
  8572. while true do
  8573. for i = 0, 199 do
  8574. swait()
  8575. sunval = sunval + 0.00005
  8576. end
  8577. for i = 0, 199 do
  8578. swait()
  8579. sunval = sunval - 0.00005
  8580. end
  8581. end
  8582. end))
  8583. plr.Chatted:connect(function(message)
  8584. if ModeOfGlitch == 9 then
  8585. if message:sub(1,5) == "play/" then
  8586. OVMID = message:sub(6)
  8587. newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  8588. elseif message:sub(1,6) == "pitch/" then
  8589. OVMPIT = message:sub(7)
  8590. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  8591. elseif message:sub(1,4) == "vol/" then
  8592. OVMVOL = message:sub(5)
  8593. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  8594. elseif message:sub(1,7) == "skipto/" then
  8595. chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  8596. newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL)
  8597. elseif message:sub(1,9) == "telltime/" then
  8598. chatfunc("Current time pos: "..math.floor(kan.TimePosition).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  8599. end
  8600. end
  8601. end)
  8602. local rotperm = 0
  8603. coroutine.resume(coroutine.create(function()
  8604. while true do
  8605. swait()
  8606. if ModeOfGlitch == 1 or ModeOfGlitch == 2 or ModeOfGlitch == 3 or ModeOfGlitch == 4 or ModeOfGlitch == 5 or ModeOfGlitch == 6 or ModeOfGlitch == 7 or ModeOfGlitch == 8 or ModeOfGlitch == 1000000000 or ModeOfGlitch == 5000000000 or ModeOfGlitch == 2000000000 or ModeOfGlitch == 6000000000 or ModeOfGlitch == 9600000000 then
  8607. sphereMK(7.5,math.random(15,50)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,10,-0.0075,MAINRUINCOLOR,0)
  8608. coroutine.resume(coroutine.create(function()
  8609. if ModeOfGlitch == 5000000000 then
  8610. sphere2(25,"Add",sorb2.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),sunval,sunval,sunval,MAINRUINCOLOR)
  8611. end
  8612. end))
  8613. elseif ModeOfGlitch == 9 and kan.PlaybackLoudness >= 50 then
  8614. swait(25 - kan.PlaybackLoudness/80)
  8615. sphere2(4,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),0.25,0,0.25,MAINRUINCOLOR)
  8616. if kan.PlaybackLoudness >= 300 then
  8617. CameraEnshaking(1,3)
  8618. for i = 0, 4 do
  8619. sphereMK(5,math.random(15,35)/150,"Add",root.CFrame*CFrame.new(math.random(-15,15),-10,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))),1,1,20,-0.01,MAINRUINCOLOR,0)
  8620. end
  8621. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),0.5,0,0.5,MAINRUINCOLOR)
  8622. end
  8623. local notsp = Instance.new("Part", char)
  8624. notsp.CanCollide = false
  8625. notsp.FormFactor = 3
  8626. notsp.Name = "Ring"
  8627. notsp.Material = "Neon"
  8628. notsp.Size = Vector3.new(10, 1, 10)
  8629. if kan.PlaybackLoudness >= 300 then
  8630. notsp.Size = Vector3.new(25, 1, 25)
  8631. end
  8632. notsp.Transparency = 1
  8633. notsp.TopSurface = 0
  8634. notsp.BottomSurface = 0
  8635. notsp.Anchored = true
  8636. notsp.CFrame = root.CFrame*CFrame.new(0,-3,0)
  8637. coroutine.resume(coroutine.create(function()
  8638. local eff = Instance.new("ParticleEmitter",notsp)
  8639. eff.Texture = "rbxassetid://288898235"
  8640. eff.LightEmission = 0.5
  8641. eff.Color = ColorSequence.new(Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000))
  8642. eff.Rate = 300
  8643. eff.Lifetime = NumberRange.new(1)
  8644. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,0,0)})
  8645. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  8646. eff.Speed = NumberRange.new(20,40)
  8647. eff.Acceleration = vt(0,-75,0)
  8648. eff.Drag = 1
  8649. eff.Rotation = NumberRange.new(-10,10)
  8650. eff.VelocitySpread = 20
  8651. eff.RotSpeed = NumberRange.new(-1,1)
  8652. coroutine.resume(coroutine.create(function()
  8653. while true do
  8654. swait()
  8655. if eff.Parent ~= nil then
  8656. if ModeOfGlitch == 9 then
  8657. eff.Color = ColorSequence.new(Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000))
  8658. elseif ModeOfGlitch ~= 9 then
  8659. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8660. end
  8661. else
  8662. break
  8663. end
  8664. end
  8665. end))
  8666. wait(0.1)
  8667. eff.Enabled = false
  8668. end))
  8669. game:GetService("Debris"):AddItem(notsp, 5)
  8670. end
  8671. end
  8672. end))
  8673.  
  8674.  
  8675. Humanoid.Name = "GGLITCHER"
  8676. Humanoid.MaxHealth = math.huge
  8677. Humanoid.Health = math.huge
  8678. Instance.new("ForceField",char).Visible = false
  8679.  
  8680. idleanim=.4
  8681. while true do
  8682. Humanoid.MaxHealth = math.huge
  8683. Humanoid.Health = math.huge
  8684. if mutedtog == false and duringend == false then
  8685. kan.Volume = currentVol
  8686. elseif mutedtog == true and duringend == false then
  8687. kan.Volume = 0
  8688. end
  8689. if duringend == false then
  8690. kan.PlaybackSpeed = currentPitch
  8691. kan.Pitch = currentPitch
  8692. end
  8693. kan.SoundId = currentThemePlaying
  8694. kan.Looped = true
  8695. kan.Parent = char
  8696. kan:Resume()
  8697. modet.Rotation = - 5 * math.cos(sine / 32)
  8698. techc.Rotation = techc.Rotation + 1
  8699. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1
  8700. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1
  8701. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50
  8702. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25
  8703. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  8704. imgca.Rotation = imgca.Rotation + kan.PlaybackLoudness/50 + 1
  8705. bguis.Size = UDim2.new(15 + 1 * math.cos(sine / 30),0, 15 + 1 * math.cos(sine / 30),0)
  8706. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  8707. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  8708.  
  8709. swait()
  8710. if Anim ~= "Run" then
  8711. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8712. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8713. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 6 * math.cos(sine / 180),0.25 + 9 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 + 3600 * math.cos(sine / 360))),.3)
  8714. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 6 * math.cos(sine / 180),0.25 + 9 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 + 3600 * math.cos(sine / 360))),.3)
  8715. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 6 * math.cos(sine / 180),0.25 + 9 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 + 3600 * math.cos(sine / 360))),.3)
  8716. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 6 * math.cos(sine / 360),-0.25 - 0 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 - 3600 * math.cos(sine / 720))),.3)
  8717. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 6 * math.cos(sine / 360),-0.25 - 0 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 - 3600 * math.cos(sine / 720))),.3)
  8718. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 6 * math.cos(sine / 360),-0.25 - 0 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 - 3600 * math.cos(sine / 720))),.3)
  8719. else
  8720. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8721. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8722. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 6 * math.cos(sine / 180),0.25 + 9 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 + 3600 * math.cos(sine / 360))),.3)
  8723. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 6 * math.cos(sine / 180),0.25 + 9 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 + 3600 * math.cos(sine / 360))),.3)
  8724. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 6 * math.cos(sine / 180),0.25 + 9 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 + 3600 * math.cos(sine / 360))),.3)
  8725. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 6 * math.cos(sine / 360),-0.25 - 0 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 - 3600 * math.cos(sine / 720))),.3)
  8726. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 6 * math.cos(sine / 360),-0.25 - 0 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 - 3600 * math.cos(sine / 720))),.3)
  8727. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 6 * math.cos(sine / 360),-0.25 - 0 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 - 3600 * math.cos(sine / 720))),.3)
  8728. end
  8729. --------------- Visualiser Zone
  8730. if ModeOfGlitch == 9 then
  8731. modet.TextColor3 = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  8732. for i, v in pairs(mw2:GetChildren()) do
  8733. if v:IsA("Part") then
  8734. v.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  8735. v.Material = "Neon"
  8736. end
  8737. end
  8738. for i, v in pairs(mw1:GetChildren()) do
  8739. if v:IsA("Part") then
  8740. v.Transparency = 0
  8741. v.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  8742. v.Material = "Neon"
  8743. end
  8744. end
  8745. end
  8746. ---------------
  8747. sine = sine + change
  8748. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  8749. local velderp=RootPart.Velocity.y
  8750. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  8751. coroutine.resume(coroutine.create(function()
  8752. if ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 6000000000 or ModeOfGlitch == 2000000000 or ModeOfGlitch == 1000000000 or ModeOfGlitch == 5000000000 then
  8753. if hitfloor ~= nil then
  8754. if ModeOfGlitch ~= 1000000000 and ModeOfGlitch ~= 5000000000 then
  8755. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,50)/250,BrickColor.new("White"))
  8756. elseif ModeOfGlitch == 1000000000 then
  8757. slash(math.random(25,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,85)/250,BrickColor.new("Really black"))
  8758. elseif ModeOfGlitch == 5000000000 then
  8759. slash(math.random(25,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-3,3)),math.rad(math.random(-360,360)),math.rad(math.random(-3,3))),vt(0.01,0.01,0.01),math.random(15,125)/250,BrickColor.new("Deep orange"))
  8760. end
  8761. end
  8762. end
  8763. end))
  8764. if equipped==true or equipped==false then
  8765. if attack==false then
  8766. idle=idle+1
  8767. else
  8768. idle=0
  8769. end
  8770. if idle>=500 then
  8771. if attack==false then
  8772. --Sheath()
  8773. end
  8774. end
  8775. if RootPart.Velocity.y > 1 and hitfloor==nil then
  8776. Anim="Jump"
  8777. if attack==false then
  8778. 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)
  8779. 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)
  8780. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-tors.Velocity.Y/6),math.rad(0),math.rad(0)),.1)
  8781. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  8782. 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)
  8783. 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)
  8784. end
  8785. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  8786. Anim="Fall"
  8787. if attack==false then
  8788. 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)
  8789. 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)
  8790. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-tors.Velocity.Y/6),math.rad(0),math.rad(0)),.1)
  8791. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  8792. 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)
  8793. 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)
  8794. end
  8795. elseif torvel<1 and hitfloor~=nil then
  8796. Anim="Idle"
  8797. if attack==false then
  8798. if ModeOfGlitch == 1 then
  8799. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-10 + 2 * math.cos(sine / 43)),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  8800. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  8801. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(10 - 2 * math.cos(sine / 43))),.1)
  8802. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 - 2 * math.cos(sine / 47)),math.rad(-10 + 2 * math.cos(sine / 43))),.1)
  8803. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 3 * math.cos(sine / 48)),math.rad(-20 - 4 * math.cos(sine / 53)),math.rad(15 - 3 * math.cos(sine / 38))),.1)
  8804. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-10 + 2 * math.cos(sine / 45)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 39))),.1)
  8805. elseif ModeOfGlitch == 2 then
  8806. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.03 * math.cos(sine / 45),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-7.5 + 3 * math.cos(sine / 45)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  8807. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.03 * math.cos(sine / 45),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5 - 3 * math.cos(sine / 45)),math.rad(5),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  8808. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.03 * math.cos(sine / 45),0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0 + 3 * math.cos(sine / 45)),math.rad(0)),.1)
  8809. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 2.5 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 99)),math.rad(0 + 10 * math.cos(sine / 78))),.1)
  8810. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15 + 5 * math.cos(sine / 33)),math.rad(15 + 6 * math.cos(sine / 38)),math.rad(-10 - 3 * math.cos(sine / 42))),.1)
  8811. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 5 * math.cos(sine / 28))),.1)
  8812. elseif ModeOfGlitch == 3 then
  8813. 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(-5 - 2 * math.cos(sine / 34))),.1)
  8814. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(20 - 2 * math.cos(sine / 72)),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  8815. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 72))),.1)
  8816. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 + 4 * math.cos(sine / 55)),math.rad(20 - 2 * math.cos(sine / 72))),.1)
  8817. RW.C0=clerp(RW.C0,cf(1.15,0.5 + 0.1 * math.cos(sine / 28),0.25)*angles(math.rad(-22 + 2 * math.cos(sine / 38)),math.rad(0),math.rad(-15 - 2 * math.cos(sine / 41))),.1)
  8818. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 - 6 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 46)),math.rad(-20 + 5 * math.cos(sine / 34))),.1)
  8819. elseif ModeOfGlitch == 4 then
  8820. 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(-5),math.rad(0 - 3 * math.cos(sine / 34))),.1)
  8821. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(10 + 3 * math.cos(sine / 34))),.1)
  8822. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(25)),.1)
  8823. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0 + 2 * math.cos(sine / 57)),math.rad(-25)),.1)
  8824. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 5 * math.cos(sine / 34)),math.rad(0),math.rad(21 + 6 * math.cos(sine / 28))),.1)
  8825. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-5 + 5 * math.cos(sine / 43)),math.rad(10 - 5 * math.cos(sine / 27)),math.rad(-5 - 3 * math.cos(sine / 36))),.1)
  8826. elseif ModeOfGlitch == 5 then
  8827. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1 + 4 * math.cos(sine / 50)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  8828. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5 - 4 * math.cos(sine / 50)),math.rad(18),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  8829. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.04 * math.cos(sine / 50),0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 + 4 * math.cos(sine / 50)),math.rad(-18)),.1)
  8830. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(-5 - 2.5 * math.cos(sine / 57)),math.rad(18)),.1)
  8831. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(36 - 3 * math.cos(sine / 34)),math.rad(0 - 2 * math.cos(sine / 45)),math.rad(-80 + 2 * math.cos(sine / 28))),.1)
  8832. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(46 + 3 * math.cos(sine / 49)),math.rad(10 + 2 * math.cos(sine / 52)),math.rad(80 - 3 * math.cos(sine / 39))),.1)
  8833. elseif ModeOfGlitch == 6 then
  8834. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-10 + 4 * math.cos(sine / 34))),.1)
  8835. 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 + 2 * math.cos(sine / 34))),.1)
  8836. 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(-5 - 2 * math.cos(sine / 53))),.1)
  8837. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(2 + 3 * math.cos(sine / 41)),math.rad(5 + 2 * math.cos(sine / 53))),.1)
  8838. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-2 - 4 * math.cos(sine / 28)),math.rad(0),math.rad(14 + 8 * math.cos(sine / 28))),.1)
  8839. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(5 + 3 * math.cos(sine / 46)),math.rad(10 + 5 * math.cos(sine / 52)),math.rad(-15 - 6 * math.cos(sine / 28))),.1)
  8840. elseif ModeOfGlitch == 7 then
  8841. 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(1),math.rad(0 - 1 * math.cos(sine / 34))),.1)
  8842. 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(5),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  8843. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.01 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  8844. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0 + 1 * math.cos(sine / 71)),math.rad(0)),.1)
  8845. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(4 - 4 * math.cos(sine / 28)),math.rad(-8),math.rad(10 - 5 * math.cos(sine / 34))),.1)
  8846. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(5),math.rad(5),math.rad(5)),.1)
  8847. elseif ModeOfGlitch == 8 or ModeOfGlitch == 1000000000 then
  8848. 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)
  8849. 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)
  8850. 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)
  8851. 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)
  8852. 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)
  8853. 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)
  8854. elseif ModeOfGlitch == 9 then
  8855. 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)
  8856. 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)
  8857. 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(30)),.4)
  8858. 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(-30)),.4)
  8859. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(40 + 5 * math.cos(sine / 34) + kan.PlaybackLoudness/7.5),math.rad(0),math.rad(28 - 2 * math.cos(sine / 38))),.4)
  8860. 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)
  8861. elseif ModeOfGlitch == 2000000000 then
  8862. 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)
  8863. 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 + 3 * math.cos(sine / 34))),.1)
  8864. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(2 + 3 * math.cos(sine / 34)),math.rad(0),math.rad(34 - 3 * math.cos(sine / 54))),.1)
  8865. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 4 * math.cos(sine / 28)),math.rad(0 - 1 * math.cos(sine / 44)),math.rad(-34 + 3 * math.cos(sine / 54))),.1)
  8866. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(12 + 5 * math.cos(sine / 62)),math.rad(30 + 5 * math.cos(sine / 48)),math.rad(19 + 6 * math.cos(sine / 36))),.1)
  8867. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 3 * math.cos(sine / 65)),math.rad(6 + 3 * math.cos(sine / 57)),math.rad(-20 - 7 * math.cos(sine / 36))),.1)
  8868. elseif ModeOfGlitch == 5000000000 then
  8869. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-16 + 4 * math.cos(sine / 34))),.1)
  8870. 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(10),math.rad(11 + 2 * math.cos(sine / 34))),.1)
  8871. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(-6 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(-25 - 4 * math.cos(sine / 53))),.1)
  8872. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(0 + 10 * math.cos(sine / 79)),math.rad(25 + 4 * math.cos(sine / 53))),.1)
  8873. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-2 - 4 * math.cos(sine / 28)),math.rad(-20),math.rad(18 + 8 * math.cos(sine / 28))),.1)
  8874. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(170 + 3 * math.cos(sine / 46)),math.rad(10 + 5 * math.cos(sine / 52)),math.rad(-10 - 2 * math.cos(sine / 28))),.1)
  8875. elseif ModeOfGlitch == 6000000000 then
  8876. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-15 + 6 * math.cos(sine / 34))),.1)
  8877. 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(7.5 - 4 * math.cos(sine / 47))),.1)
  8878. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(-1 + 4 * math.cos(sine / 62))),.1)
  8879. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 28)),math.rad(5 - 6 * math.cos(sine / 79)),math.rad(1 - 4 * math.cos(sine / 62))),.1)
  8880. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.01 * math.cos(sine / 28),-0.65)*angles(math.rad(38 + 2 * math.cos(sine / 33)),math.rad(0),math.rad(-95 - 3 * math.cos(sine / 28))),.1)
  8881. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.01 * math.cos(sine / 28),-0.65)*angles(math.rad(45 - 3 * math.cos(sine / 37)),math.rad(0),math.rad(80 + 5 * math.cos(sine / 30))),.1)
  8882. elseif ModeOfGlitch == 9600000000 then
  8883. 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)
  8884. 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)
  8885. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),-0.05 + 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)
  8886. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5 - 2.5 * math.cos(sine / 28)),math.rad(10 + 5 * math.cos(sine / 62)),math.rad(17 + 5 * math.cos(sine / 59))),.1)
  8887. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 3 * math.cos(sine / 53)),math.rad(0),math.rad(-37 + 2 * math.cos(sine / 37))),.1)
  8888. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(23 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(38 - 3 * math.cos(sine / 57) )),.1)
  8889. end
  8890. end
  8891. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  8892. Anim="Walk"
  8893. if attack==false then
  8894. if ModeOfGlitch ~= 9600000000 then
  8895. 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)
  8896. 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)
  8897. 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)
  8898. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8))),.1)
  8899. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
  8900. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
  8901. elseif ModeOfGlitch == 9600000000 then
  8902. 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 + 10 * math.cos(sine / 8)),math.rad(0 + 65 * math.cos(sine / 8))),.1)
  8903. 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 + 10 * math.cos(sine / 8)),math.rad(0 + 65 * math.cos(sine / 8))),.1)
  8904. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.1,-0.05 + 0.05 * math.cos(sine / 4))*angles(math.rad(15 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 10 * math.cos(sine / 8))),.1)
  8905. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15 + 3 * math.cos(sine / 4)),math.rad(0 - 10 * math.cos(sine / 8)),math.rad(0 - hed.RotVelocity.Y*2.5 + 10 * math.cos(sine / 8))),.1)
  8906. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 80 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
  8907. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 80 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
  8908. end
  8909. end
  8910. elseif torvel>=22 and hitfloor~=nil then
  8911. Anim="Run"
  8912. if attack==false then
  8913. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 1000000000 and ModeOfGlitch ~= 2000000000 and ModeOfGlitch ~= 6000000000 and ModeOfGlitch ~= 5000000000 then
  8914. 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)
  8915. 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)
  8916. 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)
  8917. 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)
  8918. 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)
  8919. 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)
  8920. if ModeOfGlitch == 7 or ModeOfGlitch == 9600000000 then
  8921. sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),8)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,20,-0.0075,MAINRUINCOLOR,0)
  8922. --sphereMK(3,0,"Add",root.CFrame*CFrame.new(0,0,8)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,5,20,-0.0075,MAINRUINCOLOR,0)
  8923. end
  8924. elseif ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 1000000000 or ModeOfGlitch == 2000000000 or ModeOfGlitch == 6000000000 or ModeOfGlitch == 5000000000 then
  8925. 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)
  8926. 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)
  8927. 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)
  8928. 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)
  8929. 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)
  8930. 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)
  8931. end
  8932. end
  8933. end
  8934. end
  8935. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement