Advertisement
Sheckles

dzbgfnhjm,kjmgnfdbhnjmg

Jun 28th, 2018
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 306.56 KB | None | 0 0
  1. warn'This is an edit by OmegaNoscope/hecc#5638'
  2.  
  3.  
  4. --- its obs smooth af do not touch
  5. ---- Sources and functions might be taken from others
  6. plr = game:GetService("Players").LocalPlayer
  7. char = plr.Character
  8. hum = char:FindFirstChildOfClass'Humanoid'
  9. local cam = game.Workspace.CurrentCamera
  10. local Controller = plr.PlayerScripts:WaitForChild("ControlScript")
  11. Camera = cam
  12. local CamInterrupt = false
  13. local TwoD = false
  14. local TargetInfo = {nil, nil}
  15. cam.CameraType = "Custom"
  16. t = char.Torso
  17. h = char.Head
  18. ra = char["Right Arm"]
  19. la = char["Left Arm"]
  20. rl = char["Right Leg"]
  21. ll = char["Left Leg"]
  22. tors = char.Torso
  23. lleg = char["Left Leg"]
  24. root = char.HumanoidRootPart
  25. hed = char.Head
  26. rleg = char["Right Leg"]
  27. rarm = char["Right Arm"]
  28. larm = char["Left Arm"]
  29. radian = math.rad
  30. random = math.random
  31. Vec3 = Vector3.new
  32. Inst = Instance.new
  33. cFrame = CFrame.new
  34. Euler = CFrame.fromEulerAnglesXYZ
  35. vt = Vector3.new
  36. bc = BrickColor.new
  37. br = BrickColor.random
  38. it = Instance.new
  39. cf = CFrame.new
  40.  
  41. local ODers = {}
  42.  
  43. local Allowdfgbnjfbgnh = false;
  44. local AllowCata = false;
  45.  
  46. local Booleans = {
  47. CamFollow = true,
  48. GyroUse = true
  49. }
  50.  
  51. function lerp(object, newCFrame, alpha)
  52. return object:lerp(newCFrame, alpha)
  53. end
  54.  
  55. local Directer = Inst("BodyGyro", root)
  56. Directer.MaxTorque = Vec3(0, 0, 0)
  57. Directer.P = 600000
  58. local CPart = Inst("Part")
  59. CPart.Anchored = true
  60. CPart.CanCollide = false
  61. CPart.Locked = true
  62. CPart.Transparency = 1
  63.  
  64. local rainbowmode = false
  65. local chaosmode = false
  66. local glitchymode = false
  67. kan = Instance.new("Sound",char)
  68. kan.Volume = 1.25
  69. kan.TimePosition = 0
  70. kan.PlaybackSpeed = 1
  71. kan.Pitch = 1
  72. kan.SoundId = "rbxassetid://169109535"
  73. kan.Name = "wrecked"
  74. kan.Looped = true
  75. kan:Play()
  76.  
  77. local MID = "rbxassetid://169109535";
  78. local Pitch = 1;
  79.  
  80. function newTheme(ID,timepos,pitch,vol)
  81. local kanz = kan
  82. --kanz:Stop()
  83. --kanz.Volume = vol
  84. --kanz.TimePosition = timepos
  85. kanz.PlaybackSpeed = pitch
  86. kanz.Pitch = pitch
  87. kanz.SoundId = ID
  88. kanz.Name = "wrecked"
  89. kanz.Looped = true
  90. Pitch = pitch
  91. MID = ID
  92. --kanz:Play()
  93. --coroutine.resume(coroutine.create(function()
  94. --wait(0.05)
  95. --end))
  96. end
  97.  
  98. function newThemeCust(ID,timepos,pitch,vol)
  99. local kanz = kan
  100. kanz:Stop()
  101. kanz.Volume = vol
  102. kanz.TimePosition = timepos
  103. kanz.PlaybackSpeed = pitch
  104. kanz.Pitch = pitch
  105. MID = ID
  106. kanz.SoundId = ID
  107. kanz.Name = "wrecked"
  108. kanz.Looped = true
  109. kanz:Play()
  110. coroutine.resume(coroutine.create(function()
  111. wait(0.05)
  112. end))
  113. end
  114.  
  115.  
  116.  
  117. function CameraShake(Times, Power, PlayerTarget)
  118. coroutine.resume(coroutine.create(function()
  119. FV = Instance.new("BoolValue", PlayerTarget)
  120. FV.Name = "CameraShake"
  121. for ShakeNum=1,Times do
  122. swait()
  123. local ef=Power
  124. if ef>=1 then
  125. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  126. else
  127. ef=Power*10
  128. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  129. end
  130. end
  131. Humanoid.CameraOffset = Vector3.new(0,0,0)
  132. FV:Destroy()
  133. end))
  134. end
  135.  
  136. function CameraEnshaking(Length,Intensity)
  137. coroutine.resume(coroutine.create(function()
  138. local intensity = 1*Intensity
  139. local rotM = 0.01*Intensity
  140. for i = 0, Length, 0.1 do
  141. swait()
  142. intensity = intensity - 0.05*Intensity/Length
  143. rotM = rotM - 0.0005*Intensity/Length
  144. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  145. 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)
  146. end
  147. Humanoid.CameraOffset = Vec3(0, 0, 0)
  148. end))
  149. end
  150. CamShake=function(Part,Distan,Power,Times)
  151. local de=Part.Position
  152. for i,v in pairs(workspace:children()) do
  153. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  154. for _,c in pairs(v:children()) do
  155. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  156. local Noob=vFindFirstChildOfClass'Humanoid'
  157. if Noob~=nil then
  158. coroutine.resume(coroutine.create(function()
  159. FV = Instance.new("BoolValue", Noob)
  160. FV.Name = "CameraShake"
  161. for ShakeNum=1,Times do
  162. swait()
  163. local ef=Power
  164. if ef>=1 then
  165. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  166. else
  167. ef=Power*10
  168. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  169. end
  170. end
  171. Humanoid.CameraOffset = Vector3.new(0,0,0)
  172. FV:Destroy()
  173. end))
  174. CameraShake(Times, Power, Noob)
  175. end
  176. end
  177. end
  178. end
  179. end
  180. end
  181.  
  182. function chatfunc(text,color)
  183. local chat = coroutine.wrap(function()
  184. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  185. Character:FindFirstChild("TalkingBillBoard"):destroy()
  186. end
  187. local naeeym2 = Instance.new("BillboardGui",Character)
  188. naeeym2.Size = UDim2.new(0,100,0,40)
  189. naeeym2.StudsOffset = Vector3.new(0,3,0)
  190. naeeym2.Adornee = Character.Head
  191. naeeym2.Name = "TalkingBillBoard"
  192. local tecks2 = Instance.new("TextLabel",naeeym2)
  193. tecks2.BackgroundTransparency = 1
  194. tecks2.BorderSizePixel = 0
  195. tecks2.Text = ""
  196. tecks2.Font = "SciFi"
  197. tecks2.TextSize = 30
  198. tecks2.TextStrokeTransparency = 0
  199. tecks2.TextColor3 = color
  200. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  201. tecks2.Size = UDim2.new(1,0,0.5,0)
  202. local tecks3 = Instance.new("TextLabel",naeeym2)
  203. tecks3.BackgroundTransparency = 1
  204. tecks3.BorderSizePixel = 0
  205. tecks3.Text = ""
  206. tecks3.Font = "SciFi"
  207. tecks3.TextSize = 30
  208. tecks3.TextStrokeTransparency = 0
  209. tecks3.TextColor3 = Color3.new(0,0,0)
  210. tecks3.TextStrokeColor3 = color
  211. tecks3.Size = UDim2.new(1,0,0.5,0)
  212. coroutine.resume(coroutine.create(function()
  213. while true do
  214. swait(1)
  215. if chaosmode == true then
  216. tecks2.TextColor3 = BrickColor.new("Really black").Color
  217. tecks3.TextStrokeColor3 = BrickColor.new("Really black").Color
  218. end
  219. if(glitchymode)then
  220. local val = math.random(1,255)
  221. local color = Color3.fromRGB(val,val,val)
  222. tecks2.TextColor3 = color
  223. tecks3.TextStrokeColor3 = color
  224. end
  225. tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  226. tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  227. tecks2.Rotation = math.random(-5,5)
  228. tecks3.Rotation = math.random(-5,5)
  229. end
  230. end))
  231. for i = 1,string.len(text),1 do
  232. CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
  233. tecks2.Text = string.sub(text,1,i)
  234. tecks3.Text = string.sub(text,1,i)
  235. swait(1)
  236. end
  237. wait(1)
  238. local randomrot = math.random(1,2)
  239. if randomrot == 1 then
  240. for i = 1, 50 do
  241. swait()
  242. tecks2.Rotation = tecks2.Rotation - .75
  243. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  244. tecks2.TextTransparency = tecks2.TextTransparency + .04
  245. tecks3.Rotation = tecks2.Rotation + .75
  246. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  247. tecks3.TextTransparency = tecks2.TextTransparency + .04
  248. end
  249. elseif randomrot == 2 then
  250. for i = 1, 50 do
  251. swait()
  252. tecks2.Rotation = tecks2.Rotation + .75
  253. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  254. tecks2.TextTransparency = tecks2.TextTransparency + .04
  255. tecks3.Rotation = tecks2.Rotation - .75
  256. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  257. tecks3.TextTransparency = tecks2.TextTransparency + .04
  258. end
  259. end
  260. naeeym2:Destroy()
  261. end)
  262. chat()
  263. end
  264.  
  265.  
  266. local Create = LoadLibrary("RbxUtility").Create
  267.  
  268. CFuncs = {
  269. ["Part"] = {
  270. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  271. local Part = Create("Part"){
  272. Parent = Parent,
  273. Reflectance = Reflectance,
  274. Transparency = Transparency,
  275. CanCollide = false,
  276. Locked = true,
  277. BrickColor = BrickColor.new(tostring(BColor)),
  278. Name = Name,
  279. Size = Size,
  280. Material = Material,
  281. }
  282. RemoveOutlines(Part)
  283. return Part
  284. end;
  285. };
  286.  
  287. ["Mesh"] = {
  288. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  289. local Msh = Create(Mesh){
  290. Parent = Part,
  291. Offset = OffSet,
  292. Scale = Scale,
  293. }
  294. if Mesh == "SpecialMesh" then
  295. Msh.MeshType = MeshType
  296. Msh.MeshId = MeshId
  297. end
  298. return Msh
  299. end;
  300. };
  301.  
  302. ["Mesh"] = {
  303. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  304. local Msh = Create(Mesh){
  305. Parent = Part,
  306. Offset = OffSet,
  307. Scale = Scale,
  308. }
  309. if Mesh == "SpecialMesh" then
  310. Msh.MeshType = MeshType
  311. Msh.MeshId = MeshId
  312. end
  313. return Msh
  314. end;
  315. };
  316.  
  317. ["Weld"] = {
  318. Create = function(Parent, Part0, Part1, C0, C1)
  319. local Weld = Create("Weld"){
  320. Parent = Parent,
  321. Part0 = Part0,
  322. Part1 = Part1,
  323. C0 = C0,
  324. C1 = C1,
  325. }
  326. return Weld
  327. end;
  328. };
  329.  
  330. ["Sound"] = {
  331. Create = function(id, par, vol, pit)
  332. return coroutine.wrap(function()
  333. local S = Create("Sound"){
  334. Volume = vol,
  335. Name = "EffectSoundo",
  336. Pitch = pit or 1,
  337. SoundId = id,
  338. Parent = par or workspace,
  339. }
  340. S:Play()
  341. S.Ended:connect(function()
  342. S:Destroy()
  343. end)
  344. return S;
  345. end)()
  346. end;
  347. };
  348.  
  349. ["LongSound"] = {
  350. Create = function(id, par, vol, pit)
  351. coroutine.resume(coroutine.create(function()
  352. local S = Create("Sound"){
  353. Volume = vol,
  354. Pitch = pit or 1,
  355. SoundId = id,
  356. Parent = par or workspace,
  357. }
  358. wait()
  359. S:play()
  360. game:GetService("Debris"):AddItem(S, 30)
  361. end))
  362. end;
  363. };
  364.  
  365. ["ParticleEmitter"] = {
  366. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  367. local fp = Create("ParticleEmitter"){
  368. Parent = Parent,
  369. Color = ColorSequence.new(Color1, Color2),
  370. LightEmission = LightEmission,
  371. Size = Size,
  372. Texture = Texture,
  373. Transparency = Transparency,
  374. ZOffset = ZOffset,
  375. Acceleration = Accel,
  376. Drag = Drag,
  377. LockedToPart = LockedToPart,
  378. VelocityInheritance = VelocityInheritance,
  379. EmissionDirection = EmissionDirection,
  380. Enabled = Enabled,
  381. Lifetime = LifeTime,
  382. Rate = Rate,
  383. Rotation = Rotation,
  384. RotSpeed = RotSpeed,
  385. Speed = Speed,
  386. VelocitySpread = VelocitySpread,
  387. }
  388. return fp
  389. end;
  390. };
  391.  
  392. CreateTemplate = {
  393.  
  394. };
  395. }
  396.  
  397.  
  398.  
  399. New = function(Object, Parent, Name, Data)
  400. local Object = Instance.new(Object)
  401. for Index, Value in pairs(Data or {}) do
  402. Object[Index] = Value
  403. end
  404. Object.Parent = Parent
  405. Object.Name = Name
  406. return Object
  407. end
  408. local halocolor = BrickColor.new("Pastel light blue")
  409. local halocolor2 = BrickColor.new("Cool yellow")
  410. local starcolor = BrickColor.new("Bright yellow")
  411. local lunacolor = BrickColor.new("Navy blue")
  412. local lunacolor2 = BrickColor.new("Bright blue")
  413. local wepcolor = BrickColor.new("Really black")
  414. local maincolor = BrickColor.new("Really black")
  415. local m = Instance.new("Model",char)
  416. local m2 = Instance.new("Model",char)
  417. local m3 = Instance.new("Model",char)
  418. local mw1 = Instance.new("Model",char)
  419. local mw2 = Instance.new("Model",char)
  420.  
  421. local extrawingmod1 = Instance.new("Model",char)
  422. local extrawingmod2 = Instance.new("Model",char)
  423.  
  424. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  425. local p = Instance.new("Part")
  426. p.TopSurface = 0
  427. p.BottomSurface = 0
  428. p.Parent = parent
  429. p.Size = Vector3.new(0.1,0.1,0.1)
  430. p.Transparency = transparency
  431. p.Reflectance = reflectance
  432. p.CanCollide = false
  433. p.Locked = true
  434. p.BrickColor = brickcolor
  435. p.Material = material
  436. return p
  437. end
  438.  
  439. function CreateMesh(parent,meshtype,x1,y1,z1)
  440. local mesh = Instance.new("SpecialMesh",parent)
  441. mesh.MeshType = meshtype
  442. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  443. return mesh
  444. end
  445.  
  446. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  447. local mesh = Instance.new("SpecialMesh",parent)
  448. mesh.MeshType = "FileMesh"
  449. mesh.MeshId = meshid
  450. mesh.Scale = Vector3.new(x1,y1,z1)
  451. return mesh
  452. end
  453.  
  454.  
  455. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  456. local mesh = Instance.new("SpecialMesh",parent)
  457. mesh.MeshType = "FileMesh"
  458. mesh.MeshId = meshid
  459. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  460. mesh.Scale = Vector3.new(x1,y1,z1)
  461. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  462. return mesh
  463. end
  464.  
  465. --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))
  466.  
  467.  
  468. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  469. local weld = Instance.new("Weld")
  470. weld.Parent = parent
  471. weld.Part0 = part0
  472. weld.Part1 = part1
  473. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  474. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  475. return weld
  476. end
  477.  
  478. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.new("Really black"))
  479. 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))
  480. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.new("Really black"))
  481. 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))
  482.  
  483. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  484. CreateMesh(handle,"Brick",0,0,0)
  485. 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))
  486. local valuaring = 10
  487. for i = 0, 49 do
  488. valuaring = valuaring + 10
  489. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  490. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  491. CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  492. end
  493.  
  494. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  495. CreateMesh(handle,"Brick",0,0,0)
  496. CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  497. local valuaring = 10
  498. for i = 0, 49 do
  499. valuaring = valuaring + 10
  500. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  501. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  502. CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  503. end
  504.  
  505.  
  506. local handle = CreateParta(m,1,1,"Neon",maincolor)
  507. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  508. 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))
  509.  
  510. --- Left wing.
  511.  
  512. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  513. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  514. 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))
  515.  
  516. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  517. CreateMesh(wed,"Wedge",0.05,3,0.5)
  518. 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))
  519. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  520. CreateMesh(wed,"Wedge",0.05,3,0.5)
  521. 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))
  522. A0 = Instance.new('Attachment',wed)
  523. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  524. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  525. 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))
  526. A1 = Instance.new('Attachment',wed)
  527. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  528. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  529. 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))
  530.  
  531. tl1 = Instance.new('Trail',wed)
  532. tl1.Attachment0 = A0
  533. tl1.Attachment1 = A1
  534. tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  535. tl1.LightEmission = 1
  536. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  537. tl1.Color = ColorSequence.new(BrickColor.new('Black').Color)
  538. tl1.Lifetime = 0.6
  539.  
  540.  
  541. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  542. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  543. 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))
  544.  
  545. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  546. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  547. 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))
  548. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  549. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  550. 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))
  551. A0 = Instance.new('Attachment',wed)
  552. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  553. CreateMesh(wed,"Wedge",0.05,0.5,3)
  554. 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))
  555. A1 = Instance.new('Attachment',wed)
  556. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  557. CreateMesh(wed,"Wedge",0.05,3,0.5)
  558. 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))
  559.  
  560. tl2 = Instance.new('Trail',wed)
  561. tl2.Attachment0 = A0
  562. tl2.Attachment1 = A1
  563. tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  564. tl2.LightEmission = 1
  565. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  566. tl2.Color = ColorSequence.new(BrickColor.new('Black').Color)
  567. tl2.Lifetime = 0.6
  568.  
  569. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  570. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  571. 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))
  572.  
  573. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  574. CreateMesh(wed,"Wedge",0.05,3,0.5)
  575. 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))
  576. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  577. CreateMesh(wed,"Wedge",0.05,3,0.5)
  578. 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))
  579. A0 = Instance.new('Attachment',wed)
  580. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  581. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  582. 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))
  583. A1 = Instance.new('Attachment',wed)
  584. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  585. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  586. 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))
  587.  
  588. tl3 = Instance.new('Trail',wed)
  589. tl3.Attachment0 = A0
  590. tl3.Attachment1 = A1
  591. tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  592. tl3.LightEmission = 1
  593. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  594. tl3.Color = ColorSequence.new(BrickColor.new('Black').Color)
  595. tl3.Lifetime = 0.6
  596.  
  597. tl1.Enabled = false
  598. tl2.Enabled = false
  599. tl3.Enabled = false
  600. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  601. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  602. 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))
  603.  
  604. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  605. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  606. 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))
  607. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  608. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  609. 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))
  610. A0 = Instance.new('Attachment',wed)
  611. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  612. CreateMesh(wed,"Wedge",0.05,0.5,3)
  613. 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))
  614. A1 = Instance.new('Attachment',wed)
  615. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  616. CreateMesh(wed,"Wedge",0.05,3,0.5)
  617. 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))
  618.  
  619. tl4 = Instance.new('Trail',wed)
  620. tl4.Attachment0 = A0
  621. tl4.Attachment1 = A1
  622. tl4.Texture = "http://www.roblox.com/asset/?id=1049219073"
  623. tl4.LightEmission = 1
  624. tl4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  625. tl4.Color = ColorSequence.new(BrickColor.new('Black').Color)
  626. tl4.Lifetime = 0.6
  627.  
  628. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  629. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  630. 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))
  631.  
  632. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  633. CreateMesh(wed,"Wedge",0.05,3,0.5)
  634. 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))
  635. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  636. CreateMesh(wed,"Wedge",0.05,3,0.5)
  637. 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))
  638. A0 = Instance.new('Attachment',wed)
  639. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  640. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  641. 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))
  642. A1 = Instance.new('Attachment',wed)
  643. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  644. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  645. 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))
  646.  
  647. tl5 = Instance.new('Trail',wed)
  648. tl5.Attachment0 = A0
  649. tl5.Attachment1 = A1
  650. tl5.Texture = "http://www.roblox.com/asset/?id=1049219073"
  651. tl5.LightEmission = 1
  652. tl5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  653. tl5.Color = ColorSequence.new(BrickColor.new('Black').Color)
  654. tl5.Lifetime = 0.6
  655.  
  656. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  657. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  658. 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))
  659.  
  660. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  661. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  662. 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))
  663. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  664. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  665. 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))
  666. A0 = Instance.new('Attachment',wed)
  667. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  668. CreateMesh(wed,"Wedge",0.05,0.5,3)
  669. 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))
  670. A1 = Instance.new('Attachment',wed)
  671. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  672. CreateMesh(wed,"Wedge",0.05,3,0.5)
  673. 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))
  674.  
  675. tl6 = Instance.new('Trail',wed)
  676. tl6.Attachment0 = A0
  677. tl6.Attachment1 = A1
  678. tl6.Texture = "http://www.roblox.com/asset/?id=1049219073"
  679. tl6.LightEmission = 1
  680. tl6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  681. tl6.Color = ColorSequence.new(BrickColor.new('Black').Color)
  682. tl6.Lifetime = 0.6
  683.  
  684. tl4.Enabled = false
  685. tl5.Enabled = false
  686. tl6.Enabled = false
  687.  
  688. -- Right wing.
  689.  
  690. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  691. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  692. 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))
  693.  
  694. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  695. CreateMesh(wed,"Wedge",0.05,3,0.5)
  696. 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))
  697. A0 = Instance.new('Attachment',wed)
  698. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  699. CreateMesh(wed,"Wedge",0.05,3,0.5)
  700. 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))
  701. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  702. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  703. 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))
  704. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  705. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  706. 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))
  707. A1 = Instance.new('Attachment',wed)
  708.  
  709. tr1 = Instance.new('Trail',wed)
  710. tr1.Attachment0 = A0
  711. tr1.Attachment1 = A1
  712. tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  713. tr1.LightEmission = 1
  714. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  715. tr1.Color = ColorSequence.new(BrickColor.new('Black').Color)
  716. tr1.Lifetime = 0.6
  717.  
  718. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  719. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  720. 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))
  721.  
  722. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  723. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  724. 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))
  725. A0 = Instance.new('Attachment',wed)
  726. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  727. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  728. 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))
  729. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  730. CreateMesh(wed,"Wedge",0.05,0.5,3)
  731. 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))
  732. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  733. CreateMesh(wed,"Wedge",0.05,3,0.5)
  734. 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))
  735. A1 = Instance.new('Attachment',wed)
  736.  
  737. tr2 = Instance.new('Trail',wed)
  738. tr2.Attachment0 = A0
  739. tr2.Attachment1 = A1
  740. tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  741. tr2.LightEmission = 1
  742. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  743. tr2.Color = ColorSequence.new(BrickColor.new('Black').Color)
  744. tr2.Lifetime = 0.6
  745.  
  746. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  747. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  748. 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))
  749.  
  750. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  751. CreateMesh(wed,"Wedge",0.05,3,0.5)
  752. 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))
  753. A0 = Instance.new('Attachment',wed)
  754. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  755. CreateMesh(wed,"Wedge",0.05,3,0.5)
  756. 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))
  757. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  758. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  759. 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))
  760. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  761. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  762. 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))
  763. A1 = Instance.new('Attachment',wed)
  764.  
  765. tr3 = Instance.new('Trail',wed)
  766. tr3.Attachment0 = A0
  767. tr3.Attachment1 = A1
  768. tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  769. tr3.LightEmission = 1
  770. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  771. tr3.Color = ColorSequence.new(BrickColor.new('Black').Color)
  772. tr3.Lifetime = 0.6
  773.  
  774.  
  775. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  776. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  777. 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))
  778.  
  779. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  780. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  781. 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))
  782. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  783. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  784. 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))
  785. A0 = Instance.new('Attachment',wed)
  786. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  787. CreateMesh(wed,"Wedge",0.05,0.5,3)
  788. 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))
  789. A1 = Instance.new('Attachment',wed)
  790. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  791. CreateMesh(wed,"Wedge",0.05,3,0.5)
  792. 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))
  793.  
  794. tr4 = Instance.new('Trail',wed)
  795. tr4.Attachment0 = A0
  796. tr4.Attachment1 = A1
  797. tr4.Texture = "http://www.roblox.com/asset/?id=1049219073"
  798. tr4.LightEmission = 1
  799. tr4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  800. tr4.Color = ColorSequence.new(BrickColor.new('Black').Color)
  801. tr4.Lifetime = 0.6
  802.  
  803. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  804. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  805. 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))
  806.  
  807. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  808. CreateMesh(wed,"Wedge",0.05,3,0.5)
  809. 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))
  810. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  811. CreateMesh(wed,"Wedge",0.05,3,0.5)
  812. 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))
  813. A0 = Instance.new('Attachment',wed)
  814. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  815. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  816. 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))
  817. A1 = Instance.new('Attachment',wed)
  818. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  819. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  820. 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))
  821.  
  822. tr5 = Instance.new('Trail',wed)
  823. tr5.Attachment0 = A0
  824. tr5.Attachment1 = A1
  825. tr5.Texture = "http://www.roblox.com/asset/?id=1049219073"
  826. tr5.LightEmission = 1
  827. tr5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  828. tr5.Color = ColorSequence.new(BrickColor.new('Black').Color)
  829. tr5.Lifetime = 0.6
  830.  
  831. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  832. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  833. 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))
  834.  
  835. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  836. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  837. 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))
  838. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  839. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  840. 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))
  841. A0 = Instance.new('Attachment',wed)
  842. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  843. CreateMesh(wed,"Wedge",0.05,0.5,3)
  844. 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))
  845. A1 = Instance.new('Attachment',wed)
  846. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  847. CreateMesh(wed,"Wedge",0.05,3,0.5)
  848. 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))
  849.  
  850. tr6 = Instance.new('Trail',wed)
  851. tr6.Attachment0 = A0
  852. tr6.Attachment1 = A1
  853. tr6.Texture = "http://www.roblox.com/asset/?id=1049219073"
  854. tr6.LightEmission = 1
  855. tr6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  856. tr6.Color = ColorSequence.new(BrickColor.new('Black').Color)
  857. tr6.Lifetime = 0.6
  858.  
  859. tr4.Enabled = false
  860. tr5.Enabled = false
  861. tr6.Enabled = false
  862.  
  863. ---- HERES THE RING
  864.  
  865.  
  866. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  867. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  868. 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))
  869. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  870. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  871. 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))
  872. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  873. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  874. 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))
  875.  
  876.  
  877. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  878. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  879. 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))
  880.  
  881. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  882. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  883. 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))
  884.  
  885.  
  886.  
  887. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  888. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  889. 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))
  890.  
  891. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  892. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  893. 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))
  894.  
  895. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  896. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  897. 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))
  898.  
  899. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  900. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  901. 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))
  902. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  903. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  904. 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))
  905.  
  906. -- S section A
  907.  
  908. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  909. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  910. CreateWeld(dotsec,larm,dotsec,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  911. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  912. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  913. CreateWeld(dotseca,larm,dotseca,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  914. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  915. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  916. CreateWeld(dotsecb,larm,dotsecb,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  917.  
  918. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  919. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  920. CreateWeld(dotsec,larm,dotsec,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  921. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  922. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  923. CreateWeld(dotseca,larm,dotseca,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  924. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  925. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  926. CreateWeld(dotsecb,larm,dotsecb,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  927.  
  928. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  929. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  930. CreateWeld(dotsec,larm,dotsec,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  931. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  932. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  933. CreateWeld(dotseca,larm,dotseca,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  934. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  935. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  936. CreateWeld(dotsecb,larm,dotsecb,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  937.  
  938. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  939. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  940. CreateWeld(dotsec,larm,dotsec,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  941. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  942. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  943. CreateWeld(dotseca,larm,dotseca,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  944. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  945. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  946. CreateWeld(dotsecb,larm,dotsecb,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  947.  
  948. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  949. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  950. CreateWeld(dotsec,larm,dotsec,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  951. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  952. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  953. CreateWeld(dotseca,larm,dotseca,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  954. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  955. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  956. CreateWeld(dotsecb,larm,dotsecb,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  957.  
  958. -- S section B
  959.  
  960. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  961. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  962. CreateWeld(dotsec,larm,dotsec,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  963. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  964. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  965. CreateWeld(dotseca,larm,dotseca,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  966. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  967. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  968. CreateWeld(dotsecb,larm,dotsecb,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  969.  
  970. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  971. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  972. CreateWeld(dotsec,larm,dotsec,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  973. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  974. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  975. CreateWeld(dotseca,larm,dotseca,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  976. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  977. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  978. CreateWeld(dotsecb,larm,dotsecb,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  979.  
  980. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  981. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  982. CreateWeld(dotsec,larm,dotsec,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  983. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  984. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  985. CreateWeld(dotseca,larm,dotseca,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  986. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  987. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  988. CreateWeld(dotsecb,larm,dotsecb,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  989.  
  990. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  991. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  992. CreateWeld(dotsec,larm,dotsec,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  993. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  994. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  995. CreateWeld(dotseca,larm,dotseca,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  996. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  997. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  998. CreateWeld(dotsecb,larm,dotsecb,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  999.  
  1000. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1001. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1002. CreateWeld(dotsec,larm,dotsec,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1003. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1004. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1005. CreateWeld(dotseca,larm,dotseca,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1006. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1007. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1008. CreateWeld(dotsecb,larm,dotsecb,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1009.  
  1010. --- second ring
  1011.  
  1012. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1013. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1014. 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))
  1015. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1016. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1017. 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))
  1018. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1019. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1020. 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))
  1021.  
  1022. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1023. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1024. 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))
  1025.  
  1026. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1027. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1028. 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))
  1029.  
  1030.  
  1031.  
  1032. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1033. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1034. 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))
  1035.  
  1036. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1037. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1038. 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))
  1039.  
  1040. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1041. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1042. 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))
  1043.  
  1044. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1045. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1046. 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))
  1047. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1048. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1049. 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))
  1050.  
  1051. -- S section A
  1052.  
  1053. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1054. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1055. CreateWeld(dotsec,rarm,dotsec,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1056. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1057. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1058. CreateWeld(dotseca,rarm,dotseca,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1059. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1060. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1061. CreateWeld(dotsecb,rarm,dotsecb,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1062.  
  1063. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1064. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1065. CreateWeld(dotsec,rarm,dotsec,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1066. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1067. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1068. CreateWeld(dotseca,rarm,dotseca,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1069. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1070. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1071. CreateWeld(dotsecb,rarm,dotsecb,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1072.  
  1073. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1074. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1075. CreateWeld(dotsec,rarm,dotsec,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1076. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1077. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1078. CreateWeld(dotseca,rarm,dotseca,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1079. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1080. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1081. CreateWeld(dotsecb,rarm,dotsecb,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1082.  
  1083. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1084. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1085. CreateWeld(dotsec,rarm,dotsec,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1086. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1087. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1088. CreateWeld(dotseca,rarm,dotseca,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1089. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1090. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1091. CreateWeld(dotsecb,rarm,dotsecb,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1092.  
  1093. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1094. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1095. CreateWeld(dotsec,rarm,dotsec,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1096. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1097. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1098. CreateWeld(dotseca,rarm,dotseca,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1099. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1100. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1101. CreateWeld(dotsecb,rarm,dotsecb,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1102.  
  1103. -- S section B
  1104.  
  1105. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1106. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1107. CreateWeld(dotsec,rarm,dotsec,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1108. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1109. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1110. CreateWeld(dotseca,rarm,dotseca,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1111. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1112. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1113. CreateWeld(dotsecb,rarm,dotsecb,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1114.  
  1115. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1116. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1117. CreateWeld(dotsec,rarm,dotsec,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1118. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1119. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1120. CreateWeld(dotseca,rarm,dotseca,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1121. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1122. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1123. CreateWeld(dotsecb,rarm,dotsecb,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1124.  
  1125. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1126. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1127. CreateWeld(dotsec,rarm,dotsec,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1128. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1129. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1130. CreateWeld(dotseca,rarm,dotseca,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1131. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1132. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1133. CreateWeld(dotsecb,rarm,dotsecb,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1134.  
  1135. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1136. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1137. CreateWeld(dotsec,rarm,dotsec,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1138. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1139. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1140. CreateWeld(dotseca,rarm,dotseca,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1141. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1142. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1143. CreateWeld(dotsecb,rarm,dotsecb,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1144.  
  1145. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1146. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1147. CreateWeld(dotsec,rarm,dotsec,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1148. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1149. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1150. CreateWeld(dotseca,rarm,dotseca,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1151. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1152. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1153. CreateWeld(dotsecb,rarm,dotsecb,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]--
  1154.  
  1155.  
  1156. for i, v in pairs(m:GetChildren()) do
  1157. if v:IsA("Part") then
  1158. v.BrickColor = BrickColor.new("Really black")
  1159. v.Material = "Neon"
  1160. end
  1161. end
  1162. for i, v in pairs(m2:GetChildren()) do
  1163. if v:IsA("Part") then
  1164. v.BrickColor = BrickColor.new("Bright bluish green")
  1165. v.Material = "Granite"
  1166. end
  1167. end
  1168. for i, v in pairs(m3:GetChildren()) do
  1169. if v:IsA("Part") then
  1170. v.BrickColor = BrickColor.new("Really black")
  1171. v.Material = "Neon"
  1172. end
  1173. end
  1174. for i, v in pairs(mw2:GetChildren()) do
  1175. if v:IsA("Part") then
  1176. v.BrickColor = BrickColor.new("Really black")
  1177. v.Material = "Neon"
  1178. end
  1179. end
  1180. for i, v in pairs(mw1:GetChildren()) do
  1181. if v:IsA("Part") then
  1182. v.Transparency = 1
  1183. v.BrickColor = BrickColor.new("Really black")
  1184. v.Material = "Neon"
  1185. end
  1186. end
  1187. for i, v in pairs(extrawingmod1:GetChildren()) do
  1188. if v:IsA("Part") then
  1189. v.Transparency = 1
  1190. v.BrickColor = BrickColor.new("White")
  1191. v.Material = "Neon"
  1192. end
  1193. end
  1194. for i, v in pairs(extrawingmod2:GetChildren()) do
  1195. if v:IsA("Part") then
  1196. v.Transparency = 1
  1197. v.BrickColor = BrickColor.new("White")
  1198. v.Material = "Neon"
  1199. end
  1200. end
  1201. local MAINRUINCOLOR = BrickColor.new("Really black")
  1202. ------
  1203.  
  1204.  
  1205. function RemoveOutlines(part)
  1206. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1207. end
  1208. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1209. local Part = Create("Part")({
  1210. Parent = Parent,
  1211. Reflectance = Reflectance,
  1212. Transparency = Transparency,
  1213. CanCollide = false,
  1214. Locked = true,
  1215. BrickColor = BrickColor.new(tostring(BColor)),
  1216. Name = Name,
  1217. Size = Size,
  1218. Material = Material
  1219. })
  1220. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1221. RemoveOutlines(Part)
  1222. return Part
  1223. end
  1224. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1225. local Msh = Create(Mesh)({
  1226. Parent = Part,
  1227. Offset = OffSet,
  1228. Scale = Scale
  1229. })
  1230. if Mesh == "SpecialMesh" then
  1231. Msh.MeshType = MeshType
  1232. Msh.MeshId = MeshId
  1233. end
  1234. return Msh
  1235. end
  1236. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1237. local Weld = Create("Weld")({
  1238. Parent = Parent,
  1239. Part0 = Part0,
  1240. Part1 = Part1,
  1241. C0 = C0,
  1242. C1 = C1
  1243. })
  1244. return Weld
  1245. end
  1246.  
  1247. Player=game:GetService("Players").LocalPlayer
  1248. Character=Player.Character
  1249. PlayerGui=Player.PlayerGui
  1250. Backpack=Player.Backpack
  1251. Torso=Character.Torso
  1252. Head=Character.Head
  1253. Humanoid=Character:FindFirstChildOfClass'Humanoid'
  1254. m=Instance.new('Model',Character)
  1255. LeftArm=Character["Left Arm"]
  1256. LeftLeg=Character["Left Leg"]
  1257. RightArm=Character["Right Arm"]
  1258. RightLeg=Character["Right Leg"]
  1259. LS=Torso["Left Shoulder"]
  1260. LH=Torso["Left Hip"]
  1261. RS=Torso["Right Shoulder"]
  1262. RH=Torso["Right Hip"]
  1263. Face = Head.face
  1264. Neck=Torso.Neck
  1265. it=Instance.new
  1266. attacktype=1
  1267. vt=Vector3.new
  1268. cf=CFrame.new
  1269. euler=CFrame.fromEulerAnglesXYZ
  1270. angles=CFrame.Angles
  1271. cloaked=false
  1272. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1273. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1274. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1275. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1276. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1277. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1278. RootPart=Character.HumanoidRootPart
  1279. RootJoint=RootPart.RootJoint
  1280. RootCF=euler(-1.57,0,3.14)
  1281. attack = false
  1282. attackdebounce = false
  1283. deb=false
  1284. equipped=true
  1285. hand=false
  1286. MMouse=nil
  1287. combo=0
  1288. mana=0
  1289. trispeed=.2
  1290. attackmode='none'
  1291. local idle=0
  1292. local Anim="Idle"
  1293. local Effects={}
  1294. local gun=false
  1295. local shoot=false
  1296. local sine = 0
  1297. local change = 1
  1298. player=nil
  1299. pcall(function()char.LeftWing:destroy()end)
  1300. pcall(function()char.Halo:destroy()end)
  1301. local toggleTag = true
  1302. local txt = Instance.new("BillboardGui", Head)
  1303. txt.Adornee = nil
  1304. txt.Name = "NameDetect"
  1305. txt.Size = UDim2.new(4, 0, 1.2, 0)
  1306. txt.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  1307. local text = Instance.new("TextLabel", txt)
  1308. text.Size = UDim2.new(10/2, 0, 7/2, 0)
  1309. text.FontSize = "Size8"
  1310. text.TextScaled = true
  1311. text.TextTransparency = 0
  1312. text.BackgroundTransparency = 1
  1313. text.TextTransparency = 0
  1314. text.TextStrokeTransparency = 0
  1315. text.Font = "Fantasy"
  1316. text.TextStrokeColor3 = Color3.new(1,1,1)
  1317. text.TextColor3 = Color3.new(0,0,0)
  1318. text.Text = "Darkness"
  1319.  
  1320. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end)
  1321. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end)
  1322.  
  1323. function RecolorTextAndRename(name,col1,col2)
  1324. text.TextStrokeColor3 = col2
  1325. text.TextColor3 = col1
  1326. text.Text = name
  1327. end
  1328. mouse=Player:GetMouse()
  1329. --save shoulders
  1330. RSH, LSH=nil, nil
  1331. --welds
  1332. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1333. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1334. LH=Torso["Left Hip"]
  1335. RH=Torso["Right Hip"]
  1336. TorsoColor=Torso.BrickColor
  1337. function NoOutline(Part)
  1338. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1339. end
  1340. player=Player
  1341. ch=Character
  1342. RSH=ch.Torso["Right Shoulder"]
  1343. LSH=ch.Torso["Left Shoulder"]
  1344. --
  1345. RSH.Parent=nil
  1346. LSH.Parent=nil
  1347. --
  1348. RW.Name="Right Shoulder"
  1349. RW.Part0=ch.Torso
  1350. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1351. RW.C1=cf(0, 0.5, 0)
  1352. RW.Part1=ch["Right Arm"]
  1353. RW.Parent=ch.Torso
  1354. --
  1355. LW.Name="Left Shoulder"
  1356. LW.Part0=ch.Torso
  1357. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1358. LW.C1=cf(0, 0.5, 0)
  1359. LW.Part1=ch["Left Arm"]
  1360. LW.Parent=ch.Torso
  1361.  
  1362. local Stats=Instance.new("BoolValue")
  1363. Stats.Name="Stats"
  1364. Stats.Parent=Character
  1365. local Atk=Instance.new("NumberValue")
  1366. Atk.Name="Damage"
  1367. Atk.Parent=Stats
  1368. Atk.Value=1
  1369. local Def=Instance.new("NumberValue")
  1370. Def.Name="Defense"
  1371. Def.Parent=Stats
  1372. Def.Value=1
  1373. local Speed=Instance.new("NumberValue")
  1374. Speed.Name="Speed"
  1375. Speed.Parent=Stats
  1376. Speed.Value=1
  1377. local Mvmt=Instance.new("NumberValue")
  1378. Mvmt.Name="Movement"
  1379. Mvmt.Parent=Stats
  1380. Mvmt.Value=1
  1381.  
  1382. local donum=0
  1383.  
  1384.  
  1385. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1386. local fp=it("Part")
  1387. fp.formFactor=formfactor
  1388. fp.Parent=parent
  1389. fp.Reflectance=reflectance
  1390. fp.Transparency=transparency
  1391. fp.CanCollide=false
  1392. fp.Locked=true
  1393. fp.BrickColor=brickcolor
  1394. fp.Name=name
  1395. fp.Size=size
  1396. fp.Position=Torso.Position
  1397. NoOutline(fp)
  1398. fp.Material="SmoothPlastic"
  1399. fp:BreakJoints()
  1400. return fp
  1401. end
  1402.  
  1403. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1404. local mesh=it(Mesh)
  1405. mesh.Parent=part
  1406. if Mesh=="SpecialMesh" then
  1407. mesh.MeshType=meshtype
  1408. if meshid~="nil" then
  1409. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1410. end
  1411. end
  1412. mesh.Offset=offset
  1413. mesh.Scale=scale
  1414. return mesh
  1415. end
  1416.  
  1417. function weld(parent,part0,part1,c0)
  1418. local weld=it("Weld")
  1419. weld.Parent=parent
  1420. weld.Part0=part0
  1421. weld.Part1=part1
  1422. weld.C0=c0
  1423. return weld
  1424. end
  1425.  
  1426. local Color1=Torso.BrickColor
  1427.  
  1428. local bodvel=Instance.new("BodyVelocity")
  1429. local bg=Instance.new("BodyGyro")
  1430.  
  1431. --// Artificial HB \\--
  1432.  
  1433. local ArtificialHB = Instance.new("BindableEvent", script)
  1434. ArtificialHB.Name = "Heartbeat"
  1435.  
  1436. script:WaitForChild("Heartbeat")
  1437.  
  1438. local tf = 0
  1439. local allowframeloss = false
  1440. local tossremainder = false
  1441. local lastframe = tick()
  1442. local frame = 1/60
  1443. ArtificialHB:Fire()
  1444.  
  1445. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1446. tf = tf + s
  1447. if tf >= frame then
  1448. if allowframeloss then
  1449. script.Heartbeat:Fire()
  1450. lastframe = tick()
  1451. else
  1452. for i = 1, math.floor(tf / frame) do
  1453. ArtificialHB:Fire()
  1454. end
  1455. lastframe = tick()
  1456. end
  1457. if tossremainder then
  1458. tf = 0
  1459. else
  1460. tf = tf - frame * math.floor(tf / frame)
  1461. end
  1462. end
  1463. end)
  1464.  
  1465. function swait(num)
  1466. if num == 0 or num == nil then
  1467. ArtificialHB.Event:wait()
  1468. else
  1469. for i = 0, num do
  1470. ArtificialHB.Event:wait()
  1471. end
  1472. end
  1473. end
  1474.  
  1475. -------- RAINBOW LEAVE IT TO ME
  1476. local r = 255
  1477. local g = 0
  1478. local b = 0
  1479. coroutine.resume(coroutine.create(function()
  1480. while wait() do
  1481. for i = 0, 254/5 do
  1482. swait()
  1483. g = g + 5
  1484. end
  1485. for i = 0, 254/5 do
  1486. swait()
  1487. r = r - 5
  1488. end
  1489. for i = 0, 254/5 do
  1490. swait()
  1491. b = b + 5
  1492. end
  1493. for i = 0, 254/5 do
  1494. swait()
  1495. g = g - 5
  1496. end
  1497. for i = 0, 254/5 do
  1498. swait()
  1499. r = r + 5
  1500. end
  1501. for i = 0, 254/5 do
  1502. swait()
  1503. b = b - 5
  1504. end
  1505. end
  1506. end))
  1507.  
  1508.  
  1509. so = function(id,par,vol,pit)
  1510. coroutine.resume(coroutine.create(function()
  1511. local sou = Instance.new("Sound",par or workspace)
  1512. sou.Volume=vol
  1513. sou.Pitch=pit or 1
  1514. sou.SoundId=id
  1515. swait()
  1516. sou:play()
  1517. game:GetService("Debris"):AddItem(sou,6)
  1518. end))
  1519. end
  1520.  
  1521. function clerp(a,b,t)
  1522. return a:lerp(b,t)
  1523. end
  1524.  
  1525. local function CFrameFromTopBack(at, top, back)
  1526. local right = top:Cross(back)
  1527. return CFrame.new(at.x, at.y, at.z,
  1528. right.x, top.x, back.x,
  1529. right.y, top.y, back.y,
  1530. right.z, top.z, back.z)
  1531. end
  1532.  
  1533. function Triangle(a, b, c)
  1534. local edg1 = (c-a):Dot((b-a).unit)
  1535. local edg2 = (a-b):Dot((c-b).unit)
  1536. local edg3 = (b-c):Dot((a-c).unit)
  1537. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1538. a, b, c = a, b, c
  1539. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1540. a, b, c = b, c, a
  1541. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1542. a, b, c = c, a, b
  1543. else
  1544. assert(false, "unreachable")
  1545. end
  1546.  
  1547. local len1 = (c-a):Dot((b-a).unit)
  1548. local len2 = (b-a).magnitude - len1
  1549. local width = (a + (b-a).unit*len1 - c).magnitude
  1550.  
  1551. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1552.  
  1553. local list = {}
  1554.  
  1555. if len1 > 0.01 then
  1556. local w1 = Instance.new('WedgePart', m)
  1557. game:GetService("Debris"):AddItem(w1,5)
  1558. w1.Material = "SmoothPlastic"
  1559. w1.FormFactor = 'Custom'
  1560. w1.BrickColor = BrickColor.new("Really black")
  1561. w1.Transparency = 0
  1562. w1.Reflectance = 0
  1563. w1.Material = "SmoothPlastic"
  1564. w1.CanCollide = false
  1565. local l1 = Instance.new("PointLight",w1)
  1566. l1.Color = Color3.new(170,0,0)
  1567. NoOutline(w1)
  1568. local sz = Vector3.new(0.2, width, len1)
  1569. w1.Size = sz
  1570. local sp = Instance.new("SpecialMesh",w1)
  1571. sp.MeshType = "Wedge"
  1572. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1573. w1:BreakJoints()
  1574. w1.Anchored = true
  1575. w1.Parent = workspace
  1576. w1.Transparency = 0.7
  1577. table.insert(Effects,{w1,"Disappear",.01})
  1578. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1579. table.insert(list,w1)
  1580. end
  1581.  
  1582. if len2 > 0.01 then
  1583. local w2 = Instance.new('WedgePart', m)
  1584. game:GetService("Debris"):AddItem(w2,5)
  1585. w2.Material = "SmoothPlastic"
  1586. w2.FormFactor = 'Custom'
  1587. w2.BrickColor = BrickColor.new("Really black")
  1588. w2.Transparency = 0
  1589. w2.Reflectance = 0
  1590. w2.Material = "SmoothPlastic"
  1591. w2.CanCollide = false
  1592. local l2 = Instance.new("PointLight",w2)
  1593. l2.Color = Color3.new(170,0,0)
  1594. NoOutline(w2)
  1595. local sz = Vector3.new(0.2, width, len2)
  1596. w2.Size = sz
  1597. local sp = Instance.new("SpecialMesh",w2)
  1598. sp.MeshType = "Wedge"
  1599. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1600. w2:BreakJoints()
  1601. w2.Anchored = true
  1602. w2.Parent = workspace
  1603. w2.Transparency = 0.7
  1604. table.insert(Effects,{w2,"Disappear",.01})
  1605. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1606. table.insert(list,w2)
  1607. end
  1608. return unpack(list)
  1609. end
  1610.  
  1611.  
  1612. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1613. if hit.Parent == nil then
  1614. return
  1615. end
  1616. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1617. for _, v in pairs(hit.Parent:children()) do
  1618. if v:IsA("Humanoid") then
  1619. h = v
  1620. end
  1621. end
  1622. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1623. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1624. return
  1625. end
  1626. local c = Create("ObjectValue")({
  1627. Name = "creator",
  1628. Value = game:service("Players").LocalPlayer,
  1629. Parent = h
  1630. })
  1631. game:GetService("Debris"):AddItem(c, 0.5)
  1632. if HitSound ~= nil and HitPitch ~= nil then
  1633. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1634. end
  1635. local Damage = math.random(minim, maxim)
  1636. local blocked = false
  1637. local block = hit.Parent:findFirstChild("Block")
  1638. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1639. blocked = true
  1640. block.Value = block.Value - 1
  1641. print(block.Value)
  1642. end
  1643. if blocked == false then
  1644. HitHealth = h.Health
  1645. h.Health = h.Health - Damage
  1646. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1647. print("gained kill")
  1648. end
  1649. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1650. else
  1651. h.Health = h.Health - Damage / 2
  1652. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1653. end
  1654. if Type == "Knockdown" then
  1655. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1656. hum.PlatformStand = true
  1657. coroutine.resume(coroutine.create(function(HHumanoid)
  1658. swait(1)
  1659. HHumanoid.PlatformStand = false
  1660. end), hum)
  1661. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1662. local bodvol = Create("BodyVelocity")({
  1663. velocity = angle * knockback,
  1664. P = 5000,
  1665. maxForce = Vector3.new(8000, 8000, 8000),
  1666. Parent = hit
  1667. })
  1668. local rl = Create("BodyAngularVelocity")({
  1669. P = 3000,
  1670. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1671. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1672. Parent = hit
  1673. })
  1674. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1675. game:GetService("Debris"):AddItem(rl, 0.5)
  1676. elseif Type == "Normal" then
  1677. local vp = Create("BodyVelocity")({
  1678. P = 500,
  1679. maxForce = Vector3.new(math.huge, 0, math.huge),
  1680. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1681. })
  1682. if knockback > 0 then
  1683. vp.Parent = hit.Parent.Head
  1684. end
  1685. game:GetService("Debris"):AddItem(vp, 0.5)
  1686. elseif Type == "Up" then
  1687. local bodyVelocity = Create("BodyVelocity")({
  1688. velocity = Vector3.new(0, 20, 0),
  1689. P = 5000,
  1690. maxForce = Vector3.new(8000, 8000, 8000),
  1691. Parent = hit
  1692. })
  1693. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1694. local bodyVelocity = Create("BodyVelocity")({
  1695. velocity = Vector3.new(0, 20, 0),
  1696. P = 5000,
  1697. maxForce = Vector3.new(8000, 8000, 8000),
  1698. Parent = hit
  1699. })
  1700. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1701. elseif Type == "Leech" then
  1702. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1703. if hum ~= nil then
  1704. for i = 0, 2 do
  1705. 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)
  1706. end
  1707. Humanoid.Health = Humanoid.Health + 10
  1708. end
  1709. elseif Type == "UpKnock" then
  1710. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1711. hum.PlatformStand = true
  1712. if hum ~= nil then
  1713. hitr = true
  1714. end
  1715. coroutine.resume(coroutine.create(function(HHumanoid)
  1716. swait(5)
  1717. HHumanoid.PlatformStand = false
  1718. hitr = false
  1719. end), hum)
  1720. local bodyVelocity = Create("BodyVelocity")({
  1721. velocity = Vector3.new(0, 20, 0),
  1722. P = 5000,
  1723. maxForce = Vector3.new(8000, 8000, 8000),
  1724. Parent = hit
  1725. })
  1726. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1727. local bodyVelocity = Create("BodyVelocity")({
  1728. velocity = Vector3.new(0, 20, 0),
  1729. P = 5000,
  1730. maxForce = Vector3.new(8000, 8000, 8000),
  1731. Parent = hit
  1732. })
  1733. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1734. elseif Type == "Snare" then
  1735. local bp = Create("BodyPosition")({
  1736. P = 2000,
  1737. D = 100,
  1738. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1739. position = hit.Parent.Torso.Position,
  1740. Parent = hit.Parent.Torso
  1741. })
  1742. game:GetService("Debris"):AddItem(bp, 1)
  1743. elseif Type == "Slashnare" then
  1744. 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)
  1745. for i = 1, math.random(4, 5) do
  1746. 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)
  1747. end
  1748. local bp = Create("BodyPosition")({
  1749. P = 2000,
  1750. D = 100,
  1751. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1752. position = hit.Parent.Torso.Position,
  1753. Parent = hit.Parent.Torso
  1754. })
  1755. game:GetService("Debris"):AddItem(bp, 1)
  1756. elseif Type == "Spike" then
  1757. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1758. local bp = Create("BodyPosition")({
  1759. P = 2000,
  1760. D = 100,
  1761. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1762. position = hit.Parent.Torso.Position,
  1763. Parent = hit.Parent.Torso
  1764. })
  1765. game:GetService("Debris"):AddItem(bp, 1)
  1766. elseif Type == "Freeze" then
  1767. local BodPos = Create("BodyPosition")({
  1768. P = 50000,
  1769. D = 1000,
  1770. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1771. position = hit.Parent.Torso.Position,
  1772. Parent = hit.Parent.Torso
  1773. })
  1774. local BodGy = Create("BodyGyro")({
  1775. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1776. P = 20000,
  1777. Parent = hit.Parent.Torso,
  1778. cframe = hit.Parent.Torso.CFrame
  1779. })
  1780. hit.Parent.Torso.Anchored = true
  1781. coroutine.resume(coroutine.create(function(Part)
  1782. swait(1.5)
  1783. Part.Anchored = false
  1784. end), hit.Parent.Torso)
  1785. game:GetService("Debris"):AddItem(BodPos, 3)
  1786. game:GetService("Debris"):AddItem(BodGy, 3)
  1787. end
  1788. local debounce = Create("BoolValue")({
  1789. Name = "DebounceHit",
  1790. Parent = hit.Parent,
  1791. Value = true
  1792. })
  1793. game:GetService("Debris"):AddItem(debounce, Delay)
  1794. c = Instance.new("ObjectValue")
  1795. c.Name = "creator"
  1796. c.Value = Player
  1797. c.Parent = h
  1798. game:GetService("Debris"):AddItem(c, 0.5)
  1799. end
  1800. end
  1801. function ShowDamage(Pos, Text, Time, Color)
  1802. local Rate = 0.03333333333333333
  1803. local Pos = Pos or Vector3.new(0, 0, 0)
  1804. local Text = Text or ""
  1805. local Time = Time or 2
  1806. local Color = Color or Color3.new(1, 0, 1)
  1807. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1808. EffectPart.Anchored = true
  1809. local BillboardGui = Create("BillboardGui")({
  1810. Size = UDim2.new(3, 0, 3, 0),
  1811. Adornee = EffectPart,
  1812. Parent = EffectPart
  1813. })
  1814. local TextLabel = Create("TextLabel")({
  1815. BackgroundTransparency = 1,
  1816. Size = UDim2.new(1, 0, 1, 0),
  1817. Text = Text,
  1818. TextColor3 = Color,
  1819. TextScaled = true,
  1820. Font = Enum.Font.ArialBold,
  1821. Parent = BillboardGui
  1822. })
  1823. game.Debris:AddItem(EffectPart, Time + 0.1)
  1824. EffectPart.Parent = game:GetService("Workspace")
  1825. delay(0, function()
  1826. local Frames = Time / Rate
  1827. for Frame = 1, Frames do
  1828. wait(Rate)
  1829. local Percent = Frame / Frames
  1830. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1831. TextLabel.TextTransparency = Percent
  1832. end
  1833. if EffectPart and EffectPart.Parent then
  1834. EffectPart:Destroy()
  1835. end
  1836. end)
  1837. end
  1838. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1839. for _, c in pairs(workspace:children()) do
  1840. local hum = c:findFirstChildOfClass("Humanoid")
  1841. if hum ~= nil then
  1842. local head = c:findFirstChild("Head")
  1843. if head ~= nil then
  1844. local targ = head.Position - Part.Position
  1845. local mag = targ.magnitude
  1846. if magni >= mag and c.Name ~= Player.Name then
  1847. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1848. end
  1849. end
  1850. end
  1851. end
  1852. end
  1853.  
  1854. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1855. for _, c in pairs(workspace:children()) do
  1856. local hum = c:findFirstChild("Humanoid")
  1857. if hum ~= nil then
  1858. local head = c:findFirstChild("Torso")
  1859. if head ~= nil then
  1860. local targ = head.Position - Part.Position
  1861. local mag = targ.magnitude
  1862. if magni >= mag and c.Name ~= Player.Name then
  1863. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  1864. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1865. end
  1866. end
  1867. end
  1868. end
  1869. end
  1870.  
  1871. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1872. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1873. end
  1874.  
  1875. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1876. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1877. prt.Anchored=true
  1878. prt.CFrame=cframe
  1879. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1880. --http://www.roblox.com/asset/?id=4770560
  1881. game:GetService("Debris"):AddItem(prt,2)
  1882. CF=prt.CFrame
  1883. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1884. for i=0,1,0.2 do
  1885. wait()
  1886. Part.CFrame=CF*cf(0,0,-0.4)
  1887. end
  1888. for i=0,1,delay do
  1889. wait()
  1890. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  1891. Mesh.Scale=Mesh.Scale
  1892. end
  1893. for i=0,1,0.1 do
  1894. wait()
  1895. Part.Transparency=i
  1896. end
  1897. Part.Parent=nil
  1898. end),prt,msh,CF)
  1899. end
  1900.  
  1901. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1902. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1903. prt.Anchored=true
  1904. prt.Material = "Neon"
  1905. prt.CFrame=cframe
  1906. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1907. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1908. game:GetService("Debris"):AddItem(prt,5)
  1909. coroutine.resume(coroutine.create(function(Part,Mesh)
  1910. for i=0,1,delay do
  1911. swait()
  1912. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1913. Part.Transparency=i
  1914. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1915. end
  1916. Part.Parent=nil
  1917. end),prt,msh)
  1918. end
  1919.  
  1920. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1921. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1922. prt.Anchored=true
  1923. prt.Material = "Neon"
  1924. prt.CFrame=cframe
  1925. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1926. game:GetService("Debris"):AddItem(prt,5)
  1927. coroutine.resume(coroutine.create(function(Part,Mesh)
  1928. local rtype = rottype
  1929. for i=0,1,delay do
  1930. swait()
  1931. if rtype == 1 then
  1932. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1933. elseif rtype == 2 then
  1934. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1935. end
  1936. Part.Transparency=i
  1937. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1938. end
  1939. Part.Parent=nil
  1940. end),prt,msh)
  1941. end
  1942.  
  1943. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1944. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1945. prt.Anchored=true
  1946. prt.CFrame=cframe
  1947. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1948. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1949. game:GetService("Debris"):AddItem(prt,5)
  1950. coroutine.resume(coroutine.create(function(Part,Mesh)
  1951. for i=0,1,delay do
  1952. wait()
  1953. Part.Transparency=i
  1954. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1955. end
  1956. Part.Parent=nil
  1957. end),prt,msh)
  1958. end
  1959.  
  1960. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1961. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1962. prt.Anchored=true
  1963. prt.Material = "Neon"
  1964. prt.CFrame=cframe
  1965. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1966. game:GetService("Debris"):AddItem(prt,5)
  1967. coroutine.resume(coroutine.create(function(Part,Mesh)
  1968. local rtype = rottype
  1969. for i=0,1,delay do
  1970. swait()
  1971. if rtype == 1 then
  1972. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1973. elseif rtype == 2 then
  1974. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1975. end
  1976. Part.Transparency=i
  1977. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1978. end
  1979. Part.Parent=nil
  1980. end),prt,msh)
  1981. end
  1982.  
  1983. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1984. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1985. prt.Anchored=true
  1986. prt.Material = "Neon"
  1987. prt.CFrame=cframe
  1988. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1989. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1990. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1991. game:GetService("Debris"):AddItem(prt,5)
  1992. coroutine.resume(coroutine.create(function(Part,Mesh)
  1993. local rtype = rottype
  1994. for i=0,1,delay do
  1995. swait()
  1996. if rtype == 1 then
  1997. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1998. elseif rtype == 2 then
  1999. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2000. end
  2001. dec.Transparency=i
  2002. dec2.Transparency=i
  2003. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2004. end
  2005. Part.Parent=nil
  2006. end),prt,msh)
  2007. end
  2008.  
  2009. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2010. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2011. prt.Anchored=true
  2012. prt.Material = "Neon"
  2013. prt.CFrame=cframe
  2014. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2015. game:GetService("Debris"):AddItem(prt,5)
  2016. coroutine.resume(coroutine.create(function(Part,Mesh)
  2017. local rtype = rottype
  2018. for i=0,1,delay do
  2019. swait()
  2020. if rtype == 1 then
  2021. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2022. elseif rtype == 2 then
  2023. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2024. end
  2025. prt.Transparency=i
  2026. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2027. end
  2028. Part.Parent=nil
  2029. end),prt,msh)
  2030. end
  2031.  
  2032. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2033. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2034. prt.Anchored=true
  2035. prt.Material = "Neon"
  2036. prt.CFrame=cframe
  2037. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2038. game:GetService("Debris"):AddItem(prt,5)
  2039. coroutine.resume(coroutine.create(function(Part,Mesh)
  2040. local rtype = rottype
  2041. for i=0,1,delay do
  2042. swait()
  2043. if rtype == 1 then
  2044. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2045. elseif rtype == 2 then
  2046. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2047. end
  2048. prt.Transparency=i
  2049. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2050. end
  2051. Part.Parent=nil
  2052. end),prt,msh)
  2053. end
  2054.  
  2055. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2056. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2057. prt.Anchored=true
  2058. prt.Material = "Neon"
  2059. prt.CFrame=cframe
  2060. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2061. game:GetService("Debris"):AddItem(prt,5)
  2062. coroutine.resume(coroutine.create(function(Part,Mesh)
  2063. local rtype = rottype
  2064. for i=0,1,delay do
  2065. swait()
  2066. if rtype == 1 then
  2067. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2068. elseif rtype == 2 then
  2069. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2070. end
  2071. prt.Transparency=i
  2072. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2073. end
  2074. Part.Parent=nil
  2075. end),prt,msh)
  2076. end
  2077.  
  2078. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2079. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2080. prt.Anchored=true
  2081. prt.Material = "Neon"
  2082. prt.CFrame=cframe
  2083. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2084. game:GetService("Debris"):AddItem(prt,5)
  2085. coroutine.resume(coroutine.create(function(Part,Mesh)
  2086. local rtype = rottype
  2087. for i=0,1,delay do
  2088. swait()
  2089. if rtype == 1 then
  2090. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2091. elseif rtype == 2 then
  2092. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2093. end
  2094. prt.Transparency=i
  2095. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2096. end
  2097. Part.Parent=nil
  2098. end),prt,msh)
  2099. end
  2100.  
  2101. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2102. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2103. prt.Anchored=false
  2104. prt.CFrame=cframe
  2105. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2106. local wld=weld(prt,prt,Parent,cframe)
  2107. game:GetService("Debris"):AddItem(prt,5)
  2108. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2109. for i=0,1,delay do
  2110. wait()
  2111. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2112. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2113. Part.Transparency=i
  2114. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2115. end
  2116. Part.Parent=nil
  2117. end),prt,msh,wld)
  2118. end
  2119.  
  2120. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2121. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2122. prt.Anchored=false
  2123. prt.CFrame=cframe
  2124. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2125. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2126. game:GetService("Debris"):AddItem(prt,5)
  2127. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2128. for i=0,1,delay do
  2129. wait()
  2130. Weld.C0=euler(i*20,0,0)
  2131. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2132. Part.Transparency=i
  2133. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2134. end
  2135. Part.Parent=nil
  2136. end),prt,msh,wld)
  2137. end
  2138.  
  2139. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2140. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2141. prt.Anchored=true
  2142. prt.CFrame=cframe
  2143. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2144. game:GetService("Debris"):AddItem(prt,2)
  2145. coroutine.resume(coroutine.create(function(Part,Mesh)
  2146. for i=0,1,delay do
  2147. wait()
  2148. Part.CFrame=Part.CFrame
  2149. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2150. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2151. prt2.Anchored=true
  2152. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2153. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2154. game:GetService("Debris"):AddItem(prt2,2)
  2155. coroutine.resume(coroutine.create(function(Part,Mesh)
  2156. for i=0,1,0.1 do
  2157. wait()
  2158. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2159. end
  2160. Part.Parent=nil
  2161. end),prt2,msh2)
  2162. end
  2163. for i=0,1,delay*2 do
  2164. wait()
  2165. Part.CFrame=Part.CFrame
  2166. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2167. end
  2168. Part.Parent=nil
  2169. end),prt,msh)
  2170. end
  2171.  
  2172. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2173. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2174. prt.Anchored=true
  2175. prt.CFrame=cframe
  2176. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2177. game:GetService("Debris"):AddItem(prt,2)
  2178. coroutine.resume(coroutine.create(function(Part,Mesh)
  2179. for i=0,1,delay do
  2180. wait()
  2181. Part.CFrame=Part.CFrame
  2182. Part.Transparency=i
  2183. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2184. end
  2185. Part.Parent=nil
  2186. end),prt,msh)
  2187. end
  2188.  
  2189. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2190. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2191. prt.Anchored=true
  2192. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2193. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2194. game:GetService("Debris"):AddItem(prt,2)
  2195. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2196. CF=Part.CFrame
  2197. Numbb=0
  2198. randnumb=math.random()/10
  2199. rand1=math.random()/10
  2200. for i=0,1,rand1 do
  2201. wait()
  2202. CF=CF*cf(0,math.random()/2,0)
  2203. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2204. Part.CFrame=CF*euler(Numbb,0,0)
  2205. Part.Transparency=i
  2206. Numbb=Numbb+randnumb
  2207. end
  2208. Part.Parent=nil
  2209. end),prt,CF,Numbb,randnumb)
  2210. end
  2211.  
  2212. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2213. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2214. prt.Anchored=true
  2215. prt.CFrame=cframe
  2216. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2217. game:GetService("Debris"):AddItem(prt,5)
  2218. coroutine.resume(coroutine.create(function(Part,Mesh)
  2219. for i=0,1,delay do
  2220. wait()
  2221. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2222. Part.Transparency=i
  2223. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2224. end
  2225. Part.Parent=nil
  2226. end),prt,msh)
  2227. end
  2228.  
  2229. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2230. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2231. prt.Anchored=true
  2232. prt.CFrame=cframe
  2233. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2234. game:GetService("Debris"):AddItem(prt,2)
  2235. coroutine.resume(coroutine.create(function(Part,Mesh)
  2236. for i=0,1,delay do
  2237. wait()
  2238. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2239. Part.Transparency=i
  2240. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2241. end
  2242. Part.Parent=nil
  2243. end),prt,msh)
  2244. end
  2245.  
  2246. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2247. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2248. prt.Anchored=true
  2249. prt.CFrame=cframe*cf(x,y,z)
  2250. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2251. game:GetService("Debris"):AddItem(prt,5)
  2252. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2253. local num=math.random()
  2254. local num2=math.random(-3,2)+math.random()
  2255. local numm=0
  2256. for i=0,1,delay*2 do
  2257. swait()
  2258. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2259. Part.Transparency=i
  2260. numm=numm+0.01
  2261. end
  2262. Part.Parent=nil
  2263. Mesh.Parent=nil
  2264. end),prt,msh,x,y,z)
  2265. end
  2266.  
  2267. function dmgstart(dmg,what)
  2268. hitcon = what.Touched:connect(function(hit)
  2269. local hum = hit.Parent:FindFirstChild("Humanoid")
  2270. if hum and not hum:IsDescendantOf(Character) then
  2271. hum:TakeDamage(dmg)
  2272. end
  2273. end)
  2274. end
  2275.  
  2276. function dmgstop()
  2277. hitcon:disconnect()
  2278. end
  2279.  
  2280. function Cloak()
  2281. Face.Parent=nil
  2282. cloaked=true
  2283. for _,v in pairs(Torso.Parent:children()) do
  2284. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2285. coroutine.resume(coroutine.create(function()
  2286. for i=0,1,0.2 do
  2287. wait()
  2288. v.Transparency=i
  2289. end
  2290. v.Transparency=1
  2291. end))
  2292. end
  2293. if v.className=="Hat" then
  2294. hatp=v.Handle
  2295. coroutine.resume(coroutine.create(function(derp)
  2296. for i=0,1,0.2 do
  2297. wait()
  2298. derp.Transparency=i
  2299. end
  2300. derp.Transparency=1
  2301. end),hatp)
  2302. end
  2303. end
  2304. for _,v in pairs(m:children()) do
  2305. if v.className=="Part" then
  2306. coroutine.resume(coroutine.create(function()
  2307. for i=0,1,0.2 do
  2308. wait()
  2309. v.Transparency=i
  2310. end
  2311. v.Transparency=1
  2312. end))
  2313. end
  2314. end
  2315. end
  2316.  
  2317. function UnCloak()
  2318. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2319. Face.Parent=Head
  2320. cloaked=false
  2321. for _,v in pairs(Torso.Parent:children()) do
  2322. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2323. coroutine.resume(coroutine.create(function()
  2324. for i=0,1,0.1 do
  2325. wait()
  2326. v.Transparency=v.Transparency-0.1
  2327. end
  2328. v.Transparency=0
  2329. end))
  2330. end
  2331. if v.className=="Hat" then
  2332. hatp=v.Handle
  2333. coroutine.resume(coroutine.create(function(derp)
  2334. for i=0,1,0.1 do
  2335. wait()
  2336. derp.Transparency=derp.Transparency-0.1
  2337. end
  2338. derp.Transparency=0
  2339. end),hatp)
  2340. end
  2341. end
  2342. for _,v in pairs(m:children()) do
  2343. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2344. coroutine.resume(coroutine.create(function()
  2345. for i=0,1,0.1 do
  2346. wait()
  2347. v.Transparency=v.Transparency-0.1
  2348. end
  2349. v.Transparency=0
  2350. end))
  2351. v.Transparency=0
  2352. end
  2353. end
  2354. end
  2355.  
  2356. local origcolor = BrickColor.new("Really black")
  2357. ---- This section of explosions.
  2358. function Explode(rad,par,pitch,vol,mindam,maxdam)
  2359. local expart = Instance.new("Part",char)
  2360. local expart2 = Instance.new("Part",char)
  2361. local rin = Instance.new("Part",char)
  2362. local rin2 = Instance.new("Part",char)
  2363. local partMesh = Instance.new("SpecialMesh",expart)
  2364. partMesh.MeshType = "Sphere"
  2365. local partMesh2 = Instance.new("SpecialMesh",expart2)
  2366. partMesh2.MeshType = "Sphere"
  2367. local partMesh3 = Instance.new("SpecialMesh",rin)
  2368. partMesh3.MeshType = "Brick"
  2369. local partMesh4 = Instance.new("SpecialMesh",rin2)
  2370. partMesh4.MeshType = "Brick"
  2371. CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
  2372. partMesh.Scale = vt(rad,rad,rad)
  2373. expart.Size = vt(1,1,1)
  2374. expart.Transparency = 0
  2375. expart.Anchored = true
  2376. expart.Material = "Neon"
  2377. expart.BrickColor = bc("White")
  2378. expart.CFrame = par.CFrame
  2379. partMesh2.Scale = vt(rad,rad,rad)
  2380. expart2.Size = vt(1.15,1.15,1.15)
  2381. expart2.Transparency = 0.5
  2382. expart2.Anchored = true
  2383. expart2.Material = "Neon"
  2384. expart2.BrickColor = par.BrickColor
  2385. expart2.CFrame = par.CFrame
  2386. rin.Size = vt(1.15,1.15,1.15)
  2387. rin.Transparency = 1
  2388. rin.Anchored = true
  2389. rin.Material = "Neon"
  2390. rin.BrickColor = par.BrickColor
  2391. rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2392. rin2.Size = vt(1.15,1.15,1.15)
  2393. rin2.Transparency = 1
  2394. rin2.Anchored = true
  2395. rin2.Material = "Neon"
  2396. rin2.BrickColor = par.BrickColor
  2397. rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2398. partMesh3.Scale = vt(0,1,0)
  2399. partMesh4.Scale = vt(0,1,0)
  2400. local dec2 = Instance.new("Decal", rin)
  2401. dec2.Face = "Top"
  2402. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  2403. dec2.Parent = rin
  2404. local dec2b = dec2:Clone()
  2405. dec2b.Face = "Bottom"
  2406. dec2b.Parent = rin
  2407.  
  2408. local dec2a = Instance.new("Decal", rin2)
  2409. dec2a.Face = "Top"
  2410. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  2411. dec2a.Parent = rin2
  2412. local dec2ab = dec2a:Clone()
  2413. dec2ab.Face = "Bottom"
  2414. dec2ab.Parent = rin2
  2415. expart.CanCollide = false
  2416. expart2.CanCollide = false
  2417. rin.CanCollide = false
  2418. rin2.CanCollide = false
  2419. MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal")
  2420. local value = 1*rad/6.5
  2421. for i = 0, 199 do
  2422. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2423. expart.CFrame = expart.CFrame
  2424. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2425. expart2.CFrame = expart.CFrame
  2426. value = value - 0.035*rad/30
  2427. if value < 7.5 then
  2428. partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
  2429. rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0)
  2430. partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
  2431. rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0)
  2432. end
  2433. if value < 0 then
  2434. dec2.Transparency = dec2.Transparency + 0.025
  2435. dec2a.Transparency = dec2a.Transparency + 0.025
  2436. dec2b.Transparency = dec2b.Transparency + 0.025
  2437. dec2ab.Transparency = dec2ab.Transparency + 0.025
  2438. expart.Transparency = expart.Transparency + 0.025
  2439. expart2.Transparency = expart2.Transparency + 0.025
  2440. rin.Transparency = rin.Transparency + 0.025
  2441. rin2.Transparency = rin2.Transparency + 0.025
  2442. end
  2443. swait()
  2444. end
  2445. game:GetService("Debris"):AddItem(expart, 1)
  2446. game:GetService("Debris"):AddItem(expart2, 1)
  2447. game:GetService("Debris"):AddItem(rin, 1)
  2448. game:GetService("Debris"):AddItem(rin2, 1)
  2449. end
  2450.  
  2451. function ExplodeShort(rad,par,pitch,vol,mindam,maxdam)
  2452. local expart = Instance.new("Part",char)
  2453. local expart2 = Instance.new("Part",char)
  2454. local partMesh = Instance.new("SpecialMesh",expart)
  2455. partMesh.MeshType = "Sphere"
  2456. local partMesh2 = Instance.new("SpecialMesh",expart2)
  2457. partMesh2.MeshType = "Sphere"
  2458. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
  2459. partMesh.Scale = vt(rad,rad,rad)
  2460. expart.Size = vt(1,1,1)
  2461. expart.Transparency = 0
  2462. expart.Anchored = true
  2463. expart.Material = "Neon"
  2464. expart.BrickColor = bc("White")
  2465. expart.CFrame = par.CFrame
  2466. partMesh2.Scale = vt(rad,rad,rad)
  2467. expart2.Size = vt(1.15,1.15,1.15)
  2468. expart2.Transparency = 0.5
  2469. expart2.Anchored = true
  2470. expart2.Material = "Neon"
  2471. expart2.BrickColor = par.BrickColor
  2472. expart2.CFrame = par.CFrame
  2473. expart.CanCollide = false
  2474. expart2.CanCollide = false
  2475. MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal")
  2476. local value = 1*rad/6.5
  2477. for i = 0, 75 do
  2478. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2479. expart.CFrame = expart.CFrame
  2480. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2481. expart2.CFrame = expart.CFrame
  2482. value = value - 0.035*rad/5
  2483. if value < 0 then
  2484. value = 0
  2485. expart.Transparency = expart.Transparency + 0.05
  2486. expart2.Transparency = expart2.Transparency + 0.05
  2487. end
  2488. swait()
  2489. end
  2490. game:GetService("Debris"):AddItem(expart, 1)
  2491. game:GetService("Debris"):AddItem(expart2, 1)
  2492. end
  2493.  
  2494. function AreaDanger(rad,par,mindam,maxdam)
  2495. local expart = Instance.new("Part",char)
  2496. local partMesh = Instance.new("SpecialMesh",expart)
  2497. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  2498. partMesh.MeshType = "Sphere"
  2499. partMesh.Scale = vt(rad,rad,rad)
  2500. expart.Size = vt(1,1,1)
  2501. expart.Transparency = 0.5
  2502. expart.Anchored = true
  2503. expart.Material = "Neon"
  2504. expart.CanCollide = false
  2505. expart.BrickColor = par.BrickColor
  2506. expart.CFrame = par.CFrame
  2507. local value = 1*rad/5
  2508. MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1)
  2509. for i = 0, 14 do
  2510. wait()
  2511. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2512. expart.CFrame = expart.CFrame
  2513. value = value - 0.035*rad
  2514. if value < 0 then
  2515. value = 0
  2516. end
  2517. end
  2518. wait(0.25)
  2519. CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
  2520. wait(0.5)
  2521. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
  2522. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
  2523. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  2524. MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025)
  2525. for i = 0, 14 do
  2526. wait()
  2527. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2528. expart.CFrame = expart.CFrame
  2529. value = value - 0.035*rad/2
  2530. end
  2531. expart.Transparency = 1
  2532. game:GetService("Debris"):AddItem(expart, 5)
  2533. end
  2534.  
  2535. function Swarmsplosions(negrad,rad,par,mindam,maxdam)
  2536. CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
  2537. CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
  2538. CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
  2539. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  2540. MagniDamageWithEffect(par, 25, 5,10, 0, "Normal")
  2541. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025)
  2542. for i = 0, 24 do
  2543. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,25,0.005,math.random(1,2))
  2544. end
  2545. for i = 0, 24 do
  2546. local expart = Instance.new("Part",char)
  2547. expart.Transparency = 1
  2548. expart.Anchored = true
  2549. expart.CanCollide = false
  2550. expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad))
  2551. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
  2552. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  2553. MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal")
  2554. MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025)
  2555. for i = 0, 9 do
  2556. MagicShockTrailAlt2(origcolor,expart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,5,0.05,math.random(1,2))
  2557. end
  2558. game:GetService("Debris"):AddItem(expart, 2)
  2559. wait(0.1)
  2560. end
  2561. end
  2562.  
  2563. function EXterPlosion(par)
  2564. CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
  2565. CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
  2566. CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
  2567. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  2568. MagniDamageWithEffect(par, 500, 80,99, 0, "Normal")
  2569. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005)
  2570. MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1)
  2571. for i = 0, 24 do
  2572. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*10,-0.05*10,500,0.1,math.random(1,2))
  2573. end
  2574. for i = 0, 24 do
  2575. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*5,-0.05*5,50,0.005,math.random(1,2))
  2576. end
  2577. end
  2578. ----
  2579.  
  2580.  
  2581. function ring(type,pos,scale,value)
  2582. local type = type
  2583. local rng = Instance.new("Part", char)
  2584. rng.Anchored = true
  2585. rng.BrickColor = origcolor
  2586. rng.CanCollide = false
  2587. rng.FormFactor = 3
  2588. rng.Name = "Ring"
  2589. rng.Size = Vector3.new(1, 1, 1)
  2590. rng.Transparency = 0
  2591. rng.TopSurface = 0
  2592. rng.BottomSurface = 0
  2593. rng.CFrame = pos
  2594. local rngm = Instance.new("SpecialMesh", rng)
  2595. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2596. rngm.Scale = scale
  2597. local scaler2 = 1
  2598. if type == "Add" then
  2599. scaler2 = 1*value
  2600. elseif type == "Divide" then
  2601. scaler2 = 1/value
  2602. end
  2603. coroutine.resume(coroutine.create(function()
  2604. for i = 0,10,0.1 do
  2605. swait()
  2606. if type == "Add" then
  2607. scaler2 = scaler2 - 0.01*value
  2608. elseif type == "Divide" then
  2609. scaler2 = scaler2 - 0.01/value
  2610. end
  2611. rng.Transparency = rng.Transparency + 0.01
  2612. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2613. end
  2614. rng:Destroy()
  2615. end))
  2616. end
  2617.  
  2618.  
  2619. function wave(type,pos,scale,value)
  2620. local type = type
  2621. local rng = Instance.new("Part", char)
  2622. rng.Anchored = true
  2623. rng.BrickColor = origcolor
  2624. rng.CanCollide = false
  2625. rng.FormFactor = 3
  2626. rng.Name = "Ring"
  2627. rng.Size = Vector3.new(1, 1, 1)
  2628. rng.Transparency = 0
  2629. rng.TopSurface = 0
  2630. rng.BottomSurface = 0
  2631. rng.CFrame = pos
  2632. local rngm = Instance.new("SpecialMesh", rng)
  2633. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2634. rngm.Scale = scale
  2635. local scaler2 = 1
  2636. if type == "Add" then
  2637. scaler2 = 1*value
  2638. elseif type == "Divide" then
  2639. scaler2 = 1/value
  2640. end
  2641. coroutine.resume(coroutine.create(function()
  2642. for i = 0,10,0.1 do
  2643. swait()
  2644. if type == "Add" then
  2645. scaler2 = scaler2 - 0.01*value
  2646. elseif type == "Divide" then
  2647. scaler2 = scaler2 - 0.01/value
  2648. end
  2649. rng.Transparency = rng.Transparency + 0.01
  2650. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2651. end
  2652. rng:Destroy()
  2653. end))
  2654. end
  2655.  
  2656. function wind(type,pos,scale,value,speed)
  2657. local type = type
  2658. local rng = Instance.new("Part", char)
  2659. rng.Anchored = true
  2660. rng.BrickColor = origcolor
  2661. rng.CanCollide = false
  2662. rng.FormFactor = 3
  2663. rng.Name = "Ring"
  2664. rng.Size = Vector3.new(1, 1, 1)
  2665. rng.Transparency = 0
  2666. rng.TopSurface = 0
  2667. rng.BottomSurface = 0
  2668. rng.CFrame = pos
  2669. local rngm = Instance.new("SpecialMesh", rng)
  2670. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2671. rngm.Scale = scale
  2672. local scaler2 = 1
  2673. if type == "Add" then
  2674. scaler2 = 1*value
  2675. elseif type == "Divide" then
  2676. scaler2 = 1/value
  2677. end
  2678. coroutine.resume(coroutine.create(function()
  2679. for i = 0,10,0.1 do
  2680. swait()
  2681. if type == "Add" then
  2682. scaler2 = scaler2 - 0.01*value
  2683. elseif type == "Divide" then
  2684. scaler2 = scaler2 - 0.01/value
  2685. end
  2686. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2687. rng.Transparency = rng.Transparency + 0.01
  2688. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2689. end
  2690. rng:Destroy()
  2691. end))
  2692. end
  2693.  
  2694. function groundwind(type,pos,scale,value,speed)
  2695. local type = type
  2696. local rng = Instance.new("Part", char)
  2697. rng.Anchored = true
  2698. rng.BrickColor = origcolor
  2699. rng.CanCollide = false
  2700. rng.FormFactor = 3
  2701. rng.Name = "Ring"
  2702. rng.Size = Vector3.new(1, 1, 1)
  2703. rng.Transparency = 0
  2704. rng.TopSurface = 0
  2705. rng.BottomSurface = 0
  2706. rng.CFrame = pos
  2707. local rngm = Instance.new("SpecialMesh", rng)
  2708. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2709. rngm.Scale = scale
  2710. local scaler2 = 1
  2711. if type == "Add" then
  2712. scaler2 = 1*value
  2713. elseif type == "Divide" then
  2714. scaler2 = 1/value
  2715. end
  2716. coroutine.resume(coroutine.create(function()
  2717. for i = 0,10,0.1 do
  2718. swait()
  2719. if type == "Add" then
  2720. scaler2 = scaler2 - 0.01*value
  2721. elseif type == "Divide" then
  2722. scaler2 = scaler2 - 0.01/value
  2723. end
  2724. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2725. rng.Transparency = rng.Transparency + 0.01
  2726. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2727. end
  2728. rng:Destroy()
  2729. end))
  2730. end
  2731.  
  2732. function CameraManager()
  2733. if TwoD and not CamInterrupt then
  2734. if Humanoid.Health > 0 then
  2735. Camera.CameraSubject = Humanoid
  2736. Camera.CameraType = "Scriptable"
  2737. Humanoid.AutoRotate = false
  2738. if Booleans.GyroUse then
  2739. Directer.MaxTorque = Vec3(0, huge, 0)
  2740. else
  2741. Directer.MaxTorque = Vec3(0, 0, 0)
  2742. end
  2743. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2744. if Booleans.CamFollow then
  2745. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2746. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2747. else
  2748. CPart.Position = RootPart.Position
  2749. end
  2750. else
  2751. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2752. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2753. end
  2754. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2755. else
  2756. Camera.CameraSubject = Humanoid
  2757. Camera.CameraType = "Custom"
  2758. Controller.Disabled = false
  2759. end
  2760. end
  2761. end
  2762.  
  2763. function sphere(bonuspeed,type,pos,scale,value,color,heart,invert,notaffectbychaosrainbow)
  2764. local type = type
  2765. local rng = Instance.new("Part", char)
  2766. rng.Anchored = true
  2767. rng.BrickColor = color
  2768. rng.CanCollide = false
  2769. rng.FormFactor = 3
  2770. rng.Name = "Ring"
  2771. rng.Material = "Neon"
  2772. rng.Size = Vector3.new(1, 1, 1)
  2773. rng.Transparency = 0
  2774. rng.TopSurface = 0
  2775. rng.BottomSurface = 0
  2776. rng.CFrame = pos
  2777. local rngm = Instance.new("SpecialMesh", rng)
  2778. rngm.MeshType = "Sphere"
  2779.  
  2780.  
  2781. if(heart)then
  2782. rngm.MeshType = Enum.MeshType.FileMesh
  2783. rngm.MeshId = "rbxassetid://0"
  2784. rngm.Offset = Vector3.new(0,0,-.25)
  2785. end
  2786. rngm.Scale = scale
  2787. if rainbowmode == true and not notaffectbychaosrainbow then
  2788. rng.Color = Color3.new(r/255,g/255,b/255)
  2789. end
  2790. local scaler2 = 1
  2791. if type == "Add" then
  2792. scaler2 = 1*value
  2793. elseif type == "Divide" then
  2794. scaler2 = 1/value
  2795. end
  2796. coroutine.resume(coroutine.create(function()
  2797. for i = 0,10/bonuspeed,0.1 do
  2798. swait()
  2799. if rainbowmode == true and not notaffectbychaosrainbow then
  2800. rng.Color = Color3.new(r/255,g/255,b/255)
  2801. end
  2802. if type == "Add" then
  2803. scaler2 = scaler2 - 0.01*value/bonuspeed
  2804. elseif type == "Divide" then
  2805. scaler2 = scaler2 - 0.01/value*bonuspeed
  2806. end
  2807. if chaosmode == true and not notaffectbychaosrainbow then
  2808. rng.BrickColor = BrickColor.new("Really black")
  2809. end
  2810. if glitchymode then
  2811. local val = math.random(1,255)
  2812. local color = Color3.fromRGB(val,val,val)
  2813. rng.Color = color
  2814. end
  2815. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2816. if(invert)then
  2817. if(heart)then
  2818. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2819. else
  2820. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2821. end
  2822. else
  2823. if(heart)then
  2824. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2825. else
  2826. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2827. end
  2828. end
  2829. rng.CFrame = pos
  2830. end
  2831. rng:Destroy()
  2832. end))
  2833. end
  2834.  
  2835. function newBezier(startpos, pos2, pos3, endpos, t)
  2836. local A = clerp(startpos, pos2, t)
  2837. local B = clerp(pos2, pos3, t)
  2838. local C = clerp(pos3, endpos, t)
  2839. local lerp1 = clerp(A, B, t)
  2840. local lerp2 = clerp(B, C, t)
  2841. local cubic = clerp(lerp1, lerp2, t)
  2842. return cubic
  2843. end
  2844.  
  2845.  
  2846. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert)
  2847. local type = type
  2848. local rng = Instance.new("Part", char)
  2849. rng.Anchored = true
  2850. rng.BrickColor = color
  2851. rng.CanCollide = false
  2852. rng.FormFactor = 3
  2853. rng.Name = "Ring"
  2854. rng.Material = "Neon"
  2855. rng.Size = Vector3.new(1, 1, 1)
  2856. rng.Transparency = 0
  2857. rng.TopSurface = 0
  2858. rng.BottomSurface = 0
  2859. rng.CFrame = pos
  2860. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2861. local rngm = Instance.new("SpecialMesh", rng)
  2862. rngm.MeshType = "Brick"
  2863. if(heart)then
  2864. rngm.MeshType = Enum.MeshType.FileMesh
  2865. rngm.MeshId = "rbxassetid://105992239"
  2866. rngm.Offset = Vector3.new(0,0,-.25)
  2867. end
  2868. rngm.Scale = vt(x1,y1,z1)
  2869. if rainbowmode == true then
  2870. rng.Color = Color3.new(r/255,g/255,b/255)
  2871. end
  2872. local scaler2 = 1
  2873. local speeder = FastSpeed/10
  2874. if type == "Add" then
  2875. scaler2 = 1*value
  2876. elseif type == "Divide" then
  2877. scaler2 = 1/value
  2878. end
  2879. coroutine.resume(coroutine.create(function()
  2880. for i = 0,10/bonuspeed,0.1 do
  2881. swait()
  2882. if rainbowmode == true then
  2883. rng.Color = Color3.new(r/255,g/255,b/255)
  2884. end
  2885. if type == "Add" then
  2886. scaler2 = scaler2 - 0.01*value/bonuspeed
  2887. elseif type == "Divide" then
  2888. scaler2 = scaler2 - 0.01/value*bonuspeed
  2889. end
  2890. if chaosmode == true then
  2891. rng.BrickColor = BrickColor.new("Really black")
  2892. end
  2893. if glitchymode then
  2894. local val = math.random(1,255)
  2895. local color = Color3.fromRGB(val,val,val)
  2896. rng.Color = color
  2897. end
  2898. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2899. if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end
  2900. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2901. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2902. end
  2903. rng:Destroy()
  2904. end))
  2905. end
  2906.  
  2907.  
  2908. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert)
  2909. local type = type
  2910. local rng = Instance.new("Part", char)
  2911. rng.Anchored = true
  2912. rng.BrickColor = color
  2913. rng.CanCollide = false
  2914. rng.FormFactor = 3
  2915. rng.Name = "Ring"
  2916. rng.Material = "Neon"
  2917. rng.Size = Vector3.new(1, 1, 1)
  2918. rng.Transparency = 0
  2919. rng.TopSurface = 0
  2920. rng.BottomSurface = 0
  2921. rng.CFrame = pos
  2922. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2923. local rngm = Instance.new("SpecialMesh", rng)
  2924. rngm.MeshType = "Brick"
  2925. if(heart)then
  2926. rngm.MeshType = Enum.MeshType.FileMesh
  2927. rngm.MeshId = "rbxassetid://105992239"
  2928. rngm.Offset = Vector3.new(0,0,-.25)
  2929. end
  2930. rngm.Scale = vt(x1,y1,z1)
  2931. if rainbowmode == true then
  2932. rng.Color = Color3.new(r/255,g/255,b/255)
  2933. end
  2934. local scaler2 = 0
  2935. local speeder = FastSpeed/10
  2936. if type == "Add" then
  2937. scaler2 = 1*value
  2938. elseif type == "Divide" then
  2939. scaler2 = 1/value
  2940. end
  2941. coroutine.resume(coroutine.create(function()
  2942. for i = 0,10/bonuspeed,0.1 do
  2943. swait()
  2944. if rainbowmode == true then
  2945. rng.Color = Color3.new(r/255,g/255,b/255)
  2946. end
  2947. if type == "Add" then
  2948. scaler2 = scaler2 - 0.01*value/bonuspeed
  2949. elseif type == "Divide" then
  2950. scaler2 = scaler2 - 0.01/value*bonuspeed
  2951. end
  2952. if chaosmode == true then
  2953. rng.BrickColor = BrickColor.new("Really black")
  2954. end
  2955. if glitchymode then
  2956. local val = math.random(1,255)
  2957. local color = Color3.fromRGB(val,val,val)
  2958. rng.Color = color
  2959. end
  2960. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  2961. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2962. if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end
  2963. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2964. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2965. end
  2966. rng:Destroy()
  2967. end))
  2968. end
  2969.  
  2970. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2971. local type = type
  2972. local rng = Instance.new("Part", char)
  2973. rng.Anchored = true
  2974. rng.BrickColor = color
  2975. rng.CanCollide = false
  2976. rng.FormFactor = 3
  2977. rng.Name = "Ring"
  2978. rng.Material = "Neon"
  2979. rng.Size = Vector3.new(1, 1, 1)
  2980. rng.Transparency = 0
  2981. rng.TopSurface = 0
  2982. rng.BottomSurface = 0
  2983. rng.CFrame = pos
  2984. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2985. local rngm = Instance.new("SpecialMesh", rng)
  2986. rngm.MeshType = "Sphere"
  2987. rngm.Scale = vt(x1,y1,z1)
  2988. if rainbowmode == true then
  2989. rng.Color = Color3.new(r/255,g/255,b/255)
  2990. end
  2991. local scaler2 = 1
  2992. local speeder = FastSpeed
  2993. if type == "Add" then
  2994. scaler2 = 1*value
  2995. elseif type == "Divide" then
  2996. scaler2 = 1/value
  2997. end
  2998. coroutine.resume(coroutine.create(function()
  2999. for i = 0,10/bonuspeed,0.1 do
  3000. swait()
  3001. if rainbowmode == true then
  3002. rng.Color = Color3.new(r/255,g/255,b/255)
  3003. end
  3004. if type == "Add" then
  3005. scaler2 = scaler2 - 0.01*value/bonuspeed
  3006. elseif type == "Divide" then
  3007. scaler2 = scaler2 - 0.01/value*bonuspeed
  3008. end
  3009. if chaosmode == true then
  3010. rng.BrickColor = BrickColor.new("Really black")
  3011. end
  3012. if glitchymode then
  3013. local val = math.random(1,255)
  3014. local color = Color3.fromRGB(val,val,val)
  3015. rng.Color = color
  3016. end
  3017. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3018. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3019. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3020. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3021. end
  3022. rng:Destroy()
  3023. end))
  3024. end
  3025.  
  3026.  
  3027. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3028. local type = type
  3029. local rng = Instance.new("Part", char)
  3030. rng.Anchored = true
  3031. rng.BrickColor = color
  3032. rng.CanCollide = false
  3033. rng.FormFactor = 3
  3034. rng.Name = "Ring"
  3035. rng.Material = "Neon"
  3036. rng.Size = Vector3.new(1, 1, 1)
  3037. rng.Transparency = 1
  3038. rng.TopSurface = 0
  3039. rng.BottomSurface = 0
  3040. rng.CFrame = pos
  3041. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3042. local rngm = Instance.new("SpecialMesh", rng)
  3043. rngm.MeshType = "Sphere"
  3044. rngm.Scale = vt(x1,y1,z1)
  3045. if rainbowmode == true then
  3046. rng.Color = Color3.new(r/255,g/255,b/255)
  3047. end
  3048. local scaler2 = 1
  3049. local speeder = FastSpeed
  3050. if type == "Add" then
  3051. scaler2 = 1*value
  3052. elseif type == "Divide" then
  3053. scaler2 = 1/value
  3054. end
  3055. coroutine.resume(coroutine.create(function()
  3056. for i = 0,10/bonuspeed,0.1 do
  3057. swait()
  3058. if rainbowmode == true then
  3059. rng.Color = Color3.new(r/255,g/255,b/255)
  3060. end
  3061. if type == "Add" then
  3062. scaler2 = scaler2 - 0.01*value/bonuspeed
  3063. elseif type == "Divide" then
  3064. scaler2 = scaler2 - 0.01/value*bonuspeed
  3065. end
  3066. if chaosmode == true then
  3067. rng.BrickColor = BrickColor.new("Really black")
  3068. end
  3069. if glitchymode then
  3070. local val = math.random(1,255)
  3071. local color = Color3.fromRGB(val,val,val)
  3072. rng.Color = color
  3073. end
  3074. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3075. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3076. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3077. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3078. end
  3079. rng:Destroy()
  3080. end))
  3081. end
  3082.  
  3083. function dmg(dude)
  3084. if dude.Name ~= Character then
  3085. local bgf = Instance.new("BodyGyro",dude.Head)
  3086. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3087. local val = Instance.new("BoolValue",dude)
  3088. val.Name = "IsHit"
  3089. local ds = coroutine.wrap(function()
  3090. local torso = dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso'
  3091. for i = 1, 10 do
  3092. sphereMK(1.5,2,"Add",torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,25,-.01,BrickColor.new("White"),0,true)
  3093. end
  3094. dude:WaitForChild("Head"):BreakJoints()
  3095. wait(0.5)
  3096. targetted = nil
  3097. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
  3098.  
  3099. coroutine.resume(coroutine.create(function()
  3100. for i, v in pairs(dude:GetChildren()) do
  3101. if v:IsA("Accessory") then
  3102. v:Destroy()
  3103. end
  3104. if v:IsA("Humanoid") then
  3105. v:Destroy()
  3106. end
  3107. if v:IsA("CharacterMesh") then
  3108. v:Destroy()
  3109. end
  3110. if v:IsA("Model") then
  3111. v:Destroy()
  3112. end
  3113. if v:IsA("Part") or v:IsA("MeshPart") then
  3114. for x, o in pairs(v:GetChildren()) do
  3115. if o:IsA("Decal") then
  3116. o:Destroy()
  3117. end
  3118. end
  3119. coroutine.resume(coroutine.create(function()
  3120. v.Material = "Neon"
  3121. v.CanCollide = false
  3122. local bld = Instance.new("ParticleEmitter",v)
  3123. bld.LightEmission = 1
  3124. bld.Texture = "rbxassetid://284205403"
  3125. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  3126. bld.Rate = 50
  3127. bld.Lifetime = NumberRange.new(1)
  3128. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
  3129. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3130. bld.Speed = NumberRange.new(0,0)
  3131. bld.VelocitySpread = 50000
  3132. bld.Rotation = NumberRange.new(-500,500)
  3133. bld.RotSpeed = NumberRange.new(-500,500)
  3134. local sbs = Instance.new("BodyPosition", v)
  3135. sbs.P = 3000
  3136. sbs.D = 1000
  3137. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3138. sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  3139. v.Color = Color3.new(1,1,1)
  3140. coroutine.resume(coroutine.create(function()
  3141. for i = 0, 49 do
  3142. swait(1)
  3143. v.Transparency = v.Transparency + 0.02
  3144. end
  3145. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1)
  3146. bld.Speed = NumberRange.new(1,5)
  3147. bld.Acceleration = vt(0,10,0)
  3148. wait(0.5)
  3149. bld.Enabled = false
  3150. wait(3)
  3151. v:Destroy()
  3152. dude:Destroy()
  3153. end))
  3154. end))
  3155. end
  3156. end
  3157. end))
  3158. end)
  3159. ds()
  3160. end
  3161. end
  3162.  
  3163.  
  3164. function FindNearestHead(Position, Distance, SinglePlayer)
  3165. if SinglePlayer then
  3166. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3167. end
  3168. local List = {}
  3169. for i, v in pairs(workspace:GetChildren()) do
  3170. if v:IsA("Model") then
  3171. if v:findFirstChild("Head") then
  3172. if v ~= Character then
  3173. if (v.Head.Position - Position).magnitude <= Distance then
  3174. table.insert(List, v)
  3175. end
  3176. end
  3177. end
  3178. end
  3179. end
  3180. return List
  3181. end
  3182.  
  3183. function FaceMouse()
  3184. Cam = workspace.CurrentCamera
  3185. return {
  3186. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3187. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3188. }
  3189. end
  3190.  
  3191. function FaceMouse2()
  3192. Cam = workspace.CurrentCamera
  3193. return {
  3194. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3195. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3196. }
  3197. end
  3198.  
  3199. local ModeOfGlitch = 1
  3200. -- Functions are ready.
  3201. local storehumanoidWS = 16
  3202.  
  3203. function CorruptBlink()
  3204. for i = 0, 14 do
  3205. PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0)
  3206. end
  3207. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3208. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3209. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3210. CameraEnshaking(2,10)
  3211. if(ModeOfGlitch == 1 or ModeOfGlitch == 3 or ModeOfGlitch == 4 or ModeOfGlitch == 666666)then for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3212. if v:FindFirstChild('Head') then
  3213. dmg(v)
  3214. end
  3215. end end
  3216. for i = 0, 14 do
  3217. PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0)
  3218. end
  3219. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3220. end
  3221.  
  3222. function ExtinctiveHeartbreak()
  3223. local targetted = nil
  3224. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3225. targetted = mouse.Target.Parent
  3226. end
  3227. if targetted ~= nil then
  3228. attack = true
  3229. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3230. for i = 0, 9 do
  3231. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Bright bluish green"),0)
  3232. end
  3233. for i = 0, 24 do
  3234. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Bright bluish green"),0)
  3235. end
  3236. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Bright bluish green"))
  3237. local originalpos = root.CFrame
  3238. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  3239. for i = 0, 9 do
  3240. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Bright bluish green"),0)
  3241. end
  3242. for i = 0, 24 do
  3243. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Bright bluish green"),0)
  3244. end
  3245. hum.WalkSpeed = 0
  3246. targetted.Head.Anchored = true
  3247. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Bright bluish green"))
  3248. for i = 0,2,0.1 do
  3249. swait()
  3250. 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(0)),.4)
  3251. 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(0),math.rad(0)),.4)
  3252. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(80)),.4)
  3253. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  3254. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.4)
  3255. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(60)),.4)
  3256. end
  3257. coroutine.resume(coroutine.create(function()
  3258. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  3259. bld.LightEmission = 0.1
  3260. bld.Texture = "rbxassetid://284205403"
  3261. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  3262. bld.Rate = 500
  3263. bld.Lifetime = NumberRange.new(1)
  3264. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3265. bld.Acceleration = vt(0,-25,0)
  3266. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  3267. bld.Speed = NumberRange.new(10,50)
  3268. bld.EmissionDirection = "Front"
  3269. bld.VelocitySpread = 25
  3270. bld.Rotation = NumberRange.new(-500,500)
  3271. bld.RotSpeed = NumberRange.new(-500,500)
  3272. end))
  3273. coroutine.resume(coroutine.create(function()
  3274. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("UpperTorso"))
  3275. bld.LightEmission = 0.1
  3276. bld.Texture = "rbxassetid://284205403"
  3277. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  3278. bld.Rate = 500
  3279. bld.Lifetime = NumberRange.new(1)
  3280. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3281. bld.Acceleration = vt(0,-25,0)
  3282. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  3283. bld.Speed = NumberRange.new(10,50)
  3284. bld.EmissionDirection = "Front"
  3285. bld.VelocitySpread = 25
  3286. bld.Rotation = NumberRange.new(-500,500)
  3287. bld.RotSpeed = NumberRange.new(-500,500)
  3288. end))
  3289. CameraEnshaking(5,5)
  3290. game:GetService("Debris"):AddItem(bld,3)
  3291. dmg(targetted)
  3292. CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Head, 1,1)
  3293. for i = 0,1,0.1 do
  3294. swait()
  3295. 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(0)),.8)
  3296. 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(0),math.rad(0)),.8)
  3297. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  3298. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  3299. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  3300. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(-80)),.8)
  3301. end
  3302. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3303. for i = 0, 9 do
  3304. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Bright bluish green"),0)
  3305. end
  3306. for i = 0, 24 do
  3307. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Bright bluish green"),0)
  3308. end
  3309. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Bright bluish green"))
  3310. root.CFrame = originalpos
  3311. for i = 0, 9 do
  3312. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Bright bluish green"),0)
  3313. end
  3314. for i = 0, 24 do
  3315. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Bright bluish green"),0)
  3316. end
  3317. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Bright bluish green"))
  3318. bld.Enabled = false
  3319. attack = false
  3320. hum.WalkSpeed = storehumanoidWS
  3321. end
  3322. end
  3323.  
  3324.  
  3325.  
  3326. function DeadZone()
  3327. local targetted = nil
  3328. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3329. targetted = mouse.Target.Parent
  3330. end
  3331. if targetted ~= nil then
  3332. attack = true
  3333. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3334. for i = 0, 9 do
  3335. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really black"),0)
  3336. end
  3337. for i = 0, 24 do
  3338. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0)
  3339. end
  3340. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3341. local originalpos = root.CFrame
  3342. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  3343. for i = 0, 9 do
  3344. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really black"),0)
  3345. end
  3346. for i = 0, 24 do
  3347. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0)
  3348. end
  3349. hum.WalkSpeed = 0
  3350. targetted.Head.Anchored = true
  3351. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3352. for i = 0,2,0.1 do
  3353. swait()
  3354. 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(0)),.4)
  3355. 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(0),math.rad(0)),.4)
  3356. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(80)),.4)
  3357. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  3358. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.4)
  3359. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(60)),.4)
  3360. end
  3361. coroutine.resume(coroutine.create(function()
  3362. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  3363. bld.LightEmission = 0.1
  3364. bld.Texture = "rbxassetid://284205403"
  3365. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  3366. bld.Rate = 500
  3367. bld.Lifetime = NumberRange.new(1)
  3368. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3369. bld.Acceleration = vt(0,-25,0)
  3370. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  3371. bld.Speed = NumberRange.new(10,50)
  3372. bld.EmissionDirection = "Front"
  3373. bld.VelocitySpread = 25
  3374. bld.Rotation = NumberRange.new(-500,500)
  3375. bld.RotSpeed = NumberRange.new(-500,500)
  3376. end))
  3377. coroutine.resume(coroutine.create(function()
  3378. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("UpperTorso"))
  3379. bld.LightEmission = 0.1
  3380. bld.Texture = "rbxassetid://284205403"
  3381. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  3382. bld.Rate = 500
  3383. bld.Lifetime = NumberRange.new(1)
  3384. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3385. bld.Acceleration = vt(0,-25,0)
  3386. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  3387. bld.Speed = NumberRange.new(10,50)
  3388. bld.EmissionDirection = "Front"
  3389. bld.VelocitySpread = 25
  3390. bld.Rotation = NumberRange.new(-500,500)
  3391. bld.RotSpeed = NumberRange.new(-500,500)
  3392. end))
  3393. CameraEnshaking(5,5)
  3394. game:GetService("Debris"):AddItem(bld,3)
  3395. dmg(targetted)
  3396. CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Head, 1,1)
  3397. for i = 0,1,0.1 do
  3398. swait()
  3399. 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(0)),.8)
  3400. 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(0),math.rad(0)),.8)
  3401. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  3402. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  3403. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  3404. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(-80)),.8)
  3405. end
  3406. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3407. for i = 0, 9 do
  3408. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really black"),0)
  3409. end
  3410. for i = 0, 24 do
  3411. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0)
  3412. end
  3413. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3414. root.CFrame = originalpos
  3415. for i = 0, 9 do
  3416. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really black"),0)
  3417. end
  3418. for i = 0, 24 do
  3419. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0)
  3420. end
  3421. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3422. bld.Enabled = false
  3423. attack = false
  3424. hum.WalkSpeed = storehumanoidWS
  3425. end
  3426. end
  3427.  
  3428.  
  3429.  
  3430.  
  3431.  
  3432. function PureBomb()
  3433. attack = true
  3434.  
  3435. local orb = Instance.new("Part", char)
  3436. orb.Anchored = true
  3437. orb.BrickColor = BrickColor.new("Really black")
  3438. orb.CanCollide = false
  3439. orb.FormFactor = 3
  3440. orb.Name = "Ring"
  3441. orb.Material = "Neon"
  3442. orb.Size = Vector3.new(1, 1, 1)
  3443. orb.Transparency = 0
  3444. orb.TopSurface = 0
  3445. orb.BottomSurface = 0
  3446. local orbm = Instance.new("SpecialMesh", orb)
  3447. orbm.MeshType = "Sphere"
  3448. orbm.Name = "SizeMesh"
  3449. orbm.Scale = vt(0,0,0)
  3450. local scaled = 0.1
  3451. local posid = 0
  3452. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3453. for i = 0, 5, 0.1 do
  3454. swait()
  3455. scaled = scaled - 0.001
  3456. posid = posid - scaled
  3457. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3458. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3459. sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Really black"),10)
  3460. PixelBlockNeg(2,1,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Really black"),0)
  3461. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
  3462. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  3463. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3464. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3465. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3466. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  3467. end
  3468. for i = 0, 2, 0.1 do
  3469. swait()
  3470. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3471. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3472. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3473. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  3474. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3475. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3476. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3477. end
  3478. coroutine.resume(coroutine.create(function()
  3479. orb.Anchored = false
  3480. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3481. local a = Instance.new("Part",workspace)
  3482. a.Name = "Direction"
  3483. a.Anchored = true
  3484. a.BrickColor = bc("Bright red")
  3485. a.Material = "Neon"
  3486. a.Transparency = 1
  3487. a.CanCollide = false
  3488. local ray = Ray.new(
  3489. orb.CFrame.p, -- origin
  3490. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3491. )
  3492. local ignore = orb
  3493. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3494. a.BottomSurface = 10
  3495. a.TopSurface = 10
  3496. local distance = (orb.CFrame.p - position).magnitude
  3497. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3498. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3499. orb.CFrame = a.CFrame
  3500. a:Destroy()
  3501. local bv = Instance.new("BodyVelocity")
  3502. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3503. bv.velocity = orb.CFrame.lookVector*125
  3504. bv.Parent = orb
  3505. local hitted = false
  3506. game:GetService("Debris"):AddItem(orb, 15)
  3507. wait()
  3508. local hit =orb.Touched:connect(function(hit)
  3509. if hitted == false then
  3510. hitted = true
  3511. CameraEnshaking(10,2.5)
  3512. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3513. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3514. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Really black"))
  3515. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Really black"))
  3516. for i = 0, 49 do
  3517. PixelBlock(1,math.random(1,30),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Really black"),0)
  3518. end
  3519. for i = 0, 9 do
  3520. sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Really black"),0)
  3521. sphereMK(2,5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Really black"),0)
  3522. end
  3523. orb.Anchored = true
  3524. orb.Transparency = 1
  3525. wait(8)
  3526. orb:Destroy()
  3527. end
  3528. end)
  3529. end))
  3530. for i = 0, 1, 0.1 do
  3531. swait()
  3532. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3533. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3534. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4)
  3535. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3536. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3537. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3538. end
  3539. attack = false
  3540. end
  3541.  
  3542. function ChaosGroundStrike()
  3543. attack = true
  3544. for i = 0, 2, 0.1 do
  3545. swait()
  3546. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3547. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3548. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3549. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3550. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3551. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3552. end
  3553. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3554. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3555. CameraEnshaking(4,12)
  3556. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3557. if v:FindFirstChild('Head') then
  3558. dmg(v)
  3559. end
  3560. end
  3561. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.new("Really black"))
  3562. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.new("Really black"))
  3563. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.new("Really black"))
  3564. for i = 0, 2, 0.1 do
  3565. swait()
  3566. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.new("Really black"),0)
  3567. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.new("Really black"),0)
  3568. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3569. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3570. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3571. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3572. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3573. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3574. end
  3575. attack = false
  3576. end
  3577.  
  3578. function InsaneGroundStrike()
  3579. attack = true
  3580. chatfunc("Succumb to the insanity!",Color3.new(0,0,0))
  3581. for i = 0, 8, 0.1 do
  3582. swait()
  3583. PixelBlockNeg(2,1,"Add",RightLeg.CFrame*cf(0,-1.35,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("White"),0)
  3584.  
  3585. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3586. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3587. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3588. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3589. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3590. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3591. end
  3592. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3593. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3594. CameraEnshaking(8,24)
  3595. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 105)) do
  3596. if v:FindFirstChild('Head') then
  3597. dmg(v)
  3598. end
  3599. end
  3600. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.new("Really black"))
  3601. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.new("Really black"))
  3602. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,BrickColor.new("Really black"))
  3603. CFuncs["Sound"].Create("rbxassetid://907329669", root, 10, 1)
  3604. chatfunc("Leave the dead where they fall!",Color3.new(0,0,0))
  3605. for i = 0, 2, 0.1 do
  3606. swait()
  3607. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.new("Really black"),0)
  3608. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.new("Really black"),0)
  3609. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3610. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3611. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3612. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3613. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3614. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3615. end
  3616. attack = false
  3617. end
  3618.  
  3619. function Starfall()
  3620. attack = true
  3621. hum.WalkSpeed = 0
  3622. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3623. for i = 0, 5, 0.1 do
  3624. swait()
  3625. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3626. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3627. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  3628. 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)),.1)
  3629. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3630. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3631. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  3632. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  3633. end
  3634. local Overed = false
  3635. CameraEnshaking(2,20)
  3636. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3637. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3638. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3639. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3640. local orb = Instance.new("Part", char)
  3641. orb.Anchored = true
  3642. orb.BrickColor = BrickColor.new("White")
  3643. orb.CanCollide = false
  3644. orb.FormFactor = 3
  3645. orb.Name = "Remenant"
  3646. orb.Material = "Neon"
  3647. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3648. orb.Size = Vector3.new(1, 1, 1)
  3649. orb.Transparency = 1
  3650. orb.TopSurface = 0
  3651. orb.BottomSurface = 0
  3652. hum.WalkSpeed = storehumanoidWS
  3653. coroutine.resume(coroutine.create(function()
  3654. for i = 0, 9 do
  3655. swait(10)
  3656. local lb = Instance.new("Part")
  3657. lb.Color = MAINRUINCOLOR.Color
  3658. lb.CanCollide = false
  3659. lb.Material = "Neon"
  3660. lb.Anchored = true
  3661. lb.TopSurface = 0
  3662. lb.BottomSurface = 0
  3663. lb.Transparency = 0
  3664. lb.Size = vt(1,1,1)
  3665. lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  3666. lb.Anchored = false
  3667. lb.Parent = char
  3668. local thingery = Instance.new("SpecialMesh",lb)
  3669. thingery.MeshType = "Sphere"
  3670. thingery.Scale = vt(20,20,20)
  3671. game:GetService("Debris"):AddItem(lb, 10)
  3672. local bv = Instance.new("BodyVelocity")
  3673. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3674. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3675. bv.Parent = lb
  3676. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3677. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3678. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3679. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3680. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3681. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3682. local hitted = false
  3683. coroutine.resume(coroutine.create(function()
  3684. while true do
  3685. swait(1)
  3686. if lb.Parent ~= nil and hitted == false then
  3687. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
  3688. elseif lb.Parent == nil then
  3689. break
  3690. end
  3691. end
  3692. end))
  3693.  
  3694. game:GetService("Debris"):AddItem(a, 0.1)
  3695.  
  3696. coroutine.resume(coroutine.create(function()
  3697. swait(1)
  3698. lb.Touched:connect(function(hit)
  3699. if hitted == false then
  3700. hitted = true
  3701. lb.Transparency = 1
  3702. lb.Anchored = true
  3703. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3704. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3705. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3706. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3707. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3708. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3709. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3710. CameraEnshaking(1,5)
  3711. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3712. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3713. for i = 0, 9 do
  3714. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  3715. end
  3716. for i = 0, 49 do
  3717. swait()
  3718. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3719. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  3720. end
  3721. end
  3722. end)
  3723. end))
  3724. end
  3725. Overed = true
  3726. orb:Destroy()
  3727. end))
  3728.  
  3729. attack = false
  3730. end
  3731.  
  3732. function StarfallEX()
  3733. attack = true
  3734. hum.WalkSpeed = 0
  3735. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3736. for i = 0, 5, 0.1 do
  3737. swait()
  3738. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3739. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3740. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  3741. 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)),.1)
  3742. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3743. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3744. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  3745. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  3746. end
  3747. local Overed = false
  3748. CameraEnshaking(2,20)
  3749. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3750. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3751. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3752. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3753. local orb = Instance.new("Part", char)
  3754. orb.Anchored = true
  3755. orb.BrickColor = BrickColor.new("White")
  3756. orb.CanCollide = false
  3757. orb.FormFactor = 3
  3758. orb.Name = "Remenant"
  3759. orb.Material = "Neon"
  3760. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3761. orb.Size = Vector3.new(1, 1, 1)
  3762. orb.Transparency = 1
  3763. orb.TopSurface = 0
  3764. orb.BottomSurface = 0
  3765. hum.WalkSpeed = storehumanoidWS
  3766. coroutine.resume(coroutine.create(function()
  3767. for i = 1, 5 do
  3768. swait(10)
  3769. local lb = Instance.new("Part")
  3770. lb.Color = MAINRUINCOLOR.Color
  3771. lb.CanCollide = false
  3772. lb.Material = "Neon"
  3773. lb.Anchored = true
  3774. lb.TopSurface = 0
  3775. lb.BottomSurface = 0
  3776. lb.Transparency = 0
  3777. lb.Size = vt(1,1,1)
  3778. lb.CFrame = orb.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  3779. lb.Anchored = false
  3780. lb.Parent = char
  3781. local thingery = Instance.new("SpecialMesh",lb)
  3782. thingery.MeshType = "Sphere"
  3783. thingery.Scale = vt(20,20,20)
  3784. game:GetService("Debris"):AddItem(lb, 10)
  3785. local bv = Instance.new("BodyVelocity")
  3786. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3787. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3788. bv.Parent = lb
  3789. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3790. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3791. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3792. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3793. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3794. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3795. local hitted = false
  3796. coroutine.resume(coroutine.create(function()
  3797. while true do
  3798. swait(1)
  3799. if lb.Parent ~= nil and hitted == false then
  3800. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
  3801. elseif lb.Parent == nil then
  3802. break
  3803. end
  3804. end
  3805. end))
  3806.  
  3807. game:GetService("Debris"):AddItem(a, 0.1)
  3808.  
  3809. coroutine.resume(coroutine.create(function()
  3810. swait(5)
  3811. lb.Touched:connect(function(hit)
  3812. if hitted == false and not hit:IsDescendantOf(Character) then
  3813. hitted = true
  3814. lb.Transparency = 1
  3815. lb.Anchored = true
  3816. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3817. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3818. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3819. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3820. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3821. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3822. MagniDamage(lb, 45, 90,170, 0, "Normal")
  3823. CameraEnshaking(1,5)
  3824. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3825. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3826. for i = 0, 9 do
  3827. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  3828. end
  3829. for i = 0, 49 do
  3830. swait()
  3831. MagniDamage(lb, 60, 20,40, 0, "Normal")
  3832. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  3833. end
  3834. end
  3835. end)
  3836. end))
  3837. end
  3838. Overed = true
  3839. orb:Destroy()
  3840. end))
  3841.  
  3842. attack = false
  3843. end
  3844.  
  3845.  
  3846. function StarDivision()
  3847. attack = true
  3848. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  3849. for i = 0, 2, 0.1 do
  3850. swait()
  3851. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3852. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.6)
  3853. 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)),.6)
  3854. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90)),.6)
  3855. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-90)),.6)
  3856. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  3857. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.6)
  3858. end
  3859. local orb = Instance.new("Part", char)
  3860. orb.BrickColor = MAINRUINCOLOR
  3861. orb.CanCollide = false
  3862. orb.FormFactor = 3
  3863. orb.Name = "Ring"
  3864. orb.Material = "Neon"
  3865. orb.Size = Vector3.new(1, 1, 1)
  3866. orb.Transparency = 0
  3867. orb.TopSurface = 0
  3868. orb.BottomSurface = 0
  3869. local orbm = Instance.new("SpecialMesh", orb)
  3870. orbm.MeshType = "Sphere"
  3871. orbm.Name = "SizeMesh"
  3872. orbm.Scale = vt(2,2,2)
  3873. local a = Instance.new("Part",workspace)
  3874. a.Name = "Direction"
  3875. a.Anchored = true
  3876. a.BrickColor = bc("Bright red")
  3877. a.Material = "Neon"
  3878. a.Transparency = 1
  3879. a.CanCollide = false
  3880. local ray = Ray.new(
  3881. sorb.CFrame.p, -- origin
  3882. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  3883. )
  3884. local ignore = sorb
  3885. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3886. a.BottomSurface = 10
  3887. a.TopSurface = 10
  3888. local distance = (sorb.CFrame.p - position).magnitude
  3889. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3890. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3891. orb.CFrame = a.CFrame
  3892. a:Destroy()
  3893. local bv = Instance.new("BodyVelocity")
  3894. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3895. bv.velocity = orb.CFrame.lookVector*100
  3896. bv.Parent = orb
  3897. local hitted = false
  3898. game:GetService("Debris"):AddItem(orb, 10)
  3899. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  3900. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  3901. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  3902. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  3903. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  3904. coroutine.resume(coroutine.create(function()
  3905. while true do
  3906. swait(1)
  3907. if orb.Parent ~= nil and hitted == false then
  3908. PixelBlockNeg(1,math.random(1,2),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,1,0.02,MAINRUINCOLOR,-2)
  3909. elseif orb.Parent == nil then
  3910. break
  3911. end
  3912. end
  3913. end))
  3914. coroutine.resume(coroutine.create(function()
  3915. swait(1)
  3916. orb.Touched:connect(function(hit)
  3917. if hitted == false then
  3918. hitted = true
  3919. game:GetService("Debris"):AddItem(orb, 5)
  3920. orb.Transparency = 1
  3921. orb.Anchored = true
  3922. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.new("Really black"))
  3923. elocacenter.Anchored = true
  3924. elocacenter.CFrame = orb.CFrame
  3925. elocacenter.Orientation = vt(0,0,0)
  3926. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.new("Really black"))
  3927. eloca1.Anchored = true
  3928. eloca1.CFrame = elocacenter.CFrame
  3929. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.new("Really black"))
  3930. eloca2.Anchored = true
  3931. eloca2.CFrame = elocacenter.CFrame
  3932. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.new("Really black"))
  3933. eloca3.Anchored = true
  3934. eloca3.CFrame = elocacenter.CFrame
  3935. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.new("Really black"))
  3936. eloca4.Anchored = true
  3937. eloca4.CFrame = elocacenter.CFrame
  3938. local lookavec = 0
  3939. local speeds = 0
  3940. CameraEnshaking(1,1)
  3941. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  3942. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3943. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3944. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3945. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3946. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3947. for i = 0, 99 do
  3948. swait()
  3949. lookavec = lookavec + 1
  3950. speeds = speeds + 0.1
  3951. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3952. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3953. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3954.  
  3955. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3956. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3957.  
  3958. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3959. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3960.  
  3961. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3962. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3963. end
  3964.  
  3965. for i = 0, 149 do
  3966. swait()
  3967. speeds = speeds + 0.1
  3968. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3969. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3970. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3971.  
  3972. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3973. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3974.  
  3975. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3976. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3977.  
  3978. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3979. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3980. end
  3981. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  3982. if v:FindFirstChild('Head') then
  3983. dmg(v)
  3984. end
  3985. end
  3986. CameraEnshaking(7,30)
  3987. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  3988. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  3989. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  3990. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  3991. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  3992. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  3993. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  3994. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3995. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3996. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3997. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3998. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3999. for i = 0, 24 do
  4000. sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0)
  4001. sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  4002. sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  4003. sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  4004. end
  4005. coroutine.resume(coroutine.create(function()
  4006. for i = 0, 499 do
  4007. swait(1)
  4008. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  4009. PixelBlockNeg(2,math.random(1,10),"Add",elocacenter.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-30,30)),math.rad(math.random(-30,30)),math.rad(math.random(-30,30))),15,15,15,0.15,MAINRUINCOLOR,-5)
  4010. end
  4011. elocacenter:Destroy()
  4012. eloca1:Destroy()
  4013. eloca2:Destroy()
  4014. eloca3:Destroy()
  4015. eloca4:Destroy()
  4016. end))
  4017. end
  4018. end)
  4019. end))
  4020. attack = false
  4021. end
  4022.  
  4023.  
  4024. function UniversalCollapse()
  4025. attack = true
  4026. local speedearn = 0
  4027. hum.WalkSpeed = 0
  4028. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4029. for i = 0, 10, 0.1 do
  4030. swait()
  4031. speedearn = speedearn + 0.1
  4032. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4033. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4034. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4035. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4036. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4037. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  4038. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  4039. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4040. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4041. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  4042. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  4043. end
  4044. CameraEnshaking(5,45)
  4045. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4046. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4047. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4048. if v:FindFirstChild('Head') then
  4049. dmg(v)
  4050. end
  4051. end
  4052. hum.WalkSpeed = storehumanoidWS
  4053. attack = false
  4054. end
  4055. function ChaosBegone()
  4056. attack = true
  4057. local speedearn = 0
  4058. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.75)
  4059. for i = 0, 10, 0.1 do
  4060. swait()
  4061. speedearn = speedearn + 0.1
  4062. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4063. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4064. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4065. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4066. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4067. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  4068. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  4069. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4070. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4071. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4072. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4073. end
  4074. CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
  4075. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 1)
  4076. CameraEnshaking(5,25)
  4077. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4078. if v:FindFirstChild('Head') then
  4079. dmg(v)
  4080. end
  4081. end
  4082. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.new("Really black"))
  4083. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.new("Really black"))
  4084. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.new("Really black"))
  4085. for i = 0, 3, 0.1 do
  4086. swait()
  4087. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.new("Really black"),0)
  4088. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.new("Really black"),0)
  4089. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.new("Really black"),0)
  4090. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.new("Really black"),0)
  4091. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  4092. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  4093. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4094. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4095. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4096. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4097. end
  4098. attack = false
  4099. end
  4100.  
  4101. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4102. local orb = Instance.new("Part", char)
  4103. orb.Anchored = true
  4104. orb.BrickColor = color
  4105. orb.CanCollide = false
  4106. orb.FormFactor = 3
  4107. orb.Name = "Ring"
  4108. orb.Material = "Neon"
  4109. orb.Size = Vector3.new(1, 1, 1)
  4110. orb.Transparency = 0
  4111. orb.TopSurface = 0
  4112. orb.BottomSurface = 0
  4113. local orbm = Instance.new("SpecialMesh", orb)
  4114. orbm.MeshType = "Sphere"
  4115. orb.CFrame = positted
  4116. orbm.Name = "SizeMesh"
  4117. orbm.Scale = vt(1,1,1)
  4118. coroutine.wrap(function()
  4119. while orb and orb.Parent do
  4120. if glitchymode then
  4121. local val = math.random(1,255)
  4122. local color = Color3.fromRGB(val,val,val)
  4123. orb.Color = color
  4124. end
  4125. swait()
  4126. end
  4127. end)()
  4128. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  4129. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  4130. --[[for i = 0, 2 do
  4131. sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  4132. end]]--
  4133. coroutine.resume(coroutine.create(function()
  4134. wait(timer)
  4135. CameraEnshaking(3,ShakePower)
  4136. orb.Transparency = 1
  4137. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  4138. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  4139. --[[for i = 0, 4 do
  4140. sphereMK(5,0.15*MagniBoost,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
  4141. end]]--
  4142. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  4143. wait(3)
  4144. orb:Destroy()
  4145. end))
  4146. end
  4147.  
  4148. function orb_spawn(positted,timer)
  4149. local orb = Instance.new("Part", char)
  4150. orb.Anchored = true
  4151. orb.BrickColor = BrickColor.new("White")
  4152.  
  4153. orb.CanCollide = false
  4154. orb.FormFactor = 3
  4155. orb.Name = "Ring"
  4156. orb.Material = "Neon"
  4157. orb.Size = Vector3.new(1, 1, 1)
  4158. orb.Transparency = 0
  4159. orb.TopSurface = 0
  4160. orb.BottomSurface = 0
  4161. local orbm = Instance.new("SpecialMesh", orb)
  4162. orbm.MeshType = "Sphere"
  4163. orb.CFrame = positted
  4164. orbm.Name = "SizeMesh"
  4165. orbm.Scale = vt(1,1,1)
  4166. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
  4167. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  4168. coroutine.wrap(function()
  4169. while orb and orb.Parent do
  4170. if glitchymode then
  4171. local val = math.random(1,255)
  4172. local color = Color3.fromRGB(val,val,val)
  4173. orb.Color = color
  4174. end
  4175. swait()
  4176. end
  4177. end)()
  4178. for i = 0, 2 do
  4179. sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  4180. end
  4181.  
  4182. coroutine.resume(coroutine.create(function()
  4183. wait(timer)
  4184. CameraEnshaking(3,2)
  4185. orb.Transparency = 1
  4186. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  4187. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  4188. for i = 0, 4 do
  4189. sphereMK(5,0.65,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
  4190. end
  4191. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
  4192. wait(3)
  4193. orb:Destroy()
  4194. end))
  4195. end
  4196.  
  4197. function scattercorrupt()
  4198. attack = true
  4199. local rot = 0
  4200. local randomrotations = math.random(1,2)
  4201. local lookv = 2.5
  4202. local power = 5
  4203. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Really black"))
  4204. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Really black"))
  4205. for i = 0, 9 do
  4206. sphereMK(1,1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,45,-0.1,BrickColor.new("Really black"),0)
  4207. end
  4208. CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
  4209. CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
  4210. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
  4211. CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
  4212. CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
  4213. local hite = Instance.new("Part", char)
  4214. hite.Anchored = true
  4215. hite.CanCollide = false
  4216. hite.FormFactor = 3
  4217. hite.Name = "Ring"
  4218. hite.Material = "Neon"
  4219. hite.Size = Vector3.new(1, 1, 1)
  4220. hite.Transparency = 1
  4221. hite.TopSurface = 0
  4222. hite.BottomSurface = 0
  4223. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  4224. local rem = Instance.new("Part", char)
  4225. rem.Anchored = true
  4226. rem.CanCollide = false
  4227. rem.FormFactor = 3
  4228. rem.Name = "Ring"
  4229. rem.Material = "Neon"
  4230. rem.Size = Vector3.new(1, 1, 1)
  4231. rem.Transparency = 1
  4232. rem.TopSurface = 0
  4233. rem.BottomSurface = 0
  4234. rem.CFrame = hite.CFrame
  4235. local rem2 = rem:Clone()
  4236. rem2.Parent = char
  4237. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4238. local rem3 = rem:Clone()
  4239. rem3.Parent = char
  4240. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4241. local rem4 = rem:Clone()
  4242. rem4.Parent = char
  4243. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4244. hite:Destroy()
  4245. coroutine.resume(coroutine.create(function()
  4246. for i = 0, 24 do
  4247. swait(1)
  4248. if randomrotations == 1 then
  4249. rot = rot + 1
  4250. elseif randomrotations == 2 then
  4251. rot = rot - 1
  4252. end
  4253. power = power + 0.5
  4254. lookv = lookv + 7.5
  4255. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4256. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4257. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4258. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4259. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Really black"),power,25,75,10,power/5,7.5)
  4260. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Really black"),power,25,75,10,power/5,7.5)
  4261. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Really black"),power,25,75,10,power/5,7.5)
  4262. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Really black"),power,25,75,10,power/5,7.5)
  4263. end
  4264. end))
  4265. attack = false
  4266. end
  4267. function yinyangi()
  4268. attack = true
  4269. for i = 0, 2, 0.1 do
  4270. swait()
  4271. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2)
  4272. 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(20)),.2)
  4273. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2)
  4274. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4275. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  4276. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  4277. end
  4278. local bv = Instance.new("BodyVelocity")
  4279. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4280. bv.velocity = root.CFrame.lookVector*175
  4281. bv.Parent = root
  4282. for Rotations = 0, 9 do
  4283.  
  4284. for i = 0, 1, 0.5 do
  4285. swait()
  4286. bv.velocity = root.CFrame.lookVector*175
  4287. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4288. 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(20)),.5)
  4289. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(90)),.5)
  4290. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4291. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4292. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4293. end
  4294.  
  4295. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4296. for i = 0, 1, 0.5 do
  4297. swait()
  4298. bv.velocity = root.CFrame.lookVector*175
  4299. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4300. 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(20)),.5)
  4301. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(180)),.5)
  4302. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4303. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4304. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4305. end
  4306.  
  4307. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4308. for i = 0, 1, 0.5 do
  4309. swait()
  4310. bv.velocity = root.CFrame.lookVector*175
  4311. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4312. 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(20)),.5)
  4313. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(270)),.5)
  4314. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4315. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4316. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4317. end
  4318.  
  4319. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4320. for i = 0, 1, 0.5 do
  4321. swait()
  4322. bv.velocity = root.CFrame.lookVector*175
  4323. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4324. 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(20)),.5)
  4325. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(360)),.5)
  4326. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4327. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4328. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4329. end
  4330.  
  4331. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4332. end
  4333. bv:Destroy()
  4334. attack = false
  4335. end
  4336.  
  4337. function JusticeBeam()
  4338. attack = true
  4339.  
  4340. local rngb = Instance.new("Part", char)
  4341. rngb.Anchored = true
  4342. rngb.BrickColor = origcolor
  4343. rngb.CanCollide = false
  4344. rngb.FormFactor = 3
  4345. rngb.Name = "Ring"
  4346. rngb.Material = "Neon"
  4347. rngb.Size = Vector3.new(1, 0.05, 1)
  4348. rngb.Transparency = 1
  4349. rngb.TopSurface = 0
  4350. rngb.BottomSurface = 0
  4351. local rngmb = Instance.new("SpecialMesh", rngb)
  4352. rngmb.MeshType = "Brick"
  4353. rngmb.Name = "SizeMesh"
  4354. rngmb.Scale = vt(0,1,0)
  4355.  
  4356. local orb = rngb:Clone()
  4357. orb.Parent = char
  4358. orb.Transparency = 0
  4359. orb.BrickColor = BrickColor.new("White")
  4360. orb.Size = vt(1,1,1)
  4361. local orbmish = orb.SizeMesh
  4362. orbmish.Scale = vt(0,0,0)
  4363. orbmish.MeshType = "Sphere"
  4364.  
  4365. local orbe = rngb:Clone()
  4366. orbe.Parent = char
  4367. orbe.Transparency = 0.5
  4368. orbe.BrickColor = BrickColor.new("New Yeller")
  4369. orbe.Size = vt(1,1,1)
  4370. local orbmish2 = orbe.SizeMesh
  4371. orbmish2.Scale = vt(0,0,0)
  4372. orbmish2.MeshType = "Sphere"
  4373. orbe.Color = Color3.new(1,1,1)
  4374.  
  4375. rngb:Destroy()
  4376. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4377. local scaled = 1
  4378. for i = 0,5,0.1 do
  4379. swait()
  4380. scaled = scaled - 0.02
  4381. if rainbowmode == true then
  4382. orbe.Color = Color3.new(r/255,g/255,b/255)
  4383. end
  4384. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4385. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4386. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4387. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4388. sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25)
  4389. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4390. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4391. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4392. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4393. 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(0)),.3)
  4394. 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(10),math.rad(0)),.3)
  4395. RootPart.CFrame = FaceMouse()[1]
  4396. end
  4397. for i = 0,5,0.1 do
  4398. swait()
  4399. if rainbowmode == true then
  4400. orbe.Color = Color3.new(r/255,g/255,b/255)
  4401. end
  4402. if glitchymode then
  4403. local val = math.random(1,255)
  4404. local color = Color3.fromRGB(val,val,val)
  4405. orbe.Color = color
  4406. end
  4407. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4408. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4409. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  4410. 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)),.1)
  4411. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4412. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  4413. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),0,math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
  4414. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),0,math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
  4415. end
  4416. orbe.Transparency = 1
  4417. orb.Transparency = 1
  4418. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  4419. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  4420. local a2 = Instance.new("Part",Character)
  4421. a2.Name = "Direction"
  4422. a2.Anchored = true
  4423. a2.BrickColor = bc("New Yeller")
  4424. a2.Color = Color3.new(1,1,1)
  4425. a2.Material = "Neon"
  4426. a2.Transparency = 0.5
  4427. a2.Shape = "Cylinder"
  4428. a2.CanCollide = false
  4429. local ba = Instance.new("Part",Character)
  4430. ba.Name = "HitDirect"
  4431. ba.Anchored = true
  4432. ba.BrickColor = bc("Cool yellow")
  4433. ba.Material = "Neon"
  4434. ba.Transparency = 1
  4435. ba.CanCollide = false
  4436. local ray = Ray.new(
  4437. orb.CFrame.p, -- origin
  4438. root.CFrame.lookVector.unit * 1000 -- direction
  4439. )
  4440. local ignore = Character
  4441. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4442. a2.Transparency = .75
  4443. a2.BottomSurface = 10
  4444. a2.TopSurface = 10
  4445. local distance = (orb.CFrame.p - position).magnitude
  4446. a2.Size = Vector3.new(distance, 1, 1)
  4447. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4448. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4449. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4450. game:GetService("Debris"):AddItem(a2, 20)
  4451. game:GetService("Debris"):AddItem(ba, 20)
  4452. local msh2 = Instance.new("SpecialMesh",a2)
  4453. msh2.MeshType = "Cylinder"
  4454. msh2.Scale = vt(1,6*5,6*5)
  4455.  
  4456. local snd = CFuncs.Sound.Create("rbxassetid://294188875", Torso, 10, 1)
  4457. for i = 1, 80*2 do
  4458. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  4459. 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)),.1)
  4460. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4461. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  4462. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),0,math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
  4463. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),0,math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
  4464. swait()
  4465. CameraEnshaking(1,5)
  4466. a2.Color = Color3.new(1,1,1)
  4467. a2.Transparency = .25
  4468. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4469. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4470. ray = Ray.new(
  4471. orb.CFrame.p, -- origin
  4472. root.CFrame.lookVector.unit * 1000 -- direction
  4473. )
  4474. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4475. distance = (orb.CFrame.p - position).magnitude
  4476. if typrot == 1 then
  4477. rotation = rotation + 2.5
  4478. elseif typrot == 2 then
  4479. rotation = rotation - 2.5
  4480. end
  4481. a2.Size = Vector3.new(distance, 1, 1)
  4482. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4483. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4484. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4485. msh2.Scale = msh2.Scale - vt(0,.19,.19)
  4486. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  4487. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  4488. MagniDamage(ba, 30, 5,25, 0, "Normal")
  4489. end
  4490. a2:Destroy()
  4491. ba:Destroy()
  4492. orb:Destroy()
  4493. orbe:Destroy()
  4494. attack = false
  4495. end
  4496.  
  4497. function Wip()
  4498. attack = true
  4499.  
  4500. local rngb = Instance.new("Part", char)
  4501. rngb.Anchored = true
  4502. rngb.BrickColor = origcolor
  4503. rngb.CanCollide = false
  4504. rngb.FormFactor = 3
  4505. rngb.Name = "Ring"
  4506. rngb.Material = "Neon"
  4507. rngb.Size = Vector3.new(1, 0.05, 1)
  4508. rngb.Transparency = 1
  4509. rngb.TopSurface = 0
  4510. rngb.BottomSurface = 0
  4511. local rngmb = Instance.new("SpecialMesh", rngb)
  4512. rngmb.MeshType = "Brick"
  4513. rngmb.Name = "SizeMesh"
  4514. rngmb.Scale = vt(0,1,0)
  4515.  
  4516. local orb = rngb:Clone()
  4517. orb.Parent = char
  4518. orb.Transparency = 0
  4519. orb.BrickColor = BrickColor.new("White")
  4520. orb.Size = vt(1,1,1)
  4521. local orbmish = orb.SizeMesh
  4522. orbmish.Scale = vt(0,0,0)
  4523. orbmish.MeshType = "Sphere"
  4524.  
  4525. local orbe = rngb:Clone()
  4526. orbe.Parent = char
  4527. orbe.Transparency = 0.5
  4528. orbe.BrickColor = BrickColor.new("New Yeller")
  4529. orbe.Size = vt(1,1,1)
  4530. local orbmish2 = orbe.SizeMesh
  4531. orbmish2.Scale = vt(0,0,0)
  4532. orbmish2.MeshType = "Sphere"
  4533. orbe.Color = Color3.new(r/255,g/255,b/255)
  4534.  
  4535. hum.AutoRotate = false
  4536. rngb:Destroy()
  4537. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4538. local scaled = 1
  4539. for i = 0,5,0.1 do
  4540. swait()
  4541. scaled = scaled - 0.02
  4542. if rainbowmode == true then
  4543. orbe.Color = Color3.new(r/255,g/255,b/255)
  4544. end
  4545. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4546. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4547. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4548. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4549. sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25)
  4550. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4551. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4552. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4553. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4554. 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(0)),.3)
  4555. 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(10),math.rad(0)),.3)
  4556. RootPart.CFrame = FaceMouse()[1]
  4557. end
  4558. for i = 0,5,0.1 do
  4559. swait()
  4560. if rainbowmode == true then
  4561. orbe.Color = Color3.new(r/255,g/255,b/255)
  4562. end
  4563. if glitchymode then
  4564. local val = math.random(1,255)
  4565. local color = Color3.fromRGB(val,val,val)
  4566. orbe.Color = color
  4567. end
  4568. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4569. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4570. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4571. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4572. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4573. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4574. 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(0)),.3)
  4575. 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(10),math.rad(0)),.3)
  4576. RootPart.CFrame = FaceMouse()[1]
  4577. end
  4578. orbe.Transparency = 1
  4579. orb.Transparency = 1
  4580. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  4581. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  4582. local a = Instance.new("Part",Character)
  4583. a.Name = "Direction"
  4584. a.Anchored = true
  4585. a.BrickColor = bc("White")
  4586. a.Material = "Neon"
  4587. a.Transparency = 0
  4588. a.Shape = "Cylinder"
  4589. a.CanCollide = false
  4590. local a2 = Instance.new("Part",Character)
  4591. a2.Name = "Direction"
  4592. a2.Anchored = true
  4593. a2.BrickColor = bc("New Yeller")
  4594. a2.Color = Color3.new(r/255,g/255,b/255)
  4595. a2.Material = "Neon"
  4596. a2.Transparency = 0.5
  4597. a2.Shape = "Cylinder"
  4598. a2.CanCollide = false
  4599. local ba = Instance.new("Part",Character)
  4600. ba.Name = "HitDirect"
  4601. ba.Anchored = true
  4602. ba.BrickColor = bc("Cool yellow")
  4603. ba.Material = "Neon"
  4604. ba.Transparency = 1
  4605. ba.CanCollide = false
  4606. local ray = Ray.new(
  4607. orb.CFrame.p, -- origin
  4608. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4609. )
  4610. local ignore = Character
  4611. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4612. a.BottomSurface = 10
  4613. a.TopSurface = 10
  4614. a2.BottomSurface = 10
  4615. a2.TopSurface = 10
  4616. local distance = (orb.CFrame.p - position).magnitude
  4617. a.Size = Vector3.new(distance, 1, 1)
  4618. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4619. a2.Size = Vector3.new(distance, 1, 1)
  4620. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4621. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4622. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4623. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4624. game:GetService("Debris"):AddItem(a, 20)
  4625. game:GetService("Debris"):AddItem(a2, 20)
  4626. game:GetService("Debris"):AddItem(ba, 20)
  4627. local msh = Instance.new("SpecialMesh",a)
  4628. msh.MeshType = "Cylinder"
  4629. msh.Scale = vt(1,5*5,5*5)
  4630. local msh2 = Instance.new("SpecialMesh",a2)
  4631. msh2.MeshType = "Cylinder"
  4632. msh2.Scale = vt(1,6*5,6*5)
  4633.  
  4634. for i = 0,10,0.1 do
  4635. swait()
  4636. CameraEnshaking(1,5)
  4637. a2.Color = Color3.new(r/255,g/255,b/255)
  4638. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4639. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4640. ray = Ray.new(
  4641. orb.CFrame.p, -- origin
  4642. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4643. )
  4644. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4645. distance = (orb.CFrame.p - position).magnitude
  4646. if typrot == 1 then
  4647. rotation = rotation + 2.5
  4648. elseif typrot == 2 then
  4649. rotation = rotation - 2.5
  4650. end
  4651. RootPart.CFrame = FaceMouse()[1]
  4652. a.Size = Vector3.new(distance, 1, 1)
  4653. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4654. a2.Size = Vector3.new(distance, 1, 1)
  4655. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4656. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4657. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4658. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4659. msh.Scale = msh.Scale - vt(0,0.05*5,0.05*5)
  4660. msh2.Scale = msh2.Scale - vt(0,0.06*5,0.06*5)
  4661. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  4662. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  4663. MagniDamage(ba, 30, 5,25, 0, "Normal")
  4664. end
  4665. a:Destroy()
  4666. a2:Destroy()
  4667. ba:Destroy()
  4668. orb:Destroy()
  4669. orbe:Destroy()
  4670. hum.AutoRotate = true
  4671. attack = false
  4672. end
  4673.  
  4674.  
  4675. function UniversalSpark()
  4676. attack = true
  4677.  
  4678. local rngb = Instance.new("Part", char)
  4679. rngb.Anchored = true
  4680. rngb.BrickColor = origcolor
  4681. rngb.CanCollide = false
  4682. rngb.FormFactor = 3
  4683. rngb.Name = "Ring"
  4684. rngb.Material = "Neon"
  4685. rngb.Size = Vector3.new(1, 0.05, 1)
  4686. rngb.Transparency = 1
  4687. rngb.TopSurface = 0
  4688. rngb.BottomSurface = 0
  4689. local rngmb = Instance.new("SpecialMesh", rngb)
  4690. rngmb.MeshType = "Brick"
  4691. rngmb.Name = "SizeMesh"
  4692. rngmb.Scale = vt(0,1,0)
  4693.  
  4694. local orb = rngb:Clone()
  4695. orb.Parent = char
  4696. orb.Transparency = 0
  4697. orb.BrickColor = BrickColor.new("White")
  4698. orb.Size = vt(1,1,1)
  4699. local orbmish = orb.SizeMesh
  4700. orbmish.Scale = vt(0,0,0)
  4701. orbmish.MeshType = "Sphere"
  4702.  
  4703. local orbe = rngb:Clone()
  4704. orbe.Parent = char
  4705. orbe.Transparency = 0.5
  4706. orbe.BrickColor = BrickColor.new("New Yeller")
  4707. orbe.Size = vt(1,1,1)
  4708. local orbmish2 = orbe.SizeMesh
  4709. orbmish2.Scale = vt(0,0,0)
  4710. orbmish2.MeshType = "Sphere"
  4711. orbe.Color = Color3.new(r/255,g/255,b/255)
  4712.  
  4713. rngb:Destroy()
  4714. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4715. local scaled = 1
  4716. for i = 0,5,0.1 do
  4717. swait()
  4718. scaled = scaled - 0.02
  4719. if rainbowmode == true then
  4720. orbe.Color = Color3.new(r/255,g/255,b/255)
  4721. end
  4722. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4723. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4724. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4725. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4726. sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25)
  4727. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4728. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4729. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4730. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4731. 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(0)),.3)
  4732. 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(10),math.rad(0)),.3)
  4733. RootPart.CFrame = FaceMouse()[1]
  4734. end
  4735. for i = 0,5,0.1 do
  4736. swait()
  4737. if rainbowmode == true then
  4738. orbe.Color = Color3.new(r/255,g/255,b/255)
  4739. end
  4740. if glitchymode then
  4741. local val = math.random(1,255)
  4742. local color = Color3.fromRGB(val,val,val)
  4743. orbe.Color = color
  4744. end
  4745. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4746. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4747. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4748. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4749. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4750. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4751. 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(0)),.3)
  4752. 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(10),math.rad(0)),.3)
  4753. RootPart.CFrame = FaceMouse()[1]
  4754. end
  4755. orbe.Transparency = 1
  4756. orb.Transparency = 1
  4757. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  4758. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  4759. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  4760. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  4761.  
  4762. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  4763. CFuncs["Sound"].Create("rbxassetid://741272936", char, 0.75, 1)
  4764. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  4765. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 0.75, 1)
  4766. CFuncs["Sound"].Create("rbxassetid://164881112", char, 0.75, 1)
  4767. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  4768. CFuncs["Sound"].Create("rbxassetid://164178927", char, 1, 1)
  4769. local xd= Instance.new("Sound",char)
  4770. xd.SoundId = "rbxassetid://445796828"
  4771. xd.Pitch = 0.75
  4772. xd.Looped = true
  4773. xd.Volume = 1.25
  4774. xd:Play()
  4775. local a = Instance.new("Part",Character)
  4776. a.Name = "Direction"
  4777. a.Anchored = true
  4778. a.BrickColor = bc("Alder")
  4779. a.Color = MAINRUINCOLOR.Color
  4780. a.Material = "Neon"
  4781. a.Transparency = 0.5
  4782. a.Shape = "Cylinder"
  4783. a.CanCollide = false
  4784. local a2 = Instance.new("Part",Character)
  4785. a2.Name = "Direction"
  4786. a2.Anchored = true
  4787. a2.BrickColor = bc("New Yeller")
  4788. a2.Color = MAINRUINCOLOR.Color
  4789. a2.Material = "Neon"
  4790. a2.Transparency = 0.5
  4791. a2.Shape = "Cylinder"
  4792. a2.CanCollide = false
  4793. local ba = Instance.new("Part",Character)
  4794. ba.Name = "HitDirect"
  4795. ba.Anchored = true
  4796. ba.BrickColor = bc("Cool yellow")
  4797. ba.Material = "Neon"
  4798. ba.Transparency = 1
  4799. ba.CanCollide = false
  4800. local ray = Ray.new(
  4801. orb.CFrame.p, -- origin
  4802. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4803. )
  4804. local ignore = Character
  4805. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4806. a.BottomSurface = 10
  4807. a.TopSurface = 10
  4808. a2.BottomSurface = 10
  4809. a2.TopSurface = 10
  4810. local distance = (orb.CFrame.p - position).magnitude
  4811. a.Size = Vector3.new(distance, 1, 1)
  4812. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4813. a2.Size = Vector3.new(distance, 1, 1)
  4814. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4815. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4816. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4817. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4818. game:GetService("Debris"):AddItem(a, 60)
  4819. game:GetService("Debris"):AddItem(a2, 60)
  4820. game:GetService("Debris"):AddItem(ba, 60)
  4821. local outerscale = 0
  4822. local msh = Instance.new("SpecialMesh",a)
  4823. msh.MeshType = "Cylinder"
  4824. msh.Scale = vt(1,0,0)
  4825. local msh2 = Instance.new("SpecialMesh",a2)
  4826. msh2.MeshType = "Cylinder"
  4827. msh2.Scale = vt(1,0,0)
  4828. for i = 0,2,0.1 do
  4829. swait()
  4830. CameraEnshaking(1,1)
  4831. msh2.Scale = msh2.Scale + vt(0,outerscale*20,outerscale*20)
  4832. msh.Scale = msh.Scale + vt(0,outerscale*15,outerscale*15)
  4833. outerscale = outerscale - 0.015
  4834. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4835. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4836. ray = Ray.new(
  4837. orb.CFrame.p, -- origin
  4838. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4839. )
  4840. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4841. distance = (orb.CFrame.p - position).magnitude
  4842. if typrot == 1 then
  4843. rotation = rotation + 2.5
  4844. elseif typrot == 2 then
  4845. rotation = rotation - 2.5
  4846. end
  4847. RootPart.CFrame = FaceMouse()[1]
  4848. a.Size = Vector3.new(distance, 1, 1)
  4849. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4850. a2.Size = Vector3.new(distance, 1, 1)
  4851. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4852. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4853. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4854. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4855. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4856. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4857. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4858. end
  4859. for z = 0, 2 do
  4860. for i = 0,4,0.1 do
  4861. swait()
  4862. CameraEnshaking(1,1)
  4863. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  4864. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  4865. outerscale = outerscale + 0.015
  4866. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4867. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4868. ray = Ray.new(
  4869. orb.CFrame.p, -- origin
  4870. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4871. )
  4872. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4873. distance = (orb.CFrame.p - position).magnitude
  4874. if typrot == 1 then
  4875. rotation = rotation + 2.5
  4876. elseif typrot == 2 then
  4877. rotation = rotation - 2.5
  4878. end
  4879. RootPart.CFrame = FaceMouse()[1]
  4880. a.Size = Vector3.new(distance, 1, 1)
  4881. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4882. a2.Size = Vector3.new(distance, 1, 1)
  4883. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4884. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4885. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4886. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4887. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4888. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4889. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4890. end
  4891. for i = 0,4,0.1 do
  4892. swait()
  4893. CameraEnshaking(1,1)
  4894. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  4895. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  4896. outerscale = outerscale - 0.015
  4897. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4898. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4899. ray = Ray.new(
  4900. orb.CFrame.p, -- origin
  4901. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4902. )
  4903. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4904. distance = (orb.CFrame.p - position).magnitude
  4905. if typrot == 1 then
  4906. rotation = rotation + 2.5
  4907. elseif typrot == 2 then
  4908. rotation = rotation - 2.5
  4909. end
  4910. RootPart.CFrame = FaceMouse()[1]
  4911. a.Size = Vector3.new(distance, 1, 1)
  4912. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4913. a2.Size = Vector3.new(distance, 1, 1)
  4914. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4915. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4916. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4917. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4918. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4919. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4920. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4921. end
  4922. end
  4923. for i = 0,4,0.1 do
  4924. swait()
  4925. CameraEnshaking(1,1)
  4926. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  4927. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  4928. xd.Volume = xd.Volume - 0.025
  4929. a.Transparency = a.Transparency + 0.025
  4930. a2.Transparency = a2.Transparency + 0.025
  4931. outerscale = outerscale - 0.015
  4932. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4933. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4934. ray = Ray.new(
  4935. orb.CFrame.p, -- origin
  4936. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4937. )
  4938. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4939. distance = (orb.CFrame.p - position).magnitude
  4940. if typrot == 1 then
  4941. rotation = rotation + 2.5
  4942. elseif typrot == 2 then
  4943. rotation = rotation - 2.5
  4944. end
  4945. RootPart.CFrame = FaceMouse()[1]
  4946. a.Size = Vector3.new(distance, 1, 1)
  4947. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4948. a2.Size = Vector3.new(distance, 1, 1)
  4949. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4950. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4951. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4952. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4953. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4954. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4955. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4956. end
  4957. xd:Destroy()
  4958. a:Destroy()
  4959. a2:Destroy()
  4960. ba:Destroy()
  4961. orb:Destroy()
  4962. orbe:Destroy()
  4963. attack = false
  4964. end
  4965.  
  4966.  
  4967.  
  4968. function attackone()
  4969. attack = true
  4970. for i = 0,1,0.1 do
  4971. swait()
  4972. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2)
  4973. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2)
  4974. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  4975. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  4976. RH.C0=clerp(RH.C0,cf(1,-1 - 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)),.2)
  4977. 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(10)),.2)
  4978. end
  4979. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1)
  4980.  
  4981. local hitb = Instance.new("Part", char)
  4982. hitb.Anchored = true
  4983. hitb.CanCollide = false
  4984. hitb.FormFactor = 3
  4985. hitb.Name = "Ring"
  4986. hitb.Material = "Neon"
  4987. hitb.Size = Vector3.new(1, 1, 1)
  4988. hitb.Transparency = 1
  4989. hitb.TopSurface = 0
  4990. hitb.BottomSurface = 0
  4991. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  4992. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  4993. hitb:Destroy()
  4994. for i = 0,1,0.1 do
  4995. swait()
  4996. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4)
  4997. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4)
  4998. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
  4999. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
  5000. RH.C0=clerp(RH.C0,cf(1,-1 - 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(-40)),.4)
  5001. 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(-10)),.4)
  5002. end
  5003.  
  5004. attack = false
  5005. end
  5006.  
  5007. function attacktwo()
  5008. attack = true
  5009. for i = 0,1,0.1 do
  5010. swait()
  5011. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2)
  5012. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  5013. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  5014. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  5015. RH.C0=clerp(RH.C0,cf(1,-1 - 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)),.2)
  5016. 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(10)),.2)
  5017. end
  5018. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1)
  5019. local hitb = Instance.new("Part", char)
  5020. hitb.Anchored = true
  5021. hitb.CanCollide = false
  5022. hitb.FormFactor = 3
  5023. hitb.Name = "Ring"
  5024. hitb.Material = "Neon"
  5025. hitb.Size = Vector3.new(1, 1, 1)
  5026. hitb.Transparency = 1
  5027. hitb.TopSurface = 0
  5028. hitb.BottomSurface = 0
  5029. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  5030. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  5031. hitb:Destroy()
  5032. for i = 0,1,0.1 do
  5033. swait()
  5034. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4)
  5035. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4)
  5036. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
  5037. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
  5038. 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(-5),math.rad(0),math.rad(-40)),.4)
  5039. 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(-10)),.4)
  5040. end
  5041. attack = false
  5042. end
  5043.  
  5044. function attackthree()
  5045. attack = true
  5046. for i = 0,1,0.1 do
  5047. swait()
  5048. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3)
  5049. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3)
  5050. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
  5051. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5052. 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(0)),.3)
  5053. 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(10),math.rad(0)),.3)
  5054. end
  5055. local distlook = 5
  5056. for i = 0, 4 do
  5057. swait(2)
  5058. CameraEnshaking(2,3)
  5059. local hite = Instance.new("Part", char)
  5060. hite.Anchored = true
  5061. hite.CanCollide = false
  5062. hite.FormFactor = 3
  5063. hite.Name = "Ring"
  5064. hite.Material = "Neon"
  5065. hite.Size = Vector3.new(1, 1, 1)
  5066. hite.Transparency = 1
  5067. hite.TopSurface = 0
  5068. hite.BottomSurface = 0
  5069. hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook
  5070. sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR)
  5071. sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR)
  5072. MagniDamage(hite, 10, 15,35, 0, "Normal")
  5073. for i = 0, 2 do
  5074. sphereMK(2,0.2,"Add",rarm.CFrame*CFrame.Angles(math.rad(-90+math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  5075. sphereMK(3,0.2,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  5076. sphereMK(6,0.35,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  5077. end
  5078. CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1)
  5079. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6)
  5080. game:GetService("Debris"):AddItem(hite, 5)
  5081. distlook = distlook + 10
  5082. end
  5083. attack = false
  5084. end
  5085.  
  5086. function FinalCalamity()
  5087. end
  5088.  
  5089. function resetmode()
  5090. rainbowmode = false
  5091. chaosmode = false
  5092. glitchymode = false
  5093. tl1.Enabled = false
  5094. tl2.Enabled = false
  5095. tl3.Enabled = false
  5096. local death = ModeOfGlitch == 69
  5097. ModeOfGlitch = 1
  5098. storehumanoidWS = 16
  5099. if(not death)then
  5100. newTheme("rbxassetid://169109535",48.6,1,1)
  5101. end
  5102. coroutine.resume(coroutine.create(function()
  5103. attack = true
  5104. hum.WalkSpeed = 0
  5105. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5106. for i = 0,4,0.1 do
  5107. swait()
  5108. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5109. 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(30)),.2)
  5110. 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(0),math.rad(-30)),.2)
  5111. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5112. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5113. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5114. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5115. end
  5116. if(death)then
  5117. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5118. sphere(2.5,"Add",root.CFrame*angles(0,0,0),vt(100,100,2),1.25,BrickColor.new'Really black',true,true)
  5119. for i = 0, 49 do
  5120. PixelBlock(1,15,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*cf(0,0,-80),6,6,6,0.12,BrickColor.new("Really black"),0,true,true)
  5121. end
  5122.  
  5123. for i = 0,4,0.05 do
  5124. swait()
  5125. Pitch = 1-i/4
  5126. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5127. 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(30)),.2)
  5128. 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(0),math.rad(-30)),.2)
  5129. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5130. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5131. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5132. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5133. end
  5134. for i = 0,3,0.1 do
  5135. swait()
  5136. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5137. 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(30)),.2)
  5138. 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(0),math.rad(-30)),.2)
  5139. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5140. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5141. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5142. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5143. end
  5144. newTheme("rbxassetid://169109535",48.6,1,1)
  5145. end
  5146. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5147. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5148. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5149. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5150. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end)
  5151. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end)
  5152. RecolorTextAndRename("Darkness",Color3.new(0,0,0),Color3.new(1,1,1))
  5153. CameraEnshaking(5,2.5)
  5154. MAINRUINCOLOR = BrickColor.new("Really black")
  5155. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5156. for i = 0, 49 do
  5157. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  5158. end
  5159. for i = 0,3,0.1 do
  5160. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  5161. end
  5162. for i, v in pairs(mw2:GetChildren()) do
  5163. if v:IsA("Part") then
  5164. v.BrickColor = BrickColor.new("Really black")
  5165. v.Material = "Neon"
  5166. end
  5167. end
  5168. for i, v in pairs(mw1:GetChildren()) do
  5169. if v:IsA("Part") then
  5170. v.Transparency = 1
  5171. v.BrickColor = BrickColor.new("Really black")
  5172. v.Material = "Neon"
  5173. end
  5174. end
  5175. for i, v in pairs(m:GetChildren()) do
  5176. if v:IsA("Part") then
  5177. v.BrickColor = BrickColor.new("Really black")
  5178. v.Material = "Neon"
  5179. end
  5180. end
  5181. for i, v in pairs(m2:GetChildren()) do
  5182. if v:IsA("Part") then
  5183. v.BrickColor = BrickColor.new("Bright bluish green")
  5184. v.Material = "Granite"
  5185. end
  5186. end
  5187. for i, v in pairs(m3:GetChildren()) do
  5188. if v:IsA("Part") then
  5189. v.BrickColor = BrickColor.new("Really black")
  5190. v.Material = "Neon"
  5191. end
  5192. end
  5193. for i, v in pairs(extrawingmod1:GetChildren()) do
  5194. if v:IsA("Part") then
  5195. v.Transparency = 1
  5196. v.BrickColor = BrickColor.new("White")
  5197. v.Material = "Neon"
  5198. end
  5199. end
  5200. for i, v in pairs(extrawingmod2:GetChildren()) do
  5201. if v:IsA("Part") then
  5202. v.Transparency = 1
  5203. v.BrickColor = BrickColor.new("White")
  5204. v.Material = "Neon"
  5205. end
  5206. end
  5207. for i = 0,2,0.1 do
  5208. swait()
  5209. 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(-30)),.2)
  5210. 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(0),math.rad(30)),.2)
  5211. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  5212. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.2)
  5213. RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.2)
  5214. LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.2)
  5215. end
  5216. hum.WalkSpeed = storehumanoidWS
  5217. attack = false
  5218. end))
  5219. end
  5220.  
  5221.  
  5222.  
  5223. function outerbeam()
  5224. attack = true
  5225. hum.WalkSpeed = 5
  5226. local trail = Instance.new("ParticleEmitter",sorb2)
  5227. trail.LightEmission = 0
  5228. trail.Color = ColorSequence.new(origcolor.Color)
  5229. trail.Rate = 5000
  5230. trail.Lifetime = NumberRange.new(0.5)
  5231. trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,2,0)})
  5232. trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5233. trail.Speed = NumberRange.new(0,0)
  5234. trail.EmissionDirection = "Front"
  5235. trail.Rotation = NumberRange.new(-500,500)
  5236. trail.RotSpeed = NumberRange.new(-500,500)
  5237. local trail2 = Instance.new("ParticleEmitter",sorb2)
  5238. trail2.LightEmission = 0
  5239. trail2.Texture = "rbxassetid://254287058"
  5240. trail2.Color = ColorSequence.new(origcolor.Color)
  5241. trail2.Rate = 25
  5242. trail2.Lifetime = NumberRange.new(1)
  5243. trail2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)})
  5244. trail2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)})
  5245. trail2.Speed = NumberRange.new(0,0)
  5246. trail2.EmissionDirection = "Front"
  5247. trail2.Rotation = NumberRange.new(-1000,1000)
  5248. trail2.RotSpeed = NumberRange.new(-1000,1000)
  5249. CFuncs["Sound"].Create("rbxassetid://1256695951", sorb2, 1, 1.15)
  5250. for i = 0,10,0.1 do
  5251. swait()
  5252. RingEffect(sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,-0.25,BrickColor.new("Really black"))
  5253. RingEffect(sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,0.1,BrickColor.new("Really black"))
  5254. MagicBlock(BrickColor.new("Really black"),sorb2.CFrame,1.5,1.5,1.5,0.05,0.05,0.05,0.05)
  5255. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.2)
  5256. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.2)
  5257. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.2)
  5258. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-80)), 0.2)
  5259. RH.C0=clerp(RH.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(0)),.1)
  5260. 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(0)),.1)
  5261. root.CFrame = FaceMouse()[1]
  5262. end
  5263. for i = 0, 4 do
  5264. wait(0.25)
  5265. RingEffect(sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,-0.25,BrickColor.new("Really black"))
  5266. RingEffect(sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,0.1,BrickColor.new("Really black"))
  5267. MagicBlock(BrickColor.new("Really black"),sorb2.CFrame,1.5,1.5,1.5,0.05,0.05,0.05,0.05)
  5268. root.CFrame = FaceMouse()[1]
  5269. CFuncs["Sound"].Create("rbxassetid://1256695105", sorb2, 1, 1.25)
  5270. local a = Instance.new("Part",Character)
  5271. a.Name = "Direction"
  5272. a.Anchored = true
  5273. a.BrickColor = bc("Really black")
  5274. a.Material = "Neon"
  5275. a.Transparency = 1
  5276. a.CanCollide = false
  5277. local ray = Ray.new(
  5278. sorb2.CFrame.p, -- origin
  5279. (mouse.Hit.p - sorb2.CFrame.p).unit * 500 -- direction
  5280. )
  5281. local ignore = Character
  5282. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5283. a.BottomSurface = 10
  5284. a.TopSurface = 10
  5285. local distance = (root.CFrame.p - position).magnitude
  5286. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5287. a.CFrame = CFrame.new(sorb2.CFrame.p, position) * CFrame.new(0, 0, 0)
  5288. local lb = Instance.new("Part")
  5289. lb.Parent = char
  5290. lb.BrickColor = BrickColor.new("Really black")
  5291. lb.CanCollide = false
  5292. lb.Material = "Neon"
  5293. lb.Anchored = true
  5294. lb.TopSurface = 0
  5295. lb.BottomSurface = 0
  5296. lb.Transparency = 0.5
  5297. lb.Size = vt(1,1,1)
  5298. lb.CFrame = a.CFrame
  5299. lb.Anchored = false
  5300. local thingery = Instance.new("SpecialMesh",lb)
  5301. thingery.MeshType = "Sphere"
  5302. thingery.Scale = vt(2,2,2)
  5303. game:GetService("Debris"):AddItem(lb, 10)
  5304. local bv = Instance.new("BodyVelocity")
  5305. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5306. bv.velocity = a.CFrame.lookVector*250
  5307. bv.Parent = lb
  5308. local traile = Instance.new("ParticleEmitter",lb)
  5309. traile.LightEmission = 0
  5310. traile.Texture = "rbxassetid://254287058"
  5311. traile.Color = ColorSequence.new(origcolor.Color)
  5312. traile.Rate = 2500
  5313. traile.Lifetime = NumberRange.new(0.5)
  5314. traile.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.5,0),NumberSequenceKeypoint.new(1,0,0)})
  5315. traile.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)})
  5316. traile.Speed = NumberRange.new(0,0)
  5317. traile.EmissionDirection = "Front"
  5318. traile.Rotation = NumberRange.new(-1000,1000)
  5319. traile.RotSpeed = NumberRange.new(-1000,1000)
  5320. local trailq = Instance.new("ParticleEmitter",lb)
  5321. trailq.LightEmission = 0
  5322. trailq.Color = ColorSequence.new(Color3.new(0,0,0))
  5323. trailq.Rate = 5000
  5324. trailq.Lifetime = NumberRange.new(0.1)
  5325. trailq.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,10,0)})
  5326. trailq.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  5327. trailq.Speed = NumberRange.new(0,1)
  5328. trailq.VelocitySpread = 100000
  5329. trailq.LockedToPart = true
  5330. trailq.EmissionDirection = "Front"
  5331. trailq.Rotation = NumberRange.new(-500,500)
  5332. trailq.RotSpeed = NumberRange.new(-500,500)
  5333. local hitted = false
  5334. game:GetService("Debris"):AddItem(a, 0.1)
  5335. wait(0.01)
  5336. lb.Touched:connect(function(hit)
  5337. if hitted == false then
  5338. hitted = true
  5339. lb.Anchored = true
  5340. traile.Enabled = false
  5341. trailq.Enabled = false
  5342. lb.Transparency = 1
  5343. CFuncs["Sound"].Create("rbxassetid://142070127", lb, 2.5, 1)
  5344. sphere(2.25,"Add",lb.CFrame,vt(0,0,0),0.55,origcolor)
  5345. sphere(2.25,"Add",lb.CFrame,vt(0,0,0),0.4,BrickColor.new("Really black"))
  5346. MagniDamage(lb, 100,100,100,100, "Normal")
  5347. for i = 0, 9 do
  5348. RingEffect(lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,3,BrickColor.new("Really black"))
  5349. RingEffect(lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,6,BrickColor.new("Really black"))
  5350. end
  5351. --Explode(7.5,lb,1,1,10,15)
  5352. end
  5353. end)
  5354. end
  5355. trail.Enabled = false
  5356. game:GetService("Debris"):AddItem(trail, 2)
  5357. trail2.Enabled = false
  5358. game:GetService("Debris"):AddItem(trail2, 3)
  5359. hum.WalkSpeed = 16
  5360. attack = false
  5361. end
  5362.  
  5363.  
  5364. function RingEffect(pos,startsize,size,col)
  5365. local lb = Instance.new("Part")
  5366. lb.Parent = char
  5367. lb.BrickColor = col
  5368. lb.CanCollide = false
  5369. lb.Material = "Neon"
  5370. lb.Anchored = true
  5371. lb.TopSurface = 0
  5372. lb.BottomSurface = 0
  5373. lb.Transparency = 1
  5374. lb.Size = vt(1,1,1)
  5375. lb.CFrame = pos
  5376. local thingery = Instance.new("SpecialMesh",lb)
  5377. thingery.MeshType = "Brick"
  5378. thingery.Scale = vt(startsize,0.1,startsize)
  5379. local dec2 = Instance.new("Texture", lb)
  5380. dec2.Face = "Top"
  5381. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  5382. dec2.Color3 = lb.Color
  5383. dec2.Parent = lb
  5384. dec2.StudsPerTileU = startsize
  5385. dec2.StudsPerTileV = startsize
  5386. local dec2b = dec2:Clone()
  5387. dec2b.Face = "Bottom"
  5388. dec2b.Parent = lb
  5389. local randomrot = math.random(1,2)
  5390. coroutine.resume(coroutine.create(function()
  5391. for i = 0, 19 do
  5392. swait()
  5393. if randomrot == 1 then
  5394. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(5),0)
  5395. elseif randomrot == 2 then
  5396. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(-5),0)
  5397. end
  5398. dec2.Transparency = dec2.Transparency + 0.05
  5399. dec2b.Transparency = dec2b.Transparency + 0.05
  5400. dec2.StudsPerTileU = dec2.StudsPerTileU + size
  5401. dec2.StudsPerTileV = dec2.StudsPerTileV + size
  5402. dec2b.StudsPerTileU = dec2b.StudsPerTileU + size
  5403. dec2b.StudsPerTileV = dec2b.StudsPerTileV + size
  5404. thingery.Scale = thingery.Scale + vt(size,0,size)
  5405. end
  5406. lb:Destroy()
  5407. end))
  5408. end
  5409.  
  5410.  
  5411. function inpulse()
  5412. attack = true
  5413. hum.WalkSpeed = 0
  5414. CFuncs["Sound"].Create("rbxassetid://569564686", root, 1.5, 1)
  5415. CFuncs["Sound"].Create("rbxassetid://1256698605", root, 0.5, 0.5)
  5416. for i = 0,5,0.1 do
  5417. swait()
  5418. MagicBlock(origcolor,sorb.CFrame,1,1,1,0.05,0.05,0.05,0.05)
  5419. MagicBlock(origcolor,sorb2.CFrame,1,1,1,0.05,0.05,0.05,0.05)
  5420. RingEffect(sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,-0.05,BrickColor.new("Really black"))
  5421. RingEffect(sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,-0.05,BrickColor.new("Really black"))
  5422. RingEffect(root.CFrame*CFrame.Angles(0,math.rad(math.random(-360,360)),0),75,math.random(-1,1),origcolor)
  5423. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  5424. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  5425. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  5426. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  5427. RH.C0=clerp(RH.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(0)),.1)
  5428. 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(0)),.1)
  5429. end
  5430. CFuncs["Sound"].Create("rbxassetid://621522790", root, 4, 1)
  5431. CFuncs["Sound"].Create("rbxassetid://533243953", root, 6, 1)
  5432. CFuncs["Sound"].Create("rbxassetid://621522959", root, 0.25, 1)
  5433. sphere(1,"Add",root.CFrame,vt(60,60,60),-1.25,BrickColor.new("Really black"))
  5434. sphere(1,"Add",root.CFrame,vt(55,55,55),-1.25,origcolor)
  5435. MagniDamage(root, 45, 10,28, 0, "Normal")
  5436. for i = 0, 9 do
  5437. RingEffect(root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),math.random(100,150),math.random(-8,-3),BrickColor.new("Really black"))
  5438. RingEffect(root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),math.random(100,150),math.random(1,2),BrickColor.new("Really black"))
  5439. end
  5440. for i = 0,4,0.1 do
  5441. swait()
  5442. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  5443. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  5444. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(-40)), 0.2)
  5445. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(40)), 0.2)
  5446. RH.C0=clerp(RH.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(0)),.1)
  5447. 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(0)),.1)
  5448. end
  5449. hum.WalkSpeed = 16
  5450. attack = false
  5451. end
  5452.  
  5453.  
  5454.  
  5455. function deathmode()
  5456.  
  5457. ModeOfGlitch = 69
  5458. storehumanoidWS = 16
  5459. rainbowmode = false
  5460. chaosmode = false
  5461. glitchymode = false
  5462. tl1.Enabled = true
  5463. tl2.Enabled = true
  5464. tl3.Enabled = true
  5465. newThemeCust("rbxassetid://661079869",0,1,1)
  5466. coroutine.wrap(function()
  5467. attack = true
  5468. hum.WalkSpeed = 0
  5469. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5470. for i = 0,4,0.1 do
  5471. swait()
  5472. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5473. 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(30)),.2)
  5474. 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(0),math.rad(-30)),.2)
  5475. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5476. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5477. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5478. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5479. end
  5480. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5481. sphere(2.5,"Add",root.CFrame*cf(0,0,0),vt(0,0,2),1.5,BrickColor.new'Really black',true)
  5482.  
  5483. for i = 0,4,0.1 do
  5484. swait()
  5485. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5486. 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(30)),.2)
  5487. 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(0),math.rad(-30)),.2)
  5488. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5489. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5490. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5491. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5492. end
  5493. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5494. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5495. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5496. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5497. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really black' end)
  5498. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really black' end)
  5499. CameraEnshaking(5,2.5)
  5500. MAINRUINCOLOR = BrickColor.new("Really black")
  5501. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5502. for i = 0,3,0.1 do
  5503. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0,true)
  5504. end
  5505. RecolorTextAndRename("Death",Color3.new(0,0,0),BrickColor.new'Really black'.Color)
  5506. for i, v in pairs(mw2:GetChildren()) do
  5507. if v:IsA("Part") then
  5508. v.BrickColor = MAINRUINCOLOR
  5509. v.Material = "Neon"
  5510. end
  5511. end
  5512. for i, v in pairs(mw1:GetChildren()) do
  5513. if v:IsA("Part") then
  5514. v.Transparency = 0
  5515. v.BrickColor = MAINRUINCOLOR
  5516. v.Material = "Neon"
  5517. end
  5518. end
  5519. for i, v in pairs(m:GetChildren()) do
  5520. if v:IsA("Part") then
  5521. v.BrickColor = BrickColor.new("Really black")
  5522. v.Material = "Ice"
  5523. end
  5524. end
  5525. for i, v in pairs(m2:GetChildren()) do
  5526. if v:IsA("Part") then
  5527. v.BrickColor = BrickColor.new("Really black")
  5528. v.Material = "Neon"
  5529. end
  5530. end
  5531. for i, v in pairs(m3:GetChildren()) do
  5532. if v:IsA("Part") then
  5533. v.BrickColor = BrickColor.new("Really black")
  5534. v.Material = "Neon"
  5535. end
  5536. end
  5537. for i, v in pairs(extrawingmod1:GetChildren()) do
  5538. if v:IsA("Part") then
  5539. v.Transparency = 0
  5540. v.BrickColor = BrickColor.new("Really black")
  5541. v.Material = "Neon"
  5542. end
  5543. end
  5544. for i, v in pairs(extrawingmod2:GetChildren()) do
  5545. if v:IsA("Part") then
  5546. v.Transparency = 0
  5547. v.BrickColor = BrickColor.new("Really black")
  5548. v.Material = "Neon"
  5549. end
  5550. end
  5551. for i = 0,2,0.1 do
  5552. swait()
  5553. 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(-30)),.2)
  5554. 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(0),math.rad(30)),.2)
  5555. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  5556. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.2)
  5557. RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.2)
  5558. LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.2)
  5559. end
  5560. hum.WalkSpeed = storehumanoidWS
  5561. attack = false
  5562. end)()
  5563. end
  5564.  
  5565. function insanitymode()
  5566. storehumanoidWS = 16
  5567. hum.WalkSpeed = 0
  5568. rainbowmode = false
  5569. glitchymode = false
  5570. chaosmode = true
  5571. tl1.Enabled = true
  5572. tl2.Enabled = true
  5573. tl3.Enabled = true
  5574. tl4.Enabled = true
  5575. tl5.Enabled = true
  5576. tl6.Enabled = true
  5577. tr4.Enabled = true
  5578. tr5.Enabled = true
  5579. tr6.Enabled = true
  5580. local death = ModeOfGlitch == 69
  5581. newTheme("rbxassetid://919231299",0,1,1)
  5582. coroutine.resume(coroutine.create(function()
  5583. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5584. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5585. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5586. attack = true
  5587. hum.WalkSpeed = 0
  5588. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5589. for i = 0,4,0.1 do
  5590. swait()
  5591. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5592. 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(30)),.2)
  5593. 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(0),math.rad(-30)),.2)
  5594. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5595. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5596. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5597. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5598. end
  5599. for i = 0,8,0.1 do
  5600. swait()
  5601. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5602. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,.035,MAINRUINCOLOR,0)
  5603. 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(30)),.2)
  5604. 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(0),math.rad(-30)),.2)
  5605. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5606. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5607. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5608. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5609. end
  5610.  
  5611. for i = 0,3,0.1 do
  5612. swait()
  5613. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5614. 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(30)),.2)
  5615. 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(0),math.rad(-30)),.2)
  5616. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5617. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5618. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5619. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5620. end
  5621. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5622. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5623. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5624. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5625. CameraEnshaking(5,2.5)
  5626. MAINRUINCOLOR = BrickColor.new("Black")
  5627. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5628. for i = 0, 49 do
  5629. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  5630. end
  5631. for i = 0,3,0.1 do
  5632. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  5633. end
  5634. ModeOfGlitch = 666666
  5635. for i, v in pairs(mw2:GetChildren()) do
  5636. if v:IsA("Part") then
  5637. v.BrickColor = MAINRUINCOLOR
  5638. v.Material = "Neon"
  5639. end
  5640. end
  5641. for i, v in pairs(mw1:GetChildren()) do
  5642. if v:IsA("Part") then
  5643. v.Transparency = 0.75
  5644. v.BrickColor = BrickColor.new("Really black")
  5645. v.Material = "Neon"
  5646. end
  5647. end
  5648. for i, v in pairs(m:GetChildren()) do
  5649. if v:IsA("Part") then
  5650. v.BrickColor = BrickColor.new("Black")
  5651. v.Material = "Neon"
  5652. end
  5653. end
  5654. for i, v in pairs(m2:GetChildren()) do
  5655. if v:IsA("Part") then
  5656. v.BrickColor = BrickColor.new("Really black")
  5657. v.Material = "Neon"
  5658. end
  5659. end
  5660. for i, v in pairs(m3:GetChildren()) do
  5661. if v:IsA("Part") then
  5662. v.BrickColor = BrickColor.new("Black")
  5663. v.Material = "Neon"
  5664. end
  5665. end
  5666. for i, v in pairs(extrawingmod1:GetChildren()) do
  5667. if v:IsA("Part") then
  5668. v.Transparency = .75
  5669. v.BrickColor = BrickColor.new("Really black")
  5670. v.Material = "Neon"
  5671. end
  5672. end
  5673. for i, v in pairs(extrawingmod2:GetChildren()) do
  5674. if v:IsA("Part") then
  5675. v.Transparency = 0
  5676. v.BrickColor = BrickColor.new("Black")
  5677. v.Material = "Neon"
  5678. end
  5679. end
  5680. for i = 0,2,0.1 do
  5681. swait()
  5682. 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(-30)),.2)
  5683. 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(0),math.rad(30)),.2)
  5684. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  5685. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 10 * math.cos(sine / 0.2))),.2)
  5686. RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2)))*angles(0,0,math.rad(0 - 10 * math.cos(sine / 0.2))),.2)
  5687. LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2)))*angles(0,0,math.rad(0 - 10 * math.cos(sine / 0.2))),.2)
  5688. end
  5689. hum.WalkSpeed = storehumanoidWS
  5690. attack = false
  5691. end))
  5692. end
  5693.  
  5694.  
  5695.  
  5696.  
  5697.  
  5698. local attacktype = 1
  5699. mouse.Button1Down:connect(function()
  5700. if attack == false and attacktype == 1 then
  5701. attacktype = 2
  5702. attackone()
  5703. elseif attack == false and attacktype == 2 then
  5704. attacktype = 3
  5705. attacktwo()
  5706. elseif attack == false and attacktype == 3 then
  5707. attacktype = 1
  5708. attackthree()
  5709. elseif attack == false and attacktype == 4 then
  5710. attacktype = 1
  5711. --attackfour()
  5712. end
  5713. end)
  5714.  
  5715. function Judgement()
  5716. attack = true
  5717. hum.WalkSpeed = 0
  5718. local p = Instance.new("Part",root)
  5719. p.Anchored = true
  5720. p.CanCollide = false
  5721. p.BrickColor = MAINRUINCOLOR
  5722. p.Material = Enum.Material.Neon
  5723. p.Size = Vector3.new(1,1,1)
  5724. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  5725. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  5726. local m = Instance.new("SpecialMesh",p)
  5727. m.MeshType = "Cylinder"
  5728. m.Scale = Vector3.new(2000,2,2)
  5729. local targ = Instance.new("Part",root)
  5730. targ.Transparency = 1
  5731. targ.CanCollide = false
  5732. targ.Size = Vector3.new(1,1,1)
  5733. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  5734. CFuncs.Sound.Create("rbxassetid://164178927", targ, 5, 1)
  5735. CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1)
  5736. for i = 1,15 do
  5737. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  5738. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
  5739. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  5740. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  5741. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  5742. 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(-20)),.2)
  5743. 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(10),math.rad(20)),.2)
  5744. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR)
  5745. sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 7, -0.005, MAINRUINCOLOR, 0)
  5746. m.Scale = m.Scale+Vector3.new(0,1,1)
  5747. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  5748. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  5749. swait()
  5750. end
  5751. sphereMK(3, 0.2, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0)
  5752. for i = 1,200 do
  5753. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  5754. sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 3, 3, 15, -0.005, MAINRUINCOLOR, 0)
  5755. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR)
  5756. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  5757. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  5758. MagniDamage(targ, 25, 5, 8, 0, "Normal")
  5759. swait()
  5760. end
  5761. for i =1,15 do
  5762. m.Scale = m.Scale-Vector3.new(1,1,1)
  5763. p.Transparency = i / 15
  5764. swait()
  5765. end
  5766. p:Destroy()
  5767. hum.WalkSpeed = storehumanoidWS
  5768. attack = false
  5769. end
  5770.  
  5771. local ODerDB = false
  5772. function ChooseODer()
  5773. if(not ODerDB)then
  5774. coroutine.wrap(function()
  5775.  
  5776. local allowOD = true
  5777. local whom = (mouse.Target and mouse.Target.Parent)
  5778. if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Head')then
  5779. ODerDB = true
  5780. for _,v in next, ODers do
  5781. if(v == whom)then
  5782. print'nO OD SELF'
  5783. allowOD = false
  5784. end
  5785. end
  5786. if(allowOD)then
  5787. local ref=CFuncs.Part.Create(m,Enum.Material.Neon,0,.4,(whom.Name == 'Nebula_Zorua' and 'Really black' or MAINRUINCOLOR),"ref",Vector3.new(0.05,0.05,0.05))
  5788. local refz = CFuncs.Mesh.Create("SpecialMesh",ref,"Sphere","",Vector3.new(0, 0, 0),Vector3.new(14, 14, 14))
  5789.  
  5790. ref.CFrame = Torso.CFrame
  5791. ref.Anchored = true
  5792. local e1 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.25) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15))
  5793. local e2 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.75) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15))
  5794. local MPos = whom.Head.CFrame*cf(0,4,0)
  5795. for i = 0, 1, .05 do
  5796. swait()
  5797. ref.CFrame = newBezier(Torso.CFrame, e1, e2, MPos, i)
  5798.  
  5799. sphere(10,"Add",ref.CFrame,vt(6,6,3),0,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Really black' or MAINRUINCOLOR),true)
  5800. if whom:FindFirstChild'Head' == nil then
  5801. break
  5802. end
  5803. end
  5804. ref:destroy()
  5805. if whom:FindFirstChild'Head' then
  5806. table.insert(ODers,whom)
  5807. if(#ODers > 2)then
  5808. table.remove(ODers,1)
  5809. end
  5810. sphere(1.5,"Add",whom.Head.CFrame * cf(0,4,0),vt(6,6,3),.15,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Really black' or MAINRUINCOLOR),true)
  5811. end
  5812. end
  5813. ODerDB = false
  5814. end
  5815. end)()
  5816. end
  5817. end
  5818.  
  5819. function RiddleMeThisRiddleMeThat()-- Who's afraid of the big black IUSFGEYUI8TY8RUFETUYERFYAERFE7RFWAE9RASEVR7YTRWW65ERAY
  5820. attack = true
  5821. hum.WalkSpeed = 0
  5822. storehumanoidWS = 75
  5823. hum.JumpPower = 0
  5824. newThemeCust("rbxassetid://731220358",0,1,1)
  5825. kan.TimePosition = 0
  5826. ModeOfGlitch = 8376532578634534
  5827. repeat swait() until kan.IsLoaded
  5828. chatfunc(" ",text.TextStrokeColor3)
  5829. for i = 0, 14, .1 do
  5830. swait()
  5831. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5832. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  5833. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  5834. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  5835. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5836. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5837. end
  5838. chatfunc(" ",text.TextStrokeColor3)
  5839. for i = 0, 12, .1 do
  5840. swait()
  5841. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5842. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  5843. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  5844. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  5845. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5846. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5847. end
  5848. chatfunc(" ",text.TextStrokeColor3)
  5849. for i = 0, 12, .1 do
  5850. swait()
  5851. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5852. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  5853. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  5854. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  5855. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5856. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5857. end
  5858. chatfunc(" ",Color3.new(1,1,1))
  5859. for i = 0, 16, .1 do
  5860. swait()
  5861. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5862. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  5863. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  5864. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  5865. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5866. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5867. end
  5868. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5869. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5870. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5871. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5872. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Black' end)
  5873. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Black' end)
  5874. RecolorTextAndRename("CURSED",Color3.new(0,1,1),Color3.new(0,0.5,0.5))
  5875. CameraEnshaking(5,2.5)
  5876. MAINRUINCOLOR = BrickColor.new("Bright bluish green")
  5877. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5878. tl1.Enabled = true
  5879. tl2.Enabled = true
  5880. tl3.Enabled = true
  5881. tl4.Enabled = true
  5882. tl5.Enabled = true
  5883. tl6.Enabled = true
  5884. tr4.Enabled = true
  5885. tr5.Enabled = true
  5886. tr6.Enabled = true
  5887. tl4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5888. tl5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5889. tl6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5890. tr4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5891. tr5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5892. tr6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5893. for i = 0, 49 do
  5894. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  5895. end
  5896. for i = 0,3,0.1 do
  5897. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  5898. end
  5899. for i, v in pairs(mw2:GetChildren()) do
  5900. if v:IsA("Part") then
  5901. v.BrickColor = BrickColor.new("Bright bluish green")
  5902. v.Material = "Neon"
  5903. end
  5904. end
  5905. for i, v in pairs(mw1:GetChildren()) do
  5906. if v:IsA("Part") then
  5907. v.Transparency = 0
  5908. v.BrickColor = BrickColor.new("Bright bluish green")
  5909. v.Material = "Neon"
  5910. end
  5911. end
  5912. for i, v in pairs(m:GetChildren()) do
  5913. if v:IsA("Part") then
  5914. v.BrickColor = BrickColor.new("Really black")
  5915. v.Material = "Neon"
  5916. end
  5917. end
  5918. for i, v in pairs(m2:GetChildren()) do
  5919. if v:IsA("Part") then
  5920. v.BrickColor = BrickColor.new("Bright bluish green")
  5921. v.Material = "Granite"
  5922. end
  5923. end
  5924. for i, v in pairs(m3:GetChildren()) do
  5925. if v:IsA("Part") then
  5926. v.BrickColor = BrickColor.new("Really black")
  5927. v.Material = "Neon"
  5928. end
  5929. end
  5930. for i, v in pairs(extrawingmod1:GetChildren()) do
  5931. if v:IsA("Part") then
  5932. v.Transparency = 0
  5933. v.BrickColor = BrickColor.new("Bright bluish green")
  5934. v.Material = "Neon"
  5935. end
  5936. end
  5937. for i, v in pairs(extrawingmod2:GetChildren()) do
  5938. if v:IsA("Part") then
  5939. v.Transparency = 0
  5940. v.BrickColor = BrickColor.new("Bright bluish green")
  5941. v.Material = "Neon"
  5942. end
  5943. end
  5944. for i = 0,2,0.1 do
  5945. swait()
  5946. 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(-30)),.2)
  5947. 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(0),math.rad(30)),.2)
  5948. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  5949. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.2)
  5950. RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.2)
  5951. LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.2)
  5952. end
  5953. hum.JumpPower = 50
  5954. hum.WalkSpeed = storehumanoidWS
  5955. attack = false
  5956. end
  5957.  
  5958. function dfgbn()
  5959. local whom = (mouse.Target and mouse.Target.Parent)
  5960. --[[local badThisBoi = false
  5961. if(whom and whom:FindFirstChildOfClass'Humanoid')then
  5962. for _,v in next, ODers do
  5963. if(v == whom)then
  5964. badThisBoi = false
  5965. end
  5966. end
  5967. end
  5968. if(not badThisBoi)then
  5969. attack = false
  5970. warn'to bad that boi you need to target them with z'
  5971. else]]
  5972. if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso')then
  5973. local hed = whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso'
  5974. local hum = whom:FindFirstChildOfClass'Humanoid'
  5975. local ocf = RootPart.CFrame
  5976. hum.WalkSpeed = 0
  5977. hum.JumpPower = 0
  5978. hed.Anchored = true
  5979. RootPart.Anchored = true
  5980. Humanoid.WalkSpeed = 0
  5981. Humanoid.JumpPower = 0
  5982. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5983. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5984. for i = 0, 9 do
  5985. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really black"),0)
  5986. end
  5987. for i = 0, 24 do
  5988. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0)
  5989. end
  5990. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  5991. attack = true
  5992. local speed = 1
  5993. local heck;
  5994. local stopitlol = false;
  5995. heck = mouse.KeyUp:connect(function(k)
  5996. if(k:lower() == 'm')then
  5997. stopitlol = true
  5998. heck:disconnect()
  5999. end
  6000. end)
  6001. local times = 0
  6002. repeat swait()
  6003. speed = speed - .01
  6004. times = times + 1
  6005. if(speed < .1)then
  6006. speed = .1
  6007. end
  6008. for i = 0, speed, .05 do
  6009. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6010. swait()
  6011. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
  6012. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  6013. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)
  6014. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6015. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  6016. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  6017. end
  6018. CameraEnshaking(5,5)
  6019.  
  6020. CFuncs["Sound"].Create("rbxassetid://836796971", Torso, 10,1)
  6021.  
  6022. for i = 0, speed, .05 do
  6023. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6024. swait()
  6025. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
  6026. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  6027. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
  6028. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6029. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6030. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6031. end
  6032. until stopitlol and times >= 3
  6033. for i = 1, 3 do
  6034. for i = 0, 1.5, .05 do
  6035. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6036. swait()
  6037. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
  6038. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  6039. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)
  6040. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6041. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  6042. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  6043. end
  6044. CameraEnshaking(5,25)
  6045.  
  6046. CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
  6047.  
  6048.  
  6049. coroutine.resume(coroutine.create(function()
  6050. bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
  6051. bld.LightEmission = 0.1
  6052. bld.Texture = "rbxassetid://284205403"
  6053. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  6054. bld.Rate = 500
  6055. bld.Lifetime = NumberRange.new(1)
  6056. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6057. bld.Acceleration = vt(0,-25,0)
  6058. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  6059. bld.Speed = NumberRange.new(10,50)
  6060. bld.EmissionDirection = "Back"
  6061. bld.VelocitySpread = 25
  6062. bld.Rotation = NumberRange.new(-500,500)
  6063. bld.RotSpeed = NumberRange.new(-500,500)
  6064. bld.Enabled = false
  6065. bld:Emit(250)
  6066. end))
  6067. coroutine.resume(coroutine.create(function()
  6068. bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
  6069. bld.LightEmission = 0.1
  6070. bld.Texture = "rbxassetid://284205403"
  6071. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  6072. bld.Rate = 500
  6073. bld.Lifetime = NumberRange.new(1)
  6074. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6075. bld.Acceleration = vt(0,-25,0)
  6076. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  6077. bld.Speed = NumberRange.new(10,50)
  6078. bld.EmissionDirection = "Back"
  6079. bld.VelocitySpread = 25
  6080. bld.Rotation = NumberRange.new(-500,500)
  6081. bld.RotSpeed = NumberRange.new(-500,500)
  6082. bld.Enabled = false
  6083. bld:Emit(250)
  6084. end))
  6085. for i = 0, 1.5, .05 do
  6086. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6087. swait()
  6088. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
  6089. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  6090. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
  6091. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6092. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6093. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6094. end
  6095. end
  6096. for i = 0, 4, .05 do
  6097. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6098. swait()
  6099. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(100),0,0)*angles(0,math.rad(90),0),.1)
  6100. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  6101. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(-50),0,0)*RootCF,.1)
  6102. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
  6103. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.1)
  6104. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.1)
  6105. end
  6106. CameraEnshaking(5,25)
  6107. CFuncs["Sound"].Create("rbxassetid://429400881", hed, 3,1)
  6108. CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
  6109.  
  6110. dmg(whom)
  6111. coroutine.resume(coroutine.create(function()
  6112. bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
  6113. bld.LightEmission = 0.1
  6114. bld.Texture = "rbxassetid://284205403"
  6115. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  6116. bld.Rate = 500
  6117. bld.Lifetime = NumberRange.new(1)
  6118. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6119. bld.Acceleration = vt(0,-25,0)
  6120. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  6121. bld.Speed = NumberRange.new(10,50)
  6122. bld.EmissionDirection = "Back"
  6123. bld.VelocitySpread = 25
  6124. bld.Rotation = NumberRange.new(-500,500)
  6125. bld.RotSpeed = NumberRange.new(-500,500)
  6126. bld.Enabled = true
  6127. end))
  6128. coroutine.resume(coroutine.create(function()
  6129. bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
  6130. bld.LightEmission = 0.1
  6131. bld.Texture = "rbxassetid://284205403"
  6132. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  6133. bld.Rate = 500
  6134. bld.Lifetime = NumberRange.new(1)
  6135. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6136. bld.Acceleration = vt(0,-25,0)
  6137. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  6138. bld.Speed = NumberRange.new(10,50)
  6139. bld.EmissionDirection = "Back"
  6140. bld.VelocitySpread = 25
  6141. bld.Rotation = NumberRange.new(-500,500)
  6142. bld.RotSpeed = NumberRange.new(-500,500)
  6143. bld.Enabled = true
  6144. end))
  6145. for i = 0, 3, .05 do
  6146. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6147. swait()
  6148. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-100),0,0)*angles(0,math.rad(90),0),.4)
  6149. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  6150. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(50),0,0)*RootCF,.4)
  6151. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6152. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6153. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6154. end
  6155.  
  6156. RootPart.CFrame = ocf
  6157. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  6158. for i = 0, 9 do
  6159. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really black"),0)
  6160. end
  6161. for i = 0, 24 do
  6162. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0)
  6163. end
  6164. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  6165. RootPart.Anchored = false
  6166. Humanoid.WalkSpeed = storehumanoidWS
  6167. Humanoid.JumpPower = 50
  6168. attack = false
  6169. end
  6170. end
  6171.  
  6172. local input = ""
  6173.  
  6174. mouse.KeyDown:connect(function(k)
  6175. if(k == "w" or k == "a" or k == "s" or k == "d")then
  6176. input = input .. k
  6177. local newInput = input
  6178. coroutine.wrap(function()
  6179. for i = 1, 25 do
  6180. if(newInput ~= input)then break end
  6181. swait()
  6182. end
  6183. if(newInput == input)then input = "" end
  6184. end)()
  6185. if(input == "unused" and not Allowdfgbnjfbgnh)then
  6186. Allowdfgbnjfbgnh = true
  6187. warn("How do you know about this?")
  6188. elseif(input == "wwaassdd" and not AllowCata)then
  6189. AllowCata = true
  6190. warn(" ")
  6191. elseif(input == 'vcbnhmjhbdvgjrnbmhvnsdbm' and ModeOfGlitch == 4 and not attack)then
  6192. ChaosBegone()
  6193. end
  6194. end
  6195. end)
  6196.  
  6197. mouse.KeyDown:connect(function(k)
  6198. if k == "h" then
  6199.  
  6200. end
  6201.  
  6202. if k == "q" and attack == false and ModeOfGlitch ~= 2 then
  6203. ModeOfGlitch = 2
  6204. storehumanoidWS = 16
  6205. hum.WalkSpeed = 16
  6206. rainbowmode = false
  6207. chaosmode = false
  6208. glitchymode = true
  6209. tl1.Enabled = false
  6210. tl2.Enabled = false
  6211. tl3.Enabled = false
  6212. tl4.Enabled = false
  6213. tl5.Enabled = false
  6214. tl6.Enabled = false
  6215. tr4.Enabled = false
  6216. tr5.Enabled = false
  6217. tr6.Enabled = false
  6218. RecolorTextAndRename("Overclocked",Color3.new(0,0,0),Color3.new(1,1,1))
  6219. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Teal' end)
  6220. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Teal' end)
  6221. newTheme("rbxassetid://1847349089",0,1,1)
  6222. MAINRUINCOLOR = BrickColor.new("White")
  6223. for i, v in pairs(mw2:GetChildren()) do
  6224. if v:IsA("Part") then
  6225. v.BrickColor = MAINRUINCOLOR
  6226. v.Material = "Neon"
  6227. end
  6228. end
  6229. for i, v in pairs(mw1:GetChildren()) do
  6230. if v:IsA("Part") then
  6231. v.Transparency = 0
  6232. v.BrickColor = MAINRUINCOLOR
  6233. v.Material = "Neon"
  6234. end
  6235. end
  6236. for i, v in pairs(m:GetChildren()) do
  6237. if v:IsA("Part") then
  6238. v.BrickColor = BrickColor.new("White")
  6239. v.Material = "Ice"
  6240. end
  6241. end
  6242. for i, v in pairs(m2:GetChildren()) do
  6243. if v:IsA("Part") then
  6244. v.BrickColor = BrickColor.new("Pastel light blue")
  6245. v.Material = "Neon"
  6246. end
  6247. end
  6248. for i, v in pairs(m3:GetChildren()) do
  6249. if v:IsA("Part") then
  6250. v.BrickColor = BrickColor.new("White")
  6251. v.Material = "Neon"
  6252. end
  6253. end
  6254. for i, v in pairs(extrawingmod1:GetChildren()) do
  6255. if v:IsA("Part") then
  6256. v.Transparency = 1
  6257. v.BrickColor = BrickColor.new("White")
  6258. v.Material = "Neon"
  6259. end
  6260. end
  6261. for i, v in pairs(extrawingmod2:GetChildren()) do
  6262. if v:IsA("Part") then
  6263. v.Transparency = 1
  6264. v.BrickColor = BrickColor.new("White")
  6265. v.Material = "Neon"
  6266. end
  6267. end
  6268. elseif k == "q" and attack == false and ModeOfGlitch == 2 then
  6269. resetmode()
  6270. end
  6271. if k == "=" and attack == false and ModeOfGlitch ~= 69 and plr.Name == "OmegaNoscope" then
  6272. deathmode()
  6273. elseif k == "=" and attack == false and ModeOfGlitch == 69 then
  6274. resetmode()
  6275. end
  6276. if k == "m" and attack == false and ModeOfGlitch == 1 then
  6277. RiddleMeThisRiddleMeThat()
  6278. elseif k == "m" and attack == false and ModeOfGlitch == 8376532578634534 then
  6279. resetmode()
  6280. end
  6281. if k == "e" and attack == false and ModeOfGlitch ~= 3 then
  6282. ModeOfGlitch = 3
  6283. storehumanoidWS = 16
  6284. hum.WalkSpeed = 16
  6285. rainbowmode = false
  6286. chaosmode = false
  6287. glitchymode = false
  6288. tl1.Enabled = true
  6289. tl2.Enabled = true
  6290. tl3.Enabled = true
  6291. tl4.Enabled = false
  6292. tl5.Enabled = false
  6293. tl6.Enabled = false
  6294. tr4.Enabled = false
  6295. tr5.Enabled = false
  6296. tr6.Enabled = false
  6297. RecolorTextAndRename("Void",Color3.new(0,0,0),Color3.new(0,0,0))
  6298. newTheme("rbxassetid://1703475948",0,.93,1.25) -- 474074203
  6299. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end)
  6300. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  6301. MAINRUINCOLOR = BrickColor.new("Really black")
  6302. for i, v in pairs(mw2:GetChildren()) do
  6303. if v:IsA("Part") then
  6304. v.BrickColor = MAINRUINCOLOR
  6305. v.Material = "Neon"
  6306. end
  6307. end
  6308. for i, v in pairs(mw1:GetChildren()) do
  6309. if v:IsA("Part") then
  6310. v.Transparency = 0
  6311. v.BrickColor = MAINRUINCOLOR
  6312. v.Material = "Neon"
  6313. end
  6314. end
  6315. for i, v in pairs(m:GetChildren()) do
  6316. if v:IsA("Part") then
  6317. v.BrickColor = BrickColor.new("Really black")
  6318. v.Material = "Ice"
  6319. end
  6320. end
  6321. for i, v in pairs(m2:GetChildren()) do
  6322. if v:IsA("Part") then
  6323. v.BrickColor = BrickColor.new("Dark indigo")
  6324. v.Material = "Neon"
  6325. end
  6326. end
  6327. for i, v in pairs(m3:GetChildren()) do
  6328. if v:IsA("Part") then
  6329. v.Transparency = 1
  6330. v.BrickColor = BrickColor.new("Really black")
  6331. v.Material = "Neon"
  6332. end
  6333. end
  6334. for i, v in pairs(extrawingmod1:GetChildren()) do
  6335. if v:IsA("Part") then
  6336. v.Transparency = 1
  6337. v.BrickColor = BrickColor.new("White")
  6338. v.Material = "Neon"
  6339. end
  6340. end
  6341. for i, v in pairs(extrawingmod2:GetChildren()) do
  6342. if v:IsA("Part") then
  6343. v.Transparency = 1
  6344. v.BrickColor = BrickColor.new("White")
  6345. v.Material = "Neon"
  6346. end
  6347. end
  6348. elseif k == "e" and attack == false and ModeOfGlitch == 3 then
  6349. resetmode()
  6350. end
  6351. if k == "lolno" and attack == false and ModeOfGlitch ~= 4 then
  6352. ModeOfGlitch = 4
  6353. storehumanoidWS = 16
  6354. hum.WalkSpeed = 16
  6355. rainbowmode = false
  6356. glitchymode = false
  6357. chaosmode = true
  6358. tl1.Enabled = true
  6359. tl2.Enabled = true
  6360. tl3.Enabled = true
  6361. tl4.Enabled = false
  6362. tl5.Enabled = false
  6363. tl6.Enabled = false
  6364. tr4.Enabled = false
  6365. tr5.Enabled = false
  6366. tr6.Enabled = false
  6367. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.new("Really black").Color)
  6368. newTheme("rbxassetid://1369263130",0,1,1)
  6369. MAINRUINCOLOR = BrickColor.new("Black")
  6370. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6371. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6372. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6373. for i, v in pairs(mw2:GetChildren()) do
  6374. if v:IsA("Part") then
  6375. v.BrickColor = MAINRUINCOLOR
  6376. v.Material = "Neon"
  6377. end
  6378. end
  6379. for i, v in pairs(mw1:GetChildren()) do
  6380. if v:IsA("Part") then
  6381. v.Transparency = 0.75
  6382. v.BrickColor = BrickColor.new("Really black")
  6383. v.Material = "Neon"
  6384. end
  6385. end
  6386. for i, v in pairs(m:GetChildren()) do
  6387. if v:IsA("Part") then
  6388. v.BrickColor = BrickColor.new("Black")
  6389. v.Material = "Neon"
  6390. end
  6391. end
  6392. for i, v in pairs(m2:GetChildren()) do
  6393. if v:IsA("Part") then
  6394. v.BrickColor = BrickColor.new("Really black")
  6395. v.Material = "Neon"
  6396. end
  6397. end
  6398. for i, v in pairs(m3:GetChildren()) do
  6399. if v:IsA("Part") then
  6400. v.BrickColor = BrickColor.new("Black")
  6401. v.Material = "Neon"
  6402. end
  6403. end
  6404. for i, v in pairs(extrawingmod1:GetChildren()) do
  6405. if v:IsA("Part") then
  6406. v.Transparency = 1
  6407. v.BrickColor = BrickColor.new("White")
  6408. v.Material = "Neon"
  6409. end
  6410. end
  6411. for i, v in pairs(extrawingmod2:GetChildren()) do
  6412. if v:IsA("Part") then
  6413. v.Transparency = 1
  6414. v.BrickColor = BrickColor.new("White")
  6415. v.Material = "Neon"
  6416. end
  6417. end
  6418. elseif k == "|" and attack == false and ModeOfGlitch == 4 then
  6419. resetmode()
  6420. end
  6421.  
  6422. if k == "|" and attack == false and ModeOfGlitch == 4 then
  6423. insanitymode()
  6424. elseif k == "|" and attack == false and ModeOfGlitch == 666666 then
  6425. resetmode()
  6426. end
  6427. if k == "r" and attack == false and ModeOfGlitch ~= 5 then
  6428. ModeOfGlitch = 5
  6429. storehumanoidWS = 16
  6430. hum.WalkSpeed = 16
  6431. rainbowmode = false
  6432. chaosmode = false
  6433. glitchymode = false
  6434. tl1.Enabled = true
  6435. tl2.Enabled = true
  6436. tl3.Enabled = true
  6437. tl4.Enabled = false
  6438. tl5.Enabled = false
  6439. tl6.Enabled = false
  6440. tr4.Enabled = true
  6441. tr5.Enabled = true
  6442. tr6.Enabled = true
  6443. RecolorTextAndRename("Immortality",Color3.new(1,1,1),Color3.new(1,1,0.5))
  6444. newTheme("rbxassetid://226273007",0,1.02,1)
  6445. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'New Yeller' end)
  6446. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'New Yeller' end)
  6447. MAINRUINCOLOR = BrickColor.new("Quill grey")
  6448. tr4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6449. tr5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6450. tr6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6451. for i, v in pairs(mw2:GetChildren()) do
  6452. if v:IsA("Part") then
  6453. v.BrickColor = MAINRUINCOLOR
  6454. v.Material = "Neon"
  6455. end
  6456. end
  6457. for i, v in pairs(mw1:GetChildren()) do
  6458. if v:IsA("Part") then
  6459. v.Transparency = 0
  6460. v.BrickColor = MAINRUINCOLOR
  6461. v.Material = "Neon"
  6462. end
  6463. end
  6464. for i, v in pairs(m:GetChildren()) do
  6465. if v:IsA("Part") then
  6466. v.BrickColor = BrickColor.new("Cool yellow")
  6467. v.Material = "Ice"
  6468. end
  6469. end
  6470. for i, v in pairs(m2:GetChildren()) do
  6471. if v:IsA("Part") then
  6472. v.BrickColor = BrickColor.new("Bright yellow")
  6473. v.Material = "Ice"
  6474. end
  6475. end
  6476. for i, v in pairs(m3:GetChildren()) do
  6477. if v:IsA("Part") then
  6478. v.BrickColor = BrickColor.new("Bright yellow")
  6479. v.Material = "Neon"
  6480. end
  6481. end
  6482. for i, v in pairs(extrawingmod1:GetChildren()) do
  6483. if v:IsA("Part") then
  6484. v.Transparency = 1
  6485. v.BrickColor = BrickColor.new("White")
  6486. v.Material = "Neon"
  6487. end
  6488. end
  6489. for i, v in pairs(extrawingmod2:GetChildren()) do
  6490. if v:IsA("Part") then
  6491. v.Transparency = 0
  6492. v.BrickColor = BrickColor.new("Cool yellow")
  6493. v.Material = "Neon"
  6494. end
  6495. end
  6496. elseif k == "r" and attack == false and ModeOfGlitch == 5 then
  6497. resetmode()
  6498. end
  6499. if k == "0" and attack == false and ModeOfGlitch ~= 5 and plr.Name == "Dallas123456788" then
  6500. ModeOfGlitch = 42
  6501. storehumanoidWS = 16
  6502. hum.WalkSpeed = 16
  6503. rainbowmode = false
  6504. chaosmode = false
  6505. glitchymode = false
  6506. tl1.Enabled = true
  6507. tl2.Enabled = true
  6508. tl3.Enabled = true
  6509. tl4.Enabled = true
  6510. tl5.Enabled = true
  6511. tl6.Enabled = true
  6512. tr4.Enabled = true
  6513. tr5.Enabled = true
  6514. tr6.Enabled = true
  6515. RecolorTextAndRename("Camo Commando",Color3.new(0,0,0),Color3.new(0,1,0))
  6516. newTheme("rbxassetid://392077022",0,1.02,1)
  6517. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'New Yeller' end)
  6518. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'New Yeller' end)
  6519. MAINRUINCOLOR = BrickColor.new("Lime green")
  6520. tr4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6521. tr5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6522. tr6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6523. for i, v in pairs(mw2:GetChildren()) do
  6524. if v:IsA("Part") then
  6525. v.BrickColor = BrickColor.new("Really black")
  6526. v.Material = "Neon"
  6527. end
  6528. end
  6529. for i, v in pairs(mw1:GetChildren()) do
  6530. if v:IsA("Part") then
  6531. v.Transparency = 0
  6532. v.BrickColor = BrickColor.new("Really black")
  6533. v.Material = "Neon"
  6534. end
  6535. end
  6536. for i, v in pairs(m:GetChildren()) do
  6537. if v:IsA("Part") then
  6538. v.BrickColor = BrickColor.new("Cool yellow")
  6539. v.Material = "Ice"
  6540. end
  6541. end
  6542. for i, v in pairs(m2:GetChildren()) do
  6543. if v:IsA("Part") then
  6544. v.BrickColor = BrickColor.new("Bright yellow")
  6545. v.Material = "Ice"
  6546. end
  6547. end
  6548. for i, v in pairs(m3:GetChildren()) do
  6549. if v:IsA("Part") then
  6550. v.BrickColor = BrickColor.new("Bright yellow")
  6551. v.Material = "Neon"
  6552. end
  6553. end
  6554. for i, v in pairs(extrawingmod1:GetChildren()) do
  6555. if v:IsA("Part") then
  6556. v.Transparency = 0
  6557. v.BrickColor = MAINRUINCOLOR
  6558. v.Material = "Neon"
  6559. end
  6560. end
  6561. for i, v in pairs(extrawingmod2:GetChildren()) do
  6562. if v:IsA("Part") then
  6563. v.Transparency = 0
  6564. v.BrickColor = MAINRUINCOLOR
  6565. v.Material = "Neon"
  6566. end
  6567. end
  6568. elseif k == "0" and attack == false and ModeOfGlitch == 42 then
  6569. resetmode()
  6570. end
  6571. if k == "t" and attack == false and ModeOfGlitch ~= 6 then
  6572. ModeOfGlitch = 6
  6573. storehumanoidWS = 75
  6574. hum.WalkSpeed = 75
  6575. rainbowmode = false
  6576. chaosmode = false
  6577. glitchymode = false
  6578. tl1.Enabled = true
  6579. tl2.Enabled = true
  6580. tl3.Enabled = true
  6581. tl4.Enabled = true
  6582. tl5.Enabled = true
  6583. tl6.Enabled = true
  6584. tr4.Enabled = true
  6585. tr5.Enabled = true
  6586. tr6.Enabled = true
  6587. RecolorTextAndRename("Hyperspeed",Color3.new(1,1,1),Color3.new(0,1,1))
  6588. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end)
  6589. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  6590. newTheme("rbxassetid://539802360",0,1,1)
  6591. MAINRUINCOLOR = BrickColor.new("Bright bluish green")
  6592. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6593. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6594. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6595. tl4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6596. tl5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6597. tl6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6598. tr4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6599. tr5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6600. tr6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6601. for i, v in pairs(mw2:GetChildren()) do
  6602. if v:IsA("Part") then
  6603. v.BrickColor = MAINRUINCOLOR
  6604. v.Material = "Neon"
  6605. end
  6606. end
  6607. for i, v in pairs(mw1:GetChildren()) do
  6608. if v:IsA("Part") then
  6609. v.Transparency = 0.5
  6610. v.BrickColor = MAINRUINCOLOR
  6611. v.Material = "Neon"
  6612. end
  6613. end
  6614. for i, v in pairs(m:GetChildren()) do
  6615. if v:IsA("Part") then
  6616. v.BrickColor = BrickColor.new("White")
  6617. v.Material = "Ice"
  6618. end
  6619. end
  6620. for i, v in pairs(m2:GetChildren()) do
  6621. if v:IsA("Part") then
  6622. v.BrickColor = BrickColor.new("White")
  6623. v.Material = "Ice"
  6624. end
  6625. end
  6626. for i, v in pairs(m3:GetChildren()) do
  6627. if v:IsA("Part") then
  6628. v.BrickColor = BrickColor.new("White")
  6629. v.Material = "Neon"
  6630. end
  6631. end
  6632. for i, v in pairs(extrawingmod1:GetChildren()) do
  6633. if v:IsA("Part") then
  6634. v.Transparency = 0.5
  6635. v.BrickColor = BrickColor.new("Bright bluish green")
  6636. v.Material = "Neon"
  6637. end
  6638. end
  6639. for i, v in pairs(extrawingmod2:GetChildren()) do
  6640. if v:IsA("Part") then
  6641. v.Transparency = 0
  6642. v.BrickColor = BrickColor.new("Bright bluish green")
  6643. v.Material = "Neon"
  6644. end
  6645. end
  6646. elseif k == "t" and attack == false and ModeOfGlitch == 6 then
  6647. resetmode()
  6648. end
  6649. if k == "y" and attack == false then
  6650.  
  6651. storehumanoidWS = 50
  6652. hum.WalkSpeed = 50
  6653. rainbowmode = true
  6654. chaosmode = false
  6655. glitchymode = false
  6656. tl1.Enabled = true
  6657. tl2.Enabled = true
  6658. tl3.Enabled = true
  6659. tl4.Enabled = false
  6660. tl5.Enabled = false
  6661. tl6.Enabled = false
  6662. tr4.Enabled = false
  6663. tr5.Enabled = false
  6664. tr6.Enabled = false
  6665.  
  6666. if(ModeOfGlitch == 6127843)then
  6667. vaporwave = not vaporwave
  6668. end
  6669.  
  6670. if(not vaporwave)then
  6671. RecolorTextAndRename("Spectrum",Color3.new(1,1,1),Color3.new(1,1,1))
  6672. newTheme("rbxassetid://744969097",0,1,1)
  6673. else
  6674. RecolorTextAndRename("Spectrum",Color3.new(1,1,1),Color3.new(1,1,1))
  6675. newTheme("rbxassetid://744969097",0,1,1)
  6676. end
  6677.  
  6678.  
  6679. ModeOfGlitch = 6127843
  6680. MAINRUINCOLOR = BrickColor.new("White")
  6681. for i, v in pairs(mw2:GetChildren()) do
  6682. if v:IsA("Part") then
  6683. v.BrickColor = MAINRUINCOLOR
  6684. v.Material = "Neon"
  6685. end
  6686. end
  6687. for i, v in pairs(mw1:GetChildren()) do
  6688. if v:IsA("Part") then
  6689. v.Transparency = 0
  6690. v.BrickColor = MAINRUINCOLOR
  6691. v.Material = "Neon"
  6692. end
  6693. end
  6694. for i, v in pairs(m:GetChildren()) do
  6695. if v:IsA("Part") then
  6696. v.BrickColor = BrickColor.new("White")
  6697. v.Material = "Neon"
  6698. end
  6699. end
  6700. for i, v in pairs(m2:GetChildren()) do
  6701. if v:IsA("Part") then
  6702. v.BrickColor = BrickColor.new("White")
  6703. v.Material = "Neon"
  6704. end
  6705. end
  6706. for i, v in pairs(m3:GetChildren()) do
  6707. if v:IsA("Part") then
  6708. v.BrickColor = BrickColor.new("White")
  6709. v.Material = "Neon"
  6710. end
  6711. end
  6712. for i, v in pairs(extrawingmod1:GetChildren()) do
  6713. if v:IsA("Part") then
  6714. v.Transparency = 1
  6715. v.BrickColor = BrickColor.new("White")
  6716. v.Material = "Neon"
  6717. end
  6718. end
  6719. for i, v in pairs(extrawingmod2:GetChildren()) do
  6720. if v:IsA("Part") then
  6721. v.Transparency = 1
  6722. v.BrickColor = BrickColor.new("White")
  6723. v.Material = "Neon"
  6724. end
  6725. end
  6726. elseif k == "y" and attack == false and ModeOfGlitch == 6127843 then
  6727. resetmode()
  6728. end
  6729. if k == "u" and attack == false and ModeOfGlitch ~= 1000000 then
  6730. ModeOfGlitch = 1000000
  6731. storehumanoidWS = 100
  6732. hum.WalkSpeed = 100
  6733. rainbowmode = false
  6734. chaosmode = false
  6735. glitchymode = false
  6736. tl1.Enabled = true
  6737. tl2.Enabled = true
  6738. tl3.Enabled = true
  6739. tl4.Enabled = true
  6740. tl5.Enabled = true
  6741. tl6.Enabled = true
  6742. tr4.Enabled = true
  6743. tr5.Enabled = true
  6744. tr6.Enabled = true
  6745. RecolorTextAndRename("CALAMITY",Color3.new(0.25,0,1),Color3.new(0.5,0,1))
  6746. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Bright violet' end)
  6747. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Bright violet' end)
  6748. newTheme("rbxassetid://1359036559",0,1,1)
  6749. MAINRUINCOLOR = BrickColor.new("Bright violet")
  6750. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6751. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6752. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6753. tl4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6754. tl5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6755. tl6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6756. tr4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6757. tr5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6758. tr6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6759. for i, v in pairs(mw2:GetChildren()) do
  6760. if v:IsA("Part") then
  6761. v.BrickColor = MAINRUINCOLOR
  6762. v.Material = "Neon"
  6763. end
  6764. end
  6765. for i, v in pairs(mw1:GetChildren()) do
  6766. if v:IsA("Part") then
  6767. v.Transparency = 0
  6768. v.BrickColor = MAINRUINCOLOR
  6769. v.Material = "Neon"
  6770. end
  6771. end
  6772. for i, v in pairs(m:GetChildren()) do
  6773. if v:IsA("Part") then
  6774. v.Color = Color3.new(0.5,0,1)
  6775. v.Material = "Neon"
  6776. end
  6777. end
  6778. for i, v in pairs(m2:GetChildren()) do
  6779. if v:IsA("Part") then
  6780. v.Color = Color3.new(0.25,0,1)
  6781. v.Material = "Neon"
  6782. end
  6783. end
  6784. for i, v in pairs(m3:GetChildren()) do
  6785. if v:IsA("Part") then
  6786. v.Color = Color3.new(0.45,0,1)
  6787. v.Material = "Neon"
  6788. end
  6789. end
  6790. for i, v in pairs(extrawingmod1:GetChildren()) do
  6791. if v:IsA("Part") then
  6792. v.Transparency = 0.75
  6793. v.Color = Color3.new(0.25,0,1)
  6794. v.Material = "Neon"
  6795. end
  6796. end
  6797. for i, v in pairs(extrawingmod2:GetChildren()) do
  6798. if v:IsA("Part") then
  6799. v.Transparency = 0.75
  6800. v.Color = Color3.new(0.5,0,1)
  6801. v.Material = "Neon"
  6802. end
  6803. end
  6804. elseif k == "u" and attack == false and ModeOfGlitch == 1000000 then
  6805. resetmode()
  6806. end
  6807. if k == "m" and attack == false and ModeOfGlitch == 1000000 and ModeOfGlitch ~= 12345678987654321 and (plr.Name == 'Noobygames12' or plr.UserId == 5719877 or AllowCata) then
  6808. newThemeCust("rbxassetid://1504604335",0,1,1)
  6809. attack = true
  6810. hum.WalkSpeed = 0
  6811. MAINRUINCOLOR = BrickColor.new("Royal purple")
  6812. for i = 0, 24, 0.1 do
  6813. swait()
  6814. sphereMK(1,-2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,100)
  6815. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  6816. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  6817. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  6818. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6819. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  6820. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  6821. end
  6822. CameraEnshaking(1,1)
  6823. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6824. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  6825. wait(0.55)
  6826. CameraEnshaking(1,2)
  6827. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  6828. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6829. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6830. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  6831. wait(0.55)
  6832. CameraEnshaking(1,3)
  6833. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  6834. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  6835. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  6836. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6837. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6838. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  6839. wait(0.55)
  6840. CameraEnshaking(10,5)
  6841. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  6842. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  6843. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  6844. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  6845. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
  6846. sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  6847. sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
  6848. sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
  6849. sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
  6850. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  6851. sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
  6852. sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
  6853. sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  6854. sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
  6855. sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
  6856. for i = 0, 49 do
  6857. sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0)
  6858. sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0)
  6859. sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0)
  6860. sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0)
  6861. end
  6862. ModeOfGlitch = 12345678987654321
  6863. storehumanoidWS = 200
  6864. hum.WalkSpeed = 200
  6865. rainbowmode = false
  6866. chaosmode = false
  6867. glitchymode = false
  6868. tl1.Enabled = true
  6869. tl2.Enabled = true
  6870. tl3.Enabled = true
  6871. tl4.Enabled = true
  6872. tl5.Enabled = true
  6873. tl6.Enabled = true
  6874. tr4.Enabled = true
  6875. tr5.Enabled = true
  6876. tr6.Enabled = true
  6877. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Dark indigo' end)
  6878. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Dark indigo' end)
  6879. RecolorTextAndRename("CATASTROPHE",Color3.new(0.5,0,1),Color3.new(0.75,0,1))
  6880. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6881. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6882. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6883. tl4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6884. tl5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6885. tl6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6886. tr4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6887. tr5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6888. tr6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6889. for i, v in pairs(mw2:GetChildren()) do
  6890. if v:IsA("Part") then
  6891. v.BrickColor = MAINRUINCOLOR
  6892. v.Material = "Neon"
  6893. end
  6894. end
  6895. for i, v in pairs(mw1:GetChildren()) do
  6896. if v:IsA("Part") then
  6897. v.Transparency = 0
  6898. v.BrickColor = MAINRUINCOLOR
  6899. v.Material = "Neon"
  6900. end
  6901. end
  6902. for i, v in pairs(m:GetChildren()) do
  6903. if v:IsA("Part") then
  6904. v.Color = Color3.new(0.5,0,1)
  6905. v.Material = "Neon"
  6906. end
  6907. end
  6908. for i, v in pairs(m2:GetChildren()) do
  6909. if v:IsA("Part") then
  6910. v.Color = Color3.new(0.5,0,1)
  6911. v.Material = "Neon"
  6912. end
  6913. end
  6914. for i, v in pairs(m3:GetChildren()) do
  6915. if v:IsA("Part") then
  6916. v.Color = Color3.new(0.5,0,1)
  6917. v.Material = "Neon"
  6918. end
  6919. end
  6920. for i, v in pairs(extrawingmod1:GetChildren()) do
  6921. if v:IsA("Part") then
  6922. v.Transparency = 0
  6923. v.Color = Color3.new(0.5,0,1)
  6924. v.Material = "Neon"
  6925. end
  6926. end
  6927. for i, v in pairs(extrawingmod2:GetChildren()) do
  6928. if v:IsA("Part") then
  6929. v.Transparency = 0
  6930. v.Color = Color3.new(0.5,0,1)
  6931. v.Material = "Neon"
  6932. end
  6933. attack = false
  6934. end
  6935. elseif k == "m" and attack == false and ModeOfGlitch == 12345678987654321 then
  6936. resetmode()
  6937. end
  6938. if k == "l" and toggleTag == false then
  6939. toggleTag = true
  6940. text.TextTransparency = 0
  6941. text.TextStrokeTransparency = 0
  6942. elseif k == "l" and toggleTag == true then
  6943. toggleTag = false
  6944. text.TextTransparency = 1
  6945. text.TextStrokeTransparency = 1
  6946. end
  6947. if k == "z" and attack == false and ModeOfGlitch == 8376532578634534 then
  6948. ExtinctiveHeartbreak()
  6949. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  6950. PureBomb()
  6951. elseif k == "x" and attack == false and ModeOfGlitch == 42 then
  6952. PureBomb()
  6953. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  6954. scattercorrupt()
  6955. elseif k == "z" and attack == false and ModeOfGlitch == 69 then
  6956. outerbeam()
  6957. elseif k == "x" and attack == false and ModeOfGlitch == 69 then
  6958. inpulse()
  6959. elseif k == "v" and attack == false and ModeOfGlitch == 69 then
  6960. ChaosBegone()
  6961. elseif k == "c" and attack == false and ModeOfGlitch == 69 then
  6962. DeadZone()
  6963. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  6964. Judgement()
  6965. elseif k == "z" and attack == false and ModeOfGlitch == 1 then
  6966. Judgement()
  6967. elseif k == "z" and attack == false and ModeOfGlitch == 42 then
  6968. Judgement()
  6969. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  6970. ChaosGroundStrike()
  6971. elseif k == "z" and attack == false and ModeOfGlitch == 666666 then
  6972. InsaneGroundStrike()
  6973.  
  6974. elseif k == "|" and attack == false and ModeOfGlitch == 69 then
  6975. ChooseODer()
  6976. elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then
  6977. Starfall()
  6978. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  6979. yinyangi()
  6980. elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then
  6981. Wip()
  6982. elseif k == "z" and attack == false and ModeOfGlitch == 12345678987654321 then
  6983. StarfallEX()
  6984. end
  6985. if k == "x" and attack == false and ModeOfGlitch == 1000000 then
  6986. StarDivision()
  6987. elseif k == "|" and attack == false and ModeOfGlitch == 6 then
  6988. JusticeBeam()
  6989. end
  6990. if k == "v" and attack == false and ModeOfGlitch == 12345678987654321 then
  6991. UniversalCollapse()
  6992. end
  6993. if k == "b" and attack == false and ModeOfGlitch == 4 then
  6994.  
  6995. end
  6996. if k == "n" and attack == false then
  6997. CorruptBlink()
  6998. end
  6999. if k == "|" and attack == false and ModeOfGlitch == 69 and Allowdfgbnjfbgnh then
  7000. dfgbn()
  7001. end
  7002. end)
  7003. coroutine.resume(coroutine.create(function()
  7004. while true do
  7005. swait(2)
  7006. if rainbowmode == true or ModeOfGlitch == 6 or glitchymode then
  7007. sphereMK(5,0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),-6,math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),1.5,1.5,10,-0.015,MAINRUINCOLOR,0)
  7008. end
  7009.  
  7010. end
  7011. end))
  7012.  
  7013.  
  7014. coroutine.resume(coroutine.create(function()
  7015. while true do
  7016. if ModeOfGlitch == 1000000 then
  7017. swait(0.5)
  7018. end
  7019. swait()
  7020. if ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 then
  7021. sphereMK(5,0.5,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-15,15)),math.rad(math.random(-15,15)),0),1,1,15,-0.01,MAINRUINCOLOR,0)
  7022. end
  7023. if ModeOfGlitch == 12345678987654321 then
  7024. sphereMK(5,math.random(1,2),"Add",root.CFrame*CFrame.new(math.random(-75,75),-25,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),0),1,1,50,-0.01,MAINRUINCOLOR,0)
  7025. end
  7026. end
  7027. end))
  7028.  
  7029.  
  7030. function RandomMaterial()
  7031. local getRandom;
  7032. local material;
  7033. local function IsTerrainMaterial(mat)
  7034. local isMaterial = pcall(function() workspace:FindFirstChildOfClass'Terrain':GetMaterialColor(mat) end)
  7035. return isMaterial
  7036. end
  7037. getRandom = function()
  7038. local mat = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())]
  7039. if(not IsTerrainMaterial(mat))then material = mat else getRandom() end
  7040. end
  7041. getRandom()
  7042. repeat wait() until material
  7043. return material
  7044. end
  7045. function RandomCaps(str)
  7046. local new = ""
  7047. for i = 1, #str do
  7048. if(math.random(1,2) == 1)then
  7049. new = new .. (str:sub(i,i):upper())
  7050. else
  7051. new = new .. str:sub(i,i)
  7052. end
  7053. end
  7054. return new
  7055. end
  7056.  
  7057. coroutine.resume(coroutine.create(function()
  7058. while true do
  7059. for i = 1, #ODers do
  7060. local ODer = ODers[i]
  7061. if(ODer)then
  7062. local hed = ODer:FindFirstChild'Head'
  7063. if(ODer.Parent and hed)then
  7064. sphere(10,"Add",hed.CFrame * cf(0,4,0),vt(6,6,3),0,(ODer.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true,false,true)
  7065. else
  7066. table.remove(ODers,i)
  7067. end
  7068. else
  7069. table.remove(ODers,i)
  7070. end
  7071. end
  7072. if(not kan)then
  7073. kan = Instance.new("Sound",char)
  7074. end
  7075. kan.Parent = char
  7076. if(plr.UserId == 5719877)then kan.Volume = 3 else kan.Volume = 1 end
  7077. kan.Pitch = Pitch
  7078. kan.SoundId = MID
  7079. kan.Name = "wrecked"
  7080. kan.Looped = true
  7081. kan:Resume()
  7082. swait()
  7083. if glitchymode == true then
  7084. local val = math.random(1,255)
  7085. local color = Color3.fromRGB(val,val,val)
  7086. pcall(function() Character.ReaperShadowHead.Eye1.Color = color end)
  7087. pcall(function() Character.ReaperShadowHead.Eye2.Color = color end)
  7088. tl1.Color = ColorSequence.new(color)
  7089. tl2.Color = ColorSequence.new(color)
  7090. tl3.Color = ColorSequence.new(color)
  7091. tr1.Color = ColorSequence.new(color)
  7092. tr2.Color = ColorSequence.new(color)
  7093. tr3.Color = ColorSequence.new(color)
  7094. for i, v in pairs(mw1:GetChildren()) do
  7095. if v:IsA("Part") then
  7096. v.Transparency = 0
  7097. v.Color = color
  7098. v.Material = "Neon"
  7099. end
  7100. end
  7101. for i, v in pairs(mw2:GetChildren()) do
  7102. if v:IsA("Part") then
  7103. v.Color = color
  7104. v.Material = "Neon"
  7105. end
  7106. end
  7107. for i, v in pairs(m2:GetChildren()) do
  7108. if v:IsA("Part") then
  7109. v.Color = color
  7110. v.Material = "Neon"
  7111. end
  7112. end
  7113. RecolorTextAndRename((ModeOfGlitch == 3 and RandomCaps"glitchy"),Color3.new(0,0,0),color)
  7114. end
  7115. if chaosmode or glitchymode then
  7116. pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end)
  7117. pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end)
  7118. else
  7119. pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material.Neon end)
  7120. pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material.Neon end)
  7121. end
  7122. if chaosmode == true then
  7123. tl1.Color = ColorSequence.new(BrickColor.new("Really black").Color)
  7124. tl2.Color = ColorSequence.new(BrickColor.new("Really black").Color)
  7125. tl3.Color = ColorSequence.new(BrickColor.new("Really black").Color)
  7126. tl4.Color = ColorSequence.new(BrickColor.new("Really black").Color)
  7127. tl5.Color = ColorSequence.new(BrickColor.new("Really black").Color)
  7128. tl6.Color = ColorSequence.new(BrickColor.new("Really black").Color)
  7129. tr4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7130. tr5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7131. tr6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7132. RecolorTextAndRename((ModeOfGlitch == 666666 and "INSANITY" or "CHAOS"),Color3.new(0,0,0),BrickColor.new("Really black").Color)
  7133. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new("Really black") end)
  7134. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new("Really black") end)
  7135. for i, v in pairs(mw1:GetChildren()) do
  7136. if v:IsA("Part") then
  7137. v.Transparency = 0.75
  7138. v.BrickColor = BrickColor.new("Really black")
  7139. v.Material = "Neon"
  7140. end
  7141. end
  7142. for i, v in pairs(extrawingmod1:GetChildren()) do
  7143. if v:IsA("Part") and ModeOfGlitch == 666666 then
  7144. v.Transparency = 0.75
  7145. v.BrickColor = BrickColor.new("Really black")
  7146. v.Material = "Neon"
  7147. elseif v:IsA("Part") then
  7148. v.Transparency = 1
  7149. end
  7150. end
  7151. for i, v in pairs(m2:GetChildren()) do
  7152. if v:IsA("Part") then
  7153. v.BrickColor = BrickColor.new("Really black")
  7154. v.Material = "Neon"
  7155. end
  7156. end
  7157. end
  7158. end
  7159. end))
  7160. Humanoid.Name = "STARGLITCHER"
  7161. Humanoid.MaxHealth = math.huge
  7162. Humanoid.Health = math.huge
  7163. Instance.new("ForceField",char).Visible = false
  7164. Humanoid.Animator.Parent = nil
  7165. idleanim=.4
  7166. while true do
  7167. if rainbowmode == false and chaosmode == false and glitchymode == false then
  7168. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7169. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7170. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7171. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7172. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7173. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7174. tl4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7175. tl5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7176. tl6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7177. tr4.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7178. tr5.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7179. tr6.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7180. end
  7181. if rainbowmode == true then
  7182. pcall(function() Character.ReaperShadowHead.Eye1.Color = Color3.new(r/255,g/255,b/255) end)
  7183. pcall(function() Character.ReaperShadowHead.Eye2.Color = Color3.new(r/255,g/255,b/255) end)
  7184. if(not vaporwave)then
  7185. RecolorTextAndRename("Spectrum",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
  7186. else
  7187. RecolorTextAndRename("Spectrum",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
  7188. end
  7189. MAINRUINCOLOR = BrickColor.new("White")
  7190. tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7191. tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7192. tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7193. tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7194. tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7195. tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7196. tl4.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7197. tl5.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7198. tl6.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7199. tr4.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7200. tr5.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7201. tr6.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7202. for i, v in pairs(m:GetChildren()) do
  7203. if v:IsA("Part") then
  7204. v.Color = Color3.new(r/255,g/255,b/255)
  7205. end
  7206. end
  7207. for i, v in pairs(m2:GetChildren()) do
  7208. if v:IsA("Part") then
  7209. v.Color = Color3.new(r/255,g/255,b/255)
  7210. end
  7211. end
  7212. for i, v in pairs(m3:GetChildren()) do
  7213. if v:IsA("Part") then
  7214. v.Color = Color3.new(r/255,g/255,b/255)
  7215. end
  7216. end
  7217. for i, v in pairs(mw1:GetChildren()) do
  7218. if v:IsA("Part") then
  7219. v.Color = Color3.new(r/255,g/255,b/255)
  7220. v.Material = "Neon"
  7221. end
  7222. end
  7223. for i, v in pairs(mw2:GetChildren()) do
  7224. if v:IsA("Part") then
  7225. v.Color = Color3.new(r/255,g/255,b/255)
  7226. v.Material = "Neon"
  7227. end
  7228. end
  7229. end
  7230. CameraManager()
  7231. swait()
  7232. lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3)
  7233. lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3)
  7234. lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3)
  7235. lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3)
  7236. lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3)
  7237. lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3)
  7238.  
  7239. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3)
  7240. rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3)
  7241. rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3)
  7242. rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3)
  7243. rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3)
  7244. rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3)
  7245. sine = sine + change
  7246. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  7247. local velderp=RootPart.Velocity.y
  7248. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  7249. if equipped==true or equipped==false then
  7250. if attack==false then
  7251. idle=idle+1
  7252. else
  7253. idle=0
  7254. end
  7255. if idle>=500 then
  7256. if attack==false then
  7257. --Sheath()
  7258. end
  7259. end
  7260. if RootPart.Velocity.y > 1 and hitfloor==nil then
  7261. Anim="Jump"
  7262. if attack==false then
  7263. 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(-5),math.rad(0),math.rad(-20)),.1)
  7264. 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)
  7265. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  7266. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  7267. 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)
  7268. 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)
  7269. end
  7270. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  7271. Anim="Fall"
  7272. if attack==false then
  7273. 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(-5),math.rad(0),math.rad(-20)),.1)
  7274. 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)
  7275. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7276. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7277. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(50)),.1)
  7278. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(-50)),.1)
  7279. end
  7280. elseif torvel<1 and hitfloor~=nil then
  7281. Anim="Idle"
  7282. if attack==false then
  7283. if ModeOfGlitch == 1 then
  7284. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1)
  7285. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
  7286. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1)
  7287. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2.5 * math.cos(sine / 32)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(-20 - 5 * math.cos(sine / 0.465))),.1)
  7288. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1)
  7289. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  7290.  
  7291. elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 then
  7292. 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(-7.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  7293. 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(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  7294. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7295. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  7296. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
  7297. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  7298.  
  7299. elseif ModeOfGlitch == 3 or ModeOfGlitch == 69 then
  7300. 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(0 - 1 * math.cos(sine / 34))),.1)
  7301. 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(20),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  7302. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-20)),.1)
  7303. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1)
  7304. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(-5),math.rad(15 + 7.5 * math.cos(sine / 12.5))),.1)
  7305. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(5),math.rad(-15 - 7.5 * math.cos(sine / 12.5))),.1)
  7306. elseif ModeOfGlitch == 4 then
  7307. 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)
  7308. 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)
  7309. 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)
  7310. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1)
  7311. RW.C0=clerp(RW.C0,cf(1.5,0.5,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))),.1)
  7312. LW.C0=clerp(LW.C0,cf(-1.5,0.5,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))),.1)
  7313. elseif ModeOfGlitch == 8376532578634534 then
  7314. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  7315. 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)),.1)
  7316. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-40)),.1)
  7317. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(40)),.1)
  7318. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
  7319. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  7320.  
  7321. elseif ModeOfGlitch == 666666 then
  7322. 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)
  7323. 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)
  7324. 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)
  7325. 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)
  7326. 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)
  7327. 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)
  7328.  
  7329. elseif ModeOfGlitch == 5 or ModeOfGlitch == 42 then
  7330. 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(0 + 1 * math.cos(sine / 34))),.1)
  7331. 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(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  7332. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7333. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  7334. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(-30)),.1)
  7335. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  7336.  
  7337. elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 6 then
  7338. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  7339. 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)),.1)
  7340. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7341. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7342. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
  7343. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
  7344.  
  7345. elseif ModeOfGlitch == 12345678987654321 then
  7346. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  7347. 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)),.1)
  7348. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-40)),.1)
  7349. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(40)),.1)
  7350. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
  7351. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  7352. end
  7353. end
  7354. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  7355. Anim="Walk"
  7356. if attack==false then
  7357. if ModeOfGlitch == 1 then
  7358. RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/1.5,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/8))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1)
  7359. LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/1.5,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/8))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1)
  7360. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.1 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1)
  7361. 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)
  7362. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1)
  7363. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  7364. elseif ModeOfGlitch == 4 then
  7365. RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/2,.4*math.cos(sine/4)/2)*angles(math.rad(2-4*math.cos(sine/10))-math.sin(sine/10)/2,0,0)*angles(0,math.rad(90),0),.1)
  7366. LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/2,-.4*math.cos(sine/4)/2)*angles(math.rad(2+3*math.cos(sine/10))+math.sin(sine/10)/2,0,0)*angles(0,math.rad(-90),0),.1)
  7367. 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)
  7368. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1)
  7369. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 - 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6))),.1)
  7370. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10 + 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23))),.1)
  7371. elseif ModeOfGlitch == 666666 then
  7372. 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)
  7373. 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)
  7374. 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)
  7375. 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)
  7376. 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)
  7377. 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)
  7378.  
  7379. elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 then
  7380. RH.C0=clerp(RH.C0,cf(1,-.85-.4*math.cos(sine/8)/1.5,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/8))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1)
  7381. LH.C0=clerp(LH.C0,cf(-1,-.85+.4*math.cos(sine/8)/1.5,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/8))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1)
  7382. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1)
  7383. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 5 * math.cos(sine / 8))),.1)
  7384. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1)
  7385. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 - 45 * math.cos(sine / 8)),math.rad(0),math.rad(-10 + 10 * math.cos(sine / 4))),.1)
  7386. end
  7387. end
  7388. elseif torvel>=22 and hitfloor~=nil then
  7389. Anim="Run"
  7390. if attack==false then
  7391. if ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 4 and ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8376532578634534 then
  7392. RH.C0=clerp(RH.C0,cf(1,-1-.4*math.cos(sine/6)/2,.8*math.cos(sine/6)/2)*angles(math.rad(0-65*math.cos(sine/6))-math.sin(sine/6)/1.5,0,0)*angles(0,math.rad(90),0),.1)
  7393. LH.C0=clerp(LH.C0,cf(-1,-1+.4*math.cos(sine/6)/2,-.8*math.cos(sine/6)/2)*angles(math.rad(0+65*math.cos(sine/6))+math.sin(sine/6)/1.5,0,0)*angles(0,math.rad(-90),0),.1)
  7394. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + 0.125 * math.cos(sine / 3))*angles(math.rad(20),math.rad(0),math.rad(0 - 15 * math.cos(sine / 6))),.1)
  7395. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 15 * math.cos(sine / 6))),.1)
  7396. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 105 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 3))),.1)
  7397. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 - 105 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 3))),.1)
  7398. elseif ModeOfGlitch == 666666 then
  7399. RH.C0=clerp(RH.C0,cf(1,-0.75 - 0.25 * math.cos(sine / 3),-0.25 - 0.25 * math.cos(sine / 3))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  7400. LH.C0=clerp(LH.C0,cf(-1,-0.75 + 0.25 * math.cos(sine / 3),-0.25 + 0.25 * math.cos(sine / 3))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  7401. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + .125 * math.cos(sine / 3))*angles(math.rad(25),math.rad(0),math.rad(0 - 5 * math.cos(sine / 6))),.1)
  7402. 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)
  7403. 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)
  7404. 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)
  7405.  
  7406. elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 4 or ModeOfGlitch == 6 or ModeOfGlitch == 8376532578634534 then
  7407. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2)
  7408. 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(20)),.2)
  7409. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2)
  7410. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  7411. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30 + 2.5 * math.cos(sine / 28))),.2)
  7412. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30 - 2.5 * math.cos(sine / 28))),.2)
  7413. end
  7414. end
  7415. end
  7416. end
  7417. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement