Advertisement
foxy_game4

hah

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