Advertisement
Dasd5755

cytus wing edit

Dec 31st, 2018
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 413.72 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,0,0)
  712. imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
  713. imgl2.Size = UDim2.new(0,1000,0,1000)
  714. imgl2.Image = "rbxassetid://2076458450"
  715. local techc = Instance.new("ImageLabel",fullscreenz)
  716. techc.BackgroundTransparency = 1
  717. techc.BorderSizePixel = 0
  718. techc.ImageTransparency = 0.5
  719. techc.ImageColor3 = Color3.new(1,0,0)
  720. techc.Position = UDim2.new(0.75,-200,0.55,-200)
  721. techc.Size = UDim2.new(0,1000,0,1000)
  722. techc.Image = "rbxassetid://2092248396"
  723. local circl = imgl2:Clone()
  724. circl.Parent = fullscreenz
  725. circl.ImageTransparency = 0
  726. circl.Size = UDim2.new(0,550,0,550)
  727. circl.Position = UDim2.new(0.75,25,0.55,25)
  728. circl.ImageColor3 = Color3.new(0,0,0)
  729. circl.Image = "rbxassetid://2109045978"
  730. local circl2 = imgl2:Clone()
  731. circl2.Parent = fullscreenz
  732. circl2.ImageTransparency = 0
  733. circl2.Size = UDim2.new(0,700,0,700)
  734. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  735. circl2.ImageColor3 = Color3.new(1,0,0)
  736. circl2.Image = "rbxassetid://2312119891"
  737. local imgl2b = imgl2:Clone()
  738. imgl2b.Parent = fullscreenz
  739. imgl2b.ImageTransparency = 0
  740. imgl2b.Size = UDim2.new(0,800,0,800)
  741. imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
  742. imgl2b.ImageColor3 = Color3.new(0,0,0)
  743. local ned = Instance.new("TextLabel",fullscreenz)
  744. ned.ZIndex = 2
  745. ned.Font = "Arcade"
  746. ned.BackgroundTransparency = 1
  747. ned.BorderSizePixel = 0.65
  748. ned.Size = UDim2.new(0.3,0,0.2,0)
  749. ned.Position = UDim2.new(0.7,0,0.8,0)
  750. ned.TextColor3 = BrickColor.new("Really red").Color
  751. ned.TextStrokeColor3 = BrickColor.new("Really black").Color
  752. ned.TextScaled = true
  753. ned.TextStrokeTransparency = 0
  754. ned.Text = "Dasd5755 Glitcher Loaded"
  755. ned.TextSize = 24
  756. ned.Rotation = 1
  757. ned.TextXAlignment = "Right"
  758. ned.TextYAlignment = "Bottom"
  759. local wobble = Instance.new("Frame",basgui)
  760. wobble.Name = "Wobble"
  761. wobble.BackgroundTransparency = 0.5
  762. wobble.Size = UDim2.new(1.1,0,1.1,0)
  763. wobble.Position = UDim2.new(-0.08,0,0.943,0)
  764. local wobble2 = Instance.new("Frame",basgui)
  765. wobble2.Name = "wobble2"
  766. wobble2.BackgroundTransparency = 0.5
  767. wobble2.Size = UDim2.new(1.1,0,0.09,0)
  768. wobble2.Position = UDim2.new(-0.08,0,0.878,0)
  769. local Visuals = Instance.new("Frame",basgui)
  770. Visuals.Name = "Visuals"
  771. Visuals.BackgroundTransparency = 0.3
  772. Visuals.Size = UDim2.new(0,100,0,100)
  773. Visuals.Position = UDim2.new(0.462,0,0.826,0)
  774. local glow = Instance.new("ImageLabel",basgui)
  775. glow.Name = "glow"
  776. glow.BackgroundTransparency = 1
  777. glow.ImageTransparency = 0
  778. glow.Image = "rbxassetid://2344870656"
  779. glow.Size = UDim2.new(0,0,0,0)
  780. glow.Position = UDim2.new(0.026,0,-0.235,0)
  781. local Visuals2 = Instance.new("Frame",basgui)
  782. Visuals2.Name = "Visuals2"
  783. Visuals2.BackgroundTransparency = 0.3
  784. Visuals2.Size = UDim2.new(0,50,0,50)
  785. Visuals2.Position = UDim2.new(0.48,0,0.867,0) -- {0.476, 0},{0.901, 0}
  786. local TextFrame = Instance.new("TextLabel",basgui)
  787. TextFrame.Name = "Farmer"
  788. TextFrame.Font = "Arcade"
  789. TextFrame.Text = "Dasd5755 Glitcher"
  790. TextFrame.TextSize = 60
  791. TextFrame.BackgroundTransparency = 1
  792. TextFrame.Size = UDim2.new(0,42,0,42)
  793. TextFrame.Position = UDim2.new(0.48,0,0.867,0) -- {0.476, 0},{0.867, 0}
  794. -- local TextFrame2 = Instance.new("TextLabel",basgui)
  795. -- TextFrame2.Name = "Farmer3"
  796. -- TextFrame2.Font = "Arcade"
  797. -- TextFrame2.Text = ""
  798. -- TextFrame2.TextXAlignment = "Center"
  799. -- TextFrame2.TextSize = 40
  800. -- TextFrame2.BackgroundTransparency = 1
  801. -- TextFrame2.Size = UDim2.new(0,1367,0,42)
  802. -- TextFrame2.Position = UDim2.new(0,0,0,0) -- {0.476, 0},{0.901, 0}
  803. local DamageFrame = Instance.new("TextLabel",basgui)
  804. DamageFrame.Name = "Farmer2"
  805. DamageFrame.Font = "SciFi"
  806. DamageFrame.Text = "Damage = Enabled"
  807. DamageFrame.TextSize = 30
  808. DamageFrame.BackgroundTransparency = 1
  809. DamageFrame.TextStrokeTransparency = 0
  810. DamageFrame.Size = UDim2.new(0,42,0,42)
  811. DamageFrame.Rotation = 15
  812. DamageFrame.Position = UDim2.new(0.069,0,0.91,0) -- {0.476, 0},{0.901, 0}
  813. local ModeFrame = Instance.new("TextLabel",basgui)
  814. ModeFrame.Name = "Farmer5000"
  815. ModeFrame.Font = "SciFi"
  816. ModeFrame.Text = "Side:Dasd5755"
  817. ModeFrame.TextSize = 30
  818. ModeFrame.BackgroundTransparency = 1
  819. ModeFrame.TextStrokeTransparency = 0
  820. ModeFrame.Size = UDim2.new(0,42,0,42)
  821. ModeFrame.Rotation = 15
  822. ModeFrame.Position = UDim2.new(0.069,0,0.86,0) -- {0.476, 0},{0.901, 0}
  823.  
  824. local extrawingmod1 = Instance.new("Model",char)
  825. local extrawingmod2 = Instance.new("Model",char)
  826.  
  827. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  828. local p = Instance.new("Part")
  829. p.TopSurface = 0
  830. p.BottomSurface = 0
  831. p.Parent = parent
  832. p.Size = Vector3.new(0.1,0.1,0.1)
  833. p.Transparency = transparency
  834. p.Reflectance = reflectance
  835. p.CanCollide = false
  836. p.Locked = true
  837. p.BrickColor = brickcolor
  838. p.Material = material
  839. return p
  840. end
  841.  
  842. function CreateMesh(parent,meshtype,x1,y1,z1)
  843. local mesh = Instance.new("SpecialMesh",parent)
  844. mesh.MeshType = meshtype
  845. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  846. return mesh
  847. end
  848.  
  849. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  850. local mesh = Instance.new("SpecialMesh",parent)
  851. mesh.MeshType = "FileMesh"
  852. mesh.MeshId = meshid
  853. mesh.Scale = Vector3.new(x1,y1,z1)
  854. return mesh
  855. end
  856.  
  857.  
  858. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  859. local mesh = Instance.new("SpecialMesh",parent)
  860. mesh.MeshType = "FileMesh"
  861. mesh.MeshId = meshid
  862. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  863. mesh.Scale = Vector3.new(x1,y1,z1)
  864. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  865. return mesh
  866. end
  867.  
  868. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  869. local weld = Instance.new("Weld")
  870. weld.Parent = parent
  871. weld.Part0 = part0
  872. weld.Part1 = part1
  873. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  874. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  875. return weld
  876. end
  877.  
  878.  
  879. --------------
  880. --------------
  881. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  882. 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))
  883. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  884. 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))
  885.  
  886. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  887. CreateMesh(handle,"Brick",0,0,0)
  888. 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))
  889. local valuaring = 10
  890. for i = 0, 49 do
  891. valuaring = valuaring + 10
  892. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  893. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  894. 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))
  895. end
  896.  
  897. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  898. CreateMesh(handle,"Brick",0,0,0)
  899. 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))
  900. local valuaring = 10
  901. for i = 0, 49 do
  902. valuaring = valuaring + 10
  903. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  904. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  905. 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))
  906. end
  907.  
  908.  
  909. local handle = CreateParta(m,1,1,"Neon",maincolor)
  910. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  911. 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))
  912.  
  913. --- Left wing.
  914.  
  915. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  916. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  917. 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))
  918.  
  919. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  920. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  921. 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))
  922. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  923. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  924. 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))
  925. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  926. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  927. 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))
  928. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  929. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  930. 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))
  931. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  932. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  933. 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))
  934. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  935. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  936. 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))
  937. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  938. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  939. 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))
  940. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  941. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  942. 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))
  943. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  944. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  945. 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))
  946. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  947. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  948. 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))
  949.  
  950.  
  951. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  952. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  953. 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))
  954.  
  955. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  956. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  957. 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))
  958. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  959. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  960. 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))
  961. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  962. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  963. 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))
  964. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  965. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  966. 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))
  967. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  968. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  969. 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))
  970. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  971. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  972. 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))
  973. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  974. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  975. 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))
  976. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  977. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  978. 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))
  979. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  980. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  981. 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))
  982. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  983. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  984. 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))
  985.  
  986. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  987. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  988. 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))
  989.  
  990. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  991. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  992. 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))
  993. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  994. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  995. 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))
  996. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  997. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  998. 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))
  999. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1000. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1001. 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))
  1002. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1003. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1004. 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))
  1005. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1006. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1007. 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))
  1008. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1009. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  1010. 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))
  1011. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1012. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  1013. 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))
  1014. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1015. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  1016. 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))
  1017. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1018. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  1019. 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))
  1020.  
  1021. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1022. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1023. 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))
  1024.  
  1025. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1026. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1027. 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))
  1028. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1029. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1030. 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))
  1031. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1032. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1033. 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))
  1034. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1035. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1036. 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))
  1037.  
  1038. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1039. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1040. 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))
  1041.  
  1042. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1043. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1044. 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))
  1045. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1046. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1047. 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))
  1048. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1049. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1050. 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))
  1051. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1052. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1053. 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))
  1054.  
  1055. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1056. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1057. 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))
  1058.  
  1059. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1060. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1061. 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))
  1062. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1063. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1064. 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))
  1065. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1066. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1067. 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))
  1068. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1069. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1070. 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))
  1071.  
  1072. -- Right wing.
  1073.  
  1074. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1075. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1076. 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))
  1077.  
  1078. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1079. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1080. 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))
  1081. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1082. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1083. 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))
  1084. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1085. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1086. 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))
  1087. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1088. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1089. 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))
  1090. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1091. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1092. 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))
  1093. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1094. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1095. 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))
  1096. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1097. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  1098. 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))
  1099. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1100. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  1101. 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))
  1102. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1103. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  1104. 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))
  1105. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1106. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  1107. 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))
  1108.  
  1109. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1110. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1111. 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))
  1112.  
  1113. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1114. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1115. 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))
  1116. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1117. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1118. 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))
  1119. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1120. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1121. 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))
  1122. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1123. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1124. 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))
  1125. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1126. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1127. 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))
  1128. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1129. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1130. 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))
  1131. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1132. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  1133. 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))
  1134. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1135. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  1136. 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))
  1137. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1138. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  1139. 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))
  1140. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1141. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  1142. 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))
  1143.  
  1144. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1145. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1146. 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))
  1147.  
  1148.  
  1149. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1150. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1151. 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))
  1152. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1153. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1154. 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))
  1155. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1156. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1157. 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))
  1158. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1159. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1160. 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))
  1161. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1162. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1163. 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))
  1164. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1165. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1166. 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))
  1167. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1168. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  1169. 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))
  1170. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1171. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  1172. 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))
  1173. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1174. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  1175. 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))
  1176. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1177. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  1178. 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))
  1179.  
  1180.  
  1181. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1182. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1183. 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))
  1184.  
  1185. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1186. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1187. 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))
  1188. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1189. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1190. 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))
  1191. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1192. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1193. 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))
  1194. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1195. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1196. 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))
  1197.  
  1198. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1199. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1200. 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))
  1201.  
  1202. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1203. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1204. 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))
  1205. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1206. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1207. 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))
  1208. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1209. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1210. 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))
  1211. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1212. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1213. 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))
  1214.  
  1215. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1216. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1217. 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))
  1218.  
  1219. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1220. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1221. 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))
  1222. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1223. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1224. 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))
  1225. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1226. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1227. 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))
  1228. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1229. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1230. 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))
  1231.  
  1232. ---- HERES THE RING
  1233.  
  1234.  
  1235. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1236. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1237. 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))
  1238. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1239. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1240. 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))
  1241. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1242. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1243. 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))
  1244.  
  1245.  
  1246. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1247. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1248. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1249.  
  1250. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1251. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1252. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1253.  
  1254.  
  1255.  
  1256. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1257. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1258. 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))
  1259.  
  1260. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1261. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1262. 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))
  1263.  
  1264. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1265. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1266. 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))
  1267.  
  1268. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1269. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1270. 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))
  1271. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1272. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1273. 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))
  1274.  
  1275. --- second ring
  1276.  
  1277. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1278. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1279. 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))
  1280. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1281. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1282. 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))
  1283. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1284. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1285. 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))
  1286.  
  1287. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1288. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1289. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1290.  
  1291. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1292. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1293. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1294.  
  1295.  
  1296.  
  1297. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1298. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1299. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1300.  
  1301. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1302. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1303. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1304.  
  1305. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1306. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1307. 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))
  1308.  
  1309. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1310. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1311. 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))
  1312. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1313. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1314. 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))]]--
  1315.  
  1316.  
  1317.  
  1318. for i, v in pairs(m:GetChildren()) do
  1319. if v:IsA("Part") then
  1320. v.BrickColor = BrickColor.new("Really black")
  1321. v.Material = "Glass"
  1322. end
  1323. end
  1324. for i, v in pairs(m2:GetChildren()) do
  1325. if v:IsA("Part") then
  1326. v.BrickColor = BrickColor.new("Crimson")
  1327. v.Material = "Granite"
  1328. end
  1329. end
  1330. for i, v in pairs(m3:GetChildren()) do
  1331. if v:IsA("Part") then
  1332. v.BrickColor = BrickColor.new("Really red")
  1333. v.Material = "Neon"
  1334. end
  1335. end
  1336. for i, v in pairs(mw2:GetChildren()) do
  1337. if v:IsA("Part") then
  1338. v.BrickColor = BrickColor.new("Really red")
  1339. v.Material = "Neon"
  1340. end
  1341. end
  1342. for i, v in pairs(mw1:GetChildren()) do
  1343. if v:IsA("Part") then
  1344. v.Transparency = 1
  1345. v.BrickColor = BrickColor.new("Really red")
  1346. v.Material = "Neon"
  1347. end
  1348. end
  1349. for i, v in pairs(extrawingmod1:GetChildren()) do
  1350. if v:IsA("Part") then
  1351. v.Transparency = 1
  1352. v.BrickColor = BrickColor.new("White")
  1353. v.Material = "Neon"
  1354. end
  1355. end
  1356. for i, v in pairs(extrawingmod2:GetChildren()) do
  1357. if v:IsA("Part") then
  1358. v.Transparency = 1
  1359. v.BrickColor = BrickColor.new("White")
  1360. v.Material = "Neon"
  1361. end
  1362. end
  1363. local MAINRUINCOLOR = BrickColor.new("Really red")
  1364. ------
  1365.  
  1366.  
  1367. function RemoveOutlines(part)
  1368. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1369. end
  1370. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1371. local Part = Create("Part")({
  1372. Parent = Parent,
  1373. Reflectance = Reflectance,
  1374. Transparency = Transparency,
  1375. CanCollide = false,
  1376. Locked = true,
  1377. BrickColor = BrickColor.new(tostring(BColor)),
  1378. Name = Name,
  1379. Size = Size,
  1380. Material = Material
  1381. })
  1382. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1383. RemoveOutlines(Part)
  1384. return Part
  1385. end
  1386. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1387. local Msh = Create(Mesh)({
  1388. Parent = Part,
  1389. Offset = OffSet,
  1390. Scale = Scale
  1391. })
  1392. if Mesh == "SpecialMesh" then
  1393. Msh.MeshType = MeshType
  1394. Msh.MeshId = MeshId
  1395. end
  1396. return Msh
  1397. end
  1398. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1399. local Weld = Create("Weld")({
  1400. Parent = Parent,
  1401. Part0 = Part0,
  1402. Part1 = Part1,
  1403. C0 = C0,
  1404. C1 = C1
  1405. })
  1406. return Weld
  1407. end
  1408.  
  1409. Character=Player.Character
  1410. PlayerGui=Player.PlayerGui
  1411. Backpack=Player.Backpack
  1412. Torso=Character.Torso
  1413. Head=Character.Head
  1414. Humanoid=Character.Humanoid
  1415. m=Instance.new('Model',Character)
  1416. LeftArm=Character["Left Arm"]
  1417. LeftLeg=Character["Left Leg"]
  1418. RightArm=Character["Right Arm"]
  1419. RightLeg=Character["Right Leg"]
  1420. LS=Torso["Left Shoulder"]
  1421. LH=Torso["Left Hip"]
  1422. RS=Torso["Right Shoulder"]
  1423. RH=Torso["Right Hip"]
  1424. Face = Head.face
  1425. Neck=Torso.Neck
  1426. it=Instance.new
  1427. attacktype=1
  1428. vt=Vector3.new
  1429. cf=CFrame.new
  1430. euler=CFrame.fromEulerAnglesXYZ
  1431. angles=CFrame.Angles
  1432. cloaked=false
  1433. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1434. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1435. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1436. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1437. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1438. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1439. RootPart=Character.HumanoidRootPart
  1440. RootJoint=RootPart.RootJoint
  1441. RootCF=euler(-1.57,0,3.14)
  1442. attack = false
  1443. attackdebounce = false
  1444. deb=false
  1445. equipped=true
  1446. hand=false
  1447. combo=0
  1448. mana=0
  1449. trispeed=.2
  1450. attackmode='none'
  1451. local idle=0
  1452. local Anim="Idle"
  1453. local Effects={}
  1454. local gun=false
  1455. local shoot=false
  1456. local sine = 0
  1457. local change = 1
  1458.  
  1459. function RecolorTextAndRename(name,col1,col2,font)
  1460. modet.TextStrokeColor3 = col2
  1461. modet.TextColor3 = col1
  1462. modet.Font = font
  1463. modet.Text = name
  1464. techc.ImageColor3 = col2
  1465. circl.ImageColor3 = col2
  1466. circl2.ImageColor3 = col1
  1467. imgl2.ImageColor3 = col1
  1468. imgl2b.ImageColor3 = col2
  1469. ned.Text = name
  1470. ned.TextColor3 = col1
  1471. ned.TextStrokeColor3 = col2
  1472. end
  1473. --save shoulders
  1474. RSH, LSH=nil, nil
  1475. --welds
  1476. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1477. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1478. LH=Torso["Left Hip"]
  1479. RH=Torso["Right Hip"]
  1480. TorsoColor=Torso.BrickColor
  1481. function NoOutline(Part)
  1482. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1483. end
  1484. ch=Character
  1485. RSH=ch.Torso["Right Shoulder"]
  1486. LSH=ch.Torso["Left Shoulder"]
  1487. --
  1488. RSH.Parent=nil
  1489. LSH.Parent=nil
  1490. --
  1491. RW.Name="Right Shoulder"
  1492. RW.Part0=ch.Torso
  1493. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1494. RW.C1=cf(0, 0.5, 0)
  1495. RW.Part1=ch["Right Arm"]
  1496. RW.Parent=ch.Torso
  1497. --
  1498. LW.Name="Left Shoulder"
  1499. LW.Part0=ch.Torso
  1500. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1501. LW.C1=cf(0, 0.5, 0)
  1502. LW.Part1=ch["Left Arm"]
  1503. LW.Parent=ch.Torso
  1504.  
  1505. local Stats=Instance.new("BoolValue")
  1506. Stats.Name="Stats"
  1507. Stats.Parent=Character
  1508. local Atk=Instance.new("NumberValue")
  1509. Atk.Name="Damage"
  1510. Atk.Parent=Stats
  1511. Atk.Value=1
  1512. local Def=Instance.new("NumberValue")
  1513. Def.Name="Defense"
  1514. Def.Parent=Stats
  1515. Def.Value=1
  1516. local Speed=Instance.new("NumberValue")
  1517. Speed.Name="Speed"
  1518. Speed.Parent=Stats
  1519. Speed.Value=1
  1520. local Mvmt=Instance.new("NumberValue")
  1521. Mvmt.Name="Movement"
  1522. Mvmt.Parent=Stats
  1523. Mvmt.Value=1
  1524.  
  1525. local donum=0
  1526.  
  1527.  
  1528. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1529. local fp=it("Part")
  1530. fp.formFactor=formfactor
  1531. fp.Parent=parent
  1532. fp.Reflectance=reflectance
  1533. fp.Transparency=transparency
  1534. fp.CanCollide=false
  1535. fp.Locked=true
  1536. fp.BrickColor=brickcolor
  1537. fp.Name=name
  1538. fp.Size=size
  1539. fp.Position=Torso.Position
  1540. NoOutline(fp)
  1541. fp.Material="SmoothPlastic"
  1542. fp:BreakJoints()
  1543. return fp
  1544. end
  1545.  
  1546. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1547. local mesh=it(Mesh)
  1548. mesh.Parent=part
  1549. if Mesh=="SpecialMesh" then
  1550. mesh.MeshType=meshtype
  1551. if meshid~="nil" then
  1552. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1553. end
  1554. end
  1555. mesh.Offset=offset
  1556. mesh.Scale=scale
  1557. return mesh
  1558. end
  1559.  
  1560. function weld(parent,part0,part1,c0)
  1561. local weld=it("Weld")
  1562. weld.Parent=parent
  1563. weld.Part0=part0
  1564. weld.Part1=part1
  1565. weld.C0=c0
  1566. return weld
  1567. end
  1568.  
  1569. local Color1=Torso.BrickColor
  1570.  
  1571. local bodvel=Instance.new("BodyVelocity")
  1572. local bg=Instance.new("BodyGyro")
  1573.  
  1574. --------- SazEreno's Artificial HB --------------
  1575. ArtificialHB = Instance.new("BindableEvent", script)
  1576. ArtificialHB.Name = "ArtificialHB"
  1577.  
  1578. script:WaitForChild("ArtificialHB")
  1579. Frame_Speed = 1 / 60
  1580. frame = Frame_Speed
  1581. tf = 0
  1582. allowframeloss = false
  1583. tossremainder = false
  1584. lastframe = tick()
  1585. script.ArtificialHB:Fire()
  1586.  
  1587. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1588. tf = tf + s
  1589. if tf >= frame then
  1590. if allowframeloss then
  1591. script.ArtificialHB:Fire()
  1592. lastframe = tick()
  1593. else
  1594. for i = 1, math.floor(tf / frame) do
  1595. script.ArtificialHB:Fire()
  1596. end
  1597. lastframe = tick()
  1598. end
  1599. if tossremainder then
  1600. tf = 0
  1601. else
  1602. tf = tf - frame * math.floor(tf / frame)
  1603. end
  1604. end
  1605. end)
  1606.  
  1607. ------------------
  1608. function swait(num)
  1609. function swait(num)
  1610. if num==0 or num==nil then
  1611. game:service'RunService'.Stepped:wait(0)
  1612. else
  1613. for i=0,num do
  1614. game:service'RunService'.Stepped:wait(0)
  1615. end
  1616. end
  1617. end
  1618. end
  1619.  
  1620. -------- RAINBOW LEAVE IT TO ME
  1621. local r = 255
  1622. local g = 0
  1623. local b = 0
  1624. coroutine.resume(coroutine.create(function()
  1625. while wait() do
  1626. for i = 0, 254/5 do
  1627. swait()
  1628. g = g + 5
  1629. end
  1630. for i = 0, 254/5 do
  1631. swait()
  1632. r = r - 5
  1633. end
  1634. for i = 0, 254/5 do
  1635. swait()
  1636. b = b + 5
  1637. end
  1638. for i = 0, 254/5 do
  1639. swait()
  1640. g = g - 5
  1641. end
  1642. for i = 0, 254/5 do
  1643. swait()
  1644. r = r + 5
  1645. end
  1646. for i = 0, 254/5 do
  1647. swait()
  1648. b = b - 5
  1649. end
  1650. end
  1651. end))
  1652.  
  1653.  
  1654. so = function(id,par,vol,pit)
  1655. coroutine.resume(coroutine.create(function()
  1656. local sou = Instance.new("Sound",par or workspace)
  1657. sou.Volume=vol
  1658. sou.Pitch=pit or 1
  1659. sou.SoundId=id
  1660. swait()
  1661. sou:play()
  1662. game:GetService("Debris"):AddItem(sou,6)
  1663. end))
  1664. end
  1665.  
  1666. function clerp(a,b,t)
  1667. local qa = {QuaternionFromCFrame(a)}
  1668. local qb = {QuaternionFromCFrame(b)}
  1669. local ax, ay, az = a.x, a.y, a.z
  1670. local bx, by, bz = b.x, b.y, b.z
  1671. local _t = 1-t
  1672. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1673. end
  1674.  
  1675. function QuaternionFromCFrame(cf)
  1676. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1677. local trace = m00 + m11 + m22
  1678. if trace > 0 then
  1679. local s = math.sqrt(1 + trace)
  1680. local recip = 0.5/s
  1681. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1682. else
  1683. local i = 0
  1684. if m11 > m00 then
  1685. i = 1
  1686. end
  1687. if m22 > (i == 0 and m00 or m11) then
  1688. i = 2
  1689. end
  1690. if i == 0 then
  1691. local s = math.sqrt(m00-m11-m22+1)
  1692. local recip = 0.5/s
  1693. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1694. elseif i == 1 then
  1695. local s = math.sqrt(m11-m22-m00+1)
  1696. local recip = 0.5/s
  1697. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1698. elseif i == 2 then
  1699. local s = math.sqrt(m22-m00-m11+1)
  1700. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1701. end
  1702. end
  1703. end
  1704.  
  1705. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1706. local xs, ys, zs = x + x, y + y, z + z
  1707. local wx, wy, wz = w*xs, w*ys, w*zs
  1708. local xx = x*xs
  1709. local xy = x*ys
  1710. local xz = x*zs
  1711. local yy = y*ys
  1712. local yz = y*zs
  1713. local zz = z*zs
  1714. 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))
  1715. end
  1716.  
  1717. function QuaternionSlerp(a, b, t)
  1718. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1719. local startInterp, finishInterp;
  1720. if cosTheta >= 0.0001 then
  1721. if (1 - cosTheta) > 0.0001 then
  1722. local theta = math.acos(cosTheta)
  1723. local invSinTheta = 1/math.sin(theta)
  1724. startInterp = math.sin((1-t)*theta)*invSinTheta
  1725. finishInterp = math.sin(t*theta)*invSinTheta
  1726. else
  1727. startInterp = 1-t
  1728. finishInterp = t
  1729. end
  1730. else
  1731. if (1+cosTheta) > 0.0001 then
  1732. local theta = math.acos(-cosTheta)
  1733. local invSinTheta = 1/math.sin(theta)
  1734. startInterp = math.sin((t-1)*theta)*invSinTheta
  1735. finishInterp = math.sin(t*theta)*invSinTheta
  1736. else
  1737. startInterp = t-1
  1738. finishInterp = t
  1739. end
  1740. end
  1741. 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
  1742. end
  1743.  
  1744. local function CFrameFromTopBack(at, top, back)
  1745. local right = top:Cross(back)
  1746. return CFrame.new(at.x, at.y, at.z,
  1747. right.x, top.x, back.x,
  1748. right.y, top.y, back.y,
  1749. right.z, top.z, back.z)
  1750. end
  1751.  
  1752. function Triangle(a, b, c)
  1753. local edg1 = (c-a):Dot((b-a).unit)
  1754. local edg2 = (a-b):Dot((c-b).unit)
  1755. local edg3 = (b-c):Dot((a-c).unit)
  1756. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1757. a, b, c = a, b, c
  1758. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1759. a, b, c = b, c, a
  1760. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1761. a, b, c = c, a, b
  1762. else
  1763. assert(false, "unreachable")
  1764. end
  1765.  
  1766. local len1 = (c-a):Dot((b-a).unit)
  1767. local len2 = (b-a).magnitude - len1
  1768. local width = (a + (b-a).unit*len1 - c).magnitude
  1769.  
  1770. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1771.  
  1772. local list = {}
  1773.  
  1774. if len1 > 0.01 then
  1775. local w1 = Instance.new('WedgePart', m)
  1776. game:GetService("Debris"):AddItem(w1,5)
  1777. w1.Material = "SmoothPlastic"
  1778. w1.FormFactor = 'Custom'
  1779. w1.BrickColor = BrickColor.new("Really red")
  1780. w1.Transparency = 0
  1781. w1.Reflectance = 0
  1782. w1.Material = "SmoothPlastic"
  1783. w1.CanCollide = false
  1784. local l1 = Instance.new("PointLight",w1)
  1785. l1.Color = Color3.new(170,0,0)
  1786. NoOutline(w1)
  1787. local sz = Vector3.new(0.2, width, len1)
  1788. w1.Size = sz
  1789. local sp = Instance.new("SpecialMesh",w1)
  1790. sp.MeshType = "Wedge"
  1791. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1792. w1:BreakJoints()
  1793. w1.Anchored = true
  1794. w1.Parent = workspace
  1795. w1.Transparency = 0.7
  1796. table.insert(Effects,{w1,"Disappear",.01})
  1797. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1798. table.insert(list,w1)
  1799. end
  1800.  
  1801. if len2 > 0.01 then
  1802. local w2 = Instance.new('WedgePart', m)
  1803. game:GetService("Debris"):AddItem(w2,5)
  1804. w2.Material = "SmoothPlastic"
  1805. w2.FormFactor = 'Custom'
  1806. w2.BrickColor = BrickColor.new("Really red")
  1807. w2.Transparency = 0
  1808. w2.Reflectance = 0
  1809. w2.Material = "SmoothPlastic"
  1810. w2.CanCollide = false
  1811. local l2 = Instance.new("PointLight",w2)
  1812. l2.Color = Color3.new(170,0,0)
  1813. NoOutline(w2)
  1814. local sz = Vector3.new(0.2, width, len2)
  1815. w2.Size = sz
  1816. local sp = Instance.new("SpecialMesh",w2)
  1817. sp.MeshType = "Wedge"
  1818. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1819. w2:BreakJoints()
  1820. w2.Anchored = true
  1821. w2.Parent = workspace
  1822. w2.Transparency = 0.7
  1823. table.insert(Effects,{w2,"Disappear",.01})
  1824. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1825. table.insert(list,w2)
  1826. end
  1827. return unpack(list)
  1828. end
  1829.  
  1830.  
  1831. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1832. if hit.Parent == nil then
  1833. return
  1834. end
  1835. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1836. for _, v in pairs(hit.Parent:children()) do
  1837. if v:IsA("Humanoid") then
  1838. h = v
  1839. end
  1840. end
  1841. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1842. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1843. return
  1844. end
  1845. local c = Create("ObjectValue")({
  1846. Name = "creator",
  1847. Value = game:GetService("Players").LocalPlayer,
  1848. Parent = h
  1849. })
  1850. game:GetService("Debris"):AddItem(c, 0.5)
  1851. if HitSound ~= nil and HitPitch ~= nil then
  1852. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1853. end
  1854. local Damage = math.random(minim, maxim)
  1855. local blocked = false
  1856. local block = hit.Parent:findFirstChild("Block")
  1857. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1858. blocked = true
  1859. block.Value = block.Value - 1
  1860. print(block.Value)
  1861. end
  1862. if blocked == false then
  1863. HitHealth = h.Health
  1864. h.MaxHealth = 100
  1865. h.Health = h.Health - Damage
  1866. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1867. print("gained kill")
  1868. dmg(h.Parent)
  1869. end
  1870. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1871. else
  1872. h.Health = h.Health - Damage / 2
  1873. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1874. end
  1875. if Type == "Knockdown" then
  1876. local hum = hit.Parent.Humanoid
  1877. hum.PlatformStand = true
  1878. coroutine.resume(coroutine.create(function(HHumanoid)
  1879. swait(1)
  1880. HHumanoid.PlatformStand = false
  1881. end), hum)
  1882. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1883. local bodvol = Create("BodyVelocity")({
  1884. velocity = angle * knockback,
  1885. P = 5000,
  1886. maxForce = Vector3.new(8000, 8000, 8000),
  1887. Parent = hit
  1888. })
  1889. local rl = Create("BodyAngularVelocity")({
  1890. P = 3000,
  1891. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1892. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1893. Parent = hit
  1894. })
  1895. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1896. game:GetService("Debris"):AddItem(rl, 0.5)
  1897. elseif Type == "Normal" then
  1898. local vp = Create("BodyVelocity")({
  1899. P = 500,
  1900. maxForce = Vector3.new(math.huge, 0, math.huge),
  1901. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1902. })
  1903. if knockback > 0 then
  1904. vp.Parent = hit.Parent.Head
  1905. end
  1906. game:GetService("Debris"):AddItem(vp, 0.5)
  1907. elseif Type == "Up" then
  1908. local bodyVelocity = Create("BodyVelocity")({
  1909. velocity = Vector3.new(0, 20, 0),
  1910. P = 5000,
  1911. maxForce = Vector3.new(8000, 8000, 8000),
  1912. Parent = hit
  1913. })
  1914. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1915. local bodyVelocity = Create("BodyVelocity")({
  1916. velocity = Vector3.new(0, 20, 0),
  1917. P = 5000,
  1918. maxForce = Vector3.new(8000, 8000, 8000),
  1919. Parent = hit
  1920. })
  1921. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1922. elseif Type == "Leech" then
  1923. local hum = hit.Parent.Humanoid
  1924. if hum ~= nil then
  1925. for i = 0, 2 do
  1926. 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)
  1927. end
  1928. Humanoid.Health = Humanoid.Health + 10
  1929. end
  1930. elseif Type == "UpKnock" then
  1931. local hum = hit.Parent.Humanoid
  1932. hum.PlatformStand = true
  1933. if hum ~= nil then
  1934. hitr = true
  1935. end
  1936. coroutine.resume(coroutine.create(function(HHumanoid)
  1937. swait(5)
  1938. HHumanoid.PlatformStand = false
  1939. hitr = false
  1940. end), hum)
  1941. local bodyVelocity = Create("BodyVelocity")({
  1942. velocity = Vector3.new(0, 20, 0),
  1943. P = 5000,
  1944. maxForce = Vector3.new(8000, 8000, 8000),
  1945. Parent = hit
  1946. })
  1947. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1948. local bodyVelocity = Create("BodyVelocity")({
  1949. velocity = Vector3.new(0, 20, 0),
  1950. P = 5000,
  1951. maxForce = Vector3.new(8000, 8000, 8000),
  1952. Parent = hit
  1953. })
  1954. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1955. elseif Type == "Snare" then
  1956. local bp = Create("BodyPosition")({
  1957. P = 2000,
  1958. D = 100,
  1959. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1960. position = hit.Parent.Torso.Position,
  1961. Parent = hit.Parent.Torso
  1962. })
  1963. game:GetService("Debris"):AddItem(bp, 1)
  1964. elseif Type == "Slashnare" then
  1965. 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)
  1966. for i = 1, math.random(4, 5) do
  1967. 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)
  1968. end
  1969. local bp = Create("BodyPosition")({
  1970. P = 2000,
  1971. D = 100,
  1972. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1973. position = hit.Parent.Torso.Position,
  1974. Parent = hit.Parent.Torso
  1975. })
  1976. game:GetService("Debris"):AddItem(bp, 1)
  1977. elseif Type == "Spike" then
  1978. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1979. local bp = Create("BodyPosition")({
  1980. P = 2000,
  1981. D = 100,
  1982. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1983. position = hit.Parent.Torso.Position,
  1984. Parent = hit.Parent.Torso
  1985. })
  1986. game:GetService("Debris"):AddItem(bp, 1)
  1987. elseif Type == "Freeze" then
  1988. local BodPos = Create("BodyPosition")({
  1989. P = 50000,
  1990. D = 1000,
  1991. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1992. position = hit.Parent.Torso.Position,
  1993. Parent = hit.Parent.Torso
  1994. })
  1995. local BodGy = Create("BodyGyro")({
  1996. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1997. P = 20000,
  1998. Parent = hit.Parent.Torso,
  1999. cframe = hit.Parent.Torso.CFrame
  2000. })
  2001. hit.Parent.Torso.Anchored = true
  2002. coroutine.resume(coroutine.create(function(Part)
  2003. swait(1.5)
  2004. Part.Anchored = false
  2005. end), hit.Parent.Torso)
  2006. game:GetService("Debris"):AddItem(BodPos, 3)
  2007. game:GetService("Debris"):AddItem(BodGy, 3)
  2008. end
  2009. local debounce = Create("BoolValue")({
  2010. Name = "DebounceHit",
  2011. Parent = hit.Parent,
  2012. Value = true
  2013. })
  2014. game:GetService("Debris"):AddItem(debounce, Delay)
  2015. c = Instance.new("ObjectValue")
  2016. c.Name = "creator"
  2017. c.Value = Player
  2018. c.Parent = h
  2019. game:GetService("Debris"):AddItem(c, 0.5)
  2020. end
  2021. end
  2022. function ShowDamage(Pos, Text, Time, Color)
  2023. local Rate = 0.03333333333333333
  2024. local Pos = Pos or Vector3.new(0, 0, 0)
  2025. local Text = Text or ""
  2026. local Time = Time or 2
  2027. local Color = Color or Color3.new(1, 0, 1)
  2028. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2029. EffectPart.Anchored = true
  2030. local BillboardGui = Create("BillboardGui")({
  2031. Size = UDim2.new(3, 0, 3, 0),
  2032. Adornee = EffectPart,
  2033. Parent = EffectPart
  2034. })
  2035. local TextLabel = Create("TextLabel")({
  2036. BackgroundTransparency = 1,
  2037. Size = UDim2.new(1, 0, 1, 0),
  2038. Text = Text,
  2039. TextColor3 = Color,
  2040. TextScaled = true,
  2041. Font = Enum.Font.ArialBold,
  2042. Parent = BillboardGui
  2043. })
  2044. game.Debris:AddItem(EffectPart, Time + 0.1)
  2045. EffectPart.Parent = game:GetService("Workspace")
  2046. delay(0, function()
  2047. local Frames = Time / Rate
  2048. for Frame = 1, Frames do
  2049. wait(Rate)
  2050. local Percent = Frame / Frames
  2051. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2052. TextLabel.TextTransparency = Percent
  2053. end
  2054. if EffectPart and EffectPart.Parent then
  2055. EffectPart:Destroy()
  2056. end
  2057. end)
  2058. end
  2059. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2060. for _, c in pairs(workspace:children()) do
  2061. local hum = c:findFirstChildOfClass("Humanoid")
  2062. if hum ~= nil then
  2063. local head = c:findFirstChild("Head")
  2064. if head ~= nil then
  2065. local targ = head.Position - Part.Position
  2066. local mag = targ.magnitude
  2067. if magni >= mag and c.Name ~= Player.Name then
  2068. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2069. end
  2070. end
  2071. end
  2072. end
  2073. end
  2074.  
  2075. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  2076. for _, c in pairs(workspace:children()) do
  2077. local hum = c:findFirstChild("Humanoid")
  2078. if hum ~= nil then
  2079. local head = c:findFirstChild("Torso")
  2080. if head ~= nil then
  2081. local targ = head.Position - Part.Position
  2082. local mag = targ.magnitude
  2083. if magni >= mag and c.Name ~= Player.Name then
  2084. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2085. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2086. end
  2087. end
  2088. end
  2089. end
  2090. end
  2091.  
  2092. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2093. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2094. end
  2095.  
  2096. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2097. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2098. prt.Anchored=true
  2099. prt.CFrame=cframe
  2100. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2101. --http://www.roblox.com/asset/?id=4770560
  2102. game:GetService("Debris"):AddItem(prt,2)
  2103. CF=prt.CFrame
  2104. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2105. for i=0,1,0.2 do
  2106. wait()
  2107. Part.CFrame=CF*cf(0,0,-0.4)
  2108. end
  2109. for i=0,1,delay do
  2110. wait()
  2111. --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)
  2112. Mesh.Scale=Mesh.Scale
  2113. end
  2114. for i=0,1,0.1 do
  2115. wait()
  2116. Part.Transparency=i
  2117. end
  2118. Part.Parent=nil
  2119. end),prt,msh,CF)
  2120. end
  2121.  
  2122. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2123. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2124. prt.Anchored=true
  2125. prt.Material = "Neon"
  2126. prt.CFrame=cframe
  2127. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2128. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2129. game:GetService("Debris"):AddItem(prt,5)
  2130. coroutine.resume(coroutine.create(function(Part,Mesh)
  2131. for i=0,1,delay do
  2132. swait()
  2133. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2134. Part.Transparency=i
  2135. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2136. end
  2137. Part.Parent=nil
  2138. end),prt,msh)
  2139. end
  2140.  
  2141. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2142. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2143. prt.Anchored=true
  2144. prt.Material = "Neon"
  2145. prt.CFrame=cframe
  2146. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2147. game:GetService("Debris"):AddItem(prt,5)
  2148. coroutine.resume(coroutine.create(function(Part,Mesh)
  2149. local rtype = rottype
  2150. for i=0,1,delay do
  2151. swait()
  2152. if rtype == 1 then
  2153. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2154. elseif rtype == 2 then
  2155. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2156. end
  2157. Part.Transparency=i
  2158. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2159. end
  2160. Part.Parent=nil
  2161. end),prt,msh)
  2162. end
  2163.  
  2164. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2165. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2166. prt.Anchored=true
  2167. prt.CFrame=cframe
  2168. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2169. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2170. game:GetService("Debris"):AddItem(prt,5)
  2171. coroutine.resume(coroutine.create(function(Part,Mesh)
  2172. for i=0,1,delay do
  2173. wait()
  2174. Part.Transparency=i
  2175. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2176. end
  2177. Part.Parent=nil
  2178. end),prt,msh)
  2179. end
  2180.  
  2181. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2182. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2183. prt.Anchored=true
  2184. prt.Material = "Neon"
  2185. prt.CFrame=cframe
  2186. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2187. game:GetService("Debris"):AddItem(prt,5)
  2188. coroutine.resume(coroutine.create(function(Part,Mesh)
  2189. local rtype = rottype
  2190. for i=0,1,delay do
  2191. swait()
  2192. if rtype == 1 then
  2193. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2194. elseif rtype == 2 then
  2195. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2196. end
  2197. Part.Transparency=i
  2198. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2199. end
  2200. Part.Parent=nil
  2201. end),prt,msh)
  2202. end
  2203.  
  2204. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2205. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2206. prt.Anchored=true
  2207. prt.Material = "Neon"
  2208. prt.CFrame=cframe
  2209. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2210. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2211. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2212. game:GetService("Debris"):AddItem(prt,5)
  2213. coroutine.resume(coroutine.create(function(Part,Mesh)
  2214. local rtype = rottype
  2215. for i=0,1,delay do
  2216. swait()
  2217. if rtype == 1 then
  2218. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2219. elseif rtype == 2 then
  2220. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2221. end
  2222. dec.Transparency=i
  2223. dec2.Transparency=i
  2224. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2225. end
  2226. Part.Parent=nil
  2227. end),prt,msh)
  2228. end
  2229.  
  2230. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2231. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2232. prt.Anchored=true
  2233. prt.Material = "Neon"
  2234. prt.CFrame=cframe
  2235. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2236. game:GetService("Debris"):AddItem(prt,5)
  2237. coroutine.resume(coroutine.create(function(Part,Mesh)
  2238. local rtype = rottype
  2239. for i=0,1,delay do
  2240. swait()
  2241. if rtype == 1 then
  2242. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2243. elseif rtype == 2 then
  2244. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2245. end
  2246. prt.Transparency=i
  2247. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2248. end
  2249. Part.Parent=nil
  2250. end),prt,msh)
  2251. end
  2252.  
  2253. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2254. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2255. prt.Anchored=true
  2256. prt.Material = "Neon"
  2257. prt.CFrame=cframe
  2258. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2259. game:GetService("Debris"):AddItem(prt,5)
  2260. coroutine.resume(coroutine.create(function(Part,Mesh)
  2261. local rtype = rottype
  2262. for i=0,1,delay do
  2263. swait()
  2264. if rtype == 1 then
  2265. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2266. elseif rtype == 2 then
  2267. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2268. end
  2269. prt.Transparency=i
  2270. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2271. end
  2272. Part.Parent=nil
  2273. end),prt,msh)
  2274. end
  2275.  
  2276. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2277. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2278. prt.Anchored=true
  2279. prt.Material = "Neon"
  2280. prt.CFrame=cframe
  2281. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2282. game:GetService("Debris"):AddItem(prt,5)
  2283. coroutine.resume(coroutine.create(function(Part,Mesh)
  2284. local rtype = rottype
  2285. for i=0,1,delay do
  2286. swait()
  2287. if rtype == 1 then
  2288. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2289. elseif rtype == 2 then
  2290. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2291. end
  2292. prt.Transparency=i
  2293. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2294. end
  2295. Part.Parent=nil
  2296. end),prt,msh)
  2297. end
  2298.  
  2299. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2300. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2301. prt.Anchored=true
  2302. prt.Material = "Neon"
  2303. prt.CFrame=cframe
  2304. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2305. game:GetService("Debris"):AddItem(prt,5)
  2306. coroutine.resume(coroutine.create(function(Part,Mesh)
  2307. local rtype = rottype
  2308. for i=0,1,delay do
  2309. swait()
  2310. if rtype == 1 then
  2311. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2312. elseif rtype == 2 then
  2313. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2314. end
  2315. prt.Transparency=i
  2316. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2317. end
  2318. Part.Parent=nil
  2319. end),prt,msh)
  2320. end
  2321.  
  2322. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2323. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2324. prt.Anchored=false
  2325. prt.CFrame=cframe
  2326. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2327. local wld=weld(prt,prt,Parent,cframe)
  2328. game:GetService("Debris"):AddItem(prt,5)
  2329. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2330. for i=0,1,delay do
  2331. wait()
  2332. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2333. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2334. Part.Transparency=i
  2335. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2336. end
  2337. Part.Parent=nil
  2338. end),prt,msh,wld)
  2339. end
  2340.  
  2341. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2342. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2343. prt.Anchored=false
  2344. prt.CFrame=cframe
  2345. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2346. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2347. game:GetService("Debris"):AddItem(prt,5)
  2348. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2349. for i=0,1,delay do
  2350. wait()
  2351. Weld.C0=euler(i*20,0,0)
  2352. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2353. Part.Transparency=i
  2354. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2355. end
  2356. Part.Parent=nil
  2357. end),prt,msh,wld)
  2358. end
  2359.  
  2360. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2361. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2362. prt.Anchored=true
  2363. prt.CFrame=cframe
  2364. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2365. game:GetService("Debris"):AddItem(prt,2)
  2366. coroutine.resume(coroutine.create(function(Part,Mesh)
  2367. for i=0,1,delay do
  2368. wait()
  2369. Part.CFrame=Part.CFrame
  2370. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2371. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2372. prt2.Anchored=true
  2373. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2374. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2375. game:GetService("Debris"):AddItem(prt2,2)
  2376. coroutine.resume(coroutine.create(function(Part,Mesh)
  2377. for i=0,1,0.1 do
  2378. wait()
  2379. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2380. end
  2381. Part.Parent=nil
  2382. end),prt2,msh2)
  2383. end
  2384. for i=0,1,delay*2 do
  2385. wait()
  2386. Part.CFrame=Part.CFrame
  2387. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2388. end
  2389. Part.Parent=nil
  2390. end),prt,msh)
  2391. end
  2392.  
  2393. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2394. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2395. prt.Anchored=true
  2396. prt.CFrame=cframe
  2397. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2398. game:GetService("Debris"):AddItem(prt,2)
  2399. coroutine.resume(coroutine.create(function(Part,Mesh)
  2400. for i=0,1,delay do
  2401. wait()
  2402. Part.CFrame=Part.CFrame
  2403. Part.Transparency=i
  2404. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2405. end
  2406. Part.Parent=nil
  2407. end),prt,msh)
  2408. end
  2409.  
  2410. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2411. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2412. prt.Anchored=true
  2413. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2414. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2415. game:GetService("Debris"):AddItem(prt,2)
  2416. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2417. CF=Part.CFrame
  2418. Numbb=0
  2419. randnumb=math.random()/10
  2420. rand1=math.random()/10
  2421. for i=0,1,rand1 do
  2422. wait()
  2423. CF=CF*cf(0,math.random()/2,0)
  2424. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2425. Part.CFrame=CF*euler(Numbb,0,0)
  2426. Part.Transparency=i
  2427. Numbb=Numbb+randnumb
  2428. end
  2429. Part.Parent=nil
  2430. end),prt,CF,Numbb,randnumb)
  2431. end
  2432.  
  2433. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2434. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2435. prt.Anchored=true
  2436. prt.CFrame=cframe
  2437. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2438. game:GetService("Debris"):AddItem(prt,5)
  2439. coroutine.resume(coroutine.create(function(Part,Mesh)
  2440. for i=0,1,delay do
  2441. wait()
  2442. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2443. Part.Transparency=i
  2444. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2445. end
  2446. Part.Parent=nil
  2447. end),prt,msh)
  2448. end
  2449.  
  2450. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2451. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2452. prt.Anchored=true
  2453. prt.CFrame=cframe
  2454. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2455. game:GetService("Debris"):AddItem(prt,2)
  2456. coroutine.resume(coroutine.create(function(Part,Mesh)
  2457. for i=0,1,delay do
  2458. wait()
  2459. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2460. Part.Transparency=i
  2461. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2462. end
  2463. Part.Parent=nil
  2464. end),prt,msh)
  2465. end
  2466.  
  2467. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2468. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2469. prt.Anchored=true
  2470. prt.CFrame=cframe*cf(x,y,z)
  2471. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2472. game:GetService("Debris"):AddItem(prt,5)
  2473. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2474. local num=math.random()
  2475. local num2=math.random(-3,2)+math.random()
  2476. local numm=0
  2477. for i=0,1,delay*2 do
  2478. swait()
  2479. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2480. Part.Transparency=i
  2481. numm=numm+0.01
  2482. end
  2483. Part.Parent=nil
  2484. Mesh.Parent=nil
  2485. end),prt,msh,x,y,z)
  2486. end
  2487.  
  2488. function dmgstart(dmg,what)
  2489. hitcon = what.Touched:connect(function(hit)
  2490. local hum = hit.Parent:FindFirstChild("Humanoid")
  2491. if hum and not hum:IsDescendantOf(Character) then
  2492. hum:TakeDamage(dmg)
  2493. end
  2494. end)
  2495. end
  2496.  
  2497. function dmgstop()
  2498. hitcon:disconnect()
  2499. end
  2500.  
  2501. function Cloak()
  2502. Face.Parent=nil
  2503. cloaked=true
  2504. for _,v in pairs(Torso.Parent:children()) do
  2505. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2506. coroutine.resume(coroutine.create(function()
  2507. for i=0,1,0.2 do
  2508. wait()
  2509. v.Transparency=i
  2510. end
  2511. v.Transparency=1
  2512. end))
  2513. end
  2514. if v.className=="Hat" then
  2515. hatp=v.Handle
  2516. coroutine.resume(coroutine.create(function(derp)
  2517. for i=0,1,0.2 do
  2518. wait()
  2519. derp.Transparency=i
  2520. end
  2521. derp.Transparency=1
  2522. end),hatp)
  2523. end
  2524. end
  2525. for _,v in pairs(m:children()) do
  2526. if v.className=="Part" then
  2527. coroutine.resume(coroutine.create(function()
  2528. for i=0,1,0.2 do
  2529. wait()
  2530. v.Transparency=i
  2531. end
  2532. v.Transparency=1
  2533. end))
  2534. end
  2535. end
  2536. end
  2537.  
  2538. function UnCloak()
  2539. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2540. Face.Parent=Head
  2541. cloaked=false
  2542. for _,v in pairs(Torso.Parent:children()) do
  2543. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2544. coroutine.resume(coroutine.create(function()
  2545. for i=0,1,0.1 do
  2546. wait()
  2547. v.Transparency=v.Transparency-0.1
  2548. end
  2549. v.Transparency=0
  2550. end))
  2551. end
  2552. if v.className=="Hat" then
  2553. hatp=v.Handle
  2554. coroutine.resume(coroutine.create(function(derp)
  2555. for i=0,1,0.1 do
  2556. wait()
  2557. derp.Transparency=derp.Transparency-0.1
  2558. end
  2559. derp.Transparency=0
  2560. end),hatp)
  2561. end
  2562. end
  2563. for _,v in pairs(m:children()) do
  2564. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2565. coroutine.resume(coroutine.create(function()
  2566. for i=0,1,0.1 do
  2567. wait()
  2568. v.Transparency=v.Transparency-0.1
  2569. end
  2570. v.Transparency=0
  2571. end))
  2572. v.Transparency=0
  2573. end
  2574. end
  2575. end
  2576.  
  2577. local origcolor = BrickColor.new("Pastel light blue")
  2578. ---- This section of explosions.
  2579.  
  2580. ----
  2581.  
  2582.  
  2583. function ring(type,pos,scale,value)
  2584. local type = type
  2585. local rng = Instance.new("Part", char)
  2586. rng.Anchored = true
  2587. rng.BrickColor = origcolor
  2588. rng.CanCollide = false
  2589. rng.FormFactor = 3
  2590. rng.Name = "Ring"
  2591. rng.Size = Vector3.new(1, 1, 1)
  2592. rng.Transparency = 0
  2593. rng.TopSurface = 0
  2594. rng.BottomSurface = 0
  2595. rng.CFrame = pos
  2596. local rngm = Instance.new("SpecialMesh", rng)
  2597. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2598. rngm.Scale = scale
  2599. local scaler2 = 1
  2600. if type == "Add" then
  2601. scaler2 = 1*value
  2602. elseif type == "Divide" then
  2603. scaler2 = 1/value
  2604. end
  2605. coroutine.resume(coroutine.create(function()
  2606. for i = 0,10,0.1 do
  2607. swait()
  2608. if type == "Add" then
  2609. scaler2 = scaler2 - 0.01*value
  2610. elseif type == "Divide" then
  2611. scaler2 = scaler2 - 0.01/value
  2612. end
  2613. rng.Transparency = rng.Transparency + 0.01
  2614. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2615. end
  2616. rng:Destroy()
  2617. end))
  2618. end
  2619.  
  2620.  
  2621. function wave(type,pos,scale,value)
  2622. local type = type
  2623. local rng = Instance.new("Part", char)
  2624. rng.Anchored = true
  2625. rng.BrickColor = origcolor
  2626. rng.CanCollide = false
  2627. rng.FormFactor = 3
  2628. rng.Name = "Ring"
  2629. rng.Size = Vector3.new(1, 1, 1)
  2630. rng.Transparency = 0
  2631. rng.TopSurface = 0
  2632. rng.BottomSurface = 0
  2633. rng.CFrame = pos
  2634. local rngm = Instance.new("SpecialMesh", rng)
  2635. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2636. rngm.Scale = scale
  2637. local scaler2 = 1
  2638. if type == "Add" then
  2639. scaler2 = 1*value
  2640. elseif type == "Divide" then
  2641. scaler2 = 1/value
  2642. end
  2643. coroutine.resume(coroutine.create(function()
  2644. for i = 0,10,0.1 do
  2645. swait()
  2646. if type == "Add" then
  2647. scaler2 = scaler2 - 0.01*value
  2648. elseif type == "Divide" then
  2649. scaler2 = scaler2 - 0.01/value
  2650. end
  2651. rng.Transparency = rng.Transparency + 0.01
  2652. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2653. end
  2654. rng:Destroy()
  2655. end))
  2656. end
  2657.  
  2658. function wind(type,pos,scale,value,speed)
  2659. local type = type
  2660. local rng = Instance.new("Part", char)
  2661. rng.Anchored = true
  2662. rng.BrickColor = origcolor
  2663. rng.CanCollide = false
  2664. rng.FormFactor = 3
  2665. rng.Name = "Ring"
  2666. rng.Size = Vector3.new(1, 1, 1)
  2667. rng.Transparency = 0
  2668. rng.TopSurface = 0
  2669. rng.BottomSurface = 0
  2670. rng.CFrame = pos
  2671. local rngm = Instance.new("SpecialMesh", rng)
  2672. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2673. rngm.Scale = scale
  2674. local scaler2 = 1
  2675. if type == "Add" then
  2676. scaler2 = 1*value
  2677. elseif type == "Divide" then
  2678. scaler2 = 1/value
  2679. end
  2680. coroutine.resume(coroutine.create(function()
  2681. for i = 0,10,0.1 do
  2682. swait()
  2683. if type == "Add" then
  2684. scaler2 = scaler2 - 0.01*value
  2685. elseif type == "Divide" then
  2686. scaler2 = scaler2 - 0.01/value
  2687. end
  2688. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2689. rng.Transparency = rng.Transparency + 0.01
  2690. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2691. end
  2692. rng:Destroy()
  2693. end))
  2694. end
  2695.  
  2696. function groundwind(type,pos,scale,value,speed)
  2697. local type = type
  2698. local rng = Instance.new("Part", char)
  2699. rng.Anchored = true
  2700. rng.BrickColor = origcolor
  2701. rng.CanCollide = false
  2702. rng.FormFactor = 3
  2703. rng.Name = "Ring"
  2704. rng.Size = Vector3.new(1, 1, 1)
  2705. rng.Transparency = 0
  2706. rng.TopSurface = 0
  2707. rng.BottomSurface = 0
  2708. rng.CFrame = pos
  2709. local rngm = Instance.new("SpecialMesh", rng)
  2710. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2711. rngm.Scale = scale
  2712. local scaler2 = 1
  2713. if type == "Add" then
  2714. scaler2 = 1*value
  2715. elseif type == "Divide" then
  2716. scaler2 = 1/value
  2717. end
  2718. coroutine.resume(coroutine.create(function()
  2719. for i = 0,10,0.1 do
  2720. swait()
  2721. if type == "Add" then
  2722. scaler2 = scaler2 - 0.01*value
  2723. elseif type == "Divide" then
  2724. scaler2 = scaler2 - 0.01/value
  2725. end
  2726. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2727. rng.Transparency = rng.Transparency + 0.01
  2728. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2729. end
  2730. rng:Destroy()
  2731. end))
  2732. end
  2733.  
  2734. function CameraManager()
  2735. if TwoD and not CamInterrupt then
  2736. if Humanoid.Health > 0 then
  2737. Camera.CameraSubject = Humanoid
  2738. Camera.CameraType = "Scriptable"
  2739. Humanoid.AutoRotate = false
  2740. if Booleans.GyroUse then
  2741. Directer.MaxTorque = Vec3(0, huge, 0)
  2742. else
  2743. Directer.MaxTorque = Vec3(0, 0, 0)
  2744. end
  2745. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2746. if Booleans.CamFollow then
  2747. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2748. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2749. else
  2750. CPart.Position = RootPart.Position
  2751. end
  2752. else
  2753. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2754. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2755. end
  2756. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2757. else
  2758. Camera.CameraSubject = Humanoid
  2759. Camera.CameraType = "Custom"
  2760. Controller.Disabled = false
  2761. end
  2762. end
  2763. end
  2764.  
  2765. function ring(type,pos,scale,value)
  2766. local type = type
  2767. local rng = Instance.new("Part", char)
  2768. rng.Anchored = true
  2769. rng.BrickColor = origcolor
  2770. rng.CanCollide = false
  2771. rng.FormFactor = 3
  2772. rng.Name = "Ring"
  2773. rng.Size = Vector3.new(1, 1, 1)
  2774. rng.Transparency = 0
  2775. rng.TopSurface = 0
  2776. rng.BottomSurface = 0
  2777. rng.CFrame = pos
  2778. local rngm = Instance.new("SpecialMesh", rng)
  2779. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2780. rngm.Scale = scale
  2781. local scaler2 = 1
  2782. if type == "Add" then
  2783. scaler2 = 1*value
  2784. elseif type == "Divide" then
  2785. scaler2 = 1/value
  2786. end
  2787. coroutine.resume(coroutine.create(function()
  2788. for i = 0,10,0.1 do
  2789. swait()
  2790. if type == "Add" then
  2791. scaler2 = scaler2 - 0.01*value
  2792. elseif type == "Divide" then
  2793. scaler2 = scaler2 - 0.01/value
  2794. end
  2795. rng.Transparency = rng.Transparency + 0.01
  2796. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2797. end
  2798. rng:Destroy()
  2799. end))
  2800. end
  2801.  
  2802.  
  2803. function wave(type,pos,scale,value)
  2804. local type = type
  2805. local rng = Instance.new("Part", char)
  2806. rng.Anchored = true
  2807. rng.BrickColor = origcolor
  2808. rng.CanCollide = false
  2809. rng.FormFactor = 3
  2810. rng.Name = "Ring"
  2811. rng.Size = Vector3.new(1, 1, 1)
  2812. rng.Transparency = 0
  2813. rng.TopSurface = 0
  2814. rng.BottomSurface = 0
  2815. rng.CFrame = pos
  2816. local rngm = Instance.new("SpecialMesh", rng)
  2817. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2818. rngm.Scale = scale
  2819. local scaler2 = 1
  2820. if type == "Add" then
  2821. scaler2 = 1*value
  2822. elseif type == "Divide" then
  2823. scaler2 = 1/value
  2824. end
  2825. coroutine.resume(coroutine.create(function()
  2826. for i = 0,10,0.1 do
  2827. swait()
  2828. if type == "Add" then
  2829. scaler2 = scaler2 - 0.01*value
  2830. elseif type == "Divide" then
  2831. scaler2 = scaler2 - 0.01/value
  2832. end
  2833. rng.Transparency = rng.Transparency + 0.01
  2834. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2835. end
  2836. rng:Destroy()
  2837. end))
  2838. end
  2839.  
  2840. function sphere(bonuspeed,type,pos,scale,value,color)
  2841. local type = type
  2842. local rng = Instance.new("Part", char)
  2843. rng.Anchored = true
  2844. if ModeOfGlitch ~= 9 then
  2845. rng.BrickColor = color
  2846. elseif ModeOfGlitch == 9 then
  2847. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2848. end
  2849. rng.CanCollide = false
  2850. rng.FormFactor = 3
  2851. rng.Name = "Ring"
  2852. rng.Material = "Neon"
  2853. rng.Size = Vector3.new(1, 1, 1)
  2854. rng.Transparency = 0
  2855. rng.TopSurface = 0
  2856. rng.BottomSurface = 0
  2857. rng.CFrame = pos
  2858. local rngm = Instance.new("SpecialMesh", rng)
  2859. rngm.MeshType = "Sphere"
  2860. rngm.Scale = scale
  2861. if rainbowmode == true then
  2862. rng.Color = Color3.new(r/255,g/255,b/255)
  2863. end
  2864. if ModeOfGlitch == 9 then
  2865. coroutine.resume(coroutine.create(function()
  2866. while true do
  2867. swait()
  2868. if rng.Parent ~= nil then
  2869. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2870. else
  2871. break
  2872. end
  2873. end
  2874. end))
  2875. end
  2876. local scaler2 = 1
  2877. if type == "Add" then
  2878. scaler2 = 1*value
  2879. elseif type == "Divide" then
  2880. scaler2 = 1/value
  2881. end
  2882. coroutine.resume(coroutine.create(function()
  2883. for i = 0,10/bonuspeed,0.1 do
  2884. swait()
  2885. if rainbowmode == true then
  2886. rng.Color = Color3.new(r/255,g/255,b/255)
  2887. end
  2888. if type == "Add" then
  2889. scaler2 = scaler2 - 0.01*value/bonuspeed
  2890. elseif type == "Divide" then
  2891. scaler2 = scaler2 - 0.01/value*bonuspeed
  2892. end
  2893. if chaosmode == true then
  2894. rng.BrickColor = BrickColor.random()
  2895. end
  2896. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2897. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2898. end
  2899. rng:Destroy()
  2900. end))
  2901. end
  2902.  
  2903. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  2904. local type = type
  2905. local rng = Instance.new("Part", char)
  2906. rng.Anchored = true
  2907. if ModeOfGlitch ~= 9 then
  2908. rng.BrickColor = color
  2909. elseif ModeOfGlitch == 9 then
  2910. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2911. end
  2912. rng.CanCollide = false
  2913. rng.FormFactor = 3
  2914. rng.Name = "Ring"
  2915. rng.Material = "Neon"
  2916. rng.Size = Vector3.new(1, 1, 1)
  2917. rng.Transparency = 0
  2918. rng.TopSurface = 0
  2919. rng.BottomSurface = 0
  2920. rng.CFrame = pos
  2921. local rngm = Instance.new("SpecialMesh", rng)
  2922. rngm.MeshType = "Sphere"
  2923. rngm.Scale = scale
  2924. local scaler2 = 1
  2925. local scaler2b = 1
  2926. local scaler2c = 1
  2927. if type == "Add" then
  2928. scaler2 = 1*value
  2929. scaler2b = 1*value2
  2930. scaler2c = 1*value3
  2931. elseif type == "Divide" then
  2932. scaler2 = 1/value
  2933. scaler2b = 1/value2
  2934. scaler2c = 1/value3
  2935. end
  2936. if ModeOfGlitch == 9 then
  2937. coroutine.resume(coroutine.create(function()
  2938. while true do
  2939. swait()
  2940. if rng.Parent ~= nil then
  2941. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2942. else
  2943. break
  2944. end
  2945. end
  2946. end))
  2947. end
  2948. coroutine.resume(coroutine.create(function()
  2949. for i = 0,10/bonuspeed,0.1 do
  2950. swait()
  2951. if type == "Add" then
  2952. scaler2 = scaler2 - 0.01*value/bonuspeed
  2953. scaler2b = scaler2b - 0.01*value/bonuspeed
  2954. scaler2c = scaler2c - 0.01*value/bonuspeed
  2955. elseif type == "Divide" then
  2956. scaler2 = scaler2 - 0.01/value*bonuspeed
  2957. scaler2b = scaler2b - 0.01/value*bonuspeed
  2958. scaler2c = scaler2c - 0.01/value*bonuspeed
  2959. end
  2960. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2961. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2962. end
  2963. rng:Destroy()
  2964. end))
  2965. end
  2966.  
  2967. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  2968. local type = type
  2969. local rotenable = rotatingop
  2970. local rng = Instance.new("Part", char)
  2971. rng.Anchored = true
  2972. rng.BrickColor = color
  2973. rng.CanCollide = false
  2974. rng.FormFactor = 3
  2975. rng.Name = "Ring"
  2976. rng.Material = "Neon"
  2977. rng.Size = Vector3.new(1, 1, 1)
  2978. rng.Transparency = 0
  2979. if typeoftrans == "In" then
  2980. rng.Transparency = 1
  2981. end
  2982. rng.TopSurface = 0
  2983. rng.BottomSurface = 0
  2984. rng.CFrame = pos
  2985. local rngm = Instance.new("SpecialMesh", rng)
  2986. rngm.MeshType = "FileMesh"
  2987. if typeofshape == "Normal" then
  2988. rngm.MeshId = "rbxassetid://662586858"
  2989. elseif typeofshape == "Round" then
  2990. rngm.MeshId = "rbxassetid://662585058"
  2991. end
  2992. rngm.Scale = scale
  2993. local scaler2 = 1/10
  2994. if type == "Add" then
  2995. scaler2 = 1*value/10
  2996. elseif type == "Divide" then
  2997. scaler2 = 1/value/10
  2998. end
  2999. local randomrot = math.random(1,2)
  3000. coroutine.resume(coroutine.create(function()
  3001. for i = 0,10/bonuspeed,0.1 do
  3002. swait()
  3003. if type == "Add" then
  3004. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  3005. elseif type == "Divide" then
  3006. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  3007. end
  3008. if rotenable == true then
  3009. if randomrot == 1 then
  3010. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  3011. elseif randomrot == 2 then
  3012. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  3013. end
  3014. end
  3015. if typeoftrans == "Out" then
  3016. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3017. elseif typeoftrans == "In" then
  3018. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3019. end
  3020. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  3021. end
  3022. rng:Destroy()
  3023. end))
  3024. end
  3025.  
  3026. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3027. local type = type
  3028. local rng = Instance.new("Part", char)
  3029. rng.Anchored = true
  3030. rng.BrickColor = color
  3031. rng.CanCollide = false
  3032. rng.FormFactor = 3
  3033. rng.Name = "Ring"
  3034. rng.Material = "Neon"
  3035. rng.Size = Vector3.new(1, 1, 1)
  3036. rng.Transparency = 0
  3037. rng.TopSurface = 0
  3038. rng.BottomSurface = 0
  3039. rng.CFrame = pos
  3040. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3041. local rngm = Instance.new("SpecialMesh", rng)
  3042. rngm.MeshType = "Brick"
  3043. rngm.Scale = vt(x1,y1,z1)
  3044. if rainbowmode == true then
  3045. rng.Color = Color3.new(r/255,g/255,b/255)
  3046. end
  3047. local scaler2 = 1
  3048. local speeder = FastSpeed/10
  3049. if type == "Add" then
  3050. scaler2 = 1*value
  3051. elseif type == "Divide" then
  3052. scaler2 = 1/value
  3053. end
  3054. coroutine.resume(coroutine.create(function()
  3055. for i = 0,10/bonuspeed,0.1 do
  3056. swait()
  3057. if rainbowmode == true then
  3058. rng.Color = Color3.new(r/255,g/255,b/255)
  3059. end
  3060. if type == "Add" then
  3061. scaler2 = scaler2 - 0.01*value/bonuspeed
  3062. elseif type == "Divide" then
  3063. scaler2 = scaler2 - 0.01/value*bonuspeed
  3064. end
  3065. if chaosmode == true then
  3066. rng.BrickColor = BrickColor.random()
  3067. end
  3068. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3069. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3070. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3071. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3072. end
  3073. rng:Destroy()
  3074. end))
  3075. end
  3076.  
  3077. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3078. local type = type
  3079. local rng = Instance.new("Part", char)
  3080. rng.Anchored = true
  3081. rng.BrickColor = color
  3082. rng.CanCollide = false
  3083. rng.FormFactor = 3
  3084. rng.Name = "Ring"
  3085. rng.Material = "Neon"
  3086. rng.Size = Vector3.new(1, 1, 1)
  3087. rng.Transparency = 0
  3088. rng.TopSurface = 0
  3089. rng.BottomSurface = 0
  3090. rng.CFrame = pos
  3091. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3092. local rngm = Instance.new("SpecialMesh", rng)
  3093. rngm.MeshType = "Brick"
  3094. rngm.Scale = vt(x1,y1,z1)
  3095. if rainbowmode == true then
  3096. rng.Color = Color3.new(r/255,g/255,b/255)
  3097. end
  3098. local scaler2 = 1
  3099. local speeder = FastSpeed/10
  3100. if type == "Add" then
  3101. scaler2 = 1*value
  3102. elseif type == "Divide" then
  3103. scaler2 = 1/value
  3104. end
  3105. coroutine.resume(coroutine.create(function()
  3106. for i = 0,10/bonuspeed,0.1 do
  3107. swait()
  3108. if rainbowmode == true then
  3109. rng.Color = Color3.new(r/255,g/255,b/255)
  3110. end
  3111. if type == "Add" then
  3112. scaler2 = scaler2 - 0.01*value/bonuspeed
  3113. elseif type == "Divide" then
  3114. scaler2 = scaler2 - 0.01/value*bonuspeed
  3115. end
  3116. if chaosmode == true then
  3117. rng.BrickColor = BrickColor.random()
  3118. end
  3119. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3120. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3121. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3122. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3123. end
  3124. rng:Destroy()
  3125. end))
  3126. end
  3127.  
  3128. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3129. local type = type
  3130. local rng = Instance.new("Part", char)
  3131. rng.Anchored = true
  3132. rng.BrickColor = color
  3133. rng.CanCollide = false
  3134. rng.FormFactor = 3
  3135. rng.Name = "Ring"
  3136. rng.Material = "Neon"
  3137. rng.Size = Vector3.new(1, 1, 1)
  3138. rng.Transparency = 0
  3139. rng.TopSurface = 0
  3140. rng.BottomSurface = 0
  3141. rng.CFrame = pos
  3142. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3143. local rngm = Instance.new("SpecialMesh", rng)
  3144. rngm.MeshType = "Brick"
  3145. rngm.Scale = vt(x1,y1,z1)
  3146. if rainbowmode == true then
  3147. rng.Color = Color3.new(r/255,g/255,b/255)
  3148. end
  3149. local scaler2 = 0
  3150. local speeder = FastSpeed/10
  3151. if type == "Add" then
  3152. scaler2 = 1*value
  3153. elseif type == "Divide" then
  3154. scaler2 = 1/value
  3155. end
  3156. coroutine.resume(coroutine.create(function()
  3157. for i = 0,10/bonuspeed,0.1 do
  3158. swait()
  3159. if rainbowmode == true then
  3160. rng.Color = Color3.new(r/255,g/255,b/255)
  3161. end
  3162. if type == "Add" then
  3163. scaler2 = scaler2 - 0.01*value/bonuspeed
  3164. elseif type == "Divide" then
  3165. scaler2 = scaler2 - 0.01/value*bonuspeed
  3166. end
  3167. if chaosmode == true then
  3168. rng.BrickColor = BrickColor.random()
  3169. end
  3170. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3171. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3172. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3173. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3174. end
  3175. rng:Destroy()
  3176. end))
  3177. end
  3178.  
  3179. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3180. local type = type
  3181. local rng = Instance.new("Part", char)
  3182. rng.Anchored = true
  3183. rng.BrickColor = color
  3184. rng.Color = color3
  3185. rng.CanCollide = false
  3186. rng.FormFactor = 3
  3187. rng.Name = "Ring"
  3188. rng.Material = "Neon"
  3189. rng.Size = Vector3.new(1, 1, 1)
  3190. rng.Transparency = 0
  3191. rng.TopSurface = 0
  3192. rng.BottomSurface = 0
  3193. rng.CFrame = pos
  3194. local rngm = Instance.new("SpecialMesh", rng)
  3195. rngm.MeshType = "Brick"
  3196. rngm.Scale = scale
  3197. local scaler2 = 1
  3198. local scaler2b = 1
  3199. local scaler2c = 1
  3200. if type == "Add" then
  3201. scaler2 = 1*value
  3202. scaler2b = 1*value2
  3203. scaler2c = 1*value3
  3204. elseif type == "Divide" then
  3205. scaler2 = 1/value
  3206. scaler2b = 1/value2
  3207. scaler2c = 1/value3
  3208. end
  3209. coroutine.resume(coroutine.create(function()
  3210. for i = 0,10/bonuspeed,0.1 do
  3211. swait()
  3212. if type == "Add" then
  3213. scaler2 = scaler2 - 0.01*value/bonuspeed
  3214. scaler2b = scaler2b - 0.01*value/bonuspeed
  3215. scaler2c = scaler2c - 0.01*value/bonuspeed
  3216. elseif type == "Divide" then
  3217. scaler2 = scaler2 - 0.01/value*bonuspeed
  3218. scaler2b = scaler2b - 0.01/value*bonuspeed
  3219. scaler2c = scaler2c - 0.01/value*bonuspeed
  3220. end
  3221. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3222. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3223. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3224. end
  3225. rng:Destroy()
  3226. end))
  3227. end
  3228.  
  3229. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3230. local type = type
  3231. local rng = Instance.new("Part", char)
  3232. rng.Anchored = true
  3233. if ModeOfGlitch ~= 9 then
  3234. rng.BrickColor = color
  3235. elseif ModeOfGlitch == 9 then
  3236. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3237. end
  3238. rng.CanCollide = false
  3239. rng.FormFactor = 3
  3240. rng.Name = "Ring"
  3241. rng.Material = "Neon"
  3242. rng.Size = Vector3.new(1, 1, 1)
  3243. rng.Transparency = 0
  3244. rng.TopSurface = 0
  3245. rng.BottomSurface = 0
  3246. rng.CFrame = pos
  3247. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3248. local rngm = Instance.new("SpecialMesh", rng)
  3249. rngm.MeshType = "Sphere"
  3250. rngm.Scale = vt(x1,y1,z1)
  3251. if rainbowmode == true then
  3252. rng.Color = Color3.new(r/255,g/255,b/255)
  3253. end
  3254. if ModeOfGlitch == 9 then
  3255. coroutine.resume(coroutine.create(function()
  3256. while true do
  3257. swait()
  3258. if rng.Parent ~= nil then
  3259. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3260. else
  3261. break
  3262. end
  3263. end
  3264. end))
  3265. end
  3266. local scaler2 = 1
  3267. local speeder = FastSpeed
  3268. if type == "Add" then
  3269. scaler2 = 1*value
  3270. elseif type == "Divide" then
  3271. scaler2 = 1/value
  3272. end
  3273. coroutine.resume(coroutine.create(function()
  3274. for i = 0,10/bonuspeed,0.1 do
  3275. swait()
  3276. if rainbowmode == true then
  3277. rng.Color = Color3.new(r/255,g/255,b/255)
  3278. end
  3279. if type == "Add" then
  3280. scaler2 = scaler2 - 0.01*value/bonuspeed
  3281. elseif type == "Divide" then
  3282. scaler2 = scaler2 - 0.01/value*bonuspeed
  3283. end
  3284. if chaosmode == true then
  3285. rng.BrickColor = BrickColor.random()
  3286. end
  3287. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3288. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3289. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3290. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3291. end
  3292. rng:Destroy()
  3293. end))
  3294. end
  3295.  
  3296.  
  3297. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3298. local type = type
  3299. local rng = Instance.new("Part", char)
  3300. rng.Anchored = true
  3301. if ModeOfGlitch ~= 9 then
  3302. rng.BrickColor = color
  3303. elseif ModeOfGlitch == 9 then
  3304. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3305. end
  3306. rng.CanCollide = false
  3307. rng.FormFactor = 3
  3308. rng.Name = "Ring"
  3309. rng.Material = "Neon"
  3310. rng.Size = Vector3.new(1, 1, 1)
  3311. rng.Transparency = 1
  3312. rng.TopSurface = 0
  3313. rng.BottomSurface = 0
  3314. rng.CFrame = pos
  3315. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3316. local rngm = Instance.new("SpecialMesh", rng)
  3317. rngm.MeshType = "Sphere"
  3318. rngm.Scale = vt(x1,y1,z1)
  3319. if rainbowmode == true then
  3320. rng.Color = Color3.new(r/255,g/255,b/255)
  3321. end
  3322. if ModeOfGlitch == 9 then
  3323. coroutine.resume(coroutine.create(function()
  3324. while true do
  3325. swait()
  3326. if rng.Parent ~= nil then
  3327. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3328. else
  3329. break
  3330. end
  3331. end
  3332. end))
  3333. end
  3334. local scaler2 = 1
  3335. local speeder = FastSpeed
  3336. if type == "Add" then
  3337. scaler2 = 1*value
  3338. elseif type == "Divide" then
  3339. scaler2 = 1/value
  3340. end
  3341. coroutine.resume(coroutine.create(function()
  3342. for i = 0,10/bonuspeed,0.1 do
  3343. swait()
  3344. if rainbowmode == true then
  3345. rng.Color = Color3.new(r/255,g/255,b/255)
  3346. end
  3347. if type == "Add" then
  3348. scaler2 = scaler2 - 0.01*value/bonuspeed
  3349. elseif type == "Divide" then
  3350. scaler2 = scaler2 - 0.01/value*bonuspeed
  3351. end
  3352. if chaosmode == true then
  3353. rng.BrickColor = BrickColor.random()
  3354. end
  3355. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3356. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3357. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3358. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3359. end
  3360. rng:Destroy()
  3361. end))
  3362. end
  3363.  
  3364. function dmg(dude)
  3365. if dude.Name ~= Character then
  3366. local keptcolor = MAINRUINCOLOR
  3367. local bgf = Instance.new("BodyGyro",dude.Head)
  3368. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3369. --[[local val = Instance.new("BoolValue",dude)
  3370. val.Name = "IsHit"]]--
  3371. local ds = coroutine.wrap(function()
  3372. dude:WaitForChild("Head"):BreakJoints()
  3373. for i, v in pairs(dude:GetChildren()) do
  3374. if v:IsA("Part") or v:IsA("MeshPart") then
  3375. v.Name = "DEMINISHED"
  3376. end
  3377. end
  3378. wait(0.5)
  3379. targetted = nil
  3380. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  3381. coroutine.resume(coroutine.create(function()
  3382. for i, v in pairs(dude:GetChildren()) do
  3383. if v:IsA("Accessory") then
  3384. v:Destroy()
  3385. end
  3386. if v:IsA("Humanoid") then
  3387. v:Destroy()
  3388. end
  3389. if v:IsA("CharacterMesh") then
  3390. v:Destroy()
  3391. end
  3392. if v:IsA("Model") then
  3393. v:Destroy()
  3394. end
  3395. if v:IsA("Part") or v:IsA("MeshPart") then
  3396. for x, o in pairs(v:GetChildren()) do
  3397. if o:IsA("Decal") then
  3398. o:Destroy()
  3399. end
  3400. end
  3401. coroutine.resume(coroutine.create(function()
  3402. v.Material = "Neon"
  3403. v.CanCollide = false
  3404. v.Anchored = false
  3405. local bld = Instance.new("ParticleEmitter",v)
  3406. bld.LightEmission = 0.75
  3407. bld.Texture = "rbxassetid://363275192" ---284205403
  3408. bld.Color = ColorSequence.new(keptcolor.Color)
  3409. bld.Rate = 500
  3410. bld.Lifetime = NumberRange.new(1)
  3411. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3412. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3413. bld.Speed = NumberRange.new(2,5)
  3414. bld.VelocitySpread = 50000
  3415. bld.Rotation = NumberRange.new(-500,500)
  3416. bld.RotSpeed = NumberRange.new(-500,500)
  3417. local sbs = Instance.new("BodyPosition", v)
  3418. sbs.P = 3000
  3419. sbs.D = 1000
  3420. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3421. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3422. v.Color = keptcolor.Color
  3423. coroutine.resume(coroutine.create(function()
  3424. for i = 0, 49 do
  3425. swait(1)
  3426. v:BreakJoints()
  3427. v.Transparency = v.Transparency + 0.02
  3428. end
  3429. v:BreakJoints()
  3430. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3431. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3432. bld.Speed = NumberRange.new(10,25)
  3433. bld.Drag = 5
  3434. bld.Acceleration = vt(0,2,0)
  3435. wait(0.5)
  3436. bld.Enabled = false
  3437. wait(8)
  3438. v:Destroy()
  3439. dude:Destroy()
  3440. end))
  3441. end))
  3442. end
  3443. end
  3444. end))
  3445. end)
  3446. ds()
  3447. end
  3448. end
  3449.  
  3450.  
  3451. function FindNearestHead(Position, Distance, SinglePlayer)
  3452. if SinglePlayer then
  3453. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3454. end
  3455. local List = {}
  3456. for i, v in pairs(workspace:GetChildren()) do
  3457. if v:IsA("Model") then
  3458. if v:findFirstChild("Head") then
  3459. if v ~= Character then
  3460. if (v.Head.Position - Position).magnitude <= Distance then
  3461. table.insert(List, v)
  3462. end
  3463. end
  3464. end
  3465. end
  3466. end
  3467. return List
  3468. end
  3469.  
  3470. function FaceMouse()
  3471. Cam = workspace.CurrentCamera
  3472. return {
  3473. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3474. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3475. }
  3476. end
  3477.  
  3478. function FaceMouse2()
  3479. Cam = workspace.CurrentCamera
  3480. return {
  3481. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3482. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3483. }
  3484. end
  3485.  
  3486. local ModeOfGlitch = 1
  3487. -- Functions are ready.
  3488. local storehumanoidWS = 16
  3489.  
  3490. function CorruptBlink()
  3491. for i = 0, 14 do
  3492. 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)
  3493. end
  3494. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3495. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3496. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3497. CameraEnshaking(2,10)
  3498. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3499. if v:FindFirstChild('Head') then
  3500. dmg(v)
  3501. end
  3502. end
  3503. for i = 0, 14 do
  3504. 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)
  3505. end
  3506. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3507. end
  3508. function PureBomb()
  3509. attack = true
  3510. hum.WalkSpeed = 0
  3511. local orb = Instance.new("Part", char)
  3512. orb.Anchored = true
  3513. orb.BrickColor = BrickColor.new("Toothpaste")
  3514. orb.CanCollide = false
  3515. orb.FormFactor = 3
  3516. orb.Name = "Ring"
  3517. orb.Material = "Neon"
  3518. orb.Size = Vector3.new(1, 1, 1)
  3519. orb.Transparency = 0
  3520. orb.TopSurface = 0
  3521. orb.BottomSurface = 0
  3522. local orbm = Instance.new("SpecialMesh", orb)
  3523. orbm.MeshType = "Sphere"
  3524. orbm.Name = "SizeMesh"
  3525. orbm.Scale = vt(0,0,0)
  3526. local scaled = 0.1
  3527. local posid = 0
  3528. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3529. for i = 0, 5, 0.1 do
  3530. swait()
  3531. scaled = scaled - 0.001
  3532. posid = posid - scaled
  3533. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3534. local scaled = 0.1
  3535. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3536. 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)
  3537. 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)
  3538. 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)
  3539. 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)
  3540. 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)
  3541. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3542. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3543. 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)
  3544. end
  3545. for i = 0, 2, 0.1 do
  3546. swait()
  3547. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3548. 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)
  3549. 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)
  3550. 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)
  3551. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3552. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3553. 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)
  3554. end
  3555. coroutine.resume(coroutine.create(function()
  3556. orb.Anchored = false
  3557. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3558. local a = Instance.new("Part",workspace)
  3559. a.Name = "Direction"
  3560. a.Anchored = true
  3561. a.BrickColor = bc("Bright red")
  3562. a.Material = "Neon"
  3563. a.Transparency = 1
  3564. a.CanCollide = false
  3565. local ray = Ray.new(
  3566. orb.CFrame.p, -- origin
  3567. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3568. )
  3569. local ignore = orb
  3570. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3571. a.BottomSurface = 10
  3572. a.TopSurface = 10
  3573. local distance = (orb.CFrame.p - position).magnitude
  3574. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3575. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3576. orb.CFrame = a.CFrame
  3577. a:Destroy()
  3578. local bv = Instance.new("BodyVelocity")
  3579. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3580. bv.velocity = orb.CFrame.lookVector*125
  3581. bv.Parent = orb
  3582. local hitted = false
  3583. game:GetService("Debris"):AddItem(orb, 15)
  3584. wait()
  3585. local hit =orb.Touched:connect(function(hit)
  3586. if hitted == false then
  3587. hitted = true
  3588. CameraEnshaking(10,2.5)
  3589. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3590. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3591. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3592. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3593. for i = 0, 49 do
  3594. 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)
  3595. end
  3596. for i = 0, 9 do
  3597. 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)
  3598. 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)
  3599. end
  3600. orb.Anchored = true
  3601. orb.Transparency = 1
  3602. wait(8)
  3603. orb:Destroy()
  3604. end
  3605. end)
  3606. end))
  3607. for i = 0, 1, 0.1 do
  3608. swait()
  3609. 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)
  3610. 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)
  3611. 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)
  3612. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3613. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3614. 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)
  3615. end
  3616. hum.WalkSpeed = storehumanoidWS
  3617. attack = false
  3618. end
  3619.  
  3620. function BanishingOrb()
  3621. attack = true
  3622. hum.WalkSpeed = 0
  3623. local orb = Instance.new("Part", char)
  3624. orb.Anchored = true
  3625. orb.BrickColor = BrickColor.new("Black")
  3626. orb.CanCollide = false
  3627. orb.FormFactor = 3
  3628. orb.Name = "Ring"
  3629. orb.Material = "Neon"
  3630. orb.Size = Vector3.new(1, 1, 1)
  3631. orb.Transparency = 0
  3632. orb.TopSurface = 0
  3633. orb.BottomSurface = 0
  3634. local orbm = Instance.new("SpecialMesh", orb)
  3635. orbm.MeshType = "Sphere"
  3636. orbm.Name = "SizeMesh"
  3637. orbm.Scale = vt(0,0,0)
  3638. local scaled = 0.1
  3639. local posid = 0
  3640. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
  3641. for i = 0, 5, 0.1 do
  3642. swait()
  3643. scaled = scaled - 0.001
  3644. posid = posid - scaled
  3645. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3646. local scaled = 0.1
  3647. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3648. 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)
  3649. 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)
  3650. 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)
  3651. 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)
  3652. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3653. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3654. 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)
  3655. end
  3656. for i = 0, 2, 0.1 do
  3657. swait()
  3658. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3659. 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)
  3660. 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)
  3661. 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)
  3662. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3663. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3664. 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)
  3665. end
  3666. coroutine.resume(coroutine.create(function()
  3667. orb.Anchored = false
  3668. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
  3669. local a = Instance.new("Part",workspace)
  3670. a.Name = "Direction"
  3671. a.Anchored = true
  3672. a.BrickColor = bc("Bright red")
  3673. a.Material = "Neon"
  3674. a.Transparency = 1
  3675. a.CanCollide = false
  3676. local ray = Ray.new(
  3677. orb.CFrame.p, -- origin
  3678. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3679. )
  3680. local ignore = orb
  3681. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3682. a.BottomSurface = 10
  3683. a.TopSurface = 10
  3684. local distance = (orb.CFrame.p - position).magnitude
  3685. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3686. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3687. orb.CFrame = a.CFrame
  3688. a:Destroy()
  3689. local bv = Instance.new("BodyVelocity")
  3690. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3691. bv.velocity = orb.CFrame.lookVector*0
  3692. bv.Parent = orb
  3693. local hitted = false
  3694. local rate = 0
  3695. coroutine.resume(coroutine.create(function()
  3696. for i = 0, 24 do
  3697. wait(0.1)
  3698. rate = rate + 0.25
  3699. bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
  3700. for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
  3701. if v:FindFirstChild('Head') then
  3702. dmg(v)
  3703. end
  3704. end
  3705. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
  3706. sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3707. sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  3708. end
  3709. orb.Anchored = true
  3710. orb.Transparency = 1
  3711. for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
  3712. if v:FindFirstChild('Head') then
  3713. dmg(v)
  3714. end
  3715. end
  3716. local eff = Instance.new("ParticleEmitter",orb)
  3717. eff.Texture = "rbxassetid://296874871"
  3718. eff.LightEmission = 0.95
  3719. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3720. eff.Rate = 1000000000
  3721. eff.Lifetime = NumberRange.new(3)
  3722. 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)})
  3723. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3724. eff.Speed = NumberRange.new(30)
  3725. eff.Acceleration = vt(0,-15,0)
  3726. eff.Rotation = NumberRange.new(-500,500)
  3727. eff.VelocitySpread = 100000
  3728. eff.RotSpeed = NumberRange.new(-500,500)
  3729. coroutine.resume(coroutine.create(function()
  3730. wait(0.6)
  3731. eff.Enabled = false
  3732. end))
  3733. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
  3734. CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
  3735. sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  3736. sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3737. sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
  3738. game:GetService("Debris"):AddItem(orb, 15)
  3739. end))
  3740. end))
  3741. for i = 0, 1, 0.1 do
  3742. swait()
  3743. 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)
  3744. 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)
  3745. 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)
  3746. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3747. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3748. 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)
  3749. end
  3750. hum.WalkSpeed = storehumanoidWS
  3751. attack = false
  3752. end
  3753.  
  3754.  
  3755. function ChaosGroundStrike()
  3756. attack = true
  3757. for i = 0, 2, 0.1 do
  3758. swait()
  3759. 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)
  3760. 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)
  3761. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3762. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3763. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3764. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3765. end
  3766. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3767. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3768. CameraEnshaking(4,12)
  3769. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3770. if v:FindFirstChild('Head') then
  3771. dmg(v)
  3772. end
  3773. end
  3774. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3775. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3776. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3777. for i = 0, 2, 0.1 do
  3778. swait()
  3779. 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)
  3780. 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)
  3781. 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)
  3782. 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)
  3783. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3784. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3785. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3786. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3787. end
  3788. attack = false
  3789. end
  3790.  
  3791.  
  3792.  
  3793. function Starfall()
  3794. attack = true
  3795. hum.WalkSpeed = 0
  3796. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3797. for i = 0, 5, 0.1 do
  3798. swait()
  3799. 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)
  3800. 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)
  3801. 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)
  3802. 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)
  3803. 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)
  3804. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3805. 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)
  3806. 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)
  3807. end
  3808. local Overed = false
  3809. CameraEnshaking(2,20)
  3810. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3811. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3812. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3813. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3814. local orb = Instance.new("Part", char)
  3815. orb.Anchored = true
  3816. orb.BrickColor = BrickColor.new("Toothpaste")
  3817. orb.CanCollide = false
  3818. orb.FormFactor = 3
  3819. orb.Name = "Remenant"
  3820. orb.Material = "Neon"
  3821. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3822. orb.Size = Vector3.new(1, 1, 1)
  3823. orb.Transparency = 1
  3824. orb.TopSurface = 0
  3825. orb.BottomSurface = 0
  3826. hum.WalkSpeed = storehumanoidWS
  3827. coroutine.resume(coroutine.create(function()
  3828. for i = 0, 9 do
  3829. swait(10)
  3830. local lb = Instance.new("Part")
  3831. lb.Color = MAINRUINCOLOR.Color
  3832. lb.CanCollide = false
  3833. lb.Material = "Neon"
  3834. lb.Anchored = true
  3835. lb.TopSurface = 0
  3836. lb.BottomSurface = 0
  3837. lb.Transparency = 0
  3838. lb.Size = vt(1,1,1)
  3839. 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)))
  3840. lb.Anchored = false
  3841. lb.Parent = char
  3842. local thingery = Instance.new("SpecialMesh",lb)
  3843. thingery.MeshType = "Sphere"
  3844. thingery.Scale = vt(20,20,20)
  3845. game:GetService("Debris"):AddItem(lb, 10)
  3846. local bv = Instance.new("BodyVelocity")
  3847. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3848. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3849. bv.Parent = lb
  3850. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3851. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3852. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3853. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3854. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3855. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3856. local hitted = false
  3857. coroutine.resume(coroutine.create(function()
  3858. while true do
  3859. swait(1)
  3860. if lb.Parent ~= nil and hitted == false then
  3861. 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)
  3862. elseif lb.Parent == nil then
  3863. break
  3864. end
  3865. end
  3866. end))
  3867.  
  3868. game:GetService("Debris"):AddItem(a, 0.1)
  3869.  
  3870. coroutine.resume(coroutine.create(function()
  3871. swait(1)
  3872. lb.Touched:connect(function(hit)
  3873. if hitted == false then
  3874. hitted = true
  3875. lb.Transparency = 1
  3876. lb.Anchored = true
  3877. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3878. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3879. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3880. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3881. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3882. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3883. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3884. CameraEnshaking(1,5)
  3885. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3886. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3887. for i = 0, 9 do
  3888. 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)
  3889. end
  3890. for i = 0, 49 do
  3891. swait()
  3892. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3893. 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)
  3894. end
  3895. end
  3896. end)
  3897. end))
  3898. end
  3899. Overed = true
  3900. orb:Destroy()
  3901. end))
  3902.  
  3903. attack = false
  3904. end
  3905.  
  3906. function StarfallEX()
  3907. attack = true
  3908. hum.WalkSpeed = 0
  3909. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
  3910. for i = 0, 10, 0.1 do
  3911. swait()
  3912. 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)
  3913. 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)
  3914. 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)
  3915. 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)
  3916. 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)
  3917. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3918. 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)
  3919. 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)
  3920. end
  3921. local Overed = false
  3922. CameraEnshaking(2,20)
  3923. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3924. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3925. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  3926. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
  3927. local orb = Instance.new("Part", char)
  3928. orb.Anchored = true
  3929. orb.BrickColor = BrickColor.new("Toothpaste")
  3930. orb.CanCollide = false
  3931. orb.FormFactor = 3
  3932. orb.Name = "Remenant"
  3933. orb.Material = "Neon"
  3934. orb.CFrame = root.CFrame*CFrame.new(0,250,0)
  3935. orb.Size = Vector3.new(1, 1, 1)
  3936. orb.Transparency = 1
  3937. orb.TopSurface = 0
  3938. orb.BottomSurface = 0
  3939. hum.WalkSpeed = storehumanoidWS
  3940. coroutine.resume(coroutine.create(function()
  3941. for i = 0, 4 do
  3942. swait(15)
  3943. local lb = Instance.new("Part")
  3944. lb.Color = MAINRUINCOLOR.Color
  3945. lb.CanCollide = false
  3946. lb.Material = "Neon"
  3947. lb.Anchored = true
  3948. lb.TopSurface = 0
  3949. lb.BottomSurface = 0
  3950. lb.Transparency = 0
  3951. lb.Size = vt(1,1,1)
  3952. 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)))
  3953. lb.Anchored = false
  3954. lb.Parent = char
  3955. local thingery = Instance.new("SpecialMesh",lb)
  3956. thingery.MeshType = "Sphere"
  3957. thingery.Scale = vt(50,50,50)
  3958. game:GetService("Debris"):AddItem(lb, 10)
  3959. local bv = Instance.new("BodyVelocity")
  3960. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3961. bv.velocity = lb.CFrame.lookVector*math.random(50,420)
  3962. bv.Parent = lb
  3963. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  3964. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  3965. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
  3966. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
  3967. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
  3968. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
  3969. local hitted = false
  3970. coroutine.resume(coroutine.create(function()
  3971. while true do
  3972. swait(1)
  3973. if lb.Parent ~= nil and hitted == false then
  3974. 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)
  3975. elseif lb.Parent == nil then
  3976. break
  3977. end
  3978. end
  3979. end))
  3980.  
  3981. game:GetService("Debris"):AddItem(a, 0.1)
  3982.  
  3983. coroutine.resume(coroutine.create(function()
  3984. swait(1)
  3985. lb.Touched:connect(function(hit)
  3986. if hitted == false then
  3987. hitted = true
  3988. lb.Transparency = 1
  3989. lb.Anchored = true
  3990. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
  3991. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
  3992. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
  3993. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
  3994. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
  3995. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
  3996. MagniDamage(lb, 50, 60,99, 0, "Normal")
  3997. CameraEnshaking(1,5)
  3998. sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
  3999. sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
  4000. for i = 0, 9 do
  4001. 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)
  4002. end
  4003. for i = 0, 99 do
  4004. swait()
  4005. MagniDamage(lb, 30, 6,18, 0, "Normal")
  4006. 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)
  4007. end
  4008. end
  4009. end)
  4010. end))
  4011. end
  4012. Overed = true
  4013. orb:Destroy()
  4014. end))
  4015.  
  4016. attack = false
  4017. end
  4018.  
  4019. function DivineBlast()
  4020. attack = true
  4021. hum.WalkSpeed = 0
  4022. local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
  4023. elocacenter.Anchored = true
  4024. elocacenter.CFrame = sorb.CFrame
  4025. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4026. eloca1.Anchored = true
  4027. eloca1.CFrame = elocacenter.CFrame
  4028. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4029. eloca2.Anchored = true
  4030. eloca2.CFrame = elocacenter.CFrame
  4031. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4032. eloca3.Anchored = true
  4033. eloca3.CFrame = elocacenter.CFrame
  4034. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4035. eloca4.Anchored = true
  4036. eloca4.CFrame = elocacenter.CFrame
  4037. local lookavec = 0
  4038. local speeds = 0
  4039. CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
  4040. for i = 0, 3, 0.1 do
  4041. swait()
  4042. ---
  4043. lookavec = lookavec + 0.1
  4044. speeds = speeds + 10
  4045. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4046. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4047. 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)
  4048.  
  4049. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4050. 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)
  4051.  
  4052. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4053. 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)
  4054.  
  4055. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4056. 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)
  4057. ---
  4058. root.CFrame = FaceMouse()[1]
  4059. 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)
  4060. 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)
  4061. 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)
  4062. 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)
  4063. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4064. 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)
  4065. end
  4066. for i = 0, 3, 0.1 do
  4067. swait()
  4068. ---
  4069. speeds = speeds + 10
  4070. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4071. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4072. 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)
  4073.  
  4074. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4075. 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)
  4076.  
  4077. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4078. 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)
  4079.  
  4080. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4081. 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)
  4082. ---
  4083. root.CFrame = FaceMouse()[1]
  4084. 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)
  4085. 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)
  4086. 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)
  4087. 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)
  4088. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4089. 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)
  4090. end
  4091. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
  4092. for i = 0, 3, 0.1 do
  4093. swait()
  4094. ---
  4095. speeds = speeds + 10
  4096. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4097. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4098. 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)
  4099.  
  4100. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4101. 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)
  4102.  
  4103. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4104. 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)
  4105.  
  4106. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4107. 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)
  4108. ---
  4109. root.CFrame = FaceMouse()[1]
  4110. 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)
  4111. 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)
  4112. 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)
  4113. 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)
  4114. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  4115. 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)
  4116. end
  4117. coroutine.resume(coroutine.create(function()
  4118. local a = Instance.new("Part",Character)
  4119. a.Name = "Direction"
  4120. a.Anchored = true
  4121. a.BrickColor = bc("White")
  4122. a.Material = "Neon"
  4123. a.Transparency = 0
  4124. a.Shape = "Cylinder"
  4125. a.CanCollide = false
  4126. local a2 = Instance.new("Part",Character)
  4127. a2.Name = "Direction"
  4128. a2.Anchored = true
  4129. a2.BrickColor = bc("Bright yellow")
  4130. a2.Material = "Neon"
  4131. a2.Transparency = 0
  4132. a2.Shape = "Cylinder"
  4133. a2.CanCollide = false
  4134. local b = Instance.new("Part",Character)
  4135. b.Name = "HitDirect"
  4136. b.Anchored = true
  4137. b.BrickColor = bc("Cool yellow")
  4138. b.Material = "Neon"
  4139. b.Transparency = 1
  4140. b.CanCollide = false
  4141. local ray = Ray.new(
  4142. elocacenter.CFrame.p, -- origin
  4143. (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
  4144. )
  4145. local ignore = Character
  4146. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4147. a.BottomSurface = 10
  4148. a.TopSurface = 10
  4149. a2.BottomSurface = 10
  4150. a2.TopSurface = 10
  4151. local distance = (elocacenter.CFrame.p - position).magnitude
  4152. a.Size = Vector3.new(distance, 1, 1)
  4153. a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4154. a2.Size = Vector3.new(distance, 1, 1)
  4155. a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4156. b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4157. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4158. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4159. game:GetService("Debris"):AddItem(a, 10)
  4160. game:GetService("Debris"):AddItem(a2, 10)
  4161. game:GetService("Debris"):AddItem(b, 10)
  4162. local msh = Instance.new("SpecialMesh",a)
  4163. msh.MeshType = "Cylinder"
  4164. msh.Scale = vt(1,2,2)
  4165. local msh2 = Instance.new("SpecialMesh",a2)
  4166. msh2.MeshType = "Cylinder"
  4167. msh2.Scale = vt(1,2.5,2.5)
  4168. CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
  4169. coroutine.resume(coroutine.create(function()
  4170. for i = 0,10,0.1 do
  4171. swait()
  4172. msh.Scale = msh.Scale + vt(0,0.05,0.05)
  4173. a.Transparency = a.Transparency + 0.025
  4174. msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
  4175. a2.Transparency = a2.Transparency + 0.05
  4176. end
  4177. a:Destroy()
  4178. a2:Destroy()
  4179. end))
  4180. CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
  4181. CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
  4182. CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
  4183. CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
  4184. CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
  4185. CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
  4186. MagniDamage(b, 25, 40,65, 0, "Normal")
  4187. for i = 0, 49 do
  4188. 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)
  4189. 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)
  4190. end
  4191. sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
  4192. sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
  4193. sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4194. sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4195. sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4196. sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4197. end))
  4198. game:GetService("Debris"):AddItem(elocacenter, 5)
  4199. hum.WalkSpeed = storehumanoidWS
  4200. attack = false
  4201. end
  4202.  
  4203. function StarDivision()
  4204. attack = true
  4205. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4206. for i = 0, 2, 0.1 do
  4207. swait()
  4208. 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)
  4209. 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)
  4210. 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)
  4211. 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)
  4212. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  4213. 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)
  4214. end
  4215. local orb = Instance.new("Part", char)
  4216. orb.BrickColor = MAINRUINCOLOR
  4217. orb.CanCollide = false
  4218. orb.FormFactor = 3
  4219. orb.Name = "Ring"
  4220. orb.Material = "Neon"
  4221. orb.Size = Vector3.new(1, 1, 1)
  4222. orb.Transparency = 0
  4223. orb.TopSurface = 0
  4224. orb.BottomSurface = 0
  4225. local orbm = Instance.new("SpecialMesh", orb)
  4226. orbm.MeshType = "Sphere"
  4227. orbm.Name = "SizeMesh"
  4228. orbm.Scale = vt(2,2,2)
  4229. local a = Instance.new("Part",workspace)
  4230. a.Name = "Direction"
  4231. a.Anchored = true
  4232. a.BrickColor = bc("Bright red")
  4233. a.Material = "Neon"
  4234. a.Transparency = 1
  4235. a.CanCollide = false
  4236. local ray = Ray.new(
  4237. sorb.CFrame.p, -- origin
  4238. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  4239. )
  4240. local ignore = sorb
  4241. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4242. a.BottomSurface = 10
  4243. a.TopSurface = 10
  4244. local distance = (sorb.CFrame.p - position).magnitude
  4245. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4246. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4247. orb.CFrame = a.CFrame
  4248. a:Destroy()
  4249. local bv = Instance.new("BodyVelocity")
  4250. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4251. bv.velocity = orb.CFrame.lookVector*100
  4252. bv.Parent = orb
  4253. local hitted = false
  4254. game:GetService("Debris"):AddItem(orb, 10)
  4255. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  4256. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  4257. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  4258. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  4259. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  4260. coroutine.resume(coroutine.create(function()
  4261. while true do
  4262. swait(1)
  4263. if orb.Parent ~= nil and hitted == false then
  4264. 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)
  4265. elseif orb.Parent == nil then
  4266. break
  4267. end
  4268. end
  4269. end))
  4270. coroutine.resume(coroutine.create(function()
  4271. swait(1)
  4272. orb.Touched:connect(function(hit)
  4273. if hitted == false then
  4274. hitted = true
  4275. game:GetService("Debris"):AddItem(orb, 5)
  4276. orb.Transparency = 1
  4277. orb.Anchored = true
  4278. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4279. elocacenter.Anchored = true
  4280. elocacenter.CFrame = orb.CFrame
  4281. elocacenter.Orientation = vt(0,0,0)
  4282. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4283. eloca1.Anchored = true
  4284. eloca1.CFrame = elocacenter.CFrame
  4285. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4286. eloca2.Anchored = true
  4287. eloca2.CFrame = elocacenter.CFrame
  4288. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4289. eloca3.Anchored = true
  4290. eloca3.CFrame = elocacenter.CFrame
  4291. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4292. eloca4.Anchored = true
  4293. eloca4.CFrame = elocacenter.CFrame
  4294. local lookavec = 0
  4295. local speeds = 0
  4296. CameraEnshaking(1,1)
  4297. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4298. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4299. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4300. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4301. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4302. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4303. for i = 0, 99 do
  4304. swait()
  4305. lookavec = lookavec + 1
  4306. speeds = speeds + 0.1
  4307. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4308. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4309. 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)
  4310.  
  4311. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4312. 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)
  4313.  
  4314. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4315. 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)
  4316.  
  4317. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4318. 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)
  4319. end
  4320.  
  4321. for i = 0, 149 do
  4322. swait()
  4323. speeds = speeds + 0.1
  4324. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4325. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4326. 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)
  4327.  
  4328. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4329. 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)
  4330.  
  4331. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4332. 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)
  4333.  
  4334. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4335. 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)
  4336. end
  4337. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  4338. if v:FindFirstChild('Head') then
  4339. dmg(v)
  4340. end
  4341. end
  4342. CameraEnshaking(7,30)
  4343. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  4344. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  4345. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  4346. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  4347. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4348. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  4349. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  4350. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4351. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4352. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4353. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4354. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4355. for i = 0, 24 do
  4356. 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)
  4357. 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)
  4358. 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)
  4359. 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)
  4360. end
  4361. coroutine.resume(coroutine.create(function()
  4362. for i = 0, 499 do
  4363. swait(1)
  4364. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  4365. 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)
  4366. end
  4367. elocacenter:Destroy()
  4368. eloca1:Destroy()
  4369. eloca2:Destroy()
  4370. eloca3:Destroy()
  4371. eloca4:Destroy()
  4372. end))
  4373. end
  4374. end)
  4375. end))
  4376. attack = false
  4377. end
  4378.  
  4379.  
  4380. function THE_TRUE_POWER_OF_VIOLENCE()
  4381. attack = true
  4382. hum.WalkSpeed = 0
  4383. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 2.5,0.7)
  4384. for i = 0, 10, 0.1 do
  4385. swait()
  4386. 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)
  4387. 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)
  4388. 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)
  4389. 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)
  4390. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  4391. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4392. 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)
  4393. end
  4394. local orb = Instance.new("Part", char)
  4395. orb.BrickColor = MAINRUINCOLOR
  4396. orb.CanCollide = false
  4397. orb.FormFactor = 3
  4398. orb.Name = "Ring"
  4399. orb.Material = "Neon"
  4400. orb.Size = Vector3.new(1, 1, 1)
  4401. orb.Transparency = 0
  4402. orb.TopSurface = 0
  4403. orb.BottomSurface = 0
  4404. orb.CFrame = sorb.CFrame
  4405. local orbm = Instance.new("SpecialMesh", orb)
  4406. orbm.MeshType = "Sphere"
  4407. orbm.Name = "SizeMesh"
  4408. orbm.Scale = vt(0,0,0)
  4409. local sbs = Instance.new("BodyPosition", orb)
  4410. sbs.P = 3000
  4411. sbs.D = 1000
  4412. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4413. sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
  4414. CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
  4415. sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4416. sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4417. sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4418. sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4419. sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4420. for i = 0, 10, 0.1 do
  4421. swait()
  4422. 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)
  4423. 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)
  4424. 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)
  4425. 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)
  4426. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4427. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4428. 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)
  4429. end
  4430. orb.Anchored = true
  4431. local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4432. elocacenter.Anchored = true
  4433. elocacenter.CFrame = orb.CFrame
  4434. elocacenter.Orientation = vt(0,0,0)
  4435. local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4436. eloca1.Anchored = true
  4437. eloca1.CFrame = elocacenter.CFrame
  4438. local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4439. eloca2.Anchored = true
  4440. eloca2.CFrame = elocacenter.CFrame
  4441. local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4442. eloca3.Anchored = true
  4443. eloca3.CFrame = elocacenter.CFrame
  4444. local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4445. eloca4.Anchored = true
  4446. eloca4.CFrame = elocacenter.CFrame
  4447. local lookavec = 0
  4448. local speeds = 0
  4449. CameraEnshaking(1,1)
  4450. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
  4451. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
  4452. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
  4453. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
  4454. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4455. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4456. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4457. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4458. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4459. for i = 0, 99 do
  4460. swait()
  4461. lookavec = lookavec + 2.5
  4462. speeds = speeds + 0.25
  4463. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4464. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4465. 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)
  4466.  
  4467. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4468. 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)
  4469.  
  4470. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4471. 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)
  4472.  
  4473. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4474. 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)
  4475. end
  4476.  
  4477. for i = 0, 149 do
  4478. swait()
  4479. speeds = speeds + 0.25
  4480. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4481. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4482. 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)
  4483.  
  4484. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4485. 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)
  4486.  
  4487. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4488. 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)
  4489.  
  4490. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4491. 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)
  4492. end
  4493. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
  4494. for i = 0, 99 do
  4495. swait()
  4496. lookavec = lookavec - 2.5
  4497. speeds = speeds + 0.25
  4498. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4499. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4500. 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)
  4501.  
  4502. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4503. 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)
  4504.  
  4505. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4506. 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)
  4507.  
  4508. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4509. 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)
  4510. end
  4511. local scaled = 0.1*75
  4512. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
  4513. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
  4514. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
  4515. CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
  4516. CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
  4517. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  4518. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4519. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4520. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4521. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4522. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4523. for i = 0, 10, 0.1 do
  4524. swait()
  4525. scaled = scaled - 0.001*75
  4526. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4527. 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)
  4528. 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)
  4529. 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)
  4530. 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)
  4531. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4532. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4533. 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)
  4534. end
  4535. for x = 0, 4 do
  4536. for i = 0, 9 do
  4537. sphereMK(0.5,0,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,100000,0,MAINRUINCOLOR,0)
  4538. end
  4539. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
  4540. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
  4541. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4542. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4543. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4544. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4545. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4546. for i = 0, 5, 0.1 do
  4547. swait()
  4548. 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)
  4549. 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)
  4550. 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)
  4551. 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)
  4552. 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)
  4553. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  4554. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
  4555. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
  4556. end
  4557. end
  4558. local speedearn = 0
  4559. CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
  4560. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
  4561. CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
  4562. for i = 0, 30, 0.1 do
  4563. swait()
  4564. scaled = scaled - 0.001*75/10
  4565. speedearn = speedearn + 0.5
  4566. for i = 0, 4 do
  4567. 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)
  4568. end
  4569. 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)
  4570. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4571. 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)
  4572. 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)
  4573. 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)
  4574. 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)
  4575. 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)
  4576. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
  4577. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
  4578. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
  4579. end
  4580. orb.Transparency = 1
  4581. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
  4582. if v:FindFirstChild('Head') then
  4583. dmg(v)
  4584. end
  4585. end
  4586. CameraEnshaking(7,30)
  4587. MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
  4588. CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
  4589. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
  4590. CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
  4591. CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
  4592. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4593. CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
  4594. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4595. CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
  4596. CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
  4597. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
  4598. CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
  4599. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
  4600. CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
  4601. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4602. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4603. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4604. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4605. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4606. for i = 0, 99 do
  4607. 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)
  4608. 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)
  4609. end
  4610. for i = 0, 24 do
  4611. 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)
  4612. 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)
  4613. 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)
  4614. 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)
  4615. 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)
  4616. end
  4617. game:GetService("Debris"):AddItem(orb, 10)
  4618. hum.WalkSpeed = storehumanoidWS
  4619. attack = false
  4620. end
  4621.  
  4622.  
  4623. function ViolentRing()
  4624. attack = true
  4625. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
  4626. for i = 0, 2, 0.1 do
  4627. swait()
  4628. local snap = math.random(1,10)
  4629. if snap == 1 then
  4630. 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)
  4631. end
  4632. 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)
  4633. 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)
  4634. 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)
  4635. 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)
  4636. 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)
  4637. 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)
  4638. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
  4639. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
  4640. 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)
  4641. RootPart.CFrame = FaceMouse()[1]
  4642. end
  4643. local orb = Instance.new("Part", char)
  4644. orb.BrickColor = MAINRUINCOLOR
  4645. orb.CanCollide = false
  4646. orb.FormFactor = 3
  4647. orb.Name = "Ring"
  4648. orb.Material = "Neon"
  4649. orb.Size = Vector3.new(1, 1, 1)
  4650. orb.Transparency = 0
  4651. orb.TopSurface = 0
  4652. orb.BottomSurface = 0
  4653. local orbm = Instance.new("SpecialMesh", orb)
  4654. orbm.MeshType = "Sphere"
  4655. orbm.Name = "SizeMesh"
  4656. orbm.Scale = vt(2,2,2)
  4657. orb.CFrame = mouse.Hit
  4658. local bv = Instance.new("BodyVelocity")
  4659. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4660. bv.velocity = orb.CFrame.lookVector*100
  4661. bv.Parent = orb
  4662. local hitted = false
  4663. coroutine.resume(coroutine.create(function()
  4664. game:GetService("Debris"):AddItem(orb, 5)
  4665. orb.Transparency = 1
  4666. orb.Anchored = true
  4667. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4668. elocacenter.Anchored = true
  4669. elocacenter.CFrame = orb.CFrame
  4670. elocacenter.Orientation = vt(0,0,0)
  4671. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4672. eloca1.Anchored = true
  4673. eloca1.CFrame = elocacenter.CFrame
  4674. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4675. eloca2.Anchored = true
  4676. eloca2.CFrame = elocacenter.CFrame
  4677. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4678. eloca3.Anchored = true
  4679. eloca3.CFrame = elocacenter.CFrame
  4680. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4681. eloca4.Anchored = true
  4682. eloca4.CFrame = elocacenter.CFrame
  4683. local lookavec = 0
  4684. local speeds = 0
  4685. CameraEnshaking(1,1)
  4686. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4687. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4688. sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4689. sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4690. sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4691. sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4692. for i = 0, 24 do
  4693. swait()
  4694. lookavec = lookavec + 3.5
  4695. speeds = speeds + 1
  4696. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4697. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4698. 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)
  4699.  
  4700. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4701. 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)
  4702.  
  4703. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4704. 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)
  4705.  
  4706. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4707. 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)
  4708. end
  4709.  
  4710. local risen = 0
  4711. for i = 0, 49 do
  4712. swait()
  4713. risen = risen + 0.05
  4714. speeds = speeds + 0.1
  4715. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4716. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4717. 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)
  4718.  
  4719. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4720. 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)
  4721.  
  4722. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4723. 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)
  4724.  
  4725. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4726. 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)
  4727. end
  4728. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
  4729. if v:FindFirstChild('Head') then
  4730. dmg(v)
  4731. end
  4732. end
  4733. CameraEnshaking(4,10)
  4734. MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
  4735. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
  4736. CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
  4737. CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
  4738. CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
  4739. CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
  4740. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
  4741. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
  4742. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4743. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4744. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4745. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4746. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4747. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
  4748. for i = 0, 24 do
  4749. 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)
  4750. 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)
  4751. 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)
  4752. 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)
  4753. end
  4754. coroutine.resume(coroutine.create(function()
  4755. wait(10)
  4756. elocacenter:Destroy()
  4757. eloca1:Destroy()
  4758. eloca2:Destroy()
  4759. eloca3:Destroy()
  4760. eloca4:Destroy()
  4761. end))
  4762. end))
  4763. attack = false
  4764. end
  4765.  
  4766. function UniversalCollapse()
  4767. attack = true
  4768. local speedearn = 0
  4769. hum.WalkSpeed = 0
  4770. local sbs = Instance.new("BodyPosition", root)
  4771. sbs.P = 3000
  4772. sbs.D = 1000
  4773. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4774. sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
  4775. CFuncs["LongSound"].Create("rbxassetid://489657591", char, 10, 1)
  4776. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4777. for i = 0, 110, 0.1 do
  4778. swait()
  4779. speedearn = speedearn + 0.1
  4780. 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)
  4781. 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)
  4782. 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)
  4783. 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)
  4784. 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)
  4785. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4786. 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)
  4787. 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)
  4788. 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)
  4789. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4790. 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)
  4791. 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)
  4792. end
  4793. CameraEnshaking(5,50)
  4794. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4795. for i = 0, 2 do
  4796. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4797. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4798. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
  4799. CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
  4800. end
  4801. for i = 0, 49 do
  4802. 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)
  4803. 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)
  4804. 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)
  4805. 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)
  4806. end
  4807. sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4808. sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4809. sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4810. sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4811. sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4812. sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4813. sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4814. sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4815. sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4816. sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4817. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4818. sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4819. for i = 0, 99 do
  4820. 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)
  4821. 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)
  4822. end
  4823. for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
  4824. if v:FindFirstChild('Head') then
  4825. dmg(v)
  4826. end
  4827. end
  4828. MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
  4829. sbs:Destroy()
  4830. hum.WalkSpeed = storehumanoidWS
  4831. attack = false
  4832. end
  4833.  
  4834.  
  4835. function ChaosEND()
  4836. attack = true
  4837. local speedearn = 0
  4838. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.5)
  4839. for i = 0, 15, 0.1 do
  4840. swait()
  4841. speedearn = speedearn + 0.25
  4842. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  4843. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  4844. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  4845. 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)
  4846. 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)
  4847. 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)
  4848. 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)
  4849. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4850. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4851. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4852. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4853. end
  4854. CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
  4855. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4856. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 0.75)
  4857. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 0.5)
  4858. CameraEnshaking(5,25)
  4859. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4860. if v:FindFirstChild('Head') then
  4861. dmg(v)
  4862. end
  4863. end
  4864. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  4865. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  4866. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  4867. for i = 0, 3, 0.1 do
  4868. swait()
  4869. 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)
  4870. 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)
  4871. 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)
  4872. 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)
  4873. 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)
  4874. 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)
  4875. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4876. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4877. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4878. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4879. end
  4880. attack = false
  4881. end
  4882.  
  4883. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4884. local orb = Instance.new("Part", char)
  4885. orb.Anchored = true
  4886. orb.BrickColor = color
  4887. orb.CanCollide = false
  4888. orb.FormFactor = 3
  4889. orb.Name = "Ring"
  4890. orb.Material = "Neon"
  4891. orb.Size = Vector3.new(1, 1, 1)
  4892. orb.Transparency = 0
  4893. orb.TopSurface = 0
  4894. orb.BottomSurface = 0
  4895. local orbm = Instance.new("SpecialMesh", orb)
  4896. orbm.MeshType = "Sphere"
  4897. orb.CFrame = positted
  4898. orbm.Name = "SizeMesh"
  4899. orbm.Scale = vt(1,1,1)
  4900. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  4901. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  4902. --[[for i = 0, 2 do
  4903. 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)
  4904. end]]--
  4905. coroutine.resume(coroutine.create(function()
  4906. wait(timer)
  4907. CameraEnshaking(3,ShakePower)
  4908. orb.Transparency = 1
  4909. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  4910. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  4911. --[[for i = 0, 4 do
  4912. 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)
  4913. end]]--
  4914. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  4915. wait(3)
  4916. orb:Destroy()
  4917. end))
  4918. end
  4919.  
  4920. function orb_spawn(positted,timer)
  4921. local randomcol = math.random(1,2)
  4922. local orb = Instance.new("Part", char)
  4923. orb.Anchored = true
  4924. if randomcol == 1 then
  4925. orb.BrickColor = BrickColor.new("White")
  4926. elseif randomcol == 2 then
  4927. orb.BrickColor = BrickColor.new("Really black")
  4928. end
  4929. orb.CanCollide = false
  4930. orb.FormFactor = 3
  4931. orb.Name = "Ring"
  4932. orb.Material = "Neon"
  4933. orb.Size = Vector3.new(1, 1, 1)
  4934. orb.Transparency = 0
  4935. orb.TopSurface = 0
  4936. orb.BottomSurface = 0
  4937. local orbm = Instance.new("SpecialMesh", orb)
  4938. orbm.MeshType = "Sphere"
  4939. orb.CFrame = positted
  4940. orbm.Name = "SizeMesh"
  4941. orbm.Scale = vt(1,1,1)
  4942. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
  4943. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  4944. for i = 0, 2 do
  4945. 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)
  4946. end
  4947. coroutine.resume(coroutine.create(function()
  4948. wait(timer)
  4949. CameraEnshaking(3,2)
  4950. orb.Transparency = 1
  4951. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  4952. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  4953. for i = 0, 4 do
  4954. 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)
  4955. end
  4956. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
  4957. wait(3)
  4958. orb:Destroy()
  4959. end))
  4960. end
  4961.  
  4962. function scattercorrupt()
  4963. attack = true
  4964. local rot = 0
  4965. local randomrotations = math.random(1,2)
  4966. local lookv = 2.5
  4967. local power = 5
  4968. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  4969. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  4970. for i = 0, 9 do
  4971. 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)
  4972. end
  4973. CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
  4974. CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
  4975. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
  4976. CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
  4977. CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
  4978. local hite = Instance.new("Part", char)
  4979. hite.Anchored = true
  4980. hite.CanCollide = false
  4981. hite.FormFactor = 3
  4982. hite.Name = "Ring"
  4983. hite.Material = "Neon"
  4984. hite.Size = Vector3.new(1, 1, 1)
  4985. hite.Transparency = 1
  4986. hite.TopSurface = 0
  4987. hite.BottomSurface = 0
  4988. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  4989. local rem = Instance.new("Part", char)
  4990. rem.Anchored = true
  4991. rem.CanCollide = false
  4992. rem.FormFactor = 3
  4993. rem.Name = "Ring"
  4994. rem.Material = "Neon"
  4995. rem.Size = Vector3.new(1, 1, 1)
  4996. rem.Transparency = 1
  4997. rem.TopSurface = 0
  4998. rem.BottomSurface = 0
  4999. rem.CFrame = hite.CFrame
  5000. local rem2 = rem:Clone()
  5001. rem2.Parent = char
  5002. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  5003. local rem3 = rem:Clone()
  5004. rem3.Parent = char
  5005. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  5006. local rem4 = rem:Clone()
  5007. rem4.Parent = char
  5008. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  5009. hite:Destroy()
  5010. coroutine.resume(coroutine.create(function()
  5011. for i = 0, 24 do
  5012. swait(1)
  5013. if randomrotations == 1 then
  5014. rot = rot + 1
  5015. elseif randomrotations == 2 then
  5016. rot = rot - 1
  5017. end
  5018. power = power + 0.5
  5019. lookv = lookv + 7.5
  5020. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5021. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  5022. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  5023. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  5024. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  5025. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  5026. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  5027. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  5028. end
  5029. end))
  5030. attack = false
  5031. end
  5032. function yinyangi()
  5033. attack = true
  5034. for i = 0, 2, 0.1 do
  5035. swait()
  5036. 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)
  5037. 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)
  5038. 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)
  5039. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5040. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  5041. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  5042. end
  5043. local bv = Instance.new("BodyVelocity")
  5044. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5045. bv.velocity = root.CFrame.lookVector*175
  5046. bv.Parent = root
  5047. for Rotations = 0, 9 do
  5048. for i = 0, 1, 0.5 do
  5049. swait()
  5050. bv.velocity = root.CFrame.lookVector*175
  5051. 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)
  5052. 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)
  5053. 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)
  5054. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5055. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5056. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5057. end
  5058. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5059. for i = 0, 1, 0.5 do
  5060. swait()
  5061. bv.velocity = root.CFrame.lookVector*175
  5062. 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)
  5063. 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)
  5064. 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)
  5065. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5066. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5067. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5068. end
  5069. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5070. for i = 0, 1, 0.5 do
  5071. swait()
  5072. bv.velocity = root.CFrame.lookVector*175
  5073. 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)
  5074. 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)
  5075. 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)
  5076. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5077. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5078. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5079. end
  5080. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5081. for i = 0, 1, 0.5 do
  5082. swait()
  5083. bv.velocity = root.CFrame.lookVector*175
  5084. 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)
  5085. 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)
  5086. 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)
  5087. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5088. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5089. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5090. end
  5091. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5092. end
  5093. bv:Destroy()
  5094. attack = false
  5095. end
  5096.  
  5097. function createBGCircle(size,parent,color)
  5098. local bgui = Instance.new("BillboardGui",parent)
  5099. bgui.Size = UDim2.new(size, 0, size, 0)
  5100. local imgc = Instance.new("ImageLabel",bgui)
  5101. imgc.BackgroundTransparency = 1
  5102. imgc.ImageTransparency = 0
  5103. imgc.Size = UDim2.new(1,0,1,0)
  5104. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  5105. imgc.ImageColor3 = color
  5106. return bgui,imgc
  5107. end
  5108.  
  5109. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  5110. local bgui,imgc = createBGCircle(size,guipar,color)
  5111. bgui.AlwaysOnTop = true
  5112. imgc.Image = "rbxassetid://" ..img
  5113. local rrot = math.random(1,2)
  5114. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  5115. coroutine.resume(coroutine.create(function()
  5116. for i = 0, 24*delay do
  5117. swait()
  5118. if rotationenabled == true then
  5119. if rrot == 1 then
  5120. imgc.Rotation = imgc.Rotation + rotsp
  5121. elseif rrot == 2 then
  5122. imgc.Rotation = imgc.Rotation - rotsp
  5123. end
  5124. end
  5125. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  5126. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  5127. end
  5128. bgui:Destroy()
  5129. end))
  5130. end
  5131. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled)
  5132. for i, v in pairs(mw2:GetChildren()) do
  5133. if v:IsA("Part") then
  5134. v.BrickColor = one
  5135. v.Material = "Neon"
  5136. end
  5137. end
  5138. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  5139. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  5140. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  5141. for i, v in pairs(mw1:GetChildren()) do
  5142. if v:IsA("Part") then
  5143. if secondaryenabled == false then
  5144. v.Transparency = 1
  5145. elseif secondaryenabled == true then
  5146. v.Transparency = 0
  5147. end
  5148. v.BrickColor = two
  5149. v.Material = "Neon"
  5150. end
  5151. end
  5152. if secondaryenabled == false then
  5153. elseif secondaryenabled == true then
  5154. end
  5155. for i, v in pairs(m:GetChildren()) do
  5156. if v:IsA("Part") then
  5157. v.BrickColor = three
  5158. v.Material = "Ice"
  5159. end
  5160. end
  5161. for i, v in pairs(m2:GetChildren()) do
  5162. if v:IsA("Part") then
  5163. v.BrickColor = four
  5164. v.Material = "Ice"
  5165. end
  5166. end
  5167. for i, v in pairs(m3:GetChildren()) do
  5168. if v:IsA("Part") then
  5169. v.BrickColor = five
  5170. v.Material = "Neon"
  5171. end
  5172. end
  5173. for i, v in pairs(extrawingmod1:GetChildren()) do
  5174. if v:IsA("Part") then
  5175. v.Transparency = exonetran
  5176. v.BrickColor = exone
  5177. v.Material = "Neon"
  5178. end
  5179. end
  5180. for i, v in pairs(extrawingmod2:GetChildren()) do
  5181. if v:IsA("Part") then
  5182. v.Transparency = extwotran
  5183. v.BrickColor = extwo
  5184. v.Material = "Neon"
  5185. end
  5186. end
  5187. end
  5188.  
  5189.  
  5190. function normalmog()
  5191. attack = true
  5192. hum.WalkSpeed = 0
  5193. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
  5194. for i = 0,6,0.1 do
  5195. swait()
  5196. 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)
  5197. 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)
  5198. 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)
  5199. 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)
  5200. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5201. 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)
  5202. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5203. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5204. end
  5205. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  5206. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  5207. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  5208. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  5209. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  5210. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  5211. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  5212. rainbowmode = false
  5213. chaosmode = false
  5214. ModeOfGlitch = 1
  5215. storehumanoidWS = 16
  5216. newTheme("rbxassetid://614032233",48.6,1,1.25)
  5217. RecolorTextAndRename("MAYHEM",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  5218. CameraEnshaking(5,2.5)
  5219. MAINRUINCOLOR = BrickColor.new("Really red")
  5220. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5221. for i = 0, 49 do
  5222. 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)
  5223. end
  5224. for i = 0, 24 do
  5225. 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)
  5226. 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"))
  5227. end
  5228. for i = 0,3,0.1 do
  5229. 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)
  5230. end
  5231. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  5232. for i = 0,2,0.1 do
  5233. swait()
  5234. 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)
  5235. 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)
  5236. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  5237. 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)
  5238. 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)
  5239. 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)
  5240. end
  5241. hum.WalkSpeed = storehumanoidWS
  5242. attack = false
  5243. end
  5244.  
  5245. function attackone()
  5246. attack = true
  5247. local keptcolor = MAINRUINCOLOR
  5248. for i = 0,1,0.1 do
  5249. swait()
  5250. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  5251. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  5252. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  5253. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5254. 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)
  5255. 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)
  5256. end
  5257. local distlook = 5
  5258. coroutine.resume(coroutine.create(function()
  5259. for i = 0, 4 do
  5260. swait(2)
  5261. CameraEnshaking(2,3)
  5262. local hite = Instance.new("Part", char)
  5263. hite.Anchored = true
  5264. hite.CanCollide = false
  5265. hite.FormFactor = 3
  5266. hite.Name = "Ring"
  5267. hite.Material = "Neon"
  5268. hite.Size = Vector3.new(1, 1, 1)
  5269. hite.Transparency = 1
  5270. hite.TopSurface = 0
  5271. hite.BottomSurface = 0
  5272. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  5273. 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)
  5274. 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)
  5275. 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)
  5276. 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)
  5277. MagniDamage(hite, 9, 10,25, 0, "Normal")
  5278. for i = 0, 14 do
  5279. local rsiz = math.random(5,20)
  5280. 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)
  5281. end
  5282. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  5283. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  5284. game:GetService("Debris"):AddItem(hite, 5)
  5285. distlook = distlook + 10
  5286. end
  5287. end))
  5288. for i = 0,1,0.1 do
  5289. swait()
  5290. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  5291. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  5292. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  5293. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  5294. 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)
  5295. 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)
  5296. end
  5297. attack = false
  5298. end
  5299.  
  5300. function attacktwo()
  5301. attack = true
  5302. hum.WalkSpeed = 2
  5303. local keptcolor = MAINRUINCOLOR
  5304. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5305. 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)
  5306. 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)
  5307. for i = 0, 14 do
  5308. end
  5309. for i = 0,1,0.1 do
  5310. swait()
  5311. 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)
  5312. 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)
  5313. 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)
  5314. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  5315. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  5316. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  5317. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5318. end
  5319. for i = 0, 1 do
  5320. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  5321. for i = 0,1,0.6 do
  5322. swait()
  5323. 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)
  5324. 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)
  5325. 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)
  5326. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5327. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5328. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5329. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5330. end
  5331. for i = 0,1,0.6 do
  5332. swait()
  5333. 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)
  5334. 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)
  5335. 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)
  5336. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  5337. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5338. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5339. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5340. end
  5341. for i = 0,1,0.6 do
  5342. swait()
  5343. 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)
  5344. 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)
  5345. 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)
  5346. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  5347. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5348. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5349. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5350. end
  5351. for i = 0,1,0.6 do
  5352. swait()
  5353. 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)
  5354. 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)
  5355. 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)
  5356. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  5357. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5358. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5359. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5360. end
  5361. local rot = 0
  5362. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  5363. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  5364. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  5365. CreateMesh(dis,"Sphere",10,1,10)
  5366. local at1 = Instance.new("Attachment",dis)
  5367. at1.Position = vt(-5,0,0)
  5368. local at2 = Instance.new("Attachment",dis)
  5369. at2.Position = vt(5,0,0)
  5370. local trl = Instance.new('Trail',wed)
  5371. trl.Attachment0 = at1
  5372. trl.Attachment1 = at2
  5373. trl.Texture = "rbxassetid://1049219073"
  5374. trl.LightEmission = 1
  5375. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5376. trl.Color = ColorSequence.new(dis.Color)
  5377. trl.Lifetime = 0.6
  5378. local a = Instance.new("Part",workspace)
  5379. a.Name = "Direction"
  5380. a.Anchored = true
  5381. a.BrickColor = bc("Bright red")
  5382. a.Material = "Neon"
  5383. a.Transparency = 1
  5384. a.CanCollide = false
  5385. local ray = Ray.new(
  5386. dis.CFrame.p, -- origin
  5387. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5388. )
  5389. local ignore = dis
  5390. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5391. a.BottomSurface = 10
  5392. a.TopSurface = 10
  5393. local distance = (dis.CFrame.p - position).magnitude
  5394. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5395. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5396. dis.CFrame = a.CFrame
  5397. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5398. a:Destroy()
  5399. local bv = Instance.new("BodyVelocity")
  5400. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5401. bv.velocity = dis.CFrame.lookVector*250
  5402. bv.Parent = dis
  5403. game:GetService("Debris"):AddItem(dis, 5)
  5404. local hitted = false
  5405. coroutine.resume(coroutine.create(function()
  5406. dis.Touched:connect(function(hit)
  5407. if hitted == false and hit.Parent ~= char then
  5408. hitted = true
  5409. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  5410. MagniDamage(dis, 30, 33,56, 0, "Normal")
  5411. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  5412. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5413. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5414. coroutine.resume(coroutine.create(function()
  5415. for i = 0, 9 do
  5416. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  5417. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5418. local at1 = Instance.new("Attachment",disr)
  5419. at1.Position = vt(-5,0,0)
  5420. local at2 = Instance.new("Attachment",disr)
  5421. at2.Position = vt(5,0,0)
  5422. local trl = Instance.new('Trail',disr)
  5423. trl.Attachment0 = at1
  5424. trl.FaceCamera = true
  5425. trl.Attachment1 = at2
  5426. trl.Texture = "rbxassetid://2342682798"
  5427. trl.LightEmission = 1
  5428. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5429. trl.Color = ColorSequence.new(keptcolor.Color)
  5430. trl.Lifetime = 0.5
  5431. local bv = Instance.new("BodyVelocity")
  5432. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5433. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  5434. bv.Parent = disr
  5435. local val = 0
  5436. coroutine.resume(coroutine.create(function()
  5437. swait(30)
  5438. for i = 0, 9 do
  5439. swait()
  5440. val = val + 0.1
  5441. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5442. end
  5443. game:GetService("Debris"):AddItem(disr, 3)
  5444. end))
  5445. end
  5446. local eff = Instance.new("ParticleEmitter",dis)
  5447. eff.Texture = "rbxassetid://2273224484"
  5448. eff.LightEmission = 1
  5449. eff.Color = ColorSequence.new(keptcolor.Color)
  5450. eff.Rate = 50
  5451. eff.Lifetime = NumberRange.new(0.5,2)
  5452. 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)})
  5453. 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)})
  5454. eff.Speed = NumberRange.new(20,250)
  5455. eff.Drag = 5
  5456. eff.Rotation = NumberRange.new(-500,500)
  5457. eff.VelocitySpread = 9000
  5458. eff.RotSpeed = NumberRange.new(-50,50)
  5459. wait(0.25)
  5460. eff.Enabled = false
  5461. end))
  5462. for i = 0, 9 do
  5463. end
  5464. for i = 0, 19 do
  5465. end
  5466. coroutine.resume(coroutine.create(function()
  5467. for i = 0, 19 do
  5468. swait()
  5469. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  5470. end
  5471. hum.CameraOffset = vt(0,0,0)
  5472. end))
  5473. dis.Anchored = true
  5474. dis.Transparency = 1
  5475. wait(8)
  5476. dis:Destroy()
  5477. end
  5478. end)
  5479. end))
  5480. rot = rot - 15
  5481. end
  5482. for i = 0,2,0.1 do
  5483. swait()
  5484. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-30),math.rad(0)),.3)
  5485. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.3)
  5486. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5487. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  5488. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5489. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5490. end
  5491. attack = false
  5492. hum.WalkSpeed = storehumanoidWS
  5493. end
  5494.  
  5495. function attackthree()
  5496. attack = true
  5497. local keptcolor = MAINRUINCOLOR
  5498. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  5499. for i = 0,2,0.1 do
  5500. swait()
  5501. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5502. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3)
  5503. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  5504. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3)
  5505. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3)
  5506. 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)
  5507. 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)
  5508. end
  5509. CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
  5510. CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
  5511. CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
  5512. CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
  5513. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  5514. sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR)
  5515. for i = 0, 24 do
  5516. end
  5517. for i = 0,4,0.1 do
  5518. swait()
  5519. root.CFrame = root.CFrame + root.CFrame.lookVector*5
  5520. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  5521. CreateMesh(dis,"Sphere",1,1,1)
  5522. dis.Anchored = true
  5523. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  5524. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  5525. coroutine.resume(coroutine.create(function()
  5526. swait(30)
  5527. dis.Transparency = 1
  5528. coroutine.resume(coroutine.create(function()
  5529. for i = 0, 19 do
  5530. swait()
  5531. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  5532. end
  5533. hum.CameraOffset = vt(0,0,0)
  5534. end))
  5535. coroutine.resume(coroutine.create(function()
  5536. local eff = Instance.new("ParticleEmitter",dis)
  5537. eff.Texture = "rbxassetid://2273224484"
  5538. eff.LightEmission = 1
  5539. eff.Color = ColorSequence.new(dis.Color)
  5540. eff.Rate = 500000
  5541. eff.Lifetime = NumberRange.new(0.5,2)
  5542. 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)})
  5543. 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)})
  5544. eff.Speed = NumberRange.new(50,450)
  5545. eff.Drag = 5
  5546. eff.Rotation = NumberRange.new(-500,500)
  5547. eff.VelocitySpread = 9000
  5548. eff.RotSpeed = NumberRange.new(-50,50)
  5549. wait(0.125)
  5550. eff.Enabled = false
  5551. end))
  5552. MagniDamage(dis, 30, 45,50, 0, "Normal")
  5553. for i = 0, 2 do
  5554. --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)
  5555. end
  5556. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
  5557. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
  5558. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
  5559. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color)
  5560. end))
  5561. game:GetService("Debris"):AddItem(dis, 5)
  5562. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5)
  5563. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5)
  5564. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5)
  5565. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5)
  5566. 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)
  5567. 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)
  5568. end
  5569. attack = false
  5570. end
  5571. ------------------------------------- Abilities ---------------------------------------------------------
  5572. function Crossfire()
  5573. attack = true
  5574. hum.WalkSpeed = 0
  5575. local vel = Instance.new("BodyPosition", root)
  5576. vel.P = 30000
  5577. vel.D = 1000
  5578. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  5579. vel.position = root.CFrame.p + vt(0,150,0)
  5580. CFuncs["Sound"].Create("rbxassetid://1295446488", root, 7.5, 1)
  5581. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5582. local keptcolor = MAINRUINCOLOR
  5583. sphere2(2,"Add",root.CFrame,vt(25,1,25),-0.05,3,-0.05,keptcolor)
  5584. sphere2(2,"Add",root.CFrame,vt(50,1,50),-0.1,6,-0.1,keptcolor)
  5585. for i = 0, 24 do
  5586. 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"))
  5587. end
  5588. for i = 0,3,0.1 do
  5589. swait()
  5590. 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)
  5591. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  5592. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  5593. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.5)
  5594. 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)
  5595. 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)
  5596. 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)
  5597. end
  5598. local rotz = 25
  5599. coroutine.resume(coroutine.create(function()
  5600. for i = 0, 4 do
  5601. local orb = Instance.new("Part", char)
  5602. orb.BrickColor = keptcolor
  5603. orb.CanCollide = false
  5604. orb.FormFactor = 3
  5605. orb.Name = "Ring"
  5606. orb.Material = "Neon"
  5607. orb.Size = Vector3.new(1, 1, 1)
  5608. orb.Transparency = 0
  5609. orb.TopSurface = 0
  5610. orb.BottomSurface = 0
  5611. local orbm = Instance.new("SpecialMesh", orb)
  5612. orbm.MeshType = "Sphere"
  5613. orbm.Name = "SizeMesh"
  5614. orbm.Scale = vt(4,4,4)
  5615. orb.CFrame = root.CFrame + root.CFrame.lookVector*3
  5616. local eff = Instance.new("ParticleEmitter",orb)
  5617. eff.Texture = "rbxassetid://296874871"
  5618. eff.LightEmission = 0.95
  5619. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  5620. eff.Rate = 500
  5621. eff.Lifetime = NumberRange.new(1.5)
  5622. 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)})
  5623. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  5624. eff.Speed = NumberRange.new(25)
  5625. eff.Drag = 5
  5626. eff.Rotation = NumberRange.new(-500,500)
  5627. eff.VelocitySpread = 9000
  5628. eff.RotSpeed = NumberRange.new(-500,500)
  5629. local a = Instance.new("Part",workspace)
  5630. a.Name = "Direction"
  5631. a.Anchored = true
  5632. a.BrickColor = bc("Bright red")
  5633. a.Material = "Neon"
  5634. a.Transparency = 1
  5635. a.CanCollide = false
  5636. local ray = Ray.new(
  5637. orb.CFrame.p, -- origin
  5638. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  5639. )
  5640. local ignore = orb
  5641. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5642. a.BottomSurface = 10
  5643. a.TopSurface = 10
  5644. local distance = (orb.CFrame.p - position).magnitude
  5645. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5646. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  5647. orb.CFrame = a.CFrame
  5648. a:Destroy()
  5649. orb.CFrame = orb.CFrame*CFrame.Angles(0,math.rad(rotz),0)
  5650. rotz = rotz - 12.5
  5651. CFuncs["Sound"].Create("rbxassetid://335657174", orb, 3, 0.75)
  5652. CFuncs["Sound"].Create("rbxassetid://304448425", orb, 3.5, 0.9)
  5653. local bv = Instance.new("BodyVelocity")
  5654. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5655. bv.velocity = orb.CFrame.lookVector*225
  5656. bv.Parent = orb
  5657. game:GetService("Debris"):AddItem(orb, 10)
  5658. local hitted = false
  5659. local hit =orb.Touched:connect(function(hit)
  5660. if hitted == false and hit.Parent ~= char then
  5661. hitted = true
  5662. eff.Enabled = false
  5663. CameraEnshaking(4,4)
  5664. for i = 0, 9 do
  5665. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  5666. disr.CFrame = orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5667. local at1 = Instance.new("Attachment",disr)
  5668. at1.Position = vt(-15,0,0)
  5669. local at2 = Instance.new("Attachment",disr)
  5670. at2.Position = vt(15,0,0)
  5671. local trl = Instance.new('Trail',disr)
  5672. trl.Attachment0 = at1
  5673. trl.FaceCamera = true
  5674. trl.Attachment1 = at2
  5675. trl.Texture = "rbxassetid://2325530138"
  5676. trl.LightEmission = 1
  5677. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5678. trl.Color = ColorSequence.new(keptcolor.Color)
  5679. trl.Lifetime = 0.5
  5680. local bv = Instance.new("BodyVelocity")
  5681. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5682. bv.velocity = disr.CFrame.lookVector*math.random(75,250)
  5683. bv.Parent = disr
  5684. local val = 0
  5685. coroutine.resume(coroutine.create(function()
  5686. swait(30)
  5687. for i = 0, 19 do
  5688. swait()
  5689. val = val + 0.05
  5690. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5691. end
  5692. game:GetService("Debris"):AddItem(disr, 3)
  5693. end))
  5694. end
  5695. CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 6, 0.7)
  5696. CFuncs["Sound"].Create("rbxassetid://1368637781", orb, 8,1)
  5697. CFuncs["Sound"].Create("rbxassetid://1368637781", orb, 8,1)
  5698. CFuncs["Sound"].Create("rbxassetid://763718160", orb, 7, 1.1)
  5699. CFuncs["Sound"].Create("rbxassetid://782353443", orb, 7, 1)
  5700. CFuncs["Sound"].Create("rbxassetid://178452221", orb, 6, 0.4)
  5701. MagniDamage(orb, 25, 80,140, 0, "Normal")
  5702. sphere2(4,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  5703. sphere2(3,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  5704. sphere2(2,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  5705. for i = 0, 9 do
  5706. 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)
  5707. end
  5708. for i = 0, 19 do
  5709. 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"))
  5710. end
  5711. for i = 0, 19 do
  5712. local rsiz = math.random(10,30)
  5713. 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)
  5714. end
  5715. local eff = Instance.new("ParticleEmitter",orb)
  5716. eff.Texture = "rbxassetid://296874871"
  5717. eff.LightEmission = 0.95
  5718. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  5719. eff.Rate = 10000
  5720. eff.Lifetime = NumberRange.new(1.5)
  5721. 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)})
  5722. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  5723. eff.Speed = NumberRange.new(150)
  5724. eff.Drag = 5
  5725. eff.Rotation = NumberRange.new(-500,500)
  5726. eff.VelocitySpread = 9000
  5727. eff.RotSpeed = NumberRange.new(-500,500)
  5728. coroutine.resume(coroutine.create(function()
  5729. wait(0.25)
  5730. eff.Enabled = false
  5731. end))
  5732. orb.Anchored = true
  5733. orb.Transparency = 1
  5734. wait(10)
  5735. orb:Destroy()
  5736. end
  5737. end)
  5738. end
  5739. end))
  5740. for i = 0,1,0.1 do
  5741. swait()
  5742. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(60)),0.3)
  5743. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.3)
  5744. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
  5745. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-20)), 0.3)
  5746. 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)
  5747. 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)
  5748. end
  5749. for i = 0,1,0.1 do
  5750. swait()
  5751. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.3)
  5752. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-70)),.3)
  5753. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
  5754. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-10)), 0.3)
  5755. 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)
  5756. 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)
  5757. end
  5758. coroutine.resume(coroutine.create(function()
  5759. for i = 0, 4 do
  5760. local orb = Instance.new("Part", char)
  5761. orb.BrickColor = keptcolor
  5762. orb.CanCollide = false
  5763. orb.FormFactor = 3
  5764. orb.Name = "Ring"
  5765. orb.Material = "Neon"
  5766. orb.Size = Vector3.new(1, 1, 1)
  5767. orb.Transparency = 0
  5768. orb.TopSurface = 0
  5769. orb.BottomSurface = 0
  5770. local orbm = Instance.new("SpecialMesh", orb)
  5771. orbm.MeshType = "Sphere"
  5772. orbm.Name = "SizeMesh"
  5773. orbm.Scale = vt(4,4,4)
  5774. orb.CFrame = root.CFrame + root.CFrame.lookVector*3
  5775. local eff = Instance.new("ParticleEmitter",orb)
  5776. eff.Texture = "rbxassetid://296874871"
  5777. eff.LightEmission = 0.95
  5778. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  5779. eff.Rate = 500
  5780. eff.Lifetime = NumberRange.new(1.5)
  5781. 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)})
  5782. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  5783. eff.Speed = NumberRange.new(25)
  5784. eff.Drag = 5
  5785. eff.Rotation = NumberRange.new(-500,500)
  5786. eff.VelocitySpread = 9000
  5787. eff.RotSpeed = NumberRange.new(-500,500)
  5788. local a = Instance.new("Part",workspace)
  5789. a.Name = "Direction"
  5790. a.Anchored = true
  5791. a.BrickColor = bc("Bright red")
  5792. a.Material = "Neon"
  5793. a.Transparency = 1
  5794. a.CanCollide = false
  5795. local ray = Ray.new(
  5796. orb.CFrame.p, -- origin
  5797. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  5798. )
  5799. local ignore = orb
  5800. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5801. a.BottomSurface = 10
  5802. a.TopSurface = 10
  5803. local distance = (orb.CFrame.p - position).magnitude
  5804. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5805. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  5806. orb.CFrame = a.CFrame
  5807. a:Destroy()
  5808. rotz = rotz + 12.5
  5809. orb.CFrame = orb.CFrame*CFrame.Angles(math.rad(rotz),0,0)
  5810. CFuncs["Sound"].Create("rbxassetid://335657174", orb, 3, 0.75)
  5811. CFuncs["Sound"].Create("rbxassetid://304448425", orb, 3.5, 0.9)
  5812. local bv = Instance.new("BodyVelocity")
  5813. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5814. bv.velocity = orb.CFrame.lookVector*225
  5815. bv.Parent = orb
  5816. game:GetService("Debris"):AddItem(orb, 10)
  5817. local hitted = false
  5818. local hit =orb.Touched:connect(function(hit)
  5819. if hitted == false and hit.Parent ~= char then
  5820. hitted = true
  5821. eff.Enabled = false
  5822. CameraEnshaking(4,4)
  5823. for i = 0, 9 do
  5824. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  5825. disr.CFrame = orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5826. local at1 = Instance.new("Attachment",disr)
  5827. at1.Position = vt(-15,0,0)
  5828. local at2 = Instance.new("Attachment",disr)
  5829. at2.Position = vt(15,0,0)
  5830. local trl = Instance.new('Trail',disr)
  5831. trl.Attachment0 = at1
  5832. trl.FaceCamera = true
  5833. trl.Attachment1 = at2
  5834. trl.Texture = "rbxassetid://2325530138"
  5835. trl.LightEmission = 1
  5836. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5837. trl.Color = ColorSequence.new(keptcolor.Color)
  5838. trl.Lifetime = 0.5
  5839. local bv = Instance.new("BodyVelocity")
  5840. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5841. bv.velocity = disr.CFrame.lookVector*math.random(75,250)
  5842. bv.Parent = disr
  5843. local val = 0
  5844. coroutine.resume(coroutine.create(function()
  5845. swait(30)
  5846. for i = 0, 19 do
  5847. swait()
  5848. val = val + 0.05
  5849. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5850. end
  5851. game:GetService("Debris"):AddItem(disr, 3)
  5852. end))
  5853. end
  5854. CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 6, 0.7)
  5855. CFuncs["Sound"].Create("rbxassetid://1368637781", orb, 8,1)
  5856. CFuncs["Sound"].Create("rbxassetid://1368637781", orb, 8,1)
  5857. CFuncs["Sound"].Create("rbxassetid://763718160", orb, 7, 1.1)
  5858. CFuncs["Sound"].Create("rbxassetid://782353443", orb, 7, 1)
  5859. CFuncs["Sound"].Create("rbxassetid://178452221", orb, 6, 0.4)
  5860. MagniDamage(orb, 25, 80,140, 0, "Normal")
  5861. sphere2(4,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  5862. sphere2(3,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  5863. sphere2(2,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  5864. for i = 0, 9 do
  5865. 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)
  5866. end
  5867. for i = 0, 19 do
  5868. 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"))
  5869. end
  5870. for i = 0, 24 do
  5871. local rsiz = math.random(10,30)
  5872. 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)
  5873. end
  5874. local eff = Instance.new("ParticleEmitter",orb)
  5875. eff.Texture = "rbxassetid://296874871"
  5876. eff.LightEmission = 0.95
  5877. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  5878. eff.Rate = 10000
  5879. eff.Lifetime = NumberRange.new(1.5)
  5880. 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)})
  5881. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  5882. eff.Speed = NumberRange.new(150)
  5883. eff.Drag = 5
  5884. eff.Rotation = NumberRange.new(-500,500)
  5885. eff.VelocitySpread = 9000
  5886. eff.RotSpeed = NumberRange.new(-500,500)
  5887. coroutine.resume(coroutine.create(function()
  5888. wait(0.25)
  5889. eff.Enabled = false
  5890. end))
  5891. orb.Anchored = true
  5892. orb.Transparency = 1
  5893. wait(10)
  5894. orb:Destroy()
  5895. end
  5896. end)
  5897. end
  5898. end))
  5899. for i = 0,2,0.1 do
  5900. swait()
  5901. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-80)),0.3)
  5902. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.3)
  5903. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
  5904. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-30)), 0.3)
  5905. 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)
  5906. 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)
  5907. end
  5908. vel:Destroy()
  5909. hum.WalkSpeed = storehumanoidWS
  5910. attack = false
  5911. end
  5912.  
  5913. function BeamOfDeath()
  5914. attack = true
  5915. hum.WalkSpeed = 0
  5916. CFuncs["Sound"].Create("rbxassetid://1368598393", rarm, 8, 1)
  5917. for i = 0, 5, 0.1 do
  5918. swait()
  5919. 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))
  5920. 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)
  5921. 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)
  5922. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(60)),.1)
  5923. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(-5),math.rad(-60)),.1)
  5924. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(1),math.rad(60)),.1)
  5925. LW.C0=clerp(LW.C0,cf(-0.95,0.65,-0.65)*angles(math.rad(90),math.rad(25),math.rad(73)),.1)
  5926. end
  5927. CFuncs["Sound"].Create("rbxassetid://335657174", rarm, 8, 1)
  5928. for i = 0, 14 do
  5929. 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"))
  5930. end
  5931. 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))
  5932. 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))
  5933. local keptcolor = MAINRUINCOLOR
  5934. local orb = Instance.new("Part", char)
  5935. orb.BrickColor = keptcolor
  5936. orb.CanCollide = false
  5937. orb.FormFactor = 3
  5938. orb.Name = "Ring"
  5939. orb.Material = "Neon"
  5940. orb.Size = Vector3.new(1, 1, 1)
  5941. orb.Transparency = 1
  5942. orb.TopSurface = 0
  5943. orb.BottomSurface = 0
  5944. local orbm = Instance.new("SpecialMesh", orb)
  5945. orbm.MeshType = "Sphere"
  5946. orbm.Name = "SizeMesh"
  5947. orbm.Scale = vt(22.5,10000,22.5)
  5948. orb.CFrame = mouse.Hit
  5949. orb.Anchored = true
  5950. orb.Orientation = vt(0,0,0)
  5951. orb.CFrame = orb.CFrame*CFrame.new(0,1,0)
  5952. CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 2.5, 1)
  5953. local bgui,imgc = createBGCircle(300,orb,MAINRUINCOLOR.Color)
  5954. bgui.AlwaysOnTop = true
  5955. imgc.ImageTransparency = 1
  5956. imgc.Image = "rbxassetid://2325939897"
  5957. local over = false
  5958. coroutine.resume(coroutine.create(function()
  5959. while true do
  5960. swait()
  5961. imgc.Rotation = imgc.Rotation + 5
  5962. if over == true then
  5963. break
  5964. end
  5965. end
  5966. end))
  5967. coroutine.resume(coroutine.create(function()
  5968. coroutine.resume(coroutine.create(function()
  5969. for i = 0, 399 do
  5970. swait()
  5971. bgui.Size = bgui.Size - UDim2.new(0.5,0,0.5,0)
  5972. imgc.ImageTransparency = imgc.ImageTransparency - 0.0025
  5973. orbm.Scale = orbm.Scale - vt(0.05,0,0.05)
  5974. --orb.Transparency = orb.Transparency - 0.0025
  5975. end
  5976. end))
  5977. wait(9)
  5978. CameraEnshaking(15,5)
  5979. for i = 0, 99 do
  5980. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5981. 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)))
  5982. local at1 = Instance.new("Attachment",dis)
  5983. at1.Position = vt(-25000,0,0)
  5984. local at2 = Instance.new("Attachment",dis)
  5985. at2.Position = vt(25000,0,0)
  5986. local trl = Instance.new('Trail',dis)
  5987. trl.Attachment0 = at1
  5988. trl.FaceCamera = true
  5989. trl.Attachment1 = at2
  5990. trl.Texture = "rbxassetid://1049219073"
  5991. trl.LightEmission = 1
  5992. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5993. trl.Color = ColorSequence.new(keptcolor.Color)
  5994. trl.Lifetime = 5
  5995. local bv = Instance.new("BodyVelocity")
  5996. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5997. bv.velocity = dis.CFrame.lookVector*math.random(1500,7500)
  5998. bv.Parent = dis
  5999. game:GetService("Debris"):AddItem(dis, 15)
  6000. end
  6001. CFuncs["Sound"].Create("rbxassetid://763718160", char, 6, 1.1)
  6002. CFuncs["Sound"].Create("rbxassetid://782353443", char, 6, 1)
  6003. CFuncs["LongSound"].Create("rbxassetid://763717897", char, 5, 0.5)
  6004. CFuncs["LongSound"].Create("rbxassetid://763717897", char, 4, 0.75)
  6005. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 6, 1)
  6006. coroutine.resume(coroutine.create(function()
  6007. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  6008. if hfr ~= nil then
  6009. for i = 0, 49 do
  6010. local deb = Instance.new("Part", char)
  6011. deb.Anchored = true
  6012. deb.CanCollide = false
  6013. deb.FormFactor = 3
  6014. deb.Name = "Ring"
  6015. deb.Material = hitfloor.Material
  6016. deb.Color = hitfloor.Color
  6017. deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55))
  6018. deb.Transparency = 0
  6019. deb.TopSurface = 0
  6020. deb.BottomSurface = 0
  6021. 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)))
  6022. local deb2 = Instance.new("Part", char)
  6023. deb2.CanCollide = false
  6024. deb2.FormFactor = 3
  6025. deb2.Name = "Ring"
  6026. deb2.Material = hitfloor.Material
  6027. deb2.Color = hitfloor.Color
  6028. deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38))
  6029. deb2.Transparency = 0
  6030. deb2.TopSurface = 0
  6031. deb2.BottomSurface = 0
  6032. deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150))
  6033. 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)))
  6034. local eff = Instance.new("ParticleEmitter",deb)
  6035. eff.Texture = "rbxassetid://363275192"
  6036. eff.LightEmission = 0.95
  6037. eff.Color = ColorSequence.new(keptcolor.Color)
  6038. eff.Rate = 100
  6039. eff.Lifetime = NumberRange.new(1)
  6040. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
  6041. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6042. eff.Speed = NumberRange.new(0,5)
  6043. eff.Rotation = NumberRange.new(-500,500)
  6044. eff.VelocitySpread = 9000
  6045. eff.RotSpeed = NumberRange.new(-10,10)
  6046. local at1 = Instance.new('Attachment',deb2)
  6047. at1.Position = vt(0,15,0)
  6048. local at2 = Instance.new('Attachment',deb2)
  6049. at2.Position = vt(0,-15,0)
  6050. local tl = Instance.new('Trail',deb2)
  6051. tl.Attachment0 = at1
  6052. tl.Attachment1 = at2
  6053. tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6054. tl.Color = ColorSequence.new(BrickColor.new('White').Color)
  6055. tl.Lifetime = 1
  6056. game:GetService("Debris"):AddItem(deb,30)
  6057. game:GetService("Debris"):AddItem(deb2,30)
  6058. coroutine.resume(coroutine.create(function()
  6059. wait(15)
  6060. eff.Enabled = false
  6061. for i = 0, 49 do
  6062. swait()
  6063. deb.Transparency = deb.Transparency + 0.02
  6064. end
  6065. wait(1)
  6066. deb:Destroy()
  6067. end))
  6068. end
  6069. end
  6070. end))
  6071. for i = 0, 49, 0.1 do
  6072. swait(1.5)
  6073. bgui.Size = bgui.Size + UDim2.new(45,0,45,0)
  6074. imgc.ImageTransparency = imgc.ImageTransparency + 0.01
  6075. for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do
  6076. if v:FindFirstChild('Head') then
  6077. dmg(v)
  6078. end
  6079. end
  6080. for i = 0, 2 do
  6081. 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"))
  6082. end
  6083. 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)
  6084. 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)
  6085. 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)
  6086. sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor)
  6087. end
  6088. over = true
  6089. orb:Destroy()
  6090. end))
  6091. hum.WalkSpeed = storehumanoidWS
  6092. attack = false
  6093. end
  6094.  
  6095.  
  6096.  
  6097. function Beams()
  6098. attack = true
  6099. hum.WalkSpeed = 0
  6100. local keptcolor = MAINRUINCOLOR
  6101. coroutine.resume(coroutine.create(function()
  6102. for i = 0, 24 do
  6103. swait(5)
  6104. local orb = Instance.new("Part", char)
  6105. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  6106. orb.BrickColor = keptcolor
  6107. orb.CanCollide = false
  6108. orb.FormFactor = 3
  6109. orb.Name = "Ring"
  6110. orb.Material = "Neon"
  6111. orb.Size = Vector3.new(1, 1, 1)
  6112. orb.Transparency = 0
  6113. orb.TopSurface = 0
  6114. orb.BottomSurface = 0
  6115. orb.Anchored = true
  6116. local orbm = Instance.new("SpecialMesh", orb)
  6117. orbm.MeshType = "Sphere"
  6118. orbm.Name = "SizeMesh"
  6119. orbm.Scale = vt(1.25,1.25,1.25)
  6120. orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6))
  6121. sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  6122. coroutine.resume(coroutine.create(function()
  6123. local eff = Instance.new("ParticleEmitter",orb)
  6124. eff.Texture = "rbxassetid://2273224484"
  6125. eff.LightEmission = 1
  6126. eff.Color = ColorSequence.new(keptcolor.Color)
  6127. eff.Rate = 1500
  6128. eff.Lifetime = NumberRange.new(0.5,1)
  6129. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.2,1,0),NumberSequenceKeypoint.new(1,0,0)})
  6130. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6131. eff.Speed = NumberRange.new(10,30)
  6132. eff.Drag = 5
  6133. eff.Rotation = NumberRange.new(-500,500)
  6134. eff.VelocitySpread = 9000
  6135. eff.RotSpeed = NumberRange.new(-500,500)
  6136. wait(0.25)
  6137. eff.Enabled = false
  6138. end))
  6139. coroutine.resume(coroutine.create(function()
  6140. wait(0.5)
  6141. CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
  6142. sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  6143. sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  6144. orb.Transparency = 1
  6145. local a = Instance.new("Part",char)
  6146. a.Name = "Direction"
  6147. a.Anchored = true
  6148. a.BrickColor = keptcolor
  6149. a.Material = "Neon"
  6150. a.Transparency = 0.25
  6151. a.Shape = "Cylinder"
  6152. local ht = Instance.new("Part",char)
  6153. ht.Name = "DirectionHit"
  6154. ht.Anchored = true
  6155. ht.BrickColor = keptcolor
  6156. ht.CanCollide = false
  6157. ht.Transparency = 1
  6158. ht.Size = vt(0.1,0.1,0.1)
  6159. CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.2)
  6160. a.CanCollide = false
  6161. local ray = Ray.new(
  6162. orb.CFrame.p, -- origin
  6163. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  6164. )
  6165. local ignore = char
  6166. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6167. a.BottomSurface = 10
  6168. a.TopSurface = 10
  6169. local distance = (orb.CFrame.p - position).magnitude
  6170. a.Size = Vector3.new(distance,1,1)
  6171. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  6172. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  6173. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  6174. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  6175. MagniDamage(ht, 9, 10,15, 0, "Normal")
  6176. CameraEnshaking(2,1)
  6177. coroutine.resume(coroutine.create(function()
  6178. for i = 0, 9 do
  6179. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6180. disr.CFrame = ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6181. local at1 = Instance.new("Attachment",disr)
  6182. at1.Position = vt(-2,0,0)
  6183. local at2 = Instance.new("Attachment",disr)
  6184. at2.Position = vt(2,0,0)
  6185. local trl = Instance.new('Trail',disr)
  6186. trl.Attachment0 = at1
  6187. trl.FaceCamera = true
  6188. trl.Attachment1 = at2
  6189. trl.Texture = "rbxassetid://2325530138"
  6190. trl.LightEmission = 1
  6191. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6192. trl.Color = ColorSequence.new(keptcolor.Color)
  6193. trl.Lifetime = 0.5
  6194. local bv = Instance.new("BodyVelocity")
  6195. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6196. bv.velocity = disr.CFrame.lookVector*math.random(25,100)
  6197. bv.Parent = disr
  6198. local val = 0
  6199. coroutine.resume(coroutine.create(function()
  6200. swait(30)
  6201. for i = 0, 9 do
  6202. swait()
  6203. val = val + 0.1
  6204. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6205. end
  6206. game:GetService("Debris"):AddItem(disr, 3)
  6207. end))
  6208. end
  6209. local eff = Instance.new("ParticleEmitter",ht)
  6210. eff.Texture = "rbxassetid://2273224484"
  6211. eff.LightEmission = 1
  6212. eff.Color = ColorSequence.new(keptcolor.Color)
  6213. eff.Rate = 5000
  6214. eff.Lifetime = NumberRange.new(0.5,1.5)
  6215. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6216. 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)})
  6217. eff.Speed = NumberRange.new(5,100)
  6218. eff.Drag = 5
  6219. eff.Rotation = NumberRange.new(-500,500)
  6220. eff.VelocitySpread = 9000
  6221. eff.RotSpeed = NumberRange.new(-50,50)
  6222. wait(0.25)
  6223. eff.Enabled = false
  6224. end))
  6225. for i = 0, 4 do
  6226. 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"))
  6227. 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)
  6228. 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)
  6229. local rsiz = math.random(10,30)
  6230. 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)
  6231. end
  6232. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  6233. local msh = Instance.new("SpecialMesh",a)
  6234. msh.MeshType = "Cylinder"
  6235. msh.Scale = vt(1,1,1)
  6236. for i = 0, 49 do
  6237. swait()
  6238. msh.Scale = msh.Scale + vt(0,0.01,0.01)
  6239. a.Transparency = a.Transparency + 0.02
  6240. end
  6241. wait(1)
  6242. orb:Destroy()
  6243. a:Destroy()
  6244. ht:Destroy()
  6245. end))
  6246. game:GetService("Debris"):AddItem(orb, 10)
  6247. end
  6248. end))
  6249. for i = 0,12,0.1 do
  6250. swait()
  6251. 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)
  6252. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
  6253. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
  6254. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3)
  6255. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3)
  6256. 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)
  6257. 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)
  6258. end
  6259. hum.WalkSpeed = storehumanoidWS
  6260. attack = false
  6261. end
  6262.  
  6263. function smiter()
  6264. local targetted = nil
  6265. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  6266. targetted = mouse.Target.Parent
  6267. end
  6268. if targetted ~= nil then
  6269. attack = true
  6270. hum.WalkSpeed = 0
  6271. coroutine.resume(coroutine.create(function()
  6272. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  6273. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  6274. local vel = Instance.new("BodyPosition", targetted.Head)
  6275. vel.P = 12500
  6276. vel.D = 1000
  6277. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  6278. vel.position = targetted.Head.CFrame.p
  6279. end))
  6280. CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
  6281. for i = 0,4,0.1 do
  6282. swait()
  6283. 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)
  6284. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  6285. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  6286. 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)
  6287. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  6288. 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)
  6289. 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)
  6290. end
  6291. coroutine.resume(coroutine.create(function()
  6292. CameraEnshaking(6,5)
  6293. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  6294. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
  6295. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
  6296. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
  6297. for i = 0, 19 do
  6298. 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"))
  6299. end
  6300. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  6301. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  6302. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  6303. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  6304. coroutine.resume(coroutine.create(function()
  6305. local eff = Instance.new("ParticleEmitter",targetted.Head)
  6306. eff.Texture = "rbxassetid://363275192"
  6307. eff.LightEmission = 0.95
  6308. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6309. eff.Rate = 10000
  6310. eff.Lifetime = NumberRange.new(1.5)
  6311. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  6312. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6313. eff.Speed = NumberRange.new(25,150)
  6314. eff.Drag = 5
  6315. eff.Rotation = NumberRange.new(-500,500)
  6316. eff.VelocitySpread = 9000
  6317. eff.RotSpeed = NumberRange.new(-50,50)
  6318. local eff2 = eff:Clone()
  6319. eff2.Parent = targetted.Head
  6320. eff2.LightEmission = 1
  6321. eff2.Color = ColorSequence.new(Color3.new(0.75,0.5,1))
  6322. eff2.Texture = "rbxassetid://2273224484"
  6323. eff2.Rate = 10000
  6324. eff2.Lifetime = NumberRange.new(1,3)
  6325. eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,10,0),NumberSequenceKeypoint.new(1,0,0)})
  6326. 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)})
  6327. eff2.Drag = 5
  6328. eff2.Speed = NumberRange.new(50,250)
  6329. eff2.Rotation = NumberRange.new(-500,500)
  6330. eff2.VelocitySpread = 9000
  6331. wait(0.5)
  6332. eff2.Enabled = false
  6333. eff.Enabled = false
  6334. end))
  6335. for i = 0, 9 do
  6336. 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)
  6337. end
  6338. for i = 0, 49 do
  6339. local rsiz = math.random(10,50)
  6340. 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)
  6341. end
  6342. game:GetService("Debris"):AddItem(vel,1)
  6343. dmg(targetted)
  6344. end))
  6345. for i = 0,1,0.1 do
  6346. swait()
  6347. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  6348. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  6349. 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)
  6350. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-50)), 0.5)
  6351. 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)
  6352. 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)
  6353. end
  6354. attack = false
  6355. hum.WalkSpeed = storehumanoidWS
  6356. end
  6357. end
  6358.  
  6359. function supsmiter()
  6360. local targetted = nil
  6361. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  6362. targetted = mouse.Target.Parent
  6363. end
  6364. if targetted ~= nil then
  6365. attack = true
  6366. hum.WalkSpeed = 0
  6367. coroutine.resume(coroutine.create(function()
  6368. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 5, 0.5)
  6369. local vel = Instance.new("BodyPosition", targetted.Head)
  6370. vel.P = 12500
  6371. vel.D = 1000
  6372. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  6373. vel.position = targetted.Head.CFrame.p + vt(0,10,0)
  6374. for i,v in pairs(targetted:GetChildren()) do
  6375. if v:IsA("Part") or v:IsA("MeshPart") then
  6376. coroutine.resume(coroutine.create(function()
  6377. local bld = Instance.new("ParticleEmitter",v)
  6378. bld.LightEmission = 0.75
  6379. bld.Texture = "rbxassetid://363275192" ---284205403
  6380. bld.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6381. bld.Rate = 500
  6382. bld.Lifetime = NumberRange.new(1)
  6383. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  6384. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  6385. bld.Speed = NumberRange.new(2,5)
  6386. bld.VelocitySpread = 50000
  6387. bld.Rotation = NumberRange.new(-500,500)
  6388. bld.RotSpeed = NumberRange.new(-500,500)
  6389. end))
  6390. end
  6391. end
  6392. local A1 = Instance.new("Attachment",sorb2)
  6393. local A2 = Instance.new("Attachment",targetted.Head)
  6394. local Beem = Instance.new("Beam",targetted.Head)
  6395. Beem.Attachment0 = A1
  6396. Beem.Attachment1 = A2
  6397. Beem.LightEmission = 1
  6398. Beem.FaceCamera = true
  6399. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
  6400. Beem.Width0 = 1
  6401. Beem.Width1 = 1
  6402. Beem.Texture = "rbxassetid://1134824633"
  6403. Beem.TextureMode = "Wrap"
  6404. Beem.TextureLength = 2
  6405. Beem.TextureSpeed = 5
  6406. Beem.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6407. end))
  6408. local rd = math.random(1,5)
  6409. if rd == 1 then
  6410. chatfunc("Your fate goes here.",MAINRUINCOLOR.Color,"Inverted","Antique",1.5)
  6411. elseif rd == 2 then
  6412. chatfunc("You're nonexistant.",MAINRUINCOLOR.Color,"Inverted","Antique",1.5)
  6413. elseif rd == 3 then
  6414. chatfunc("Sigh... you really make me bored, dont ya?",MAINRUINCOLOR.Color,"Inverted","Antique",1.5)
  6415. elseif rd == 4 then
  6416. chatfunc("Nothing will exist into you after you're gone!",MAINRUINCOLOR.Color,"Inverted","Antique",1.5)
  6417. elseif rd == 5 then
  6418. chatfunc("You're a disgrace to this universe!",MAINRUINCOLOR.Color,"Inverted","Antique",1.5)
  6419. end
  6420. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb2, 2.5, 0.25)
  6421. for i = 0,14,0.1 do
  6422. swait()
  6423. rsiz = math.random(5,15)
  6424. 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)
  6425. 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)
  6426. 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)
  6427. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  6428. 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)
  6429. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  6430. 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)
  6431. 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)
  6432. end
  6433. sphere2(3,"Add",sorb2.CFrame,vt(0,0,0),0.1,0.1,0.1,MAINRUINCOLOR)
  6434. sphere2(3,"Add",sorb2.CFrame,vt(0,0,0),0.2,0.2,0.2,MAINRUINCOLOR)
  6435. CFuncs["Sound"].Create("rbxassetid://1368637781", sorb2, 2.5, 1.1)
  6436. coroutine.resume(coroutine.create(function()
  6437. local ref = Instance.new("Part", char)
  6438. ref.Anchored = true
  6439. ref.CanCollide = false
  6440. ref.Transparency = 1
  6441. ref.CFrame = targetted.Head.CFrame
  6442. sphere2(1,"Add",targetted.Head.CFrame,vt(8,8,8),0.25,0.25,0.25,MAINRUINCOLOR)
  6443. sphere2(2,"Add",targetted.Head.CFrame,vt(8,8,8),0.5,0.5,0.5,MAINRUINCOLOR)
  6444. sphere2(3,"Add",targetted.Head.CFrame,vt(8,8,8),0.75,0.75,0.75,MAINRUINCOLOR)
  6445. for i = 0, 24 do
  6446. 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"))
  6447. end
  6448. targetted.Head.Parent:Destroy()
  6449. CFuncs["Sound"].Create("rbxassetid://1368637781", ref, 10, 1)
  6450. CFuncs["Sound"].Create("rbxassetid://763718160", ref, 10, 1.1)
  6451. CFuncs["Sound"].Create("rbxassetid://782353443", ref, 10, 1)
  6452. CFuncs["Sound"].Create("rbxassetid://335657174", ref, 10, 1)
  6453. wait(5)
  6454. ref:Destroy()
  6455. end))
  6456. attack = false
  6457. hum.WalkSpeed = storehumanoidWS
  6458. end
  6459. end
  6460.  
  6461. function BinaryBLINK()
  6462. for i = 0, 9 do
  6463. 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)
  6464. end
  6465. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  6466. coroutine.resume(coroutine.create(function()
  6467. local eff = Instance.new("ParticleEmitter",root)
  6468. eff.Texture = "rbxassetid://1175838406"
  6469. eff.LightEmission = 0.95
  6470. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6471. eff.Rate = 10000
  6472. eff.Lifetime = NumberRange.new(1)
  6473. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  6474. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6475. eff.Speed = NumberRange.new(30,160)
  6476. eff.Drag = 5
  6477. eff.Rotation = NumberRange.new(-500,500)
  6478. eff.VelocitySpread = 100000
  6479. wait(0.25)
  6480. eff.Enabled = false
  6481. wait(4)
  6482. eff:Destroy()
  6483. end))
  6484. CFuncs["Sound"].Create("rbxassetid://335657174", root, 5, 1)
  6485. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  6486. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  6487. CameraEnshaking(2,10)
  6488. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 10)) do
  6489. if v:FindFirstChild('Head') then
  6490. dmg(v)
  6491. end
  6492. end
  6493. for i = 0, 9 do
  6494. 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)
  6495. end
  6496. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  6497. end
  6498.  
  6499. function BinaryE()
  6500. local posit = -2
  6501. attack = true
  6502. hum.WalkSpeed = 5
  6503. CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
  6504. for i = 0,2,0.1 do
  6505. swait()
  6506. 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)
  6507. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
  6508. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
  6509. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  6510. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
  6511. 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)
  6512. 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)
  6513. end
  6514. for i = 0, 2 do
  6515. CameraEnshaking(1,2)
  6516. local hite = Instance.new("Part", char)
  6517. hite.Anchored = true
  6518. hite.CanCollide = false
  6519. hite.FormFactor = 3
  6520. hite.Name = "Ring"
  6521. hite.Material = "Neon"
  6522. hite.Size = Vector3.new(1, 1, 1)
  6523. hite.Transparency = 1
  6524. hite.TopSurface = 0
  6525. hite.BottomSurface = 0
  6526. hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
  6527. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
  6528. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
  6529. coroutine.resume(coroutine.create(function()
  6530. local eff = Instance.new("ParticleEmitter",hite)
  6531. eff.Texture = "rbxassetid://1175838406"
  6532. eff.LightEmission = 0.95
  6533. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6534. eff.Rate = 1000
  6535. eff.Lifetime = NumberRange.new(1)
  6536. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
  6537. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6538. eff.Speed = NumberRange.new(10,50)
  6539. eff.Drag = 5
  6540. eff.Rotation = NumberRange.new(-500,500)
  6541. eff.VelocitySpread = 100000
  6542. wait(0.25)
  6543. eff.Enabled = false
  6544. end))
  6545. coroutine.resume(coroutine.create(function()
  6546. for i = 0, 1 do
  6547. swait()
  6548. 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)
  6549. 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)
  6550. 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)
  6551. end
  6552. end))
  6553. 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)
  6554. MagniDamage(hite, 3, 30,40, 0, "Normal")
  6555. game:GetService("Debris"):AddItem(hite, 5)
  6556. posit = posit + 2
  6557. end
  6558. for i = 0,1,0.1 do
  6559. swait()
  6560. 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)
  6561. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  6562. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
  6563. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  6564. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
  6565. 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)
  6566. 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)
  6567. end
  6568. for i = 0,1,0.1 do
  6569. swait()
  6570. 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)
  6571. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,0)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
  6572. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
  6573. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
  6574. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
  6575. 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)
  6576. 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)
  6577. end
  6578. posit = -6
  6579. for i = 0, 6 do
  6580. CameraEnshaking(1,3)
  6581. local hite = Instance.new("Part", char)
  6582. hite.Anchored = true
  6583. hite.CanCollide = false
  6584. hite.FormFactor = 3
  6585. hite.Name = "Ring"
  6586. hite.Material = "Neon"
  6587. hite.Size = Vector3.new(1, 1, 1)
  6588. hite.Transparency = 1
  6589. hite.TopSurface = 0
  6590. hite.BottomSurface = 0
  6591. hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
  6592. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
  6593. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
  6594. 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)
  6595. coroutine.resume(coroutine.create(function()
  6596. local eff = Instance.new("ParticleEmitter",hite)
  6597. eff.Texture = "rbxassetid://1175838406"
  6598. eff.LightEmission = 0.95
  6599. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6600. eff.Rate = 1000
  6601. eff.Lifetime = NumberRange.new(1)
  6602. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
  6603. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6604. eff.Speed = NumberRange.new(20,70)
  6605. eff.Drag = 5
  6606. eff.Rotation = NumberRange.new(-500,500)
  6607. eff.VelocitySpread = 100000
  6608. wait(0.25)
  6609. eff.Enabled = false
  6610. end))
  6611. coroutine.resume(coroutine.create(function()
  6612. for i = 0, 2 do
  6613. swait()
  6614. 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)
  6615. 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)
  6616. 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)
  6617. end
  6618. end))
  6619. MagniDamage(hite, 5, 40,70, 0, "Normal")
  6620. game:GetService("Debris"):AddItem(hite, 5)
  6621. posit = posit + 2
  6622. end
  6623. for i = 0,1,0.1 do
  6624. swait()
  6625. 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)
  6626. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
  6627. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  6628. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
  6629. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
  6630. 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)
  6631. 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)
  6632. end
  6633. hum.WalkSpeed = storehumanoidWS
  6634. attack = false
  6635. end
  6636.  
  6637.  
  6638.  
  6639. function AZUREFINALE()
  6640. attack = true
  6641. duringend = true
  6642. hum.WalkSpeed = 0
  6643. CFuncs["Sound"].Create("rbxassetid://1117054464", char, 7.5, 0.75)
  6644. CFuncs["LongSound"].Create("rbxassetid://1042700914", char, 3.5, 0.05)
  6645. local hite = Instance.new("Part", char)
  6646. hite.Anchored = true
  6647. hite.CanCollide = false
  6648. hite.FormFactor = 3
  6649. hite.Name = "Ring"
  6650. hite.Material = "Neon"
  6651. hite.Size = Vector3.new(1, 1, 1)
  6652. hite.Transparency = 0
  6653. hite.TopSurface = 0
  6654. hite.BottomSurface = 0
  6655. hite.BrickColor = MAINRUINCOLOR
  6656. local orbm = Instance.new("SpecialMesh", hite)
  6657. orbm.MeshType = "Sphere"
  6658. orbm.Name = "SizeMesh"
  6659. orbm.Scale = vt(0,0,0)
  6660. hite.CFrame = root.CFrame*CFrame.new(0,200,0)
  6661. for i = 0,70,0.1 do
  6662. swait()
  6663. orbm.Scale = orbm.Scale + vt(0.5,0.5,0.5)
  6664. rsiz = math.random(10,45)
  6665. kan.Volume = kan.Volume + 0.01
  6666. kan.Pitch = kan.Pitch - 0.00135
  6667. 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)
  6668. 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)
  6669. 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)
  6670. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  6671. 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)
  6672. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  6673. 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)
  6674. 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)
  6675. end
  6676. kan.Pitch = 0.1
  6677. hite.Transparency = 1
  6678. for i = 0,2 do
  6679. CFuncs["LongSound"].Create("rbxassetid://324849898", char, 10,0.9)
  6680. end
  6681. CFuncs["LongSound"].Create("rbxassetid://1117054464", char, 5, 0.75)
  6682. 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)
  6683. 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)
  6684. 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)
  6685. coroutine.resume(coroutine.create(function()
  6686. local eff = Instance.new("ParticleEmitter",hite)
  6687. eff.Texture = "rbxassetid://284205403"
  6688. eff.LightEmission = 0.95
  6689. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6690. eff.Rate = 10000
  6691. eff.Lifetime = NumberRange.new(5)
  6692. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,100,0),NumberSequenceKeypoint.new(1,0,0)})
  6693. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6694. eff.Speed = NumberRange.new(600,1250)
  6695. eff.Drag = 5
  6696. eff.Rotation = NumberRange.new(-500,500)
  6697. eff.VelocitySpread = 9000
  6698. eff.RotSpeed = NumberRange.new(-500,500)
  6699. wait(1)
  6700. eff.Enabled = false
  6701. end))
  6702. for i = 0,5,0.1 do
  6703. swait()
  6704. 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)
  6705. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  6706. 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)
  6707. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  6708. 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)
  6709. 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)
  6710. end
  6711. local adsc = 0
  6712. local radiatezone = 0
  6713. for i = 0,20,0.1 do
  6714. swait()
  6715. adsc = adsc + 0.025
  6716. radiatezone = radiatezone + 1.25
  6717. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
  6718. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  6719. if v:FindFirstChild('Head') then
  6720. dmg(v)
  6721. end
  6722. end
  6723. 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)
  6724. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  6725. 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)
  6726. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  6727. 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)
  6728. 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)
  6729. end
  6730. for i = 0,2 do
  6731. CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.9)
  6732. end
  6733. for i = 0,40,0.1 do
  6734. swait()
  6735. adsc = adsc + 0.05
  6736. radiatezone = radiatezone + 2.5
  6737. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
  6738. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  6739. if v:FindFirstChild('Head') then
  6740. dmg(v)
  6741. end
  6742. end
  6743. 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)
  6744. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  6745. 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)
  6746. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  6747. 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)
  6748. 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)
  6749. end
  6750. for i = 0,4 do
  6751. CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.75)
  6752. CFuncs["LongSound"].Create("rbxassetid://923073285", char, 1.25,0.75)
  6753. end
  6754. for i = 0,80,0.1 do
  6755. swait()
  6756. adsc = adsc + 0.075
  6757. radiatezone = radiatezone + 3.75
  6758. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
  6759. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  6760. if v:FindFirstChild('Head') then
  6761. dmg(v)
  6762. end
  6763. end
  6764. 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)
  6765. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  6766. 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)
  6767. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  6768. 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)
  6769. 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)
  6770. end
  6771. hite:Destroy()
  6772. duringend = false
  6773. hum.WalkSpeed = storehumanoidWS
  6774. attack = false
  6775. end
  6776.  
  6777. function AzureVANISHMENT()
  6778. attack = true
  6779. hum.WalkSpeed = 0
  6780. local truescale = 0
  6781. local rd = math.random(1,3)
  6782. if rd == 1 then
  6783. chatfunc("This is your end!",MAINRUINCOLOR.Color,"Inverted","Antique",2.5)
  6784. elseif rd == 2 then
  6785. chatfunc("Pathetic.",MAINRUINCOLOR.Color,"Inverted","Antique",2.5)
  6786. elseif rd == 3 then
  6787. chatfunc("Time to end this.",MAINRUINCOLOR.Color,"Inverted","Antique",2.5)
  6788. end
  6789. CFuncs["LongSound"].Create("rbxassetid://1368583274", char, 10, 0.25)
  6790. for i = 0,49,0.1 do
  6791. swait()
  6792. truescale = truescale + 0.2
  6793. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6794. 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"))
  6795. 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)
  6796. 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)
  6797. 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)
  6798. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(40)),.5)
  6799. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.5)
  6800. RW.C0=clerp(RW.C0,cf(1.45,1,0.1)*angles(math.rad(180),math.rad(-30),math.rad(-5)),.5)
  6801. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-10)),.5)
  6802. end
  6803. hum.CameraOffset = vt(0,0,0)
  6804. CFuncs["Sound"].Create("rbxassetid://260411131", rarm, 7.5, 1)
  6805. for i = 0,2,0.1 do
  6806. swait()
  6807. 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)
  6808. 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)
  6809. 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)
  6810. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(55)),.5)
  6811. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-55)),.5)
  6812. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.6)*angles(math.rad(90),math.rad(0),math.rad(-50)),.5)
  6813. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-10)),.5)
  6814. end
  6815. local orb = Instance.new("Part", char)
  6816. for i = 0, 4 do
  6817. CFuncs["Sound"].Create("rbxassetid://335657174", char, 7.5, 0.5)
  6818. end
  6819. local efec = Instance.new("ParticleEmitter",orb)
  6820. efec.Texture = "rbxassetid://2109052855"
  6821. efec.LightEmission = 1
  6822. efec.Color = ColorSequence.new(Color3.new(0.5,0,1))
  6823. efec.Rate = 5
  6824. efec.Lifetime = NumberRange.new(3)
  6825. 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)})
  6826. 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)})
  6827. efec.Drag = 5
  6828. efec.LockedToPart = true
  6829. efec.Rotation = NumberRange.new(-500,500)
  6830. efec.VelocitySpread = 9000
  6831. efec.RotSpeed = NumberRange.new(-500,500)
  6832. orb.BrickColor = BrickColor.new("Magenta")
  6833. orb.CanCollide = false
  6834. orb.FormFactor = 3
  6835. orb.Name = "Ring"
  6836. orb.Material = "Neon"
  6837. orb.Size = Vector3.new(1, 1, 1)
  6838. orb.Transparency = 0
  6839. orb.TopSurface = 0
  6840. orb.BottomSurface = 0
  6841. local orbm = Instance.new("SpecialMesh", orb)
  6842. orbm.MeshType = "Sphere"
  6843. orbm.Name = "SizeMesh"
  6844. orbm.Scale = vt(25,25,25)
  6845. orb.CFrame = root.CFrame + root.CFrame.lookVector*3
  6846. local a = Instance.new("Part",workspace)
  6847. a.Name = "Direction"
  6848. a.Anchored = true
  6849. a.BrickColor = bc("Bright red")
  6850. a.Material = "Neon"
  6851. a.Transparency = 1
  6852. a.CanCollide = false
  6853. local ray = Ray.new(
  6854. orb.CFrame.p, -- origin
  6855. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  6856. )
  6857. local ignore = orb
  6858. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6859. a.BottomSurface = 10
  6860. a.TopSurface = 10
  6861. local distance = (orb.CFrame.p - position).magnitude
  6862. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6863. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  6864. orb.CFrame = a.CFrame
  6865. a:Destroy()
  6866. local over = false
  6867. local bgui,imgc = createBGCircle(250,orb,Color3.new(0.5,0,1))
  6868. bgui.AlwaysOnTop = true
  6869. imgc.Image = "rbxassetid://2076519836"
  6870. coroutine.resume(coroutine.create(function()
  6871. while true do
  6872. swait()
  6873. if over == false then
  6874. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6875. coroutine.resume(coroutine.create(function()
  6876. for i, v in pairs(FindNearestHead(orb.CFrame.p, 100)) do
  6877. if v:FindFirstChild('Head') then
  6878. dmg(v)
  6879. end
  6880. end
  6881. end))
  6882. 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"))
  6883. imgc.Rotation = imgc.Rotation + 5
  6884. imgc.ImageTransparency = 0.75 + 0.25 * math.cos(sine / 15)
  6885. bgui.Size = UDim2.new(250 + 25 * math.cos(sine / 15),0, 250 + 25 * math.cos(sine / 15),0)
  6886. elseif over == true then
  6887. break
  6888. end
  6889. end
  6890. end))
  6891. local bv = Instance.new("BodyVelocity")
  6892. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6893. bv.velocity = orb.CFrame.lookVector*50
  6894. bv.Parent = orb
  6895. coroutine.resume(coroutine.create(function()
  6896. wait(10)
  6897. hum.CameraOffset = vt(0,0,0)
  6898. over = true
  6899. efec.Enabled = false
  6900. orb.Anchored = true
  6901. for i = 0, 2 do
  6902. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 10,1)
  6903. CFuncs["LongSound"].Create("rbxassetid://763717897", char, 10, 0.5)
  6904. CFuncs["LongSound"].Create("rbxassetid://763717897", char, 7.5, 0.25)
  6905. CFuncs["Sound"].Create("rbxassetid://763718160", char, 10, 0.9)
  6906. CFuncs["Sound"].Create("rbxassetid://782353443", char, 10, 0.5)
  6907. CFuncs["Sound"].Create("rbxassetid://335657174", char, 5, 0.75)
  6908. CFuncs["LongSound"].Create("rbxassetid://335657174", char, 10, 0.25)
  6909. CFuncs["Sound"].Create("rbxassetid://167115397", char, 10, 1)
  6910. CFuncs["LongSound"].Create("rbxassetid://167115397", char, 10, 0.75)
  6911. CFuncs["LongSound"].Create("rbxassetid://167115397", char, 10, 0.5)
  6912. end
  6913. for i = 0, 2 do
  6914. block(3,"Add",orb.CFrame,vt(1,1,1),6.5,6.5,6.5,BrickColor.new("Dark indigo"),BrickColor.new("Dark indigo").Color)
  6915. block(2,"Add",orb.CFrame,vt(1,1,1),6,6,6,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  6916. block(1,"Add",orb.CFrame,vt(1,1,1),4.5,4.5,4.5,BrickColor.new("Magenta"),BrickColor.new("Magenta").Color)
  6917. end
  6918. for i = 0, 49 do
  6919. 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"))
  6920. end
  6921. imgc.ImageTransparency = 0
  6922. --CameraEnshaking(20,30)
  6923. for i = 0, 199 do
  6924. swait()
  6925. --[[coroutine.resume(coroutine.create(function()
  6926. for i, v in pairs(FindNearestHead(orb.CFrame.p, 5000)) do
  6927. if v:FindFirstChild('Head') then
  6928. dmg(v)
  6929. end
  6930. end
  6931. end))]]--
  6932. imgc.Rotation = imgc.Rotation + 10
  6933. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6934. 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)))
  6935. local at1 = Instance.new("Attachment",dis)
  6936. at1.Position = vt(-25000,0,0)
  6937. local at2 = Instance.new("Attachment",dis)
  6938. at2.Position = vt(25000,0,0)
  6939. local trl = Instance.new('Trail',dis)
  6940. trl.Attachment0 = at1
  6941. trl.FaceCamera = true
  6942. trl.Attachment1 = at2
  6943. trl.Texture = "rbxassetid://1049219073"
  6944. trl.LightEmission = 1
  6945. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6946. trl.Color = ColorSequence.new(orb.Color)
  6947. trl.Lifetime = 5
  6948. local bv = Instance.new("BodyVelocity")
  6949. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6950. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6951. bv.Parent = dis
  6952. game:GetService("Debris"):AddItem(dis, 5)
  6953. sphere2(15,"Add",orb.CFrame,vt(1.25,1.25,1.25),45,45,45,BrickColor.new("Royal purple"))
  6954. for i = 0, 2 do
  6955. 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"))
  6956. 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"))
  6957. end
  6958. orbm.Scale = orbm.Scale + vt(10,10,10)
  6959. orb.Transparency = orb.Transparency + 0.005
  6960. imgc.ImageTransparency = imgc.ImageTransparency + 0.005
  6961. bgui.Size = bgui.Size + UDim2.new(35,0,35,0)
  6962. end
  6963. hum.CameraOffset = vt(0,0,0)
  6964. game:GetService("Debris"):AddItem(orb, 10)
  6965. end))
  6966. for i = 0,2,0.1 do
  6967. swait()
  6968. 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)
  6969. 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)
  6970. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,1)*angles(math.rad(5),math.rad(0),math.rad(-45)),.5)
  6971. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(45)),.5)
  6972. RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(50)),.5)
  6973. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(20),math.rad(10),math.rad(-30)),.5)
  6974. end
  6975. attack = false
  6976. hum.WalkSpeed = storehumanoidWS
  6977. end
  6978.  
  6979. function GalacticalBeams()
  6980. attack = true
  6981. local keptcolor = MAINRUINCOLOR
  6982. coroutine.resume(coroutine.create(function()
  6983. for i = 0, 0 do
  6984. swait(10)
  6985. local orb = Instance.new("Part", char)
  6986. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  6987. orb.BrickColor = keptcolor
  6988. orb.CanCollide = false
  6989. orb.FormFactor = 3
  6990. orb.Name = "Ring"
  6991. orb.Material = "Neon"
  6992. orb.Size = Vector3.new(1, 1, 1)
  6993. orb.Transparency = 1
  6994. orb.TopSurface = 0
  6995. orb.BottomSurface = 0
  6996. orb.Anchored = true
  6997. local orbm = Instance.new("SpecialMesh", orb)
  6998. orbm.MeshType = "Sphere"
  6999. orbm.Name = "SizeMesh"
  7000. orbm.Scale = vt(1.25,1.25,1.25)
  7001. orb.CFrame = root.CFrame*CFrame.new(math.random(-25,25),math.random(75,150),math.random(-25,25))
  7002. coroutine.resume(coroutine.create(function()
  7003. orb.Transparency = 1
  7004. local a = Instance.new("Part",char)
  7005. a.Name = "Direction"
  7006. a.Anchored = true
  7007. a.BrickColor = keptcolor
  7008. a.Material = "Neon"
  7009. a.Transparency = 1
  7010. a.Shape = "Cylinder"
  7011. local x = Instance.new("Part",char)
  7012. x.Name = "Direction"
  7013. x.Anchored = true
  7014. x.BrickColor = keptcolor
  7015. x.Material = "Neon"
  7016. x.Transparency = 1
  7017. x.Shape = "Cylinder"
  7018. local ht = Instance.new("Part",char)
  7019. ht.Name = "DirectionHit"
  7020. ht.Anchored = true
  7021. ht.BrickColor = keptcolor
  7022. ht.CanCollide = false
  7023. ht.Transparency = 1
  7024. ht.Size = vt(0.1,0.1,0.1)
  7025. a.CanCollide = false
  7026. local ray = Ray.new(
  7027. orb.CFrame.p, -- origin
  7028. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  7029. )
  7030. local ignore = char
  7031. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7032. a.BottomSurface = 10
  7033. a.TopSurface = 10
  7034. local distance = (orb.CFrame.p - position).magnitude
  7035. a.Size = Vector3.new(distance,1,1)
  7036. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7037. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7038. x.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  7039. local poste = 0
  7040. local rotation = 0
  7041. CFuncs["Sound"].Create("rbxassetid://153092315", char, 1.5, 1)
  7042. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(5,5,5),2.5,2.5,0,keptcolor)
  7043. CameraEnshaking(2,2)
  7044. coroutine.resume(coroutine.create(function()
  7045. local eff = Instance.new("ParticleEmitter",orb)
  7046. eff.Texture = "rbxassetid://2273224484"
  7047. eff.LightEmission = 1
  7048. eff.Color = ColorSequence.new(keptcolor.Color)
  7049. eff.Rate = 15000
  7050. eff.Lifetime = NumberRange.new(2.5,5)
  7051. 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)})
  7052. 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)})
  7053. eff.Speed = NumberRange.new(100,650)
  7054. eff.Drag = 5
  7055. eff.Rotation = NumberRange.new(-500,500)
  7056. eff.VelocitySpread = 9000
  7057. eff.RotSpeed = NumberRange.new(-50,50)
  7058. wait(0.35)
  7059. eff.Enabled = false
  7060. end))
  7061. for i = 0, 49 do
  7062. swait()
  7063. rotation = rotation + 5
  7064. poste = poste + 1
  7065. 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)
  7066. 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)
  7067. 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)
  7068. 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)
  7069. 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)
  7070. 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)
  7071. 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)
  7072. 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)
  7073. end
  7074. local A1 = Instance.new("Attachment",x)
  7075. local A2 = Instance.new("Attachment",ht)
  7076. local Beem = Instance.new("Beam",ht)
  7077. Beem.Attachment0 = A1
  7078. Beem.Attachment1 = A2
  7079. Beem.LightEmission = 1
  7080. Beem.FaceCamera = true
  7081. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, 0),NumberSequenceKeypoint.new(0.975, 0),NumberSequenceKeypoint.new(1, 1)})
  7082. Beem.Width0 = 125
  7083. Beem.Width1 = 125
  7084. Beem.Texture = "rbxassetid://1134824633"
  7085. Beem.TextureMode = "Wrap"
  7086. Beem.TextureLength = 200
  7087. Beem.TextureSpeed = 1.5
  7088. Beem.Color = ColorSequence.new(keptcolor.Color)
  7089. CameraEnshaking(3,6)
  7090. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 1.5, 1)
  7091. CFuncs["Sound"].Create("rbxassetid://294188875", char, 2, 1.5)
  7092. a.Transparency = 0.25
  7093. for i = 0, 49 do
  7094. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  7095. disr.CFrame = ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  7096. local at1 = Instance.new("Attachment",disr)
  7097. at1.Position = vt(-5,0,0)
  7098. local at2 = Instance.new("Attachment",disr)
  7099. at2.Position = vt(5,0,0)
  7100. local trl = Instance.new('Trail',disr)
  7101. trl.Attachment0 = at1
  7102. trl.FaceCamera = true
  7103. trl.Attachment1 = at2
  7104. trl.Texture = "rbxassetid://2325530138"
  7105. trl.LightEmission = 1
  7106. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7107. trl.Color = ColorSequence.new(keptcolor.Color)
  7108. trl.Lifetime = 0.5
  7109. local bv = Instance.new("BodyVelocity")
  7110. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7111. bv.velocity = disr.CFrame.lookVector*math.random(50,500)
  7112. bv.Parent = disr
  7113. local val = 0
  7114. coroutine.resume(coroutine.create(function()
  7115. swait(math.random(30,60))
  7116. for i = 0, 19 do
  7117. swait()
  7118. val = val + 0.05
  7119. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  7120. end
  7121. game:GetService("Debris"):AddItem(disr, 3)
  7122. end))
  7123. end
  7124. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  7125. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  7126. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  7127. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  7128. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor)
  7129. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor)
  7130. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  7131. local eff = Instance.new("ParticleEmitter",ht)
  7132. eff.Texture = "rbxassetid://2273224484"
  7133. eff.LightEmission = 1
  7134. eff.Color = ColorSequence.new(keptcolor.Color)
  7135. eff.Rate = 500
  7136. eff.Lifetime = NumberRange.new(1,3)
  7137. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,10,0),NumberSequenceKeypoint.new(1,0,0)})
  7138. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  7139. eff.Speed = NumberRange.new(80,700)
  7140. eff.Drag = 3
  7141. eff.Rotation = NumberRange.new(-500,500)
  7142. eff.VelocitySpread = 9000
  7143. eff.RotSpeed = NumberRange.new(-100,100)
  7144. for i = 0, 24 do
  7145. 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)
  7146. local rsiz = math.random(10,50)
  7147. 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)
  7148. end
  7149. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7150. local msh = Instance.new("SpecialMesh",a)
  7151. msh.MeshType = "Cylinder"
  7152. msh.Scale = vt(1,15,15)
  7153. for i = 0, 49 do
  7154. swait()
  7155. CameraEnshaking(1,4)
  7156. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  7157. rotation = rotation + 5
  7158. 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"))
  7159. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  7160. 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)
  7161. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(25,25,5),1,1,0,keptcolor)
  7162. 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)
  7163. 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)
  7164. 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)
  7165. 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)
  7166. 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)
  7167. 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)
  7168. 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)
  7169. 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)
  7170. for i = 0, 2 do
  7171. local rsiz = math.random(50,250)
  7172. 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)
  7173. end
  7174. msh.Scale = msh.Scale + vt(0,0.25,0.25)
  7175. end
  7176. eff.Enabled = false
  7177. local visibility = 0
  7178. for i = 0, 49 do
  7179. swait()
  7180. visibility = visibility + 0.02
  7181. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, visibility),NumberSequenceKeypoint.new(0.975, visibility),NumberSequenceKeypoint.new(1, 1)})
  7182. rotation = rotation + 5
  7183. poste = poste - 1
  7184. 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)
  7185. 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)
  7186. 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)
  7187. 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)
  7188. 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)
  7189. 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)
  7190. 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)
  7191. 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)
  7192. msh.Scale = msh.Scale + vt(0,-0.5,-0.5)
  7193. a.Transparency = a.Transparency + 0.02
  7194. end
  7195. wait(1)
  7196. orb:Destroy()
  7197. a:Destroy()
  7198. ht:Destroy()
  7199. end))
  7200. game:GetService("Debris"):AddItem(orb, 10)
  7201. end
  7202. end))
  7203. hum.WalkSpeed = storehumanoidWS
  7204. attack = false
  7205. end
  7206.  
  7207.  
  7208.  
  7209. function SingularityVoid()
  7210. attack = true
  7211. hum.WalkSpeed = 0
  7212. hum.JumpPower = 0
  7213. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
  7214. local poste = 3
  7215. local rotation = 0
  7216. local rate = 0
  7217. local bgui,imgc = createBGCircle(0,root,Color3.new(0,0,0))
  7218. bgui.AlwaysOnTop = true
  7219. imgc.ImageTransparency = 1
  7220. imgc.Image = "rbxassetid://2076519836"
  7221. for i = 0, 124 do
  7222. swait()
  7223. bgui.Size = bgui.Size + UDim2.new(2.5,0,2.5,0)
  7224. imgc.ImageTransparency = imgc.ImageTransparency - 0.01
  7225. imgc.Rotation = imgc.Rotation - rotation/10
  7226. rotation = rotation + rate
  7227. poste = poste + 0.1
  7228. rate = rate + 0.1
  7229. 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)
  7230. 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)
  7231. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-25),math.rad(0),math.rad(0)),.1)
  7232. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  7233. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-10),math.rad(0),math.rad(90)),.1)
  7234. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(0),math.rad(-90)),.1)
  7235. end
  7236. CameraEnshaking(5,12)
  7237. local keptcolor = MAINRUINCOLOR
  7238. for i, v in pairs(FindNearestHead(root.CFrame.p, 125)) do
  7239. if v:FindFirstChild('Head') then
  7240. coroutine.resume(coroutine.create(function()
  7241. CFuncs["Sound"].Create("rbxassetid://1042716828", v.Head, 5, 0.5)
  7242. local vel = Instance.new("BodyPosition", v.Head)
  7243. vel.P = 12500
  7244. vel.D = 1000
  7245. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  7246. vel.position = v.Head.CFrame.p + vt(0,10,0)
  7247. for i,v in pairs(v:GetChildren()) do
  7248. if v:IsA("Part") or v:IsA("MeshPart") then
  7249. coroutine.resume(coroutine.create(function()
  7250. local bld = Instance.new("ParticleEmitter",v)
  7251. bld.LightEmission = 0.75
  7252. bld.Texture = "rbxassetid://363275192" ---284205403
  7253. bld.Color = ColorSequence.new(keptcolor.Color)
  7254. bld.Rate = 500
  7255. bld.Lifetime = NumberRange.new(1)
  7256. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  7257. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  7258. bld.Speed = NumberRange.new(2,5)
  7259. bld.VelocitySpread = 50000
  7260. bld.Rotation = NumberRange.new(-500,500)
  7261. bld.RotSpeed = NumberRange.new(-500,500)
  7262. end))
  7263. end
  7264. end
  7265. local A1 = Instance.new("Attachment",root)
  7266. local A2 = Instance.new("Attachment",v.Head)
  7267. local Beem = Instance.new("Beam",v.Head)
  7268. Beem.Attachment0 = A1
  7269. Beem.Attachment1 = A2
  7270. Beem.LightEmission = 1
  7271. Beem.FaceCamera = true
  7272. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
  7273. Beem.Width0 = 1
  7274. Beem.Width1 = 1
  7275. Beem.Texture = "rbxassetid://1134824633"
  7276. Beem.TextureMode = "Wrap"
  7277. Beem.TextureLength = 2
  7278. Beem.TextureSpeed = 5
  7279. Beem.Color = ColorSequence.new(keptcolor.Color)
  7280. wait(5)
  7281. coroutine.resume(coroutine.create(function()
  7282. local ref = Instance.new("Part", char)
  7283. ref.Anchored = true
  7284. ref.CanCollide = false
  7285. ref.Transparency = 1
  7286. ref.CFrame = v.Head.CFrame
  7287. sphere2(1,"Add",v.Head.CFrame,vt(25,25,25),-0.25,-0.25,-0.25,keptcolor)
  7288. sphere2(2,"Add",v.Head.CFrame,vt(25,25,25),-0.5,-0.5,-0.5,keptcolor)
  7289. sphere2(3,"Add",v.Head.CFrame,vt(25,25,25),-0.75,-0.75,-0.75,keptcolor)
  7290. for i = 0, 9 do
  7291. 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"))
  7292. end
  7293. v.Head.Parent:Destroy()
  7294. CFuncs["Sound"].Create("rbxassetid://763718160", ref, 10, 1.1)
  7295. CFuncs["Sound"].Create("rbxassetid://782353443", ref, 10, 1)
  7296. CFuncs["Sound"].Create("rbxassetid://335657174", ref, 10, 1)
  7297. wait(5)
  7298. ref:Destroy()
  7299. end))
  7300. end))
  7301. end
  7302. end
  7303. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 2, 1)
  7304. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 3, 1)
  7305. CFuncs["Sound"].Create("rbxassetid://167115397", char, 3, 1)
  7306. CFuncs["Sound"].Create("rbxassetid://782353443", char, 3, 0.9)
  7307. CFuncs["Sound"].Create("rbxassetid://782353443", char, 4, 0.8)
  7308. CFuncs["Sound"].Create("rbxassetid://782353443", char, 5, 0.7)
  7309. for i = 0, 49 do
  7310. 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"))
  7311. end
  7312. coroutine.resume(coroutine.create(function()
  7313. local eff = Instance.new("ParticleEmitter",root)
  7314. eff.Texture = "rbxassetid://2273224484"
  7315. eff.LightEmission = 1
  7316. eff.Color = ColorSequence.new(BrickColor.new("Alder").Color)
  7317. eff.Rate = 5000000
  7318. eff.Lifetime = NumberRange.new(3)
  7319. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25,0),NumberSequenceKeypoint.new(0.2,8,0),NumberSequenceKeypoint.new(1,0.1,0)})
  7320. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(1,1,0)})
  7321. eff.Speed = NumberRange.new(150,1000)
  7322. eff.Drag = 5
  7323. eff.Rotation = NumberRange.new(-500,500)
  7324. eff.VelocitySpread = 9000
  7325. eff.RotSpeed = NumberRange.new(-100,100)
  7326. wait(0.5)
  7327. eff.Enabled = false
  7328. wait(6)
  7329. eff:Destroy()
  7330. end))
  7331. coroutine.resume(coroutine.create(function()
  7332. local eff = Instance.new("ParticleEmitter",root)
  7333. eff.Texture = "rbxassetid://363275192"
  7334. eff.LightEmission = 0.95
  7335. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7336. eff.Rate = 10000
  7337. eff.Lifetime = NumberRange.new(1)
  7338. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,80,0)})
  7339. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7340. eff.Speed = NumberRange.new(100,500)
  7341. eff.Drag = 5
  7342. eff.Rotation = NumberRange.new(-500,500)
  7343. eff.VelocitySpread = 9000
  7344. eff.RotSpeed = NumberRange.new(-50,50)
  7345. wait(0.5)
  7346. eff.Enabled = false
  7347. wait(6)
  7348. eff:Destroy()
  7349. end))
  7350. sphere2(10,"Add",root.CFrame,vt(250,250,250),5,5,5,MAINRUINCOLOR)
  7351. sphere2(9,"Add",root.CFrame,vt(250,250,250),5,5,5,MAINRUINCOLOR)
  7352. sphere2(8,"Add",root.CFrame,vt(250,250,250),5,5,5,MAINRUINCOLOR)
  7353. sphere2(2,"Add",root.CFrame,vt(250,250,250),0.1,0.1,0.1,MAINRUINCOLOR)
  7354. coroutine.resume(coroutine.create(function()
  7355. wait(1)
  7356. rotation = 0
  7357. rate = 0
  7358. for i = 0, 49 do
  7359. swait()
  7360. bgui.Size = bgui.Size - UDim2.new(rate/2,0,rate/2,0)
  7361. imgc.Rotation = imgc.Rotation + rotation/20
  7362. rotation = rotation + rate
  7363. poste = poste + 1.5
  7364. rate = rate + 1.5
  7365. end
  7366. bgui:Destroy()
  7367. end))
  7368. hum.WalkSpeed = storehumanoidWS
  7369. hum.JumpPower = 50
  7370. attack = false
  7371. end
  7372.  
  7373.  
  7374. function WarpedDash()
  7375. attack = true
  7376. hum.WalkSpeed = 0
  7377. hum.JumpPower = 0
  7378. CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
  7379. local poste = 3
  7380. local rotation = 0
  7381. local rate = 0
  7382. local bgui,imgc = createBGCircle(100,root,MAINRUINCOLOR.Color)
  7383. bgui.AlwaysOnTop = true
  7384. imgc.ImageTransparency = 1
  7385. imgc.Image = "rbxassetid://2076519836"
  7386. for i = 0, 124 do
  7387. swait()
  7388. bgui.Size = bgui.Size - UDim2.new(0.85,0,0.85,0)
  7389. imgc.ImageTransparency = imgc.ImageTransparency - 0.01
  7390. imgc.Rotation = imgc.Rotation - rotation/10
  7391. rotation = rotation + rate
  7392. poste = poste + 0.1
  7393. rate = rate + 0.1
  7394. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
  7395. 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)
  7396. 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)
  7397. 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)
  7398. 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)
  7399. 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)
  7400. 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"))
  7401. 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)
  7402. 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)
  7403. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
  7404. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
  7405. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
  7406. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
  7407. end
  7408. bgui:Destroy()
  7409. CameraEnshaking(3,7)
  7410. local loc = Instance.new("Part", char)
  7411. loc.BrickColor = MAINRUINCOLOR
  7412. loc.CanCollide = false
  7413. loc.FormFactor = 3
  7414. loc.Name = "Ring"
  7415. loc.Material = "Neon"
  7416. loc.Size = Vector3.new(1, 1, 1)
  7417. loc.Transparency = 1
  7418. loc.TopSurface = 0
  7419. loc.BottomSurface = 0
  7420. loc.Anchored = true
  7421. loc.CFrame = root.CFrame + root.CFrame.lookVector*100
  7422. CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
  7423. CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
  7424. MagniDamage(loc, 95, 500,6000, 0, "Normal")
  7425. sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
  7426. sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  7427. sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  7428. sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  7429. coroutine.resume(coroutine.create(function()
  7430. for i = 0, 49 do
  7431. local disr = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  7432. disr.CFrame = loc.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  7433. local at1 = Instance.new("Attachment",disr)
  7434. at1.Position = vt(-5,0,0)
  7435. local at2 = Instance.new("Attachment",disr)
  7436. at2.Position = vt(5,0,0)
  7437. local trl = Instance.new('Trail',disr)
  7438. trl.Attachment0 = at1
  7439. trl.FaceCamera = true
  7440. trl.Attachment1 = at2
  7441. trl.Texture = "rbxassetid://2325530138"
  7442. trl.LightEmission = 1
  7443. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7444. trl.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7445. trl.Lifetime = 0.5
  7446. local bv = Instance.new("BodyVelocity")
  7447. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7448. bv.velocity = disr.CFrame.lookVector*math.random(50,500)
  7449. bv.Parent = disr
  7450. local val = 0
  7451. coroutine.resume(coroutine.create(function()
  7452. swait(math.random(30,60))
  7453. for i = 0, 9 do
  7454. swait()
  7455. val = val + 0.1
  7456. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  7457. end
  7458. game:GetService("Debris"):AddItem(disr, 3)
  7459. end))
  7460. end
  7461. local eff = Instance.new("ParticleEmitter",loc)
  7462. eff.Texture = "rbxassetid://363275192"
  7463. eff.LightEmission = 0.95
  7464. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7465. eff.Rate = 10000
  7466. eff.Lifetime = NumberRange.new(1)
  7467. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,80,0)})
  7468. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7469. eff.Speed = NumberRange.new(100,500)
  7470. eff.Drag = 5
  7471. eff.Rotation = NumberRange.new(-500,500)
  7472. eff.VelocitySpread = 9000
  7473. eff.RotSpeed = NumberRange.new(-50,50)
  7474. wait(0.5)
  7475. eff.Enabled = false
  7476. end))
  7477. for i = 0, 29 do
  7478. 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"))
  7479. end
  7480. for i = 0, 49 do
  7481. 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)
  7482. end
  7483. for i = 0, 9 do
  7484. 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)
  7485. end
  7486. game:GetService("Debris"):AddItem(loc, 5)
  7487. root.CFrame = root.CFrame + root.CFrame.lookVector*200
  7488. hum.WalkSpeed = storehumanoidWS
  7489. hum.JumpPower = 50
  7490. attack = false
  7491. end
  7492.  
  7493. ------------------------------------
  7494. function harmonytaunty()
  7495. attack = true
  7496. hum.WalkSpeed = 0
  7497. CFuncs["Sound"].Create("rbxassetid://430312221", tors, 1.25, 1.15)
  7498. for i = 0,7,0.1 do
  7499. swait()
  7500. 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)
  7501. 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)
  7502. 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)
  7503. 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)
  7504. 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)
  7505. 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)
  7506. end
  7507. hum.WalkSpeed = storehumanoidWS
  7508. attack = false
  7509. end
  7510.  
  7511.  
  7512.  
  7513. function vistaunty()
  7514. attack = true
  7515. hum.WalkSpeed = 0
  7516. local rd = math.random(1,5)
  7517. if rd == 1 then
  7518. chatfunc("You're familiar with this, arent you?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  7519. elseif rd == 2 then
  7520. chatfunc("Dance to the beat. If you want to.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  7521. elseif rd == 3 then
  7522. chatfunc("I'm just bored. Don't mess with me.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  7523. elseif rd == 4 then
  7524. chatfunc("Ready to dance? If not, come back if you want to.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  7525. elseif rd == 5 then
  7526. chatfunc("Ehh, not really into something right now.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  7527. end
  7528. for i = 0, 8, 0.1 do
  7529. swait()
  7530. 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)
  7531. 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)
  7532. 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)
  7533. 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)
  7534. 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)
  7535. 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)
  7536. end
  7537. hum.WalkSpeed = storehumanoidWS
  7538. attack = false
  7539. end
  7540.  
  7541. function shytaunty()
  7542. attack = true
  7543. hum.WalkSpeed = 0
  7544. CFuncs["Sound"].Create("rbxassetid://543623779", tors, 0.35, 1)
  7545. local blush = Instance.new("Decal",hed)
  7546. blush.Texture = "rbxassetid://898404027"
  7547. blush.Face = "Front"
  7548. for i = 0, 13, 0.1 do
  7549. swait()
  7550. 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)
  7551. 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)
  7552. 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)
  7553. 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)
  7554. 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)
  7555. 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)
  7556. end
  7557. coroutine.resume(coroutine.create(function()
  7558. for i = 0, 49 do
  7559. swait()
  7560. blush.Transparency = blush.Transparency + 0.02
  7561. end
  7562. blush:Destroy()
  7563. end))
  7564. hum.WalkSpeed = storehumanoidWS
  7565. attack = false
  7566. end
  7567. ------------------------------------ Mode Ascendances
  7568. function UnknownA()
  7569. hum.WalkSpeed = 0
  7570. attack = true
  7571. local keptcolor = MAINRUINCOLOR
  7572. local locat = Instance.new("Part", char)
  7573. locat.CanCollide = false
  7574. locat.FormFactor = 3
  7575. locat.Name = "Ring"
  7576. locat.Material = "Neon"
  7577. locat.Size = Vector3.new(1, 1, 1)
  7578. locat.Transparency = 1
  7579. locat.TopSurface = 0
  7580. locat.BottomSurface = 0
  7581. locat.Anchored = true
  7582. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  7583. local poste = 0
  7584. local rotation = 0
  7585. local upperpos = 0
  7586. local rate = 0
  7587. local x = locat
  7588.  
  7589. local efec = Instance.new("ParticleEmitter",root)
  7590. efec.Texture = "rbxassetid://2109052855"
  7591. efec.LightEmission = 1
  7592. efec.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7593. efec.Rate = 5
  7594. efec.Lifetime = NumberRange.new(1)
  7595. 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)})
  7596. 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)})
  7597. efec.Drag = 5
  7598. efec.LockedToPart = true
  7599. efec.Rotation = NumberRange.new(-500,500)
  7600. efec.VelocitySpread = 9000
  7601. efec.RotSpeed = NumberRange.new(-500,500)
  7602. local efec2 = efec:Clone()
  7603. efec2.LightEmission = 1
  7604. efec2.Texture = "rbxassetid://2092248396"
  7605. efec2.Parent = root
  7606. efec2.Rate = 10
  7607. efec2.Lifetime = NumberRange.new(1)
  7608. 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)})
  7609. efec2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7610. efec2.Speed = NumberRange.new(0)
  7611. efec2.RotSpeed = NumberRange.new(-100,100)
  7612. local efec3 = efec:Clone()
  7613. efec3.LightEmission = 1
  7614. efec3.Color = ColorSequence.new(Color3.new(0.75,0.85,1))
  7615. efec3.Texture = "rbxassetid://2273224484"
  7616. efec3.Parent = root
  7617. efec3.Rate = 10000
  7618. efec3.Drag = 5
  7619. efec3.LockedToPart = false
  7620. efec3.Lifetime = NumberRange.new(2)
  7621. 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)})
  7622. efec3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  7623. efec3.Speed = NumberRange.new(50,700)
  7624. efec3.RotSpeed = NumberRange.new(-100,100)
  7625. CFuncs["Sound"].Create("rbxassetid://136007472", char, 3.5,0.7)
  7626. CFuncs["Sound"].Create("rbxassetid://289315275", char, 3.5, 1)
  7627. CFuncs["Sound"].Create("rbxassetid://419447292", char, 3.5, 1)
  7628. sphere2(8,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  7629. sphere2(6,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  7630. sphere2(4,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  7631. sphere2(2,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  7632. CameraEnshaking(2,5)
  7633. for i = 0, 99 do
  7634. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  7635. disr.CFrame = root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  7636. local at1 = Instance.new("Attachment",disr)
  7637. at1.Position = vt(-10,0,0)
  7638. local at2 = Instance.new("Attachment",disr)
  7639. at2.Position = vt(10,0,0)
  7640. local trl = Instance.new('Trail',disr)
  7641. trl.Attachment0 = at1
  7642. trl.FaceCamera = true
  7643. trl.Attachment1 = at2
  7644. trl.Texture = "rbxassetid://2325530138"
  7645. trl.LightEmission = 1
  7646. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7647. trl.Color = ColorSequence.new(keptcolor.Color)
  7648. trl.Lifetime = 0.5
  7649. local bv = Instance.new("BodyVelocity")
  7650. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7651. bv.velocity = disr.CFrame.lookVector*math.random(50,500)
  7652. bv.Parent = disr
  7653. local val = 0
  7654. coroutine.resume(coroutine.create(function()
  7655. swait(math.random(30,60))
  7656. for i = 0, 19 do
  7657. swait()
  7658. val = val + 0.05
  7659. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  7660. end
  7661. game:GetService("Debris"):AddItem(disr, 3)
  7662. end))
  7663. end
  7664. for i = 0, 49 do
  7665. swait()
  7666. rotation = rotation + 5
  7667. poste = poste + 1
  7668. 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)
  7669. 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"))
  7670. sphere2(8,"Add",tors.CFrame,vt(poste/1.5,poste/1.5,poste/1.5),0.01,0.01,0.01,keptcolor)
  7671. 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)
  7672. 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)
  7673. 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)
  7674. 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)
  7675. 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)
  7676. 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)
  7677. 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)
  7678. 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)
  7679. 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)
  7680. 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)
  7681. 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)
  7682. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.5)
  7683. 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)
  7684. 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)
  7685. end
  7686. for i = 0, 149 do
  7687. swait()
  7688. rotation = rotation + 5
  7689. 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)
  7690. 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"))
  7691. sphere2(8,"Add",tors.CFrame,vt(poste/1.5,poste/1.5,poste/1.5),0.01,0.01,0.01,keptcolor)
  7692. 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)
  7693. 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)
  7694. 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)
  7695. 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)
  7696. 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)
  7697. 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)
  7698. 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)
  7699. 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)
  7700. 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)
  7701. 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)
  7702. 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)
  7703. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.5)
  7704. 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)
  7705. 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)
  7706. end
  7707. efec.Enabled = false
  7708. efec2.Enabled = false
  7709. efec3.Enabled = false
  7710. game:GetService("Debris"):AddItem(efec, 5)
  7711. game:GetService("Debris"):AddItem(efec2, 5)
  7712. game:GetService("Debris"):AddItem(efec3, 5)
  7713. ModeOfGlitch = 6000000000
  7714. storehumanoidWS = 300
  7715. hum.WalkSpeed = 300
  7716. rainbowmode = false
  7717. chaosmode = false
  7718. RecolorTextAndRename("HARMONY",BrickColor.new("Toothpaste").Color,BrickColor.new("Cool yellow").Color,"Highway")
  7719. newThemeCust("rbxassetid://603565821",0,1.01,1.5)
  7720. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  7721. keptcolor = MAINRUINCOLOR
  7722. RecolorThing(MAINRUINCOLOR,BrickColor.new("Cool yellow"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  7723. CFuncs["Sound"].Create("rbxassetid://763717897", char, 4, 1)
  7724. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
  7725. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 4, 0.95)
  7726. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(15,0,15),5,0,5,BrickColor.new("Cool yellow"))
  7727. sphere2(2,"Add",x.CFrame*CFrame.new(0,0,0),vt(15,0,15),5,0,5,keptcolor)
  7728. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("White"))
  7729. sphere2(2,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Cool yellow"))
  7730. sphere2(4,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,keptcolor)
  7731. for i = 0, 99 do
  7732. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  7733. 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)))
  7734. local at1 = Instance.new("Attachment",dis)
  7735. at1.Position = vt(-25000,0,0)
  7736. local at2 = Instance.new("Attachment",dis)
  7737. at2.Position = vt(25000,0,0)
  7738. local trl = Instance.new('Trail',dis)
  7739. trl.Attachment0 = at1
  7740. trl.FaceCamera = true
  7741. trl.Attachment1 = at2
  7742. trl.Texture = "rbxassetid://1049219073"
  7743. trl.LightEmission = 1
  7744. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7745. trl.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7746. trl.Lifetime = 5
  7747. local bv = Instance.new("BodyVelocity")
  7748. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7749. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  7750. bv.Parent = dis
  7751. game:GetService("Debris"):AddItem(dis, 10)
  7752. end
  7753. attack = false
  7754. hum.WalkSpeed = storehumanoidWS
  7755. for i = 0, 99 do
  7756. 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"))
  7757. end
  7758. for i = 0, 49 do
  7759. local rsiz = math.random(150,450)
  7760. 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"))
  7761. 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"))
  7762. 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)
  7763. end
  7764. coroutine.resume(coroutine.create(function()
  7765. local eff = Instance.new("ParticleEmitter",x)
  7766. eff.Texture = "rbxassetid://2273224484"
  7767. eff.LightEmission = 1
  7768. eff.Color = ColorSequence.new(BrickColor.new("Cool yellow").Color)
  7769. eff.Rate = 50000
  7770. eff.Lifetime = NumberRange.new(3,8)
  7771. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,120,0),NumberSequenceKeypoint.new(0.2,25,0),NumberSequenceKeypoint.new(1,0.1,0)})
  7772. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(1,1,0)})
  7773. eff.Speed = NumberRange.new(250,1500)
  7774. eff.Drag = 5
  7775. eff.Rotation = NumberRange.new(-500,500)
  7776. eff.VelocitySpread = 9000
  7777. eff.RotSpeed = NumberRange.new(-100,100)
  7778. wait(1.25)
  7779. eff.Enabled = false
  7780. end))
  7781. --[[for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do
  7782. if v:FindFirstChild('Head') then
  7783. dmg(v)
  7784. end
  7785. end]]--
  7786. sphere2(3,"Add",tors.CFrame,vt(1,1,1),10,10,10,keptcolor)
  7787. sphere2(2,"Add",tors.CFrame,vt(1,1,1),10,10,10,BrickColor.new("Cool yellow"))
  7788. sphere2(1,"Add",tors.CFrame,vt(1,1,1),10,10,10,BrickColor.new("White"))
  7789. CameraEnshaking(8,10)
  7790. for i = 0, 99 do
  7791. swait()
  7792. rotation = rotation + 5
  7793. poste = poste + 1
  7794. upperpos = upperpos + rate
  7795. rate = rate + 0.1
  7796. 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)
  7797. 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"))
  7798. 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"))
  7799. 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"))
  7800. 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"))
  7801. 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)
  7802. 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)
  7803. 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)
  7804. 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)
  7805. end
  7806. wait(6)
  7807. x:Destroy()
  7808. end
  7809.  
  7810.  
  7811.  
  7812. function loveydovey()
  7813. attack = true
  7814. local keptcolor = MAINRUINCOLOR
  7815. hum.WalkSpeed = 0
  7816. for i = 0, 5, 0.1 do
  7817. swait()
  7818. 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)
  7819. 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)
  7820. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7821. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
  7822. RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
  7823. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
  7824. end
  7825. CameraEnshaking(4,9)
  7826. sphere2(2,"Add",root.CFrame,vt(5,5,5),0.5,0.5,0.5,keptcolor)
  7827. sphere2(2,"Add",root.CFrame,vt(5,5,5),0.75,0.75,0.75,keptcolor)
  7828. sphere2(3,"Add",root.CFrame,vt(5,5,5),1,1,1,keptcolor)
  7829. sphere2(3,"Add",root.CFrame,vt(5,5,5),1.25,1.25,1.25,keptcolor)
  7830. sphere2(1,"Add",root.CFrame,vt(5,10000,5),0.5,0.5,0.5,keptcolor)
  7831. sphere2(2,"Add",root.CFrame,vt(5,10000,5),0.6,0.6,0.6,keptcolor)
  7832. CFuncs["Sound"].Create("rbxassetid://1368637781", char, 1.5,1.25)
  7833. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1.25)
  7834. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 1)
  7835. coroutine.resume(coroutine.create(function()
  7836. local eff = Instance.new("ParticleEmitter",root)
  7837. eff.Texture = "rbxassetid://363275192"
  7838. eff.LightEmission = 0.95
  7839. eff.Color = ColorSequence.new(keptcolor.Color)
  7840. eff.Rate = 10000
  7841. eff.Lifetime = NumberRange.new(1)
  7842. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  7843. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7844. eff.Speed = NumberRange.new(50,200)
  7845. eff.Drag = 5
  7846. eff.Rotation = NumberRange.new(-500,500)
  7847. eff.VelocitySpread = 9000
  7848. eff.RotSpeed = NumberRange.new(-50,50)
  7849. wait(0.5)
  7850. eff.Enabled = false
  7851. wait(5)
  7852. eff:Destroy()
  7853. end))
  7854. for i = 0, 24 do
  7855. 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"))
  7856. end
  7857. for i = 0, 49 do
  7858. local rsiz = math.random(70,90)
  7859. 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)
  7860. end
  7861. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  7862. CFuncs["Sound"].Create("rbxassetid://543623779", root, 1.5,1)
  7863. newTheme("rbxassetid://728272672",0,1.02,1.25)
  7864. ModeOfGlitch = 9600000000
  7865. MAINRUINCOLOR = BrickColor.new("Hot pink")
  7866. for i = 0, 1, 0.2 do
  7867. swait()
  7868. 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)
  7869. 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)
  7870. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
  7871. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(20),math.rad(0)),.8)
  7872. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(12),math.rad(0),math.rad(57)),.8)
  7873. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(13),math.rad(0),math.rad(-58)),.8)
  7874. end
  7875. for i = 0, 9, 0.1 do
  7876. swait()
  7877. 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)
  7878. 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)
  7879. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7880. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
  7881. RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
  7882. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
  7883. end
  7884. CameraEnshaking(2,11)
  7885. sphere2(2,"Add",root.CFrame,vt(5,5,5),0.75,0.75,0.75,BrickColor.new("Pink"))
  7886. sphere2(2,"Add",root.CFrame,vt(5,5,5),1,1,1,BrickColor.new("Pink"))
  7887. sphere2(3,"Add",root.CFrame,vt(5,5,5),1.25,1.25,1.25,MAINRUINCOLOR)
  7888. sphere2(3,"Add",root.CFrame,vt(5,5,5),1.5,1.5,1.5,MAINRUINCOLOR)
  7889. sphere2(1,"Add",root.CFrame,vt(5,10000,5),0.5,0.5,0.5,BrickColor.new("Pink"))
  7890. sphere2(2,"Add",root.CFrame,vt(5,10000,5),1,1,1,MAINRUINCOLOR)
  7891. CFuncs["Sound"].Create("rbxassetid://1368637781", char, 2,1)
  7892. CFuncs["Sound"].Create("rbxassetid://763717897", char, 3, 1.125)
  7893. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 3, 0.75)
  7894. for i = 0, 49 do
  7895. 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"))
  7896. end
  7897. for i = 0, 49 do
  7898. local rsiz = math.random(70,90)
  7899. 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)
  7900. 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)
  7901. end
  7902. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  7903. for i = 0, 1, 0.2 do
  7904. swait()
  7905. 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)
  7906. 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)
  7907. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
  7908. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(20),math.rad(0)),.8)
  7909. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(12),math.rad(0),math.rad(57)),.8)
  7910. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(13),math.rad(0),math.rad(-58)),.8)
  7911. end
  7912. for i = 0, 1, 0.1 do
  7913. swait()
  7914. 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)
  7915. 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)
  7916. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7917. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
  7918. RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
  7919. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
  7920. end
  7921. CameraEnshaking(9,14)
  7922. sphere2(4,"Add",root.CFrame,vt(5,5,5),1,1,1,BrickColor.new("Pink"))
  7923. sphere2(4,"Add",root.CFrame,vt(5,5,5),2,2,2,BrickColor.new("Pink"))
  7924. sphere2(9,"Add",root.CFrame,vt(5,5,5),3,3,3,MAINRUINCOLOR)
  7925. sphere2(9,"Add",root.CFrame,vt(5,5,5),4,4,4,MAINRUINCOLOR)
  7926. CFuncs["Sound"].Create("rbxassetid://847061203", char, 3,0.5)
  7927. CFuncs["Sound"].Create("rbxassetid://763717897", char, 5, 0.75)
  7928. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 6, 0.5)
  7929. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 5, 1)
  7930. sphere2(1,"Add",root.CFrame,vt(5,5,5),2,2,2,BrickColor.new("Pink"))
  7931. sphere2(1,"Add",root.CFrame,vt(5,5,5),3,3,3,BrickColor.new("Pink"))
  7932. sphere2(1,"Add",root.CFrame,vt(5,5,5),4,4,4,BrickColor.new("Pink"))
  7933. sphere2(1,"Add",root.CFrame,vt(5,10000,5),2.5,2.5,2.5,BrickColor.new("Pink"))
  7934. sphere2(2,"Add",root.CFrame,vt(5,10000,5),3.5,3.5,3.5,MAINRUINCOLOR)
  7935. sphere2(1,"Add",root.CFrame,vt(5,5,5),8,8,8,BrickColor.new("Pink"))
  7936. sphere2(2,"Add",root.CFrame,vt(5,5,5),14,14,14,MAINRUINCOLOR)
  7937. sphere2(3,"Add",root.CFrame,vt(5,5,5),20,20,20,MAINRUINCOLOR)
  7938. for i = 0, 99 do
  7939. 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"))
  7940. end
  7941. for i = 0, 99 do
  7942. local rsiz = math.random(150,450)
  7943. 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"))
  7944. 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)
  7945. 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)
  7946. end
  7947. coroutine.resume(coroutine.create(function()
  7948. local eff = Instance.new("ParticleEmitter",root)
  7949. eff.Texture = "rbxassetid://749327003"
  7950. eff.LightEmission = 1
  7951. eff.Color = ColorSequence.new(BrickColor.new("Pink").Color)
  7952. eff.Rate = 50000
  7953. eff.Lifetime = NumberRange.new(5)
  7954. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,60,0),NumberSequenceKeypoint.new(1,0.1,0)})
  7955. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7956. eff.Speed = NumberRange.new(250,1000)
  7957. eff.Drag = 5
  7958. eff.Rotation = NumberRange.new(-50,50)
  7959. eff.VelocitySpread = 9000
  7960. eff.RotSpeed = NumberRange.new(-50,50)
  7961. wait(0.5)
  7962. eff.Enabled = false
  7963. wait(5)
  7964. eff:Destroy()
  7965. end))
  7966. storehumanoidWS = 100
  7967. rainbowmode = false
  7968. chaosmode = false
  7969. RecolorTextAndRename("LOVE",BrickColor.new("Pink").Color,BrickColor.new("Hot pink").Color,"Cartoon")
  7970. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  7971. for i = 0, 2, 0.1 do
  7972. swait()
  7973. 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)
  7974. 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)
  7975. 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)
  7976. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
  7977. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15),math.rad(0),math.rad(0)),.8)
  7978. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.8)
  7979. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.8)
  7980. end
  7981. hum.WalkSpeed = storehumanoidWS
  7982. attack = false
  7983. end
  7984.  
  7985. function ascendAzure()
  7986. attack = true
  7987. hum.WalkSpeed = 0
  7988. newThemeCust("rbxassetid://739066292",0,1.01,1.5)
  7989. MAINRUINCOLOR = BrickColor.new("Magenta")
  7990. local vel = Instance.new("BodyPosition", root)
  7991. vel.P = 25000
  7992. vel.D = 1000
  7993. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  7994. vel.position = root.CFrame.p + vt(0,250,0)
  7995. CFuncs["Sound"].Create("rbxassetid://1295446488", char, 1.5, 1)
  7996. for i = 0, 49 do
  7997. 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"))
  7998. end
  7999. local efec = Instance.new("ParticleEmitter",root)
  8000. efec.Texture = "rbxassetid://2109052855"
  8001. efec.LightEmission = 1
  8002. efec.Color = ColorSequence.new(Color3.new(0.5,0,1))
  8003. efec.Rate = 5
  8004. efec.Lifetime = NumberRange.new(3)
  8005. 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)})
  8006. 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)})
  8007. efec.Drag = 5
  8008. efec.LockedToPart = true
  8009. efec.Rotation = NumberRange.new(-500,500)
  8010. efec.VelocitySpread = 9000
  8011. efec.RotSpeed = NumberRange.new(-500,500)
  8012. local efec2 = efec:Clone()
  8013. efec2.LightEmission = 1
  8014. efec2.Texture = "rbxassetid://2092248396"
  8015. efec2.Parent = root
  8016. efec2.Rate = 10
  8017. efec2.Lifetime = NumberRange.new(2)
  8018. 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)})
  8019. efec2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  8020. efec2.Speed = NumberRange.new(0)
  8021. efec2.RotSpeed = NumberRange.new(-100,100)
  8022. local efec3 = efec:Clone()
  8023. efec3.LightEmission = 1
  8024. efec3.Color = ColorSequence.new(Color3.new(0.75,0.5,1))
  8025. efec3.Texture = "rbxassetid://2273224484"
  8026. efec3.Parent = root
  8027. efec3.Rate = 10000
  8028. efec3.Drag = 5
  8029. efec3.LockedToPart = false
  8030. efec3.Lifetime = NumberRange.new(2)
  8031. 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)})
  8032. efec3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  8033. efec3.Speed = NumberRange.new(50,1550)
  8034. efec3.RotSpeed = NumberRange.new(-100,100)
  8035. for i = 0, 4, 0.1 do
  8036. swait()
  8037. hum.CameraOffset = vt(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30)
  8038. 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)
  8039. 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)
  8040. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.8)
  8041. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(35),math.rad(0),math.rad(0)),.8)
  8042. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-57)),.8)
  8043. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(83),math.rad(0),math.rad(58)),.8)
  8044. end
  8045. local absval = 0
  8046. CFuncs["LongSound"].Create("rbxassetid://1368583274", char, 4.5, 0.2)
  8047. for i = 0, 50, 0.1 do
  8048. swait()
  8049. hum.CameraOffset = vt(math.random(-20,20)/10*absval/2,math.random(-20,20)/10*absval/2,math.random(-20,20)/10*absval/2)
  8050. absval = absval + 0.005
  8051. 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)
  8052. 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)
  8053. 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)
  8054. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  8055. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  8056. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  8057. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  8058. end
  8059. CFuncs["Sound"].Create("rbxassetid://824687369", char, 5, 0.6)
  8060. CFuncs["Sound"].Create("rbxassetid://824687369", char, 5, 0.7)
  8061. CFuncs["Sound"].Create("rbxassetid://824687369", char, 5, 0.8)
  8062. CFuncs["Sound"].Create("rbxassetid://289315275", char, 7.5, 1)
  8063. CFuncs["Sound"].Create("rbxassetid://419447292", char, 7, 1)
  8064. CFuncs["Sound"].Create("rbxassetid://419447292", char, 6.5, 0.8)
  8065. for i = 0, 99 do
  8066. local disr = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  8067. disr.CFrame = root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  8068. local at1 = Instance.new("Attachment",disr)
  8069. at1.Position = vt(-10,0,0)
  8070. local at2 = Instance.new("Attachment",disr)
  8071. at2.Position = vt(10,0,0)
  8072. local trl = Instance.new('Trail',disr)
  8073. trl.Attachment0 = at1
  8074. trl.FaceCamera = true
  8075. trl.Attachment1 = at2
  8076. trl.Texture = "rbxassetid://2325530138"
  8077. trl.LightEmission = 1
  8078. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  8079. trl.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8080. trl.Lifetime = 0.5
  8081. local bv = Instance.new("BodyVelocity")
  8082. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  8083. bv.velocity = disr.CFrame.lookVector*math.random(50,750)
  8084. bv.Parent = disr
  8085. local val = 0
  8086. coroutine.resume(coroutine.create(function()
  8087. swait(math.random(30,60))
  8088. for i = 0, 19 do
  8089. swait()
  8090. val = val + 0.05
  8091. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  8092. end
  8093. game:GetService("Debris"):AddItem(disr, 3)
  8094. end))
  8095. end
  8096. 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)
  8097. 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)
  8098. for i = 0, 25, 0.1 do
  8099. swait()
  8100. local disr = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  8101. disr.CFrame = root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  8102. local at1 = Instance.new("Attachment",disr)
  8103. at1.Position = vt(-10,0,0)
  8104. local at2 = Instance.new("Attachment",disr)
  8105. at2.Position = vt(10,0,0)
  8106. local trl = Instance.new('Trail',disr)
  8107. trl.Attachment0 = at1
  8108. trl.FaceCamera = true
  8109. trl.Attachment1 = at2
  8110. trl.Texture = "rbxassetid://2325530138"
  8111. trl.LightEmission = 1
  8112. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  8113. trl.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8114. trl.Lifetime = 0.5
  8115. local bv = Instance.new("BodyVelocity")
  8116. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  8117. bv.velocity = disr.CFrame.lookVector*math.random(50,750)
  8118. bv.Parent = disr
  8119. local val = 0
  8120. coroutine.resume(coroutine.create(function()
  8121. swait(30)
  8122. for i = 0, 9 do
  8123. swait()
  8124. val = val + 0.1
  8125. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  8126. end
  8127. game:GetService("Debris"):AddItem(disr, 3)
  8128. end))
  8129. hum.CameraOffset = vt(math.random(-20,20)/10*absval/2,math.random(-20,20)/10*absval/2,math.random(-20,20)/10*absval/2)
  8130. 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)
  8131. 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)
  8132. 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)
  8133. 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)
  8134. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  8135. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  8136. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  8137. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  8138. end
  8139. efec.Enabled = false
  8140. efec2.Enabled = false
  8141. efec3.Enabled = false
  8142. CFuncs["Sound"].Create("rbxassetid://1368605755", char, 7.5, 1)
  8143. CFuncs["Sound"].Create("rbxassetid://763718160", char, 10, 0.5)
  8144. CFuncs["Sound"].Create("rbxassetid://763718160", char, 10, 0.25)
  8145. CFuncs["Sound"].Create("rbxassetid://782353443", char, 10, 1)
  8146. CFuncs["Sound"].Create("rbxassetid://782353443", char, 10, 0.75)
  8147. CFuncs["LongSound"].Create("rbxassetid://782353443", char, 10, 0.5)
  8148. CFuncs["LongSound"].Create("rbxassetid://782353443", char, 10, 0.25)
  8149. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 10, 1)
  8150. for i = 0, 2 do
  8151. CFuncs["Sound"].Create("rbxassetid://824687369", char, 10, 1)
  8152. CFuncs["Sound"].Create("rbxassetid://824687369", char, 10, 0.75)
  8153. end
  8154. for i = 0, 99 do
  8155. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  8156. 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)))
  8157. local at1 = Instance.new("Attachment",dis)
  8158. at1.Position = vt(-25000,0,0)
  8159. local at2 = Instance.new("Attachment",dis)
  8160. at2.Position = vt(25000,0,0)
  8161. local trl = Instance.new('Trail',dis)
  8162. trl.Attachment0 = at1
  8163. trl.FaceCamera = true
  8164. trl.Attachment1 = at2
  8165. trl.Texture = "rbxassetid://1049219073"
  8166. trl.LightEmission = 1
  8167. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  8168. trl.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8169. trl.Lifetime = 5
  8170. local bv = Instance.new("BodyVelocity")
  8171. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  8172. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  8173. bv.Parent = dis
  8174. game:GetService("Debris"):AddItem(dis, 10)
  8175. end
  8176. for i = 0, 49 do
  8177. 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"))
  8178. end
  8179. for i = 0, 3, 0.1 do
  8180. swait()
  8181. hum.CameraOffset = vt(math.random(-20,20)/5*absval,math.random(-20,20)/5*absval,math.random(-20,20)/5*absval)
  8182. 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"))
  8183. for i = 0, 4 do
  8184. 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"))
  8185. end
  8186. 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)
  8187. 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)
  8188. 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)
  8189. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  8190. 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)
  8191. 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)
  8192. end
  8193. hum.CameraOffset = vt(0,0,0)
  8194. vel:Destroy()
  8195. efec:Destroy()
  8196. efec2:Destroy()
  8197. efec3:Destroy()
  8198. hum.WalkSpeed = 200
  8199. ModeOfGlitch = 2000000000
  8200. storehumanoidWS = 200
  8201. hum.WalkSpeed = 200
  8202. rainbowmode = false
  8203. chaosmode = false
  8204. RecolorTextAndRename("AZURE X",BrickColor.new("Dark indigo").Color,BrickColor.new("Magenta").Color,"Antique")
  8205. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark indigo"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  8206. attack = false
  8207. end
  8208.  
  8209. function SolarSystem()
  8210. attack = true
  8211. hum.WalkSpeed = 0
  8212. MAINRUINCOLOR = BrickColor.new("Bright orange")
  8213. newThemeCust("rbxassetid://318062185",0,1.01,1.5) --737063244,925278639
  8214. local vel = Instance.new("BodyPosition", root)
  8215. vel.P = 10000
  8216. vel.D = 1000
  8217. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  8218. vel.position = root.CFrame.p + vt(0,250,0)
  8219. CFuncs["Sound"].Create("rbxassetid://1295446488", char, 5, 0.5)
  8220. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 7.5, 0.5)
  8221. for i = 0, 49 do
  8222. 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"))
  8223. end
  8224. local efec = Instance.new("ParticleEmitter",root)
  8225. efec.Texture = "rbxassetid://2109052855"
  8226. efec.LightEmission = 1
  8227. efec.Color = ColorSequence.new(Color3.new(1,0.45,0))
  8228. efec.Rate = 5
  8229. efec.Lifetime = NumberRange.new(3)
  8230. 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)})
  8231. 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)})
  8232. efec.Drag = 5
  8233. efec.LockedToPart = true
  8234. efec.Rotation = NumberRange.new(-500,500)
  8235. efec.VelocitySpread = 9000
  8236. efec.RotSpeed = NumberRange.new(-500,500)
  8237. local efec2 = efec:Clone()
  8238. efec2.LightEmission = 1
  8239. efec2.Texture = "rbxassetid://2092248396"
  8240. efec2.Parent = root
  8241. efec2.Rate = 10
  8242. efec2.Lifetime = NumberRange.new(2)
  8243. 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)})
  8244. efec2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  8245. efec2.Speed = NumberRange.new(0)
  8246. efec2.RotSpeed = NumberRange.new(-100,100)
  8247. local efec3 = efec:Clone()
  8248. efec3.LightEmission = 1
  8249. efec3.Color = ColorSequence.new(Color3.new(1,0.85,0.5))
  8250. efec3.Texture = "rbxassetid://2273224484"
  8251. efec3.Parent = root
  8252. efec3.Rate = 10000
  8253. efec3.Drag = 5
  8254. efec3.LockedToPart = false
  8255. efec3.Lifetime = NumberRange.new(2)
  8256. 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)})
  8257. efec3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  8258. efec3.Speed = NumberRange.new(50,1550)
  8259. efec3.RotSpeed = NumberRange.new(-100,100)
  8260. for x = 0, 10 do
  8261. for i = 0, 1, 0.6 do
  8262. swait()
  8263. hum.CameraOffset = vt(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30)
  8264. 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)
  8265. 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)
  8266. 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)
  8267. 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)
  8268. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.8)
  8269. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  8270. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.8)
  8271. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.8)
  8272. end
  8273. for i = 0, 1, 0.6 do
  8274. swait()
  8275. hum.CameraOffset = vt(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30)
  8276. 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)
  8277. 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)
  8278. 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)
  8279. 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)
  8280. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.8)
  8281. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  8282. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.8)
  8283. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.8)
  8284. end
  8285. for i = 0, 1, 0.6 do
  8286. swait()
  8287. hum.CameraOffset = vt(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30)
  8288. 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)
  8289. 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)
  8290. 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)
  8291. 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)
  8292. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.8)
  8293. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  8294. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.8)
  8295. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.8)
  8296. end
  8297. for i = 0, 1, 0.6 do
  8298. swait()
  8299. hum.CameraOffset = vt(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30)
  8300. 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)
  8301. 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)
  8302. 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)
  8303. 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)
  8304. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.8)
  8305. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  8306. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.8)
  8307. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.8)
  8308. end
  8309. end
  8310. local absval = 0
  8311. CFuncs["Sound"].Create("rbxassetid://1368583274", char, 7.5, 0.25)
  8312. CFuncs["LongSound"].Create("rbxassetid://1368583274", char, 7.5, 0.5)
  8313. for i = 0, 40, 0.1 do
  8314. swait()
  8315. hum.CameraOffset = vt(math.random(-20,20)/10*absval/2,math.random(-20,20)/10*absval/2,math.random(-20,20)/10*absval/2)
  8316. absval = absval + 0.01
  8317. 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"))
  8318. 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"))
  8319. for i = 0, 1 do
  8320. 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)
  8321. end
  8322. 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)
  8323. 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)
  8324. 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)
  8325. 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)
  8326. 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)
  8327. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  8328. 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)
  8329. 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)
  8330. end
  8331. for i = 0, 25, 0.1 do
  8332. swait()
  8333. hum.CameraOffset = vt(math.random(-20,20)/10*absval/2,math.random(-20,20)/10*absval/2,math.random(-20,20)/10*absval/2)
  8334. 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"))
  8335. 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"))
  8336. for i = 0, 1 do
  8337. 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)
  8338. end
  8339. 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)
  8340. 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)
  8341. 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)
  8342. 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)
  8343. 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)
  8344. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  8345. 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)
  8346. 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)
  8347. end
  8348. efec.Enabled = false
  8349. efec2.Enabled = false
  8350. efec3.Enabled = false
  8351. CFuncs["Sound"].Create("rbxassetid://1368637781", char, 5, 0.25)
  8352. CFuncs["Sound"].Create("rbxassetid://1368637781", char, 5, 0.5)
  8353. CFuncs["Sound"].Create("rbxassetid://1368637781", char, 5, 0.75)
  8354. CFuncs["Sound"].Create("rbxassetid://1368637781", char, 7.5, 1)
  8355. CFuncs["Sound"].Create("rbxassetid://1368605755", char, 7.5, 1)
  8356. CFuncs["Sound"].Create("rbxassetid://763718160", char, 10, 0.5)
  8357. CFuncs["Sound"].Create("rbxassetid://763718160", char, 10, 0.25)
  8358. CFuncs["Sound"].Create("rbxassetid://782353443", char, 10, 1)
  8359. CFuncs["Sound"].Create("rbxassetid://782353443", char, 10, 0.75)
  8360. CFuncs["LongSound"].Create("rbxassetid://782353443", char, 10, 0.5)
  8361. CFuncs["LongSound"].Create("rbxassetid://782353443", char, 10, 0.25)
  8362. for i = 0, 2 do
  8363. CFuncs["Sound"].Create("rbxassetid://763717897", char, 10, 0.5)
  8364. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 10, 1)
  8365. end
  8366. for i = 0, 99 do
  8367. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  8368. 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)))
  8369. local at1 = Instance.new("Attachment",dis)
  8370. at1.Position = vt(-25000,0,0)
  8371. local at2 = Instance.new("Attachment",dis)
  8372. at2.Position = vt(25000,0,0)
  8373. local trl = Instance.new('Trail',dis)
  8374. trl.Attachment0 = at1
  8375. trl.FaceCamera = true
  8376. trl.Attachment1 = at2
  8377. trl.Texture = "rbxassetid://1049219073"
  8378. trl.LightEmission = 1
  8379. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  8380. trl.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8381. trl.Lifetime = 5
  8382. local bv = Instance.new("BodyVelocity")
  8383. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  8384. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  8385. bv.Parent = dis
  8386. game:GetService("Debris"):AddItem(dis, 15)
  8387. end
  8388. for i = 0, 49 do
  8389. 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)
  8390. end
  8391. for i = 0, 9, 0.1 do
  8392. swait()
  8393. hum.CameraOffset = vt(math.random(-20,20)/5*absval,math.random(-20,20)/5*absval,math.random(-20,20)/5*absval)
  8394. 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)
  8395. for i = 0, 4 do
  8396. 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"))
  8397. end
  8398. 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)
  8399. 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)
  8400. 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)
  8401. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  8402. 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)
  8403. 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)
  8404. end
  8405. hum.CameraOffset = vt(0,0,0)
  8406. vel:Destroy()
  8407. efec:Destroy()
  8408. efec2:Destroy()
  8409. efec3:Destroy()
  8410. ModeOfGlitch = 5000000000
  8411. storehumanoidWS = 200
  8412. hum.WalkSpeed = 200
  8413. rainbowmode = false
  8414. chaosmode = false
  8415. RecolorTextAndRename("SOL",Color3.new(1,0.75,0),Color3.new(1,0.35,0),"Antique")
  8416. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  8417. hum.WalkSpeed = 200
  8418. attack = false
  8419. end
  8420.  
  8421.  
  8422. -------------------------------------
  8423.  
  8424. Humanoid.Animator.Parent = nil
  8425.  
  8426. Character.Animate:Destroy()
  8427.  
  8428. -------------------------------------
  8429.  
  8430. local attacktype = 1
  8431. mouse.Button1Down:connect(function()
  8432. if attack == false and attacktype == 1 then
  8433. attacktype = 2
  8434. attackone()
  8435. elseif attack == false and attacktype == 2 then
  8436. attacktype = 3
  8437. attacktwo()
  8438. elseif attack == false and attacktype == 3 then
  8439. attacktype = 1
  8440. attackthree()
  8441. elseif attack == false and attacktype == 4 then
  8442. attacktype = 1
  8443. --attackfour()
  8444. end
  8445. end)
  8446.  
  8447. local OVMID = 1554894079
  8448. local OVMPIT = 1
  8449. local OVMVOL = 1
  8450. mouse.KeyDown:connect(function(k)
  8451. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  8452. --resetmode()
  8453. ModeOfGlitch = 1
  8454. storehumanoidWS = 16
  8455. hum.WalkSpeed = 16
  8456. hum.JumpPower = 50
  8457. rainbowmode = false
  8458. chaosmode = false
  8459. RecolorTextAndRename("Enlightened",Color3.new(1,1,1),Color3.new(0.75,0.75,0.75),"Code")
  8460. newTheme("rbxassetid://603567552",0,1.02,1.25)
  8461. MAINRUINCOLOR = BrickColor.new("White")
  8462. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8463. end
  8464. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  8465. ModeOfGlitch = 2
  8466. storehumanoidWS = 16
  8467. hum.WalkSpeed = 16
  8468. rainbowmode = false
  8469. chaosmode = false
  8470. RecolorTextAndRename("Azure",Color3.new(0,0,0),BrickColor.new("Bright violet").Color,"Code")
  8471. newTheme("rbxassetid://2027652726",0,1.01,1.25)
  8472. MAINRUINCOLOR = BrickColor.new("Bright violet")
  8473. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8474. end
  8475. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  8476. ModeOfGlitch = 3
  8477. storehumanoidWS = 16
  8478. hum.WalkSpeed = 16
  8479. rainbowmode = false
  8480. chaosmode = false
  8481. RecolorTextAndRename("BINARY",Color3.new(0,0,0),Color3.new(0,1,0),"SciFi")
  8482. newTheme("rbxassetid://2041343402",0,1.01,1.25)
  8483. MAINRUINCOLOR = BrickColor.new("Lime green")
  8484. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8485. end
  8486. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  8487. ModeOfGlitch = 4
  8488. storehumanoidWS = 16
  8489. hum.WalkSpeed = 16
  8490. rainbowmode = false
  8491. chaosmode = false
  8492. RecolorTextAndRename("Luna",Color3.new(0,0,0.25),BrickColor.new("Bright yellow").Color,"SourceSansBold")
  8493. newTheme("rbxassetid://2022787645",0,1.02,1.25)
  8494. MAINRUINCOLOR = BrickColor.new("Navy blue")
  8495. RecolorThing(MAINRUINCOLOR,BrickColor.new("Bright yellow"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8496. end
  8497. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  8498. ModeOfGlitch = 5
  8499. storehumanoidWS = 16
  8500. hum.WalkSpeed = 16
  8501. rainbowmode = false
  8502. chaosmode = false
  8503. RecolorTextAndRename("Blaze",Color3.new(1,0.5,0),Color3.new(1,1,0),"Fantasy")
  8504. newTheme("rbxassetid://318890513",0,1.01,1.25)
  8505. MAINRUINCOLOR = BrickColor.new("Deep orange")
  8506. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8507. end
  8508. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  8509. ModeOfGlitch = 6
  8510. storehumanoidWS = 100
  8511. hum.WalkSpeed = 100
  8512. rainbowmode = false
  8513. chaosmode = false
  8514. RecolorTextAndRename("GALACTIC",Color3.new(0,0,0.5),Color3.new(0.75,1,1),"Fantasy")
  8515. newTheme("rbxassetid://604910909",0,1.02,1.25)
  8516. MAINRUINCOLOR = BrickColor.new("Pastel light blue")
  8517. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8518. end
  8519. if k == "f" and attack == false and ModeOfGlitch ~= 7 then
  8520. ModeOfGlitch = 7
  8521. storehumanoidWS = 175
  8522. hum.WalkSpeed = 175
  8523. rainbowmode = false
  8524. chaosmode = false
  8525. RecolorTextAndRename("HYPERSPEED",BrickColor.new("Cyan").Color,BrickColor.new("Toothpaste").Color,"Arcade")
  8526. newTheme("rbxassetid://2011847746",0,1.01,1.25)
  8527. MAINRUINCOLOR = BrickColor.new("Cyan")
  8528. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8529. end
  8530. if k == "g" and attack == false and ModeOfGlitch ~= 8 then
  8531. ModeOfGlitch = 8
  8532. storehumanoidWS = 100
  8533. hum.WalkSpeed = 100
  8534. rainbowmode = false
  8535. chaosmode = false
  8536. RecolorTextAndRename("CHAOTIC",BrickColor.new("Really red").Color,BrickColor.new("Bright red").Color,"Antique")
  8537. newTheme("rbxassetid://603566564",0,1.01,1.65)
  8538. MAINRUINCOLOR = BrickColor.new("Really red")
  8539. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8540. end
  8541. if k == "h" and attack == false and ModeOfGlitch ~= 9 then
  8542. ModeOfGlitch = 9
  8543. storehumanoidWS = 135
  8544. hum.WalkSpeed = 135
  8545. rainbowmode = false
  8546. chaosmode = false
  8547. RecolorTextAndRename("Visualiser",BrickColor.new("Medium stone grey").Color,BrickColor.new("Black").Color,"Arcade")
  8548. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  8549. MAINRUINCOLOR = BrickColor.new("Medium stone grey")
  8550. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  8551. end
  8552. if k == "m" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 1000000000 and plr.Name == "dasd5755" then
  8553. ModeOfGlitch = 1000000000
  8554. storehumanoidWS = 350
  8555. hum.WalkSpeed = 350
  8556. rainbowmode = false
  8557. chaosmode = false
  8558. RecolorTextAndRename("DARKNESS",Color3.new(0,0,0),BrickColor.new("Really black").Color,"Antique")
  8559. newTheme("rbxassetid://577543579",0,1,1.25)
  8560. MAINRUINCOLOR = BrickColor.new("Really black")
  8561. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  8562. end
  8563. if k == "j" and attack == false and ModeOfGlitch ~= 9600000000 and plr.Name == "dasd5755" then
  8564. loveydovey()
  8565. end
  8566. if k == "m" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 6000000000 and plr.Name == "dasd5755" then
  8567. UnknownA()
  8568. elseif k == "m" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 5000000000 and plr.Name == "dasd5755" then
  8569. SolarSystem()
  8570. elseif k == "m" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 2000000000 and plr.Name == "dasd5755" then
  8571. ascendAzure()
  8572. end
  8573. if k == "b" and ModeOfGlitch == 6000000000 and attack == false then
  8574. harmonytaunty()
  8575. elseif k == "b" and ModeOfGlitch == 9 and attack == false then
  8576. vistaunty()
  8577. elseif k == "b" and ModeOfGlitch == 9600000000 and attack == false then
  8578. shytaunty()
  8579. end
  8580. if k == "z" and ModeOfGlitch == 1 and attack == false then
  8581. Beams()
  8582. elseif k == "z" and ModeOfGlitch == 2 and attack == false then
  8583. smiter()
  8584. elseif k == "z" and ModeOfGlitch == 2000000000 and attack == false then
  8585. supsmiter()
  8586. elseif k == "z" and ModeOfGlitch == 3 and attack == false then
  8587. BinaryE()
  8588. elseif k == "z" and ModeOfGlitch == 4 and attack == false then
  8589. elseif k == "z" and ModeOfGlitch == 5 and attack == false then
  8590. Crossfire()
  8591. elseif k == "z" and ModeOfGlitch == 6 and attack == false then
  8592. GalacticalBeams()
  8593. elseif k == "z" and ModeOfGlitch == 7 and attack == false then
  8594. WarpedDash()
  8595. elseif k == "z" and ModeOfGlitch == 8 and attack == false then
  8596. elseif k == "z" and ModeOfGlitch == 9 and attack == false then
  8597. end
  8598. if k == "x" and ModeOfGlitch == 3 and attack == false then
  8599. BinaryBLINK()
  8600. end
  8601. if k == "v" and ModeOfGlitch == 2 and attack == false then
  8602. SingularityVoid()
  8603. elseif k == "v" and ModeOfGlitch == 8 and attack == false then
  8604. BeamOfDeath()
  8605. elseif k == "v" and ModeOfGlitch == 2000000000 and attack == false then
  8606. AzureVANISHMENT()
  8607. end
  8608. if k == "l" and mutedtog == false then
  8609. mutedtog = true
  8610. kan.Volume = 0
  8611. elseif k == "l" and mutedtog == true then
  8612. mutedtog = false
  8613. kan.Volume = 1.25
  8614. end
  8615. if k == "p" and toggleTag == false then
  8616. toggleTag = true
  8617. modet.TextTransparency = 0
  8618. modet.TextStrokeTransparency = 0
  8619. elseif k == "p" and toggleTag == true then
  8620. toggleTag = false
  8621. modet.TextTransparency = 1
  8622. modet.TextStrokeTransparency = 1
  8623. end
  8624. end)
  8625.  
  8626. local sunval = 0.01
  8627. coroutine.resume(coroutine.create(function()
  8628. while true do
  8629. for i = 0, 199 do
  8630. swait()
  8631. sunval = sunval + 0.00005
  8632. end
  8633. for i = 0, 199 do
  8634. swait()
  8635. sunval = sunval - 0.00005
  8636. end
  8637. end
  8638. end))
  8639. plr.Chatted:connect(function(message)
  8640. if ModeOfGlitch == 9 then
  8641. if message:sub(1,5) == "play/" then
  8642. OVMID = message:sub(6)
  8643. newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  8644. elseif message:sub(1,6) == "pitch/" then
  8645. OVMPIT = message:sub(7)
  8646. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  8647. elseif message:sub(1,4) == "vol/" then
  8648. OVMVOL = message:sub(5)
  8649. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  8650. elseif message:sub(1,7) == "skipto/" then
  8651. chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  8652. newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL)
  8653. elseif message:sub(1,9) == "telltime/" then
  8654. chatfunc("Current time pos: "..math.floor(kan.TimePosition).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  8655. end
  8656. end
  8657. end)
  8658. local rotperm = 0
  8659. coroutine.resume(coroutine.create(function()
  8660. while true do
  8661. swait()
  8662. 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
  8663. 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)
  8664. coroutine.resume(coroutine.create(function()
  8665. if ModeOfGlitch == 5000000000 then
  8666. 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)
  8667. end
  8668. end))
  8669. elseif ModeOfGlitch == 9 and kan.PlaybackLoudness >= 50 then
  8670. swait(25 - kan.PlaybackLoudness/80)
  8671. sphere2(4,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),0.25,0,0.25,MAINRUINCOLOR)
  8672. if kan.PlaybackLoudness >= 300 then
  8673. CameraEnshaking(1,3)
  8674. for i = 0, 4 do
  8675. 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)
  8676. end
  8677. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),0.5,0,0.5,MAINRUINCOLOR)
  8678. end
  8679. local notsp = Instance.new("Part", char)
  8680. notsp.CanCollide = false
  8681. notsp.FormFactor = 3
  8682. notsp.Name = "Ring"
  8683. notsp.Material = "Neon"
  8684. notsp.Size = Vector3.new(10, 1, 10)
  8685. if kan.PlaybackLoudness >= 300 then
  8686. notsp.Size = Vector3.new(25, 1, 25)
  8687. end
  8688. notsp.Transparency = 1
  8689. notsp.TopSurface = 0
  8690. notsp.BottomSurface = 0
  8691. notsp.Anchored = true
  8692. notsp.CFrame = root.CFrame*CFrame.new(0,-3,0)
  8693. coroutine.resume(coroutine.create(function()
  8694. local eff = Instance.new("ParticleEmitter",notsp)
  8695. eff.Texture = "rbxassetid://288898235"
  8696. eff.LightEmission = 0.5
  8697. eff.Color = ColorSequence.new(Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000))
  8698. eff.Rate = 300
  8699. eff.Lifetime = NumberRange.new(1)
  8700. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,0,0)})
  8701. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  8702. eff.Speed = NumberRange.new(20,40)
  8703. eff.Acceleration = vt(0,-75,0)
  8704. eff.Drag = 1
  8705. eff.Rotation = NumberRange.new(-10,10)
  8706. eff.VelocitySpread = 20
  8707. eff.RotSpeed = NumberRange.new(-1,1)
  8708. coroutine.resume(coroutine.create(function()
  8709. while true do
  8710. swait()
  8711. if eff.Parent ~= nil then
  8712. if ModeOfGlitch == 9 then
  8713. eff.Color = ColorSequence.new(Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000))
  8714. elseif ModeOfGlitch ~= 9 then
  8715. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8716. end
  8717. else
  8718. break
  8719. end
  8720. end
  8721. end))
  8722. wait(0.1)
  8723. eff.Enabled = false
  8724. end))
  8725. game:GetService("Debris"):AddItem(notsp, 5)
  8726. end
  8727. end
  8728. end))
  8729.  
  8730.  
  8731. Humanoid.Name = "GGLITCHER"
  8732. Humanoid.MaxHealth = math.huge
  8733. Humanoid.Health = math.huge
  8734. Instance.new("ForceField",char).Visible = false
  8735.  
  8736. idleanim=.4
  8737. while true do
  8738. Humanoid.MaxHealth = math.huge
  8739. Humanoid.Health = math.huge
  8740. if mutedtog == false and duringend == false then
  8741. kan.Volume = currentVol
  8742. elseif mutedtog == true and duringend == false then
  8743. kan.Volume = 0
  8744. end
  8745. if duringend == false then
  8746. kan.PlaybackSpeed = currentPitch
  8747. kan.Pitch = currentPitch
  8748. end
  8749. kan.SoundId = currentThemePlaying
  8750. kan.Looped = true
  8751. kan.Parent = char
  8752. kan:Resume()
  8753. modet.Rotation = - 5 * math.cos(sine / 32)
  8754. techc.Rotation = techc.Rotation + 1
  8755. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1
  8756. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1
  8757. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50
  8758. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25
  8759. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  8760. imgca.Rotation = imgca.Rotation + kan.PlaybackLoudness/50 + 1
  8761. bguis.Size = UDim2.new(15 + 1 * math.cos(sine / 30),0, 15 + 1 * math.cos(sine / 30),0)
  8762. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  8763. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  8764.  
  8765. swait()
  8766. if Anim ~= "Run" then
  8767. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8768. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8769. 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)
  8770. 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)
  8771. 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)
  8772. 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)
  8773. 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)
  8774. 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)
  8775. else
  8776. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8777. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8778. 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)
  8779. 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)
  8780. 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)
  8781. 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)
  8782. 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)
  8783. 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)
  8784. end
  8785. --------------- Visualiser Zone
  8786. if ModeOfGlitch == 9 then
  8787. modet.TextColor3 = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  8788. for i, v in pairs(mw2:GetChildren()) do
  8789. if v:IsA("Part") then
  8790. v.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  8791. v.Material = "Neon"
  8792. end
  8793. end
  8794. for i, v in pairs(mw1:GetChildren()) do
  8795. if v:IsA("Part") then
  8796. v.Transparency = 0
  8797. v.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  8798. v.Material = "Neon"
  8799. end
  8800. end
  8801. end
  8802. ---------------
  8803. sine = sine + change
  8804. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  8805. local velderp=RootPart.Velocity.y
  8806. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  8807. coroutine.resume(coroutine.create(function()
  8808. if ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 6000000000 or ModeOfGlitch == 2000000000 or ModeOfGlitch == 1000000000 or ModeOfGlitch == 5000000000 then
  8809. if hitfloor ~= nil then
  8810. if ModeOfGlitch ~= 1000000000 and ModeOfGlitch ~= 5000000000 then
  8811. 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"))
  8812. elseif ModeOfGlitch == 1000000000 then
  8813. 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"))
  8814. elseif ModeOfGlitch == 5000000000 then
  8815. 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"))
  8816. end
  8817. end
  8818. end
  8819. end))
  8820. if equipped==true or equipped==false then
  8821. if attack==false then
  8822. idle=idle+1
  8823. else
  8824. idle=0
  8825. end
  8826. if idle>=500 then
  8827. if attack==false then
  8828. --Sheath()
  8829. end
  8830. end
  8831. if RootPart.Velocity.y > 1 and hitfloor==nil then
  8832. Anim="Jump"
  8833. if attack==false then
  8834. 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)
  8835. 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)
  8836. 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)
  8837. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  8838. 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)
  8839. 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)
  8840. end
  8841. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  8842. Anim="Fall"
  8843. if attack==false then
  8844. 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)
  8845. 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)
  8846. 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)
  8847. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  8848. 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)
  8849. 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)
  8850. end
  8851. elseif torvel<1 and hitfloor~=nil then
  8852. Anim="Idle"
  8853. if attack==false then
  8854. if ModeOfGlitch == 1 then
  8855. 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)
  8856. 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)
  8857. 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)
  8858. 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)
  8859. 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)
  8860. 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)
  8861. elseif ModeOfGlitch == 2 then
  8862. 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)
  8863. 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)
  8864. 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)
  8865. 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)
  8866. 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)
  8867. 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)
  8868. elseif ModeOfGlitch == 3 then
  8869. 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)
  8870. 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)
  8871. 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)
  8872. 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)
  8873. 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)
  8874. 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)
  8875. elseif ModeOfGlitch == 4 then
  8876. 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)
  8877. 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)
  8878. 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)
  8879. 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)
  8880. 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)
  8881. 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)
  8882. elseif ModeOfGlitch == 5 then
  8883. 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)
  8884. 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)
  8885. 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)
  8886. 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)
  8887. 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)
  8888. 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)
  8889. elseif ModeOfGlitch == 6 then
  8890. 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)
  8891. 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)
  8892. 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)
  8893. 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)
  8894. 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)
  8895. 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)
  8896. elseif ModeOfGlitch == 7 then
  8897. 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)
  8898. 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)
  8899. 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)
  8900. 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)
  8901. 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)
  8902. 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)
  8903. elseif ModeOfGlitch == 8 or ModeOfGlitch == 1000000000 then
  8904. 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)
  8905. 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)
  8906. 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)
  8907. 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)
  8908. 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)
  8909. 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)
  8910. elseif ModeOfGlitch == 9 then
  8911. 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)
  8912. 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)
  8913. 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)
  8914. 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)
  8915. 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)
  8916. 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)
  8917. elseif ModeOfGlitch == 2000000000 then
  8918. 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)
  8919. 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)
  8920. 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)
  8921. 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)
  8922. 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)
  8923. 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)
  8924. elseif 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(2),math.rad(0),math.rad(-16 + 4 * math.cos(sine / 34))),.1)
  8926. 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)
  8927. 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)
  8928. 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)
  8929. 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)
  8930. 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)
  8931. elseif ModeOfGlitch == 6000000000 then
  8932. 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)
  8933. 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)
  8934. 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)
  8935. 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)
  8936. 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)
  8937. 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)
  8938. elseif ModeOfGlitch == 9600000000 then
  8939. 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)
  8940. 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)
  8941. 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)
  8942. 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)
  8943. 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)
  8944. 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)
  8945. end
  8946. end
  8947. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  8948. Anim="Walk"
  8949. if attack==false then
  8950. if ModeOfGlitch ~= 9600000000 then
  8951. 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)
  8952. 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)
  8953. 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)
  8954. 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)
  8955. 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)
  8956. 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)
  8957. elseif ModeOfGlitch == 9600000000 then
  8958. 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)
  8959. 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)
  8960. 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)
  8961. 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)
  8962. 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)
  8963. 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)
  8964. end
  8965. end
  8966. elseif torvel>=22 and hitfloor~=nil then
  8967. Anim="Run"
  8968. if attack==false then
  8969. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 1000000000 and ModeOfGlitch ~= 2000000000 and ModeOfGlitch ~= 6000000000 and ModeOfGlitch ~= 5000000000 then
  8970. 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)
  8971. 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)
  8972. 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)
  8973. 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)
  8974. 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)
  8975. 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)
  8976. if ModeOfGlitch == 7 or ModeOfGlitch == 9600000000 then
  8977. 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)
  8978. --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)
  8979. end
  8980. elseif ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 1000000000 or ModeOfGlitch == 2000000000 or ModeOfGlitch == 6000000000 or ModeOfGlitch == 5000000000 then
  8981. 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)
  8982. 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)
  8983. 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)
  8984. 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)
  8985. 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)
  8986. 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)
  8987. end
  8988. end
  8989. end
  8990. end
  8991. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement