Advertisement
Tetezaza1542

STAR [NEW]

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