Advertisement
Goo345

Untitled

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