Advertisement
BlastingStone

star glitcher reupload

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