Advertisement
Sheckles

SGv7R

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