Advertisement
Dasd5755

tcsgr2

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