Advertisement
plytalent

star glitcher script version

Jul 21st, 2018
8,371
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. warn([[Star Glitcher Loaded.
  2. All purpose switcher... -- wat
  3.  
  4. It's not over yet.
  5. The faith is among us.
  6. And yet you still haven't defeated me.
  7. Now is my chance to destroy you.
  8. Then you're out of the world.
  9. With the elemental being struggling to gain power.
  10. This is the result.
  11. Very unstable and powerful.
  12. A insanely chaotic being.
  13. Who haven't ever known that one could hold this power.
  14. It's the one that has been created by an unknown being.
  15. You'll know this name already.
  16. Till now.
  17. The power is inside your body.
  18. You will decide things with this.
  19. And the future changes within the power.
  20. For now, you'll decide your own.
  21. You're one of them who holds this power.
  22. And so on, you would get chaotic to everyone else.
  23. You seem to dont trust everyone else, but one.
  24. That one... you can't know.
  25. It's only your decision.
  26. At yourself.
  27. No mercy, or spare.
  28.  
  29.  
  30. Created by NoobyGames12 ye... soryy i remake it: 1x1x1x1IAMbck
  31. ]])
  32. print([[Icons:
  33. ! = New
  34. ? = Spoilers
  35. * = Exclusivity
  36. ]])
  37. warn([[V 3.3 (ON PROGRESS) Update Log:
  38. ! - Calamity's "Z" has changed
  39. ! - Starfall EX added.
  40. ! - Mayhem has DESTRUCTION mode, which is new.
  41. * - Destruction will be an ultimate exclusivity.
  42. ! - Corruption now has teleportation move "X"
  43. ? - Divinity has a move named Judgement, which is made by danny19990.
  44. ! - Exclusive secrets :v
  45. ! - Chaos theme has been changed
  46. ! - Purity's theme has been extended
  47. ? - Corruption's "Z" will have animation sooner
  48. ! - Calamity's "X" is added, named Starfall
  49. * - Mayhem now has MAJOR exclusivity, so far its still wip and yet to be done.
  50. * - Catastrophe's "Z" coming soon, same as Calamity's "Z" but more powerful.]])
  51. --- its obs smooth af do not touch
  52. ---- Sources and functions might be taken from others
  53. plr = game:GetService("Players").LocalPlayer
  54. char = plr.Character
  55. hum = char.Humanoid
  56. local cam = game.Workspace.CurrentCamera
  57. local Controller = plr.PlayerScripts:WaitForChild("ControlScript")
  58. Camera = cam
  59. local CamInterrupt = false
  60. local TwoD = false
  61. local TargetInfo = {nil, nil}
  62. cam.CameraType = "Custom"
  63. t = char.Torso
  64. h = char.Head
  65. ra = char["Right Arm"]
  66. la = char["Left Arm"]
  67. rl = char["Right Leg"]
  68. ll = char["Left Leg"]
  69. tors = char.Torso
  70. lleg = char["Left Leg"]
  71. root = char.HumanoidRootPart
  72. hed = char.Head
  73. rleg = char["Right Leg"]
  74. rarm = char["Right Arm"]
  75. larm = char["Left Arm"]
  76. radian = math.rad
  77. random = math.random
  78. Vec3 = Vector3.new
  79. Inst = Instance.new
  80. cFrame = CFrame.new
  81. Euler = CFrame.fromEulerAnglesXYZ
  82. vt = Vector3.new
  83. bc = BrickColor.new
  84. br = BrickColor.random
  85. it = Instance.new
  86. cf = CFrame.new
  87. local eff = true
  88. local shielding = false
  89.  
  90. local Booleans = {
  91. CamFollow = true,
  92. GyroUse = true
  93. }
  94.  
  95. function lerp(object, newCFrame, alpha)
  96. return object:lerp(newCFrame, alpha)
  97. end
  98.  
  99. local Directer = Inst("BodyGyro", root)
  100. Directer.MaxTorque = Vec3(0, 0, 0)
  101. Directer.P = 600000
  102. local CPart = Inst("Part")
  103. CPart.Anchored = true
  104. CPart.CanCollide = false
  105. CPart.Locked = true
  106. CPart.Transparency = 1
  107.  
  108. local rainbowmode = false
  109. local chaosmode = false
  110.  
  111. kan = Instance.new("Sound",char)
  112. kan.Volume = 1.25
  113. kan.TimePosition = 0
  114. kan.PlaybackSpeed = 1
  115. kan.Pitch = 1
  116. kan.SoundId = "rbxassetid://180324932"
  117. kan.Name = "wrecked"
  118. kan.Looped = true
  119. kan:Play()
  120.  
  121. function newTheme(ID,timepos,pitch,vol)
  122. local kanz = kan
  123. --kanz:Stop()
  124. --kanz.Volume = vol
  125. --kanz.TimePosition = timepos
  126. kanz.PlaybackSpeed = pitch
  127. kanz.Pitch = pitch
  128. kanz.SoundId = ID
  129. kanz.Name = "wrecked"
  130. kanz.Looped = true
  131. kanz.Volume = 0.3
  132. --kanz:Play()
  133. --coroutine.resume(coroutine.create(function()
  134. --wait(0.05)
  135. --end))
  136. end
  137.  
  138. function newThemeCust(ID,timepos,pitch,vol)
  139. local kanz = kan
  140. kanz:Stop()
  141. kanz.Volume = vol
  142. kanz.TimePosition = timepos
  143. kanz.PlaybackSpeed = pitch
  144. kanz.Pitch = pitch
  145. kanz.SoundId = ID
  146. kanz.Name = "wrecked"
  147. kanz.Looped = true
  148. kanz:Play()
  149. coroutine.resume(coroutine.create(function()
  150. wait(0.05)
  151. end))
  152. end
  153.  
  154.  
  155.  
  156. function CameraShake(Times, Power, PlayerTarget)
  157. coroutine.resume(coroutine.create(function()
  158. FV = Instance.new("BoolValue", PlayerTarget)
  159. FV.Name = "CameraShake"
  160. for ShakeNum=1,Times do
  161. swait()
  162. local ef=Power
  163. if ef>=1 then
  164. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  165. else
  166. ef=Power*10
  167. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  168. end
  169. end
  170. Humanoid.CameraOffset = Vector3.new(0,0,0)
  171. FV:Destroy()
  172. end))
  173. end
  174.  
  175. function CameraEnshaking(Length,Intensity)
  176. coroutine.resume(coroutine.create(function()
  177. local intensity = 1*Intensity
  178. local rotM = 0.01*Intensity
  179. for i = 0, Length, 0.1 do
  180. swait()
  181. intensity = intensity - 0.05*Intensity/Length
  182. rotM = rotM - 0.0005*Intensity/Length
  183. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  184. 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)
  185. end
  186. Humanoid.CameraOffset = Vec3(0, 0, 0)
  187. end))
  188. end
  189. CamShake=function(Part,Distan,Power,Times)
  190. local de=Part.Position
  191. for i,v in pairs(workspace:children()) do
  192. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  193. for _,c in pairs(v:children()) do
  194. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  195. local Noob=v.Humanoid
  196. if Noob~=nil then
  197. coroutine.resume(coroutine.create(function()
  198. FV = Instance.new("BoolValue", Noob)
  199. FV.Name = "CameraShake"
  200. for ShakeNum=1,Times do
  201. swait()
  202. local ef=Power
  203. if ef>=1 then
  204. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  205. else
  206. ef=Power*10
  207. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  208. end
  209. end
  210. Humanoid.CameraOffset = Vector3.new(0,0,0)
  211. FV:Destroy()
  212. end))
  213. CameraShake(Times, Power, Noob)
  214. end
  215. end
  216. end
  217. end
  218. end
  219. end
  220.  
  221. function chatfunc(text,color)
  222. local chat = coroutine.wrap(function()
  223. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  224. Character:FindFirstChild("TalkingBillBoard"):destroy()
  225. end
  226. local naeeym2 = Instance.new("BillboardGui",Character)
  227. naeeym2.Size = UDim2.new(0,100,0,40)
  228. naeeym2.StudsOffset = Vector3.new(0,3,0)
  229. naeeym2.Adornee = Character.Head
  230. naeeym2.Name = "TalkingBillBoard"
  231. local tecks2 = Instance.new("TextLabel",naeeym2)
  232. tecks2.BackgroundTransparency = 1
  233. tecks2.BorderSizePixel = 0
  234. tecks2.Text = ""
  235. tecks2.Font = "SciFi"
  236. tecks2.TextSize = 30
  237. tecks2.TextStrokeTransparency = 0
  238. tecks2.TextColor3 = color
  239. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  240. tecks2.Size = UDim2.new(1,0,0.5,0)
  241. local tecks3 = Instance.new("TextLabel",naeeym2)
  242. tecks3.BackgroundTransparency = 1
  243. tecks3.BorderSizePixel = 0
  244. tecks3.Text = ""
  245. tecks3.Font = "SciFi"
  246. tecks3.TextSize = 30
  247. tecks3.TextStrokeTransparency = 0
  248. tecks3.TextColor3 = Color3.new(0,0,0)
  249. tecks3.TextStrokeColor3 = color
  250. tecks3.Size = UDim2.new(1,0,0.5,0)
  251. coroutine.resume(coroutine.create(function()
  252. while true do
  253. swait(1)
  254. plr.Character.wrecked.Volume = 0.3
  255. if chaosmode == true then
  256. tecks2.TextColor3 = BrickColor.random().Color
  257. tecks3.TextStrokeColor3 = BrickColor.random().Color
  258. end
  259. tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  260. tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  261. tecks2.Rotation = math.random(-5,5)
  262. tecks3.Rotation = math.random(-5,5)
  263. end
  264. end))
  265. for i = 1,string.len(text),1 do
  266. CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
  267. tecks2.Text = string.sub(text,1,i)
  268. tecks3.Text = string.sub(text,1,i)
  269. swait(1)
  270. end
  271. wait(1)
  272. local randomrot = math.random(1,2)
  273. if randomrot == 1 then
  274. for i = 1, 50 do
  275. swait()
  276. tecks2.Rotation = tecks2.Rotation - .75
  277. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  278. tecks2.TextTransparency = tecks2.TextTransparency + .04
  279. tecks3.Rotation = tecks2.Rotation + .75
  280. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  281. tecks3.TextTransparency = tecks2.TextTransparency + .04
  282. end
  283. elseif randomrot == 2 then
  284. for i = 1, 50 do
  285. swait()
  286. tecks2.Rotation = tecks2.Rotation + .75
  287. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  288. tecks2.TextTransparency = tecks2.TextTransparency + .04
  289. tecks3.Rotation = tecks2.Rotation - .75
  290. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  291. tecks3.TextTransparency = tecks2.TextTransparency + .04
  292. end
  293. end
  294. naeeym2:Destroy()
  295. end)
  296. chat()
  297. end
  298.  
  299.  
  300. local Create = LoadLibrary("RbxUtility").Create
  301.  
  302. CFuncs = {
  303. ["Part"] = {
  304. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  305. local Part = Create("Part"){
  306. Parent = Parent,
  307. Reflectance = Reflectance,
  308. Transparency = Transparency,
  309. CanCollide = false,
  310. Locked = true,
  311. BrickColor = BrickColor.new(tostring(BColor)),
  312. Name = Name,
  313. Size = Size,
  314. Material = Material,
  315. }
  316. RemoveOutlines(Part)
  317. return Part
  318. end;
  319. };
  320.  
  321. ["Mesh"] = {
  322. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  323. local Msh = Create(Mesh){
  324. Parent = Part,
  325. Offset = OffSet,
  326. Scale = Scale,
  327. }
  328. if Mesh == "SpecialMesh" then
  329. Msh.MeshType = MeshType
  330. Msh.MeshId = MeshId
  331. end
  332. return Msh
  333. end;
  334. };
  335.  
  336. ["Mesh"] = {
  337. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  338. local Msh = Create(Mesh){
  339. Parent = Part,
  340. Offset = OffSet,
  341. Scale = Scale,
  342. }
  343. if Mesh == "SpecialMesh" then
  344. Msh.MeshType = MeshType
  345. Msh.MeshId = MeshId
  346. end
  347. return Msh
  348. end;
  349. };
  350.  
  351. ["Weld"] = {
  352. Create = function(Parent, Part0, Part1, C0, C1)
  353. local Weld = Create("Weld"){
  354. Parent = Parent,
  355. Part0 = Part0,
  356. Part1 = Part1,
  357. C0 = C0,
  358. C1 = C1,
  359. }
  360. return Weld
  361. end;
  362. };
  363.  
  364. ["Sound"] = {
  365. Create = function(id, par, vol, pit)
  366. coroutine.resume(coroutine.create(function()
  367. local S = Create("Sound"){
  368. Volume = vol,
  369. Name = "EffectSoundo",
  370. Pitch = pit or 1,
  371. SoundId = id,
  372. Parent = par or workspace,
  373. }
  374. wait()
  375. S:play()
  376. game:GetService("Debris"):AddItem(S, 10)
  377. end))
  378. end;
  379. };
  380.  
  381. ["LongSound"] = {
  382. Create = function(id, par, vol, pit)
  383. coroutine.resume(coroutine.create(function()
  384. local S = Create("Sound"){
  385. Volume = vol,
  386. Pitch = pit or 1,
  387. SoundId = id,
  388. Parent = par or workspace,
  389. }
  390. wait()
  391. S:play()
  392. game:GetService("Debris"):AddItem(S, 30)
  393. end))
  394. end;
  395. };
  396.  
  397. ["ParticleEmitter"] = {
  398. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  399. local fp = Create("ParticleEmitter"){
  400. Parent = Parent,
  401. Color = ColorSequence.new(Color1, Color2),
  402. LightEmission = LightEmission,
  403. Size = Size,
  404. Texture = Texture,
  405. Transparency = Transparency,
  406. ZOffset = ZOffset,
  407. Acceleration = Accel,
  408. Drag = Drag,
  409. LockedToPart = LockedToPart,
  410. VelocityInheritance = VelocityInheritance,
  411. EmissionDirection = EmissionDirection,
  412. Enabled = Enabled,
  413. Lifetime = LifeTime,
  414. Rate = Rate,
  415. Rotation = Rotation,
  416. RotSpeed = RotSpeed,
  417. Speed = Speed,
  418. VelocitySpread = VelocitySpread,
  419. }
  420. return fp
  421. end;
  422. };
  423.  
  424. CreateTemplate = {
  425.  
  426. };
  427. }
  428.  
  429.  
  430.  
  431. New = function(Object, Parent, Name, Data)
  432. local Object = Instance.new(Object)
  433. for Index, Value in pairs(Data or {}) do
  434. Object[Index] = Value
  435. end
  436. Object.Parent = Parent
  437. Object.Name = Name
  438. return Object
  439. end
  440. local halocolor = BrickColor.new("Pastel light blue")
  441. local halocolor2 = BrickColor.new("Cool yellow")
  442. local starcolor = BrickColor.new("Bright yellow")
  443. local lunacolor = BrickColor.new("Navy blue")
  444. local lunacolor2 = BrickColor.new("Bright blue")
  445. local wepcolor = BrickColor.new("Really black")
  446. local maincolor = BrickColor.new("Really black")
  447. local m = Instance.new("Model",char)
  448. local m2 = Instance.new("Model",char)
  449. local m3 = Instance.new("Model",char)
  450. local mw1 = Instance.new("Model",char)
  451. local mw2 = Instance.new("Model",char)
  452.  
  453. local extrawingmod1 = Instance.new("Model",char)
  454. local extrawingmod2 = Instance.new("Model",char)
  455.  
  456. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  457. local p = Instance.new("Part")
  458. p.TopSurface = 0
  459. p.BottomSurface = 0
  460. p.Parent = parent
  461. p.Size = Vector3.new(0.1,0.1,0.1)
  462. p.Transparency = transparency
  463. p.Reflectance = reflectance
  464. p.CanCollide = false
  465. p.Locked = true
  466. p.BrickColor = brickcolor
  467. p.Material = material
  468. return p
  469. end
  470.  
  471. function CreateMesh(parent,meshtype,x1,y1,z1)
  472. local mesh = Instance.new("SpecialMesh",parent)
  473. mesh.MeshType = meshtype
  474. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  475. return mesh
  476. end
  477.  
  478. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  479. local mesh = Instance.new("SpecialMesh",parent)
  480. mesh.MeshType = "FileMesh"
  481. mesh.MeshId = meshid
  482. mesh.Scale = Vector3.new(x1,y1,z1)
  483. return mesh
  484. end
  485.  
  486.  
  487. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  488. local mesh = Instance.new("SpecialMesh",parent)
  489. mesh.MeshType = "FileMesh"
  490. mesh.MeshId = meshid
  491. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  492. mesh.Scale = Vector3.new(x1,y1,z1)
  493. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  494. return mesh
  495. end
  496.  
  497. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  498. local weld = Instance.new("Weld")
  499. weld.Parent = parent
  500. weld.Part0 = part0
  501. weld.Part1 = part1
  502. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  503. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  504. return weld
  505. end
  506.  
  507.  
  508. --------------
  509. local secondchar = Instance.new("Model",char)
  510. local GhostCol = BrickColor.new("Really red")
  511. local sectors = CreateParta(secondchar,1,0,"Neon",GhostCol)
  512. CreateMesh(sectors,"Brick",2*8,2*8,1*8)
  513. local torsweld = CreateWeld(sectors,root,sectors,1,-1,-2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  514.  
  515. local seclarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
  516. CreateMesh(seclarm,"Brick",1*8,2*8,1*8)
  517. local larmsweld = CreateWeld(seclarm,sectors,seclarm,1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  518.  
  519. local secrarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
  520. CreateMesh(secrarm,"Brick",1*8,2*8,1*8)
  521. local rarmsweld = CreateWeld(secrarm,sectors,secrarm,-1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  522.  
  523. local seclleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
  524. CreateMesh(seclleg,"Brick",1*8,2*8,1*8)
  525. local llegsweld = CreateWeld(seclleg,sectors,seclleg,0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  526.  
  527. local secrleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
  528. CreateMesh(secrleg,"Brick",1*8,2*8,1*8)
  529. local rlegsweld = CreateWeld(secrleg,sectors,secrleg,-0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  530.  
  531. local seched = CreateParta(secondchar,1,0,"Neon",GhostCol)
  532. CreateMesh(seched,"Brick",1*8,1*8,1*8)
  533. local hedsweld = CreateWeld(seched,sectors,seched,0,-1.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  534. --------------
  535. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  536. 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))
  537. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  538. 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))
  539.  
  540. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  541. CreateMesh(handle,"Brick",0,0,0)
  542. 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))
  543. local valuaring = 10
  544. for i = 0, 49 do
  545. valuaring = valuaring + 10
  546. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  547. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  548. CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  549. end
  550.  
  551. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  552. CreateMesh(handle,"Brick",0,0,0)
  553. 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))
  554. local valuaring = 10
  555. for i = 0, 49 do
  556. valuaring = valuaring + 10
  557. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  558. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  559. 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))
  560. end
  561.  
  562.  
  563. local handle = CreateParta(m,1,1,"Neon",maincolor)
  564. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  565. 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))
  566.  
  567. --- Left wing.
  568.  
  569. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  570. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  571. 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))
  572.  
  573. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  574. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  575. 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))
  576. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  577. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  578. 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))
  579. A0 = Instance.new('Attachment',wed)
  580. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  581. CreateMesh(wed,"Wedge",0.05,0.5,3)
  582. 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))
  583. A1 = Instance.new('Attachment',wed)
  584. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  585. CreateMesh(wed,"Wedge",0.05,3,0.5)
  586. 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))
  587.  
  588. tl1 = Instance.new('Trail',wed)
  589. tl1.Attachment0 = A0
  590. tl1.Attachment1 = A1
  591. --tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  592. tl1.LightEmission = 1
  593. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  594. tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  595. tl1.Lifetime = 0.6
  596.  
  597.  
  598. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  599. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  600. 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))
  601.  
  602. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  603. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  604. 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))
  605. A0 = Instance.new('Attachment',wed)
  606. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  607. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  608. 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))
  609. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  610. CreateMesh(wed,"Wedge",0.05,0.5,3)
  611. 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))
  612. A1 = Instance.new('Attachment',wed)
  613. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  614. CreateMesh(wed,"Wedge",0.05,3,0.5)
  615. 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))
  616.  
  617. tl2 = Instance.new('Trail',wed)
  618. tl2.Attachment0 = A0
  619. tl2.Attachment1 = A1
  620. --tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  621. tl2.LightEmission = 1
  622. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  623. tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  624. tl2.Lifetime = 0.6
  625.  
  626. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  627. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  628. 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))
  629.  
  630. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  631. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  632. 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))
  633. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  634. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  635. 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))
  636. A0 = Instance.new('Attachment',wed)
  637. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  638. CreateMesh(wed,"Wedge",0.05,0.5,3)
  639. 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))
  640. A1 = Instance.new('Attachment',wed)
  641. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  642. CreateMesh(wed,"Wedge",0.05,3,0.5)
  643. 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))
  644.  
  645. tl3 = Instance.new('Trail',wed)
  646. tl3.Attachment0 = A0
  647. tl3.Attachment1 = A1
  648. --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  649. tl3.LightEmission = 1
  650. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  651. tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  652. tl3.Lifetime = 0.6
  653.  
  654. tl1.Enabled = false
  655. tl2.Enabled = false
  656. tl3.Enabled = false
  657. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  658. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  659. 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))
  660.  
  661. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  662. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  663. 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))
  664. A1 = Instance.new('Attachment',wed)
  665. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  666. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  667. 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))
  668. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  669. CreateMesh(wed,"Wedge",0.05,0.5,3)
  670. 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))
  671. A0 = Instance.new('Attachment',wed)
  672. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  673. CreateMesh(wed,"Wedge",0.05,3,0.5)
  674. 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))
  675.  
  676.  
  677. tl4 = Instance.new('Trail',wed)
  678. tl4.Attachment0 = A0
  679. tl4.Attachment1 = A1
  680. --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  681. tl4.LightEmission = 1
  682. tl4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  683. tl4.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  684. tl4.Lifetime = 0.6
  685.  
  686. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  687. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  688. 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))
  689.  
  690. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  691. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  692. 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))
  693. A0 = Instance.new('Attachment',wed)
  694. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  695. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  696. 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))
  697. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  698. CreateMesh(wed,"Wedge",0.05,0.5,3)
  699. 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))
  700. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  701. CreateMesh(wed,"Wedge",0.05,3,0.5)
  702. 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))
  703. A1 = Instance.new('Attachment',wed)
  704.  
  705. tl5 = Instance.new('Trail',wed)
  706. tl5.Attachment0 = A0
  707. tl5.Attachment1 = A1
  708. --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  709. tl5.LightEmission = 1
  710. tl5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  711. tl5.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  712. tl5.Lifetime = 0.6
  713.  
  714. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  715. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  716. 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))
  717.  
  718. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  719. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  720. 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))
  721. A0 = Instance.new('Attachment',wed)
  722. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  723. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  724. 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))
  725. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  726. CreateMesh(wed,"Wedge",0.05,0.5,3)
  727. 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))
  728. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  729. CreateMesh(wed,"Wedge",0.05,3,0.5)
  730. 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))
  731. A1 = Instance.new('Attachment',wed)
  732.  
  733. tl6 = Instance.new('Trail',wed)
  734. tl6.Attachment0 = A0
  735. tl6.Attachment1 = A1
  736. --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  737. tl6.LightEmission = 1
  738. tl6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  739. tl6.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  740. tl6.Lifetime = 0.6
  741.  
  742. -- Right wing.
  743.  
  744. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  745. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  746. 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))
  747.  
  748. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  749. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  750. 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))
  751. A0 = Instance.new('Attachment',wed)
  752. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  753. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  754. 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))
  755. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  756. CreateMesh(wed,"Wedge",0.05,0.5,3)
  757. 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))
  758. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  759. CreateMesh(wed,"Wedge",0.05,3,0.5)
  760. 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))
  761. A1 = Instance.new('Attachment',wed)
  762.  
  763. tr1 = Instance.new('Trail',wed)
  764. tr1.Attachment0 = A0
  765. tr1.Attachment1 = A1
  766. --tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  767. tr1.LightEmission = 1
  768. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  769. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  770. tr1.Lifetime = 0.6
  771.  
  772. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  773. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  774. 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))
  775.  
  776. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  777. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  778. 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))
  779. A0 = Instance.new('Attachment',wed)
  780. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  781. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  782. 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))
  783. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  784. CreateMesh(wed,"Wedge",0.05,0.5,3)
  785. 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))
  786. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  787. CreateMesh(wed,"Wedge",0.05,3,0.5)
  788. 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))
  789. A1 = Instance.new('Attachment',wed)
  790.  
  791. tr2 = Instance.new('Trail',wed)
  792. tr2.Attachment0 = A0
  793. tr2.Attachment1 = A1
  794. --tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  795. tr2.LightEmission = 1
  796. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  797. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  798. tr2.Lifetime = 0.6
  799.  
  800. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  801. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  802. 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))
  803.  
  804. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  805. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  806. 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))
  807. A0 = Instance.new('Attachment',wed)
  808. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  809. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  810. 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))
  811. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  812. CreateMesh(wed,"Wedge",0.05,0.5,3)
  813. 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))
  814. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  815. CreateMesh(wed,"Wedge",0.05,3,0.5)
  816. 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))
  817. A1 = Instance.new('Attachment',wed)
  818.  
  819. tr3 = Instance.new('Trail',wed)
  820. tr3.Attachment0 = A0
  821. tr3.Attachment1 = A1
  822. --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  823. tr3.LightEmission = 1
  824. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  825. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  826. tr3.Lifetime = 0.6
  827.  
  828.  
  829. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  830. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  831. 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))
  832.  
  833. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  834. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  835. 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))
  836. A0 = Instance.new('Attachment',wed)
  837. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  838. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  839. 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))
  840. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  841. CreateMesh(wed,"Wedge",0.05,0.5,3)
  842. 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))
  843. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  844. CreateMesh(wed,"Wedge",0.05,3,0.5)
  845. 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))
  846. A1 = Instance.new('Attachment',wed)
  847.  
  848. tr4 = Instance.new('Trail',wed)
  849. tr4.Attachment0 = A0
  850. tr4.Attachment1 = A1
  851. --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  852. tr4.LightEmission = 1
  853. tr4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  854. tr4.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  855. tr4.Lifetime = 0.6
  856.  
  857. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  858. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  859. 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))
  860.  
  861. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  862. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  863. 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))
  864. A0 = Instance.new('Attachment',wed)
  865. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  866. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  867. 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))
  868. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  869. CreateMesh(wed,"Wedge",0.05,0.5,3)
  870. 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))
  871. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  872. CreateMesh(wed,"Wedge",0.05,3,0.5)
  873. 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))
  874. A1 = Instance.new('Attachment',wed)
  875.  
  876. tr5 = Instance.new('Trail',wed)
  877. tr5.Attachment0 = A0
  878. tr5.Attachment1 = A1
  879. --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  880. tr5.LightEmission = 1
  881. tr5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  882. tr5.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  883. tr5.Lifetime = 0.6
  884.  
  885. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  886. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  887. 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))
  888.  
  889. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  890. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  891. 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))
  892. A0 = Instance.new('Attachment',wed)
  893. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  894. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  895. 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))
  896. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  897. CreateMesh(wed,"Wedge",0.05,0.5,3)
  898. 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))
  899. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  900. CreateMesh(wed,"Wedge",0.05,3,0.5)
  901. 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))
  902. A1 = Instance.new('Attachment',wed)
  903.  
  904. tr6 = Instance.new('Trail',wed)
  905. tr6.Attachment0 = A0
  906. tr6.Attachment1 = A1
  907. --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  908. tr6.LightEmission = 1
  909. tr6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  910. tr6.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  911. tr6.Lifetime = 0.6
  912.  
  913. ---- HERES THE RING
  914.  
  915.  
  916. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  917. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  918. 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))
  919. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  920. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  921. 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))
  922. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  923. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  924. 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))
  925.  
  926.  
  927. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  928. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  929. 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))
  930.  
  931. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  932. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  933. 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))
  934.  
  935.  
  936.  
  937. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  938. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  939. 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))
  940.  
  941. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  942. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  943. 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))
  944.  
  945. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  946. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  947. 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))
  948.  
  949. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  950. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  951. 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))
  952. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  953. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  954. 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))
  955.  
  956. --- second ring
  957.  
  958. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  959. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  960. 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))
  961. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  962. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  963. 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))
  964. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  965. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  966. 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))
  967.  
  968. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  969. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  970. 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))
  971.  
  972. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  973. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  974. 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))
  975.  
  976.  
  977.  
  978. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  979. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  980. 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))
  981.  
  982. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  983. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  984. 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))
  985.  
  986. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  987. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  988. 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))
  989.  
  990. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  991. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  992. 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))
  993. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  994. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  995. 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))]]--
  996.  
  997.  
  998.  
  999. for i, v in pairs(m:GetChildren()) do
  1000. if v:IsA("Part") then
  1001. v.BrickColor = BrickColor.new("Really black")
  1002. v.Material = "Glass"
  1003. end
  1004. end
  1005. for i, v in pairs(m2:GetChildren()) do
  1006. if v:IsA("Part") then
  1007. v.BrickColor = BrickColor.new("Crimson")
  1008. v.Material = "Granite"
  1009. end
  1010. end
  1011. for i, v in pairs(m3:GetChildren()) do
  1012. if v:IsA("Part") then
  1013. v.BrickColor = BrickColor.new("Really red")
  1014. v.Material = "Neon"
  1015. end
  1016. end
  1017. for i, v in pairs(mw2:GetChildren()) do
  1018. if v:IsA("Part") then
  1019. v.BrickColor = BrickColor.new("Really red")
  1020. v.Material = "Neon"
  1021. end
  1022. end
  1023. for i, v in pairs(mw1:GetChildren()) do
  1024. if v:IsA("Part") then
  1025. v.Transparency = 1
  1026. v.BrickColor = BrickColor.new("Really red")
  1027. v.Material = "Neon"
  1028. end
  1029. end
  1030. for i, v in pairs(extrawingmod1:GetChildren()) do
  1031. if v:IsA("Part") then
  1032. v.Transparency = 1
  1033. v.BrickColor = BrickColor.new("White")
  1034. v.Material = "Neon"
  1035. end
  1036. end
  1037. for i, v in pairs(extrawingmod2:GetChildren()) do
  1038. if v:IsA("Part") then
  1039. v.Transparency = 1
  1040. v.BrickColor = BrickColor.new("White")
  1041. v.Material = "Neon"
  1042. end
  1043. end
  1044. local MAINRUINCOLOR = BrickColor.new("Really red")
  1045. ------
  1046.  
  1047.  
  1048. function RemoveOutlines(part)
  1049. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1050. end
  1051. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1052. local Part = Create("Part")({
  1053. Parent = Parent,
  1054. Reflectance = Reflectance,
  1055. Transparency = Transparency,
  1056. CanCollide = false,
  1057. Locked = true,
  1058. BrickColor = BrickColor.new(tostring(BColor)),
  1059. Name = Name,
  1060. Size = Size,
  1061. Material = Material
  1062. })
  1063. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1064. RemoveOutlines(Part)
  1065. return Part
  1066. end
  1067. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1068. local Msh = Create(Mesh)({
  1069. Parent = Part,
  1070. Offset = OffSet,
  1071. Scale = Scale
  1072. })
  1073. if Mesh == "SpecialMesh" then
  1074. Msh.MeshType = MeshType
  1075. Msh.MeshId = MeshId
  1076. end
  1077. return Msh
  1078. end
  1079. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1080. local Weld = Create("Weld")({
  1081. Parent = Parent,
  1082. Part0 = Part0,
  1083. Part1 = Part1,
  1084. C0 = C0,
  1085. C1 = C1
  1086. })
  1087. return Weld
  1088. end
  1089.  
  1090. Player=game:GetService("Players").plytalent
  1091. Character=Player.Character
  1092. PlayerGui=Player.PlayerGui
  1093. Backpack=Player.Backpack
  1094. Torso=Character.Torso
  1095. Head=Character.Head
  1096. Humanoid=Character.Humanoid
  1097. m=Instance.new('Model',Character)
  1098. LeftArm=Character["Left Arm"]
  1099. LeftLeg=Character["Left Leg"]
  1100. RightArm=Character["Right Arm"]
  1101. RightLeg=Character["Right Leg"]
  1102. LS=Torso["Left Shoulder"]
  1103. LH=Torso["Left Hip"]
  1104. RS=Torso["Right Shoulder"]
  1105. RH=Torso["Right Hip"]
  1106. Face = Head.face
  1107. Neck=Torso.Neck
  1108. it=Instance.new
  1109. attacktype=1
  1110. vt=Vector3.new
  1111. cf=CFrame.new
  1112. euler=CFrame.fromEulerAnglesXYZ
  1113. angles=CFrame.Angles
  1114. cloaked=false
  1115. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1116. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1117. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1118. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1119. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1120. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1121. RootPart=Character.HumanoidRootPart
  1122. RootJoint=RootPart.RootJoint
  1123. RootCF=euler(-1.57,0,3.14)
  1124. attack = false
  1125. attackdebounce = false
  1126. deb=false
  1127. equipped=true
  1128. hand=false
  1129. MMouse=nil
  1130. combo=0
  1131. mana=0
  1132. trispeed=.2
  1133. attackmode='none'
  1134. local idle=0
  1135. local Anim="Idle"
  1136. local Effects={}
  1137. local gun=false
  1138. local shoot=false
  1139. local sine = 0
  1140. local change = 1
  1141. local stop = false
  1142. player=nil
  1143.  
  1144.  
  1145. local toggleTag = true
  1146. local txt = Instance.new("BillboardGui", Head)
  1147. txt.Adornee = nil
  1148. txt.Name = "NameDetect"
  1149. txt.Size = UDim2.new(4, 0, 1.2, 0)
  1150. txt.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  1151. local text = Instance.new("TextLabel", txt)
  1152. text.Size = UDim2.new(10/2, 0, 7/2, 0)
  1153. text.FontSize = "Size8"
  1154. text.TextScaled = true
  1155. text.TextTransparency = 0
  1156. text.BackgroundTransparency = 1
  1157. text.TextTransparency = 0
  1158. text.TextStrokeTransparency = 0
  1159. text.Font = "Fantasy"
  1160. text.TextStrokeColor3 = Color3.new(1,0,0)
  1161. text.TextColor3 = Color3.new(0,0,0)
  1162. text.Text = "Mayhem"
  1163.  
  1164. function RecolorTextAndRename(name,col1,col2)
  1165. text.TextStrokeColor3 = col2
  1166. text.TextColor3 = col1
  1167. text.Text = name
  1168. end
  1169. mouse=Player:GetMouse()
  1170. --save shoulders
  1171. RSH, LSH=nil, nil
  1172. --welds
  1173. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1174. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1175. LH=Torso["Left Hip"]
  1176. RH=Torso["Right Hip"]
  1177. TorsoColor=Torso.BrickColor
  1178. function NoOutline(Part)
  1179. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1180. end
  1181. player=Player
  1182. ch=Character
  1183. RSH=ch.Torso["Right Shoulder"]
  1184. LSH=ch.Torso["Left Shoulder"]
  1185. --
  1186. RSH.Parent=nil
  1187. LSH.Parent=nil
  1188. --
  1189. RW.Name="Right Shoulder"
  1190. RW.Part0=ch.Torso
  1191. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1192. RW.C1=cf(0, 0.5, 0)
  1193. RW.Part1=ch["Right Arm"]
  1194. RW.Parent=ch.Torso
  1195. --
  1196. LW.Name="Left Shoulder"
  1197. LW.Part0=ch.Torso
  1198. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1199. LW.C1=cf(0, 0.5, 0)
  1200. LW.Part1=ch["Left Arm"]
  1201. LW.Parent=ch.Torso
  1202.  
  1203. local Stats=Instance.new("BoolValue")
  1204. Stats.Name="Stats"
  1205. Stats.Parent=Character
  1206. local Atk=Instance.new("NumberValue")
  1207. Atk.Name="Damage"
  1208. Atk.Parent=Stats
  1209. Atk.Value=1
  1210. local Def=Instance.new("NumberValue")
  1211. Def.Name="Defense"
  1212. Def.Parent=Stats
  1213. Def.Value=1
  1214. local Speed=Instance.new("NumberValue")
  1215. Speed.Name="Speed"
  1216. Speed.Parent=Stats
  1217. Speed.Value=1
  1218. local Mvmt=Instance.new("NumberValue")
  1219. Mvmt.Name="Movement"
  1220. Mvmt.Parent=Stats
  1221. Mvmt.Value=1
  1222.  
  1223. local donum=0
  1224.  
  1225.  
  1226. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1227. local fp=it("Part")
  1228. fp.formFactor=formfactor
  1229. fp.Parent=parent
  1230. fp.Reflectance=reflectance
  1231. fp.Transparency=transparency
  1232. fp.CanCollide=false
  1233. fp.Locked=true
  1234. fp.BrickColor=brickcolor
  1235. fp.Name=name
  1236. fp.Size=size
  1237. fp.Position=Torso.Position
  1238. NoOutline(fp)
  1239. fp.Material="SmoothPlastic"
  1240. fp:BreakJoints()
  1241. return fp
  1242. end
  1243.  
  1244. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1245. local mesh=it(Mesh)
  1246. mesh.Parent=part
  1247. if Mesh=="SpecialMesh" then
  1248. mesh.MeshType=meshtype
  1249. if meshid~="nil" then
  1250. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1251. end
  1252. end
  1253. mesh.Offset=offset
  1254. mesh.Scale=scale
  1255. return mesh
  1256. end
  1257.  
  1258. function weld(parent,part0,part1,c0)
  1259. local weld=it("Weld")
  1260. weld.Parent=parent
  1261. weld.Part0=part0
  1262. weld.Part1=part1
  1263. weld.C0=c0
  1264. return weld
  1265. end
  1266.  
  1267. local Color1=Torso.BrickColor
  1268.  
  1269. local bodvel=Instance.new("BodyVelocity")
  1270. local bg=Instance.new("BodyGyro")
  1271.  
  1272. function swait(num)
  1273. if num==0 or num==nil then
  1274. game:service'RunService'.Stepped:wait(0)
  1275. else
  1276. for i=0,num do
  1277. game:service'RunService'.Stepped:wait(0)
  1278. end
  1279. end
  1280. end
  1281.  
  1282. -------- RAINBOW LEAVE IT TO ME
  1283. local r = 255
  1284. local g = 0
  1285. local b = 0
  1286. coroutine.resume(coroutine.create(function()
  1287. while wait() do
  1288. for i = 0, 254/5 do
  1289. swait()
  1290. g = g + 5
  1291. end
  1292. for i = 0, 254/5 do
  1293. swait()
  1294. r = r - 5
  1295. end
  1296. for i = 0, 254/5 do
  1297. swait()
  1298. b = b + 5
  1299. end
  1300. for i = 0, 254/5 do
  1301. swait()
  1302. g = g - 5
  1303. end
  1304. for i = 0, 254/5 do
  1305. swait()
  1306. r = r + 5
  1307. end
  1308. for i = 0, 254/5 do
  1309. swait()
  1310. b = b - 5
  1311. end
  1312. end
  1313. end))
  1314.  
  1315.  
  1316. so = function(id,par,vol,pit)
  1317. coroutine.resume(coroutine.create(function()
  1318. local sou = Instance.new("Sound",par or workspace)
  1319. sou.Volume=vol
  1320. sou.Pitch=pit or 1
  1321. sou.SoundId=id
  1322. swait()
  1323. sou:play()
  1324. game:GetService("Debris"):AddItem(sou,6)
  1325. end))
  1326. end
  1327.  
  1328. function QuaternionSlerp(a, b, t)
  1329. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1330. local startInterp, finishInterp;
  1331. if cosTheta >= 0.0001 then
  1332. if (1 - cosTheta) > 0.0001 then
  1333. local theta = ACOS(cosTheta)
  1334. local invSinTheta = 1 / SIN(theta)
  1335. startInterp = SIN((1 - t) * theta) * invSinTheta
  1336. finishInterp = SIN(t * theta) * invSinTheta
  1337. else
  1338. startInterp = 1 - t
  1339. finishInterp = t
  1340. end
  1341. else
  1342. if (1 + cosTheta) > 0.0001 then
  1343. local theta = ACOS(-cosTheta)
  1344. local invSinTheta = 1 / SIN(theta)
  1345. startInterp = SIN((t - 1) * theta) * invSinTheta
  1346. finishInterp = SIN(t * theta) * invSinTheta
  1347. else
  1348. startInterp = t - 1
  1349. finishInterp = t
  1350. end
  1351. end
  1352. 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
  1353. end
  1354.  
  1355. function Clerp(a,b,t)
  1356. local qa = {QuaternionFromCFrame(a)}
  1357. local qb = {QuaternionFromCFrame(b)}
  1358. local ax, ay, az = a.x, a.y, a.z
  1359. local bx, by, bz = b.x, b.y, b.z
  1360. local _t = 1-t
  1361. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1362. end
  1363.  
  1364. function QuaternionFromCFrame(cf)
  1365. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1366. local trace = m00 + m11 + m22
  1367. if trace > 0 then
  1368. local s = math.sqrt(1 + trace)
  1369. local recip = 0.5/s
  1370. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1371. else
  1372. local i = 0
  1373. if m11 > m00 then
  1374. i = 1
  1375. end
  1376. if m22 > (i == 0 and m00 or m11) then
  1377. i = 2
  1378. end
  1379. if i == 0 then
  1380. local s = math.sqrt(m00-m11-m22+1)
  1381. local recip = 0.5/s
  1382. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1383. elseif i == 1 then
  1384. local s = math.sqrt(m11-m22-m00+1)
  1385. local recip = 0.5/s
  1386. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1387. elseif i == 2 then
  1388. local s = math.sqrt(m22-m00-m11+1)
  1389. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1390. end
  1391. end
  1392. end
  1393.  
  1394. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1395. local xs, ys, zs = x + x, y + y, z + z
  1396. local wx, wy, wz = w*xs, w*ys, w*zs
  1397. local xx = x*xs
  1398. local xy = x*ys
  1399. local xz = x*zs
  1400. local yy = y*ys
  1401. local yz = y*zs
  1402. local zz = z*zs
  1403. 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))
  1404. end
  1405.  
  1406. function QuaternionSlerp(a, b, t)
  1407. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1408. local startInterp, finishInterp;
  1409. if cosTheta >= 0.0001 then
  1410. if (1 - cosTheta) > 0.0001 then
  1411. local theta = math.acos(cosTheta)
  1412. local invSinTheta = 1/math.sin(theta)
  1413. startInterp = math.sin((1-t)*theta)*invSinTheta
  1414. finishInterp = math.sin(t*theta)*invSinTheta
  1415. else
  1416. startInterp = 1-t
  1417. finishInterp = t
  1418. end
  1419. else
  1420. if (1+cosTheta) > 0.0001 then
  1421. local theta = math.acos(-cosTheta)
  1422. local invSinTheta = 1/math.sin(theta)
  1423. startInterp = math.sin((t-1)*theta)*invSinTheta
  1424. finishInterp = math.sin(t*theta)*invSinTheta
  1425. else
  1426. startInterp = t-1
  1427. finishInterp = t
  1428. end
  1429. end
  1430. 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
  1431. end
  1432.  
  1433. local function CFrameFromTopBack(at, top, back)
  1434. local right = top:Cross(back)
  1435. return CFrame.new(at.x, at.y, at.z,
  1436. right.x, top.x, back.x,
  1437. right.y, top.y, back.y,
  1438. right.z, top.z, back.z)
  1439. end
  1440.  
  1441. function Triangle(a, b, c)
  1442. local edg1 = (c-a):Dot((b-a).unit)
  1443. local edg2 = (a-b):Dot((c-b).unit)
  1444. local edg3 = (b-c):Dot((a-c).unit)
  1445. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1446. a, b, c = a, b, c
  1447. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1448. a, b, c = b, c, a
  1449. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1450. a, b, c = c, a, b
  1451. else
  1452. assert(false, "unreachable")
  1453. end
  1454.  
  1455. local len1 = (c-a):Dot((b-a).unit)
  1456. local len2 = (b-a).magnitude - len1
  1457. local width = (a + (b-a).unit*len1 - c).magnitude
  1458.  
  1459. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1460.  
  1461. local list = {}
  1462.  
  1463. if len1 > 0.01 then
  1464. local w1 = Instance.new('WedgePart', m)
  1465. game:GetService("Debris"):AddItem(w1,5)
  1466. w1.Material = "SmoothPlastic"
  1467. w1.FormFactor = 'Custom'
  1468. w1.BrickColor = BrickColor.new("Really red")
  1469. w1.Transparency = 0
  1470. w1.Reflectance = 0
  1471. w1.Material = "SmoothPlastic"
  1472. w1.CanCollide = false
  1473. local l1 = Instance.new("PointLight",w1)
  1474. l1.Color = Color3.new(170,0,0)
  1475. NoOutline(w1)
  1476. local sz = Vector3.new(0.2, width, len1)
  1477. w1.Size = sz
  1478. local sp = Instance.new("SpecialMesh",w1)
  1479. sp.MeshType = "Wedge"
  1480. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1481. w1:BreakJoints()
  1482. w1.Anchored = true
  1483. w1.Parent = workspace
  1484. w1.Transparency = 0.7
  1485. table.insert(Effects,{w1,"Disappear",.01})
  1486. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1487. table.insert(list,w1)
  1488. end
  1489.  
  1490. if len2 > 0.01 then
  1491. local w2 = Instance.new('WedgePart', m)
  1492. game:GetService("Debris"):AddItem(w2,5)
  1493. w2.Material = "SmoothPlastic"
  1494. w2.FormFactor = 'Custom'
  1495. w2.BrickColor = BrickColor.new("Really red")
  1496. w2.Transparency = 0
  1497. w2.Reflectance = 0
  1498. w2.Material = "SmoothPlastic"
  1499. w2.CanCollide = false
  1500. local l2 = Instance.new("PointLight",w2)
  1501. l2.Color = Color3.new(170,0,0)
  1502. NoOutline(w2)
  1503. local sz = Vector3.new(0.2, width, len2)
  1504. w2.Size = sz
  1505. local sp = Instance.new("SpecialMesh",w2)
  1506. sp.MeshType = "Wedge"
  1507. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1508. w2:BreakJoints()
  1509. w2.Anchored = true
  1510. w2.Parent = workspace
  1511. w2.Transparency = 0.7
  1512. table.insert(Effects,{w2,"Disappear",.01})
  1513. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1514. table.insert(list,w2)
  1515. end
  1516. return unpack(list)
  1517. end
  1518.  
  1519.  
  1520. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1521. if hit.Parent == nil then
  1522. return
  1523. end
  1524. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1525. for _, v in pairs(hit.Parent:children()) do
  1526. if v:IsA("Humanoid") then
  1527. h = v
  1528. end
  1529. end
  1530. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1531. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1532. return
  1533. end
  1534. local c = Create("ObjectValue")({
  1535. Name = "creator",
  1536. Value = game:service("Players").LocalPlayer,
  1537. Parent = h
  1538. })
  1539. game:GetService("Debris"):AddItem(c, 0.5)
  1540. if HitSound ~= nil and HitPitch ~= nil then
  1541. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1542. end
  1543. local Damage = math.random(0, 0)
  1544. local blocked = false
  1545. local block = hit.Parent:findFirstChild("Block")
  1546. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1547. blocked = true
  1548. block.Value = block.Value - 1
  1549. print(block.Value)
  1550. end
  1551. if blocked == false then
  1552. HitHealth = h.Health
  1553. h.Health = h.Health == Damage
  1554. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1555. print("gained kill")
  1556. end
  1557. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1558. else
  1559. h.Health = h.Health - Damage / 2
  1560. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1561. end
  1562. if Type == "Knockdown" then
  1563. local hum = hit.Parent.Humanoid
  1564. hum.PlatformStand = true
  1565. coroutine.resume(coroutine.create(function(HHumanoid)
  1566. swait(1)
  1567. HHumanoid.PlatformStand = false
  1568. end), hum)
  1569. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1570. local bodvol = Create("BodyVelocity")({
  1571. velocity = angle * knockback,
  1572. P = 5000,
  1573. maxForce = Vector3.new(8000, 8000, 8000),
  1574. Parent = hit
  1575. })
  1576. local rl = Create("BodyAngularVelocity")({
  1577. P = 3000,
  1578. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1579. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1580. Parent = hit
  1581. })
  1582. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1583. game:GetService("Debris"):AddItem(rl, 0.5)
  1584. elseif Type == "Normal" then
  1585. local vp = Create("BodyVelocity")({
  1586. P = 500,
  1587. maxForce = Vector3.new(math.huge, 0, math.huge),
  1588. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1589. })
  1590. if knockback > 0 then
  1591. vp.Parent = hit.Parent.Head
  1592. end
  1593. game:GetService("Debris"):AddItem(vp, 0.5)
  1594. elseif Type == "Up" then
  1595. local bodyVelocity = Create("BodyVelocity")({
  1596. velocity = Vector3.new(0, 20, 0),
  1597. P = 5000,
  1598. maxForce = Vector3.new(8000, 8000, 8000),
  1599. Parent = hit
  1600. })
  1601. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1602. local bodyVelocity = Create("BodyVelocity")({
  1603. velocity = Vector3.new(0, 20, 0),
  1604. P = 5000,
  1605. maxForce = Vector3.new(8000, 8000, 8000),
  1606. Parent = hit
  1607. })
  1608. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1609. elseif Type == "Leech" then
  1610. local hum = hit.Parent.Humanoid
  1611. if hum ~= nil then
  1612. for i = 0, 2 do
  1613. 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)
  1614. end
  1615. Humanoid.Health = Humanoid.Health + 10
  1616. end
  1617. elseif Type == "UpKnock" then
  1618. local hum = hit.Parent.Humanoid
  1619. hum.PlatformStand = true
  1620. if hum ~= nil then
  1621. hitr = true
  1622. end
  1623. coroutine.resume(coroutine.create(function(HHumanoid)
  1624. swait(5)
  1625. HHumanoid.PlatformStand = false
  1626. hitr = false
  1627. end), hum)
  1628. local bodyVelocity = Create("BodyVelocity")({
  1629. velocity = Vector3.new(0, 20, 0),
  1630. P = 5000,
  1631. maxForce = Vector3.new(8000, 8000, 8000),
  1632. Parent = hit
  1633. })
  1634. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1635. local bodyVelocity = Create("BodyVelocity")({
  1636. velocity = Vector3.new(0, 20, 0),
  1637. P = 5000,
  1638. maxForce = Vector3.new(8000, 8000, 8000),
  1639. Parent = hit
  1640. })
  1641. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1642. elseif Type == "Snare" then
  1643. local bp = Create("BodyPosition")({
  1644. P = 2000,
  1645. D = 100,
  1646. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1647. position = hit.Parent.Torso.Position,
  1648. Parent = hit.Parent.Torso
  1649. })
  1650. game:GetService("Debris"):AddItem(bp, 1)
  1651. elseif Type == "Slashnare" then
  1652. 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)
  1653. for i = 1, math.random(4, 5) do
  1654. 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)
  1655. end
  1656. local bp = Create("BodyPosition")({
  1657. P = 2000,
  1658. D = 100,
  1659. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1660. position = hit.Parent.Torso.Position,
  1661. Parent = hit.Parent.Torso
  1662. })
  1663. game:GetService("Debris"):AddItem(bp, 1)
  1664. elseif Type == "Spike" then
  1665. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1666. local bp = Create("BodyPosition")({
  1667. P = 2000,
  1668. D = 100,
  1669. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1670. position = hit.Parent.Torso.Position,
  1671. Parent = hit.Parent.Torso
  1672. })
  1673. game:GetService("Debris"):AddItem(bp, 1)
  1674. elseif Type == "Freeze" then
  1675. local BodPos = Create("BodyPosition")({
  1676. P = 50000,
  1677. D = 1000,
  1678. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1679. position = hit.Parent.Torso.Position,
  1680. Parent = hit.Parent.Torso
  1681. })
  1682. local BodGy = Create("BodyGyro")({
  1683. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1684. P = 20000,
  1685. Parent = hit.Parent.Torso,
  1686. cframe = hit.Parent.Torso.CFrame
  1687. })
  1688. hit.Parent.Torso.Anchored = true
  1689. coroutine.resume(coroutine.create(function(Part)
  1690. swait(1.5)
  1691. Part.Anchored = false
  1692. end), hit.Parent.Torso)
  1693. game:GetService("Debris"):AddItem(BodPos, 3)
  1694. game:GetService("Debris"):AddItem(BodGy, 3)
  1695. end
  1696. local debounce = Create("BoolValue")({
  1697. Name = "DebounceHit",
  1698. Parent = hit.Parent,
  1699. Value = true
  1700. })
  1701. game:GetService("Debris"):AddItem(debounce, Delay)
  1702. c = Instance.new("ObjectValue")
  1703. c.Name = "creator"
  1704. c.Value = Player
  1705. c.Parent = h
  1706. game:GetService("Debris"):AddItem(c, 0.5)
  1707. end
  1708. end
  1709. function ShowDamage(Pos, Text, Time, Color)
  1710. local Rate = 0.03333333333333333
  1711. local Pos = Pos or Vector3.new(0, 0, 0)
  1712. local Text = Text or ""
  1713. local Time = Time or 2
  1714. local Color = Color or Color3.new(1, 0, 1)
  1715. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1716. EffectPart.Anchored = true
  1717. local BillboardGui = Create("BillboardGui")({
  1718. Size = UDim2.new(3, 0, 3, 0),
  1719. Adornee = EffectPart,
  1720. Parent = EffectPart
  1721. })
  1722. local TextLabel = Create("TextLabel")({
  1723. BackgroundTransparency = 1,
  1724. Size = UDim2.new(1, 0, 1, 0),
  1725. Text = Text,
  1726. TextColor3 = Color,
  1727. TextScaled = true,
  1728. Font = Enum.Font.ArialBold,
  1729. Parent = BillboardGui
  1730. })
  1731. game.Debris:AddItem(EffectPart, Time + 0.1)
  1732. EffectPart.Parent = game:GetService("Workspace")
  1733. delay(0, function()
  1734. local Frames = Time / Rate
  1735. for Frame = 1, Frames do
  1736. wait(Rate)
  1737. local Percent = Frame / Frames
  1738. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1739. TextLabel.TextTransparency = Percent
  1740. end
  1741. if EffectPart and EffectPart.Parent then
  1742. EffectPart:Destroy()
  1743. end
  1744. end)
  1745. end
  1746. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1747. for _, c in pairs(workspace:children()) do
  1748. local hum = c:findFirstChildOfClass("Humanoid")
  1749. if hum ~= nil then
  1750. local head = c:findFirstChild("Head")
  1751. if head ~= nil then
  1752. local targ = head.Position - Part.Position
  1753. local mag = targ.magnitude
  1754. if magni >= mag and c.Name ~= Player.Name then
  1755. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1756. end
  1757. end
  1758. end
  1759. end
  1760. end
  1761.  
  1762. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1763. for _, c in pairs(workspace:children()) do
  1764. local hum = c:findFirstChild("Humanoid")
  1765. if hum ~= nil then
  1766. local head = c:findFirstChild("Torso")
  1767. if head ~= nil then
  1768. local targ = head.Position - Part.Position
  1769. local mag = targ.magnitude
  1770. if magni >= mag and c.Name ~= Player.Name then
  1771. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  1772. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1773. end
  1774. end
  1775. end
  1776. end
  1777. end
  1778.  
  1779. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1780. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1781. end
  1782.  
  1783. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1784. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1785. prt.Anchored=true
  1786. prt.CFrame=cframe
  1787. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1788. --http://www.roblox.com/asset/?id=4770560
  1789. game:GetService("Debris"):AddItem(prt,2)
  1790. CF=prt.CFrame
  1791. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1792. for i=0,1,0.2 do
  1793. wait()
  1794. Part.CFrame=CF*cf(0,0,-0.4)
  1795. end
  1796. for i=0,1,delay do
  1797. wait()
  1798. --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)
  1799. Mesh.Scale=Mesh.Scale
  1800. end
  1801. for i=0,1,0.1 do
  1802. wait()
  1803. Part.Transparency=i
  1804. end
  1805. Part.Parent=nil
  1806. end),prt,msh,CF)
  1807. end
  1808.  
  1809. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1810. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1811. prt.Anchored=true
  1812. prt.Material = "Neon"
  1813. prt.CFrame=cframe
  1814. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1815. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1816. game:GetService("Debris"):AddItem(prt,5)
  1817. coroutine.resume(coroutine.create(function(Part,Mesh)
  1818. for i=0,1,delay do
  1819. swait()
  1820. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1821. Part.Transparency=i
  1822. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1823. end
  1824. Part.Parent=nil
  1825. end),prt,msh)
  1826. end
  1827.  
  1828. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1829. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1830. prt.Anchored=true
  1831. prt.Material = "Neon"
  1832. prt.CFrame=cframe
  1833. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1834. game:GetService("Debris"):AddItem(prt,5)
  1835. coroutine.resume(coroutine.create(function(Part,Mesh)
  1836. local rtype = rottype
  1837. for i=0,1,delay do
  1838. swait()
  1839. if rtype == 1 then
  1840. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1841. elseif rtype == 2 then
  1842. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1843. end
  1844. Part.Transparency=i
  1845. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1846. end
  1847. Part.Parent=nil
  1848. end),prt,msh)
  1849. end
  1850.  
  1851. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1852. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1853. prt.Anchored=true
  1854. prt.CFrame=cframe
  1855. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1856. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1857. game:GetService("Debris"):AddItem(prt,5)
  1858. coroutine.resume(coroutine.create(function(Part,Mesh)
  1859. for i=0,1,delay do
  1860. wait()
  1861. Part.Transparency=i
  1862. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1863. end
  1864. Part.Parent=nil
  1865. end),prt,msh)
  1866. end
  1867.  
  1868. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1869. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1870. prt.Anchored=true
  1871. prt.Material = "Neon"
  1872. prt.CFrame=cframe
  1873. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1874. game:GetService("Debris"):AddItem(prt,5)
  1875. coroutine.resume(coroutine.create(function(Part,Mesh)
  1876. local rtype = rottype
  1877. for i=0,1,delay do
  1878. swait()
  1879. if rtype == 1 then
  1880. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1881. elseif rtype == 2 then
  1882. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1883. end
  1884. Part.Transparency=i
  1885. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1886. end
  1887. Part.Parent=nil
  1888. end),prt,msh)
  1889. end
  1890.  
  1891. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1892. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1893. prt.Anchored=true
  1894. prt.Material = "Neon"
  1895. prt.CFrame=cframe
  1896. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1897. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1898. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1899. game:GetService("Debris"):AddItem(prt,5)
  1900. coroutine.resume(coroutine.create(function(Part,Mesh)
  1901. local rtype = rottype
  1902. for i=0,1,delay do
  1903. swait()
  1904. if rtype == 1 then
  1905. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1906. elseif rtype == 2 then
  1907. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1908. end
  1909. dec.Transparency=i
  1910. dec2.Transparency=i
  1911. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1912. end
  1913. Part.Parent=nil
  1914. end),prt,msh)
  1915. end
  1916.  
  1917. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1918. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1919. prt.Anchored=true
  1920. prt.Material = "Neon"
  1921. prt.CFrame=cframe
  1922. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1923. game:GetService("Debris"):AddItem(prt,5)
  1924. coroutine.resume(coroutine.create(function(Part,Mesh)
  1925. local rtype = rottype
  1926. for i=0,1,delay do
  1927. swait()
  1928. if rtype == 1 then
  1929. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1930. elseif rtype == 2 then
  1931. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1932. end
  1933. prt.Transparency=i
  1934. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1935. end
  1936. Part.Parent=nil
  1937. end),prt,msh)
  1938. end
  1939.  
  1940. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  1941. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1942. prt.Anchored=true
  1943. prt.Material = "Neon"
  1944. prt.CFrame=cframe
  1945. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  1946. game:GetService("Debris"):AddItem(prt,5)
  1947. coroutine.resume(coroutine.create(function(Part,Mesh)
  1948. local rtype = rottype
  1949. for i=0,1,delay do
  1950. swait()
  1951. if rtype == 1 then
  1952. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  1953. elseif rtype == 2 then
  1954. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  1955. end
  1956. prt.Transparency=i
  1957. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  1958. end
  1959. Part.Parent=nil
  1960. end),prt,msh)
  1961. end
  1962.  
  1963. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  1964. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1965. prt.Anchored=true
  1966. prt.Material = "Neon"
  1967. prt.CFrame=cframe
  1968. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1969. game:GetService("Debris"):AddItem(prt,5)
  1970. coroutine.resume(coroutine.create(function(Part,Mesh)
  1971. local rtype = rottype
  1972. for i=0,1,delay do
  1973. swait()
  1974. if rtype == 1 then
  1975. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1976. elseif rtype == 2 then
  1977. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1978. end
  1979. prt.Transparency=i
  1980. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1981. end
  1982. Part.Parent=nil
  1983. end),prt,msh)
  1984. end
  1985.  
  1986. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1987. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1988. prt.Anchored=true
  1989. prt.Material = "Neon"
  1990. prt.CFrame=cframe
  1991. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1992. game:GetService("Debris"):AddItem(prt,5)
  1993. coroutine.resume(coroutine.create(function(Part,Mesh)
  1994. local rtype = rottype
  1995. for i=0,1,delay do
  1996. swait()
  1997. if rtype == 1 then
  1998. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1999. elseif rtype == 2 then
  2000. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2001. end
  2002. prt.Transparency=i
  2003. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2004. end
  2005. Part.Parent=nil
  2006. end),prt,msh)
  2007. end
  2008.  
  2009. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2010. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2011. prt.Anchored=false
  2012. prt.CFrame=cframe
  2013. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2014. local wld=weld(prt,prt,Parent,cframe)
  2015. game:GetService("Debris"):AddItem(prt,5)
  2016. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2017. for i=0,1,delay do
  2018. wait()
  2019. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2020. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2021. Part.Transparency=i
  2022. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2023. end
  2024. Part.Parent=nil
  2025. end),prt,msh,wld)
  2026. end
  2027.  
  2028. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2029. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2030. prt.Anchored=false
  2031. prt.CFrame=cframe
  2032. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2033. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2034. game:GetService("Debris"):AddItem(prt,5)
  2035. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2036. for i=0,1,delay do
  2037. wait()
  2038. Weld.C0=euler(i*20,0,0)
  2039. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2040. Part.Transparency=i
  2041. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2042. end
  2043. Part.Parent=nil
  2044. end),prt,msh,wld)
  2045. end
  2046.  
  2047. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2048. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2049. prt.Anchored=true
  2050. prt.CFrame=cframe
  2051. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2052. game:GetService("Debris"):AddItem(prt,2)
  2053. coroutine.resume(coroutine.create(function(Part,Mesh)
  2054. for i=0,1,delay do
  2055. wait()
  2056. Part.CFrame=Part.CFrame
  2057. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2058. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2059. prt2.Anchored=true
  2060. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2061. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2062. game:GetService("Debris"):AddItem(prt2,2)
  2063. coroutine.resume(coroutine.create(function(Part,Mesh)
  2064. for i=0,1,0.1 do
  2065. wait()
  2066. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2067. end
  2068. Part.Parent=nil
  2069. end),prt2,msh2)
  2070. end
  2071. for i=0,1,delay*2 do
  2072. wait()
  2073. Part.CFrame=Part.CFrame
  2074. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2075. end
  2076. Part.Parent=nil
  2077. end),prt,msh)
  2078. end
  2079.  
  2080. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2081. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2082. prt.Anchored=true
  2083. prt.CFrame=cframe
  2084. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2085. game:GetService("Debris"):AddItem(prt,2)
  2086. coroutine.resume(coroutine.create(function(Part,Mesh)
  2087. for i=0,1,delay do
  2088. wait()
  2089. Part.CFrame=Part.CFrame
  2090. Part.Transparency=i
  2091. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2092. end
  2093. Part.Parent=nil
  2094. end),prt,msh)
  2095. end
  2096.  
  2097. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2098. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2099. prt.Anchored=true
  2100. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2101. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2102. game:GetService("Debris"):AddItem(prt,2)
  2103. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2104. CF=Part.CFrame
  2105. Numbb=0
  2106. randnumb=math.random()/10
  2107. rand1=math.random()/10
  2108. for i=0,1,rand1 do
  2109. wait()
  2110. CF=CF*cf(0,math.random()/2,0)
  2111. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2112. Part.CFrame=CF*euler(Numbb,0,0)
  2113. Part.Transparency=i
  2114. Numbb=Numbb+randnumb
  2115. end
  2116. Part.Parent=nil
  2117. end),prt,CF,Numbb,randnumb)
  2118. end
  2119.  
  2120. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2121. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2122. prt.Anchored=true
  2123. prt.CFrame=cframe
  2124. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2125. game:GetService("Debris"):AddItem(prt,5)
  2126. coroutine.resume(coroutine.create(function(Part,Mesh)
  2127. for i=0,1,delay do
  2128. wait()
  2129. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2130. Part.Transparency=i
  2131. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2132. end
  2133. Part.Parent=nil
  2134. end),prt,msh)
  2135. end
  2136.  
  2137. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2138. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2139. prt.Anchored=true
  2140. prt.CFrame=cframe
  2141. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2142. game:GetService("Debris"):AddItem(prt,2)
  2143. coroutine.resume(coroutine.create(function(Part,Mesh)
  2144. for i=0,1,delay do
  2145. wait()
  2146. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2147. Part.Transparency=i
  2148. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2149. end
  2150. Part.Parent=nil
  2151. end),prt,msh)
  2152. end
  2153.  
  2154. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2155. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2156. prt.Anchored=true
  2157. prt.CFrame=cframe*cf(x,y,z)
  2158. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2159. game:GetService("Debris"):AddItem(prt,5)
  2160. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2161. local num=math.random()
  2162. local num2=math.random(-3,2)+math.random()
  2163. local numm=0
  2164. for i=0,1,delay*2 do
  2165. swait()
  2166. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2167. Part.Transparency=i
  2168. numm=numm+0.01
  2169. end
  2170. Part.Parent=nil
  2171. Mesh.Parent=nil
  2172. end),prt,msh,x,y,z)
  2173. end
  2174.  
  2175. function dmgstart(dmg,what)
  2176. hitcon = what.Touched:connect(function(hit)
  2177. local hum = hit.Parent:FindFirstChild("Humanoid")
  2178. if hum and not hum:IsDescendantOf(Character) then
  2179. hum:TakeDamage(dmg)
  2180. end
  2181. end)
  2182. end
  2183.  
  2184. function dmgstop()
  2185. hitcon:disconnect()
  2186. end
  2187.  
  2188. function Cloak()
  2189. Face.Parent=nil
  2190. cloaked=true
  2191. for _,v in pairs(Torso.Parent:children()) do
  2192. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2193. coroutine.resume(coroutine.create(function()
  2194. for i=0,1,0.2 do
  2195. wait()
  2196. v.Transparency=i
  2197. end
  2198. v.Transparency=1
  2199. end))
  2200. end
  2201. if v.className=="Hat" then
  2202. hatp=v.Handle
  2203. coroutine.resume(coroutine.create(function(derp)
  2204. for i=0,1,0.2 do
  2205. wait()
  2206. derp.Transparency=i
  2207. end
  2208. derp.Transparency=1
  2209. end),hatp)
  2210. end
  2211. end
  2212. for _,v in pairs(m:children()) do
  2213. if v.className=="Part" then
  2214. coroutine.resume(coroutine.create(function()
  2215. for i=0,1,0.2 do
  2216. wait()
  2217. v.Transparency=i
  2218. end
  2219. v.Transparency=1
  2220. end))
  2221. end
  2222. end
  2223. end
  2224.  
  2225. function UnCloak()
  2226. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2227. Face.Parent=Head
  2228. cloaked=false
  2229. for _,v in pairs(Torso.Parent:children()) do
  2230. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2231. coroutine.resume(coroutine.create(function()
  2232. for i=0,1,0.1 do
  2233. wait()
  2234. v.Transparency=v.Transparency-0.1
  2235. end
  2236. v.Transparency=0
  2237. end))
  2238. end
  2239. if v.className=="Hat" then
  2240. hatp=v.Handle
  2241. coroutine.resume(coroutine.create(function(derp)
  2242. for i=0,1,0.1 do
  2243. wait()
  2244. derp.Transparency=derp.Transparency-0.1
  2245. end
  2246. derp.Transparency=0
  2247. end),hatp)
  2248. end
  2249. end
  2250. for _,v in pairs(m:children()) do
  2251. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2252. coroutine.resume(coroutine.create(function()
  2253. for i=0,1,0.1 do
  2254. wait()
  2255. v.Transparency=v.Transparency-0.1
  2256. end
  2257. v.Transparency=0
  2258. end))
  2259. v.Transparency=0
  2260. end
  2261. end
  2262. end
  2263.  
  2264. local origcolor = BrickColor.new("Pastel light blue")
  2265. ---- This section of explosions.
  2266. function Explode(rad,par,pitch,vol,mindam,maxdam)
  2267. local expart = Instance.new("Part",char)
  2268. local expart2 = Instance.new("Part",char)
  2269. local rin = Instance.new("Part",char)
  2270. local rin2 = Instance.new("Part",char)
  2271. local partMesh = Instance.new("SpecialMesh",expart)
  2272. partMesh.MeshType = "Sphere"
  2273. local partMesh2 = Instance.new("SpecialMesh",expart2)
  2274. partMesh2.MeshType = "Sphere"
  2275. local partMesh3 = Instance.new("SpecialMesh",rin)
  2276. partMesh3.MeshType = "Brick"
  2277. local partMesh4 = Instance.new("SpecialMesh",rin2)
  2278. partMesh4.MeshType = "Brick"
  2279. CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
  2280. partMesh.Scale = vt(rad,rad,rad)
  2281. expart.Size = vt(1,1,1)
  2282. expart.Transparency = 0
  2283. expart.Anchored = true
  2284. expart.Material = "Neon"
  2285. expart.BrickColor = bc("White")
  2286. expart.CFrame = par.CFrame
  2287. partMesh2.Scale = vt(rad,rad,rad)
  2288. expart2.Size = vt(1.15,1.15,1.15)
  2289. expart2.Transparency = 0.5
  2290. expart2.Anchored = true
  2291. expart2.Material = "Neon"
  2292. expart2.BrickColor = par.BrickColor
  2293. expart2.CFrame = par.CFrame
  2294. rin.Size = vt(1.15,1.15,1.15)
  2295. rin.Transparency = 1
  2296. rin.Anchored = true
  2297. rin.Material = "Neon"
  2298. rin.BrickColor = par.BrickColor
  2299. rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2300. rin2.Size = vt(1.15,1.15,1.15)
  2301. rin2.Transparency = 1
  2302. rin2.Anchored = true
  2303. rin2.Material = "Neon"
  2304. rin2.BrickColor = par.BrickColor
  2305. rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2306. partMesh3.Scale = vt(0,1,0)
  2307. partMesh4.Scale = vt(0,1,0)
  2308. local dec2 = Instance.new("Decal", rin)
  2309. dec2.Face = "Top"
  2310. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  2311. dec2.Parent = rin
  2312. local dec2b = dec2:Clone()
  2313. dec2b.Face = "Bottom"
  2314. dec2b.Parent = rin
  2315.  
  2316. local dec2a = Instance.new("Decal", rin2)
  2317. dec2a.Face = "Top"
  2318. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  2319. dec2a.Parent = rin2
  2320. local dec2ab = dec2a:Clone()
  2321. dec2ab.Face = "Bottom"
  2322. dec2ab.Parent = rin2
  2323. expart.CanCollide = false
  2324. expart2.CanCollide = false
  2325. rin.CanCollide = false
  2326. rin2.CanCollide = false
  2327. MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal")
  2328. local value = 1*rad/6.5
  2329. for i = 0, 199 do
  2330. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2331. expart.CFrame = expart.CFrame
  2332. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2333. expart2.CFrame = expart.CFrame
  2334. value = value - 0.035*rad/30
  2335. if value < 7.5 then
  2336. partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
  2337. rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0)
  2338. partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
  2339. rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0)
  2340. end
  2341. if value < 0 then
  2342. dec2.Transparency = dec2.Transparency + 0.025
  2343. dec2a.Transparency = dec2a.Transparency + 0.025
  2344. dec2b.Transparency = dec2b.Transparency + 0.025
  2345. dec2ab.Transparency = dec2ab.Transparency + 0.025
  2346. expart.Transparency = expart.Transparency + 0.025
  2347. expart2.Transparency = expart2.Transparency + 0.025
  2348. rin.Transparency = rin.Transparency + 0.025
  2349. rin2.Transparency = rin2.Transparency + 0.025
  2350. end
  2351. swait()
  2352. end
  2353. game:GetService("Debris"):AddItem(expart, 1)
  2354. game:GetService("Debris"):AddItem(expart2, 1)
  2355. game:GetService("Debris"):AddItem(rin, 1)
  2356. game:GetService("Debris"):AddItem(rin2, 1)
  2357. end
  2358.  
  2359. function ExplodeShort(rad,par,pitch,vol,mindam,maxdam)
  2360. local expart = Instance.new("Part",char)
  2361. local expart2 = Instance.new("Part",char)
  2362. local partMesh = Instance.new("SpecialMesh",expart)
  2363. partMesh.MeshType = "Sphere"
  2364. local partMesh2 = Instance.new("SpecialMesh",expart2)
  2365. partMesh2.MeshType = "Sphere"
  2366. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
  2367. partMesh.Scale = vt(rad,rad,rad)
  2368. expart.Size = vt(1,1,1)
  2369. expart.Transparency = 0
  2370. expart.Anchored = true
  2371. expart.Material = "Neon"
  2372. expart.BrickColor = bc("White")
  2373. expart.CFrame = par.CFrame
  2374. partMesh2.Scale = vt(rad,rad,rad)
  2375. expart2.Size = vt(1.15,1.15,1.15)
  2376. expart2.Transparency = 0.5
  2377. expart2.Anchored = true
  2378. expart2.Material = "Neon"
  2379. expart2.BrickColor = par.BrickColor
  2380. expart2.CFrame = par.CFrame
  2381. expart.CanCollide = false
  2382. expart2.CanCollide = false
  2383. MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal")
  2384. local value = 1*rad/6.5
  2385. for i = 0, 75 do
  2386. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2387. expart.CFrame = expart.CFrame
  2388. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2389. expart2.CFrame = expart.CFrame
  2390. value = value - 0.035*rad/5
  2391. if value < 0 then
  2392. value = 0
  2393. expart.Transparency = expart.Transparency + 0.05
  2394. expart2.Transparency = expart2.Transparency + 0.05
  2395. end
  2396. swait()
  2397. end
  2398. game:GetService("Debris"):AddItem(expart, 1)
  2399. game:GetService("Debris"):AddItem(expart2, 1)
  2400. end
  2401.  
  2402. function AreaDanger(rad,par,mindam,maxdam)
  2403. local expart = Instance.new("Part",char)
  2404. local partMesh = Instance.new("SpecialMesh",expart)
  2405. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  2406. partMesh.MeshType = "Sphere"
  2407. partMesh.Scale = vt(rad,rad,rad)
  2408. expart.Size = vt(1,1,1)
  2409. expart.Transparency = 0.5
  2410. expart.Anchored = true
  2411. expart.Material = "Neon"
  2412. expart.CanCollide = false
  2413. expart.BrickColor = par.BrickColor
  2414. expart.CFrame = par.CFrame
  2415. local value = 1*rad/5
  2416. MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1)
  2417. for i = 0, 14 do
  2418. wait()
  2419. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2420. expart.CFrame = expart.CFrame
  2421. value = value - 0.035*rad
  2422. if value < 0 then
  2423. value = 0
  2424. end
  2425. end
  2426. wait(0.25)
  2427. CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
  2428. wait(0.5)
  2429. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
  2430. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
  2431. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  2432. MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025)
  2433. for i = 0, 14 do
  2434. wait()
  2435. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2436. expart.CFrame = expart.CFrame
  2437. value = value - 0.035*rad/2
  2438. end
  2439. expart.Transparency = 1
  2440. game:GetService("Debris"):AddItem(expart, 5)
  2441. end
  2442.  
  2443. function Swarmsplosions(negrad,rad,par,mindam,maxdam)
  2444. CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
  2445. CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
  2446. CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
  2447. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  2448. MagniDamageWithEffect(par, 25, 5,10, 0, "Normal")
  2449. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025)
  2450. for i = 0, 24 do
  2451. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,25,0.005,math.random(1,2))
  2452. end
  2453. for i = 0, 24 do
  2454. local expart = Instance.new("Part",char)
  2455. expart.Transparency = 1
  2456. expart.Anchored = true
  2457. expart.CanCollide = false
  2458. expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad))
  2459. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
  2460. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  2461. MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal")
  2462. MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025)
  2463. for i = 0, 9 do
  2464. MagicShockTrailAlt2(origcolor,expart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,5,0.05,math.random(1,2))
  2465. end
  2466. game:GetService("Debris"):AddItem(expart, 2)
  2467. wait(0.1)
  2468. end
  2469. end
  2470.  
  2471. function EXterPlosion(par)
  2472. CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
  2473. CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
  2474. CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
  2475. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  2476. MagniDamageWithEffect(par, 500, 80,99, 0, "Normal")
  2477. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005)
  2478. MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1)
  2479. for i = 0, 24 do
  2480. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*10,-0.05*10,500,0.1,math.random(1,2))
  2481. end
  2482. for i = 0, 24 do
  2483. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*5,-0.05*5,50,0.005,math.random(1,2))
  2484. end
  2485. end
  2486. ----
  2487.  
  2488.  
  2489. function ring(type,pos,scale,value)
  2490. local type = type
  2491. local rng = Instance.new("Part", char)
  2492. rng.Anchored = true
  2493. rng.BrickColor = origcolor
  2494. rng.CanCollide = false
  2495. rng.FormFactor = 3
  2496. rng.Name = "Ring"
  2497. rng.Size = Vector3.new(1, 1, 1)
  2498. rng.Transparency = 0
  2499. rng.TopSurface = 0
  2500. rng.BottomSurface = 0
  2501. rng.CFrame = pos
  2502. local rngm = Instance.new("SpecialMesh", rng)
  2503. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2504. rngm.Scale = scale
  2505. local scaler2 = 1
  2506. if type == "Add" then
  2507. scaler2 = 1*value
  2508. elseif type == "Divide" then
  2509. scaler2 = 1/value
  2510. end
  2511. coroutine.resume(coroutine.create(function()
  2512. for i = 0,10,0.1 do
  2513. swait()
  2514. if type == "Add" then
  2515. scaler2 = scaler2 - 0.01*value
  2516. elseif type == "Divide" then
  2517. scaler2 = scaler2 - 0.01/value
  2518. end
  2519. rng.Transparency = rng.Transparency + 0.01
  2520. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2521. end
  2522. rng:Destroy()
  2523. end))
  2524. end
  2525.  
  2526.  
  2527. function wave(type,pos,scale,value)
  2528. local type = type
  2529. local rng = Instance.new("Part", char)
  2530. rng.Anchored = true
  2531. rng.BrickColor = origcolor
  2532. rng.CanCollide = false
  2533. rng.FormFactor = 3
  2534. rng.Name = "Ring"
  2535. rng.Size = Vector3.new(1, 1, 1)
  2536. rng.Transparency = 0
  2537. rng.TopSurface = 0
  2538. rng.BottomSurface = 0
  2539. rng.CFrame = pos
  2540. local rngm = Instance.new("SpecialMesh", rng)
  2541. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2542. rngm.Scale = scale
  2543. local scaler2 = 1
  2544. if type == "Add" then
  2545. scaler2 = 1*value
  2546. elseif type == "Divide" then
  2547. scaler2 = 1/value
  2548. end
  2549. coroutine.resume(coroutine.create(function()
  2550. for i = 0,10,0.1 do
  2551. swait()
  2552. if type == "Add" then
  2553. scaler2 = scaler2 - 0.01*value
  2554. elseif type == "Divide" then
  2555. scaler2 = scaler2 - 0.01/value
  2556. end
  2557. rng.Transparency = rng.Transparency + 0.01
  2558. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2559. end
  2560. rng:Destroy()
  2561. end))
  2562. end
  2563.  
  2564. function wind(type,pos,scale,value,speed)
  2565. local type = type
  2566. local rng = Instance.new("Part", char)
  2567. rng.Anchored = true
  2568. rng.BrickColor = origcolor
  2569. rng.CanCollide = false
  2570. rng.FormFactor = 3
  2571. rng.Name = "Ring"
  2572. rng.Size = Vector3.new(1, 1, 1)
  2573. rng.Transparency = 0
  2574. rng.TopSurface = 0
  2575. rng.BottomSurface = 0
  2576. rng.CFrame = pos
  2577. local rngm = Instance.new("SpecialMesh", rng)
  2578. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2579. rngm.Scale = scale
  2580. local scaler2 = 1
  2581. if type == "Add" then
  2582. scaler2 = 1*value
  2583. elseif type == "Divide" then
  2584. scaler2 = 1/value
  2585. end
  2586. coroutine.resume(coroutine.create(function()
  2587. for i = 0,10,0.1 do
  2588. swait()
  2589. if type == "Add" then
  2590. scaler2 = scaler2 - 0.01*value
  2591. elseif type == "Divide" then
  2592. scaler2 = scaler2 - 0.01/value
  2593. end
  2594. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2595. rng.Transparency = rng.Transparency + 0.01
  2596. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2597. end
  2598. rng:Destroy()
  2599. end))
  2600. end
  2601.  
  2602. function groundwind(type,pos,scale,value,speed)
  2603. local type = type
  2604. local rng = Instance.new("Part", char)
  2605. rng.Anchored = true
  2606. rng.BrickColor = origcolor
  2607. rng.CanCollide = false
  2608. rng.FormFactor = 3
  2609. rng.Name = "Ring"
  2610. rng.Size = Vector3.new(1, 1, 1)
  2611. rng.Transparency = 0
  2612. rng.TopSurface = 0
  2613. rng.BottomSurface = 0
  2614. rng.CFrame = pos
  2615. local rngm = Instance.new("SpecialMesh", rng)
  2616. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2617. rngm.Scale = scale
  2618. local scaler2 = 1
  2619. if type == "Add" then
  2620. scaler2 = 1*value
  2621. elseif type == "Divide" then
  2622. scaler2 = 1/value
  2623. end
  2624. coroutine.resume(coroutine.create(function()
  2625. for i = 0,10,0.1 do
  2626. swait()
  2627. if type == "Add" then
  2628. scaler2 = scaler2 - 0.01*value
  2629. elseif type == "Divide" then
  2630. scaler2 = scaler2 - 0.01/value
  2631. end
  2632. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2633. rng.Transparency = rng.Transparency + 0.01
  2634. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2635. end
  2636. rng:Destroy()
  2637. end))
  2638. end
  2639.  
  2640. function CameraManager()
  2641. if TwoD and not CamInterrupt then
  2642. if Humanoid.Health > 0 then
  2643. Camera.CameraSubject = Humanoid
  2644. Camera.CameraType = "Scriptable"
  2645. Humanoid.AutoRotate = false
  2646. if Booleans.GyroUse then
  2647. Directer.MaxTorque = Vec3(0, huge, 0)
  2648. else
  2649. Directer.MaxTorque = Vec3(0, 0, 0)
  2650. end
  2651. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2652. if Booleans.CamFollow then
  2653. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2654. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2655. else
  2656. CPart.Position = RootPart.Position
  2657. end
  2658. else
  2659. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2660. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2661. end
  2662. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2663. else
  2664. Camera.CameraSubject = Humanoid
  2665. Camera.CameraType = "Custom"
  2666. Controller.Disabled = false
  2667. end
  2668. end
  2669. end
  2670.  
  2671. function sphere(bonuspeed,type,pos,scale,value,color)
  2672. local type = type
  2673. local rng = Instance.new("Part", char)
  2674. rng.Anchored = true
  2675. rng.BrickColor = color
  2676. rng.CanCollide = false
  2677. rng.FormFactor = 3
  2678. rng.Name = "Ring"
  2679. rng.Material = "Neon"
  2680. rng.Size = Vector3.new(1, 1, 1)
  2681. rng.Transparency = 0
  2682. rng.TopSurface = 0
  2683. rng.BottomSurface = 0
  2684. rng.CFrame = pos
  2685. local rngm = Instance.new("SpecialMesh", rng)
  2686. rngm.MeshType = "Sphere"
  2687. rngm.Scale = scale
  2688. if rainbowmode == true then
  2689. rng.Color = Color3.new(r/255,g/255,b/255)
  2690. end
  2691. local scaler2 = 1
  2692. if type == "Add" then
  2693. scaler2 = 1*value
  2694. elseif type == "Divide" then
  2695. scaler2 = 1/value
  2696. end
  2697. coroutine.resume(coroutine.create(function()
  2698. for i = 0,10/bonuspeed,0.1 do
  2699. swait()
  2700. if rainbowmode == true then
  2701. rng.Color = Color3.new(r/255,g/255,b/255)
  2702. end
  2703. if type == "Add" then
  2704. scaler2 = scaler2 - 0.01*value/bonuspeed
  2705. elseif type == "Divide" then
  2706. scaler2 = scaler2 - 0.01/value*bonuspeed
  2707. end
  2708. if chaosmode == true then
  2709. rng.BrickColor = BrickColor.random()
  2710. end
  2711. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2712. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2713. end
  2714. rng:Destroy()
  2715. end))
  2716. end
  2717.  
  2718. function spherew(bonuspeed,type,pos,scale,value,color)
  2719. local type = type
  2720. local rng = Instance.new("Part", workspace)
  2721. rng.Anchored = true
  2722. rng.BrickColor = color
  2723. rng.CanCollide = false
  2724. rng.FormFactor = 3
  2725. rng.Name = "Ring"
  2726. rng.Material = "Neon"
  2727. rng.Size = Vector3.new(1, 1, 1)
  2728. rng.Transparency = 0
  2729. rng.TopSurface = 0
  2730. rng.BottomSurface = 0
  2731. rng.CFrame = pos
  2732. local rngm = Instance.new("SpecialMesh", rng)
  2733. rngm.MeshType = "Sphere"
  2734. rngm.Scale = scale
  2735. if rainbowmode == true then
  2736. rng.Color = Color3.new(r/255,g/255,b/255)
  2737. end
  2738. local scaler2 = 1
  2739. if type == "Add" then
  2740. scaler2 = 1*value
  2741. elseif type == "Divide" then
  2742. scaler2 = 1/value
  2743. end
  2744. coroutine.resume(coroutine.create(function()
  2745. for i = 0,10/bonuspeed,0.1 do
  2746. swait()
  2747. if rainbowmode == true then
  2748. rng.Color = Color3.new(r/255,g/255,b/255)
  2749. end
  2750. if type == "Add" then
  2751. scaler2 = scaler2 - 0.01*value/bonuspeed
  2752. elseif type == "Divide" then
  2753. scaler2 = scaler2 - 0.01/value*bonuspeed
  2754. end
  2755. if chaosmode == true then
  2756. rng.BrickColor = BrickColor.random()
  2757. end
  2758. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2759. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2760. end
  2761. rng:Destroy()
  2762. end))
  2763. end
  2764.  
  2765. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2766. local type = type
  2767. local rng = Instance.new("Part", char)
  2768. rng.Anchored = true
  2769. rng.BrickColor = color
  2770. rng.CanCollide = false
  2771. rng.FormFactor = 3
  2772. rng.Name = "Ring"
  2773. rng.Material = "Neon"
  2774. rng.Size = Vector3.new(1, 1, 1)
  2775. rng.Transparency = 0
  2776. rng.TopSurface = 0
  2777. rng.BottomSurface = 0
  2778. rng.CFrame = pos
  2779. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2780. local rngm = Instance.new("SpecialMesh", rng)
  2781. rngm.MeshType = "Brick"
  2782. rngm.Scale = vt(x1,y1,z1)
  2783. if rainbowmode == true then
  2784. rng.Color = Color3.new(r/255,g/255,b/255)
  2785. end
  2786. local scaler2 = 1
  2787. local speeder = FastSpeed/10
  2788. if type == "Add" then
  2789. scaler2 = 1*value
  2790. elseif type == "Divide" then
  2791. scaler2 = 1/value
  2792. end
  2793. coroutine.resume(coroutine.create(function()
  2794. for i = 0,10/bonuspeed,0.1 do
  2795. swait()
  2796. if rainbowmode == true then
  2797. rng.Color = Color3.new(r/255,g/255,b/255)
  2798. end
  2799. if type == "Add" then
  2800. scaler2 = scaler2 - 0.01*value/bonuspeed
  2801. elseif type == "Divide" then
  2802. scaler2 = scaler2 - 0.01/value*bonuspeed
  2803. end
  2804. if chaosmode == true then
  2805. rng.BrickColor = BrickColor.random()
  2806. end
  2807. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2808. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2809. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2810. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2811. end
  2812. rng:Destroy()
  2813. end))
  2814. end
  2815.  
  2816. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2817. local type = type
  2818. local rng = Instance.new("Part", char)
  2819. rng.Anchored = true
  2820. rng.BrickColor = color
  2821. rng.CanCollide = false
  2822. rng.FormFactor = 3
  2823. rng.Name = "Ring"
  2824. rng.Material = "Neon"
  2825. rng.Size = Vector3.new(1, 1, 1)
  2826. rng.Transparency = 0
  2827. rng.TopSurface = 0
  2828. rng.BottomSurface = 0
  2829. rng.CFrame = pos
  2830. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2831. local rngm = Instance.new("SpecialMesh", rng)
  2832. rngm.MeshType = "Brick"
  2833. rngm.Scale = vt(x1,y1,z1)
  2834. if rainbowmode == true then
  2835. rng.Color = Color3.new(r/255,g/255,b/255)
  2836. end
  2837. local scaler2 = 0
  2838. local speeder = FastSpeed/10
  2839. if type == "Add" then
  2840. scaler2 = 1*value
  2841. elseif type == "Divide" then
  2842. scaler2 = 1/value
  2843. end
  2844. coroutine.resume(coroutine.create(function()
  2845. for i = 0,10/bonuspeed,0.1 do
  2846. swait()
  2847. if rainbowmode == true then
  2848. rng.Color = Color3.new(r/255,g/255,b/255)
  2849. end
  2850. if type == "Add" then
  2851. scaler2 = scaler2 - 0.01*value/bonuspeed
  2852. elseif type == "Divide" then
  2853. scaler2 = scaler2 - 0.01/value*bonuspeed
  2854. end
  2855. if chaosmode == true then
  2856. rng.BrickColor = BrickColor.random()
  2857. end
  2858. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  2859. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2860. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2861. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2862. end
  2863. rng:Destroy()
  2864. end))
  2865. end
  2866.  
  2867. function sphereMKw(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2868. local type = type
  2869. local rng = Instance.new("Part", workspace)
  2870. rng.Anchored = true
  2871. rng.BrickColor = color
  2872. rng.CanCollide = false
  2873. rng.FormFactor = 3
  2874. rng.Name = "Ring"
  2875. rng.Material = "Neon"
  2876. rng.Size = Vector3.new(1, 1, 1)
  2877. rng.Transparency = 0
  2878. rng.TopSurface = 0
  2879. rng.BottomSurface = 0
  2880. rng.CFrame = pos
  2881. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2882. local rngm = Instance.new("SpecialMesh", rng)
  2883. rngm.MeshType = "Sphere"
  2884. rngm.Scale = vt(x1,y1,z1)
  2885. if rainbowmode == true then
  2886. rng.Color = Color3.new(r/255,g/255,b/255)
  2887. end
  2888. local scaler2 = 1
  2889. local speeder = FastSpeed
  2890. if type == "Add" then
  2891. scaler2 = 1*value
  2892. elseif type == "Divide" then
  2893. scaler2 = 1/value
  2894. end
  2895. coroutine.resume(coroutine.create(function()
  2896. for i = 0,10/bonuspeed,0.1 do
  2897. swait()
  2898. if rainbowmode == true then
  2899. rng.Color = Color3.new(r/255,g/255,b/255)
  2900. end
  2901. if type == "Add" then
  2902. scaler2 = scaler2 - 0.01*value/bonuspeed
  2903. elseif type == "Divide" then
  2904. scaler2 = scaler2 - 0.01/value*bonuspeed
  2905. end
  2906. if chaosmode == true then
  2907. rng.BrickColor = BrickColor.random()
  2908. end
  2909. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2910. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2911. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2912. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2913. end
  2914. rng:Destroy()
  2915. end))
  2916. end
  2917. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2918. local type = type
  2919. local rng = Instance.new("Part", char)
  2920. rng.Anchored = true
  2921. rng.BrickColor = color
  2922. rng.CanCollide = false
  2923. rng.FormFactor = 3
  2924. rng.Name = "Ring"
  2925. rng.Material = "Neon"
  2926. rng.Size = Vector3.new(1, 1, 1)
  2927. rng.Transparency = 0
  2928. rng.TopSurface = 0
  2929. rng.BottomSurface = 0
  2930. rng.CFrame = pos
  2931. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2932. local rngm = Instance.new("SpecialMesh", rng)
  2933. rngm.MeshType = "Sphere"
  2934. rngm.Scale = vt(x1,y1,z1)
  2935. if rainbowmode == true then
  2936. rng.Color = Color3.new(r/255,g/255,b/255)
  2937. end
  2938. local scaler2 = 1
  2939. local speeder = FastSpeed
  2940. if type == "Add" then
  2941. scaler2 = 1*value
  2942. elseif type == "Divide" then
  2943. scaler2 = 1/value
  2944. end
  2945. coroutine.resume(coroutine.create(function()
  2946. for i = 0,10/bonuspeed,0.1 do
  2947. swait()
  2948. if rainbowmode == true then
  2949. rng.Color = Color3.new(r/255,g/255,b/255)
  2950. end
  2951. if type == "Add" then
  2952. scaler2 = scaler2 - 0.01*value/bonuspeed
  2953. elseif type == "Divide" then
  2954. scaler2 = scaler2 - 0.01/value*bonuspeed
  2955. end
  2956. if chaosmode == true then
  2957. rng.BrickColor = BrickColor.random()
  2958. end
  2959. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2960. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2961. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2962. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2963. end
  2964. rng:Destroy()
  2965. end))
  2966. end
  2967.  
  2968.  
  2969. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2970. local type = type
  2971. local rng = Instance.new("Part", char)
  2972. rng.Anchored = true
  2973. rng.BrickColor = color
  2974. rng.CanCollide = false
  2975. rng.FormFactor = 3
  2976. rng.Name = "Ring"
  2977. rng.Material = "Neon"
  2978. rng.Size = Vector3.new(1, 1, 1)
  2979. rng.Transparency = 1
  2980. rng.TopSurface = 0
  2981. rng.BottomSurface = 0
  2982. rng.CFrame = pos
  2983. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2984. local rngm = Instance.new("SpecialMesh", rng)
  2985. rngm.MeshType = "Sphere"
  2986. rngm.Scale = vt(x1,y1,z1)
  2987. if rainbowmode == true then
  2988. rng.Color = Color3.new(r/255,g/255,b/255)
  2989. end
  2990. local scaler2 = 1
  2991. local speeder = FastSpeed
  2992. if type == "Add" then
  2993. scaler2 = 1*value
  2994. elseif type == "Divide" then
  2995. scaler2 = 1/value
  2996. end
  2997. coroutine.resume(coroutine.create(function()
  2998. for i = 0,10/bonuspeed,0.1 do
  2999. swait()
  3000. if rainbowmode == true then
  3001. rng.Color = Color3.new(r/255,g/255,b/255)
  3002. end
  3003. if type == "Add" then
  3004. scaler2 = scaler2 - 0.01*value/bonuspeed
  3005. elseif type == "Divide" then
  3006. scaler2 = scaler2 - 0.01/value*bonuspeed
  3007. end
  3008. if chaosmode == true then
  3009. rng.BrickColor = BrickColor.random()
  3010. end
  3011. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3012. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3013. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3014. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3015. end
  3016. rng:Destroy()
  3017. end))
  3018. end
  3019.  
  3020. function dmg(dude)
  3021. if dude.Name ~= Character then
  3022. local bgf = Instance.new("BodyGyro",dude.Head)
  3023. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3024. local val = Instance.new("BoolValue",dude)
  3025. val.Name = "IsHit"
  3026. local ds = coroutine.wrap(function()
  3027. dude:WaitForChild("Head"):BreakJoints()
  3028. wait(0.5)
  3029. targetted = nil
  3030. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
  3031. coroutine.resume(coroutine.create(function()
  3032. for i, v in pairs(dude:GetChildren()) do
  3033. if v:IsA("Accessory") then
  3034. v:Destroy()
  3035. end
  3036. if v:IsA("Humanoid") then
  3037. v:Destroy()
  3038. end
  3039. if v:IsA("CharacterMesh") then
  3040. v:Destroy()
  3041. end
  3042. if v:IsA("Model") then
  3043. v:Destroy()
  3044. end
  3045. if v:IsA("Part") or v:IsA("MeshPart") then
  3046. for x, o in pairs(v:GetChildren()) do
  3047. if o:IsA("Decal") then
  3048. o:Destroy()
  3049. end
  3050. end
  3051. coroutine.resume(coroutine.create(function()
  3052. v.Material = "Neon"
  3053. v.CanCollide = false
  3054. local bld = Instance.new("ParticleEmitter",v)
  3055. bld.LightEmission = 1
  3056. bld.Texture = "rbxassetid://284205403"
  3057. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  3058. bld.Rate = 50
  3059. bld.Lifetime = NumberRange.new(1)
  3060. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
  3061. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3062. bld.Speed = NumberRange.new(0,0)
  3063. bld.VelocitySpread = 50000
  3064. bld.Rotation = NumberRange.new(-500,500)
  3065. bld.RotSpeed = NumberRange.new(-500,500)
  3066. local sbs = Instance.new("BodyPosition", v)
  3067. sbs.P = 3000
  3068. sbs.D = 1000
  3069. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3070. sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  3071. v.Color = Color3.new(1,1,1)
  3072. coroutine.resume(coroutine.create(function()
  3073. for i = 0, 49 do
  3074. swait(1)
  3075. v.Transparency = v.Transparency + 0.02
  3076. end
  3077. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1)
  3078. bld.Speed = NumberRange.new(1,5)
  3079. bld.Acceleration = vt(0,10,0)
  3080. wait(0.5)
  3081. bld.Enabled = false
  3082. wait(3)
  3083. v:Destroy()
  3084. dude:Destroy()
  3085. end))
  3086. end))
  3087. end
  3088. end
  3089. end))
  3090. end)
  3091. ds()
  3092. end
  3093. end
  3094.  
  3095.  
  3096. function FindNearestHead(Position, Distance, SinglePlayer)
  3097. if SinglePlayer then
  3098. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3099. end
  3100. local List = {}
  3101. for i, v in pairs(workspace:GetChildren()) do
  3102. if v:IsA("Model") then
  3103. if v:findFirstChild("Head") then
  3104. if v ~= Character then
  3105. if (v.Head.Position - Position).magnitude <= Distance then
  3106. table.insert(List, v)
  3107. end
  3108. end
  3109. end
  3110. end
  3111. end
  3112. return List
  3113. end
  3114.  
  3115. function FaceMouse()
  3116. Cam = workspace.CurrentCamera
  3117. return {
  3118. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3119. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3120. }
  3121. end
  3122.  
  3123. function FaceMouse2()
  3124. Cam = workspace.CurrentCamera
  3125. return {
  3126. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3127. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3128. }
  3129. end
  3130.  
  3131. local ModeOfGlitch = 1
  3132. -- Functions are ready.
  3133. local storehumanoidWS = 16
  3134.  
  3135. function Blink()
  3136. for i = 0, 14 do
  3137. 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)
  3138. end
  3139. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3140. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3141. CameraEnshaking(2,10)
  3142. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3143. if v:FindFirstChild('Head') then
  3144. end
  3145. end
  3146. for i = 0, 14 do
  3147. 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)
  3148. end
  3149. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3150. end
  3151. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3152. function WACKYEFFECT(Table)
  3153. local TYPE = (Table.EffectType or "Sphere")
  3154. local SIZE = (Table.Size or VT(1,1,1))
  3155. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  3156. local TRANSPARENCY = (Table.Transparency or 0)
  3157. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  3158. local CFRAME = (Table.CFrame or Torso.CFrame)
  3159. local MOVEDIRECTION = (Table.MoveToPos or nil)
  3160. local ROTATION1 = (Table.RotationX or 0)
  3161. local ROTATION2 = (Table.RotationY or 0)
  3162. local ROTATION3 = (Table.RotationZ or 0)
  3163. local MATERIAL = (Table.Material or "Neon")
  3164. local COLOR = (Table.Color or C3(1,1,1))
  3165. local TIME = (Table.Time or 45)
  3166. local SOUNDID = (Table.SoundID or nil)
  3167. local SOUNDPITCH = (Table.SoundPitch or nil)
  3168. local SOUNDVOLUME = (Table.SoundVolume or nil)
  3169. coroutine.resume(coroutine.create(function()
  3170. local PLAYSSOUND = false
  3171. local SOUND = nil
  3172. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  3173. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  3174. PLAYSSOUND = true
  3175. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  3176. end
  3177. EFFECT.Color = COLOR
  3178. local MSH = nil
  3179. if TYPE == "Sphere" then
  3180. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  3181. elseif TYPE == "Block" then
  3182. MSH = IT("BlockMesh",EFFECT)
  3183. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  3184. elseif TYPE == "Wave" then
  3185. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  3186. elseif TYPE == "Ring" then
  3187. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  3188. elseif TYPE == "Slash" then
  3189. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  3190. elseif TYPE == "Round Slash" then
  3191. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  3192. elseif TYPE == "Swirl" then
  3193. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  3194. elseif TYPE == "Skull" then
  3195. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  3196. elseif TYPE == "Crystal" then
  3197. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  3198. end
  3199. if MSH ~= nil then
  3200. local MOVESPEED = nil
  3201. if MOVEDIRECTION ~= nil then
  3202. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  3203. end
  3204. local GROWTH = SIZE - ENDSIZE
  3205. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  3206. if TYPE == "Block" then
  3207. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3208. else
  3209. EFFECT.CFrame = CFRAME
  3210. end
  3211. for LOOP = 1, TIME+1 do
  3212. Swait()
  3213. MSH.Scale = MSH.Scale - GROWTH/TIME
  3214. if TYPE == "Wave" then
  3215. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  3216. end
  3217. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  3218. if TYPE == "Block" then
  3219. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3220. else
  3221. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  3222. end
  3223. if MOVEDIRECTION ~= nil then
  3224. local ORI = EFFECT.Orientation
  3225. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  3226. EFFECT.Orientation = ORI
  3227. end
  3228. end
  3229. if PLAYSSOUND == false then
  3230. EFFECT:remove()
  3231. else
  3232. SOUND.Stopped:Connect(function()
  3233. EFFECT:remove()
  3234. end)
  3235. end
  3236. else
  3237. if PLAYSSOUND == false then
  3238. EFFECT:remove()
  3239. else
  3240. repeat Swait() until SOUND.Playing == false
  3241. EFFECT:remove()
  3242. end
  3243. end
  3244. end))
  3245. end
  3246. function ExtinctiveHeartbreak()
  3247. local targetted = nil
  3248. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3249. targetted = mouse.Target.Parent
  3250. end
  3251. if targetted ~= nil then
  3252. attack = true
  3253. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3254. for i = 0, 9 do
  3255. 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)
  3256. end
  3257. for i = 0, 24 do
  3258. 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)
  3259. end
  3260. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  3261. local originalpos = root.CFrame
  3262. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  3263. for i = 0, 9 do
  3264. 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)
  3265. end
  3266. for i = 0, 24 do
  3267. 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)
  3268. end
  3269. hum.WalkSpeed = 0
  3270. targetted.Head.Anchored = true
  3271. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  3272. for i = 0,2,0.1 do
  3273. swait()
  3274. 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)),.4)
  3275. 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)
  3276. 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)
  3277. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  3278. 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)
  3279. 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)
  3280. end
  3281. coroutine.resume(coroutine.create(function()
  3282. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  3283. bld.LightEmission = 0.1
  3284. bld.Texture = "rbxassetid://284205403"
  3285. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  3286. bld.Rate = 500
  3287. bld.Lifetime = NumberRange.new(1)
  3288. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3289. bld.Acceleration = vt(0,-25,0)
  3290. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  3291. bld.Speed = NumberRange.new(10,50)
  3292. bld.EmissionDirection = "Front"
  3293. bld.VelocitySpread = 25
  3294. bld.Rotation = NumberRange.new(-500,500)
  3295. bld.RotSpeed = NumberRange.new(-500,500)
  3296. end))
  3297. coroutine.resume(coroutine.create(function()
  3298. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("UpperTorso"))
  3299. bld.LightEmission = 0.1
  3300. bld.Texture = "rbxassetid://284205403"
  3301. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  3302. bld.Rate = 500
  3303. bld.Lifetime = NumberRange.new(1)
  3304. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3305. bld.Acceleration = vt(0,-25,0)
  3306. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  3307. bld.Speed = NumberRange.new(10,50)
  3308. bld.EmissionDirection = "Front"
  3309. bld.VelocitySpread = 25
  3310. bld.Rotation = NumberRange.new(-500,500)
  3311. bld.RotSpeed = NumberRange.new(-500,500)
  3312. end))
  3313. CameraEnshaking(5,5)
  3314. game:GetService("Debris"):AddItem(bld,3)
  3315. dmg(targetted)
  3316. CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Head, 1,1)
  3317. for i = 0,1,0.1 do
  3318. swait()
  3319. 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)
  3320. 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)),.8)
  3321. 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)
  3322. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  3323. 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)
  3324. 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)
  3325. end
  3326. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3327. for i = 0, 9 do
  3328. 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)
  3329. end
  3330. for i = 0, 24 do
  3331. 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)
  3332. end
  3333. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  3334. root.CFrame = originalpos
  3335. for i = 0, 9 do
  3336. 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)
  3337. end
  3338. for i = 0, 24 do
  3339. 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)
  3340. end
  3341. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  3342. bld.Enabled = false
  3343. attack = false
  3344. hum.WalkSpeed = storehumanoidWS
  3345. end
  3346. end
  3347. function MeteorStrike()
  3348. attack = true
  3349. for i = 0, 2, 0.1 do
  3350. swait()
  3351. RH.C0=Clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3352. LH.C0=Clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3353. RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(65),math.rad(0),math.rad(0)),.4)
  3354. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-27),math.rad(0),math.rad(0)),.4)
  3355. RW.C0=Clerp(RW.C0,cf(1.5,0.5,-0.35)*angles(math.rad(70),math.rad(20),math.rad(0)),.1)
  3356. 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)
  3357. end
  3358. CFuncs["Sound"].Create("rbxassetid://136007472", root, 1,2)
  3359. for i=1,20 do
  3360. sphereMKCharge(5,-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))),0.5,0.5,5,-0.005,MAINRUINCOLOR,10)
  3361. swait()
  3362. end
  3363. swait(30)
  3364. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3365. for i =1,20 do
  3366. sphereMKw(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,MAINRUINCOLOR,0)
  3367. 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,MAINRUINCOLOR,0)
  3368. end
  3369. for i = 0,2,0.1 do
  3370. swait()
  3371. 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)
  3372. 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)
  3373. RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,30 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  3374. 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)
  3375. 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)
  3376. 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)
  3377. end
  3378. for i =1,20 do
  3379. sphereMKw(1,1,"Add",Torso.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.05,MAINRUINCOLOR,0)
  3380. end
  3381. text.TextTransparency = 1
  3382. text.TextStrokeTransparency = 1
  3383. tr1.Enabled = false
  3384. tr3.Enabled = false
  3385. tr2.Enabled = false
  3386. tr4.Enabled = false
  3387. tl1.Enabled = false
  3388. tl2.Enabled = false
  3389. tl3.Enabled = false
  3390. tl4.Enabled = false
  3391. spherew(5,"Add",Torso.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR)
  3392. eff = false
  3393. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3394. local invtab = {}
  3395. local function search(targ)
  3396. if targ:IsA("BasePart") or targ:IsA("Decal") or targ:IsA("Texture") then
  3397. table.insert(invtab,targ)
  3398. end
  3399. for i,v in pairs(targ:GetChildren()) do
  3400. search(v)
  3401. end
  3402. end
  3403. search(plr.Character)
  3404. local frm = 0
  3405. local frmcon
  3406. frmcon = game:GetService("RunService").Heartbeat:connect(function()
  3407. if frm < 10 then
  3408. for i,v in pairs(invtab) do
  3409. if v:IsA("BasePart") or v:IsA("Decal") or v:IsA("Texture") then
  3410. v.Transparency = v.Transparency + 0.1
  3411. end
  3412. end
  3413. frm = frm + 1
  3414. else
  3415. frmcon:disconnect()
  3416. end
  3417. end)
  3418. swait(200)
  3419. text.TextTransparency = 0
  3420. text.TextStrokeTransparency = 0
  3421. tr1.Enabled = false
  3422. tr2.Enabled = false
  3423. tr3.Enabled = false
  3424. tr4.Enabled = false
  3425. tr5.Enabled = false
  3426. tr6.Enabled = false
  3427. tl1.Enabled = false
  3428. tl2.Enabled = false
  3429. tl3.Enabled = false
  3430. tl4.Enabled = false
  3431. tl5.Enabled = false
  3432. tl6.Enabled = false
  3433. eff = true
  3434. for i =1,20 do
  3435. sphereMKw(1,1,"Add",Torso.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.05,MAINRUINCOLOR,0)
  3436. end
  3437. spherew(5,"Add",Torso.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR)
  3438. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3439. local invtab = {}
  3440. local function search(targ)
  3441. if targ:IsA("BasePart") or targ:IsA("Decal") or targ:IsA("Texture") then
  3442. table.insert(invtab,targ)
  3443. end
  3444. for i,v in pairs(targ:GetChildren()) do
  3445. search(v)
  3446. end
  3447. end
  3448. search(plr.Character)
  3449. local frm = 0
  3450. local frmcon
  3451. frmcon = game:GetService("RunService").Heartbeat:connect(function()
  3452. if frm < 10 then
  3453. for i,v in pairs(invtab) do
  3454. if v:IsA("BasePart") or v:IsA("Decal") or v:IsA("Texture") then
  3455. v.Transparency = v.Transparency - 0.1
  3456. end
  3457. end
  3458. frm = frm + 1
  3459. else
  3460. frmcon:disconnect()
  3461. end
  3462. end)
  3463. swait(5)
  3464. for i = 0, 2, 0.1 do
  3465. swait()
  3466. RH.C0=Clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3467. LH.C0=Clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3468. RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(65),math.rad(0),math.rad(0)),.4)
  3469. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-27),math.rad(0),math.rad(0)),.4)
  3470. RW.C0=Clerp(RW.C0,cf(1.5,0.5,-0.35)*angles(math.rad(70),math.rad(20),math.rad(0)),.1)
  3471. 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)
  3472. end
  3473. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3474. CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1)
  3475. MagniDamage(root, 30, 65,90, 0, "Normal")
  3476. for i =1,20 do
  3477. sphereMK(1,1,"Add",Torso.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.05,MAINRUINCOLOR,0)
  3478. end
  3479. sphere(1,"Add",Torso.CFrame,vt(1,1,1),1,MAINRUINCOLOR)
  3480. for i =1,20 do
  3481. 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,MAINRUINCOLOR,0)
  3482. end
  3483. swait(20)
  3484. attack = false
  3485. tr1.Enabled = true
  3486. tr2.Enabled = true
  3487. tr3.Enabled = true
  3488. tr4.Enabled = true
  3489. tr5.Enabled = true
  3490. tr6.Enabled = true
  3491. tl1.Enabled = true
  3492. tl2.Enabled = true
  3493. tl3.Enabled = true
  3494. tl4.Enabled = true
  3495. tl5.Enabled = true
  3496. tl6.Enabled = true
  3497. end
  3498. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  3499. coroutine.resume(coroutine.create(function()
  3500. local METEOR = IT("Model",Effects)
  3501. METEOR.Name = "Meteorite"
  3502. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  3503. METEOR.PrimaryPart = CENTER
  3504. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  3505. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3506. for i = 1, 15 do
  3507. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE)
  3508. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3509. end
  3510. if ISDEBREE ~= true then
  3511. METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  3512. else
  3513. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  3514. end
  3515. local IMPACT = false
  3516. CreateSound(463593339, CENTER, 10, 0.6)
  3517. if SIZE >= 3.5 then
  3518. for i = 1, MRANDOM(3,7) do
  3519. SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
  3520. end
  3521. end
  3522. for i = 1, 200 do
  3523. Swait()
  3524. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  3525. if HITFLOOR == nil then
  3526. local ORI = CENTER.Orientation
  3527. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  3528. else
  3529. if HITFLOOR.Anchored == true then
  3530. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  3531. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  3532. end
  3533. IMPACT = true
  3534. break
  3535. end
  3536. end
  3537. if IMPACT == true then
  3538. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  3539. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  3540. WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  3541. ApplyAoE(CENTER.Position,30*SIZE)
  3542. end
  3543. METEOR:remove()
  3544. end))
  3545. end
  3546. tr1.Enabled = true
  3547. tr2.Enabled = true
  3548. tr3.Enabled = true
  3549. tr4.Enabled = true
  3550. tr5.Enabled = true
  3551. tr6.Enabled = true
  3552. tl1.Enabled = true
  3553. tl2.Enabled = true
  3554. tl3.Enabled = true
  3555. tl4.Enabled = true
  3556. tl5.Enabled = true
  3557. tl6.Enabled = true
  3558. function FinalCalam()
  3559. attack = true
  3560. hum.WalkSpeed = 0
  3561. local orb = Instance.new("Part", char)
  3562. orb.Anchored = true
  3563. orb.BrickColor = MAINRUINCOLOR
  3564. orb.CanCollide = false
  3565. orb.FormFactor = 3
  3566. orb.Name = "Ring"
  3567. orb.Material = "Neon"
  3568. orb.Size = Vector3.new(1, 1, 1)
  3569. orb.Transparency = 0
  3570. orb.TopSurface = 0
  3571. orb.BottomSurface = 0
  3572. local orbm = Instance.new("SpecialMesh", orb)
  3573. orbm.MeshType = "Sphere"
  3574. orbm.Name = "SizeMesh"
  3575. orbm.Scale = vt(0,0,0)
  3576. local scaled = 0.1
  3577. local posid = 0
  3578. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3579. for i = 0, 5, 0.1 do
  3580. swait()
  3581. scaled = scaled - 0.001
  3582. posid = posid - scaled
  3583. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3584. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3585. 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,MAINRUINCOLOR,10)
  3586. 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,MAINRUINCOLOR,0)
  3587. RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,2 + 0.1 * math.cos(sine / 10))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3588. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3589. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3590. 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)
  3591. end
  3592. swait(60)
  3593. for i =1,3 do
  3594. swait(30)
  3595. CFuncs["Sound"].Create("rbxassetid://847061203", orb, 1,0.9)
  3596. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR)
  3597. end
  3598. swait(30)
  3599. for i = 0, 2, 0.1 do
  3600. swait()
  3601. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3602. 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)
  3603. 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)
  3604. RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,2 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  3605. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3606. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3607. 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)
  3608. end
  3609. swait(60)
  3610. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3611. CFuncs["Sound"].Create("rbxassetid://151304356", workspace, 5,1)
  3612. sphere(0.2,"Add",orb.CFrame,vt(10,10,10),5,MAINRUINCOLOR)
  3613. sphere(0.5,"Add",orb.CFrame,vt(1,1,1),5,MAINRUINCOLOR)
  3614. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  3615. if v:FindFirstChild('Head') then
  3616. dmg(v)
  3617. end
  3618. end
  3619. for i = 1,20 do
  3620. 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,MAINRUINCOLOR,0)
  3621. for i = 0, 10 do
  3622. 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,MAINRUINCOLOR,0)
  3623. end
  3624. end
  3625. orb:Remove()
  3626. attack = false
  3627. hum.WalkSpeed = storehumanoidWS
  3628. end
  3629. function PureBomb()
  3630. attack = true
  3631.  
  3632. local orb = Instance.new("Part", char)
  3633. orb.Anchored = true
  3634. orb.BrickColor = BrickColor.new("Toothpaste")
  3635. orb.CanCollide = false
  3636. orb.FormFactor = 3
  3637. orb.Name = "Ring"
  3638. orb.Material = "Neon"
  3639. orb.Size = Vector3.new(1, 1, 1)
  3640. orb.Transparency = 0
  3641. orb.TopSurface = 0
  3642. orb.BottomSurface = 0
  3643. local orbm = Instance.new("SpecialMesh", orb)
  3644. orbm.MeshType = "Sphere"
  3645. orbm.Name = "SizeMesh"
  3646. orbm.Scale = vt(0,0,0)
  3647. local scaled = 0.1
  3648. local posid = 0
  3649. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3650. for i = 0, 5, 0.1 do
  3651. swait()
  3652. scaled = scaled - 0.001
  3653. posid = posid - scaled
  3654. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3655. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3656. 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)
  3657. 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)
  3658. 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)
  3659. 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)
  3660. 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)
  3661. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3662. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3663. 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)
  3664. end
  3665. for i = 0, 2, 0.1 do
  3666. swait()
  3667. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3668. 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)
  3669. 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)
  3670. 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)
  3671. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3672. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3673. 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)
  3674. end
  3675. coroutine.resume(coroutine.create(function()
  3676. orb.Anchored = false
  3677. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3678. local a = Instance.new("Part",workspace)
  3679. a.Name = "Direction"
  3680. a.Anchored = true
  3681. a.BrickColor = bc("Bright red")
  3682. a.Material = "Neon"
  3683. a.Transparency = 1
  3684. a.CanCollide = false
  3685. local ray = Ray.new(
  3686. orb.CFrame.p, -- origin
  3687. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3688. )
  3689. local ignore = orb
  3690. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3691. a.BottomSurface = 10
  3692. a.TopSurface = 10
  3693. local distance = (orb.CFrame.p - position).magnitude
  3694. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3695. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3696. orb.CFrame = a.CFrame
  3697. a:Destroy()
  3698. local bv = Instance.new("BodyVelocity")
  3699. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3700. bv.velocity = orb.CFrame.lookVector*125
  3701. bv.Parent = orb
  3702. local hitted = false
  3703. game:GetService("Debris"):AddItem(orb, 15)
  3704. wait()
  3705. local hit =orb.Touched:connect(function(hit)
  3706. if hitted == false then
  3707. hitted = true
  3708. CameraEnshaking(10,2.5)
  3709. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3710. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3711. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3712. for i = 0, 49 do
  3713. 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)
  3714. end
  3715. for i = 0, 9 do
  3716. 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)
  3717. 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)
  3718. end
  3719. orb.Anchored = true
  3720. orb.Transparency = 1
  3721. wait(8)
  3722. orb:Destroy()
  3723. end
  3724. end)
  3725. end))
  3726. for i = 0, 1, 0.1 do
  3727. swait()
  3728. 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)
  3729. 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)
  3730. 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)
  3731. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3732. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3733. 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)
  3734. end
  3735. attack = false
  3736. end
  3737.  
  3738. function ChaosGroundStrike()
  3739. attack = true
  3740. for i = 0, 2, 0.1 do
  3741. swait()
  3742. 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)
  3743. 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)
  3744. RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3745. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3746. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3747. LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3748. end
  3749. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3750. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3751. CameraEnshaking(4,12)
  3752. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3753. if v:FindFirstChild('Head') then
  3754. dmg(v)
  3755. end
  3756. end
  3757. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3758. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3759. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3760. for i = 0, 2, 0.1 do
  3761. swait()
  3762. 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)
  3763. 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)
  3764. 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)
  3765. 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)
  3766. RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3767. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3768. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3769. LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3770. end
  3771. attack = false
  3772. end
  3773.  
  3774. function ChaosGroundStrike2()
  3775. attack = true
  3776. for i = 0, 2, 0.1 do
  3777. swait()
  3778. 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)
  3779. 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)
  3780. RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3781. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3782. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3783. LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3784. end
  3785. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3786. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3787. CameraEnshaking(4,12)
  3788. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3789. if v:FindFirstChild('Head') then
  3790. dmg(v)
  3791. end
  3792. end
  3793. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.new("Alder"))
  3794. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.new("Alder"))
  3795. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(250,0.1,250),0.01,BrickColor.new("Alder"))
  3796. for i = 0, 2, 0.1 do
  3797. swait()
  3798. 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.new("Alder"),0)
  3799. 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.new("Alder"),0)
  3800. 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)
  3801. 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)
  3802. RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3803. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3804. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3805. LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3806. end
  3807. attack = false
  3808. end
  3809.  
  3810.  
  3811. function Starfall()
  3812. attack = true
  3813. hum.WalkSpeed = 0
  3814. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3815. for i = 0, 5, 0.1 do
  3816. swait()
  3817. 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)
  3818. 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)
  3819. 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)
  3820. 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)
  3821. 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)
  3822. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3823. 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)
  3824. 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)
  3825. end
  3826. local Overed = false
  3827. CameraEnshaking(2,20)
  3828. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3829. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3830. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3831. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3832. local orb = Instance.new("Part", char)
  3833. orb.Anchored = true
  3834. orb.BrickColor = BrickColor.new("Toothpaste")
  3835. orb.CanCollide = false
  3836. orb.FormFactor = 3
  3837. orb.Name = "Remenant"
  3838. orb.Material = "Neon"
  3839. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3840. orb.Size = Vector3.new(1, 1, 1)
  3841. orb.Transparency = 1
  3842. orb.TopSurface = 0
  3843. orb.BottomSurface = 0
  3844. hum.WalkSpeed = storehumanoidWS
  3845. coroutine.resume(coroutine.create(function()
  3846. for i = 0, 9 do
  3847. swait(10)
  3848. local lb = Instance.new("Part")
  3849. lb.Color = MAINRUINCOLOR.Color
  3850. lb.CanCollide = false
  3851. lb.Material = "Neon"
  3852. lb.Anchored = true
  3853. lb.TopSurface = 0
  3854. lb.BottomSurface = 0
  3855. lb.Transparency = 0
  3856. lb.Size = vt(1,1,1)
  3857. 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)))
  3858. lb.Anchored = false
  3859. lb.Parent = char
  3860. local thingery = Instance.new("SpecialMesh",lb)
  3861. thingery.MeshType = "Sphere"
  3862. thingery.Scale = vt(20,20,20)
  3863. game:GetService("Debris"):AddItem(lb, 10)
  3864. local bv = Instance.new("BodyVelocity")
  3865. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3866. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3867. bv.Parent = lb
  3868. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3869. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3870. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3871. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3872. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3873. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3874. local hitted = false
  3875. coroutine.resume(coroutine.create(function()
  3876. while true do
  3877. swait(1)
  3878. if lb.Parent ~= nil and hitted == false then
  3879. 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)
  3880. elseif lb.Parent == nil then
  3881. break
  3882. end
  3883. end
  3884. end))
  3885.  
  3886. game:GetService("Debris"):AddItem(a, 0.1)
  3887.  
  3888. coroutine.resume(coroutine.create(function()
  3889. swait(1)
  3890. lb.Touched:connect(function(hit)
  3891. if hitted == false then
  3892. hitted = true
  3893. lb.Transparency = 1
  3894. lb.Anchored = true
  3895. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3896. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3897. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3898. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3899. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3900. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3901. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3902. CameraEnshaking(1,5)
  3903. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3904. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3905. for i = 0, 9 do
  3906. 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)
  3907. end
  3908. for i = 0, 49 do
  3909. swait()
  3910. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3911. 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)
  3912. end
  3913. end
  3914. end)
  3915. end))
  3916. end
  3917. Overed = true
  3918. orb:Destroy()
  3919. end))
  3920.  
  3921. attack = false
  3922. end
  3923.  
  3924. function StarfallEX()
  3925. attack = true
  3926. hum.WalkSpeed = 0
  3927. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3928. for i = 0, 5, 0.1 do
  3929. swait()
  3930. 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)
  3931. 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)
  3932. 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)
  3933. 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)
  3934. 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)
  3935. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3936. 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)
  3937. 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)
  3938. end
  3939. local Overed = false
  3940. CameraEnshaking(2,20)
  3941. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3942. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3943. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3944. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3945. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3946. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3947. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3948. local orb = Instance.new("Part", char)
  3949. orb.Anchored = true
  3950. orb.BrickColor = BrickColor.new("Toothpaste")
  3951. orb.CanCollide = false
  3952. orb.FormFactor = 3
  3953. orb.Name = "Remenant"
  3954. orb.Material = "Neon"
  3955. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3956. orb.Size = Vector3.new(1, 1, 1)
  3957. orb.Transparency = 1
  3958. orb.TopSurface = 0
  3959. orb.BottomSurface = 0
  3960. hum.WalkSpeed = storehumanoidWS
  3961. coroutine.resume(coroutine.create(function()
  3962. for i = 0, 9 do
  3963. swait(10)
  3964. local lb = Instance.new("Part")
  3965. lb.Color = MAINRUINCOLOR.Color
  3966. lb.CanCollide = false
  3967. lb.Material = "Neon"
  3968. lb.Anchored = true
  3969. lb.TopSurface = 0
  3970. lb.BottomSurface = 0
  3971. lb.Transparency = 0
  3972. lb.Size = vt(1,1,1)
  3973. 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)))
  3974. lb.Anchored = false
  3975. lb.Parent = char
  3976. local thingery = Instance.new("SpecialMesh",lb)
  3977. thingery.MeshType = "Sphere"
  3978. thingery.Scale = vt(20,20,20)
  3979. game:GetService("Debris"):AddItem(lb, 10)
  3980. local bv = Instance.new("BodyVelocity")
  3981. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3982. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3983. bv.Parent = lb
  3984. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  3985. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  3986. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  3987. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  3988. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  3989. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3990. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3991. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3992. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3993. local hitted = false
  3994. coroutine.resume(coroutine.create(function()
  3995. while true do
  3996. swait(1)
  3997. if lb.Parent ~= nil and hitted == false then
  3998. 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)
  3999. 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)
  4000. elseif lb.Parent == nil then
  4001. break
  4002. end
  4003. end
  4004. end))
  4005.  
  4006. game:GetService("Debris"):AddItem(a, 0.1)
  4007.  
  4008. coroutine.resume(coroutine.create(function()
  4009. swait(1)
  4010. lb.Touched:connect(function(hit)
  4011. if hitted == false then
  4012. hitted = true
  4013. lb.Transparency = 1
  4014. lb.Anchored = true
  4015. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  4016. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  4017. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  4018. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  4019. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  4020. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  4021. MagniDamage(lb, 45, 45,85, 0, "Normal")
  4022. CameraEnshaking(10,5)
  4023. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  4024. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  4025. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  4026. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  4027. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  4028. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  4029. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  4030. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  4031. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  4032. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  4033. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  4034. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  4035. for i = 0, 9 do
  4036. 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)
  4037. 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)
  4038. 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)
  4039. 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)
  4040. 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)
  4041. 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)
  4042. end
  4043. for i = 0, 49 do
  4044. swait()
  4045. MagniDamage(lb, 30, 30, 60, 0, "Normal")
  4046. 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)
  4047. 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)
  4048. 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)
  4049. end
  4050. end
  4051. end)
  4052. end))
  4053. end
  4054. Overed = true
  4055. orb:Destroy()
  4056. end))
  4057.  
  4058. attack = false
  4059. end
  4060.  
  4061. function StarDivision()
  4062. attack = true
  4063. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4064. for i = 0, 2, 0.1 do
  4065. swait()
  4066. 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)
  4067. 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)),.6)
  4068. 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)),.6)
  4069. RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90)),.6)
  4070. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-90)),.6)
  4071. RW.C0 = Clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  4072. LW.C0 = Clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.6)
  4073. end
  4074. local orb = Instance.new("Part", char)
  4075. orb.BrickColor = MAINRUINCOLOR
  4076. orb.CanCollide = false
  4077. orb.FormFactor = 3
  4078. orb.Name = "Ring"
  4079. orb.Material = "Neon"
  4080. orb.Size = Vector3.new(1, 1, 1)
  4081. orb.Transparency = 0
  4082. orb.TopSurface = 0
  4083. orb.BottomSurface = 0
  4084. local orbm = Instance.new("SpecialMesh", orb)
  4085. orbm.MeshType = "Sphere"
  4086. orbm.Name = "SizeMesh"
  4087. orbm.Scale = vt(2,2,2)
  4088. local a = Instance.new("Part",workspace)
  4089. a.Name = "Direction"
  4090. a.Anchored = true
  4091. a.BrickColor = bc("Bright red")
  4092. a.Material = "Neon"
  4093. a.Transparency = 1
  4094. a.CanCollide = false
  4095. local ray = Ray.new(
  4096. sorb.CFrame.p, -- origin
  4097. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  4098. )
  4099. local ignore = sorb
  4100. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4101. a.BottomSurface = 10
  4102. a.TopSurface = 10
  4103. local distance = (sorb.CFrame.p - position).magnitude
  4104. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4105. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4106. orb.CFrame = a.CFrame
  4107. a:Destroy()
  4108. local bv = Instance.new("BodyVelocity")
  4109. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4110. bv.velocity = orb.CFrame.lookVector*100
  4111. bv.Parent = orb
  4112. local hitted = false
  4113. game:GetService("Debris"):AddItem(orb, 10)
  4114. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  4115. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  4116. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  4117. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  4118. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  4119. coroutine.resume(coroutine.create(function()
  4120. while true do
  4121. swait(1)
  4122. if orb.Parent ~= nil and hitted == false then
  4123. 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)
  4124. elseif orb.Parent == nil then
  4125. break
  4126. end
  4127. end
  4128. end))
  4129. coroutine.resume(coroutine.create(function()
  4130. swait(1)
  4131. orb.Touched:connect(function(hit)
  4132. if hitted == false then
  4133. hitted = true
  4134. game:GetService("Debris"):AddItem(orb, 5)
  4135. orb.Transparency = 1
  4136. orb.Anchored = true
  4137. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4138. elocacenter.Anchored = true
  4139. elocacenter.CFrame = orb.CFrame
  4140. elocacenter.Orientation = vt(0,0,0)
  4141. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4142. eloca1.Anchored = true
  4143. eloca1.CFrame = elocacenter.CFrame
  4144. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4145. eloca2.Anchored = true
  4146. eloca2.CFrame = elocacenter.CFrame
  4147. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4148. eloca3.Anchored = true
  4149. eloca3.CFrame = elocacenter.CFrame
  4150. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4151. eloca4.Anchored = true
  4152. eloca4.CFrame = elocacenter.CFrame
  4153. local lookavec = 0
  4154. local speeds = 0
  4155. CameraEnshaking(1,1)
  4156. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4157. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4158. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4159. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4160. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4161. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4162. for i = 0, 99 do
  4163. swait()
  4164. lookavec = lookavec + 1
  4165. speeds = speeds + 0.1
  4166. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4167. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4168. 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)
  4169.  
  4170. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4171. 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)
  4172.  
  4173. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4174. 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)
  4175.  
  4176. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4177. 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)
  4178. end
  4179.  
  4180. for i = 0, 149 do
  4181. swait()
  4182. speeds = speeds + 0.1
  4183. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4184. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4185. 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)
  4186.  
  4187. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4188. 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)
  4189.  
  4190. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4191. 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)
  4192.  
  4193. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4194. 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)
  4195. end
  4196. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  4197. if v:FindFirstChild('Head') then
  4198. dmg(v)
  4199. end
  4200. end
  4201. CameraEnshaking(7,30)
  4202. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  4203. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  4204. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  4205. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  4206. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4207. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  4208. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  4209. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4210. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4211. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4212. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4213. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4214. for i = 0, 24 do
  4215. 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)
  4216. 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)
  4217. 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)
  4218. 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)
  4219. end
  4220. coroutine.resume(coroutine.create(function()
  4221. for i = 0, 499 do
  4222. swait(1)
  4223. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  4224. 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)
  4225. end
  4226. elocacenter:Destroy()
  4227. eloca1:Destroy()
  4228. eloca2:Destroy()
  4229. eloca3:Destroy()
  4230. eloca4:Destroy()
  4231. end))
  4232. end
  4233. end)
  4234. end))
  4235. attack = false
  4236. end
  4237.  
  4238.  
  4239. function UniversalCollapse()
  4240. attack = true
  4241. local speedearn = 0
  4242. hum.WalkSpeed = 0
  4243. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4244. for i = 0, 10, 0.1 do
  4245. swait()
  4246. speedearn = speedearn + 0.1
  4247. 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)
  4248. 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)
  4249. 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)
  4250. 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)
  4251. 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)
  4252. 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)
  4253. 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)
  4254. 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)
  4255. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4256. 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)
  4257. 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)
  4258. end
  4259. CameraEnshaking(5,45)
  4260. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4261. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4262. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4263. if v:FindFirstChild('Head') then
  4264. dmg(v)
  4265. end
  4266. end
  4267. hum.WalkSpeed = storehumanoidWS
  4268. attack = false
  4269. end
  4270. function ChaosBegone()
  4271. attack = true
  4272. local speedearn = 0
  4273. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.75)
  4274. for i = 0, 10, 0.1 do
  4275. swait()
  4276. speedearn = speedearn + 0.1
  4277. 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)
  4278. 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)
  4279. 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)
  4280. 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)
  4281. 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)
  4282. 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)
  4283. 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)
  4284. RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4285. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4286. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4287. LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4288. end
  4289. CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
  4290. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 1)
  4291. CameraEnshaking(5,25)
  4292. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4293. if v:FindFirstChild('Head') then
  4294. dmg(v)
  4295. end
  4296. end
  4297. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  4298. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  4299. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  4300. for i = 0, 3, 0.1 do
  4301. swait()
  4302. 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))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  4303. 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))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  4304. 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))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  4305. 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))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  4306. 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)
  4307. 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)
  4308. RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4309. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4310. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4311. LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4312. end
  4313. attack = false
  4314. end
  4315.  
  4316. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4317. local orb = Instance.new("Part", char)
  4318. orb.Anchored = true
  4319. orb.BrickColor = color
  4320. orb.CanCollide = false
  4321. orb.FormFactor = 3
  4322. orb.Name = "Ring"
  4323. orb.Material = "Neon"
  4324. orb.Size = Vector3.new(1, 1, 1)
  4325. orb.Transparency = 0
  4326. orb.TopSurface = 0
  4327. orb.BottomSurface = 0
  4328. local orbm = Instance.new("SpecialMesh", orb)
  4329. orbm.MeshType = "Sphere"
  4330. orb.CFrame = positted
  4331. orbm.Name = "SizeMesh"
  4332. orbm.Scale = vt(1,1,1)
  4333. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  4334. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  4335. --[[for i = 0, 2 do
  4336. 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)
  4337. end]]--
  4338. coroutine.resume(coroutine.create(function()
  4339. wait(timer)
  4340. CameraEnshaking(3,ShakePower)
  4341. orb.Transparency = 1
  4342. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  4343. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  4344. --[[for i = 0, 4 do
  4345. 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)
  4346. end]]--
  4347. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  4348. wait(3)
  4349. orb:Destroy()
  4350. end))
  4351. end
  4352.  
  4353. function orb_spawn(positted,timer)
  4354. local randomcol = math.random(1,2)
  4355. local orb = Instance.new("Part", char)
  4356. orb.Anchored = true
  4357. if randomcol == 1 then
  4358. orb.BrickColor = BrickColor.new("White")
  4359. elseif randomcol == 2 then
  4360. orb.BrickColor = BrickColor.new("Really black")
  4361. end
  4362. orb.CanCollide = false
  4363. orb.FormFactor = 3
  4364. orb.Name = "Ring"
  4365. orb.Material = "Neon"
  4366. orb.Size = Vector3.new(1, 1, 1)
  4367. orb.Transparency = 0
  4368. orb.TopSurface = 0
  4369. orb.BottomSurface = 0
  4370. local orbm = Instance.new("SpecialMesh", orb)
  4371. orbm.MeshType = "Sphere"
  4372. orb.CFrame = positted
  4373. orbm.Name = "SizeMesh"
  4374. orbm.Scale = vt(1,1,1)
  4375. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
  4376. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  4377. for i = 0, 2 do
  4378. 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)
  4379. end
  4380. coroutine.resume(coroutine.create(function()
  4381. wait(timer)
  4382. CameraEnshaking(3,2)
  4383. orb.Transparency = 1
  4384. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  4385. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  4386. for i = 0, 4 do
  4387. 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)
  4388. end
  4389. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
  4390. wait(3)
  4391. orb:Destroy()
  4392. end))
  4393. end
  4394.  
  4395. function orb_spawn2(positted,timer)
  4396. local randomcol = math.random(1,7)
  4397. local orb = Instance.new("Part", char)
  4398. orb.Anchored = true
  4399. if randomcol == 1 then
  4400. orb.BrickColor = BrickColor.new("White")
  4401. elseif randomcol == 2 then
  4402. orb.BrickColor = BrickColor.new("Really black")
  4403. elseif randomcol == 3 then
  4404. orb.BrickColor = BrickColor.new("Really red")
  4405. elseif randomcol == 4 then
  4406. orb.BrickColor = BrickColor.new("Really blue")
  4407. elseif randomcol == 5 then
  4408. orb.BrickColor = BrickColor.new("Deep orange")
  4409. elseif randomcol == 6 then
  4410. orb.BrickColor = BrickColor.new("Bright yellow")
  4411. elseif randomcol == 7 then
  4412. orb.BrickColor = BrickColor.new("Lime green")
  4413. elseif randomcol == 8 then
  4414. orb.BrickColor = BrickColor.new("Hot pink")
  4415. end
  4416. orb.CanCollide = false
  4417. orb.FormFactor = 3
  4418. orb.Name = "Ring"
  4419. orb.Material = "Neon"
  4420. orb.Size = Vector3.new(1, 1, 1)
  4421. orb.Transparency = 0
  4422. orb.TopSurface = 0
  4423. orb.BottomSurface = 0
  4424. local orbm = Instance.new("SpecialMesh", orb)
  4425. orbm.MeshType = "Sphere"
  4426. orb.CFrame = positted
  4427. orbm.Name = "SizeMesh"
  4428. orbm.Scale = vt(1,1,1)
  4429. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
  4430. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  4431. for i = 0, 2 do
  4432. 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)
  4433. end
  4434. coroutine.resume(coroutine.create(function()
  4435. wait(timer)
  4436. CameraEnshaking(3,2)
  4437. orb.Transparency = 1
  4438. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  4439. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  4440. for i = 0, 4 do
  4441. 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)
  4442. end
  4443. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
  4444. wait(3)
  4445. orb:Destroy()
  4446. end))
  4447. end
  4448.  
  4449.  
  4450. function scattercorrupt()
  4451. attack = true
  4452. local rot = 0
  4453. local randomrotations = math.random(1,2)
  4454. local lookv = 2.5
  4455. local power = 5
  4456. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  4457. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  4458. for i = 0, 9 do
  4459. 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)
  4460. end
  4461. CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
  4462. CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
  4463. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
  4464. CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
  4465. CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
  4466. local hite = Instance.new("Part", char)
  4467. hite.Anchored = true
  4468. hite.CanCollide = false
  4469. hite.FormFactor = 3
  4470. hite.Name = "Ring"
  4471. hite.Material = "Neon"
  4472. hite.Size = Vector3.new(1, 1, 1)
  4473. hite.Transparency = 1
  4474. hite.TopSurface = 0
  4475. hite.BottomSurface = 0
  4476. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  4477. local rem = Instance.new("Part", char)
  4478. rem.Anchored = true
  4479. rem.CanCollide = false
  4480. rem.FormFactor = 3
  4481. rem.Name = "Ring"
  4482. rem.Material = "Neon"
  4483. rem.Size = Vector3.new(1, 1, 1)
  4484. rem.Transparency = 1
  4485. rem.TopSurface = 0
  4486. rem.BottomSurface = 0
  4487. rem.CFrame = hite.CFrame
  4488. local rem2 = rem:Clone()
  4489. rem2.Parent = char
  4490. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4491. local rem3 = rem:Clone()
  4492. rem3.Parent = char
  4493. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4494. local rem4 = rem:Clone()
  4495. rem4.Parent = char
  4496. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4497. hite:Destroy()
  4498. coroutine.resume(coroutine.create(function()
  4499. for i = 0, 24 do
  4500. swait(1)
  4501. if randomrotations == 1 then
  4502. rot = rot + 1
  4503. elseif randomrotations == 2 then
  4504. rot = rot - 1
  4505. end
  4506. power = power + 0.5
  4507. lookv = lookv + 7.5
  4508. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4509. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4510. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4511. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4512. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4513. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4514. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4515. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4516. end
  4517. end))
  4518. attack = false
  4519. end
  4520. function scattercorrupt2()
  4521. attack = true
  4522. local rot = 0
  4523. local randomrotations = math.random(1,2)
  4524. local lookv = 2.5
  4525. local power = 5
  4526. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Smoky grey"))
  4527. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Smoky grey"))
  4528. for i = 0, 9 do
  4529. 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("Smoky grey"),0)
  4530. end
  4531. CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
  4532. CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
  4533. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
  4534. CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
  4535. CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
  4536. local hite = Instance.new("Part", char)
  4537. hite.Anchored = true
  4538. hite.CanCollide = false
  4539. hite.FormFactor = 3
  4540. hite.Name = "Ring"
  4541. hite.Material = "Neon"
  4542. hite.Size = Vector3.new(1, 1, 1)
  4543. hite.Transparency = 1
  4544. hite.TopSurface = 0
  4545. hite.BottomSurface = 0
  4546. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  4547. local rem = Instance.new("Part", char)
  4548. rem.Anchored = true
  4549. rem.CanCollide = false
  4550. rem.FormFactor = 3
  4551. rem.Name = "Ring"
  4552. rem.Material = "Neon"
  4553. rem.Size = Vector3.new(1, 1, 1)
  4554. rem.Transparency = 1
  4555. rem.TopSurface = 0
  4556. rem.BottomSurface = 0
  4557. rem.CFrame = hite.CFrame
  4558. local rem2 = rem:Clone()
  4559. rem2.Parent = char
  4560. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4561. local rem3 = rem:Clone()
  4562. rem3.Parent = char
  4563. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4564. local rem4 = rem:Clone()
  4565. rem4.Parent = char
  4566. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4567. hite:Destroy()
  4568. coroutine.resume(coroutine.create(function()
  4569. for i = 0, 24 do
  4570. swait(1)
  4571. if randomrotations == 1 then
  4572. rot = rot + 1
  4573. elseif randomrotations == 2 then
  4574. rot = rot - 1
  4575. end
  4576. power = power + 0.5
  4577. lookv = lookv + 7.5
  4578. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4579. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4580. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4581. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4582. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Smoky grey"),power,25,75,10,power/5,7.5)
  4583. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Smoky grey"),power,25,75,10,power/5,7.5)
  4584. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Smoky grey"),power,25,75,10,power/5,7.5)
  4585. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Smoky grey"),power,25,75,10,power/5,7.5)
  4586. end
  4587. end))
  4588. attack = false
  4589. end
  4590. function Meteor_Shower()
  4591. ATTACK = true
  4592. Rooted = false
  4593. CreateSound(1368573150, RightArm, 3, 0.8)
  4594. CreateSound(649634100, Torso, 10, 0.8)
  4595. for i=0, 1.2, 0.1 / Animation_Speed do
  4596. Swait()
  4597. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/2, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  4598. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4599. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  4600. end
  4601. local POS = Mouse.Hit.p
  4602. CreateSound(463593339, Effects, 3, 1)
  4603. coroutine.resume(coroutine.create(function()
  4604. for i = 1, 35 do
  4605. wait(MRANDOM(5,150)/100)
  4606. scattercorrupt2(CF(POS) * ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(0,1500)/10).p,MRANDOM(10,25)/10)
  4607. end
  4608. end))
  4609. ATTACK = false
  4610. Rooted = false
  4611. end
  4612. function yinyangi()
  4613. attack = true
  4614. for i = 0, 2, 0.1 do
  4615. swait()
  4616. 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)
  4617. 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)
  4618. 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)
  4619. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4620. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  4621. LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  4622. end
  4623. local bv = Instance.new("BodyVelocity")
  4624. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4625. bv.velocity = root.CFrame.lookVector*175
  4626. bv.Parent = root
  4627. for Rotations = 0, 9 do
  4628. for i = 0, 1, 0.5 do
  4629. swait()
  4630. bv.velocity = root.CFrame.lookVector*175
  4631. 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)
  4632. 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)
  4633. 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)
  4634. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4635. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4636. LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4637. end
  4638. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4639. for i = 0, 1, 0.5 do
  4640. swait()
  4641. bv.velocity = root.CFrame.lookVector*175
  4642. 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)
  4643. 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)
  4644. 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)
  4645. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4646. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4647. LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4648. end
  4649. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4650. for i = 0, 1, 0.5 do
  4651. swait()
  4652. bv.velocity = root.CFrame.lookVector*175
  4653. 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)
  4654. 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)
  4655. 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)
  4656. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4657. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4658. LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4659. end
  4660. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4661. for i = 0, 1, 0.5 do
  4662. swait()
  4663. bv.velocity = root.CFrame.lookVector*175
  4664. 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)
  4665. 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)
  4666. 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)
  4667. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4668. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4669. LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4670. end
  4671. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4672. end
  4673. bv:Destroy()
  4674. attack = false
  4675. end
  4676.  
  4677. function yinyangi2()
  4678. attack = true
  4679. for i = 0, 2, 0.1 do
  4680. swait()
  4681. 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)
  4682. 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)
  4683. 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)
  4684. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4685. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  4686. LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  4687. end
  4688. local bv = Instance.new("BodyVelocity")
  4689. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4690. bv.velocity = root.CFrame.lookVector*175
  4691. bv.Parent = root
  4692. for Rotations = 0, 9 do
  4693. for i = 0, 1, 0.5 do
  4694. swait()
  4695. bv.velocity = root.CFrame.lookVector*175
  4696. 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)
  4697. 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)
  4698. 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)
  4699. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4700. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4701. LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4702. end
  4703. orb_spawn2(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4704. for i = 0, 1, 0.5 do
  4705. swait()
  4706. bv.velocity = root.CFrame.lookVector*175
  4707. 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)
  4708. 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)
  4709. 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)
  4710. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4711. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4712. LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4713. end
  4714. orb_spawn2(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4715. for i = 0, 1, 0.5 do
  4716. swait()
  4717. bv.velocity = root.CFrame.lookVector*175
  4718. 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)
  4719. 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)
  4720. 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)
  4721. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4722. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4723. LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4724. end
  4725. orb_spawn2(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4726. for i = 0, 1, 0.5 do
  4727. swait()
  4728. bv.velocity = root.CFrame.lookVector*175
  4729. 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)
  4730. 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)
  4731. 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)
  4732. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4733. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4734. LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4735. end
  4736. orb_spawn2(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4737. end
  4738. bv:Destroy()
  4739. attack = false
  4740. end
  4741.  
  4742. function Wip()
  4743. attack = true
  4744.  
  4745. local rngb = Instance.new("Part", char)
  4746. rngb.Anchored = true
  4747. rngb.BrickColor = origcolor
  4748. rngb.CanCollide = false
  4749. rngb.FormFactor = 3
  4750. rngb.Name = "Ring"
  4751. rngb.Material = "Neon"
  4752. rngb.Size = Vector3.new(1, 0.05, 1)
  4753. rngb.Transparency = 1
  4754. rngb.TopSurface = 0
  4755. rngb.BottomSurface = 0
  4756. local rngmb = Instance.new("SpecialMesh", rngb)
  4757. rngmb.MeshType = "Brick"
  4758. rngmb.Name = "SizeMesh"
  4759. rngmb.Scale = vt(0,1,0)
  4760.  
  4761. local orb = rngb:Clone()
  4762. orb.Parent = char
  4763. orb.Transparency = 0
  4764. orb.BrickColor = BrickColor.new("White")
  4765. orb.Size = vt(1,1,1)
  4766. local orbmish = orb.SizeMesh
  4767. orbmish.Scale = vt(0,0,0)
  4768. orbmish.MeshType = "Sphere"
  4769.  
  4770. local orbe = rngb:Clone()
  4771. orbe.Parent = char
  4772. orbe.Transparency = 0.5
  4773. orbe.BrickColor = BrickColor.new("New Yeller")
  4774. orbe.Size = vt(1,1,1)
  4775. local orbmish2 = orbe.SizeMesh
  4776. orbmish2.Scale = vt(0,0,0)
  4777. orbmish2.MeshType = "Sphere"
  4778. orbe.Color = Color3.new(r/255,g/255,b/255)
  4779.  
  4780. rngb:Destroy()
  4781. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4782. local scaled = 1
  4783. for i = 0,5,0.1 do
  4784. swait()
  4785. scaled = scaled - 0.02
  4786. if rainbowmode == true then
  4787. orbe.Color = Color3.new(r/255,g/255,b/255)
  4788. end
  4789. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4790. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4791. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4792. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4793. sphereMKCharge(2.5,-0.5,"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,MAINRUINCOLOR,25)
  4794. RootJoint.C0 = Clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4795. Torso.Neck.C0 = Clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4796. RW.C0 = Clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4797. LW.C0 = Clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4798. 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(0)),.3)
  4799. 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(10),math.rad(0)),.3)
  4800. RootPart.CFrame = FaceMouse()[1]
  4801. end]]--
  4802. for i = 0,5,0.1 do
  4803. swait()
  4804. if rainbowmode == true then
  4805. orbe.Color = Color3.new(r/255,g/255,b/255)
  4806. end
  4807. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4808. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4809. RootJoint.C0 = Clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4810. Torso.Neck.C0 = Clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4811. RW.C0 = Clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4812. LW.C0 = Clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4813. 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(0)),.3)
  4814. 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(10),math.rad(0)),.3)
  4815. RootPart.CFrame = FaceMouse()[1]
  4816. end
  4817. orbe.Transparency = 1
  4818. orb.Transparency = 1
  4819. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  4820. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  4821. local a = Instance.new("Part",Character)
  4822. a.Name = "Direction"
  4823. a.Anchored = true
  4824. a.BrickColor = bc("White")
  4825. a.Material = "Neon"
  4826. a.Transparency = 0
  4827. a.Shape = "Cylinder"
  4828. a.CanCollide = false
  4829. local a2 = Instance.new("Part",Character)
  4830. a2.Name = "Direction"
  4831. a2.Anchored = true
  4832. a2.BrickColor = bc("New Yeller")
  4833. a2.Color = Color3.new(r/255,g/255,b/255)
  4834. a2.Material = "Neon"
  4835. a2.Transparency = 0.5
  4836. a2.Shape = "Cylinder"
  4837. a2.CanCollide = false
  4838. local ba = Instance.new("Part",Character)
  4839. ba.Name = "HitDirect"
  4840. ba.Anchored = true
  4841. ba.BrickColor = bc("Cool yellow")
  4842. ba.Material = "Neon"
  4843. ba.Transparency = 1
  4844. ba.CanCollide = false
  4845. local ray = Ray.new(
  4846. orb.CFrame.p, -- origin
  4847. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4848. )
  4849. local ignore = Character
  4850. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4851. a.BottomSurface = 10
  4852. a.TopSurface = 10
  4853. a2.BottomSurface = 10
  4854. a2.TopSurface = 10
  4855. local distance = (orb.CFrame.p - position).magnitude
  4856. a.Size = Vector3.new(distance, 1, 1)
  4857. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4858. a2.Size = Vector3.new(distance, 1, 1)
  4859. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4860. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4861. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4862. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4863. game:GetService("Debris"):AddItem(a, 20)
  4864. game:GetService("Debris"):AddItem(a2, 20)
  4865. game:GetService("Debris"):AddItem(ba, 20)
  4866. local msh = Instance.new("SpecialMesh",a)
  4867. msh.MeshType = "Cylinder"
  4868. msh.Scale = vt(1,5*5,5*5)
  4869. local msh2 = Instance.new("SpecialMesh",a2)
  4870. msh2.MeshType = "Cylinder"
  4871. msh2.Scale = vt(1,6*5,6*5)
  4872.  
  4873. for i = 0,10,0.1 do
  4874. swait()
  4875. CameraEnshaking(1,5)
  4876. a2.Color = Color3.new(r/255,g/255,b/255)
  4877. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4878. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4879. ray = Ray.new(
  4880. orb.CFrame.p, -- origin
  4881. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4882. )
  4883. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4884. distance = (orb.CFrame.p - position).magnitude
  4885. if typrot == 1 then
  4886. rotation = rotation + 2.5
  4887. elseif typrot == 2 then
  4888. rotation = rotation - 2.5
  4889. end
  4890. RootPart.CFrame = FaceMouse()[1]
  4891. a.Size = Vector3.new(distance, 1, 1)
  4892. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4893. a2.Size = Vector3.new(distance, 1, 1)
  4894. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4895. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4896. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4897. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4898. msh.Scale = msh.Scale - vt(0,0.05*5,0.05*5)
  4899. msh2.Scale = msh2.Scale - vt(0,0.06*5,0.06*5)
  4900. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  4901. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  4902. MagniDamage(ba, 30, 500,60000, 0, "Normal")
  4903. end
  4904. a:Destroy()
  4905. a2:Destroy()
  4906. ba:Destroy()
  4907. orb:Destroy()
  4908. orbe:Destroy()
  4909. attack = false
  4910. end
  4911. function HolyBarrier()
  4912. attack = true
  4913. shielding = true
  4914. for i = 0, 2, 0.1 do
  4915. swait()
  4916. RH.C0=Clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  4917. LH.C0=Clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  4918. RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  4919. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.4)
  4920. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(120),math.rad(-230),math.rad(-40)),.1)
  4921. LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(120),math.rad(230),math.rad(40)),.1)
  4922. end
  4923. CFuncs["Sound"].Create("rbxassetid://240429289", root, 7, 1)
  4924. stash = Instance.new("Model",workspace)
  4925. local barrier = Instance.new("Part",stash)
  4926. barrier.Anchored = true
  4927. barrier.CanCollide = false
  4928. barrier.Size = Vector3.new(20,20,20)
  4929. barrier.CFrame = root.CFrame
  4930. barrier.Transparency = 0.6
  4931. barrier.BrickColor = MAINRUINCOLOR
  4932. barrier.Material = Enum.Material.Neon
  4933. barrier.Shape = Enum.PartType.Ball
  4934. barrier.CFrame = root.CFrame
  4935. sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR)
  4936. Torso.Anchored = true
  4937. for i=1,50 do
  4938. local p = Instance.new("Part",stash)
  4939. p.Anchored = true
  4940. p.Transparency = 1
  4941. p.Size = Vector3.new(11,11,11)
  4942. p.CFrame = root.CFrame * CFrame.Angles(math.random(0,360),math.random(0,360),math.random(0,360))
  4943. end
  4944. repeat
  4945. swait(5)
  4946. 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("White"),0)
  4947. until shielding == false
  4948. stash:Remove()
  4949. Torso.Anchored = false
  4950. shielding = false
  4951. sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR)
  4952. attack = false
  4953. end
  4954. function Judgement()
  4955. attack = true
  4956. judgement = true
  4957. hum.WalkSpeed = 0
  4958. local p = Instance.new("Part",root)
  4959. p.Anchored = true
  4960. p.CanCollide = false
  4961. p.BrickColor = MAINRUINCOLOR
  4962. p.Material = Enum.Material.Neon
  4963. p.Size = Vector3.new(1,1,1)
  4964. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  4965. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  4966. local m = Instance.new("SpecialMesh",p)
  4967. m.MeshType = "Cylinder"
  4968. m.Scale = Vector3.new(2000,2,2)
  4969. local targ = Instance.new("Part",root)
  4970. targ.Anchored = true
  4971. targ.Transparency = 1
  4972. targ.CanCollide = false
  4973. targ.Size = Vector3.new(1,1,1)
  4974. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  4975. local s = Instance.new("Sound",targ)
  4976. s.SoundId = "https://roblox.com/asset/?id=115327352"
  4977. s.Looped = true
  4978. s.Pitch = 1.2
  4979. s.Volume = 3
  4980. spawn(function()
  4981. swait(15)
  4982. s:Play()
  4983. end)
  4984. CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1)
  4985. for i = 1,15 do
  4986. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  4987. RootJoint.C0 = Clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
  4988. Torso.Neck.C0 = Clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  4989. RW.C0 = Clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  4990. LW.C0 = Clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  4991. 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(-20)),.2)
  4992. 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(10),math.rad(20)),.2)
  4993. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR)
  4994. sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 7, -0.005, MAINRUINCOLOR, 0)
  4995. m.Scale = m.Scale+Vector3.new(0,1,1)
  4996. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  4997. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  4998. swait()
  4999. end
  5000. sphereMK(3, 0.2, "Add", targ.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, MAINRUINCOLOR, 0)
  5001. repeat
  5002. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  5003. sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 3, 3, 15, -0.005, MAINRUINCOLOR, 0)
  5004. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR)
  5005. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  5006. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  5007. MagniDamage(targ, 25, 5, 8, 0, "Normal")
  5008. swait()
  5009. until judgement == false
  5010. for i =1,15 do
  5011. m.Scale = m.Scale-Vector3.new(1,1,1)
  5012. p.Transparency = i / 15
  5013. s.Pitch = s.Pitch - 0.4
  5014. swait()
  5015. end
  5016. p:Destroy()
  5017. hum.WalkSpeed = storehumanoidWS
  5018. attack = false
  5019. end
  5020.  
  5021. function UniversalSpark()
  5022. attack = true
  5023.  
  5024. local rngb = Instance.new("Part", char)
  5025. rngb.Anchored = true
  5026. rngb.BrickColor = origcolor
  5027. rngb.CanCollide = false
  5028. rngb.FormFactor = 3
  5029. rngb.Name = "Ring"
  5030. rngb.Material = "Neon"
  5031. rngb.Size = Vector3.new(1, 0.05, 1)
  5032. rngb.Transparency = 1
  5033. rngb.TopSurface = 0
  5034. rngb.BottomSurface = 0
  5035. local rngmb = Instance.new("SpecialMesh", rngb)
  5036. rngmb.MeshType = "Brick"
  5037. rngmb.Name = "SizeMesh"
  5038. rngmb.Scale = vt(0,1,0)
  5039.  
  5040. local orb = rngb:Clone()
  5041. orb.Parent = char
  5042. orb.Transparency = 0
  5043. orb.BrickColor = BrickColor.new("White")
  5044. orb.Size = vt(1,1,1)
  5045. local orbmish = orb.SizeMesh
  5046. orbmish.Scale = vt(0,0,0)
  5047. orbmish.MeshType = "Sphere"
  5048.  
  5049. local orbe = rngb:Clone()
  5050. orbe.Parent = char
  5051. orbe.Transparency = 0.5
  5052. orbe.BrickColor = BrickColor.new("New Yeller")
  5053. orbe.Size = vt(1,1,1)
  5054. local orbmish2 = orbe.SizeMesh
  5055. orbmish2.Scale = vt(0,0,0)
  5056. orbmish2.MeshType = "Sphere"
  5057. orbe.Color = Color3.new(r/255,g/255,b/255)
  5058.  
  5059. rngb:Destroy()
  5060. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  5061. local scaled = 1
  5062. for i = 0,5,0.1 do
  5063. swait()
  5064. scaled = scaled - 0.02
  5065. if rainbowmode == true then
  5066. orbe.Color = Color3.new(r/255,g/255,b/255)
  5067. end
  5068. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  5069. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  5070. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5071. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5072. sphereMKCharge(2.5,-0.5,"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,MAINRUINCOLOR,25)
  5073. RootJoint.C0 = Clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  5074. Torso.Neck.C0 = Clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  5075. RW.C0 = Clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  5076. LW.C0 = Clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5077. 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(0)),.3)
  5078. 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(10),math.rad(0)),.3)
  5079. RootPart.CFrame = FaceMouse()[1]
  5080. end]]--
  5081. for i = 0,5,0.1 do
  5082. swait()
  5083. if rainbowmode == true then
  5084. orbe.Color = Color3.new(r/255,g/255,b/255)
  5085. end
  5086. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5087. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5088. RootJoint.C0 = Clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  5089. Torso.Neck.C0 = Clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  5090. RW.C0 = Clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  5091. LW.C0 = Clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5092. 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(0)),.3)
  5093. 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(10),math.rad(0)),.3)
  5094. RootPart.CFrame = FaceMouse()[1]
  5095. end
  5096. orbe.Transparency = 1
  5097. orb.Transparency = 1
  5098. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  5099. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  5100. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  5101. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  5102.  
  5103. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  5104. CFuncs["Sound"].Create("rbxassetid://741272936", char, 0.75, 1)
  5105. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  5106. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 0.75, 1)
  5107. CFuncs["Sound"].Create("rbxassetid://164881112", char, 0.75, 1)
  5108. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  5109. CFuncs["Sound"].Create("rbxassetid://164178927", char, 1, 1)
  5110. local xd= Instance.new("Sound",char)
  5111. xd.SoundId = "rbxassetid://445796828"
  5112. xd.Pitch = 0.75
  5113. xd.Looped = true
  5114. xd.Volume = 1.25
  5115. xd:Play()
  5116. local a = Instance.new("Part",Character)
  5117. a.Name = "Direction"
  5118. a.Anchored = true
  5119. a.BrickColor = bc("Alder")
  5120. a.Color = MAINRUINCOLOR.Color
  5121. a.Material = "Neon"
  5122. a.Transparency = 0.5
  5123. a.Shape = "Cylinder"
  5124. a.CanCollide = false
  5125. local a2 = Instance.new("Part",Character)
  5126. a2.Name = "Direction"
  5127. a2.Anchored = true
  5128. a2.BrickColor = bc("New Yeller")
  5129. a2.Color = MAINRUINCOLOR.Color
  5130. a2.Material = "Neon"
  5131. a2.Transparency = 0.5
  5132. a2.Shape = "Cylinder"
  5133. a2.CanCollide = false
  5134. local ba = Instance.new("Part",Character)
  5135. ba.Name = "HitDirect"
  5136. ba.Anchored = true
  5137. ba.BrickColor = bc("Cool yellow")
  5138. ba.Material = "Neon"
  5139. ba.Transparency = 1
  5140. ba.CanCollide = false
  5141. local ray = Ray.new(
  5142. orb.CFrame.p, -- origin
  5143. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  5144. )
  5145. local ignore = Character
  5146. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5147. a.BottomSurface = 10
  5148. a.TopSurface = 10
  5149. a2.BottomSurface = 10
  5150. a2.TopSurface = 10
  5151. local distance = (orb.CFrame.p - position).magnitude
  5152. a.Size = Vector3.new(distance, 1, 1)
  5153. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5154. a2.Size = Vector3.new(distance, 1, 1)
  5155. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5156. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5157. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5158. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5159. game:GetService("Debris"):AddItem(a, 60)
  5160. game:GetService("Debris"):AddItem(a2, 60)
  5161. game:GetService("Debris"):AddItem(ba, 60)
  5162. local outerscale = 0
  5163. local msh = Instance.new("SpecialMesh",a)
  5164. msh.MeshType = "Cylinder"
  5165. msh.Scale = vt(1,0,0)
  5166. local msh2 = Instance.new("SpecialMesh",a2)
  5167. msh2.MeshType = "Cylinder"
  5168. msh2.Scale = vt(1,0,0)
  5169. for i = 0,2,0.1 do
  5170. swait()
  5171. CameraEnshaking(1,1)
  5172. msh2.Scale = msh2.Scale + vt(0,outerscale*20,outerscale*20)
  5173. msh.Scale = msh.Scale + vt(0,outerscale*15,outerscale*15)
  5174. outerscale = outerscale - 0.015
  5175. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5176. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5177. ray = Ray.new(
  5178. orb.CFrame.p, -- origin
  5179. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  5180. )
  5181. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5182. distance = (orb.CFrame.p - position).magnitude
  5183. if typrot == 1 then
  5184. rotation = rotation + 2.5
  5185. elseif typrot == 2 then
  5186. rotation = rotation - 2.5
  5187. end
  5188. RootPart.CFrame = FaceMouse()[1]
  5189. a.Size = Vector3.new(distance, 1, 1)
  5190. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5191. a2.Size = Vector3.new(distance, 1, 1)
  5192. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5193. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5194. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5195. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5196. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  5197. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  5198. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  5199. end
  5200. for z = 0, 2 do
  5201. for i = 0,4,0.1 do
  5202. swait()
  5203. CameraEnshaking(1,1)
  5204. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  5205. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  5206. outerscale = outerscale + 0.015
  5207. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5208. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5209. ray = Ray.new(
  5210. orb.CFrame.p, -- origin
  5211. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  5212. )
  5213. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5214. distance = (orb.CFrame.p - position).magnitude
  5215. if typrot == 1 then
  5216. rotation = rotation + 2.5
  5217. elseif typrot == 2 then
  5218. rotation = rotation - 2.5
  5219. end
  5220. RootPart.CFrame = FaceMouse()[1]
  5221. a.Size = Vector3.new(distance, 1, 1)
  5222. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5223. a2.Size = Vector3.new(distance, 1, 1)
  5224. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5225. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5226. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5227. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5228. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  5229. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  5230. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  5231. end
  5232. for i = 0,4,0.1 do
  5233. swait()
  5234. CameraEnshaking(1,1)
  5235. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  5236. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  5237. outerscale = outerscale - 0.015
  5238. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5239. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5240. ray = Ray.new(
  5241. orb.CFrame.p, -- origin
  5242. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  5243. )
  5244. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5245. distance = (orb.CFrame.p - position).magnitude
  5246. if typrot == 1 then
  5247. rotation = rotation + 2.5
  5248. elseif typrot == 2 then
  5249. rotation = rotation - 2.5
  5250. end
  5251. RootPart.CFrame = FaceMouse()[1]
  5252. a.Size = Vector3.new(distance, 1, 1)
  5253. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5254. a2.Size = Vector3.new(distance, 1, 1)
  5255. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5256. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5257. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5258. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5259. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  5260. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  5261. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  5262. end
  5263. end
  5264. for i = 0,4,0.1 do
  5265. swait()
  5266. CameraEnshaking(1,1)
  5267. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  5268. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  5269. xd.Volume = xd.Volume - 0.025
  5270. a.Transparency = a.Transparency + 0.025
  5271. a2.Transparency = a2.Transparency + 0.025
  5272. outerscale = outerscale - 0.015
  5273. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5274. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5275. ray = Ray.new(
  5276. orb.CFrame.p, -- origin
  5277. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  5278. )
  5279. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5280. distance = (orb.CFrame.p - position).magnitude
  5281. if typrot == 1 then
  5282. rotation = rotation + 2.5
  5283. elseif typrot == 2 then
  5284. rotation = rotation - 2.5
  5285. end
  5286. RootPart.CFrame = FaceMouse()[1]
  5287. a.Size = Vector3.new(distance, 1, 1)
  5288. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5289. a2.Size = Vector3.new(distance, 1, 1)
  5290. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5291. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5292. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5293. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5294. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  5295. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  5296. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  5297. end
  5298. xd:Destroy()
  5299. a:Destroy()
  5300. a2:Destroy()
  5301. ba:Destroy()
  5302. orb:Destroy()
  5303. orbe:Destroy()
  5304. attack = false
  5305. end
  5306. function trailall (something)
  5307. tr(something)
  5308. tl(something)
  5309. end
  5310. function tr (some)
  5311. tr1.Enabled = some
  5312. tr2.Enabled = some
  5313. tr3.Enabled = some
  5314. tr4.Enabled = some
  5315. tr5.Enabled = some
  5316. tr6.Enabled = some
  5317. end
  5318. function tl (thing)
  5319. tl1.Enabled = thing
  5320. tl2.Enabled = thing
  5321. tl3.Enabled = thing
  5322. tl4.Enabled = thing
  5323. tl5.Enabled = thing
  5324. tl6.Enabled = thing
  5325. end
  5326. function resetmode()
  5327. rainbowmode = false
  5328. chaosmode = false
  5329. tr(true)
  5330. tr4.Enabled = false
  5331. tr5.Enabled = false
  5332. tr6.Enabled = false
  5333. tl(false)
  5334. ModeOfGlitch = 1
  5335. storehumanoidWS = 16
  5336. coroutine.resume(coroutine.create(function()
  5337. attack = true
  5338. hum.WalkSpeed = 0
  5339. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5340. for i = 0,4,0.1 do
  5341. swait()
  5342. 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)
  5343. 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)
  5344. 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)
  5345. RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.5)
  5346. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.5)
  5347. RW.C0=Clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.5)
  5348. LW.C0=Clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.5)
  5349. end
  5350. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5351. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5352. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5353. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5354. RecolorTextAndRename("Mayhem",Color3.new(0,0,0),Color3.new(1,0,0))
  5355. CameraEnshaking(5,2.5)
  5356. MAINRUINCOLOR = BrickColor.new("Really red")
  5357. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5358. for i = 0, 49 do
  5359. 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)
  5360. end
  5361. for i = 0,3,0.1 do
  5362. 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)
  5363. end
  5364. for i, v in pairs(mw2:GetChildren()) do
  5365. if v:IsA("Part") then
  5366. v.BrickColor = BrickColor.new("Really red")
  5367. v.Material = "Neon"
  5368. end
  5369. end
  5370. for i, v in pairs(mw1:GetChildren()) do
  5371. if v:IsA("Part") then
  5372. v.Transparency = 1
  5373. v.BrickColor = BrickColor.new("Really red")
  5374. v.Material = "Neon"
  5375. end
  5376. end
  5377. for i, v in pairs(m:GetChildren()) do
  5378. if v:IsA("Part") then
  5379. v.Transparency = 0
  5380. v.BrickColor = BrickColor.new("Really black")
  5381. v.Material = "Glass"
  5382. end
  5383. end
  5384. for i, v in pairs(m2:GetChildren()) do
  5385. if v:IsA("Part") then
  5386. v.Transparency = 0
  5387. v.BrickColor = BrickColor.new("Crimson")
  5388. v.Material = "Granite"
  5389. end
  5390. end
  5391. for i, v in pairs(m3:GetChildren()) do
  5392. if v:IsA("Part") then
  5393. v.Transparency = 0
  5394. v.BrickColor = BrickColor.new("Really red")
  5395. v.Material = "Neon"
  5396. end
  5397. end
  5398. for i, v in pairs(extrawingmod1:GetChildren()) do
  5399. if v:IsA("Part") then
  5400. v.Transparency = 1
  5401. v.BrickColor = BrickColor.new("White")
  5402. v.Material = "Neon"
  5403. end
  5404. end
  5405. for i, v in pairs(extrawingmod2:GetChildren()) do
  5406. if v:IsA("Part") then
  5407. v.Transparency = 1
  5408. v.BrickColor = BrickColor.new("White")
  5409. v.Material = "Neon"
  5410. end
  5411. end
  5412. for i = 0,2,0.1 do
  5413. swait()
  5414. 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)
  5415. 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)
  5416. RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  5417. 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)
  5418. 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)
  5419. 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)
  5420. end
  5421. hum.WalkSpeed = storehumanoidWS
  5422. attack = false
  5423. end))
  5424. newTheme("rbxassetid://614032233",48.6,1,0.3)
  5425. end
  5426.  
  5427. function attackone()
  5428. attack = true
  5429. for i = 0,1,0.1 do
  5430. swait()
  5431. RootJoint.C0 = Clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2)
  5432. Torso.Neck.C0 = Clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2)
  5433. RW.C0 = Clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  5434. LW.C0 = Clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  5435. RH.C0=Clerp(RH.C0,cf(1,-1 - 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)),.2)
  5436. 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(10)),.2)
  5437. end
  5438. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1)
  5439.  
  5440. local hitb = Instance.new("Part", char)
  5441. hitb.Anchored = true
  5442. hitb.CanCollide = false
  5443. hitb.FormFactor = 3
  5444. hitb.Name = "Ring"
  5445. hitb.Material = "Neon"
  5446. hitb.Size = Vector3.new(1, 1, 1)
  5447. hitb.Transparency = 1
  5448. hitb.TopSurface = 0
  5449. hitb.BottomSurface = 0
  5450. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  5451. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  5452. hitb:Destroy()
  5453. for i = 0,1,0.1 do
  5454. swait()
  5455. RootJoint.C0 = Clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4)
  5456. Torso.Neck.C0 = Clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4)
  5457. RW.C0 = Clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
  5458. LW.C0 = Clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
  5459. RH.C0=Clerp(RH.C0,cf(1,-1 - 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(-40)),.4)
  5460. 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(-10)),.4)
  5461. end
  5462.  
  5463. attack = false
  5464. end
  5465.  
  5466. function attacktwo()
  5467. attack = true
  5468. for i = 0,1,0.1 do
  5469. swait()
  5470. RootJoint.C0 = Clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2)
  5471. Torso.Neck.C0 = Clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  5472. RW.C0 = Clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  5473. LW.C0 = Clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  5474. RH.C0=Clerp(RH.C0,cf(1,-1 - 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)),.2)
  5475. 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(10)),.2)
  5476. end
  5477. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1)
  5478. local hitb = Instance.new("Part", char)
  5479. hitb.Anchored = true
  5480. hitb.CanCollide = false
  5481. hitb.FormFactor = 3
  5482. hitb.Name = "Ring"
  5483. hitb.Material = "Neon"
  5484. hitb.Size = Vector3.new(1, 1, 1)
  5485. hitb.Transparency = 1
  5486. hitb.TopSurface = 0
  5487. hitb.BottomSurface = 0
  5488. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  5489. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  5490. hitb:Destroy()
  5491. for i = 0,1,0.1 do
  5492. swait()
  5493. RootJoint.C0 = Clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4)
  5494. Torso.Neck.C0 = Clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4)
  5495. RW.C0 = Clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
  5496. LW.C0 = Clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
  5497. 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(-5),math.rad(0),math.rad(-40)),.4)
  5498. 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(-10)),.4)
  5499. end
  5500. attack = false
  5501. end
  5502.  
  5503. function attackthree()
  5504. attack = true
  5505. for i = 0,1,0.1 do
  5506. swait()
  5507. RootJoint.C0 = Clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3)
  5508. Torso.Neck.C0 = Clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3)
  5509. RW.C0 = Clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
  5510. LW.C0 = Clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5511. 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(0)),.3)
  5512. 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(10),math.rad(0)),.3)
  5513. end
  5514. local distlook = 5
  5515. for i = 0, 4 do
  5516. swait(2)
  5517. CameraEnshaking(2,3)
  5518. local hite = Instance.new("Part", char)
  5519. hite.Anchored = true
  5520. hite.CanCollide = false
  5521. hite.FormFactor = 3
  5522. hite.Name = "Ring"
  5523. hite.Material = "Neon"
  5524. hite.Size = Vector3.new(1, 1, 1)
  5525. hite.Transparency = 1
  5526. hite.TopSurface = 0
  5527. hite.BottomSurface = 0
  5528. hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook
  5529. sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR)
  5530. sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR)
  5531. MagniDamage(hite, 10, 15,35, 0, "Normal")
  5532. for i = 0, 2 do
  5533. sphereMK(2,0.2,"Add",rarm.CFrame*CFrame.Angles(math.rad(-90+math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  5534. sphereMK(3,0.2,"Add",hite.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,MAINRUINCOLOR,0)
  5535. sphereMK(6,0.35,"Add",hite.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,MAINRUINCOLOR,0)
  5536. end
  5537. CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1)
  5538. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6)
  5539. game:GetService("Debris"):AddItem(hite, 5)
  5540. distlook = distlook + 10
  5541. end
  5542. attack = false
  5543. end
  5544.  
  5545. local ActiveGia = false
  5546. function THEHELLITSTHATBIG()
  5547. ActiveGia = true
  5548. attack = true
  5549. hum.WalkSpeed = 0
  5550. for i = 0,2,0.1 do
  5551. swait()
  5552. RootJoint.C0 = Clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
  5553. Torso.Neck.C0 = Clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  5554. RW.C0 = Clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  5555. LW.C0 = Clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  5556. 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(-20)),.2)
  5557. 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(10),math.rad(20)),.2)
  5558. end
  5559. for i = 0,1,0.1 do
  5560. torsweld.C1=Clerp(torsweld.C1,cf(0,5*4,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  5561. larmsweld.C1=Clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),1)
  5562. rarmsweld.C1=Clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),1)
  5563. llegsweld.C1=Clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  5564. rlegsweld.C1=Clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  5565. hedsweld.C1=Clerp(hedsweld.C1,cf(0,-1.5*8,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),1)
  5566. end
  5567. CFuncs["Sound"].Create("rbxassetid://528589382", sectors, 5, 1)
  5568. secrleg.Transparency = 0.5
  5569. seclleg.Transparency = 0.5
  5570. secrarm.Transparency = 0.5
  5571. seclarm.Transparency = 0.5
  5572. seched.Transparency = 0.5
  5573. sectors.Transparency = 0.5
  5574. for i = 0,25,0.1 do
  5575. swait()
  5576. PixelBlockNeg(1,math.random(1,5),"Add",sectors.CFrame*CFrame.new(math.random(-25,25),0,math.random(-25,25))*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.1,MAINRUINCOLOR,-10)
  5577. torsweld.C1=Clerp(torsweld.C1,cf(0,-2 + 0.25 * math.cos(sine / 32) ,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.025)
  5578. larmsweld.C1=Clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),0.025)
  5579. rarmsweld.C1=Clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),0.025)
  5580. llegsweld.C1=Clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  5581. rlegsweld.C1=Clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  5582. hedsweld.C1=Clerp(hedsweld.C1,cf(0,-1.5*8,0.2)*angles(math.rad(-10),math.rad(0),math.rad(0)),0.025)
  5583. end
  5584. --[[secrleg.Transparency = 1
  5585. seclleg.Transparency = 1
  5586. secrarm.Transparency = 1
  5587. seclarm.Transparency = 1
  5588. seched.Transparency = 1
  5589. sectors.Transparency = 1]]--
  5590. torsweld.Part0 = root
  5591. hum.WalkSpeed = storehumanoidWS
  5592. attack = false
  5593. end
  5594.  
  5595. function removelol()
  5596. ActiveGia = false
  5597. attack = true
  5598. hum.WalkSpeed = 0
  5599. for i = 0,2,0.1 do
  5600. swait()
  5601. RootJoint.C0 = Clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
  5602. Torso.Neck.C0 = Clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  5603. RW.C0 = Clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  5604. LW.C0 = Clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  5605. 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(-20)),.2)
  5606. 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(10),math.rad(20)),.2)
  5607. end
  5608. CFuncs["Sound"].Create("rbxassetid://528589274", sectors, 5, 1)
  5609. for i = 0,25,0.1 do
  5610. swait()
  5611. secrleg.Transparency = secrleg.Transparency + 0.00225
  5612. seclleg.Transparency = secrleg.Transparency
  5613. secrarm.Transparency = secrleg.Transparency
  5614. seclarm.Transparency = secrleg.Transparency
  5615. seched.Transparency = secrleg.Transparency
  5616. sectors.Transparency = secrleg.Transparency
  5617. PixelBlockNeg(1,math.random(1,5),"Add",sectors.CFrame*CFrame.new(math.random(-25,25),0,math.random(-25,25))*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.1,MAINRUINCOLOR,-10)
  5618. torsweld.C1=Clerp(torsweld.C1,cf(0,-2 + 0.25 * math.cos(sine / 32) ,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.025)
  5619. larmsweld.C1=Clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(20),math.rad(0),math.rad(20)),0.025)
  5620. rarmsweld.C1=Clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(20),math.rad(0),math.rad(-20)),0.025)
  5621. llegsweld.C1=Clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  5622. rlegsweld.C1=Clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  5623. hedsweld.C1=Clerp(hedsweld.C1,cf(0,-1.5*8,0.2)*angles(math.rad(-10),math.rad(0),math.rad(0)),0.025)
  5624. end
  5625. CFuncs["Sound"].Create("rbxassetid://468991944", sectors, 10, 1)
  5626. sphere(1,"Add",sectors.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5627. sphere(2,"Add",sectors.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5628. sphere(3,"Add",sectors.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5629. secrleg.Transparency = 1
  5630. seclleg.Transparency = 1
  5631. secrarm.Transparency = 1
  5632. seclarm.Transparency = 1
  5633. seched.Transparency = 1
  5634. sectors.Transparency = 1
  5635. torsweld.Part0 = root
  5636. hum.WalkSpeed = storehumanoidWS
  5637. attack = false
  5638. end
  5639. function attackfour()
  5640. attackthree()
  5641. attackthree()
  5642. attackthree()
  5643. end
  5644. function FinalCalamity()
  5645. end
  5646.  
  5647. local attacktype = 1
  5648. mouse.Button1Down:connect(function()
  5649. if attack == false and attacktype == 1 then
  5650. attacktype = 2
  5651. attackone()
  5652. elseif attack == false and attacktype == 2 then
  5653. attacktype = 3
  5654. attacktwo()
  5655. elseif attack == false and attacktype == 3 then
  5656. attacktype = 1
  5657. attackthree()
  5658. elseif attack == false and attacktype == 4 and ModeOfGlitch == 333 then
  5659. attacktype = 1
  5660. -- attackfour()
  5661. -- else
  5662. -- attacktype = 1
  5663. end
  5664. end)
  5665. mouse.KeyDown:connect(function(k)
  5666. if k == "q" and attack == false and ModeOfGlitch ~= 2 then
  5667. ModeOfGlitch = 2
  5668. storehumanoidWS = 16
  5669. hum.WalkSpeed = 16
  5670. rainbowmode = false
  5671. chaosmode = false
  5672. tr1.Enabled = true
  5673. tr2.Enabled = true
  5674. tr3.Enabled = true
  5675. tr4.Enabled = false
  5676. tr5.Enabled = false
  5677. tr6.Enabled = false
  5678. tl1.Enabled = false
  5679. tl2.Enabled = false
  5680. tl3.Enabled = false
  5681. tl4.Enabled = false
  5682. tl5.Enabled = false
  5683. tl6.Enabled = false
  5684. RecolorTextAndRename("Purity",Color3.new(1,1,1),Color3.new(0,1,1))
  5685. newTheme("rbxassetid://1539245059",0,1,0.3)
  5686. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  5687. for i, v in pairs(mw2:GetChildren()) do
  5688. if v:IsA("Part") then
  5689. v.Transparency = 0
  5690. v.BrickColor = MAINRUINCOLOR
  5691. v.Material = "Neon"
  5692. end
  5693. end
  5694. for i, v in pairs(mw1:GetChildren()) do
  5695. if v:IsA("Part") then
  5696. v.Transparency = 1
  5697. v.BrickColor = MAINRUINCOLOR
  5698. v.Material = "Neon"
  5699. end
  5700. end
  5701. for i, v in pairs(m:GetChildren()) do
  5702. if v:IsA("Part") then
  5703. v.Transparency = 0
  5704. v.BrickColor = BrickColor.new("White")
  5705. v.Material = "Ice"
  5706. end
  5707. end
  5708. for i, v in pairs(m2:GetChildren()) do
  5709. if v:IsA("Part") then
  5710. v.Transparency = 0
  5711. v.BrickColor = BrickColor.new("Pastel light blue")
  5712. v.Material = "Glass"
  5713. end
  5714. end
  5715. for i, v in pairs(m3:GetChildren()) do
  5716. if v:IsA("Part") then
  5717. v.Transparency = 0
  5718. v.BrickColor = BrickColor.new("Toothpaste")
  5719. v.Material = "Neon"
  5720. end
  5721. end
  5722. for i, v in pairs(extrawingmod1:GetChildren()) do
  5723. if v:IsA("Part") then
  5724. v.Transparency = 1
  5725. v.BrickColor = BrickColor.new("White")
  5726. v.Material = "Neon"
  5727. end
  5728. end
  5729. for i, v in pairs(extrawingmod2:GetChildren()) do
  5730. if v:IsA("Part") then
  5731. v.Transparency = 1
  5732. v.BrickColor = BrickColor.new("White")
  5733. v.Material = "Neon"
  5734. end
  5735. end
  5736. elseif k == "q" and attack == false and ModeOfGlitch == 2 then
  5737. resetmode()
  5738. end
  5739. if k == "b" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 777 then
  5740. newThemeCust("rbxassetid://544291208",0,1,1)
  5741. attack = true
  5742. hum.WalkSpeed = 0
  5743. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  5744. for i = 0, 24, 0.1 do
  5745. swait()
  5746. sphereMK(1,-2,"Add",tors.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,MAINRUINCOLOR,100)
  5747. 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)
  5748. 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)
  5749. 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)
  5750. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  5751. 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)
  5752. 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)
  5753. end
  5754. CameraEnshaking(1,1)
  5755. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  5756. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  5757. wait(0.000000000000000001)
  5758. CameraEnshaking(1,2)
  5759. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  5760. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5761. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  5762. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  5763. wait(0.000000000000000001)
  5764. CameraEnshaking(1,3)
  5765. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  5766. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5767. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  5768. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5769. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  5770. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  5771. wait(0.000000000000000001)
  5772. CameraEnshaking(10,5)
  5773. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  5774. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  5775. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  5776. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  5777. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
  5778. sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  5779. sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
  5780. sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
  5781. sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
  5782. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5783. sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
  5784. sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
  5785. sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  5786. sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
  5787. sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
  5788. for i = 0, 49 do
  5789. 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)
  5790. 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)
  5791. 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)
  5792. 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)
  5793. end
  5794. ModeOfGlitch = 777
  5795. storehumanoidWS = 16
  5796. hum.WalkSpeed = 16
  5797. rainbowmode = false
  5798. chaosmode = false
  5799. tr1.Enabled = true
  5800. tr2.Enabled = true
  5801. tr3.Enabled = true
  5802. tr4.Enabled = true
  5803. tr5.Enabled = true
  5804. tr6.Enabled = true
  5805. tl1.Enabled = true
  5806. tl2.Enabled = true
  5807. tl3.Enabled = true
  5808. tl4.Enabled = true
  5809. tl5.Enabled = true
  5810. tl6.Enabled = true
  5811. RecolorTextAndRename("Divine Purity",Color3.new(1,1,1),Color3.new(0,1,1))
  5812. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5813. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5814. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5815. tl4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5816. tl5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5817. tl6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5818. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5819. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5820. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5821. tr4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5822. tr5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5823. tr6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5824. for i, v in pairs(mw2:GetChildren()) do
  5825. if v:IsA("Part") then
  5826. v.BrickColor = MAINRUINCOLOR
  5827. v.Material = "Neon"
  5828. end
  5829. end
  5830. for i, v in pairs(mw1:GetChildren()) do
  5831. if v:IsA("Part") then
  5832. v.Transparency = 0
  5833. v.BrickColor = MAINRUINCOLOR
  5834. v.Material = "Neon"
  5835. end
  5836. end
  5837. for i, v in pairs(m:GetChildren()) do
  5838. if v:IsA("Part") then
  5839. v.BrickColor = MAINRUINCOLOR
  5840. v.Material = "Neon"
  5841. end
  5842. end
  5843. for i, v in pairs(m2:GetChildren()) do
  5844. if v:IsA("Part") then
  5845. v.BrickColor = MAINRUINCOLOR
  5846. v.Material = "Neon"
  5847. end
  5848. end
  5849. for i, v in pairs(m3:GetChildren()) do
  5850. if v:IsA("Part") then
  5851. v.BrickColor = MAINRUINCOLOR
  5852. v.Material = "Neon"
  5853. end
  5854. end
  5855. for i, v in pairs(extrawingmod1:GetChildren()) do
  5856. if v:IsA("Part") then
  5857. v.Transparency = 0
  5858. v.BrickColor = MAINRUINCOLOR
  5859. v.Material = "Neon"
  5860. end
  5861. end
  5862. for i, v in pairs(extrawingmod2:GetChildren()) do
  5863. if v:IsA("Part") then
  5864. v.Transparency = 0
  5865. v.BrickColor = MAINRUINCOLOR
  5866. v.Material = "Neon"
  5867. end
  5868. attack = false
  5869. end
  5870. elseif k == "b" and attack == false and ModeOfGlitch == 777 then
  5871. resetmode()
  5872. end
  5873. if k == "e" and attack == false and ModeOfGlitch ~= 3 then
  5874. ModeOfGlitch = 3
  5875. storehumanoidWS = 16
  5876. hum.WalkSpeed = 16
  5877. rainbowmode = false
  5878. chaosmode = false
  5879. trailall(false)
  5880. tr(true)
  5881. tr4.Enabled = false
  5882. tr5.Enabled = false
  5883. tr6.Enabled = false
  5884. tl(true)
  5885. tl4.Enabled = false
  5886. tl5.Enabled = false
  5887. tl6.Enabled = false
  5888. RecolorTextAndRename("Corruption",Color3.new(0,0,0),Color3.new(0.35,0,1))
  5889. newTheme("rbxassetid://1283869370",58.15,0.98,1.25)
  5890. MAINRUINCOLOR = BrickColor.new("Royal purple")
  5891. for i, v in pairs(mw2:GetChildren()) do
  5892. if v:IsA("Part") then
  5893. v.Transparency = 0
  5894. v.BrickColor = MAINRUINCOLOR
  5895. v.Material = "Neon"
  5896. end
  5897. end
  5898. for i, v in pairs(mw1:GetChildren()) do
  5899. if v:IsA("Part") then
  5900. v.Transparency = 0
  5901. v.BrickColor = MAINRUINCOLOR
  5902. v.Material = "Neon"
  5903. end
  5904. end
  5905. for i, v in pairs(m:GetChildren()) do
  5906. if v:IsA("Part") then
  5907. v.Transparency = 0
  5908. v.BrickColor = BrickColor.new("Black")
  5909. v.Material = "Ice"
  5910. end
  5911. end
  5912. for i, v in pairs(m2:GetChildren()) do
  5913. if v:IsA("Part") then
  5914. v.Transparency = 0
  5915. v.BrickColor = BrickColor.new("Dark indigo")
  5916. v.Material = "Glass"
  5917. end
  5918. end
  5919. for i, v in pairs(m3:GetChildren()) do
  5920. if v:IsA("Part") then
  5921. v.Transparency = 0
  5922. v.BrickColor = BrickColor.new("Royal purple")
  5923. v.Material = "Neon"
  5924. end
  5925. end
  5926. for i, v in pairs(extrawingmod1:GetChildren()) do
  5927. if v:IsA("Part") then
  5928. v.Transparency = 1
  5929. v.BrickColor = BrickColor.new("White")
  5930. v.Material = "Neon"
  5931. end
  5932. end
  5933. for i, v in pairs(extrawingmod2:GetChildren()) do
  5934. if v:IsA("Part") then
  5935. v.Transparency = 1
  5936. v.BrickColor = BrickColor.new("White")
  5937. v.Material = "Neon"
  5938. end
  5939. end
  5940. elseif k == "e" and attack == false and ModeOfGlitch == 3 then
  5941. resetmode()
  5942. end
  5943. if k == "b" and attack == false and ModeOfGlitch == 3 and ModeOfGlitch ~= 333 then
  5944. attack = true
  5945. hum.WalkSpeed = 0
  5946. newThemeCust("rbxassetid://723652641",0,1,1)
  5947. MAINRUINCOLOR = BrickColor.new("Royal purple")
  5948. for i = 0, 24, 0.1 do
  5949. swait()
  5950. sphereMK(1,-2,"Add",tors.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,MAINRUINCOLOR,100)
  5951. 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)
  5952. 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)
  5953. 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)
  5954. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  5955. 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)
  5956. 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)
  5957. end
  5958. CameraEnshaking(1,1)
  5959. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  5960. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  5961. wait(0.000000000001)
  5962. CameraEnshaking(1,2)
  5963. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  5964. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5965. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  5966. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  5967. wait(0.000000000001)
  5968. CameraEnshaking(1,3)
  5969. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  5970. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5971. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  5972. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5973. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  5974. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  5975. wait(0.0000000000001)
  5976. CameraEnshaking(10,5)
  5977. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  5978. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  5979. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  5980. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  5981. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
  5982. sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  5983. sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
  5984. sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
  5985. sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
  5986. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5987. sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
  5988. sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
  5989. sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  5990. sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
  5991. sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
  5992. for i = 0, 49 do
  5993. 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)
  5994. 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)
  5995. 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)
  5996. 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)
  5997. end
  5998. ModeOfGlitch = 333
  5999. storehumanoidWS = 16
  6000. hum.WalkSpeed = 16
  6001. rainbowmode = false
  6002. chaosmode = false
  6003. trailall(true)
  6004. tl1.Enabled = true
  6005. tl2.Enabled = true
  6006. tl3.Enabled = true
  6007. RecolorTextAndRename("ERROR RIPPER",Color3.new(0,0,0),Color3.new(0.35,0,1))
  6008. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6009. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6010. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6011. tl4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6012. tl5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6013. tl6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6014. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6015. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6016. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6017. tr4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6018. tr5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6019. tr6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6020. for i, v in pairs(mw2:GetChildren()) do
  6021. if v:IsA("Part") then
  6022. v.Transparency = 0
  6023. v.BrickColor = MAINRUINCOLOR
  6024. v.Material = "Neon"
  6025. end
  6026. end
  6027. for i, v in pairs(mw1:GetChildren()) do
  6028. if v:IsA("Part") then
  6029. v.Transparency = 0
  6030. v.BrickColor = MAINRUINCOLOR
  6031. v.Material = "Neon"
  6032. end
  6033. end
  6034. for i, v in pairs(m:GetChildren()) do
  6035. if v:IsA("Part") then
  6036. v.Transparency = 0
  6037. v.BrickColor = MAINRUINCOLOR
  6038. v.Material = "Neon"
  6039. end
  6040. end
  6041. for i, v in pairs(m2:GetChildren()) do
  6042. if v:IsA("Part") then
  6043. v.Transparency = 0
  6044. v.BrickColor = MAINRUINCOLOR
  6045. v.Material = "Neon"
  6046. end
  6047. end
  6048. for i, v in pairs(m3:GetChildren()) do
  6049. if v:IsA("Part") then
  6050. v.Transparency = 0
  6051. v.BrickColor = MAINRUINCOLOR
  6052. v.Material = "Neon"
  6053. end
  6054. end
  6055. for i, v in pairs(extrawingmod1:GetChildren()) do
  6056. if v:IsA("Part") then
  6057. v.Transparency = 0
  6058. v.BrickColor = MAINRUINCOLOR
  6059. v.Material = "Neon"
  6060. end
  6061. end
  6062. for i, v in pairs(extrawingmod2:GetChildren()) do
  6063. if v:IsA("Part") then
  6064. v.Transparency = 0
  6065. v.BrickColor = MAINRUINCOLOR
  6066. v.Material = "Neon"
  6067. end
  6068. attack = false
  6069. end
  6070. elseif k == "b" and attack == false and ModeOfGlitch ==333 then
  6071. resetmode()
  6072. end
  6073. if k == "r" and attack == false and ModeOfGlitch ~= 4 then
  6074. ModeOfGlitch = 4
  6075. storehumanoidWS = 16
  6076. hum.WalkSpeed = 16
  6077. rainbowmode = false
  6078. chaosmode = true
  6079. trailall(false)
  6080. tr(true)
  6081. tr4.Enabled = false
  6082. tr5.Enabled = false
  6083. tr6.Enabled = false
  6084. tl(true)
  6085. tl4.Enabled = false
  6086. tl5.Enabled = false
  6087. tl6.Enabled = false
  6088. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6089. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6090. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6091. tl4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6092. tl5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6093. tl6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6094. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6095. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6096. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6097. tr4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6098. tr5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6099. tr6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6100. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color)
  6101. newTheme("rbxassetid://1369263130",0,1,1)MAINRUINCOLOR = BrickColor.new("Black")
  6102. for i, v in pairs(mw2:GetChildren()) do
  6103. if v:IsA("Part") then
  6104. v.Transparency = 0.75
  6105. v.BrickColor = MAINRUINCOLOR
  6106. v.Material = "Neon"
  6107. end
  6108. end
  6109. for i, v in pairs(mw1:GetChildren()) do
  6110. if v:IsA("Part") then
  6111. v.Transparency = 0.75
  6112. v.BrickColor = BrickColor.random()
  6113. v.Material = "Neon"
  6114. end
  6115. end
  6116. for i, v in pairs(m:GetChildren()) do
  6117. if v:IsA("Part") then
  6118. v.BrickColor = BrickColor.random()
  6119. v.Material = "Neon"
  6120. end
  6121. end
  6122. for i, v in pairs(m2:GetChildren()) do
  6123. if v:IsA("Part") then
  6124. v.Transparency = 0.75
  6125. v.BrickColor = BrickColor.random()
  6126. v.Material = "Neon"
  6127. end
  6128. end
  6129. for i, v in pairs(m3:GetChildren()) do
  6130. if v:IsA("Part") then
  6131. v.Transparency = 0.75
  6132. v.BrickColor = BrickColor.random()
  6133. v.Material = "Neon"
  6134. end
  6135. end
  6136. for i, v in pairs(extrawingmod1:GetChildren()) do
  6137. if v:IsA("Part") then
  6138. v.Transparency = 1
  6139. v.BrickColor = BrickColor.new("White")
  6140. v.Material = "Neon"
  6141. end
  6142. end
  6143. for i, v in pairs(extrawingmod2:GetChildren()) do
  6144. if v:IsA("Part") then
  6145. v.Transparency = 1
  6146. v.BrickColor = BrickColor.new("White")
  6147. v.Material = "Neon"
  6148. end
  6149. end
  6150. elseif k == "r" and attack == false and ModeOfGlitch == 4 then
  6151. resetmode()
  6152. end
  6153. if k == "t" and attack == false and ModeOfGlitch ~= 5 then
  6154. ModeOfGlitch = 5
  6155. storehumanoidWS = 16
  6156. hum.WalkSpeed = 16
  6157. rainbowmode = false
  6158. chaosmode = false
  6159. tr(true)
  6160. tr4.Enabled = false
  6161. tr5.Enabled = false
  6162. tr6.Enabled = false
  6163. tl(true)
  6164. tl4.Enabled = false
  6165. tl5.Enabled = false
  6166. tl6.Enabled = false
  6167. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6168. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6169. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6170. tl4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6171. tl5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6172. tl6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6173. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6174. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6175. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6176. tr4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6177. tr5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6178. tr6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6179. RecolorTextAndRename("Divinity",Color3.new(1,1,1),Color3.new(1,1,0.5))
  6180. newTheme("rbxassetid://196678198",0,1.02,1)
  6181. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  6182. for i, v in pairs(mw2:GetChildren()) do
  6183. if v:IsA("Part") then
  6184. v.BrickColor = MAINRUINCOLOR
  6185. v.Material = "Neon"
  6186. end
  6187. end
  6188. for i, v in pairs(mw1:GetChildren()) do
  6189. if v:IsA("Part") then
  6190. v.Transparency = 0
  6191. v.BrickColor = MAINRUINCOLOR
  6192. v.Material = "Neon"
  6193. end
  6194. end
  6195. for i, v in pairs(m:GetChildren()) do
  6196. if v:IsA("Part") then
  6197. v.BrickColor = BrickColor.new("Cool yellow")
  6198. v.Material = "Ice"
  6199. end
  6200. end
  6201. for i, v in pairs(m2:GetChildren()) do
  6202. if v:IsA("Part") then
  6203. v.BrickColor = BrickColor.new("Bright yellow")
  6204. v.Material = "Ice"
  6205. end
  6206. end
  6207. for i, v in pairs(m3:GetChildren()) do
  6208. if v:IsA("Part") then
  6209. v.BrickColor = BrickColor.new("Bright yellow")
  6210. v.Material = "Neon"
  6211. end
  6212. end
  6213. for i, v in pairs(extrawingmod1:GetChildren()) do
  6214. if v:IsA("Part") then
  6215. v.Transparency = 1
  6216. v.BrickColor = BrickColor.new("White")
  6217. v.Material = "Neon"
  6218. end
  6219. end
  6220. for i, v in pairs(extrawingmod2:GetChildren()) do
  6221. if v:IsA("Part") then
  6222. v.Transparency = 1
  6223. v.BrickColor = BrickColor.new("White")
  6224. v.Material = "Neon"
  6225. end
  6226. end
  6227. elseif k == "t" and attack == false and ModeOfGlitch == 5 then
  6228. resetmode()
  6229. end
  6230. if k == "y" and attack == false and ModeOfGlitch ~= 6 then
  6231. ModeOfGlitch = 6
  6232. storehumanoidWS = 75
  6233. hum.WalkSpeed = 75
  6234. rainbowmode = false
  6235. chaosmode = false
  6236. tr(true)
  6237. tr4.Enabled = false
  6238. tr5.Enabled = false
  6239. tr6.Enabled = false
  6240. tl(true)
  6241. tl4.Enabled = false
  6242. tl5.Enabled = false
  6243. tl6.Enabled = false
  6244. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6245. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6246. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6247. tl4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6248. tl5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6249. tl6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6250. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6251. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6252. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6253. tr4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6254. tr5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6255. tr6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6256. RecolorTextAndRename("Equinox",Color3.new(0,0,0),Color3.new(1,1,1))
  6257. newTheme("rbxassetid://395351949",0,1,1)
  6258. MAINRUINCOLOR = BrickColor.new("White")
  6259. for i, v in pairs(mw2:GetChildren()) do
  6260. if v:IsA("Part") then
  6261. v.Transparency = 0
  6262. v.BrickColor = MAINRUINCOLOR
  6263. v.Material = "Neon"
  6264. end
  6265. end
  6266. for i, v in pairs(mw1:GetChildren()) do
  6267. if v:IsA("Part") then
  6268. v.Transparency = 0
  6269. v.BrickColor = MAINRUINCOLOR
  6270. v.Material = "Neon"
  6271. end
  6272. end
  6273. for i, v in pairs(m:GetChildren()) do
  6274. if v:IsA("Part") then
  6275. v.Transparency = 0
  6276. v.BrickColor = BrickColor.new("White")
  6277. v.Material = "Ice"
  6278. end
  6279. end
  6280. for i, v in pairs(m2:GetChildren()) do
  6281. if v:IsA("Part") then
  6282. v.Transparency = 0
  6283. v.BrickColor = BrickColor.new("Really black")
  6284. v.Material = "Ice"
  6285. end
  6286. end
  6287. for i, v in pairs(m3:GetChildren()) do
  6288. if v:IsA("Part") then
  6289. v.Transparency = 0
  6290. v.BrickColor = BrickColor.new("White")
  6291. v.Material = "Neon"
  6292. end
  6293. end
  6294. for i, v in pairs(extrawingmod1:GetChildren()) do
  6295. if v:IsA("Part") then
  6296. v.Transparency = 1
  6297. v.BrickColor = BrickColor.new("White")
  6298. v.Material = "Neon"
  6299. end
  6300. end
  6301. for i, v in pairs(extrawingmod2:GetChildren()) do
  6302. if v:IsA("Part") then
  6303. v.Transparency = 1
  6304. v.BrickColor = BrickColor.new("White")
  6305. v.Material = "Neon"
  6306. end
  6307. end
  6308. elseif k == "y" and attack == false and ModeOfGlitch == 6 then
  6309. resetmode()
  6310. end
  6311. if k == "u" and attack == false and ModeOfGlitch ~= 6127843 then
  6312. ModeOfGlitch = 6127843
  6313. storehumanoidWS = 50
  6314. hum.WalkSpeed = 50
  6315. rainbowmode = true
  6316. chaosmode = false
  6317. tr(true)
  6318. tr4.Enabled = false
  6319. tr5.Enabled = false
  6320. tr6.Enabled = false
  6321. tl(true)
  6322. tl4.Enabled = false
  6323. tl5.Enabled = false
  6324. tl6.Enabled = false
  6325. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6326. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6327. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6328. tl4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6329. tl5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6330. tl6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6331. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6332. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6333. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6334. tr4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6335. tr5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6336. tr6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6337. RecolorTextAndRename("RAINBOW",Color3.new(1,1,1),Color3.new(1,1,1))
  6338. newTheme("rbxassetid://147930134",0,1,1)
  6339. MAINRUINCOLOR = BrickColor.new("White")
  6340. for i, v in pairs(mw2:GetChildren()) do
  6341. if v:IsA("Part") then
  6342. v.Transparency = 0
  6343. v.BrickColor = MAINRUINCOLOR
  6344. v.Material = "Neon"
  6345. end
  6346. end
  6347. for i, v in pairs(mw1:GetChildren()) do
  6348. if v:IsA("Part") then
  6349. v.Transparency = 0
  6350. v.BrickColor = MAINRUINCOLOR
  6351. v.Material = "Neon"
  6352. end
  6353. end
  6354. for i, v in pairs(m:GetChildren()) do
  6355. if v:IsA("Part") then
  6356. v.Transparency = 0
  6357. v.BrickColor = BrickColor.new("White")
  6358. v.Material = "Neon"
  6359. end
  6360. end
  6361. for i, v in pairs(m2:GetChildren()) do
  6362. if v:IsA("Part") then
  6363. v.Transparency = 0
  6364. v.BrickColor = BrickColor.new("White")
  6365. v.Material = "Neon"
  6366. end
  6367. end
  6368. for i, v in pairs(m3:GetChildren()) do
  6369. if v:IsA("Part") then
  6370. v.Transparency = 0
  6371. v.BrickColor = BrickColor.new("White")
  6372. v.Material = "Neon"
  6373. end
  6374. end
  6375. for i, v in pairs(extrawingmod1:GetChildren()) do
  6376. if v:IsA("Part") then
  6377. v.Transparency = 1
  6378. v.BrickColor = BrickColor.new("White")
  6379. v.Material = "Neon"
  6380. end
  6381. end
  6382. for i, v in pairs(extrawingmod2:GetChildren()) do
  6383. if v:IsA("Part") then
  6384. v.Transparency = 1
  6385. v.BrickColor = BrickColor.new("White")
  6386. v.Material = "Neon"
  6387. end
  6388. end
  6389. elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then
  6390. resetmode()
  6391. end
  6392. if k == "h" and attack == false and ModeOfGlitch ~= 18022547 then
  6393. ModeOfGlitch = 18022547
  6394. storehumanoidWS = 50
  6395. hum.WalkSpeed = 50
  6396. rainbowmode = false
  6397. chaosmode = false
  6398. tr(true)
  6399. tr4.Enabled = false
  6400. tr5.Enabled = false
  6401. tr6.Enabled = false
  6402. tl(true)
  6403. tl4.Enabled = false
  6404. tl5.Enabled = false
  6405. tl6.Enabled = false
  6406. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6407. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6408. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6409. tl4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6410. tl5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6411. tl6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6412. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6413. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6414. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6415. tr4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6416. tr5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6417. tr6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6418. RecolorTextAndRename("LOVE",Color3.new(1,1,1),Color3.new(1,1,1))
  6419. newTheme("rbxassetid://147930134",0,1,1)
  6420. MAINRUINCOLOR = BrickColor.new("Pink")
  6421. for i, v in pairs(mw2:GetChildren()) do
  6422. if v:IsA("Part") then
  6423. v.Transparency = 0
  6424. v.BrickColor = MAINRUINCOLOR
  6425. v.Material = "Neon"
  6426. end
  6427. end
  6428. for i, v in pairs(mw1:GetChildren()) do
  6429. if v:IsA("Part") then
  6430. v.Transparency = 0
  6431. v.BrickColor = MAINRUINCOLOR
  6432. v.Material = "Neon"
  6433. end
  6434. end
  6435. for i, v in pairs(m:GetChildren()) do
  6436. if v:IsA("Part") then
  6437. v.Transparency = 0
  6438. v.BrickColor = MAINRUINCOLOR
  6439. v.Material = "Neon"
  6440. end
  6441. end
  6442. for i, v in pairs(m2:GetChildren()) do
  6443. if v:IsA("Part") then
  6444. v.Transparency = 0
  6445. v.BrickColor = MAINRUINCOLOR
  6446. v.Material = "Neon"
  6447. end
  6448. end
  6449. for i, v in pairs(m3:GetChildren()) do
  6450. if v:IsA("Part") then
  6451. v.Transparency = 0
  6452. v.BrickColor = MAINRUINCOLOR
  6453. v.Material = "Neon"
  6454. end
  6455. end
  6456. for i, v in pairs(extrawingmod1:GetChildren()) do
  6457. if v:IsA("Part") then
  6458. v.Transparency = 1
  6459. v.BrickColor = MAINRUINCOLOR
  6460. v.Material = "Neon"
  6461. end
  6462. end
  6463. for i, v in pairs(extrawingmod2:GetChildren()) do
  6464. if v:IsA("Part") then
  6465. v.Transparency = 1
  6466. v.BrickColor = MAINRUINCOLOR
  6467. v.Material = "Neon"
  6468. end
  6469. end
  6470. elseif k == "h" and attack == false and ModeOfGlitch == 18022547 then
  6471. resetmode()
  6472. end
  6473. if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then
  6474. ModeOfGlitch = 1000000
  6475. storehumanoidWS = 100
  6476. hum.WalkSpeed = 100
  6477. rainbowmode = false
  6478. chaosmode = false
  6479. trailall(true)
  6480. tl1.Enabled = true
  6481. tl2.Enabled = true
  6482. tl3.Enabled = true
  6483. tl4.Enabled = true
  6484. tl5.Enabled = true
  6485. tl6.Enabled = true
  6486. RecolorTextAndRename("CALAMITY",Color3.new(0.25,0,1),Color3.new(0.5,0,1))
  6487. newTheme("rbxassetid://1359036559",0,1,1)
  6488. MAINRUINCOLOR = BrickColor.new("Bright violet")
  6489. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6490. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6491. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6492. tl4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6493. tl5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6494. tl6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6495. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6496. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6497. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6498. tr4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6499. tr5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6500. tr6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6501. for i, v in pairs(mw2:GetChildren()) do
  6502. if v:IsA("Part") then
  6503. v.BrickColor = MAINRUINCOLOR
  6504. v.Material = "Neon"
  6505. end
  6506. end
  6507. for i, v in pairs(mw1:GetChildren()) do
  6508. if v:IsA("Part") then
  6509. v.Transparency = 0
  6510. v.BrickColor = MAINRUINCOLOR
  6511. v.Material = "Neon"
  6512. end
  6513. end
  6514. for i, v in pairs(m:GetChildren()) do
  6515. if v:IsA("Part") then
  6516. v.Color = Color3.new(0.5,0,1)
  6517. v.Material = "Neon"
  6518. end
  6519. end
  6520. for i, v in pairs(m2:GetChildren()) do
  6521. if v:IsA("Part") then
  6522. v.Color = Color3.new(0.25,0,1)
  6523. v.Material = "Neon"
  6524. end
  6525. end
  6526. for i, v in pairs(m3:GetChildren()) do
  6527. if v:IsA("Part") then
  6528. v.Color = Color3.new(0.45,0,1)
  6529. v.Material = "Neon"
  6530. end
  6531. end
  6532. for i, v in pairs(extrawingmod1:GetChildren()) do
  6533. if v:IsA("Part") then
  6534. v.Transparency = 0.75
  6535. v.Color = Color3.new(0.25,0,1)
  6536. v.Material = "Neon"
  6537. end
  6538. end
  6539. for i, v in pairs(extrawingmod2:GetChildren()) do
  6540. if v:IsA("Part") then
  6541. v.Transparency = 0.75
  6542. v.Color = Color3.new(0.5,0,1)
  6543. v.Material = "Neon"
  6544. end
  6545. end
  6546. elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then
  6547. resetmode()
  6548. end
  6549. if k == "m" and attack == false and ModeOfGlitch == 1000000 and ModeOfGlitch ~= 12345678987654321 then
  6550. newThemeCust("rbxassetid://1504604335",0,1,1)
  6551. attack = true
  6552. hum.WalkSpeed = 0
  6553. MAINRUINCOLOR = BrickColor.new("Royal purple")
  6554. for i = 0, 24, 0.1 do
  6555. swait()
  6556. sphereMK(1,-2,"Add",tors.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,MAINRUINCOLOR,100)
  6557. 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)
  6558. 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)
  6559. 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)
  6560. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6561. 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)
  6562. 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)
  6563. end
  6564. CameraEnshaking(1,1)
  6565. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6566. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  6567. wait(0.000000000001)
  6568. CameraEnshaking(1,2)
  6569. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  6570. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6571. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6572. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  6573. wait(0.000000000001)
  6574. CameraEnshaking(1,3)
  6575. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  6576. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  6577. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  6578. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6579. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6580. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  6581. wait(0.0000000000001)
  6582. CameraEnshaking(10,5)
  6583. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  6584. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  6585. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  6586. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  6587. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
  6588. sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  6589. sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
  6590. sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
  6591. sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
  6592. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  6593. sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
  6594. sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
  6595. sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  6596. sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
  6597. sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
  6598. for i = 0, 49 do
  6599. 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)
  6600. 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)
  6601. 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)
  6602. 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)
  6603. end
  6604. ModeOfGlitch = 12345678987654321
  6605. storehumanoidWS = 200
  6606. hum.WalkSpeed = 200
  6607. rainbowmode = false
  6608. chaosmode = false
  6609. trailall(true)
  6610. tl1.Enabled = true
  6611. tl2.Enabled = true
  6612. tl3.Enabled = true
  6613. RecolorTextAndRename("CATASTROPHE",Color3.new(0.5,0,1),Color3.new(0.75,0,1))
  6614. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6615. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6616. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6617. tl4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6618. tl5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6619. tl6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6620. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6621. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6622. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6623. tr4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6624. tr5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6625. tr6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6626. for i, v in pairs(mw2:GetChildren()) do
  6627. if v:IsA("Part") then
  6628. v.Transparency = 0
  6629. v.BrickColor = MAINRUINCOLOR
  6630. v.Material = "Neon"
  6631. end
  6632. end
  6633. for i, v in pairs(mw1:GetChildren()) do
  6634. if v:IsA("Part") then
  6635. v.Transparency = 0
  6636. v.BrickColor = MAINRUINCOLOR
  6637. v.Material = "Neon"
  6638. end
  6639. end
  6640. for i, v in pairs(m:GetChildren()) do
  6641. if v:IsA("Part") then
  6642. v.Transparency = 0
  6643. v.Color = Color3.new(0.5,0,1)
  6644. v.Material = "Neon"
  6645. end
  6646. end
  6647. for i, v in pairs(m2:GetChildren()) do
  6648. if v:IsA("Part") then
  6649. v.Transparency = 0
  6650. v.Color = Color3.new(0.5,0,1)
  6651. v.Material = "Neon"
  6652. end
  6653. end
  6654. for i, v in pairs(m3:GetChildren()) do
  6655. if v:IsA("Part") then
  6656. v.Transparency = 0
  6657. v.Color = Color3.new(0.5,0,1)
  6658. v.Material = "Neon"
  6659. end
  6660. end
  6661. for i, v in pairs(extrawingmod1:GetChildren()) do
  6662. if v:IsA("Part") then
  6663. v.Transparency = 0
  6664. v.Color = Color3.new(0.5,0,1)
  6665. v.Material = "Neon"
  6666. end
  6667. end
  6668. for i, v in pairs(extrawingmod2:GetChildren()) do
  6669. if v:IsA("Part") then
  6670. v.Transparency = 0
  6671. v.Color = Color3.new(0.5,0,1)
  6672. v.Material = "Neon"
  6673. end
  6674. attack = false
  6675. end
  6676. elseif k == "m" and attack == false and ModeOfGlitch == 12345678987654321 then
  6677. resetmode()
  6678. end
  6679. if k == "b" and attack == false and ModeOfGlitch == 12345678987654321 and ModeOfGlitch ~= 12345678987654322 then
  6680. newThemeCust("rbxassetid://247971190",0,1,1)
  6681. attack = true
  6682. hum.WalkSpeed = 0
  6683. MAINRUINCOLOR = BrickColor.new("Alder")
  6684. for i = 0, 24, 0.1 do
  6685. swait()
  6686. sphereMK(1,-2,"Add",tors.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,MAINRUINCOLOR,100)
  6687. 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)
  6688. 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)
  6689. 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)
  6690. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6691. 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)
  6692. 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)
  6693. end
  6694. CameraEnshaking(1,1)
  6695. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6696. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  6697. wait(0.000000000001)
  6698. CameraEnshaking(1,2)
  6699. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  6700. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6701. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6702. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  6703. wait(0.000000000001)
  6704. CameraEnshaking(1,3)
  6705. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  6706. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  6707. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  6708. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6709. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6710. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  6711. wait(0.0000000000001)
  6712. CameraEnshaking(10,5)
  6713. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  6714. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  6715. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  6716. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  6717. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
  6718. sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  6719. sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
  6720. sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
  6721. sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
  6722. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  6723. sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
  6724. sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
  6725. sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  6726. sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
  6727. sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
  6728. for i = 0, 49 do
  6729. 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)
  6730. 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)
  6731. 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)
  6732. 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)
  6733. end
  6734. ModeOfGlitch = 12345678987654322
  6735. storehumanoidWS = 16
  6736. hum.WalkSpeed = 16
  6737. rainbowmode = false
  6738. chaosmode = false
  6739. trailall(true)
  6740. tl1.Enabled = true
  6741. tl2.Enabled = true
  6742. tl3.Enabled = true
  6743. RecolorTextAndRename("Divine Universe",Color3.new(1,0,1),Color3.new(0.75,0,0.75))
  6744. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6745. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6746. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6747. tl4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6748. tl5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6749. tl6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6750. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6751. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6752. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6753. tr4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6754. tr5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6755. tr6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6756. for i, v in pairs(mw2:GetChildren()) do
  6757. if v:IsA("Part") then
  6758. v.Transparency = 0
  6759. v.BrickColor = MAINRUINCOLOR
  6760. v.Material = "Neon"
  6761. end
  6762. end
  6763. for i, v in pairs(mw1:GetChildren()) do
  6764. if v:IsA("Part") then
  6765. v.Transparency = 0
  6766. v.BrickColor = MAINRUINCOLOR
  6767. v.Material = "Neon"
  6768. end
  6769. end
  6770. for i, v in pairs(m:GetChildren()) do
  6771. if v:IsA("Part") then
  6772. v.Transparency = 0
  6773. v.BrickColor = MAINRUINCOLOR
  6774. v.Material = "Neon"
  6775. end
  6776. end
  6777. for i, v in pairs(m2:GetChildren()) do
  6778. if v:IsA("Part") then
  6779. v.Transparency = 0
  6780. v.BrickColor = MAINRUINCOLOR
  6781. v.Material = "Neon"
  6782. end
  6783. end
  6784. for i, v in pairs(m3:GetChildren()) do
  6785. if v:IsA("Part") then
  6786. v.Transparency = 0
  6787. v.BrickColor = MAINRUINCOLOR
  6788. v.Material = "Neon"
  6789. end
  6790. end
  6791. for i, v in pairs(extrawingmod1:GetChildren()) do
  6792. if v:IsA("Part") then
  6793. v.Transparency = 0
  6794. v.BrickColor = MAINRUINCOLOR
  6795. v.Material = "Neon"
  6796. end
  6797. end
  6798. for i, v in pairs(extrawingmod2:GetChildren()) do
  6799. if v:IsA("Part") then
  6800. v.Transparency = 0
  6801. v.BrickColor = MAINRUINCOLOR
  6802. v.Material = "Neon"
  6803. end
  6804. attack = false
  6805. end
  6806. elseif k == "b" and attack == false and ModeOfGlitch == 12345678987654322 then
  6807. resetmode()
  6808. end
  6809. if k == "f" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 727 then
  6810. newThemeCust("rbxassetid://143892575",0,1,1)
  6811. attack = true
  6812. hum.WalkSpeed = 0
  6813. MAINRUINCOLOR = BrickColor.new("Really black")
  6814. for i = 0, 24, 0.1 do
  6815. swait()
  6816. sphereMK(1,-2,"Add",tors.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,MAINRUINCOLOR,100)
  6817. 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)
  6818. 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)
  6819. 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)
  6820. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6821. 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)
  6822. 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)
  6823. end
  6824. CameraEnshaking(1,1)
  6825. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6826. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  6827. wait(0.000000000001)
  6828. CameraEnshaking(1,2)
  6829. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  6830. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6831. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6832. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  6833. wait(0.000000000001)
  6834. CameraEnshaking(1,3)
  6835. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  6836. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  6837. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  6838. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6839. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6840. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  6841. wait(0.0000000000001)
  6842. CameraEnshaking(10,5)
  6843. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  6844. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  6845. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  6846. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  6847. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
  6848. sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  6849. sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
  6850. sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
  6851. sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
  6852. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  6853. sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
  6854. sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
  6855. sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  6856. sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
  6857. sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
  6858. for i = 0, 49 do
  6859. 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)
  6860. 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)
  6861. 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)
  6862. 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)
  6863. end
  6864. ModeOfGlitch = 727
  6865. storehumanoidWS = 200
  6866. hum.WalkSpeed = 200
  6867. rainbowmode = false
  6868. chaosmode = false
  6869. tl1.Enabled = true
  6870. tl2.Enabled = true
  6871. tl3.Enabled = true
  6872. RecolorTextAndRename("Distortion",Color3.new(0.5,0.5,0.5),Color3.new(0.75,0.75,0.75))
  6873. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6874. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6875. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6876. for i, v in pairs(mw2:GetChildren()) do
  6877. if v:IsA("Part") then
  6878. v.Transparency = 0
  6879. v.BrickColor = MAINRUINCOLOR
  6880. v.Material = "Neon"
  6881. end
  6882. end
  6883. for i, v in pairs(mw1:GetChildren()) do
  6884. if v:IsA("Part") then
  6885. v.Transparency = 0
  6886. v.BrickColor = MAINRUINCOLOR
  6887. v.Material = "Neon"
  6888. end
  6889. end
  6890. for i, v in pairs(m:GetChildren()) do
  6891. if v:IsA("Part") then
  6892. v.Transparency = 0
  6893. v.Color = Color3.new(0.5,0.5,0.5)
  6894. v.Material = "Neon"
  6895. end
  6896. end
  6897. for i, v in pairs(m2:GetChildren()) do
  6898. if v:IsA("Part") then
  6899. v.Transparency = 0
  6900. v.Color = Color3.new(0.5,0.5,0.5)
  6901. v.Material = "Neon"
  6902. end
  6903. end
  6904. for i, v in pairs(m3:GetChildren()) do
  6905. if v:IsA("Part") then
  6906. v.Transparency = 0
  6907. v.Color = Color3.new(0.5,0.5,0.5)
  6908. v.Material = "Neon"
  6909. end
  6910. end
  6911. for i, v in pairs(extrawingmod1:GetChildren()) do
  6912. if v:IsA("Part") then
  6913. v.Transparency = 0
  6914. v.Color = Color3.new(0.5,0.5,0.5)
  6915. v.Material = "Neon"
  6916. end
  6917. end
  6918. for i, v in pairs(extrawingmod2:GetChildren()) do
  6919. if v:IsA("Part") then
  6920. v.Transparency = 0
  6921. v.Color = Color3.new(0.5,0.5,0.5)
  6922. v.Material = "Neon"
  6923. end
  6924. attack = false
  6925. end
  6926. elseif k == "f" and attack == false and ModeOfGlitch == 727 then
  6927. resetmode()
  6928. end
  6929. if k == "b" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 666 then
  6930. newThemeCust("rbxassetid://723652641",0,1,1)
  6931. attack = true
  6932. hum.WalkSpeed = 0
  6933. MAINRUINCOLOR = BrickColor.new("Crimson")
  6934. for i = 0, 24, 0.1 do
  6935. swait()
  6936. sphereMK(1,-2,"Add",tors.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,MAINRUINCOLOR,100)
  6937. 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)
  6938. 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)
  6939. 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)
  6940. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6941. 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)
  6942. 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)
  6943. end
  6944. CameraEnshaking(1,1)
  6945. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6946. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  6947. wait(0.000000000001)
  6948. CameraEnshaking(1,2)
  6949. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  6950. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6951. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6952. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  6953. wait(0.000000000001)
  6954. CameraEnshaking(1,3)
  6955. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  6956. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  6957. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  6958. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6959. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6960. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  6961. wait(0.0000000000001)
  6962. CameraEnshaking(10,5)
  6963. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  6964. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  6965. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  6966. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  6967. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
  6968. sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  6969. sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
  6970. sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
  6971. sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
  6972. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  6973. sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
  6974. sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
  6975. sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  6976. sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
  6977. sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
  6978. for i = 0, 49 do
  6979. 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)
  6980. 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)
  6981. 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)
  6982. 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)
  6983. end
  6984. ModeOfGlitch = 666
  6985. storehumanoidWS = 16
  6986. hum.WalkSpeed = 16
  6987. rainbowmode = false
  6988. chaosmode = false
  6989. tl1.Enabled = true
  6990. tl2.Enabled = true
  6991. tl3.Enabled = true
  6992. RecolorTextAndRename("DeStRuCtIoN",Color3.new(1,0,0),Color3.new(0.75,0,0))
  6993. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6994. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6995. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6996. for i, v in pairs(mw2:GetChildren()) do
  6997. if v:IsA("Part") then
  6998. v.BrickColor = MAINRUINCOLOR
  6999. v.Material = "Neon"
  7000. end
  7001. end
  7002. for i, v in pairs(mw1:GetChildren()) do
  7003. if v:IsA("Part") then
  7004. v.Transparency = 0
  7005. v.BrickColor = MAINRUINCOLOR
  7006. v.Material = "Neon"
  7007. end
  7008. end
  7009. for i, v in pairs(m:GetChildren()) do
  7010. if v:IsA("Part") then
  7011. v.Color = Color3.new(1,0,0)
  7012. v.Material = "Neon"
  7013. end
  7014. end
  7015. for i, v in pairs(m2:GetChildren()) do
  7016. if v:IsA("Part") then
  7017. v.Color = Color3.new(1,0,0)
  7018. v.Material = "Neon"
  7019. end
  7020. end
  7021. for i, v in pairs(m3:GetChildren()) do
  7022. if v:IsA("Part") then
  7023. v.Color = Color3.new(1,0,0)
  7024. v.Material = "Neon"
  7025. end
  7026. end
  7027. for i, v in pairs(extrawingmod1:GetChildren()) do
  7028. if v:IsA("Part") then
  7029. v.Transparency = 0
  7030. v.Color = Color3.new(1,0,0)
  7031. v.Material = "Neon"
  7032. end
  7033. end
  7034. for i, v in pairs(extrawingmod2:GetChildren()) do
  7035. if v:IsA("Part") then
  7036. v.Transparency = 0
  7037. v.Color = Color3.new(1,0,0)
  7038. v.Material = "Neon"
  7039. end
  7040. attack = false
  7041. end
  7042. elseif k == "b" and attack == false and ModeOfGlitch == 666 then
  7043. resetmode()
  7044. end
  7045. if k == "l" and toggleTag == false then
  7046. toggleTag = true
  7047. text.TextTransparency = 0
  7048. text.TextStrokeTransparency = 0
  7049. elseif k == "l" and toggleTag == true then
  7050. toggleTag = false
  7051. text.TextTransparency = 1
  7052. text.TextStrokeTransparency = 1
  7053. end
  7054. if k == "z" and attack == false and ModeOfGlitch == 1 then
  7055. ExtinctiveHeartbreak()
  7056. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  7057. PureBomb()
  7058. elseif k == "z" and attack == false and ModeOfGlitch == 777 then
  7059. PureBomb()
  7060. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  7061. scattercorrupt()
  7062. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  7063. ChaosGroundStrike()
  7064. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  7065. Judgement()
  7066. elseif k == "f" and attack == false and ModeOfGlitch == 5 then
  7067. HolyBarrier()
  7068. elseif k == "c" and attack == false and ModeOfGlitch == 12345678987654322 then
  7069. Judgement()
  7070. elseif k == "v" and attack == false and ModeOfGlitch == 12345678987654322 then
  7071. ChaosGroundStrike2()
  7072. elseif k == "x" and attack == false and ModeOfGlitch == 777 then
  7073. Starfall()
  7074. elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then
  7075. Starfall()
  7076. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  7077. yinyangi()
  7078. elseif k == "x" and attack == false and ModeOfGlitch == 6 then
  7079. MeteorStrike()
  7080. elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then
  7081. Wip()
  7082. elseif k == "x" and attack == false and ModeOfGlitch == 6127843 then
  7083. Starfall()
  7084. yinyangi2()
  7085. elseif k == "z" and attack == false and ModeOfGlitch == 12345678987654322 then
  7086. StarfallEX()
  7087. ChaosGroundStrike2()
  7088. yinyangi2()
  7089. elseif k == "z" and attack == false and ModeOfGlitch == 12345678987654321 then
  7090. StarfallEX()
  7091. elseif k == "c" and attack == false and ModeOfGlitch == 12345678987654321 then
  7092. FinalCalam()
  7093. elseif k == "m" and attack == false and ModeOfGlitch == 12345678987654322 then
  7094. FinalCalam()
  7095. end
  7096. if k == "n" and attack == false then
  7097. Blink()
  7098. elseif k == "n" and ModeOfGlitch == 333 then
  7099. Blink()
  7100. elseif k == "x" and attack == false and ModeOfGlitch == 1000000 then
  7101. StarDivision()
  7102. end
  7103. if k == "v" and attack == false and ModeOfGlitch == 12345678987654321 then
  7104. UniversalCollapse()
  7105. end
  7106. if k == "k" and attack == false and ModeOfGlitch == 666 and hum.WalkSpeed < 200 then
  7107. hum.WalkSpeed = 16 + 184
  7108. elseif k == "k" and attack == false and ModeOfGlitch == 666 and hum.WalkSpeed == 200 then
  7109. hum.WalkSpeed = 200 - 184
  7110. end
  7111. if k == "x" and attack == false and ModeOfGlitch == 12345678987654321 then
  7112. UniversalSpark()
  7113. end
  7114. if k == "z" and attack == false and ModeOfGlitch == 666 then
  7115. StarDivision()
  7116. end
  7117. if k == "x" and attack == false and ModeOfGlitch == 666 then
  7118. Starfall()
  7119. end
  7120. if k == "x" and attack == false and ModeOfGlitch == 727 then
  7121. StarDivision()
  7122. end
  7123. if k == "x" and attack == false and ModeOfGlitch == 12345678987654322 then
  7124. StarDivision()
  7125. end
  7126. if k == "x" and attack == false and ModeOfGlitch == 333 then
  7127. StarDivision()
  7128. end
  7129. if k == "c" and attack == false and ModeOfGlitch == 12345678987654322 then
  7130. UniversalSpark()
  7131. end
  7132. if k == "c" and attack == false and ModeOfGlitch == 727 then
  7133. Starfall()
  7134. end
  7135. if k == "z" and attack == false and ModeOfGlitch == 727 then
  7136. MeteorStrike()
  7137. end
  7138. if k == "v" and attack == false and ModeOfGlitch == 727 then
  7139. scattercorrupt2()
  7140. end
  7141. --if k == "k" and stop == false then
  7142. -- stop = true
  7143. -- kan:Pause()
  7144. --elseif k == "k" and stop == true then
  7145. -- kan:Resume()
  7146. -- stop = false
  7147. --end
  7148. if k == "m" and attack == false and ModeOfGlitch == 4 then
  7149. ChaosBegone()
  7150. elseif k == "m" and attack == false and ModeOfGlitch == 1 and ActiveGia == false then
  7151. THEHELLITSTHATBIG()
  7152. elseif k == "m" and attack == false and ModeOfGlitch == 1 and ActiveGia == true then
  7153. removelol()
  7154. end
  7155. end)
  7156. mouse.KeyUp:connect(function(k)
  7157. if k == "." then
  7158. print(ModeOfGlitch)
  7159. end
  7160. if k == "f" and ModeOfGlitch == 5 then
  7161. shielding = false
  7162. end
  7163. if k == "z" and ModeOfGlitch == 5 then
  7164. judgement = false
  7165. end
  7166. if k == "c" and ModeOfGlitch == 12345678987654322 then
  7167. judgement = false
  7168. end
  7169. if k == "c" and ModeOfGlitch == 777 then
  7170. judgement = false
  7171. end
  7172. end)
  7173. coroutine.resume(coroutine.create(function()
  7174. while true do
  7175. swait(2)
  7176. if rainbowmode == true or ModeOfGlitch == 6 then
  7177. if eff == true then
  7178. sphereMK(5,0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),-6,math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),1.5,1.5,10,-0.015,MAINRUINCOLOR,0)
  7179. end
  7180. end
  7181. end
  7182. end))
  7183. coroutine.resume(coroutine.create(function()
  7184. while true do
  7185. swait(2)
  7186. if shielding == true then
  7187. end
  7188. end
  7189. end))
  7190.  
  7191.  
  7192. coroutine.resume(coroutine.create(function()
  7193. while true do
  7194. if ModeOfGlitch == 1000000 then
  7195. swait(0.5)
  7196. end
  7197. swait()
  7198. if ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then
  7199. sphereMK(5,0.5,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-15,15)),math.rad(math.random(-15,15)),0),1,1,15,-0.01,MAINRUINCOLOR,0)
  7200. end
  7201. if ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then
  7202. sphereMK(5,math.random(1,2),"Add",root.CFrame*CFrame.new(math.random(-75,75),-25,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),0),1,1,50,-0.01,MAINRUINCOLOR,0)
  7203. end
  7204. end
  7205. end))
  7206.  
  7207.  
  7208. coroutine.resume(coroutine.create(function()
  7209. while true do
  7210. swait(2)
  7211. if chaosmode == true then
  7212. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  7213. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  7214. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  7215. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color)
  7216. for i, v in pairs(mw1:GetChildren()) do
  7217. if v:IsA("Part") then
  7218. v.Transparency = 0.75
  7219. v.BrickColor = BrickColor.random()
  7220. v.Material = "Neon"
  7221. end
  7222. end
  7223. for i, v in pairs(m2:GetChildren()) do
  7224. if v:IsA("Part") then
  7225. v.BrickColor = BrickColor.random()
  7226. v.Material = "Neon"
  7227. end
  7228. end
  7229. for i, v in pairs(secondchar:GetChildren()) do
  7230. if v:IsA("Part") then
  7231. v.BrickColor = BrickColor.random()
  7232. v.Material = "Neon"
  7233. tr(true)
  7234. tr4.Enabled = false
  7235. tr5.Enabled = false
  7236. tr6.Enabled = false
  7237. tl(true)
  7238. tl4.Enabled = false
  7239. tl5.Enabled = false
  7240. tl6.Enabled = false
  7241. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  7242. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  7243. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  7244. tl4.Color = ColorSequence.new(BrickColor.random().Color)
  7245. tl5.Color = ColorSequence.new(BrickColor.random().Color)
  7246. tl6.Color = ColorSequence.new(BrickColor.random().Color)
  7247. tr1.Color = ColorSequence.new(BrickColor.random().Color)
  7248. tr2.Color = ColorSequence.new(BrickColor.random().Color)
  7249. tr3.Color = ColorSequence.new(BrickColor.random().Color)
  7250. tr4.Color = ColorSequence.new(BrickColor.random().Color)
  7251. tr5.Color = ColorSequence.new(BrickColor.random().Color)
  7252. tr6.Color = ColorSequence.new(BrickColor.random().Color)
  7253. end
  7254. end
  7255. end
  7256. end
  7257. end))
  7258. Humanoid.Name = "STARGLITCHER"
  7259. Humanoid.MaxHealth = math.huge
  7260. Humanoid.Health = math.huge
  7261. Instance.new("ForceField",char).Visible = false
  7262. Humanoid.Animator.Parent = nil
  7263. idleanim=.4
  7264. while true do
  7265. if rainbowmode == false then
  7266. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7267. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7268. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7269. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7270. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7271. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7272. for i, v in pairs(secondchar:GetChildren()) do
  7273. if v:IsA("Part") then
  7274. v.BrickColor = MAINRUINCOLOR
  7275. v.Material = "Neon"
  7276. end
  7277. end
  7278. if chaosmode == false then
  7279. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7280. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7281. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7282. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7283. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7284. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7285. tl4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7286. tl5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7287. tl6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7288. tr4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7289. tr5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7290. tr6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7291.  
  7292. for i, v in pairs(secondchar:GetChildren()) do
  7293. if v:IsA("Part") then
  7294. v.BrickColor = MAINRUINCOLOR
  7295. v.Material = "Neon"
  7296. end
  7297. end
  7298. end
  7299. end
  7300. if rainbowmode == true then
  7301. RecolorTextAndRename("RAINBOW",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
  7302. MAINRUINCOLOR = BrickColor.new("White")
  7303. tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7304. tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7305. tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7306. tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7307. tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7308. tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7309. tr4.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7310. tr5.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7311. tr6.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7312. tl4.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7313. tl5.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7314. tl6.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7315. for i, v in pairs(m:GetChildren()) do
  7316. if v:IsA("Part") then
  7317. v.Color = Color3.new(r/255,g/255,b/255)
  7318. end
  7319. end
  7320. for i, v in pairs(m2:GetChildren()) do
  7321. if v:IsA("Part") then
  7322. v.Color = Color3.new(r/255,g/255,b/255)
  7323. end
  7324. end
  7325. for i, v in pairs(secondchar:GetChildren()) do
  7326. if v:IsA("Part") then
  7327. v.Color = Color3.new(r/255,g/255,b/255)
  7328. v.Material = "Neon"
  7329. end
  7330. end
  7331. for i, v in pairs(m3:GetChildren()) do
  7332. if v:IsA("Part") then
  7333. v.Color = Color3.new(r/255,g/255,b/255)
  7334. end
  7335. end
  7336. for i, v in pairs(mw1:GetChildren()) do
  7337. if v:IsA("Part") then
  7338. v.Color = Color3.new(r/255,g/255,b/255)
  7339. v.Material = "Neon"
  7340. end
  7341. end
  7342. for i, v in pairs(mw2:GetChildren()) do
  7343. if v:IsA("Part") then
  7344. v.Color = Color3.new(r/255,g/255,b/255)
  7345. v.Material = "Neon"
  7346. end
  7347. end
  7348. end
  7349. CameraManager()
  7350. swait()
  7351. lwing1weld.C1=Clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3)
  7352. lwing2weld.C1=Clerp(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3)
  7353. lwing3weld.C1=Clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3)
  7354. lwing4weld.C1=Clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3)
  7355. lwing5weld.C1=Clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3)
  7356. lwing6weld.C1=Clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3)
  7357.  
  7358. if attack == false and ActiveGia == false then
  7359. torsweld.C1=Clerp(torsweld.C1,cf(2,5*4,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  7360. larmsweld.C1=Clerp(larmsweld.C1,cf(1.65*8,0.25*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),1)
  7361. rarmsweld.C1=Clerp(rarmsweld.C1,cf(-1.65*8,0.25*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),1)
  7362. llegsweld.C1=Clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  7363. rlegsweld.C1=Clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  7364. hedsweld.C1=Clerp(hedsweld.C1,cf(0,-1.5*8,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),1)
  7365. elseif attack == false and ActiveGia == true then
  7366. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 727 and ModeOfGlitch ~= 666 and ModeOfGlitch ~= 18022547 then
  7367. torsweld.C1=Clerp(torsweld.C1,cf(0,-2 + 0.25 * math.cos(sine / 32) ,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.025)
  7368. larmsweld.C1=Clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(20)),0.025)
  7369. rarmsweld.C1=Clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(-20)),0.025)
  7370. llegsweld.C1=Clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  7371. rlegsweld.C1=Clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  7372. hedsweld.C1=Clerp(hedsweld.C1,cf(0,-1.5*8,-0.2)*angles(math.rad(10),math.rad(0),math.rad(0)),0.025)
  7373. elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 727 or ModeOfGlitch == 666 or ModeOfGlitch == 333 then
  7374. torsweld.C1=Clerp(torsweld.C1,cf(0,-25 + 0.5 * math.cos(sine / 32) ,-8)*angles(math.rad(20),math.rad(0),math.rad(0)),.025)
  7375. larmsweld.C1=Clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(20)),0.025)
  7376. rarmsweld.C1=Clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(-20)),0.025)
  7377. llegsweld.C1=Clerp(llegsweld.C1,cf(0.5*8,1.5*8,0.6*8)*angles(math.rad(20),math.rad(0),math.rad(0)),0.025)
  7378. rlegsweld.C1=Clerp(rlegsweld.C1,cf(-0.5*8,2*8,0.11*8)*angles(math.rad(10),math.rad(0),math.rad(0)),0.025)
  7379. hedsweld.C1=Clerp(hedsweld.C1,cf(0,-1.5*8,-0.2)*angles(math.rad(5),math.rad(0),math.rad(0)),0.025)
  7380. end
  7381. end
  7382.  
  7383. rwing1weld.C1=Clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3)
  7384. rwing2weld.C1=Clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3)
  7385. rwing3weld.C1=Clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3)
  7386. rwing4weld.C1=Clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3)
  7387. rwing5weld.C1=Clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3)
  7388. rwing6weld.C1=Clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3)
  7389. sine = sine + change
  7390. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  7391. local velderp=RootPart.Velocity.y
  7392. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  7393. if equipped==true or equipped==false then
  7394. if attack==false then
  7395. idle=idle+1
  7396. else
  7397. idle=0
  7398. end
  7399. if idle>=500 then
  7400. if attack==false then
  7401. --Sheath()
  7402. end
  7403. end
  7404. if RootPart.Velocity.y > 1 and hitfloor==nil then
  7405. Anim="Jump"
  7406. if attack==false then
  7407. 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(-5),math.rad(0),math.rad(-20)),.1)
  7408. 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)
  7409. 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)
  7410. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  7411. 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)
  7412. 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)
  7413. end
  7414. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  7415. Anim="Fall"
  7416. if attack==false then
  7417. 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(-5),math.rad(0),math.rad(-20)),.1)
  7418. 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)
  7419. RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7420. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7421. RW.C0=Clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(50)),.1)
  7422. LW.C0=Clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(-50)),.1)
  7423. end
  7424. elseif torvel<1 and hitfloor~=nil then
  7425. Anim="Idle"
  7426. if attack==false then
  7427. if ModeOfGlitch == 1 then
  7428. RH.C0=Clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1)
  7429. LH.C0=Clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
  7430. RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1)
  7431. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2.5 * math.cos(sine / 32)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(-20 - 5 * math.cos(sine / 0.465))),.1)
  7432. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1)
  7433. LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  7434.  
  7435. elseif ModeOfGlitch == 666 then
  7436. RH.C0=Clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1)
  7437. LH.C0=Clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
  7438. RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1)
  7439. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  7440. 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)
  7441. 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)
  7442.  
  7443. elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 then
  7444. 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(-7.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  7445. 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)
  7446. 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)
  7447. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  7448. RW.C0=Clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
  7449. LW.C0=Clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  7450.  
  7451. elseif ModeOfGlitch == 3 then
  7452. 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)
  7453. LH.C0=Clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(20),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  7454. RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-20)),.1)
  7455. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1)
  7456. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1)
  7457. LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1)
  7458.  
  7459. elseif ModeOfGlitch == 4 then
  7460. RH.C0=Clerp(RH.C0,cf(1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(20)),.1)
  7461. LH.C0=Clerp(LH.C0,cf(-1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-20)),.1)
  7462. RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.025 * math.cos(sine / 32))*angles(math.rad(20 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  7463. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1)
  7464. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6))),.1)
  7465. LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23))),.1)
  7466.  
  7467. elseif ModeOfGlitch == 5 or ModeOfGlitch == 777 then
  7468. 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)
  7469. 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)
  7470. 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)
  7471. 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)
  7472. RW.C0=Clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(-30)),.1)
  7473. 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)
  7474.  
  7475. elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 then
  7476. --ModeOfGlitch == 333
  7477. 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)
  7478. 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)
  7479. RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7480. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7481. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
  7482. LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
  7483.  
  7484. elseif ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 333 or ModeOfGlitch == 18022547 then
  7485. 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)
  7486. 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)
  7487. RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-40)),.1)
  7488. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(40)),.1)
  7489. RW.C0=Clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
  7490. LW.C0=Clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  7491.  
  7492. elseif ModeOfGlitch == 727 or ModeOfGlitch == 12345678987654322 then
  7493. 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)
  7494. 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)
  7495. RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-40)),.1)
  7496. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(40)),.1)
  7497. RW.C0=Clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
  7498. LW.C0=Clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  7499. end
  7500. end
  7501. elseif torvel>2 and torvel<50 and hitfloor~=nil then
  7502. Anim="Walk"
  7503. if attack==false then
  7504. if ModeOfGlitch == 1 then
  7505. RH.C0=Clerp(RH.C0,cf(1,-0.85,-0.15 - 0.15 * math.cos(sine / 4))*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 + 25 * math.cos(sine / 8))),.1)
  7506. LH.C0=Clerp(LH.C0,cf(-1,-0.85,-0.15 + 0.15 * math.cos(sine / 4))*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 + 25 * math.cos(sine / 8))),.1)
  7507. RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1)
  7508. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 5 * math.cos(sine / 0.325)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 + 5 * math.cos(sine / 8))),.1)
  7509. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1)
  7510. LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  7511. --or ModeOfGlitch == 333
  7512. elseif ModeOfGlitch == 4 or ModeOfGlitch == 666 then
  7513. RH.C0=Clerp(RH.C0,cf(1,-0.85,-0.15 - 0.15 * math.cos(sine / 8))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 12)),math.rad(5 + 25 * math.cos(sine / 12))),.1)
  7514. LH.C0=Clerp(LH.C0,cf(-1,-0.85,-0.15 + 0.15 * math.cos(sine / 8))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 12)),math.rad(-5 + 25 * math.cos(sine / 12))),.1)
  7515. RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 8))*angles(math.rad(12.5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 12))),.1)
  7516. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1)
  7517. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 - 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6))),.1)
  7518. LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10 + 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23))),.1)
  7519.  
  7520. elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 or ModeOfGlitch ~= 666 then
  7521. RH.C0=Clerp(RH.C0,cf(1,-0.85,-0.15 - 0.15 * math.cos(sine / 4))*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 + 25 * math.cos(sine / 8))),.1)
  7522. LH.C0=Clerp(LH.C0,cf(-1,-0.85,-0.15 + 0.15 * math.cos(sine / 4))*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 + 25 * math.cos(sine / 8))),.1)
  7523. RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1)
  7524. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 5 * math.cos(sine / 8))),.1)
  7525. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1)
  7526. LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 45 * math.cos(sine / 8)),math.rad(0),math.rad(-10 + 10 * math.cos(sine / 4))),.1)
  7527. end
  7528. end
  7529. elseif torvel>=22 and hitfloor~=nil then
  7530. Anim="Run"
  7531. if attack==false then
  7532. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 727 and ModeOfGlitch ~= 666 and ModeOfGlitch ~= 333 and ModeOfGlitch == 18022547 then
  7533. RH.C0=Clerp(RH.C0,cf(1,-0.75 - 0.25 * math.cos(sine / 3),-0.25 - 0.25 * math.cos(sine / 3))*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)
  7534. LH.C0=Clerp(LH.C0,cf(-1,-0.75 + 0.25 * math.cos(sine / 3),-0.25 + 0.25 * math.cos(sine / 3))*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)
  7535. RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + 0.125 * math.cos(sine / 3))*angles(math.rad(20),math.rad(0),math.rad(0 - 15 * math.cos(sine / 6))),.1)
  7536. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 15 * math.cos(sine / 6))),.1)
  7537. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 155 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 3))),.1)
  7538. LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 155 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 3))),.1)
  7539. elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 727 or ModeOfGlitch == 666 or ModeOfGlitch == 333 or ModeOfGlitch == 18022547 then
  7540. 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)
  7541. 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)
  7542. 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)
  7543. Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  7544. RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30 + 2.5 * math.cos(sine / 28))),.2)
  7545. LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30 - 2.5 * math.cos(sine / 28))),.2)
  7546. end
  7547. end
  7548. end
  7549. end
  7550. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement