Advertisement
Guest User

Untitled

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