Advertisement
Guest User

Untitled

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