Advertisement
ZaGodlyNoob

Hyperion Glitcher V2.2.3

Nov 3rd, 2018
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 335.52 KB | None | 0 0
  1. --DO NOT LEAK!
  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 = RhiBel00351
  7. local CAS = {Actions={}}
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10. Event.Parent = Player.Character
  11. local fakeEvent = function()
  12. local t = {_fakeEvent=true}
  13. t.Connect = function(self,f)self.Function=f end
  14. t.connect = t.Connect
  15. return t
  16. end
  17. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  18. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  19. function CAS:BindAction(name,fun,touch,...)
  20. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  21. end
  22. function CAS:UnbindAction(name)
  23. CAS.Actions[name] = nil
  24. end
  25. local function te(self,ev,...)
  26. local t = m[ev]
  27. if t and t._fakeEvent and t.Function then
  28. t.Function(...)
  29. end
  30. end
  31. m.TrigEvent = te
  32. UIS.TrigEvent = te
  33. Event.OnServerEvent:Connect(function(plr,io)
  34. if plr~=Player then return end
  35. if io.isMouse then
  36. m.Target = io.Target
  37. m.Hit = io.Hit
  38. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  39. if io.UserInputState == Enum.UserInputState.Begin then
  40. m:TrigEvent("Button1Down")
  41. else
  42. m:TrigEvent("Button1Up")
  43. end
  44. else
  45. for n,t in pairs(CAS.Actions) do
  46. for _,k in pairs(t.Keys) do
  47. if k==io.KeyCode then
  48. t.Function(t.Name,io.UserInputState,io)
  49. end
  50. end
  51. end
  52. if io.UserInputState == Enum.UserInputState.Begin then
  53. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  54. UIS:TrigEvent("InputBegan",io,false)
  55. else
  56. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  57. UIS:TrigEvent("InputEnded",io,false)
  58. end
  59. end
  60. end)
  61. NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63.  
  64. local Char = Player.Character
  65. local Event = Char:WaitForChild("UserInput_Event")
  66.  
  67. local UIS = game:GetService("UserInputService")
  68.  
  69. local input = function(io,a)
  70. if a then return end
  71. local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
  72. Event:FireServer(io)
  73. end
  74. UIS.InputBegan:Connect(input)
  75. UIS.InputEnded:Connect(input)
  76. local Changed = false
  77. local Mouse = Player:GetMouse()
  78. local h,t = Mouse.Hit,Mouse.Target
  79. while wait(1/30) do
  80. if h~=Mouse.Hit or t~=Mouse.Target then
  81. Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
  82. h,t=Mouse.Hit,Mouse.Target
  83. end
  84. end
  85. ]==],Player.Character)
  86. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  87. end
  88.  
  89.  
  90. wait(0.5)
  91.  
  92. warn([[Hyperion Glitcher Loaded.
  93. Hyperion has awoken once again.
  94. He's ready to kill those heroes again.
  95. Hyperion will take over the world!
  96.  
  97. Created, Reworked by NoobyGames12. Heavily edited by RhiBel00351.
  98. This ISN'T the regular Star Glitcher Rework.
  99. It's an edit of SGR.
  100. So if you want the regular, go find it yourself.
  101. ]])
  102.  
  103.  
  104. ------------- ORIGINAL WIELDER OC: Velnorum
  105. print([[Moves:
  106. > Stress Hyperion: Z, X
  107. > Frost Hyperion: Z, X
  108. > True Hyperion: J, K, Z, X, C, V, B, M
  109. > Divine Hyperion: Z
  110. > Murder Hyperion: Z
  111. > Destiny Hyperion: N/A MOVES
  112. > Calamity Hyperion: Z, X, C, V
  113. > Infestation Hyperion: Z
  114. > Omega Hyperion: Z, X
  115. > Evil Hyperion: Z, X, C, V
  116. ]])
  117. warn([[Update Log:
  118. N - ???
  119. Extra modes:
  120. > Stress Hyperion: N for Electroswing Hyperion
  121. > Frost Hyperion: N for Brightness Hyperion
  122. > True Hyperion: N for Insane Hyperion
  123. > Divine Hyperion: N for Fallen Hyperion
  124. > Destiny Hyperion: N for Omega Hyperion
  125. Note:
  126. Lots of hard work on this. I won't be making this again if this gets deleted.
  127. P.S Don't leak.]])
  128. --- its obs smooth af do not touch
  129. ---- Sources and functions might be taken from others
  130. plr = owner
  131. char = plr.Character
  132. hum = char.Humanoid
  133. local cam = game.Workspace.CurrentCamera
  134. Camera = cam
  135. local CamInterrupt = false
  136. local TwoD = false
  137. local TargetInfo = {nil, nil}
  138. cam.CameraType = "Custom"
  139. t = char.Torso
  140. h = char.Head
  141. ra = char["Right Arm"]
  142. la = char["Left Arm"]
  143. rl = char["Right Leg"]
  144. ll = char["Left Leg"]
  145. tors = char.Torso
  146. lleg = char["Left Leg"]
  147. root = char.HumanoidRootPart
  148. hed = char.Head
  149. rleg = char["Right Leg"]
  150. rarm = char["Right Arm"]
  151. larm = char["Left Arm"]
  152. radian = math.rad
  153. random = math.random
  154. Vec3 = Vector3.new
  155. Inst = Instance.new
  156. cFrame = CFrame.new
  157. Euler = CFrame.fromEulerAnglesXYZ
  158. vt = Vector3.new
  159. bc = BrickColor.new
  160. br = BrickColor.random
  161. it = Instance.new
  162. cf = CFrame.new
  163.  
  164. local Booleans = {
  165. CamFollow = true,
  166. GyroUse = true
  167. }
  168.  
  169. function lerp(object, newCFrame, alpha)
  170. return object:lerp(newCFrame, alpha)
  171. end
  172.  
  173. local Directer = Inst("BodyGyro", root)
  174. Directer.MaxTorque = Vec3(0, 0, 0)
  175. Directer.P = 600000
  176. local CPart = Inst("Part")
  177. CPart.Anchored = true
  178. CPart.CanCollide = false
  179. CPart.Locked = true
  180. CPart.Transparency = 1
  181.  
  182. local rainbowmode = false
  183. local chaosmode = false
  184.  
  185. local kan = Instance.new("Sound",char)
  186. kan.Volume = 1.25
  187. kan.TimePosition = 0
  188. kan.PlaybackSpeed = 1
  189. kan.Pitch = 1
  190. kan.SoundId = "rbxassetid://550578451"
  191. kan.Name = "wrecked"
  192. kan.Looped = true
  193. kan:Play()
  194.  
  195. local currentThemePlaying = kan.SoundId
  196. local currentPitch = kan.Pitch
  197. local currentVol = kan.Volume
  198. function newTheme(ID,timepos,pitch,vol)
  199. local kanz = kan
  200. --kanz:Stop()
  201. kanz.Volume = vol
  202. --kanz.TimePosition = timepos
  203. kanz.PlaybackSpeed = pitch
  204. kanz.Pitch = pitch
  205. kanz.SoundId = ID
  206. kanz.Name = "wrecked"
  207. kanz.Looped = true
  208. currentThemePlaying = kanz.SoundId
  209. currentVol = kanz.Volume
  210. currentPitch = kanz.Pitch
  211. --kanz:Play()
  212. --coroutine.resume(coroutine.create(function()
  213. --wait(0.05)
  214. --end))
  215. end
  216.  
  217.  
  218. function newThemeCust(ID,timepos,pitch,vol)
  219. local kanz = kan
  220. kanz:Stop()
  221. kanz.Volume = vol
  222. kanz.TimePosition = timepos
  223. kanz.PlaybackSpeed = pitch
  224. kanz.Pitch = pitch
  225. kanz.SoundId = ID
  226. kanz.Name = "wrecked"
  227. kanz.Looped = true
  228. currentThemePlaying = kanz.SoundId
  229. currentVol = kanz.Volume
  230. currentPitch = kanz.Pitch
  231. kanz:Play()
  232. coroutine.resume(coroutine.create(function()
  233. wait(0.05)
  234. end))
  235. end
  236.  
  237. local mutedtog = false
  238.  
  239. function CameraEnshaking(Length,Intensity)
  240. coroutine.resume(coroutine.create(function()
  241. local intensity = 1*Intensity
  242. local rotM = 0.01*Intensity
  243. for i = 0, Length, 0.1 do
  244. swait()
  245. intensity = intensity - 0.05*Intensity/Length
  246. rotM = rotM - 0.0005*Intensity/Length
  247. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  248. 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)
  249. end
  250. Humanoid.CameraOffset = Vec3(0, 0, 0)
  251. end))
  252. end
  253. CamShake=function(Part,Distan,Power,Times)
  254. local de=Part.Position
  255. for i,v in pairs(workspace:children()) do
  256. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  257. for _,c in pairs(v:children()) do
  258. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  259. local Noob=v.Humanoid
  260. if Noob~=nil then
  261. coroutine.resume(coroutine.create(function()
  262. FV = Instance.new("BoolValue", Noob)
  263. FV.Name = "CameraShake"
  264. for ShakeNum=1,Times do
  265. swait()
  266. local ef=Power
  267. if ef>=1 then
  268. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  269. else
  270. ef=Power*10
  271. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  272. end
  273. end
  274. Humanoid.CameraOffset = Vector3.new(0,0,0)
  275. FV:Destroy()
  276. end))
  277. CameraShake(Times, Power, Noob)
  278. end
  279. end
  280. end
  281. end
  282. end
  283. end
  284.  
  285. local toggleTag = true
  286. local bilguit = Instance.new("BillboardGui", hed)
  287. bilguit.Adornee = nil
  288. bilguit.Name = "ModeName"
  289. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  290. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  291. local modet = Instance.new("TextLabel", bilguit)
  292. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  293. modet.FontSize = "Size8"
  294. modet.TextScaled = true
  295. modet.TextTransparency = 0
  296. modet.BackgroundTransparency = 1
  297. modet.TextTransparency = 0
  298. modet.TextStrokeTransparency = 0
  299. modet.Font = "Antique"
  300. modet.TextStrokeColor3 = Color3.new(1,0,0)
  301. modet.TextColor3 = Color3.new(0.25,0,0)
  302. modet.Text = "STRESS HYPERION"
  303.  
  304.  
  305. function chatfunc(text,color,typet,font,timeex)
  306. local chat = coroutine.wrap(function()
  307. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  308. Character:FindFirstChild("TalkingBillBoard"):destroy()
  309. end
  310. local naeeym2 = Instance.new("BillboardGui",Character)
  311. naeeym2.Size = UDim2.new(0,100,0,40)
  312. naeeym2.StudsOffset = Vector3.new(0,3,0)
  313. naeeym2.Adornee = Character.Head
  314. naeeym2.Name = "TalkingBillBoard"
  315. local tecks2 = Instance.new("TextLabel",naeeym2)
  316. tecks2.BackgroundTransparency = 1
  317. tecks2.BorderSizePixel = 0
  318. tecks2.Text = ""
  319. tecks2.Font = font
  320. tecks2.TextSize = 30
  321. tecks2.TextStrokeTransparency = 0
  322. tecks2.TextColor3 = color
  323. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  324. tecks2.Size = UDim2.new(1,0,0.5,0)
  325. local tecks3 = Instance.new("TextLabel",naeeym2)
  326. tecks3.BackgroundTransparency = 1
  327. tecks3.BorderSizePixel = 0
  328. tecks3.Text = ""
  329. tecks3.Font = font
  330. tecks3.TextSize = 30
  331. tecks3.TextStrokeTransparency = 0
  332. if typet == "Inverted" then
  333. tecks3.TextColor3 = Color3.new(0,0,0)
  334. tecks3.TextStrokeColor3 = color
  335. elseif typet == "Normal" then
  336. tecks3.TextColor3 = color
  337. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  338. end
  339. tecks3.Size = UDim2.new(1,0,0.5,0)
  340. coroutine.resume(coroutine.create(function()
  341. while true do
  342. swait(1)
  343. if chaosmode == true then
  344. tecks2.TextColor3 = BrickColor.random().Color
  345. tecks3.TextStrokeColor3 = BrickColor.random().Color
  346. end
  347. end
  348. end))
  349. modet.TextTransparency = modet.TextTransparency + 1
  350. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  351. for i = 0, 74*timeex do
  352. swait()
  353. modet.TextTransparency = 1
  354. modet.TextStrokeTransparency = 1
  355. tecks2.Text = text
  356. tecks3.Text = text
  357. end
  358. local randomrot = math.random(1,2)
  359. if randomrot == 1 then
  360. for i = 1, 50 do
  361. swait()
  362. tecks2.Text = text
  363. tecks3.Text = text
  364. modet.TextTransparency = modet.TextTransparency - .02
  365. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  366. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  367. tecks2.TextTransparency = tecks2.TextTransparency + .04
  368. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  369. tecks3.TextTransparency = tecks2.TextTransparency + .04
  370. end
  371. elseif randomrot == 2 then
  372. for i = 1, 50 do
  373. swait()
  374. tecks2.Text = text
  375. tecks3.Text = text
  376. modet.TextTransparency = modet.TextTransparency - .02
  377. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  378. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  379. tecks2.TextTransparency = tecks2.TextTransparency + .04
  380. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  381. tecks3.TextTransparency = tecks2.TextTransparency + .04
  382. end
  383. end
  384. modet.TextTransparency = 0
  385. modet.TextStrokeTransparency = 0
  386. if toggleTag == false then
  387. modet.TextTransparency = 1
  388. modet.TextStrokeTransparency = 1
  389. end
  390. naeeym2:Destroy()
  391. end)
  392. chat()
  393. end
  394.  
  395. function bosschatfunc(text,color,watval)
  396. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  397. coroutine.resume(coroutine.create(function()
  398. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  399. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  400. end
  401. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  402. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  403. scrg.Name = "Dialog"
  404. local txtlb = Instance.new("TextLabel",scrg)
  405. txtlb.Text = ""
  406. txtlb.Font = "Bodoni"
  407. txtlb.TextColor3 = Color3.new(0,0,0)
  408. txtlb.TextStrokeTransparency = 0
  409. txtlb.BackgroundTransparency = 0.75
  410. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  411. txtlb.TextStrokeColor3 = color
  412. txtlb.TextScaled = true
  413. txtlb.Size = UDim2.new(1,0,0.25,0)
  414. txtlb.TextXAlignment = "Left"
  415. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  416. local txtlb2 = Instance.new("TextLabel",scrg)
  417. txtlb2.Text = "???:"
  418. txtlb2.Font = "Arcade"
  419. txtlb2.TextColor3 = Color3.new(0,0,0)
  420. txtlb2.TextStrokeTransparency = 0
  421. txtlb2.BackgroundTransparency = 1
  422. txtlb2.TextStrokeColor3 = color
  423. txtlb2.TextSize = 40
  424. txtlb2.Size = UDim2.new(1,0,0.25,0)
  425. txtlb2.TextXAlignment = "Left"
  426. txtlb2.Position = UDim2.new(0,0,1,0)
  427. local fvalen = 0.55
  428. local fval = -0.49
  429. coroutine.resume(coroutine.create(function()
  430. while true do
  431. swait()
  432. if chaosmode == true then
  433. txtlb.Rotation = math.random(-1,1)
  434. txtlb2.Rotation = math.random(-1,1)
  435. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  436. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  437. txtlb.TextStrokeColor3 = BrickColor.random().Color
  438. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  439. end
  440. end
  441. end))
  442. coroutine.resume(coroutine.create(function()
  443. while true do
  444. swait()
  445. if scrg.Parent ~= nil then
  446. fvalen = fvalen - 0.0001
  447. elseif scrg.Parent == nil then
  448. break
  449. end
  450. end
  451. end))
  452. local flol = 1.75
  453. local flil = 1.6
  454. coroutine.resume(coroutine.create(function()
  455. for i = 0, 9 do
  456. swait()
  457. fval = fval + 0.05
  458. flol = flol - 0.1
  459. flil = flil - 0.1
  460. txtlb.Text = ""
  461. txtlb.Position = UDim2.new(0,0,flol,0)
  462. txtlb2.Position = UDim2.new(0,0,flil,0)
  463. end
  464. txtlb.Text = text
  465. wait(watval)
  466. local valinc = 0
  467. for i = 0, 99 do
  468. swait()
  469. valinc = valinc + 0.0001
  470. flol = flol + valinc
  471. flil = flil + valinc
  472. txtlb.Rotation = txtlb.Rotation + valinc*20
  473. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  474. txtlb.Position = UDim2.new(0,0,flol,0)
  475. txtlb2.Position = UDim2.new(0,0,flil,0)
  476. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  477. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  478. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  479. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  480. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  481. end
  482. scrg:Destroy()
  483. end))
  484. end))
  485. end
  486. end
  487.  
  488.  
  489. local Create = LoadLibrary("RbxUtility").Create
  490.  
  491. CFuncs = {
  492. ["Part"] = {
  493. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  494. local Part = Create("Part"){
  495. Parent = Parent,
  496. Reflectance = Reflectance,
  497. Transparency = Transparency,
  498. CanCollide = false,
  499. Locked = true,
  500. BrickColor = BrickColor.new(tostring(BColor)),
  501. Name = Name,
  502. Size = Size,
  503. Material = Material,
  504. }
  505. RemoveOutlines(Part)
  506. return Part
  507. end;
  508. };
  509.  
  510. ["Mesh"] = {
  511. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  512. local Msh = Create(Mesh){
  513. Parent = Part,
  514. Offset = OffSet,
  515. Scale = Scale,
  516. }
  517. if Mesh == "SpecialMesh" then
  518. Msh.MeshType = MeshType
  519. Msh.MeshId = MeshId
  520. end
  521. return Msh
  522. end;
  523. };
  524.  
  525. ["Mesh"] = {
  526. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  527. local Msh = Create(Mesh){
  528. Parent = Part,
  529. Offset = OffSet,
  530. Scale = Scale,
  531. }
  532. if Mesh == "SpecialMesh" then
  533. Msh.MeshType = MeshType
  534. Msh.MeshId = MeshId
  535. end
  536. return Msh
  537. end;
  538. };
  539.  
  540. ["Weld"] = {
  541. Create = function(Parent, Part0, Part1, C0, C1)
  542. local Weld = Create("Weld"){
  543. Parent = Parent,
  544. Part0 = Part0,
  545. Part1 = Part1,
  546. C0 = C0,
  547. C1 = C1,
  548. }
  549. return Weld
  550. end;
  551. };
  552.  
  553. ["Sound"] = {
  554. Create = function(id, par, vol, pit)
  555. coroutine.resume(coroutine.create(function()
  556. local S = Create("Sound"){
  557. Volume = vol,
  558. Name = "EffectSoundo",
  559. Pitch = pit or 1,
  560. SoundId = id,
  561. Parent = par or workspace,
  562. }
  563. wait()
  564. S:play()
  565. game:GetService("Debris"):AddItem(S, 10)
  566. end))
  567. end;
  568. };
  569.  
  570. ["TimeSound"] = {
  571. Create = function(id, par, vol, pit, timepos)
  572. coroutine.resume(coroutine.create(function()
  573. local S = Create("Sound"){
  574. Volume = vol,
  575. Name = "EffectSoundo",
  576. Pitch = pit or 1,
  577. SoundId = id,
  578. TimePosition = timepos,
  579. Parent = par or workspace,
  580. }
  581. wait()
  582. S:play()
  583. game:GetService("Debris"):AddItem(S, 10)
  584. end))
  585. end;
  586. };
  587. ["EchoSound"] = {
  588. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  589. coroutine.resume(coroutine.create(function()
  590. local Sas = Create("Sound"){
  591. Volume = vol,
  592. Name = "EffectSoundo",
  593. Pitch = pit or 1,
  594. SoundId = id,
  595. TimePosition = timepos,
  596. Parent = par or workspace,
  597. }
  598. local E = Create("EchoSoundEffect"){
  599. Delay = echodelay,
  600. Name = "Echo",
  601. Feedback = fedb,
  602. DryLevel = dryl,
  603. Parent = Sas,
  604. }
  605. wait()
  606. Sas:play()
  607. game:GetService("Debris"):AddItem(Sas, delays)
  608. end))
  609. end;
  610. };
  611.  
  612. ["LongSound"] = {
  613. Create = function(id, par, vol, pit)
  614. coroutine.resume(coroutine.create(function()
  615. local S = Create("Sound"){
  616. Volume = vol,
  617. Pitch = pit or 1,
  618. SoundId = id,
  619. Parent = par or workspace,
  620. }
  621. wait()
  622. S:play()
  623. game:GetService("Debris"):AddItem(S, 60)
  624. end))
  625. end;
  626. };
  627.  
  628. ["ParticleEmitter"] = {
  629. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  630. local fp = Create("ParticleEmitter"){
  631. Parent = Parent,
  632. Color = ColorSequence.new(Color1, Color2),
  633. LightEmission = LightEmission,
  634. Size = Size,
  635. Texture = Texture,
  636. Transparency = Transparency,
  637. ZOffset = ZOffset,
  638. Acceleration = Accel,
  639. Drag = Drag,
  640. LockedToPart = LockedToPart,
  641. VelocityInheritance = VelocityInheritance,
  642. EmissionDirection = EmissionDirection,
  643. Enabled = Enabled,
  644. Lifetime = LifeTime,
  645. Rate = Rate,
  646. Rotation = Rotation,
  647. RotSpeed = RotSpeed,
  648. Speed = Speed,
  649. VelocitySpread = VelocitySpread,
  650. }
  651. return fp
  652. end;
  653. };
  654.  
  655. CreateTemplate = {
  656.  
  657. };
  658. }
  659.  
  660.  
  661.  
  662. New = function(Object, Parent, Name, Data)
  663. local Object = Instance.new(Object)
  664. for Index, Value in pairs(Data or {}) do
  665. Object[Index] = Value
  666. end
  667. Object.Parent = Parent
  668. Object.Name = Name
  669. return Object
  670. end
  671. local halocolor = BrickColor.new("Pastel light blue")
  672. local halocolor2 = BrickColor.new("Cool yellow")
  673. local starcolor = BrickColor.new("Bright yellow")
  674. local lunacolor = BrickColor.new("Navy blue")
  675. local lunacolor2 = BrickColor.new("Bright blue")
  676. local wepcolor = BrickColor.new("Really black")
  677. local maincolor = BrickColor.new("Really black")
  678. local m = Instance.new("Model",char)
  679. local m2 = Instance.new("Model",char)
  680. local m3 = Instance.new("Model",char)
  681. local mw1 = Instance.new("Model",char)
  682. local mw2 = Instance.new("Model",char)
  683.  
  684.  
  685. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  686. local gui = it(GuiType)
  687. gui.Parent = parent
  688. gui.Text = text
  689. gui.BackgroundTransparency = backtrans
  690. gui.BackgroundColor3 = backcol
  691. gui.SizeConstraint = "RelativeXY"
  692. gui.TextXAlignment = "Center"
  693. gui.TextYAlignment = "Center"
  694. gui.Position = pos
  695. gui.Size = size
  696. gui.Font = "SourceSans"
  697. gui.FontSize = "Size14"
  698. gui.TextWrapped = false
  699. gui.TextStrokeTransparency = 0
  700. gui.TextColor = BrickColor.new("White")
  701. return gui
  702. end
  703. --------------------------- GUI STUFF
  704. local basgui = it("GuiMain")
  705. basgui.Parent = plr.PlayerGui
  706. basgui.Name = "VISgui"
  707. local fullscreenz = it("Frame")
  708. fullscreenz.Parent = basgui
  709. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  710. fullscreenz.BackgroundTransparency = 1
  711. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  712. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  713. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  714. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  715. imgl2.BackgroundTransparency = 1
  716. imgl2.BorderSizePixel = 0
  717. imgl2.ImageTransparency = 0.5
  718. imgl2.ImageColor3 = Color3.new(1,0,0)
  719. imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
  720. imgl2.Size = UDim2.new(0,1000,0,1000)
  721. imgl2.Image = "rbxassetid://2325939897"
  722. local techc = imgl2:Clone()
  723. techc.Parent = fullscreenz
  724. techc.ImageTransparency = 0
  725. techc.Size = UDim2.new(0,900,0,900)
  726. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  727. techc.ImageColor3 = Color3.new(1,0,0)
  728. techc.Image = "rbxassetid://2273224484"
  729. local circl = imgl2:Clone()
  730. circl.Parent = fullscreenz
  731. circl.ImageTransparency = 0
  732. circl.Size = UDim2.new(0,550,0,550)
  733. circl.Position = UDim2.new(0.75,25,0.55,25)
  734. circl.ImageColor3 = Color3.new(0,0,0)
  735. circl.Image = "rbxassetid://2312119891"
  736. local circl2 = imgl2:Clone()
  737. circl2.Parent = fullscreenz
  738. circl2.ImageTransparency = 0
  739. circl2.Size = UDim2.new(0,700,0,700)
  740. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  741. circl2.ImageColor3 = Color3.new(1,0,0)
  742. circl2.Image = "rbxassetid://2312119891"
  743. local imgl2b = imgl2:Clone()
  744. imgl2b.Parent = fullscreenz
  745. imgl2b.ImageTransparency = 0
  746. imgl2b.Size = UDim2.new(0,800,0,800)
  747. imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
  748. imgl2b.ImageColor3 = Color3.new(0,0,0)
  749. local ned = Instance.new("TextLabel",fullscreenz)
  750. ned.ZIndex = 2
  751. ned.Font = "Arcade"
  752. ned.BackgroundTransparency = 1
  753. ned.BorderSizePixel = 0.65
  754. ned.Size = UDim2.new(0.3,0,0.2,0)
  755. ned.Position = UDim2.new(0.7,0,0.8,0)
  756. ned.TextColor3 = BrickColor.new("Really red").Color
  757. ned.TextStrokeColor3 = BrickColor.new("Really black").Color
  758. ned.TextScaled = true
  759. ned.TextStrokeTransparency = 0
  760. ned.Text = "STRESS HYPERION"
  761. ned.TextSize = 24
  762. ned.Rotation = 1
  763. ned.TextXAlignment = "Right"
  764. ned.TextYAlignment = "Bottom"
  765.  
  766. local extrawingmod1 = Instance.new("Model",char)
  767. local extrawingmod2 = Instance.new("Model",char)
  768.  
  769. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  770. local p = Instance.new("Part")
  771. p.TopSurface = 0
  772. p.BottomSurface = 0
  773. p.Parent = parent
  774. p.Size = Vector3.new(0.1,0.1,0.1)
  775. p.Transparency = transparency
  776. p.Reflectance = reflectance
  777. p.CanCollide = false
  778. p.Locked = true
  779. p.BrickColor = brickcolor
  780. p.Material = material
  781. return p
  782. end
  783.  
  784. function CreateMesh(parent,meshtype,x1,y1,z1)
  785. local mesh = Instance.new("SpecialMesh",parent)
  786. mesh.MeshType = meshtype
  787. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  788. return mesh
  789. end
  790.  
  791. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  792. local mesh = Instance.new("SpecialMesh",parent)
  793. mesh.MeshType = "FileMesh"
  794. mesh.MeshId = meshid
  795. mesh.Scale = Vector3.new(x1,y1,z1)
  796. return mesh
  797. end
  798.  
  799.  
  800. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  801. local mesh = Instance.new("SpecialMesh",parent)
  802. mesh.MeshType = "FileMesh"
  803. mesh.MeshId = meshid
  804. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  805. mesh.Scale = Vector3.new(x1,y1,z1)
  806. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  807. return mesh
  808. end
  809.  
  810. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  811. local weld = Instance.new("Weld")
  812. weld.Parent = parent
  813. weld.Part0 = part0
  814. weld.Part1 = part1
  815. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  816. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  817. return weld
  818. end
  819.  
  820.  
  821. --------------
  822. --------------
  823. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  824. 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))
  825. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  826. 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))
  827.  
  828. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  829. CreateMesh(handle,"Brick",0,0,0)
  830. 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))
  831. local valuaring = 10
  832. for i = 0, 49 do
  833. valuaring = valuaring + 10
  834. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  835. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  836. 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))
  837. end
  838.  
  839. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  840. CreateMesh(handle,"Brick",0,0,0)
  841. 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))
  842. local valuaring = 10
  843. for i = 0, 49 do
  844. valuaring = valuaring + 10
  845. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  846. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  847. 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))
  848. end
  849.  
  850.  
  851. local handle = CreateParta(m,1,1,"Neon",maincolor)
  852. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  853. 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))
  854.  
  855. --- Left wing.
  856.  
  857. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  858. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  859. 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))
  860.  
  861. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  862. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  863. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  864. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  865. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  866. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  867. A0 = Instance.new('Attachment',wed)
  868. A0.Position = vt(0,0.25,0.25)
  869. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  870. CreateMesh(wed,"Wedge",0.05,0.5,3)
  871. 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))
  872. A1 = Instance.new('Attachment',wed)
  873. A1.Position = vt(0,-0.25,-2)
  874. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  875. CreateMesh(wed,"Wedge",0.05,3,0.5)
  876. CreateWeld(wed,lwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  877.  
  878. tl1 = Instance.new('Trail',wed)
  879. tl1.Attachment0 = A1
  880. tl1.Attachment1 = A0
  881. tl1.Texture = "rbxassetid://2108945559"
  882. tl1.LightEmission = 1
  883. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  884. tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  885. tl1.Lifetime = 0.6
  886.  
  887.  
  888. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  889. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  890. 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))
  891.  
  892. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  893. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  894. 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))
  895. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  896. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  897. 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))
  898. A0 = Instance.new('Attachment',wed)
  899. A0.Position = vt(0,0.25,0.25)
  900. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  901. CreateMesh(wed,"Wedge",0.05,0.5,3)
  902. 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))
  903. A1 = Instance.new('Attachment',wed)
  904. A1.Position = vt(0,-0.25,-2)
  905. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  906. CreateMesh(wed,"Wedge",0.05,3,0.5)
  907. 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))
  908.  
  909. tl2 = Instance.new('Trail',wed)
  910. tl2.Attachment0 = A1
  911. tl2.Attachment1 = A0
  912. tl2.Texture = "rbxassetid://2108945559"
  913. tl2.LightEmission = 1
  914. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  915. tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  916. tl2.Lifetime = 0.6
  917.  
  918. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  919. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  920. 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))
  921.  
  922. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  923. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  924. 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))
  925. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  926. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  927. 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))
  928. A0 = Instance.new('Attachment',wed)
  929. A0.Position = vt(0,0.25,0.25)
  930. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  931. CreateMesh(wed,"Wedge",0.05,0.5,3)
  932. 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))
  933. A1 = Instance.new('Attachment',wed)
  934. A1.Position = vt(0,-0.25,-2)
  935. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  936. CreateMesh(wed,"Wedge",0.05,3,0.5)
  937. 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))
  938.  
  939. tl3 = Instance.new('Trail',wed)
  940. tl3.Attachment0 = A1
  941. tl3.Attachment1 = A0
  942. tl3.Texture = "rbxassetid://2108945559"
  943. tl3.LightEmission = 1
  944. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  945. tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  946. tl3.Lifetime = 0.6
  947.  
  948. tl1.Enabled = false
  949. tl2.Enabled = false
  950. tl3.Enabled = false
  951. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  952. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  953. 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))
  954.  
  955. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  956. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  957. 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))
  958. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  959. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  960. 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))
  961. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  962. CreateMesh(wed,"Wedge",0.05,0.5,3)
  963. 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))
  964. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  965. CreateMesh(wed,"Wedge",0.05,3,0.5)
  966. 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))
  967.  
  968. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  969. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  970. 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))
  971.  
  972. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  973. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  974. 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))
  975. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  976. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  977. 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))
  978. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  979. CreateMesh(wed,"Wedge",0.05,0.5,3)
  980. 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))
  981. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  982. CreateMesh(wed,"Wedge",0.05,3,0.5)
  983. 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))
  984.  
  985. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  986. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  987. 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))
  988.  
  989. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  990. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  991. 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))
  992. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  993. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  994. 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))
  995. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  996. CreateMesh(wed,"Wedge",0.05,0.5,3)
  997. 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))
  998. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  999. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1000. 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))
  1001.  
  1002. -- Right wing.
  1003.  
  1004. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1005. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1006. 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))
  1007.  
  1008. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1009. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1010. 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))
  1011. A0 = Instance.new('Attachment',wed)
  1012. A0.Position = vt(0,0.25,0.25)
  1013. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1014. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1015. 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))
  1016. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1017. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1018. 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))
  1019. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1020. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1021. 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))
  1022. A1 = Instance.new('Attachment',wed)
  1023. A1.Position = vt(0,2,0.25)
  1024.  
  1025. tr1 = Instance.new('Trail',wed)
  1026. tr1.Attachment0 = A1
  1027. tr1.Attachment1 = A0
  1028. tr1.Texture = "rbxassetid://2108945559"
  1029. tr1.LightEmission = 1
  1030. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1031. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1032. tr1.Lifetime = 0.6
  1033.  
  1034. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1035. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1036. 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))
  1037.  
  1038. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1039. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1040. 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))
  1041. A0 = Instance.new('Attachment',wed)
  1042. A0.Position = vt(0,0.25,0.25)
  1043. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1044. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1045. 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))
  1046. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1047. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1048. 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))
  1049. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1050. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1051. 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))
  1052. A1 = Instance.new('Attachment',wed)
  1053. A1.Position = vt(0,2,0.25)
  1054.  
  1055. tr2 = Instance.new('Trail',wed)
  1056. tr2.Attachment0 = A1
  1057. tr2.Attachment1 = A0
  1058. tr2.Texture = "rbxassetid://2108945559"
  1059. tr2.LightEmission = 1
  1060. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1061. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1062. tr2.Lifetime = 0.6
  1063.  
  1064. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1065. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1066. 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))
  1067.  
  1068. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1069. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1070. 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))
  1071. A0 = Instance.new('Attachment',wed)
  1072. A0.Position = vt(0,0.25,0.25)
  1073. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1074. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1075. 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))
  1076. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1077. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1078. 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))
  1079. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1080. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1081. 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))
  1082. A1 = Instance.new('Attachment',wed)
  1083. A1.Position = vt(0,2,0.25)
  1084.  
  1085. tr3 = Instance.new('Trail',wed)
  1086. tr3.Attachment0 = A1
  1087. tr3.Attachment1 = A0
  1088. tr3.Texture = "rbxassetid://2108945559"
  1089. tr3.LightEmission = 1
  1090. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1091. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1092. tr3.Lifetime = 0.6
  1093.  
  1094.  
  1095. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1096. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1097. 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))
  1098.  
  1099. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1100. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1101. 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))
  1102. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1103. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1104. 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))
  1105. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1106. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1107. 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))
  1108. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1109. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1110. 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))
  1111.  
  1112. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1113. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1114. 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))
  1115.  
  1116. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1117. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1118. 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))
  1119. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1120. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1121. 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))
  1122. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1123. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1124. 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))
  1125. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1126. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1127. 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))
  1128.  
  1129. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1130. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1131. 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))
  1132.  
  1133. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1134. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1135. 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))
  1136. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1137. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1138. 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))
  1139. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1140. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1141. 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))
  1142. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1143. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1144. 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))
  1145.  
  1146. ---- HERES THE RING
  1147.  
  1148.  
  1149. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1150. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1151. 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))
  1152. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1153. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1154. 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))
  1155. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1156. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1157. 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))
  1158.  
  1159.  
  1160. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1161. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1162. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1163.  
  1164. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1165. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1166. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1167.  
  1168.  
  1169.  
  1170. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1171. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1172. 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))
  1173.  
  1174. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1175. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1176. 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))
  1177.  
  1178. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1179. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1180. 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))
  1181.  
  1182. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1183. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1184. 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))
  1185. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1186. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1187. 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))
  1188.  
  1189. --- second ring
  1190.  
  1191. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1192. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1193. 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))
  1194. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1195. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1196. 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))
  1197. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1198. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1199. 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))
  1200.  
  1201. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1202. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1203. 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))
  1204.  
  1205. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1206. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1207. 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))
  1208.  
  1209.  
  1210.  
  1211. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1212. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1213. 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))
  1214.  
  1215. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1216. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1217. 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))
  1218.  
  1219. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1220. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1221. 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))
  1222.  
  1223. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1224. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1225. 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))
  1226. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1227. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1228. 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))]]--
  1229.  
  1230.  
  1231.  
  1232. for i, v in pairs(m:GetChildren()) do
  1233. if v:IsA("Part") then
  1234. v.BrickColor = BrickColor.new("Really black")
  1235. v.Material = "Glass"
  1236. end
  1237. end
  1238. for i, v in pairs(m2:GetChildren()) do
  1239. if v:IsA("Part") then
  1240. v.BrickColor = BrickColor.new("Crimson")
  1241. v.Material = "Granite"
  1242. end
  1243. end
  1244. for i, v in pairs(m3:GetChildren()) do
  1245. if v:IsA("Part") then
  1246. v.BrickColor = BrickColor.new("Really red")
  1247. v.Material = "Neon"
  1248. end
  1249. end
  1250. for i, v in pairs(mw2:GetChildren()) do
  1251. if v:IsA("Part") then
  1252. v.BrickColor = BrickColor.new("Really red")
  1253. v.Material = "Neon"
  1254. end
  1255. end
  1256. for i, v in pairs(mw1:GetChildren()) do
  1257. if v:IsA("Part") then
  1258. v.Transparency = 1
  1259. v.BrickColor = BrickColor.new("Really red")
  1260. v.Material = "Neon"
  1261. end
  1262. end
  1263. for i, v in pairs(extrawingmod1:GetChildren()) do
  1264. if v:IsA("Part") then
  1265. v.Transparency = 1
  1266. v.BrickColor = BrickColor.new("White")
  1267. v.Material = "Neon"
  1268. end
  1269. end
  1270. for i, v in pairs(extrawingmod2:GetChildren()) do
  1271. if v:IsA("Part") then
  1272. v.Transparency = 1
  1273. v.BrickColor = BrickColor.new("White")
  1274. v.Material = "Neon"
  1275. end
  1276. end
  1277. local MAINRUINCOLOR = BrickColor.new("Really red")
  1278. ------
  1279.  
  1280.  
  1281. function RemoveOutlines(part)
  1282. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1283. end
  1284. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1285. local Part = Create("Part")({
  1286. Parent = Parent,
  1287. Reflectance = Reflectance,
  1288. Transparency = Transparency,
  1289. CanCollide = false,
  1290. Locked = true,
  1291. BrickColor = BrickColor.new(tostring(BColor)),
  1292. Name = Name,
  1293. Size = Size,
  1294. Material = Material
  1295. })
  1296. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1297. RemoveOutlines(Part)
  1298. return Part
  1299. end
  1300. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1301. local Msh = Create(Mesh)({
  1302. Parent = Part,
  1303. Offset = OffSet,
  1304. Scale = Scale
  1305. })
  1306. if Mesh == "SpecialMesh" then
  1307. Msh.MeshType = MeshType
  1308. Msh.MeshId = MeshId
  1309. end
  1310. return Msh
  1311. end
  1312. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1313. local Weld = Create("Weld")({
  1314. Parent = Parent,
  1315. Part0 = Part0,
  1316. Part1 = Part1,
  1317. C0 = C0,
  1318. C1 = C1
  1319. })
  1320. return Weld
  1321. end
  1322.  
  1323. Character=Player.Character
  1324. PlayerGui=Player.PlayerGui
  1325. Backpack=Player.Backpack
  1326. Torso=Character.Torso
  1327. Head=Character.Head
  1328. Humanoid=Character.Humanoid
  1329. m=Instance.new('Model',Character)
  1330. LeftArm=Character["Left Arm"]
  1331. LeftLeg=Character["Left Leg"]
  1332. RightArm=Character["Right Arm"]
  1333. RightLeg=Character["Right Leg"]
  1334. LS=Torso["Left Shoulder"]
  1335. LH=Torso["Left Hip"]
  1336. RS=Torso["Right Shoulder"]
  1337. RH=Torso["Right Hip"]
  1338. Face = Head.face
  1339. Neck=Torso.Neck
  1340. it=Instance.new
  1341. attacktype=1
  1342. vt=Vector3.new
  1343. cf=CFrame.new
  1344. euler=CFrame.fromEulerAnglesXYZ
  1345. angles=CFrame.Angles
  1346. cloaked=false
  1347. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1348. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1349. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1350. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1351. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1352. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1353. RootPart=Character.HumanoidRootPart
  1354. RootJoint=RootPart.RootJoint
  1355. RootCF=euler(-1.57,0,3.14)
  1356. attack = false
  1357. attackdebounce = false
  1358. deb=false
  1359. equipped=true
  1360. hand=false
  1361. combo=0
  1362. mana=0
  1363. trispeed=.2
  1364. attackmode='none'
  1365. local idle=0
  1366. local Anim="Idle"
  1367. local Effects={}
  1368. local gun=false
  1369. local shoot=false
  1370. local sine = 0
  1371. local change = 1
  1372.  
  1373. function RecolorTextAndRename(name,col1,col2,font)
  1374. modet.TextStrokeColor3 = col2
  1375. modet.TextColor3 = col1
  1376. modet.Font = font
  1377. modet.Text = name
  1378. techc.ImageColor3 = col2
  1379. circl.ImageColor3 = col2
  1380. circl2.ImageColor3 = col1
  1381. imgl2.ImageColor3 = col1
  1382. imgl2b.ImageColor3 = col2
  1383. ned.Text = name
  1384. ned.TextColor3 = col1
  1385. ned.TextStrokeColor3 = col2
  1386. end
  1387. --save shoulders
  1388. RSH, LSH=nil, nil
  1389. --welds
  1390. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1391. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1392. LH=Torso["Left Hip"]
  1393. RH=Torso["Right Hip"]
  1394. TorsoColor=Torso.BrickColor
  1395. function NoOutline(Part)
  1396. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1397. end
  1398. ch=Character
  1399. RSH=ch.Torso["Right Shoulder"]
  1400. LSH=ch.Torso["Left Shoulder"]
  1401. --
  1402. RSH.Parent=nil
  1403. LSH.Parent=nil
  1404. --
  1405. RW.Name="Right Shoulder"
  1406. RW.Part0=ch.Torso
  1407. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1408. RW.C1=cf(0, 0.5, 0)
  1409. RW.Part1=ch["Right Arm"]
  1410. RW.Parent=ch.Torso
  1411. --
  1412. LW.Name="Left Shoulder"
  1413. LW.Part0=ch.Torso
  1414. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1415. LW.C1=cf(0, 0.5, 0)
  1416. LW.Part1=ch["Left Arm"]
  1417. LW.Parent=ch.Torso
  1418.  
  1419. local Stats=Instance.new("BoolValue")
  1420. Stats.Name="Stats"
  1421. Stats.Parent=Character
  1422. local Atk=Instance.new("NumberValue")
  1423. Atk.Name="Damage"
  1424. Atk.Parent=Stats
  1425. Atk.Value=1
  1426. local Def=Instance.new("NumberValue")
  1427. Def.Name="Defense"
  1428. Def.Parent=Stats
  1429. Def.Value=1
  1430. local Speed=Instance.new("NumberValue")
  1431. Speed.Name="Speed"
  1432. Speed.Parent=Stats
  1433. Speed.Value=1
  1434. local Mvmt=Instance.new("NumberValue")
  1435. Mvmt.Name="Movement"
  1436. Mvmt.Parent=Stats
  1437. Mvmt.Value=1
  1438.  
  1439. local donum=0
  1440.  
  1441.  
  1442. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1443. local fp=it("Part")
  1444. fp.formFactor=formfactor
  1445. fp.Parent=parent
  1446. fp.Reflectance=reflectance
  1447. fp.Transparency=transparency
  1448. fp.CanCollide=false
  1449. fp.Locked=true
  1450. fp.BrickColor=brickcolor
  1451. fp.Name=name
  1452. fp.Size=size
  1453. fp.Position=Torso.Position
  1454. NoOutline(fp)
  1455. fp.Material="SmoothPlastic"
  1456. fp:BreakJoints()
  1457. return fp
  1458. end
  1459.  
  1460. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1461. local mesh=it(Mesh)
  1462. mesh.Parent=part
  1463. if Mesh=="SpecialMesh" then
  1464. mesh.MeshType=meshtype
  1465. if meshid~="nil" then
  1466. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1467. end
  1468. end
  1469. mesh.Offset=offset
  1470. mesh.Scale=scale
  1471. return mesh
  1472. end
  1473.  
  1474. function weld(parent,part0,part1,c0)
  1475. local weld=it("Weld")
  1476. weld.Parent=parent
  1477. weld.Part0=part0
  1478. weld.Part1=part1
  1479. weld.C0=c0
  1480. return weld
  1481. end
  1482.  
  1483. local Color1=Torso.BrickColor
  1484.  
  1485. local bodvel=Instance.new("BodyVelocity")
  1486. local bg=Instance.new("BodyGyro")
  1487.  
  1488. --------- SazEreno's Artificial HB --------------
  1489. ArtificialHB = Instance.new("BindableEvent", script)
  1490. ArtificialHB.Name = "ArtificialHB"
  1491.  
  1492. script:WaitForChild("ArtificialHB")
  1493. Frame_Speed = 1 / 60
  1494. frame = Frame_Speed
  1495. tf = 0
  1496. allowframeloss = false
  1497. tossremainder = false
  1498. lastframe = tick()
  1499. script.ArtificialHB:Fire()
  1500.  
  1501. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1502. tf = tf + s
  1503. if tf >= frame then
  1504. if allowframeloss then
  1505. script.ArtificialHB:Fire()
  1506. lastframe = tick()
  1507. else
  1508. for i = 1, math.floor(tf / frame) do
  1509. script.ArtificialHB:Fire()
  1510. end
  1511. lastframe = tick()
  1512. end
  1513. if tossremainder then
  1514. tf = 0
  1515. else
  1516. tf = tf - frame * math.floor(tf / frame)
  1517. end
  1518. end
  1519. end)
  1520.  
  1521. ------------------
  1522. function swait(num)
  1523. function swait(num)
  1524. if num==0 or num==nil then
  1525. game:service'RunService'.Stepped:wait(0)
  1526. else
  1527. for i=0,num do
  1528. game:service'RunService'.Stepped:wait(0)
  1529. end
  1530. end
  1531. end
  1532. end
  1533.  
  1534. -------- RAINBOW LEAVE IT TO ME
  1535. local r = 255
  1536. local g = 0
  1537. local b = 0
  1538. coroutine.resume(coroutine.create(function()
  1539. while wait() do
  1540. for i = 0, 254/5 do
  1541. swait()
  1542. g = g + 5
  1543. end
  1544. for i = 0, 254/5 do
  1545. swait()
  1546. r = r - 5
  1547. end
  1548. for i = 0, 254/5 do
  1549. swait()
  1550. b = b + 5
  1551. end
  1552. for i = 0, 254/5 do
  1553. swait()
  1554. g = g - 5
  1555. end
  1556. for i = 0, 254/5 do
  1557. swait()
  1558. r = r + 5
  1559. end
  1560. for i = 0, 254/5 do
  1561. swait()
  1562. b = b - 5
  1563. end
  1564. end
  1565. end))
  1566.  
  1567.  
  1568. so = function(id,par,vol,pit)
  1569. coroutine.resume(coroutine.create(function()
  1570. local sou = Instance.new("Sound",par or workspace)
  1571. sou.Volume=vol
  1572. sou.Pitch=pit or 1
  1573. sou.SoundId=id
  1574. swait()
  1575. sou:play()
  1576. game:GetService("Debris"):AddItem(sou,6)
  1577. end))
  1578. end
  1579.  
  1580. function clerp(a,b,t)
  1581. local qa = {QuaternionFromCFrame(a)}
  1582. local qb = {QuaternionFromCFrame(b)}
  1583. local ax, ay, az = a.x, a.y, a.z
  1584. local bx, by, bz = b.x, b.y, b.z
  1585. local _t = 1-t
  1586. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1587. end
  1588.  
  1589. function QuaternionFromCFrame(cf)
  1590. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1591. local trace = m00 + m11 + m22
  1592. if trace > 0 then
  1593. local s = math.sqrt(1 + trace)
  1594. local recip = 0.5/s
  1595. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1596. else
  1597. local i = 0
  1598. if m11 > m00 then
  1599. i = 1
  1600. end
  1601. if m22 > (i == 0 and m00 or m11) then
  1602. i = 2
  1603. end
  1604. if i == 0 then
  1605. local s = math.sqrt(m00-m11-m22+1)
  1606. local recip = 0.5/s
  1607. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1608. elseif i == 1 then
  1609. local s = math.sqrt(m11-m22-m00+1)
  1610. local recip = 0.5/s
  1611. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1612. elseif i == 2 then
  1613. local s = math.sqrt(m22-m00-m11+1)
  1614. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1615. end
  1616. end
  1617. end
  1618.  
  1619. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1620. local xs, ys, zs = x + x, y + y, z + z
  1621. local wx, wy, wz = w*xs, w*ys, w*zs
  1622. local xx = x*xs
  1623. local xy = x*ys
  1624. local xz = x*zs
  1625. local yy = y*ys
  1626. local yz = y*zs
  1627. local zz = z*zs
  1628. 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))
  1629. end
  1630.  
  1631. function QuaternionSlerp(a, b, t)
  1632. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1633. local startInterp, finishInterp;
  1634. if cosTheta >= 0.0001 then
  1635. if (1 - cosTheta) > 0.0001 then
  1636. local theta = math.acos(cosTheta)
  1637. local invSinTheta = 1/math.sin(theta)
  1638. startInterp = math.sin((1-t)*theta)*invSinTheta
  1639. finishInterp = math.sin(t*theta)*invSinTheta
  1640. else
  1641. startInterp = 1-t
  1642. finishInterp = t
  1643. end
  1644. else
  1645. if (1+cosTheta) > 0.0001 then
  1646. local theta = math.acos(-cosTheta)
  1647. local invSinTheta = 1/math.sin(theta)
  1648. startInterp = math.sin((t-1)*theta)*invSinTheta
  1649. finishInterp = math.sin(t*theta)*invSinTheta
  1650. else
  1651. startInterp = t-1
  1652. finishInterp = t
  1653. end
  1654. end
  1655. 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
  1656. end
  1657.  
  1658. local function CFrameFromTopBack(at, top, back)
  1659. local right = top:Cross(back)
  1660. return CFrame.new(at.x, at.y, at.z,
  1661. right.x, top.x, back.x,
  1662. right.y, top.y, back.y,
  1663. right.z, top.z, back.z)
  1664. end
  1665.  
  1666. function Triangle(a, b, c)
  1667. local edg1 = (c-a):Dot((b-a).unit)
  1668. local edg2 = (a-b):Dot((c-b).unit)
  1669. local edg3 = (b-c):Dot((a-c).unit)
  1670. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1671. a, b, c = a, b, c
  1672. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1673. a, b, c = b, c, a
  1674. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1675. a, b, c = c, a, b
  1676. else
  1677. assert(false, "unreachable")
  1678. end
  1679.  
  1680. local len1 = (c-a):Dot((b-a).unit)
  1681. local len2 = (b-a).magnitude - len1
  1682. local width = (a + (b-a).unit*len1 - c).magnitude
  1683.  
  1684. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1685.  
  1686. local list = {}
  1687.  
  1688. if len1 > 0.01 then
  1689. local w1 = Instance.new('WedgePart', m)
  1690. game:GetService("Debris"):AddItem(w1,5)
  1691. w1.Material = "SmoothPlastic"
  1692. w1.FormFactor = 'Custom'
  1693. w1.BrickColor = BrickColor.new("Really red")
  1694. w1.Transparency = 0
  1695. w1.Reflectance = 0
  1696. w1.Material = "SmoothPlastic"
  1697. w1.CanCollide = false
  1698. local l1 = Instance.new("PointLight",w1)
  1699. l1.Color = Color3.new(170,0,0)
  1700. NoOutline(w1)
  1701. local sz = Vector3.new(0.2, width, len1)
  1702. w1.Size = sz
  1703. local sp = Instance.new("SpecialMesh",w1)
  1704. sp.MeshType = "Wedge"
  1705. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1706. w1:BreakJoints()
  1707. w1.Anchored = true
  1708. w1.Parent = workspace
  1709. w1.Transparency = 0.7
  1710. table.insert(Effects,{w1,"Disappear",.01})
  1711. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1712. table.insert(list,w1)
  1713. end
  1714.  
  1715. if len2 > 0.01 then
  1716. local w2 = Instance.new('WedgePart', m)
  1717. game:GetService("Debris"):AddItem(w2,5)
  1718. w2.Material = "SmoothPlastic"
  1719. w2.FormFactor = 'Custom'
  1720. w2.BrickColor = BrickColor.new("Really red")
  1721. w2.Transparency = 0
  1722. w2.Reflectance = 0
  1723. w2.Material = "SmoothPlastic"
  1724. w2.CanCollide = false
  1725. local l2 = Instance.new("PointLight",w2)
  1726. l2.Color = Color3.new(170,0,0)
  1727. NoOutline(w2)
  1728. local sz = Vector3.new(0.2, width, len2)
  1729. w2.Size = sz
  1730. local sp = Instance.new("SpecialMesh",w2)
  1731. sp.MeshType = "Wedge"
  1732. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1733. w2:BreakJoints()
  1734. w2.Anchored = true
  1735. w2.Parent = workspace
  1736. w2.Transparency = 0.7
  1737. table.insert(Effects,{w2,"Disappear",.01})
  1738. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1739. table.insert(list,w2)
  1740. end
  1741. return unpack(list)
  1742. end
  1743.  
  1744.  
  1745. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1746. if hit.Parent == nil then
  1747. return
  1748. end
  1749. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1750. for _, v in pairs(hit.Parent:children()) do
  1751. if v:IsA("Humanoid") then
  1752. h = v
  1753. end
  1754. end
  1755. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1756. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1757. return
  1758. end
  1759. local c = Create("ObjectValue")({
  1760. Name = "creator",
  1761. Value = game:GetService("Players").LocalPlayer,
  1762. Parent = h
  1763. })
  1764. game:GetService("Debris"):AddItem(c, 0.5)
  1765. if HitSound ~= nil and HitPitch ~= nil then
  1766. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1767. end
  1768. local Damage = math.random(minim, maxim)
  1769. local blocked = false
  1770. local block = hit.Parent:findFirstChild("Block")
  1771. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1772. blocked = true
  1773. block.Value = block.Value - 1
  1774. print(block.Value)
  1775. end
  1776. if blocked == false then
  1777. HitHealth = h.Health
  1778. h.MaxHealth = 100
  1779. h.Health = h.Health - Damage
  1780. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1781. print("gained kill")
  1782. dmg(h.Parent)
  1783. end
  1784. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1785. else
  1786. h.Health = h.Health - Damage / 2
  1787. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1788. end
  1789. if Type == "Knockdown" then
  1790. local hum = hit.Parent.Humanoid
  1791. hum.PlatformStand = true
  1792. coroutine.resume(coroutine.create(function(HHumanoid)
  1793. swait(1)
  1794. HHumanoid.PlatformStand = false
  1795. end), hum)
  1796. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1797. local bodvol = Create("BodyVelocity")({
  1798. velocity = angle * knockback,
  1799. P = 5000,
  1800. maxForce = Vector3.new(8000, 8000, 8000),
  1801. Parent = hit
  1802. })
  1803. local rl = Create("BodyAngularVelocity")({
  1804. P = 3000,
  1805. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1806. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1807. Parent = hit
  1808. })
  1809. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1810. game:GetService("Debris"):AddItem(rl, 0.5)
  1811. elseif Type == "Normal" then
  1812. local vp = Create("BodyVelocity")({
  1813. P = 500,
  1814. maxForce = Vector3.new(math.huge, 0, math.huge),
  1815. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1816. })
  1817. if knockback > 0 then
  1818. vp.Parent = hit.Parent.Head
  1819. end
  1820. game:GetService("Debris"):AddItem(vp, 0.5)
  1821. elseif Type == "Up" then
  1822. local bodyVelocity = Create("BodyVelocity")({
  1823. velocity = Vector3.new(0, 20, 0),
  1824. P = 5000,
  1825. maxForce = Vector3.new(8000, 8000, 8000),
  1826. Parent = hit
  1827. })
  1828. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1829. local bodyVelocity = Create("BodyVelocity")({
  1830. velocity = Vector3.new(0, 20, 0),
  1831. P = 5000,
  1832. maxForce = Vector3.new(8000, 8000, 8000),
  1833. Parent = hit
  1834. })
  1835. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1836. elseif Type == "Leech" then
  1837. local hum = hit.Parent.Humanoid
  1838. if hum ~= nil then
  1839. for i = 0, 2 do
  1840. 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)
  1841. end
  1842. Humanoid.Health = Humanoid.Health + 10
  1843. end
  1844. elseif Type == "UpKnock" then
  1845. local hum = hit.Parent.Humanoid
  1846. hum.PlatformStand = true
  1847. if hum ~= nil then
  1848. hitr = true
  1849. end
  1850. coroutine.resume(coroutine.create(function(HHumanoid)
  1851. swait(5)
  1852. HHumanoid.PlatformStand = false
  1853. hitr = false
  1854. end), hum)
  1855. local bodyVelocity = Create("BodyVelocity")({
  1856. velocity = Vector3.new(0, 20, 0),
  1857. P = 5000,
  1858. maxForce = Vector3.new(8000, 8000, 8000),
  1859. Parent = hit
  1860. })
  1861. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1862. local bodyVelocity = Create("BodyVelocity")({
  1863. velocity = Vector3.new(0, 20, 0),
  1864. P = 5000,
  1865. maxForce = Vector3.new(8000, 8000, 8000),
  1866. Parent = hit
  1867. })
  1868. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1869. elseif Type == "Snare" then
  1870. local bp = Create("BodyPosition")({
  1871. P = 2000,
  1872. D = 100,
  1873. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1874. position = hit.Parent.Torso.Position,
  1875. Parent = hit.Parent.Torso
  1876. })
  1877. game:GetService("Debris"):AddItem(bp, 1)
  1878. elseif Type == "Slashnare" then
  1879. 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)
  1880. for i = 1, math.random(4, 5) do
  1881. 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)
  1882. end
  1883. local bp = Create("BodyPosition")({
  1884. P = 2000,
  1885. D = 100,
  1886. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1887. position = hit.Parent.Torso.Position,
  1888. Parent = hit.Parent.Torso
  1889. })
  1890. game:GetService("Debris"):AddItem(bp, 1)
  1891. elseif Type == "Spike" then
  1892. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1893. local bp = Create("BodyPosition")({
  1894. P = 2000,
  1895. D = 100,
  1896. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1897. position = hit.Parent.Torso.Position,
  1898. Parent = hit.Parent.Torso
  1899. })
  1900. game:GetService("Debris"):AddItem(bp, 1)
  1901. elseif Type == "Freeze" then
  1902. local BodPos = Create("BodyPosition")({
  1903. P = 50000,
  1904. D = 1000,
  1905. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1906. position = hit.Parent.Torso.Position,
  1907. Parent = hit.Parent.Torso
  1908. })
  1909. local BodGy = Create("BodyGyro")({
  1910. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1911. P = 20000,
  1912. Parent = hit.Parent.Torso,
  1913. cframe = hit.Parent.Torso.CFrame
  1914. })
  1915. hit.Parent.Torso.Anchored = true
  1916. coroutine.resume(coroutine.create(function(Part)
  1917. swait(1.5)
  1918. Part.Anchored = false
  1919. end), hit.Parent.Torso)
  1920. game:GetService("Debris"):AddItem(BodPos, 3)
  1921. game:GetService("Debris"):AddItem(BodGy, 3)
  1922. end
  1923. local debounce = Create("BoolValue")({
  1924. Name = "DebounceHit",
  1925. Parent = hit.Parent,
  1926. Value = true
  1927. })
  1928. game:GetService("Debris"):AddItem(debounce, Delay)
  1929. c = Instance.new("ObjectValue")
  1930. c.Name = "creator"
  1931. c.Value = Player
  1932. c.Parent = h
  1933. game:GetService("Debris"):AddItem(c, 0.5)
  1934. end
  1935. end
  1936. function ShowDamage(Pos, Text, Time, Color)
  1937. local Rate = 0.03333333333333333
  1938. local Pos = Pos or Vector3.new(0, 0, 0)
  1939. local Text = Text or ""
  1940. local Time = Time or 2
  1941. local Color = Color or Color3.new(1, 0, 1)
  1942. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1943. EffectPart.Anchored = true
  1944. local BillboardGui = Create("BillboardGui")({
  1945. Size = UDim2.new(3, 0, 3, 0),
  1946. Adornee = EffectPart,
  1947. Parent = EffectPart
  1948. })
  1949. local TextLabel = Create("TextLabel")({
  1950. BackgroundTransparency = 1,
  1951. Size = UDim2.new(1, 0, 1, 0),
  1952. Text = Text,
  1953. TextColor3 = Color,
  1954. TextScaled = true,
  1955. Font = Enum.Font.ArialBold,
  1956. Parent = BillboardGui
  1957. })
  1958. game.Debris:AddItem(EffectPart, Time + 0.1)
  1959. EffectPart.Parent = game:GetService("Workspace")
  1960. delay(0, function()
  1961. local Frames = Time / Rate
  1962. for Frame = 1, Frames do
  1963. wait(Rate)
  1964. local Percent = Frame / Frames
  1965. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1966. TextLabel.TextTransparency = Percent
  1967. end
  1968. if EffectPart and EffectPart.Parent then
  1969. EffectPart:Destroy()
  1970. end
  1971. end)
  1972. end
  1973. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1974. for _, c in pairs(workspace:children()) do
  1975. local hum = c:findFirstChildOfClass("Humanoid")
  1976. if hum ~= nil then
  1977. local head = c:findFirstChild("Head")
  1978. if head ~= nil then
  1979. local targ = head.Position - Part.Position
  1980. local mag = targ.magnitude
  1981. if magni >= mag and c.Name ~= Player.Name then
  1982. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1983. end
  1984. end
  1985. end
  1986. end
  1987. end
  1988.  
  1989. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1990. for _, c in pairs(workspace:children()) do
  1991. local hum = c:findFirstChild("Humanoid")
  1992. if hum ~= nil then
  1993. local head = c:findFirstChild("Torso")
  1994. if head ~= nil then
  1995. local targ = head.Position - Part.Position
  1996. local mag = targ.magnitude
  1997. if magni >= mag and c.Name ~= Player.Name then
  1998. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  1999. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2000. end
  2001. end
  2002. end
  2003. end
  2004. end
  2005.  
  2006. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2007. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2008. end
  2009.  
  2010. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2011. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2012. prt.Anchored=true
  2013. prt.CFrame=cframe
  2014. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2015. --http://www.roblox.com/asset/?id=4770560
  2016. game:GetService("Debris"):AddItem(prt,2)
  2017. CF=prt.CFrame
  2018. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2019. for i=0,1,0.2 do
  2020. wait()
  2021. Part.CFrame=CF*cf(0,0,-0.4)
  2022. end
  2023. for i=0,1,delay do
  2024. wait()
  2025. --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)
  2026. Mesh.Scale=Mesh.Scale
  2027. end
  2028. for i=0,1,0.1 do
  2029. wait()
  2030. Part.Transparency=i
  2031. end
  2032. Part.Parent=nil
  2033. end),prt,msh,CF)
  2034. end
  2035.  
  2036. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2037. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2038. prt.Anchored=true
  2039. prt.Material = "Neon"
  2040. prt.CFrame=cframe
  2041. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2042. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2043. game:GetService("Debris"):AddItem(prt,5)
  2044. coroutine.resume(coroutine.create(function(Part,Mesh)
  2045. for i=0,1,delay do
  2046. swait()
  2047. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2048. Part.Transparency=i
  2049. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2050. end
  2051. Part.Parent=nil
  2052. end),prt,msh)
  2053. end
  2054.  
  2055. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2056. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2057. prt.Anchored=true
  2058. prt.Material = "Neon"
  2059. prt.CFrame=cframe
  2060. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2061. game:GetService("Debris"):AddItem(prt,5)
  2062. coroutine.resume(coroutine.create(function(Part,Mesh)
  2063. local rtype = rottype
  2064. for i=0,1,delay do
  2065. swait()
  2066. if rtype == 1 then
  2067. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2068. elseif rtype == 2 then
  2069. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2070. end
  2071. Part.Transparency=i
  2072. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2073. end
  2074. Part.Parent=nil
  2075. end),prt,msh)
  2076. end
  2077.  
  2078. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2079. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2080. prt.Anchored=true
  2081. prt.CFrame=cframe
  2082. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2083. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2084. game:GetService("Debris"):AddItem(prt,5)
  2085. coroutine.resume(coroutine.create(function(Part,Mesh)
  2086. for i=0,1,delay do
  2087. wait()
  2088. Part.Transparency=i
  2089. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2090. end
  2091. Part.Parent=nil
  2092. end),prt,msh)
  2093. end
  2094.  
  2095. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2096. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2097. prt.Anchored=true
  2098. prt.Material = "Neon"
  2099. prt.CFrame=cframe
  2100. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2101. game:GetService("Debris"):AddItem(prt,5)
  2102. coroutine.resume(coroutine.create(function(Part,Mesh)
  2103. local rtype = rottype
  2104. for i=0,1,delay do
  2105. swait()
  2106. if rtype == 1 then
  2107. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2108. elseif rtype == 2 then
  2109. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2110. end
  2111. Part.Transparency=i
  2112. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2113. end
  2114. Part.Parent=nil
  2115. end),prt,msh)
  2116. end
  2117.  
  2118. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2119. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2120. prt.Anchored=true
  2121. prt.Material = "Neon"
  2122. prt.CFrame=cframe
  2123. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2124. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2125. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2126. game:GetService("Debris"):AddItem(prt,5)
  2127. coroutine.resume(coroutine.create(function(Part,Mesh)
  2128. local rtype = rottype
  2129. for i=0,1,delay do
  2130. swait()
  2131. if rtype == 1 then
  2132. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2133. elseif rtype == 2 then
  2134. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2135. end
  2136. dec.Transparency=i
  2137. dec2.Transparency=i
  2138. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2139. end
  2140. Part.Parent=nil
  2141. end),prt,msh)
  2142. end
  2143.  
  2144. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2145. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2146. prt.Anchored=true
  2147. prt.Material = "Neon"
  2148. prt.CFrame=cframe
  2149. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2150. game:GetService("Debris"):AddItem(prt,5)
  2151. coroutine.resume(coroutine.create(function(Part,Mesh)
  2152. local rtype = rottype
  2153. for i=0,1,delay do
  2154. swait()
  2155. if rtype == 1 then
  2156. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2157. elseif rtype == 2 then
  2158. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2159. end
  2160. prt.Transparency=i
  2161. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2162. end
  2163. Part.Parent=nil
  2164. end),prt,msh)
  2165. end
  2166.  
  2167. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2168. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2169. prt.Anchored=true
  2170. prt.Material = "Neon"
  2171. prt.CFrame=cframe
  2172. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2173. game:GetService("Debris"):AddItem(prt,5)
  2174. coroutine.resume(coroutine.create(function(Part,Mesh)
  2175. local rtype = rottype
  2176. for i=0,1,delay do
  2177. swait()
  2178. if rtype == 1 then
  2179. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2180. elseif rtype == 2 then
  2181. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2182. end
  2183. prt.Transparency=i
  2184. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2185. end
  2186. Part.Parent=nil
  2187. end),prt,msh)
  2188. end
  2189.  
  2190. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2191. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2192. prt.Anchored=true
  2193. prt.Material = "Neon"
  2194. prt.CFrame=cframe
  2195. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2196. game:GetService("Debris"):AddItem(prt,5)
  2197. coroutine.resume(coroutine.create(function(Part,Mesh)
  2198. local rtype = rottype
  2199. for i=0,1,delay do
  2200. swait()
  2201. if rtype == 1 then
  2202. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2203. elseif rtype == 2 then
  2204. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2205. end
  2206. prt.Transparency=i
  2207. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2208. end
  2209. Part.Parent=nil
  2210. end),prt,msh)
  2211. end
  2212.  
  2213. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2214. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2215. prt.Anchored=true
  2216. prt.Material = "Neon"
  2217. prt.CFrame=cframe
  2218. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2219. game:GetService("Debris"):AddItem(prt,5)
  2220. coroutine.resume(coroutine.create(function(Part,Mesh)
  2221. local rtype = rottype
  2222. for i=0,1,delay do
  2223. swait()
  2224. if rtype == 1 then
  2225. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2226. elseif rtype == 2 then
  2227. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2228. end
  2229. prt.Transparency=i
  2230. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2231. end
  2232. Part.Parent=nil
  2233. end),prt,msh)
  2234. end
  2235.  
  2236. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2237. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2238. prt.Anchored=false
  2239. prt.CFrame=cframe
  2240. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2241. local wld=weld(prt,prt,Parent,cframe)
  2242. game:GetService("Debris"):AddItem(prt,5)
  2243. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2244. for i=0,1,delay do
  2245. wait()
  2246. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2247. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2248. Part.Transparency=i
  2249. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2250. end
  2251. Part.Parent=nil
  2252. end),prt,msh,wld)
  2253. end
  2254.  
  2255. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2256. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2257. prt.Anchored=false
  2258. prt.CFrame=cframe
  2259. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2260. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2261. game:GetService("Debris"):AddItem(prt,5)
  2262. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2263. for i=0,1,delay do
  2264. wait()
  2265. Weld.C0=euler(i*20,0,0)
  2266. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2267. Part.Transparency=i
  2268. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2269. end
  2270. Part.Parent=nil
  2271. end),prt,msh,wld)
  2272. end
  2273.  
  2274. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2275. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2276. prt.Anchored=true
  2277. prt.CFrame=cframe
  2278. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2279. game:GetService("Debris"):AddItem(prt,2)
  2280. coroutine.resume(coroutine.create(function(Part,Mesh)
  2281. for i=0,1,delay do
  2282. wait()
  2283. Part.CFrame=Part.CFrame
  2284. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2285. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2286. prt2.Anchored=true
  2287. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2288. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2289. game:GetService("Debris"):AddItem(prt2,2)
  2290. coroutine.resume(coroutine.create(function(Part,Mesh)
  2291. for i=0,1,0.1 do
  2292. wait()
  2293. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2294. end
  2295. Part.Parent=nil
  2296. end),prt2,msh2)
  2297. end
  2298. for i=0,1,delay*2 do
  2299. wait()
  2300. Part.CFrame=Part.CFrame
  2301. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2302. end
  2303. Part.Parent=nil
  2304. end),prt,msh)
  2305. end
  2306.  
  2307. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2308. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2309. prt.Anchored=true
  2310. prt.CFrame=cframe
  2311. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2312. game:GetService("Debris"):AddItem(prt,2)
  2313. coroutine.resume(coroutine.create(function(Part,Mesh)
  2314. for i=0,1,delay do
  2315. wait()
  2316. Part.CFrame=Part.CFrame
  2317. Part.Transparency=i
  2318. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2319. end
  2320. Part.Parent=nil
  2321. end),prt,msh)
  2322. end
  2323.  
  2324. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2325. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2326. prt.Anchored=true
  2327. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2328. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2329. game:GetService("Debris"):AddItem(prt,2)
  2330. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2331. CF=Part.CFrame
  2332. Numbb=0
  2333. randnumb=math.random()/10
  2334. rand1=math.random()/10
  2335. for i=0,1,rand1 do
  2336. wait()
  2337. CF=CF*cf(0,math.random()/2,0)
  2338. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2339. Part.CFrame=CF*euler(Numbb,0,0)
  2340. Part.Transparency=i
  2341. Numbb=Numbb+randnumb
  2342. end
  2343. Part.Parent=nil
  2344. end),prt,CF,Numbb,randnumb)
  2345. end
  2346.  
  2347. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2348. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2349. prt.Anchored=true
  2350. prt.CFrame=cframe
  2351. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2352. game:GetService("Debris"):AddItem(prt,5)
  2353. coroutine.resume(coroutine.create(function(Part,Mesh)
  2354. for i=0,1,delay do
  2355. wait()
  2356. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2357. Part.Transparency=i
  2358. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2359. end
  2360. Part.Parent=nil
  2361. end),prt,msh)
  2362. end
  2363.  
  2364. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2365. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2366. prt.Anchored=true
  2367. prt.CFrame=cframe
  2368. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2369. game:GetService("Debris"):AddItem(prt,2)
  2370. coroutine.resume(coroutine.create(function(Part,Mesh)
  2371. for i=0,1,delay do
  2372. wait()
  2373. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2374. Part.Transparency=i
  2375. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2376. end
  2377. Part.Parent=nil
  2378. end),prt,msh)
  2379. end
  2380.  
  2381. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2382. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2383. prt.Anchored=true
  2384. prt.CFrame=cframe*cf(x,y,z)
  2385. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2386. game:GetService("Debris"):AddItem(prt,5)
  2387. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2388. local num=math.random()
  2389. local num2=math.random(-3,2)+math.random()
  2390. local numm=0
  2391. for i=0,1,delay*2 do
  2392. swait()
  2393. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2394. Part.Transparency=i
  2395. numm=numm+0.01
  2396. end
  2397. Part.Parent=nil
  2398. Mesh.Parent=nil
  2399. end),prt,msh,x,y,z)
  2400. end
  2401.  
  2402. function dmgstart(dmg,what)
  2403. hitcon = what.Touched:connect(function(hit)
  2404. local hum = hit.Parent:FindFirstChild("Humanoid")
  2405. if hum and not hum:IsDescendantOf(Character) then
  2406. hum:TakeDamage(dmg)
  2407. end
  2408. end)
  2409. end
  2410.  
  2411. function dmgstop()
  2412. hitcon:disconnect()
  2413. end
  2414.  
  2415. function Cloak()
  2416. Face.Parent=nil
  2417. cloaked=true
  2418. for _,v in pairs(Torso.Parent:children()) do
  2419. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2420. coroutine.resume(coroutine.create(function()
  2421. for i=0,1,0.2 do
  2422. wait()
  2423. v.Transparency=i
  2424. end
  2425. v.Transparency=1
  2426. end))
  2427. end
  2428. if v.className=="Hat" then
  2429. hatp=v.Handle
  2430. coroutine.resume(coroutine.create(function(derp)
  2431. for i=0,1,0.2 do
  2432. wait()
  2433. derp.Transparency=i
  2434. end
  2435. derp.Transparency=1
  2436. end),hatp)
  2437. end
  2438. end
  2439. for _,v in pairs(m:children()) do
  2440. if v.className=="Part" then
  2441. coroutine.resume(coroutine.create(function()
  2442. for i=0,1,0.2 do
  2443. wait()
  2444. v.Transparency=i
  2445. end
  2446. v.Transparency=1
  2447. end))
  2448. end
  2449. end
  2450. end
  2451.  
  2452. function UnCloak()
  2453. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2454. Face.Parent=Head
  2455. cloaked=false
  2456. for _,v in pairs(Torso.Parent:children()) do
  2457. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2458. coroutine.resume(coroutine.create(function()
  2459. for i=0,1,0.1 do
  2460. wait()
  2461. v.Transparency=v.Transparency-0.1
  2462. end
  2463. v.Transparency=0
  2464. end))
  2465. end
  2466. if v.className=="Hat" then
  2467. hatp=v.Handle
  2468. coroutine.resume(coroutine.create(function(derp)
  2469. for i=0,1,0.1 do
  2470. wait()
  2471. derp.Transparency=derp.Transparency-0.1
  2472. end
  2473. derp.Transparency=0
  2474. end),hatp)
  2475. end
  2476. end
  2477. for _,v in pairs(m:children()) do
  2478. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2479. coroutine.resume(coroutine.create(function()
  2480. for i=0,1,0.1 do
  2481. wait()
  2482. v.Transparency=v.Transparency-0.1
  2483. end
  2484. v.Transparency=0
  2485. end))
  2486. v.Transparency=0
  2487. end
  2488. end
  2489. end
  2490.  
  2491. local origcolor = BrickColor.new("Pastel light blue")
  2492. ---- This section of explosions.
  2493.  
  2494. ----
  2495.  
  2496.  
  2497. function ring(type,pos,scale,value)
  2498. local type = type
  2499. local rng = Instance.new("Part", char)
  2500. rng.Anchored = true
  2501. rng.BrickColor = origcolor
  2502. rng.CanCollide = false
  2503. rng.FormFactor = 3
  2504. rng.Name = "Ring"
  2505. rng.Size = Vector3.new(1, 1, 1)
  2506. rng.Transparency = 0
  2507. rng.TopSurface = 0
  2508. rng.BottomSurface = 0
  2509. rng.CFrame = pos
  2510. local rngm = Instance.new("SpecialMesh", rng)
  2511. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2512. rngm.Scale = scale
  2513. local scaler2 = 1
  2514. if type == "Add" then
  2515. scaler2 = 1*value
  2516. elseif type == "Divide" then
  2517. scaler2 = 1/value
  2518. end
  2519. coroutine.resume(coroutine.create(function()
  2520. for i = 0,10,0.1 do
  2521. swait()
  2522. if type == "Add" then
  2523. scaler2 = scaler2 - 0.01*value
  2524. elseif type == "Divide" then
  2525. scaler2 = scaler2 - 0.01/value
  2526. end
  2527. rng.Transparency = rng.Transparency + 0.01
  2528. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2529. end
  2530. rng:Destroy()
  2531. end))
  2532. end
  2533.  
  2534.  
  2535. function wave(type,pos,scale,value)
  2536. local type = type
  2537. local rng = Instance.new("Part", char)
  2538. rng.Anchored = true
  2539. rng.BrickColor = origcolor
  2540. rng.CanCollide = false
  2541. rng.FormFactor = 3
  2542. rng.Name = "Ring"
  2543. rng.Size = Vector3.new(1, 1, 1)
  2544. rng.Transparency = 0
  2545. rng.TopSurface = 0
  2546. rng.BottomSurface = 0
  2547. rng.CFrame = pos
  2548. local rngm = Instance.new("SpecialMesh", rng)
  2549. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2550. rngm.Scale = scale
  2551. local scaler2 = 1
  2552. if type == "Add" then
  2553. scaler2 = 1*value
  2554. elseif type == "Divide" then
  2555. scaler2 = 1/value
  2556. end
  2557. coroutine.resume(coroutine.create(function()
  2558. for i = 0,10,0.1 do
  2559. swait()
  2560. if type == "Add" then
  2561. scaler2 = scaler2 - 0.01*value
  2562. elseif type == "Divide" then
  2563. scaler2 = scaler2 - 0.01/value
  2564. end
  2565. rng.Transparency = rng.Transparency + 0.01
  2566. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2567. end
  2568. rng:Destroy()
  2569. end))
  2570. end
  2571.  
  2572. function wind(type,pos,scale,value,speed)
  2573. local type = type
  2574. local rng = Instance.new("Part", char)
  2575. rng.Anchored = true
  2576. rng.BrickColor = origcolor
  2577. rng.CanCollide = false
  2578. rng.FormFactor = 3
  2579. rng.Name = "Ring"
  2580. rng.Size = Vector3.new(1, 1, 1)
  2581. rng.Transparency = 0
  2582. rng.TopSurface = 0
  2583. rng.BottomSurface = 0
  2584. rng.CFrame = pos
  2585. local rngm = Instance.new("SpecialMesh", rng)
  2586. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2587. rngm.Scale = scale
  2588. local scaler2 = 1
  2589. if type == "Add" then
  2590. scaler2 = 1*value
  2591. elseif type == "Divide" then
  2592. scaler2 = 1/value
  2593. end
  2594. coroutine.resume(coroutine.create(function()
  2595. for i = 0,10,0.1 do
  2596. swait()
  2597. if type == "Add" then
  2598. scaler2 = scaler2 - 0.01*value
  2599. elseif type == "Divide" then
  2600. scaler2 = scaler2 - 0.01/value
  2601. end
  2602. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2603. rng.Transparency = rng.Transparency + 0.01
  2604. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2605. end
  2606. rng:Destroy()
  2607. end))
  2608. end
  2609.  
  2610. function groundwind(type,pos,scale,value,speed)
  2611. local type = type
  2612. local rng = Instance.new("Part", char)
  2613. rng.Anchored = true
  2614. rng.BrickColor = origcolor
  2615. rng.CanCollide = false
  2616. rng.FormFactor = 3
  2617. rng.Name = "Ring"
  2618. rng.Size = Vector3.new(1, 1, 1)
  2619. rng.Transparency = 0
  2620. rng.TopSurface = 0
  2621. rng.BottomSurface = 0
  2622. rng.CFrame = pos
  2623. local rngm = Instance.new("SpecialMesh", rng)
  2624. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2625. rngm.Scale = scale
  2626. local scaler2 = 1
  2627. if type == "Add" then
  2628. scaler2 = 1*value
  2629. elseif type == "Divide" then
  2630. scaler2 = 1/value
  2631. end
  2632. coroutine.resume(coroutine.create(function()
  2633. for i = 0,10,0.1 do
  2634. swait()
  2635. if type == "Add" then
  2636. scaler2 = scaler2 - 0.01*value
  2637. elseif type == "Divide" then
  2638. scaler2 = scaler2 - 0.01/value
  2639. end
  2640. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2641. rng.Transparency = rng.Transparency + 0.01
  2642. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2643. end
  2644. rng:Destroy()
  2645. end))
  2646. end
  2647.  
  2648. function CameraManager()
  2649. if TwoD and not CamInterrupt then
  2650. if Humanoid.Health > 0 then
  2651. Camera.CameraSubject = Humanoid
  2652. Camera.CameraType = "Scriptable"
  2653. Humanoid.AutoRotate = false
  2654. if Booleans.GyroUse then
  2655. Directer.MaxTorque = Vec3(0, huge, 0)
  2656. else
  2657. Directer.MaxTorque = Vec3(0, 0, 0)
  2658. end
  2659. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2660. if Booleans.CamFollow then
  2661. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2662. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2663. else
  2664. CPart.Position = RootPart.Position
  2665. end
  2666. else
  2667. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2668. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2669. end
  2670. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2671. else
  2672. Camera.CameraSubject = Humanoid
  2673. Camera.CameraType = "Custom"
  2674. Controller.Disabled = false
  2675. end
  2676. end
  2677. end
  2678.  
  2679. function ring(type,pos,scale,value)
  2680. local type = type
  2681. local rng = Instance.new("Part", char)
  2682. rng.Anchored = true
  2683. rng.BrickColor = origcolor
  2684. rng.CanCollide = false
  2685. rng.FormFactor = 3
  2686. rng.Name = "Ring"
  2687. rng.Size = Vector3.new(1, 1, 1)
  2688. rng.Transparency = 0
  2689. rng.TopSurface = 0
  2690. rng.BottomSurface = 0
  2691. rng.CFrame = pos
  2692. local rngm = Instance.new("SpecialMesh", rng)
  2693. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2694. rngm.Scale = scale
  2695. local scaler2 = 1
  2696. if type == "Add" then
  2697. scaler2 = 1*value
  2698. elseif type == "Divide" then
  2699. scaler2 = 1/value
  2700. end
  2701. coroutine.resume(coroutine.create(function()
  2702. for i = 0,10,0.1 do
  2703. swait()
  2704. if type == "Add" then
  2705. scaler2 = scaler2 - 0.01*value
  2706. elseif type == "Divide" then
  2707. scaler2 = scaler2 - 0.01/value
  2708. end
  2709. rng.Transparency = rng.Transparency + 0.01
  2710. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2711. end
  2712. rng:Destroy()
  2713. end))
  2714. end
  2715.  
  2716.  
  2717. function wave(type,pos,scale,value)
  2718. local type = type
  2719. local rng = Instance.new("Part", char)
  2720. rng.Anchored = true
  2721. rng.BrickColor = origcolor
  2722. rng.CanCollide = false
  2723. rng.FormFactor = 3
  2724. rng.Name = "Ring"
  2725. rng.Size = Vector3.new(1, 1, 1)
  2726. rng.Transparency = 0
  2727. rng.TopSurface = 0
  2728. rng.BottomSurface = 0
  2729. rng.CFrame = pos
  2730. local rngm = Instance.new("SpecialMesh", rng)
  2731. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2732. rngm.Scale = scale
  2733. local scaler2 = 1
  2734. if type == "Add" then
  2735. scaler2 = 1*value
  2736. elseif type == "Divide" then
  2737. scaler2 = 1/value
  2738. end
  2739. coroutine.resume(coroutine.create(function()
  2740. for i = 0,10,0.1 do
  2741. swait()
  2742. if type == "Add" then
  2743. scaler2 = scaler2 - 0.01*value
  2744. elseif type == "Divide" then
  2745. scaler2 = scaler2 - 0.01/value
  2746. end
  2747. rng.Transparency = rng.Transparency + 0.01
  2748. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2749. end
  2750. rng:Destroy()
  2751. end))
  2752. end
  2753.  
  2754. function sphere(bonuspeed,type,pos,scale,value,color)
  2755. local type = type
  2756. local rng = Instance.new("Part", char)
  2757. rng.Anchored = true
  2758. if ModeOfGlitch ~= 9 then
  2759. rng.BrickColor = color
  2760. elseif ModeOfGlitch == 9 then
  2761. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2762. end
  2763. rng.CanCollide = false
  2764. rng.FormFactor = 3
  2765. rng.Name = "Ring"
  2766. rng.Material = "Neon"
  2767. rng.Size = Vector3.new(1, 1, 1)
  2768. rng.Transparency = 0
  2769. rng.TopSurface = 0
  2770. rng.BottomSurface = 0
  2771. rng.CFrame = pos
  2772. local rngm = Instance.new("SpecialMesh", rng)
  2773. rngm.MeshType = "Sphere"
  2774. rngm.Scale = scale
  2775. if rainbowmode == true then
  2776. rng.Color = Color3.new(r/255,g/255,b/255)
  2777. end
  2778. if ModeOfGlitch == 9 then
  2779. coroutine.resume(coroutine.create(function()
  2780. while true do
  2781. swait()
  2782. if rng.Parent ~= nil then
  2783. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2784. else
  2785. break
  2786. end
  2787. end
  2788. end))
  2789. end
  2790. local scaler2 = 1
  2791. if type == "Add" then
  2792. scaler2 = 1*value
  2793. elseif type == "Divide" then
  2794. scaler2 = 1/value
  2795. end
  2796. coroutine.resume(coroutine.create(function()
  2797. for i = 0,10/bonuspeed,0.1 do
  2798. swait()
  2799. if rainbowmode == true then
  2800. rng.Color = Color3.new(r/255,g/255,b/255)
  2801. end
  2802. if type == "Add" then
  2803. scaler2 = scaler2 - 0.01*value/bonuspeed
  2804. elseif type == "Divide" then
  2805. scaler2 = scaler2 - 0.01/value*bonuspeed
  2806. end
  2807. if chaosmode == true then
  2808. rng.BrickColor = BrickColor.random()
  2809. end
  2810. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2811. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2812. end
  2813. rng:Destroy()
  2814. end))
  2815. end
  2816.  
  2817. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  2818. local type = type
  2819. local rng = Instance.new("Part", char)
  2820. rng.Anchored = true
  2821. if ModeOfGlitch ~= 9 then
  2822. rng.BrickColor = color
  2823. elseif ModeOfGlitch == 9 then
  2824. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2825. end
  2826. rng.CanCollide = false
  2827. rng.FormFactor = 3
  2828. rng.Name = "Ring"
  2829. rng.Material = "Neon"
  2830. rng.Size = Vector3.new(1, 1, 1)
  2831. rng.Transparency = 0
  2832. rng.TopSurface = 0
  2833. rng.BottomSurface = 0
  2834. rng.CFrame = pos
  2835. local rngm = Instance.new("SpecialMesh", rng)
  2836. rngm.MeshType = "Sphere"
  2837. rngm.Scale = scale
  2838. local scaler2 = 1
  2839. local scaler2b = 1
  2840. local scaler2c = 1
  2841. if type == "Add" then
  2842. scaler2 = 1*value
  2843. scaler2b = 1*value2
  2844. scaler2c = 1*value3
  2845. elseif type == "Divide" then
  2846. scaler2 = 1/value
  2847. scaler2b = 1/value2
  2848. scaler2c = 1/value3
  2849. end
  2850. if ModeOfGlitch == 9 then
  2851. coroutine.resume(coroutine.create(function()
  2852. while true do
  2853. swait()
  2854. if rng.Parent ~= nil then
  2855. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2856. else
  2857. break
  2858. end
  2859. end
  2860. end))
  2861. end
  2862. coroutine.resume(coroutine.create(function()
  2863. for i = 0,10/bonuspeed,0.1 do
  2864. swait()
  2865. if type == "Add" then
  2866. scaler2 = scaler2 - 0.01*value/bonuspeed
  2867. scaler2b = scaler2b - 0.01*value/bonuspeed
  2868. scaler2c = scaler2c - 0.01*value/bonuspeed
  2869. elseif type == "Divide" then
  2870. scaler2 = scaler2 - 0.01/value*bonuspeed
  2871. scaler2b = scaler2b - 0.01/value*bonuspeed
  2872. scaler2c = scaler2c - 0.01/value*bonuspeed
  2873. end
  2874. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2875. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2876. end
  2877. rng:Destroy()
  2878. end))
  2879. end
  2880.  
  2881. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  2882. local type = type
  2883. local rotenable = rotatingop
  2884. local rng = Instance.new("Part", char)
  2885. rng.Anchored = true
  2886. rng.BrickColor = color
  2887. rng.CanCollide = false
  2888. rng.FormFactor = 3
  2889. rng.Name = "Ring"
  2890. rng.Material = "Neon"
  2891. rng.Size = Vector3.new(1, 1, 1)
  2892. rng.Transparency = 0
  2893. if typeoftrans == "In" then
  2894. rng.Transparency = 1
  2895. end
  2896. rng.TopSurface = 0
  2897. rng.BottomSurface = 0
  2898. rng.CFrame = pos
  2899. local rngm = Instance.new("SpecialMesh", rng)
  2900. rngm.MeshType = "FileMesh"
  2901. if typeofshape == "Normal" then
  2902. rngm.MeshId = "rbxassetid://662586858"
  2903. elseif typeofshape == "Round" then
  2904. rngm.MeshId = "rbxassetid://662585058"
  2905. end
  2906. rngm.Scale = scale
  2907. local scaler2 = 1/10
  2908. if type == "Add" then
  2909. scaler2 = 1*value/10
  2910. elseif type == "Divide" then
  2911. scaler2 = 1/value/10
  2912. end
  2913. local randomrot = math.random(1,2)
  2914. coroutine.resume(coroutine.create(function()
  2915. for i = 0,10/bonuspeed,0.1 do
  2916. swait()
  2917. if type == "Add" then
  2918. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  2919. elseif type == "Divide" then
  2920. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  2921. end
  2922. if rotenable == true then
  2923. if randomrot == 1 then
  2924. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  2925. elseif randomrot == 2 then
  2926. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  2927. end
  2928. end
  2929. if typeoftrans == "Out" then
  2930. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2931. elseif typeoftrans == "In" then
  2932. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2933. end
  2934. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  2935. end
  2936. rng:Destroy()
  2937. end))
  2938. end
  2939.  
  2940. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2941. local type = type
  2942. local rng = Instance.new("Part", char)
  2943. rng.Anchored = true
  2944. rng.BrickColor = color
  2945. rng.CanCollide = false
  2946. rng.FormFactor = 3
  2947. rng.Name = "Ring"
  2948. rng.Material = "Neon"
  2949. rng.Size = Vector3.new(1, 1, 1)
  2950. rng.Transparency = 0
  2951. rng.TopSurface = 0
  2952. rng.BottomSurface = 0
  2953. rng.CFrame = pos
  2954. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2955. local rngm = Instance.new("SpecialMesh", rng)
  2956. rngm.MeshType = "Brick"
  2957. rngm.Scale = vt(x1,y1,z1)
  2958. if rainbowmode == true then
  2959. rng.Color = Color3.new(r/255,g/255,b/255)
  2960. end
  2961. local scaler2 = 1
  2962. local speeder = FastSpeed/10
  2963. if type == "Add" then
  2964. scaler2 = 1*value
  2965. elseif type == "Divide" then
  2966. scaler2 = 1/value
  2967. end
  2968. coroutine.resume(coroutine.create(function()
  2969. for i = 0,10/bonuspeed,0.1 do
  2970. swait()
  2971. if rainbowmode == true then
  2972. rng.Color = Color3.new(r/255,g/255,b/255)
  2973. end
  2974. if type == "Add" then
  2975. scaler2 = scaler2 - 0.01*value/bonuspeed
  2976. elseif type == "Divide" then
  2977. scaler2 = scaler2 - 0.01/value*bonuspeed
  2978. end
  2979. if chaosmode == true then
  2980. rng.BrickColor = BrickColor.random()
  2981. end
  2982. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2983. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2984. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2985. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2986. end
  2987. rng:Destroy()
  2988. end))
  2989. end
  2990.  
  2991. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2992. local type = type
  2993. local rng = Instance.new("Part", char)
  2994. rng.Anchored = true
  2995. rng.BrickColor = color
  2996. rng.CanCollide = false
  2997. rng.FormFactor = 3
  2998. rng.Name = "Ring"
  2999. rng.Material = "Neon"
  3000. rng.Size = Vector3.new(1, 1, 1)
  3001. rng.Transparency = 0
  3002. rng.TopSurface = 0
  3003. rng.BottomSurface = 0
  3004. rng.CFrame = pos
  3005. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3006. local rngm = Instance.new("SpecialMesh", rng)
  3007. rngm.MeshType = "Brick"
  3008. rngm.Scale = vt(x1,y1,z1)
  3009. if rainbowmode == true then
  3010. rng.Color = Color3.new(r/255,g/255,b/255)
  3011. end
  3012. local scaler2 = 1
  3013. local speeder = FastSpeed/10
  3014. if type == "Add" then
  3015. scaler2 = 1*value
  3016. elseif type == "Divide" then
  3017. scaler2 = 1/value
  3018. end
  3019. coroutine.resume(coroutine.create(function()
  3020. for i = 0,10/bonuspeed,0.1 do
  3021. swait()
  3022. if rainbowmode == true then
  3023. rng.Color = Color3.new(r/255,g/255,b/255)
  3024. end
  3025. if type == "Add" then
  3026. scaler2 = scaler2 - 0.01*value/bonuspeed
  3027. elseif type == "Divide" then
  3028. scaler2 = scaler2 - 0.01/value*bonuspeed
  3029. end
  3030. if chaosmode == true then
  3031. rng.BrickColor = BrickColor.random()
  3032. end
  3033. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3034. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3035. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3036. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3037. end
  3038. rng:Destroy()
  3039. end))
  3040. end
  3041.  
  3042. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3043. local type = type
  3044. local rng = Instance.new("Part", char)
  3045. rng.Anchored = true
  3046. rng.BrickColor = color
  3047. rng.CanCollide = false
  3048. rng.FormFactor = 3
  3049. rng.Name = "Ring"
  3050. rng.Material = "Neon"
  3051. rng.Size = Vector3.new(1, 1, 1)
  3052. rng.Transparency = 0
  3053. rng.TopSurface = 0
  3054. rng.BottomSurface = 0
  3055. rng.CFrame = pos
  3056. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3057. local rngm = Instance.new("SpecialMesh", rng)
  3058. rngm.MeshType = "Brick"
  3059. rngm.Scale = vt(x1,y1,z1)
  3060. if rainbowmode == true then
  3061. rng.Color = Color3.new(r/255,g/255,b/255)
  3062. end
  3063. local scaler2 = 0
  3064. local speeder = FastSpeed/10
  3065. if type == "Add" then
  3066. scaler2 = 1*value
  3067. elseif type == "Divide" then
  3068. scaler2 = 1/value
  3069. end
  3070. coroutine.resume(coroutine.create(function()
  3071. for i = 0,10/bonuspeed,0.1 do
  3072. swait()
  3073. if rainbowmode == true then
  3074. rng.Color = Color3.new(r/255,g/255,b/255)
  3075. end
  3076. if type == "Add" then
  3077. scaler2 = scaler2 - 0.01*value/bonuspeed
  3078. elseif type == "Divide" then
  3079. scaler2 = scaler2 - 0.01/value*bonuspeed
  3080. end
  3081. if chaosmode == true then
  3082. rng.BrickColor = BrickColor.random()
  3083. end
  3084. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3085. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3086. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3087. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3088. end
  3089. rng:Destroy()
  3090. end))
  3091. end
  3092.  
  3093. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3094. local type = type
  3095. local rng = Instance.new("Part", char)
  3096. rng.Anchored = true
  3097. rng.BrickColor = color
  3098. rng.Color = color3
  3099. rng.CanCollide = false
  3100. rng.FormFactor = 3
  3101. rng.Name = "Ring"
  3102. rng.Material = "Neon"
  3103. rng.Size = Vector3.new(1, 1, 1)
  3104. rng.Transparency = 0
  3105. rng.TopSurface = 0
  3106. rng.BottomSurface = 0
  3107. rng.CFrame = pos
  3108. local rngm = Instance.new("SpecialMesh", rng)
  3109. rngm.MeshType = "Brick"
  3110. rngm.Scale = scale
  3111. local scaler2 = 1
  3112. local scaler2b = 1
  3113. local scaler2c = 1
  3114. if type == "Add" then
  3115. scaler2 = 1*value
  3116. scaler2b = 1*value2
  3117. scaler2c = 1*value3
  3118. elseif type == "Divide" then
  3119. scaler2 = 1/value
  3120. scaler2b = 1/value2
  3121. scaler2c = 1/value3
  3122. end
  3123. coroutine.resume(coroutine.create(function()
  3124. for i = 0,10/bonuspeed,0.1 do
  3125. swait()
  3126. if type == "Add" then
  3127. scaler2 = scaler2 - 0.01*value/bonuspeed
  3128. scaler2b = scaler2b - 0.01*value/bonuspeed
  3129. scaler2c = scaler2c - 0.01*value/bonuspeed
  3130. elseif type == "Divide" then
  3131. scaler2 = scaler2 - 0.01/value*bonuspeed
  3132. scaler2b = scaler2b - 0.01/value*bonuspeed
  3133. scaler2c = scaler2c - 0.01/value*bonuspeed
  3134. end
  3135. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3136. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3137. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3138. end
  3139. rng:Destroy()
  3140. end))
  3141. end
  3142.  
  3143. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3144. local type = type
  3145. local rng = Instance.new("Part", char)
  3146. rng.Anchored = true
  3147. if ModeOfGlitch ~= 9 then
  3148. rng.BrickColor = color
  3149. elseif ModeOfGlitch == 9 then
  3150. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3151. end
  3152. rng.CanCollide = false
  3153. rng.FormFactor = 3
  3154. rng.Name = "Ring"
  3155. rng.Material = "Neon"
  3156. rng.Size = Vector3.new(1, 1, 1)
  3157. rng.Transparency = 0
  3158. rng.TopSurface = 0
  3159. rng.BottomSurface = 0
  3160. rng.CFrame = pos
  3161. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3162. local rngm = Instance.new("SpecialMesh", rng)
  3163. rngm.MeshType = "Sphere"
  3164. rngm.Scale = vt(x1,y1,z1)
  3165. if rainbowmode == true then
  3166. rng.Color = Color3.new(r/255,g/255,b/255)
  3167. end
  3168. if ModeOfGlitch == 9 then
  3169. coroutine.resume(coroutine.create(function()
  3170. while true do
  3171. swait()
  3172. if rng.Parent ~= nil then
  3173. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3174. else
  3175. break
  3176. end
  3177. end
  3178. end))
  3179. end
  3180. local scaler2 = 1
  3181. local speeder = FastSpeed
  3182. if type == "Add" then
  3183. scaler2 = 1*value
  3184. elseif type == "Divide" then
  3185. scaler2 = 1/value
  3186. end
  3187. coroutine.resume(coroutine.create(function()
  3188. for i = 0,10/bonuspeed,0.1 do
  3189. swait()
  3190. if rainbowmode == true then
  3191. rng.Color = Color3.new(r/255,g/255,b/255)
  3192. end
  3193. if type == "Add" then
  3194. scaler2 = scaler2 - 0.01*value/bonuspeed
  3195. elseif type == "Divide" then
  3196. scaler2 = scaler2 - 0.01/value*bonuspeed
  3197. end
  3198. if chaosmode == true then
  3199. rng.BrickColor = BrickColor.random()
  3200. end
  3201. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3202. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3203. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3204. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3205. end
  3206. rng:Destroy()
  3207. end))
  3208. end
  3209.  
  3210.  
  3211. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3212. local type = type
  3213. local rng = Instance.new("Part", char)
  3214. rng.Anchored = true
  3215. if ModeOfGlitch ~= 9 then
  3216. rng.BrickColor = color
  3217. elseif ModeOfGlitch == 9 then
  3218. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3219. end
  3220. rng.CanCollide = false
  3221. rng.FormFactor = 3
  3222. rng.Name = "Ring"
  3223. rng.Material = "Neon"
  3224. rng.Size = Vector3.new(1, 1, 1)
  3225. rng.Transparency = 1
  3226. rng.TopSurface = 0
  3227. rng.BottomSurface = 0
  3228. rng.CFrame = pos
  3229. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3230. local rngm = Instance.new("SpecialMesh", rng)
  3231. rngm.MeshType = "Sphere"
  3232. rngm.Scale = vt(x1,y1,z1)
  3233. if rainbowmode == true then
  3234. rng.Color = Color3.new(r/255,g/255,b/255)
  3235. end
  3236. if ModeOfGlitch == 9 then
  3237. coroutine.resume(coroutine.create(function()
  3238. while true do
  3239. swait()
  3240. if rng.Parent ~= nil then
  3241. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3242. else
  3243. break
  3244. end
  3245. end
  3246. end))
  3247. end
  3248. local scaler2 = 1
  3249. local speeder = FastSpeed
  3250. if type == "Add" then
  3251. scaler2 = 1*value
  3252. elseif type == "Divide" then
  3253. scaler2 = 1/value
  3254. end
  3255. coroutine.resume(coroutine.create(function()
  3256. for i = 0,10/bonuspeed,0.1 do
  3257. swait()
  3258. if rainbowmode == true then
  3259. rng.Color = Color3.new(r/255,g/255,b/255)
  3260. end
  3261. if type == "Add" then
  3262. scaler2 = scaler2 - 0.01*value/bonuspeed
  3263. elseif type == "Divide" then
  3264. scaler2 = scaler2 - 0.01/value*bonuspeed
  3265. end
  3266. if chaosmode == true then
  3267. rng.BrickColor = BrickColor.random()
  3268. end
  3269. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3270. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3271. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3272. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3273. end
  3274. rng:Destroy()
  3275. end))
  3276. end
  3277.  
  3278. function dmg(dude)
  3279. if dude.Name ~= Character then
  3280. local keptcolor = MAINRUINCOLOR
  3281. local bgf = Instance.new("BodyGyro",dude.Head)
  3282. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3283. --[[local val = Instance.new("BoolValue",dude)
  3284. val.Name = "IsHit"]]--
  3285. local ds = coroutine.wrap(function()
  3286. dude:WaitForChild("Head"):BreakJoints()
  3287. for i, v in pairs(dude:GetChildren()) do
  3288. if v:IsA("Part") or v:IsA("MeshPart") then
  3289. v.Name = "DEMINISHED"
  3290. end
  3291. end
  3292. wait(0.5)
  3293. targetted = nil
  3294. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  3295. coroutine.resume(coroutine.create(function()
  3296. for i, v in pairs(dude:GetChildren()) do
  3297. if v:IsA("Accessory") then
  3298. v:Destroy()
  3299. end
  3300. if v:IsA("Humanoid") then
  3301. v:Destroy()
  3302. end
  3303. if v:IsA("CharacterMesh") then
  3304. v:Destroy()
  3305. end
  3306. if v:IsA("Model") then
  3307. v:Destroy()
  3308. end
  3309. if v:IsA("Part") or v:IsA("MeshPart") then
  3310. for x, o in pairs(v:GetChildren()) do
  3311. if o:IsA("Decal") then
  3312. o:Destroy()
  3313. end
  3314. end
  3315. coroutine.resume(coroutine.create(function()
  3316. v.Material = "Neon"
  3317. v.CanCollide = false
  3318. v.Anchored = false
  3319. local bld = Instance.new("ParticleEmitter",v)
  3320. bld.LightEmission = 0.75
  3321. bld.Texture = "rbxassetid://363275192" ---284205403
  3322. bld.Color = ColorSequence.new(keptcolor.Color)
  3323. bld.Rate = 500
  3324. bld.Lifetime = NumberRange.new(1)
  3325. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3326. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3327. bld.Speed = NumberRange.new(2,5)
  3328. bld.VelocitySpread = 50000
  3329. bld.Rotation = NumberRange.new(-500,500)
  3330. bld.RotSpeed = NumberRange.new(-500,500)
  3331. local sbs = Instance.new("BodyPosition", v)
  3332. sbs.P = 3000
  3333. sbs.D = 1000
  3334. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3335. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3336. v.Color = keptcolor.Color
  3337. coroutine.resume(coroutine.create(function()
  3338. for i = 0, 49 do
  3339. swait(1)
  3340. v:BreakJoints()
  3341. v.Transparency = v.Transparency + 0.02
  3342. end
  3343. v:BreakJoints()
  3344. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3345. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3346. bld.Speed = NumberRange.new(10,25)
  3347. bld.Drag = 5
  3348. bld.Acceleration = vt(0,2,0)
  3349. wait(0.5)
  3350. bld.Enabled = false
  3351. wait(8)
  3352. v:Destroy()
  3353. dude:Destroy()
  3354. end))
  3355. end))
  3356. end
  3357. end
  3358. end))
  3359. end)
  3360. ds()
  3361. end
  3362. end
  3363.  
  3364.  
  3365. function FindNearestHead(Position, Distance, SinglePlayer)
  3366. if SinglePlayer then
  3367. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3368. end
  3369. local List = {}
  3370. for i, v in pairs(workspace:GetChildren()) do
  3371. if v:IsA("Model") then
  3372. if v:findFirstChild("Head") then
  3373. if v ~= Character then
  3374. if (v.Head.Position - Position).magnitude <= Distance then
  3375. table.insert(List, v)
  3376. end
  3377. end
  3378. end
  3379. end
  3380. end
  3381. return List
  3382. end
  3383.  
  3384. function FaceMouse()
  3385. Cam = workspace.CurrentCamera
  3386. return {
  3387. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3388. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3389. }
  3390. end
  3391.  
  3392. function FaceMouse2()
  3393. Cam = workspace.CurrentCamera
  3394. return {
  3395. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3396. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3397. }
  3398. end
  3399.  
  3400. local ModeOfGlitch = 1
  3401. -- Functions are ready.
  3402. local storehumanoidWS = 16
  3403.  
  3404. function CorruptBlink()
  3405. for i = 0, 14 do
  3406. 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)
  3407. end
  3408. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3409. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3410. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3411. CameraEnshaking(2,10)
  3412. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3413. if v:FindFirstChild('Head') then
  3414. dmg(v)
  3415. end
  3416. end
  3417. for i = 0, 14 do
  3418. 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)
  3419. end
  3420. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3421. end
  3422. function PureBomb()
  3423. attack = true
  3424. hum.WalkSpeed = 0
  3425. local orb = Instance.new("Part", char)
  3426. orb.Anchored = true
  3427. orb.BrickColor = BrickColor.new("Toothpaste")
  3428. orb.CanCollide = false
  3429. orb.FormFactor = 3
  3430. orb.Name = "Ring"
  3431. orb.Material = "Neon"
  3432. orb.Size = Vector3.new(1, 1, 1)
  3433. orb.Transparency = 0
  3434. orb.TopSurface = 0
  3435. orb.BottomSurface = 0
  3436. local orbm = Instance.new("SpecialMesh", orb)
  3437. orbm.MeshType = "Sphere"
  3438. orbm.Name = "SizeMesh"
  3439. orbm.Scale = vt(0,0,0)
  3440. local scaled = 0.1
  3441. local posid = 0
  3442. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3443. for i = 0, 5, 0.1 do
  3444. swait()
  3445. scaled = scaled - 0.001
  3446. posid = posid - scaled
  3447. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3448. local scaled = 0.1
  3449. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3450. 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)
  3451. 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)
  3452. 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)
  3453. 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)
  3454. 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)
  3455. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3456. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3457. 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)
  3458. end
  3459. for i = 0, 2, 0.1 do
  3460. swait()
  3461. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3462. 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)
  3463. 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)
  3464. 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)
  3465. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3466. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3467. 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)
  3468. end
  3469. coroutine.resume(coroutine.create(function()
  3470. orb.Anchored = false
  3471. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3472. local a = Instance.new("Part",workspace)
  3473. a.Name = "Direction"
  3474. a.Anchored = true
  3475. a.BrickColor = bc("Bright red")
  3476. a.Material = "Neon"
  3477. a.Transparency = 1
  3478. a.CanCollide = false
  3479. local ray = Ray.new(
  3480. orb.CFrame.p, -- origin
  3481. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3482. )
  3483. local ignore = orb
  3484. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3485. a.BottomSurface = 10
  3486. a.TopSurface = 10
  3487. local distance = (orb.CFrame.p - position).magnitude
  3488. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3489. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3490. orb.CFrame = a.CFrame
  3491. a:Destroy()
  3492. local bv = Instance.new("BodyVelocity")
  3493. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3494. bv.velocity = orb.CFrame.lookVector*125
  3495. bv.Parent = orb
  3496. local hitted = false
  3497. game:GetService("Debris"):AddItem(orb, 15)
  3498. wait()
  3499. local hit =orb.Touched:connect(function(hit)
  3500. if hitted == false then
  3501. hitted = true
  3502. CameraEnshaking(10,2.5)
  3503. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3504. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3505. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3506. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3507. for i = 0, 49 do
  3508. 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)
  3509. end
  3510. for i = 0, 9 do
  3511. 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)
  3512. 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)
  3513. end
  3514. orb.Anchored = true
  3515. orb.Transparency = 1
  3516. wait(8)
  3517. orb:Destroy()
  3518. end
  3519. end)
  3520. end))
  3521. for i = 0, 1, 0.1 do
  3522. swait()
  3523. 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)
  3524. 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)
  3525. 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)
  3526. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3527. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3528. 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)
  3529. end
  3530. hum.WalkSpeed = storehumanoidWS
  3531. attack = false
  3532. end
  3533.  
  3534. function BanishingOrb()
  3535. attack = true
  3536. hum.WalkSpeed = 0
  3537. local orb = Instance.new("Part", char)
  3538. orb.Anchored = true
  3539. orb.BrickColor = BrickColor.new("Black")
  3540. orb.CanCollide = false
  3541. orb.FormFactor = 3
  3542. orb.Name = "Ring"
  3543. orb.Material = "Neon"
  3544. orb.Size = Vector3.new(1, 1, 1)
  3545. orb.Transparency = 0
  3546. orb.TopSurface = 0
  3547. orb.BottomSurface = 0
  3548. local orbm = Instance.new("SpecialMesh", orb)
  3549. orbm.MeshType = "Sphere"
  3550. orbm.Name = "SizeMesh"
  3551. orbm.Scale = vt(0,0,0)
  3552. local scaled = 0.1
  3553. local posid = 0
  3554. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
  3555. for i = 0, 5, 0.1 do
  3556. swait()
  3557. scaled = scaled - 0.001
  3558. posid = posid - scaled
  3559. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3560. local scaled = 0.1
  3561. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3562. 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)
  3563. 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)
  3564. 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)
  3565. 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)
  3566. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3567. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3568. 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)
  3569. end
  3570. for i = 0, 2, 0.1 do
  3571. swait()
  3572. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3573. 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)
  3574. 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)
  3575. 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)
  3576. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3577. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3578. 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)
  3579. end
  3580. coroutine.resume(coroutine.create(function()
  3581. orb.Anchored = false
  3582. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
  3583. local a = Instance.new("Part",workspace)
  3584. a.Name = "Direction"
  3585. a.Anchored = true
  3586. a.BrickColor = bc("Bright red")
  3587. a.Material = "Neon"
  3588. a.Transparency = 1
  3589. a.CanCollide = false
  3590. local ray = Ray.new(
  3591. orb.CFrame.p, -- origin
  3592. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3593. )
  3594. local ignore = orb
  3595. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3596. a.BottomSurface = 10
  3597. a.TopSurface = 10
  3598. local distance = (orb.CFrame.p - position).magnitude
  3599. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3600. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3601. orb.CFrame = a.CFrame
  3602. a:Destroy()
  3603. local bv = Instance.new("BodyVelocity")
  3604. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3605. bv.velocity = orb.CFrame.lookVector*0
  3606. bv.Parent = orb
  3607. local hitted = false
  3608. local rate = 0
  3609. coroutine.resume(coroutine.create(function()
  3610. for i = 0, 24 do
  3611. wait(0.1)
  3612. rate = rate + 0.25
  3613. bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
  3614. for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
  3615. if v:FindFirstChild('Head') then
  3616. dmg(v)
  3617. end
  3618. end
  3619. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
  3620. sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3621. sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  3622. end
  3623. orb.Anchored = true
  3624. orb.Transparency = 1
  3625. for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
  3626. if v:FindFirstChild('Head') then
  3627. dmg(v)
  3628. end
  3629. end
  3630. local eff = Instance.new("ParticleEmitter",orb)
  3631. eff.Texture = "rbxassetid://296874871"
  3632. eff.LightEmission = 0.95
  3633. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3634. eff.Rate = 1000000000
  3635. eff.Lifetime = NumberRange.new(3)
  3636. 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)})
  3637. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3638. eff.Speed = NumberRange.new(30)
  3639. eff.Acceleration = vt(0,-15,0)
  3640. eff.Rotation = NumberRange.new(-500,500)
  3641. eff.VelocitySpread = 100000
  3642. eff.RotSpeed = NumberRange.new(-500,500)
  3643. coroutine.resume(coroutine.create(function()
  3644. wait(0.6)
  3645. eff.Enabled = false
  3646. end))
  3647. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
  3648. CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
  3649. sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  3650. sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3651. sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
  3652. game:GetService("Debris"):AddItem(orb, 15)
  3653. end))
  3654. end))
  3655. for i = 0, 1, 0.1 do
  3656. swait()
  3657. 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)
  3658. 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)
  3659. 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)
  3660. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3661. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3662. 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)
  3663. end
  3664. hum.WalkSpeed = storehumanoidWS
  3665. attack = false
  3666. end
  3667.  
  3668.  
  3669. function ChaosGroundStrike()
  3670. attack = true
  3671. for i = 0, 2, 0.1 do
  3672. swait()
  3673. 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)
  3674. 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)
  3675. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3676. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3677. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3678. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3679. end
  3680. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3681. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3682. CFuncs["EchoSound"].Create("rbxassetid://357202073", char, 1.5, 1,0,10,0.15,0.5,1)
  3683. CFuncs["EchoSound"].Create("rbxassetid://357202073", root, 10, 1,0,10,0.15,0.5,1)
  3684. bosschatfunc("TASTE MY POWER!",MAINRUINCOLOR.Color,1)
  3685. CameraEnshaking(4,12)
  3686. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3687. if v:FindFirstChild('Head') then
  3688. dmg(v)
  3689. end
  3690. end
  3691. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3692. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3693. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3694. for i = 0, 2, 0.1 do
  3695. swait()
  3696. 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)
  3697. 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)
  3698. 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)
  3699. 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)
  3700. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3701. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3702. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3703. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3704. end
  3705. attack = false
  3706. end
  3707.  
  3708.  
  3709.  
  3710. function Starfall()
  3711. attack = true
  3712. hum.WalkSpeed = 0
  3713. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3714. for i = 0, 5, 0.1 do
  3715. swait()
  3716. 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)
  3717. 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)
  3718. 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)
  3719. 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)
  3720. 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)
  3721. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3722. 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)
  3723. 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)
  3724. end
  3725. local Overed = false
  3726. CameraEnshaking(2,20)
  3727. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3728. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3729. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3730. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3731. local orb = Instance.new("Part", char)
  3732. orb.Anchored = true
  3733. orb.BrickColor = BrickColor.new("Toothpaste")
  3734. orb.CanCollide = false
  3735. orb.FormFactor = 3
  3736. orb.Name = "Remenant"
  3737. orb.Material = "Neon"
  3738. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3739. orb.Size = Vector3.new(1, 1, 1)
  3740. orb.Transparency = 1
  3741. orb.TopSurface = 0
  3742. orb.BottomSurface = 0
  3743. hum.WalkSpeed = storehumanoidWS
  3744. coroutine.resume(coroutine.create(function()
  3745. for i = 0, 9 do
  3746. swait(10)
  3747. local lb = Instance.new("Part")
  3748. lb.Color = MAINRUINCOLOR.Color
  3749. lb.CanCollide = false
  3750. lb.Material = "Neon"
  3751. lb.Anchored = true
  3752. lb.TopSurface = 0
  3753. lb.BottomSurface = 0
  3754. lb.Transparency = 0
  3755. lb.Size = vt(1,1,1)
  3756. 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)))
  3757. lb.Anchored = false
  3758. lb.Parent = char
  3759. local thingery = Instance.new("SpecialMesh",lb)
  3760. thingery.MeshType = "Sphere"
  3761. thingery.Scale = vt(20,20,20)
  3762. game:GetService("Debris"):AddItem(lb, 10)
  3763. local bv = Instance.new("BodyVelocity")
  3764. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3765. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3766. bv.Parent = lb
  3767. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3768. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3769. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3770. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3771. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3772. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3773. local hitted = false
  3774. coroutine.resume(coroutine.create(function()
  3775. while true do
  3776. swait(1)
  3777. if lb.Parent ~= nil and hitted == false then
  3778. 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)
  3779. elseif lb.Parent == nil then
  3780. break
  3781. end
  3782. end
  3783. end))
  3784.  
  3785. game:GetService("Debris"):AddItem(a, 0.1)
  3786.  
  3787. coroutine.resume(coroutine.create(function()
  3788. swait(1)
  3789. lb.Touched:connect(function(hit)
  3790. if hitted == false then
  3791. hitted = true
  3792. lb.Transparency = 1
  3793. lb.Anchored = true
  3794. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3795. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3796. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3797. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3798. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3799. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3800. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3801. CameraEnshaking(1,5)
  3802. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3803. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3804. for i = 0, 9 do
  3805. 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)
  3806. end
  3807. for i = 0, 49 do
  3808. swait()
  3809. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3810. 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)
  3811. end
  3812. end
  3813. end)
  3814. end))
  3815. end
  3816. Overed = true
  3817. orb:Destroy()
  3818. end))
  3819.  
  3820. attack = false
  3821. end
  3822.  
  3823. function StarfallEX()
  3824. attack = true
  3825. hum.WalkSpeed = 0
  3826. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
  3827. for i = 0, 10, 0.1 do
  3828. swait()
  3829. 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)
  3830. 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)
  3831. 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)
  3832. 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)
  3833. 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)
  3834. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3835. 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)
  3836. 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)
  3837. end
  3838. local Overed = false
  3839. CameraEnshaking(2,20)
  3840. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3841. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3842. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  3843. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
  3844. local orb = Instance.new("Part", char)
  3845. orb.Anchored = true
  3846. orb.BrickColor = BrickColor.new("Toothpaste")
  3847. orb.CanCollide = false
  3848. orb.FormFactor = 3
  3849. orb.Name = "Remenant"
  3850. orb.Material = "Neon"
  3851. orb.CFrame = root.CFrame*CFrame.new(0,250,0)
  3852. orb.Size = Vector3.new(1, 1, 1)
  3853. orb.Transparency = 1
  3854. orb.TopSurface = 0
  3855. orb.BottomSurface = 0
  3856. hum.WalkSpeed = storehumanoidWS
  3857. coroutine.resume(coroutine.create(function()
  3858. for i = 0, 4 do
  3859. swait(15)
  3860. local lb = Instance.new("Part")
  3861. lb.Color = MAINRUINCOLOR.Color
  3862. lb.CanCollide = false
  3863. lb.Material = "Neon"
  3864. lb.Anchored = true
  3865. lb.TopSurface = 0
  3866. lb.BottomSurface = 0
  3867. lb.Transparency = 0
  3868. lb.Size = vt(1,1,1)
  3869. 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)))
  3870. lb.Anchored = false
  3871. lb.Parent = char
  3872. local thingery = Instance.new("SpecialMesh",lb)
  3873. thingery.MeshType = "Sphere"
  3874. thingery.Scale = vt(50,50,50)
  3875. game:GetService("Debris"):AddItem(lb, 10)
  3876. local bv = Instance.new("BodyVelocity")
  3877. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3878. bv.velocity = lb.CFrame.lookVector*math.random(50,420)
  3879. bv.Parent = lb
  3880. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  3881. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  3882. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
  3883. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
  3884. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
  3885. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
  3886. local hitted = false
  3887. coroutine.resume(coroutine.create(function()
  3888. while true do
  3889. swait(1)
  3890. if lb.Parent ~= nil and hitted == false then
  3891. 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)
  3892. elseif lb.Parent == nil then
  3893. break
  3894. end
  3895. end
  3896. end))
  3897.  
  3898. game:GetService("Debris"):AddItem(a, 0.1)
  3899.  
  3900. coroutine.resume(coroutine.create(function()
  3901. swait(1)
  3902. lb.Touched:connect(function(hit)
  3903. if hitted == false then
  3904. hitted = true
  3905. lb.Transparency = 1
  3906. lb.Anchored = true
  3907. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
  3908. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
  3909. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
  3910. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
  3911. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
  3912. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
  3913. MagniDamage(lb, 50, 60,99, 0, "Normal")
  3914. CameraEnshaking(1,5)
  3915. sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
  3916. sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
  3917. for i = 0, 9 do
  3918. 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)
  3919. end
  3920. for i = 0, 99 do
  3921. swait()
  3922. MagniDamage(lb, 30, 6,18, 0, "Normal")
  3923. 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)
  3924. end
  3925. end
  3926. end)
  3927. end))
  3928. end
  3929. Overed = true
  3930. orb:Destroy()
  3931. end))
  3932.  
  3933. attack = false
  3934. end
  3935.  
  3936. function DivineBlast()
  3937. attack = true
  3938. hum.WalkSpeed = 0
  3939. local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
  3940. elocacenter.Anchored = true
  3941. elocacenter.CFrame = sorb.CFrame
  3942. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3943. eloca1.Anchored = true
  3944. eloca1.CFrame = elocacenter.CFrame
  3945. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3946. eloca2.Anchored = true
  3947. eloca2.CFrame = elocacenter.CFrame
  3948. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3949. eloca3.Anchored = true
  3950. eloca3.CFrame = elocacenter.CFrame
  3951. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3952. eloca4.Anchored = true
  3953. eloca4.CFrame = elocacenter.CFrame
  3954. local lookavec = 0
  3955. local speeds = 0
  3956. CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
  3957. for i = 0, 3, 0.1 do
  3958. swait()
  3959. ---
  3960. lookavec = lookavec + 0.1
  3961. speeds = speeds + 10
  3962. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3963. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3964. 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)
  3965.  
  3966. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3967. 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)
  3968.  
  3969. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3970. 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)
  3971.  
  3972. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3973. 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)
  3974. ---
  3975. root.CFrame = FaceMouse()[1]
  3976. 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)
  3977. 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)
  3978. 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)
  3979. 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)
  3980. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  3981. 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)
  3982. end
  3983. for i = 0, 3, 0.1 do
  3984. swait()
  3985. ---
  3986. speeds = speeds + 10
  3987. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3988. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3989. 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)
  3990.  
  3991. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3992. 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)
  3993.  
  3994. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3995. 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)
  3996.  
  3997. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3998. 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)
  3999. ---
  4000. root.CFrame = FaceMouse()[1]
  4001. 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)
  4002. 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)
  4003. 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)
  4004. 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)
  4005. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4006. 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)
  4007. end
  4008. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
  4009. for i = 0, 3, 0.1 do
  4010. swait()
  4011. ---
  4012. speeds = speeds + 10
  4013. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4014. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4015. 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)
  4016.  
  4017. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4018. 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)
  4019.  
  4020. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4021. 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)
  4022.  
  4023. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4024. 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)
  4025. ---
  4026. root.CFrame = FaceMouse()[1]
  4027. 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)
  4028. 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)
  4029. 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)
  4030. 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)
  4031. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  4032. 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)
  4033. end
  4034. coroutine.resume(coroutine.create(function()
  4035. local a = Instance.new("Part",Character)
  4036. a.Name = "Direction"
  4037. a.Anchored = true
  4038. a.BrickColor = bc("White")
  4039. a.Material = "Neon"
  4040. a.Transparency = 0
  4041. a.Shape = "Cylinder"
  4042. a.CanCollide = false
  4043. local a2 = Instance.new("Part",Character)
  4044. a2.Name = "Direction"
  4045. a2.Anchored = true
  4046. a2.BrickColor = bc("Bright yellow")
  4047. a2.Material = "Neon"
  4048. a2.Transparency = 0
  4049. a2.Shape = "Cylinder"
  4050. a2.CanCollide = false
  4051. local b = Instance.new("Part",Character)
  4052. b.Name = "HitDirect"
  4053. b.Anchored = true
  4054. b.BrickColor = bc("Cool yellow")
  4055. b.Material = "Neon"
  4056. b.Transparency = 1
  4057. b.CanCollide = false
  4058. local ray = Ray.new(
  4059. elocacenter.CFrame.p, -- origin
  4060. (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
  4061. )
  4062. local ignore = Character
  4063. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4064. a.BottomSurface = 10
  4065. a.TopSurface = 10
  4066. a2.BottomSurface = 10
  4067. a2.TopSurface = 10
  4068. local distance = (elocacenter.CFrame.p - position).magnitude
  4069. a.Size = Vector3.new(distance, 1, 1)
  4070. a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4071. a2.Size = Vector3.new(distance, 1, 1)
  4072. a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4073. b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4074. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4075. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4076. game:GetService("Debris"):AddItem(a, 10)
  4077. game:GetService("Debris"):AddItem(a2, 10)
  4078. game:GetService("Debris"):AddItem(b, 10)
  4079. local msh = Instance.new("SpecialMesh",a)
  4080. msh.MeshType = "Cylinder"
  4081. msh.Scale = vt(1,2,2)
  4082. local msh2 = Instance.new("SpecialMesh",a2)
  4083. msh2.MeshType = "Cylinder"
  4084. msh2.Scale = vt(1,2.5,2.5)
  4085. CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
  4086. coroutine.resume(coroutine.create(function()
  4087. for i = 0,10,0.1 do
  4088. swait()
  4089. msh.Scale = msh.Scale + vt(0,0.05,0.05)
  4090. a.Transparency = a.Transparency + 0.025
  4091. msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
  4092. a2.Transparency = a2.Transparency + 0.05
  4093. end
  4094. a:Destroy()
  4095. a2:Destroy()
  4096. end))
  4097. CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
  4098. CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
  4099. CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
  4100. CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
  4101. CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
  4102. CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
  4103. MagniDamage(b, 25, 40,65, 0, "Normal")
  4104. for i = 0, 49 do
  4105. 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)
  4106. 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)
  4107. end
  4108. sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
  4109. sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
  4110. sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4111. sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4112. sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4113. sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4114. end))
  4115. game:GetService("Debris"):AddItem(elocacenter, 5)
  4116. hum.WalkSpeed = storehumanoidWS
  4117. attack = false
  4118. end
  4119.  
  4120. function StarDivision()
  4121. attack = true
  4122. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4123. for i = 0, 2, 0.1 do
  4124. swait()
  4125. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  4126. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  4127. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4128. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  4129. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  4130. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  4131. end
  4132. local orb = Instance.new("Part", char)
  4133. orb.BrickColor = MAINRUINCOLOR
  4134. orb.CanCollide = false
  4135. orb.FormFactor = 3
  4136. orb.Name = "Ring"
  4137. orb.Material = "Neon"
  4138. orb.Size = Vector3.new(1, 1, 1)
  4139. orb.Transparency = 0
  4140. orb.TopSurface = 0
  4141. orb.BottomSurface = 0
  4142. local orbm = Instance.new("SpecialMesh", orb)
  4143. orbm.MeshType = "Sphere"
  4144. orbm.Name = "SizeMesh"
  4145. orbm.Scale = vt(2,2,2)
  4146. local a = Instance.new("Part",workspace)
  4147. a.Name = "Direction"
  4148. a.Anchored = true
  4149. a.BrickColor = bc("Bright red")
  4150. a.Material = "Neon"
  4151. a.Transparency = 1
  4152. a.CanCollide = false
  4153. local ray = Ray.new(
  4154. sorb.CFrame.p, -- origin
  4155. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  4156. )
  4157. local ignore = sorb
  4158. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4159. a.BottomSurface = 10
  4160. a.TopSurface = 10
  4161. local distance = (sorb.CFrame.p - position).magnitude
  4162. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4163. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4164. orb.CFrame = a.CFrame
  4165. a:Destroy()
  4166. local bv = Instance.new("BodyVelocity")
  4167. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4168. bv.velocity = orb.CFrame.lookVector*100
  4169. bv.Parent = orb
  4170. local hitted = false
  4171. game:GetService("Debris"):AddItem(orb, 10)
  4172. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  4173. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  4174. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  4175. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  4176. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  4177. coroutine.resume(coroutine.create(function()
  4178. while true do
  4179. swait(1)
  4180. if orb.Parent ~= nil and hitted == false then
  4181. 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)
  4182. elseif orb.Parent == nil then
  4183. break
  4184. end
  4185. end
  4186. end))
  4187. coroutine.resume(coroutine.create(function()
  4188. swait(1)
  4189. orb.Touched:connect(function(hit)
  4190. if hitted == false then
  4191. hitted = true
  4192. game:GetService("Debris"):AddItem(orb, 5)
  4193. orb.Transparency = 1
  4194. orb.Anchored = true
  4195. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4196. elocacenter.Anchored = true
  4197. elocacenter.CFrame = orb.CFrame
  4198. elocacenter.Orientation = vt(0,0,0)
  4199. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4200. eloca1.Anchored = true
  4201. eloca1.CFrame = elocacenter.CFrame
  4202. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4203. eloca2.Anchored = true
  4204. eloca2.CFrame = elocacenter.CFrame
  4205. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4206. eloca3.Anchored = true
  4207. eloca3.CFrame = elocacenter.CFrame
  4208. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4209. eloca4.Anchored = true
  4210. eloca4.CFrame = elocacenter.CFrame
  4211. local lookavec = 0
  4212. local speeds = 0
  4213. CameraEnshaking(1,1)
  4214. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4215. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4216. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4217. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4218. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4219. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4220. for i = 0, 99 do
  4221. swait()
  4222. lookavec = lookavec + 1
  4223. speeds = speeds + 0.1
  4224. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4225. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4226. 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)
  4227.  
  4228. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4229. 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)
  4230.  
  4231. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4232. 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)
  4233.  
  4234. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4235. 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)
  4236. end
  4237.  
  4238. for i = 0, 149 do
  4239. swait()
  4240. speeds = speeds + 0.1
  4241. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4242. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4243. 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)
  4244.  
  4245. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4246. 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)
  4247.  
  4248. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4249. 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)
  4250.  
  4251. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4252. 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)
  4253. end
  4254. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  4255. if v:FindFirstChild('Head') then
  4256. dmg(v)
  4257. end
  4258. end
  4259. CameraEnshaking(7,30)
  4260. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  4261. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  4262. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  4263. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  4264. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4265. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  4266. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  4267. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4268. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4269. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4270. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4271. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4272. for i = 0, 24 do
  4273. 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)
  4274. 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)
  4275. 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)
  4276. 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)
  4277. end
  4278. coroutine.resume(coroutine.create(function()
  4279. for i = 0, 499 do
  4280. swait(1)
  4281. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  4282. 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)
  4283. end
  4284. elocacenter:Destroy()
  4285. eloca1:Destroy()
  4286. eloca2:Destroy()
  4287. eloca3:Destroy()
  4288. eloca4:Destroy()
  4289. end))
  4290. end
  4291. end)
  4292. end))
  4293. attack = false
  4294. end
  4295.  
  4296.  
  4297. function THE_TRUE_POWER_OF_VIOLENCE()
  4298. attack = true
  4299. hum.WalkSpeed = 0
  4300. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 2.5,0.7)
  4301. for i = 0, 10, 0.1 do
  4302. swait()
  4303. 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)
  4304. 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)
  4305. 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)
  4306. 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)
  4307. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  4308. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4309. 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)
  4310. end
  4311. local orb = Instance.new("Part", char)
  4312. orb.BrickColor = MAINRUINCOLOR
  4313. orb.CanCollide = false
  4314. orb.FormFactor = 3
  4315. orb.Name = "Ring"
  4316. orb.Material = "Neon"
  4317. orb.Size = Vector3.new(1, 1, 1)
  4318. orb.Transparency = 0
  4319. orb.TopSurface = 0
  4320. orb.BottomSurface = 0
  4321. orb.CFrame = sorb.CFrame
  4322. local orbm = Instance.new("SpecialMesh", orb)
  4323. orbm.MeshType = "Sphere"
  4324. orbm.Name = "SizeMesh"
  4325. orbm.Scale = vt(0,0,0)
  4326. local sbs = Instance.new("BodyPosition", orb)
  4327. sbs.P = 3000
  4328. sbs.D = 1000
  4329. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4330. sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
  4331. CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
  4332. sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4333. sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4334. sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4335. sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4336. sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4337. for i = 0, 10, 0.1 do
  4338. swait()
  4339. 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)
  4340. 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)
  4341. 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)
  4342. 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)
  4343. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4344. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4345. 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)
  4346. end
  4347. orb.Anchored = true
  4348. local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4349. elocacenter.Anchored = true
  4350. elocacenter.CFrame = orb.CFrame
  4351. elocacenter.Orientation = vt(0,0,0)
  4352. local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4353. eloca1.Anchored = true
  4354. eloca1.CFrame = elocacenter.CFrame
  4355. local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4356. eloca2.Anchored = true
  4357. eloca2.CFrame = elocacenter.CFrame
  4358. local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4359. eloca3.Anchored = true
  4360. eloca3.CFrame = elocacenter.CFrame
  4361. local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4362. eloca4.Anchored = true
  4363. eloca4.CFrame = elocacenter.CFrame
  4364. local lookavec = 0
  4365. local speeds = 0
  4366. CameraEnshaking(1,1)
  4367. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
  4368. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
  4369. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
  4370. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
  4371. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4372. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4373. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4374. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4375. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4376. for i = 0, 99 do
  4377. swait()
  4378. lookavec = lookavec + 2.5
  4379. speeds = speeds + 0.25
  4380. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4381. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4382. 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)
  4383.  
  4384. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4385. 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)
  4386.  
  4387. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4388. 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)
  4389.  
  4390. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4391. 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)
  4392. end
  4393.  
  4394. for i = 0, 149 do
  4395. swait()
  4396. speeds = speeds + 0.25
  4397. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4398. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4399. 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)
  4400.  
  4401. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4402. 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)
  4403.  
  4404. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4405. 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)
  4406.  
  4407. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4408. 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)
  4409. end
  4410. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
  4411. for i = 0, 99 do
  4412. swait()
  4413. lookavec = lookavec - 2.5
  4414. speeds = speeds + 0.25
  4415. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4416. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4417. 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)
  4418.  
  4419. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4420. 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)
  4421.  
  4422. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4423. 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)
  4424.  
  4425. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4426. 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)
  4427. end
  4428. local scaled = 0.1*75
  4429. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
  4430. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
  4431. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
  4432. CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
  4433. CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
  4434. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  4435. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4436. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4437. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4438. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4439. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4440. for i = 0, 10, 0.1 do
  4441. swait()
  4442. scaled = scaled - 0.001*75
  4443. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4444. 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)
  4445. 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)
  4446. 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)
  4447. 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)
  4448. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4449. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4450. 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)
  4451. end
  4452. for x = 0, 4 do
  4453. for i = 0, 9 do
  4454. 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)
  4455. end
  4456. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
  4457. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
  4458. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4459. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4460. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4461. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4462. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4463. for i = 0, 5, 0.1 do
  4464. swait()
  4465. 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)
  4466. 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)
  4467. 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)
  4468. 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)
  4469. 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)
  4470. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  4471. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
  4472. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
  4473. end
  4474. end
  4475. local speedearn = 0
  4476. CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
  4477. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
  4478. CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
  4479. for i = 0, 30, 0.1 do
  4480. swait()
  4481. scaled = scaled - 0.001*75/10
  4482. speedearn = speedearn + 0.5
  4483. for i = 0, 4 do
  4484. 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)
  4485. end
  4486. 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)
  4487. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4488. 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)
  4489. 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)
  4490. 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)
  4491. 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)
  4492. 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)
  4493. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
  4494. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
  4495. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
  4496. end
  4497. orb.Transparency = 1
  4498. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
  4499. if v:FindFirstChild('Head') then
  4500. dmg(v)
  4501. end
  4502. end
  4503. CameraEnshaking(7,30)
  4504. MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
  4505. CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
  4506. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
  4507. CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
  4508. CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
  4509. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4510. CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
  4511. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4512. CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
  4513. CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
  4514. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
  4515. CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
  4516. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
  4517. CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
  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, 99 do
  4524. 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)
  4525. 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)
  4526. end
  4527. for i = 0, 24 do
  4528. 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)
  4529. 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)
  4530. 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)
  4531. 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)
  4532. 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)
  4533. end
  4534. game:GetService("Debris"):AddItem(orb, 10)
  4535. hum.WalkSpeed = storehumanoidWS
  4536. attack = false
  4537. end
  4538.  
  4539.  
  4540. function ViolentRing()
  4541. attack = true
  4542. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
  4543. for i = 0, 2, 0.1 do
  4544. swait()
  4545. local snap = math.random(1,10)
  4546. if snap == 1 then
  4547. 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)
  4548. end
  4549. 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)
  4550. 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)
  4551. 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)
  4552. 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)
  4553. 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)
  4554. 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)
  4555. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
  4556. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
  4557. 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)
  4558. RootPart.CFrame = FaceMouse()[1]
  4559. end
  4560. local orb = Instance.new("Part", char)
  4561. orb.BrickColor = MAINRUINCOLOR
  4562. orb.CanCollide = false
  4563. orb.FormFactor = 3
  4564. orb.Name = "Ring"
  4565. orb.Material = "Neon"
  4566. orb.Size = Vector3.new(1, 1, 1)
  4567. orb.Transparency = 0
  4568. orb.TopSurface = 0
  4569. orb.BottomSurface = 0
  4570. local orbm = Instance.new("SpecialMesh", orb)
  4571. orbm.MeshType = "Sphere"
  4572. orbm.Name = "SizeMesh"
  4573. orbm.Scale = vt(2,2,2)
  4574. orb.CFrame = mouse.Hit
  4575. local bv = Instance.new("BodyVelocity")
  4576. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4577. bv.velocity = orb.CFrame.lookVector*100
  4578. bv.Parent = orb
  4579. local hitted = false
  4580. coroutine.resume(coroutine.create(function()
  4581. game:GetService("Debris"):AddItem(orb, 5)
  4582. orb.Transparency = 1
  4583. orb.Anchored = true
  4584. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4585. elocacenter.Anchored = true
  4586. elocacenter.CFrame = orb.CFrame
  4587. elocacenter.Orientation = vt(0,0,0)
  4588. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4589. eloca1.Anchored = true
  4590. eloca1.CFrame = elocacenter.CFrame
  4591. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4592. eloca2.Anchored = true
  4593. eloca2.CFrame = elocacenter.CFrame
  4594. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4595. eloca3.Anchored = true
  4596. eloca3.CFrame = elocacenter.CFrame
  4597. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4598. eloca4.Anchored = true
  4599. eloca4.CFrame = elocacenter.CFrame
  4600. local lookavec = 0
  4601. local speeds = 0
  4602. CameraEnshaking(1,1)
  4603. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4604. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4605. sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4606. sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4607. sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4608. sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4609. for i = 0, 24 do
  4610. swait()
  4611. lookavec = lookavec + 3.5
  4612. speeds = speeds + 1
  4613. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4614. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4615. 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)
  4616.  
  4617. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4618. 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)
  4619.  
  4620. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4621. 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)
  4622.  
  4623. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4624. 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)
  4625. end
  4626.  
  4627. local risen = 0
  4628. for i = 0, 49 do
  4629. swait()
  4630. risen = risen + 0.05
  4631. speeds = speeds + 0.1
  4632. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4633. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4634. 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)
  4635.  
  4636. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4637. 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)
  4638.  
  4639. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4640. 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)
  4641.  
  4642. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4643. 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)
  4644. end
  4645. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
  4646. if v:FindFirstChild('Head') then
  4647. dmg(v)
  4648. end
  4649. end
  4650. CameraEnshaking(4,10)
  4651. MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
  4652. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
  4653. CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
  4654. CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
  4655. CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
  4656. CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
  4657. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
  4658. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
  4659. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4660. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4661. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4662. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4663. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4664. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
  4665. for i = 0, 24 do
  4666. 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)
  4667. 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)
  4668. 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)
  4669. 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)
  4670. end
  4671. coroutine.resume(coroutine.create(function()
  4672. wait(10)
  4673. elocacenter:Destroy()
  4674. eloca1:Destroy()
  4675. eloca2:Destroy()
  4676. eloca3:Destroy()
  4677. eloca4:Destroy()
  4678. end))
  4679. end))
  4680. attack = false
  4681. end
  4682.  
  4683. function UniversalCollapse()
  4684. attack = true
  4685. local speedearn = 0
  4686. hum.WalkSpeed = 0
  4687. local sbs = Instance.new("BodyPosition", root)
  4688. sbs.P = 3000
  4689. sbs.D = 1000
  4690. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4691. sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
  4692. bosschatfunc("*Roars*",MAINRUINCOLOR.Color,1)
  4693. CFuncs["EchoSound"].Create("rbxassetid://1286168545", char, 1.5, 1,0,10,0.15,0.5,1)
  4694. CFuncs["EchoSound"].Create("rbxassetid://1286168545", root, 10, 1,0,10,0.15,0.5,1)
  4695. CFuncs["LongSound"].Create("rbxassetid://489657591", char, 10, 1)
  4696. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4697. for i = 0, 110, 0.1 do
  4698. swait()
  4699. speedearn = speedearn + 0.1
  4700. 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)
  4701. 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)
  4702. 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)
  4703. 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)
  4704. 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)
  4705. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4706. 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)
  4707. 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)
  4708. 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)
  4709. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4710. 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)
  4711. 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)
  4712. end
  4713. CameraEnshaking(5,50)
  4714. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4715. for i = 0, 2 do
  4716. CFuncs["EchoSound"].Create("rbxassetid://2508407083", char, 4, 1,0,10,0.15,0.5,1)
  4717. CFuncs["EchoSound"].Create("rbxassetid://2508407083", char, 4, 1,0,10,0.15,0.5,1)
  4718. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4719. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4720. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
  4721. CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
  4722. end
  4723. for i = 0, 49 do
  4724. 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)
  4725. 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)
  4726. 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)
  4727. 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)
  4728. end
  4729. sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4730. sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4731. sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4732. sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4733. sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4734. sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4735. sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4736. sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4737. sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4738. sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4739. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4740. sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4741. for i = 0, 99 do
  4742. 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)
  4743. 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)
  4744. end
  4745. for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
  4746. if v:FindFirstChild('Head') then
  4747. dmg(v)
  4748. end
  4749. end
  4750. MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
  4751. sbs:Destroy()
  4752. hum.WalkSpeed = storehumanoidWS
  4753. attack = false
  4754. end
  4755.  
  4756.  
  4757. function ChaosEND()
  4758. attack = true
  4759. local speedearn = 0
  4760. bosschatfunc("SCCUMB TO THE INSANITY...",MAINRUINCOLOR.Color,1)
  4761. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.5)
  4762. for i = 0, 15, 0.1 do
  4763. swait()
  4764. speedearn = speedearn + 0.25
  4765. 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)
  4766. 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)
  4767. 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)
  4768. 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)
  4769. 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)
  4770. 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)
  4771. 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)
  4772. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4773. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4774. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4775. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4776. end
  4777. bosschatfunc("LEAVE THE DEAD WHERE THEY FALL!",MAINRUINCOLOR.Color,1)
  4778. CFuncs["EchoSound"].Create("rbxassetid://907329669", char, 4, 1,0,10,0.15,0.5,1)
  4779. CFuncs["EchoSound"].Create("rbxassetid://907329669", char, 4, 1,0,10,0.15,0.5,1)
  4780. CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
  4781. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4782. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 0.75)
  4783. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 0.5)
  4784. CameraEnshaking(5,25)
  4785. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4786. if v:FindFirstChild('Head') then
  4787. dmg(v)
  4788. end
  4789. end
  4790. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  4791. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  4792. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  4793. for i = 0, 3, 0.1 do
  4794. swait()
  4795. 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)
  4796. 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)
  4797. 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)
  4798. 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)
  4799. 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)
  4800. 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)
  4801. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4802. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4803. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4804. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4805. end
  4806. attack = false
  4807. end
  4808.  
  4809. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4810. local orb = Instance.new("Part", char)
  4811. orb.Anchored = true
  4812. orb.BrickColor = color
  4813. orb.CanCollide = false
  4814. orb.FormFactor = 3
  4815. orb.Name = "Ring"
  4816. orb.Material = "Neon"
  4817. orb.Size = Vector3.new(1, 1, 1)
  4818. orb.Transparency = 0
  4819. orb.TopSurface = 0
  4820. orb.BottomSurface = 0
  4821. local orbm = Instance.new("SpecialMesh", orb)
  4822. orbm.MeshType = "Sphere"
  4823. orb.CFrame = positted
  4824. orbm.Name = "SizeMesh"
  4825. orbm.Scale = vt(1,1,1)
  4826. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  4827. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  4828. --[[for i = 0, 2 do
  4829. 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)
  4830. end]]--
  4831. coroutine.resume(coroutine.create(function()
  4832. wait(timer)
  4833. CameraEnshaking(3,ShakePower)
  4834. orb.Transparency = 1
  4835. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  4836. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  4837. --[[for i = 0, 4 do
  4838. 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)
  4839. end]]--
  4840. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  4841. wait(3)
  4842. orb:Destroy()
  4843. end))
  4844. end
  4845.  
  4846. function orb_spawn(positted,timer)
  4847. local randomcol = math.random(1,2)
  4848. local orb = Instance.new("Part", char)
  4849. orb.Anchored = true
  4850. if randomcol == 1 then
  4851. orb.BrickColor = BrickColor.new("White")
  4852. elseif randomcol == 2 then
  4853. orb.BrickColor = BrickColor.new("Really black")
  4854. end
  4855. orb.CanCollide = false
  4856. orb.FormFactor = 3
  4857. orb.Name = "Ring"
  4858. orb.Material = "Neon"
  4859. orb.Size = Vector3.new(1, 1, 1)
  4860. orb.Transparency = 0
  4861. orb.TopSurface = 0
  4862. orb.BottomSurface = 0
  4863. local orbm = Instance.new("SpecialMesh", orb)
  4864. orbm.MeshType = "Sphere"
  4865. orb.CFrame = positted
  4866. orbm.Name = "SizeMesh"
  4867. orbm.Scale = vt(1,1,1)
  4868. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
  4869. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  4870. for i = 0, 2 do
  4871. 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)
  4872. end
  4873. coroutine.resume(coroutine.create(function()
  4874. wait(timer)
  4875. CameraEnshaking(3,2)
  4876. orb.Transparency = 1
  4877. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  4878. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  4879. for i = 0, 4 do
  4880. 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)
  4881. end
  4882. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
  4883. wait(3)
  4884. orb:Destroy()
  4885. end))
  4886. end
  4887.  
  4888. function scattercorrupt()
  4889. attack = true
  4890. local rot = 0
  4891. local randomrotations = math.random(1,2)
  4892. local lookv = 2.5
  4893. local power = 5
  4894. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  4895. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  4896. for i = 0, 9 do
  4897. 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)
  4898. end
  4899. bosschatfunc("*Laughs*",MAINRUINCOLOR.Color,1)
  4900. CFuncs["EchoSound"].Create("rbxassetid://357202240", char, 1.5, 1,0,10,0.15,0.5,1)
  4901. CFuncs["EchoSound"].Create("rbxassetid://357202240", root, 10, 1,0,10,0.15,0.5,1)
  4902. CFuncs["Sound"].Create("rbxassetid://2508407083", char, 0.5,0.75)
  4903. CFuncs["Sound"].Create("rbxassetid://2508407083", char, 0.5,0.5)
  4904. local hite = Instance.new("Part", char)
  4905. hite.Anchored = true
  4906. hite.CanCollide = false
  4907. hite.FormFactor = 3
  4908. hite.Name = "Ring"
  4909. hite.Material = "Neon"
  4910. hite.Size = Vector3.new(1, 1, 1)
  4911. hite.Transparency = 1
  4912. hite.TopSurface = 0
  4913. hite.BottomSurface = 0
  4914. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  4915. local rem = Instance.new("Part", char)
  4916. rem.Anchored = true
  4917. rem.CanCollide = false
  4918. rem.FormFactor = 3
  4919. rem.Name = "Ring"
  4920. rem.Material = "Neon"
  4921. rem.Size = Vector3.new(1, 1, 1)
  4922. rem.Transparency = 1
  4923. rem.TopSurface = 0
  4924. rem.BottomSurface = 0
  4925. rem.CFrame = hite.CFrame
  4926. local rem2 = rem:Clone()
  4927. rem2.Parent = char
  4928. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4929. local rem3 = rem:Clone()
  4930. rem3.Parent = char
  4931. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4932. local rem4 = rem:Clone()
  4933. rem4.Parent = char
  4934. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4935. hite:Destroy()
  4936. coroutine.resume(coroutine.create(function()
  4937. for i = 0, 24 do
  4938. swait(1)
  4939. if randomrotations == 1 then
  4940. rot = rot + 1
  4941. elseif randomrotations == 2 then
  4942. rot = rot - 1
  4943. end
  4944. power = power + 0.5
  4945. lookv = lookv + 7.5
  4946. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4947. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4948. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4949. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4950. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4951. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4952. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4953. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4954. end
  4955. end))
  4956. attack = false
  4957. end
  4958. function yinyangi()
  4959. attack = true
  4960. for i = 0, 2, 0.1 do
  4961. swait()
  4962. bosschatfunc("YAAAAHHHHHHH!",MAINRUINCOLOR.Color,1)
  4963. CFuncs["EchoSound"].Create("rbxassetid://430315987", root, 1, 1,0,10,0.25,0.25,1)
  4964. CFuncs["EchoSound"].Create("rbxassetid://430315987", root, 1, 1,0,10,0.25,0.25,1)
  4965. 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)
  4966. 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)
  4967. 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)
  4968. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4969. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  4970. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  4971. end
  4972. local bv = Instance.new("BodyVelocity")
  4973. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4974. bv.velocity = root.CFrame.lookVector*175
  4975. bv.Parent = root
  4976. for Rotations = 0, 9 do
  4977. for i = 0, 1, 0.5 do
  4978. swait()
  4979. bv.velocity = root.CFrame.lookVector*175
  4980. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4981. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  4982. 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)
  4983. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4984. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4985. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4986. end
  4987. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4988. for i = 0, 1, 0.5 do
  4989. swait()
  4990. bv.velocity = root.CFrame.lookVector*175
  4991. 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)
  4992. 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)
  4993. 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)
  4994. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4995. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4996. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4997. end
  4998. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4999. for i = 0, 1, 0.5 do
  5000. swait()
  5001. bv.velocity = root.CFrame.lookVector*175
  5002. 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)
  5003. 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)
  5004. 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)
  5005. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5006. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5007. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5008. end
  5009. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5010. for i = 0, 1, 0.5 do
  5011. swait()
  5012. bv.velocity = root.CFrame.lookVector*175
  5013. 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)
  5014. 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)
  5015. 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)
  5016. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5017. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5018. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5019. end
  5020. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5021. end
  5022. bv:Destroy()
  5023. attack = false
  5024. end
  5025.  
  5026. function createBGCircle(size,parent,color)
  5027. local bgui = Instance.new("BillboardGui",parent)
  5028. bgui.Size = UDim2.new(size, 0, size, 0)
  5029. local imgc = Instance.new("ImageLabel",bgui)
  5030. imgc.BackgroundTransparency = 1
  5031. imgc.ImageTransparency = 0
  5032. imgc.Size = UDim2.new(1,0,1,0)
  5033. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  5034. imgc.ImageColor3 = color
  5035. return bgui,imgc
  5036. end
  5037.  
  5038. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  5039. local bgui,imgc = createBGCircle(size,guipar,color)
  5040. bgui.AlwaysOnTop = true
  5041. imgc.Image = "rbxassetid://" ..img
  5042. local rrot = math.random(1,2)
  5043. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  5044. coroutine.resume(coroutine.create(function()
  5045. for i = 0, 24*delay do
  5046. swait()
  5047. if rotationenabled == true then
  5048. if rrot == 1 then
  5049. imgc.Rotation = imgc.Rotation + rotsp
  5050. elseif rrot == 2 then
  5051. imgc.Rotation = imgc.Rotation - rotsp
  5052. end
  5053. end
  5054. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  5055. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  5056. end
  5057. bgui:Destroy()
  5058. end))
  5059. end
  5060. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled)
  5061. for i, v in pairs(mw2:GetChildren()) do
  5062. if v:IsA("Part") then
  5063. v.BrickColor = one
  5064. v.Material = "Neon"
  5065. end
  5066. end
  5067. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  5068. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  5069. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  5070. tr1.Color = ColorSequence.new(one.Color)
  5071. tr2.Color = ColorSequence.new(one.Color)
  5072. tr3.Color = ColorSequence.new(one.Color)
  5073. for i, v in pairs(mw1:GetChildren()) do
  5074. if v:IsA("Part") then
  5075. if secondaryenabled == false then
  5076. v.Transparency = 1
  5077. elseif secondaryenabled == true then
  5078. v.Transparency = 0
  5079. end
  5080. v.BrickColor = two
  5081. v.Material = "Neon"
  5082. end
  5083. end
  5084. if secondaryenabled == false then
  5085. tl1.Enabled = false
  5086. tl2.Enabled = false
  5087. tl3.Enabled = false
  5088. elseif secondaryenabled == true then
  5089. tl1.Enabled = true
  5090. tl2.Enabled = true
  5091. tl3.Enabled = true
  5092. end
  5093. tl1.Color = ColorSequence.new(two.Color)
  5094. tl2.Color = ColorSequence.new(two.Color)
  5095. tl3.Color = ColorSequence.new(two.Color)
  5096. for i, v in pairs(m:GetChildren()) do
  5097. if v:IsA("Part") then
  5098. v.BrickColor = three
  5099. v.Material = "Ice"
  5100. end
  5101. end
  5102. for i, v in pairs(m2:GetChildren()) do
  5103. if v:IsA("Part") then
  5104. v.BrickColor = four
  5105. v.Material = "Ice"
  5106. end
  5107. end
  5108. for i, v in pairs(m3:GetChildren()) do
  5109. if v:IsA("Part") then
  5110. v.BrickColor = five
  5111. v.Material = "Neon"
  5112. end
  5113. end
  5114. for i, v in pairs(extrawingmod1:GetChildren()) do
  5115. if v:IsA("Part") then
  5116. v.Transparency = exonetran
  5117. v.BrickColor = exone
  5118. v.Material = "Neon"
  5119. end
  5120. end
  5121. for i, v in pairs(extrawingmod2:GetChildren()) do
  5122. if v:IsA("Part") then
  5123. v.Transparency = extwotran
  5124. v.BrickColor = extwo
  5125. v.Material = "Neon"
  5126. end
  5127. end
  5128. end
  5129.  
  5130.  
  5131. function normalmog()
  5132. attack = true
  5133. hum.WalkSpeed = 0
  5134. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
  5135. for i = 0,6,0.1 do
  5136. swait()
  5137. 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)
  5138. 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)
  5139. 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)
  5140. 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)
  5141. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5142. 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)
  5143. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5144. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5145. end
  5146. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  5147. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  5148. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  5149. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  5150. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  5151. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  5152. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  5153. rainbowmode = false
  5154. chaosmode = false
  5155. ModeOfGlitch = 1
  5156. storehumanoidWS = 16
  5157. newTheme("rbxassetid://614032233",48.6,1,1.25)
  5158. RecolorTextAndRename("STRESS HYPERION",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  5159. CameraEnshaking(5,2.5)
  5160. MAINRUINCOLOR = BrickColor.new("Really red")
  5161. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5162. for i = 0, 49 do
  5163. 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)
  5164. end
  5165. for i = 0, 24 do
  5166. 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)
  5167. 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"))
  5168. end
  5169. for i = 0,3,0.1 do
  5170. 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)
  5171. end
  5172. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  5173. for i = 0,2,0.1 do
  5174. swait()
  5175. 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)
  5176. 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)
  5177. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  5178. 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)
  5179. 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)
  5180. 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)
  5181. end
  5182. hum.WalkSpeed = storehumanoidWS
  5183. attack = false
  5184. end
  5185.  
  5186. function attackone()
  5187. attack = true
  5188. local keptcolor = MAINRUINCOLOR
  5189. for i = 0,1,0.1 do
  5190. swait()
  5191. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  5192. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  5193. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  5194. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5195. 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)
  5196. 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)
  5197. end
  5198. local distlook = 5
  5199. coroutine.resume(coroutine.create(function()
  5200. for i = 0, 4 do
  5201. swait(2)
  5202. CameraEnshaking(2,3)
  5203. local hite = Instance.new("Part", char)
  5204. hite.Anchored = true
  5205. hite.CanCollide = false
  5206. hite.FormFactor = 3
  5207. hite.Name = "Ring"
  5208. hite.Material = "Neon"
  5209. hite.Size = Vector3.new(1, 1, 1)
  5210. hite.Transparency = 1
  5211. hite.TopSurface = 0
  5212. hite.BottomSurface = 0
  5213. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  5214. 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)
  5215. 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)
  5216. 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)
  5217. 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)
  5218. MagniDamage(hite, 9, 10,25, 0, "Normal")
  5219. for i = 0, 14 do
  5220. local rsiz = math.random(5,20)
  5221. 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)
  5222. end
  5223. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  5224. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  5225. game:GetService("Debris"):AddItem(hite, 5)
  5226. distlook = distlook + 10
  5227. end
  5228. end))
  5229. for i = 0,1,0.1 do
  5230. swait()
  5231. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  5232. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  5233. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  5234. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  5235. 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)
  5236. 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)
  5237. end
  5238. attack = false
  5239. end
  5240.  
  5241. function attacktwo()
  5242. attack = true
  5243. hum.WalkSpeed = 2
  5244. local keptcolor = MAINRUINCOLOR
  5245. bosschatfunc("DIE, DIE, DIE!",MAINRUINCOLOR.Color,1)
  5246. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5247. CFuncs["EchoSound"].Create("rbxassetid://506001681", char, 1.5, 1,0,10,0.15,0.5,1)
  5248. CFuncs["EchoSound"].Create("rbxassetid://506001681", root, 10, 1,0,10,0.15,0.5,1)
  5249. sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  5250. sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.2,0.2,0.2,keptcolor,keptcolor.Color)
  5251. for i = 0, 14 do
  5252. end
  5253. for i = 0,1,0.1 do
  5254. swait()
  5255. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  5256. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.3)
  5257. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.3)
  5258. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  5259. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  5260. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  5261. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5262. end
  5263. for i = 0, 1 do
  5264. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  5265. for i = 0,1,0.6 do
  5266. swait()
  5267. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  5268. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  5269. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  5270. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5271. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5272. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5273. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5274. end
  5275. for i = 0,1,0.6 do
  5276. swait()
  5277. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  5278. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  5279. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  5280. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  5281. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5282. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5283. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5284. end
  5285. for i = 0,1,0.6 do
  5286. swait()
  5287. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  5288. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  5289. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  5290. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  5291. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5292. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5293. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5294. end
  5295. for i = 0,1,0.6 do
  5296. swait()
  5297. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  5298. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  5299. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  5300. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  5301. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5302. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5303. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5304. end
  5305. local rot = 0
  5306. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  5307. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  5308. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  5309. CreateMesh(dis,"Sphere",10,1,10)
  5310. local at1 = Instance.new("Attachment",dis)
  5311. at1.Position = vt(-5,0,0)
  5312. local at2 = Instance.new("Attachment",dis)
  5313. at2.Position = vt(5,0,0)
  5314. local trl = Instance.new('Trail',wed)
  5315. trl.Attachment0 = at1
  5316. trl.Attachment1 = at2
  5317. trl.Texture = "rbxassetid://1049219073"
  5318. trl.LightEmission = 1
  5319. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5320. trl.Color = ColorSequence.new(dis.Color)
  5321. trl.Lifetime = 0.6
  5322. local a = Instance.new("Part",workspace)
  5323. a.Name = "Direction"
  5324. a.Anchored = true
  5325. a.BrickColor = bc("Bright red")
  5326. a.Material = "Neon"
  5327. a.Transparency = 1
  5328. a.CanCollide = false
  5329. local ray = Ray.new(
  5330. dis.CFrame.p, -- origin
  5331. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5332. )
  5333. local ignore = dis
  5334. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5335. a.BottomSurface = 10
  5336. a.TopSurface = 10
  5337. local distance = (dis.CFrame.p - position).magnitude
  5338. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5339. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5340. dis.CFrame = a.CFrame
  5341. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5342. a:Destroy()
  5343. local bv = Instance.new("BodyVelocity")
  5344. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5345. bv.velocity = dis.CFrame.lookVector*250
  5346. bv.Parent = dis
  5347. game:GetService("Debris"):AddItem(dis, 5)
  5348. local hitted = false
  5349. coroutine.resume(coroutine.create(function()
  5350. dis.Touched:connect(function(hit)
  5351. if hitted == false and hit.Parent ~= char then
  5352. hitted = true
  5353. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  5354. MagniDamage(dis, 30, 33,56, 0, "Normal")
  5355. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  5356. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5357. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5358. coroutine.resume(coroutine.create(function()
  5359. for i = 0, 9 do
  5360. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  5361. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5362. local at1 = Instance.new("Attachment",disr)
  5363. at1.Position = vt(-5,0,0)
  5364. local at2 = Instance.new("Attachment",disr)
  5365. at2.Position = vt(5,0,0)
  5366. local trl = Instance.new('Trail',disr)
  5367. trl.Attachment0 = at1
  5368. trl.FaceCamera = true
  5369. trl.Attachment1 = at2
  5370. trl.Texture = "rbxassetid://2342682798"
  5371. trl.LightEmission = 1
  5372. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5373. trl.Color = ColorSequence.new(keptcolor.Color)
  5374. trl.Lifetime = 0.5
  5375. local bv = Instance.new("BodyVelocity")
  5376. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5377. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  5378. bv.Parent = disr
  5379. local val = 0
  5380. coroutine.resume(coroutine.create(function()
  5381. swait(30)
  5382. for i = 0, 9 do
  5383. swait()
  5384. val = val + 0.1
  5385. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5386. end
  5387. game:GetService("Debris"):AddItem(disr, 3)
  5388. end))
  5389. end
  5390. local eff = Instance.new("ParticleEmitter",dis)
  5391. eff.Texture = "rbxassetid://2273224484"
  5392. eff.LightEmission = 1
  5393. eff.Color = ColorSequence.new(keptcolor.Color)
  5394. eff.Rate = 50
  5395. eff.Lifetime = NumberRange.new(0.5,2)
  5396. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5397. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5398. eff.Speed = NumberRange.new(20,250)
  5399. eff.Drag = 5
  5400. eff.Rotation = NumberRange.new(-500,500)
  5401. eff.VelocitySpread = 9000
  5402. eff.RotSpeed = NumberRange.new(-50,50)
  5403. wait(0.25)
  5404. eff.Enabled = false
  5405. end))
  5406. for i = 0, 9 do
  5407. end
  5408. for i = 0, 19 do
  5409. end
  5410. coroutine.resume(coroutine.create(function()
  5411. for i = 0, 19 do
  5412. swait()
  5413. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  5414. end
  5415. hum.CameraOffset = vt(0,0,0)
  5416. end))
  5417. dis.Anchored = true
  5418. dis.Transparency = 1
  5419. wait(8)
  5420. dis:Destroy()
  5421. end
  5422. end)
  5423. end))
  5424. rot = rot - 15
  5425. end
  5426. for i = 0,2,0.1 do
  5427. swait()
  5428. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-30),math.rad(0)),.3)
  5429. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.3)
  5430. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5431. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  5432. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5433. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5434. end
  5435. attack = false
  5436. hum.WalkSpeed = storehumanoidWS
  5437. end
  5438.  
  5439. function attackthree()
  5440. attack = true
  5441. local keptcolor = MAINRUINCOLOR
  5442. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  5443. bosschatfunc("LIGHTNING FLAME DRAGON MODE!",MAINRUINCOLOR.Color,1)
  5444. CFuncs["EchoSound"].Create("rbxassetid://905829513", char, 1.5, 1,0,10,0.15,0.5,1)
  5445. CFuncs["EchoSound"].Create("rbxassetid://905829513", root, 10, 1,0,10,0.15,0.5,1)
  5446. for i = 0,2,0.1 do
  5447. swait()
  5448. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5449. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3)
  5450. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  5451. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3)
  5452. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3)
  5453. 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)
  5454. 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)
  5455. end
  5456. CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
  5457. CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
  5458. CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
  5459. CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
  5460. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  5461. sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR)
  5462. for i = 0, 24 do
  5463. end
  5464. for i = 0,4,0.1 do
  5465. swait()
  5466. root.CFrame = root.CFrame + root.CFrame.lookVector*5
  5467. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  5468. CreateMesh(dis,"Sphere",1,1,1)
  5469. dis.Anchored = true
  5470. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  5471. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  5472. coroutine.resume(coroutine.create(function()
  5473. swait(30)
  5474. dis.Transparency = 1
  5475. coroutine.resume(coroutine.create(function()
  5476. for i = 0, 19 do
  5477. swait()
  5478. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  5479. end
  5480. hum.CameraOffset = vt(0,0,0)
  5481. end))
  5482. coroutine.resume(coroutine.create(function()
  5483. local eff = Instance.new("ParticleEmitter",dis)
  5484. eff.Texture = "rbxassetid://2273224484"
  5485. eff.LightEmission = 1
  5486. eff.Color = ColorSequence.new(dis.Color)
  5487. eff.Rate = 500000
  5488. eff.Lifetime = NumberRange.new(0.5,2)
  5489. 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)})
  5490. 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)})
  5491. eff.Speed = NumberRange.new(50,450)
  5492. eff.Drag = 5
  5493. eff.Rotation = NumberRange.new(-500,500)
  5494. eff.VelocitySpread = 9000
  5495. eff.RotSpeed = NumberRange.new(-50,50)
  5496. wait(0.125)
  5497. eff.Enabled = false
  5498. end))
  5499. MagniDamage(dis, 30, 45,50, 0, "Normal")
  5500. for i = 0, 2 do
  5501. --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)
  5502. end
  5503. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
  5504. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
  5505. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
  5506. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color)
  5507. end))
  5508. game:GetService("Debris"):AddItem(dis, 5)
  5509. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5)
  5510. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5)
  5511. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5)
  5512. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5)
  5513. 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)
  5514. 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)
  5515. end
  5516. attack = false
  5517. end
  5518. ----------------------------------- Abilities
  5519.  
  5520. function ExtinctiveHeartbreak()
  5521. local targetted = nil
  5522. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5523. targetted = mouse.Target.Parent
  5524. end
  5525. if targetted ~= nil then
  5526. attack = true
  5527. bosschatfunc("I AM THE MIGHTIEST!!",MAINRUINCOLOR.Color,1)
  5528. CFuncs["EchoSound"].Create("rbxassetid://357202141", char, 1.5, 1,0,10,0.15,0.5,1)
  5529. CFuncs["EchoSound"].Create("rbxassetid://357202141", root, 10, 1,0,10,0.15,0.5,1)
  5530. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5531. for i = 0, 9 do
  5532. --sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  5533. end
  5534. for i = 0, 24 do
  5535. --
  5536. end
  5537. --sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5538. local originalpos = root.CFrame
  5539. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  5540. for i = 0, 9 do
  5541. --sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  5542. end
  5543. for i = 0, 24 do
  5544. end
  5545. hum.WalkSpeed = 0
  5546. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5547. local radm = math.random(1,3)
  5548. if radm == 1 then
  5549. --bosschatfunc("YOU WON'T BE NECCESSARY.",MAINRUINCOLOR.Color,2)
  5550. elseif radm == 2 then
  5551. --bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
  5552. elseif radm == 3 then
  5553. --bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  5554. end
  5555. for i = 0,2,0.1 do
  5556. swait()
  5557. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-10),math.rad(0)),.4)
  5558. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
  5559. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(80)),.4)
  5560. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5561. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.4)
  5562. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(60)),.4)
  5563. end
  5564. CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
  5565. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
  5566. for i = 0,2,0.1 do
  5567. swait()
  5568. coroutine.resume(coroutine.create(function()
  5569. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5570. for i,v in pairs(targetted:GetChildren()) do
  5571. if v:IsA("Part") or v:IsA("MeshPart") then
  5572. v.Velocity = vt(0,0,0)
  5573. end
  5574. end
  5575. end))
  5576. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
  5577. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.8)
  5578. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  5579. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  5580. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5581. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(-80)),.8)
  5582. end
  5583. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1)
  5584. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1)
  5585. for i = 0, 1 do
  5586. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1)
  5587. end
  5588. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
  5589. --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  5590. for i = 0,4,0.1 do
  5591. swait()
  5592. coroutine.resume(coroutine.create(function()
  5593. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5594. dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5595. local at1 = Instance.new("Attachment",dis)
  5596. at1.Position = vt(-25000,0,0)
  5597. local at2 = Instance.new("Attachment",dis)
  5598. at2.Position = vt(25000,0,0)
  5599. local trl = Instance.new('Trail',dis)
  5600. trl.Attachment0 = at1
  5601. trl.FaceCamera = true
  5602. trl.Attachment1 = at2
  5603. trl.Texture = "rbxassetid://1049219073"
  5604. trl.LightEmission = 1
  5605. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5606. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  5607. trl.Lifetime = 5
  5608. local bv = Instance.new("BodyVelocity")
  5609. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5610. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5611. bv.Parent = dis
  5612. game:GetService("Debris"):AddItem(dis, 5)
  5613. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5614. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  5615. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  5616. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  5617. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  5618. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  5619. sphere2(5,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(3,3,3),-0.03,15,-0.03,MAINRUINCOLOR)
  5620. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  5621. for i = 0, 2 do
  5622. --slash(5,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,350)/250,BrickColor.new("Crimson"))
  5623. end
  5624. symbolizeBlink(targetted.Head,0,2092248396,Color3.new(1,0,0),math.random(3,35),0,0,0,targetted.Head,true,math.random(3,9),0.25)
  5625. for i,v in pairs(targetted:GetChildren()) do
  5626. if v:IsA("Part") or v:IsA("MeshPart") then
  5627. v.Velocity = vt(0,0,0)
  5628. end
  5629. end
  5630. end))
  5631. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  5632. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
  5633. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.8)
  5634. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  5635. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  5636. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(40)),.8)
  5637. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(170),math.rad(0),math.rad(-30)),.8)
  5638. end
  5639. hum.CameraOffset = vt(0,0,0)
  5640. for i = 0, 49 do
  5641. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5642. dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5643. local at1 = Instance.new("Attachment",dis)
  5644. at1.Position = vt(-50000,0,0)
  5645. local at2 = Instance.new("Attachment",dis)
  5646. at2.Position = vt(50000,0,0)
  5647. local trl = Instance.new('Trail',dis)
  5648. trl.Attachment0 = at1
  5649. trl.FaceCamera = true
  5650. trl.Attachment1 = at2
  5651. trl.Texture = "rbxassetid://1049219073"
  5652. trl.LightEmission = 1
  5653. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5654. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  5655. trl.Lifetime = 5
  5656. local bv = Instance.new("BodyVelocity")
  5657. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5658. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5659. bv.Parent = dis
  5660. game:GetService("Debris"):AddItem(dis, 5)
  5661. end
  5662. for i = 0, 49 do
  5663. sphere2(math.random(10,75)/10,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,5,5),-0.05,50,-0.05,MAINRUINCOLOR)
  5664. --slash(math.random(10,30)/15,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(40,500)/250,BrickColor.new("Really red"))
  5665. end
  5666. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  5667. for i = 0, 1 do
  5668. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  5669. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  5670. end
  5671. for i = 0, 4 do
  5672. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  5673. end
  5674. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  5675. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  5676. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  5677. dmg(targetted)
  5678. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5679. for i = 0, 9 do
  5680. --sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  5681. end
  5682. for i = 0, 24 do
  5683. end
  5684. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5685. root.CFrame = originalpos
  5686. for i = 0, 9 do
  5687. --sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  5688. end
  5689. for i = 0, 24 do
  5690. end
  5691. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5692. attack = false
  5693. hum.WalkSpeed = storehumanoidWS
  5694. end
  5695. end
  5696.  
  5697. function CorruptionEvent()
  5698. attack = true
  5699. hum.WalkSpeed = 0
  5700. bosschatfunc("I'LL CRUSH YOU!",MAINRUINCOLOR.Color,1)
  5701. CFuncs["EchoSound"].Create("rbxassetid://358080519", char, 1.5, 1,0,10,0.15,0.5,1)
  5702. CFuncs["EchoSound"].Create("rbxassetid://358080519", root, 10, 1,0,10,0.15,0.5,1)
  5703. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5704. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5705. local keptcolor = MAINRUINCOLOR
  5706. for i = 0,4,0.1 do
  5707. swait()
  5708. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5709. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5710. RH.C0=clerp(RH.C0,cf(1,-0.15,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5),math.rad(-20)),.1)
  5711. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.1)
  5712. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  5713. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  5714. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  5715. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5716. end
  5717. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5718. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  5719. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  5720. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5721. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5722. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5723. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  5724. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  5725. hum.CameraOffset = vt(0,0,0)
  5726. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5727. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5728. for i = 0, 24 do
  5729. --slash(math.random(15,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.new("Really black"))
  5730. end
  5731. local rrot = 0
  5732. coroutine.resume(coroutine.create(function()
  5733. for i = 0, 4 do
  5734. rrot = rrot + 45
  5735. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5736. xa.Anchored = true
  5737. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5738. xb.Anchored = true
  5739. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5740. xc.Anchored = true
  5741. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5742. xd.Anchored = true
  5743. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  5744. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  5745. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  5746. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  5747. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  5748. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  5749. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  5750. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  5751. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  5752. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  5753. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  5754. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  5755. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  5756. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  5757. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  5758. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  5759. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5760. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5761. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5762. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5763. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5764. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5765. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5766. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5767. sphere2(2,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
  5768. sphere2(2,"Add",xb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
  5769. sphere2(2,"Add",xc.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
  5770. sphere2(2,"Add",xd.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
  5771. sphere2(4,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
  5772. sphere2(4,"Add",xb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
  5773. sphere2(4,"Add",xc.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
  5774. sphere2(4,"Add",xd.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
  5775. game:GetService("Debris"):AddItem(xa, 5)
  5776. game:GetService("Debris"):AddItem(xb, 5)
  5777. game:GetService("Debris"):AddItem(xc, 5)
  5778. game:GetService("Debris"):AddItem(xd, 5)
  5779. coroutine.resume(coroutine.create(function()
  5780. for i = 0, 19 do
  5781. swait()
  5782. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5783. end
  5784. hum.CameraOffset = vt(0,0,0)
  5785. end))
  5786. swait(9)
  5787. end
  5788. end))
  5789. for i = 0,2,0.1 do
  5790. swait()
  5791. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(10)),.8)
  5792. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(10)),.8)
  5793. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  5794. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  5795. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  5796. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5797. end
  5798. attack = false
  5799. hum.WalkSpeed = storehumanoidWS
  5800. end
  5801.  
  5802. function EndGROUND()
  5803. attack = true
  5804. hum.WalkSpeed = 0
  5805. bosschatfunc("IS THAT YOUR BEST!",MAINRUINCOLOR.Color,1)
  5806. --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5807. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5808. CFuncs["EchoSound"].Create("rbxassetid://357202032", char, 1.5, 1,0,10,0.15,0.5,1)
  5809. CFuncs["EchoSound"].Create("rbxassetid://357202032", root, 10, 1,0,10,0.15,0.5,1)
  5810. local keptcolor = MAINRUINCOLOR
  5811. for i = 0,4,0.1 do
  5812. swait()
  5813. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5814. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5815. --slash(math.random(25,50)/10,5,true,"Round","Add","Out",rarm.CFrame*CFrame.new(0,-6,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.01,0.1),-0.1,BrickColor.new("Really black"))
  5816. RH.C0=clerp(RH.C0,cf(1,-0.15,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-15),math.rad(-20)),.1)
  5817. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.1)
  5818. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  5819. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  5820. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  5821. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5822. end
  5823. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5824. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5825. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5826. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5827. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  5828. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  5829. coroutine.resume(coroutine.create(function()
  5830. local shval = 10
  5831. for i = 0, 99 do
  5832. swait()
  5833. shval = shval - 0.1
  5834. hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  5835. end
  5836. hum.CameraOffset = vt(0,0,0)
  5837. end))
  5838. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5839. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5840. for i = 0, 24 do
  5841. --slash(math.random(15,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.new("Really black"))
  5842. end
  5843. local rrot = 0
  5844. local xam = 1
  5845. coroutine.resume(coroutine.create(function()
  5846. for i = 0, 14 do
  5847. --swait()
  5848. rrot = rrot + 40*xam
  5849. xam = xam + 0.25
  5850. local bonus = xam
  5851. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  5852. xa.Anchored = true
  5853. xa.Color = Color3.new(0,0,0)
  5854. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  5855. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  5856. local xc = 0
  5857. coroutine.resume(coroutine.create(function()
  5858. for i = 0, 99 do
  5859. swait()
  5860. xc = xc + 0.01
  5861. xa.Color = Color3.new(xc,0,0)
  5862. end
  5863. xa.Transparency = 1
  5864. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  5865. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  5866. for i = 0, 9 do
  5867. --slash(math.random(15,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01*bonus,0.01,0.01*bonus),math.random(50,125)/250*bonus,BrickColor.new("Really black"))
  5868. end
  5869. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30*bonus,30*bonus,30*bonus),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5870. sphere2(2,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25*bonus,1,25*bonus),0.05*bonus,1.5*bonus,0.05*bonus,keptcolor,keptcolor.Color)
  5871. sphere2(4,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30*bonus,1,30*bonus),0.05*bonus,1.5*bonus,0.05*bonus,BrickColor.new("Really black"),Color3.new(0,0,0))
  5872. game:GetService("Debris"):AddItem(xa, 5)
  5873. coroutine.resume(coroutine.create(function()
  5874. for i = 0, 19 do
  5875. swait()
  5876. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5877. end
  5878. hum.CameraOffset = vt(0,0,0)
  5879. end))
  5880. end))
  5881. end
  5882. end))
  5883. for i = 0,2,0.1 do
  5884. swait()
  5885. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-25),math.rad(30)),.8)
  5886. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.8)
  5887. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  5888. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  5889. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  5890. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5891. end
  5892. attack = false
  5893. hum.WalkSpeed = storehumanoidWS
  5894. end
  5895.  
  5896. function HeavenlyDisk()
  5897. attack = true
  5898. hum.WalkSpeed = 2
  5899. local keptcolor = MAINRUINCOLOR
  5900. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5901. CFuncs["EchoSound"].Create("rbxassetid://358080470", root, 4, 1,0,10,0.15,0.5,1)
  5902. CFuncs["EchoSound"].Create("rbxassetid://358080470", root, 4, 1,0,10,0.15,0.5,1)
  5903. local radm = math.random(1,3)
  5904. if radm == 1 then
  5905. bosschatfunc("DIE!",MAINRUINCOLOR.Color,1)
  5906. elseif radm == 2 then
  5907. bosschatfunc("WHY WON'T YOU DIE!!!!",MAINRUINCOLOR.Color,1)
  5908. elseif radm == 3 then
  5909. bosschatfunc("FREAKING DIE ALREADY!",MAINRUINCOLOR.Color,1)
  5910. end
  5911. for i = 0, 14 do
  5912. --
  5913. end
  5914. for i = 0,2,0.1 do
  5915. swait()
  5916. 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)
  5917. 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)
  5918. 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)
  5919. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5920. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  5921. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  5922. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5923. end
  5924. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  5925. for i = 0,1,0.6 do
  5926. swait()
  5927. 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)
  5928. --slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  5929. 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)
  5930. 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)
  5931. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5932. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5933. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5934. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5935. end
  5936. for i = 0,1,0.6 do
  5937. swait()
  5938. 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)
  5939. --slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  5940. 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)
  5941. 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)
  5942. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  5943. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5944. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5945. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5946. end
  5947. for i = 0,1,0.6 do
  5948. swait()
  5949. 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)
  5950. --slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  5951. 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)
  5952. 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)
  5953. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  5954. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5955. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5956. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5957. end
  5958. for i = 0,1,0.6 do
  5959. swait()
  5960. 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)
  5961. --slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  5962. 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)
  5963. 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)
  5964. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  5965. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5966. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5967. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5968. end
  5969. local rot = 15
  5970. for i = 0, 2 do
  5971. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
  5972. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  5973. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  5974. CreateMesh(dis,"Sphere",10,1,10)
  5975. local at1 = Instance.new("Attachment",dis)
  5976. at1.Position = vt(-5,0,0)
  5977. local at2 = Instance.new("Attachment",dis)
  5978. at2.Position = vt(5,0,0)
  5979. local trl = Instance.new('Trail',wed)
  5980. trl.Attachment0 = at1
  5981. trl.Attachment1 = at2
  5982. trl.Texture = "rbxassetid://1049219073"
  5983. trl.LightEmission = 1
  5984. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5985. trl.Color = ColorSequence.new(dis.Color)
  5986. trl.Lifetime = 0.6
  5987. local a = Instance.new("Part",workspace)
  5988. a.Name = "Direction"
  5989. a.Anchored = true
  5990. a.BrickColor = bc("Bright red")
  5991. a.Material = "Neon"
  5992. a.Transparency = 1
  5993. a.CanCollide = false
  5994. local ray = Ray.new(
  5995. dis.CFrame.p, -- origin
  5996. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5997. )
  5998. local ignore = dis
  5999. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6000. a.BottomSurface = 10
  6001. a.TopSurface = 10
  6002. local distance = (dis.CFrame.p - position).magnitude
  6003. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6004. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6005. dis.CFrame = a.CFrame
  6006. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  6007. a:Destroy()
  6008. local bv = Instance.new("BodyVelocity")
  6009. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6010. bv.velocity = dis.CFrame.lookVector*250
  6011. bv.Parent = dis
  6012. game:GetService("Debris"):AddItem(dis, 5)
  6013. local hitted = false
  6014. coroutine.resume(coroutine.create(function()
  6015. dis.Touched:connect(function(hit)
  6016. if hitted == false and hit.Parent ~= char then
  6017. hitted = true
  6018. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  6019. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  6020. --sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  6021. --sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  6022. --sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  6023. coroutine.resume(coroutine.create(function()
  6024. for i = 0, 9 do
  6025. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6026. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6027. local at1 = Instance.new("Attachment",disr)
  6028. at1.Position = vt(-2,0,0)
  6029. local at2 = Instance.new("Attachment",disr)
  6030. at2.Position = vt(2,0,0)
  6031. local trl = Instance.new('Trail',disr)
  6032. trl.Attachment0 = at1
  6033. trl.FaceCamera = true
  6034. trl.Attachment1 = at2
  6035. trl.Texture = "rbxassetid://2342682798"
  6036. trl.LightEmission = 1
  6037. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6038. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6039. trl.Lifetime = 0.5
  6040. local bv = Instance.new("BodyVelocity")
  6041. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6042. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  6043. bv.Parent = disr
  6044. local val = 0
  6045. coroutine.resume(coroutine.create(function()
  6046. swait(30)
  6047. for i = 0, 9 do
  6048. swait()
  6049. val = val + 0.1
  6050. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6051. end
  6052. game:GetService("Debris"):AddItem(disr, 3)
  6053. end))
  6054. end
  6055. local eff = Instance.new("ParticleEmitter",dis)
  6056. eff.Texture = "rbxassetid://2273224484"
  6057. eff.LightEmission = 1
  6058. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6059. eff.Rate = 500000
  6060. eff.Lifetime = NumberRange.new(0.5,2)
  6061. 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)})
  6062. 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)})
  6063. eff.Speed = NumberRange.new(20,250)
  6064. eff.Drag = 5
  6065. eff.Rotation = NumberRange.new(-500,500)
  6066. eff.VelocitySpread = 9000
  6067. eff.RotSpeed = NumberRange.new(-50,50)
  6068. wait(0.25)
  6069. eff.Enabled = false
  6070. end))
  6071. for i = 0, 9 do
  6072. --slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White"))
  6073. end
  6074. for i = 0, 19 do
  6075. --
  6076. end
  6077. coroutine.resume(coroutine.create(function()
  6078. for i = 0, 19 do
  6079. swait()
  6080. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6081. end
  6082. hum.CameraOffset = vt(0,0,0)
  6083. end))
  6084. dis.Anchored = true
  6085. dis.Transparency = 1
  6086. wait(8)
  6087. dis:Destroy()
  6088. end
  6089. end)
  6090. end))
  6091. rot = rot - 15
  6092. end
  6093. for i = 0,2,0.1 do
  6094. swait()
  6095. 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)
  6096. 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)
  6097. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  6098. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  6099. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6100. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6101. end
  6102. attack = false
  6103. hum.WalkSpeed = storehumanoidWS
  6104. end
  6105.  
  6106. function RapidBurst()
  6107. attack = true
  6108. hum.WalkSpeed = 0
  6109. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  6110. CFuncs["Sound"].Create("rbxassetid://1097266621", root, 10, 0.5)
  6111. CFuncs["EchoSound"].Create("rbxassetid://358080470", char, 4, 1,0,10,0.15,0.5,1)
  6112. bosschatfunc("DIE!!",MAINRUINCOLOR.Color,2)
  6113. local keptcolor = MAINRUINCOLOR
  6114. for i = 0,8,0.1 do
  6115. swait()
  6116. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6117. --slash(math.random(25,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,25,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,0.01,2),-2,BrickColor.random())
  6118. block(10,"Add",root.CFrame*CFrame.new(0,25,0),vt(0,0,0),0.5,0.5,0.5,BrickColor.random(),BrickColor.random().Color)
  6119. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-15 - 2 * math.cos(sine / 32))),.1)
  6120. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 2 * math.cos(sine / 32))),.1)
  6121. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.15 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(-15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  6122. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  6123. RW.C0=clerp(RW.C0,cf(1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-10 + 3 * math.cos(sine / 45))),.1)
  6124. LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(13 - 3 * math.cos(sine / 45))),.1)
  6125. end
  6126. for i = 0, 99 do
  6127. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6128. 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)))
  6129. local at1 = Instance.new("Attachment",dis)
  6130. at1.Position = vt(-25000,0,0)
  6131. local at2 = Instance.new("Attachment",dis)
  6132. at2.Position = vt(25000,0,0)
  6133. local trl = Instance.new('Trail',dis)
  6134. trl.Attachment0 = at1
  6135. trl.FaceCamera = true
  6136. trl.Attachment1 = at2
  6137. trl.Texture = "rbxassetid://1049219073"
  6138. trl.LightEmission = 1
  6139. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6140. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6141. trl.Lifetime = 5
  6142. local bv = Instance.new("BodyVelocity")
  6143. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6144. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6145. bv.Parent = dis
  6146. game:GetService("Debris"):AddItem(dis, 5)
  6147. end
  6148. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6149. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6150. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6151. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6152. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6153. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6154. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6155. CFuncs["Sound"].Create("rbxassetid://2362924591", root, 10,1)
  6156. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6157. CFuncs["Sound"].Create("rbxassetid://1475585844", char, 5,1)
  6158. hum.CameraOffset = vt(0,0,0)
  6159. for i = 0, 24 do
  6160. --slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(500,1500)/250,BrickColor.random())
  6161. end
  6162. local distam = 0
  6163. coroutine.resume(coroutine.create(function()
  6164. for i = 0, 99 do
  6165. wait()
  6166. distam = distam + 1
  6167. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6168. xa.Anchored = true
  6169. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  6170. game:GetService("Debris"):AddItem(xa, 5)
  6171. for i = 0, 4 do
  6172. --slash(math.random(25,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.random())
  6173. end
  6174. coroutine.resume(coroutine.create(function()
  6175. local eff = Instance.new("ParticleEmitter",xa)
  6176. eff.Texture = "rbxassetid://2273224484"
  6177. eff.LightEmission = 1
  6178. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6179. eff.Rate = 500000
  6180. eff.Lifetime = NumberRange.new(1,3)
  6181. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  6182. 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)})
  6183. eff.Speed = NumberRange.new(50,500)
  6184. eff.Drag = 5
  6185. eff.Rotation = NumberRange.new(-500,500)
  6186. eff.VelocitySpread = 9000
  6187. eff.RotSpeed = NumberRange.new(-50,50)
  6188. wait(0.25)
  6189. eff.Enabled = false
  6190. end))
  6191. coroutine.resume(coroutine.create(function()
  6192. for i = 0, 19 do
  6193. swait()
  6194. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  6195. end
  6196. hum.CameraOffset = vt(0,0,0)
  6197. end))
  6198. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6199. --sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6200. --sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6201. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6202. end
  6203. end))
  6204. attack = false
  6205. hum.WalkSpeed = storehumanoidWS
  6206. end
  6207.  
  6208.  
  6209. function FallenOrbs()
  6210. attack = true
  6211. hum.WalkSpeed = 2
  6212. local keptcolor = MAINRUINCOLOR
  6213. CFuncs["EchoSound"].Create("rbxassetid://358080470", char, 1.5, 1,0,10,0.15,0.5,1)
  6214. CFuncs["EchoSound"].Create("rbxassetid://358080470", root, 10, 1,0,10,0.15,0.5,1)
  6215. local radm = math.random(1,3)
  6216. if radm == 1 then
  6217. bosschatfunc("DIE!",MAINRUINCOLOR.Color,1)
  6218. elseif radm == 2 then
  6219. bosschatfunc("WHY WON'T YOU DIE!!!!",MAINRUINCOLOR.Color,1)
  6220. elseif radm == 3 then
  6221. bosschatfunc("FREAKING DIE ALREADY!!",MAINRUINCOLOR.Color,1)
  6222. end
  6223. coroutine.resume(coroutine.create(function()
  6224. for i = 0, 29 do
  6225. swait(2)
  6226. local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
  6227. dis.Anchored = true
  6228. CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  6229. dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35))
  6230. CreateMesh(dis,"Sphere",2,2,2)
  6231. --sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  6232. --slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(10,50)/250,BrickColor.new("White"))
  6233. coroutine.resume(coroutine.create(function()
  6234. wait(0.5)
  6235. dis.Anchored = false
  6236. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 5, 1,0,2,0.15,0.1,1)
  6237. local at1 = Instance.new("Attachment",dis)
  6238. at1.Position = vt(-1,0,0)
  6239. local at2 = Instance.new("Attachment",dis)
  6240. at2.Position = vt(1,0,0)
  6241. local trl = Instance.new('Trail',dis)
  6242. trl.Attachment0 = at1
  6243. trl.FaceCamera = true
  6244. trl.Attachment1 = at2
  6245. trl.Texture = "rbxassetid://1049219073"
  6246. trl.LightEmission = 1
  6247. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6248. trl.Color = ColorSequence.new(dis.Color)
  6249. trl.Lifetime = 0.6
  6250. local a = Instance.new("Part",workspace)
  6251. a.Name = "Direction"
  6252. a.Anchored = true
  6253. a.BrickColor = bc("Bright red")
  6254. a.Material = "Neon"
  6255. a.Transparency = 1
  6256. a.CanCollide = false
  6257. local ray = Ray.new(
  6258. dis.CFrame.p, -- origin
  6259. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6260. )
  6261. local ignore = dis
  6262. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6263. a.BottomSurface = 10
  6264. a.TopSurface = 10
  6265. local distance = (dis.CFrame.p - position).magnitude
  6266. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6267. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6268. dis.CFrame = a.CFrame
  6269. a:Destroy()
  6270. local bv = Instance.new("BodyVelocity")
  6271. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6272. bv.velocity = dis.CFrame.lookVector*500
  6273. bv.Parent = dis
  6274. game:GetService("Debris"):AddItem(dis, 5)
  6275. local hitted = false
  6276. coroutine.resume(coroutine.create(function()
  6277. dis.Touched:connect(function(hit)
  6278. if hitted == false and hit.Parent ~= char then
  6279. hitted = true
  6280. CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 2.5, 0.8,0,10,0.15,0.5,1)
  6281. MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  6282. --sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color)
  6283. --sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  6284. coroutine.resume(coroutine.create(function()
  6285. for i = 0, 4 do
  6286. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6287. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6288. local at1 = Instance.new("Attachment",disr)
  6289. at1.Position = vt(-10,0,0)
  6290. local at2 = Instance.new("Attachment",disr)
  6291. at2.Position = vt(10,0,0)
  6292. local trl = Instance.new('Trail',disr)
  6293. trl.Attachment0 = at1
  6294. trl.FaceCamera = true
  6295. trl.Attachment1 = at2
  6296. trl.Texture = "rbxassetid://2342682798"
  6297. trl.LightEmission = 1
  6298. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6299. trl.Color = ColorSequence.new(disr.Color)
  6300. trl.Lifetime = 0.5
  6301. local bv = Instance.new("BodyVelocity")
  6302. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6303. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  6304. bv.Parent = disr
  6305. local val = 0
  6306. coroutine.resume(coroutine.create(function()
  6307. swait(30)
  6308. for i = 0, 9 do
  6309. swait()
  6310. val = val + 0.1
  6311. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6312. end
  6313. game:GetService("Debris"):AddItem(disr, 3)
  6314. end))
  6315. end
  6316. local eff = Instance.new("ParticleEmitter",dis)
  6317. eff.Texture = "rbxassetid://2273224484"
  6318. eff.LightEmission = 1
  6319. eff.Color = ColorSequence.new(dis.Color)
  6320. eff.Rate = 500000
  6321. eff.Lifetime = NumberRange.new(0.5,2)
  6322. 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)})
  6323. 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)})
  6324. eff.Speed = NumberRange.new(20,250)
  6325. eff.Drag = 5
  6326. eff.Rotation = NumberRange.new(-500,500)
  6327. eff.VelocitySpread = 9000
  6328. eff.RotSpeed = NumberRange.new(-50,50)
  6329. wait(0.5)
  6330. eff.Enabled = false
  6331. end))
  6332. for i = 0, 4 do
  6333. --slash(math.random(20,50)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White"))
  6334. end
  6335. coroutine.resume(coroutine.create(function()
  6336. for i = 0, 19 do
  6337. swait()
  6338. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6339. end
  6340. hum.CameraOffset = vt(0,0,0)
  6341. end))
  6342. dis.Anchored = true
  6343. dis.Transparency = 1
  6344. wait(8)
  6345. dis:Destroy()
  6346. end
  6347. end)
  6348. end))
  6349. end))
  6350. end
  6351. end))
  6352. for i = 0,9,0.1 do
  6353. swait()
  6354. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6355. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.3)
  6356. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.3)
  6357. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(90)),.3)
  6358. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(-15 + 1 * math.cos(sine / 58)),math.rad(-90 + 2 * math.cos(sine / 53))),.3)
  6359. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(90 + 2 * math.cos(sine / 45))),.3)
  6360. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(8 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-9 - 4 * math.cos(sine / 45))),.3)
  6361. end
  6362. attack = false
  6363. hum.WalkSpeed = storehumanoidWS
  6364. end
  6365.  
  6366. function Taunt()
  6367. ATTACK = true
  6368. local LAUGH = nil
  6369. coroutine.resume(coroutine.create(function()
  6370. repeat
  6371. Swait()
  6372. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  6373. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  6374. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  6375. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(6), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  6376. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6377. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6378. until LAUGH ~= nil
  6379. repeat
  6380. Swait()
  6381. LAUGH.Parent = Head
  6382. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  6383. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  6384. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(180), RAD(10), RAD(-15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6385. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(6), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  6386. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6387. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6388. until LAUGH.Playing == false
  6389. ATTACK = false
  6390. end))
  6391. wait(0.1)
  6392. LAUGH = CreateSound(300208779, Head, 10, 1, false)
  6393. sick:Resume()
  6394. end
  6395.  
  6396. function Shell()
  6397. ATTACK = true
  6398. Rooted = false
  6399. local GYRO = IT("BodyGyro",RootPart)
  6400. GYRO.D = 750
  6401. GYRO.P = 20000
  6402. GYRO.MaxTorque = VT(0,40000000,0)
  6403. for i=0, 1, 0.1 / Animation_Speed do
  6404. Swait()
  6405. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  6406. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6407. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6408. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6409. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6410. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6411. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6412. end
  6413. GYRO:remove()
  6414. CreateSound(696483710, Gun, 5, 1, false)
  6415. local AIMHIT,AIMPOS,NORMAL = BulletDetection(Gun.Position,Mouse.Hit.p)
  6416. SpawnTrail(Gun.CFrame*CF(1.5,0.5,0).p,AIMPOS)
  6417. WACKYEFFECT({Time = 3, EffectType = "Sphere", Size = VT(1,0.3,0.3), Size2 = VT(1,0,0), Transparency = 0, Transparency2 = 1, CFrame = Gun.CFrame*CF(1.5,0.5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  6418. for i=0, 0.3, 0.1 / Animation_Speed do
  6419. Swait()
  6420. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6421. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6422. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(110), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6423. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6424. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6425. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6426. end
  6427. ATTACK = false
  6428. Rooted = false
  6429. end
  6430.  
  6431. function EquinoxOrbs()
  6432. hum.WalkSpeed = 0
  6433. attack = true
  6434. for i = 0,1,0.1 do
  6435. swait()
  6436. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20)),.2)
  6437. 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)
  6438. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6439. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6440. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  6441. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  6442. end
  6443. --sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  6444. --sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  6445. for i = 0, 24 do
  6446. --slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),math.rad(0)),vt(0.01,0.01,0.01),math.random(100,400)/250,BrickColor.new("White"))
  6447. end
  6448. bosschatfunc("TAKE THIS!",MAINRUINCOLOR.Color,1)
  6449. CFuncs["EchoSound"].Create("rbxassetid://313205954", char, 4, 1,0,10,0.15,0.5,1)
  6450. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  6451. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  6452. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  6453. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  6454. for i = 0,4,0.1 do
  6455. swait()
  6456. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  6457. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  6458. CreateMesh(dis,"Sphere",1,1,1)
  6459. dis.Anchored = true
  6460. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  6461. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
  6462. CreateMesh(dis2,"Sphere",1,1,1)
  6463. dis2.Anchored = true
  6464. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  6465. --sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  6466. --sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  6467. coroutine.resume(coroutine.create(function()
  6468. swait(60)
  6469. dis.Transparency = 1
  6470. dis2.Transparency = 1
  6471. coroutine.resume(coroutine.create(function()
  6472. for i = 0, 19 do
  6473. swait()
  6474. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  6475. end
  6476. hum.CameraOffset = vt(0,0,0)
  6477. end))
  6478. coroutine.resume(coroutine.create(function()
  6479. local eff = Instance.new("ParticleEmitter",dis)
  6480. eff.Texture = "rbxassetid://2273224484"
  6481. eff.LightEmission = 1
  6482. eff.Color = ColorSequence.new(dis.Color)
  6483. eff.Rate = 500000
  6484. eff.Lifetime = NumberRange.new(0.5,2)
  6485. 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)})
  6486. 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)})
  6487. eff.Speed = NumberRange.new(50,450)
  6488. eff.Drag = 5
  6489. eff.Rotation = NumberRange.new(-500,500)
  6490. eff.VelocitySpread = 9000
  6491. eff.RotSpeed = NumberRange.new(-50,50)
  6492. local eff2 = eff:Clone()
  6493. eff2.Parent = dis2
  6494. eff2.LightEmission = 0
  6495. eff2.Color = ColorSequence.new(dis2.Color)
  6496. wait(0.25)
  6497. eff.Enabled = false
  6498. eff2.Enabled = false
  6499. end))
  6500. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  6501. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  6502. CFuncs["EchoSound"].Create("rbxassetid://165970126", char, 4, 1,0,10,0.15,0.5,1)
  6503. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  6504. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  6505. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  6506. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  6507. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  6508. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  6509. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  6510. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  6511. end))
  6512. game:GetService("Debris"):AddItem(dis, 5)
  6513. game:GetService("Debris"):AddItem(dis2, 5)
  6514. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20)),.2)
  6515. 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)
  6516. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6517. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6518. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  6519. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  6520. end
  6521. attack = false
  6522. hum.WalkSpeed = storehumanoidWS
  6523. end
  6524. function FallenDEMISE()
  6525. attack = true
  6526. hum.WalkSpeed = 0
  6527. local keptcolor = MAINRUINCOLOR
  6528. --bosschatfunc("ALL OF YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,3)
  6529. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  6530. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  6531. for i = 0, 15, 0.1 do
  6532. swait()
  6533. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6534. 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)))
  6535. local at1 = Instance.new("Attachment",dis)
  6536. at1.Position = vt(-25000,0,0)
  6537. local at2 = Instance.new("Attachment",dis)
  6538. at2.Position = vt(25000,0,0)
  6539. local trl = Instance.new('Trail',dis)
  6540. trl.Attachment0 = at1
  6541. trl.FaceCamera = true
  6542. trl.Attachment1 = at2
  6543. trl.Texture = "rbxassetid://1049219073"
  6544. trl.LightEmission = 1
  6545. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6546. trl.Color = ColorSequence.new(dis.Color)
  6547. trl.Lifetime = 5
  6548. local bv = Instance.new("BodyVelocity")
  6549. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6550. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6551. bv.Parent = dis
  6552. game:GetService("Debris"):AddItem(dis, 1)
  6553. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
  6554. --slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Toothpaste"))
  6555. --slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Deep orange"))
  6556. 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)
  6557. 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)
  6558. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6559. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6560. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6561. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6562. end
  6563. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  6564. for i = 0, 30, 0.1 do
  6565. swait()
  6566. coroutine.resume(coroutine.create(function()
  6567. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  6568. if v:FindFirstChild('Head') then
  6569. dmg(v)
  6570. end
  6571. end
  6572. end))
  6573. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6574. 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)))
  6575. local at1 = Instance.new("Attachment",dis)
  6576. at1.Position = vt(-50000,0,0)
  6577. local at2 = Instance.new("Attachment",dis)
  6578. at2.Position = vt(50000,0,0)
  6579. local trl = Instance.new('Trail',dis)
  6580. trl.Attachment0 = at1
  6581. trl.FaceCamera = true
  6582. trl.Attachment1 = at2
  6583. trl.Texture = "rbxassetid://1049219073"
  6584. trl.LightEmission = 1
  6585. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6586. trl.Color = ColorSequence.new(dis.Color)
  6587. trl.Lifetime = 10
  6588. local bv = Instance.new("BodyVelocity")
  6589. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6590. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  6591. bv.Parent = dis
  6592. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  6593. --sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
  6594. --sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
  6595. --sphere2(2,"Add",root.CFrame*CFrame.new(math.random(-2000,2000),math.random(-2000,2000),math.random(-2000,2000)),vt(0,0,0),5,5,5,BrickColor.new("Deep orange"))
  6596. --sphere2(2,"Add",root.CFrame*CFrame.new(math.random(-2000,2000),math.random(-2000,2000),math.random(-2000,2000)),vt(0,0,0),5,5,5,BrickColor.new("Toothpaste"))
  6597. --slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,0.01,5),math.random(500,5000)/250,BrickColor.new("Deep orange"))
  6598. --slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,0.01,5),math.random(500,5000)/250,BrickColor.new("Toothpaste"))
  6599. for i = 0, 2 do
  6600. --slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,math.random(-3,1000),0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(2,0.01,2),math.random(250,750)/250,MAINRUINCOLOR)
  6601. end
  6602. 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)
  6603. 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)
  6604. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6605. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6606. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6607. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6608. end
  6609. attack = false
  6610. hum.WalkSpeed = storehumanoidWS
  6611. end
  6612. function NeptuniaWings()
  6613. local mainpart = CreateParta(m,1,0,"SmoothPlastic",BrickColor.Random())
  6614. local mwingweld = CreateWeld(mainpart,tors,mainpart,0,-0.5,-0.75,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6615.  
  6616. local wng1a = CreateParta(m,1,0,"Neon",BrickColor.new("Alder"))
  6617. CreateMesh(wng1a,"Wedge",0.1,4,4)
  6618. CreateWeld(wng1a,mainpart,wng1a,0,-2,-2.5,math.rad(0),math.rad(70),math.rad(5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6619. local wng2a = CreateParta(m,1,0,"Neon",BrickColor.new("Alder"))
  6620. CreateMesh(wng2a,"Wedge",0.1,4,4)
  6621. CreateWeld(wng2a,mainpart,wng2a,0,-2,-2.5,math.rad(0),math.rad(-70),math.rad(-5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6622. local wng1b = CreateParta(m,1,0,"Neon",BrickColor.new("Alder"))
  6623. CreateMesh(wng1b,"Wedge",0.1,1.5,3)
  6624. CreateWeld(wng1b,mainpart,wng1b,0,-1,-2.25,math.rad(180),math.rad(-110),math.rad(-5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6625. local wng2b = CreateParta(m,1,0,"Neon",BrickColor.new("Alder"))
  6626. CreateMesh(wng2b,"Wedge",0.1,1.5,3)
  6627. CreateWeld(wng2b,mainpart,wng2b,0,-1,-2.25,math.rad(180),math.rad(110),math.rad(5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6628. end
  6629.  
  6630. function MagicMissiles()
  6631. ATTACK = true
  6632. Rooted = true
  6633. local SELECTING = true
  6634. local SPOTS = {}
  6635. coroutine.resume(coroutine.create(function()
  6636. local LOOP = 0
  6637. repeat
  6638. LOOP = LOOP + 1
  6639. Swait()
  6640. if LOOP >= 10 then
  6641. LOOP = 0
  6642. for i = 1, #SPOTS do
  6643. if SPOTS[i] ~= nil then
  6644. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  6645. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  6646. end
  6647. end
  6648. end
  6649. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  6650. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  6651. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6652. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6653. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  6654. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  6655. until SELECTING == false
  6656. Rooted = false
  6657. repeat
  6658. LOOP = LOOP + 1
  6659. Swait()
  6660. if LOOP >= 10 then
  6661. LOOP = 0
  6662. for i = 1, #SPOTS do
  6663. if SPOTS[i] ~= nil then
  6664. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  6665. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  6666. end
  6667. end
  6668. end
  6669. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  6670. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  6671. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6672. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6673. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  6674. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  6675. until ATTACK == false
  6676. end))
  6677. repeat
  6678. repeat Swait() until HOLD == true
  6679. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  6680. if DIST > 65 then
  6681. DIST = 65
  6682. end
  6683. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  6684. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  6685. if HITFLOOR ~= nil then
  6686. table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
  6687. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,2,6), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
  6688. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  6689. end
  6690. repeat Swait() until HOLD == false
  6691. until #SPOTS == 5
  6692. SELECTING = false
  6693. for i = 1, #SPOTS do
  6694. if SPOTS[i] ~= nil then
  6695. local POS = SPOTS[i]
  6696. coroutine.resume(coroutine.create(function()
  6697. local MISSILE = IT("Model",Effects)
  6698. MISSILE.Name = "Missile"
  6699. local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2,2,2))
  6700. MakeForm(BASEPART,"Cyl")
  6701. MISSILE.PrimaryPart = BASEPART
  6702. BASEPART.CFrame = POS*CF(0,-30*3,0)
  6703. local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2,4,2))
  6704. MakeForm(HEAD,"Ball")
  6705. HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
  6706. local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2.5,0.1,2.5))
  6707. MakeForm(TAIL,"Cyl")
  6708. TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
  6709. for i = 1, 10 do
  6710. Swait()
  6711. for _, c in pairs(MISSILE:GetChildren()) do
  6712. if c.ClassName == "Part" then
  6713. c.Transparency = c.Transparency - 1/10
  6714. end
  6715. end
  6716. end
  6717. for i = 1, 15*1.5 do
  6718. Swait()
  6719. MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
  6720. end
  6721. ApplyAoE(BASEPART.CFrame.p,20,35,45,75,false)
  6722. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(75,1,75), Transparency = 0.5, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
  6723. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
  6724. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(22,2,22), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  6725. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(20,3,20), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  6726. MISSILE:remove()
  6727. end))
  6728. end
  6729. end
  6730. wait(0.6)
  6731. ATTACK = false
  6732. Rooted = false
  6733. end
  6734. function ExplosiveLightBall()
  6735. if basiccooldown >= 5 then
  6736. local spart = Instance.new("Part",workspace)
  6737. local msh = Instance.new("SpecialMesh",spart)
  6738. msh.MeshType = "Sphere"
  6739. local sa = Instance.new("Sound",hed)
  6740. sa.SoundId = "rbxassetid://203691467"
  6741. sa.Pitch = 0.775
  6742. sa.Volume = 1
  6743. sa.Looped = false
  6744. local sa1 = Instance.new("Sound",hed)
  6745. sa1.SoundId = "rbxassetid://200633529"
  6746. sa1.Pitch = 0.75
  6747. sa1.Volume = 1
  6748. sa1.Looped = false
  6749. sa1:Play()
  6750. local sans1 = Instance.new("Sound",hed)
  6751. sans1.SoundId = "rbxassetid://200633529"
  6752. sans1.Pitch = 0.725
  6753. sans1.Volume = 1
  6754. sans1.Looped = false
  6755. sans1:Play()
  6756. spart.Size = vt(1,1,1)
  6757. spart.BrickColor = BrickColor.new("Bright violet")
  6758. spart.Material = "Neon"
  6759. spart.Transparency = 1
  6760. spart.Anchored = true
  6761. spart.CanCollide = false
  6762. spart.Position = hed.Position + vt(0,20,0)
  6763. local value = 2.5
  6764. for i = 0, 24 do
  6765. spart.Transparency = spart.Transparency - 0.05
  6766. value = value - 0.05
  6767. msh.Scale = msh.Scale + vt(value,value,value)
  6768. wait()
  6769. end
  6770. sa:Play()
  6771. spart.Anchored = false
  6772. local bv = Instance.new("BodyVelocity")
  6773. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6774. bv.velocity = mouse.Hit.lookVector *125
  6775. bv.Parent = spart
  6776. wait(0.1)
  6777. pewdiepie=spart.Touched:connect(function(hit) Explode(20,spart) end)
  6778. end
  6779.  
  6780. function Chaosbegone()
  6781. attack = true
  6782. bosschatfunc("SCCUMB TO THE INSANITY...",MAINRUINCOLOR.Color,3)
  6783. for i = 0, 10, 0.1 do
  6784. swait()
  6785. 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)), 0.2)
  6786. 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)), 0.2)
  6787. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  6788. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  6789. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  6790. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  6791. end
  6792. bosschatfunc("LEAVE THE DEAD WHERE THEY FALL!",MAINRUINCOLOR.Color,3)
  6793. CFuncs["EchoSound"].Create("rbxassetid://907329669", char, 4, 1,0,10,0.15,0.5,1)
  6794. CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
  6795. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  6796. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 0.75)
  6797. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 0.5)
  6798. CameraEnshaking(5, 25)
  6799. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  6800. if v:FindFirstChild("Head") then
  6801. dmg(v)
  6802. end
  6803. end
  6804. sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1000, BrickColor.random())
  6805. sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2000, BrickColor.random())
  6806. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100000, 0.1, 100000), 0.01, BrickColor.random())
  6807. for i = 0, 3, 0.1 do
  6808. swait()
  6809. sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * 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)
  6810. sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * 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)
  6811. sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * 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)
  6812. sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * 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)
  6813. 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)), 0.4)
  6814. 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)), 0.4)
  6815. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  6816. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  6817. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4)
  6818. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4)
  6819. end
  6820. attack = false
  6821. end
  6822. end
  6823. -------------------------------------
  6824.  
  6825. Humanoid.Animator.Parent = nil
  6826.  
  6827. -------------------------------------
  6828.  
  6829. local attacktype = 1
  6830. mouse.Button1Down:connect(function()
  6831. if attack == false and attacktype == 1 then
  6832. attacktype = 2
  6833. attackone()
  6834. elseif attack == false and attacktype == 2 then
  6835. attacktype = 3
  6836. attacktwo()
  6837. elseif attack == false and attacktype == 3 then
  6838. attacktype = 1
  6839. attackthree()
  6840. elseif attack == false and attacktype == 4 then
  6841. attacktype = 1
  6842. --attackfour()
  6843. end
  6844. end)
  6845. mouse.KeyDown:connect(function(k)
  6846. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  6847. --normalmog() ---Disabled due to crashing... only in VSB
  6848. ModeOfGlitch = 1
  6849. storehumanoidWS = 16
  6850. hum.WalkSpeed = 16
  6851. rainbowmode = false
  6852. chaosmode = false
  6853. newTheme("rbxassetid://550578451",48.6,1,1.25)
  6854. RecolorTextAndRename("STRESS HYPERION",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  6855. MAINRUINCOLOR = BrickColor.new("Really red")
  6856. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  6857. end
  6858. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  6859. ModeOfGlitch = 2
  6860. storehumanoidWS = 16
  6861. hum.WalkSpeed = 16
  6862. rainbowmode = false
  6863. chaosmode = false
  6864. RecolorTextAndRename("FROST HYPERION",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
  6865. newTheme("rbxassetid://1579308042",0,1,1.25)
  6866. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  6867. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6868. end
  6869. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  6870. ModeOfGlitch = 3
  6871. storehumanoidWS = 16
  6872. hum.WalkSpeed = 16
  6873. rainbowmode = false
  6874. chaosmode = false
  6875. RecolorTextAndRename("VIRUS HYPERION",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
  6876. newTheme("rbxassetid://1533368028",58.15,0.98,1.25)
  6877. MAINRUINCOLOR = BrickColor.new("Royal purple")
  6878. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6879. end
  6880. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  6881. ModeOfGlitch = 4
  6882. storehumanoidWS = 16
  6883. hum.WalkSpeed = 16
  6884. rainbowmode = false
  6885. chaosmode = true
  6886. RecolorTextAndRename("TRUE HYPERION",Color3.new(0,0,0),Color3.new(1,1,1),"Arcade")
  6887. newTheme("rbxassetid://777625426",0,1.01,1.25)
  6888. MAINRUINCOLOR = BrickColor.new("Really black")
  6889. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6890. end
  6891. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  6892. ModeOfGlitch = 5
  6893. storehumanoidWS = 16
  6894. hum.WalkSpeed = 16
  6895. rainbowmode = false
  6896. chaosmode = false
  6897. RecolorTextAndRename("ERROR HYPERION",Color3.new(0,0,0),Color3.new(0,4,0),"SciFi")
  6898. newTheme("rbxassetid://870457266",0,1,1)
  6899. MAINRUINCOLOR = BrickColor.new("White")
  6900. RecolorThing(MAINRUINCOLOR,BrickColor.new("Lime green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6901. end
  6902. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  6903. ModeOfGlitch = 6
  6904. storehumanoidWS = 100
  6905. hum.WalkSpeed = 100
  6906. rainbowmode = false
  6907. chaosmode = false
  6908. RecolorTextAndRename("NEPTUNE",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
  6909. newTheme("rbxassetid://381991270",0,1,1)
  6910. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  6911. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark indigo"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6912. end
  6913. if k == "f" and attack == false and ModeOfGlitch ~= 8 then
  6914. ModeOfGlitch = 8
  6915. storehumanoidWS = 140
  6916. hum.WalkSpeed = 140
  6917. rainbowmode = false
  6918. chaosmode = false
  6919. RecolorTextAndRename("DESTINY HYPERION",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
  6920. newTheme("rbxassetid://1585109345",0,1.01,1.25)
  6921. MAINRUINCOLOR = BrickColor.new("Alder")
  6922. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6923. end
  6924. if k == "g" and attack == false and ModeOfGlitch ~= 9 then
  6925. ModeOfGlitch = 9
  6926. storehumanoidWS = 150
  6927. hum.WalkSpeed = 150
  6928. rainbowmode = false
  6929. chaosmode = false
  6930. RecolorTextAndRename("BRUTAL HYPERION",Color3.new(5,0,0),Color3.new(0,0,0),"Arcade")
  6931. newTheme("rbxassetid://838051647",0,1.01,2)
  6932. MAINRUINCOLOR = BrickColor.new("Alder")
  6933. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really red"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6934. end
  6935. if k == "h" and attack == false and ModeOfGlitch ~= 10 then
  6936. ModeOfGlitch = 10
  6937. storehumanoidWS = 75
  6938. hum.WalkSpeed = 75
  6939. rainbowmode = false
  6940. chaosmode = false
  6941. RecolorTextAndRename("EVIL HYPERION",Color3.new(0,0,0),Color3.new(5,0,0),"Arcade")
  6942. newTheme("rbxassetid://1296518458",0,1,1)
  6943. MAINRUINCOLOR = BrickColor.new("Crimson")
  6944. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6945. end
  6946. if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
  6947. ModeOfGlitch = 8889
  6948. storehumanoidWS = 180
  6949. hum.WalkSpeed = 180
  6950. rainbowmode = false
  6951. chaosmode = false
  6952. RecolorTextAndRename("CALAMITY HYPERION",BrickColor.new("Alder").Color,BrickColor.new("Lilac").Color,"Antique")
  6953. newTheme("rbxassetid://1618176509",0,1,1)
  6954. MAINRUINCOLOR = BrickColor.new("Lilac")
  6955. RecolorThing(MAINRUINCOLOR,BrickColor.new("Alder"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6956. end
  6957. if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
  6958. ModeOfGlitch = 55469696922
  6959. storehumanoidWS = 275
  6960. hum.WalkSpeed = 275
  6961. rainbowmode = false
  6962. chaosmode = false
  6963. RecolorTextAndRename("COSMIC HYPERION",Color3.new(0.25,0,0.1),Color3.new(0.25,0,0.1),"Arcade")
  6964. newTheme("rbxassetid://1524504025",0,1.005,1)
  6965. MAINRUINCOLOR = BrickColor.new("Alder")
  6966. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark indigo"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6967. end
  6968. if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  6969. ModeOfGlitch = 4367677813
  6970. storehumanoidWS = 225
  6971. hum.WalkSpeed = 225
  6972. rainbowmode = false
  6973. chaosmode = false
  6974. RecolorTextAndRename("BRIGHTNESS HYPERION",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
  6975. newTheme("rbxassetid://1126561168",0,1.01,1.25)
  6976. MAINRUINCOLOR = BrickColor.new("Baby blue")
  6977. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6978. end
  6979. if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 9999999921111 then
  6980. ModeOfGlitch = 9999999921111
  6981. storehumanoidWS = 300
  6982. hum.WalkSpeed = 300
  6983. rainbowmode = false
  6984. chaosmode = false
  6985. RecolorTextAndRename("OMEGA HYPERION",BrickColor.new("Really black").Color,BrickColor.new("Bright bluish green").Color,"SciFi")
  6986. newTheme("rbxassetid://2024346699",0,1.01,1.25)
  6987. MAINRUINCOLOR = BrickColor.new("Bright bluish green")
  6988. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6989. end
  6990. if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
  6991. ModeOfGlitch = 999999999556
  6992. storehumanoidWS = 500
  6993. hum.WalkSpeed = 500
  6994. rainbowmode = false
  6995. chaosmode = false
  6996. RecolorTextAndRename("INSANE HYPERION",BrickColor.new("Really black").Color,BrickColor.new("Navy blue").Color,"Code")
  6997. newTheme("rbxassetid://601578010",0,1,1)
  6998. MAINRUINCOLOR = BrickColor.new("Navy blue")
  6999. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7000. end
  7001. if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  7002. ModeOfGlitch = 1264532489
  7003. storehumanoidWS = 250
  7004. hum.WalkSpeed = 250
  7005. rainbowmode = false
  7006. chaosmode = false
  7007. RecolorTextAndRename("CYBER HYPERION",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique")
  7008. newTheme("rbxassetid://929330882",0,1,1)
  7009. MAINRUINCOLOR = BrickColor.new("Pastel green")
  7010. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7011. end
  7012. if k == "n" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 7536 then
  7013. ModeOfGlitch = 7536
  7014. storehumanoidWS = 250
  7015. hum.WalkSpeed = 250
  7016. rainbowmode = false
  7017. chaosmode = false
  7018. RecolorTextAndRename("PURPLE HEART",Color3.new(0,0,0),Color3.new(0.35,0,1),"Arcade")
  7019. newTheme("rbxassetid://851403816",0,1,1)
  7020. MAINRUINCOLOR = BrickColor.new("Dark indigo")
  7021. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7022. end
  7023. if k == "l" and mutedtog == false then
  7024. mutedtog = true
  7025. kan.Volume = 0
  7026. elseif k == "l" and mutedtog == true then
  7027. mutedtog = false
  7028. kan.Volume = 1.25
  7029. end
  7030. if k == "p" and toggleTag == false then
  7031. toggleTag = true
  7032. modet.TextTransparency = 0
  7033. modet.TextStrokeTransparency = 0
  7034. elseif k == "p" and toggleTag == true then
  7035. toggleTag = false
  7036. modet.TextTransparency = 1
  7037. modet.TextStrokeTransparency = 1
  7038. end
  7039. if k == "z" and attack == false and ModeOfGlitch == 1 then
  7040. ExtinctiveHeartbreak()
  7041. elseif k == "c" and attack == false and ModeOfGlitch == 1 then
  7042. FallenOrbs()
  7043. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  7044. HeavenlyDisk()
  7045. elseif k == "x" and attack == false and ModeOfGlitch == 2 then
  7046. PureOrb()
  7047. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  7048. CorruptionEvent()
  7049. elseif k == "x" and attack == false and ModeOfGlitch == 3 then
  7050. MagicMissiles()
  7051. elseif k == "c" and attack == false and ModeOfGlitch == 3 then
  7052. CorruptBlink()
  7053. elseif k == "c" and attack == false and ModeOfGlitch == 4 then
  7054. ChaosEND()
  7055. elseif k == "x" and attack == false and ModeOfGlitch == 4 then
  7056. attacktwo()
  7057. elseif k == "v" and attack == false and ModeOfGlitch == 4 then
  7058. ChaosGroundStrike()
  7059. elseif k == "b" and attack == false and ModeOfGlitch == 4 then
  7060. HeavenlyDisk()
  7061. elseif k == "m" and attack == false and ModeOfGlitch == 4 then
  7062. FallenOrbs()
  7063. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  7064. RapidBurst()
  7065. elseif k == "k" and attack == false and ModeOfGlitch == 4 then
  7066. attackone()
  7067. elseif k == "j" and attack == false and ModeOfGlitch == 4 then
  7068. Chaosbegone()
  7069. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  7070. DivineLights()
  7071. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  7072. EquinoxOrbs()
  7073. elseif k == "z" and attack == false and ModeOfGlitch == 10 then
  7074. yinyangi()
  7075. elseif k == "x" and attack == false and ModeOfGlitch == 10 then
  7076. Taunt()
  7077. elseif k == "c" and attack == false and ModeOfGlitch == 10 then
  7078. Shell()
  7079. elseif k == "v" and attack == false and ModeOfGlitch == 10 then
  7080. ExplosiveLightBall()
  7081. elseif k == "z" and attack == false and ModeOfGlitch == 8889 then
  7082. attackone()
  7083. elseif k == "x" and attack == false and ModeOfGlitch == 8889 then
  7084. UniversalCollapse()
  7085. elseif k == "z" and attack == false and ModeOfGlitch == 9 then
  7086. FallenOrbs()
  7087. elseif k == "c" and attack == false and ModeOfGlitch == 8889 then
  7088. FallenOrbs()
  7089. elseif k == "z" and attack == false and ModeOfGlitch == 8889 then
  7090. EquinoxOrbs()
  7091. elseif k == "z" and attack == false and ModeOfGlitch == 9999999921111 then
  7092. EndGROUND()
  7093. elseif k == "x" and attack == false and ModeOfGlitch == 9999999921111 then
  7094. StarDivision()
  7095. elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
  7096. FallenOrbs()
  7097. end
  7098. if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
  7099. FallenDEMISE()
  7100. end
  7101. if k == "x" and attack == false and ModeOfGlitch == 1 then
  7102. EndGROUND()
  7103. end
  7104. end)
  7105.  
  7106. --[[coroutine.resume(coroutine.create(function()
  7107. while true do
  7108. swait(2)
  7109. if chaosmode == true then
  7110. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  7111. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  7112. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  7113. RecolorTextAndRename("TRUE HYPERION",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy")
  7114. for i, v in pairs(mw1:GetChildren()) do
  7115. if v:IsA("Part") then
  7116. v.Transparency = 0.75
  7117. v.BrickColor = BrickColor.random()
  7118. v.Material = "Neon"
  7119. end
  7120. end
  7121. for i, v in pairs(m2:GetChildren()) do
  7122. if v:IsA("Part") then
  7123. v.BrickColor = BrickColor.random()
  7124. v.Material = "Neon"
  7125. end
  7126. end
  7127. end
  7128. end
  7129. end))]]--
  7130. Humanoid.Name = "STARGLITCHER"
  7131. Humanoid.MaxHealth = math.huge
  7132. Humanoid.Health = math.huge
  7133. Instance.new("ForceField",char).Visible = false
  7134.  
  7135. local bguis = Instance.new("BillboardGui",tors)
  7136. bguis.Size = UDim2.new(25, 0, 25, 0)
  7137. local imgca = Instance.new("ImageLabel",bguis)
  7138. imgca.BackgroundTransparency = 1
  7139. imgca.ImageTransparency = 1
  7140. imgca.Size = UDim2.new(1,0,1,0)
  7141. imgca.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891
  7142. imgca.ImageColor3 = Color3.new(0,0,0)
  7143.  
  7144. idleanim=.4
  7145. while true do
  7146. if mutedtog == false then
  7147. kan.Volume = currentVol
  7148. elseif mutedtog == true then
  7149. kan.Volume = 0
  7150. end
  7151. kan.PlaybackSpeed = currentPitch
  7152. kan.Pitch = currentPitch
  7153. kan.SoundId = currentThemePlaying
  7154. kan.Looped = true
  7155. kan.Parent = char
  7156. kan:Resume()
  7157. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 then
  7158. imgca.ImageTransparency = 1
  7159. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
  7160. imgca.ImageColor3 = MAINRUINCOLOR.Color
  7161. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  7162. end
  7163. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
  7164. bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  7165. coroutine.resume(coroutine.create(function()
  7166. if chaosmode == true then
  7167. for i, v in pairs(mw1:GetChildren()) do
  7168. if v:IsA("Part") then
  7169. v.Transparency = 0
  7170. v.BrickColor = BrickColor.random()
  7171. v.Material = "Neon"
  7172. end
  7173. end
  7174. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  7175. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  7176. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  7177. RecolorTextAndRename("TRUE HYPERION",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
  7178. end
  7179. end))
  7180. if chaosmode == false then
  7181. modet.Position = UDim2.new(0,0,0,0)
  7182. modet.Rotation = -5 * math.cos(sine / 32)
  7183. techc.Rotation = techc.Rotation + 1
  7184. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1
  7185. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1
  7186. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 + 1
  7187. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25 - 1
  7188. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  7189. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  7190. else
  7191. techc.Rotation = techc.Rotation + 1
  7192. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
  7193. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
  7194. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
  7195. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
  7196. ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  7197. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  7198. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  7199. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  7200. end
  7201. CameraManager()
  7202. swait()
  7203. lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3)
  7204. lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3)
  7205. lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3)
  7206. lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3)
  7207. lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3)
  7208. lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3)
  7209. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3)
  7210. rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3)
  7211. rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3)
  7212. rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3)
  7213. rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3)
  7214. rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3)
  7215. sine = sine + change
  7216. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  7217. local velderp=RootPart.Velocity.y
  7218. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  7219. if equipped==true or equipped==false then
  7220. if attack==false then
  7221. idle=idle+1
  7222. else
  7223. idle=0
  7224. end
  7225. if idle>=500 then
  7226. if attack==false then
  7227. --Sheath()
  7228. end
  7229. end
  7230. if RootPart.Velocity.y > 1 and hitfloor==nil then
  7231. Anim="Jump"
  7232. if attack==false then
  7233. 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)
  7234. 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)
  7235. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  7236. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  7237. 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)
  7238. 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)
  7239. end
  7240. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  7241. Anim="Fall"
  7242. if attack==false then
  7243. 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)
  7244. 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)
  7245. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
  7246. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  7247. 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)
  7248. 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)
  7249. end
  7250. elseif torvel<1 and hitfloor~=nil then
  7251. Anim="Idle"
  7252. if attack==false then
  7253. if ModeOfGlitch == 1 then
  7254. local snap = math.random(1,10)
  7255. if snap == 1 then
  7256. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(22 + math.random(-5,5))),1)
  7257. end
  7258. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
  7259. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  7260. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
  7261. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56))),.1)
  7262. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(13 + 9 * math.cos(sine / 45))),.1)
  7263. LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),-0.2)*angles(math.rad(148 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(22 - 2 * math.cos(sine / 45))),.1)
  7264. elseif ModeOfGlitch == 2 then
  7265. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  7266. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  7267. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 42))),.1)
  7268. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 58)),math.rad(0 + 1 * math.cos(sine / 53))),.1)
  7269. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  7270. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  7271. elseif ModeOfGlitch == 3 then
  7272. local snap = math.random(1,32)
  7273. if snap == 1 then
  7274. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
  7275. end
  7276. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  7277. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  7278. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
  7279. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  7280. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
  7281. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
  7282. elseif ModeOfGlitch == 4 then
  7283. local snap = math.random(1,5)
  7284. if snap == 1 then
  7285. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-1,1)),math.rad(math.random(-1,1)),math.rad(math.random(-1,1))),0.6)
  7286. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 + 5 * math.cos(sine / 74) + math.random(-1,1)),math.rad(1 - 3 * math.cos(sine / 53) + math.random(-1,1)),math.rad(1 + 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
  7287. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 - 3 * math.cos(sine / 73) + math.random(-1,1)),math.rad(2 - 1 * math.cos(sine / 55) + math.random(-1,1)),math.rad(-3 - 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
  7288. end
  7289. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(25 - 2 * math.cos(sine / 32))),.1)
  7290. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-25 + 2 * math.cos(sine / 32))),.1)
  7291. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(25 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  7292. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  7293. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(1 + 3 * math.cos(sine / 45))),.1)
  7294. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-3 - 3 * math.cos(sine / 45))),.1)
  7295. elseif ModeOfGlitch == 5 then
  7296. 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)
  7297. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(20),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  7298. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-20)),.1)
  7299. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1)
  7300. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(-5),math.rad(15 + 7.5 * math.cos(sine / 12.5))),.1)
  7301. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(5),math.rad(-15 - 7.5 * math.cos(sine / 12.5))),.1)
  7302. elseif ModeOfGlitch == 6 then
  7303. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 20) - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 + 2 * math.cos(sine / 40)),math.rad(-15),math.rad(0 + 2 * math.cos(sine / 20))),.1)
  7304. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 20) - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 - 2 * math.cos(sine / 40)),math.rad(1),math.rad(0 - 2 * math.cos(sine / 20))),.1)
  7305. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.02 * math.cos(sine / 40),0 - 0.02 * math.cos(sine / 40),-0.05 - 0.05 * math.cos(sine / 20))*angles(math.rad(0 + 2 * math.cos(sine / 20)),math.rad(0 + 2 * math.cos(sine / 40)),math.rad(30 + 3 * math.cos(sine / 40))),.1)
  7306. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2),math.rad(0 - 7 * math.cos(sine / 40)),math.rad(-30 - 3 * math.cos(sine / 40))),.1)
  7307. elseif ModeOfGlitch == 8 then
  7308. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1)
  7309. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1)
  7310. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-20)),.1)
  7311. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(20 + 2 * math.cos(sine / 53))),.1)
  7312. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  7313. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  7314. elseif ModeOfGlitch == 9 then
  7315. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  7316. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  7317. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  7318. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
  7319. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  7320. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  7321. elseif ModeOfGlitch == 10 then
  7322. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1)
  7323. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
  7324. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1)
  7325. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  7326. 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)
  7327. 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)
  7328. elseif ModeOfGlitch == 7536 then
  7329. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 20) - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 + 2 * math.cos(sine / 40)),math.rad(0 - 6 * math.cos(sine / 40)),math.rad(-6 + 2 * math.cos(sine / 20) - 6 * math.cos(sine / 40))),.1)
  7330. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 20) - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 - 2 * math.cos(sine / 40)),math.rad(10 - 6 * math.cos(sine / 40)),math.rad(3 - 2 * math.cos(sine / 20) - 3 * math.cos(sine / 40))),.1)
  7331. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.02 * math.cos(sine / 40),0 - 0.06 * math.cos(sine / 40),-0.05 - 0.05 * math.cos(sine / 20))*angles(math.rad(0 + 2 * math.cos(sine / 20)),math.rad(0 + 2 * math.cos(sine / 40)),math.rad(-20 + 6 * math.cos(sine / 40))),.1)
  7332. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(6),math.rad(0 - 2 * math.cos(sine / 42)),math.rad(20 - 6 * math.cos(sine / 40))),.1)
  7333. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-13 + 3 * math.cos(sine / 26)),math.rad(-20 - 3 * math.cos(sine / 24)),math.rad(20 - 5 * math.cos(sine / 34))),.1)
  7334. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-13 - 3 * math.cos(sine / 25)),math.rad(10 + 3 * math.cos(sine / 24)),math.rad(-10 + 5 * math.cos(sine / 34))),.1)
  7335. elseif ModeOfGlitch == 8889 then
  7336. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 5 * math.cos(sine / 51))),.1)
  7337. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 44))),.1)
  7338. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-36)),.1)
  7339. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(36 + 2 * math.cos(sine / 53))),.1)
  7340. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(3 + 7 * math.cos(sine / 79)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 10 * math.cos(sine / 73))),.1)
  7341. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(15 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-27 - 6 * math.cos(sine / 33))),.1)
  7342. elseif ModeOfGlitch == 1264532489 then
  7343. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-14 - 5 * math.cos(sine / 48))),.1)
  7344. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 7 * math.cos(sine / 51))),.1)
  7345. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  7346. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(21 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  7347. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(13 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(28 + 2 * math.cos(sine / 45))),.1)
  7348. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  7349. elseif ModeOfGlitch == 9999999921111 then
  7350. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1)
  7351. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1)
  7352. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-21 - 2 * math.cos(sine / 32)),math.rad(8),math.rad(0)),.1)
  7353. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 6 * math.cos(sine / 37)),math.rad(-14 + 5 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  7354. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-24 + 9 * math.cos(sine / 72)),math.rad(3 - 5 * math.cos(sine / 58)),math.rad(38 + 7 * math.cos(sine / 45))),.1)
  7355. LW.C0=clerp(LW.C0,cf(-0.8,0.35 + 0.025 * math.cos(sine / 45),-0.75)*angles(math.rad(160 - 2 * math.cos(sine / 66)),math.rad(5 - 8 * math.cos(sine / 59)),math.rad(87 - 3 * math.cos(sine / 45))),.1)
  7356. elseif ModeOfGlitch == 4367677813 then
  7357. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.1)
  7358. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.1)
  7359. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(10)),.1)
  7360. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1)
  7361. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(4 + 3 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(19 + 2 * math.cos(sine / 45))),.1)
  7362. LW.C0=clerp(LW.C0,cf(-1.25,0.5 + 0.025 * math.cos(sine / 45),-0.15)*angles(math.rad(10 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(13 - 4 * math.cos(sine / 45))),.1)
  7363. elseif ModeOfGlitch == 55469696922 then
  7364. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(19 + 8 * math.cos(sine / 62)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-20 - 3 * math.cos(sine / 34))),.1)
  7365. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 - 1 * math.cos(sine / 55)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(26 + 5 * math.cos(sine / 41))),.1)
  7366. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-13 - 2 * math.cos(sine / 32)),math.rad(3),math.rad(10 - 4 * math.cos(sine / 67))),.1)
  7367. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 8 * math.cos(sine / 37)),math.rad(-21 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1)
  7368. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 14 * math.cos(sine / 45))),.1)
  7369. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(35 - 8 * math.cos(sine / 51))),.1)
  7370. elseif ModeOfGlitch == 999999999556 then
  7371. RH.C0=clerp(RH.C0,cf(1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(20)),.1)
  7372. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-20)),.1)
  7373. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.025 * math.cos(sine / 32))*angles(math.rad(20 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  7374. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  7375. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  7376. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  7377. end
  7378. end
  7379. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  7380. Anim="Walk"
  7381. if attack==false then
  7382. 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)
  7383. 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)
  7384. 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)
  7385. 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)
  7386. 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)
  7387. 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)
  7388. end
  7389. elseif torvel>=22 and hitfloor~=nil then
  7390. Anim="Run"
  7391. if attack==false then
  7392. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 8889 and ModeofGlitch ~= 7536 and ModeofGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 10 then
  7393. 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)
  7394. 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)
  7395. 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)
  7396. 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)
  7397. 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)
  7398. 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)
  7399. if ModeOfGlitch == 9 then
  7400. --
  7401. end
  7402. elseif ModeOfGlitch == 6 or ModeOfGlitch == 10 or ModeofGlitch == 8 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 then
  7403. 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)
  7404. 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)
  7405. 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)
  7406. 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)
  7407. 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)
  7408. 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)
  7409. end
  7410. end
  7411. end
  7412. end
  7413. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement