Advertisement
GojiGaming1337

DED NOT BIG SOUP RICE

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