Advertisement
wamandnj

Untitled

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