Advertisement
Tetezaza1542

star edit อีกแล้ว

Sep 17th, 2018
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 223.51 KB | None | 0 0
  1. --//Paste script below this line.
  2.  
  3. warn([[Galaxy Glitcher Loaded.
  4. The third glitcher, once as the core is now new.
  5.  
  6. Created by Tc
  7. ]])
  8.  
  9. ---------Wielder list as of OCs:---------
  10. -- ??? (Nothing such as this yet, but wields all the Glitchers. What you're asking it's the creator.)
  11. -- Void Emily (OC of mine, can lead to any modes and mainly leading to LOVE and HARMONY, she's obviously shy sometimes.)
  12. -- Lunaria Floodio (Second OC, can lead to any modes.)
  13. -- Gacharix (Third OC, can lead to any modes and mainly leading to AZURE X, very corrupted person.)
  14. -----------------------------------------
  15.  
  16. print([[Icons:
  17. ! = New
  18. ? = Spoilers
  19. * = Exclusivity
  20. C = Changes
  21.  
  22. ]])
  23. warn([[V 3.2 Update Log:
  24. C - Huge revamp of wings.
  25. C - Walk and running are now tiltable on where you go on a side.
  26. C - Huge slight changes on all of the mode's idles.
  27. C - Even more effect changes.
  28. !C* - Love mode has been added.
  29. !C* - Love mode's transformation added..
  30. !* - Love mode's taunt added... (why.. ;~;)
  31. C - Death effect has been improved.
  32. C - Binary's Z is imporvably changed
  33. ? - Nothing seems to be new yet..
  34. ? - Some modes will have moves sooner.
  35.  
  36. Commands for visualiser mode: play/, vol/, pitch/, skipto/, telltime/]])
  37. ---- IMPORTANT READING:
  38. ---- Sources and functions might be taken from others
  39. plr = game.Players.LocalPlayer
  40.  
  41. script.Parent = workspace.CurrentCamera
  42. plr.CharacterAdded:connect(function()
  43. script.Disabled = true
  44. script:destroy()
  45. end)
  46.  
  47. char = plr.Character
  48. hum = char.Humanoid
  49. local cam = game.Workspace.CurrentCamera
  50. Camera = cam
  51. local CamInterrupt = false
  52. local TwoD = false
  53. local TargetInfo = {nil, nil}
  54. cam.CameraType = "Custom"
  55. t = char.Torso
  56. h = char.Head
  57. ra = char["Right Arm"]
  58. la = char["Left Arm"]
  59. rl = char["Right Leg"]
  60. ll = char["Left Leg"]
  61. tors = char.Torso
  62. lleg = char["Left Leg"]
  63. root = char.HumanoidRootPart
  64. hed = char.Head
  65. rleg = char["Right Leg"]
  66. rarm = char["Right Arm"]
  67. larm = char["Left Arm"]
  68. radian = math.rad
  69. random = math.random
  70. Vec3 = Vector3.new
  71. Inst = Instance.new
  72. cFrame = CFrame.new
  73. Euler = CFrame.fromEulerAnglesXYZ
  74. vt = Vector3.new
  75. bc = BrickColor.new
  76. br = BrickColor.random
  77. it = Instance.new
  78. cf = CFrame.new
  79.  
  80.  
  81. local Booleans = {
  82. CamFollow = true,
  83. GyroUse = true
  84. }
  85.  
  86. function lerp(object, newCFrame, alpha)
  87. return object:lerp(newCFrame, alpha)
  88. end
  89.  
  90. local Directer = Inst("BodyGyro", root)
  91. Directer.MaxTorque = Vec3(0, 0, 0)
  92. Directer.P = 600000
  93. local CPart = Inst("Part")
  94. CPart.Anchored = true
  95. CPart.CanCollide = false
  96. CPart.Locked = true
  97. CPart.Transparency = 1
  98.  
  99. local rainbowmode = false
  100. local chaosmode = false
  101. local duringend = false
  102. local ModeOfGlitch = 1
  103.  
  104. local kan = Instance.new("Sound",char)
  105. kan.Volume = 1.25
  106. kan.TimePosition = 0
  107. kan.PlaybackSpeed = 1
  108. kan.Pitch = 1.01
  109. kan.SoundId = "rbxassetid://435773595"
  110. kan.Name = "wreckeda"
  111. kan.Looped = true
  112. kan:Play()
  113.  
  114. local currentThemePlaying = kan.SoundId
  115. local currentPitch = kan.Pitch
  116. local currentVol = kan.Volume
  117. function newTheme(ID,timepos,pitch,vol)
  118. local kanz = kan
  119. --kanz:Stop()
  120. kanz.Volume = vol
  121. --kanz.TimePosition = timepos
  122. kanz.PlaybackSpeed = pitch
  123. kanz.Pitch = pitch
  124. kanz.SoundId = ID
  125. kanz.Name = "wrecked"
  126. kanz.Looped = true
  127. currentThemePlaying = kanz.SoundId
  128. currentVol = kanz.Volume
  129. currentPitch = kanz.Pitch
  130. --kanz:Play()
  131. --coroutine.resume(coroutine.create(function()
  132. --wait(0.05)
  133. --end))
  134. end
  135.  
  136.  
  137. function newThemeCust(ID,timepos,pitch,vol)
  138. local kanz = kan
  139. kanz:Stop()
  140. kanz.Volume = vol
  141. kanz.TimePosition = timepos
  142. kanz.PlaybackSpeed = pitch
  143. kanz.Pitch = pitch
  144. kanz.SoundId = ID
  145. kanz.Name = "wrecked"
  146. kanz.Looped = true
  147. currentThemePlaying = kanz.SoundId
  148. currentVol = kanz.Volume
  149. currentPitch = kanz.Pitch
  150. kanz:Play()
  151. coroutine.resume(coroutine.create(function()
  152. wait(0.05)
  153. end))
  154. end
  155.  
  156. local mutedtog = false
  157.  
  158. function CameraEnshaking(Length,Intensity)
  159. coroutine.resume(coroutine.create(function()
  160. local intensity = 1*Intensity
  161. local rotM = 0.01*Intensity
  162. for i = 0, Length, 0.1 do
  163. swait()
  164. intensity = intensity - 0.05*Intensity/Length
  165. rotM = rotM - 0.0005*Intensity/Length
  166. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  167. 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)
  168. end
  169. Humanoid.CameraOffset = Vec3(0, 0, 0)
  170. end))
  171. end
  172. CamShake=function(Part,Distan,Power,Times)
  173. local de=Part.Position
  174. for i,v in pairs(workspace:children()) do
  175. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  176. for _,c in pairs(v:children()) do
  177. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  178. local Noob=v.Humanoid
  179. if Noob~=nil then
  180. coroutine.resume(coroutine.create(function()
  181. FV = Instance.new("BoolValue", Noob)
  182. FV.Name = "CameraShake"
  183. for ShakeNum=1,Times do
  184. swait()
  185. local ef=Power
  186. if ef>=1 then
  187. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  188. else
  189. ef=Power*10
  190. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  191. end
  192. end
  193. Humanoid.CameraOffset = Vector3.new(0,0,0)
  194. FV:Destroy()
  195. end))
  196. CameraShake(Times, Power, Noob)
  197. end
  198. end
  199. end
  200. end
  201. end
  202. end
  203.  
  204. local toggleTag = true
  205. local bilguit = Instance.new("BillboardGui", hed)
  206. bilguit.Adornee = nil
  207. bilguit.Name = "ModeName"
  208. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  209. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  210. local modet = Instance.new("TextLabel", bilguit)
  211. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  212. modet.FontSize = "Size8"
  213. modet.TextScaled = true
  214. modet.TextTransparency = 0
  215. modet.BackgroundTransparency = 1
  216. modet.TextTransparency = 0
  217. modet.TextStrokeTransparency = 0
  218. modet.Font = "Code"
  219. modet.TextStrokeColor3 = Color3.new(0,0,0)
  220. modet.TextColor3 = Color3.new(1,1,1)
  221. modet.Text = "Enlightened"
  222.  
  223.  
  224. function chatfunc(text,color,typet,font,timeex)
  225. local chat = coroutine.wrap(function()
  226. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  227. Character:FindFirstChild("TalkingBillBoard"):destroy()
  228. end
  229. local naeeym2 = Instance.new("BillboardGui",Character)
  230. naeeym2.Size = UDim2.new(0,100,0,40)
  231. naeeym2.StudsOffset = Vector3.new(0,3,0)
  232. naeeym2.Adornee = Character.Head
  233. naeeym2.Name = "TalkingBillBoard"
  234. local tecks2 = Instance.new("TextLabel",naeeym2)
  235. tecks2.BackgroundTransparency = 1
  236. tecks2.BorderSizePixel = 0
  237. tecks2.Text = ""
  238. tecks2.Font = font
  239. tecks2.TextSize = 30
  240. tecks2.TextStrokeTransparency = 0
  241. tecks2.TextColor3 = color
  242. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  243. tecks2.Size = UDim2.new(1,0,0.5,0)
  244. local tecks3 = Instance.new("TextLabel",naeeym2)
  245. tecks3.BackgroundTransparency = 1
  246. tecks3.BorderSizePixel = 0
  247. tecks3.Text = ""
  248. tecks3.Font = font
  249. tecks3.TextSize = 30
  250. tecks3.TextStrokeTransparency = 0
  251. if typet == "Inverted" then
  252. tecks3.TextColor3 = Color3.new(0,0,0)
  253. tecks3.TextStrokeColor3 = color
  254. elseif typet == "Normal" then
  255. tecks3.TextColor3 = color
  256. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  257. end
  258. tecks3.Size = UDim2.new(1,0,0.5,0)
  259. coroutine.resume(coroutine.create(function()
  260. while true do
  261. swait(1)
  262. if chaosmode == true then
  263. tecks2.TextColor3 = BrickColor.random().Color
  264. tecks3.TextStrokeColor3 = BrickColor.random().Color
  265. end
  266. end
  267. end))
  268. modet.TextTransparency = modet.TextTransparency + 1
  269. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  270. for i = 0, 74*timeex do
  271. swait()
  272. modet.TextTransparency = 1
  273. modet.TextStrokeTransparency = 1
  274. tecks2.Text = text
  275. tecks3.Text = text
  276. end
  277. local randomrot = math.random(1,2)
  278. if randomrot == 1 then
  279. for i = 1, 50 do
  280. swait()
  281. tecks2.Text = text
  282. tecks3.Text = text
  283. modet.TextTransparency = modet.TextTransparency - .02
  284. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  285. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  286. tecks2.TextTransparency = tecks2.TextTransparency + .04
  287. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  288. tecks3.TextTransparency = tecks2.TextTransparency + .04
  289. end
  290. elseif randomrot == 2 then
  291. for i = 1, 50 do
  292. swait()
  293. tecks2.Text = text
  294. tecks3.Text = text
  295. modet.TextTransparency = modet.TextTransparency - .02
  296. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  297. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  298. tecks2.TextTransparency = tecks2.TextTransparency + .04
  299. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  300. tecks3.TextTransparency = tecks2.TextTransparency + .04
  301. end
  302. end
  303. modet.TextTransparency = 0
  304. modet.TextStrokeTransparency = 0
  305. if toggleTag == false then
  306. modet.TextTransparency = 1
  307. modet.TextStrokeTransparency = 1
  308. end
  309. naeeym2:Destroy()
  310. end)
  311. chat()
  312. end
  313.  
  314.  
  315. local Create = LoadLibrary("RbxUtility").Create
  316.  
  317. CFuncs = {
  318. ["Part"] = {
  319. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  320. local Part = Create("Part"){
  321. Parent = Parent,
  322. Reflectance = Reflectance,
  323. Transparency = Transparency,
  324. CanCollide = false,
  325. Locked = true,
  326. BrickColor = BrickColor.new(tostring(BColor)),
  327. Name = Name,
  328. Size = Size,
  329. Material = Material,
  330. }
  331. RemoveOutlines(Part)
  332. return Part
  333. end;
  334. };
  335.  
  336. ["Mesh"] = {
  337. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  338. local Msh = Create(Mesh){
  339. Parent = Part,
  340. Offset = OffSet,
  341. Scale = Scale,
  342. }
  343. if Mesh == "SpecialMesh" then
  344. Msh.MeshType = MeshType
  345. Msh.MeshId = MeshId
  346. end
  347. return Msh
  348. end;
  349. };
  350.  
  351. ["Mesh"] = {
  352. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  353. local Msh = Create(Mesh){
  354. Parent = Part,
  355. Offset = OffSet,
  356. Scale = Scale,
  357. }
  358. if Mesh == "SpecialMesh" then
  359. Msh.MeshType = MeshType
  360. Msh.MeshId = MeshId
  361. end
  362. return Msh
  363. end;
  364. };
  365.  
  366. ["Weld"] = {
  367. Create = function(Parent, Part0, Part1, C0, C1)
  368. local Weld = Create("Weld"){
  369. Parent = Parent,
  370. Part0 = Part0,
  371. Part1 = Part1,
  372. C0 = C0,
  373. C1 = C1,
  374. }
  375. return Weld
  376. end;
  377. };
  378.  
  379. ["Sound"] = {
  380. Create = function(id, par, vol, pit)
  381. coroutine.resume(coroutine.create(function()
  382. local S = Create("Sound"){
  383. Volume = vol,
  384. Name = "EffectSoundo",
  385. Pitch = pit or 1,
  386. SoundId = id,
  387. Parent = par or workspace,
  388. }
  389. wait()
  390. S:play()
  391. game:GetService("Debris"):AddItem(S, 10)
  392. end))
  393. end;
  394. };
  395.  
  396. ["LongSound"] = {
  397. Create = function(id, par, vol, pit)
  398. coroutine.resume(coroutine.create(function()
  399. local S = Create("Sound"){
  400. Volume = vol,
  401. Pitch = pit or 1,
  402. SoundId = id,
  403. Parent = par or workspace,
  404. }
  405. wait()
  406. S:play()
  407. game:GetService("Debris"):AddItem(S, 60)
  408. end))
  409. end;
  410. };
  411.  
  412. ["ParticleEmitter"] = {
  413. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  414. local fp = Create("ParticleEmitter"){
  415. Parent = Parent,
  416. Color = ColorSequence.new(Color1, Color2),
  417. LightEmission = LightEmission,
  418. Size = Size,
  419. Texture = Texture,
  420. Transparency = Transparency,
  421. ZOffset = ZOffset,
  422. Acceleration = Accel,
  423. Drag = Drag,
  424. LockedToPart = LockedToPart,
  425. VelocityInheritance = VelocityInheritance,
  426. EmissionDirection = EmissionDirection,
  427. Enabled = Enabled,
  428. Lifetime = LifeTime,
  429. Rate = Rate,
  430. Rotation = Rotation,
  431. RotSpeed = RotSpeed,
  432. Speed = Speed,
  433. VelocitySpread = VelocitySpread,
  434. }
  435. return fp
  436. end;
  437. };
  438.  
  439. CreateTemplate = {
  440.  
  441. };
  442. }
  443.  
  444.  
  445.  
  446. New = function(Object, Parent, Name, Data)
  447. local Object = Instance.new(Object)
  448. for Index, Value in pairs(Data or {}) do
  449. Object[Index] = Value
  450. end
  451. Object.Parent = Parent
  452. Object.Name = Name
  453. return Object
  454. end
  455. local halocolor = BrickColor.new("Pastel light blue")
  456. local halocolor2 = BrickColor.new("Cool yellow")
  457. local starcolor = BrickColor.new("Bright yellow")
  458. local lunacolor = BrickColor.new("Navy blue")
  459. local lunacolor2 = BrickColor.new("Bright blue")
  460. local wepcolor = BrickColor.new("Really black")
  461. local maincolor = BrickColor.new("Really black")
  462. local m = Instance.new("Model",char)
  463. local m2 = Instance.new("Model",char)
  464. local m3 = Instance.new("Model",char)
  465. local mw1 = Instance.new("Model",char)
  466. local mw2 = Instance.new("Model",char)
  467.  
  468.  
  469. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  470. local gui = it(GuiType)
  471. gui.Parent = parent
  472. gui.Text = text
  473. gui.BackgroundTransparency = backtrans
  474. gui.BackgroundColor3 = backcol
  475. gui.SizeConstraint = "RelativeXY"
  476. gui.TextXAlignment = "Center"
  477. gui.TextYAlignment = "Center"
  478. gui.Position = pos
  479. gui.Size = size
  480. gui.Font = "SourceSans"
  481. gui.FontSize = "Size14"
  482. gui.TextWrapped = false
  483. gui.TextStrokeTransparency = 0
  484. gui.TextColor = BrickColor.new("White")
  485. return gui
  486. end
  487. ---- GUI set
  488. local basgui = it("GuiMain")
  489. basgui.Parent = plr.PlayerGui
  490. basgui.Name = "Killcounter GUI"
  491. local basframe = it("Frame")
  492. basframe.Parent = basgui
  493. basframe.BackgroundColor3 = Color3.new(255, 255, 255)
  494. basframe.BackgroundTransparency = 1
  495. basframe.BorderColor3 = Color3.new(17, 17, 17)
  496. basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
  497. basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
  498. local uhh = gui("TextLabel", basframe, "Basic", 0.5, BrickColor.new("Really black").Color, UDim2.new(-0.5, 0, 0.45, 0), UDim2.new(1.5, 0, 0.55, 0))
  499. uhh.ZIndex = 2
  500. uhh.Font = "Bodoni"
  501. uhh.TextStrokeColor3 = Color3.new(0.05,0.05,0.05)
  502. uhh.TextColor3 = Color3.new(1,1,1)
  503. uhh.BackgroundTransparency = 0.25
  504. uhh.BorderSizePixel = 2
  505. uhh.BorderColor3 = Color3.new(0,0,0)
  506. uhh.TextScaled = true
  507. uhh.TextXAlignment = "Left"
  508. uhh.Text = "SWITCH MODE: 1-9"
  509. uhh.TextSize = 64
  510. local modeteller = gui("TextLabel", basframe, "Basic", 0.5, BrickColor.new("Really black").Color, UDim2.new(-0, 0, -0.01, 0), UDim2.new(1, 0, 0.45, 0))
  511. modeteller.ZIndex = 2
  512. modeteller.Font = "Bodoni"
  513. modeteller.TextStrokeColor3 = Color3.new(0.05,0.05,0.05)
  514. modeteller.TextColor3 = Color3.new(1,1,1)
  515. modeteller.BackgroundTransparency = 0.25
  516. modeteller.BorderSizePixel = 2
  517. modeteller.BorderColor3 = Color3.new(0,0,0)
  518. modeteller.TextScaled = true
  519. modeteller.TextXAlignment = "Right"
  520. modeteller.Text = "MAYHEM"
  521. modeteller.TextSize = 64
  522.  
  523. local extrawingmod1 = Instance.new("Model",char)
  524. local extrawingmod2 = Instance.new("Model",char)
  525.  
  526. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  527. local p = Instance.new("Part")
  528. p.TopSurface = 0
  529. p.BottomSurface = 0
  530. p.Parent = parent
  531. p.Size = Vector3.new(0.1,0.1,0.1)
  532. p.Transparency = transparency
  533. p.Reflectance = reflectance
  534. p.CanCollide = false
  535. p.Locked = true
  536. p.BrickColor = brickcolor
  537. p.Material = material
  538. return p
  539. end
  540.  
  541. function CreateMesh(parent,meshtype,x1,y1,z1)
  542. local mesh = Instance.new("SpecialMesh",parent)
  543. mesh.MeshType = meshtype
  544. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  545. return mesh
  546. end
  547.  
  548. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  549. local mesh = Instance.new("SpecialMesh",parent)
  550. mesh.MeshType = "FileMesh"
  551. mesh.MeshId = meshid
  552. mesh.Scale = Vector3.new(x1,y1,z1)
  553. return mesh
  554. end
  555.  
  556.  
  557. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  558. local mesh = Instance.new("SpecialMesh",parent)
  559. mesh.MeshType = "FileMesh"
  560. mesh.MeshId = meshid
  561. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  562. mesh.Scale = Vector3.new(x1,y1,z1)
  563. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  564. return mesh
  565. end
  566.  
  567. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  568. local weld = Instance.new("Weld")
  569. weld.Parent = parent
  570. weld.Part0 = part0
  571. weld.Part1 = part1
  572. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  573. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  574. return weld
  575. end
  576.  
  577.  
  578. --------------
  579. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  580. 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))
  581. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  582. 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))
  583.  
  584. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  585. CreateMesh(handle,"Brick",0,0,0)
  586. 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))
  587. local valuaring = 10
  588.  
  589. local refec = Instance.new("ParticleEmitter",handlex)
  590. refec.Texture = "rbxassetid://284205403"
  591. refec.LightEmission = 0.95
  592. refec.Color = ColorSequence.new(BrickColor.new("White").Color)
  593. refec.Rate = 50
  594. refec.Lifetime = NumberRange.new(0.5)
  595. refec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.5,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  596. refec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  597. refec.Speed = NumberRange.new(0,2)
  598. refec.Drag = 5
  599. refec.LockedToPart = true
  600. refec.Rotation = NumberRange.new(-500,500)
  601. refec.VelocitySpread = 9000
  602. refec.RotSpeed = NumberRange.new(-500,500)
  603. local refec2 = refec:Clone()
  604. refec2.LightEmission = 0.75
  605. refec2.Texture = "rbxassetid://254287058"
  606. refec2.Parent = handlex
  607. refec2.Rate = 25
  608. refec2.Lifetime = NumberRange.new(0.75)
  609. refec2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.5,0),NumberSequenceKeypoint.new(0.15,1,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  610. refec2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.65,0),NumberSequenceKeypoint.new(1,1,0)})
  611. refec2.Speed = NumberRange.new(0)
  612. local refec3 = refec:Clone()
  613. refec3.LightEmission = 0.75
  614. refec3.Texture = "rbxassetid://363275192"
  615. refec3.Parent = handlex
  616. refec3.Rate = 25
  617. refec3.Lifetime = NumberRange.new(1)
  618. refec3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0.1,0)})
  619. refec3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.65,0),NumberSequenceKeypoint.new(1,1,0)})
  620. refec3.Speed = NumberRange.new(0)
  621. refec3.RotSpeed = NumberRange.new(-50,50)
  622.  
  623. for i = 0, 35 do
  624. valuaring = valuaring + 10
  625. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  626. CreateMesh(rn,"Wedge",0.1,0.5,0.1)
  627. CreateWeld(rn,handlex,rn,0,0.75,0,math.rad(0),math.rad(-90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  628. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  629. CreateMesh(rn,"Wedge",0.1,0.5,0.1)
  630. CreateWeld(rn,handlex,rn,0,0.75,0,math.rad(0),math.rad(90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  631. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  632. CreateMesh(rn,"Wedge",0.1,0.2,0.05)
  633. CreateWeld(rn,handlex,rn,0,-1.1,0.025,math.rad(0),math.rad(-90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  634. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  635. CreateMesh(rn,"Wedge",0.1,0.2,0.05)
  636. CreateWeld(rn,handlex,rn,0,-1.1,0.025,math.rad(0),math.rad(90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  637. end
  638.  
  639.  
  640. local handle = CreateParta(m,1,1,"Neon",maincolor)
  641. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  642. 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))
  643.  
  644. --- Left wing.
  645.  
  646. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  647. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  648. 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))
  649.  
  650. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  651. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  652. 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))
  653. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  654. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  655. 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))
  656. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  657. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  658. CreateWeld(wed,lwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  659. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  660. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  661. CreateWeld(wed,lwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  662. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  663. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  664. CreateWeld(wed,lwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  665. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  666. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  667. CreateWeld(wed,lwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  668. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  669. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  670. 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))
  671. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  672. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  673. 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))
  674. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  675. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  676. CreateWeld(wed,lwing1,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  677. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  678. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  679. CreateWeld(wed,lwing1,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  680.  
  681.  
  682. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  683. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  684. 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))
  685.  
  686. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  687. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  688. 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))
  689. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  690. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  691. 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))
  692. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  693. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  694. CreateWeld(wed,lwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  695. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  696. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  697. CreateWeld(wed,lwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  698. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  699. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  700. CreateWeld(wed,lwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  701. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  702. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  703. CreateWeld(wed,lwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  704. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  705. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  706. 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))
  707. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  708. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  709. 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))
  710. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  711. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  712. CreateWeld(wed,lwing2,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  713. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  714. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  715. CreateWeld(wed,lwing2,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  716.  
  717. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  718. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  719. 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))
  720.  
  721. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  722. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  723. 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))
  724. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  725. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  726. 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))
  727. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  728. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  729. CreateWeld(wed,lwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  730. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  731. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  732. CreateWeld(wed,lwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  733. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  734. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  735. CreateWeld(wed,lwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  736. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  737. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  738. CreateWeld(wed,lwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  739. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  740. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  741. 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))
  742. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  743. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  744. 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))
  745. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  746. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  747. CreateWeld(wed,lwing3,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  748. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  749. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  750. CreateWeld(wed,lwing3,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  751.  
  752. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  753. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  754. 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))
  755.  
  756. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  757. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  758. 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))
  759. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  760. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  761. 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))
  762. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  763. CreateMesh(wed,"Wedge",0.05,0.5,3)
  764. 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))
  765. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  766. CreateMesh(wed,"Wedge",0.05,3,0.5)
  767. 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))
  768.  
  769. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  770. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  771. 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))
  772.  
  773. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  774. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  775. 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))
  776. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  777. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  778. 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))
  779. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  780. CreateMesh(wed,"Wedge",0.05,0.5,3)
  781. 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))
  782. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  783. CreateMesh(wed,"Wedge",0.05,3,0.5)
  784. 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))
  785.  
  786. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  787. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  788. 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))
  789.  
  790. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  791. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  792. 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))
  793. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  794. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  795. 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))
  796. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  797. CreateMesh(wed,"Wedge",0.05,0.5,3)
  798. 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))
  799. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  800. CreateMesh(wed,"Wedge",0.05,3,0.5)
  801. 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))
  802.  
  803. -- Right wing.
  804.  
  805. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  806. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  807. 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))
  808.  
  809. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  810. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  811. 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))
  812. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  813. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  814. 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))
  815. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  816. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  817. CreateWeld(wed,rwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  818. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  819. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  820. CreateWeld(wed,rwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  821. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  822. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  823. CreateWeld(wed,rwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  824. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  825. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  826. CreateWeld(wed,rwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  827. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  828. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  829. 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))
  830. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  831. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  832. 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))
  833. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  834. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  835. CreateWeld(wed,rwing1,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  836. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  837. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  838. CreateWeld(wed,rwing1,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  839.  
  840. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  841. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  842. 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))
  843.  
  844. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  845. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  846. 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))
  847. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  848. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  849. 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))
  850. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  851. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  852. CreateWeld(wed,rwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  853. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  854. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  855. CreateWeld(wed,rwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  856. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  857. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  858. CreateWeld(wed,rwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  859. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  860. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  861. CreateWeld(wed,rwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  862. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  863. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  864. 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))
  865. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  866. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  867. 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))
  868. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  869. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  870. CreateWeld(wed,rwing2,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  871. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  872. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  873. CreateWeld(wed,rwing2,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  874.  
  875. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  876. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  877. 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))
  878.  
  879.  
  880. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  881. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  882. 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))
  883. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  884. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  885. 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))
  886. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  887. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  888. CreateWeld(wed,rwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  889. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  890. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  891. CreateWeld(wed,rwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  892. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  893. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  894. CreateWeld(wed,rwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  895. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  896. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  897. CreateWeld(wed,rwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  898. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  899. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  900. 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))
  901. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  902. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  903. 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))
  904. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  905. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  906. CreateWeld(wed,rwing3,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  907. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  908. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  909. CreateWeld(wed,rwing3,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  910.  
  911.  
  912. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  913. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  914. 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))
  915.  
  916. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  917. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  918. 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))
  919. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  920. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  921. 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))
  922. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  923. CreateMesh(wed,"Wedge",0.05,0.5,3)
  924. 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))
  925. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  926. CreateMesh(wed,"Wedge",0.05,3,0.5)
  927. 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))
  928.  
  929. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  930. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  931. 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))
  932.  
  933. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  934. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  935. 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))
  936. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  937. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  938. 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))
  939. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  940. CreateMesh(wed,"Wedge",0.05,0.5,3)
  941. 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))
  942. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  943. CreateMesh(wed,"Wedge",0.05,3,0.5)
  944. 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))
  945.  
  946. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  947. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  948. 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))
  949.  
  950. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  951. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  952. 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))
  953. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  954. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  955. 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))
  956. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  957. CreateMesh(wed,"Wedge",0.05,0.5,3)
  958. 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))
  959. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  960. CreateMesh(wed,"Wedge",0.05,3,0.5)
  961. 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))
  962.  
  963.  
  964. ---- HERES THE RING
  965.  
  966.  
  967. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  968. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  969. 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))
  970. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  971. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  972. 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))
  973. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  974. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  975. 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))
  976.  
  977.  
  978. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  979. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  980. 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))
  981.  
  982. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  983. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  984. 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))
  985.  
  986.  
  987.  
  988. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  989. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  990. 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))
  991.  
  992. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  993. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  994. 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))
  995.  
  996. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  997. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  998. 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))
  999.  
  1000. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1001. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1002. 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))
  1003. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1004. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1005. 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))
  1006.  
  1007. --- second ring
  1008.  
  1009. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1010. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1011. 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))
  1012. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1013. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1014. 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))
  1015. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1016. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1017. 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))
  1018.  
  1019. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1020. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1021. 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))
  1022.  
  1023. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1024. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1025. 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))
  1026.  
  1027.  
  1028.  
  1029. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1030. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1031. 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))
  1032.  
  1033. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1034. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1035. 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))
  1036.  
  1037. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1038. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1039. 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))
  1040.  
  1041. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1042. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1043. 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))
  1044. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1045. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1046. 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))]]--
  1047.  
  1048. ------------- Trails
  1049. local A0 = Instance.new("Attachment",lwing1)
  1050. A0.Position = Vector3.new(0,-0.7,0)
  1051. local A1 = Instance.new("Attachment",lwing1)
  1052. A1.Position = Vector3.new(0,-3.5,0)
  1053. tl1 = Instance.new('Trail',lwing1)
  1054. tl1.Attachment0 = A0
  1055. tl1.Attachment1 = A1
  1056. tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1057. tl1.LightEmission = 1
  1058. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1059. tl1.Color = ColorSequence.new(BrickColor.new('White').Color)
  1060. tl1.Lifetime = 0.6
  1061.  
  1062. local A0 = Instance.new("Attachment",lwing2)
  1063. A0.Position = Vector3.new(0,-0.7,0)
  1064. local A1 = Instance.new("Attachment",lwing2)
  1065. A1.Position = Vector3.new(0,-3.5,0)
  1066. tl2 = Instance.new('Trail',lwing2)
  1067. tl2.Attachment0 = A0
  1068. tl2.Attachment1 = A1
  1069. tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1070. tl2.LightEmission = 1
  1071. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1072. tl2.Color = ColorSequence.new(BrickColor.new('White').Color)
  1073. tl2.Lifetime = 0.6
  1074.  
  1075. local A0 = Instance.new("Attachment",lwing3)
  1076. A0.Position = Vector3.new(0,-0.7,0)
  1077. local A1 = Instance.new("Attachment",lwing3)
  1078. A1.Position = Vector3.new(0,-3.5,0)
  1079. tl3 = Instance.new('Trail',lwing3)
  1080. tl3.Attachment0 = A0
  1081. tl3.Attachment1 = A1
  1082. tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1083. tl3.LightEmission = 1
  1084. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1085. tl3.Color = ColorSequence.new(BrickColor.new('White').Color)
  1086. tl3.Lifetime = 0.6
  1087.  
  1088. local A0 = Instance.new("Attachment",rwing1)
  1089. A0.Position = Vector3.new(0,-0.7,0)
  1090. local A1 = Instance.new("Attachment",rwing1)
  1091. A1.Position = Vector3.new(0,-3.5,0)
  1092. tr1 = Instance.new('Trail',rwing1)
  1093. tr1.Attachment0 = A0
  1094. tr1.Attachment1 = A1
  1095. tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1096. tr1.LightEmission = 1
  1097. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1098. tr1.Color = ColorSequence.new(BrickColor.new('White').Color)
  1099. tr1.Lifetime = 0.6
  1100.  
  1101. local A0 = Instance.new("Attachment",rwing2)
  1102. A0.Position = Vector3.new(0,-0.7,0)
  1103. local A1 = Instance.new("Attachment",rwing2)
  1104. A1.Position = Vector3.new(0,-3.5,0)
  1105. tr2 = Instance.new('Trail',rwing2)
  1106. tr2.Attachment0 = A0
  1107. tr2.Attachment1 = A1
  1108. tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1109. tr2.LightEmission = 1
  1110. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1111. tr2.Color = ColorSequence.new(BrickColor.new('White').Color)
  1112. tr2.Lifetime = 0.6
  1113.  
  1114. local A0 = Instance.new("Attachment",rwing3)
  1115. A0.Position = Vector3.new(0,-0.7,0)
  1116. local A1 = Instance.new("Attachment",rwing3)
  1117. A1.Position = Vector3.new(0,-3.5,0)
  1118. tr3 = Instance.new('Trail',rwing3)
  1119. tr3.Attachment0 = A0
  1120. tr3.Attachment1 = A1
  1121. tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1122. tr3.LightEmission = 1
  1123. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1124. tr3.Color = ColorSequence.new(BrickColor.new('White').Color)
  1125. tr3.Lifetime = 0.6
  1126. --------------
  1127.  
  1128. for i, v in pairs(mw2:GetChildren()) do
  1129. if v:IsA("Part") then
  1130. v.BrickColor = BrickColor.new("White")
  1131. v.Material = "Neon"
  1132. end
  1133. end
  1134. for i, v in pairs(mw1:GetChildren()) do
  1135. if v:IsA("Part") then
  1136. v.Transparency = 0
  1137. v.BrickColor = BrickColor.new("White")
  1138. v.Material = "Neon"
  1139. end
  1140. end
  1141. for i, v in pairs(extrawingmod1:GetChildren()) do
  1142. if v:IsA("Part") then
  1143. v.Transparency = 1
  1144. v.BrickColor = BrickColor.new("White")
  1145. v.Material = "Neon"
  1146. end
  1147. end
  1148. for i, v in pairs(extrawingmod2:GetChildren()) do
  1149. if v:IsA("Part") then
  1150. v.Transparency = 1
  1151. v.BrickColor = BrickColor.new("White")
  1152. v.Material = "Neon"
  1153. end
  1154. end
  1155. local MAINRUINCOLOR = BrickColor.new("White")
  1156. ------
  1157.  
  1158.  
  1159. function RemoveOutlines(part)
  1160. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1161. end
  1162. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1163. local Part = Create("Part")({
  1164. Parent = Parent,
  1165. Reflectance = Reflectance,
  1166. Transparency = Transparency,
  1167. CanCollide = false,
  1168. Locked = true,
  1169. BrickColor = BrickColor.new(tostring(BColor)),
  1170. Name = Name,
  1171. Size = Size,
  1172. Material = Material
  1173. })
  1174. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1175. RemoveOutlines(Part)
  1176. return Part
  1177. end
  1178. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1179. local Msh = Create(Mesh)({
  1180. Parent = Part,
  1181. Offset = OffSet,
  1182. Scale = Scale
  1183. })
  1184. if Mesh == "SpecialMesh" then
  1185. Msh.MeshType = MeshType
  1186. Msh.MeshId = MeshId
  1187. end
  1188. return Msh
  1189. end
  1190. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1191. local Weld = Create("Weld")({
  1192. Parent = Parent,
  1193. Part0 = Part0,
  1194. Part1 = Part1,
  1195. C0 = C0,
  1196. C1 = C1
  1197. })
  1198. return Weld
  1199. end
  1200.  
  1201. Player=game:GetService("Players").LocalPlayer
  1202. Character=Player.Character
  1203. PlayerGui=Player.PlayerGui
  1204. Backpack=Player.Backpack
  1205. Torso=Character.Torso
  1206. Head=Character.Head
  1207. Humanoid=Character.Humanoid
  1208. m=Instance.new('Model',Character)
  1209. LeftArm=Character["Left Arm"]
  1210. LeftLeg=Character["Left Leg"]
  1211. RightArm=Character["Right Arm"]
  1212. RightLeg=Character["Right Leg"]
  1213. LS=Torso["Left Shoulder"]
  1214. LH=Torso["Left Hip"]
  1215. RS=Torso["Right Shoulder"]
  1216. RH=Torso["Right Hip"]
  1217. Face = Head.face
  1218. Neck=Torso.Neck
  1219. it=Instance.new
  1220. attacktype=1
  1221. vt=Vector3.new
  1222. cf=CFrame.new
  1223. euler=CFrame.fromEulerAnglesXYZ
  1224. angles=CFrame.Angles
  1225. cloaked=false
  1226. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1227. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1228. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1229. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1230. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1231. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1232. RootPart=Character.HumanoidRootPart
  1233. RootJoint=RootPart.RootJoint
  1234. RootCF=euler(-1.57,0,3.14)
  1235. attack = false
  1236. attackdebounce = false
  1237. deb=false
  1238. equipped=true
  1239. hand=false
  1240. MMouse=nil
  1241. combo=0
  1242. mana=0
  1243. trispeed=.2
  1244. attackmode='none'
  1245. local idle=0
  1246. local Anim="Idle"
  1247. local Effects={}
  1248. local gun=false
  1249. local shoot=false
  1250. local sine = 0
  1251. local change = 1
  1252. player=nil
  1253.  
  1254. function RecolorTextAndRename(name,col1,col2,font)
  1255. modet.TextStrokeColor3 = col2
  1256. modet.TextColor3 = col1
  1257. modet.Font = font
  1258. modet.Text = name
  1259. end
  1260. mouse=Player:GetMouse()
  1261. --save shoulders
  1262. RSH, LSH=nil, nil
  1263. --welds
  1264. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1265. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1266. LH=Torso["Left Hip"]
  1267. RH=Torso["Right Hip"]
  1268. TorsoColor=Torso.BrickColor
  1269. function NoOutline(Part)
  1270. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1271. end
  1272. player=Player
  1273. ch=Character
  1274. RSH=ch.Torso["Right Shoulder"]
  1275. LSH=ch.Torso["Left Shoulder"]
  1276. --
  1277. RSH.Parent=nil
  1278. LSH.Parent=nil
  1279. --
  1280. RW.Name="Right Shoulder"
  1281. RW.Part0=ch.Torso
  1282. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1283. RW.C1=cf(0, 0.5, 0)
  1284. RW.Part1=ch["Right Arm"]
  1285. RW.Parent=ch.Torso
  1286. --
  1287. LW.Name="Left Shoulder"
  1288. LW.Part0=ch.Torso
  1289. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1290. LW.C1=cf(0, 0.5, 0)
  1291. LW.Part1=ch["Left Arm"]
  1292. LW.Parent=ch.Torso
  1293.  
  1294. local Stats=Instance.new("BoolValue")
  1295. Stats.Name="Stats"
  1296. Stats.Parent=Character
  1297. local Atk=Instance.new("NumberValue")
  1298. Atk.Name="Damage"
  1299. Atk.Parent=Stats
  1300. Atk.Value=1
  1301. local Def=Instance.new("NumberValue")
  1302. Def.Name="Defense"
  1303. Def.Parent=Stats
  1304. Def.Value=1
  1305. local Speed=Instance.new("NumberValue")
  1306. Speed.Name="Speed"
  1307. Speed.Parent=Stats
  1308. Speed.Value=1
  1309. local Mvmt=Instance.new("NumberValue")
  1310. Mvmt.Name="Movement"
  1311. Mvmt.Parent=Stats
  1312. Mvmt.Value=1
  1313.  
  1314. local donum=0
  1315.  
  1316.  
  1317. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1318. local fp=it("Part")
  1319. fp.formFactor=formfactor
  1320. fp.Parent=parent
  1321. fp.Reflectance=reflectance
  1322. fp.Transparency=transparency
  1323. fp.CanCollide=false
  1324. fp.Locked=true
  1325. fp.BrickColor=brickcolor
  1326. fp.Name=name
  1327. fp.Size=size
  1328. fp.Position=Torso.Position
  1329. NoOutline(fp)
  1330. fp.Material="SmoothPlastic"
  1331. fp:BreakJoints()
  1332. return fp
  1333. end
  1334.  
  1335. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1336. local mesh=it(Mesh)
  1337. mesh.Parent=part
  1338. if Mesh=="SpecialMesh" then
  1339. mesh.MeshType=meshtype
  1340. if meshid~="nil" then
  1341. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1342. end
  1343. end
  1344. mesh.Offset=offset
  1345. mesh.Scale=scale
  1346. return mesh
  1347. end
  1348.  
  1349. function weld(parent,part0,part1,c0)
  1350. local weld=it("Weld")
  1351. weld.Parent=parent
  1352. weld.Part0=part0
  1353. weld.Part1=part1
  1354. weld.C0=c0
  1355. return weld
  1356. end
  1357.  
  1358. local Color1=Torso.BrickColor
  1359.  
  1360. local bodvel=Instance.new("BodyVelocity")
  1361. local bg=Instance.new("BodyGyro")
  1362.  
  1363. function swait(num)
  1364. if num==0 or num==nil then
  1365. game:service'RunService'.Stepped:wait(0)
  1366. else
  1367. for i=0,num do
  1368. game:service'RunService'.Stepped:wait(0)
  1369. end
  1370. end
  1371. end
  1372.  
  1373. -------- RAINBOW LEAVE IT TO ME
  1374. local r = 255
  1375. local g = 0
  1376. local b = 0
  1377. coroutine.resume(coroutine.create(function()
  1378. while wait() do
  1379. for i = 0, 254/5 do
  1380. swait()
  1381. g = g + 5
  1382. end
  1383. for i = 0, 254/5 do
  1384. swait()
  1385. r = r - 5
  1386. end
  1387. for i = 0, 254/5 do
  1388. swait()
  1389. b = b + 5
  1390. end
  1391. for i = 0, 254/5 do
  1392. swait()
  1393. g = g - 5
  1394. end
  1395. for i = 0, 254/5 do
  1396. swait()
  1397. r = r + 5
  1398. end
  1399. for i = 0, 254/5 do
  1400. swait()
  1401. b = b - 5
  1402. end
  1403. end
  1404. end))
  1405.  
  1406.  
  1407. so = function(id,par,vol,pit)
  1408. coroutine.resume(coroutine.create(function()
  1409. local sou = Instance.new("Sound",par or workspace)
  1410. sou.Volume=vol
  1411. sou.Pitch=pit or 1
  1412. sou.SoundId=id
  1413. swait()
  1414. sou:play()
  1415. game:GetService("Debris"):AddItem(sou,6)
  1416. end))
  1417. end
  1418.  
  1419. function clerp(a,b,t)
  1420. local qa = {QuaternionFromCFrame(a)}
  1421. local qb = {QuaternionFromCFrame(b)}
  1422. local ax, ay, az = a.x, a.y, a.z
  1423. local bx, by, bz = b.x, b.y, b.z
  1424. local _t = 1-t
  1425. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1426. end
  1427.  
  1428. function QuaternionFromCFrame(cf)
  1429. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1430. local trace = m00 + m11 + m22
  1431. if trace > 0 then
  1432. local s = math.sqrt(1 + trace)
  1433. local recip = 0.5/s
  1434. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1435. else
  1436. local i = 0
  1437. if m11 > m00 then
  1438. i = 1
  1439. end
  1440. if m22 > (i == 0 and m00 or m11) then
  1441. i = 2
  1442. end
  1443. if i == 0 then
  1444. local s = math.sqrt(m00-m11-m22+1)
  1445. local recip = 0.5/s
  1446. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1447. elseif i == 1 then
  1448. local s = math.sqrt(m11-m22-m00+1)
  1449. local recip = 0.5/s
  1450. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1451. elseif i == 2 then
  1452. local s = math.sqrt(m22-m00-m11+1)
  1453. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1454. end
  1455. end
  1456. end
  1457.  
  1458. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1459. local xs, ys, zs = x + x, y + y, z + z
  1460. local wx, wy, wz = w*xs, w*ys, w*zs
  1461. local xx = x*xs
  1462. local xy = x*ys
  1463. local xz = x*zs
  1464. local yy = y*ys
  1465. local yz = y*zs
  1466. local zz = z*zs
  1467. 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))
  1468. end
  1469.  
  1470. function QuaternionSlerp(a, b, t)
  1471. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1472. local startInterp, finishInterp;
  1473. if cosTheta >= 0.0001 then
  1474. if (1 - cosTheta) > 0.0001 then
  1475. local theta = math.acos(cosTheta)
  1476. local invSinTheta = 1/math.sin(theta)
  1477. startInterp = math.sin((1-t)*theta)*invSinTheta
  1478. finishInterp = math.sin(t*theta)*invSinTheta
  1479. else
  1480. startInterp = 1-t
  1481. finishInterp = t
  1482. end
  1483. else
  1484. if (1+cosTheta) > 0.0001 then
  1485. local theta = math.acos(-cosTheta)
  1486. local invSinTheta = 1/math.sin(theta)
  1487. startInterp = math.sin((t-1)*theta)*invSinTheta
  1488. finishInterp = math.sin(t*theta)*invSinTheta
  1489. else
  1490. startInterp = t-1
  1491. finishInterp = t
  1492. end
  1493. end
  1494. 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
  1495. end
  1496.  
  1497. local function CFrameFromTopBack(at, top, back)
  1498. local right = top:Cross(back)
  1499. return CFrame.new(at.x, at.y, at.z,
  1500. right.x, top.x, back.x,
  1501. right.y, top.y, back.y,
  1502. right.z, top.z, back.z)
  1503. end
  1504.  
  1505. function Triangle(a, b, c)
  1506. local edg1 = (c-a):Dot((b-a).unit)
  1507. local edg2 = (a-b):Dot((c-b).unit)
  1508. local edg3 = (b-c):Dot((a-c).unit)
  1509. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1510. a, b, c = a, b, c
  1511. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1512. a, b, c = b, c, a
  1513. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1514. a, b, c = c, a, b
  1515. else
  1516. assert(false, "unreachable")
  1517. end
  1518.  
  1519. local len1 = (c-a):Dot((b-a).unit)
  1520. local len2 = (b-a).magnitude - len1
  1521. local width = (a + (b-a).unit*len1 - c).magnitude
  1522.  
  1523. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1524.  
  1525. local list = {}
  1526.  
  1527. if len1 > 0.01 then
  1528. local w1 = Instance.new('WedgePart', m)
  1529. game:GetService("Debris"):AddItem(w1,5)
  1530. w1.Material = "SmoothPlastic"
  1531. w1.FormFactor = 'Custom'
  1532. w1.BrickColor = BrickColor.new("Really red")
  1533. w1.Transparency = 0
  1534. w1.Reflectance = 0
  1535. w1.Material = "SmoothPlastic"
  1536. w1.CanCollide = false
  1537. local l1 = Instance.new("PointLight",w1)
  1538. l1.Color = Color3.new(170,0,0)
  1539. NoOutline(w1)
  1540. local sz = Vector3.new(0.2, width, len1)
  1541. w1.Size = sz
  1542. local sp = Instance.new("SpecialMesh",w1)
  1543. sp.MeshType = "Wedge"
  1544. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1545. w1:BreakJoints()
  1546. w1.Anchored = true
  1547. w1.Parent = workspace
  1548. w1.Transparency = 0.7
  1549. table.insert(Effects,{w1,"Disappear",.01})
  1550. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1551. table.insert(list,w1)
  1552. end
  1553.  
  1554. if len2 > 0.01 then
  1555. local w2 = Instance.new('WedgePart', m)
  1556. game:GetService("Debris"):AddItem(w2,5)
  1557. w2.Material = "SmoothPlastic"
  1558. w2.FormFactor = 'Custom'
  1559. w2.BrickColor = BrickColor.new("Really red")
  1560. w2.Transparency = 0
  1561. w2.Reflectance = 0
  1562. w2.Material = "SmoothPlastic"
  1563. w2.CanCollide = false
  1564. local l2 = Instance.new("PointLight",w2)
  1565. l2.Color = Color3.new(170,0,0)
  1566. NoOutline(w2)
  1567. local sz = Vector3.new(0.2, width, len2)
  1568. w2.Size = sz
  1569. local sp = Instance.new("SpecialMesh",w2)
  1570. sp.MeshType = "Wedge"
  1571. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1572. w2:BreakJoints()
  1573. w2.Anchored = true
  1574. w2.Parent = workspace
  1575. w2.Transparency = 0.7
  1576. table.insert(Effects,{w2,"Disappear",.01})
  1577. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1578. table.insert(list,w2)
  1579. end
  1580. return unpack(list)
  1581. end
  1582.  
  1583.  
  1584. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1585. if hit.Parent == nil then
  1586. return
  1587. end
  1588. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1589. for _, v in pairs(hit.Parent:children()) do
  1590. if v:IsA("Humanoid") then
  1591. h = v
  1592. end
  1593. end
  1594. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1595. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1596. return
  1597. end
  1598. local c = Create("ObjectValue")({
  1599. Name = "creator",
  1600. Value = game:service("Players").LocalPlayer,
  1601. Parent = h
  1602. })
  1603. game:GetService("Debris"):AddItem(c, 0.5)
  1604. if HitSound ~= nil and HitPitch ~= nil then
  1605. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1606. end
  1607. local Damage = math.random(minim, maxim)
  1608. local blocked = false
  1609. local block = hit.Parent:findFirstChild("Block")
  1610. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1611. blocked = true
  1612. block.Value = block.Value - 1
  1613. print(block.Value)
  1614. end
  1615. if blocked == false then
  1616. HitHealth = h.Health
  1617. h.Health = h.Health - Damage
  1618. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1619. print("gained kill")
  1620. end
  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. else
  1623. h.Health = h.Health - Damage / 2
  1624. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1625. end
  1626. if Type == "Knockdown" then
  1627. local hum = hit.Parent.Humanoid
  1628. hum.PlatformStand = true
  1629. coroutine.resume(coroutine.create(function(HHumanoid)
  1630. swait(1)
  1631. HHumanoid.PlatformStand = false
  1632. end), hum)
  1633. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1634. local bodvol = Create("BodyVelocity")({
  1635. velocity = angle * knockback,
  1636. P = 5000,
  1637. maxForce = Vector3.new(8000, 8000, 8000),
  1638. Parent = hit
  1639. })
  1640. local rl = Create("BodyAngularVelocity")({
  1641. P = 3000,
  1642. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1643. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1644. Parent = hit
  1645. })
  1646. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1647. game:GetService("Debris"):AddItem(rl, 0.5)
  1648. elseif Type == "Normal" then
  1649. local vp = Create("BodyVelocity")({
  1650. P = 500,
  1651. maxForce = Vector3.new(math.huge, 0, math.huge),
  1652. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1653. })
  1654. if knockback > 0 then
  1655. vp.Parent = hit.Parent.Head
  1656. end
  1657. game:GetService("Debris"):AddItem(vp, 0.5)
  1658. elseif Type == "Up" then
  1659. local bodyVelocity = Create("BodyVelocity")({
  1660. velocity = Vector3.new(0, 20, 0),
  1661. P = 5000,
  1662. maxForce = Vector3.new(8000, 8000, 8000),
  1663. Parent = hit
  1664. })
  1665. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1666. local bodyVelocity = Create("BodyVelocity")({
  1667. velocity = Vector3.new(0, 20, 0),
  1668. P = 5000,
  1669. maxForce = Vector3.new(8000, 8000, 8000),
  1670. Parent = hit
  1671. })
  1672. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1673. elseif Type == "Leech" then
  1674. local hum = hit.Parent.Humanoid
  1675. if hum ~= nil then
  1676. for i = 0, 2 do
  1677. 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)
  1678. end
  1679. Humanoid.Health = Humanoid.Health + 10
  1680. end
  1681. elseif Type == "UpKnock" then
  1682. local hum = hit.Parent.Humanoid
  1683. hum.PlatformStand = true
  1684. if hum ~= nil then
  1685. hitr = true
  1686. end
  1687. coroutine.resume(coroutine.create(function(HHumanoid)
  1688. swait(5)
  1689. HHumanoid.PlatformStand = false
  1690. hitr = false
  1691. end), hum)
  1692. local bodyVelocity = Create("BodyVelocity")({
  1693. velocity = Vector3.new(0, 20, 0),
  1694. P = 5000,
  1695. maxForce = Vector3.new(8000, 8000, 8000),
  1696. Parent = hit
  1697. })
  1698. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1699. local bodyVelocity = Create("BodyVelocity")({
  1700. velocity = Vector3.new(0, 20, 0),
  1701. P = 5000,
  1702. maxForce = Vector3.new(8000, 8000, 8000),
  1703. Parent = hit
  1704. })
  1705. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1706. elseif Type == "Snare" then
  1707. local bp = Create("BodyPosition")({
  1708. P = 2000,
  1709. D = 100,
  1710. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1711. position = hit.Parent.Torso.Position,
  1712. Parent = hit.Parent.Torso
  1713. })
  1714. game:GetService("Debris"):AddItem(bp, 1)
  1715. elseif Type == "Slashnare" then
  1716. 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)
  1717. for i = 1, math.random(4, 5) do
  1718. 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)
  1719. end
  1720. local bp = Create("BodyPosition")({
  1721. P = 2000,
  1722. D = 100,
  1723. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1724. position = hit.Parent.Torso.Position,
  1725. Parent = hit.Parent.Torso
  1726. })
  1727. game:GetService("Debris"):AddItem(bp, 1)
  1728. elseif Type == "Spike" then
  1729. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1730. local bp = Create("BodyPosition")({
  1731. P = 2000,
  1732. D = 100,
  1733. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1734. position = hit.Parent.Torso.Position,
  1735. Parent = hit.Parent.Torso
  1736. })
  1737. game:GetService("Debris"):AddItem(bp, 1)
  1738. elseif Type == "Freeze" then
  1739. local BodPos = Create("BodyPosition")({
  1740. P = 50000,
  1741. D = 1000,
  1742. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1743. position = hit.Parent.Torso.Position,
  1744. Parent = hit.Parent.Torso
  1745. })
  1746. local BodGy = Create("BodyGyro")({
  1747. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1748. P = 20000,
  1749. Parent = hit.Parent.Torso,
  1750. cframe = hit.Parent.Torso.CFrame
  1751. })
  1752. hit.Parent.Torso.Anchored = true
  1753. coroutine.resume(coroutine.create(function(Part)
  1754. swait(1.5)
  1755. Part.Anchored = false
  1756. end), hit.Parent.Torso)
  1757. game:GetService("Debris"):AddItem(BodPos, 3)
  1758. game:GetService("Debris"):AddItem(BodGy, 3)
  1759. end
  1760. local debounce = Create("BoolValue")({
  1761. Name = "DebounceHit",
  1762. Parent = hit.Parent,
  1763. Value = true
  1764. })
  1765. game:GetService("Debris"):AddItem(debounce, Delay)
  1766. c = Instance.new("ObjectValue")
  1767. c.Name = "creator"
  1768. c.Value = Player
  1769. c.Parent = h
  1770. game:GetService("Debris"):AddItem(c, 0.5)
  1771. end
  1772. end
  1773. function ShowDamage(Pos, Text, Time, Color)
  1774. local Rate = 0.03333333333333333
  1775. local Pos = Pos or Vector3.new(0, 0, 0)
  1776. local Text = Text or ""
  1777. local Time = Time or 2
  1778. local Color = Color or Color3.new(1, 0, 1)
  1779. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1780. EffectPart.Anchored = true
  1781. local BillboardGui = Create("BillboardGui")({
  1782. Size = UDim2.new(3, 0, 3, 0),
  1783. Adornee = EffectPart,
  1784. Parent = EffectPart
  1785. })
  1786. local TextLabel = Create("TextLabel")({
  1787. BackgroundTransparency = 1,
  1788. Size = UDim2.new(1, 0, 1, 0),
  1789. Text = Text,
  1790. TextColor3 = Color,
  1791. TextScaled = true,
  1792. Font = Enum.Font.ArialBold,
  1793. Parent = BillboardGui
  1794. })
  1795. game.Debris:AddItem(EffectPart, Time + 0.1)
  1796. EffectPart.Parent = game:GetService("Workspace")
  1797. delay(0, function()
  1798. local Frames = Time / Rate
  1799. for Frame = 1, Frames do
  1800. wait(Rate)
  1801. local Percent = Frame / Frames
  1802. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1803. TextLabel.TextTransparency = Percent
  1804. end
  1805. if EffectPart and EffectPart.Parent then
  1806. EffectPart:Destroy()
  1807. end
  1808. end)
  1809. end
  1810. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1811. for _, c in pairs(workspace:children()) do
  1812. local hum = c:findFirstChildOfClass("Humanoid")
  1813. if hum ~= nil then
  1814. local head = c:findFirstChild("Head")
  1815. if head ~= nil then
  1816. local targ = head.Position - Part.Position
  1817. local mag = targ.magnitude
  1818. if magni >= mag and c.Name ~= Player.Name then
  1819. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1820. end
  1821. end
  1822. end
  1823. end
  1824. end
  1825.  
  1826. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1827. for _, c in pairs(workspace:children()) do
  1828. local hum = c:findFirstChild("Humanoid")
  1829. if hum ~= nil then
  1830. local head = c:findFirstChild("Torso")
  1831. if head ~= nil then
  1832. local targ = head.Position - Part.Position
  1833. local mag = targ.magnitude
  1834. if magni >= mag and c.Name ~= Player.Name then
  1835. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  1836. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1837. end
  1838. end
  1839. end
  1840. end
  1841. end
  1842.  
  1843. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1844. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1845. end
  1846.  
  1847. local origcolor = BrickColor.new("Pastel light blue")
  1848. ---- This section of explosions.
  1849.  
  1850. ----
  1851.  
  1852.  
  1853. function ring(type,pos,scale,value)
  1854. local type = type
  1855. local rng = Instance.new("Part", char)
  1856. rng.Anchored = true
  1857. rng.BrickColor = origcolor
  1858. rng.CanCollide = false
  1859. rng.FormFactor = 3
  1860. rng.Name = "Ring"
  1861. rng.Size = Vector3.new(1, 1, 1)
  1862. rng.Transparency = 0
  1863. rng.TopSurface = 0
  1864. rng.BottomSurface = 0
  1865. rng.CFrame = pos
  1866. local rngm = Instance.new("SpecialMesh", rng)
  1867. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1868. rngm.Scale = scale
  1869. local scaler2 = 1
  1870. if type == "Add" then
  1871. scaler2 = 1*value
  1872. elseif type == "Divide" then
  1873. scaler2 = 1/value
  1874. end
  1875. coroutine.resume(coroutine.create(function()
  1876. for i = 0,10,0.1 do
  1877. swait()
  1878. if type == "Add" then
  1879. scaler2 = scaler2 - 0.01*value
  1880. elseif type == "Divide" then
  1881. scaler2 = scaler2 - 0.01/value
  1882. end
  1883. rng.Transparency = rng.Transparency + 0.01
  1884. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  1885. end
  1886. rng:Destroy()
  1887. end))
  1888. end
  1889.  
  1890.  
  1891. function wave(type,pos,scale,value)
  1892. local type = type
  1893. local rng = Instance.new("Part", char)
  1894. rng.Anchored = true
  1895. rng.BrickColor = origcolor
  1896. rng.CanCollide = false
  1897. rng.FormFactor = 3
  1898. rng.Name = "Ring"
  1899. rng.Size = Vector3.new(1, 1, 1)
  1900. rng.Transparency = 0
  1901. rng.TopSurface = 0
  1902. rng.BottomSurface = 0
  1903. rng.CFrame = pos
  1904. local rngm = Instance.new("SpecialMesh", rng)
  1905. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1906. rngm.Scale = scale
  1907. local scaler2 = 1
  1908. if type == "Add" then
  1909. scaler2 = 1*value
  1910. elseif type == "Divide" then
  1911. scaler2 = 1/value
  1912. end
  1913. coroutine.resume(coroutine.create(function()
  1914. for i = 0,10,0.1 do
  1915. swait()
  1916. if type == "Add" then
  1917. scaler2 = scaler2 - 0.01*value
  1918. elseif type == "Divide" then
  1919. scaler2 = scaler2 - 0.01/value
  1920. end
  1921. rng.Transparency = rng.Transparency + 0.01
  1922. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  1923. end
  1924. rng:Destroy()
  1925. end))
  1926. end
  1927.  
  1928. function sphere(bonuspeed,type,pos,scale,value,color)
  1929. local type = type
  1930. local rng = Instance.new("Part", char)
  1931. rng.Anchored = true
  1932. if ModeOfGlitch ~= 9 then
  1933. rng.BrickColor = color
  1934. elseif ModeOfGlitch == 9 then
  1935. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1936. end
  1937. rng.CanCollide = false
  1938. rng.FormFactor = 3
  1939. rng.Name = "Ring"
  1940. rng.Material = "Neon"
  1941. rng.Size = Vector3.new(1, 1, 1)
  1942. rng.Transparency = 0
  1943. rng.TopSurface = 0
  1944. rng.BottomSurface = 0
  1945. rng.CFrame = pos
  1946. local rngm = Instance.new("SpecialMesh", rng)
  1947. rngm.MeshType = "Sphere"
  1948. rngm.Scale = scale
  1949. if rainbowmode == true then
  1950. rng.Color = Color3.new(r/255,g/255,b/255)
  1951. end
  1952. if ModeOfGlitch == 9 then
  1953. coroutine.resume(coroutine.create(function()
  1954. while true do
  1955. swait()
  1956. if rng.Parent ~= nil then
  1957. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1958. else
  1959. break
  1960. end
  1961. end
  1962. end))
  1963. end
  1964. local scaler2 = 1
  1965. if type == "Add" then
  1966. scaler2 = 1*value
  1967. elseif type == "Divide" then
  1968. scaler2 = 1/value
  1969. end
  1970. coroutine.resume(coroutine.create(function()
  1971. for i = 0,10/bonuspeed,0.1 do
  1972. swait()
  1973. if rainbowmode == true then
  1974. rng.Color = Color3.new(r/255,g/255,b/255)
  1975. end
  1976. if type == "Add" then
  1977. scaler2 = scaler2 - 0.01*value/bonuspeed
  1978. elseif type == "Divide" then
  1979. scaler2 = scaler2 - 0.01/value*bonuspeed
  1980. end
  1981. if chaosmode == true then
  1982. rng.BrickColor = BrickColor.random()
  1983. end
  1984. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1985. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  1986. end
  1987. rng:Destroy()
  1988. end))
  1989. end
  1990.  
  1991. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  1992. local type = type
  1993. local rng = Instance.new("Part", char)
  1994. rng.Anchored = true
  1995. if ModeOfGlitch ~= 9 then
  1996. rng.BrickColor = color
  1997. elseif ModeOfGlitch == 9 then
  1998. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1999. end
  2000. rng.CanCollide = false
  2001. rng.FormFactor = 3
  2002. rng.Name = "Ring"
  2003. rng.Material = "Neon"
  2004. rng.Size = Vector3.new(1, 1, 1)
  2005. rng.Transparency = 0
  2006. rng.TopSurface = 0
  2007. rng.BottomSurface = 0
  2008. rng.CFrame = pos
  2009. local rngm = Instance.new("SpecialMesh", rng)
  2010. rngm.MeshType = "Sphere"
  2011. rngm.Scale = scale
  2012. local scaler2 = 1
  2013. local scaler2b = 1
  2014. local scaler2c = 1
  2015. if type == "Add" then
  2016. scaler2 = 1*value
  2017. scaler2b = 1*value2
  2018. scaler2c = 1*value3
  2019. elseif type == "Divide" then
  2020. scaler2 = 1/value
  2021. scaler2b = 1/value2
  2022. scaler2c = 1/value3
  2023. end
  2024. if ModeOfGlitch == 9 then
  2025. coroutine.resume(coroutine.create(function()
  2026. while true do
  2027. swait()
  2028. if rng.Parent ~= nil then
  2029. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2030. else
  2031. break
  2032. end
  2033. end
  2034. end))
  2035. end
  2036. coroutine.resume(coroutine.create(function()
  2037. for i = 0,10/bonuspeed,0.1 do
  2038. swait()
  2039. if type == "Add" then
  2040. scaler2 = scaler2 - 0.01*value/bonuspeed
  2041. scaler2b = scaler2b - 0.01*value/bonuspeed
  2042. scaler2c = scaler2c - 0.01*value/bonuspeed
  2043. elseif type == "Divide" then
  2044. scaler2 = scaler2 - 0.01/value*bonuspeed
  2045. scaler2b = scaler2b - 0.01/value*bonuspeed
  2046. scaler2c = scaler2c - 0.01/value*bonuspeed
  2047. end
  2048. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2049. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2050. end
  2051. rng:Destroy()
  2052. end))
  2053. end
  2054.  
  2055. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2056. local type = type
  2057. local rng = Instance.new("Part", char)
  2058. rng.Anchored = true
  2059. rng.BrickColor = color
  2060. rng.CanCollide = false
  2061. rng.FormFactor = 3
  2062. rng.Name = "Ring"
  2063. rng.Material = "Neon"
  2064. rng.Size = Vector3.new(1, 1, 1)
  2065. rng.Transparency = 0
  2066. rng.TopSurface = 0
  2067. rng.BottomSurface = 0
  2068. rng.CFrame = pos
  2069. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2070. local rngm = Instance.new("SpecialMesh", rng)
  2071. rngm.MeshType = "Brick"
  2072. rngm.Scale = vt(x1,y1,z1)
  2073. if rainbowmode == true then
  2074. rng.Color = Color3.new(r/255,g/255,b/255)
  2075. end
  2076. local scaler2 = 1
  2077. local speeder = FastSpeed/10
  2078. if type == "Add" then
  2079. scaler2 = 1*value
  2080. elseif type == "Divide" then
  2081. scaler2 = 1/value
  2082. end
  2083. coroutine.resume(coroutine.create(function()
  2084. for i = 0,10/bonuspeed,0.1 do
  2085. swait()
  2086. if rainbowmode == true then
  2087. rng.Color = Color3.new(r/255,g/255,b/255)
  2088. end
  2089. if type == "Add" then
  2090. scaler2 = scaler2 - 0.01*value/bonuspeed
  2091. elseif type == "Divide" then
  2092. scaler2 = scaler2 - 0.01/value*bonuspeed
  2093. end
  2094. if chaosmode == true then
  2095. rng.BrickColor = BrickColor.random()
  2096. end
  2097. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2098. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2099. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2100. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2101. end
  2102. rng:Destroy()
  2103. end))
  2104. end
  2105.  
  2106. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2107. local type = type
  2108. local rng = Instance.new("Part", char)
  2109. rng.Anchored = true
  2110. rng.BrickColor = color
  2111. rng.CanCollide = false
  2112. rng.FormFactor = 3
  2113. rng.Name = "Ring"
  2114. rng.Material = "Neon"
  2115. rng.Size = Vector3.new(1, 1, 1)
  2116. rng.Transparency = 0
  2117. rng.TopSurface = 0
  2118. rng.BottomSurface = 0
  2119. rng.CFrame = pos
  2120. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2121. local rngm = Instance.new("SpecialMesh", rng)
  2122. rngm.MeshType = "Brick"
  2123. rngm.Scale = vt(x1,y1,z1)
  2124. if rainbowmode == true then
  2125. rng.Color = Color3.new(r/255,g/255,b/255)
  2126. end
  2127. local scaler2 = 1
  2128. local speeder = FastSpeed/10
  2129. if type == "Add" then
  2130. scaler2 = 1*value
  2131. elseif type == "Divide" then
  2132. scaler2 = 1/value
  2133. end
  2134. coroutine.resume(coroutine.create(function()
  2135. for i = 0,10/bonuspeed,0.1 do
  2136. swait()
  2137. if rainbowmode == true then
  2138. rng.Color = Color3.new(r/255,g/255,b/255)
  2139. end
  2140. if type == "Add" then
  2141. scaler2 = scaler2 - 0.01*value/bonuspeed
  2142. elseif type == "Divide" then
  2143. scaler2 = scaler2 - 0.01/value*bonuspeed
  2144. end
  2145. if chaosmode == true then
  2146. rng.BrickColor = BrickColor.random()
  2147. end
  2148. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2149. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2150. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2151. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2152. end
  2153. rng:Destroy()
  2154. end))
  2155. end
  2156.  
  2157. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2158. local type = type
  2159. local rng = Instance.new("Part", char)
  2160. rng.Anchored = true
  2161. rng.BrickColor = color
  2162. rng.CanCollide = false
  2163. rng.FormFactor = 3
  2164. rng.Name = "Ring"
  2165. rng.Material = "Neon"
  2166. rng.Size = Vector3.new(1, 1, 1)
  2167. rng.Transparency = 0
  2168. rng.TopSurface = 0
  2169. rng.BottomSurface = 0
  2170. rng.CFrame = pos
  2171. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2172. local rngm = Instance.new("SpecialMesh", rng)
  2173. rngm.MeshType = "Brick"
  2174. rngm.Scale = vt(x1,y1,z1)
  2175. if rainbowmode == true then
  2176. rng.Color = Color3.new(r/255,g/255,b/255)
  2177. end
  2178. local scaler2 = 0
  2179. local speeder = FastSpeed/10
  2180. if type == "Add" then
  2181. scaler2 = 1*value
  2182. elseif type == "Divide" then
  2183. scaler2 = 1/value
  2184. end
  2185. coroutine.resume(coroutine.create(function()
  2186. for i = 0,10/bonuspeed,0.1 do
  2187. swait()
  2188. if rainbowmode == true then
  2189. rng.Color = Color3.new(r/255,g/255,b/255)
  2190. end
  2191. if type == "Add" then
  2192. scaler2 = scaler2 - 0.01*value/bonuspeed
  2193. elseif type == "Divide" then
  2194. scaler2 = scaler2 - 0.01/value*bonuspeed
  2195. end
  2196. if chaosmode == true then
  2197. rng.BrickColor = BrickColor.random()
  2198. end
  2199. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  2200. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2201. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2202. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2203. end
  2204. rng:Destroy()
  2205. end))
  2206. end
  2207.  
  2208. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2209. local type = type
  2210. local rng = Instance.new("Part", char)
  2211. rng.Anchored = true
  2212. if ModeOfGlitch ~= 9 then
  2213. rng.BrickColor = color
  2214. elseif ModeOfGlitch == 9 then
  2215. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2216. end
  2217. rng.CanCollide = false
  2218. rng.FormFactor = 3
  2219. rng.Name = "Ring"
  2220. rng.Material = "Neon"
  2221. rng.Size = Vector3.new(1, 1, 1)
  2222. rng.Transparency = 0
  2223. rng.TopSurface = 0
  2224. rng.BottomSurface = 0
  2225. rng.CFrame = pos
  2226. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2227. local rngm = Instance.new("SpecialMesh", rng)
  2228. rngm.MeshType = "Sphere"
  2229. rngm.Scale = vt(x1,y1,z1)
  2230. if rainbowmode == true then
  2231. rng.Color = Color3.new(r/255,g/255,b/255)
  2232. end
  2233. if ModeOfGlitch == 9 then
  2234. coroutine.resume(coroutine.create(function()
  2235. while true do
  2236. swait()
  2237. if rng.Parent ~= nil then
  2238. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2239. else
  2240. break
  2241. end
  2242. end
  2243. end))
  2244. end
  2245. local scaler2 = 1
  2246. local speeder = FastSpeed
  2247. if type == "Add" then
  2248. scaler2 = 1*value
  2249. elseif type == "Divide" then
  2250. scaler2 = 1/value
  2251. end
  2252. coroutine.resume(coroutine.create(function()
  2253. for i = 0,10/bonuspeed,0.1 do
  2254. swait()
  2255. if rainbowmode == true then
  2256. rng.Color = Color3.new(r/255,g/255,b/255)
  2257. end
  2258. if type == "Add" then
  2259. scaler2 = scaler2 - 0.01*value/bonuspeed
  2260. elseif type == "Divide" then
  2261. scaler2 = scaler2 - 0.01/value*bonuspeed
  2262. end
  2263. if chaosmode == true then
  2264. rng.BrickColor = BrickColor.random()
  2265. end
  2266. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2267. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2268. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2269. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2270. end
  2271. rng:Destroy()
  2272. end))
  2273. end
  2274.  
  2275.  
  2276. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2277. local type = type
  2278. local rng = Instance.new("Part", char)
  2279. rng.Anchored = true
  2280. if ModeOfGlitch ~= 9 then
  2281. rng.BrickColor = color
  2282. elseif ModeOfGlitch == 9 then
  2283. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2284. end
  2285. rng.CanCollide = false
  2286. rng.FormFactor = 3
  2287. rng.Name = "Ring"
  2288. rng.Material = "Neon"
  2289. rng.Size = Vector3.new(1, 1, 1)
  2290. rng.Transparency = 1
  2291. rng.TopSurface = 0
  2292. rng.BottomSurface = 0
  2293. rng.CFrame = pos
  2294. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2295. local rngm = Instance.new("SpecialMesh", rng)
  2296. rngm.MeshType = "Sphere"
  2297. rngm.Scale = vt(x1,y1,z1)
  2298. if rainbowmode == true then
  2299. rng.Color = Color3.new(r/255,g/255,b/255)
  2300. end
  2301. if ModeOfGlitch == 9 then
  2302. coroutine.resume(coroutine.create(function()
  2303. while true do
  2304. swait()
  2305. if rng.Parent ~= nil then
  2306. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2307. else
  2308. break
  2309. end
  2310. end
  2311. end))
  2312. end
  2313. local scaler2 = 1
  2314. local speeder = FastSpeed
  2315. if type == "Add" then
  2316. scaler2 = 1*value
  2317. elseif type == "Divide" then
  2318. scaler2 = 1/value
  2319. end
  2320. coroutine.resume(coroutine.create(function()
  2321. for i = 0,10/bonuspeed,0.1 do
  2322. swait()
  2323. if rainbowmode == true then
  2324. rng.Color = Color3.new(r/255,g/255,b/255)
  2325. end
  2326. if type == "Add" then
  2327. scaler2 = scaler2 - 0.01*value/bonuspeed
  2328. elseif type == "Divide" then
  2329. scaler2 = scaler2 - 0.01/value*bonuspeed
  2330. end
  2331. if chaosmode == true then
  2332. rng.BrickColor = BrickColor.random()
  2333. end
  2334. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2335. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2336. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2337. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2338. end
  2339. rng:Destroy()
  2340. end))
  2341. end
  2342.  
  2343. function dmg(dude)
  2344. if dude.Name ~= Character then
  2345. local keptcolor = MAINRUINCOLOR
  2346. local bgf = Instance.new("BodyGyro",dude.Head)
  2347. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  2348. --[[local val = Instance.new("BoolValue",dude)
  2349. val.Name = "IsHit"]]--
  2350. local ds = coroutine.wrap(function()
  2351. dude:WaitForChild("Head"):BreakJoints()
  2352. for i, v in pairs(dude:GetChildren()) do
  2353. if v:IsA("Part") or v:IsA("MeshPart") then
  2354. v.Name = "DEMINISHED"
  2355. end
  2356. end
  2357. wait(0.5)
  2358. targetted = nil
  2359. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  2360. coroutine.resume(coroutine.create(function()
  2361. for i, v in pairs(dude:GetChildren()) do
  2362. if v:IsA("Accessory") then
  2363. v:Destroy()
  2364. end
  2365. if v:IsA("Humanoid") then
  2366. v:Destroy()
  2367. end
  2368. if v:IsA("CharacterMesh") then
  2369. v:Destroy()
  2370. end
  2371. if v:IsA("Model") then
  2372. v:Destroy()
  2373. end
  2374. if v:IsA("Part") or v:IsA("MeshPart") then
  2375. for x, o in pairs(v:GetChildren()) do
  2376. if o:IsA("Decal") then
  2377. o:Destroy()
  2378. end
  2379. end
  2380. coroutine.resume(coroutine.create(function()
  2381. v.Material = "Neon"
  2382. v.CanCollide = false
  2383. v.Anchored = false
  2384. local bld = Instance.new("ParticleEmitter",v)
  2385. bld.LightEmission = 0.75
  2386. bld.Texture = "rbxassetid://363275192" ---284205403
  2387. bld.Color = ColorSequence.new(keptcolor.Color)
  2388. bld.Rate = 500
  2389. bld.Lifetime = NumberRange.new(1)
  2390. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  2391. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  2392. bld.Speed = NumberRange.new(2,5)
  2393. bld.VelocitySpread = 50000
  2394. bld.Rotation = NumberRange.new(-500,500)
  2395. bld.RotSpeed = NumberRange.new(-500,500)
  2396. local sbs = Instance.new("BodyPosition", v)
  2397. sbs.P = 3000
  2398. sbs.D = 1000
  2399. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2400. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  2401. v.Color = keptcolor.Color
  2402. coroutine.resume(coroutine.create(function()
  2403. for i = 0, 49 do
  2404. swait(1)
  2405. v:BreakJoints()
  2406. v.Transparency = v.Transparency + 0.02
  2407. end
  2408. v:BreakJoints()
  2409. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  2410. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  2411. bld.Speed = NumberRange.new(10,25)
  2412. bld.Drag = 5
  2413. bld.Acceleration = vt(0,2,0)
  2414. wait(0.5)
  2415. bld.Enabled = false
  2416. wait(8)
  2417. v:Destroy()
  2418. dude:Destroy()
  2419. end))
  2420. end))
  2421. end
  2422. end
  2423. end))
  2424. end)
  2425. ds()
  2426. end
  2427. end
  2428.  
  2429.  
  2430. function FindNearestHead(Position, Distance, SinglePlayer)
  2431. if SinglePlayer then
  2432. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  2433. end
  2434. local List = {}
  2435. for i, v in pairs(workspace:GetChildren()) do
  2436. if v:IsA("Model") then
  2437. if v:findFirstChild("Head") then
  2438. if v ~= Character then
  2439. if (v.Head.Position - Position).magnitude <= Distance then
  2440. table.insert(List, v)
  2441. end
  2442. end
  2443. end
  2444. end
  2445. end
  2446. return List
  2447. end
  2448.  
  2449. function FaceMouse()
  2450. Cam = workspace.CurrentCamera
  2451. return {
  2452. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  2453. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2454. }
  2455. end
  2456.  
  2457. function FaceMouse2()
  2458. Cam = workspace.CurrentCamera
  2459. return {
  2460. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  2461. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2462. }
  2463. end
  2464.  
  2465. -- Functions are ready.
  2466. local storehumanoidWS = 16
  2467.  
  2468. function resetmode()
  2469. ModeOfGlitch = 1
  2470. storehumanoidWS = 16
  2471. hum.WalkSpeed = 16
  2472. rainbowmode = false
  2473. chaosmode = false
  2474. RecolorTextAndRename("Glacier",Color3.new(1,1,1),Color3.new(0,0,0),"Code")
  2475. newTheme("rbxassetid://435773595",0,1.01,1.25)
  2476. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  2477. for i, v in pairs(mw2:GetChildren()) do
  2478. if v:IsA("Part") then
  2479. v.BrickColor = MAINRUINCOLOR
  2480. v.Material = "Neon"
  2481. end
  2482. end
  2483. refec.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2484. refec2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2485. refec3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2486. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2487. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2488. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2489. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2490. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2491. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2492. for i, v in pairs(mw1:GetChildren()) do
  2493. if v:IsA("Part") then
  2494. v.Transparency = 0
  2495. v.BrickColor = MAINRUINCOLOR
  2496. v.Material = "Neon"
  2497. end
  2498. end
  2499. for i, v in pairs(m:GetChildren()) do
  2500. if v:IsA("Part") then
  2501. v.BrickColor = BrickColor.new("Baby blue")
  2502. v.Material = "Ice"
  2503. end
  2504. end
  2505. for i, v in pairs(m2:GetChildren()) do
  2506. if v:IsA("Part") then
  2507. v.BrickColor = BrickColor.new("Institutional white")
  2508. v.Material = "Ice"
  2509. end
  2510. end
  2511. for i, v in pairs(m3:GetChildren()) do
  2512. if v:IsA("Part") then
  2513. v.BrickColor = BrickColor.new("Cyan")
  2514. v.Material = "Neon"
  2515. end
  2516. end
  2517. for i, v in pairs(extrawingmod1:GetChildren()) do
  2518. if v:IsA("Part") then
  2519. v.Transparency = 1
  2520. v.BrickColor = BrickColor.new("Toothpaste")
  2521. v.Material = "Neon"
  2522. end
  2523. end
  2524. for i, v in pairs(extrawingmod2:GetChildren()) do
  2525. if v:IsA("Part") then
  2526. v.Transparency = 1
  2527. v.BrickColor = BrickColor.new("Toothpaste")
  2528. v.Material = "Neon"
  2529. end
  2530. end
  2531. end
  2532.  
  2533. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo)
  2534. for i, v in pairs(mw2:GetChildren()) do
  2535. if v:IsA("Part") then
  2536. v.BrickColor = one
  2537. v.Material = "Neon"
  2538. end
  2539. end
  2540. refec.Color = ColorSequence.new(one.Color)
  2541. refec2.Color = ColorSequence.new(one.Color)
  2542. refec3.Color = ColorSequence.new(one.Color)
  2543. tr1.Color = ColorSequence.new(one.Color)
  2544. tr2.Color = ColorSequence.new(one.Color)
  2545. tr3.Color = ColorSequence.new(one.Color)
  2546. for i, v in pairs(mw1:GetChildren()) do
  2547. if v:IsA("Part") then
  2548. v.Transparency = 0
  2549. v.BrickColor = two
  2550. v.Material = "Neon"
  2551. end
  2552. end
  2553. tl1.Color = ColorSequence.new(two.Color)
  2554. tl2.Color = ColorSequence.new(two.Color)
  2555. tl3.Color = ColorSequence.new(two.Color)
  2556. for i, v in pairs(m:GetChildren()) do
  2557. if v:IsA("Part") then
  2558. v.BrickColor = three
  2559. v.Material = "Ice"
  2560. end
  2561. end
  2562. for i, v in pairs(m2:GetChildren()) do
  2563. if v:IsA("Part") then
  2564. v.BrickColor = four
  2565. v.Material = "Ice"
  2566. end
  2567. end
  2568. for i, v in pairs(m3:GetChildren()) do
  2569. if v:IsA("Part") then
  2570. v.BrickColor = five
  2571. v.Material = "Neon"
  2572. end
  2573. end
  2574. for i, v in pairs(extrawingmod1:GetChildren()) do
  2575. if v:IsA("Part") then
  2576. v.Transparency = exonetran
  2577. v.BrickColor = exone
  2578. v.Material = "Neon"
  2579. end
  2580. end
  2581. for i, v in pairs(extrawingmod2:GetChildren()) do
  2582. if v:IsA("Part") then
  2583. v.Transparency = extwotran
  2584. v.BrickColor = extwo
  2585. v.Material = "Neon"
  2586. end
  2587. end
  2588. end
  2589.  
  2590. function attackone()
  2591. attack = true
  2592. local keptcolor = MAINRUINCOLOR
  2593. for i = 0,1,0.1 do
  2594. swait()
  2595. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  2596. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  2597. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  2598. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  2599. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
  2600. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0)),.3)
  2601. end
  2602. local distlook = 5
  2603. coroutine.resume(coroutine.create(function()
  2604. for i = 0, 4 do
  2605. swait(2)
  2606. CameraEnshaking(2,3)
  2607. local hite = Instance.new("Part", char)
  2608. hite.Anchored = true
  2609. hite.CanCollide = false
  2610. hite.FormFactor = 3
  2611. hite.Name = "Ring"
  2612. hite.Material = "Neon"
  2613. hite.Size = Vector3.new(1, 1, 1)
  2614. hite.Transparency = 1
  2615. hite.TopSurface = 0
  2616. hite.BottomSurface = 0
  2617. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  2618. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0,1,0),0.2,0.001,0.2,keptcolor)
  2619. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(8,1,8),-0.045,0.15,-0.045,keptcolor)
  2620. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(4,1,4),-0.025,0.25,-0.025,keptcolor)
  2621. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(2,1,2),-0.015,0.35,-0.015,keptcolor)
  2622. MagniDamage(hite, 9, 10,25, 0, "Normal")
  2623. for i = 0, 14 do
  2624. local rsiz = math.random(5,20)
  2625. sphereMK(math.random(1,3),0.25,"Add",hite.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  2626. end
  2627. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  2628. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  2629. game:GetService("Debris"):AddItem(hite, 5)
  2630. distlook = distlook + 10
  2631. end
  2632. end))
  2633. for i = 0,1,0.1 do
  2634. swait()
  2635. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  2636. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  2637. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  2638. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  2639. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-10)),.5)
  2640. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.5)
  2641. end
  2642. attack = false
  2643. end
  2644.  
  2645. function attacktwo()
  2646. attack = true
  2647. for i = 0,1,0.1 do
  2648. swait()
  2649. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  2650. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2651. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3)
  2652. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3)
  2653. 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(-1.5),math.rad(0),math.rad(10)),.3)
  2654. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.3)
  2655. end
  2656. CameraEnshaking(3,4)
  2657. MagniDamage(root, 12, 15,30, 0, "Normal")
  2658. sphere2(5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
  2659. sphere2(7.5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
  2660. sphere2(10,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
  2661. coroutine.resume(coroutine.create(function()
  2662. local eff = Instance.new("ParticleEmitter",root)
  2663. eff.Texture = "rbxassetid://363275192"
  2664. eff.LightEmission = 0.95
  2665. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2666. eff.Rate = 10000
  2667. eff.Lifetime = NumberRange.new(1)
  2668. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  2669. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  2670. eff.Speed = NumberRange.new(10,125)
  2671. eff.Drag = 5
  2672. eff.Rotation = NumberRange.new(-500,500)
  2673. eff.VelocitySpread = 9000
  2674. eff.RotSpeed = NumberRange.new(-50,50)
  2675. local eff2 = eff:Clone()
  2676. eff2.Parent = root
  2677. eff2.Texture = "rbxassetid://284205403"
  2678. eff2.Rate = 10000
  2679. eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  2680. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  2681. eff2.Drag = 5
  2682. eff2.Speed = NumberRange.new(10,50)
  2683. eff2.Rotation = NumberRange.new(-500,500)
  2684. eff2.VelocitySpread = 9000
  2685. wait(0.25)
  2686. eff2.Enabled = false
  2687. eff.Enabled = false
  2688. wait(3)
  2689. eff2:Destroy()
  2690. eff:Destroy()
  2691. end))
  2692. for i = 0, 9 do
  2693. sphere2(7.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.0025,1,-0.0025,MAINRUINCOLOR)
  2694. end
  2695. for i = 0, 24 do
  2696. local rsiz = math.random(5,20)
  2697. sphereMK(math.random(1,5),0.75,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/8,rsiz/8,rsiz/8,0,MAINRUINCOLOR,0)
  2698. end
  2699. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
  2700. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
  2701. CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
  2702. for i = 0,2,0.1 do
  2703. swait()
  2704. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  2705. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2706. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  2707. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  2708. 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(-1.5),math.rad(0),math.rad(-10)),.3)
  2709. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.3)
  2710. end
  2711. attack = false
  2712. end
  2713.  
  2714. function attackthree()
  2715. attack = true
  2716. local keptcolor = MAINRUINCOLOR
  2717. CFuncs["Sound"].Create("rbxassetid://1042700914", root, 2, 1.75)
  2718. for i = 0,1,0.1 do
  2719. swait()
  2720. sphere2(6,"Add",root.CFrame + root.CFrame.lookVector*2.5,vt(3,3,3),0.01,0.01,0.01,MAINRUINCOLOR)
  2721. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.5)
  2722. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.5)
  2723. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(-40)), 0.5)
  2724. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(40)), 0.5)
  2725. 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(-1.5),math.rad(0),math.rad(0)),.5)
  2726. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.5)
  2727. end
  2728. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 1.5, 0.9)
  2729. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 0.9)
  2730. local angle = -25
  2731. coroutine.resume(coroutine.create(function()
  2732. for i = 0, 2 do
  2733. local orb = Instance.new("Part", char)
  2734. orb.BrickColor = MAINRUINCOLOR
  2735. orb.CanCollide = false
  2736. orb.FormFactor = 3
  2737. orb.Name = "Ring"
  2738. orb.Material = "Neon"
  2739. orb.Size = Vector3.new(1, 1, 1)
  2740. orb.Transparency = 0.5
  2741. orb.TopSurface = 0
  2742. orb.BottomSurface = 0
  2743. local orbm = Instance.new("SpecialMesh", orb)
  2744. orbm.MeshType = "Sphere"
  2745. orbm.Name = "SizeMesh"
  2746. orbm.Scale = vt(3,3,3)
  2747. orb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(angle),0) + root.CFrame.lookVector*2.5
  2748. local bv = Instance.new("BodyVelocity")
  2749. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2750. bv.velocity = orb.CFrame.lookVector*100
  2751. bv.Parent = orb
  2752. game:GetService("Debris"):AddItem(orb, 10)
  2753. sphere2(6,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.15,0.15,0.15,keptcolor)
  2754. sphere2(9,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.15,0.15,0.15,keptcolor)
  2755. coroutine.resume(coroutine.create(function()
  2756. MagniDamage(orb, 6, 8,15, 0, "Normal")
  2757. for i = 0, 7 do
  2758. swait(2.5)
  2759. CameraEnshaking(1,2)
  2760. MagniDamage(orb, 6, 8,15, 0, "Normal")
  2761. CFuncs["Sound"].Create("rbxassetid://1042693018", orb, 1.5, 1.5)
  2762. for i = 0, 4 do
  2763. local rsiz = math.random(5,10)
  2764. sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,1,0.5),-0.0025,0.25,-0.0025,keptcolor)
  2765. sphereMK(math.random(2,6),0.15,"Add",orb.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  2766. end
  2767. sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.1,0.1,0.1,keptcolor)
  2768. sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.1,0.1,0.1,keptcolor)
  2769. end
  2770. orb.Transparency = 1
  2771. orb.Anchored = false
  2772. wait(10)
  2773. orb:Destroy()
  2774. end))
  2775. angle = angle + 25
  2776. end
  2777. end))
  2778. for i = 0,1,0.1 do
  2779. swait()
  2780. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  2781. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  2782. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.3)
  2783. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2784. 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(-1.5),math.rad(0),math.rad(-10)),.3)
  2785. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.3)
  2786. end
  2787. attack = false
  2788. end
  2789.  
  2790. ------------------------------------- Abilities ---------------------------------------------------------
  2791. function Fireball()
  2792. attack = true
  2793. hum.WalkSpeed = 0
  2794. local keptcolor = MAINRUINCOLOR
  2795. for i = 0,2,0.1 do
  2796. swait()
  2797. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
  2798. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-40)),.3)
  2799. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
  2800. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(40), math.rad(-40)), 0.3)
  2801. 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(-1.5),math.rad(0),math.rad(0)),.3)
  2802. 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(-1),math.rad(0),math.rad(0)),.3)
  2803. end
  2804. local orb = Instance.new("Part", char)
  2805. orb.BrickColor = keptcolor
  2806. orb.CanCollide = false
  2807. orb.FormFactor = 3
  2808. orb.Name = "Ring"
  2809. orb.Material = "Neon"
  2810. orb.Size = Vector3.new(1, 1, 1)
  2811. orb.Transparency = 0
  2812. orb.TopSurface = 0
  2813. orb.BottomSurface = 0
  2814. local orbm = Instance.new("SpecialMesh", orb)
  2815. orbm.MeshType = "Sphere"
  2816. orbm.Name = "SizeMesh"
  2817. orbm.Scale = vt(4,4,4)
  2818. orb.CFrame = root.CFrame + root.CFrame.lookVector*3
  2819. local eff = Instance.new("ParticleEmitter",orb)
  2820. eff.Texture = "rbxassetid://296874871"
  2821. eff.LightEmission = 0.95
  2822. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  2823. eff.Rate = 10000
  2824. eff.Lifetime = NumberRange.new(1.5)
  2825. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,7,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  2826. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  2827. eff.Speed = NumberRange.new(25)
  2828. eff.Drag = 5
  2829. eff.Rotation = NumberRange.new(-500,500)
  2830. eff.VelocitySpread = 9000
  2831. eff.RotSpeed = NumberRange.new(-500,500)
  2832. local a = Instance.new("Part",workspace)
  2833. a.Name = "Direction"
  2834. a.Anchored = true
  2835. a.BrickColor = bc("Bright red")
  2836. a.Material = "Neon"
  2837. a.Transparency = 1
  2838. a.CanCollide = false
  2839. local ray = Ray.new(
  2840. orb.CFrame.p, -- origin
  2841. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  2842. )
  2843. local ignore = orb
  2844. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2845. a.BottomSurface = 10
  2846. a.TopSurface = 10
  2847. local distance = (orb.CFrame.p - position).magnitude
  2848. a.Size = Vector3.new(0.1, 0.1, 0.1)
  2849. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  2850. orb.CFrame = a.CFrame
  2851. a:Destroy()
  2852. CFuncs["Sound"].Create("rbxassetid://304448425", orb, 1.5, 0.9)
  2853. local bv = Instance.new("BodyVelocity")
  2854. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2855. bv.velocity = orb.CFrame.lookVector*75
  2856. bv.Parent = orb
  2857. game:GetService("Debris"):AddItem(orb, 10)
  2858. local hitted = false
  2859. coroutine.resume(coroutine.create(function()
  2860. while true do
  2861. swait()
  2862. if orb.Parent ~= nil and hitted == false then
  2863. sphere2(4,"Add",orb.CFrame*CFrame.new(math.random(-1,1),math.random(-1,1),0) - orb.CFrame.lookVector*1.5,vt(3,3,3),-0.03,-0.03,-0.03,keptcolor)
  2864. elseif orb.Parent == nil and hitted == true then
  2865. break
  2866. end
  2867. end
  2868. end))
  2869. local hit =orb.Touched:connect(function(hit)
  2870. if hitted == false and hit.Parent ~= char then
  2871. hitted = true
  2872. eff.Enabled = false
  2873. CameraEnshaking(4,4)
  2874. CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 4.5, 0.7)
  2875. CFuncs["Sound"].Create("rbxassetid://178452221", orb, 2.5, 0.4)
  2876. MagniDamage(orb, 25, 20,30, 0, "Normal")
  2877. sphere2(4,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  2878. sphere2(3,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  2879. sphere2(2,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  2880. for i = 0, 9 do
  2881. sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1,1.5),-0.005,4,-0.005,keptcolor)
  2882. end
  2883. for i = 0, 49 do
  2884. local rsiz = math.random(10,30)
  2885. sphereMK(math.random(1,3),1,"Add",orb.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  2886. end
  2887. local eff = Instance.new("ParticleEmitter",orb)
  2888. eff.Texture = "rbxassetid://296874871"
  2889. eff.LightEmission = 0.95
  2890. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  2891. eff.Rate = 10000
  2892. eff.Lifetime = NumberRange.new(1.5)
  2893. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  2894. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  2895. eff.Speed = NumberRange.new(150)
  2896. eff.Drag = 5
  2897. eff.Rotation = NumberRange.new(-500,500)
  2898. eff.VelocitySpread = 9000
  2899. eff.RotSpeed = NumberRange.new(-500,500)
  2900. coroutine.resume(coroutine.create(function()
  2901. wait(0.25)
  2902. eff.Enabled = false
  2903. end))
  2904. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  2905. orb.Anchored = true
  2906. orb.Transparency = 1
  2907. coroutine.resume(coroutine.create(function()
  2908. if hfr ~= nil then
  2909. orb.Size = vt(50,1,50)
  2910. orb.Orientation = vt(0,0,0)
  2911. orb.CFrame = orb.CFrame*CFrame.new(0,-5,0)
  2912. orbm:Destroy()
  2913. local firef = eff:Clone()
  2914. firef.Parent = orb
  2915. firef.VelocitySpread = 50
  2916. firef.Rate = 500
  2917. firef.Drag = 3
  2918. firef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  2919. firef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  2920. firef.Speed = NumberRange.new(10,30)
  2921. for i = 0, 24 do
  2922. wait(0.25)
  2923. MagniDamage(orb, 25, 3,6, 0, "Normal")
  2924. end
  2925. firef.Enabled = false
  2926. end
  2927. end))
  2928. wait(10)
  2929. orb:Destroy()
  2930. end
  2931. end)
  2932. for i = 0,1,0.1 do
  2933. swait()
  2934. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.5)
  2935. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  2936. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.5)
  2937. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.5)
  2938. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.5)
  2939. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
  2940. end
  2941. hum.WalkSpeed = storehumanoidWS
  2942. attack = false
  2943. end
  2944.  
  2945. function BeamOfDeath()
  2946. attack = true
  2947. hum.WalkSpeed = 0
  2948. local keptcolor = MAINRUINCOLOR
  2949. local orb = Instance.new("Part", char)
  2950. orb.BrickColor = keptcolor
  2951. orb.CanCollide = false
  2952. orb.FormFactor = 3
  2953. orb.Name = "Ring"
  2954. orb.Material = "Neon"
  2955. orb.Size = Vector3.new(1, 1, 1)
  2956. orb.Transparency = 1
  2957. orb.TopSurface = 0
  2958. orb.BottomSurface = 0
  2959. local orbm = Instance.new("SpecialMesh", orb)
  2960. orbm.MeshType = "Sphere"
  2961. orbm.Name = "SizeMesh"
  2962. orbm.Scale = vt(22.5,10000,22.5)
  2963. orb.CFrame = mouse.Hit
  2964. orb.Anchored = true
  2965. orb.Orientation = vt(0,0,0)
  2966. orb.CFrame = orb.CFrame*CFrame.new(0,1,0)
  2967. CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 1.5, 1)
  2968. coroutine.resume(coroutine.create(function()
  2969. coroutine.resume(coroutine.create(function()
  2970. for i = 0, 399 do
  2971. swait()
  2972. orbm.Scale = orbm.Scale - vt(0.05,0,0.05)
  2973. orb.Transparency = orb.Transparency - 0.0025
  2974. end
  2975. end))
  2976. wait(9)
  2977. coroutine.resume(coroutine.create(function()
  2978. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  2979. if hfr ~= nil then
  2980. for i = 0, 49 do
  2981. local deb = Instance.new("Part", char)
  2982. deb.Anchored = true
  2983. deb.CanCollide = false
  2984. deb.FormFactor = 3
  2985. deb.Name = "Ring"
  2986. deb.Material = hitfloor.Material
  2987. deb.Color = hitfloor.Color
  2988. deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55))
  2989. deb.Transparency = 0
  2990. deb.TopSurface = 0
  2991. deb.BottomSurface = 0
  2992. deb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),-5,math.random(-150,150))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2993. local deb2 = Instance.new("Part", char)
  2994. deb2.CanCollide = false
  2995. deb2.FormFactor = 3
  2996. deb2.Name = "Ring"
  2997. deb2.Material = hitfloor.Material
  2998. deb2.Color = hitfloor.Color
  2999. deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38))
  3000. deb2.Transparency = 0
  3001. deb2.TopSurface = 0
  3002. deb2.BottomSurface = 0
  3003. deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150))
  3004. deb2.CFrame = orb.CFrame*CFrame.new(math.random(-60,60),-5,math.random(-60,60))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3005. local eff = Instance.new("ParticleEmitter",deb)
  3006. eff.Texture = "rbxassetid://363275192"
  3007. eff.LightEmission = 0.95
  3008. eff.Color = ColorSequence.new(keptcolor.Color)
  3009. eff.Rate = 100
  3010. eff.Lifetime = NumberRange.new(1)
  3011. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
  3012. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3013. eff.Speed = NumberRange.new(0,5)
  3014. eff.Rotation = NumberRange.new(-500,500)
  3015. eff.VelocitySpread = 9000
  3016. eff.RotSpeed = NumberRange.new(-10,10)
  3017. local at1 = Instance.new('Attachment',deb2)
  3018. at1.Position = vt(0,15,0)
  3019. local at2 = Instance.new('Attachment',deb2)
  3020. at2.Position = vt(0,-15,0)
  3021. local tl = Instance.new('Trail',deb2)
  3022. tl.Attachment0 = at1
  3023. tl.Attachment1 = at2
  3024. tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3025. tl.Color = ColorSequence.new(BrickColor.new('White').Color)
  3026. tl.Lifetime = 1
  3027. game:GetService("Debris"):AddItem(deb,30)
  3028. game:GetService("Debris"):AddItem(deb2,30)
  3029. coroutine.resume(coroutine.create(function()
  3030. wait(15)
  3031. eff.Enabled = false
  3032. for i = 0, 49 do
  3033. swait()
  3034. deb.Transparency = deb.Transparency + 0.02
  3035. end
  3036. wait(1)
  3037. deb:Destroy()
  3038. end))
  3039. end
  3040. end
  3041. end))
  3042. for i = 0, 199 do
  3043. swait(1.5)
  3044. for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do
  3045. if v:FindFirstChild('Head') then
  3046. dmg(v)
  3047. end
  3048. end
  3049. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),5,5,5,keptcolor)
  3050. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),1,35,1,keptcolor)
  3051. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),0,50,0,keptcolor)
  3052. sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor)
  3053. end
  3054. orb:Destroy()
  3055. end))
  3056. hum.WalkSpeed = storehumanoidWS
  3057. attack = false
  3058. end
  3059.  
  3060.  
  3061. function Beams()
  3062. attack = true
  3063. hum.WalkSpeed = 0
  3064. local keptcolor = MAINRUINCOLOR
  3065. coroutine.resume(coroutine.create(function()
  3066. for i = 0, 24 do
  3067. swait(5)
  3068. local orb = Instance.new("Part", char)
  3069. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  3070. orb.BrickColor = keptcolor
  3071. orb.CanCollide = false
  3072. orb.FormFactor = 3
  3073. orb.Name = "Ring"
  3074. orb.Material = "Neon"
  3075. orb.Size = Vector3.new(1, 1, 1)
  3076. orb.Transparency = 0
  3077. orb.TopSurface = 0
  3078. orb.BottomSurface = 0
  3079. orb.Anchored = true
  3080. local orbm = Instance.new("SpecialMesh", orb)
  3081. orbm.MeshType = "Sphere"
  3082. orbm.Name = "SizeMesh"
  3083. orbm.Scale = vt(1.25,1.25,1.25)
  3084. orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6))
  3085. sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  3086. coroutine.resume(coroutine.create(function()
  3087. wait(0.5)
  3088. CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
  3089. sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  3090. sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  3091. orb.Transparency = 1
  3092. local a = Instance.new("Part",char)
  3093. a.Name = "Direction"
  3094. a.Anchored = true
  3095. a.BrickColor = keptcolor
  3096. a.Material = "Neon"
  3097. a.Transparency = 0.25
  3098. a.Shape = "Cylinder"
  3099. local ht = Instance.new("Part",char)
  3100. ht.Name = "DirectionHit"
  3101. ht.Anchored = true
  3102. ht.BrickColor = keptcolor
  3103. ht.CanCollide = false
  3104. ht.Transparency = 1
  3105. ht.Size = vt(0.1,0.1,0.1)
  3106. CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.2)
  3107. a.CanCollide = false
  3108. local ray = Ray.new(
  3109. orb.CFrame.p, -- origin
  3110. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3111. )
  3112. local ignore = char
  3113. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3114. a.BottomSurface = 10
  3115. a.TopSurface = 10
  3116. local distance = (orb.CFrame.p - position).magnitude
  3117. a.Size = Vector3.new(distance,1,1)
  3118. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  3119. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3120. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  3121. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  3122. MagniDamage(ht, 9, 10,15, 0, "Normal")
  3123. coroutine.resume(coroutine.create(function()
  3124. local eff = Instance.new("ParticleEmitter",ht)
  3125. eff.Texture = "rbxassetid://284205403"
  3126. eff.LightEmission = 0.95
  3127. eff.Color = ColorSequence.new(keptcolor.Color)
  3128. eff.Rate = 500
  3129. eff.Lifetime = NumberRange.new(0.5)
  3130. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  3131. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3132. eff.Speed = NumberRange.new(10,50)
  3133. eff.Drag = 5
  3134. eff.Rotation = NumberRange.new(-500,500)
  3135. eff.VelocitySpread = 9000
  3136. eff.RotSpeed = NumberRange.new(-500,500)
  3137. wait(0.25)
  3138. eff.Enabled = false
  3139. end))
  3140. for i = 0, 4 do
  3141. sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.005,0.125,-0.005,keptcolor)
  3142. sphere2(4,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.01,0.5,-0.01,keptcolor)
  3143. local rsiz = math.random(10,30)
  3144. sphereMK(math.random(2,4),0.25,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  3145. end
  3146. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  3147. local msh = Instance.new("SpecialMesh",a)
  3148. msh.MeshType = "Cylinder"
  3149. msh.Scale = vt(1,1,1)
  3150. for i = 0, 49 do
  3151. swait()
  3152. msh.Scale = msh.Scale + vt(0,0.01,0.01)
  3153. a.Transparency = a.Transparency + 0.02
  3154. end
  3155. orb:Destroy()
  3156. a:Destroy()
  3157. ht:Destroy()
  3158. end))
  3159. game:GetService("Debris"):AddItem(orb, 10)
  3160. end
  3161. end))
  3162. for i = 0,12,0.1 do
  3163. swait()
  3164. sphere2(7,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,keptcolor)
  3165. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
  3166. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
  3167. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3)
  3168. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3)
  3169. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.3)
  3170. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.3)
  3171. end
  3172. hum.WalkSpeed = storehumanoidWS
  3173. attack = false
  3174. end
  3175.  
  3176. function smiter()
  3177. local targetted = nil
  3178. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3179. targetted = mouse.Target.Parent
  3180. end
  3181. if targetted ~= nil then
  3182. RootPart.CFrame = FaceMouse()[1]
  3183. attack = true
  3184. hum.WalkSpeed = 0
  3185. coroutine.resume(coroutine.create(function()
  3186. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  3187. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  3188. local vel = Instance.new("BodyPosition", targetted.Head)
  3189. vel.P = 12500
  3190. vel.D = 1000
  3191. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  3192. vel.position = targetted.Head.CFrame.p
  3193. end))
  3194. CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
  3195. for i = 0,4,0.1 do
  3196. swait()
  3197. sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.125,-0.01,MAINRUINCOLOR)
  3198. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3199. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3200. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3201. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3202. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.2)
  3203. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(20),math.rad(5)),.2)
  3204. end
  3205. coroutine.resume(coroutine.create(function()
  3206. CameraEnshaking(6,5)
  3207. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  3208. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
  3209. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
  3210. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
  3211. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  3212. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  3213. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  3214. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  3215. coroutine.resume(coroutine.create(function()
  3216. local eff = Instance.new("ParticleEmitter",targetted.Head)
  3217. eff.Texture = "rbxassetid://363275192"
  3218. eff.LightEmission = 0.95
  3219. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3220. eff.Rate = 10000
  3221. eff.Lifetime = NumberRange.new(1.5)
  3222. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  3223. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3224. eff.Speed = NumberRange.new(25,150)
  3225. eff.Drag = 5
  3226. eff.Rotation = NumberRange.new(-500,500)
  3227. eff.VelocitySpread = 9000
  3228. eff.RotSpeed = NumberRange.new(-50,50)
  3229. local eff2 = eff:Clone()
  3230. eff2.Parent = targetted.Head
  3231. eff2.Texture = "rbxassetid://284205403"
  3232. eff2.Rate = 10000
  3233. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3234. eff2.Drag = 5
  3235. eff2.Rotation = NumberRange.new(-500,500)
  3236. eff2.VelocitySpread = 9000
  3237. wait(0.5)
  3238. eff2.Enabled = false
  3239. eff.Enabled = false
  3240. end))
  3241. for i = 0, 9 do
  3242. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,3,-0.02,MAINRUINCOLOR)
  3243. end
  3244. for i = 0, 49 do
  3245. local rsiz = math.random(10,50)
  3246. sphereMK(math.random(1,4),1,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  3247. end
  3248. game:GetService("Debris"):AddItem(vel,1)
  3249. dmg(targetted)
  3250. end))
  3251. for i = 0,1,0.1 do
  3252. swait()
  3253. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  3254. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  3255. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.5)
  3256. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-50)), 0.5)
  3257. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.5)
  3258. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(20),math.rad(5)),.5)
  3259. end
  3260. attack = false
  3261. hum.WalkSpeed = storehumanoidWS
  3262. end
  3263. end
  3264.  
  3265. function supsmiter()
  3266. local targetted = nil
  3267. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3268. targetted = mouse.Target.Parent
  3269. end
  3270. if targetted ~= nil then
  3271. RootPart.CFrame = FaceMouse()[1]
  3272. attack = true
  3273. hum.WalkSpeed = 0
  3274. coroutine.resume(coroutine.create(function()
  3275. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  3276. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  3277. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.2,0.2,0.2,MAINRUINCOLOR)
  3278. local vel = Instance.new("BodyPosition", targetted.Head)
  3279. vel.P = 12500
  3280. vel.D = 1000
  3281. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  3282. vel.position = targetted.Head.CFrame.p
  3283. end))
  3284. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb2, 2.5, 0.25)
  3285. for i = 0,14,0.1 do
  3286. swait()
  3287. rsiz = math.random(5,15)
  3288. sphereMK(math.random(3,9),0.25,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,-15)
  3289. sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1.5,1.5),-0.01,0.15,-0.01,MAINRUINCOLOR)
  3290. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3291. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3292. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3293. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3294. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3295. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3296. end
  3297. coroutine.resume(coroutine.create(function()
  3298. CameraEnshaking(6,5)
  3299. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  3300. MagniDamage(targetted.Head, 9, 18000,30000, 0, "Normal")
  3301. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 5.5, 0.8)
  3302. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 5.25, 0.8)
  3303. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 4, 0.8)
  3304. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  3305. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  3306. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  3307. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  3308. coroutine.resume(coroutine.create(function()
  3309. local eff = Instance.new("ParticleEmitter",targetted.Head)
  3310. eff.Texture = "rbxassetid://363275192"
  3311. eff.LightEmission = 0.95
  3312. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3313. eff.Rate = 10000
  3314. eff.Lifetime = NumberRange.new(1.5)
  3315. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  3316. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3317. eff.Speed = NumberRange.new(25,150)
  3318. eff.Drag = 5
  3319. eff.Rotation = NumberRange.new(-500,500)
  3320. eff.VelocitySpread = 9000
  3321. eff.RotSpeed = NumberRange.new(-50,50)
  3322. local eff2 = eff:Clone()
  3323. eff2.Parent = targetted.Head
  3324. eff2.Texture = "rbxassetid://284205403"
  3325. eff2.Rate = 10000
  3326. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3327. eff2.Drag = 5
  3328. eff2.Rotation = NumberRange.new(-500,500)
  3329. eff2.VelocitySpread = 9000
  3330. wait(0.5)
  3331. eff2.Enabled = false
  3332. eff.Enabled = false
  3333. end))
  3334. for i = 0, 9 do
  3335. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,3,-0.02,MAINRUINCOLOR)
  3336. end
  3337. for i = 0, 49 do
  3338. local rsiz = math.random(10,50)
  3339. sphereMK(math.random(1,4),1,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  3340. end
  3341. wait(0.75)
  3342. CameraEnshaking(6,6)
  3343. MagniDamage(targetted.Head, 20, 25,40, 0, "Normal")
  3344. MagniDamage(targetted.Head, 12, 18000,30000, 0, "Normal")
  3345. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.7)
  3346. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.7)
  3347. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.7)
  3348. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.5,0,0.5,MAINRUINCOLOR)
  3349. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.5,0,0.5,MAINRUINCOLOR)
  3350. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.75,0.75,0.75,MAINRUINCOLOR)
  3351. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.75,0.75,0.75,MAINRUINCOLOR)
  3352. coroutine.resume(coroutine.create(function()
  3353. local eff = Instance.new("ParticleEmitter",targetted.Head)
  3354. eff.Texture = "rbxassetid://363275192"
  3355. eff.LightEmission = 0.95
  3356. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3357. eff.Rate = 10000
  3358. eff.Lifetime = NumberRange.new(1.5)
  3359. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,35,0),NumberSequenceKeypoint.new(1,0,0)})
  3360. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3361. eff.Speed = NumberRange.new(25,250)
  3362. eff.Drag = 5
  3363. eff.Rotation = NumberRange.new(-500,500)
  3364. eff.VelocitySpread = 9000
  3365. eff.RotSpeed = NumberRange.new(-50,50)
  3366. local eff2 = eff:Clone()
  3367. eff2.Parent = targetted.Head
  3368. eff2.Texture = "rbxassetid://284205403"
  3369. eff2.Rate = 10000
  3370. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3371. eff2.Drag = 5
  3372. eff2.Rotation = NumberRange.new(-500,500)
  3373. eff2.VelocitySpread = 9000
  3374. wait(0.5)
  3375. eff2.Enabled = false
  3376. eff.Enabled = false
  3377. end))
  3378. for i = 0, 9 do
  3379. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,4.5,-0.02,MAINRUINCOLOR)
  3380. end
  3381. for i = 0, 49 do
  3382. local rsiz = math.random(15,55)
  3383. sphereMK(math.random(1,4),1.5,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  3384. end
  3385. wait(0.75)
  3386. CameraEnshaking(6,7)
  3387. MagniDamage(targetted.Head, 23, 40,80, 0, "Normal")
  3388. MagniDamage(targetted.Head, 15, 18000,30000, 0, "Normal")
  3389. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 7.5, 0.6)
  3390. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 7.25, 0.6)
  3391. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 6, 0.6)
  3392. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.75,0,0.75,MAINRUINCOLOR)
  3393. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.75,0,0.75,MAINRUINCOLOR)
  3394. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),1,1,1,MAINRUINCOLOR)
  3395. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),1,1,1,MAINRUINCOLOR)
  3396. coroutine.resume(coroutine.create(function()
  3397. local eff = Instance.new("ParticleEmitter",targetted.Head)
  3398. eff.Texture = "rbxassetid://363275192"
  3399. eff.LightEmission = 0.95
  3400. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3401. eff.Rate = 10000
  3402. eff.Lifetime = NumberRange.new(1.5)
  3403. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  3404. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3405. eff.Speed = NumberRange.new(50,450)
  3406. eff.Drag = 5
  3407. eff.Rotation = NumberRange.new(-500,500)
  3408. eff.VelocitySpread = 9000
  3409. eff.RotSpeed = NumberRange.new(-50,50)
  3410. local eff2 = eff:Clone()
  3411. eff2.Parent = targetted.Head
  3412. eff2.Texture = "rbxassetid://284205403"
  3413. eff2.Rate = 10000
  3414. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3415. eff2.Drag = 5
  3416. eff2.Rotation = NumberRange.new(-500,500)
  3417. eff2.VelocitySpread = 9000
  3418. wait(0.5)
  3419. eff2.Enabled = false
  3420. eff.Enabled = false
  3421. end))
  3422. for i = 0, 9 do
  3423. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,6,-0.02,MAINRUINCOLOR)
  3424. end
  3425. for i = 0, 49 do
  3426. local rsiz = math.random(20,60)
  3427. sphereMK(math.random(1,4),2,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  3428. end
  3429. dmg(targetted)
  3430. game:GetService("Debris"):AddItem(vel,1)
  3431. end))
  3432. for i = 0,7,0.1 do
  3433. swait()
  3434. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  3435. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.5)
  3436. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.5)
  3437. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-60)), 0.5)
  3438. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.5)
  3439. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.5)
  3440. end
  3441. attack = false
  3442. hum.WalkSpeed = storehumanoidWS
  3443. end
  3444. end
  3445.  
  3446. function BinaryBLINK()
  3447. for i = 0, 9 do
  3448. sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)
  3449. end
  3450. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3451. coroutine.resume(coroutine.create(function()
  3452. local eff = Instance.new("ParticleEmitter",root)
  3453. eff.Texture = "rbxassetid://1175838406"
  3454. eff.LightEmission = 0.95
  3455. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3456. eff.Rate = 10000
  3457. eff.Lifetime = NumberRange.new(1)
  3458. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  3459. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3460. eff.Speed = NumberRange.new(30,160)
  3461. eff.Drag = 5
  3462. eff.Rotation = NumberRange.new(-500,500)
  3463. eff.VelocitySpread = 100000
  3464. wait(0.25)
  3465. eff.Enabled = false
  3466. wait(4)
  3467. eff:Destroy()
  3468. end))
  3469. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3470. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3471. CameraEnshaking(2,10)
  3472. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 10)) do
  3473. if v:FindFirstChild('Head') then
  3474. dmg(v)
  3475. end
  3476. end
  3477. for i = 0, 9 do
  3478. sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)
  3479. end
  3480. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3481. end
  3482.  
  3483. function BinaryE()
  3484. local posit = -2
  3485. attack = true
  3486. hum.WalkSpeed = 5
  3487. CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
  3488. for i = 0,2,0.1 do
  3489. swait()
  3490. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  3491. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
  3492. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
  3493. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  3494. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
  3495. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.5)
  3496. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
  3497. end
  3498. for i = 0, 2 do
  3499. CameraEnshaking(1,2)
  3500. local hite = Instance.new("Part", char)
  3501. hite.Anchored = true
  3502. hite.CanCollide = false
  3503. hite.FormFactor = 3
  3504. hite.Name = "Ring"
  3505. hite.Material = "Neon"
  3506. hite.Size = Vector3.new(1, 1, 1)
  3507. hite.Transparency = 1
  3508. hite.TopSurface = 0
  3509. hite.BottomSurface = 0
  3510. hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
  3511. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
  3512. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
  3513. coroutine.resume(coroutine.create(function()
  3514. local eff = Instance.new("ParticleEmitter",hite)
  3515. eff.Texture = "rbxassetid://1175838406"
  3516. eff.LightEmission = 0.95
  3517. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3518. eff.Rate = 1000
  3519. eff.Lifetime = NumberRange.new(1)
  3520. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
  3521. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3522. eff.Speed = NumberRange.new(10,50)
  3523. eff.Drag = 5
  3524. eff.Rotation = NumberRange.new(-500,500)
  3525. eff.VelocitySpread = 100000
  3526. wait(0.25)
  3527. eff.Enabled = false
  3528. end))
  3529. coroutine.resume(coroutine.create(function()
  3530. for i = 0, 1 do
  3531. swait()
  3532. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3533. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3534. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3535. end
  3536. end))
  3537. sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(2,2,2),0.5,-0.01,-0.01,MAINRUINCOLOR)
  3538. MagniDamage(hite, 3, 30,40, 0, "Normal")
  3539. game:GetService("Debris"):AddItem(hite, 5)
  3540. posit = posit + 2
  3541. end
  3542. for i = 0,1,0.1 do
  3543. swait()
  3544. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  3545. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  3546. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
  3547. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  3548. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
  3549. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.5)
  3550. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
  3551. end
  3552. for i = 0,1,0.1 do
  3553. swait()
  3554. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  3555. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,0)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
  3556. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
  3557. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
  3558. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
  3559. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(30)),.5)
  3560. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(40)),.5)
  3561. end
  3562. posit = -6
  3563. for i = 0, 6 do
  3564. CameraEnshaking(1,3)
  3565. local hite = Instance.new("Part", char)
  3566. hite.Anchored = true
  3567. hite.CanCollide = false
  3568. hite.FormFactor = 3
  3569. hite.Name = "Ring"
  3570. hite.Material = "Neon"
  3571. hite.Size = Vector3.new(1, 1, 1)
  3572. hite.Transparency = 1
  3573. hite.TopSurface = 0
  3574. hite.BottomSurface = 0
  3575. hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
  3576. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
  3577. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
  3578. sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),-0.01,1,-0.01,MAINRUINCOLOR)
  3579. coroutine.resume(coroutine.create(function()
  3580. local eff = Instance.new("ParticleEmitter",hite)
  3581. eff.Texture = "rbxassetid://1175838406"
  3582. eff.LightEmission = 0.95
  3583. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3584. eff.Rate = 1000
  3585. eff.Lifetime = NumberRange.new(1)
  3586. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
  3587. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3588. eff.Speed = NumberRange.new(20,70)
  3589. eff.Drag = 5
  3590. eff.Rotation = NumberRange.new(-500,500)
  3591. eff.VelocitySpread = 100000
  3592. wait(0.25)
  3593. eff.Enabled = false
  3594. end))
  3595. coroutine.resume(coroutine.create(function()
  3596. for i = 0, 2 do
  3597. swait()
  3598. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3599. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3600. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3601. end
  3602. end))
  3603. MagniDamage(hite, 5, 40,70, 0, "Normal")
  3604. game:GetService("Debris"):AddItem(hite, 5)
  3605. posit = posit + 2
  3606. end
  3607. for i = 0,1,0.1 do
  3608. swait()
  3609. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  3610. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
  3611. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  3612. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
  3613. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
  3614. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(10),math.rad(-10)),.5)
  3615. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(60)),.5)
  3616. end
  3617. hum.WalkSpeed = storehumanoidWS
  3618. attack = false
  3619. end
  3620.  
  3621. function AZUREFINALE()
  3622. attack = true
  3623. duringend = true
  3624. hum.WalkSpeed = 0
  3625. CFuncs["Sound"].Create("rbxassetid://1117054464", char, 7.5, 0.75)
  3626. CFuncs["LongSound"].Create("rbxassetid://1042700914", char, 3.5, 0.05)
  3627. local hite = Instance.new("Part", char)
  3628. hite.Anchored = true
  3629. hite.CanCollide = false
  3630. hite.FormFactor = 3
  3631. hite.Name = "Ring"
  3632. hite.Material = "Neon"
  3633. hite.Size = Vector3.new(1, 1, 1)
  3634. hite.Transparency = 0
  3635. hite.TopSurface = 0
  3636. hite.BottomSurface = 0
  3637. hite.BrickColor = MAINRUINCOLOR
  3638. local orbm = Instance.new("SpecialMesh", hite)
  3639. orbm.MeshType = "Sphere"
  3640. orbm.Name = "SizeMesh"
  3641. orbm.Scale = vt(0,0,0)
  3642. hite.CFrame = root.CFrame*CFrame.new(0,200,0)
  3643. for i = 0,70,0.1 do
  3644. swait()
  3645. orbm.Scale = orbm.Scale + vt(0.5,0.5,0.5)
  3646. rsiz = math.random(10,45)
  3647. kan.Volume = kan.Volume + 0.01
  3648. kan.Pitch = kan.Pitch - 0.00135
  3649. sphereMK(math.random(1,4),2.5,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/2,rsiz/2,rsiz/2,0,MAINRUINCOLOR,-300)
  3650. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,1.5,10),-0.01,10,-0.01,MAINRUINCOLOR)
  3651. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3652. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3653. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3654. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3655. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3656. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3657. end
  3658. kan.Pitch = 0.1
  3659. hite.Transparency = 1
  3660. for i = 0,2 do
  3661. CFuncs["LongSound"].Create("rbxassetid://324849898", char, 10,0.9)
  3662. end
  3663. CFuncs["LongSound"].Create("rbxassetid://1117054464", char, 5, 0.75)
  3664. sphere2(1,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),-5,-5,-5,MAINRUINCOLOR)
  3665. sphere2(1,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),2,2,2,MAINRUINCOLOR)
  3666. sphere2(2,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),3,3,3,MAINRUINCOLOR)
  3667. coroutine.resume(coroutine.create(function()
  3668. local eff = Instance.new("ParticleEmitter",hite)
  3669. eff.Texture = "rbxassetid://284205403"
  3670. eff.LightEmission = 0.95
  3671. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3672. eff.Rate = 10000
  3673. eff.Lifetime = NumberRange.new(5)
  3674. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,100,0),NumberSequenceKeypoint.new(1,0,0)})
  3675. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3676. eff.Speed = NumberRange.new(600,1250)
  3677. eff.Drag = 5
  3678. eff.Rotation = NumberRange.new(-500,500)
  3679. eff.VelocitySpread = 9000
  3680. eff.RotSpeed = NumberRange.new(-500,500)
  3681. wait(1)
  3682. eff.Enabled = false
  3683. end))
  3684. for i = 0,5,0.1 do
  3685. swait()
  3686. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3687. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3688. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3689. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3690. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3691. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3692. end
  3693. local adsc = 0
  3694. local radiatezone = 0
  3695. for i = 0,20,0.1 do
  3696. swait()
  3697. adsc = adsc + 0.025
  3698. radiatezone = radiatezone + 1.25
  3699. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
  3700. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  3701. if v:FindFirstChild('Head') then
  3702. dmg(v)
  3703. end
  3704. end
  3705. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3706. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3707. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3708. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3709. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3710. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3711. end
  3712. for i = 0,2 do
  3713. CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.9)
  3714. end
  3715. for i = 0,40,0.1 do
  3716. swait()
  3717. adsc = adsc + 0.05
  3718. radiatezone = radiatezone + 2.5
  3719. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
  3720. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  3721. if v:FindFirstChild('Head') then
  3722. dmg(v)
  3723. end
  3724. end
  3725. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3726. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3727. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3728. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3729. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3730. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3731. end
  3732. for i = 0,4 do
  3733. CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.75)
  3734. CFuncs["LongSound"].Create("rbxassetid://923073285", char, 1.25,0.75)
  3735. end
  3736. for i = 0,80,0.1 do
  3737. swait()
  3738. adsc = adsc + 0.075
  3739. radiatezone = radiatezone + 3.75
  3740. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
  3741. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  3742. if v:FindFirstChild('Head') then
  3743. dmg(v)
  3744. end
  3745. end
  3746. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3747. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3748. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3749. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3750. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3751. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3752. end
  3753. hite:Destroy()
  3754. duringend = false
  3755. hum.WalkSpeed = storehumanoidWS
  3756. attack = false
  3757. end
  3758.  
  3759. function GalacticalBeams()
  3760. attack = true
  3761. local keptcolor = MAINRUINCOLOR
  3762. coroutine.resume(coroutine.create(function()
  3763. for i = 0, 0 do
  3764. swait(10)
  3765. local orb = Instance.new("Part", char)
  3766. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  3767. orb.BrickColor = keptcolor
  3768. orb.CanCollide = false
  3769. orb.FormFactor = 3
  3770. orb.Name = "Ring"
  3771. orb.Material = "Neon"
  3772. orb.Size = Vector3.new(1, 1, 1)
  3773. orb.Transparency = 1
  3774. orb.TopSurface = 0
  3775. orb.BottomSurface = 0
  3776. orb.Anchored = true
  3777. local orbm = Instance.new("SpecialMesh", orb)
  3778. orbm.MeshType = "Sphere"
  3779. orbm.Name = "SizeMesh"
  3780. orbm.Scale = vt(1.25,1.25,1.25)
  3781. orb.CFrame = root.CFrame*CFrame.new(math.random(-25,25),math.random(75,150),math.random(-25,25))
  3782. coroutine.resume(coroutine.create(function()
  3783. orb.Transparency = 1
  3784. local a = Instance.new("Part",char)
  3785. a.Name = "Direction"
  3786. a.Anchored = true
  3787. a.BrickColor = keptcolor
  3788. a.Material = "Neon"
  3789. a.Transparency = 1
  3790. a.Shape = "Cylinder"
  3791. local x = Instance.new("Part",char)
  3792. x.Name = "Direction"
  3793. x.Anchored = true
  3794. x.BrickColor = keptcolor
  3795. x.Material = "Neon"
  3796. x.Transparency = 1
  3797. x.Shape = "Cylinder"
  3798. local ht = Instance.new("Part",char)
  3799. ht.Name = "DirectionHit"
  3800. ht.Anchored = true
  3801. ht.BrickColor = keptcolor
  3802. ht.CanCollide = false
  3803. ht.Transparency = 1
  3804. ht.Size = vt(0.1,0.1,0.1)
  3805. a.CanCollide = false
  3806. local ray = Ray.new(
  3807. orb.CFrame.p, -- origin
  3808. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  3809. )
  3810. local ignore = char
  3811. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3812. a.BottomSurface = 10
  3813. a.TopSurface = 10
  3814. local distance = (orb.CFrame.p - position).magnitude
  3815. a.Size = Vector3.new(distance,1,1)
  3816. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  3817. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3818. x.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3819. local poste = 0
  3820. local rotation = 0
  3821. CFuncs["Sound"].Create("rbxassetid://153092315", char, 1.5, 1)
  3822. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(5,5,5),2.5,2.5,0,keptcolor)
  3823. CameraEnshaking(2,2)
  3824. for i = 0, 49 do
  3825. swait()
  3826. rotation = rotation + 5
  3827. poste = poste + 1
  3828. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3829. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3830. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3831. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3832. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3833. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3834. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3835. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3836. end
  3837. local A1 = Instance.new("Attachment",x)
  3838. local A2 = Instance.new("Attachment",ht)
  3839. local Beem = Instance.new("Beam",ht)
  3840. Beem.Attachment0 = A1
  3841. Beem.Attachment1 = A2
  3842. Beem.LightEmission = 1
  3843. Beem.FaceCamera = true
  3844. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, 0),NumberSequenceKeypoint.new(0.975, 0),NumberSequenceKeypoint.new(1, 1)})
  3845. Beem.Width0 = 125
  3846. Beem.Width1 = 125
  3847. Beem.Texture = "rbxassetid://1134824633"
  3848. Beem.TextureMode = "Wrap"
  3849. Beem.TextureLength = 200
  3850. Beem.TextureSpeed = 1.5
  3851. Beem.Color = ColorSequence.new(keptcolor.Color)
  3852. CameraEnshaking(3,6)
  3853. CFuncs["Sound"].Create("rbxassetid://294188875", char, 2, 1.5)
  3854. a.Transparency = 0.25
  3855. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  3856. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  3857. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  3858. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  3859. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor)
  3860. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor)
  3861. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  3862. local eff = Instance.new("ParticleEmitter",ht)
  3863. eff.Texture = "rbxassetid://284205403"
  3864. eff.LightEmission = 0.95
  3865. eff.Color = ColorSequence.new(keptcolor.Color)
  3866. eff.Rate = 500
  3867. eff.Lifetime = NumberRange.new(1)
  3868. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.2,35,0),NumberSequenceKeypoint.new(1,0.1,0)})
  3869. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3870. eff.Speed = NumberRange.new(80,500)
  3871. eff.Drag = 5
  3872. eff.Rotation = NumberRange.new(-500,500)
  3873. eff.VelocitySpread = 9000
  3874. eff.RotSpeed = NumberRange.new(-500,500)
  3875. for i = 0, 24 do
  3876. sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor)
  3877. local rsiz = math.random(10,50)
  3878. sphereMK(math.random(3,6),1.25,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  3879. end
  3880. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  3881. local msh = Instance.new("SpecialMesh",a)
  3882. msh.MeshType = "Cylinder"
  3883. msh.Scale = vt(1,15,15)
  3884. for i = 0, 49 do
  3885. swait()
  3886. CameraEnshaking(1,4)
  3887. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  3888. rotation = rotation + 5
  3889. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  3890. sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor)
  3891. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(25,25,5),1,1,0,keptcolor)
  3892. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  3893. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  3894. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  3895. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  3896. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  3897. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  3898. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  3899. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  3900. for i = 0, 2 do
  3901. local rsiz = math.random(50,250)
  3902. sphereMK(math.random(3,6),math.random(2,4),"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  3903. end
  3904. msh.Scale = msh.Scale + vt(0,0.25,0.25)
  3905. end
  3906. eff.Enabled = false
  3907. local visibility = 0
  3908. for i = 0, 49 do
  3909. swait()
  3910. visibility = visibility + 0.02
  3911. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, visibility),NumberSequenceKeypoint.new(0.975, visibility),NumberSequenceKeypoint.new(1, 1)})
  3912. rotation = rotation + 5
  3913. poste = poste - 1
  3914. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3915. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3916. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3917. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3918. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3919. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3920. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3921. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3922. msh.Scale = msh.Scale + vt(0,-0.5,-0.5)
  3923. a.Transparency = a.Transparency + 0.02
  3924. end
  3925. wait(1)
  3926. orb:Destroy()
  3927. a:Destroy()
  3928. ht:Destroy()
  3929. end))
  3930. game:GetService("Debris"):AddItem(orb, 10)
  3931. end
  3932. end))
  3933. hum.WalkSpeed = storehumanoidWS
  3934. attack = false
  3935. end
  3936.  
  3937.  
  3938. function WarpedDash()
  3939. attack = true
  3940. hum.WalkSpeed = 0
  3941. hum.JumpPower = 0
  3942. CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
  3943. local poste = 3
  3944. local rotation = 0
  3945. local rate = 0
  3946. for i = 0, 124 do
  3947. swait()
  3948. rotation = rotation + rate
  3949. poste = poste + 0.1
  3950. rate = rate + 0.1
  3951. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
  3952. sphere2(8,"Add",root.CFrame*CFrame.new(math.random(-20,20),-3,math.random(-20,20)),vt(1,1,1),-0.01,0.5,-0.01,MAINRUINCOLOR)
  3953. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  3954. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  3955. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  3956. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  3957. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(30)),.5)
  3958. 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)),.5)
  3959. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
  3960. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
  3961. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
  3962. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
  3963. end
  3964. CameraEnshaking(3,7)
  3965. local loc = Instance.new("Part", char)
  3966. loc.BrickColor = MAINRUINCOLOR
  3967. loc.CanCollide = false
  3968. loc.FormFactor = 3
  3969. loc.Name = "Ring"
  3970. loc.Material = "Neon"
  3971. loc.Size = Vector3.new(1, 1, 1)
  3972. loc.Transparency = 1
  3973. loc.TopSurface = 0
  3974. loc.BottomSurface = 0
  3975. loc.Anchored = true
  3976. loc.CFrame = root.CFrame + root.CFrame.lookVector*100
  3977. CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
  3978. CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
  3979. MagniDamage(loc, 95, 500,6000, 0, "Normal")
  3980. sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
  3981. sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  3982. sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  3983. sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  3984. coroutine.resume(coroutine.create(function()
  3985. local eff = Instance.new("ParticleEmitter",loc)
  3986. eff.Texture = "rbxassetid://363275192"
  3987. eff.LightEmission = 0.95
  3988. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3989. eff.Rate = 10000
  3990. eff.Lifetime = NumberRange.new(1)
  3991. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
  3992. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3993. eff.Speed = NumberRange.new(100,500)
  3994. eff.Drag = 5
  3995. eff.Rotation = NumberRange.new(-500,500)
  3996. eff.VelocitySpread = 9000
  3997. eff.RotSpeed = NumberRange.new(-50,50)
  3998. wait(0.5)
  3999. eff.Enabled = false
  4000. end))
  4001. for i = 0, 49 do
  4002. sphere2(math.random(100,300)/100,"Add",loc.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR)
  4003. end
  4004. for i = 0, 9 do
  4005. sphere2(3,"Add",loc.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),0),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR)
  4006. end
  4007. game:GetService("Debris"):AddItem(loc, 5)
  4008. root.CFrame = root.CFrame + root.CFrame.lookVector*200
  4009. hum.WalkSpeed = storehumanoidWS
  4010. hum.JumpPower = 50
  4011. attack = false
  4012. end
  4013.  
  4014. ------------------------------------
  4015. function harmonytaunty()
  4016. attack = true
  4017. hum.WalkSpeed = 0
  4018. CFuncs["Sound"].Create("rbxassetid://430312221", tors, 1.25, 1.15)
  4019. for i = 0,7,0.1 do
  4020. swait()
  4021. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-20 + 6 * math.cos(sine / 34))),.2)
  4022. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(10 - 4 * math.cos(sine / 47))),.2)
  4023. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(-2 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(-2 + 4 * math.cos(sine / 62))),.2)
  4024. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(12 - 3 * math.cos(sine / 28)),math.rad(12 - 3 * math.cos(sine / 79)),math.rad(2 - 4 * math.cos(sine / 62))),.2)
  4025. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.01 * math.cos(sine / 28),-0.1)*angles(math.rad(34 + 2 * math.cos(sine / 33)),math.rad(0),math.rad(-13 - 3 * math.cos(sine / 28))),.2)
  4026. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(80 - 3 * math.cos(sine / 37)),math.rad(0),math.rad(10 + 5 * math.cos(sine / 30))),.2)
  4027. end
  4028. hum.WalkSpeed = storehumanoidWS
  4029. attack = false
  4030. end
  4031.  
  4032. function vistaunty()
  4033. attack = true
  4034. hum.WalkSpeed = 0
  4035. local rd = math.random(1,5)
  4036. if rd == 1 then
  4037. chatfunc("You're familiar with this, arent you?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4038. elseif rd == 2 then
  4039. chatfunc("Dance to the beat. If you want to.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4040. elseif rd == 3 then
  4041. chatfunc("I'm just bored. Don't mess with me.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4042. elseif rd == 4 then
  4043. chatfunc("Ready to dance? If not, come back if you want to.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4044. elseif rd == 5 then
  4045. chatfunc("Ehh, not really into something right now.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4046. end
  4047. for i = 0, 8, 0.1 do
  4048. swait()
  4049. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/5000,-0.1)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(0 - 2 * math.cos(sine / 56) + kan.PlaybackLoudness/450)),.4)
  4050. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - kan.PlaybackLoudness/6500,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 2 * math.cos(sine / 56) + kan.PlaybackLoudness/500)),.4)
  4051. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 56) ,0 + 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/7000)*angles(math.rad(0 - 2 * math.cos(sine / 56)),math.rad(0),math.rad(60)),.4)
  4052. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2 * math.cos(sine / 28) - kan.PlaybackLoudness/60),math.rad(0 + 2 * math.cos(sine / 73)),math.rad(-60)),.4)
  4053. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(90 + 5 * math.cos(sine / 34) + kan.PlaybackLoudness/7.5),math.rad(0),math.rad(60 - 2 * math.cos(sine / 38))),.4)
  4054. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(10),math.rad(5),math.rad(7.5)),.4)
  4055. end
  4056. hum.WalkSpeed = storehumanoidWS
  4057. attack = false
  4058. end
  4059.  
  4060. function shytaunty()
  4061. attack = true
  4062. hum.WalkSpeed = 0
  4063. CFuncs["Sound"].Create("rbxassetid://543623779", tors, 0.35, 1)
  4064. local blush = Instance.new("Decal",hed)
  4065. blush.Texture = "rbxassetid://898404027"
  4066. blush.Face = "Front"
  4067. for i = 0, 13, 0.1 do
  4068. swait()
  4069. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7 - 5 * math.cos(sine / 44)),math.rad(0),math.rad(-6 - 3 * math.cos(sine / 34))),.1)
  4070. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 + 5 * math.cos(sine / 44)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 34))),.1)
  4071. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),-0.05 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 - 5 * math.cos(sine / 44)),math.rad(-5)),.1)
  4072. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2 - 2.5 * math.cos(sine / 28)),math.rad(20 + 5 * math.cos(sine / 62)),math.rad(35 + 5 * math.cos(sine / 59))),.1)
  4073. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 1 * math.cos(sine / 53)),math.rad(0),math.rad(-60 + 2 * math.cos(sine / 37))),.1)
  4074. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(26 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(59 - 3 * math.cos(sine / 57) )),.1)
  4075. end
  4076. coroutine.resume(coroutine.create(function()
  4077. for i = 0, 49 do
  4078. swait()
  4079. blush.Transparency = blush.Transparency + 0.02
  4080. end
  4081. blush:Destroy()
  4082. end))
  4083. hum.WalkSpeed = storehumanoidWS
  4084. attack = false
  4085. end
  4086. ------------------------------------ Mode Ascendances
  4087. function UnknownA()
  4088. hum.WalkSpeed = 0
  4089. attack = true
  4090. local keptcolor = MAINRUINCOLOR
  4091. local locat = Instance.new("Part", char)
  4092. locat.CanCollide = false
  4093. locat.FormFactor = 3
  4094. locat.Name = "Ring"
  4095. locat.Material = "Neon"
  4096. locat.Size = Vector3.new(1, 1, 1)
  4097. locat.Transparency = 1
  4098. locat.TopSurface = 0
  4099. locat.BottomSurface = 0
  4100. locat.Anchored = true
  4101. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  4102. local poste = 0
  4103. local rotation = 0
  4104. local upperpos = 0
  4105. local rate = 0
  4106. local x = locat
  4107. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5, 1)
  4108. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5, 1)
  4109. sphere2(8,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  4110. sphere2(6,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  4111. sphere2(4,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  4112. sphere2(2,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  4113. CameraEnshaking(2,5)
  4114. for i = 0, 49 do
  4115. swait()
  4116. rotation = rotation + 5
  4117. poste = poste + 1
  4118. sphere2(math.random(4,6),"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,1,5),-0.05,math.random(25,100)/25,-0.05,keptcolor)
  4119. sphere2(8,"Add",tors.CFrame,vt(poste/1.5,poste/1.5,poste/1.5),0.01,0.01,0.01,keptcolor)
  4120. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4121. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4122. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4123. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4124. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4125. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4126. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4127. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4128. 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)),.5)
  4129. 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)),.5)
  4130. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.5)
  4131. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.5)
  4132. 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))),.5)
  4133. 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))),.5)
  4134. end
  4135. for i = 0, 49 do
  4136. swait()
  4137. rotation = rotation + 5
  4138. sphere2(math.random(4,6),"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,1,5),-0.05,math.random(25,100)/25,-0.05,keptcolor)
  4139. sphere2(8,"Add",tors.CFrame,vt(poste/1.5,poste/1.5,poste/1.5),0.01,0.01,0.01,keptcolor)
  4140. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4141. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4142. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4143. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4144. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4145. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4146. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4147. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4148. 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)),.5)
  4149. 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)),.5)
  4150. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.5)
  4151. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.5)
  4152. 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))),.5)
  4153. 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))),.5)
  4154. end
  4155. ModeOfGlitch = 6000000000
  4156. storehumanoidWS = 300
  4157. hum.WalkSpeed = 300
  4158. rainbowmode = false
  4159. chaosmode = false
  4160. RecolorTextAndRename("HARMONY",BrickColor.new("Toothpaste").Color,BrickColor.new("Cool yellow").Color,"Highway")
  4161. newThemeCust("rbxassetid://170020261",0,1.005,1.5)
  4162. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  4163. keptcolor = MAINRUINCOLOR
  4164. RecolorThing(MAINRUINCOLOR,BrickColor.new("Cool yellow"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4165. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  4166. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
  4167. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(15,0,15),5,0,5,BrickColor.new("Cool yellow"))
  4168. sphere2(2,"Add",x.CFrame*CFrame.new(0,0,0),vt(15,0,15),5,0,5,keptcolor)
  4169. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("White"))
  4170. sphere2(2,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Cool yellow"))
  4171. sphere2(4,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,keptcolor)
  4172. attack = false
  4173. hum.WalkSpeed = storehumanoidWS
  4174. for i = 0, 49 do
  4175. local rsiz = math.random(150,450)
  4176. sphere2(math.random(1,4),"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(25,500)/25,-0.05,BrickColor.new("Cool yellow"))
  4177. sphere2(math.random(1,2),"Add",x.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*CFrame.new(math.random(-350,350),math.random(-350,350),math.random(-350,350)),vt(1,1,1),-0.01,math.random(50,250)/10,-0.01,BrickColor.new("Cool yellow"))
  4178. sphereMK(math.random(1,2),math.random(2,4),"Add",x.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,BrickColor.new("White"),0)
  4179. end
  4180. coroutine.resume(coroutine.create(function()
  4181. local eff = Instance.new("ParticleEmitter",x)
  4182. eff.Texture = "rbxassetid://284205403"
  4183. eff.LightEmission = 0.95
  4184. eff.Color = ColorSequence.new(BrickColor.new("Cool yellow").Color)
  4185. eff.Rate = 50000
  4186. eff.Lifetime = NumberRange.new(2.5)
  4187. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  4188. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4189. eff.Speed = NumberRange.new(250,1000)
  4190. eff.Drag = 5
  4191. eff.Rotation = NumberRange.new(-500,500)
  4192. eff.VelocitySpread = 9000
  4193. eff.RotSpeed = NumberRange.new(-500,500)
  4194. wait(0.5)
  4195. eff.Enabled = false
  4196. end))
  4197. --[[for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do
  4198. if v:FindFirstChild('Head') then
  4199. dmg(v)
  4200. end
  4201. end]]--
  4202. sphere2(3,"Add",tors.CFrame,vt(1,1,1),10,10,10,keptcolor)
  4203. sphere2(2,"Add",tors.CFrame,vt(1,1,1),10,10,10,BrickColor.new("Cool yellow"))
  4204. sphere2(1,"Add",tors.CFrame,vt(1,1,1),10,10,10,BrickColor.new("White"))
  4205. CameraEnshaking(8,10)
  4206. for i = 0, 99 do
  4207. swait()
  4208. rotation = rotation + 5
  4209. poste = poste + 1
  4210. upperpos = upperpos + rate
  4211. rate = rate + 0.1
  4212. sphere2(math.random(1,2),"Add",x.CFrame*CFrame.new(math.random(-350,350),0,math.random(-350,350)),vt(5,1,5),-0.05,math.random(50,250)/50,-0.05,keptcolor)
  4213. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,upperpos,poste),vt(5+upperpos/5,5+upperpos/5,5+upperpos/5),-0.05,-0.05,-0.05,BrickColor.new("Cool yellow"))
  4214. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90+rotation),0)*CFrame.new(0,upperpos,poste),vt(5+upperpos/5,5+upperpos/5,5+upperpos/5),-0.05,-0.05,-0.05,BrickColor.new("Cool yellow"))
  4215. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180+rotation),0)*CFrame.new(0,upperpos,poste),vt(5+upperpos/5,5+upperpos/5,5+upperpos/5),-0.05,-0.05,-0.05,BrickColor.new("Cool yellow"))
  4216. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270+rotation),0)*CFrame.new(0,upperpos,poste),vt(5+upperpos/5,5+upperpos/5,5+upperpos/5),-0.05,-0.05,-0.05,BrickColor.new("Cool yellow"))
  4217. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.05,-0.05,-0.05,keptcolor)
  4218. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.05,-0.05,-0.05,keptcolor)
  4219. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.05,-0.05,-0.05,keptcolor)
  4220. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.05,-0.05,-0.05,keptcolor)
  4221. end
  4222. x:Destroy()
  4223. end
  4224.  
  4225. function loveydovey()
  4226. attack = true
  4227. local keptcolor = MAINRUINCOLOR
  4228. hum.WalkSpeed = 0
  4229. for i = 0, 5, 0.1 do
  4230. swait()
  4231. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1)
  4232. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0)),.1)
  4233. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4234. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
  4235. RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
  4236. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
  4237. end
  4238. CameraEnshaking(4,9)
  4239. sphere2(2,"Add",root.CFrame,vt(5,5,5),0.5,0.5,0.5,keptcolor)
  4240. sphere2(2,"Add",root.CFrame,vt(5,5,5),0.75,0.75,0.75,keptcolor)
  4241. sphere2(3,"Add",root.CFrame,vt(5,5,5),1,1,1,keptcolor)
  4242. sphere2(3,"Add",root.CFrame,vt(5,5,5),1.25,1.25,1.25,keptcolor)
  4243. sphere2(1,"Add",root.CFrame,vt(5,10000,5),0.5,0.5,0.5,keptcolor)
  4244. sphere2(2,"Add",root.CFrame,vt(5,10000,5),0.6,0.6,0.6,keptcolor)
  4245. CFuncs["Sound"].Create("rbxassetid://763717897", char, 0.75, 1.25)
  4246. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 0.75, 1)
  4247. coroutine.resume(coroutine.create(function()
  4248. local eff = Instance.new("ParticleEmitter",root)
  4249. eff.Texture = "rbxassetid://363275192"
  4250. eff.LightEmission = 0.95
  4251. eff.Color = ColorSequence.new(keptcolor.Color)
  4252. eff.Rate = 10000
  4253. eff.Lifetime = NumberRange.new(1)
  4254. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  4255. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4256. eff.Speed = NumberRange.new(50,200)
  4257. eff.Drag = 5
  4258. eff.Rotation = NumberRange.new(-500,500)
  4259. eff.VelocitySpread = 9000
  4260. eff.RotSpeed = NumberRange.new(-50,50)
  4261. wait(0.5)
  4262. eff.Enabled = false
  4263. wait(5)
  4264. eff:Destroy()
  4265. end))
  4266. for i = 0, 49 do
  4267. local rsiz = math.random(70,90)
  4268. sphere2(math.random(1,4),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,1,5),-0.005,math.random(25,100)/25,-0.005,MAINRUINCOLOR)
  4269. end
  4270. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  4271. CFuncs["Sound"].Create("rbxassetid://543623779", root, 1.5,1)
  4272. newTheme("rbxassetid://1131624146",0,1,2)
  4273. ModeOfGlitch = 9600000000
  4274. MAINRUINCOLOR = BrickColor.new("Carnation pink")
  4275. for i = 0, 1, 0.2 do
  4276. swait()
  4277. RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  4278. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  4279. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
  4280. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(20),math.rad(0)),.8)
  4281. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(12),math.rad(0),math.rad(57)),.8)
  4282. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(13),math.rad(0),math.rad(-58)),.8)
  4283. end
  4284. for i = 0, 9, 0.1 do
  4285. swait()
  4286. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1)
  4287. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0)),.1)
  4288. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4289. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
  4290. RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
  4291. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
  4292. end
  4293. CameraEnshaking(2,11)
  4294. sphere2(2,"Add",root.CFrame,vt(5,5,5),0.75,0.75,0.75,BrickColor.new("Carnation pink"))
  4295. sphere2(2,"Add",root.CFrame,vt(5,5,5),1,1,1,BrickColor.new("Carnation pink"))
  4296. sphere2(3,"Add",root.CFrame,vt(5,5,5),1.25,1.25,1.25,MAINRUINCOLOR)
  4297. sphere2(3,"Add",root.CFrame,vt(5,5,5),1.5,1.5,1.5,MAINRUINCOLOR)
  4298. sphere2(1,"Add",root.CFrame,vt(5,10000,5),0.5,0.5,0.5,BrickColor.new("Carnation pink"))
  4299. sphere2(2,"Add",root.CFrame,vt(5,10000,5),1,1,1,MAINRUINCOLOR)
  4300. CFuncs["Sound"].Create("rbxassetid://763717897", char, 1, 1.125)
  4301. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 0.75)
  4302. for i = 0, 49 do
  4303. local rsiz = math.random(70,90)
  4304. sphere2(math.random(1,4),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,1,5),-0.005,math.random(50,200)/25,-0.005,MAINRUINCOLOR)
  4305. sphereMK(math.random(1,2),math.random(1,3),"Add",root.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,BrickColor.new("Pink"),0)
  4306. end
  4307. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  4308. for i = 0, 1, 0.2 do
  4309. swait()
  4310. RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  4311. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  4312. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
  4313. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(20),math.rad(0)),.8)
  4314. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(12),math.rad(0),math.rad(57)),.8)
  4315. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(13),math.rad(0),math.rad(-58)),.8)
  4316. end
  4317. for i = 0, 1, 0.1 do
  4318. swait()
  4319. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1)
  4320. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0)),.1)
  4321. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4322. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
  4323. RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
  4324. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
  4325. end
  4326. CameraEnshaking(9,14)
  4327. sphere2(4,"Add",root.CFrame,vt(5,5,5),1,1,1,BrickColor.new("Carnation pink"))
  4328. sphere2(4,"Add",root.CFrame,vt(5,5,5),2,2,2,BrickColor.new("Carnation pink"))
  4329. sphere2(9,"Add",root.CFrame,vt(5,5,5),3,3,3,MAINRUINCOLOR)
  4330. sphere2(9,"Add",root.CFrame,vt(5,5,5),4,4,4,MAINRUINCOLOR)
  4331. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  4332. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  4333. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  4334. sphere2(1,"Add",root.CFrame,vt(5,5,5),2,2,2,BrickColor.new("Carnation pink"))
  4335. sphere2(1,"Add",root.CFrame,vt(5,5,5),3,3,3,BrickColor.new("Carnation pink"))
  4336. sphere2(1,"Add",root.CFrame,vt(5,5,5),4,4,4,BrickColor.new("Carnation pink"))
  4337. sphere2(1,"Add",root.CFrame,vt(5,10000,5),2.5,2.5,2.5,BrickColor.new("Carnation pink"))
  4338. sphere2(2,"Add",root.CFrame,vt(5,10000,5),3.5,3.5,3.5,MAINRUINCOLOR)
  4339. sphere2(1,"Add",root.CFrame,vt(5,5,5),8,8,8,BrickColor.new("Carnation pink"))
  4340. sphere2(2,"Add",root.CFrame,vt(5,5,5),14,14,14,MAINRUINCOLOR)
  4341. sphere2(3,"Add",root.CFrame,vt(5,5,5),20,20,20,MAINRUINCOLOR)
  4342. for i = 0, 99 do
  4343. local rsiz = math.random(150,450)
  4344. sphere2(math.random(1,4),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(25,500)/25,-0.05,BrickColor.new("Pink"))
  4345. sphere2(math.random(1,2),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*CFrame.new(math.random(-350,350),math.random(-350,350),math.random(-350,350)),vt(1,1,1),-0.01,math.random(50,250)/10,-0.01,MAINRUINCOLOR)
  4346. sphereMK(math.random(1,2),math.random(4,6),"Add",root.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,BrickColor.new("Pink"),0)
  4347. end
  4348. coroutine.resume(coroutine.create(function()
  4349. local eff = Instance.new("ParticleEmitter",root)
  4350. eff.Texture = "rbxassetid://749327003"
  4351. eff.LightEmission = 1
  4352. eff.Color = ColorSequence.new(BrickColor.new("v").Color)
  4353. eff.Rate = 50000
  4354. eff.Lifetime = NumberRange.new(5)
  4355. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,60,0),NumberSequenceKeypoint.new(1,0.1,0)})
  4356. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4357. eff.Speed = NumberRange.new(250,1000)
  4358. eff.Drag = 5
  4359. eff.Rotation = NumberRange.new(-50,50)
  4360. eff.VelocitySpread = 9000
  4361. eff.RotSpeed = NumberRange.new(-50,50)
  4362. wait(0.5)
  4363. eff.Enabled = false
  4364. wait(5)
  4365. eff:Destroy()
  4366. end))
  4367. storehumanoidWS = 20
  4368. rainbowmode = false
  4369. chaosmode = false
  4370. RecolorTextAndRename("Anime",BrickColor.new("Carnation pink").Color,BrickColor.new("Carnation pink").Color,"Cartoon")
  4371. RecolorThing(MAINRUINCOLOR,BrickColor.new("Carnation pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4372. for i = 0, 10, 0.1 do
  4373. swait()
  4374. sphere2(math.random(1,2),"Add",root.CFrame*CFrame.new(math.random(-350,350),0,math.random(-350,350)),vt(5,1,5),-0.05,math.random(50,250)/50,-0.05,MAINRUINCOLOR)
  4375. RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  4376. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  4377. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
  4378. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15),math.rad(0),math.rad(0)),.8)
  4379. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.8)
  4380. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.8)
  4381. end
  4382. hum.WalkSpeed = 20
  4383. attack = false
  4384. end
  4385. -------------------------------------
  4386.  
  4387. Humanoid.Animator.Parent = nil
  4388.  
  4389. -------------------------------------
  4390.  
  4391. local attacktype = 1
  4392. mouse.Button1Down:connect(function()
  4393. if attack == false and attacktype == 1 then
  4394. attacktype = 2
  4395. attackone()
  4396. elseif attack == false and attacktype == 2 then
  4397. attacktype = 3
  4398. attacktwo()
  4399. elseif attack == false and attacktype == 3 then
  4400. attacktype = 1
  4401. attackthree()
  4402. elseif attack == false and attacktype == 4 then
  4403. attacktype = 1
  4404. --attackfour()
  4405. end
  4406. end)
  4407.  
  4408. local OVMID = 1702473314
  4409. local OVMPIT = 1
  4410. local OVMVOL = 1
  4411. mouse.KeyDown:connect(function(k)
  4412. if k == "g" and attack == false and ModeOfGlitch ~= 1 then
  4413. resetmode()
  4414. end
  4415. if k == "h" and attack == false and ModeOfGlitch ~= 2 then
  4416. ModeOfGlitch = 2
  4417. storehumanoidWS = 16
  4418. hum.WalkSpeed = 16
  4419. rainbowmode = false
  4420. chaosmode = false
  4421. RecolorTextAndRename("Fallen Green",Color3.new(0,0,0),BrickColor.new("Lime green").Color,"Code")
  4422. newTheme("rbxassetid://150632863",0,1.02,1.25)
  4423. MAINRUINCOLOR = BrickColor.new("Lime green")
  4424. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4425. end
  4426. if k == "j" and attack == false and ModeOfGlitch ~= 3 then
  4427. ModeOfGlitch = 3
  4428. storehumanoidWS = 16
  4429. hum.WalkSpeed = 16
  4430. rainbowmode = false
  4431. chaosmode = false
  4432. RecolorTextAndRename("ControlledBR",Color3.new(0,0,0),Color3.new(1,0,0),"SciFi")
  4433. newTheme("rbxassetid://407749940",0,1.01,1.25)
  4434. MAINRUINCOLOR = BrickColor.new("Really red")
  4435. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4436. end
  4437. if k == "k" and attack == false and ModeOfGlitch ~= 4 then
  4438. ModeOfGlitch = 4
  4439. storehumanoidWS = 16
  4440. hum.WalkSpeed = 16
  4441. rainbowmode = false
  4442. chaosmode = false
  4443. RecolorTextAndRename("Lunar",Color3.new(0,0,0.25),BrickColor.new("Teal").Color,"SourceSansBold")
  4444. newTheme("rbxassetid://561833161",0,1.02,1.25)
  4445. MAINRUINCOLOR = BrickColor.new("Dark blue")
  4446. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4447. end
  4448. if k == "l" and attack == false and ModeOfGlitch ~= 5 then
  4449. ModeOfGlitch = 5
  4450. storehumanoidWS = 16
  4451. hum.WalkSpeed = 16
  4452. rainbowmode = false
  4453. chaosmode = false
  4454. RecolorTextAndRename("Solar",Color3.new(1,0.5,0),Color3.new(1,1,0),"Fantasy")
  4455. newTheme("rbxassetid://1167066393",0,1.01,1.25)
  4456. MAINRUINCOLOR = BrickColor.new("New Yeller")
  4457. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4458. end
  4459. if k == "x" and attack == false and ModeOfGlitch ~= 6 then
  4460. ModeOfGlitch = 6
  4461. storehumanoidWS = 100
  4462. hum.WalkSpeed = 100
  4463. rainbowmode = false
  4464. chaosmode = false
  4465. RecolorTextAndRename("Infused",Color3.new(1,1,0),Color3.new(1,1,0),"Fantasy")
  4466. newTheme("rbxassetid://539526132",0,1,1.25)
  4467. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  4468. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4469. end
  4470. if k == "c" and attack == false and ModeOfGlitch ~= 7 then
  4471. ModeOfGlitch = 7
  4472. storehumanoidWS = 175
  4473. hum.WalkSpeed = 175
  4474. rainbowmode = false
  4475. chaosmode = false
  4476. RecolorTextAndRename("RAINBOWSPEED",BrickColor.new("Really red").Color,BrickColor.new("Really blue").Color,"Arcade")
  4477. newTheme("rbxassetid://1764195391",0,1.01,1.25)
  4478. MAINRUINCOLOR = BrickColor.new("Cyan")
  4479. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4480. end
  4481. if k == "v" and attack == false and ModeOfGlitch ~= 8 then
  4482. ModeOfGlitch = 8
  4483. storehumanoidWS = 100
  4484. hum.WalkSpeed = 100
  4485. rainbowmode = false
  4486. chaosmode = false
  4487. RecolorTextAndRename("Darkside",BrickColor.new("Really black").Color,BrickColor.new("Black").Color,"Antique")
  4488. newTheme("rbxassetid://2157789451",0,1.01,1.65)
  4489. MAINRUINCOLOR = BrickColor.new("Black")
  4490. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4491. end
  4492. if k == "b" and attack == false and ModeOfGlitch ~= 9 then
  4493. ModeOfGlitch = 9
  4494. storehumanoidWS = 135
  4495. hum.WalkSpeed = 135
  4496. rainbowmode = false
  4497. chaosmode = false
  4498. RecolorTextAndRename("Falsed Statue",BrickColor.new("Medium stone grey").Color,BrickColor.new("Black").Color,"Arcade")
  4499. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  4500. MAINRUINCOLOR = BrickColor.new("Medium stone grey")
  4501. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4502. end
  4503. if k == "n" and attack == false and ModeOfGlitch ~= 10 then
  4504. ModeOfGlitch = 10
  4505. storehumanoidWS = 12
  4506. hum.WalkSpeed = 12
  4507. rainbowmode = false
  4508. chaosmode = false
  4509. RecolorTextAndRename("Power Dream",BrickColor.new("Dark blue").Color,BrickColor.new("Really black").Color,"Garamond")
  4510. newTheme("rbxassetid://1634231515",0,1.01,1.65)
  4511. MAINRUINCOLOR = BrickColor.new("Navy blue")
  4512. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4513. end
  4514. if k == "m" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 2000000000 then
  4515. ModeOfGlitch = 2000000000
  4516. storehumanoidWS = 200
  4517. hum.WalkSpeed = 200
  4518. rainbowmode = false
  4519. chaosmode = false
  4520. RecolorTextAndRename("8319 PowerX",BrickColor.new("Navy blue").Color,BrickColor.new("Really black").Color,"Antique")
  4521. newThemeCust("rbxassetid://170282324",2.9,1.02,1.5)
  4522. MAINRUINCOLOR = BrickColor.new("Dark blue")
  4523. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark indigo"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4524. end
  4525. if k == "u" and attack == false and ModeOfGlitch ~= 9600000000 then
  4526. loveydovey()
  4527. end
  4528. if k == "m" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 6000000000 then
  4529. UnknownA()
  4530. end
  4531. if k == "t" and ModeOfGlitch == 6000000000 and attack == false then
  4532. harmonytaunty()
  4533. elseif k == "t" and ModeOfGlitch == 9 and attack == false then
  4534. vistaunty()
  4535. elseif k == "t" and ModeOfGlitch == 9600000000 and attack == false then
  4536. shytaunty()
  4537. end
  4538. if k == "z" and ModeOfGlitch == 1 and attack == false then
  4539. Beams()
  4540. elseif k == "z" and ModeOfGlitch == 2 and attack == false then
  4541. smiter()
  4542. elseif k == "z" and ModeOfGlitch == 2000000000 and attack == false then
  4543. supsmiter()
  4544. elseif k == "z" and ModeOfGlitch == 3 and attack == false then
  4545. BinaryE()
  4546. elseif k == "z" and ModeOfGlitch == 4 and attack == false then
  4547. elseif k == "z" and ModeOfGlitch == 5 and attack == false then
  4548. Fireball()
  4549. elseif k == "z" and ModeOfGlitch == 6 and attack == false then
  4550. GalacticalBeams()
  4551. elseif k == "z" and ModeOfGlitch == 7 and attack == false then
  4552. WarpedDash()
  4553. elseif k == "z" and ModeOfGlitch == 8 and attack == false then
  4554. BeamOfDeath()
  4555. elseif k == "z" and ModeOfGlitch == 9 and attack == false then
  4556. end
  4557. if k == "x" and ModeOfGlitch == 3 and attack == false then
  4558. BinaryBLINK()
  4559. end
  4560. if k == "v" and ModeOfGlitch == 2000000000 and attack == false then
  4561. AZUREFINALE()
  4562. end
  4563. if k == "l" and mutedtog == false then
  4564. mutedtog = true
  4565. kan.Volume = 0
  4566. elseif k == "l" and mutedtog == true then
  4567. mutedtog = false
  4568. kan.Volume = 1.25
  4569. end
  4570. if k == "p" and toggleTag == false then
  4571. toggleTag = true
  4572. modet.TextTransparency = 0
  4573. modet.TextStrokeTransparency = 0
  4574. elseif k == "p" and toggleTag == true then
  4575. toggleTag = false
  4576. modet.TextTransparency = 1
  4577. modet.TextStrokeTransparency = 1
  4578. end
  4579. if k == "z" and attack == false and ModeOfGlitch == 1 then
  4580. end
  4581. end)
  4582.  
  4583. plr.Chatted:connect(function(message)
  4584. if ModeOfGlitch == 9 then
  4585. if message:sub(1,5) == "play/" then
  4586. OVMID = message:sub(6)
  4587. newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  4588. elseif message:sub(1,6) == "pitch/" then
  4589. OVMPIT = message:sub(7)
  4590. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  4591. elseif message:sub(1,4) == "vol/" then
  4592. OVMVOL = message:sub(5)
  4593. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  4594. elseif message:sub(1,7) == "skipto/" then
  4595. chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4596. newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL)
  4597. elseif message:sub(1,9) == "telltime/" then
  4598. chatfunc("Current time pos: "..math.floor(kan.TimePosition).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4599. end
  4600. end
  4601. end)
  4602. local rotperm = 0
  4603. coroutine.resume(coroutine.create(function()
  4604. while true do
  4605. swait()
  4606. if ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 2000000000 then
  4607. swait(0.5)
  4608. sphereMK(5,math.random(8,14)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-10,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,MAINRUINCOLOR,0)
  4609. elseif ModeOfGlitch == 5 then
  4610. swait(0.5)
  4611. local rsiz = math.random(1,3)
  4612. sphereMK(math.random(3,6),math.random(-25,25)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  4613. sphereMK(math.random(6,9),math.random(-10,10)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/3,rsiz/3,rsiz/3,0,MAINRUINCOLOR,0)
  4614. elseif ModeOfGlitch == 9600000000 then
  4615. swait(0.25)
  4616. sphereMK(5,math.random(-14,-8)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),10,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))),0.25,0.25,7.5,-0.0025,MAINRUINCOLOR,0)
  4617. elseif ModeOfGlitch == 6000000000 then
  4618. coroutine.resume(coroutine.create(function()
  4619. swait(5)
  4620. sphereMK(10,math.random(15,45)/45,"Add",root.CFrame*CFrame.new(math.random(-50,50),-40,math.random(-50,50))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,60,-0.01,MAINRUINCOLOR,0)
  4621. end))
  4622. swait(1)
  4623. rotperm = rotperm + 12
  4624. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(rotperm),0)*CFrame.new(0,0,10),vt(3,3,3),-0.03,-0.03,-0.03,MAINRUINCOLOR)
  4625. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotperm),0)*CFrame.new(0,0,10),vt(3,3,3),-0.03,-0.03,-0.03,BrickColor.new("Cool yellow"))
  4626. elseif ModeOfGlitch == 9 and kan.PlaybackLoudness >= 50 then
  4627. swait(25 - kan.PlaybackLoudness/80)
  4628. sphere2(4,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),0.25,0,0.25,MAINRUINCOLOR)
  4629. if kan.PlaybackLoudness >= 300 then
  4630. CameraEnshaking(1,3)
  4631. for i = 0, 4 do
  4632. sphereMK(5,math.random(15,35)/150,"Add",root.CFrame*CFrame.new(math.random(-15,15),-10,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,20,-0.01,MAINRUINCOLOR,0)
  4633. end
  4634. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),0.5,0,0.5,MAINRUINCOLOR)
  4635. end
  4636. local notsp = Instance.new("Part", char)
  4637. notsp.CanCollide = false
  4638. notsp.FormFactor = 3
  4639. notsp.Name = "Ring"
  4640. notsp.Material = "Neon"
  4641. notsp.Size = Vector3.new(10, 1, 10)
  4642. if kan.PlaybackLoudness >= 300 then
  4643. notsp.Size = Vector3.new(25, 1, 25)
  4644. end
  4645. notsp.Transparency = 1
  4646. notsp.TopSurface = 0
  4647. notsp.BottomSurface = 0
  4648. notsp.Anchored = true
  4649. notsp.CFrame = root.CFrame*CFrame.new(0,-3,0)
  4650. coroutine.resume(coroutine.create(function()
  4651. local eff = Instance.new("ParticleEmitter",notsp)
  4652. eff.Texture = "rbxassetid://288898235"
  4653. eff.LightEmission = 0.5
  4654. eff.Color = ColorSequence.new(Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000))
  4655. eff.Rate = 300
  4656. eff.Lifetime = NumberRange.new(1)
  4657. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,0,0)})
  4658. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4659. eff.Speed = NumberRange.new(20,40)
  4660. eff.Acceleration = vt(0,-75,0)
  4661. eff.Drag = 1
  4662. eff.Rotation = NumberRange.new(-10,10)
  4663. eff.VelocitySpread = 20
  4664. eff.RotSpeed = NumberRange.new(-1,1)
  4665. coroutine.resume(coroutine.create(function()
  4666. while true do
  4667. swait()
  4668. if eff.Parent ~= nil then
  4669. if ModeOfGlitch == 9 then
  4670. eff.Color = ColorSequence.new(Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000))
  4671. elseif ModeOfGlitch ~= 9 then
  4672. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4673. end
  4674. else
  4675. break
  4676. end
  4677. end
  4678. end))
  4679. wait(0.1)
  4680. eff.Enabled = false
  4681. end))
  4682. game:GetService("Debris"):AddItem(notsp, 5)
  4683. end
  4684. end
  4685. end))
  4686.  
  4687.  
  4688. Humanoid.Name = "GGLITCHER"
  4689. Humanoid.MaxHealth = math.huge
  4690. Humanoid.Health = math.huge
  4691. Instance.new("ForceField",char).Visible = false
  4692.  
  4693. idleanim=.4
  4694. while true do
  4695. Humanoid.MaxHealth = math.huge
  4696. Humanoid.Health = math.huge
  4697. if mutedtog == false and duringend == false then
  4698. kan.Volume = currentVol
  4699. elseif mutedtog == true and duringend == false then
  4700. kan.Volume = 0
  4701. end
  4702. if duringend == false then
  4703. kan.PlaybackSpeed = currentPitch
  4704. kan.Pitch = currentPitch
  4705. end
  4706. kan.SoundId = currentThemePlaying
  4707. kan.Looped = true
  4708. kan.Parent = char
  4709. kan:Resume()
  4710.  
  4711. modeteller.Text = string.upper(modet.Text)
  4712. modeteller.TextColor3 = MAINRUINCOLOR.Color
  4713.  
  4714. swait()
  4715. handlexweld.C0=clerp(handlexweld.C0,cf(0 + 0.25 * math.cos(sine / 63),0 + 0.25 * math.cos(sine / 70),0 + 0.05 * math.cos(sine / 57))*angles(math.rad(0 + 2 * math.cos(sine / 55)),math.rad(0 + 2 * math.cos(sine / 46)),math.rad(0 + 2 * math.cos(sine / 32))),.3)
  4716.  
  4717. lwing1weld.C1=clerp(lwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 42)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 5 * math.cos(sine / 56))),.3)
  4718. lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 45)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(130 + 5 * math.cos(sine / 56))),.3)
  4719. lwing3weld.C1=clerp(lwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 48)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(50 + 5 * math.cos(sine / 56))),.3)
  4720. rwing1weld.C1=clerp(rwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 46)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 5 * math.cos(sine / 56))),.3)
  4721. rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-130 - 5 * math.cos(sine / 56))),.3)
  4722. rwing3weld.C1=clerp(rwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 40)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-50 - 5 * math.cos(sine / 56))),.3)
  4723. --------------- Visualiser Zone
  4724. if ModeOfGlitch == 9 then
  4725. modet.TextColor3 = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4726. for i, v in pairs(mw2:GetChildren()) do
  4727. if v:IsA("Part") then
  4728. v.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4729. v.Material = "Neon"
  4730. end
  4731. end
  4732. for i, v in pairs(mw1:GetChildren()) do
  4733. if v:IsA("Part") then
  4734. v.Transparency = 0
  4735. v.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4736. v.Material = "Neon"
  4737. end
  4738. end
  4739. end
  4740. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  4741. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  4742. ---------------
  4743. sine = sine + change
  4744. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  4745. local velderp=RootPart.Velocity.y
  4746. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  4747. if equipped==true or equipped==false then
  4748. if attack==false then
  4749. idle=idle+1
  4750. else
  4751. idle=0
  4752. end
  4753. if idle>=500 then
  4754. if attack==false then
  4755. --Sheath()
  4756. end
  4757. end
  4758. if RootPart.Velocity.y > 1 and hitfloor==nil then
  4759. Anim="Jump"
  4760. if attack==false then
  4761. RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  4762. 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)
  4763. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-tors.Velocity.Y/6),math.rad(0),math.rad(0)),.1)
  4764. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  4765. 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)
  4766. 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)
  4767. end
  4768. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  4769. Anim="Fall"
  4770. if attack==false then
  4771. RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  4772. 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)
  4773. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-tors.Velocity.Y/6),math.rad(0),math.rad(0)),.1)
  4774. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  4775. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(55)),.1)
  4776. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(-55)),.1)
  4777. end
  4778. elseif torvel<1 and hitfloor~=nil then
  4779. Anim="Idle"
  4780. if attack==false then
  4781. if ModeOfGlitch == 1 then
  4782. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-10 + 2 * math.cos(sine / 43)),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  4783. 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(-1.5),math.rad(0),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  4784. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(10 - 2 * math.cos(sine / 43))),.1)
  4785. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 - 2 * math.cos(sine / 47)),math.rad(-10 + 2 * math.cos(sine / 43))),.1)
  4786. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 3 * math.cos(sine / 48)),math.rad(-20 - 4 * math.cos(sine / 53)),math.rad(15 - 3 * math.cos(sine / 38))),.1)
  4787. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-10 + 2 * math.cos(sine / 45)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 39))),.1)
  4788. elseif ModeOfGlitch == 2 then
  4789. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.03 * math.cos(sine / 45),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-7.5 + 3 * math.cos(sine / 45)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  4790. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.03 * math.cos(sine / 45),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5 - 3 * math.cos(sine / 45)),math.rad(5),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  4791. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.03 * math.cos(sine / 45),0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0 + 3 * math.cos(sine / 45)),math.rad(0)),.1)
  4792. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 2.5 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 99)),math.rad(0 + 10 * math.cos(sine / 78))),.1)
  4793. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15 + 5 * math.cos(sine / 33)),math.rad(15 + 6 * math.cos(sine / 38)),math.rad(-10 - 3 * math.cos(sine / 42))),.1)
  4794. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 5 * math.cos(sine / 28))),.1)
  4795. elseif ModeOfGlitch == 10 then
  4796. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -0.1 + 0.1 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  4797. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5 * math.sin(sine / 20)), math.rad(0), math.rad(0)), 0.3)
  4798. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.9 - 0.1 * math.cos(sine / 20), 0.025 * math.cos(sine / 20)) * RHCF * angles(math.rad(-4.5), math.rad(0), math.rad(0)), 0.15)
  4799. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.9 - 0.1 * math.cos(sine / 20), 0.025 * math.cos(sine / 20)) * LHCF * angles(math.rad(-6.5), math.rad(0), math.rad(0)), 0.15)
  4800. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.4 + 0.05 * math.sin(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(-0), math.rad(-30)), 0.1)
  4801. LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.4 + 0.05 * math.cos(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1)
  4802. elseif ModeOfGlitch == 3 then
  4803. 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(-5),math.rad(0 - 3 * math.cos(sine / 34))),.1)
  4804. 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(-1.5),math.rad(0),math.rad(10 + 3 * math.cos(sine / 34))),.1)
  4805. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(25)),.1)
  4806. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0 + 2 * math.cos(sine / 57)),math.rad(-25)),.1)
  4807. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 5 * math.cos(sine / 34)),math.rad(0),math.rad(21 + 6 * math.cos(sine / 28))),.1)
  4808. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-5 + 5 * math.cos(sine / 43)),math.rad(10 - 5 * math.cos(sine / 27)),math.rad(-5 - 3 * math.cos(sine / 36))),.1)
  4809. elseif ModeOfGlitch == 4 then
  4810. 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(-5),math.rad(0 - 3 * math.cos(sine / 34))),.1)
  4811. 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(-1.5),math.rad(0),math.rad(10 + 3 * math.cos(sine / 34))),.1)
  4812. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(25)),.1)
  4813. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0 + 2 * math.cos(sine / 57)),math.rad(-25)),.1)
  4814. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 5 * math.cos(sine / 34)),math.rad(0),math.rad(21 + 6 * math.cos(sine / 28))),.1)
  4815. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-5 + 5 * math.cos(sine / 43)),math.rad(10 - 5 * math.cos(sine / 27)),math.rad(-5 - 3 * math.cos(sine / 36))),.1)
  4816. elseif ModeOfGlitch == 5 then
  4817. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1 + 4 * math.cos(sine / 50)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  4818. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5 - 4 * math.cos(sine / 50)),math.rad(18),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  4819. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.04 * math.cos(sine / 50),0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 + 4 * math.cos(sine / 50)),math.rad(-18)),.1)
  4820. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(-5 - 2.5 * math.cos(sine / 57)),math.rad(18)),.1)
  4821. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(36 - 3 * math.cos(sine / 34)),math.rad(0 - 2 * math.cos(sine / 45)),math.rad(-80 + 5 * math.cos(sine / 28))),.1)
  4822. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(7 + 3 * math.cos(sine / 49)),math.rad(12 + 2 * math.cos(sine / 52)),math.rad(-16 - 6 * math.cos(sine / 39))),.1)
  4823. elseif ModeOfGlitch == 6 then
  4824. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-10 + 4 * math.cos(sine / 34))),.1)
  4825. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(5 + 2 * math.cos(sine / 34))),.1)
  4826. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-5 - 2 * math.cos(sine / 53))),.1)
  4827. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(2 + 3 * math.cos(sine / 41)),math.rad(5 + 2 * math.cos(sine / 53))),.1)
  4828. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-2 - 4 * math.cos(sine / 28)),math.rad(0),math.rad(14 + 8 * math.cos(sine / 28))),.1)
  4829. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(5 + 3 * math.cos(sine / 46)),math.rad(10 + 5 * math.cos(sine / 52)),math.rad(-15 - 6 * math.cos(sine / 28))),.1)
  4830. elseif ModeOfGlitch == 7 then
  4831. 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(1),math.rad(0 - 1 * math.cos(sine / 34))),.1)
  4832. 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(5),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  4833. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.01 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4834. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0 + 1 * math.cos(sine / 71)),math.rad(0)),.1)
  4835. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(4 - 4 * math.cos(sine / 28)),math.rad(-8),math.rad(10 - 5 * math.cos(sine / 34))),.1)
  4836. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(5),math.rad(5),math.rad(5)),.1)
  4837. elseif ModeOfGlitch == 8 then
  4838. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(-10 + 5 * math.cos(sine / 34))),.1)
  4839. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.25),math.rad(0),math.rad(6 + 2 * math.cos(sine / 34))),.1)
  4840. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-26 + 2 * math.cos(sine / 44))),.1)
  4841. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 1 * math.cos(sine / 28)),math.rad(-5 + 3 * math.cos(sine / 47)),math.rad(26 - 2 * math.cos(sine / 44))),.1)
  4842. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-2 - 3 * math.cos(sine / 30)),math.rad(25 - 3 * math.cos(sine / 38)),math.rad(28 - 6 * math.cos(sine / 34))),.1)
  4843. LW.C0=clerp(LW.C0,cf(-0.95,0.65 + 0.075 * math.cos(sine / 28),-0.65)*angles(math.rad(90 + 2 * math.cos(sine / 73)),math.rad(25 + 5 * math.cos(sine / 24)),math.rad(73 - 3 * math.cos(sine / 65))),.1)
  4844. elseif ModeOfGlitch == 9 then
  4845. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/5000,-0.1)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(0 - 2 * math.cos(sine / 56) + kan.PlaybackLoudness/450)),.4)
  4846. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - kan.PlaybackLoudness/6500,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 2 * math.cos(sine / 56) + kan.PlaybackLoudness/500)),.4)
  4847. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 56) ,0 + 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/7000)*angles(math.rad(0 - 2 * math.cos(sine / 56)),math.rad(0),math.rad(30)),.4)
  4848. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2 * math.cos(sine / 28) - kan.PlaybackLoudness/60),math.rad(0 + 2 * math.cos(sine / 73)),math.rad(-30)),.4)
  4849. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(40 + 5 * math.cos(sine / 34) + kan.PlaybackLoudness/7.5),math.rad(0),math.rad(28 - 2 * math.cos(sine / 38))),.4)
  4850. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(10),math.rad(5),math.rad(7.5)),.4)
  4851. elseif ModeOfGlitch == 2000000000 then
  4852. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 5 * math.cos(sine / 34))),.1)
  4853. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 3 * math.cos(sine / 34))),.1)
  4854. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(2 + 3 * math.cos(sine / 34)),math.rad(0),math.rad(34 - 3 * math.cos(sine / 54))),.1)
  4855. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 4 * math.cos(sine / 28)),math.rad(0 - 1 * math.cos(sine / 44)),math.rad(-34 + 3 * math.cos(sine / 54))),.1)
  4856. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(12 + 5 * math.cos(sine / 62)),math.rad(30 + 5 * math.cos(sine / 48)),math.rad(19 + 6 * math.cos(sine / 36))),.1)
  4857. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 3 * math.cos(sine / 65)),math.rad(6 + 3 * math.cos(sine / 57)),math.rad(-20 - 7 * math.cos(sine / 36))),.1)
  4858. elseif ModeOfGlitch == 6000000000 then
  4859. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-15 + 6 * math.cos(sine / 34))),.1)
  4860. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(7.5 - 4 * math.cos(sine / 47))),.1)
  4861. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(-1 + 4 * math.cos(sine / 62))),.1)
  4862. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 28)),math.rad(5 - 6 * math.cos(sine / 79)),math.rad(1 - 4 * math.cos(sine / 62))),.1)
  4863. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.01 * math.cos(sine / 28),-0.65)*angles(math.rad(38 + 2 * math.cos(sine / 33)),math.rad(0),math.rad(-95 - 3 * math.cos(sine / 28))),.1)
  4864. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.01 * math.cos(sine / 28),-0.65)*angles(math.rad(45 - 3 * math.cos(sine / 37)),math.rad(0),math.rad(80 + 5 * math.cos(sine / 30))),.1)
  4865. elseif ModeOfGlitch == 9600000000 then
  4866. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7 - 5 * math.cos(sine / 44)),math.rad(0),math.rad(-6 - 3 * math.cos(sine / 34))),.1)
  4867. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 + 5 * math.cos(sine / 44)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 34))),.1)
  4868. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),-0.05 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 - 5 * math.cos(sine / 44)),math.rad(-5)),.1)
  4869. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5 - 2.5 * math.cos(sine / 28)),math.rad(10 + 5 * math.cos(sine / 62)),math.rad(17 + 5 * math.cos(sine / 59))),.1)
  4870. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 3 * math.cos(sine / 53)),math.rad(0),math.rad(-37 + 2 * math.cos(sine / 37))),.1)
  4871. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(23 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(38 - 3 * math.cos(sine / 57) )),.1)
  4872. end
  4873. end
  4874. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  4875. Anim="Walk"
  4876. if attack==false then
  4877. if ModeOfGlitch == 10 then
  4878. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.175 + 0.025 * math.cos(sine / 3.5) + -math.sin(sine / 3.5) / 7) * angles(math.rad(4-2.5 * math.cos(sine / 3.5)), math.rad(0) - root.RotVelocity.Y / 75, math.rad(5 * math.cos(sine / 7))), 0.15)
  4879. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5 * math.sin(sine / 20)), math.rad(0), math.rad(0) - hed.RotVelocity.Y / 15), 0.3)
  4880. RH.C0 = clerp(RH.C0, cf(1, -0.925 - 0.5 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 5 * math.cos(sine / 7)) - rl.RotVelocity.Y / 75 + -math.sin(sine / 7) / 2.5, math.rad(90 - 0.1 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 0.1 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
  4881. LH.C0 = clerp(LH.C0, cf(-1, -0.925 + 0.5 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 5 * math.cos(sine / 7)) + ll.RotVelocity.Y / 75 + math.sin(sine / 7) / 2.5, math.rad(-90 - 0.1 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 0.1 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
  4882. RW.C0 = clerp(RW.C0, cf(1.1, 0.4 + 0.05 * math.sin(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(-0), math.rad(-30)), 0.1)
  4883. LW.C0 = clerp(LW.C0, cf(-1.1, 0.4 + 0.05 * math.sin(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1)
  4884. elseif ModeOfGlitch ~= 9600000000 then
  4885. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  4886. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  4887. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1)
  4888. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8))),.1)
  4889. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
  4890. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
  4891. elseif ModeOfGlitch == 9600000000 then
  4892. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 10 * math.cos(sine / 8)),math.rad(0 + 65 * math.cos(sine / 8))),.1)
  4893. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 10 * math.cos(sine / 8)),math.rad(0 + 65 * math.cos(sine / 8))),.1)
  4894. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.1,-0.05 + 0.05 * math.cos(sine / 4))*angles(math.rad(15 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 10 * math.cos(sine / 8))),.1)
  4895. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15 + 3 * math.cos(sine / 4)),math.rad(0 - 10 * math.cos(sine / 8)),math.rad(0 - hed.RotVelocity.Y*2.5 + 10 * math.cos(sine / 8))),.1)
  4896. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 80 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
  4897. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 80 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
  4898. end
  4899. end
  4900. elseif torvel>=22 and hitfloor~=nil then
  4901. Anim="Run"
  4902. if attack==false then
  4903. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 2000000000 and ModeOfGlitch ~= 6000000000 then
  4904. RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 85 * math.cos(sine / 6))),.1)
  4905. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 85 * math.cos(sine / 6))),.1)
  4906. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(15 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 10 * math.cos(sine / 6))),.1)
  4907. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5 + 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 10 * math.cos(sine / 6))),.1)
  4908. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.5 * math.cos(sine / 6))*angles(math.rad(0 - 140 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 20 * math.cos(sine / 3))),.1)
  4909. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.5 * math.cos(sine / 6))*angles(math.rad(0 + 140 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 20 * math.cos(sine / 3))),.1)
  4910. if ModeOfGlitch == 7 then
  4911. sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),8)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,20,-0.0075,MAINRUINCOLOR,0)
  4912. sphereMK(3,0,"Add",root.CFrame*CFrame.new(0,0,8)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,5,20,-0.0075,MAINRUINCOLOR,0)
  4913. end
  4914. elseif ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 2000000000 or ModeOfGlitch == 6000000000 then
  4915. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2)
  4916. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2)
  4917. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
  4918. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2)
  4919. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2)
  4920. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2)
  4921. end
  4922. end
  4923. end
  4924. end
  4925. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement