Advertisement
Otsakuseed

testers

May 22nd, 2019
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 336.57 KB | None | 0 0
  1. --TODO: add comments or something idk
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player = owner
  4. local Mouse,mouse,UserInputService,ContextActionService
  5. do
  6. script.Parent = Player.Character
  7. local CAS = {Actions={}}
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10. Event.Parent = Player.Character
  11. local fakeEvent = function()
  12. local t = {_fakeEvent=true}
  13. t.Connect = function(self,f)self.Function=f end
  14. t.connect = t.Connect
  15. return t
  16. end
  17. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  18. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  19. function CAS:BindAction(name,fun,touch,...)
  20. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  21. end
  22. function CAS:UnbindAction(name)
  23. CAS.Actions[name] = nil
  24. end
  25. local function te(self,ev,...)
  26. local t = m[ev]
  27. if t and t._fakeEvent and t.Function then
  28. t.Function(...)
  29. end
  30. end
  31. m.TrigEvent = te
  32. UIS.TrigEvent = te
  33. Event.OnServerEvent:Connect(function(plr,io)
  34. if plr~=Player then return end
  35. if io.isMouse then
  36. m.Target = io.Target
  37. m.Hit = io.Hit
  38. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  39. if io.UserInputState == Enum.UserInputState.Begin then
  40. m:TrigEvent("Button1Down")
  41. else
  42. m:TrigEvent("Button1Up")
  43. end
  44. else
  45. for n,t in pairs(CAS.Actions) do
  46. for _,k in pairs(t.Keys) do
  47. if k==io.KeyCode then
  48. t.Function(t.Name,io.UserInputState,io)
  49. end
  50. end
  51. end
  52. if io.UserInputState == Enum.UserInputState.Begin then
  53. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  54. UIS:TrigEvent("InputBegan",io,false)
  55. else
  56. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  57. UIS:TrigEvent("InputEnded",io,false)
  58. end
  59. end
  60. end)
  61. NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63.  
  64. local Char = Player.Character
  65. local Event = Char:WaitForChild("UserInput_Event")
  66.  
  67. local UIS = game:GetService("UserInputService")
  68.  
  69. local input = function(io,a)
  70. if a then return end
  71. local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
  72. Event:FireServer(io)
  73. end
  74. UIS.InputBegan:Connect(input)
  75. UIS.InputEnded:Connect(input)
  76. local Changed = false
  77. local Mouse = Player:GetMouse()
  78. local h,t = Mouse.Hit,Mouse.Target
  79. while wait(1/30) do
  80. if h~=Mouse.Hit or t~=Mouse.Target then
  81. Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
  82. h,t=Mouse.Hit,Mouse.Target
  83. end
  84. end
  85. ]==],Player.Character)
  86. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  87. end
  88.  
  89.  
  90. wait(0.5)
  91.  
  92. warn([[SG AWAKEN Loaded.
  93. The super switcher.
  94. Velnorum is one of the first wielders.
  95.  
  96. Created, Reworked by NoobyGames12 and converted by Helkern
  97. ]])
  98.  
  99.  
  100. ------------- ORIGINAL WIELDER OC: Velnorum
  101. print([[Icons:
  102. ! = New
  103. ? = Spoilers
  104. * = Exclusivity
  105. C = Changes
  106.  
  107. ]])
  108. warn([[V 4.1 Update Log:
  109. !C? - Mostly about 7-9 main modes added.
  110. ! - Non-canon [N] modes are added from few modes:
  111. > Mayhem: NANO
  112. > Purity: BRIGHTNESS
  113. > Chaos: CRAZED
  114. > Divinity: FALLEN
  115. > Destiny: OMEGA
  116. ! - Added back CALAMITY and INFESTATION.
  117. C - Two main click attacks changed.
  118. !C - Moves are added back, with severe change and difference.
  119. C - Some modes got renamed because fat filter
  120. C - Toned down the effects to be compatible with fe without strong lag.]])
  121. --- its obs smooth af do not touch
  122. ---- Sources and functions might be taken from others
  123. if game.PlaceId == 843468296 then
  124. error("This script has been banned. You cannot use it here. Please use Place 2.")
  125. end
  126. plr = owner
  127. char = plr.Character
  128. hum = char.Humanoid
  129. local cam = game.Workspace.CurrentCamera
  130. Camera = cam
  131. local CamInterrupt = false
  132. local TwoD = false
  133. local TargetInfo = {nil, nil}
  134. cam.CameraType = "Custom"
  135. t = char.Torso
  136. h = char.Head
  137. ra = char["Right Arm"]
  138. la = char["Left Arm"]
  139. rl = char["Right Leg"]
  140. ll = char["Left Leg"]
  141. tors = char.Torso
  142. lleg = char["Left Leg"]
  143. root = char.HumanoidRootPart
  144. hed = char.Head
  145. rleg = char["Right Leg"]
  146. rarm = char["Right Arm"]
  147. larm = char["Left Arm"]
  148. radian = math.rad
  149. random = math.random
  150. Vec3 = Vector3.new
  151. Inst = Instance.new
  152. cFrame = CFrame.new
  153. Euler = CFrame.fromEulerAnglesXYZ
  154. vt = Vector3.new
  155. bc = BrickColor.new
  156. br = BrickColor.random
  157. it = Instance.new
  158. cf = CFrame.new
  159.  
  160. local Booleans = {
  161. CamFollow = true,
  162. GyroUse = true
  163. }
  164.  
  165. function lerp(object, newCFrame, alpha)
  166. return object:lerp(newCFrame, alpha)
  167. end
  168.  
  169. local Directer = Inst("BodyGyro", root)
  170. Directer.MaxTorque = Vec3(0, 0, 0)
  171. Directer.P = 600000
  172. local CPart = Inst("Part")
  173. CPart.Anchored = true
  174. CPart.CanCollide = false
  175. CPart.Locked = true
  176. CPart.Transparency = 1
  177.  
  178. local rainbowmode = false
  179. local chaosmode = false
  180.  
  181. local kan = Instance.new("Sound",char)
  182. kan.Volume = 1.25
  183. kan.TimePosition = 0
  184. kan.PlaybackSpeed = 1
  185. kan.Pitch = 1
  186. kan.SoundId = "rbxassetid://614032233"
  187. kan.Name = "wrecked"
  188. kan.Looped = true
  189. kan:Play()
  190.  
  191. local currentThemePlaying = kan.SoundId
  192. local currentPitch = kan.Pitch
  193. local currentVol = kan.Volume
  194. function newTheme(ID,timepos,pitch,vol)
  195. local kanz = kan
  196. --kanz:Stop()
  197. kanz.Volume = vol
  198. --kanz.TimePosition = timepos
  199. kanz.PlaybackSpeed = pitch
  200. kanz.Pitch = pitch
  201. kanz.SoundId = ID
  202. kanz.Name = "wrecked"
  203. kanz.Looped = true
  204. currentThemePlaying = kanz.SoundId
  205. currentVol = kanz.Volume
  206. currentPitch = kanz.Pitch
  207. --kanz:Play()
  208. --coroutine.resume(coroutine.create(function()
  209. --wait(0.05)
  210. --end))
  211. end
  212.  
  213.  
  214. function newThemeCust(ID,timepos,pitch,vol)
  215. local kanz = kan
  216. kanz:Stop()
  217. kanz.Volume = vol
  218. kanz.TimePosition = timepos
  219. kanz.PlaybackSpeed = pitch
  220. kanz.Pitch = pitch
  221. kanz.SoundId = ID
  222. kanz.Name = "wrecked"
  223. kanz.Looped = true
  224. currentThemePlaying = kanz.SoundId
  225. currentVol = kanz.Volume
  226. currentPitch = kanz.Pitch
  227. kanz:Play()
  228. coroutine.resume(coroutine.create(function()
  229. wait(0.05)
  230. end))
  231. end
  232.  
  233. local mutedtog = false
  234.  
  235. function CameraEnshaking(Length,Intensity)
  236. coroutine.resume(coroutine.create(function()
  237. local intensity = 1*Intensity
  238. local rotM = 0.01*Intensity
  239. for i = 0, Length, 0.1 do
  240. swait()
  241. intensity = intensity - 0.05*Intensity/Length
  242. rotM = rotM - 0.0005*Intensity/Length
  243. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  244. 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)
  245. end
  246. Humanoid.CameraOffset = Vec3(0, 0, 0)
  247. end))
  248. end
  249. CamShake=function(Part,Distan,Power,Times)
  250. local de=Part.Position
  251. for i,v in pairs(workspace:children()) do
  252. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  253. for _,c in pairs(v:children()) do
  254. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  255. local Noob=v.Humanoid
  256. if Noob~=nil then
  257. coroutine.resume(coroutine.create(function()
  258. FV = Instance.new("BoolValue", Noob)
  259. FV.Name = "CameraShake"
  260. for ShakeNum=1,Times do
  261. swait()
  262. local ef=Power
  263. if ef>=1 then
  264. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  265. else
  266. ef=Power*10
  267. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  268. end
  269. end
  270. Humanoid.CameraOffset = Vector3.new(0,0,0)
  271. FV:Destroy()
  272. end))
  273. CameraShake(Times, Power, Noob)
  274. end
  275. end
  276. end
  277. end
  278. end
  279. end
  280.  
  281. local toggleTag = true
  282. local bilguit = Instance.new("BillboardGui", hed)
  283. bilguit.Adornee = nil
  284. bilguit.Name = "ModeName"
  285. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  286. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  287. local modet = Instance.new("TextLabel", bilguit)
  288. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  289. modet.FontSize = "Size8"
  290. modet.TextScaled = true
  291. modet.TextTransparency = 0
  292. modet.BackgroundTransparency = 1
  293. modet.TextTransparency = 0
  294. modet.TextStrokeTransparency = 0
  295. modet.Font = "Antique"
  296. modet.TextStrokeColor3 = Color3.new(1,0,0)
  297. modet.TextColor3 = Color3.new(0.25,0,0)
  298. modet.Text = "MAYHEM"
  299.  
  300.  
  301. function chatfunc(text,color,typet,font,timeex)
  302. local chat = coroutine.wrap(function()
  303. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  304. Character:FindFirstChild("TalkingBillBoard"):destroy()
  305. end
  306. local naeeym2 = Instance.new("BillboardGui",Character)
  307. naeeym2.Size = UDim2.new(0,100,0,40)
  308. naeeym2.StudsOffset = Vector3.new(0,3,0)
  309. naeeym2.Adornee = Character.Head
  310. naeeym2.Name = "TalkingBillBoard"
  311. local tecks2 = Instance.new("TextLabel",naeeym2)
  312. tecks2.BackgroundTransparency = 1
  313. tecks2.BorderSizePixel = 0
  314. tecks2.Text = ""
  315. tecks2.Font = font
  316. tecks2.TextSize = 30
  317. tecks2.TextStrokeTransparency = 0
  318. tecks2.TextColor3 = color
  319. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  320. tecks2.Size = UDim2.new(1,0,0.5,0)
  321. local tecks3 = Instance.new("TextLabel",naeeym2)
  322. tecks3.BackgroundTransparency = 1
  323. tecks3.BorderSizePixel = 0
  324. tecks3.Text = ""
  325. tecks3.Font = font
  326. tecks3.TextSize = 30
  327. tecks3.TextStrokeTransparency = 0
  328. if typet == "Inverted" then
  329. tecks3.TextColor3 = Color3.new(0,0,0)
  330. tecks3.TextStrokeColor3 = color
  331. elseif typet == "Normal" then
  332. tecks3.TextColor3 = color
  333. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  334. end
  335. tecks3.Size = UDim2.new(1,0,0.5,0)
  336. coroutine.resume(coroutine.create(function()
  337. while true do
  338. swait(1)
  339. if chaosmode == true then
  340. tecks2.TextColor3 = BrickColor.random().Color
  341. tecks3.TextStrokeColor3 = BrickColor.random().Color
  342. end
  343. end
  344. end))
  345. modet.TextTransparency = modet.TextTransparency + 1
  346. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  347. for i = 0, 74*timeex do
  348. swait()
  349. modet.TextTransparency = 1
  350. modet.TextStrokeTransparency = 1
  351. tecks2.Text = text
  352. tecks3.Text = text
  353. end
  354. local randomrot = math.random(1,2)
  355. if randomrot == 1 then
  356. for i = 1, 50 do
  357. swait()
  358. tecks2.Text = text
  359. tecks3.Text = text
  360. modet.TextTransparency = modet.TextTransparency - .02
  361. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  362. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  363. tecks2.TextTransparency = tecks2.TextTransparency + .04
  364. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  365. tecks3.TextTransparency = tecks2.TextTransparency + .04
  366. end
  367. elseif randomrot == 2 then
  368. for i = 1, 50 do
  369. swait()
  370. tecks2.Text = text
  371. tecks3.Text = text
  372. modet.TextTransparency = modet.TextTransparency - .02
  373. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  374. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  375. tecks2.TextTransparency = tecks2.TextTransparency + .04
  376. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  377. tecks3.TextTransparency = tecks2.TextTransparency + .04
  378. end
  379. end
  380. modet.TextTransparency = 0
  381. modet.TextStrokeTransparency = 0
  382. if toggleTag == false then
  383. modet.TextTransparency = 1
  384. modet.TextStrokeTransparency = 1
  385. end
  386. naeeym2:Destroy()
  387. end)
  388. chat()
  389. end
  390.  
  391. function bosschatfunc(text,color,watval)
  392. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  393. coroutine.resume(coroutine.create(function()
  394. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  395. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  396. end
  397. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  398. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  399. scrg.Name = "Dialog"
  400. local txtlb = Instance.new("TextLabel",scrg)
  401. txtlb.Text = ""
  402. txtlb.Font = "Bodoni"
  403. txtlb.TextColor3 = Color3.new(0,0,0)
  404. txtlb.TextStrokeTransparency = 0
  405. txtlb.BackgroundTransparency = 0.75
  406. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  407. txtlb.TextStrokeColor3 = color
  408. txtlb.TextScaled = true
  409. txtlb.Size = UDim2.new(1,0,0.25,0)
  410. txtlb.TextXAlignment = "Left"
  411. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  412. local txtlb2 = Instance.new("TextLabel",scrg)
  413. txtlb2.Text = "?:"
  414. txtlb2.Font = "Arcade"
  415. txtlb2.TextColor3 = Color3.new(0,0,0)
  416. txtlb2.TextStrokeTransparency = 0
  417. txtlb2.BackgroundTransparency = 1
  418. txtlb2.TextStrokeColor3 = color
  419. txtlb2.TextSize = 40
  420. txtlb2.Size = UDim2.new(1,0,0.25,0)
  421. txtlb2.TextXAlignment = "Left"
  422. txtlb2.Position = UDim2.new(0,0,1,0)
  423. local fvalen = 0.55
  424. local fval = -0.49
  425. coroutine.resume(coroutine.create(function()
  426. while true do
  427. swait()
  428. if chaosmode == true then
  429. txtlb.Rotation = math.random(-1,1)
  430. txtlb2.Rotation = math.random(-1,1)
  431. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  432. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  433. txtlb.TextStrokeColor3 = BrickColor.random().Color
  434. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  435. end
  436. end
  437. end))
  438. coroutine.resume(coroutine.create(function()
  439. while true do
  440. swait()
  441. if scrg.Parent ~= nil then
  442. fvalen = fvalen - 0.0001
  443. elseif scrg.Parent == nil then
  444. break
  445. end
  446. end
  447. end))
  448. local flol = 1.75
  449. local flil = 1.6
  450. coroutine.resume(coroutine.create(function()
  451. for i = 0, 9 do
  452. swait()
  453. fval = fval + 0.05
  454. flol = flol - 0.1
  455. flil = flil - 0.1
  456. txtlb.Text = ""
  457. txtlb.Position = UDim2.new(0,0,flol,0)
  458. txtlb2.Position = UDim2.new(0,0,flil,0)
  459. end
  460. txtlb.Text = text
  461. wait(watval)
  462. local valinc = 0
  463. for i = 0, 99 do
  464. swait()
  465. valinc = valinc + 0.0001
  466. flol = flol + valinc
  467. flil = flil + valinc
  468. txtlb.Rotation = txtlb.Rotation + valinc*20
  469. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  470. txtlb.Position = UDim2.new(0,0,flol,0)
  471. txtlb2.Position = UDim2.new(0,0,flil,0)
  472. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  473. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  474. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  475. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  476. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  477. end
  478. scrg:Destroy()
  479. end))
  480. end))
  481. end
  482. end
  483.  
  484.  
  485. local Create = LoadLibrary("RbxUtility").Create
  486.  
  487. CFuncs = {
  488. ["Part"] = {
  489. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  490. local Part = Create("Part"){
  491. Parent = Parent,
  492. Reflectance = Reflectance,
  493. Transparency = Transparency,
  494. CanCollide = false,
  495. Locked = true,
  496. BrickColor = BrickColor.new(tostring(BColor)),
  497. Name = Name,
  498. Size = Size,
  499. Material = Material,
  500. }
  501. RemoveOutlines(Part)
  502. return Part
  503. end;
  504. };
  505.  
  506. ["Mesh"] = {
  507. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  508. local Msh = Create(Mesh){
  509. Parent = Part,
  510. Offset = OffSet,
  511. Scale = Scale,
  512. }
  513. if Mesh == "SpecialMesh" then
  514. Msh.MeshType = MeshType
  515. Msh.MeshId = MeshId
  516. end
  517. return Msh
  518. end;
  519. };
  520.  
  521. ["Mesh"] = {
  522. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  523. local Msh = Create(Mesh){
  524. Parent = Part,
  525. Offset = OffSet,
  526. Scale = Scale,
  527. }
  528. if Mesh == "SpecialMesh" then
  529. Msh.MeshType = MeshType
  530. Msh.MeshId = MeshId
  531. end
  532. return Msh
  533. end;
  534. };
  535.  
  536. ["Weld"] = {
  537. Create = function(Parent, Part0, Part1, C0, C1)
  538. local Weld = Create("Weld"){
  539. Parent = Parent,
  540. Part0 = Part0,
  541. Part1 = Part1,
  542. C0 = C0,
  543. C1 = C1,
  544. }
  545. return Weld
  546. end;
  547. };
  548.  
  549. ["Sound"] = {
  550. Create = function(id, par, vol, pit)
  551. coroutine.resume(coroutine.create(function()
  552. local S = Create("Sound"){
  553. Volume = vol,
  554. Name = "EffectSoundo",
  555. Pitch = pit or 1,
  556. SoundId = id,
  557. Parent = par or workspace,
  558. }
  559. wait()
  560. S:play()
  561. game:GetService("Debris"):AddItem(S, 10)
  562. end))
  563. end;
  564. };
  565.  
  566. ["TimeSound"] = {
  567. Create = function(id, par, vol, pit, timepos)
  568. coroutine.resume(coroutine.create(function()
  569. local S = Create("Sound"){
  570. Volume = vol,
  571. Name = "EffectSoundo",
  572. Pitch = pit or 1,
  573. SoundId = id,
  574. TimePosition = timepos,
  575. Parent = par or workspace,
  576. }
  577. wait()
  578. S:play()
  579. game:GetService("Debris"):AddItem(S, 10)
  580. end))
  581. end;
  582. };
  583. ["EchoSound"] = {
  584. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  585. coroutine.resume(coroutine.create(function()
  586. local Sas = Create("Sound"){
  587. Volume = vol,
  588. Name = "EffectSoundo",
  589. Pitch = pit or 1,
  590. SoundId = id,
  591. TimePosition = timepos,
  592. Parent = par or workspace,
  593. }
  594. local E = Create("EchoSoundEffect"){
  595. Delay = echodelay,
  596. Name = "Echo",
  597. Feedback = fedb,
  598. DryLevel = dryl,
  599. Parent = Sas,
  600. }
  601. wait()
  602. Sas:play()
  603. game:GetService("Debris"):AddItem(Sas, delays)
  604. end))
  605. end;
  606. };
  607.  
  608. ["LongSound"] = {
  609. Create = function(id, par, vol, pit)
  610. coroutine.resume(coroutine.create(function()
  611. local S = Create("Sound"){
  612. Volume = vol,
  613. Pitch = pit or 1,
  614. SoundId = id,
  615. Parent = par or workspace,
  616. }
  617. wait()
  618. S:play()
  619. game:GetService("Debris"):AddItem(S, 60)
  620. end))
  621. end;
  622. };
  623.  
  624. ["ParticleEmitter"] = {
  625. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  626. local fp = Create("ParticleEmitter"){
  627. Parent = Parent,
  628. Color = ColorSequence.new(Color1, Color2),
  629. LightEmission = LightEmission,
  630. Size = Size,
  631. Texture = Texture,
  632. Transparency = Transparency,
  633. ZOffset = ZOffset,
  634. Acceleration = Accel,
  635. Drag = Drag,
  636. LockedToPart = LockedToPart,
  637. VelocityInheritance = VelocityInheritance,
  638. EmissionDirection = EmissionDirection,
  639. Enabled = Enabled,
  640. Lifetime = LifeTime,
  641. Rate = Rate,
  642. Rotation = Rotation,
  643. RotSpeed = RotSpeed,
  644. Speed = Speed,
  645. VelocitySpread = VelocitySpread,
  646. }
  647. return fp
  648. end;
  649. };
  650.  
  651. CreateTemplate = {
  652.  
  653. };
  654. }
  655.  
  656.  
  657.  
  658. New = function(Object, Parent, Name, Data)
  659. local Object = Instance.new(Object)
  660. for Index, Value in pairs(Data or {}) do
  661. Object[Index] = Value
  662. end
  663. Object.Parent = Parent
  664. Object.Name = Name
  665. return Object
  666. end
  667. local halocolor = BrickColor.new("Pastel light blue")
  668. local halocolor2 = BrickColor.new("Cool yellow")
  669. local starcolor = BrickColor.new("Bright yellow")
  670. local lunacolor = BrickColor.new("Navy blue")
  671. local lunacolor2 = BrickColor.new("Bright blue")
  672. local wepcolor = BrickColor.new("Really black")
  673. local maincolor = BrickColor.new("Really black")
  674. local m = Instance.new("Model",char)
  675. local m2 = Instance.new("Model",char)
  676. local m3 = Instance.new("Model",char)
  677. local mw1 = Instance.new("Model",char)
  678. local mw2 = Instance.new("Model",char)
  679.  
  680.  
  681. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  682. local gui = it(GuiType)
  683. gui.Parent = parent
  684. gui.Text = text
  685. gui.BackgroundTransparency = backtrans
  686. gui.BackgroundColor3 = backcol
  687. gui.SizeConstraint = "RelativeXY"
  688. gui.TextXAlignment = "Center"
  689. gui.TextYAlignment = "Center"
  690. gui.Position = pos
  691. gui.Size = size
  692. gui.Font = "SourceSans"
  693. gui.FontSize = "Size14"
  694. gui.TextWrapped = false
  695. gui.TextStrokeTransparency = 0
  696. gui.TextColor = BrickColor.new("White")
  697. return gui
  698. end
  699. --------------------------- GUI STUFF
  700. local basgui = it("GuiMain")
  701. basgui.Parent = plr.PlayerGui
  702. basgui.Name = "VISgui"
  703. local fullscreenz = it("Frame")
  704. fullscreenz.Parent = basgui
  705. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  706. fullscreenz.BackgroundTransparency = 1
  707. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  708. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  709. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  710. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  711. imgl2.BackgroundTransparency = 1
  712. imgl2.BorderSizePixel = 0
  713. imgl2.ImageTransparency = 0.5
  714. imgl2.ImageColor3 = Color3.new(1,0,0)
  715. imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
  716. imgl2.Size = UDim2.new(0,1000,0,1000)
  717. imgl2.Image = "rbxassetid://2325939897"
  718. local techc = imgl2:Clone()
  719. techc.Parent = fullscreenz
  720. techc.ImageTransparency = 0
  721. techc.Size = UDim2.new(0,900,0,900)
  722. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  723. techc.ImageColor3 = Color3.new(1,0,0)
  724. techc.Image = "rbxassetid://2273224484"
  725. local circl = imgl2:Clone()
  726. circl.Parent = fullscreenz
  727. circl.ImageTransparency = 0
  728. circl.Size = UDim2.new(0,550,0,550)
  729. circl.Position = UDim2.new(0.75,25,0.55,25)
  730. circl.ImageColor3 = Color3.new(0,0,0)
  731. circl.Image = "rbxassetid://2312119891"
  732. local circl2 = imgl2:Clone()
  733. circl2.Parent = fullscreenz
  734. circl2.ImageTransparency = 0
  735. circl2.Size = UDim2.new(0,700,0,700)
  736. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  737. circl2.ImageColor3 = Color3.new(1,0,0)
  738. circl2.Image = "rbxassetid://2312119891"
  739. local imgl2b = imgl2:Clone()
  740. imgl2b.Parent = fullscreenz
  741. imgl2b.ImageTransparency = 0
  742. imgl2b.Size = UDim2.new(0,800,0,800)
  743. imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
  744. imgl2b.ImageColor3 = Color3.new(0,0,0)
  745. local ned = Instance.new("TextLabel",fullscreenz)
  746. ned.ZIndex = 2
  747. ned.Font = "Arcade"
  748. ned.BackgroundTransparency = 1
  749. ned.BorderSizePixel = 0.65
  750. ned.Size = UDim2.new(0.3,0,0.2,0)
  751. ned.Position = UDim2.new(0.7,0,0.8,0)
  752. ned.TextColor3 = BrickColor.new("Really red").Color
  753. ned.TextStrokeColor3 = BrickColor.new("Really black").Color
  754. ned.TextScaled = true
  755. ned.TextStrokeTransparency = 0
  756. ned.Text = "MAYHEM"
  757. ned.TextSize = 24
  758. ned.Rotation = 1
  759. ned.TextXAlignment = "Right"
  760. ned.TextYAlignment = "Bottom"
  761.  
  762. local extrawingmod1 = Instance.new("Model",char)
  763. local extrawingmod2 = Instance.new("Model",char)
  764.  
  765. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  766. local p = Instance.new("Part")
  767. p.TopSurface = 0
  768. p.BottomSurface = 0
  769. p.Parent = parent
  770. p.Size = Vector3.new(0.1,0.1,0.1)
  771. p.Transparency = transparency
  772. p.Reflectance = reflectance
  773. p.CanCollide = false
  774. p.Locked = true
  775. p.BrickColor = brickcolor
  776. p.Material = material
  777. return p
  778. end
  779.  
  780. function CreateMesh(parent,meshtype,x1,y1,z1)
  781. local mesh = Instance.new("SpecialMesh",parent)
  782. mesh.MeshType = meshtype
  783. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  784. return mesh
  785. end
  786.  
  787. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  788. local mesh = Instance.new("SpecialMesh",parent)
  789. mesh.MeshType = "FileMesh"
  790. mesh.MeshId = meshid
  791. mesh.Scale = Vector3.new(x1,y1,z1)
  792. return mesh
  793. end
  794.  
  795.  
  796. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  797. local mesh = Instance.new("SpecialMesh",parent)
  798. mesh.MeshType = "FileMesh"
  799. mesh.MeshId = meshid
  800. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  801. mesh.Scale = Vector3.new(x1,y1,z1)
  802. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  803. return mesh
  804. end
  805.  
  806. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  807. local weld = Instance.new("Weld")
  808. weld.Parent = parent
  809. weld.Part0 = part0
  810. weld.Part1 = part1
  811. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  812. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  813. return weld
  814. end
  815.  
  816.  
  817. --------------
  818. --------------
  819. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  820. 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))
  821. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  822. 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))
  823.  
  824. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  825. CreateMesh(handle,"Brick",0,0,0)
  826. 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))
  827. local valuaring = 10
  828. for i = 0, 49 do
  829. valuaring = valuaring + 10
  830. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  831. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  832. 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))
  833. end
  834.  
  835. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  836. CreateMesh(handle,"Brick",0,0,0)
  837. 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))
  838. local valuaring = 10
  839. for i = 0, 49 do
  840. valuaring = valuaring + 10
  841. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  842. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  843. 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))
  844. end
  845.  
  846.  
  847. local handle = CreateParta(m,1,1,"Neon",maincolor)
  848. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  849. 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))
  850.  
  851. --- Left wing.
  852.  
  853. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  854. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  855. 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))
  856.  
  857. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  858. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  859. 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))
  860. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  861. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  862. 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))
  863. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  864. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  865. CreateWeld(wed,lwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  866. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  867. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  868. CreateWeld(wed,lwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  869. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  870. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  871. CreateWeld(wed,lwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  872. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  873. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  874. CreateWeld(wed,lwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  875. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  876. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  877. 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))
  878. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  879. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  880. 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))
  881. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  882. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  883. CreateWeld(wed,lwing1,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  884. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  885. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  886. CreateWeld(wed,lwing1,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  887.  
  888. tl1 = Instance.new('Trail',wed)
  889. tl1.Attachment0 = A1
  890. tl1.Attachment1 = A0
  891. tl1.Texture = "rbxassetid://2108945559"
  892. tl1.LightEmission = 1
  893. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  894. tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  895. tl1.Lifetime = 0.6
  896.  
  897. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  898. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  899. 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))
  900.  
  901. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  902. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  903. 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))
  904. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  905. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  906. 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))
  907. A0 = Instance.new('Attachment',wed)
  908. A0.Position = vt(0,0.25,0.25)
  909. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  910. CreateMesh(wed,"Wedge",0.05,0.5,3)
  911. 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))
  912. A1 = Instance.new('Attachment',wed)
  913. A1.Position = vt(0,-0.25,-2)
  914. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  915. CreateMesh(wed,"Wedge",0.05,3,0.5)
  916. 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))
  917.  
  918. tl2 = Instance.new('Trail',wed)
  919. tl2.Attachment0 = A1
  920. tl2.Attachment1 = A0
  921. tl2.Texture = "rbxassetid://2108945559"
  922. tl2.LightEmission = 1
  923. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  924. tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  925. tl2.Lifetime = 0.6
  926.  
  927. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  928. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  929. 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))
  930.  
  931. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  932. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  933. 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))
  934. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  935. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  936. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  937. A0 = Instance.new('Attachment',wed)
  938. A0.Position = vt(0,0.25,0.25)
  939. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  940. CreateMesh(wed,"Wedge",0.05,0.5,3)
  941. 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))
  942. A1 = Instance.new('Attachment',wed)
  943. A1.Position = vt(0,-0.25,-2)
  944. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  945. CreateMesh(wed,"Wedge",0.05,3,0.5)
  946. 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))
  947.  
  948. tl3 = Instance.new('Trail',wed)
  949. tl3.Attachment0 = A1
  950. tl3.Attachment1 = A0
  951. tl3.Texture = "rbxassetid://2108945559"
  952. tl3.LightEmission = 1
  953. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  954. tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  955. tl3.Lifetime = 0.6
  956.  
  957. tl1.Enabled = false
  958. tl2.Enabled = false
  959. tl3.Enabled = false
  960. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  961. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  962. 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))
  963.  
  964. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  965. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  966. 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))
  967. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  968. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  969. 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))
  970. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  971. CreateMesh(wed,"Wedge",0.05,0.5,3)
  972. 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))
  973. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  974. CreateMesh(wed,"Wedge",0.05,3,0.5)
  975. 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))
  976.  
  977. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  978. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  979. 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))
  980.  
  981. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  982. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  983. 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))
  984. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  985. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  986. 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))
  987. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  988. CreateMesh(wed,"Wedge",0.05,0.5,3)
  989. 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))
  990. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  991. CreateMesh(wed,"Wedge",0.05,3,0.5)
  992. 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))
  993.  
  994. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  995. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  996. 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))
  997.  
  998. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  999. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1000. 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))
  1001. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1002. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1003. 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))
  1004. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1005. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1006. 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))
  1007. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1008. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1009. 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))
  1010.  
  1011. -- Right wing.
  1012.  
  1013. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1014. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1015. 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))
  1016.  
  1017. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1018. CreateMesh(wed,"Wedge",0.025,0.25,0.25)
  1019. CreateWeld(wed,rwing1,wed,0,0,0.125,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(60))
  1020. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1021. CreateMesh(wed,"Wedge",0.025,0.25,0.25)
  1022. CreateWeld(wed,rwing1,wed,0,0,0.125,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(60))
  1023. A0 = Instance.new('Attachment',wed)
  1024. A0.Position = vt(0,0.25,0.25)
  1025. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1026. CreateMesh(wed,"Wedge",0.025,0.25,1.5)
  1027. CreateWeld(wed,rwing1,wed,0,-0.125,0.875,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(60))
  1028. A1 = Instance.new('Attachment',wed)
  1029. A1.Position = vt(0,-0.25,-2)
  1030. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1031. CreateMesh(wed,"Wedge",0.025,1.5,0.25)
  1032. CreateWeld(wed,rwing1,wed,0,-0.875,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(60))
  1033.  
  1034. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1035. CreateMesh(wed,"Wedge",0.025,0.25,0.25)
  1036. CreateWeld(wed,rwing1,wed,0,0,0.125,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(-60))
  1037. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1038. CreateMesh(wed,"Wedge",0.025,0.25,0.25)
  1039. CreateWeld(wed,rwing1,wed,0,0,0.125,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(-60))
  1040. A0 = Instance.new('Attachment',wed)
  1041. A0.Position = vt(0,0.25,0.25)
  1042. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1043. CreateMesh(wed,"Wedge",0.025,0.25,1.5)
  1044. CreateWeld(wed,rwing1,wed,0,-0.125,0.875,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(-60))
  1045. A1 = Instance.new('Attachment',wed)
  1046. A1.Position = vt(0,-0.25,-2)
  1047. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1048. CreateMesh(wed,"Wedge",0.025,1.5,0.25)
  1049. CreateWeld(wed,rwing1,wed,0,-0.875,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(-60))
  1050.  
  1051. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1052. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1053. 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))
  1054. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1055. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1056. 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))
  1057. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1058. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1059. CreateWeld(wed,rwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1060. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1061. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1062. CreateWeld(wed,rwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1063. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1064. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1065. CreateWeld(wed,rwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1066. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1067. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1068. CreateWeld(wed,rwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1069. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1070. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  1071. 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))
  1072. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1073. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  1074. 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))
  1075. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1076. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  1077. CreateWeld(wed,rwing1,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1078. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1079. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  1080. CreateWeld(wed,rwing1,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1081.  
  1082. tr1 = Instance.new('Trail',wed)
  1083. tr1.Attachment0 = A1
  1084. tr1.Attachment1 = A0
  1085. tr1.Texture = "rbxassetid://2108945559"
  1086. tr1.LightEmission = 1
  1087. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1088. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1089. tr1.Lifetime = 0.6
  1090.  
  1091. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1092. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1093. 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))
  1094.  
  1095. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1096. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1097. 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))
  1098. A0 = Instance.new('Attachment',wed)
  1099. A0.Position = vt(0,0.25,0.25)
  1100. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1101. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1102. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1103. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1104. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1105. CreateWeld(wed,rwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1106. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1107. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1108. CreateWeld(wed,rwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1109. A1 = Instance.new('Attachment',wed)
  1110. A1.Position = vt(0,2,0.25)
  1111.  
  1112. tr2 = Instance.new('Trail',wed)
  1113. tr2.Attachment0 = A1
  1114. tr2.Attachment1 = A0
  1115. tr2.Texture = "rbxassetid://2108945559"
  1116. tr2.LightEmission = 1
  1117. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1118. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1119. tr2.Lifetime = 0.6
  1120.  
  1121. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1122. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1123. 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))
  1124.  
  1125. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1126. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1127. 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))
  1128. A0 = Instance.new('Attachment',wed)
  1129. A0.Position = vt(0,0.25,0.25)
  1130. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1131. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1132. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1133. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1134. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1135. 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))
  1136. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1137. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1138. 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))
  1139. A1 = Instance.new('Attachment',wed)
  1140. A1.Position = vt(0,2,0.25)
  1141.  
  1142. tr3 = Instance.new('Trail',wed)
  1143. tr3.Attachment0 = A1
  1144. tr3.Attachment1 = A0
  1145. tr3.Texture = "rbxassetid://2108945559"
  1146. tr3.LightEmission = 1
  1147. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1148. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1149. tr3.Lifetime = 0.6
  1150.  
  1151.  
  1152. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1153. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1154. 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))
  1155.  
  1156. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1157. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1158. 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))
  1159. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1160. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1161. 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))
  1162. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1163. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1164. 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))
  1165. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1166. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1167. 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))
  1168.  
  1169. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1170. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1171. 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))
  1172.  
  1173. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1174. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1175. 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))
  1176. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1177. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1178. 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))
  1179. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1180. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1181. 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))
  1182. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1183. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1184. 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))
  1185.  
  1186. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1187. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1188. 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))
  1189.  
  1190. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1191. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1192. 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))
  1193. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1194. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1195. 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))
  1196. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1197. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1198. 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))
  1199. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1200. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1201. 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))
  1202.  
  1203. ---- HERES THE RING
  1204.  
  1205.  
  1206. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1207. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1208. 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))
  1209. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1210. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1211. 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))
  1212. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1213. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1214. 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))
  1215.  
  1216.  
  1217. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1218. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1219. 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))
  1220.  
  1221. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1222. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1223. 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))
  1224.  
  1225.  
  1226.  
  1227. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1228. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1229. 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))
  1230.  
  1231. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1232. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1233. 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))
  1234.  
  1235. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1236. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1237. 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))
  1238.  
  1239. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1240. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1241. 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))
  1242. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1243. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1244. 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))
  1245.  
  1246. --- second ring
  1247.  
  1248. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1249. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1250. 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))
  1251. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1252. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1253. 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))
  1254. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1255. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1256. 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))
  1257.  
  1258. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1259. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1260. 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))
  1261.  
  1262. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1263. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1264. 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))
  1265.  
  1266.  
  1267.  
  1268. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1269. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1270. 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))
  1271.  
  1272. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1273. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1274. 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))
  1275.  
  1276. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1277. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1278. 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))
  1279.  
  1280. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1281. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1282. 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))
  1283. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1284. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1285. 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))]]--
  1286.  
  1287.  
  1288.  
  1289. for i, v in pairs(m:GetChildren()) do
  1290. if v:IsA("Part") then
  1291. v.BrickColor = BrickColor.new("Really black")
  1292. v.Material = "Glass"
  1293. end
  1294. end
  1295. for i, v in pairs(m2:GetChildren()) do
  1296. if v:IsA("Part") then
  1297. v.BrickColor = BrickColor.new("Crimson")
  1298. v.Material = "Granite"
  1299. end
  1300. end
  1301. for i, v in pairs(m3:GetChildren()) do
  1302. if v:IsA("Part") then
  1303. v.BrickColor = BrickColor.new("Really red")
  1304. v.Material = "Neon"
  1305. end
  1306. end
  1307. for i, v in pairs(mw2:GetChildren()) do
  1308. if v:IsA("Part") then
  1309. v.BrickColor = BrickColor.new("Really red")
  1310. v.Material = "Neon"
  1311. end
  1312. end
  1313. for i, v in pairs(mw1:GetChildren()) do
  1314. if v:IsA("Part") then
  1315. v.Transparency = 1
  1316. v.BrickColor = BrickColor.new("Really red")
  1317. v.Material = "Neon"
  1318. end
  1319. end
  1320. for i, v in pairs(extrawingmod1:GetChildren()) do
  1321. if v:IsA("Part") then
  1322. v.Transparency = 1
  1323. v.BrickColor = BrickColor.new("White")
  1324. v.Material = "Neon"
  1325. end
  1326. end
  1327. for i, v in pairs(extrawingmod2:GetChildren()) do
  1328. if v:IsA("Part") then
  1329. v.Transparency = 1
  1330. v.BrickColor = BrickColor.new("White")
  1331. v.Material = "Neon"
  1332. end
  1333. end
  1334. local MAINRUINCOLOR = BrickColor.new("Really red")
  1335. ------
  1336.  
  1337.  
  1338. function RemoveOutlines(part)
  1339. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1340. end
  1341. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1342. local Part = Create("Part")({
  1343. Parent = Parent,
  1344. Reflectance = Reflectance,
  1345. Transparency = Transparency,
  1346. CanCollide = false,
  1347. Locked = true,
  1348. BrickColor = BrickColor.new(tostring(BColor)),
  1349. Name = Name,
  1350. Size = Size,
  1351. Material = Material
  1352. })
  1353. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1354. RemoveOutlines(Part)
  1355. return Part
  1356. end
  1357. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1358. local Msh = Create(Mesh)({
  1359. Parent = Part,
  1360. Offset = OffSet,
  1361. Scale = Scale
  1362. })
  1363. if Mesh == "SpecialMesh" then
  1364. Msh.MeshType = MeshType
  1365. Msh.MeshId = MeshId
  1366. end
  1367. return Msh
  1368. end
  1369. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1370. local Weld = Create("Weld")({
  1371. Parent = Parent,
  1372. Part0 = Part0,
  1373. Part1 = Part1,
  1374. C0 = C0,
  1375. C1 = C1
  1376. })
  1377. return Weld
  1378. end
  1379.  
  1380. Character=Player.Character
  1381. PlayerGui=Player.PlayerGui
  1382. Backpack=Player.Backpack
  1383. Torso=Character.Torso
  1384. Head=Character.Head
  1385. Humanoid=Character.Humanoid
  1386. m=Instance.new('Model',Character)
  1387. LeftArm=Character["Left Arm"]
  1388. LeftLeg=Character["Left Leg"]
  1389. RightArm=Character["Right Arm"]
  1390. RightLeg=Character["Right Leg"]
  1391. LS=Torso["Left Shoulder"]
  1392. LH=Torso["Left Hip"]
  1393. RS=Torso["Right Shoulder"]
  1394. RH=Torso["Right Hip"]
  1395. Face = Head.face
  1396. Neck=Torso.Neck
  1397. it=Instance.new
  1398. attacktype=1
  1399. vt=Vector3.new
  1400. cf=CFrame.new
  1401. euler=CFrame.fromEulerAnglesXYZ
  1402. angles=CFrame.Angles
  1403. cloaked=false
  1404. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1405. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1406. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1407. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1408. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1409. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1410. RootPart=Character.HumanoidRootPart
  1411. RootJoint=RootPart.RootJoint
  1412. RootCF=euler(-1.57,0,3.14)
  1413. attack = false
  1414. attackdebounce = false
  1415. deb=false
  1416. equipped=true
  1417. hand=false
  1418. combo=0
  1419. mana=0
  1420. trispeed=.2
  1421. attackmode='none'
  1422. local idle=0
  1423. local Anim="Idle"
  1424. local Effects={}
  1425. local gun=false
  1426. local shoot=false
  1427. local sine = 0
  1428. local change = 1
  1429.  
  1430. function RecolorTextAndRename(name,col1,col2,font)
  1431. modet.TextStrokeColor3 = col2
  1432. modet.TextColor3 = col1
  1433. modet.Font = font
  1434. modet.Text = name
  1435. techc.ImageColor3 = col2
  1436. circl.ImageColor3 = col2
  1437. circl2.ImageColor3 = col1
  1438. imgl2.ImageColor3 = col1
  1439. imgl2b.ImageColor3 = col2
  1440. ned.Text = name
  1441. ned.TextColor3 = col1
  1442. ned.TextStrokeColor3 = col2
  1443. end
  1444. --save shoulders
  1445. RSH, LSH=nil, nil
  1446. --welds
  1447. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1448. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1449. LH=Torso["Left Hip"]
  1450. RH=Torso["Right Hip"]
  1451. TorsoColor=Torso.BrickColor
  1452. function NoOutline(Part)
  1453. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1454. end
  1455. ch=Character
  1456. RSH=ch.Torso["Right Shoulder"]
  1457. LSH=ch.Torso["Left Shoulder"]
  1458. --
  1459. RSH.Parent=nil
  1460. LSH.Parent=nil
  1461. --
  1462. RW.Name="Right Shoulder"
  1463. RW.Part0=ch.Torso
  1464. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1465. RW.C1=cf(0, 0.5, 0)
  1466. RW.Part1=ch["Right Arm"]
  1467. RW.Parent=ch.Torso
  1468. --
  1469. LW.Name="Left Shoulder"
  1470. LW.Part0=ch.Torso
  1471. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1472. LW.C1=cf(0, 0.5, 0)
  1473. LW.Part1=ch["Left Arm"]
  1474. LW.Parent=ch.Torso
  1475.  
  1476. local Stats=Instance.new("BoolValue")
  1477. Stats.Name="Stats"
  1478. Stats.Parent=Character
  1479. local Atk=Instance.new("NumberValue")
  1480. Atk.Name="Damage"
  1481. Atk.Parent=Stats
  1482. Atk.Value=1
  1483. local Def=Instance.new("NumberValue")
  1484. Def.Name="Defense"
  1485. Def.Parent=Stats
  1486. Def.Value=1
  1487. local Speed=Instance.new("NumberValue")
  1488. Speed.Name="Speed"
  1489. Speed.Parent=Stats
  1490. Speed.Value=1
  1491. local Mvmt=Instance.new("NumberValue")
  1492. Mvmt.Name="Movement"
  1493. Mvmt.Parent=Stats
  1494. Mvmt.Value=1
  1495.  
  1496. local donum=0
  1497.  
  1498.  
  1499. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1500. local fp=it("Part")
  1501. fp.formFactor=formfactor
  1502. fp.Parent=parent
  1503. fp.Reflectance=reflectance
  1504. fp.Transparency=transparency
  1505. fp.CanCollide=false
  1506. fp.Locked=true
  1507. fp.BrickColor=brickcolor
  1508. fp.Name=name
  1509. fp.Size=size
  1510. fp.Position=Torso.Position
  1511. NoOutline(fp)
  1512. fp.Material="SmoothPlastic"
  1513. fp:BreakJoints()
  1514. return fp
  1515. end
  1516.  
  1517. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1518. local mesh=it(Mesh)
  1519. mesh.Parent=part
  1520. if Mesh=="SpecialMesh" then
  1521. mesh.MeshType=meshtype
  1522. if meshid~="nil" then
  1523. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1524. end
  1525. end
  1526. mesh.Offset=offset
  1527. mesh.Scale=scale
  1528. return mesh
  1529. end
  1530.  
  1531. function weld(parent,part0,part1,c0)
  1532. local weld=it("Weld")
  1533. weld.Parent=parent
  1534. weld.Part0=part0
  1535. weld.Part1=part1
  1536. weld.C0=c0
  1537. return weld
  1538. end
  1539.  
  1540. local Color1=Torso.BrickColor
  1541.  
  1542. local bodvel=Instance.new("BodyVelocity")
  1543. local bg=Instance.new("BodyGyro")
  1544.  
  1545. --------- SazEreno's Artificial HB --------------
  1546. ArtificialHB = Instance.new("BindableEvent", script)
  1547. ArtificialHB.Name = "ArtificialHB"
  1548.  
  1549. script:WaitForChild("ArtificialHB")
  1550. Frame_Speed = 1 / 60
  1551. frame = Frame_Speed
  1552. tf = 0
  1553. allowframeloss = false
  1554. tossremainder = false
  1555. lastframe = tick()
  1556. script.ArtificialHB:Fire()
  1557.  
  1558. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1559. tf = tf + s
  1560. if tf >= frame then
  1561. if allowframeloss then
  1562. script.ArtificialHB:Fire()
  1563. lastframe = tick()
  1564. else
  1565. for i = 1, math.floor(tf / frame) do
  1566. script.ArtificialHB:Fire()
  1567. end
  1568. lastframe = tick()
  1569. end
  1570. if tossremainder then
  1571. tf = 0
  1572. else
  1573. tf = tf - frame * math.floor(tf / frame)
  1574. end
  1575. end
  1576. end)
  1577.  
  1578. ------------------
  1579. function swait(num)
  1580. function swait(num)
  1581. if num==0 or num==nil then
  1582. game:service'RunService'.Stepped:wait(0)
  1583. else
  1584. for i=0,num do
  1585. game:service'RunService'.Stepped:wait(0)
  1586. end
  1587. end
  1588. end
  1589. end
  1590.  
  1591. -------- RAINBOW LEAVE IT TO ME
  1592. local r = 255
  1593. local g = 0
  1594. local b = 0
  1595. coroutine.resume(coroutine.create(function()
  1596. while wait() do
  1597. for i = 0, 254/5 do
  1598. swait()
  1599. g = g + 5
  1600. end
  1601. for i = 0, 254/5 do
  1602. swait()
  1603. r = r - 5
  1604. end
  1605. for i = 0, 254/5 do
  1606. swait()
  1607. b = b + 5
  1608. end
  1609. for i = 0, 254/5 do
  1610. swait()
  1611. g = g - 5
  1612. end
  1613. for i = 0, 254/5 do
  1614. swait()
  1615. r = r + 5
  1616. end
  1617. for i = 0, 254/5 do
  1618. swait()
  1619. b = b - 5
  1620. end
  1621. end
  1622. end))
  1623.  
  1624.  
  1625. so = function(id,par,vol,pit)
  1626. coroutine.resume(coroutine.create(function()
  1627. local sou = Instance.new("Sound",par or workspace)
  1628. sou.Volume=vol
  1629. sou.Pitch=pit or 1
  1630. sou.SoundId=id
  1631. swait()
  1632. sou:play()
  1633. game:GetService("Debris"):AddItem(sou,6)
  1634. end))
  1635. end
  1636.  
  1637. function clerp(a,b,t)
  1638. local qa = {QuaternionFromCFrame(a)}
  1639. local qb = {QuaternionFromCFrame(b)}
  1640. local ax, ay, az = a.x, a.y, a.z
  1641. local bx, by, bz = b.x, b.y, b.z
  1642. local _t = 1-t
  1643. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1644. end
  1645.  
  1646. function QuaternionFromCFrame(cf)
  1647. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1648. local trace = m00 + m11 + m22
  1649. if trace > 0 then
  1650. local s = math.sqrt(1 + trace)
  1651. local recip = 0.5/s
  1652. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1653. else
  1654. local i = 0
  1655. if m11 > m00 then
  1656. i = 1
  1657. end
  1658. if m22 > (i == 0 and m00 or m11) then
  1659. i = 2
  1660. end
  1661. if i == 0 then
  1662. local s = math.sqrt(m00-m11-m22+1)
  1663. local recip = 0.5/s
  1664. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1665. elseif i == 1 then
  1666. local s = math.sqrt(m11-m22-m00+1)
  1667. local recip = 0.5/s
  1668. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1669. elseif i == 2 then
  1670. local s = math.sqrt(m22-m00-m11+1)
  1671. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1672. end
  1673. end
  1674. end
  1675.  
  1676. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1677. local xs, ys, zs = x + x, y + y, z + z
  1678. local wx, wy, wz = w*xs, w*ys, w*zs
  1679. local xx = x*xs
  1680. local xy = x*ys
  1681. local xz = x*zs
  1682. local yy = y*ys
  1683. local yz = y*zs
  1684. local zz = z*zs
  1685. 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))
  1686. end
  1687.  
  1688. function QuaternionSlerp(a, b, t)
  1689. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1690. local startInterp, finishInterp;
  1691. if cosTheta >= 0.0001 then
  1692. if (1 - cosTheta) > 0.0001 then
  1693. local theta = math.acos(cosTheta)
  1694. local invSinTheta = 1/math.sin(theta)
  1695. startInterp = math.sin((1-t)*theta)*invSinTheta
  1696. finishInterp = math.sin(t*theta)*invSinTheta
  1697. else
  1698. startInterp = 1-t
  1699. finishInterp = t
  1700. end
  1701. else
  1702. if (1+cosTheta) > 0.0001 then
  1703. local theta = math.acos(-cosTheta)
  1704. local invSinTheta = 1/math.sin(theta)
  1705. startInterp = math.sin((t-1)*theta)*invSinTheta
  1706. finishInterp = math.sin(t*theta)*invSinTheta
  1707. else
  1708. startInterp = t-1
  1709. finishInterp = t
  1710. end
  1711. end
  1712. 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
  1713. end
  1714.  
  1715. local function CFrameFromTopBack(at, top, back)
  1716. local right = top:Cross(back)
  1717. return CFrame.new(at.x, at.y, at.z,
  1718. right.x, top.x, back.x,
  1719. right.y, top.y, back.y,
  1720. right.z, top.z, back.z)
  1721. end
  1722.  
  1723. function Triangle(a, b, c)
  1724. local edg1 = (c-a):Dot((b-a).unit)
  1725. local edg2 = (a-b):Dot((c-b).unit)
  1726. local edg3 = (b-c):Dot((a-c).unit)
  1727. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1728. a, b, c = a, b, c
  1729. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1730. a, b, c = b, c, a
  1731. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1732. a, b, c = c, a, b
  1733. else
  1734. assert(false, "unreachable")
  1735. end
  1736.  
  1737. local len1 = (c-a):Dot((b-a).unit)
  1738. local len2 = (b-a).magnitude - len1
  1739. local width = (a + (b-a).unit*len1 - c).magnitude
  1740.  
  1741. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1742.  
  1743. local list = {}
  1744.  
  1745. if len1 > 0.01 then
  1746. local w1 = Instance.new('WedgePart', m)
  1747. game:GetService("Debris"):AddItem(w1,5)
  1748. w1.Material = "SmoothPlastic"
  1749. w1.FormFactor = 'Custom'
  1750. w1.BrickColor = BrickColor.new("Really red")
  1751. w1.Transparency = 0
  1752. w1.Reflectance = 0
  1753. w1.Material = "SmoothPlastic"
  1754. w1.CanCollide = false
  1755. local l1 = Instance.new("PointLight",w1)
  1756. l1.Color = Color3.new(170,0,0)
  1757. NoOutline(w1)
  1758. local sz = Vector3.new(0.2, width, len1)
  1759. w1.Size = sz
  1760. local sp = Instance.new("SpecialMesh",w1)
  1761. sp.MeshType = "Wedge"
  1762. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1763. w1:BreakJoints()
  1764. w1.Anchored = true
  1765. w1.Parent = workspace
  1766. w1.Transparency = 0.7
  1767. table.insert(Effects,{w1,"Disappear",.01})
  1768. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1769. table.insert(list,w1)
  1770. end
  1771.  
  1772. if len2 > 0.01 then
  1773. local w2 = Instance.new('WedgePart', m)
  1774. game:GetService("Debris"):AddItem(w2,5)
  1775. w2.Material = "SmoothPlastic"
  1776. w2.FormFactor = 'Custom'
  1777. w2.BrickColor = BrickColor.new("Really red")
  1778. w2.Transparency = 0
  1779. w2.Reflectance = 0
  1780. w2.Material = "SmoothPlastic"
  1781. w2.CanCollide = false
  1782. local l2 = Instance.new("PointLight",w2)
  1783. l2.Color = Color3.new(170,0,0)
  1784. NoOutline(w2)
  1785. local sz = Vector3.new(0.2, width, len2)
  1786. w2.Size = sz
  1787. local sp = Instance.new("SpecialMesh",w2)
  1788. sp.MeshType = "Wedge"
  1789. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1790. w2:BreakJoints()
  1791. w2.Anchored = true
  1792. w2.Parent = workspace
  1793. w2.Transparency = 0.7
  1794. table.insert(Effects,{w2,"Disappear",.01})
  1795. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1796. table.insert(list,w2)
  1797. end
  1798. return unpack(list)
  1799. end
  1800.  
  1801.  
  1802. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1803. if hit.Parent == nil then
  1804. return
  1805. end
  1806. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1807. for _, v in pairs(hit.Parent:children()) do
  1808. if v:IsA("Humanoid") then
  1809. h = v
  1810. end
  1811. end
  1812. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1813. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1814. return
  1815. end
  1816. local c = Create("ObjectValue")({
  1817. Name = "creator",
  1818. Value = game:GetService("Players").LocalPlayer,
  1819. Parent = h
  1820. })
  1821. game:GetService("Debris"):AddItem(c, 0.5)
  1822. if HitSound ~= nil and HitPitch ~= nil then
  1823. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1824. end
  1825. local Damage = math.random(minim, maxim)
  1826. local blocked = false
  1827. local block = hit.Parent:findFirstChild("Block")
  1828. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1829. blocked = true
  1830. block.Value = block.Value - 1
  1831. print(block.Value)
  1832. end
  1833. if blocked == false then
  1834. HitHealth = h.Health
  1835. h.MaxHealth = 100
  1836. h.Health = h.Health - Damage
  1837. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1838. print("gained kill")
  1839. dmg(h.Parent)
  1840. end
  1841. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1842. else
  1843. h.Health = h.Health - Damage / 2
  1844. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1845. end
  1846. if Type == "Knockdown" then
  1847. local hum = hit.Parent.Humanoid
  1848. hum.PlatformStand = true
  1849. coroutine.resume(coroutine.create(function(HHumanoid)
  1850. swait(1)
  1851. HHumanoid.PlatformStand = false
  1852. end), hum)
  1853. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1854. local bodvol = Create("BodyVelocity")({
  1855. velocity = angle * knockback,
  1856. P = 5000,
  1857. maxForce = Vector3.new(8000, 8000, 8000),
  1858. Parent = hit
  1859. })
  1860. local rl = Create("BodyAngularVelocity")({
  1861. P = 3000,
  1862. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1863. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1864. Parent = hit
  1865. })
  1866. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1867. game:GetService("Debris"):AddItem(rl, 0.5)
  1868. elseif Type == "Normal" then
  1869. local vp = Create("BodyVelocity")({
  1870. P = 500,
  1871. maxForce = Vector3.new(math.huge, 0, math.huge),
  1872. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1873. })
  1874. if knockback > 0 then
  1875. vp.Parent = hit.Parent.Head
  1876. end
  1877. game:GetService("Debris"):AddItem(vp, 0.5)
  1878. elseif Type == "Up" then
  1879. local bodyVelocity = Create("BodyVelocity")({
  1880. velocity = Vector3.new(0, 20, 0),
  1881. P = 5000,
  1882. maxForce = Vector3.new(8000, 8000, 8000),
  1883. Parent = hit
  1884. })
  1885. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1886. local bodyVelocity = Create("BodyVelocity")({
  1887. velocity = Vector3.new(0, 20, 0),
  1888. P = 5000,
  1889. maxForce = Vector3.new(8000, 8000, 8000),
  1890. Parent = hit
  1891. })
  1892. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1893. elseif Type == "Leech" then
  1894. local hum = hit.Parent.Humanoid
  1895. if hum ~= nil then
  1896. for i = 0, 2 do
  1897. 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)
  1898. end
  1899. Humanoid.Health = Humanoid.Health + 10
  1900. end
  1901. elseif Type == "UpKnock" then
  1902. local hum = hit.Parent.Humanoid
  1903. hum.PlatformStand = true
  1904. if hum ~= nil then
  1905. hitr = true
  1906. end
  1907. coroutine.resume(coroutine.create(function(HHumanoid)
  1908. swait(5)
  1909. HHumanoid.PlatformStand = false
  1910. hitr = false
  1911. end), hum)
  1912. local bodyVelocity = Create("BodyVelocity")({
  1913. velocity = Vector3.new(0, 20, 0),
  1914. P = 5000,
  1915. maxForce = Vector3.new(8000, 8000, 8000),
  1916. Parent = hit
  1917. })
  1918. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1919. local bodyVelocity = Create("BodyVelocity")({
  1920. velocity = Vector3.new(0, 20, 0),
  1921. P = 5000,
  1922. maxForce = Vector3.new(8000, 8000, 8000),
  1923. Parent = hit
  1924. })
  1925. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1926. elseif Type == "Snare" then
  1927. local bp = Create("BodyPosition")({
  1928. P = 2000,
  1929. D = 100,
  1930. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1931. position = hit.Parent.Torso.Position,
  1932. Parent = hit.Parent.Torso
  1933. })
  1934. game:GetService("Debris"):AddItem(bp, 1)
  1935. elseif Type == "Slashnare" then
  1936. 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)
  1937. for i = 1, math.random(4, 5) do
  1938. 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)
  1939. end
  1940. local bp = Create("BodyPosition")({
  1941. P = 2000,
  1942. D = 100,
  1943. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1944. position = hit.Parent.Torso.Position,
  1945. Parent = hit.Parent.Torso
  1946. })
  1947. game:GetService("Debris"):AddItem(bp, 1)
  1948. elseif Type == "Spike" then
  1949. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1950. local bp = Create("BodyPosition")({
  1951. P = 2000,
  1952. D = 100,
  1953. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1954. position = hit.Parent.Torso.Position,
  1955. Parent = hit.Parent.Torso
  1956. })
  1957. game:GetService("Debris"):AddItem(bp, 1)
  1958. elseif Type == "Freeze" then
  1959. local BodPos = Create("BodyPosition")({
  1960. P = 50000,
  1961. D = 1000,
  1962. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1963. position = hit.Parent.Torso.Position,
  1964. Parent = hit.Parent.Torso
  1965. })
  1966. local BodGy = Create("BodyGyro")({
  1967. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1968. P = 20000,
  1969. Parent = hit.Parent.Torso,
  1970. cframe = hit.Parent.Torso.CFrame
  1971. })
  1972. hit.Parent.Torso.Anchored = true
  1973. coroutine.resume(coroutine.create(function(Part)
  1974. swait(1.5)
  1975. Part.Anchored = false
  1976. end), hit.Parent.Torso)
  1977. game:GetService("Debris"):AddItem(BodPos, 3)
  1978. game:GetService("Debris"):AddItem(BodGy, 3)
  1979. end
  1980. local debounce = Create("BoolValue")({
  1981. Name = "DebounceHit",
  1982. Parent = hit.Parent,
  1983. Value = true
  1984. })
  1985. game:GetService("Debris"):AddItem(debounce, Delay)
  1986. c = Instance.new("ObjectValue")
  1987. c.Name = "creator"
  1988. c.Value = Player
  1989. c.Parent = h
  1990. game:GetService("Debris"):AddItem(c, 0.5)
  1991. end
  1992. end
  1993. function ShowDamage(Pos, Text, Time, Color)
  1994. local Rate = 0.03333333333333333
  1995. local Pos = Pos or Vector3.new(0, 0, 0)
  1996. local Text = Text or ""
  1997. local Time = Time or 2
  1998. local Color = Color or Color3.new(1, 0, 1)
  1999. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2000. EffectPart.Anchored = true
  2001. local BillboardGui = Create("BillboardGui")({
  2002. Size = UDim2.new(3, 0, 3, 0),
  2003. Adornee = EffectPart,
  2004. Parent = EffectPart
  2005. })
  2006. local TextLabel = Create("TextLabel")({
  2007. BackgroundTransparency = 1,
  2008. Size = UDim2.new(1, 0, 1, 0),
  2009. Text = Text,
  2010. TextColor3 = Color,
  2011. TextScaled = true,
  2012. Font = Enum.Font.ArialBold,
  2013. Parent = BillboardGui
  2014. })
  2015. game.Debris:AddItem(EffectPart, Time + 0.1)
  2016. EffectPart.Parent = game:GetService("Workspace")
  2017. delay(0, function()
  2018. local Frames = Time / Rate
  2019. for Frame = 1, Frames do
  2020. wait(Rate)
  2021. local Percent = Frame / Frames
  2022. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2023. TextLabel.TextTransparency = Percent
  2024. end
  2025. if EffectPart and EffectPart.Parent then
  2026. EffectPart:Destroy()
  2027. end
  2028. end)
  2029. end
  2030. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2031. for _, c in pairs(workspace:children()) do
  2032. local hum = c:findFirstChildOfClass("Humanoid")
  2033. if hum ~= nil then
  2034. local head = c:findFirstChild("Head")
  2035. if head ~= nil then
  2036. local targ = head.Position - Part.Position
  2037. local mag = targ.magnitude
  2038. if magni >= mag and c.Name ~= Player.Name then
  2039. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2040. end
  2041. end
  2042. end
  2043. end
  2044. end
  2045.  
  2046. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  2047. for _, c in pairs(workspace:children()) do
  2048. local hum = c:findFirstChild("Humanoid")
  2049. if hum ~= nil then
  2050. local head = c:findFirstChild("Torso")
  2051. if head ~= nil then
  2052. local targ = head.Position - Part.Position
  2053. local mag = targ.magnitude
  2054. if magni >= mag and c.Name ~= Player.Name then
  2055. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2056. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2057. end
  2058. end
  2059. end
  2060. end
  2061. end
  2062.  
  2063. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2064. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2065. end
  2066.  
  2067. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2068. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2069. prt.Anchored=true
  2070. prt.CFrame=cframe
  2071. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2072. --http://www.roblox.com/asset/?id=4770560
  2073. game:GetService("Debris"):AddItem(prt,2)
  2074. CF=prt.CFrame
  2075. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2076. for i=0,1,0.2 do
  2077. wait()
  2078. Part.CFrame=CF*cf(0,0,-0.4)
  2079. end
  2080. for i=0,1,delay do
  2081. wait()
  2082. --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)
  2083. Mesh.Scale=Mesh.Scale
  2084. end
  2085. for i=0,1,0.1 do
  2086. wait()
  2087. Part.Transparency=i
  2088. end
  2089. Part.Parent=nil
  2090. end),prt,msh,CF)
  2091. end
  2092.  
  2093. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2094. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2095. prt.Anchored=true
  2096. prt.Material = "Neon"
  2097. prt.CFrame=cframe
  2098. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2099. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2100. game:GetService("Debris"):AddItem(prt,5)
  2101. coroutine.resume(coroutine.create(function(Part,Mesh)
  2102. for i=0,1,delay do
  2103. swait()
  2104. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2105. Part.Transparency=i
  2106. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2107. end
  2108. Part.Parent=nil
  2109. end),prt,msh)
  2110. end
  2111.  
  2112. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2113. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2114. prt.Anchored=true
  2115. prt.Material = "Neon"
  2116. prt.CFrame=cframe
  2117. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2118. game:GetService("Debris"):AddItem(prt,5)
  2119. coroutine.resume(coroutine.create(function(Part,Mesh)
  2120. local rtype = rottype
  2121. for i=0,1,delay do
  2122. swait()
  2123. if rtype == 1 then
  2124. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2125. elseif rtype == 2 then
  2126. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2127. end
  2128. Part.Transparency=i
  2129. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2130. end
  2131. Part.Parent=nil
  2132. end),prt,msh)
  2133. end
  2134.  
  2135. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2136. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2137. prt.Anchored=true
  2138. prt.CFrame=cframe
  2139. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2140. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2141. game:GetService("Debris"):AddItem(prt,5)
  2142. coroutine.resume(coroutine.create(function(Part,Mesh)
  2143. for i=0,1,delay do
  2144. wait()
  2145. Part.Transparency=i
  2146. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2147. end
  2148. Part.Parent=nil
  2149. end),prt,msh)
  2150. end
  2151.  
  2152. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2153. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2154. prt.Anchored=true
  2155. prt.Material = "Neon"
  2156. prt.CFrame=cframe
  2157. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2158. game:GetService("Debris"):AddItem(prt,5)
  2159. coroutine.resume(coroutine.create(function(Part,Mesh)
  2160. local rtype = rottype
  2161. for i=0,1,delay do
  2162. swait()
  2163. if rtype == 1 then
  2164. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2165. elseif rtype == 2 then
  2166. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2167. end
  2168. Part.Transparency=i
  2169. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2170. end
  2171. Part.Parent=nil
  2172. end),prt,msh)
  2173. end
  2174.  
  2175. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2176. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2177. prt.Anchored=true
  2178. prt.Material = "Neon"
  2179. prt.CFrame=cframe
  2180. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2181. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2182. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2183. game:GetService("Debris"):AddItem(prt,5)
  2184. coroutine.resume(coroutine.create(function(Part,Mesh)
  2185. local rtype = rottype
  2186. for i=0,1,delay do
  2187. swait()
  2188. if rtype == 1 then
  2189. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2190. elseif rtype == 2 then
  2191. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2192. end
  2193. dec.Transparency=i
  2194. dec2.Transparency=i
  2195. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2196. end
  2197. Part.Parent=nil
  2198. end),prt,msh)
  2199. end
  2200.  
  2201. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2202. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2203. prt.Anchored=true
  2204. prt.Material = "Neon"
  2205. prt.CFrame=cframe
  2206. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2207. game:GetService("Debris"):AddItem(prt,5)
  2208. coroutine.resume(coroutine.create(function(Part,Mesh)
  2209. local rtype = rottype
  2210. for i=0,1,delay do
  2211. swait()
  2212. if rtype == 1 then
  2213. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2214. elseif rtype == 2 then
  2215. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2216. end
  2217. prt.Transparency=i
  2218. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2219. end
  2220. Part.Parent=nil
  2221. end),prt,msh)
  2222. end
  2223.  
  2224. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2225. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2226. prt.Anchored=true
  2227. prt.Material = "Neon"
  2228. prt.CFrame=cframe
  2229. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2230. game:GetService("Debris"):AddItem(prt,5)
  2231. coroutine.resume(coroutine.create(function(Part,Mesh)
  2232. local rtype = rottype
  2233. for i=0,1,delay do
  2234. swait()
  2235. if rtype == 1 then
  2236. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2237. elseif rtype == 2 then
  2238. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2239. end
  2240. prt.Transparency=i
  2241. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2242. end
  2243. Part.Parent=nil
  2244. end),prt,msh)
  2245. end
  2246.  
  2247. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2248. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2249. prt.Anchored=true
  2250. prt.Material = "Neon"
  2251. prt.CFrame=cframe
  2252. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2253. game:GetService("Debris"):AddItem(prt,5)
  2254. coroutine.resume(coroutine.create(function(Part,Mesh)
  2255. local rtype = rottype
  2256. for i=0,1,delay do
  2257. swait()
  2258. if rtype == 1 then
  2259. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2260. elseif rtype == 2 then
  2261. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2262. end
  2263. prt.Transparency=i
  2264. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2265. end
  2266. Part.Parent=nil
  2267. end),prt,msh)
  2268. end
  2269.  
  2270. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2271. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2272. prt.Anchored=true
  2273. prt.Material = "Neon"
  2274. prt.CFrame=cframe
  2275. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2276. game:GetService("Debris"):AddItem(prt,5)
  2277. coroutine.resume(coroutine.create(function(Part,Mesh)
  2278. local rtype = rottype
  2279. for i=0,1,delay do
  2280. swait()
  2281. if rtype == 1 then
  2282. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2283. elseif rtype == 2 then
  2284. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2285. end
  2286. prt.Transparency=i
  2287. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2288. end
  2289. Part.Parent=nil
  2290. end),prt,msh)
  2291. end
  2292.  
  2293. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2294. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2295. prt.Anchored=false
  2296. prt.CFrame=cframe
  2297. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2298. local wld=weld(prt,prt,Parent,cframe)
  2299. game:GetService("Debris"):AddItem(prt,5)
  2300. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2301. for i=0,1,delay do
  2302. wait()
  2303. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2304. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2305. Part.Transparency=i
  2306. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2307. end
  2308. Part.Parent=nil
  2309. end),prt,msh,wld)
  2310. end
  2311.  
  2312. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2313. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2314. prt.Anchored=false
  2315. prt.CFrame=cframe
  2316. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2317. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2318. game:GetService("Debris"):AddItem(prt,5)
  2319. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2320. for i=0,1,delay do
  2321. wait()
  2322. Weld.C0=euler(i*20,0,0)
  2323. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2324. Part.Transparency=i
  2325. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2326. end
  2327. Part.Parent=nil
  2328. end),prt,msh,wld)
  2329. end
  2330.  
  2331. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2332. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2333. prt.Anchored=true
  2334. prt.CFrame=cframe
  2335. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2336. game:GetService("Debris"):AddItem(prt,2)
  2337. coroutine.resume(coroutine.create(function(Part,Mesh)
  2338. for i=0,1,delay do
  2339. wait()
  2340. Part.CFrame=Part.CFrame
  2341. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2342. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2343. prt2.Anchored=true
  2344. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2345. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2346. game:GetService("Debris"):AddItem(prt2,2)
  2347. coroutine.resume(coroutine.create(function(Part,Mesh)
  2348. for i=0,1,0.1 do
  2349. wait()
  2350. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2351. end
  2352. Part.Parent=nil
  2353. end),prt2,msh2)
  2354. end
  2355. for i=0,1,delay*2 do
  2356. wait()
  2357. Part.CFrame=Part.CFrame
  2358. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2359. end
  2360. Part.Parent=nil
  2361. end),prt,msh)
  2362. end
  2363.  
  2364. function MagicCircle(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. local msh=mesh("SpecialMesh",prt,"Sphere","",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
  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 BreakEffect(brickcolor,cframe,x1,y1,z1)
  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*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2385. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2386. game:GetService("Debris"):AddItem(prt,2)
  2387. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2388. CF=Part.CFrame
  2389. Numbb=0
  2390. randnumb=math.random()/10
  2391. rand1=math.random()/10
  2392. for i=0,1,rand1 do
  2393. wait()
  2394. CF=CF*cf(0,math.random()/2,0)
  2395. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2396. Part.CFrame=CF*euler(Numbb,0,0)
  2397. Part.Transparency=i
  2398. Numbb=Numbb+randnumb
  2399. end
  2400. Part.Parent=nil
  2401. end),prt,CF,Numbb,randnumb)
  2402. end
  2403.  
  2404. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2405. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2406. prt.Anchored=true
  2407. prt.CFrame=cframe
  2408. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2409. game:GetService("Debris"):AddItem(prt,5)
  2410. coroutine.resume(coroutine.create(function(Part,Mesh)
  2411. for i=0,1,delay do
  2412. wait()
  2413. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2414. Part.Transparency=i
  2415. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2416. end
  2417. Part.Parent=nil
  2418. end),prt,msh)
  2419. end
  2420.  
  2421. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2422. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2423. prt.Anchored=true
  2424. prt.CFrame=cframe
  2425. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2426. game:GetService("Debris"):AddItem(prt,2)
  2427. coroutine.resume(coroutine.create(function(Part,Mesh)
  2428. for i=0,1,delay do
  2429. wait()
  2430. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2431. Part.Transparency=i
  2432. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2433. end
  2434. Part.Parent=nil
  2435. end),prt,msh)
  2436. end
  2437.  
  2438. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2439. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2440. prt.Anchored=true
  2441. prt.CFrame=cframe*cf(x,y,z)
  2442. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2443. game:GetService("Debris"):AddItem(prt,5)
  2444. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2445. local num=math.random()
  2446. local num2=math.random(-3,2)+math.random()
  2447. local numm=0
  2448. for i=0,1,delay*2 do
  2449. swait()
  2450. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2451. Part.Transparency=i
  2452. numm=numm+0.01
  2453. end
  2454. Part.Parent=nil
  2455. Mesh.Parent=nil
  2456. end),prt,msh,x,y,z)
  2457. end
  2458.  
  2459. function dmgstart(dmg,what)
  2460. hitcon = what.Touched:connect(function(hit)
  2461. local hum = hit.Parent:FindFirstChild("Humanoid")
  2462. if hum and not hum:IsDescendantOf(Character) then
  2463. hum:TakeDamage(dmg)
  2464. end
  2465. end)
  2466. end
  2467.  
  2468. function dmgstop()
  2469. hitcon:disconnect()
  2470. end
  2471.  
  2472. function Cloak()
  2473. Face.Parent=nil
  2474. cloaked=true
  2475. for _,v in pairs(Torso.Parent:children()) do
  2476. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2477. coroutine.resume(coroutine.create(function()
  2478. for i=0,1,0.2 do
  2479. wait()
  2480. v.Transparency=i
  2481. end
  2482. v.Transparency=1
  2483. end))
  2484. end
  2485. if v.className=="Hat" then
  2486. hatp=v.Handle
  2487. coroutine.resume(coroutine.create(function(derp)
  2488. for i=0,1,0.2 do
  2489. wait()
  2490. derp.Transparency=i
  2491. end
  2492. derp.Transparency=1
  2493. end),hatp)
  2494. end
  2495. end
  2496. for _,v in pairs(m:children()) do
  2497. if v.className=="Part" then
  2498. coroutine.resume(coroutine.create(function()
  2499. for i=0,1,0.2 do
  2500. wait()
  2501. v.Transparency=i
  2502. end
  2503. v.Transparency=1
  2504. end))
  2505. end
  2506. end
  2507. end
  2508.  
  2509. function UnCloak()
  2510. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2511. Face.Parent=Head
  2512. cloaked=false
  2513. for _,v in pairs(Torso.Parent:children()) do
  2514. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2515. coroutine.resume(coroutine.create(function()
  2516. for i=0,1,0.1 do
  2517. wait()
  2518. v.Transparency=v.Transparency-0.1
  2519. end
  2520. v.Transparency=0
  2521. end))
  2522. end
  2523. if v.className=="Hat" then
  2524. hatp=v.Handle
  2525. coroutine.resume(coroutine.create(function(derp)
  2526. for i=0,1,0.1 do
  2527. wait()
  2528. derp.Transparency=derp.Transparency-0.1
  2529. end
  2530. derp.Transparency=0
  2531. end),hatp)
  2532. end
  2533. end
  2534. for _,v in pairs(m:children()) do
  2535. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2536. coroutine.resume(coroutine.create(function()
  2537. for i=0,1,0.1 do
  2538. wait()
  2539. v.Transparency=v.Transparency-0.1
  2540. end
  2541. v.Transparency=0
  2542. end))
  2543. v.Transparency=0
  2544. end
  2545. end
  2546. end
  2547.  
  2548. local origcolor = BrickColor.new("Pastel light blue")
  2549. ---- This section of explosions.
  2550.  
  2551. ----
  2552.  
  2553.  
  2554. function ring(type,pos,scale,value)
  2555. local type = type
  2556. local rng = Instance.new("Part", char)
  2557. rng.Anchored = true
  2558. rng.BrickColor = origcolor
  2559. rng.CanCollide = false
  2560. rng.FormFactor = 3
  2561. rng.Name = "Ring"
  2562. rng.Size = Vector3.new(1, 1, 1)
  2563. rng.Transparency = 0
  2564. rng.TopSurface = 0
  2565. rng.BottomSurface = 0
  2566. rng.CFrame = pos
  2567. local rngm = Instance.new("SpecialMesh", rng)
  2568. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2569. rngm.Scale = scale
  2570. local scaler2 = 1
  2571. if type == "Add" then
  2572. scaler2 = 1*value
  2573. elseif type == "Divide" then
  2574. scaler2 = 1/value
  2575. end
  2576. coroutine.resume(coroutine.create(function()
  2577. for i = 0,10,0.1 do
  2578. swait()
  2579. if type == "Add" then
  2580. scaler2 = scaler2 - 0.01*value
  2581. elseif type == "Divide" then
  2582. scaler2 = scaler2 - 0.01/value
  2583. end
  2584. rng.Transparency = rng.Transparency + 0.01
  2585. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2586. end
  2587. rng:Destroy()
  2588. end))
  2589. end
  2590.  
  2591.  
  2592. function wave(type,pos,scale,value)
  2593. local type = type
  2594. local rng = Instance.new("Part", char)
  2595. rng.Anchored = true
  2596. rng.BrickColor = origcolor
  2597. rng.CanCollide = false
  2598. rng.FormFactor = 3
  2599. rng.Name = "Ring"
  2600. rng.Size = Vector3.new(1, 1, 1)
  2601. rng.Transparency = 0
  2602. rng.TopSurface = 0
  2603. rng.BottomSurface = 0
  2604. rng.CFrame = pos
  2605. local rngm = Instance.new("SpecialMesh", rng)
  2606. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2607. rngm.Scale = scale
  2608. local scaler2 = 1
  2609. if type == "Add" then
  2610. scaler2 = 1*value
  2611. elseif type == "Divide" then
  2612. scaler2 = 1/value
  2613. end
  2614. coroutine.resume(coroutine.create(function()
  2615. for i = 0,10,0.1 do
  2616. swait()
  2617. if type == "Add" then
  2618. scaler2 = scaler2 - 0.01*value
  2619. elseif type == "Divide" then
  2620. scaler2 = scaler2 - 0.01/value
  2621. end
  2622. rng.Transparency = rng.Transparency + 0.01
  2623. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2624. end
  2625. rng:Destroy()
  2626. end))
  2627. end
  2628.  
  2629. function wind(type,pos,scale,value,speed)
  2630. local type = type
  2631. local rng = Instance.new("Part", char)
  2632. rng.Anchored = true
  2633. rng.BrickColor = origcolor
  2634. rng.CanCollide = false
  2635. rng.FormFactor = 3
  2636. rng.Name = "Ring"
  2637. rng.Size = Vector3.new(1, 1, 1)
  2638. rng.Transparency = 0
  2639. rng.TopSurface = 0
  2640. rng.BottomSurface = 0
  2641. rng.CFrame = pos
  2642. local rngm = Instance.new("SpecialMesh", rng)
  2643. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2644. rngm.Scale = scale
  2645. local scaler2 = 1
  2646. if type == "Add" then
  2647. scaler2 = 1*value
  2648. elseif type == "Divide" then
  2649. scaler2 = 1/value
  2650. end
  2651. coroutine.resume(coroutine.create(function()
  2652. for i = 0,10,0.1 do
  2653. swait()
  2654. if type == "Add" then
  2655. scaler2 = scaler2 - 0.01*value
  2656. elseif type == "Divide" then
  2657. scaler2 = scaler2 - 0.01/value
  2658. end
  2659. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2660. rng.Transparency = rng.Transparency + 0.01
  2661. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2662. end
  2663. rng:Destroy()
  2664. end))
  2665. end
  2666.  
  2667. function groundwind(type,pos,scale,value,speed)
  2668. local type = type
  2669. local rng = Instance.new("Part", char)
  2670. rng.Anchored = true
  2671. rng.BrickColor = origcolor
  2672. rng.CanCollide = false
  2673. rng.FormFactor = 3
  2674. rng.Name = "Ring"
  2675. rng.Size = Vector3.new(1, 1, 1)
  2676. rng.Transparency = 0
  2677. rng.TopSurface = 0
  2678. rng.BottomSurface = 0
  2679. rng.CFrame = pos
  2680. local rngm = Instance.new("SpecialMesh", rng)
  2681. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2682. rngm.Scale = scale
  2683. local scaler2 = 1
  2684. if type == "Add" then
  2685. scaler2 = 1*value
  2686. elseif type == "Divide" then
  2687. scaler2 = 1/value
  2688. end
  2689. coroutine.resume(coroutine.create(function()
  2690. for i = 0,10,0.1 do
  2691. swait()
  2692. if type == "Add" then
  2693. scaler2 = scaler2 - 0.01*value
  2694. elseif type == "Divide" then
  2695. scaler2 = scaler2 - 0.01/value
  2696. end
  2697. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2698. rng.Transparency = rng.Transparency + 0.01
  2699. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2700. end
  2701. rng:Destroy()
  2702. end))
  2703. end
  2704.  
  2705. function CameraManager()
  2706. if TwoD and not CamInterrupt then
  2707. if Humanoid.Health > 0 then
  2708. Camera.CameraSubject = Humanoid
  2709. Camera.CameraType = "Scriptable"
  2710. Humanoid.AutoRotate = false
  2711. if Booleans.GyroUse then
  2712. Directer.MaxTorque = Vec3(0, huge, 0)
  2713. else
  2714. Directer.MaxTorque = Vec3(0, 0, 0)
  2715. end
  2716. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2717. if Booleans.CamFollow then
  2718. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2719. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2720. else
  2721. CPart.Position = RootPart.Position
  2722. end
  2723. else
  2724. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2725. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2726. end
  2727. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2728. else
  2729. Camera.CameraSubject = Humanoid
  2730. Camera.CameraType = "Custom"
  2731. Controller.Disabled = false
  2732. end
  2733. end
  2734. end
  2735.  
  2736. function ring(type,pos,scale,value)
  2737. local type = type
  2738. local rng = Instance.new("Part", char)
  2739. rng.Anchored = true
  2740. rng.BrickColor = origcolor
  2741. rng.CanCollide = false
  2742. rng.FormFactor = 3
  2743. rng.Name = "Ring"
  2744. rng.Size = Vector3.new(1, 1, 1)
  2745. rng.Transparency = 0
  2746. rng.TopSurface = 0
  2747. rng.BottomSurface = 0
  2748. rng.CFrame = pos
  2749. local rngm = Instance.new("SpecialMesh", rng)
  2750. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2751. rngm.Scale = scale
  2752. local scaler2 = 1
  2753. if type == "Add" then
  2754. scaler2 = 1*value
  2755. elseif type == "Divide" then
  2756. scaler2 = 1/value
  2757. end
  2758. coroutine.resume(coroutine.create(function()
  2759. for i = 0,10,0.1 do
  2760. swait()
  2761. if type == "Add" then
  2762. scaler2 = scaler2 - 0.01*value
  2763. elseif type == "Divide" then
  2764. scaler2 = scaler2 - 0.01/value
  2765. end
  2766. rng.Transparency = rng.Transparency + 0.01
  2767. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2768. end
  2769. rng:Destroy()
  2770. end))
  2771. end
  2772.  
  2773.  
  2774. function wave(type,pos,scale,value)
  2775. local type = type
  2776. local rng = Instance.new("Part", char)
  2777. rng.Anchored = true
  2778. rng.BrickColor = origcolor
  2779. rng.CanCollide = false
  2780. rng.FormFactor = 3
  2781. rng.Name = "Ring"
  2782. rng.Size = Vector3.new(1, 1, 1)
  2783. rng.Transparency = 0
  2784. rng.TopSurface = 0
  2785. rng.BottomSurface = 0
  2786. rng.CFrame = pos
  2787. local rngm = Instance.new("SpecialMesh", rng)
  2788. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2789. rngm.Scale = scale
  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,0.1 do
  2798. swait()
  2799. if type == "Add" then
  2800. scaler2 = scaler2 - 0.01*value
  2801. elseif type == "Divide" then
  2802. scaler2 = scaler2 - 0.01/value
  2803. end
  2804. rng.Transparency = rng.Transparency + 0.01
  2805. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2806. end
  2807. rng:Destroy()
  2808. end))
  2809. end
  2810.  
  2811. function sphere(bonuspeed,type,pos,scale,value,color)
  2812. local type = type
  2813. local rng = Instance.new("Part", char)
  2814. rng.Anchored = true
  2815. if ModeOfGlitch ~= 9 then
  2816. rng.BrickColor = color
  2817. elseif ModeOfGlitch == 9 then
  2818. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2819. end
  2820. rng.CanCollide = false
  2821. rng.FormFactor = 3
  2822. rng.Name = "Ring"
  2823. rng.Material = "Neon"
  2824. rng.Size = Vector3.new(1, 1, 1)
  2825. rng.Transparency = 0
  2826. rng.TopSurface = 0
  2827. rng.BottomSurface = 0
  2828. rng.CFrame = pos
  2829. local rngm = Instance.new("SpecialMesh", rng)
  2830. rngm.MeshType = "Sphere"
  2831. rngm.Scale = scale
  2832. if rainbowmode == true then
  2833. rng.Color = Color3.new(r/255,g/255,b/255)
  2834. end
  2835. if ModeOfGlitch == 9 then
  2836. coroutine.resume(coroutine.create(function()
  2837. while true do
  2838. swait()
  2839. if rng.Parent ~= nil then
  2840. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2841. else
  2842. break
  2843. end
  2844. end
  2845. end))
  2846. end
  2847. local scaler2 = 1
  2848. if type == "Add" then
  2849. scaler2 = 1*value
  2850. elseif type == "Divide" then
  2851. scaler2 = 1/value
  2852. end
  2853. coroutine.resume(coroutine.create(function()
  2854. for i = 0,10/bonuspeed,0.1 do
  2855. swait()
  2856. if rainbowmode == true then
  2857. rng.Color = Color3.new(r/255,g/255,b/255)
  2858. end
  2859. if type == "Add" then
  2860. scaler2 = scaler2 - 0.01*value/bonuspeed
  2861. elseif type == "Divide" then
  2862. scaler2 = scaler2 - 0.01/value*bonuspeed
  2863. end
  2864. if chaosmode == true then
  2865. rng.BrickColor = BrickColor.random()
  2866. end
  2867. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2868. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2869. end
  2870. rng:Destroy()
  2871. end))
  2872. end
  2873.  
  2874. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  2875. local type = type
  2876. local rng = Instance.new("Part", char)
  2877. rng.Anchored = true
  2878. if ModeOfGlitch ~= 9 then
  2879. rng.BrickColor = color
  2880. elseif ModeOfGlitch == 9 then
  2881. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2882. end
  2883. rng.CanCollide = false
  2884. rng.FormFactor = 3
  2885. rng.Name = "Ring"
  2886. rng.Material = "Neon"
  2887. rng.Size = Vector3.new(1, 1, 1)
  2888. rng.Transparency = 0
  2889. rng.TopSurface = 0
  2890. rng.BottomSurface = 0
  2891. rng.CFrame = pos
  2892. local rngm = Instance.new("SpecialMesh", rng)
  2893. rngm.MeshType = "Sphere"
  2894. rngm.Scale = scale
  2895. local scaler2 = 1
  2896. local scaler2b = 1
  2897. local scaler2c = 1
  2898. if type == "Add" then
  2899. scaler2 = 1*value
  2900. scaler2b = 1*value2
  2901. scaler2c = 1*value3
  2902. elseif type == "Divide" then
  2903. scaler2 = 1/value
  2904. scaler2b = 1/value2
  2905. scaler2c = 1/value3
  2906. end
  2907. if ModeOfGlitch == 9 then
  2908. coroutine.resume(coroutine.create(function()
  2909. while true do
  2910. swait()
  2911. if rng.Parent ~= nil then
  2912. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2913. else
  2914. break
  2915. end
  2916. end
  2917. end))
  2918. end
  2919. coroutine.resume(coroutine.create(function()
  2920. for i = 0,10/bonuspeed,0.1 do
  2921. swait()
  2922. if type == "Add" then
  2923. scaler2 = scaler2 - 0.01*value/bonuspeed
  2924. scaler2b = scaler2b - 0.01*value/bonuspeed
  2925. scaler2c = scaler2c - 0.01*value/bonuspeed
  2926. elseif type == "Divide" then
  2927. scaler2 = scaler2 - 0.01/value*bonuspeed
  2928. scaler2b = scaler2b - 0.01/value*bonuspeed
  2929. scaler2c = scaler2c - 0.01/value*bonuspeed
  2930. end
  2931. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2932. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2933. end
  2934. rng:Destroy()
  2935. end))
  2936. end
  2937.  
  2938. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  2939. local type = type
  2940. local rotenable = rotatingop
  2941. local rng = Instance.new("Part", char)
  2942. rng.Anchored = true
  2943. rng.BrickColor = color
  2944. rng.CanCollide = false
  2945. rng.FormFactor = 3
  2946. rng.Name = "Ring"
  2947. rng.Material = "Neon"
  2948. rng.Size = Vector3.new(1, 1, 1)
  2949. rng.Transparency = 0
  2950. if typeoftrans == "In" then
  2951. rng.Transparency = 1
  2952. end
  2953. rng.TopSurface = 0
  2954. rng.BottomSurface = 0
  2955. rng.CFrame = pos
  2956. local rngm = Instance.new("SpecialMesh", rng)
  2957. rngm.MeshType = "FileMesh"
  2958. if typeofshape == "Normal" then
  2959. rngm.MeshId = "rbxassetid://662586858"
  2960. elseif typeofshape == "Round" then
  2961. rngm.MeshId = "rbxassetid://662585058"
  2962. end
  2963. rngm.Scale = scale
  2964. local scaler2 = 1/10
  2965. if type == "Add" then
  2966. scaler2 = 1*value/10
  2967. elseif type == "Divide" then
  2968. scaler2 = 1/value/10
  2969. end
  2970. local randomrot = math.random(1,2)
  2971. coroutine.resume(coroutine.create(function()
  2972. for i = 0,10/bonuspeed,0.1 do
  2973. swait()
  2974. if type == "Add" then
  2975. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  2976. elseif type == "Divide" then
  2977. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  2978. end
  2979. if rotenable == true then
  2980. if randomrot == 1 then
  2981. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  2982. elseif randomrot == 2 then
  2983. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  2984. end
  2985. end
  2986. if typeoftrans == "Out" then
  2987. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2988. elseif typeoftrans == "In" then
  2989. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2990. end
  2991. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  2992. end
  2993. rng:Destroy()
  2994. end))
  2995. end
  2996.  
  2997. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2998. local type = type
  2999. local rng = Instance.new("Part", char)
  3000. rng.Anchored = true
  3001. rng.BrickColor = color
  3002. rng.CanCollide = false
  3003. rng.FormFactor = 3
  3004. rng.Name = "Ring"
  3005. rng.Material = "Neon"
  3006. rng.Size = Vector3.new(1, 1, 1)
  3007. rng.Transparency = 0
  3008. rng.TopSurface = 0
  3009. rng.BottomSurface = 0
  3010. rng.CFrame = pos
  3011. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3012. local rngm = Instance.new("SpecialMesh", rng)
  3013. rngm.MeshType = "Brick"
  3014. rngm.Scale = vt(x1,y1,z1)
  3015. if rainbowmode == true then
  3016. rng.Color = Color3.new(r/255,g/255,b/255)
  3017. end
  3018. local scaler2 = 1
  3019. local speeder = FastSpeed/10
  3020. if type == "Add" then
  3021. scaler2 = 1*value
  3022. elseif type == "Divide" then
  3023. scaler2 = 1/value
  3024. end
  3025. coroutine.resume(coroutine.create(function()
  3026. for i = 0,10/bonuspeed,0.1 do
  3027. swait()
  3028. if rainbowmode == true then
  3029. rng.Color = Color3.new(r/255,g/255,b/255)
  3030. end
  3031. if type == "Add" then
  3032. scaler2 = scaler2 - 0.01*value/bonuspeed
  3033. elseif type == "Divide" then
  3034. scaler2 = scaler2 - 0.01/value*bonuspeed
  3035. end
  3036. if chaosmode == true then
  3037. rng.BrickColor = BrickColor.random()
  3038. end
  3039. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3040. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3041. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3042. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3043. end
  3044. rng:Destroy()
  3045. end))
  3046. end
  3047.  
  3048. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3049. local type = type
  3050. local rng = Instance.new("Part", char)
  3051. rng.Anchored = true
  3052. rng.BrickColor = color
  3053. rng.CanCollide = false
  3054. rng.FormFactor = 3
  3055. rng.Name = "Ring"
  3056. rng.Material = "Neon"
  3057. rng.Size = Vector3.new(1, 1, 1)
  3058. rng.Transparency = 0
  3059. rng.TopSurface = 0
  3060. rng.BottomSurface = 0
  3061. rng.CFrame = pos
  3062. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3063. local rngm = Instance.new("SpecialMesh", rng)
  3064. rngm.MeshType = "Brick"
  3065. rngm.Scale = vt(x1,y1,z1)
  3066. if rainbowmode == true then
  3067. rng.Color = Color3.new(r/255,g/255,b/255)
  3068. end
  3069. local scaler2 = 1
  3070. local speeder = FastSpeed/10
  3071. if type == "Add" then
  3072. scaler2 = 1*value
  3073. elseif type == "Divide" then
  3074. scaler2 = 1/value
  3075. end
  3076. coroutine.resume(coroutine.create(function()
  3077. for i = 0,10/bonuspeed,0.1 do
  3078. swait()
  3079. if rainbowmode == true then
  3080. rng.Color = Color3.new(r/255,g/255,b/255)
  3081. end
  3082. if type == "Add" then
  3083. scaler2 = scaler2 - 0.01*value/bonuspeed
  3084. elseif type == "Divide" then
  3085. scaler2 = scaler2 - 0.01/value*bonuspeed
  3086. end
  3087. if chaosmode == true then
  3088. rng.BrickColor = BrickColor.random()
  3089. end
  3090. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3091. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3092. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3093. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3094. end
  3095. rng:Destroy()
  3096. end))
  3097. end
  3098.  
  3099. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3100. local type = type
  3101. local rng = Instance.new("Part", char)
  3102. rng.Anchored = true
  3103. rng.BrickColor = color
  3104. rng.CanCollide = false
  3105. rng.FormFactor = 3
  3106. rng.Name = "Ring"
  3107. rng.Material = "Neon"
  3108. rng.Size = Vector3.new(1, 1, 1)
  3109. rng.Transparency = 0
  3110. rng.TopSurface = 0
  3111. rng.BottomSurface = 0
  3112. rng.CFrame = pos
  3113. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3114. local rngm = Instance.new("SpecialMesh", rng)
  3115. rngm.MeshType = "Brick"
  3116. rngm.Scale = vt(x1,y1,z1)
  3117. if rainbowmode == true then
  3118. rng.Color = Color3.new(r/255,g/255,b/255)
  3119. end
  3120. local scaler2 = 0
  3121. local speeder = FastSpeed/10
  3122. if type == "Add" then
  3123. scaler2 = 1*value
  3124. elseif type == "Divide" then
  3125. scaler2 = 1/value
  3126. end
  3127. coroutine.resume(coroutine.create(function()
  3128. for i = 0,10/bonuspeed,0.1 do
  3129. swait()
  3130. if rainbowmode == true then
  3131. rng.Color = Color3.new(r/255,g/255,b/255)
  3132. end
  3133. if type == "Add" then
  3134. scaler2 = scaler2 - 0.01*value/bonuspeed
  3135. elseif type == "Divide" then
  3136. scaler2 = scaler2 - 0.01/value*bonuspeed
  3137. end
  3138. if chaosmode == true then
  3139. rng.BrickColor = BrickColor.random()
  3140. end
  3141. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3142. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3143. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3144. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3145. end
  3146. rng:Destroy()
  3147. end))
  3148. end
  3149.  
  3150. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3151. local type = type
  3152. local rng = Instance.new("Part", char)
  3153. rng.Anchored = true
  3154. rng.BrickColor = color
  3155. rng.Color = color3
  3156. rng.CanCollide = false
  3157. rng.FormFactor = 3
  3158. rng.Name = "Ring"
  3159. rng.Material = "Neon"
  3160. rng.Size = Vector3.new(1, 1, 1)
  3161. rng.Transparency = 0
  3162. rng.TopSurface = 0
  3163. rng.BottomSurface = 0
  3164. rng.CFrame = pos
  3165. local rngm = Instance.new("SpecialMesh", rng)
  3166. rngm.MeshType = "Brick"
  3167. rngm.Scale = scale
  3168. local scaler2 = 1
  3169. local scaler2b = 1
  3170. local scaler2c = 1
  3171. if type == "Add" then
  3172. scaler2 = 1*value
  3173. scaler2b = 1*value2
  3174. scaler2c = 1*value3
  3175. elseif type == "Divide" then
  3176. scaler2 = 1/value
  3177. scaler2b = 1/value2
  3178. scaler2c = 1/value3
  3179. end
  3180. coroutine.resume(coroutine.create(function()
  3181. for i = 0,10/bonuspeed,0.1 do
  3182. swait()
  3183. if type == "Add" then
  3184. scaler2 = scaler2 - 0.01*value/bonuspeed
  3185. scaler2b = scaler2b - 0.01*value/bonuspeed
  3186. scaler2c = scaler2c - 0.01*value/bonuspeed
  3187. elseif type == "Divide" then
  3188. scaler2 = scaler2 - 0.01/value*bonuspeed
  3189. scaler2b = scaler2b - 0.01/value*bonuspeed
  3190. scaler2c = scaler2c - 0.01/value*bonuspeed
  3191. end
  3192. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3193. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3194. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3195. end
  3196. rng:Destroy()
  3197. end))
  3198. end
  3199.  
  3200. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3201. local type = type
  3202. local rng = Instance.new("Part", char)
  3203. rng.Anchored = true
  3204. if ModeOfGlitch ~= 9 then
  3205. rng.BrickColor = color
  3206. elseif ModeOfGlitch == 9 then
  3207. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3208. end
  3209. rng.CanCollide = false
  3210. rng.FormFactor = 3
  3211. rng.Name = "Ring"
  3212. rng.Material = "Neon"
  3213. rng.Size = Vector3.new(1, 1, 1)
  3214. rng.Transparency = 0
  3215. rng.TopSurface = 0
  3216. rng.BottomSurface = 0
  3217. rng.CFrame = pos
  3218. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3219. local rngm = Instance.new("SpecialMesh", rng)
  3220. rngm.MeshType = "Sphere"
  3221. rngm.Scale = vt(x1,y1,z1)
  3222. if rainbowmode == true then
  3223. rng.Color = Color3.new(r/255,g/255,b/255)
  3224. end
  3225. if ModeOfGlitch == 9 then
  3226. coroutine.resume(coroutine.create(function()
  3227. while true do
  3228. swait()
  3229. if rng.Parent ~= nil then
  3230. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3231. else
  3232. break
  3233. end
  3234. end
  3235. end))
  3236. end
  3237. local scaler2 = 1
  3238. local speeder = FastSpeed
  3239. if type == "Add" then
  3240. scaler2 = 1*value
  3241. elseif type == "Divide" then
  3242. scaler2 = 1/value
  3243. end
  3244. coroutine.resume(coroutine.create(function()
  3245. for i = 0,10/bonuspeed,0.1 do
  3246. swait()
  3247. if rainbowmode == true then
  3248. rng.Color = Color3.new(r/255,g/255,b/255)
  3249. end
  3250. if type == "Add" then
  3251. scaler2 = scaler2 - 0.01*value/bonuspeed
  3252. elseif type == "Divide" then
  3253. scaler2 = scaler2 - 0.01/value*bonuspeed
  3254. end
  3255. if chaosmode == true then
  3256. rng.BrickColor = BrickColor.random()
  3257. end
  3258. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3259. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3260. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3261. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3262. end
  3263. rng:Destroy()
  3264. end))
  3265. end
  3266.  
  3267.  
  3268. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3269. local type = type
  3270. local rng = Instance.new("Part", char)
  3271. rng.Anchored = true
  3272. if ModeOfGlitch ~= 9 then
  3273. rng.BrickColor = color
  3274. elseif ModeOfGlitch == 9 then
  3275. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3276. end
  3277. rng.CanCollide = false
  3278. rng.FormFactor = 3
  3279. rng.Name = "Ring"
  3280. rng.Material = "Neon"
  3281. rng.Size = Vector3.new(1, 1, 1)
  3282. rng.Transparency = 1
  3283. rng.TopSurface = 0
  3284. rng.BottomSurface = 0
  3285. rng.CFrame = pos
  3286. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3287. local rngm = Instance.new("SpecialMesh", rng)
  3288. rngm.MeshType = "Sphere"
  3289. rngm.Scale = vt(x1,y1,z1)
  3290. if rainbowmode == true then
  3291. rng.Color = Color3.new(r/255,g/255,b/255)
  3292. end
  3293. if ModeOfGlitch == 9 then
  3294. coroutine.resume(coroutine.create(function()
  3295. while true do
  3296. swait()
  3297. if rng.Parent ~= nil then
  3298. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3299. else
  3300. break
  3301. end
  3302. end
  3303. end))
  3304. end
  3305. local scaler2 = 1
  3306. local speeder = FastSpeed
  3307. if type == "Add" then
  3308. scaler2 = 1*value
  3309. elseif type == "Divide" then
  3310. scaler2 = 1/value
  3311. end
  3312. coroutine.resume(coroutine.create(function()
  3313. for i = 0,10/bonuspeed,0.1 do
  3314. swait()
  3315. if rainbowmode == true then
  3316. rng.Color = Color3.new(r/255,g/255,b/255)
  3317. end
  3318. if type == "Add" then
  3319. scaler2 = scaler2 - 0.01*value/bonuspeed
  3320. elseif type == "Divide" then
  3321. scaler2 = scaler2 - 0.01/value*bonuspeed
  3322. end
  3323. if chaosmode == true then
  3324. rng.BrickColor = BrickColor.random()
  3325. end
  3326. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3327. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3328. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3329. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3330. end
  3331. rng:Destroy()
  3332. end))
  3333. end
  3334.  
  3335. function dmg(dude)
  3336. if dude.Name ~= Character then
  3337. local keptcolor = MAINRUINCOLOR
  3338. local bgf = Instance.new("BodyGyro",dude.Head)
  3339. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3340. --[[local val = Instance.new("BoolValue",dude)
  3341. val.Name = "IsHit"]]--
  3342. local ds = coroutine.wrap(function()
  3343. dude:WaitForChild("Head"):BreakJoints()
  3344. for i, v in pairs(dude:GetChildren()) do
  3345. if v:IsA("Part") or v:IsA("MeshPart") then
  3346. v.Name = "DEMINISHED"
  3347. end
  3348. end
  3349. wait(0.5)
  3350. targetted = nil
  3351. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  3352. coroutine.resume(coroutine.create(function()
  3353. for i, v in pairs(dude:GetChildren()) do
  3354. if v:IsA("Accessory") then
  3355. v:Destroy()
  3356. end
  3357. if v:IsA("Humanoid") then
  3358. v:Destroy()
  3359. end
  3360. if v:IsA("CharacterMesh") then
  3361. v:Destroy()
  3362. end
  3363. if v:IsA("Model") then
  3364. v:Destroy()
  3365. end
  3366. if v:IsA("Part") or v:IsA("MeshPart") then
  3367. for x, o in pairs(v:GetChildren()) do
  3368. if o:IsA("Decal") then
  3369. o:Destroy()
  3370. end
  3371. end
  3372. coroutine.resume(coroutine.create(function()
  3373. v.Material = "Neon"
  3374. v.CanCollide = false
  3375. v.Anchored = false
  3376. local bld = Instance.new("ParticleEmitter",v)
  3377. bld.LightEmission = 0.75
  3378. bld.Texture = "rbxassetid://363275192" ---284205403
  3379. bld.Color = ColorSequence.new(keptcolor.Color)
  3380. bld.Rate = 500
  3381. bld.Lifetime = NumberRange.new(1)
  3382. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3383. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3384. bld.Speed = NumberRange.new(2,5)
  3385. bld.VelocitySpread = 50000
  3386. bld.Rotation = NumberRange.new(-500,500)
  3387. bld.RotSpeed = NumberRange.new(-500,500)
  3388. local sbs = Instance.new("BodyPosition", v)
  3389. sbs.P = 3000
  3390. sbs.D = 1000
  3391. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3392. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3393. v.Color = keptcolor.Color
  3394. coroutine.resume(coroutine.create(function()
  3395. for i = 0, 49 do
  3396. swait(1)
  3397. v:BreakJoints()
  3398. v.Transparency = v.Transparency + 0.02
  3399. end
  3400. v:BreakJoints()
  3401. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3402. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3403. bld.Speed = NumberRange.new(10,25)
  3404. bld.Drag = 5
  3405. bld.Acceleration = vt(0,2,0)
  3406. wait(0.5)
  3407. bld.Enabled = false
  3408. wait(8)
  3409. v:Destroy()
  3410. dude:Destroy()
  3411. end))
  3412. end))
  3413. end
  3414. end
  3415. end))
  3416. end)
  3417. ds()
  3418. end
  3419. end
  3420.  
  3421.  
  3422. function FindNearestHead(Position, Distance, SinglePlayer)
  3423. if SinglePlayer then
  3424. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3425. end
  3426. local List = {}
  3427. for i, v in pairs(workspace:GetChildren()) do
  3428. if v:IsA("Model") then
  3429. if v:findFirstChild("Head") then
  3430. if v ~= Character then
  3431. if (v.Head.Position - Position).magnitude <= Distance then
  3432. table.insert(List, v)
  3433. end
  3434. end
  3435. end
  3436. end
  3437. end
  3438. return List
  3439. end
  3440.  
  3441. function FaceMouse()
  3442. Cam = workspace.CurrentCamera
  3443. return {
  3444. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3445. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3446. }
  3447. end
  3448.  
  3449. function FaceMouse2()
  3450. Cam = workspace.CurrentCamera
  3451. return {
  3452. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3453. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3454. }
  3455. end
  3456.  
  3457. local ModeOfGlitch = 1
  3458. -- Functions are ready.
  3459. local storehumanoidWS = 16
  3460.  
  3461. function CorruptBlink()
  3462. for i = 0, 14 do
  3463. 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)
  3464. end
  3465. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3466. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3467. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3468. CameraEnshaking(2,10)
  3469. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3470. if v:FindFirstChild('Head') then
  3471. dmg(v)
  3472. end
  3473. end
  3474. for i = 0, 14 do
  3475. 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)
  3476. end
  3477. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3478. end
  3479. function PureBomb()
  3480. attack = true
  3481. hum.WalkSpeed = 0
  3482. local orb = Instance.new("Part", char)
  3483. orb.Anchored = true
  3484. orb.BrickColor = BrickColor.new("Toothpaste")
  3485. orb.CanCollide = false
  3486. orb.FormFactor = 3
  3487. orb.Name = "Ring"
  3488. orb.Material = "Neon"
  3489. orb.Size = Vector3.new(1, 1, 1)
  3490. orb.Transparency = 0
  3491. orb.TopSurface = 0
  3492. orb.BottomSurface = 0
  3493. local orbm = Instance.new("SpecialMesh", orb)
  3494. orbm.MeshType = "Sphere"
  3495. orbm.Name = "SizeMesh"
  3496. orbm.Scale = vt(0,0,0)
  3497. local scaled = 0.1
  3498. local posid = 0
  3499. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3500. for i = 0, 5, 0.1 do
  3501. swait()
  3502. scaled = scaled - 0.001
  3503. posid = posid - scaled
  3504. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3505. local scaled = 0.1
  3506. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3507. 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)
  3508. 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)
  3509. 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)
  3510. 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)
  3511. 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)
  3512. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3513. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3514. 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)
  3515. end
  3516. for i = 0, 2, 0.1 do
  3517. swait()
  3518. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3519. 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)
  3520. 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)
  3521. 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)
  3522. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3523. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3524. 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)
  3525. end
  3526. coroutine.resume(coroutine.create(function()
  3527. orb.Anchored = false
  3528. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3529. local a = Instance.new("Part",workspace)
  3530. a.Name = "Direction"
  3531. a.Anchored = true
  3532. a.BrickColor = bc("Bright red")
  3533. a.Material = "Neon"
  3534. a.Transparency = 1
  3535. a.CanCollide = false
  3536. local ray = Ray.new(
  3537. orb.CFrame.p, -- origin
  3538. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3539. )
  3540. local ignore = orb
  3541. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3542. a.BottomSurface = 10
  3543. a.TopSurface = 10
  3544. local distance = (orb.CFrame.p - position).magnitude
  3545. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3546. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3547. orb.CFrame = a.CFrame
  3548. a:Destroy()
  3549. local bv = Instance.new("BodyVelocity")
  3550. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3551. bv.velocity = orb.CFrame.lookVector*125
  3552. bv.Parent = orb
  3553. local hitted = false
  3554. game:GetService("Debris"):AddItem(orb, 15)
  3555. wait()
  3556. local hit =orb.Touched:connect(function(hit)
  3557. if hitted == false then
  3558. hitted = true
  3559. CameraEnshaking(10,2.5)
  3560. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3561. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3562. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3563. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3564. for i = 0, 49 do
  3565. 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)
  3566. end
  3567. for i = 0, 9 do
  3568. 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)
  3569. 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)
  3570. end
  3571. orb.Anchored = true
  3572. orb.Transparency = 1
  3573. wait(8)
  3574. orb:Destroy()
  3575. end
  3576. end)
  3577. end))
  3578. for i = 0, 1, 0.1 do
  3579. swait()
  3580. 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)
  3581. 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)
  3582. 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)
  3583. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3584. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3585. 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)
  3586. end
  3587. hum.WalkSpeed = storehumanoidWS
  3588. attack = false
  3589. end
  3590.  
  3591. function BanishingOrb()
  3592. attack = true
  3593. hum.WalkSpeed = 0
  3594. local orb = Instance.new("Part", char)
  3595. orb.Anchored = true
  3596. orb.BrickColor = BrickColor.new("Black")
  3597. orb.CanCollide = false
  3598. orb.FormFactor = 3
  3599. orb.Name = "Ring"
  3600. orb.Material = "Neon"
  3601. orb.Size = Vector3.new(1, 1, 1)
  3602. orb.Transparency = 0
  3603. orb.TopSurface = 0
  3604. orb.BottomSurface = 0
  3605. local orbm = Instance.new("SpecialMesh", orb)
  3606. orbm.MeshType = "Sphere"
  3607. orbm.Name = "SizeMesh"
  3608. orbm.Scale = vt(0,0,0)
  3609. local scaled = 0.1
  3610. local posid = 0
  3611. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
  3612. for i = 0, 5, 0.1 do
  3613. swait()
  3614. scaled = scaled - 0.001
  3615. posid = posid - scaled
  3616. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3617. local scaled = 0.1
  3618. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3619. 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)
  3620. 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)
  3621. 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)
  3622. 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)
  3623. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3624. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3625. 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)
  3626. end
  3627. for i = 0, 2, 0.1 do
  3628. swait()
  3629. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3630. 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)
  3631. 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)
  3632. 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)
  3633. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3634. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3635. 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)
  3636. end
  3637. coroutine.resume(coroutine.create(function()
  3638. orb.Anchored = false
  3639. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
  3640. local a = Instance.new("Part",workspace)
  3641. a.Name = "Direction"
  3642. a.Anchored = true
  3643. a.BrickColor = bc("Bright red")
  3644. a.Material = "Neon"
  3645. a.Transparency = 1
  3646. a.CanCollide = false
  3647. local ray = Ray.new(
  3648. orb.CFrame.p, -- origin
  3649. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3650. )
  3651. local ignore = orb
  3652. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3653. a.BottomSurface = 10
  3654. a.TopSurface = 10
  3655. local distance = (orb.CFrame.p - position).magnitude
  3656. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3657. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3658. orb.CFrame = a.CFrame
  3659. a:Destroy()
  3660. local bv = Instance.new("BodyVelocity")
  3661. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3662. bv.velocity = orb.CFrame.lookVector*0
  3663. bv.Parent = orb
  3664. local hitted = false
  3665. local rate = 0
  3666. coroutine.resume(coroutine.create(function()
  3667. for i = 0, 24 do
  3668. wait(0.1)
  3669. rate = rate + 0.25
  3670. bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
  3671. for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
  3672. if v:FindFirstChild('Head') then
  3673. dmg(v)
  3674. end
  3675. end
  3676. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
  3677. sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3678. sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  3679. end
  3680. orb.Anchored = true
  3681. orb.Transparency = 1
  3682. for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
  3683. if v:FindFirstChild('Head') then
  3684. dmg(v)
  3685. end
  3686. end
  3687. local eff = Instance.new("ParticleEmitter",orb)
  3688. eff.Texture = "rbxassetid://296874871"
  3689. eff.LightEmission = 0.95
  3690. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3691. eff.Rate = 1000000000
  3692. eff.Lifetime = NumberRange.new(3)
  3693. 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)})
  3694. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3695. eff.Speed = NumberRange.new(30)
  3696. eff.Acceleration = vt(0,-15,0)
  3697. eff.Rotation = NumberRange.new(-500,500)
  3698. eff.VelocitySpread = 100000
  3699. eff.RotSpeed = NumberRange.new(-500,500)
  3700. coroutine.resume(coroutine.create(function()
  3701. wait(0.6)
  3702. eff.Enabled = false
  3703. end))
  3704. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
  3705. CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
  3706. sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  3707. sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3708. sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
  3709. game:GetService("Debris"):AddItem(orb, 15)
  3710. end))
  3711. end))
  3712. for i = 0, 1, 0.1 do
  3713. swait()
  3714. 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)
  3715. 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)
  3716. 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)
  3717. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3718. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3719. 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)
  3720. end
  3721. hum.WalkSpeed = storehumanoidWS
  3722. attack = false
  3723. end
  3724.  
  3725.  
  3726. function ChaosGroundStrike()
  3727. attack = true
  3728. for i = 0, 2, 0.1 do
  3729. swait()
  3730. 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)
  3731. 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)
  3732. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3733. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3734. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3735. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3736. end
  3737. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3738. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3739. CameraEnshaking(4,12)
  3740. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3741. if v:FindFirstChild('Head') then
  3742. dmg(v)
  3743. end
  3744. end
  3745. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3746. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3747. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3748. for i = 0, 2, 0.1 do
  3749. swait()
  3750. 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)
  3751. 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)
  3752. 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)
  3753. 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)
  3754. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3755. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3756. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3757. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3758. end
  3759. attack = false
  3760. end
  3761.  
  3762.  
  3763.  
  3764. function Starfall()
  3765. attack = true
  3766. hum.WalkSpeed = 0
  3767. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3768. for i = 0, 5, 0.1 do
  3769. swait()
  3770. 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)
  3771. 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)
  3772. 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)
  3773. 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)
  3774. 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)
  3775. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3776. 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)
  3777. 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)
  3778. end
  3779. local Overed = false
  3780. CameraEnshaking(2,20)
  3781. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3782. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3783. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3784. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3785. local orb = Instance.new("Part", char)
  3786. orb.Anchored = true
  3787. orb.BrickColor = BrickColor.new("Toothpaste")
  3788. orb.CanCollide = false
  3789. orb.FormFactor = 3
  3790. orb.Name = "Remenant"
  3791. orb.Material = "Neon"
  3792. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3793. orb.Size = Vector3.new(1, 1, 1)
  3794. orb.Transparency = 1
  3795. orb.TopSurface = 0
  3796. orb.BottomSurface = 0
  3797. hum.WalkSpeed = storehumanoidWS
  3798. coroutine.resume(coroutine.create(function()
  3799. for i = 0, 9 do
  3800. swait(10)
  3801. local lb = Instance.new("Part")
  3802. lb.Color = MAINRUINCOLOR.Color
  3803. lb.CanCollide = false
  3804. lb.Material = "Neon"
  3805. lb.Anchored = true
  3806. lb.TopSurface = 0
  3807. lb.BottomSurface = 0
  3808. lb.Transparency = 0
  3809. lb.Size = vt(1,1,1)
  3810. 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)))
  3811. lb.Anchored = false
  3812. lb.Parent = char
  3813. local thingery = Instance.new("SpecialMesh",lb)
  3814. thingery.MeshType = "Sphere"
  3815. thingery.Scale = vt(20,20,20)
  3816. game:GetService("Debris"):AddItem(lb, 10)
  3817. local bv = Instance.new("BodyVelocity")
  3818. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3819. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3820. bv.Parent = lb
  3821. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3822. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3823. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3824. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3825. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3826. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3827. local hitted = false
  3828. coroutine.resume(coroutine.create(function()
  3829. while true do
  3830. swait(1)
  3831. if lb.Parent ~= nil and hitted == false then
  3832. 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)
  3833. elseif lb.Parent == nil then
  3834. break
  3835. end
  3836. end
  3837. end))
  3838.  
  3839. game:GetService("Debris"):AddItem(a, 0.1)
  3840.  
  3841. coroutine.resume(coroutine.create(function()
  3842. swait(1)
  3843. lb.Touched:connect(function(hit)
  3844. if hitted == false then
  3845. hitted = true
  3846. lb.Transparency = 1
  3847. lb.Anchored = true
  3848. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3849. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3850. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3851. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3852. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3853. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3854. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3855. CameraEnshaking(1,5)
  3856. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3857. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3858. for i = 0, 9 do
  3859. 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)
  3860. end
  3861. for i = 0, 49 do
  3862. swait()
  3863. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3864. 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)
  3865. end
  3866. end
  3867. end)
  3868. end))
  3869. end
  3870. Overed = true
  3871. orb:Destroy()
  3872. end))
  3873.  
  3874. attack = false
  3875. end
  3876.  
  3877. function StarfallEX()
  3878. attack = true
  3879. hum.WalkSpeed = 0
  3880. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
  3881. for i = 0, 10, 0.1 do
  3882. swait()
  3883. 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)
  3884. 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)
  3885. 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)
  3886. 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)
  3887. 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)
  3888. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3889. 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)
  3890. 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)
  3891. end
  3892. local Overed = false
  3893. CameraEnshaking(2,20)
  3894. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3895. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3896. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  3897. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
  3898. local orb = Instance.new("Part", char)
  3899. orb.Anchored = true
  3900. orb.BrickColor = BrickColor.new("Toothpaste")
  3901. orb.CanCollide = false
  3902. orb.FormFactor = 3
  3903. orb.Name = "Remenant"
  3904. orb.Material = "Neon"
  3905. orb.CFrame = root.CFrame*CFrame.new(0,250,0)
  3906. orb.Size = Vector3.new(1, 1, 1)
  3907. orb.Transparency = 1
  3908. orb.TopSurface = 0
  3909. orb.BottomSurface = 0
  3910. hum.WalkSpeed = storehumanoidWS
  3911. coroutine.resume(coroutine.create(function()
  3912. for i = 0, 4 do
  3913. swait(15)
  3914. local lb = Instance.new("Part")
  3915. lb.Color = MAINRUINCOLOR.Color
  3916. lb.CanCollide = false
  3917. lb.Material = "Neon"
  3918. lb.Anchored = true
  3919. lb.TopSurface = 0
  3920. lb.BottomSurface = 0
  3921. lb.Transparency = 0
  3922. lb.Size = vt(1,1,1)
  3923. 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)))
  3924. lb.Anchored = false
  3925. lb.Parent = char
  3926. local thingery = Instance.new("SpecialMesh",lb)
  3927. thingery.MeshType = "Sphere"
  3928. thingery.Scale = vt(50,50,50)
  3929. game:GetService("Debris"):AddItem(lb, 10)
  3930. local bv = Instance.new("BodyVelocity")
  3931. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3932. bv.velocity = lb.CFrame.lookVector*math.random(50,420)
  3933. bv.Parent = lb
  3934. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  3935. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  3936. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
  3937. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
  3938. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
  3939. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
  3940. local hitted = false
  3941. coroutine.resume(coroutine.create(function()
  3942. while true do
  3943. swait(1)
  3944. if lb.Parent ~= nil and hitted == false then
  3945. 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)
  3946. elseif lb.Parent == nil then
  3947. break
  3948. end
  3949. end
  3950. end))
  3951.  
  3952. game:GetService("Debris"):AddItem(a, 0.1)
  3953.  
  3954. coroutine.resume(coroutine.create(function()
  3955. swait(1)
  3956. lb.Touched:connect(function(hit)
  3957. if hitted == false then
  3958. hitted = true
  3959. lb.Transparency = 1
  3960. lb.Anchored = true
  3961. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
  3962. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
  3963. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
  3964. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
  3965. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
  3966. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
  3967. MagniDamage(lb, 50, 60,99, 0, "Normal")
  3968. CameraEnshaking(1,5)
  3969. sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
  3970. sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
  3971. for i = 0, 9 do
  3972. 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)
  3973. end
  3974. for i = 0, 99 do
  3975. swait()
  3976. MagniDamage(lb, 30, 6,18, 0, "Normal")
  3977. 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)
  3978. end
  3979. end
  3980. end)
  3981. end))
  3982. end
  3983. Overed = true
  3984. orb:Destroy()
  3985. end))
  3986.  
  3987. attack = false
  3988. end
  3989.  
  3990. function DivineBlast()
  3991. attack = true
  3992. hum.WalkSpeed = 0
  3993. local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
  3994. elocacenter.Anchored = true
  3995. elocacenter.CFrame = sorb.CFrame
  3996. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3997. eloca1.Anchored = true
  3998. eloca1.CFrame = elocacenter.CFrame
  3999. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4000. eloca2.Anchored = true
  4001. eloca2.CFrame = elocacenter.CFrame
  4002. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4003. eloca3.Anchored = true
  4004. eloca3.CFrame = elocacenter.CFrame
  4005. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4006. eloca4.Anchored = true
  4007. eloca4.CFrame = elocacenter.CFrame
  4008. local lookavec = 0
  4009. local speeds = 0
  4010. CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
  4011. for i = 0, 3, 0.1 do
  4012. swait()
  4013. ---
  4014. lookavec = lookavec + 0.1
  4015. speeds = speeds + 10
  4016. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4017. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4018. 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)
  4019.  
  4020. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4021. 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)
  4022.  
  4023. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4024. 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)
  4025.  
  4026. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4027. 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)
  4028. ---
  4029. root.CFrame = FaceMouse()[1]
  4030. 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)
  4031. 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)
  4032. 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)
  4033. 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)
  4034. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4035. 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)
  4036. end
  4037. for i = 0, 3, 0.1 do
  4038. swait()
  4039. ---
  4040. speeds = speeds + 10
  4041. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4042. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4043. 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)
  4044.  
  4045. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4046. 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)
  4047.  
  4048. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4049. 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)
  4050.  
  4051. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4052. 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)
  4053. ---
  4054. root.CFrame = FaceMouse()[1]
  4055. 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)
  4056. 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)
  4057. 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)
  4058. 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)
  4059. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4060. 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)
  4061. end
  4062. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
  4063. for i = 0, 3, 0.1 do
  4064. swait()
  4065. ---
  4066. speeds = speeds + 10
  4067. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4068. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4069. 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)
  4070.  
  4071. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4072. 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)
  4073.  
  4074. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4075. 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)
  4076.  
  4077. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4078. 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)
  4079. ---
  4080. root.CFrame = FaceMouse()[1]
  4081. 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)
  4082. 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)
  4083. 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)
  4084. 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)
  4085. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  4086. 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)
  4087. end
  4088. coroutine.resume(coroutine.create(function()
  4089. local a = Instance.new("Part",Character)
  4090. a.Name = "Direction"
  4091. a.Anchored = true
  4092. a.BrickColor = bc("White")
  4093. a.Material = "Neon"
  4094. a.Transparency = 0
  4095. a.Shape = "Cylinder"
  4096. a.CanCollide = false
  4097. local a2 = Instance.new("Part",Character)
  4098. a2.Name = "Direction"
  4099. a2.Anchored = true
  4100. a2.BrickColor = bc("Bright yellow")
  4101. a2.Material = "Neon"
  4102. a2.Transparency = 0
  4103. a2.Shape = "Cylinder"
  4104. a2.CanCollide = false
  4105. local b = Instance.new("Part",Character)
  4106. b.Name = "HitDirect"
  4107. b.Anchored = true
  4108. b.BrickColor = bc("Cool yellow")
  4109. b.Material = "Neon"
  4110. b.Transparency = 1
  4111. b.CanCollide = false
  4112. local ray = Ray.new(
  4113. elocacenter.CFrame.p, -- origin
  4114. (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
  4115. )
  4116. local ignore = Character
  4117. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4118. a.BottomSurface = 10
  4119. a.TopSurface = 10
  4120. a2.BottomSurface = 10
  4121. a2.TopSurface = 10
  4122. local distance = (elocacenter.CFrame.p - position).magnitude
  4123. a.Size = Vector3.new(distance, 1, 1)
  4124. a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4125. a2.Size = Vector3.new(distance, 1, 1)
  4126. a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4127. b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4128. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4129. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4130. game:GetService("Debris"):AddItem(a, 10)
  4131. game:GetService("Debris"):AddItem(a2, 10)
  4132. game:GetService("Debris"):AddItem(b, 10)
  4133. local msh = Instance.new("SpecialMesh",a)
  4134. msh.MeshType = "Cylinder"
  4135. msh.Scale = vt(1,2,2)
  4136. local msh2 = Instance.new("SpecialMesh",a2)
  4137. msh2.MeshType = "Cylinder"
  4138. msh2.Scale = vt(1,2.5,2.5)
  4139. CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
  4140. coroutine.resume(coroutine.create(function()
  4141. for i = 0,10,0.1 do
  4142. swait()
  4143. msh.Scale = msh.Scale + vt(0,0.05,0.05)
  4144. a.Transparency = a.Transparency + 0.025
  4145. msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
  4146. a2.Transparency = a2.Transparency + 0.05
  4147. end
  4148. a:Destroy()
  4149. a2:Destroy()
  4150. end))
  4151. CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
  4152. CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
  4153. CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
  4154. CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
  4155. CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
  4156. CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
  4157. MagniDamage(b, 25, 40,65, 0, "Normal")
  4158. for i = 0, 49 do
  4159. 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)
  4160. 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)
  4161. end
  4162. sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
  4163. sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
  4164. sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4165. sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4166. sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4167. sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4168. end))
  4169. game:GetService("Debris"):AddItem(elocacenter, 5)
  4170. hum.WalkSpeed = storehumanoidWS
  4171. attack = false
  4172. end
  4173.  
  4174. function StarDivision()
  4175. attack = true
  4176. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4177. for i = 0, 2, 0.1 do
  4178. swait()
  4179. 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)
  4180. 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)
  4181. 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)
  4182. 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)
  4183. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  4184. 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)
  4185. end
  4186. local orb = Instance.new("Part", char)
  4187. orb.BrickColor = MAINRUINCOLOR
  4188. orb.CanCollide = false
  4189. orb.FormFactor = 3
  4190. orb.Name = "Ring"
  4191. orb.Material = "Neon"
  4192. orb.Size = Vector3.new(1, 1, 1)
  4193. orb.Transparency = 0
  4194. orb.TopSurface = 0
  4195. orb.BottomSurface = 0
  4196. local orbm = Instance.new("SpecialMesh", orb)
  4197. orbm.MeshType = "Sphere"
  4198. orbm.Name = "SizeMesh"
  4199. orbm.Scale = vt(2,2,2)
  4200. local a = Instance.new("Part",workspace)
  4201. a.Name = "Direction"
  4202. a.Anchored = true
  4203. a.BrickColor = bc("Bright red")
  4204. a.Material = "Neon"
  4205. a.Transparency = 1
  4206. a.CanCollide = false
  4207. local ray = Ray.new(
  4208. sorb.CFrame.p, -- origin
  4209. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  4210. )
  4211. local ignore = sorb
  4212. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4213. a.BottomSurface = 10
  4214. a.TopSurface = 10
  4215. local distance = (sorb.CFrame.p - position).magnitude
  4216. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4217. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4218. orb.CFrame = a.CFrame
  4219. a:Destroy()
  4220. local bv = Instance.new("BodyVelocity")
  4221. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4222. bv.velocity = orb.CFrame.lookVector*100
  4223. bv.Parent = orb
  4224. local hitted = false
  4225. game:GetService("Debris"):AddItem(orb, 10)
  4226. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  4227. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  4228. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  4229. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  4230. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  4231. coroutine.resume(coroutine.create(function()
  4232. while true do
  4233. swait(1)
  4234. if orb.Parent ~= nil and hitted == false then
  4235. 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)
  4236. elseif orb.Parent == nil then
  4237. break
  4238. end
  4239. end
  4240. end))
  4241. coroutine.resume(coroutine.create(function()
  4242. swait(1)
  4243. orb.Touched:connect(function(hit)
  4244. if hitted == false then
  4245. hitted = true
  4246. game:GetService("Debris"):AddItem(orb, 5)
  4247. orb.Transparency = 1
  4248. orb.Anchored = true
  4249. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4250. elocacenter.Anchored = true
  4251. elocacenter.CFrame = orb.CFrame
  4252. elocacenter.Orientation = vt(0,0,0)
  4253. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4254. eloca1.Anchored = true
  4255. eloca1.CFrame = elocacenter.CFrame
  4256. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4257. eloca2.Anchored = true
  4258. eloca2.CFrame = elocacenter.CFrame
  4259. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4260. eloca3.Anchored = true
  4261. eloca3.CFrame = elocacenter.CFrame
  4262. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4263. eloca4.Anchored = true
  4264. eloca4.CFrame = elocacenter.CFrame
  4265. local lookavec = 0
  4266. local speeds = 0
  4267. CameraEnshaking(1,1)
  4268. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4269. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4270. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4271. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4272. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4273. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4274. for i = 0, 99 do
  4275. swait()
  4276. lookavec = lookavec + 1
  4277. speeds = speeds + 0.1
  4278. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4279. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4280. 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)
  4281.  
  4282. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4283. 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)
  4284.  
  4285. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4286. 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)
  4287.  
  4288. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4289. 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)
  4290. end
  4291.  
  4292. for i = 0, 149 do
  4293. swait()
  4294. speeds = speeds + 0.1
  4295. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4296. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4297. 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)
  4298.  
  4299. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4300. 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)
  4301.  
  4302. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4303. 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)
  4304.  
  4305. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4306. 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)
  4307. end
  4308. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  4309. if v:FindFirstChild('Head') then
  4310. dmg(v)
  4311. end
  4312. end
  4313. CameraEnshaking(7,30)
  4314. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  4315. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  4316. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  4317. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  4318. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4319. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  4320. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  4321. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4322. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4323. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4324. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4325. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4326. for i = 0, 24 do
  4327. 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)
  4328. 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)
  4329. 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)
  4330. 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)
  4331. end
  4332. coroutine.resume(coroutine.create(function()
  4333. for i = 0, 499 do
  4334. swait(1)
  4335. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  4336. 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)
  4337. end
  4338. elocacenter:Destroy()
  4339. eloca1:Destroy()
  4340. eloca2:Destroy()
  4341. eloca3:Destroy()
  4342. eloca4:Destroy()
  4343. end))
  4344. end
  4345. end)
  4346. end))
  4347. attack = false
  4348. end
  4349.  
  4350.  
  4351. function THE_TRUE_POWER_OF_VIOLENCE()
  4352. attack = true
  4353. hum.WalkSpeed = 0
  4354. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 2.5,0.7)
  4355. for i = 0, 10, 0.1 do
  4356. swait()
  4357. 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)
  4358. 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)
  4359. 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)
  4360. 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)
  4361. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  4362. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4363. 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)
  4364. end
  4365. local orb = Instance.new("Part", char)
  4366. orb.BrickColor = MAINRUINCOLOR
  4367. orb.CanCollide = false
  4368. orb.FormFactor = 3
  4369. orb.Name = "Ring"
  4370. orb.Material = "Neon"
  4371. orb.Size = Vector3.new(1, 1, 1)
  4372. orb.Transparency = 0
  4373. orb.TopSurface = 0
  4374. orb.BottomSurface = 0
  4375. orb.CFrame = sorb.CFrame
  4376. local orbm = Instance.new("SpecialMesh", orb)
  4377. orbm.MeshType = "Sphere"
  4378. orbm.Name = "SizeMesh"
  4379. orbm.Scale = vt(0,0,0)
  4380. local sbs = Instance.new("BodyPosition", orb)
  4381. sbs.P = 3000
  4382. sbs.D = 1000
  4383. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4384. sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
  4385. CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
  4386. sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4387. sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4388. sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4389. sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4390. sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4391. for i = 0, 10, 0.1 do
  4392. swait()
  4393. 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)
  4394. 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)
  4395. 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)
  4396. 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)
  4397. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4398. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4399. 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)
  4400. end
  4401. orb.Anchored = true
  4402. local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4403. elocacenter.Anchored = true
  4404. elocacenter.CFrame = orb.CFrame
  4405. elocacenter.Orientation = vt(0,0,0)
  4406. local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4407. eloca1.Anchored = true
  4408. eloca1.CFrame = elocacenter.CFrame
  4409. local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4410. eloca2.Anchored = true
  4411. eloca2.CFrame = elocacenter.CFrame
  4412. local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4413. eloca3.Anchored = true
  4414. eloca3.CFrame = elocacenter.CFrame
  4415. local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4416. eloca4.Anchored = true
  4417. eloca4.CFrame = elocacenter.CFrame
  4418. local lookavec = 0
  4419. local speeds = 0
  4420. CameraEnshaking(1,1)
  4421. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
  4422. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
  4423. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
  4424. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
  4425. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4426. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4427. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4428. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4429. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4430. for i = 0, 99 do
  4431. swait()
  4432. lookavec = lookavec + 2.5
  4433. speeds = speeds + 0.25
  4434. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4435. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4436. 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)
  4437.  
  4438. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4439. 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)
  4440.  
  4441. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4442. 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)
  4443.  
  4444. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4445. 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)
  4446. end
  4447.  
  4448. for i = 0, 149 do
  4449. swait()
  4450. speeds = speeds + 0.25
  4451. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4452. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4453. 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)
  4454.  
  4455. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4456. 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)
  4457.  
  4458. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4459. 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)
  4460.  
  4461. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4462. 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)
  4463. end
  4464. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
  4465. for i = 0, 99 do
  4466. swait()
  4467. lookavec = lookavec - 2.5
  4468. speeds = speeds + 0.25
  4469. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4470. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4471. 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)
  4472.  
  4473. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4474. 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)
  4475.  
  4476. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4477. 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)
  4478.  
  4479. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4480. 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)
  4481. end
  4482. local scaled = 0.1*75
  4483. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
  4484. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
  4485. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
  4486. CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
  4487. CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
  4488. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  4489. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4490. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4491. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4492. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4493. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4494. for i = 0, 10, 0.1 do
  4495. swait()
  4496. scaled = scaled - 0.001*75
  4497. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4498. 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)
  4499. 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)
  4500. 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)
  4501. 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)
  4502. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4503. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4504. 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)
  4505. end
  4506. for x = 0, 4 do
  4507. for i = 0, 9 do
  4508. 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)
  4509. end
  4510. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
  4511. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
  4512. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4513. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4514. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4515. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4516. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4517. for i = 0, 5, 0.1 do
  4518. swait()
  4519. 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)
  4520. 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)
  4521. 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)
  4522. 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)
  4523. 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)
  4524. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  4525. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
  4526. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
  4527. end
  4528. end
  4529. local speedearn = 0
  4530. CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
  4531. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
  4532. CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
  4533. for i = 0, 30, 0.1 do
  4534. swait()
  4535. scaled = scaled - 0.001*75/10
  4536. speedearn = speedearn + 0.5
  4537. for i = 0, 4 do
  4538. 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)
  4539. end
  4540. 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)
  4541. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4542. 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)
  4543. 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)
  4544. 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)
  4545. 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)
  4546. 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)
  4547. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
  4548. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
  4549. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
  4550. end
  4551. orb.Transparency = 1
  4552. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
  4553. if v:FindFirstChild('Head') then
  4554. dmg(v)
  4555. end
  4556. end
  4557. CameraEnshaking(7,30)
  4558. MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
  4559. CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
  4560. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
  4561. CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
  4562. CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
  4563. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4564. CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
  4565. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4566. CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
  4567. CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
  4568. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
  4569. CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
  4570. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
  4571. CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
  4572. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4573. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4574. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4575. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4576. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4577. for i = 0, 99 do
  4578. 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)
  4579. 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)
  4580. end
  4581. for i = 0, 24 do
  4582. 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)
  4583. 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)
  4584. 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)
  4585. 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)
  4586. 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)
  4587. end
  4588. game:GetService("Debris"):AddItem(orb, 10)
  4589. hum.WalkSpeed = storehumanoidWS
  4590. attack = false
  4591. end
  4592.  
  4593.  
  4594. function ViolentRing()
  4595. attack = true
  4596. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
  4597. for i = 0, 2, 0.1 do
  4598. swait()
  4599. local snap = math.random(1,10)
  4600. if snap == 1 then
  4601. 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)
  4602. end
  4603. 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)
  4604. 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)
  4605. 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)
  4606. 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)
  4607. 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)
  4608. 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)
  4609. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
  4610. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
  4611. 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)
  4612. RootPart.CFrame = FaceMouse()[1]
  4613. end
  4614. local orb = Instance.new("Part", char)
  4615. orb.BrickColor = MAINRUINCOLOR
  4616. orb.CanCollide = false
  4617. orb.FormFactor = 3
  4618. orb.Name = "Ring"
  4619. orb.Material = "Neon"
  4620. orb.Size = Vector3.new(1, 1, 1)
  4621. orb.Transparency = 0
  4622. orb.TopSurface = 0
  4623. orb.BottomSurface = 0
  4624. local orbm = Instance.new("SpecialMesh", orb)
  4625. orbm.MeshType = "Sphere"
  4626. orbm.Name = "SizeMesh"
  4627. orbm.Scale = vt(2,2,2)
  4628. orb.CFrame = mouse.Hit
  4629. local bv = Instance.new("BodyVelocity")
  4630. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4631. bv.velocity = orb.CFrame.lookVector*100
  4632. bv.Parent = orb
  4633. local hitted = false
  4634. coroutine.resume(coroutine.create(function()
  4635. game:GetService("Debris"):AddItem(orb, 5)
  4636. orb.Transparency = 1
  4637. orb.Anchored = true
  4638. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4639. elocacenter.Anchored = true
  4640. elocacenter.CFrame = orb.CFrame
  4641. elocacenter.Orientation = vt(0,0,0)
  4642. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4643. eloca1.Anchored = true
  4644. eloca1.CFrame = elocacenter.CFrame
  4645. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4646. eloca2.Anchored = true
  4647. eloca2.CFrame = elocacenter.CFrame
  4648. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4649. eloca3.Anchored = true
  4650. eloca3.CFrame = elocacenter.CFrame
  4651. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4652. eloca4.Anchored = true
  4653. eloca4.CFrame = elocacenter.CFrame
  4654. local lookavec = 0
  4655. local speeds = 0
  4656. CameraEnshaking(1,1)
  4657. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4658. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4659. sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4660. sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4661. sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4662. sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4663. for i = 0, 24 do
  4664. swait()
  4665. lookavec = lookavec + 3.5
  4666. speeds = speeds + 1
  4667. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4668. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4669. 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)
  4670.  
  4671. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4672. 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)
  4673.  
  4674. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4675. 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)
  4676.  
  4677. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4678. 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)
  4679. end
  4680.  
  4681. local risen = 0
  4682. for i = 0, 49 do
  4683. swait()
  4684. risen = risen + 0.05
  4685. speeds = speeds + 0.1
  4686. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4687. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4688. 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)
  4689.  
  4690. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4691. 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)
  4692.  
  4693. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4694. 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)
  4695.  
  4696. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4697. 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)
  4698. end
  4699. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
  4700. if v:FindFirstChild('Head') then
  4701. dmg(v)
  4702. end
  4703. end
  4704. CameraEnshaking(4,10)
  4705. MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
  4706. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
  4707. CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
  4708. CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
  4709. CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
  4710. CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
  4711. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
  4712. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
  4713. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4714. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4715. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4716. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4717. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4718. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
  4719. for i = 0, 24 do
  4720. 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)
  4721. 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)
  4722. 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)
  4723. 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)
  4724. end
  4725. coroutine.resume(coroutine.create(function()
  4726. wait(10)
  4727. elocacenter:Destroy()
  4728. eloca1:Destroy()
  4729. eloca2:Destroy()
  4730. eloca3:Destroy()
  4731. eloca4:Destroy()
  4732. end))
  4733. end))
  4734. attack = false
  4735. end
  4736.  
  4737. function UniversalCollapse()
  4738. attack = true
  4739. local speedearn = 0
  4740. hum.WalkSpeed = 0
  4741. local sbs = Instance.new("BodyPosition", root)
  4742. sbs.P = 3000
  4743. sbs.D = 1000
  4744. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4745. sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
  4746. CFuncs["LongSound"].Create("rbxassetid://489657591", char, 10, 1)
  4747. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4748. for i = 0, 110, 0.1 do
  4749. swait()
  4750. speedearn = speedearn + 0.1
  4751. 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)
  4752. 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)
  4753. 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)
  4754. 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)
  4755. 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)
  4756. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4757. 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)
  4758. 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)
  4759. 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)
  4760. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4761. 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)
  4762. 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)
  4763. end
  4764. CameraEnshaking(5,50)
  4765. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4766. for i = 0, 2 do
  4767. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4768. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4769. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
  4770. CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
  4771. end
  4772. for i = 0, 49 do
  4773. 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)
  4774. 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)
  4775. 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)
  4776. 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)
  4777. end
  4778. sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4779. sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4780. sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4781. sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4782. sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4783. sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4784. sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4785. sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4786. sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4787. sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4788. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4789. sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4790. for i = 0, 99 do
  4791. 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)
  4792. 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)
  4793. end
  4794. for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
  4795. if v:FindFirstChild('Head') then
  4796. dmg(v)
  4797. end
  4798. end
  4799. MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
  4800. sbs:Destroy()
  4801. hum.WalkSpeed = storehumanoidWS
  4802. attack = false
  4803. end
  4804.  
  4805.  
  4806. function ChaosEND()
  4807. attack = true
  4808. local speedearn = 0
  4809. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.5)
  4810. for i = 0, 15, 0.1 do
  4811. swait()
  4812. speedearn = speedearn + 0.25
  4813. 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)
  4814. 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)
  4815. 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)
  4816. 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)
  4817. 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)
  4818. 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)
  4819. 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)
  4820. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4821. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4822. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4823. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4824. end
  4825. CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
  4826. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4827. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 0.75)
  4828. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 0.5)
  4829. CameraEnshaking(5,25)
  4830. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4831. if v:FindFirstChild('Head') then
  4832. dmg(v)
  4833. end
  4834. end
  4835. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  4836. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  4837. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  4838. for i = 0, 3, 0.1 do
  4839. swait()
  4840. 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)
  4841. 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)
  4842. 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)
  4843. 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)
  4844. 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)
  4845. 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)
  4846. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4847. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4848. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4849. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4850. end
  4851. attack = false
  4852. end
  4853.  
  4854. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4855. local orb = Instance.new("Part", char)
  4856. orb.Anchored = true
  4857. orb.BrickColor = color
  4858. orb.CanCollide = false
  4859. orb.FormFactor = 3
  4860. orb.Name = "Ring"
  4861. orb.Material = "Neon"
  4862. orb.Size = Vector3.new(1, 1, 1)
  4863. orb.Transparency = 0
  4864. orb.TopSurface = 0
  4865. orb.BottomSurface = 0
  4866. local orbm = Instance.new("SpecialMesh", orb)
  4867. orbm.MeshType = "Sphere"
  4868. orb.CFrame = positted
  4869. orbm.Name = "SizeMesh"
  4870. orbm.Scale = vt(1,1,1)
  4871. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  4872. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  4873. --[[for i = 0, 2 do
  4874. 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)
  4875. end]]--
  4876. coroutine.resume(coroutine.create(function()
  4877. wait(timer)
  4878. CameraEnshaking(3,ShakePower)
  4879. orb.Transparency = 1
  4880. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  4881. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  4882. --[[for i = 0, 4 do
  4883. 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)
  4884. end]]--
  4885. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  4886. wait(3)
  4887. orb:Destroy()
  4888. end))
  4889. end
  4890.  
  4891. function orb_spawn(positted,timer)
  4892. local randomcol = math.random(1,2)
  4893. local orb = Instance.new("Part", char)
  4894. orb.Anchored = true
  4895. if randomcol == 1 then
  4896. orb.BrickColor = BrickColor.new("White")
  4897. elseif randomcol == 2 then
  4898. orb.BrickColor = BrickColor.new("Really black")
  4899. end
  4900. orb.CanCollide = false
  4901. orb.FormFactor = 3
  4902. orb.Name = "Ring"
  4903. orb.Material = "Neon"
  4904. orb.Size = Vector3.new(1, 1, 1)
  4905. orb.Transparency = 0
  4906. orb.TopSurface = 0
  4907. orb.BottomSurface = 0
  4908. local orbm = Instance.new("SpecialMesh", orb)
  4909. orbm.MeshType = "Sphere"
  4910. orb.CFrame = positted
  4911. orbm.Name = "SizeMesh"
  4912. orbm.Scale = vt(1,1,1)
  4913. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
  4914. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  4915. for i = 0, 2 do
  4916. 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)
  4917. end
  4918. coroutine.resume(coroutine.create(function()
  4919. wait(timer)
  4920. CameraEnshaking(3,2)
  4921. orb.Transparency = 1
  4922. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  4923. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  4924. for i = 0, 4 do
  4925. 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)
  4926. end
  4927. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
  4928. wait(3)
  4929. orb:Destroy()
  4930. end))
  4931. end
  4932.  
  4933. function scattercorrupt()
  4934. attack = true
  4935. local rot = 0
  4936. local randomrotations = math.random(1,2)
  4937. local lookv = 2.5
  4938. local power = 5
  4939. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  4940. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  4941. for i = 0, 9 do
  4942. 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)
  4943. end
  4944. CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
  4945. CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
  4946. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
  4947. CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
  4948. CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
  4949. local hite = Instance.new("Part", char)
  4950. hite.Anchored = true
  4951. hite.CanCollide = false
  4952. hite.FormFactor = 3
  4953. hite.Name = "Ring"
  4954. hite.Material = "Neon"
  4955. hite.Size = Vector3.new(1, 1, 1)
  4956. hite.Transparency = 1
  4957. hite.TopSurface = 0
  4958. hite.BottomSurface = 0
  4959. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  4960. local rem = Instance.new("Part", char)
  4961. rem.Anchored = true
  4962. rem.CanCollide = false
  4963. rem.FormFactor = 3
  4964. rem.Name = "Ring"
  4965. rem.Material = "Neon"
  4966. rem.Size = Vector3.new(1, 1, 1)
  4967. rem.Transparency = 1
  4968. rem.TopSurface = 0
  4969. rem.BottomSurface = 0
  4970. rem.CFrame = hite.CFrame
  4971. local rem2 = rem:Clone()
  4972. rem2.Parent = char
  4973. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4974. local rem3 = rem:Clone()
  4975. rem3.Parent = char
  4976. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4977. local rem4 = rem:Clone()
  4978. rem4.Parent = char
  4979. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4980. hite:Destroy()
  4981. coroutine.resume(coroutine.create(function()
  4982. for i = 0, 24 do
  4983. swait(1)
  4984. if randomrotations == 1 then
  4985. rot = rot + 1
  4986. elseif randomrotations == 2 then
  4987. rot = rot - 1
  4988. end
  4989. power = power + 0.5
  4990. lookv = lookv + 7.5
  4991. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4992. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4993. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4994. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4995. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4996. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4997. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4998. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4999. end
  5000. end))
  5001. attack = false
  5002. end
  5003. function yinyangi()
  5004. attack = true
  5005. for i = 0, 2, 0.1 do
  5006. swait()
  5007. 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)
  5008. 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)
  5009. 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)
  5010. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5011. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  5012. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  5013. end
  5014. local bv = Instance.new("BodyVelocity")
  5015. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5016. bv.velocity = root.CFrame.lookVector*175
  5017. bv.Parent = root
  5018. for Rotations = 0, 9 do
  5019. for i = 0, 1, 0.5 do
  5020. swait()
  5021. bv.velocity = root.CFrame.lookVector*175
  5022. 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)
  5023. 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)
  5024. 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)
  5025. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5026. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5027. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5028. end
  5029. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5030. for i = 0, 1, 0.5 do
  5031. swait()
  5032. bv.velocity = root.CFrame.lookVector*175
  5033. 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)
  5034. 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)
  5035. 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)
  5036. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5037. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5038. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5039. end
  5040. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5041. for i = 0, 1, 0.5 do
  5042. swait()
  5043. bv.velocity = root.CFrame.lookVector*175
  5044. 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)
  5045. 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)
  5046. 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)
  5047. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5048. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5049. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5050. end
  5051. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5052. for i = 0, 1, 0.5 do
  5053. swait()
  5054. bv.velocity = root.CFrame.lookVector*175
  5055. 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)
  5056. 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)
  5057. 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)
  5058. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5059. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5060. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5061. end
  5062. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5063. end
  5064. bv:Destroy()
  5065. attack = false
  5066. end
  5067.  
  5068. function createBGCircle(size,parent,color)
  5069. local bgui = Instance.new("BillboardGui",parent)
  5070. bgui.Size = UDim2.new(size, 0, size, 0)
  5071. local imgc = Instance.new("ImageLabel",bgui)
  5072. imgc.BackgroundTransparency = 1
  5073. imgc.ImageTransparency = 0
  5074. imgc.Size = UDim2.new(1,0,1,0)
  5075. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  5076. imgc.ImageColor3 = color
  5077. return bgui,imgc
  5078. end
  5079.  
  5080. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  5081. local bgui,imgc = createBGCircle(size,guipar,color)
  5082. bgui.AlwaysOnTop = true
  5083. imgc.Image = "rbxassetid://" ..img
  5084. local rrot = math.random(1,2)
  5085. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  5086. coroutine.resume(coroutine.create(function()
  5087. for i = 0, 24*delay do
  5088. swait()
  5089. if rotationenabled == true then
  5090. if rrot == 1 then
  5091. imgc.Rotation = imgc.Rotation + rotsp
  5092. elseif rrot == 2 then
  5093. imgc.Rotation = imgc.Rotation - rotsp
  5094. end
  5095. end
  5096. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  5097. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  5098. end
  5099. bgui:Destroy()
  5100. end))
  5101. end
  5102. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled)
  5103. for i, v in pairs(mw2:GetChildren()) do
  5104. if v:IsA("Part") then
  5105. v.BrickColor = one
  5106. v.Material = "Neon"
  5107. end
  5108. end
  5109. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  5110. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  5111. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  5112. tr1.Color = ColorSequence.new(one.Color)
  5113. tr2.Color = ColorSequence.new(one.Color)
  5114. tr3.Color = ColorSequence.new(one.Color)
  5115. for i, v in pairs(mw1:GetChildren()) do
  5116. if v:IsA("Part") then
  5117. if secondaryenabled == false then
  5118. v.Transparency = 1
  5119. elseif secondaryenabled == true then
  5120. v.Transparency = 0
  5121. end
  5122. v.BrickColor = two
  5123. v.Material = "Neon"
  5124. end
  5125. end
  5126. if secondaryenabled == false then
  5127. tl1.Enabled = false
  5128. tl2.Enabled = false
  5129. tl3.Enabled = false
  5130. elseif secondaryenabled == true then
  5131. tl1.Enabled = true
  5132. tl2.Enabled = true
  5133. tl3.Enabled = true
  5134. end
  5135. tl1.Color = ColorSequence.new(two.Color)
  5136. tl2.Color = ColorSequence.new(two.Color)
  5137. tl3.Color = ColorSequence.new(two.Color)
  5138. for i, v in pairs(m:GetChildren()) do
  5139. if v:IsA("Part") then
  5140. v.BrickColor = three
  5141. v.Material = "Ice"
  5142. end
  5143. end
  5144. for i, v in pairs(m2:GetChildren()) do
  5145. if v:IsA("Part") then
  5146. v.BrickColor = four
  5147. v.Material = "Ice"
  5148. end
  5149. end
  5150. for i, v in pairs(m3:GetChildren()) do
  5151. if v:IsA("Part") then
  5152. v.BrickColor = five
  5153. v.Material = "Neon"
  5154. end
  5155. end
  5156. for i, v in pairs(extrawingmod1:GetChildren()) do
  5157. if v:IsA("Part") then
  5158. v.Transparency = exonetran
  5159. v.BrickColor = exone
  5160. v.Material = "Neon"
  5161. end
  5162. end
  5163. for i, v in pairs(extrawingmod2:GetChildren()) do
  5164. if v:IsA("Part") then
  5165. v.Transparency = extwotran
  5166. v.BrickColor = extwo
  5167. v.Material = "Neon"
  5168. end
  5169. end
  5170. end
  5171.  
  5172.  
  5173. function normalmog()
  5174. attack = true
  5175. hum.WalkSpeed = 0
  5176. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
  5177. for i = 0,6,0.1 do
  5178. swait()
  5179. 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)
  5180. 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)
  5181. 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)
  5182. 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)
  5183. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5184. 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)
  5185. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5186. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5187. end
  5188. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  5189. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  5190. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  5191. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  5192. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  5193. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  5194. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  5195. rainbowmode = false
  5196. chaosmode = false
  5197. ModeOfGlitch = 1
  5198. storehumanoidWS = 16
  5199. newTheme("rbxassetid://614032233",48.6,1,1.25)
  5200. RecolorTextAndRename("MAYHEM",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  5201. CameraEnshaking(5,2.5)
  5202. MAINRUINCOLOR = BrickColor.new("Really red")
  5203. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5204. for i = 0, 49 do
  5205. 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)
  5206. end
  5207. for i = 0, 24 do
  5208. 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)
  5209. 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"))
  5210. end
  5211. for i = 0,3,0.1 do
  5212. 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)
  5213. end
  5214. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  5215. for i = 0,2,0.1 do
  5216. swait()
  5217. 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)
  5218. 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)
  5219. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  5220. 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)
  5221. 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)
  5222. 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)
  5223. end
  5224. hum.WalkSpeed = storehumanoidWS
  5225. attack = false
  5226. end
  5227.  
  5228. function attackone()
  5229. attack = true
  5230. local keptcolor = MAINRUINCOLOR
  5231. for i = 0,1,0.1 do
  5232. swait()
  5233. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  5234. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  5235. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  5236. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5237. 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)
  5238. 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)
  5239. end
  5240. local distlook = 5
  5241. coroutine.resume(coroutine.create(function()
  5242. for i = 0, 4 do
  5243. swait(2)
  5244. CameraEnshaking(2,3)
  5245. local hite = Instance.new("Part", char)
  5246. hite.Anchored = true
  5247. hite.CanCollide = false
  5248. hite.FormFactor = 3
  5249. hite.Name = "Ring"
  5250. hite.Material = "Neon"
  5251. hite.Size = Vector3.new(1, 1, 1)
  5252. hite.Transparency = 1
  5253. hite.TopSurface = 0
  5254. hite.BottomSurface = 0
  5255. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  5256. 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)
  5257. 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)
  5258. 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)
  5259. 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)
  5260. MagniDamage(hite, 9, 10,25, 0, "Normal")
  5261. for i = 0, 14 do
  5262. local rsiz = math.random(5,20)
  5263. 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)
  5264. end
  5265. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  5266. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  5267. game:GetService("Debris"):AddItem(hite, 5)
  5268. distlook = distlook + 10
  5269. end
  5270. end))
  5271. for i = 0,1,0.1 do
  5272. swait()
  5273. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  5274. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  5275. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  5276. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  5277. 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)
  5278. 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)
  5279. end
  5280. attack = false
  5281. end
  5282.  
  5283. function attacktwo()
  5284. attack = true
  5285. hum.WalkSpeed = 2
  5286. local keptcolor = MAINRUINCOLOR
  5287. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5288. 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)
  5289. 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)
  5290. for i = 0, 14 do
  5291. end
  5292. for i = 0,1,0.1 do
  5293. swait()
  5294. 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)
  5295. 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)
  5296. 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)
  5297. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  5298. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  5299. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  5300. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5301. end
  5302. for i = 0, 1 do
  5303. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  5304. for i = 0,1,0.6 do
  5305. swait()
  5306. 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)
  5307. 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)
  5308. 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)
  5309. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5310. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5311. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5312. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5313. end
  5314. for i = 0,1,0.6 do
  5315. swait()
  5316. 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)
  5317. 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)
  5318. 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)
  5319. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  5320. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5321. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5322. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5323. end
  5324. for i = 0,1,0.6 do
  5325. swait()
  5326. 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)
  5327. 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)
  5328. 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)
  5329. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  5330. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5331. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5332. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5333. end
  5334. for i = 0,1,0.6 do
  5335. swait()
  5336. 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)
  5337. 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)
  5338. 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)
  5339. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  5340. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5341. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5342. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5343. end
  5344. local rot = 0
  5345. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  5346. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  5347. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  5348. CreateMesh(dis,"Sphere",10,1,10)
  5349. local at1 = Instance.new("Attachment",dis)
  5350. at1.Position = vt(-5,0,0)
  5351. local at2 = Instance.new("Attachment",dis)
  5352. at2.Position = vt(5,0,0)
  5353. local trl = Instance.new('Trail',wed)
  5354. trl.Attachment0 = at1
  5355. trl.Attachment1 = at2
  5356. trl.Texture = "rbxassetid://1049219073"
  5357. trl.LightEmission = 1
  5358. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5359. trl.Color = ColorSequence.new(dis.Color)
  5360. trl.Lifetime = 0.6
  5361. local a = Instance.new("Part",workspace)
  5362. a.Name = "Direction"
  5363. a.Anchored = true
  5364. a.BrickColor = bc("Bright red")
  5365. a.Material = "Neon"
  5366. a.Transparency = 1
  5367. a.CanCollide = false
  5368. local ray = Ray.new(
  5369. dis.CFrame.p, -- origin
  5370. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5371. )
  5372. local ignore = dis
  5373. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5374. a.BottomSurface = 10
  5375. a.TopSurface = 10
  5376. local distance = (dis.CFrame.p - position).magnitude
  5377. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5378. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5379. dis.CFrame = a.CFrame
  5380. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5381. a:Destroy()
  5382. local bv = Instance.new("BodyVelocity")
  5383. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5384. bv.velocity = dis.CFrame.lookVector*250
  5385. bv.Parent = dis
  5386. game:GetService("Debris"):AddItem(dis, 5)
  5387. local hitted = false
  5388. coroutine.resume(coroutine.create(function()
  5389. dis.Touched:connect(function(hit)
  5390. if hitted == false and hit.Parent ~= char then
  5391. hitted = true
  5392. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  5393. MagniDamage(dis, 30, 33,56, 0, "Normal")
  5394. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  5395. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5396. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5397. coroutine.resume(coroutine.create(function()
  5398. for i = 0, 9 do
  5399. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  5400. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5401. local at1 = Instance.new("Attachment",disr)
  5402. at1.Position = vt(-5,0,0)
  5403. local at2 = Instance.new("Attachment",disr)
  5404. at2.Position = vt(5,0,0)
  5405. local trl = Instance.new('Trail',disr)
  5406. trl.Attachment0 = at1
  5407. trl.FaceCamera = true
  5408. trl.Attachment1 = at2
  5409. trl.Texture = "rbxassetid://2342682798"
  5410. trl.LightEmission = 1
  5411. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5412. trl.Color = ColorSequence.new(keptcolor.Color)
  5413. trl.Lifetime = 0.5
  5414. local bv = Instance.new("BodyVelocity")
  5415. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5416. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  5417. bv.Parent = disr
  5418. local val = 0
  5419. coroutine.resume(coroutine.create(function()
  5420. swait(30)
  5421. for i = 0, 9 do
  5422. swait()
  5423. val = val + 0.1
  5424. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5425. end
  5426. game:GetService("Debris"):AddItem(disr, 3)
  5427. end))
  5428. end
  5429. local eff = Instance.new("ParticleEmitter",dis)
  5430. eff.Texture = "rbxassetid://2273224484"
  5431. eff.LightEmission = 1
  5432. eff.Color = ColorSequence.new(keptcolor.Color)
  5433. eff.Rate = 50
  5434. eff.Lifetime = NumberRange.new(0.5,2)
  5435. 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)})
  5436. 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)})
  5437. eff.Speed = NumberRange.new(20,250)
  5438. eff.Drag = 5
  5439. eff.Rotation = NumberRange.new(-500,500)
  5440. eff.VelocitySpread = 9000
  5441. eff.RotSpeed = NumberRange.new(-50,50)
  5442. wait(0.25)
  5443. eff.Enabled = false
  5444. end))
  5445. for i = 0, 9 do
  5446. end
  5447. for i = 0, 19 do
  5448. end
  5449. coroutine.resume(coroutine.create(function()
  5450. for i = 0, 19 do
  5451. swait()
  5452. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  5453. end
  5454. hum.CameraOffset = vt(0,0,0)
  5455. end))
  5456. dis.Anchored = true
  5457. dis.Transparency = 1
  5458. wait(8)
  5459. dis:Destroy()
  5460. end
  5461. end)
  5462. end))
  5463. rot = rot - 15
  5464. end
  5465. for i = 0,2,0.1 do
  5466. swait()
  5467. 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)
  5468. 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)
  5469. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5470. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  5471. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5472. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5473. end
  5474. attack = false
  5475. hum.WalkSpeed = storehumanoidWS
  5476. end
  5477.  
  5478. function attackthree()
  5479. attack = true
  5480. local keptcolor = MAINRUINCOLOR
  5481. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  5482. for i = 0,2,0.1 do
  5483. swait()
  5484. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5485. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3)
  5486. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  5487. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3)
  5488. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3)
  5489. 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)
  5490. 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)
  5491. end
  5492. CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
  5493. CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
  5494. CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
  5495. CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
  5496. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  5497. sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR)
  5498. for i = 0, 24 do
  5499. end
  5500. for i = 0,4,0.1 do
  5501. swait()
  5502. root.CFrame = root.CFrame + root.CFrame.lookVector*5
  5503. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  5504. CreateMesh(dis,"Sphere",1,1,1)
  5505. dis.Anchored = true
  5506. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  5507. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  5508. coroutine.resume(coroutine.create(function()
  5509. swait(30)
  5510. dis.Transparency = 1
  5511. coroutine.resume(coroutine.create(function()
  5512. for i = 0, 19 do
  5513. swait()
  5514. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  5515. end
  5516. hum.CameraOffset = vt(0,0,0)
  5517. end))
  5518. coroutine.resume(coroutine.create(function()
  5519. local eff = Instance.new("ParticleEmitter",dis)
  5520. eff.Texture = "rbxassetid://2273224484"
  5521. eff.LightEmission = 1
  5522. eff.Color = ColorSequence.new(dis.Color)
  5523. eff.Rate = 500000
  5524. eff.Lifetime = NumberRange.new(0.5,2)
  5525. 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)})
  5526. 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)})
  5527. eff.Speed = NumberRange.new(50,450)
  5528. eff.Drag = 5
  5529. eff.Rotation = NumberRange.new(-500,500)
  5530. eff.VelocitySpread = 9000
  5531. eff.RotSpeed = NumberRange.new(-50,50)
  5532. wait(0.125)
  5533. eff.Enabled = false
  5534. end))
  5535. MagniDamage(dis, 30, 45,50, 0, "Normal")
  5536. for i = 0, 2 do
  5537. --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)
  5538. end
  5539. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
  5540. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
  5541. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
  5542. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color)
  5543. end))
  5544. game:GetService("Debris"):AddItem(dis, 5)
  5545. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5)
  5546. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5)
  5547. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5)
  5548. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5)
  5549. 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)
  5550. 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)
  5551. end
  5552. attack = false
  5553. end
  5554. ----------------------------------- Abilities
  5555.  
  5556. function ExtinctiveHeartbreak()
  5557. local targetted = nil
  5558. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5559. targetted = mouse.Target.Parent
  5560. end
  5561. if targetted ~= nil then
  5562. attack = true
  5563. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5564. for i = 0, 9 do
  5565. --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)
  5566. end
  5567. for i = 0, 24 do
  5568. --
  5569. end
  5570. --sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5571. local originalpos = root.CFrame
  5572. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  5573. for i = 0, 9 do
  5574. --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)
  5575. end
  5576. for i = 0, 24 do
  5577. end
  5578. hum.WalkSpeed = 0
  5579. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5580. local radm = math.random(1,3)
  5581. if radm == 1 then
  5582. --bosschatfunc("YOU WON'T BE NECCESSARY.",MAINRUINCOLOR.Color,2)
  5583. elseif radm == 2 then
  5584. --bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
  5585. elseif radm == 3 then
  5586. --bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  5587. end
  5588. for i = 0,2,0.1 do
  5589. swait()
  5590. 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)
  5591. 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)
  5592. 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)
  5593. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5594. 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)
  5595. 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)
  5596. end
  5597. CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
  5598. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
  5599. for i = 0,2,0.1 do
  5600. swait()
  5601. coroutine.resume(coroutine.create(function()
  5602. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5603. for i,v in pairs(targetted:GetChildren()) do
  5604. if v:IsA("Part") or v:IsA("MeshPart") then
  5605. v.Velocity = vt(0,0,0)
  5606. end
  5607. end
  5608. end))
  5609. 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)
  5610. 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)
  5611. 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)
  5612. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  5613. 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)
  5614. 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)
  5615. end
  5616. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1)
  5617. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1)
  5618. for i = 0, 1 do
  5619. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1)
  5620. end
  5621. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
  5622. --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  5623. for i = 0,4,0.1 do
  5624. swait()
  5625. coroutine.resume(coroutine.create(function()
  5626. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5627. 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)))
  5628. local at1 = Instance.new("Attachment",dis)
  5629. at1.Position = vt(-25000,0,0)
  5630. local at2 = Instance.new("Attachment",dis)
  5631. at2.Position = vt(25000,0,0)
  5632. local trl = Instance.new('Trail',dis)
  5633. trl.Attachment0 = at1
  5634. trl.FaceCamera = true
  5635. trl.Attachment1 = at2
  5636. trl.Texture = "rbxassetid://1049219073"
  5637. trl.LightEmission = 1
  5638. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5639. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  5640. trl.Lifetime = 5
  5641. local bv = Instance.new("BodyVelocity")
  5642. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5643. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5644. bv.Parent = dis
  5645. game:GetService("Debris"):AddItem(dis, 5)
  5646. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5647. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  5648. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  5649. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  5650. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  5651. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  5652. 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)
  5653. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  5654. for i = 0, 2 do
  5655. --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"))
  5656. end
  5657. 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)
  5658. for i,v in pairs(targetted:GetChildren()) do
  5659. if v:IsA("Part") or v:IsA("MeshPart") then
  5660. v.Velocity = vt(0,0,0)
  5661. end
  5662. end
  5663. end))
  5664. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  5665. 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)
  5666. 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)
  5667. 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)
  5668. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  5669. 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)
  5670. 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)
  5671. end
  5672. hum.CameraOffset = vt(0,0,0)
  5673. for i = 0, 49 do
  5674. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5675. 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)))
  5676. local at1 = Instance.new("Attachment",dis)
  5677. at1.Position = vt(-50000,0,0)
  5678. local at2 = Instance.new("Attachment",dis)
  5679. at2.Position = vt(50000,0,0)
  5680. local trl = Instance.new('Trail',dis)
  5681. trl.Attachment0 = at1
  5682. trl.FaceCamera = true
  5683. trl.Attachment1 = at2
  5684. trl.Texture = "rbxassetid://1049219073"
  5685. trl.LightEmission = 1
  5686. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5687. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  5688. trl.Lifetime = 5
  5689. local bv = Instance.new("BodyVelocity")
  5690. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5691. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5692. bv.Parent = dis
  5693. game:GetService("Debris"):AddItem(dis, 5)
  5694. end
  5695. for i = 0, 49 do
  5696. 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)
  5697. --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"))
  5698. end
  5699. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  5700. for i = 0, 1 do
  5701. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  5702. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  5703. end
  5704. for i = 0, 4 do
  5705. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  5706. end
  5707. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  5708. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  5709. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  5710. dmg(targetted)
  5711. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5712. for i = 0, 9 do
  5713. --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)
  5714. end
  5715. for i = 0, 24 do
  5716. end
  5717. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5718. root.CFrame = originalpos
  5719. for i = 0, 9 do
  5720. --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)
  5721. end
  5722. for i = 0, 24 do
  5723. end
  5724. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5725. attack = false
  5726. hum.WalkSpeed = storehumanoidWS
  5727. end
  5728. end
  5729.  
  5730. function CorruptionEvent()
  5731. attack = true
  5732. hum.WalkSpeed = 0
  5733. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5734. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5735. local keptcolor = MAINRUINCOLOR
  5736. for i = 0,4,0.1 do
  5737. swait()
  5738. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5739. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5740. 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)
  5741. 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)
  5742. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  5743. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  5744. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  5745. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5746. end
  5747. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5748. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  5749. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  5750. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5751. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5752. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5753. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  5754. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  5755. hum.CameraOffset = vt(0,0,0)
  5756. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5757. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5758. for i = 0, 24 do
  5759. --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"))
  5760. end
  5761. local rrot = 0
  5762. coroutine.resume(coroutine.create(function()
  5763. for i = 0, 4 do
  5764. rrot = rrot + 45
  5765. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5766. xa.Anchored = true
  5767. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5768. xb.Anchored = true
  5769. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5770. xc.Anchored = true
  5771. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5772. xd.Anchored = true
  5773. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  5774. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  5775. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  5776. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  5777. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  5778. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  5779. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  5780. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  5781. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  5782. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  5783. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  5784. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  5785. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  5786. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  5787. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  5788. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  5789. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5790. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5791. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5792. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5793. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5794. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5795. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5796. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5797. 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)
  5798. 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)
  5799. 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)
  5800. 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)
  5801. 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))
  5802. 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))
  5803. 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))
  5804. 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))
  5805. game:GetService("Debris"):AddItem(xa, 5)
  5806. game:GetService("Debris"):AddItem(xb, 5)
  5807. game:GetService("Debris"):AddItem(xc, 5)
  5808. game:GetService("Debris"):AddItem(xd, 5)
  5809. coroutine.resume(coroutine.create(function()
  5810. for i = 0, 19 do
  5811. swait()
  5812. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5813. end
  5814. hum.CameraOffset = vt(0,0,0)
  5815. end))
  5816. swait(9)
  5817. end
  5818. end))
  5819. for i = 0,2,0.1 do
  5820. swait()
  5821. 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)
  5822. 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)
  5823. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  5824. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  5825. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  5826. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5827. end
  5828. attack = false
  5829. hum.WalkSpeed = storehumanoidWS
  5830. end
  5831.  
  5832. function EndGROUND()
  5833. attack = true
  5834. hum.WalkSpeed = 0
  5835. bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
  5836. --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5837. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5838. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  5839. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  5840. local keptcolor = MAINRUINCOLOR
  5841. for i = 0,4,0.1 do
  5842. swait()
  5843. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5844. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5845. --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"))
  5846. 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)
  5847. 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)
  5848. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  5849. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  5850. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  5851. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5852. end
  5853. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5854. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5855. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5856. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5857. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  5858. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  5859. coroutine.resume(coroutine.create(function()
  5860. local shval = 10
  5861. for i = 0, 99 do
  5862. swait()
  5863. shval = shval - 0.1
  5864. hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  5865. end
  5866. hum.CameraOffset = vt(0,0,0)
  5867. end))
  5868. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5869. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5870. for i = 0, 24 do
  5871. --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"))
  5872. end
  5873. local rrot = 0
  5874. local xam = 1
  5875. coroutine.resume(coroutine.create(function()
  5876. for i = 0, 14 do
  5877. --swait()
  5878. rrot = rrot + 40*xam
  5879. xam = xam + 0.25
  5880. local bonus = xam
  5881. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  5882. xa.Anchored = true
  5883. xa.Color = Color3.new(0,0,0)
  5884. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  5885. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  5886. local xc = 0
  5887. coroutine.resume(coroutine.create(function()
  5888. for i = 0, 99 do
  5889. swait()
  5890. xc = xc + 0.01
  5891. xa.Color = Color3.new(xc,0,0)
  5892. end
  5893. xa.Transparency = 1
  5894. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  5895. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  5896. for i = 0, 9 do
  5897. --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"))
  5898. end
  5899. 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)
  5900. 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)
  5901. 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))
  5902. game:GetService("Debris"):AddItem(xa, 5)
  5903. coroutine.resume(coroutine.create(function()
  5904. for i = 0, 19 do
  5905. swait()
  5906. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5907. end
  5908. hum.CameraOffset = vt(0,0,0)
  5909. end))
  5910. end))
  5911. end
  5912. end))
  5913. for i = 0,2,0.1 do
  5914. swait()
  5915. 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)
  5916. 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)
  5917. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  5918. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  5919. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  5920. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5921. end
  5922. attack = false
  5923. hum.WalkSpeed = storehumanoidWS
  5924. end
  5925.  
  5926. function HeavenlyDisk()
  5927. attack = true
  5928. hum.WalkSpeed = 2
  5929. local keptcolor = MAINRUINCOLOR
  5930. local radm = math.random(1,3)
  5931. if radm == 1 then
  5932. --bosschatfunc("Don't make this too easy for you.",MAINRUINCOLOR.Color,1)
  5933. elseif radm == 2 then
  5934. --bosschatfunc("Heavenly Disks!",MAINRUINCOLOR.Color,1)
  5935. elseif radm == 3 then
  5936. --bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
  5937. end
  5938. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5939. CFuncs["EchoSound"].Create("rbxassetid://1625448638", root, 4, 1,0,10,0.15,0.5,1)
  5940. for i = 0, 14 do
  5941. --
  5942. end
  5943. for i = 0,2,0.1 do
  5944. swait()
  5945. 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)
  5946. 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)
  5947. 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)
  5948. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5949. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  5950. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  5951. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5952. end
  5953. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  5954. for i = 0,1,0.6 do
  5955. swait()
  5956. 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)
  5957. --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"))
  5958. 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)
  5959. 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)
  5960. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5961. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5962. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5963. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5964. end
  5965. for i = 0,1,0.6 do
  5966. swait()
  5967. 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)
  5968. --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"))
  5969. 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)
  5970. 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)
  5971. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  5972. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5973. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5974. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5975. end
  5976. for i = 0,1,0.6 do
  5977. swait()
  5978. 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)
  5979. --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"))
  5980. 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)
  5981. 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)
  5982. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  5983. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5984. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5985. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5986. end
  5987. for i = 0,1,0.6 do
  5988. swait()
  5989. 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)
  5990. --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"))
  5991. 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)
  5992. 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)
  5993. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  5994. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5995. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5996. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5997. end
  5998. local rot = 15
  5999. for i = 0, 2 do
  6000. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
  6001. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  6002. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  6003. CreateMesh(dis,"Sphere",10,1,10)
  6004. local at1 = Instance.new("Attachment",dis)
  6005. at1.Position = vt(-5,0,0)
  6006. local at2 = Instance.new("Attachment",dis)
  6007. at2.Position = vt(5,0,0)
  6008. local trl = Instance.new('Trail',wed)
  6009. trl.Attachment0 = at1
  6010. trl.Attachment1 = at2
  6011. trl.Texture = "rbxassetid://1049219073"
  6012. trl.LightEmission = 1
  6013. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6014. trl.Color = ColorSequence.new(dis.Color)
  6015. trl.Lifetime = 0.6
  6016. local a = Instance.new("Part",workspace)
  6017. a.Name = "Direction"
  6018. a.Anchored = true
  6019. a.BrickColor = bc("Bright red")
  6020. a.Material = "Neon"
  6021. a.Transparency = 1
  6022. a.CanCollide = false
  6023. local ray = Ray.new(
  6024. dis.CFrame.p, -- origin
  6025. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6026. )
  6027. local ignore = dis
  6028. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6029. a.BottomSurface = 10
  6030. a.TopSurface = 10
  6031. local distance = (dis.CFrame.p - position).magnitude
  6032. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6033. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6034. dis.CFrame = a.CFrame
  6035. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  6036. a:Destroy()
  6037. local bv = Instance.new("BodyVelocity")
  6038. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6039. bv.velocity = dis.CFrame.lookVector*250
  6040. bv.Parent = dis
  6041. game:GetService("Debris"):AddItem(dis, 5)
  6042. local hitted = false
  6043. coroutine.resume(coroutine.create(function()
  6044. dis.Touched:connect(function(hit)
  6045. if hitted == false and hit.Parent ~= char then
  6046. hitted = true
  6047. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  6048. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  6049. --sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  6050. --sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  6051. --sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  6052. coroutine.resume(coroutine.create(function()
  6053. for i = 0, 9 do
  6054. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6055. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6056. local at1 = Instance.new("Attachment",disr)
  6057. at1.Position = vt(-2,0,0)
  6058. local at2 = Instance.new("Attachment",disr)
  6059. at2.Position = vt(2,0,0)
  6060. local trl = Instance.new('Trail',disr)
  6061. trl.Attachment0 = at1
  6062. trl.FaceCamera = true
  6063. trl.Attachment1 = at2
  6064. trl.Texture = "rbxassetid://2342682798"
  6065. trl.LightEmission = 1
  6066. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6067. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6068. trl.Lifetime = 0.5
  6069. local bv = Instance.new("BodyVelocity")
  6070. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6071. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  6072. bv.Parent = disr
  6073. local val = 0
  6074. coroutine.resume(coroutine.create(function()
  6075. swait(30)
  6076. for i = 0, 9 do
  6077. swait()
  6078. val = val + 0.1
  6079. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6080. end
  6081. game:GetService("Debris"):AddItem(disr, 3)
  6082. end))
  6083. end
  6084. local eff = Instance.new("ParticleEmitter",dis)
  6085. eff.Texture = "rbxassetid://2273224484"
  6086. eff.LightEmission = 1
  6087. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6088. eff.Rate = 500000
  6089. eff.Lifetime = NumberRange.new(0.5,2)
  6090. 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)})
  6091. 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)})
  6092. eff.Speed = NumberRange.new(20,250)
  6093. eff.Drag = 5
  6094. eff.Rotation = NumberRange.new(-500,500)
  6095. eff.VelocitySpread = 9000
  6096. eff.RotSpeed = NumberRange.new(-50,50)
  6097. wait(0.25)
  6098. eff.Enabled = false
  6099. end))
  6100. for i = 0, 9 do
  6101. --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"))
  6102. end
  6103. for i = 0, 19 do
  6104. --
  6105. end
  6106. coroutine.resume(coroutine.create(function()
  6107. for i = 0, 19 do
  6108. swait()
  6109. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6110. end
  6111. hum.CameraOffset = vt(0,0,0)
  6112. end))
  6113. dis.Anchored = true
  6114. dis.Transparency = 1
  6115. wait(8)
  6116. dis:Destroy()
  6117. end
  6118. end)
  6119. end))
  6120. rot = rot - 15
  6121. end
  6122. for i = 0,2,0.1 do
  6123. swait()
  6124. 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)
  6125. 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)
  6126. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  6127. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  6128. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6129. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6130. end
  6131. attack = false
  6132. hum.WalkSpeed = storehumanoidWS
  6133. end
  6134.  
  6135. function RapidBurst()
  6136. attack = true
  6137. hum.WalkSpeed = 0
  6138. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  6139. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
  6140. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  6141. bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,2)
  6142. local keptcolor = MAINRUINCOLOR
  6143. for i = 0,8,0.1 do
  6144. swait()
  6145. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6146. --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())
  6147. 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)
  6148. 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)
  6149. 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)
  6150. 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)
  6151. 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)
  6152. 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)
  6153. 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)
  6154. end
  6155. for i = 0, 99 do
  6156. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6157. 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)))
  6158. local at1 = Instance.new("Attachment",dis)
  6159. at1.Position = vt(-25000,0,0)
  6160. local at2 = Instance.new("Attachment",dis)
  6161. at2.Position = vt(25000,0,0)
  6162. local trl = Instance.new('Trail',dis)
  6163. trl.Attachment0 = at1
  6164. trl.FaceCamera = true
  6165. trl.Attachment1 = at2
  6166. trl.Texture = "rbxassetid://1049219073"
  6167. trl.LightEmission = 1
  6168. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6169. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6170. trl.Lifetime = 5
  6171. local bv = Instance.new("BodyVelocity")
  6172. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6173. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6174. bv.Parent = dis
  6175. game:GetService("Debris"):AddItem(dis, 5)
  6176. end
  6177. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6178. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6179. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6180. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6181. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6182. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6183. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6184. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6185. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6186. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6187. hum.CameraOffset = vt(0,0,0)
  6188. for i = 0, 24 do
  6189. --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())
  6190. end
  6191. local distam = 0
  6192. coroutine.resume(coroutine.create(function()
  6193. for i = 0, 99 do
  6194. wait()
  6195. distam = distam + 1
  6196. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6197. xa.Anchored = true
  6198. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  6199. game:GetService("Debris"):AddItem(xa, 5)
  6200. for i = 0, 4 do
  6201. --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())
  6202. end
  6203. coroutine.resume(coroutine.create(function()
  6204. local eff = Instance.new("ParticleEmitter",xa)
  6205. eff.Texture = "rbxassetid://2273224484"
  6206. eff.LightEmission = 1
  6207. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6208. eff.Rate = 500000
  6209. eff.Lifetime = NumberRange.new(1,3)
  6210. 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)})
  6211. 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)})
  6212. eff.Speed = NumberRange.new(50,500)
  6213. eff.Drag = 5
  6214. eff.Rotation = NumberRange.new(-500,500)
  6215. eff.VelocitySpread = 9000
  6216. eff.RotSpeed = NumberRange.new(-50,50)
  6217. wait(0.25)
  6218. eff.Enabled = false
  6219. end))
  6220. coroutine.resume(coroutine.create(function()
  6221. for i = 0, 19 do
  6222. swait()
  6223. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  6224. end
  6225. hum.CameraOffset = vt(0,0,0)
  6226. end))
  6227. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6228. --sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6229. --sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6230. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6231. end
  6232. end))
  6233. attack = false
  6234. hum.WalkSpeed = storehumanoidWS
  6235. end
  6236.  
  6237.  
  6238. function FallenOrbs()
  6239. attack = true
  6240. hum.WalkSpeed = 2
  6241. local keptcolor = MAINRUINCOLOR
  6242. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 1.5, 1,0,10,0.15,0.5,1)
  6243. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 10, 1,0,10,0.15,0.5,1)
  6244. local radm = math.random(1,3)
  6245. if radm == 1 then
  6246. bosschatfunc("This won't be easy for you.",MAINRUINCOLOR.Color,1)
  6247. elseif radm == 2 then
  6248. bosschatfunc("How about this?",MAINRUINCOLOR.Color,1)
  6249. elseif radm == 3 then
  6250. bosschatfunc("Swarm!",MAINRUINCOLOR.Color,1)
  6251. end
  6252. coroutine.resume(coroutine.create(function()
  6253. for i = 0, 29 do
  6254. swait(2)
  6255. local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
  6256. dis.Anchored = true
  6257. CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  6258. dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35))
  6259. CreateMesh(dis,"Sphere",2,2,2)
  6260. --sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  6261. --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"))
  6262. coroutine.resume(coroutine.create(function()
  6263. wait(0.5)
  6264. dis.Anchored = false
  6265. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 5, 1,0,2,0.15,0.1,1)
  6266. local at1 = Instance.new("Attachment",dis)
  6267. at1.Position = vt(-1,0,0)
  6268. local at2 = Instance.new("Attachment",dis)
  6269. at2.Position = vt(1,0,0)
  6270. local trl = Instance.new('Trail',dis)
  6271. trl.Attachment0 = at1
  6272. trl.FaceCamera = true
  6273. trl.Attachment1 = at2
  6274. trl.Texture = "rbxassetid://1049219073"
  6275. trl.LightEmission = 1
  6276. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6277. trl.Color = ColorSequence.new(dis.Color)
  6278. trl.Lifetime = 0.6
  6279. local a = Instance.new("Part",workspace)
  6280. a.Name = "Direction"
  6281. a.Anchored = true
  6282. a.BrickColor = bc("Bright red")
  6283. a.Material = "Neon"
  6284. a.Transparency = 1
  6285. a.CanCollide = false
  6286. local ray = Ray.new(
  6287. dis.CFrame.p, -- origin
  6288. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6289. )
  6290. local ignore = dis
  6291. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6292. a.BottomSurface = 10
  6293. a.TopSurface = 10
  6294. local distance = (dis.CFrame.p - position).magnitude
  6295. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6296. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6297. dis.CFrame = a.CFrame
  6298. a:Destroy()
  6299. local bv = Instance.new("BodyVelocity")
  6300. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6301. bv.velocity = dis.CFrame.lookVector*500
  6302. bv.Parent = dis
  6303. game:GetService("Debris"):AddItem(dis, 5)
  6304. local hitted = false
  6305. coroutine.resume(coroutine.create(function()
  6306. dis.Touched:connect(function(hit)
  6307. if hitted == false and hit.Parent ~= char then
  6308. hitted = true
  6309. CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 2.5, 0.8,0,10,0.15,0.5,1)
  6310. MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  6311. --sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color)
  6312. --sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  6313. coroutine.resume(coroutine.create(function()
  6314. for i = 0, 4 do
  6315. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6316. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6317. local at1 = Instance.new("Attachment",disr)
  6318. at1.Position = vt(-10,0,0)
  6319. local at2 = Instance.new("Attachment",disr)
  6320. at2.Position = vt(10,0,0)
  6321. local trl = Instance.new('Trail',disr)
  6322. trl.Attachment0 = at1
  6323. trl.FaceCamera = true
  6324. trl.Attachment1 = at2
  6325. trl.Texture = "rbxassetid://2342682798"
  6326. trl.LightEmission = 1
  6327. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6328. trl.Color = ColorSequence.new(disr.Color)
  6329. trl.Lifetime = 0.5
  6330. local bv = Instance.new("BodyVelocity")
  6331. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6332. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  6333. bv.Parent = disr
  6334. local val = 0
  6335. coroutine.resume(coroutine.create(function()
  6336. swait(30)
  6337. for i = 0, 9 do
  6338. swait()
  6339. val = val + 0.1
  6340. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6341. end
  6342. game:GetService("Debris"):AddItem(disr, 3)
  6343. end))
  6344. end
  6345. local eff = Instance.new("ParticleEmitter",dis)
  6346. eff.Texture = "rbxassetid://2273224484"
  6347. eff.LightEmission = 1
  6348. eff.Color = ColorSequence.new(dis.Color)
  6349. eff.Rate = 500000
  6350. eff.Lifetime = NumberRange.new(0.5,2)
  6351. 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)})
  6352. 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)})
  6353. eff.Speed = NumberRange.new(20,250)
  6354. eff.Drag = 5
  6355. eff.Rotation = NumberRange.new(-500,500)
  6356. eff.VelocitySpread = 9000
  6357. eff.RotSpeed = NumberRange.new(-50,50)
  6358. wait(0.5)
  6359. eff.Enabled = false
  6360. end))
  6361. for i = 0, 4 do
  6362. --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"))
  6363. end
  6364. coroutine.resume(coroutine.create(function()
  6365. for i = 0, 19 do
  6366. swait()
  6367. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6368. end
  6369. hum.CameraOffset = vt(0,0,0)
  6370. end))
  6371. dis.Anchored = true
  6372. dis.Transparency = 1
  6373. wait(8)
  6374. dis:Destroy()
  6375. end
  6376. end)
  6377. end))
  6378. end))
  6379. end
  6380. end))
  6381. for i = 0,9,0.1 do
  6382. swait()
  6383. 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)
  6384. 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)
  6385. 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)
  6386. 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)
  6387. 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)
  6388. 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)
  6389. 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)
  6390. end
  6391. attack = false
  6392. hum.WalkSpeed = storehumanoidWS
  6393. end
  6394.  
  6395. function EquinoxOrbs()
  6396. hum.WalkSpeed = 0
  6397. attack = true
  6398. for i = 0,1,0.1 do
  6399. swait()
  6400. 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)
  6401. 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)
  6402. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6403. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6404. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  6405. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  6406. end
  6407. --sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  6408. --sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  6409. for i = 0, 24 do
  6410. --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"))
  6411. end
  6412. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  6413. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  6414. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  6415. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  6416. for i = 0,4,0.1 do
  6417. swait()
  6418. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  6419. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  6420. CreateMesh(dis,"Sphere",1,1,1)
  6421. dis.Anchored = true
  6422. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  6423. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
  6424. CreateMesh(dis2,"Sphere",1,1,1)
  6425. dis2.Anchored = true
  6426. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  6427. --sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  6428. --sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  6429. coroutine.resume(coroutine.create(function()
  6430. swait(60)
  6431. dis.Transparency = 1
  6432. dis2.Transparency = 1
  6433. coroutine.resume(coroutine.create(function()
  6434. for i = 0, 19 do
  6435. swait()
  6436. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  6437. end
  6438. hum.CameraOffset = vt(0,0,0)
  6439. end))
  6440. coroutine.resume(coroutine.create(function()
  6441. local eff = Instance.new("ParticleEmitter",dis)
  6442. eff.Texture = "rbxassetid://2273224484"
  6443. eff.LightEmission = 1
  6444. eff.Color = ColorSequence.new(dis.Color)
  6445. eff.Rate = 500000
  6446. eff.Lifetime = NumberRange.new(0.5,2)
  6447. 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)})
  6448. 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)})
  6449. eff.Speed = NumberRange.new(50,450)
  6450. eff.Drag = 5
  6451. eff.Rotation = NumberRange.new(-500,500)
  6452. eff.VelocitySpread = 9000
  6453. eff.RotSpeed = NumberRange.new(-50,50)
  6454. local eff2 = eff:Clone()
  6455. eff2.Parent = dis2
  6456. eff2.LightEmission = 0
  6457. eff2.Color = ColorSequence.new(dis2.Color)
  6458. wait(0.25)
  6459. eff.Enabled = false
  6460. eff2.Enabled = false
  6461. end))
  6462. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  6463. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  6464. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  6465. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  6466. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  6467. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  6468. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  6469. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  6470. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  6471. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  6472. end))
  6473. game:GetService("Debris"):AddItem(dis, 5)
  6474. game:GetService("Debris"):AddItem(dis2, 5)
  6475. 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)
  6476. 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)
  6477. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6478. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6479. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  6480. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  6481. end
  6482. attack = false
  6483. hum.WalkSpeed = storehumanoidWS
  6484. end
  6485. function FallenDEMISE()
  6486. attack = true
  6487. hum.WalkSpeed = 0
  6488. local keptcolor = MAINRUINCOLOR
  6489. --bosschatfunc("ALL OF YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,3)
  6490. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  6491. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  6492. for i = 0, 15, 0.1 do
  6493. swait()
  6494. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6495. 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)))
  6496. local at1 = Instance.new("Attachment",dis)
  6497. at1.Position = vt(-25000,0,0)
  6498. local at2 = Instance.new("Attachment",dis)
  6499. at2.Position = vt(25000,0,0)
  6500. local trl = Instance.new('Trail',dis)
  6501. trl.Attachment0 = at1
  6502. trl.FaceCamera = true
  6503. trl.Attachment1 = at2
  6504. trl.Texture = "rbxassetid://1049219073"
  6505. trl.LightEmission = 1
  6506. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6507. trl.Color = ColorSequence.new(dis.Color)
  6508. trl.Lifetime = 5
  6509. local bv = Instance.new("BodyVelocity")
  6510. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6511. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6512. bv.Parent = dis
  6513. game:GetService("Debris"):AddItem(dis, 1)
  6514. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
  6515. --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"))
  6516. --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"))
  6517. 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)
  6518. 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)
  6519. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6520. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6521. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6522. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6523. end
  6524. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  6525. for i = 0, 30, 0.1 do
  6526. swait()
  6527. coroutine.resume(coroutine.create(function()
  6528. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  6529. if v:FindFirstChild('Head') then
  6530. dmg(v)
  6531. end
  6532. end
  6533. end))
  6534. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6535. 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)))
  6536. local at1 = Instance.new("Attachment",dis)
  6537. at1.Position = vt(-50000,0,0)
  6538. local at2 = Instance.new("Attachment",dis)
  6539. at2.Position = vt(50000,0,0)
  6540. local trl = Instance.new('Trail',dis)
  6541. trl.Attachment0 = at1
  6542. trl.FaceCamera = true
  6543. trl.Attachment1 = at2
  6544. trl.Texture = "rbxassetid://1049219073"
  6545. trl.LightEmission = 1
  6546. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6547. trl.Color = ColorSequence.new(dis.Color)
  6548. trl.Lifetime = 10
  6549. local bv = Instance.new("BodyVelocity")
  6550. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6551. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  6552. bv.Parent = dis
  6553. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  6554. --sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
  6555. --sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
  6556. --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"))
  6557. --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"))
  6558. --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"))
  6559. --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"))
  6560. for i = 0, 2 do
  6561. --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)
  6562. end
  6563. 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)
  6564. 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)
  6565. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6566. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6567. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6568. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6569. end
  6570. attack = false
  6571. hum.WalkSpeed = storehumanoidWS
  6572. end
  6573.  
  6574. function Dreamtrans()
  6575. storehumanoidWS = 275
  6576. hum.WalkSpeed = 0
  6577. attack=true
  6578. newThemeCust("rbxassetid://415898123",0,1,1.25)
  6579.  
  6580. repeat
  6581.  
  6582. swait()
  6583. local snap = math.random(1,10)
  6584. if snap == 1 then
  6585. 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)
  6586. end
  6587. 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)
  6588. 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)
  6589. bosschatfunc("Tonight...",MAINRUINCOLOR.Color,2)
  6590. 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)
  6591. 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)
  6592. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  6593. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  6594. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  6595. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  6596.  
  6597. until kan.TimePosition > 2.4
  6598. for i = 0, 5, .1 do
  6599. swait()
  6600. bosschatfunc("We are going to witness",MAINRUINCOLOR.Color,2)
  6601. 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)
  6602. 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)
  6603. 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)
  6604. 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)
  6605. RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * 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)
  6606. LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45))),.1)
  6607. end
  6608.  
  6609. repeat
  6610. swait()
  6611. bosschatfunc("The most anticipated match..",MAINRUINCOLOR.Color,2)
  6612. modet.Position = UDim2.new(0,0,0,0)
  6613. fullscreenz.Position = UDim2.new(0,0,0,0)
  6614. modet.Rotation = -5 * math.cos(sine / 32)
  6615. 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)
  6616. 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)
  6617. 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)
  6618. 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)
  6619. RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * 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)
  6620. LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45))),.1)
  6621. until kan.TimePosition > 6.5
  6622. for i = 0, 5, .1 do
  6623. swait()
  6624. 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)),.4)
  6625. 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)),.4)
  6626. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  6627. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
  6628. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-20)),.4)
  6629. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(20)),.4)
  6630. modet.Position = UDim2.new(0,math.random(-15,15),0,math.random(-15,15))
  6631. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-10,10)
  6632. fullscreenz.Position = UDim2.new(0,math.random(-15,15),0,math.random(-15,15))
  6633. end
  6634. bosschatfunc("In the history",MAINRUINCOLOR.Color,2)
  6635. for i = 0, 10, .1 do
  6636. modet.Position = UDim2.new(0,0,0,0)
  6637. modet.Rotation = -5 * math.cos(sine / 32)
  6638. fullscreenz.Position = UDim2.new(0,0,0,0)
  6639. swait()
  6640. 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)
  6641. 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)
  6642. 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)
  6643. 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)))*angles(math.rad(math.random(-2,2)),math.rad(math.random(-2,2)),math.rad(math.random(-2,2))),.1)
  6644. RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(95 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(-13 + 9 * math.cos(sine / 45)))*angles(math.rad(math.random(-2,2)),math.rad(math.random(-2,2)),math.rad(math.random(-2,2))),.1)
  6645. LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(95 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-2,2)),math.rad(math.random(-2,2)),math.rad(math.random(-2,2))),.1)
  6646. end
  6647. bosschatfunc("Of professional dubstep",MAINRUINCOLOR.Color,2)
  6648. for i = 0, 6, .1 do
  6649. swait()
  6650. 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)
  6651. 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)
  6652. 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)
  6653. 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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6654. RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(95 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(-13 + 9 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6655. LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(95 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6656. end
  6657. bosschatfunc("For the heavyweight",MAINRUINCOLOR.Color,2)
  6658. for i = 0, 24, .1 do
  6659. swait()
  6660. 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)
  6661. 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)
  6662. 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)
  6663. 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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6664. RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * 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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6665. LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6666. end
  6667. bosschatfunc("championship of the world",MAINRUINCOLOR.Color,2)
  6668. for i = 0, 5, .1 do
  6669. swait()
  6670. 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(-22 - 2 * math.cos(sine / 32))),.1)
  6671. 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(-10 + 2 * math.cos(sine / 32))),.1)
  6672. 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(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
  6673. 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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6674. RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(95 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(0))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6675. LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6676. end
  6677. for i = 0, 6, .1 do
  6678. swait()
  6679. 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)
  6680. 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)
  6681. 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)
  6682. 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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6683. RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * 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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6684. LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6685. end
  6686. bosschatfunc("Are you ready?",MAINRUINCOLOR.Color,2)
  6687. for i = 0, 9, .1 do
  6688. swait()
  6689. 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)
  6690. 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)
  6691. 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)
  6692. 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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6693. RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * 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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6694. LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6695. end
  6696. bosschatfunc("..",MAINRUINCOLOR.Color,2)
  6697. for i = 0, 10, .1 do
  6698. swait()
  6699. 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)),.4)
  6700. 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)),.4)
  6701. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  6702. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
  6703. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.4)
  6704. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.4)
  6705. end
  6706. local inc = 0
  6707. bosschatfunc("Let's get ready for the showdown",MAINRUINCOLOR.Color,2)
  6708. for i = 0, 6, .1 do
  6709. swait()
  6710. inc=inc+1
  6711. fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10)
  6712. 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(50)),.4)
  6713. 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(-50)),.4)
  6714. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(50),math.rad(0),math.rad(0)),.4)
  6715. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
  6716. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.4)
  6717. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.4)
  6718. end
  6719. CFuncs.Sound.Create('rbxassetid://363808674',Head,3,1.25)
  6720. for i = 0, 3, .1 do
  6721. swait()
  6722. inc=inc+1
  6723. fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10)
  6724. 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)),.4)
  6725. 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)),.4)
  6726. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  6727. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(-20),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
  6728. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(20)),.4)
  6729. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(40)),.4)
  6730. end
  6731. CFuncs.Sound.Create('rbxassetid://363808674',Head,3,1.1)
  6732. for i = 0, 3, .1 do
  6733. swait()
  6734. inc=inc+1
  6735. fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10)
  6736. 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)),.4)
  6737. 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)),.4)
  6738. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  6739. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(20),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
  6740. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-40)),.4)
  6741. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-20)),.4)
  6742. end
  6743. for i = 0, 6, .1 do
  6744. swait()
  6745. inc=inc+5
  6746. fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10)
  6747. 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)),.4)
  6748. 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)),.4)
  6749. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  6750. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),0,math.rad(0 - 10 * math.cos(sine / 0.03))),.4)
  6751. RW.C0=clerp(RW.C0,cf(1.5,0.4,0)*angles(math.rad(30),math.rad(0),0),.4)
  6752. LW.C0=clerp(LW.C0,cf(-1.5,0.4,0)*angles(math.rad(30),math.rad(0),0),.4)
  6753. end
  6754. fullscreenz.Position = UDim2.new(0,0,0,0)
  6755. attack=false
  6756. MAINRUINCOLOR = BrickColor.new("Really red")
  6757. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6758. for i = 0, 49 do
  6759. 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)
  6760. end
  6761. for i = 0, 24 do
  6762. 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)
  6763. 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"))
  6764. end
  6765. for i = 0,3,0.1 do
  6766. 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)
  6767. end
  6768. currentVol=5
  6769. Humanoid.WalkSpeed = storehumanoidWS
  6770. ModeOfGlitch = 738
  6771. rainbowmode = false
  6772. chaosmode = false
  6773. RecolorTextAndRename("Sweetdreams",Color3.new(1.1,0,0),BrickColor.new("Really red").Color,"Antique")
  6774.  
  6775. MAINRUINCOLOR = BrickColor.new("Really red")
  6776. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Dark stone grey"),0,BrickColor.new("Really red"),true)
  6777. end
  6778. -------------------------------------
  6779.  
  6780. Humanoid.Animator.Parent = nil
  6781.  
  6782. -------------------------------------
  6783.  
  6784. local attacktype = 1
  6785. mouse.Button1Down:connect(function()
  6786. if attack == false and attacktype == 1 then
  6787. attacktype = 2
  6788. attackone()
  6789. elseif attack == false and attacktype == 2 then
  6790. attacktype = 3
  6791. attacktwo()
  6792. elseif attack == false and attacktype == 3 then
  6793. attacktype = 1
  6794. attackthree()
  6795. elseif attack == false and attacktype == 4 then
  6796. attacktype = 1
  6797. --attackfour()
  6798. end
  6799. end)
  6800. mouse.KeyDown:connect(function(k)
  6801. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  6802. --normalmog() ---Disabled due to crashing... only in VSB
  6803. ModeOfGlitch = 1
  6804. storehumanoidWS = 16
  6805. hum.WalkSpeed = 16
  6806. rainbowmode = false
  6807. chaosmode = false
  6808. newTheme("rbxassetid://614032233",48.6,1,1.25)
  6809. RecolorTextAndRename("MAYHEM",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  6810. MAINRUINCOLOR = BrickColor.new("Really red")
  6811. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  6812. end
  6813. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  6814. ModeOfGlitch = 2
  6815. storehumanoidWS = 16
  6816. hum.WalkSpeed = 16
  6817. rainbowmode = false
  6818. chaosmode = false
  6819. RecolorTextAndRename("PURITY",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
  6820. newTheme("rbxassetid://1539245059",0,1,1.25)
  6821. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  6822. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6823. end
  6824. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  6825. ModeOfGlitch = 3
  6826. storehumanoidWS = 16
  6827. hum.WalkSpeed = 16
  6828. rainbowmode = false
  6829. chaosmode = false
  6830. RecolorTextAndRename("CORRUPTION",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
  6831. newTheme("rbxassetid://1283869370",58.15,0.98,1.25)
  6832. MAINRUINCOLOR = BrickColor.new("Royal purple")
  6833. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6834. end
  6835. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  6836. ModeOfGlitch = 4
  6837. storehumanoidWS = 16
  6838. hum.WalkSpeed = 16
  6839. rainbowmode = false
  6840. chaosmode = true
  6841. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),Color3.new(1,1,1),"Arcade")
  6842. newTheme("rbxassetid://1369263130",0,1.01,1.25)
  6843. MAINRUINCOLOR = BrickColor.new("Black")
  6844. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6845. end
  6846. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  6847. ModeOfGlitch = 5
  6848. storehumanoidWS = 16
  6849. hum.WalkSpeed = 16
  6850. rainbowmode = false
  6851. chaosmode = false
  6852. RecolorTextAndRename("DIVINITY",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
  6853. newTheme("rbxassetid://661079869",0,1.02,1.25)
  6854. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  6855. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6856. end
  6857. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  6858. ModeOfGlitch = 6
  6859. storehumanoidWS = 100
  6860. hum.WalkSpeed = 100
  6861. rainbowmode = false
  6862. chaosmode = false
  6863. RecolorTextAndRename("EQUINOX",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
  6864. newTheme("rbxassetid://1347011178",0,1.01,1.25)
  6865. MAINRUINCOLOR = BrickColor.new("White")
  6866. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6867. end
  6868. if k == "f" and attack == false and ModeOfGlitch ~= 8 then
  6869. ModeOfGlitch = 8
  6870. storehumanoidWS = 140
  6871. hum.WalkSpeed = 140
  6872. rainbowmode = false
  6873. chaosmode = false
  6874. RecolorTextAndRename("DESTINY",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
  6875. newTheme("rbxassetid://1495032271",0,1.01,1.25)
  6876. MAINRUINCOLOR = BrickColor.new("Alder")
  6877. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6878. end
  6879. if k == "g" and attack == false and ModeOfGlitch ~= 9 then
  6880. ModeOfGlitch = 9
  6881. storehumanoidWS = 150
  6882. hum.WalkSpeed = 150
  6883. rainbowmode = false
  6884. chaosmode = false
  6885. RecolorTextAndRename("INFESTATION",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
  6886. newTheme("rbxassetid://708334127",0,1.01,1.25)
  6887. MAINRUINCOLOR = BrickColor.new("Br. yellowish green")
  6888. RecolorThing(MAINRUINCOLOR,BrickColor.new("Lime green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6889. end
  6890. if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
  6891. ModeOfGlitch = 8889
  6892. storehumanoidWS = 180
  6893. hum.WalkSpeed = 180
  6894. rainbowmode = false
  6895. chaosmode = false
  6896. RecolorTextAndRename("CALAMITY",BrickColor.new("Alder").Color,BrickColor.new("Lilac").Color,"Antique")
  6897. newTheme("rbxassetid://1359036559",0,1.01,1.25)
  6898. MAINRUINCOLOR = BrickColor.new("Lilac")
  6899. RecolorThing(MAINRUINCOLOR,BrickColor.new("Alder"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6900. end
  6901. if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
  6902. ModeOfGlitch = 55469696922
  6903. storehumanoidWS = 275
  6904. hum.WalkSpeed = 275
  6905. rainbowmode = false
  6906. chaosmode = false
  6907. RecolorTextAndRename("NANO",Color3.new(0.25,0,0.1),BrickColor.new("Hot pink").Color,"Antique")
  6908. newTheme("rbxassetid://582020393",0,1.005,1.25)
  6909. MAINRUINCOLOR = BrickColor.new("Hot pink")
  6910. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6911. end
  6912. if k == "m" and attack == false and ModeOfGlitch == 55469696922 and ModeOfGlitch ~= 3781 then
  6913. ModeOfGlitch = 3781
  6914. storehumanoidWS = 275
  6915. hum.WalkSpeed = 275
  6916. rainbowmode = false
  6917. chaosmode = false
  6918. RecolorTextAndRename("ROCKEFELLER STREET",Color3.new(0,0,1.1),BrickColor.new("Storm blue").Color,"Antique")
  6919. newTheme("rbxassetid://2606678518",0,1.005,1.25)
  6920. MAINRUINCOLOR = BrickColor.new("Storm blue")
  6921. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0.5,MAINRUINCOLOR,0.5,MAINRUINCOLOR,true)
  6922. end
  6923. if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  6924. ModeOfGlitch = 4367677813
  6925. storehumanoidWS = 225
  6926. hum.WalkSpeed = 225
  6927. rainbowmode = false
  6928. chaosmode = false
  6929. RecolorTextAndRename("BRIGHTNESS",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
  6930. newTheme("rbxassetid://363284685",0,1.01,1.25)
  6931. MAINRUINCOLOR = BrickColor.new("Baby blue")
  6932. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6933. end
  6934. if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 9999999921111 then
  6935. ModeOfGlitch = 9999999921111
  6936. storehumanoidWS = 300
  6937. hum.WalkSpeed = 300
  6938. rainbowmode = false
  6939. chaosmode = false
  6940. RecolorTextAndRename("OMEGA",BrickColor.new("Really black").Color,BrickColor.new("Bright bluish green").Color,"SciFi")
  6941. newTheme("rbxassetid://643309199",0,1.01,1.25)
  6942. MAINRUINCOLOR = BrickColor.new("Bright bluish green")
  6943. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6944. end
  6945. if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
  6946. ModeOfGlitch = 999999999556
  6947. storehumanoidWS = 500
  6948. hum.WalkSpeed = 500
  6949. rainbowmode = false
  6950. chaosmode = false
  6951. RecolorTextAndRename("CRAZED",BrickColor.new("Really black").Color,BrickColor.new("Navy blue").Color,"Code")
  6952. newTheme("rbxassetid://719008519",0,1.02,1.25)
  6953. MAINRUINCOLOR = BrickColor.new("Navy blue")
  6954. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6955. end
  6956. if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  6957. ModeOfGlitch = 1264532489
  6958. storehumanoidWS = 250
  6959. hum.WalkSpeed = 250
  6960. rainbowmode = false
  6961. chaosmode = false
  6962. RecolorTextAndRename("FALLEN",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique")
  6963. newTheme("rbxassetid://1505487022",0,1.01,1.25)
  6964. MAINRUINCOLOR = BrickColor.new("Pastel green")
  6965. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6966. end
  6967. if k == "l" and mutedtog == false then
  6968. mutedtog = true
  6969. kan.Volume = 0
  6970. elseif k == "l" and mutedtog == true then
  6971. mutedtog = false
  6972. kan.Volume = 1.25
  6973. end
  6974. if k == "p" and toggleTag == false then
  6975. toggleTag = true
  6976. modet.TextTransparency = 0
  6977. modet.TextStrokeTransparency = 0
  6978. elseif k == "p" and toggleTag == true then
  6979. toggleTag = false
  6980. modet.TextTransparency = 1
  6981. modet.TextStrokeTransparency = 1
  6982. end
  6983. if k == "z" and attack == false and ModeOfGlitch == 1 then
  6984. ExtinctiveHeartbreak()
  6985. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  6986. HeavenlyDisk()
  6987. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  6988. CorruptionEvent()
  6989. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  6990. RapidBurst()
  6991. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  6992. --DivineLights()
  6993. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  6994. EquinoxOrbs()
  6995. elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
  6996. FallenOrbs()
  6997. end
  6998. if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
  6999. FallenDEMISE()
  7000. end
  7001. if k == "x" and attack == false and ModeOfGlitch == 1 then
  7002. EndGROUND()
  7003. end
  7004. if k == "m" and attack == false and ModeOfGlitch == 1 then
  7005. Dreamtrans()
  7006. end
  7007. end)
  7008.  
  7009. --[[coroutine.resume(coroutine.create(function()
  7010. while true do
  7011. swait(2)
  7012. if chaosmode == true then
  7013. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  7014. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  7015. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  7016. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy")
  7017. for i, v in pairs(mw1:GetChildren()) do
  7018. if v:IsA("Part") then
  7019. v.Transparency = 0.75
  7020. v.BrickColor = BrickColor.random()
  7021. v.Material = "Neon"
  7022. end
  7023. end
  7024. for i, v in pairs(m2:GetChildren()) do
  7025. if v:IsA("Part") then
  7026. v.BrickColor = BrickColor.random()
  7027. v.Material = "Neon"
  7028. end
  7029. end
  7030. end
  7031. end
  7032. end))]]--
  7033. Humanoid.Name = "STARGLITCHER"
  7034. Humanoid.MaxHealth = math.huge
  7035. Humanoid.Health = math.huge
  7036. Instance.new("ForceField",char).Visible = false
  7037.  
  7038. local bguis = Instance.new("BillboardGui",tors)
  7039. bguis.Size = UDim2.new(25, 0, 25, 0)
  7040. local imgca = Instance.new("ImageLabel",bguis)
  7041. imgca.BackgroundTransparency = 1
  7042. imgca.ImageTransparency = 1
  7043. imgca.Size = UDim2.new(1,0,1,0)
  7044. imgca.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891
  7045. imgca.ImageColor3 = Color3.new(0,0,0)
  7046.  
  7047. idleanim=.4
  7048. while true do
  7049. if mutedtog == false then
  7050. kan.Volume = currentVol
  7051. elseif mutedtog == true then
  7052. kan.Volume = 0
  7053. end
  7054. kan.PlaybackSpeed = currentPitch
  7055. kan.Pitch = currentPitch
  7056. kan.SoundId = currentThemePlaying
  7057. kan.Looped = true
  7058. kan.Parent = char
  7059. kan:Resume()
  7060. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 then
  7061. imgca.ImageTransparency = 1
  7062. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
  7063. imgca.ImageColor3 = MAINRUINCOLOR.Color
  7064. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  7065. end
  7066. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
  7067. bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  7068. coroutine.resume(coroutine.create(function()
  7069. if chaosmode == true then
  7070. for i, v in pairs(mw1:GetChildren()) do
  7071. if v:IsA("Part") then
  7072. v.Transparency = 0
  7073. v.BrickColor = BrickColor.random()
  7074. v.Material = "Neon"
  7075. end
  7076. end
  7077. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  7078. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  7079. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  7080. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
  7081. end
  7082. end))
  7083. if chaosmode == false then
  7084. modet.Position = UDim2.new(0,0,0,0)
  7085. modet.Rotation = -5 * math.cos(sine / 32)
  7086. techc.Rotation = techc.Rotation + 1
  7087. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1
  7088. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1
  7089. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 + 1
  7090. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25 - 1
  7091. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  7092. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  7093. else
  7094. techc.Rotation = techc.Rotation + 1
  7095. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
  7096. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
  7097. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
  7098. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
  7099. ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  7100. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  7101. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  7102. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  7103. end
  7104. CameraManager()
  7105. swait()
  7106. lwing1weld.C1=clerp(lwing1weld.C1,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 20 * math.cos(sine / 16)),math.rad(0),math.rad(20 + 5 * math.cos(sine / 16))),.3)
  7107. lwing2weld.C1=clerp(lwing2weld.C1,cf(2.5,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 20 * math.cos(sine / 16.1)),math.rad(0),math.rad(20 + 10 * math.cos(sine / 16.1))),.3)
  7108. lwing3weld.C1=clerp(lwing3weld.C1,cf(3.5,1.5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 16.2)),math.rad(0),math.rad(20 + 15 * math.cos(sine / 16.2))),.3)
  7109. rwing1weld.C1=clerp(rwing1weld.C1,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 20 * math.cos(sine / 16)),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 16))),.3)
  7110. rwing2weld.C1=clerp(rwing2weld.C1,cf(-2.5,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 20 * math.cos(sine / 16.1)),math.rad(0),math.rad(-20 - 10 * math.cos(sine / 16.1))),.3)
  7111. rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.5,1.5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 16.2)),math.rad(0),math.rad(-20 - 15 * math.cos(sine / 16.2))),.3)
  7112. lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 20 * math.cos(sine / 16)),math.rad(0),math.rad(20 + 5 * math.cos(sine / 16))),.3)
  7113. lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 20 * math.cos(sine / 16.1)),math.rad(0),math.rad(20 + 10 * math.cos(sine / 16.1))),.3)
  7114. lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 16.2)),math.rad(0),math.rad(20 + 15 * math.cos(sine / 16.2))),.3)
  7115. rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 20 * math.cos(sine / 16)),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 16))),.3)
  7116. rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 20 * math.cos(sine / 16.1)),math.rad(0),math.rad(-20 - 10 * math.cos(sine / 16.1))),.3)
  7117. rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 16.2)),math.rad(0),math.rad(-20 - 15 * math.cos(sine / 16.2))),.3)
  7118. sine = sine + change
  7119. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  7120. local velderp=RootPart.Velocity.y
  7121. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  7122. if equipped==true or equipped==false then
  7123. if attack==false then
  7124. idle=idle+1
  7125. else
  7126. idle=0
  7127. end
  7128. if idle>=500 then
  7129. if attack==false then
  7130. --Sheath()
  7131. end
  7132. end
  7133. if RootPart.Velocity.y > 1 and hitfloor==nil then
  7134. Anim="Jump"
  7135. if attack==false then
  7136. 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)
  7137. 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)
  7138. 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)
  7139. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  7140. 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)
  7141. 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)
  7142. end
  7143. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  7144. Anim="Fall"
  7145. if attack==false then
  7146. 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)
  7147. 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)
  7148. 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)
  7149. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  7150. 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)
  7151. 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)
  7152. end
  7153. elseif torvel<1 and hitfloor~=nil then
  7154. Anim="Idle"
  7155. if attack==false then
  7156. if ModeOfGlitch == 1 then
  7157. local snap = math.random(1,10)
  7158. if snap == 1 then
  7159. 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)
  7160. end
  7161. 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)
  7162. 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)
  7163. 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)
  7164. 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)
  7165. 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)
  7166. 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)
  7167. elseif ModeOfGlitch == 2 then
  7168. 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)
  7169. 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)
  7170. 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)
  7171. 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)
  7172. 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)
  7173. 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)
  7174. elseif ModeOfGlitch == 3 then
  7175. local snap = math.random(1,32)
  7176. if snap == 1 then
  7177. 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)
  7178. end
  7179. 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)
  7180. 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)
  7181. 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)
  7182. 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)
  7183. 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)
  7184. 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)
  7185. elseif ModeOfGlitch == 4 then
  7186. local snap = math.random(1,5)
  7187. if snap == 1 then
  7188. 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)
  7189. 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)
  7190. 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)
  7191. end
  7192. 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)
  7193. 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)
  7194. 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)
  7195. 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)
  7196. 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)
  7197. 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)
  7198. elseif ModeOfGlitch == 5 then
  7199. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  7200. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  7201. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  7202. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
  7203. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(8 + 3 * math.cos(sine / 45))),.1)
  7204. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
  7205. elseif ModeOfGlitch == 6 then
  7206. 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 - 7 * math.cos(sine / 56))),.1)
  7207. 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 / 52))),.1)
  7208. 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)
  7209. 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(0 + 2 * math.cos(sine / 53))),.1)
  7210. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(14 + 5 * math.cos(sine / 32))),.1)
  7211. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 6 * math.cos(sine / 33))),.1)
  7212. elseif ModeOfGlitch == 8 then
  7213. 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)
  7214. 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)
  7215. 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)
  7216. 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)
  7217. 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)
  7218. 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)
  7219. elseif ModeOfGlitch == 9 then
  7220. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-4 - 2 * math.cos(sine / 53)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  7221. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(9 - 2 * math.cos(sine / 53)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  7222. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 53))),.1)
  7223. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(19 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  7224. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(18 - 3 * math.cos(sine / 53)),math.rad(17 + 3 * math.cos(sine / 45))),.1)
  7225. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(-11 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
  7226. elseif ModeOfGlitch == 8889 then
  7227. 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)
  7228. 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)
  7229. 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)
  7230. 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)
  7231. 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)
  7232. 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)
  7233. elseif ModeOfGlitch == 1264532489 then
  7234. 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)
  7235. 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)
  7236. 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)
  7237. 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)
  7238. 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)
  7239. 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)
  7240. elseif ModeOfGlitch == 9999999921111 then
  7241. 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)
  7242. 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)
  7243. 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)
  7244. 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)
  7245. 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)
  7246. 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)
  7247. elseif ModeOfGlitch == 738 then
  7248. 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 - 9 * math.cos(sine / 51))),.1)
  7249. 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 + 7 * math.cos(sine / 44))),.1)
  7250. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1.5 + 0.25 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(13)),.1)
  7251. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(24 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-13 + 2 * math.cos(sine / 53))),.1)
  7252. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(68 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  7253. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(82 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  7254. elseif ModeOfGlitch == 4367677813 then
  7255. 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)
  7256. 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)
  7257. 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)
  7258. 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)
  7259. 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)
  7260. 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)
  7261. elseif ModeOfGlitch == 55469696922 or ModeOfGlitch == 3781 then
  7262. 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)
  7263. 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)
  7264. 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)
  7265. 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)
  7266. 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)
  7267. 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)
  7268. elseif ModeOfGlitch == 999999999556 then
  7269. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 6 * math.cos(sine / 39))),.1)
  7270. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 45))),.1)
  7271. 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(17)),.1)
  7272. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(29 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-17 + 2 * math.cos(sine / 53))),.1)
  7273. 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)
  7274. 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)
  7275. end
  7276. end
  7277. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  7278. Anim="Walk"
  7279. if attack==false then
  7280. 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)
  7281. 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)
  7282. 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)
  7283. 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)
  7284. 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)
  7285. 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)
  7286. end
  7287. elseif torvel>=22 and hitfloor~=nil then
  7288. Anim="Run"
  7289. if attack==false then
  7290. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 8889 then
  7291. 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)
  7292. 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)
  7293. 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)
  7294. 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)
  7295. 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)
  7296. 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)
  7297. if ModeOfGlitch == 9 then
  7298. --
  7299. end
  7300. elseif ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 3781 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 or ModeOfGlitch == 738 then
  7301. 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)
  7302. 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)
  7303. 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)
  7304. 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)
  7305. 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)
  7306. 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)
  7307. end
  7308. end
  7309. end
  7310. end
  7311. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement