Advertisement
iiJosephCats205

THe Game

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