Advertisement
GodOfDuckz

GlassGlitcher V2

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