Advertisement
Goo345

Untitled

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