Advertisement
Guest User

Untitled

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