Advertisement
Moe7887

NEBULA STAR GLITCHER

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