Advertisement
Sheckles

sdfgjkl,hgfhyuj

Jun 19th, 2018
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 355.64 KB | None | 0 0
  1.  
  2.  
  3. wait(math.randomseed(tick()))
  4. local plr=game.Players.LocalPlayer;ch=plr.Character;
  5. local tor=ch.Torso;local head=ch.Head;local ra=ch['Right Arm'];local la=ch['Left Arm'];local rl=ch['Right Leg'];local ll=ch['Left Leg'];
  6. local rj=ch.HumanoidRootPart.RootJoint;local neck=tor.Neck;
  7. local hum=ch.Humanoid
  8. local defWS=16
  9. local defJP=50
  10. local mo=plr:GetMouse();local cam=workspace.CurrentCamera;
  11.  
  12. local godName="OmegaNoscope"
  13. local godTalkSFX="rbxassetid://418252437"
  14.  
  15. local talkGui=Instance.new("BillboardGui",head)
  16. local im=Instance.new("ImageLabel",talkGui)
  17. local text=Instance.new("TextLabel",im)
  18. talkGui.Name="BillBoardGui"
  19. talkGui.Size=UDim2.new(15,0,5,0)
  20. talkGui.Active=true
  21. talkGui.ExtentsOffset=Vector3.new(0,3.25,0)
  22.  
  23. im.Position=UDim2.new(0.10000000149012,0,0,0)
  24. im.Size=UDim2.new(0.80000001192093,0,0.80000001192093,0)
  25. im.Position=UDim2.new(0.10000000149012,0,0,0)
  26. im.Active=true
  27. im.BackgroundColor3=Color3.new(0,0,0)
  28. im.BackgroundTransparency=1
  29. im.Image="http://www.roblox.com/asset/?id=0"
  30.  
  31. text.BackgroundTransparency=1
  32. text.Size=UDim2.new(1,0,1,0)
  33. text.BackgroundColor3=Color3.new(0,1,1)
  34. text.Font=Enum.Font.SourceSans
  35. text.FontSize=Enum.FontSize.Size14
  36. text.TextScaled=true
  37. text.TextWrapped=true
  38. text.Text=""
  39.  
  40. local talkSound=Instance.new("Sound",head)
  41. talkSound.SoundId=godTalkSFX
  42. talkSound.Volume=0.85
  43.  
  44. function say(msg,col,strokeCol,font)
  45. coroutine.resume(coroutine.create(function()
  46. text.TextColor3=col
  47. text.TextStrokeColor3=strokeCol
  48. text.Font=font
  49. text.Text=""..godName..": "
  50. for i=1,msg:len() do
  51. local x=math.random(855,1155)
  52. talkSound.Pitch=x/1000
  53. talkSound:play()
  54. text.Text=""..text.Text..""..msg:sub(i,i)..""
  55. wait(.05)
  56. end
  57. wait(1.5)
  58. text.Text=""
  59. end))
  60. end
  61.  
  62. plr.Chatted:connect(function(msg)
  63. say(msg,Color3.new(0,0.2,1),Color3.new(0, 0.2, 1),"Fantasy")
  64. end)
  65.  
  66.  
  67. local p = game.Players.LocalPlayer--300899323
  68. local char = p.Character
  69. local mouse = p:GetMouse()
  70. local larm = char["Left Arm"]
  71. local rarm = char["Right Arm"]
  72. local lleg = char["Left Leg"]
  73. local rleg = char["Right Leg"]
  74. local hed = char.Head
  75. local torso = char.Torso
  76. local hum = char.Humanoid
  77. local cam = game.Workspace.CurrentCamera
  78. local root = char.HumanoidRootPart
  79. local rj = root.RootJoint
  80. local deb = false
  81. local shot = 0
  82. local l = game:GetService("Lighting")
  83. local rs = game:GetService("RunService").RenderStepped
  84. local hb = game:GetService("RunService").Heartbeat
  85. local Stepped = game:GetService("RunService").Stepped
  86. --Left Arm
  87. m = Instance.new("Model")
  88. m.Name = "LeftArm"
  89. p1 = Instance.new("Part", m)
  90. p1.BrickColor = BrickColor.new("Really black")
  91. p1.Material = Enum.Material.SmoothPlastic
  92. p1.CFrame = CFrame.new(-1.5, 5.73969078, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  93. p1.Size = Vector3.new(1, 0.200000048, 1)
  94. p1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  95. p1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  96. p1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  97. p1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  98. p1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  99. p1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  100. b1 = Instance.new("SpecialMesh", p1)
  101. b1.MeshType = Enum.MeshType.Brick
  102. b1.Name = "Mesh"
  103. b1.Scale = Vector3.new(1.03999996, 1.01999998, 1.03999996)
  104. p2 = Instance.new("Part", m)
  105. p2.BrickColor = BrickColor.new("Really black")
  106. p2.Material = Enum.Material.SmoothPlastic
  107. p2.CFrame = CFrame.new(-1.5, 6.03969383, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  108. p2.Size = Vector3.new(1, 0.200000048, 1)
  109. p2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  110. p2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  111. p2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  112. p2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  113. p2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  114. p2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  115. b2 = Instance.new("SpecialMesh", p2)
  116. b2.MeshType = Enum.MeshType.Brick
  117. b2.Name = "Mesh"
  118. b2.Scale = Vector3.new(1.03999996, 1.01999998, 1.03999996)
  119. p3 = Instance.new("Part", m)
  120. p3.BrickColor = BrickColor.new("Really black")
  121. p3.Material = Enum.Material.SmoothPlastic
  122. p3.CFrame = CFrame.new(-1.5, 6.63968849, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  123. p3.Size = Vector3.new(1, 0.200000048, 1)
  124. p3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  125. p3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  126. p3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  127. p3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  128. p3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  129. p3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  130. b3 = Instance.new("SpecialMesh", p3)
  131. b3.MeshType = Enum.MeshType.Brick
  132. b3.Name = "Mesh"
  133. b3.Scale = Vector3.new(1.03999996, 1.01999998, 1.03999996)
  134. p4 = Instance.new("Part", m)
  135. p4.BrickColor = BrickColor.new("Really black")
  136. p4.Material = Enum.Material.SmoothPlastic
  137. p4.Name = "LeftArmPlate"
  138. p4.Size = Vector3.new(1, 2, 1)
  139. p4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  140. p4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  141. p4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  142. p4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  143. p4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  144. p4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  145. b4 = Instance.new("SpecialMesh", p4)
  146. b4.MeshType = Enum.MeshType.Brick
  147. b4.Name = "Mesh"
  148. b4.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  149. p5 = Instance.new("Part", m)
  150. p5.BrickColor = BrickColor.new("Really black")
  151. p5.Material = Enum.Material.SmoothPlastic
  152. p5.CFrame = CFrame.new(-1.5, 6.33969307, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  153. p5.Size = Vector3.new(1, 0.200000048, 1)
  154. p5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  155. p5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  156. p5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  157. p5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  158. p5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  159. p5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  160. b5 = Instance.new("SpecialMesh", p5)
  161. b5.MeshType = Enum.MeshType.Brick
  162. b5.Name = "Mesh"
  163. b5.Scale = Vector3.new(1.03999996, 1.01999998, 1.03999996)
  164. p6 = Instance.new("Part", m)
  165. p6.BrickColor = BrickColor.new("Really black")
  166. p6.Material = Enum.Material.SmoothPlastic
  167. p6.CFrame = CFrame.new(-1.5, 5.73969078, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  168. p6.Size = Vector3.new(1, 0.200000048, 1)
  169. p6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  170. p6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  171. p6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  172. p6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  173. p6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  174. p6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  175. b6 = Instance.new("SpecialMesh", p6)
  176. b6.MeshType = Enum.MeshType.Brick
  177. b6.Name = "Mesh"
  178. b6.Scale = Vector3.new(1.05999994, 0.699999988, 1.05999994)
  179. p7 = Instance.new("Part", m)
  180. p7.BrickColor = BrickColor.new("Really black")
  181. p7.Material = Enum.Material.SmoothPlastic
  182. p7.CFrame = CFrame.new(-1.5, 6.03969383, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  183. p7.FormFactor = Enum.FormFactor.Custom
  184. p7.Size = Vector3.new(1, 0.200000048, 1)
  185. p7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  186. p7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  187. p7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  188. p7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  189. p7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  190. p7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  191. b7 = Instance.new("SpecialMesh", p7)
  192. b7.MeshType = Enum.MeshType.Brick
  193. b7.Name = "Mesh"
  194. b7.Scale = Vector3.new(1.05999994, 0.699999988, 1.05999994)
  195. p8 = Instance.new("Part", m)
  196. p8.BrickColor = BrickColor.new("Really black")
  197. p8.Material = Enum.Material.SmoothPlastic
  198. p8.CFrame = CFrame.new(-1.5, 6.33969307, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  199. p8.FormFactor = Enum.FormFactor.Custom
  200. p8.Size = Vector3.new(1, 0.200000048, 1)
  201. p8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  202. p8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  203. p8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  204. p8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  205. p8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  206. p8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  207. b8 = Instance.new("SpecialMesh", p8)
  208. b8.MeshType = Enum.MeshType.Brick
  209. b8.Name = "Mesh"
  210. b8.Scale = Vector3.new(1.05999994, 0.699999988, 1.05999994)
  211. p9 = Instance.new("Part", m)
  212. p9.BrickColor = BrickColor.new("Really black")
  213. p9.Material = Enum.Material.SmoothPlastic
  214. p9.CFrame = CFrame.new(-1.5, 6.63968849, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  215. p9.FormFactor = Enum.FormFactor.Custom
  216. p9.Size = Vector3.new(1, 0.200000048, 1)
  217. p9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  218. p9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  219. p9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  220. p9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  221. p9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  222. p9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  223. b9 = Instance.new("SpecialMesh", p9)
  224. b9.MeshType = Enum.MeshType.Brick
  225. b9.Name = "Mesh"
  226. b9.Scale = Vector3.new(1.05999994, 0.699999988, 1.05999994)
  227. p10 = Instance.new("Part", m)
  228. p10.BrickColor = BrickColor.new("Really black")
  229. p10.Material = Enum.Material.SmoothPlastic
  230. p10.CFrame = CFrame.new(-1.5, 6.78969193, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  231. p10.FormFactor = Enum.FormFactor.Custom
  232. p10.Size = Vector3.new(1, 0.349999994, 1)
  233. p10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  234. p10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  235. p10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  236. p10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  237. p10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  238. p10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  239. b10 = Instance.new("SpecialMesh", p10)
  240. b10.MeshType = Enum.MeshType.Brick
  241. b10.Name = "Mesh"
  242. b10.Scale = Vector3.new(1.12, 1.01999998, 1.12)
  243. p11 = Instance.new("Part", m)
  244. p11.BrickColor = BrickColor.new("Really black")
  245. p11.Material = Enum.Material.SmoothPlastic
  246. p11.CFrame = CFrame.new(-1.5, 6.48969078, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  247. p11.FormFactor = Enum.FormFactor.Custom
  248. p11.Size = Vector3.new(1, 0.25, 1)
  249. p11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  250. p11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  251. p11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  252. p11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  253. p11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  254. p11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  255. b11 = Instance.new("SpecialMesh", p11)
  256. b11.MeshType = Enum.MeshType.Brick
  257. b11.Name = "Mesh"
  258. b11.Scale = Vector3.new(1.03999996, 0.400000006, 1.03999996)
  259. p12 = Instance.new("Part", m)
  260. p12.BrickColor = BrickColor.new("Really black")
  261. p12.Material = Enum.Material.SmoothPlastic
  262. p12.CFrame = CFrame.new(-1.5, 6.18969154, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  263. p12.FormFactor = Enum.FormFactor.Custom
  264. p12.Size = Vector3.new(1, 0.25, 1)
  265. p12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  266. p12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  267. p12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  268. p12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  269. p12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  270. p12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  271. b12 = Instance.new("SpecialMesh", p12)
  272. b12.MeshType = Enum.MeshType.Brick
  273. b12.Name = "Mesh"
  274. b12.Scale = Vector3.new(1.03999996, 0.400000006, 1.03999996)
  275. p13 = Instance.new("Part", m)
  276. p13.BrickColor = BrickColor.new("Really black")
  277. p13.Material = Enum.Material.SmoothPlastic
  278. p13.CFrame = CFrame.new(-1.5, 5.88968849, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  279. p13.FormFactor = Enum.FormFactor.Custom
  280. p13.Size = Vector3.new(1, 0.25, 1)
  281. p13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  282. p13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  283. p13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  284. p13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  285. p13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  286. p13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  287. b13 = Instance.new("SpecialMesh", p13)
  288. b13.MeshType = Enum.MeshType.Brick
  289. b13.Name = "Mesh"
  290. b13.Scale = Vector3.new(1.03999996, 0.400000006, 1.03999996)
  291. p14 = Instance.new("Part", m)
  292. p14.BrickColor = BrickColor.new("Really black")
  293. p14.Material = Enum.Material.SmoothPlastic
  294. p14.CFrame = CFrame.new(-1.5, 5.58969307, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  295. p14.FormFactor = Enum.FormFactor.Custom
  296. p14.Size = Vector3.new(1, 0.25, 1)
  297. p14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  298. p14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  299. p14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  300. p14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  301. p14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  302. p14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  303. b14 = Instance.new("SpecialMesh", p14)
  304. b14.MeshType = Enum.MeshType.Brick
  305. b14.Name = "Mesh"
  306. b14.Scale = Vector3.new(1.03999996, 0.400000006, 1.03999996)
  307. p15 = Instance.new("Part", m)
  308. p15.BrickColor = BrickColor.new("Really black")
  309. p15.Material = Enum.Material.SmoothPlastic
  310. p15.CFrame = CFrame.new(-1.5, 6.63968849, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  311. p15.FormFactor = Enum.FormFactor.Custom
  312. p15.Size = Vector3.new(1, 1, 1)
  313. p15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  314. p15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  315. p15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  316. p15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  317. p15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  318. p15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  319. b15 = Instance.new("SpecialMesh", p15)
  320. b15.MeshType = Enum.MeshType.Brick
  321. b15.Name = "Mesh"
  322. p16 = Instance.new("Part", m)
  323. p16.BrickColor = BrickColor.new("Really black")
  324. p16.Material = Enum.Material.SmoothPlastic
  325. p16.CFrame = CFrame.new(-1.49142194, 4.80968094, 21.7695732, 1, 1.67448022e-007, -1.06342185e-007, -2.04123751e-007, 0.500000119, -0.866025269, -6.57511308e-008, 0.866025329, 0.5)
  326. p16.FormFactor = Enum.FormFactor.Custom
  327. p16.Size = Vector3.new(0.200000003, 0.200000048, 0.599999964)
  328. p16.Transparency = 1
  329. p16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  330. p16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  331. p16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  332. p16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  333. p16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  334. p16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  335. b16 = Instance.new("SpecialMesh", p16)
  336. b16.MeshType = Enum.MeshType.Brick
  337. b16.Name = "Mesh"
  338. b16.Scale = Vector3.new(1.04999995, 1.01999998, 1.03999996)
  339. p17 = Instance.new("Part", m)
  340. p17.BrickColor = BrickColor.new("Really black")
  341. p17.Material = Enum.Material.SmoothPlastic
  342. p17.CFrame = CFrame.new(-1.50000083, 5.33968592, 22.4999943, 1, -9.44388034e-009, 5.2184074e-008, -7.54702114e-008, 0.999999881, 2.38418579e-007, 2.60919535e-008, 1.1920929e-007, 0.999999881)
  343. p17.FormFactor = Enum.FormFactor.Custom
  344. p17.Size = Vector3.new(1.01999998, 0.300000012, 1.01999998)
  345. p17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  346. p17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  347. p17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  348. p17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  349. p17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  350. p17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  351. b17 = Instance.new("SpecialMesh", p17)
  352. b17.MeshType = Enum.MeshType.Brick
  353. b17.Name = "Mesh"
  354. b17.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  355. p18 = Instance.new("Part", m)
  356. p18.BrickColor = BrickColor.new("Really black")
  357. p18.Material = Enum.Material.SmoothPlastic
  358. p18.CFrame = CFrame.new(-1.50000072, 5.33968782, 22.4999962, 1, -3.77485776e-008, 7.82760807e-008, -1.03774902e-007, 0.999999881, 3.57627869e-007, 5.21839532e-008, 2.38418565e-007, 0.999999881)
  359. p18.FormFactor = Enum.FormFactor.Custom
  360. p18.Size = Vector3.new(1.00999999, 0.400000036, 1.00999999)
  361. p18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  362. p18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  363. p18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  364. p18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  365. p18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  366. p18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  367. b18 = Instance.new("SpecialMesh", p18)
  368. b18.MeshType = Enum.MeshType.Brick
  369. b18.Name = "Mesh"
  370. b18.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  371. p19 = Instance.new("Part", m)
  372. p19.BrickColor = BrickColor.new("Really black")
  373. p19.Material = Enum.Material.SmoothPlastic
  374. p19.CFrame = CFrame.new(-1.5000006, 5.33968973, 22.4999981, 1, -6.60532748e-008, 1.04368084e-007, -1.32079592e-007, 0.999999881, 4.76837158e-007, 7.82759457e-008, 3.5762784e-007, 0.999999881)
  375. p19.FormFactor = Enum.FormFactor.Custom
  376. p19.Size = Vector3.new(1.02999997, 0.200000003, 1.02999997)
  377. p19.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  378. p19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  379. p19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  380. p19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  381. p19.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  382. p19.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  383. b19 = Instance.new("SpecialMesh", p19)
  384. b19.MeshType = Enum.MeshType.Brick
  385. b19.Name = "Mesh"
  386. b19.Scale = Vector3.new(1.02999997, 0.50999999, 1.02999997)
  387. p20 = Instance.new("Part", m)
  388. p20.BrickColor = BrickColor.new("Institutional white")
  389. p20.Material = Enum.Material.SmoothPlastic
  390. p20.CFrame = CFrame.new(-1.50000048, 5.33969164, 22.5, 1, -9.4357965e-008, 1.3046008e-007, -1.60384275e-007, 0.999999881, 5.96046448e-007, 1.04367942e-007, 4.76837101e-007, 0.999999881)
  391. p20.FormFactor = Enum.FormFactor.Custom
  392. p20.Size = Vector3.new(1.02999997, 0.200000003, 1.02999997)
  393. p20.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  394. p20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  395. p20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  396. p20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  397. p20.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  398. p20.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  399. b20 = Instance.new("SpecialMesh", p20)
  400. b20.MeshType = Enum.MeshType.Brick
  401. b20.Name = "Mesh"
  402. b20.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  403. p21 = Instance.new("Part", m)
  404. p21.BrickColor = BrickColor.new("Really black")
  405. p21.Material = Enum.Material.SmoothPlastic
  406. p21.CFrame = CFrame.new(-1.93255413, 4.43040705, 22.5000057, -1.61368675e-007, -0.707106769, -0.707106769, -4.62050195e-007, -0.707106471, 0.707106948, -0.999999881, -5.86611463e-007, 4.45824725e-007)
  407. p21.FormFactor = Enum.FormFactor.Custom
  408. p21.Size = Vector3.new(0,0,0)
  409. p21.Transparency = 1
  410. p21.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  411. p21.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  412. p21.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  413. p21.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  414. p21.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  415. p21.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  416. b21 = Instance.new("SpecialMesh", p21)
  417. b21.MeshType = Enum.MeshType.Wedge
  418. b21.Name = "Mesh"
  419. b21.Scale = Vector3.new(1.04999995, 1.01999998, 1.03999996)
  420. p22 = Instance.new("Part", m)
  421. p22.BrickColor = BrickColor.new("Really black")
  422. p22.Material = Enum.Material.SmoothPlastic
  423. p22.CFrame = CFrame.new(-2.22184062, 4.80970049, 22.5000057, -6.50768897e-008, 0.866025269, 0.50000006, -7.82806978e-007, 0.499999732, -0.866025329, -0.999999881, 3.74247918e-007, -2.56530342e-007)
  424. p22.FormFactor = Enum.FormFactor.Custom
  425. p22.Size = Vector3.new(0.200000003, 0.200000048, 0.599999964)
  426. p22.Transparency = 1
  427. p22.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  428. p22.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  429. p22.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  430. p22.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  431. p22.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  432. p22.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  433. b22 = Instance.new("SpecialMesh", p22)
  434. b22.MeshType = Enum.MeshType.Brick
  435. b22.Name = "Mesh"
  436. b22.Scale = Vector3.new(1.04999995, 1.01999998, 1.03999996)
  437. p23 = Instance.new("Part", m)
  438. p23.BrickColor = BrickColor.new("Really black")
  439. p23.Material = Enum.Material.SmoothPlastic
  440. p23.CFrame = CFrame.new(-2.41184235, 5.35969734, 22.5000076, -1.73507274e-007, 0.98480767, 0.17364803, -8.28146199e-007, 0.173647702, -0.984807611, -0.999999881, 1.49283139e-007, -3.43238185e-007)
  441. p23.FormFactor = Enum.FormFactor.Custom
  442. p23.Size = Vector3.new(0.200000003, 0.200000048, 0.599999964)
  443. p23.Transparency = 1
  444. p23.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  445. p23.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  446. p23.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  447. p23.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  448. p23.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  449. p23.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  450. b23 = Instance.new("SpecialMesh", p23)
  451. b23.MeshType = Enum.MeshType.Brick
  452. b23.Name = "Mesh"
  453. b23.Scale = Vector3.new(1.04999995, 1.01999998, 1.03999996)
  454. p24 = Instance.new("Part", m)
  455. p24.BrickColor = BrickColor.new("Really black")
  456. p24.Material = Enum.Material.SmoothPlastic
  457. p24.CFrame = CFrame.new(-2.41184616, 5.92969847, 22.5000076, -1.73507232e-007, 0.984807611, -0.173648104, -8.12965368e-007, -0.173648402, -0.984807432, -0.999999881, 2.02498356e-008, -3.8854634e-007)
  458. p24.FormFactor = Enum.FormFactor.Custom
  459. p24.Size = Vector3.new(0.200000003, 0.200000048, 0.599999964)
  460. p24.Transparency = 1
  461. p24.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  462. p24.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  463. p24.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  464. p24.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  465. p24.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  466. p24.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  467. b24 = Instance.new("SpecialMesh", p24)
  468. b24.MeshType = Enum.MeshType.Brick
  469. b24.Name = "Mesh"
  470. b24.Scale = Vector3.new(1.04999995, 1.01999998, 1.03999996)
  471. p25 = Instance.new("Part", m)
  472. p25.BrickColor = BrickColor.new("Really black")
  473. p25.Material = Enum.Material.SmoothPlastic
  474. p25.CFrame = CFrame.new(-2.14142036, 6.39827347, 22.5000114, -7.7074823e-008, 0.707106829, -0.70710659, -7.54731559e-007, -0.707106769, -0.707106471, -0.999999881, -1.79262827e-007, -4.39258827e-007)
  475. p25.FormFactor = Enum.FormFactor.Custom
  476. p25.Size = Vector3.new(0.200000003, 0.200000048, 0.599999964)
  477. p25.Transparency = 1
  478. p25.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  479. p25.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  480. p25.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  481. p25.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  482. p25.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  483. p25.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  484. b25 = Instance.new("SpecialMesh", p25)
  485. b25.MeshType = Enum.MeshType.Brick
  486. b25.Name = "Mesh"
  487. b25.Scale = Vector3.new(1.03999996, 1.01999998, 1.03999996)
  488. p26 = Instance.new("Part", m)
  489. p26.BrickColor = BrickColor.new("Really black")
  490. p26.Material = Enum.Material.SmoothPlastic
  491. p26.CFrame = CFrame.new(-1.49142087, 6.39827442, 23.1500168, -0.999999881, 1.1920929e-007, 2.68220901e-007, 1.49011612e-007, -0.707106948, -0.707106233, -1.77625395e-007, -0.707107306, 0.707106113)
  492. p26.FormFactor = Enum.FormFactor.Custom
  493. p26.Size = Vector3.new(0.200000003, 0.200000048, 0.599999964)
  494. p26.Transparency = 1
  495. p26.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  496. p26.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  497. p26.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  498. p26.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  499. p26.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  500. p26.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  501. b26 = Instance.new("SpecialMesh", p26)
  502. b26.MeshType = Enum.MeshType.Brick
  503. b26.Name = "Mesh"
  504. b26.Scale = Vector3.new(1.03999996, 1.01999998, 1.03999996)
  505. p27 = Instance.new("Part", m)
  506. p27.BrickColor = BrickColor.new("Really black")
  507. p27.Material = Enum.Material.SmoothPlastic
  508. p27.CFrame = CFrame.new(-1.49141955, 5.92969704, 23.420433, -0.999999881, -3.03310628e-007, 3.64177367e-007, 1.73600242e-007, -0.173648864, -0.984807312, 2.67648517e-008, -0.98480773, 0.173647434)
  509. p27.FormFactor = Enum.FormFactor.Custom
  510. p27.Size = Vector3.new(0.200000003, 0.200000048, 0.599999964)
  511. p27.Transparency = 1
  512. p27.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  513. p27.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  514. p27.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  515. p27.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  516. p27.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  517. p27.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  518. b27 = Instance.new("SpecialMesh", p27)
  519. b27.MeshType = Enum.MeshType.Brick
  520. b27.Name = "Mesh"
  521. b27.Scale = Vector3.new(1.04999995, 1.01999998, 1.03999996)
  522. p28 = Instance.new("Part", m)
  523. p28.BrickColor = BrickColor.new("Really black")
  524. p28.Material = Enum.Material.SmoothPlastic
  525. p28.CFrame = CFrame.new(-1.49141943, 5.35969734, 23.4204254, -0.999999881, -3.81113438e-007, 3.10304756e-007, 1.64414772e-007, 0.173647091, -0.984807551, -6.59209363e-008, -0.984807372, -0.17364876)
  526. p28.FormFactor = Enum.FormFactor.Custom
  527. p28.Size = Vector3.new(0.200000003, 0.200000048, 0.599999964)
  528. p28.Transparency = 1
  529. p28.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  530. p28.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  531. p28.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  532. p28.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  533. p28.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  534. p28.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  535. b28 = Instance.new("SpecialMesh", p28)
  536. b28.MeshType = Enum.MeshType.Brick
  537. b28.Name = "Mesh"
  538. b28.Scale = Vector3.new(1.04999995, 1.01999998, 1.03999996)
  539. p29 = Instance.new("Part", m)
  540. p29.BrickColor = BrickColor.new("Really black")
  541. p29.Material = Enum.Material.SmoothPlastic
  542. p29.CFrame = CFrame.new(-1.49141932, 4.80969858, 23.2304344, -0.999999881, -4.47128798e-007, 1.98065763e-007, 1.97699791e-007, 0.499998987, -0.866025448, -1.51352623e-007, -0.866024613, -0.500000715)
  543. p29.FormFactor = Enum.FormFactor.Custom
  544. p29.Size = Vector3.new(0.200000003, 0.200000048, 0.599999964)
  545. p29.Transparency = 1
  546. p29.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  547. p29.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  548. p29.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  549. p29.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  550. p29.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  551. p29.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  552. b29 = Instance.new("SpecialMesh", p29)
  553. b29.MeshType = Enum.MeshType.Brick
  554. b29.Name = "Mesh"
  555. b29.Scale = Vector3.new(1.04999995, 1.01999998, 1.03999996)
  556. p30 = Instance.new("Part", m)
  557. p30.BrickColor = BrickColor.new("Really black")
  558. p30.Material = Enum.Material.SmoothPlastic
  559. p30.CFrame = CFrame.new(-1.49142027, 4.43040895, 22.9411469, -0.999999881, 4.25206935e-007, 1.94115486e-007, 4.85997248e-007, -0.707105517, 0.707107246, -5.38012159e-008, 0.707105875, 0.707107246)
  560. p30.FormFactor = Enum.FormFactor.Custom
  561. p30.Size = Vector3.new(0,0,0)
  562. p30.Transparency = 1
  563. p30.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  564. p30.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  565. p30.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  566. p30.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  567. p30.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  568. p30.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  569. b30 = Instance.new("SpecialMesh", p30)
  570. b30.MeshType = Enum.MeshType.Wedge
  571. b30.Name = "Mesh"
  572. b30.Scale = Vector3.new(1.04999995, 1.01999998, 1.03999996)
  573. p31 = Instance.new("Part", m)
  574. p31.BrickColor = BrickColor.new("Really black")
  575. p31.Material = Enum.Material.SmoothPlastic
  576. p31.CFrame = CFrame.new(-1.49141979, 6.39827871, 21.8500175, 0.999999881, 3.40091276e-007, -1.70074486e-007, -5.85792634e-007, -0.707105458, -0.707107246, 1.83170471e-007, 0.707105815, -0.707107365)
  577. p31.FormFactor = Enum.FormFactor.Custom
  578. p31.Size = Vector3.new(0.200000003, 0.200000048, 0.599999964)
  579. p31.Transparency = 1
  580. p31.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  581. p31.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  582. p31.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  583. p31.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  584. p31.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  585. p31.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  586. b31 = Instance.new("SpecialMesh", p31)
  587. b31.MeshType = Enum.MeshType.Brick
  588. b31.Name = "Mesh"
  589. b31.Scale = Vector3.new(1.03999996, 1.01999998, 1.03999996)
  590. p32 = Instance.new("Part", m)
  591. p32.BrickColor = BrickColor.new("Really black")
  592. p32.Material = Enum.Material.SmoothPlastic
  593. p32.CFrame = CFrame.new(-1.49141908, 4.43041086, 22.0588818, 0.999999881, -5.29441166e-008, -6.45117154e-007, -3.43892481e-007, -0.707107067, 0.707105517, 1.02492642e-007, -0.707107663, -0.707105637)
  594. p32.FormFactor = Enum.FormFactor.Custom
  595. p32.Size = Vector3.new(0,0,0)
  596. p32.Transparency = 1
  597. p32.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  598. p32.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  599. p32.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  600. p32.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  601. p32.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  602. p32.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  603. b32 = Instance.new("SpecialMesh", p32)
  604. b32.MeshType = Enum.MeshType.Wedge
  605. b32.Name = "Mesh"
  606. b32.Scale = Vector3.new(1.04999995, 1.01999998, 1.03999996)
  607. p33 = Instance.new("Part", m)
  608. p33.BrickColor = BrickColor.new("Really black")
  609. p33.Material = Enum.Material.SmoothPlastic
  610. p33.CFrame = CFrame.new(-1.4914217, 5.92970181, 21.5795879, 0.999999881, 5.22213554e-007, 2.83446013e-008, -7.00635724e-007, -0.173646629, -0.984807253, 1.38921934e-007, 0.984807372, -0.17364946)
  611. p33.FormFactor = Enum.FormFactor.Custom
  612. p33.Size = Vector3.new(0.200000003, 0.200000048, 0.599999964)
  613. p33.Transparency = 1
  614. p33.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  615. p33.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  616. p33.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  617. p33.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  618. p33.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  619. p33.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  620. b33 = Instance.new("SpecialMesh", p33)
  621. b33.MeshType = Enum.MeshType.Brick
  622. b33.Name = "Mesh"
  623. b33.Scale = Vector3.new(1.04999995, 1.01999998, 1.03999996)
  624. p34 = Instance.new("Part", m)
  625. p34.BrickColor = BrickColor.new("Really black")
  626. p34.Material = Enum.Material.SmoothPlastic
  627. p34.CFrame = CFrame.new(-1.49141932, 5.35969925, 21.5795956, 0.999999881, 5.04442426e-007, 2.22697935e-007, -7.44121166e-007, 0.17364943, -0.984806716, 1.65013844e-007, 0.984807849, 0.173646525)
  628. p34.FormFactor = Enum.FormFactor.Custom
  629. p34.Size = Vector3.new(0.200000003, 0.200000048, 0.599999964)
  630. p34.Transparency = 1
  631. p34.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  632. p34.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  633. p34.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  634. p34.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  635. p34.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  636. p34.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  637. b34 = Instance.new("SpecialMesh", p34)
  638. b34.MeshType = Enum.MeshType.Brick
  639. b34.Name = "Mesh"
  640. b34.Scale = Vector3.new(1.04999995, 1.01999998, 1.03999996)
  641. w1 = Instance.new("Weld", p1)
  642. w1.Name = "Part_Weld"
  643. w1.Part0 = p1
  644. w1.C0 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  645. w1.Part1 = p2
  646. w1.C1 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  647. w2 = Instance.new("Weld", p2)
  648. w2.Name = "Part_Weld"
  649. w2.Part0 = p2
  650. w2.C0 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  651. w2.Part1 = p3
  652. w2.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  653. w3 = Instance.new("Weld", p3)
  654. w3.Name = "LeftArmPlate_Weld"
  655. w3.Part0 = p3
  656. w3.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  657. w3.Part1 = p4
  658. w3.C1 = CFrame.new(1.5, -18.1000156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  659. w4 = Instance.new("Weld", p4)
  660. w4.Name = "Part_Weld"
  661. w4.Part0 = p4
  662. w4.C0 = CFrame.new(1.5, -18.1000156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  663. w4.Part1 = p5
  664. w4.C1 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  665. w5 = Instance.new("Weld", p5)
  666. w5.Name = "Part_Weld"
  667. w5.Part0 = p5
  668. w5.C0 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  669. w5.Part1 = p6
  670. w5.C1 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  671. w6 = Instance.new("Weld", p6)
  672. w6.Name = "Part_Weld"
  673. w6.Part0 = p6
  674. w6.C0 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  675. w6.Part1 = p7
  676. w6.C1 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  677. w7 = Instance.new("Weld", p7)
  678. w7.Name = "Part_Weld"
  679. w7.Part0 = p7
  680. w7.C0 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  681. w7.Part1 = p8
  682. w7.C1 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  683. w8 = Instance.new("Weld", p8)
  684. w8.Name = "Part_Weld"
  685. w8.Part0 = p8
  686. w8.C0 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  687. w8.Part1 = p9
  688. w8.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  689. w9 = Instance.new("Weld", p9)
  690. w9.Name = "Part_Weld"
  691. w9.Part0 = p9
  692. w9.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  693. w9.Part1 = p10
  694. w9.C1 = CFrame.new(1.5, -18.950016, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  695. w10 = Instance.new("Weld", p10)
  696. w10.Name = "Part_Weld"
  697. w10.Part0 = p10
  698. w10.C0 = CFrame.new(1.5, -18.950016, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  699. w10.Part1 = p11
  700. w10.C1 = CFrame.new(1.5, -18.6500149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  701. w11 = Instance.new("Weld", p11)
  702. w11.Name = "Part_Weld"
  703. w11.Part0 = p11
  704. w11.C0 = CFrame.new(1.5, -18.6500149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  705. w11.Part1 = p12
  706. w11.C1 = CFrame.new(1.5, -18.3500156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  707. w12 = Instance.new("Weld", p12)
  708. w12.Name = "Part_Weld"
  709. w12.Part0 = p12
  710. w12.C0 = CFrame.new(1.5, -18.3500156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  711. w12.Part1 = p13
  712. w12.C1 = CFrame.new(1.5, -18.0500126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  713. w13 = Instance.new("Weld", p13)
  714. w13.Name = "Part_Weld"
  715. w13.Part0 = p13
  716. w13.C0 = CFrame.new(1.5, -18.0500126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  717. w13.Part1 = p14
  718. w13.C1 = CFrame.new(1.5, -17.7500172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  719. w14 = Instance.new("Weld", p14)
  720. w14.Name = "Part_Weld"
  721. w14.Part0 = p14
  722. w14.C0 = CFrame.new(1.5, -17.7500172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  723. w14.Part1 = p15
  724. w14.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  725. w15 = Instance.new("Weld", p15)
  726. w15.Name = "Part_Weld"
  727. w15.Part0 = p15
  728. w15.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  729. w15.Part1 = p16
  730. w15.C1 = CFrame.new(1.49142683, -27.338007, 3.81166649, 1, -2.04123751e-007, -6.57511308e-008, 1.67448022e-007, 0.500000119, 0.866025329, -1.06342185e-007, -0.866025269, 0.5)
  731. w16 = Instance.new("Weld", p16)
  732. w16.Name = "Part_Weld"
  733. w16.Part0 = p16
  734. w16.C0 = CFrame.new(1.49142683, -27.338007, 3.81166649, 1, -2.04123751e-007, -6.57511308e-008, 1.67448022e-007, 0.500000119, 0.866025329, -1.06342185e-007, -0.866025269, 0.5)
  735. w16.Part1 = p17
  736. w16.C1 = CFrame.new(1.50000179, -17.5000076, -22.4999943, 1, -4.71655142e-008, -4.97379915e-014, 1.88608098e-008, 1, 2.98023224e-008, 2.60920601e-008, 8.94069672e-008, 1)
  737. w17 = Instance.new("Weld", p17)
  738. w17.Name = "Part_Weld"
  739. w17.Part0 = p17
  740. w17.C0 = CFrame.new(1.50000179, -17.5000076, -22.4999943, 1, -4.71655142e-008, -4.97379915e-014, 1.88608098e-008, 1, 2.98023224e-008, 2.60920601e-008, 8.94069672e-008, 1)
  741. w17.Part1 = p18
  742. w17.C1 = CFrame.new(1.50000179, -17.5000076, -22.4999943, 1, -4.71655142e-008, -4.97379915e-014, 1.88608098e-008, 1, 2.98023224e-008, 2.60920601e-008, 8.94069672e-008, 1)
  743. w18 = Instance.new("Weld", p18)
  744. w18.Name = "Part_Weld"
  745. w18.Part0 = p18
  746. w18.C0 = CFrame.new(1.50000179, -17.5000076, -22.4999943, 1, -4.71655142e-008, -4.97379915e-014, 1.88608098e-008, 1, 2.98023224e-008, 2.60920601e-008, 8.94069672e-008, 1)
  747. w18.Part1 = p19
  748. w18.C1 = CFrame.new(1.50000179, -17.5000076, -22.4999943, 1, -4.71655142e-008, -4.97379915e-014, 1.88608098e-008, 1, 2.98023224e-008, 2.60920601e-008, 8.94069672e-008, 1)
  749. w19 = Instance.new("Weld", p19)
  750. w19.Name = "Part_Weld"
  751. w19.Part0 = p19
  752. w19.C0 = CFrame.new(1.50000179, -17.5000076, -22.4999943, 1, -4.71655142e-008, -4.97379915e-014, 1.88608098e-008, 1, 2.98023224e-008, 2.60920601e-008, 8.94069672e-008, 1)
  753. w19.Part1 = p20
  754. w19.C1 = CFrame.new(1.50000179, -17.5000076, -22.4999943, 1, -4.71655142e-008, -4.97379915e-014, 1.88608098e-008, 1, 2.98023224e-008, 2.60920601e-008, 8.94069672e-008, 1)
  755. w20 = Instance.new("Weld", p20)
  756. w20.Name = "Part_Weld"
  757. w20.Part0 = p20
  758. w20.C0 = CFrame.new(1.50000179, -17.5000076, -22.4999943, 1, -4.71655142e-008, -4.97379915e-014, 1.88608098e-008, 1, 2.98023224e-008, 2.60920601e-008, 8.94069672e-008, 1)
  759. w20.Part1 = p21
  760. w20.C1 = CFrame.new(22.4999943, 10.3648901, -13.0979404, -3.09086232e-008, 1.63798575e-007, -1, -0.707106888, -0.70710665, -9.39673512e-008, -0.70710665, 0.707106888, 1.37678796e-007)
  761. w21 = Instance.new("Weld", p21)
  762. w21.Name = "Part_Weld"
  763. w21.Part0 = p21
  764. w21.C0 = CFrame.new(22.4999943, 10.3648901, -13.0979404, -3.09086232e-008, 1.63798575e-007, -1, -0.707106888, -0.70710665, -9.39673512e-008, -0.70710665, 0.707106888, 1.37678796e-007)
  765. w21.Part1 = p22
  766. w21.C1 = CFrame.new(22.4999981, -6.56083632, 15.8073826, 6.53831052e-008, -1.56958208e-007, -1, 0.866025388, 0.5, -2.18557226e-008, 0.5, -0.866025388, 1.68621398e-007)
  767. w22 = Instance.new("Weld", p22)
  768. w22.Name = "Part_Weld"
  769. w22.Part0 = p22
  770. w22.C0 = CFrame.new(22.4999981, -6.56083632, 15.8073826, 6.53831052e-008, -1.56958208e-007, -1, 0.866025388, 0.5, -2.18557226e-008, 0.5, -0.866025388, 1.68621398e-007)
  771. w22.Part1 = p23
  772. w22.C1 = CFrame.new(22.5, -0.667109907, 17.6726532, -4.30473222e-008, -2.02297542e-007, -1, 0.984807789, 0.17364794, -7.75219178e-008, 0.17364794, -0.984807789, 1.91749166e-007)
  773. w23 = Instance.new("Weld", p23)
  774. w23.Name = "Part_Weld"
  775. w23.Part0 = p23
  776. w23.C0 = CFrame.new(22.5, -0.667109907, 17.6726532, -4.30473222e-008, -2.02297542e-007, -1, 0.984807789, 0.17364794, -7.75219178e-008, 0.17364794, -0.984807789, 1.91749166e-007)
  777. w23.Part1 = p24
  778. w23.C1 = CFrame.new(22.5, 5.5165062, 17.3963699, -4.30473079e-008, -1.87116754e-007, -1, 0.98480773, -0.173648238, -9.9008588e-009, -0.173648238, -0.98480773, 1.91749152e-007)
  779. w24 = Instance.new("Weld", p24)
  780. w24.Name = "Part_Weld"
  781. w24.Part0 = p24
  782. w24.C0 = CFrame.new(22.5, 5.5165062, 17.3963699, -4.30473079e-008, -1.87116754e-007, -1, 0.98480773, -0.173648238, -9.9008588e-009, -0.173648238, -0.98480773, 1.91749152e-007)
  783. w24.Part1 = p25
  784. w24.C1 = CFrame.new(22.5000019, 14.6371164, 11.6086912, 5.33850866e-008, -1.28882959e-007, -1, 0.707106829, -0.707106769, 1.28882959e-007, -0.707106769, -0.707106829, 5.33851079e-008)
  785. w25 = Instance.new("Weld", p25)
  786. w25.Name = "Part_Weld"
  787. w25.Part0 = p25
  788. w25.C0 = CFrame.new(22.5000019, 14.6371164, 11.6086912, 5.33850866e-008, -1.28882959e-007, -1, 0.707106829, -0.707106769, 1.28882959e-007, -0.707106769, -0.707106829, 5.33851079e-008)
  789. w25.Part1 = p26
  790. w25.C1 = CFrame.new(-1.49141967, 29.4924316, -3.24661636, -1, -1.1920929e-007, -4.71654928e-008, 1.1920929e-007, -0.707106709, -0.707106888, 8.94069672e-008, -0.707106829, 0.70710665)
  791. w26 = Instance.new("Weld", p26)
  792. w26.Name = "Part_Weld"
  793. w26.Part0 = p26
  794. w26.C0 = CFrame.new(-1.49141967, 29.4924316, -3.24661636, -1, -1.1920929e-007, -4.71654928e-008, 1.1920929e-007, -0.707106709, -0.707106888, 8.94069672e-008, -0.707106829, 0.70710665)
  795. w26.Part1 = p27
  796. w26.C1 = CFrame.new(-1.49142396, 26.2059097, 13.748271, -1, -1.22925456e-007, 1.83316814e-007, -1.79966634e-007, -0.173648238, -0.98480773, 1.85296102e-007, -0.98480773, 0.173648149)
  797. w27 = Instance.new("Weld", p27)
  798. w27.Name = "Part_Weld"
  799. w27.Part0 = p27
  800. w27.C0 = CFrame.new(-1.49142396, 26.2059097, 13.748271, -1, -1.22925456e-007, 1.83316814e-007, -1.79966634e-007, -0.173648238, -0.98480773, 1.85296102e-007, -0.98480773, 0.173648149)
  801. w27.Part1 = p28
  802. w27.C1 = CFrame.new(-1.49142182, 20.0222931, 21.3207512, -1, -1.60415567e-007, 1.16723079e-007, -1.73416339e-007, 0.17364794, -0.98480773, 1.61053634e-007, -0.98480773, -0.173648015)
  803. w28 = Instance.new("Weld", p28)
  804. w28.Name = "Part_Weld"
  805. w28.Part0 = p28
  806. w28.C0 = CFrame.new(-1.49142182, 20.0222931, 21.3207512, -1, -1.60415567e-007, 1.16723079e-007, -1.73416339e-007, 0.17364794, -0.98480773, 1.61053634e-007, -0.98480773, -0.173648015)
  807. w28.Part1 = p29
  808. w28.C1 = CFrame.new(-1.49142063, 11.6331291, 26.311676, -1, -1.55435174e-007, 5.73833887e-008, -1.6416179e-007, 0.5, -0.866025329, 1.17385696e-007, -0.866025329, -0.500000119)
  809. w29 = Instance.new("Weld", p29)
  810. w29.Name = "Part_Weld"
  811. w29.Part0 = p29
  812. w29.C0 = CFrame.new(-1.49142063, 11.6331291, 26.311676, -1, -1.55435174e-007, 5.73833887e-008, -1.6416179e-007, 0.5, -0.866025329, 1.17385696e-007, -0.866025329, -0.500000119)
  813. w29.Part1 = p30
  814. w29.C1 = CFrame.new(-1.49142897, -4.49042225, -27.9532433, -1, 1.04557571e-007, 1.81026579e-007, 9.25360411e-008, -0.70710665, 0.707106829, 2.00373876e-007, 0.707106888, 0.707106769)
  815. w30 = Instance.new("Weld", p30)
  816. w30.Name = "Part_Weld"
  817. w30.Part0 = p30
  818. w30.C0 = CFrame.new(-1.49142897, -4.49042225, -27.9532433, -1, 1.04557571e-007, 1.81026579e-007, 9.25360411e-008, -0.70710665, 0.707106829, 2.00373876e-007, 0.707106888, 0.707106769)
  819. w30.Part1 = p31
  820. w30.C1 = CFrame.new(1.49142683, -2.32737827, 28.5731888, 1, -1.76048474e-007, -7.77491636e-008, -3.10438502e-008, -0.707106709, 0.707106769, -1.77897419e-007, -0.707106829, -0.707106829)
  821. w31 = Instance.new("Weld", p31)
  822. w31.Name = "Part_Weld"
  823. w31.Part0 = p31
  824. w31.C0 = CFrame.new(1.49142683, -2.32737827, 28.5731888, 1, -1.76048474e-007, -7.77491636e-008, -3.10438502e-008, -0.707106709, 0.707106769, -1.77897419e-007, -0.707106829, -0.707106829)
  825. w31.Part1 = p32
  826. w31.C1 = CFrame.new(1.49142444, 27.3293839, 3.86655521, 1, 9.41566256e-008, -1.8451928e-007, -6.23315088e-008, -0.70710665, -0.707107008, -2.35517859e-007, 0.707106888, -0.70710659)
  827. w32 = Instance.new("Weld", p32)
  828. w32.Name = "Part_Weld"
  829. w32.Part0 = p32
  830. w32.C0 = CFrame.new(1.49142444, 27.3293839, 3.86655521, 1, 9.41566256e-008, -1.8451928e-007, -6.23315088e-008, -0.70710665, -0.707107008, -2.35517859e-007, 0.707106888, -0.70710659)
  831. w32.Part1 = p33
  832. w32.C1 = CFrame.new(1.49143207, -18.1104279, 21.5624332, 1, -2.34282282e-007, -1.74181523e-007, 1.61463277e-007, -0.173648089, 0.98480773, -2.37625457e-007, -0.98480773, -0.173648238)
  833. w33 = Instance.new("Weld", p33)
  834. w33.Name = "Part_Weld"
  835. w33.Part0 = p33
  836. w33.C0 = CFrame.new(1.49143207, -18.1104279, 21.5624332, 1, -2.34282282e-007, -1.74181523e-007, 1.61463277e-007, -0.173648089, 0.98480773, -2.37625457e-007, -0.98480773, -0.173648238)
  837. w33.Part1 = p34
  838. w33.C1 = CFrame.new(1.49143016, -24.2940445, 13.5065851, 1, -2.49463085e-007, -1.74181523e-007, 2.35634644e-007, 0.173648074, 0.98480773, -1.83021399e-007, -0.98480773, 0.17364794)
  839. m.Parent = larm
  840. m:MakeJoints()
  841. ----------------------------------------------------
  842. local cor = Instance.new("Part", larm.LeftArm)
  843. cor.Name = "Thingy"
  844. cor.Locked = true
  845. cor.BottomSurface = 0
  846. cor.CanCollide = false
  847. cor.Size = Vector3.new(1, 1, 1)
  848. cor.Transparency = 1
  849. cor.TopSurface = 0
  850. corw = Instance.new("Weld", cor)
  851. corw.Part0 = larm
  852. corw.Part1 = cor
  853. corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  854. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  855. weld1 = Instance.new("Weld", larm.LeftArm)
  856. weld1.Part0 = cor
  857. weld1.Part1 = larm.LeftArm.LeftArmPlate
  858. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  859. --Right Arm
  860. m2 = Instance.new("Model")
  861. m2.Name = "RightArm"
  862. p1 = Instance.new("Part", m2)
  863. p1.BrickColor = BrickColor.new("Really black")
  864. p1.Material = Enum.Material.SmoothPlastic
  865. p1.CFrame = CFrame.new(3.5, -9.44201183, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  866. p1.FormFactor = Enum.FormFactor.Custom
  867. p1.Size = Vector3.new(1, 0.200000048, 1)
  868. p1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  869. p1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  870. p1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  871. p1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  872. p1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  873. p1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  874. b1 = Instance.new("SpecialMesh", p1)
  875. b1.MeshType = Enum.MeshType.Brick
  876. b1.Name = "Mesh"
  877. b1.Scale = Vector3.new(1.05999994, 0.699999988, 1.05999994)
  878. p2 = Instance.new("Part", m2)
  879. p2.BrickColor = BrickColor.new("Really black")
  880. p2.Material = Enum.Material.SmoothPlastic
  881. p2.CFrame = CFrame.new(3.5, -9.74201393, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  882. p2.FormFactor = Enum.FormFactor.Custom
  883. p2.Size = Vector3.new(1, 0.200000048, 1)
  884. p2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  885. p2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  886. p2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  887. p2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  888. p2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  889. p2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  890. b2 = Instance.new("SpecialMesh", p2)
  891. b2.MeshType = Enum.MeshType.Brick
  892. b2.Name = "Mesh"
  893. b2.Scale = Vector3.new(1.05999994, 0.699999988, 1.05999994)
  894. p3 = Instance.new("Part", m2)
  895. p3.BrickColor = BrickColor.new("Really black")
  896. p3.Material = Enum.Material.SmoothPlastic
  897. p3.CFrame = CFrame.new(3.5, -9.14201164, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  898. p3.FormFactor = Enum.FormFactor.Custom
  899. p3.Size = Vector3.new(1, 0.200000048, 1)
  900. p3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  901. p3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  902. p3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  903. p3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  904. p3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  905. p3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  906. b3 = Instance.new("SpecialMesh", p3)
  907. b3.MeshType = Enum.MeshType.Brick
  908. b3.Name = "Mesh"
  909. b3.Scale = Vector3.new(1.05999994, 0.699999988, 1.05999994)
  910. p4 = Instance.new("Part", m2)
  911. p4.BrickColor = BrickColor.new("Really black")
  912. p4.Material = Enum.Material.SmoothPlastic
  913. p4.CFrame = CFrame.new(3.5, -8.84201622, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  914. p4.FormFactor = Enum.FormFactor.Custom
  915. p4.Size = Vector3.new(1, 0.200000048, 1)
  916. p4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  917. p4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  918. p4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  919. p4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  920. p4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  921. p4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  922. b4 = Instance.new("SpecialMesh", p4)
  923. b4.MeshType = Enum.MeshType.Brick
  924. b4.Name = "Mesh"
  925. b4.Scale = Vector3.new(1.05999994, 0.699999988, 1.05999994)
  926. p5 = Instance.new("Part", m2)
  927. p5.BrickColor = BrickColor.new("Really black")
  928. p5.Material = Enum.Material.SmoothPlastic
  929. p5.CFrame = CFrame.new(3.5, -8.84201622, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  930. p5.FormFactor = Enum.FormFactor.Custom
  931. p5.Size = Vector3.new(1, 0.200000048, 1)
  932. p5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  933. p5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  934. p5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  935. p5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  936. p5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  937. p5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  938. b5 = Instance.new("SpecialMesh", p5)
  939. b5.MeshType = Enum.MeshType.Brick
  940. b5.Name = "Mesh"
  941. b5.Scale = Vector3.new(1.03999996, 1.01999998, 1.03999996)
  942. p6 = Instance.new("Part", m2)
  943. p6.BrickColor = BrickColor.new("Really black")
  944. p6.Material = Enum.Material.SmoothPlastic
  945. p6.CFrame = CFrame.new(3.5, -8.84201622, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  946. p6.FormFactor = Enum.FormFactor.Custom
  947. p6.Size = Vector3.new(1, 1, 1)
  948. p6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  949. p6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  950. p6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  951. p6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  952. p6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  953. p6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  954. b6 = Instance.new("SpecialMesh", p6)
  955. b6.MeshType = Enum.MeshType.Brick
  956. b6.Name = "Mesh"
  957. p7 = Instance.new("Part", m2)
  958. p7.BrickColor = BrickColor.new("Really black")
  959. p7.Material = Enum.Material.SmoothPlastic
  960. p7.Name = "RightArmPlate"
  961. p7.CFrame = CFrame.new(3.5, -9.54201603, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  962. p7.FormFactor = Enum.FormFactor.Symmetric
  963. p7.Size = Vector3.new(1, 2, 1)
  964. p7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  965. p7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  966. p7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  967. p7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  968. p7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  969. p7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  970. b7 = Instance.new("SpecialMesh", p7)
  971. b7.MeshType = Enum.MeshType.Brick
  972. b7.Name = "Mesh"
  973. b7.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  974. p8 = Instance.new("Part", m2)
  975. p8.BrickColor = BrickColor.new("Really black")
  976. p8.Material = Enum.Material.SmoothPlastic
  977. p8.CFrame = CFrame.new(3.5, -9.14201164, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  978. p8.FormFactor = Enum.FormFactor.Custom
  979. p8.Size = Vector3.new(1, 0.200000048, 1)
  980. p8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  981. p8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  982. p8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  983. p8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  984. p8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  985. p8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  986. b8 = Instance.new("SpecialMesh", p8)
  987. b8.MeshType = Enum.MeshType.Brick
  988. b8.Name = "Mesh"
  989. b8.Scale = Vector3.new(1.03999996, 1.01999998, 1.03999996)
  990. p9 = Instance.new("Part", m2)
  991. p9.BrickColor = BrickColor.new("Really black")
  992. p9.Material = Enum.Material.SmoothPlastic
  993. p9.CFrame = CFrame.new(3.5, -8.69201183, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  994. p9.FormFactor = Enum.FormFactor.Custom
  995. p9.Size = Vector3.new(1, 0.349999994, 1)
  996. p9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  997. p9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  998. p9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  999. p9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1000. p9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1001. p9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1002. b9 = Instance.new("SpecialMesh", p9)
  1003. b9.MeshType = Enum.MeshType.Brick
  1004. b9.Name = "Mesh"
  1005. b9.Scale = Vector3.new(1.12, 1.01999998, 1.12)
  1006. p10 = Instance.new("Part", m2)
  1007. p10.BrickColor = BrickColor.new("Really black")
  1008. p10.Material = Enum.Material.SmoothPlastic
  1009. p10.CFrame = CFrame.new(3.5, -8.99201584, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1010. p10.FormFactor = Enum.FormFactor.Custom
  1011. p10.Size = Vector3.new(1, 0.25, 1)
  1012. p10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1013. p10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1014. p10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1015. p10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1016. p10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1017. p10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1018. b10 = Instance.new("SpecialMesh", p10)
  1019. b10.MeshType = Enum.MeshType.Brick
  1020. b10.Name = "Mesh"
  1021. b10.Scale = Vector3.new(1.03999996, 0.400000006, 1.03999996)
  1022. p11 = Instance.new("Part", m2)
  1023. p11.BrickColor = BrickColor.new("Really black")
  1024. p11.Material = Enum.Material.SmoothPlastic
  1025. p11.CFrame = CFrame.new(3.5, -9.29201508, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1026. p11.FormFactor = Enum.FormFactor.Custom
  1027. p11.Size = Vector3.new(1, 0.25, 1)
  1028. p11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1029. p11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1030. p11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1031. p11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1032. p11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1033. p11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1034. b11 = Instance.new("SpecialMesh", p11)
  1035. b11.MeshType = Enum.MeshType.Brick
  1036. b11.Name = "Mesh"
  1037. b11.Scale = Vector3.new(1.03999996, 0.400000006, 1.03999996)
  1038. p12 = Instance.new("Part", m2)
  1039. p12.BrickColor = BrickColor.new("Really black")
  1040. p12.Material = Enum.Material.SmoothPlastic
  1041. p12.CFrame = CFrame.new(3.5, -9.59201431, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1042. p12.FormFactor = Enum.FormFactor.Custom
  1043. p12.Size = Vector3.new(1, 0.25, 1)
  1044. p12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1045. p12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1046. p12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1047. p12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1048. p12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1049. p12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1050. b12 = Instance.new("SpecialMesh", p12)
  1051. b12.MeshType = Enum.MeshType.Brick
  1052. b12.Name = "Mesh"
  1053. b12.Scale = Vector3.new(1.03999996, 0.400000006, 1.03999996)
  1054. p13 = Instance.new("Part", m2)
  1055. p13.BrickColor = BrickColor.new("Really black")
  1056. p13.Material = Enum.Material.SmoothPlastic
  1057. p13.CFrame = CFrame.new(3.5, -9.44201088, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1058. p13.FormFactor = Enum.FormFactor.Custom
  1059. p13.Size = Vector3.new(1, 0.200000048, 1)
  1060. p13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1061. p13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1062. p13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1063. p13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1064. p13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1065. p13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1066. b13 = Instance.new("SpecialMesh", p13)
  1067. b13.MeshType = Enum.MeshType.Brick
  1068. b13.Name = "Mesh"
  1069. b13.Scale = Vector3.new(1.03999996, 1.01999998, 1.03999996)
  1070. p14 = Instance.new("Part", m2)
  1071. p14.BrickColor = BrickColor.new("Really black")
  1072. p14.Material = Enum.Material.SmoothPlastic
  1073. p14.CFrame = CFrame.new(3.5, -9.89201069, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1074. p14.FormFactor = Enum.FormFactor.Custom
  1075. p14.Size = Vector3.new(1, 0.25, 1)
  1076. p14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1077. p14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1078. p14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1079. p14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1080. p14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1081. p14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1082. b14 = Instance.new("SpecialMesh", p14)
  1083. b14.MeshType = Enum.MeshType.Brick
  1084. b14.Name = "Mesh"
  1085. b14.Scale = Vector3.new(1.03999996, 0.400000006, 1.03999996)
  1086. p15 = Instance.new("Part", m2)
  1087. p15.BrickColor = BrickColor.new("Really black")
  1088. p15.Material = Enum.Material.SmoothPlastic
  1089. p15.CFrame = CFrame.new(3.5, -9.74201298, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1090. p15.FormFactor = Enum.FormFactor.Custom
  1091. p15.Size = Vector3.new(1, 0.200000048, 1)
  1092. p15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1093. p15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1094. p15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1095. p15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1096. p15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1097. p15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1098. b15 = Instance.new("SpecialMesh", p15)
  1099. b15.MeshType = Enum.MeshType.Brick
  1100. b15.Name = "Mesh"
  1101. b15.Scale = Vector3.new(1.03999996, 1.01999998, 1.03999996)
  1102. p16 = Instance.new("Part", m2)
  1103. p16.BrickColor = BrickColor.new("Really black")
  1104. p16.Material = Enum.Material.SmoothPlastic
  1105. p16.CFrame = CFrame.new(3.5, -10.1420107, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1106. p16.FormFactor = Enum.FormFactor.Custom
  1107. p16.Size = Vector3.new(1.01999998, 0.300000012, 1.01999998)
  1108. p16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1109. p16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1110. p16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1111. p16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1112. p16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1113. p16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1114. b16 = Instance.new("SpecialMesh", p16)
  1115. b16.MeshType = Enum.MeshType.Brick
  1116. b16.Name = "Mesh"
  1117. b16.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  1118. p17 = Instance.new("Part", m2)
  1119. p17.BrickColor = BrickColor.new("Really black")
  1120. p17.Material = Enum.Material.SmoothPlastic
  1121. p17.CFrame = CFrame.new(3.5, -10.1420107, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1122. p17.FormFactor = Enum.FormFactor.Custom
  1123. p17.Size = Vector3.new(1.00999999, 0.400000036, 1.00999999)
  1124. p17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1125. p17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1126. p17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1127. p17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1128. p17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1129. p17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1130. b17 = Instance.new("SpecialMesh", p17)
  1131. b17.MeshType = Enum.MeshType.Brick
  1132. b17.Name = "Mesh"
  1133. b17.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  1134. p18 = Instance.new("Part", m2)
  1135. p18.BrickColor = BrickColor.new("Institutional white")
  1136. p18.Material = Enum.Material.SmoothPlastic
  1137. p18.CFrame = CFrame.new(3.5, -10.1420107, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1138. p18.FormFactor = Enum.FormFactor.Custom
  1139. p18.Size = Vector3.new(1.02999997, 0.200000003, 1.02999997)
  1140. p18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1141. p18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1142. p18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1143. p18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1144. p18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1145. p18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1146. b18 = Instance.new("SpecialMesh", p18)
  1147. b18.MeshType = Enum.MeshType.Brick
  1148. b18.Name = "Mesh"
  1149. b18.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
  1150. p19 = Instance.new("Part", m2)
  1151. p19.BrickColor = BrickColor.new("Really black")
  1152. p19.Material = Enum.Material.SmoothPlastic
  1153. p19.CFrame = CFrame.new(3.5, -10.1420107, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1154. p19.FormFactor = Enum.FormFactor.Custom
  1155. p19.Size = Vector3.new(1.02999997, 0.200000003, 1.02999997)
  1156. p19.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1157. p19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1158. p19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1159. p19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1160. p19.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1161. p19.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1162. b19 = Instance.new("SpecialMesh", p19)
  1163. b19.MeshType = Enum.MeshType.Brick
  1164. b19.Name = "Mesh"
  1165. b19.Scale = Vector3.new(1.02999997, 0.50999999, 1.02999997)
  1166. w1 = Instance.new("Weld", p1)
  1167. w1.Name = "Part_Weld"
  1168. w1.Part0 = p1
  1169. w1.C0 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1170. w1.Part1 = p2
  1171. w1.C1 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1172. w2 = Instance.new("Weld", p2)
  1173. w2.Name = "Part_Weld"
  1174. w2.Part0 = p2
  1175. w2.C0 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1176. w2.Part1 = p3
  1177. w2.C1 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1178. w3 = Instance.new("Weld", p3)
  1179. w3.Name = "Part_Weld"
  1180. w3.Part0 = p3
  1181. w3.C0 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1182. w3.Part1 = p4
  1183. w3.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1184. w4 = Instance.new("Weld", p4)
  1185. w4.Name = "Part_Weld"
  1186. w4.Part0 = p4
  1187. w4.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1188. w4.Part1 = p5
  1189. w4.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1190. w5 = Instance.new("Weld", p5)
  1191. w5.Name = "Part_Weld"
  1192. w5.Part0 = p5
  1193. w5.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1194. w5.Part1 = p6
  1195. w5.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1196. w6 = Instance.new("Weld", p6)
  1197. w6.Name = "RightArmPlate_Weld"
  1198. w6.Part0 = p6
  1199. w6.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1200. w6.Part1 = p7
  1201. w6.C1 = CFrame.new(-3.5, -4.10001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1202. w7 = Instance.new("Weld", p7)
  1203. w7.Name = "Part_Weld"
  1204. w7.Part0 = p7
  1205. w7.C0 = CFrame.new(-3.5, -4.10001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1206. w7.Part1 = p8
  1207. w7.C1 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1208. w8 = Instance.new("Weld", p8)
  1209. w8.Name = "Part_Weld"
  1210. w8.Part0 = p8
  1211. w8.C0 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1212. w8.Part1 = p9
  1213. w8.C1 = CFrame.new(-3.5, -4.95002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1214. w9 = Instance.new("Weld", p9)
  1215. w9.Name = "Part_Weld"
  1216. w9.Part0 = p9
  1217. w9.C0 = CFrame.new(-3.5, -4.95002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1218. w9.Part1 = p10
  1219. w9.C1 = CFrame.new(-3.5, -4.65001678, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1220. w10 = Instance.new("Weld", p10)
  1221. w10.Name = "Part_Weld"
  1222. w10.Part0 = p10
  1223. w10.C0 = CFrame.new(-3.5, -4.65001678, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1224. w10.Part1 = p11
  1225. w10.C1 = CFrame.new(-3.5, -4.35001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1226. w11 = Instance.new("Weld", p11)
  1227. w11.Name = "Part_Weld"
  1228. w11.Part0 = p11
  1229. w11.C0 = CFrame.new(-3.5, -4.35001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1230. w11.Part1 = p12
  1231. w11.C1 = CFrame.new(-3.5, -4.05001783, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1232. w12 = Instance.new("Weld", p12)
  1233. w12.Name = "Part_Weld"
  1234. w12.Part0 = p12
  1235. w12.C0 = CFrame.new(-3.5, -4.05001783, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1236. w12.Part1 = p13
  1237. w12.C1 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1238. w13 = Instance.new("Weld", p13)
  1239. w13.Name = "Part_Weld"
  1240. w13.Part0 = p13
  1241. w13.C0 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1242. w13.Part1 = p14
  1243. w13.C1 = CFrame.new(-3.5, -3.75002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1244. w14 = Instance.new("Weld", p14)
  1245. w14.Name = "Part_Weld"
  1246. w14.Part0 = p14
  1247. w14.C0 = CFrame.new(-3.5, -3.75002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1248. w14.Part1 = p15
  1249. w14.C1 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1250. w15 = Instance.new("Weld", p15)
  1251. w15.Name = "Part_Weld"
  1252. w15.Part0 = p15
  1253. w15.C0 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1254. w15.Part1 = p16
  1255. w15.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1256. w16 = Instance.new("Weld", p16)
  1257. w16.Name = "Part_Weld"
  1258. w16.Part0 = p16
  1259. w16.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1260. w16.Part1 = p17
  1261. w16.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1262. w17 = Instance.new("Weld", p17)
  1263. w17.Name = "Part_Weld"
  1264. w17.Part0 = p17
  1265. w17.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1266. w17.Part1 = p18
  1267. w17.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1268. w18 = Instance.new("Weld", p18)
  1269. w18.Name = "Part_Weld"
  1270. w18.Part0 = p18
  1271. w18.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1272. w18.Part1 = p19
  1273. w18.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1274. m2.Parent = rarm
  1275. m2:MakeJoints()
  1276. ----------------------------------------------------
  1277. local cor2 = Instance.new("Part", rarm.RightArm)
  1278. cor2.Name = "Thingy"
  1279. cor2.Locked = true
  1280. cor2.BottomSurface = 0
  1281. cor2.CanCollide = false
  1282. cor2.Size = Vector3.new(1, 1, 1)
  1283. cor2.Transparency = 1
  1284. cor2.TopSurface = 0
  1285. corw2 = Instance.new("Weld", cor2)
  1286. corw2.Part0 = rarm
  1287. corw2.Part1 = cor2
  1288. corw2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1289. corw2.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1290. weld2 = Instance.new("Weld", rarm.RightArm)
  1291. weld2.Part0 = cor2
  1292. weld2.Part1 = rarm.RightArm.RightArmPlate
  1293. weld2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1294. --Torso
  1295. m3 = Instance.new("Model")
  1296. m3.Name = "Torso"
  1297. p1 = Instance.new("Part", m3)
  1298. p1.BrickColor = BrickColor.new("Institutional white")
  1299. p1.Material = Enum.Material.SmoothPlastic
  1300. p1.Name = "TorsoPlate"
  1301. p1.CFrame = CFrame.new(0, 3.10002589, 0.50000006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1302. p1.CanCollide = false
  1303. p1.Locked = true
  1304. p1.FormFactor = Enum.FormFactor.Custom
  1305. p1.Size = Vector3.new(2, 2, 1)
  1306. p1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1307. p1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1308. p1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1309. p1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1310. p1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1311. p1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1312. b1 = Instance.new("SpecialMesh", p1)
  1313. b1.MeshType = Enum.MeshType.Brick
  1314. b1.Name = "Mesh"
  1315. b1.Scale = Vector3.new(1, 1.01999998, 1.01999998)
  1316. p2 = Instance.new("Part", m3)
  1317. p2.BrickColor = BrickColor.new("Institutional white")
  1318. p2.Material = Enum.Material.SmoothPlastic
  1319. p2.CFrame = CFrame.new(-0.450000942, 4.05002356, -0.100002818, -0.685070276, 0.686094284, 0.244853854, 0.616745472, 0.367372453, 0.696177125, 0.387690574, 0.627942622, -0.674821496)
  1320. p2.CanCollide = false
  1321. p2.Locked = true
  1322. p2.FormFactor = Enum.FormFactor.Custom
  1323. p2.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  1324. b2 = Instance.new("SpecialMesh", p2)
  1325. b2.MeshId = "http://www.roblox.com/asset/?id=0"
  1326. b2.TextureId = ""
  1327. b2.MeshType = Enum.MeshType.FileMesh
  1328. b2.Name = "Mesh"
  1329. b2.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
  1330. p3 = Instance.new("Part", m3)
  1331. p3.BrickColor = BrickColor.new("Really black")
  1332. p3.Material = Enum.Material.SmoothPlastic
  1333. p3.CFrame = CFrame.new(0, 3.10002589, 0.970001996, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1334. p3.CanCollide = false
  1335. p3.Locked = true
  1336. p3.FormFactor = Enum.FormFactor.Custom
  1337. p3.Size = Vector3.new(2, 2, 0.200000018)
  1338. p3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1339. p3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1340. p3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1341. p3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1342. p3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1343. p3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1344. b3 = Instance.new("SpecialMesh", p3)
  1345. b3.MeshType = Enum.MeshType.Brick
  1346. b3.Name = "Mesh"
  1347. b3.Scale = Vector3.new(1, 1.01999998, 1.01999998)
  1348. p4 = Instance.new("Part", m3)
  1349. p4.BrickColor = BrickColor.new("Really black")
  1350. p4.Material = Enum.Material.SmoothPlastic
  1351. p4.CFrame = CFrame.new(0, 4.00002623, 0.529999971, 1, 0, 0, 0, -4.37113883e-008, 1, 0, -1, -4.37113883e-008)
  1352. p4.CanCollide = false
  1353. p4.Locked = true
  1354. p4.FormFactor = Enum.FormFactor.Custom
  1355. p4.Size = Vector3.new(2, 1.04000008, 0.239999995)
  1356. p4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1357. p4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1358. p4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1359. p4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1360. p4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1361. p4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1362. b4 = Instance.new("SpecialMesh", p4)
  1363. b4.MeshType = Enum.MeshType.Brick
  1364. b4.Name = "Mesh"
  1365. b4.Scale = Vector3.new(1, 1.01999998, 1.01999998)
  1366. p5 = Instance.new("Part", m3)
  1367. p5.BrickColor = BrickColor.new("Really black")
  1368. p5.Material = Enum.Material.SmoothPlastic
  1369. p5.CFrame = CFrame.new(-0.499999821, 3.15002489, 0.0999978557, 7.54979084e-008, 1, 0, 4.37113918e-008, 0.5, 0.5, 0.5, -7.54978942e-008, -4.37113883e-008)
  1370. p5.CanCollide = false
  1371. p5.Locked = true
  1372. p5.FormFactor = Enum.FormFactor.Custom
  1373. p5.Size = Vector3.new(0.300000012, 1, 1.89999998)
  1374. p5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1375. p5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1376. p5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1377. p5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1378. p5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1379. p5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1380. b5 = Instance.new("SpecialMesh", p5)
  1381. b5.MeshType = Enum.MeshType.Wedge
  1382. b5.Name = "Mesh"
  1383. b5.Scale = Vector3.new(1, 1.01999998, 1.01999998)
  1384. p6 = Instance.new("Part", m3)
  1385. p6.BrickColor = BrickColor.new("Really black")
  1386. p6.Material = Enum.Material.SmoothPlastic
  1387. p6.CFrame = CFrame.new(0.500000179, 3.15002489, 0.0999980345, -4.37113918e-008, -1, 0, -4.37113812e-008, 0, 1, -1, 4.37113847e-008, -4.37113883e-008)
  1388. p6.CanCollide = false
  1389. p6.Locked = true
  1390. p6.FormFactor = Enum.FormFactor.Custom
  1391. p6.Size = Vector3.new(0.300000012, 0.99999994, 1.89999998)
  1392. p6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1393. p6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1394. p6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1395. p6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1396. p6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1397. p6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1398. b6 = Instance.new("SpecialMesh", p6)
  1399. b6.MeshType = Enum.MeshType.Wedge
  1400. b6.Name = "Mesh"
  1401. b6.Scale = Vector3.new(1, 1.01999998, 1.01999998)
  1402. p7 = Instance.new("Part", m3)
  1403. p7.BrickColor = BrickColor.new("Really black")
  1404. p7.Material = Enum.Material.SmoothPlastic
  1405. p7.CFrame = CFrame.new(1.63912773e-007, 3.20002794, 0.0999980569, -3.09086197e-008, -0.707106829, -0.707106769, -7.46200044e-008, -0.707106769, 0.707106829, -1, 7.46200044e-008, -3.09086197e-008)
  1406. p7.CanCollide = false
  1407. p7.Locked = true
  1408. p7.FormFactor = Enum.FormFactor.Custom
  1409. p7.Size = Vector3.new(0.300000012, 1.20000005, 1.20000005)
  1410. p7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1411. p7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1412. p7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1413. p7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1414. p7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1415. p7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1416. b7 = Instance.new("SpecialMesh", p7)
  1417. b7.MeshType = Enum.MeshType.Wedge
  1418. b7.Name = "Mesh"
  1419. p8 = Instance.new("Part", m3)
  1420. p8.BrickColor = BrickColor.new("Really black")
  1421. p8.Material = Enum.Material.SmoothPlastic
  1422. p8.CFrame = CFrame.new(-1, 3.10002613, 0.520000935, -4.37113883e-008, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-008)
  1423. p8.CanCollide = false
  1424. p8.Locked = true
  1425. p8.FormFactor = Enum.FormFactor.Custom
  1426. p8.Size = Vector3.new(1, 2, 0.200000018)
  1427. p8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1428. p8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1429. p8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1430. p8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1431. p8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1432. p8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1433. b8 = Instance.new("SpecialMesh", p8)
  1434. b8.MeshType = Enum.MeshType.Brick
  1435. b8.Name = "Mesh"
  1436. b8.Scale = Vector3.new(1, 1.01999998, 1.01999998)
  1437. p9 = Instance.new("Part", m3)
  1438. p9.BrickColor = BrickColor.new("Really black")
  1439. p9.Material = Enum.Material.SmoothPlastic
  1440. p9.CFrame = CFrame.new(1, 3.10002613, 0.520001054, -4.37113883e-008, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-008)
  1441. p9.CanCollide = false
  1442. p9.Locked = true
  1443. p9.FormFactor = Enum.FormFactor.Custom
  1444. p9.Size = Vector3.new(1, 2, 0.200000018)
  1445. p9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1446. p9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1447. p9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1448. p9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1449. p9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1450. p9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1451. b9 = Instance.new("SpecialMesh", p9)
  1452. b9.MeshType = Enum.MeshType.Brick
  1453. b9.Name = "Mesh"
  1454. b9.Scale = Vector3.new(1, 1.01999998, 1.01999998)
  1455. p10 = Instance.new("Part", m3)
  1456. p10.BrickColor = BrickColor.new("Really black")
  1457. p10.Material = Enum.Material.SmoothPlastic
  1458. p10.CFrame = CFrame.new(0, 2.05002642, 0.539999843, 1, 0, 0, 0, -4.37113883e-008, 1, 0, -1, -4.37113883e-008)
  1459. p10.CanCollide = false
  1460. p10.Locked = true
  1461. p10.FormFactor = Enum.FormFactor.Custom
  1462. p10.Size = Vector3.new(2, 1.0200001, 0.239999995)
  1463. p10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1464. p10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1465. p10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1466. p10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1467. p10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1468. p10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1469. b10 = Instance.new("SpecialMesh", p10)
  1470. b10.MeshType = Enum.MeshType.Brick
  1471. b10.Name = "Mesh"
  1472. b10.Scale = Vector3.new(1, 1.01999998, 1.01999998)
  1473. p11 = Instance.new("Part", m3)
  1474. p11.BrickColor = BrickColor.new("Institutional white")
  1475. p11.Material = Enum.Material.SmoothPlastic
  1476. p11.CFrame = CFrame.new(0.499999523, 4.05002451, -0.0499982014, 1.00000024, -8.94069672e-008, -1.78813934e-007, -2.98023224e-008, 0.906307817, -0.422618449, -2.23517418e-007, 0.42261821, 0.906307697)
  1477. p11.CanCollide = false
  1478. p11.Locked = true
  1479. p11.FormFactor = Enum.FormFactor.Custom
  1480. p11.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  1481. b11 = Instance.new("SpecialMesh", p11)
  1482. b11.MeshId = "http://www.roblox.com/asset/?id=0"
  1483. b11.TextureId = ""
  1484. b11.MeshType = Enum.MeshType.FileMesh
  1485. b11.Name = "Mesh"
  1486. b11.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
  1487. p12 = Instance.new("Part", m3)
  1488. p12.BrickColor = BrickColor.new("Institutional white")
  1489. p12.Material = Enum.Material.SmoothPlastic
  1490. p12.Transparency = 1
  1491. p12.Name = "Chain2Torso"
  1492. p12.CFrame = CFrame.new(0.0500000007, 3.35002589, 0.0200020671, -4.37113883e-008, -1, 0, -4.37113883e-008, 1.91068547e-015, -1, 1, -4.37113883e-008, -4.37113883e-008)
  1493. p12.CanCollide = false
  1494. p12.Locked = true
  1495. p12.FormFactor = Enum.FormFactor.Custom
  1496. p12.Size = Vector3.new(0.699999988, 0.300000012, 0.300000012)
  1497. b12 = Instance.new("SpecialMesh", p12)
  1498. b12.MeshId = "http://www.roblox.com/asset/?id=0"
  1499. b12.TextureId = ""
  1500. b12.MeshType = Enum.MeshType.FileMesh
  1501. b12.Name = "Mesh"
  1502. b12.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
  1503. p13 = Instance.new("Part", m3)
  1504. p13.BrickColor = BrickColor.new("Institutional white")
  1505. p13.Material = Enum.Material.SmoothPlastic
  1506. p13.CFrame = CFrame.new(-0.700000763, 4.25002289, 0.349998087, -0.606457233, -0.374239564, 0.70153743, -0.641863465, -0.290311694, -0.709739804, 0.469277143, -0.880717754, -0.0641489923)
  1507. p13.CanCollide = false
  1508. p13.Locked = true
  1509. p13.FormFactor = Enum.FormFactor.Custom
  1510. p13.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  1511. b13 = Instance.new("SpecialMesh", p13)
  1512. b13.MeshId = "http://www.roblox.com/asset/?id=0"
  1513. b13.TextureId = ""
  1514. b13.MeshType = Enum.MeshType.FileMesh
  1515. b13.Name = "Mesh"
  1516. b13.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
  1517. p14 = Instance.new("Part", m3)
  1518. p14.BrickColor = BrickColor.new("Institutional white")
  1519. p14.Material = Enum.Material.SmoothPlastic
  1520. p14.CFrame = CFrame.new(-0.0500002243, 3.50002766, -0.150001988, -0.331867754, 0.457445055, -0.824989557, 0.877285957, -0.171802372, -0.448166817, -0.346746802, -0.87248385, -0.344294399)
  1521. p14.CanCollide = false
  1522. p14.Locked = true
  1523. p14.FormFactor = Enum.FormFactor.Custom
  1524. p14.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  1525. b14 = Instance.new("SpecialMesh", p14)
  1526. b14.MeshId = "http://www.roblox.com/asset/?id=0"
  1527. b14.TextureId = ""
  1528. b14.MeshType = Enum.MeshType.FileMesh
  1529. b14.Name = "Mesh"
  1530. b14.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
  1531. p15 = Instance.new("Part", m3)
  1532. p15.BrickColor = BrickColor.new("Institutional white")
  1533. p15.Material = Enum.Material.SmoothPlastic
  1534. p15.CFrame = CFrame.new(0.199999034, 3.55002332, -0.150001839, -0.0627828911, -0.802308202, -0.593599737, 0.678633273, -0.470427632, 0.564052343, -0.731789052, -0.367423117, 0.57400763)
  1535. p15.CanCollide = false
  1536. p15.Locked = true
  1537. p15.FormFactor = Enum.FormFactor.Custom
  1538. p15.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  1539. b15 = Instance.new("SpecialMesh", p15)
  1540. b15.MeshId = "http://www.roblox.com/asset/?id=0"
  1541. b15.TextureId = ""
  1542. b15.MeshType = Enum.MeshType.FileMesh
  1543. b15.Name = "Mesh"
  1544. b15.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
  1545. p16 = Instance.new("Part", m3)
  1546. p16.BrickColor = BrickColor.new("Institutional white")
  1547. p16.Material = Enum.Material.SmoothPlastic
  1548. p16.CFrame = CFrame.new(0.349999189, 3.70002842, -0.150001973, 0.994292557, 0.0709807873, 0.0796526894, -0.0587368309, 0.987431884, -0.146726117, -0.0890666768, 0.141209915, 0.985964835)
  1549. p16.CanCollide = false
  1550. p16.Locked = true
  1551. p16.FormFactor = Enum.FormFactor.Custom
  1552. p16.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  1553. b16 = Instance.new("SpecialMesh", p16)
  1554. b16.MeshId = "http://www.roblox.com/asset/?id=0"
  1555. b16.TextureId = ""
  1556. b16.MeshType = Enum.MeshType.FileMesh
  1557. b16.Name = "Mesh"
  1558. b16.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
  1559. p17 = Instance.new("Part", m3)
  1560. p17.BrickColor = BrickColor.new("Institutional white")
  1561. p17.Material = Enum.Material.SmoothPlastic
  1562. p17.CFrame = CFrame.new(-0.200000346, 3.70002747, -0.150002211, 0.964791715, 0.0184034109, -0.262370646, -0.0587368906, 0.987431884, -0.146726027, 0.256372869, 0.156970888, 0.953746974)
  1563. p17.CanCollide = false
  1564. p17.Locked = true
  1565. p17.FormFactor = Enum.FormFactor.Custom
  1566. p17.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  1567. b17 = Instance.new("SpecialMesh", p17)
  1568. b17.MeshId = "http://www.roblox.com/asset/?id=0"
  1569. b17.TextureId = ""
  1570. b17.MeshType = Enum.MeshType.FileMesh
  1571. b17.Name = "Mesh"
  1572. b17.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
  1573. p18 = Instance.new("Part", m3)
  1574. p18.BrickColor = BrickColor.new("Institutional white")
  1575. p18.Material = Enum.Material.SmoothPlastic
  1576. p18.CFrame = CFrame.new(-0.35000062, 3.85002661, -0.150002271, 0.407530367, -0.427938014, 0.806714416, 0.0989350602, 0.898891687, 0.426855773, -0.907816589, -0.0941444039, 0.40866372)
  1577. p18.CanCollide = false
  1578. p18.Locked = true
  1579. p18.FormFactor = Enum.FormFactor.Custom
  1580. p18.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  1581. b18 = Instance.new("SpecialMesh", p18)
  1582. b18.MeshId = "http://www.roblox.com/asset/?id=0"
  1583. b18.TextureId = ""
  1584. b18.MeshType = Enum.MeshType.FileMesh
  1585. b18.Name = "Mesh"
  1586. b18.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
  1587. p19 = Instance.new("Part", m3)
  1588. p19.BrickColor = BrickColor.new("Institutional white")
  1589. p19.Material = Enum.Material.SmoothPlastic
  1590. p19.CFrame = CFrame.new(0.599999547, 4.25002337, 1.49011612e-008, 0.450589776, 0.596651912, -0.664060116, 0.322663993, 0.584720135, 0.744305372, 0.832379937, -0.549644768, 0.0709509254)
  1591. p19.CanCollide = false
  1592. p19.Locked = true
  1593. p19.FormFactor = Enum.FormFactor.Custom
  1594. p19.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  1595. b19 = Instance.new("SpecialMesh", p19)
  1596. b19.MeshId = "http://www.roblox.com/asset/?id=0"
  1597. b19.TextureId = ""
  1598. b19.MeshType = Enum.MeshType.FileMesh
  1599. b19.Name = "Mesh"
  1600. b19.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
  1601. p20 = Instance.new("Part", m3)
  1602. p20.BrickColor = BrickColor.new("Institutional white")
  1603. p20.Material = Enum.Material.SmoothPlastic
  1604. p20.CFrame = CFrame.new(0.449999154, 3.90002728, -0.150000244, 0.148452312, 0.508259773, -0.848312676, -0.212012291, 0.85422945, 0.474703223, 0.965925753, 0.109381542, 0.234569833)
  1605. p20.CanCollide = false
  1606. p20.Locked = true
  1607. p20.FormFactor = Enum.FormFactor.Custom
  1608. p20.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  1609. b20 = Instance.new("SpecialMesh", p20)
  1610. b20.MeshId = "http://www.roblox.com/asset/?id=0"
  1611. b20.TextureId = ""
  1612. b20.MeshType = Enum.MeshType.FileMesh
  1613. b20.Name = "Mesh"
  1614. b20.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
  1615. p21 = Instance.new("Part", m3)
  1616. p21.BrickColor = BrickColor.new("Institutional white")
  1617. p21.Material = Enum.Material.SmoothPlastic
  1618. p21.CFrame = CFrame.new(0.699999869, 4.25002337, 0.200001985, -0.0996009707, 0.981125295, 0.165750414, -0.142243966, -0.178907469, 0.973529041, 0.98480773, 0.0733870864, 0.157378286)
  1619. p21.CanCollide = false
  1620. p21.Locked = true
  1621. p21.FormFactor = Enum.FormFactor.Custom
  1622. p21.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  1623. b21 = Instance.new("SpecialMesh", p21)
  1624. b21.MeshId = "http://www.roblox.com/asset/?id=0"
  1625. b21.TextureId = ""
  1626. b21.MeshType = Enum.MeshType.FileMesh
  1627. b21.Name = "Mesh"
  1628. b21.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
  1629. p22 = Instance.new("Part", m3)
  1630. p22.BrickColor = BrickColor.new("Institutional white")
  1631. p22.Material = Enum.Material.SmoothPlastic
  1632. p22.CFrame = CFrame.new(0.69999975, 4.25002289, 0.450001955, -0.167731196, 0.167446673, 0.971508265, 0.0449438766, -0.983146012, 0.17721194, 0.984807789, 0.0733873621, 0.157378122)
  1633. p22.CanCollide = false
  1634. p22.Locked = true
  1635. p22.FormFactor = Enum.FormFactor.Custom
  1636. p22.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  1637. b22 = Instance.new("SpecialMesh", p22)
  1638. b22.MeshId = "http://www.roblox.com/asset/?id=0"
  1639. b22.TextureId = ""
  1640. b22.MeshType = Enum.MeshType.FileMesh
  1641. b22.Name = "Mesh"
  1642. b22.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
  1643. p23 = Instance.new("Part", m3)
  1644. p23.BrickColor = BrickColor.new("Institutional white")
  1645. p23.Material = Enum.Material.SmoothPlastic
  1646. p23.CFrame = CFrame.new(0.699999511, 4.25002289, 0.700001478, 0.0593914539, -0.993999004, 0.0918651819, 0.163175613, -0.0811224878, -0.98325628, 0.984807849, 0.0733875483, 0.157378405)
  1647. p23.CanCollide = false
  1648. p23.Locked = true
  1649. p23.FormFactor = Enum.FormFactor.Custom
  1650. p23.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  1651. b23 = Instance.new("SpecialMesh", p23)
  1652. b23.MeshId = "http://www.roblox.com/asset/?id=0"
  1653. b23.TextureId = ""
  1654. b23.MeshType = Enum.MeshType.FileMesh
  1655. b23.Name = "Mesh"
  1656. b23.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
  1657. p24 = Instance.new("Part", m3)
  1658. p24.BrickColor = BrickColor.new("Institutional white")
  1659. p24.Material = Enum.Material.SmoothPlastic
  1660. p24.CFrame = CFrame.new(0.699999452, 4.25002289, 0.900001347, -0.197025463, -0.431517303, 0.880326331, 0.133022487, -0.90138948, -0.412070453, 0.971332312, 0.0359149873, 0.234997824)
  1661. p24.CanCollide = false
  1662. p24.Locked = true
  1663. p24.FormFactor = Enum.FormFactor.Custom
  1664. p24.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  1665. b24 = Instance.new("SpecialMesh", p24)
  1666. b24.MeshId = "http://www.roblox.com/asset/?id=0"
  1667. b24.TextureId = ""
  1668. b24.MeshType = Enum.MeshType.FileMesh
  1669. b24.Name = "Mesh"
  1670. b24.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
  1671. p25 = Instance.new("Part", m3)
  1672. p25.BrickColor = BrickColor.new("Institutional white")
  1673. p25.Material = Enum.Material.SmoothPlastic
  1674. p25.CFrame = CFrame.new(0.599999249, 4.25002289, 1.05000341, -0.793593884, -0.433597952, 0.42685172, 0.426002622, 0.104941569, 0.898615122, -0.434431762, 0.894975305, 0.101432741)
  1675. p25.CanCollide = false
  1676. p25.Locked = true
  1677. p25.FormFactor = Enum.FormFactor.Custom
  1678. p25.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  1679. b25 = Instance.new("SpecialMesh", p25)
  1680. b25.MeshId = "http://www.roblox.com/asset/?id=0"
  1681. b25.TextureId = ""
  1682. b25.MeshType = Enum.MeshType.FileMesh
  1683. b25.Name = "Mesh"
  1684. b25.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
  1685. p26 = Instance.new("Part", m3)
  1686. p26.BrickColor = BrickColor.new("Institutional white")
  1687. p26.Material = Enum.Material.SmoothPlastic
  1688. p26.CFrame = CFrame.new(0.399999261, 4.25002289, 1.09999716, 0.474074066, -0.73934859, 0.478140384, 0.876810074, 0.445984155, -0.17972827, -0.0803612769, 0.504442811, 0.859697402)
  1689. p26.CanCollide = false
  1690. p26.Locked = true
  1691. p26.FormFactor = Enum.FormFactor.Custom
  1692. p26.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  1693. b26 = Instance.new("SpecialMesh", p26)
  1694. b26.MeshId = "http://www.roblox.com/asset/?id=0"
  1695. b26.TextureId = ""
  1696. b26.MeshType = Enum.MeshType.FileMesh
  1697. b26.Name = "Mesh"
  1698. b26.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
  1699. p27 = Instance.new("Part", m3)
  1700. p27.BrickColor = BrickColor.new("Institutional white")
  1701. p27.Material = Enum.Material.SmoothPlastic
  1702. p27.CFrame = CFrame.new(0.249999076, 4.25002289, 1.20000076, 0.524626255, -0.838181257, 0.149064019, -0.503709316, -0.446768612, -0.739374638, 0.686326742, 0.31281051, -0.656585932)
  1703. p27.CanCollide = false
  1704. p27.Locked = true
  1705. p27.FormFactor = Enum.FormFactor.Custom
  1706. p27.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  1707. b27 = Instance.new("SpecialMesh", p27)
  1708. b27.MeshId = "http://www.roblox.com/asset/?id=0"
  1709. b27.TextureId = ""
  1710. b27.MeshType = Enum.MeshType.FileMesh
  1711. b27.Name = "Mesh"
  1712. b27.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
  1713. p28 = Instance.new("Part", m3)
  1714. p28.BrickColor = BrickColor.new("Institutional white")
  1715. p28.Material = Enum.Material.SmoothPlastic
  1716. p28.CFrame = CFrame.new(0.0499990731, 4.25002289, 1.20000088, 0.524626136, -0.838181317, 0.149063885, 0.588431716, 0.230477661, -0.775002301, 0.615236104, 0.494300276, 0.614126861)
  1717. p28.CanCollide = false
  1718. p28.Locked = true
  1719. p28.FormFactor = Enum.FormFactor.Custom
  1720. p28.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  1721. b28 = Instance.new("SpecialMesh", p28)
  1722. b28.MeshId = "http://www.roblox.com/asset/?id=0"
  1723. b28.TextureId = ""
  1724. b28.MeshType = Enum.MeshType.FileMesh
  1725. b28.Name = "Mesh"
  1726. b28.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
  1727. p29 = Instance.new("Part", m3)
  1728. p29.BrickColor = BrickColor.new("Institutional white")
  1729. p29.Material = Enum.Material.SmoothPlastic
  1730. p29.CFrame = CFrame.new(-0.200000852, 4.25002289, 1.20000088, 0.524626195, -0.838181257, 0.149063647, 0.664180398, 0.512506962, 0.544243872, -0.532571197, -0.186519295, 0.825577736)
  1731. p29.CanCollide = false
  1732. p29.Locked = true
  1733. p29.FormFactor = Enum.FormFactor.Custom
  1734. p29.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  1735. b29 = Instance.new("SpecialMesh", p29)
  1736. b29.MeshId = "http://www.roblox.com/asset/?id=0"
  1737. b29.TextureId = ""
  1738. b29.MeshType = Enum.MeshType.FileMesh
  1739. b29.Name = "Mesh"
  1740. b29.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
  1741. p30 = Instance.new("Part", m3)
  1742. p30.BrickColor = BrickColor.new("Institutional white")
  1743. p30.Material = Enum.Material.SmoothPlastic
  1744. p30.CFrame = CFrame.new(-0.400000989, 4.25002289, 1.15000105, -0.205189675, -0.942334533, -0.264392197, 0.472657442, 0.141141802, -0.869870245, 0.857025325, -0.303455055, 0.416440606)
  1745. p30.CanCollide = false
  1746. p30.Locked = true
  1747. p30.FormFactor = Enum.FormFactor.Custom
  1748. p30.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  1749. b30 = Instance.new("SpecialMesh", p30)
  1750. b30.MeshId = "http://www.roblox.com/asset/?id=0"
  1751. b30.TextureId = ""
  1752. b30.MeshType = Enum.MeshType.FileMesh
  1753. b30.Name = "Mesh"
  1754. b30.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
  1755. p31 = Instance.new("Part", m3)
  1756. p31.BrickColor = BrickColor.new("Institutional white")
  1757. p31.Material = Enum.Material.SmoothPlastic
  1758. p31.CFrame = CFrame.new(-0.550001025, 4.25002337, 0.999999702, 0.151335806, -0.651350021, -0.743532896, 0.979139984, 0.201951638, 0.022377044, 0.135582238, -0.731408894, 0.668325186)
  1759. p31.CanCollide = false
  1760. p31.Locked = true
  1761. p31.FormFactor = Enum.FormFactor.Custom
  1762. p31.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  1763. b31 = Instance.new("SpecialMesh", p31)
  1764. b31.MeshId = "http://www.roblox.com/asset/?id=0"
  1765. b31.TextureId = ""
  1766. b31.MeshType = Enum.MeshType.FileMesh
  1767. b31.Name = "Mesh"
  1768. b31.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
  1769. p32 = Instance.new("Part", m3)
  1770. p32.BrickColor = BrickColor.new("Institutional white")
  1771. p32.Material = Enum.Material.SmoothPlastic
  1772. p32.CFrame = CFrame.new(-0.700000763, 4.25002337, 0.800000489, -0.804778874, -0.593520701, 0.0080409348, 0.142058611, -0.205740049, -0.968240976, 0.576325178, -0.778077364, 0.249890015)
  1773. p32.CanCollide = false
  1774. p32.Locked = true
  1775. p32.FormFactor = Enum.FormFactor.Custom
  1776. p32.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  1777. b32 = Instance.new("SpecialMesh", p32)
  1778. b32.MeshId = "http://www.roblox.com/asset/?id=0"
  1779. b32.TextureId = ""
  1780. b32.MeshType = Enum.MeshType.FileMesh
  1781. b32.Name = "Mesh"
  1782. b32.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
  1783. p33 = Instance.new("Part", m3)
  1784. p33.BrickColor = BrickColor.new("Institutional white")
  1785. p33.Material = Enum.Material.SmoothPlastic
  1786. p33.CFrame = CFrame.new(-0.700000942, 4.25002289, 0.549999833, -0.526802063, -0.220915288, -0.820777893, 0.708702326, 0.418966174, -0.567634225, 0.469277024, -0.880717933, -0.0641489923)
  1787. p33.CanCollide = false
  1788. p33.Locked = true
  1789. p33.FormFactor = Enum.FormFactor.Custom
  1790. p33.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  1791. b33 = Instance.new("SpecialMesh", p33)
  1792. b33.MeshId = "http://www.roblox.com/asset/?id=0"
  1793. b33.TextureId = ""
  1794. b33.MeshType = Enum.MeshType.FileMesh
  1795. b33.Name = "Mesh"
  1796. b33.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
  1797. p34 = Instance.new("Part", m3)
  1798. p34.BrickColor = BrickColor.new("Institutional white")
  1799. p34.Material = Enum.Material.SmoothPlastic
  1800. p34.Name = "Connection"
  1801. p34.CFrame = CFrame.new(0.0551848896, 3.35002589, -0.131655902, 0.635109425, -0.765570045, -0.102657467, -0.766416311, -0.641122162, 0.0396047123, -0.0961361453, 0.0535250306, -0.993928015)
  1802. p34.CanCollide = false
  1803. p34.Locked = true
  1804. p34.FormFactor = Enum.FormFactor.Custom
  1805. p34.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  1806. b34 = Instance.new("SpecialMesh", p34)
  1807. b34.MeshId = "http://www.roblox.com/asset/?id=0"
  1808. b34.TextureId = ""
  1809. b34.MeshType = Enum.MeshType.FileMesh
  1810. b34.Name = "Mesh"
  1811. b34.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
  1812. p35 = Instance.new("Part", m3)
  1813. p35.BrickColor = BrickColor.new("Institutional white")
  1814. p35.Material = Enum.Material.SmoothPlastic
  1815. p35.CFrame = CFrame.new(-0.600001037, 4.25002289, 0.149997264, 0.493824095, 0.604460001, 0.62511301, -0.565569818, -0.322785676, 0.758907318, 0.660506427, -0.728311539, 0.182464883)
  1816. p35.CanCollide = false
  1817. p35.Locked = true
  1818. p35.FormFactor = Enum.FormFactor.Custom
  1819. p35.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  1820. b35 = Instance.new("SpecialMesh", p35)
  1821. b35.MeshId = "http://www.roblox.com/asset/?id=0"
  1822. b35.TextureId = ""
  1823. b35.MeshType = Enum.MeshType.FileMesh
  1824. b35.Name = "Mesh"
  1825. b35.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
  1826. p36 = Instance.new("Part", m3)
  1827. p36.BrickColor = BrickColor.new("Institutional white")
  1828. p36.Material = Enum.Material.SmoothPlastic
  1829. p36.CFrame = CFrame.new(-0.500000834, 4.2000227, -2.52574682e-006, -0.285961747, 0.418113738, -0.862210572, 0.191904813, 0.906544387, 0.375965416, 0.93882823, -0.0579507053, -0.339474916)
  1830. p36.CanCollide = false
  1831. p36.Locked = true
  1832. p36.FormFactor = Enum.FormFactor.Custom
  1833. p36.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  1834. b36 = Instance.new("SpecialMesh", p36)
  1835. b36.MeshId = "http://www.roblox.com/asset/?id=0"
  1836. b36.TextureId = ""
  1837. b36.MeshType = Enum.MeshType.FileMesh
  1838. b36.Name = "Mesh"
  1839. b36.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
  1840. w1 = Instance.new("Weld", p2)
  1841. w1.Name = "Joint"
  1842. w1.Part0 = p2
  1843. w1.C0 = CFrame.new(-0.211238861, -0.0362606049, -0.0810072422, -0.57012105, 0.811055779, -0.130959615, -0.254106343, -0.022495009, 0.966914535, 0.781275749, 0.584536016, 0.218919396)
  1844. w1.Part1 = p18
  1845. w1.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1846. w2 = Instance.new("Weld", p3)
  1847. w2.Name = "Joint"
  1848. w2.Part0 = p3
  1849. w2.C0 = CFrame.new(0, 0, -0.470001936, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1850. w2.Part1 = p1
  1851. w2.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1852. w3 = Instance.new("Weld", p4)
  1853. w3.Name = "Joint"
  1854. w3.Part0 = p4
  1855. w3.C0 = CFrame.new(0, 0.0299999714, -0.900000334, 1, 0, 0, 0, -4.37113883e-008, -1, 0, 1, -4.37113883e-008)
  1856. w3.Part1 = p1
  1857. w3.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1858. w4 = Instance.new("Weld", p5)
  1859. w4.Name = "Joint"
  1860. w4.Part0 = p5
  1861. w4.C0 = CFrame.new(2.38418579e-007, 0.5, 0.0500030518, -1, -9.67369829e-009, -5.33850759e-008, 4.45892816e-008, -0.707106829, -0.707106769, -3.09086161e-008, -0.707106769, 0.707106829)
  1862. w4.Part1 = p7
  1863. w4.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1864. w5 = Instance.new("Weld", p6)
  1865. w5.Name = "Joint"
  1866. w5.Part0 = p6
  1867. w5.C0 = CFrame.new(0, 0.5, 0.0500030518, 1, -1.28027651e-008, 3.09086197e-008, -1.28027686e-008, 0.707106829, 0.707106769, -3.09086161e-008, -0.707106769, 0.707106829)
  1868. w5.Part1 = p7
  1869. w5.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1870. w6 = Instance.new("Weld", p7)
  1871. w6.Name = "Joint"
  1872. w6.Part0 = p7
  1873. w6.C0 = CFrame.new(-0.400002003, 0.070712328, -0.0707120895, -3.09086197e-008, -7.46200044e-008, -1, -0.707106829, -0.707106769, 7.46200044e-008, -0.707106769, 0.707106829, -3.09086197e-008)
  1874. w6.Part1 = p1
  1875. w6.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1876. w7 = Instance.new("Weld", p8)
  1877. w7.Name = "Joint"
  1878. w7.Part0 = p8
  1879. w7.C0 = CFrame.new(-0.0200009346, -2.38418579e-007, -1, -4.37113883e-008, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-008)
  1880. w7.Part1 = p1
  1881. w7.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1882. w8 = Instance.new("Weld", p9)
  1883. w8.Name = "Joint"
  1884. w8.Part0 = p9
  1885. w8.C0 = CFrame.new(-0.0200009346, -2.38418579e-007, 1, -4.37113883e-008, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-008)
  1886. w8.Part1 = p1
  1887. w8.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1888. w9 = Instance.new("Weld", p10)
  1889. w9.Name = "Joint"
  1890. w9.Part0 = p10
  1891. w9.C0 = CFrame.new(0, 0.0399997234, 1.04999948, 1, 0, 0, 0, -4.37113883e-008, -1, 0, 1, -4.37113883e-008)
  1892. w9.Part1 = p1
  1893. w9.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1894. w10 = Instance.new("Weld", p11)
  1895. w10.Name = "Joint"
  1896. w10.Part0 = p11
  1897. w10.C0 = CFrame.new(0.100000024, 0.202390671, -0.0392093658, 0.450589836, 0.596651673, -0.664059937, 0.644212067, 0.297646403, 0.704554796, 0.618028879, -0.745260656, -0.250253737)
  1898. w10.Part1 = p19
  1899. w10.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1900. w11 = Instance.new("Weld", p12)
  1901. w11.Name = "Joint"
  1902. w11.Part0 = p12
  1903. w11.C0 = CFrame.new(0.479997993, 0.0499999784, 0.25, -4.37113883e-008, -4.37113883e-008, 1, -1, 1.91068547e-015, -4.37113883e-008, 0, -1, -4.37113883e-008)
  1904. w11.Part1 = p1
  1905. w11.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1906. w12 = Instance.new("Weld", p13)
  1907. w12.Name = "Joint"
  1908. w12.Part0 = p13
  1909. w12.C0 = CFrame.new(-0.1545012, 0.138720512, 0.0829834938, 0.373496056, -0.501174688, -0.780592561, -0.602336764, 0.50893271, -0.614961803, 0.70547235, 0.699865282, -0.111791633)
  1910. w12.Part1 = p35
  1911. w12.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1912. w13 = Instance.new("Weld", p14)
  1913. w13.Name = "Joint"
  1914. w13.Part0 = p14
  1915. w13.C0 = CFrame.new(-0.172863483, 0.0578804016, -0.0258672237, -0.849803627, -0.326939017, 0.413454711, 0.506076992, -0.286759645, 0.813421786, -0.147377193, 0.900488615, 0.409145683)
  1916. w13.Part1 = p34
  1917. w13.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1918. w14 = Instance.new("Weld", p15)
  1919. w14.Name = "Joint"
  1920. w14.Part0 = p15
  1921. w14.C0 = CFrame.new(0.0923810005, -0.190912724, -0.00442934036, -0.0371075198, 0.56231159, -0.826092422, -0.73737216, -0.573347449, -0.357148677, -0.674466848, 0.595884562, 0.435908347)
  1922. w14.Part1 = p16
  1923. w14.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1924. w15 = Instance.new("Weld", p16)
  1925. w15.Name = "Joint"
  1926. w15.Part0 = p16
  1927. w15.C0 = CFrame.new(0.0876817107, 0.204583645, -0.0213780403, 0.074026458, 0.445441723, -0.892245352, -0.0624118894, 0.895015597, 0.441646636, 0.995301366, 0.022993207, 0.0940556675)
  1928. w15.Part1 = p20
  1929. w15.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1930. w16 = Instance.new("Weld", p17)
  1931. w16.Name = "Joint"
  1932. w16.Part0 = p17
  1933. w16.C0 = CFrame.new(0.156466246, -0.194725513, -0.0100102425, -0.460608691, 0.227749109, -0.85788697, 0.80572325, -0.29817903, -0.51176101, -0.372357011, -0.926941037, -0.0461589098)
  1934. w16.Part1 = p14
  1935. w16.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1936. w17 = Instance.new("Weld", p18)
  1937. w17.Name = "Joint"
  1938. w17.Part0 = p18
  1939. w17.C0 = CFrame.new(0.046289444, -0.199023724, 0.0569794178, 0.154631272, -0.0373091251, -0.987267554, -0.489805043, 0.864940584, -0.109402351, 0.858009458, 0.500485599, 0.115472674)
  1940. w17.Part1 = p17
  1941. w17.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1942. w18 = Instance.new("Weld", p19)
  1943. w18.Name = "Joint"
  1944. w18.Part0 = p19
  1945. w18.C0 = CFrame.new(0.211536884, -0.0502645969, -0.0522158146, 0.728958309, 0.445444137, 0.519806981, -0.683894217, 0.440442294, 0.581635118, 0.0301409438, -0.779480696, 0.625700712)
  1946. w18.Part1 = p21
  1947. w18.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1948. w19 = Instance.new("Weld", p20)
  1949. w19.Name = "Joint"
  1950. w19.Part0 = p20
  1951. w19.C0 = CFrame.new(0.0722160339, 0.164483547, 0.0522456169, 0.148452476, 0.216069669, 0.965026319, 0.508259654, 0.820421398, -0.261879444, -0.848312438, 0.529360592, 0.0119740963)
  1952. w19.Part1 = p11
  1953. w19.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1954. w20 = Instance.new("Weld", p21)
  1955. w20.Name = "Joint"
  1956. w20.Part0 = p21
  1957. w20.C0 = CFrame.new(0.246201992, 0.0183468163, 0.0393443108, 0.980159461, 0.195441127, 0.0330170989, -0.100333519, 0.345563769, 0.933016002, 0.170940176, -0.917817175, 0.358316928)
  1958. w20.Part1 = p22
  1959. w20.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1960. w21 = Instance.new("Weld", p22)
  1961. w21.Name = "Joint"
  1962. w21.Part0 = p22
  1963. w21.C0 = CFrame.new(0.246201515, 0.0183467865, 0.0393443108, 0.96721822, 0.235350817, 0.0953874439, -0.0782081187, -0.0813006833, 0.993616521, 0.241603509, -0.968504071, -0.060229145)
  1964. w21.Part1 = p23
  1965. w21.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1966. w22 = Instance.new("Weld", p23)
  1967. w22.Name = "Joint"
  1968. w22.Part0 = p23
  1969. w22.C0 = CFrame.new(0.196961403, 0.014677465, 0.031475544, 0.966579735, -0.137344033, 0.21647194, 0.256335169, 0.504686236, -0.824368834, 0.0039717555, 0.852307677, 0.523025632)
  1970. w22.Part1 = p24
  1971. w22.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1972. w23 = Instance.new("Weld", p24)
  1973. w23.Name = "Joint"
  1974. w23.Part0 = p24
  1975. w23.C0 = CFrame.new(0.16540432, 0.0485391617, -0.0527825356, -0.208951756, 0.968707323, 0.133960381, -0.0571475253, 0.124654606, -0.990553021, -0.976254702, -0.214633241, 0.0293123852)
  1976. w23.Part1 = p25
  1977. w23.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1978. w24 = Instance.new("Weld", p25)
  1979. w24.Name = "Joint"
  1980. w24.Part0 = p25
  1981. w24.C0 = CFrame.new(0.136999726, 0.131462574, -0.0802993774, 0.0322127938, 0.557586372, -0.829493642, -0.185464859, 0.81884563, 0.543226421, 0.982122838, 0.136343077, 0.129789978)
  1982. w24.Part1 = p26
  1983. w24.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1984. w25 = Instance.new("Weld", p26)
  1985. w25.Name = "Joint"
  1986. w25.Part0 = p26
  1987. w25.C0 = CFrame.new(-0.0791475773, 0.161348343, 0.014251709, -0.2480997, -0.814228892, -0.524859786, -0.266315132, 0.578250885, -0.771169424, 0.931409001, -0.0515488982, -0.360305429)
  1988. w25.Part1 = p27
  1989. w25.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1990. w26 = Instance.new("Weld", p27)
  1991. w26.Name = "Joint"
  1992. w26.Part0 = p27
  1993. w26.C0 = CFrame.new(-0.104925156, 0.167636156, -0.0298128128, 0.401087224, -0.216573805, 0.890070021, -0.510172248, 0.754199564, 0.413409412, -0.760824084, -0.619902253, 0.192009777)
  1994. w26.Part1 = p28
  1995. w26.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1996. w27 = Instance.new("Weld", p28)
  1997. w27.Name = "Joint"
  1998. w27.Part0 = p28
  1999. w27.C0 = CFrame.new(-0.131156445, 0.209545135, -0.037266016, 0.338400394, -0.252909899, 0.906378388, -0.549903035, 0.728472173, 0.408576787, -0.763604522, -0.636682749, 0.10743928)
  2000. w27.Part1 = p29
  2001. w27.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2002. w28 = Instance.new("Weld", p29)
  2003. w28.Name = "Joint"
  2004. w28.Part0 = p29
  2005. w28.C0 = CFrame.new(-0.0782968998, 0.176962137, -0.0710916519, -0.250144869, -0.239018306, -0.938241899, 0.254374206, 0.918783069, -0.301879942, 0.934195518, -0.314178288, -0.169028759)
  2006. w28.Part1 = p30
  2007. w28.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2008. w29 = Instance.new("Weld", p30)
  2009. w29.Name = "Joint"
  2010. w29.Part0 = p30
  2011. w29.C0 = CFrame.new(-0.097776413, 0.186868906, -0.022808075, 0.547942579, -0.39773193, 0.735913277, -0.0455548018, 0.864242792, 0.501007974, -0.835274637, -0.30804801, 0.455436885)
  2012. w29.Part1 = p31
  2013. w29.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2014. w30 = Instance.new("Weld", p31)
  2015. w30.Name = "Joint"
  2016. w30.Part0 = p31
  2017. w30.C0 = CFrame.new(-0.0498166084, 0.243983507, -0.0221347809, 0.0954426825, -0.396762908, -0.912945747, 0.131352007, 0.914132595, -0.38354671, 0.986730695, -0.0833105743, 0.139362901)
  2018. w30.Part1 = p32
  2019. w30.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2020. w31 = Instance.new("Weld", p32)
  2021. w31.Name = "Joint"
  2022. w31.Part0 = p32
  2023. w31.C0 = CFrame.new(-0.144081593, 0.194519997, -0.0624723434, 0.795092285, -0.270274341, 0.542936563, -0.198274553, 0.730186164, 0.653846622, -0.573162735, -0.627518892, 0.526976764)
  2024. w31.Part1 = p33
  2025. w31.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2026. w32 = Instance.new("Weld", p33)
  2027. w32.Name = "Joint"
  2028. w32.Part0 = p33
  2029. w32.C0 = CFrame.new(-0.0938563347, 0.176145077, 0.0128297806, 0.0848137587, -0.421895206, -0.902668893, -0.548244178, 0.736708403, -0.39583993, 0.832006574, 0.528455555, -0.168818489)
  2030. w32.Part1 = p13
  2031. w32.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2032. w33 = Instance.new("Weld", p34)
  2033. w33.Name = "Joint"
  2034. w33.Part0 = p34
  2035. w33.C0 = CFrame.new(-0.0178728104, 0.0120868683, -0.150204837, -0.0961361453, -0.635109425, 0.766416311, 0.0535250939, 0.765570045, 0.641122162, -0.993928015, 0.102657512, -0.0396046676)
  2036. w33.Part1 = p12
  2037. w33.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2038. w34 = Instance.new("Weld", p35)
  2039. w34.Name = "Joint"
  2040. w34.Part0 = p35
  2041. w34.C0 = CFrame.new(-0.0214147568, 0.185832024, -0.00280380249, 0.370351821, -0.344516218, -0.862640202, -0.918555975, 0.00231964141, -0.395284295, 0.138182849, 0.938777506, -0.315598398)
  2042. w34.Part1 = p36
  2043. w34.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2044. w35 = Instance.new("Weld", p36)
  2045. w35.Name = "Joint"
  2046. w35.Part0 = p36
  2047. w35.C0 = CFrame.new(-0.136966705, -0.109280109, -0.0655572414, 0.678235054, 0.463834167, -0.569960475, 0.250202835, 0.583515286, 0.772598565, 0.690938354, -0.666609228, 0.279707849)
  2048. w35.Part1 = p2
  2049. w35.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2050. m3.Parent = torso
  2051. m3:MakeJoints()
  2052. ----------------------------------------------------
  2053. local cor3 = Instance.new("Part", torso.Torso)
  2054. cor3.Name = "Thingy"
  2055. cor3.Locked = true
  2056. cor3.BottomSurface = 0
  2057. cor3.CanCollide = false
  2058. cor3.Size = Vector3.new(1, 1, 1)
  2059. cor3.Transparency = 1
  2060. cor3.TopSurface = 0
  2061. corw3 = Instance.new("Weld", cor3)
  2062. corw3.Part0 = torso
  2063. corw3.Part1 = cor3
  2064. corw3.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  2065. corw3.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  2066. weld3 = Instance.new("Weld", torso.Torso)
  2067. weld3.Part0 = cor3
  2068. weld3.Part1 = torso.Torso.TorsoPlate
  2069. weld3.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  2070. --Left Leg
  2071. m4 = Instance.new("Model")
  2072. m4.Name = "LeftLeg"
  2073. p1 = Instance.new("Part", m4)
  2074. p1.BrickColor = BrickColor.new("Institutional white")
  2075. p1.Material = Enum.Material.SmoothPlastic
  2076. p1.Name = "LeftLegPlate"
  2077. p1.CFrame = CFrame.new(-1.5, 4.74442291, -7.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2078. p1.Anchored = false
  2079. p1.CanCollide = false
  2080. p1.FormFactor = Enum.FormFactor.Custom
  2081. p1.Size = Vector3.new(1, 2, 1)
  2082. p1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  2083. p1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  2084. p1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  2085. p1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  2086. p1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  2087. p1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  2088. b1 = Instance.new("SpecialMesh", p1)
  2089. b1.MeshType = Enum.MeshType.Brick
  2090. b1.Name = "Mesh"
  2091. b1.Scale = Vector3.new(1.01999998, 1, 1.01999998)
  2092. p2 = Instance.new("Part", m4)
  2093. p2.BrickColor = BrickColor.new("Really black")
  2094. p2.Material = Enum.Material.SmoothPlastic
  2095. p2.CFrame = CFrame.new(-2.0999999, 5.44442606, -7.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2096. p2.Anchored = false
  2097. p2.CanCollide = false
  2098. p2.FormFactor = Enum.FormFactor.Custom
  2099. p2.Size = Vector3.new(0.239999995, 0.300000012, 0.899999976)
  2100. p2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  2101. p2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  2102. p2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  2103. p2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  2104. p2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  2105. p2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  2106. b2 = Instance.new("SpecialMesh", p2)
  2107. b2.MeshType = Enum.MeshType.Brick
  2108. b2.Name = "Mesh"
  2109. b2.Scale = Vector3.new(1.01999998, 1, 1.01999998)
  2110. p3 = Instance.new("Part", m4)
  2111. p3.BrickColor = BrickColor.new("Really black")
  2112. p3.Material = Enum.Material.SmoothPlastic
  2113. p3.CFrame = CFrame.new(-2.0999999, 5.04442501, -7.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2114. p3.Anchored = false
  2115. p3.CanCollide = false
  2116. p3.FormFactor = Enum.FormFactor.Custom
  2117. p3.Size = Vector3.new(0.200000003, 0.600000024, 0.800000012)
  2118. p3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  2119. p3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  2120. p3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  2121. p3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  2122. p3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  2123. p3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  2124. b3 = Instance.new("SpecialMesh", p3)
  2125. b3.MeshType = Enum.MeshType.Brick
  2126. b3.Name = "Mesh"
  2127. b3.Scale = Vector3.new(1.01999998, 1, 1.01999998)
  2128. p4 = Instance.new("Part", m4)
  2129. p4.BrickColor = BrickColor.new("Really black")
  2130. p4.Material = Enum.Material.SmoothPlastic
  2131. p4.CFrame = CFrame.new(-1.5, 4.74442291, -7.02999783, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2132. p4.Anchored = false
  2133. p4.CanCollide = false
  2134. p4.FormFactor = Enum.FormFactor.Custom
  2135. p4.Size = Vector3.new(1, 2, 0.200000018)
  2136. p4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  2137. p4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  2138. p4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  2139. p4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  2140. p4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  2141. p4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  2142. b4 = Instance.new("SpecialMesh", p4)
  2143. b4.MeshType = Enum.MeshType.Brick
  2144. b4.Name = "Mesh"
  2145. b4.Scale = Vector3.new(1, 1.01999998, 1.01999998)
  2146. p5 = Instance.new("Part", m4)
  2147. p5.BrickColor = BrickColor.new("Really black")
  2148. p5.Material = Enum.Material.SmoothPlastic
  2149. p5.CFrame = CFrame.new(-2, 4.74442291, -7.47999907, -4.37113883e-008, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-008)
  2150. p5.Anchored = false
  2151. p5.CanCollide = false
  2152. p5.FormFactor = Enum.FormFactor.Custom
  2153. p5.Size = Vector3.new(1, 2, 0.200000018)
  2154. p5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  2155. p5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  2156. p5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  2157. p5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  2158. p5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  2159. p5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  2160. b5 = Instance.new("SpecialMesh", p5)
  2161. b5.MeshType = Enum.MeshType.Brick
  2162. b5.Name = "Mesh"
  2163. b5.Scale = Vector3.new(1, 1.01999998, 1.01999998)
  2164. p6 = Instance.new("Part", m4)
  2165. p6.BrickColor = BrickColor.new("Really black")
  2166. p6.Material = Enum.Material.SmoothPlastic
  2167. p6.CFrame = CFrame.new(-1.50999999, 3.74442887, -7.5, -4.37113883e-008, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-008)
  2168. p6.Anchored = false
  2169. p6.CanCollide = false
  2170. p6.FormFactor = Enum.FormFactor.Custom
  2171. p6.Size = Vector3.new(1, 0.200000048, 0.980000019)
  2172. p6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  2173. p6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  2174. p6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  2175. p6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  2176. p6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  2177. p6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  2178. b6 = Instance.new("SpecialMesh", p6)
  2179. b6.MeshType = Enum.MeshType.Brick
  2180. b6.Name = "Mesh"
  2181. b6.Scale = Vector3.new(1, 1.01999998, 1.01999998)
  2182. p7 = Instance.new("Part", m4)
  2183. p7.BrickColor = BrickColor.new("Institutional white")
  2184. p7.Material = Enum.Material.SmoothPlastic
  2185. p7.CFrame = CFrame.new(-1.5, 5.74442291, -7.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2186. p7.Anchored = false
  2187. p7.CanCollide = false
  2188. p7.FormFactor = Enum.FormFactor.Custom
  2189. p7.Size = Vector3.new(1, 0.200000048, 0.99000001)
  2190. p7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  2191. p7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  2192. p7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  2193. p7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  2194. p7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  2195. p7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  2196. b7 = Instance.new("SpecialMesh", p7)
  2197. b7.MeshType = Enum.MeshType.Brick
  2198. b7.Name = "Mesh"
  2199. b7.Scale = Vector3.new(1, 1.01999998, 1.01999998)
  2200. w1 = Instance.new("Weld", p2)
  2201. w1.Name = "Joint"
  2202. w1.Part0 = p2
  2203. w1.C0 = CFrame.new(0, -0.40000093, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2204. w1.Part1 = p3
  2205. w1.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2206. w2 = Instance.new("Weld", p3)
  2207. w2.Name = "Joint"
  2208. w2.Part0 = p3
  2209. w2.C0 = CFrame.new(0.0999999046, -0.300002098, 0.0200009346, -4.37113883e-008, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-008)
  2210. w2.Part1 = p5
  2211. w2.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2212. w3 = Instance.new("Weld", p4)
  2213. w3.Name = "Joint"
  2214. w3.Part0 = p4
  2215. w3.C0 = CFrame.new(0, 0, -0.470002174, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2216. w3.Part1 = p1
  2217. w3.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2218. w4 = Instance.new("Weld", p5)
  2219. w4.Name = "Joint"
  2220. w4.Part0 = p5
  2221. w4.C0 = CFrame.new(-0.0200009346, 0, -0.5, -4.37113883e-008, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-008)
  2222. w4.Part1 = p1
  2223. w4.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2224. w5 = Instance.new("Weld", p6)
  2225. w5.Name = "Joint"
  2226. w5.Part0 = p6
  2227. w5.C0 = CFrame.new(0, 0.99999404, -0.00999999046, -4.37113883e-008, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-008)
  2228. w5.Part1 = p1
  2229. w5.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2230. w6 = Instance.new("Weld", p7)
  2231. w6.Name = "Joint"
  2232. w6.Part0 = p7
  2233. w6.C0 = CFrame.new(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2234. w6.Part1 = p1
  2235. w6.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2236. m4.Parent = lleg
  2237. m4:MakeJoints()
  2238. ----------------------------------------------------
  2239. local cor4 = Instance.new("Part", lleg.LeftLeg)
  2240. cor4.Name = "Thingy"
  2241. cor4.Locked = true
  2242. cor4.BottomSurface = 0
  2243. cor4.CanCollide = false
  2244. cor4.Size = Vector3.new(1, 1, 1)
  2245. cor4.Transparency = 1
  2246. cor4.TopSurface = 0
  2247. corw4 = Instance.new("Weld", cor4)
  2248. corw4.Part0 = lleg
  2249. corw4.Part1 = cor4
  2250. corw4.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  2251. corw4.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  2252. weld4 = Instance.new("Weld", lleg.LeftLeg)
  2253. weld4.Part0 = cor4
  2254. weld4.Part1 = lleg.LeftLeg.LeftLegPlate
  2255. weld4.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  2256. --Right Leg
  2257. m5 = Instance.new("Model")
  2258. m5.Name = "RightLeg"
  2259. p1 = Instance.new("Part", m5)
  2260. p1.BrickColor = BrickColor.new("Institutional white")
  2261. p1.Material = Enum.Material.SmoothPlastic
  2262. p1.Name = "RightLegPlate"
  2263. p1.CFrame = CFrame.new(1.5, 4.74441528, -7.49999952, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2264. p1.Anchored = false
  2265. p1.CanCollide = false
  2266. p1.FormFactor = Enum.FormFactor.Custom
  2267. p1.Size = Vector3.new(1, 2, 1)
  2268. p1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  2269. p1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  2270. p1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  2271. p1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  2272. p1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  2273. p1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  2274. b1 = Instance.new("SpecialMesh", p1)
  2275. b1.MeshType = Enum.MeshType.Brick
  2276. b1.Name = "Mesh"
  2277. b1.Scale = Vector3.new(1.01999998, 1, 1.01999998)
  2278. p2 = Instance.new("Part", m5)
  2279. p2.BrickColor = BrickColor.new("Really black")
  2280. p2.Material = Enum.Material.SmoothPlastic
  2281. p2.CFrame = CFrame.new(2.05000019, 5.44441557, -7.49999952, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2282. p2.Anchored = false
  2283. p2.CanCollide = false
  2284. p2.FormFactor = Enum.FormFactor.Custom
  2285. p2.Size = Vector3.new(0.239999995, 0.300000012, 0.899999976)
  2286. p2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  2287. p2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  2288. p2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  2289. p2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  2290. p2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  2291. p2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  2292. b2 = Instance.new("SpecialMesh", p2)
  2293. b2.MeshType = Enum.MeshType.Brick
  2294. b2.Name = "Mesh"
  2295. b2.Scale = Vector3.new(1.01999998, 1, 1.01999998)
  2296. p3 = Instance.new("Part", m5)
  2297. p3.BrickColor = BrickColor.new("Really black")
  2298. p3.Material = Enum.Material.SmoothPlastic
  2299. p3.CFrame = CFrame.new(2.05000019, 5.04441547, -7.49999952, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2300. p3.Anchored = false
  2301. p3.CanCollide = false
  2302. p3.FormFactor = Enum.FormFactor.Custom
  2303. p3.Size = Vector3.new(0.200000003, 0.600000024, 0.800000012)
  2304. p3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  2305. p3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  2306. p3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  2307. p3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  2308. p3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  2309. p3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  2310. b3 = Instance.new("SpecialMesh", p3)
  2311. b3.MeshType = Enum.MeshType.Brick
  2312. b3.Name = "Mesh"
  2313. b3.Scale = Vector3.new(1.01999998, 1, 1.01999998)
  2314. p4 = Instance.new("Part", m5)
  2315. p4.BrickColor = BrickColor.new("Really black")
  2316. p4.Material = Enum.Material.SmoothPlastic
  2317. p4.CFrame = CFrame.new(1.5, 4.74441528, -7.0299983, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2318. p4.Anchored = false
  2319. p4.CanCollide = false
  2320. p4.FormFactor = Enum.FormFactor.Custom
  2321. p4.Size = Vector3.new(1, 2, 0.200000018)
  2322. p4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  2323. p4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  2324. p4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  2325. p4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  2326. p4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  2327. p4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  2328. b4 = Instance.new("SpecialMesh", p4)
  2329. b4.MeshType = Enum.MeshType.Brick
  2330. b4.Name = "Mesh"
  2331. b4.Scale = Vector3.new(1, 1.01999998, 1.01999998)
  2332. p5 = Instance.new("Part", m5)
  2333. p5.BrickColor = BrickColor.new("Really black")
  2334. p5.Material = Enum.Material.SmoothPlastic
  2335. p5.CFrame = CFrame.new(2, 4.74441528, -7.47999907, -4.37113883e-008, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-008)
  2336. p5.Anchored = false
  2337. p5.CanCollide = false
  2338. p5.FormFactor = Enum.FormFactor.Custom
  2339. p5.Size = Vector3.new(1, 2, 0.200000018)
  2340. p5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  2341. p5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  2342. p5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  2343. p5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  2344. p5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  2345. p5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  2346. b5 = Instance.new("SpecialMesh", p5)
  2347. b5.MeshType = Enum.MeshType.Brick
  2348. b5.Name = "Mesh"
  2349. b5.Scale = Vector3.new(1, 1.01999998, 1.01999998)
  2350. p6 = Instance.new("Part", m5)
  2351. p6.BrickColor = BrickColor.new("Really black")
  2352. p6.Material = Enum.Material.SmoothPlastic
  2353. p6.CFrame = CFrame.new(1.505, 3.74442124, -7.49999952, -4.37113883e-008, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-008)
  2354. p6.Anchored = false
  2355. p6.CanCollide = false
  2356. p6.FormFactor = Enum.FormFactor.Custom
  2357. p6.Size = Vector3.new(1, 0.200000048, 0.99000001)
  2358. p6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  2359. p6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  2360. p6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  2361. p6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  2362. p6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  2363. p6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  2364. b6 = Instance.new("SpecialMesh", p6)
  2365. b6.MeshType = Enum.MeshType.Brick
  2366. b6.Name = "Mesh"
  2367. b6.Scale = Vector3.new(1, 1.01999998, 1.01999998)
  2368. p7 = Instance.new("Part", m5)
  2369. p7.BrickColor = BrickColor.new("Institutional white")
  2370. p7.Material = Enum.Material.SmoothPlastic
  2371. p7.CFrame = CFrame.new(1.505, 5.69442129, -7.49999952, -4.37113883e-008, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-008)
  2372. p7.Anchored = false
  2373. p7.CanCollide = false
  2374. p7.FormFactor = Enum.FormFactor.Custom
  2375. p7.Size = Vector3.new(1, 0.200000048, 0.99000001)
  2376. p7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  2377. p7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  2378. p7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  2379. p7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  2380. p7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  2381. p7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  2382. b7 = Instance.new("SpecialMesh", p7)
  2383. b7.MeshType = Enum.MeshType.Brick
  2384. b7.Name = "Mesh"
  2385. b7.Scale = Vector3.new(1, 1.01999998, 1.01999998)
  2386. w1 = Instance.new("Weld", p2)
  2387. w1.Name = "Joint"
  2388. w1.Part0 = p2
  2389. w1.C0 = CFrame.new(0, -0.400000095, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2390. w1.Part1 = p3
  2391. w1.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2392. w2 = Instance.new("Weld", p3)
  2393. w2.Name = "Joint"
  2394. w2.Part0 = p3
  2395. w2.C0 = CFrame.new(-0.0500001907, -0.300000191, 0.0200004578, -4.37113883e-008, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-008)
  2396. w2.Part1 = p5
  2397. w2.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2398. w3 = Instance.new("Weld", p4)
  2399. w3.Name = "Joint"
  2400. w3.Part0 = p4
  2401. w3.C0 = CFrame.new(0, 0, -0.470001221, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2402. w3.Part1 = p1
  2403. w3.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2404. w4 = Instance.new("Weld", p5)
  2405. w4.Name = "Joint"
  2406. w4.Part0 = p5
  2407. w4.C0 = CFrame.new(-0.0200004578, 0, 0.5, -4.37113883e-008, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-008)
  2408. w4.Part1 = p1
  2409. w4.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2410. w5 = Instance.new("Weld", p6)
  2411. w5.Name = "Joint"
  2412. w5.Part0 = p6
  2413. w5.C0 = CFrame.new(0, 0.99999404, 0.00499999523, -4.37113883e-008, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-008)
  2414. w5.Part1 = p1
  2415. w5.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2416. w6 = Instance.new("Weld", p7)
  2417. w6.Name = "Joint"
  2418. w6.Part0 = p7
  2419. w6.C0 = CFrame.new(0, -0.950006008, 0.00499999523, -4.37113883e-008, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-008)
  2420. w6.Part1 = p1
  2421. w6.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2422. m5.Parent = rleg
  2423. m5:MakeJoints()
  2424. ----------------------------------------------------
  2425. local cor5 = Instance.new("Part", rleg.RightLeg)
  2426. cor5.Name = "Thingy"
  2427. cor5.Locked = true
  2428. cor5.BottomSurface = 0
  2429. cor5.CanCollide = false
  2430. cor5.Size = Vector3.new(1, 1, 1)
  2431. cor5.Transparency = 1
  2432. cor5.TopSurface = 0
  2433. corw5 = Instance.new("Weld", cor5)
  2434. corw5.Part0 = rleg
  2435. corw5.Part1 = cor5
  2436. corw5.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  2437. corw5.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  2438. wld5 = Instance.new("Weld", rleg.RightLeg)
  2439. wld5.Part0 = cor5
  2440. wld5.Part1 = rleg.RightLeg.RightLegPlate
  2441. wld5.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  2442.  
  2443.  
  2444.  
  2445.  
  2446.  
  2447.  
  2448. --- its obs smooth af do not touch
  2449. ---- Sources and functions might be taken from others
  2450. plr = game:GetService("Players").LocalPlayer
  2451. char = plr.Character
  2452. hum = char.Humanoid
  2453. local cam = game.Workspace.CurrentCamera
  2454. local Controller = plr.PlayerScripts:WaitForChild("ControlScript")
  2455. Camera = cam
  2456. local CamInterrupt = false
  2457. local TwoD = false
  2458. local TargetInfo = {nil, nil}
  2459. cam.CameraType = "Custom"
  2460. t = char.Torso
  2461. h = char.Head
  2462. ra = char["Right Arm"]
  2463. la = char["Left Arm"]
  2464. rl = char["Right Leg"]
  2465. ll = char["Left Leg"]
  2466. tors = char.Torso
  2467. lleg = char["Left Leg"]
  2468. root = char.HumanoidRootPart
  2469. hed = char.Head
  2470. rleg = char["Right Leg"]
  2471. rarm = char["Right Arm"]
  2472. larm = char["Left Arm"]
  2473. radian = math.rad
  2474. random = math.random
  2475. Vec3 = Vector3.new
  2476. Inst = Instance.new
  2477. cFrame = CFrame.new
  2478. Euler = CFrame.fromEulerAnglesXYZ
  2479. vt = Vector3.new
  2480. bc = BrickColor.new
  2481. br = BrickColor.random
  2482. it = Instance.new
  2483. cf = CFrame.new
  2484. local eff = true
  2485. local shielding = false
  2486.  
  2487. local Booleans = {
  2488. CamFollow = true,
  2489. GyroUse = true
  2490. }
  2491.  
  2492. function lerp(object, newCFrame, alpha)
  2493. return object:lerp(newCFrame, alpha)
  2494. end
  2495.  
  2496. local Directer = Inst("BodyGyro", root)
  2497. Directer.MaxTorque = Vec3(0, 0, 0)
  2498. Directer.P = 600000
  2499. local CPart = Inst("Part")
  2500. CPart.Anchored = true
  2501. CPart.CanCollide = false
  2502. CPart.Locked = true
  2503. CPart.Transparency = 1
  2504.  
  2505. local rainbowmode = false
  2506. local chaosmode = false
  2507.  
  2508. kan = Instance.new("Sound",char)
  2509. kan.Volume = 1.25
  2510. kan.TimePosition = 0
  2511. kan.PlaybackSpeed = 1
  2512. kan.Pitch = 1
  2513. kan.SoundId = "rbxassetid://661079869"
  2514. kan.Name = "wrecked"
  2515. kan.Looped = true
  2516. kan:Play()
  2517.  
  2518. function newTheme(ID,timepos,pitch,vol)
  2519. local kanz = kan
  2520. --kanz:Stop()
  2521. --kanz.Volume = vol
  2522. --kanz.TimePosition = timepos
  2523. kanz.PlaybackSpeed = pitch
  2524. kanz.Pitch = pitch
  2525. kanz.SoundId = ID
  2526. kanz.Name = "wrecked"
  2527. kanz.Looped = true
  2528. kanz.Volume = 0.3
  2529. --kanz:Play()
  2530. --coroutine.resume(coroutine.create(function()
  2531. --wait(0.05)
  2532. --end))
  2533. end
  2534.  
  2535. function newThemeCust(ID,timepos,pitch,vol)
  2536. local kanz = kan
  2537. kanz:Stop()
  2538. kanz.Volume = vol
  2539. kanz.TimePosition = timepos
  2540. kanz.PlaybackSpeed = pitch
  2541. kanz.Pitch = pitch
  2542. kanz.SoundId = ID
  2543. kanz.Name = "wrecked"
  2544. kanz.Looped = true
  2545. kanz:Play()
  2546. coroutine.resume(coroutine.create(function()
  2547. wait(0.05)
  2548. end))
  2549. end
  2550.  
  2551.  
  2552.  
  2553. function CameraShake(Times, Power, PlayerTarget)
  2554. coroutine.resume(coroutine.create(function()
  2555. FV = Instance.new("BoolValue", PlayerTarget)
  2556. FV.Name = "CameraShake"
  2557. for ShakeNum=1,Times do
  2558. swait()
  2559. local ef=Power
  2560. if ef>=1 then
  2561. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  2562. else
  2563. ef=Power*10
  2564. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  2565. end
  2566. end
  2567. Humanoid.CameraOffset = Vector3.new(0,0,0)
  2568. FV:Destroy()
  2569. end))
  2570. end
  2571.  
  2572. function CameraEnshaking(Length,Intensity)
  2573. coroutine.resume(coroutine.create(function()
  2574. local intensity = 1*Intensity
  2575. local rotM = 0.01*Intensity
  2576. for i = 0, Length, 0.1 do
  2577. swait()
  2578. intensity = intensity - 0.05*Intensity/Length
  2579. rotM = rotM - 0.0005*Intensity/Length
  2580. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  2581. 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)
  2582. end
  2583. Humanoid.CameraOffset = Vec3(0, 0, 0)
  2584. end))
  2585. end
  2586. CamShake=function(Part,Distan,Power,Times)
  2587. local de=Part.Position
  2588. for i,v in pairs(workspace:children()) do
  2589. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  2590. for _,c in pairs(v:children()) do
  2591. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  2592. local Noob=v.Humanoid
  2593. if Noob~=nil then
  2594. coroutine.resume(coroutine.create(function()
  2595. FV = Instance.new("BoolValue", Noob)
  2596. FV.Name = "CameraShake"
  2597. for ShakeNum=1,Times do
  2598. swait()
  2599. local ef=Power
  2600. if ef>=1 then
  2601. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  2602. else
  2603. ef=Power*10
  2604. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  2605. end
  2606. end
  2607. Humanoid.CameraOffset = Vector3.new(0,0,0)
  2608. FV:Destroy()
  2609. end))
  2610. CameraShake(Times, Power, Noob)
  2611. end
  2612. end
  2613. end
  2614. end
  2615. end
  2616. end
  2617.  
  2618. function chatfunc(text,color)
  2619. local chat = coroutine.wrap(function()
  2620. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  2621. Character:FindFirstChild("TalkingBillBoard"):destroy()
  2622. end
  2623. local naeeym2 = Instance.new("BillboardGui",Character)
  2624. naeeym2.Size = UDim2.new(0,100,0,40)
  2625. naeeym2.StudsOffset = Vector3.new(0,3,0)
  2626. naeeym2.Adornee = Character.Head
  2627. naeeym2.Name = "TalkingBillBoard"
  2628. local tecks2 = Instance.new("TextLabel",naeeym2)
  2629. tecks2.BackgroundTransparency = 1
  2630. tecks2.BorderSizePixel = 0
  2631. tecks2.Text = ""
  2632. tecks2.Font = "SciFi"
  2633. tecks2.TextSize = 30
  2634. tecks2.TextStrokeTransparency = 0
  2635. tecks2.TextColor3 = color
  2636. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  2637. tecks2.Size = UDim2.new(1,0,0.5,0)
  2638. local tecks3 = Instance.new("TextLabel",naeeym2)
  2639. tecks3.BackgroundTransparency = 1
  2640. tecks3.BorderSizePixel = 0
  2641. tecks3.Text = ""
  2642. tecks3.Font = "SciFi"
  2643. tecks3.TextSize = 30
  2644. tecks3.TextStrokeTransparency = 0
  2645. tecks3.TextColor3 = Color3.new(0,0,0)
  2646. tecks3.TextStrokeColor3 = color
  2647. tecks3.Size = UDim2.new(1,0,0.5,0)
  2648. coroutine.resume(coroutine.create(function()
  2649. while true do
  2650. swait(1)
  2651. plr.Character.wrecked.Volume = 0.3
  2652. if chaosmode == true then
  2653. tecks2.TextColor3 = BrickColor.new("Lapis").Color
  2654. tecks3.TextStrokeColor3 = BrickColor.new("Lapis").Color
  2655. end
  2656. tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  2657. tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  2658. tecks2.Rotation = math.random(-5,5)
  2659. tecks3.Rotation = math.random(-5,5)
  2660. end
  2661. end))
  2662. for i = 1,string.len(text),1 do
  2663. CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
  2664. tecks2.Text = string.sub(text,1,i)
  2665. tecks3.Text = string.sub(text,1,i)
  2666. swait(1)
  2667. end
  2668. wait(1)
  2669. local randomrot = math.random(1,2)
  2670. if randomrot == 1 then
  2671. for i = 1, 50 do
  2672. swait()
  2673. tecks2.Rotation = tecks2.Rotation - .75
  2674. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  2675. tecks2.TextTransparency = tecks2.TextTransparency + .04
  2676. tecks3.Rotation = tecks2.Rotation + .75
  2677. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  2678. tecks3.TextTransparency = tecks2.TextTransparency + .04
  2679. end
  2680. elseif randomrot == 2 then
  2681. for i = 1, 50 do
  2682. swait()
  2683. tecks2.Rotation = tecks2.Rotation + .75
  2684. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  2685. tecks2.TextTransparency = tecks2.TextTransparency + .04
  2686. tecks3.Rotation = tecks2.Rotation - .75
  2687. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  2688. tecks3.TextTransparency = tecks2.TextTransparency + .04
  2689. end
  2690. end
  2691. naeeym2:Destroy()
  2692. end)
  2693. chat()
  2694. end
  2695.  
  2696.  
  2697. local Create = LoadLibrary("RbxUtility").Create
  2698.  
  2699. CFuncs = {
  2700. ["Part"] = {
  2701. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2702. local Part = Create("Part"){
  2703. Parent = Parent,
  2704. Reflectance = Reflectance,
  2705. Transparency = Transparency,
  2706. CanCollide = false,
  2707. Locked = true,
  2708. BrickColor = BrickColor.new(tostring(BColor)),
  2709. Name = Name,
  2710. Size = Size,
  2711. Material = Material,
  2712. }
  2713. RemoveOutlines(Part)
  2714. return Part
  2715. end;
  2716. };
  2717.  
  2718. ["Mesh"] = {
  2719. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2720. local Msh = Create(Mesh){
  2721. Parent = Part,
  2722. Offset = OffSet,
  2723. Scale = Scale,
  2724. }
  2725. if Mesh == "SpecialMesh" then
  2726. Msh.MeshType = MeshType
  2727. Msh.MeshId = MeshId
  2728. end
  2729. return Msh
  2730. end;
  2731. };
  2732.  
  2733. ["Mesh"] = {
  2734. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2735. local Msh = Create(Mesh){
  2736. Parent = Part,
  2737. Offset = OffSet,
  2738. Scale = Scale,
  2739. }
  2740. if Mesh == "SpecialMesh" then
  2741. Msh.MeshType = MeshType
  2742. Msh.MeshId = MeshId
  2743. end
  2744. return Msh
  2745. end;
  2746. };
  2747.  
  2748. ["Weld"] = {
  2749. Create = function(Parent, Part0, Part1, C0, C1)
  2750. local Weld = Create("Weld"){
  2751. Parent = Parent,
  2752. Part0 = Part0,
  2753. Part1 = Part1,
  2754. C0 = C0,
  2755. C1 = C1,
  2756. }
  2757. return Weld
  2758. end;
  2759. };
  2760.  
  2761. ["Sound"] = {
  2762. Create = function(id, par, vol, pit)
  2763. coroutine.resume(coroutine.create(function()
  2764. local S = Create("Sound"){
  2765. Volume = vol,
  2766. Name = "EffectSoundo",
  2767. Pitch = pit or 1,
  2768. SoundId = id,
  2769. Parent = par or workspace,
  2770. }
  2771. wait()
  2772. S:play()
  2773. game:GetService("Debris"):AddItem(S, 10)
  2774. end))
  2775. end;
  2776. };
  2777.  
  2778. ["LongSound"] = {
  2779. Create = function(id, par, vol, pit)
  2780. coroutine.resume(coroutine.create(function()
  2781. local S = Create("Sound"){
  2782. Volume = vol,
  2783. Pitch = pit or 1,
  2784. SoundId = id,
  2785. Parent = par or workspace,
  2786. }
  2787. wait()
  2788. S:play()
  2789. game:GetService("Debris"):AddItem(S, 30)
  2790. end))
  2791. end;
  2792. };
  2793.  
  2794. ["ParticleEmitter"] = {
  2795. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  2796. local fp = Create("ParticleEmitter"){
  2797. Parent = Parent,
  2798. Color = ColorSequence.new(Color1, Color2),
  2799. LightEmission = LightEmission,
  2800. Size = Size,
  2801. Texture = Texture,
  2802. Transparency = Transparency,
  2803. ZOffset = ZOffset,
  2804. Acceleration = Accel,
  2805. Drag = Drag,
  2806. LockedToPart = LockedToPart,
  2807. VelocityInheritance = VelocityInheritance,
  2808. EmissionDirection = EmissionDirection,
  2809. Enabled = Enabled,
  2810. Lifetime = LifeTime,
  2811. Rate = Rate,
  2812. Rotation = Rotation,
  2813. RotSpeed = RotSpeed,
  2814. Speed = Speed,
  2815. VelocitySpread = VelocitySpread,
  2816. }
  2817. return fp
  2818. end;
  2819. };
  2820.  
  2821. CreateTemplate = {
  2822.  
  2823. };
  2824. }
  2825.  
  2826.  
  2827.  
  2828. New = function(Object, Parent, Name, Data)
  2829. local Object = Instance.new(Object)
  2830. for Index, Value in pairs(Data or {}) do
  2831. Object[Index] = Value
  2832. end
  2833. Object.Parent = Parent
  2834. Object.Name = Name
  2835. return Object
  2836. end
  2837. local halocolor = BrickColor.new("Pastel light blue")
  2838. local halocolor2 = BrickColor.new("Cool yellow")
  2839. local starcolor = BrickColor.new("Lapis")
  2840. local lunacolor = BrickColor.new("Navy blue")
  2841. local lunacolor2 = BrickColor.new("Bright blue")
  2842. local wepcolor = BrickColor.new("Really black")
  2843. local maincolor = BrickColor.new("Really black")
  2844. local m = Instance.new("Model",char)
  2845. local m2 = Instance.new("Model",char)
  2846. local m3 = Instance.new("Model",char)
  2847. local mw1 = Instance.new("Model",char)
  2848. local mw2 = Instance.new("Model",char)
  2849.  
  2850. local extrawingmod1 = Instance.new("Model",char)
  2851. local extrawingmod2 = Instance.new("Model",char)
  2852.  
  2853. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  2854. local p = Instance.new("Part")
  2855. p.TopSurface = 0
  2856. p.BottomSurface = 0
  2857. p.Parent = parent
  2858. p.Size = Vector3.new(0.1,0.1,0.1)
  2859. p.Transparency = transparency
  2860. p.Reflectance = reflectance
  2861. p.CanCollide = false
  2862. p.Locked = true
  2863. p.BrickColor = brickcolor
  2864. p.Material = material
  2865. return p
  2866. end
  2867.  
  2868. function CreateMesh(parent,meshtype,x1,y1,z1)
  2869. local mesh = Instance.new("SpecialMesh",parent)
  2870. mesh.MeshType = meshtype
  2871. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  2872. return mesh
  2873. end
  2874.  
  2875. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  2876. local mesh = Instance.new("SpecialMesh",parent)
  2877. mesh.MeshType = "FileMesh"
  2878. mesh.MeshId = meshid
  2879. mesh.Scale = Vector3.new(x1,y1,z1)
  2880. return mesh
  2881. end
  2882.  
  2883.  
  2884. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  2885. local mesh = Instance.new("SpecialMesh",parent)
  2886. mesh.MeshType = "FileMesh"
  2887. mesh.MeshId = meshid
  2888. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  2889. mesh.Scale = Vector3.new(x1,y1,z1)
  2890. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  2891. return mesh
  2892. end
  2893.  
  2894. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  2895. local weld = Instance.new("Weld")
  2896. weld.Parent = parent
  2897. weld.Part0 = part0
  2898. weld.Part1 = part1
  2899. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  2900. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  2901. return weld
  2902. end
  2903.  
  2904.  
  2905. --------------
  2906. local secondchar = Instance.new("Model",char)
  2907. local GhostCol = BrickColor.new("Lapis")
  2908. local sectors = CreateParta(secondchar,1,0,"Neon",GhostCol)
  2909. CreateMesh(sectors,"Brick",2*8,2*8,1*8)
  2910. local torsweld = CreateWeld(sectors,root,sectors,1,-1,-2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2911.  
  2912. local seclarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
  2913. CreateMesh(seclarm,"Brick",1*8,2*8,1*8)
  2914. local larmsweld = CreateWeld(seclarm,sectors,seclarm,1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2915.  
  2916. local secrarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
  2917. CreateMesh(secrarm,"Brick",1*8,2*8,1*8)
  2918. local rarmsweld = CreateWeld(secrarm,sectors,secrarm,-1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2919.  
  2920. local seclleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
  2921. CreateMesh(seclleg,"Brick",1*8,2*8,1*8)
  2922. local llegsweld = CreateWeld(seclleg,sectors,seclleg,0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2923.  
  2924. local secrleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
  2925. CreateMesh(secrleg,"Brick",1*8,2*8,1*8)
  2926. local rlegsweld = CreateWeld(secrleg,sectors,secrleg,-0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2927.  
  2928. local seched = CreateParta(secondchar,1,0,"Neon",GhostCol)
  2929. CreateMesh(seched,"Brick",1*8,1*8,1*8)
  2930. local hedsweld = CreateWeld(seched,sectors,seched,0,-1.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2931. --------------
  2932. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.new("Lapis"))
  2933. 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))
  2934. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.new("Lapis"))
  2935. 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))
  2936.  
  2937. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  2938. CreateMesh(handle,"Brick",0,0,0)
  2939. 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))
  2940. local valuaring = 10
  2941. for i = 0, 49 do
  2942. valuaring = valuaring + 10
  2943. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  2944. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  2945. 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))
  2946. end
  2947.  
  2948. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  2949. CreateMesh(handle,"Brick",0,0,0)
  2950. 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))
  2951. local valuaring = 10
  2952. for i = 0, 49 do
  2953. valuaring = valuaring + 10
  2954. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  2955. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  2956. 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))
  2957. end
  2958.  
  2959.  
  2960. local handle = CreateParta(m,1,1,"Neon",maincolor)
  2961. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  2962. 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))
  2963.  
  2964. --- Left wing.
  2965.  
  2966. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  2967. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  2968. 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))
  2969.  
  2970. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  2971. CreateMesh(wed,"Wedge",0,0,0)
  2972. 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))
  2973. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  2974. CreateMesh(wed,"Wedge",0,0,0)
  2975. 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))
  2976. A0 = Instance.new('Attachment',wed)
  2977. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  2978. CreateMesh(wed,"Wedge",0,0,0)
  2979. 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))
  2980. A1 = Instance.new('Attachment',wed)
  2981. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  2982. CreateMesh(wed,"Wedge",0,0,0)
  2983. 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))
  2984.  
  2985. tl1 = Instance.new('Trail',wed)
  2986. tl1.Attachment0 = A1
  2987. tl1.Attachment1 = A1
  2988. tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  2989. tl1.LightEmission = 1
  2990. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  2991. tl1.Color = ColorSequence.new(BrickColor.new('Lapis').Color)
  2992. tl1.Lifetime = 0.6
  2993.  
  2994.  
  2995. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  2996. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  2997. 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))
  2998.  
  2999. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  3000. CreateMesh(wed,"Wedge",0,0,0)
  3001. 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))
  3002. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  3003. CreateMesh(wed,"Wedge",0,0,0)
  3004. 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))
  3005. A0 = Instance.new('Attachment',wed)
  3006. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  3007. CreateMesh(wed,"Wedge",0,0,0)
  3008. 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))
  3009. A1 = Instance.new('Attachment',wed)
  3010. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  3011. CreateMesh(wed,"Wedge",0,0,0)
  3012. 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))
  3013.  
  3014. tl2 = Instance.new('Trail',wed)
  3015. tl2.Attachment0 = A1
  3016. tl2.Attachment1 = A1
  3017. tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  3018. tl2.LightEmission = 1
  3019. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3020. tl2.Color = ColorSequence.new(BrickColor.new('Lapis').Color)
  3021. tl2.Lifetime = 0.6
  3022.  
  3023. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  3024. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  3025. 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))
  3026.  
  3027. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  3028. CreateMesh(wed,"Wedge",0,0,0)
  3029. 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))
  3030. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  3031. CreateMesh(wed,"Wedge",0,0,0)
  3032. 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))
  3033. A0 = Instance.new('Attachment',wed)
  3034. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  3035. CreateMesh(wed,"Wedge",0,0,0)
  3036. 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))
  3037. A1 = Instance.new('Attachment',wed)
  3038. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  3039. CreateMesh(wed,"Wedge",0,0,0)
  3040. 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))
  3041.  
  3042. tl3 = Instance.new('Trail',wed)
  3043. tl3.Attachment0 = A1
  3044. tl3.Attachment1 = A1
  3045. tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  3046. tl3.LightEmission = 1
  3047. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3048. tl3.Color = ColorSequence.new(BrickColor.new('Lapis').Color)
  3049. tl3.Lifetime = 0.6
  3050.  
  3051. tl1.Enabled = false
  3052. tl2.Enabled = false
  3053. tl3.Enabled = false
  3054. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  3055. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  3056. 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))
  3057.  
  3058. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  3059. CreateMesh(wed,"Wedge",0,0,0)
  3060. 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))
  3061. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  3062. CreateMesh(wed,"Wedge",0,0,0)
  3063. 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))
  3064. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  3065. CreateMesh(wed,"Wedge",0,0,0)
  3066. 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))
  3067. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  3068. CreateMesh(wed,"Wedge",0,0,0)
  3069. 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))
  3070.  
  3071. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  3072. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  3073. 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))
  3074.  
  3075. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  3076. CreateMesh(wed,"Wedge",0,0,0)
  3077. 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))
  3078. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  3079. CreateMesh(wed,"Wedge",0,0,0)
  3080. 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))
  3081. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  3082. CreateMesh(wed,"Wedge",0,0,0)
  3083. 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))
  3084. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  3085. CreateMesh(wed,"Wedge",0,0,0)
  3086. 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))
  3087.  
  3088. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  3089. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  3090. 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))
  3091.  
  3092. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  3093. CreateMesh(wed,"Wedge",0,0,0)
  3094. 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))
  3095. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  3096. CreateMesh(wed,"Wedge",0,0,0)
  3097. 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))
  3098. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  3099. CreateMesh(wed,"Wedge",0,0,0)
  3100. 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))
  3101. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  3102. CreateMesh(wed,"Wedge",0,0,0)
  3103. 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))
  3104.  
  3105. -- Right wing.
  3106.  
  3107. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  3108. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  3109. 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))
  3110.  
  3111. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  3112. CreateMesh(wed,"Wedge",0,0,0)
  3113. 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))
  3114. A0 = Instance.new('Attachment',wed)
  3115. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  3116. CreateMesh(wed,"Wedge",0,0,0)
  3117. 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))
  3118. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  3119. CreateMesh(wed,"Wedge",0,0,0)
  3120. 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))
  3121. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  3122. CreateMesh(wed,"Wedge",0,0,0)
  3123. 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))
  3124. A1 = Instance.new('Attachment',wed)
  3125.  
  3126. tr1 = Instance.new('Trail',wed)
  3127. tr1.Attachment0 = A1
  3128. tr1.Attachment1 = A1
  3129. tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  3130. tr1.LightEmission = 1
  3131. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3132. tr1.Color = ColorSequence.new(BrickColor.new('Lapis').Color)
  3133. tr1.Lifetime = 0.6
  3134.  
  3135. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  3136. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  3137. 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))
  3138.  
  3139. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  3140. CreateMesh(wed,"Wedge",0,0,0)
  3141. 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))
  3142. A0 = Instance.new('Attachment',wed)
  3143. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  3144. CreateMesh(wed,"Wedge",0,0,0)
  3145. 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))
  3146. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  3147. CreateMesh(wed,"Wedge",0,0,0)
  3148. 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))
  3149. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  3150. CreateMesh(wed,"Wedge",0,0,0)
  3151. 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))
  3152. A1 = Instance.new('Attachment',wed)
  3153.  
  3154. tr2 = Instance.new('Trail',wed)
  3155. tr2.Attachment0 = A1
  3156. tr2.Attachment1 = A1
  3157. tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  3158. tr2.LightEmission = 1
  3159. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3160. tr2.Color = ColorSequence.new(BrickColor.new('Lapis').Color)
  3161. tr2.Lifetime = 0.6
  3162.  
  3163. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  3164. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  3165. 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))
  3166.  
  3167. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  3168. CreateMesh(wed,"Wedge",0,0,0)
  3169. 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))
  3170. A0 = Instance.new('Attachment',wed)
  3171. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  3172. CreateMesh(wed,"Wedge",0,0,0)
  3173. 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))
  3174. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  3175. CreateMesh(wed,"Wedge",0,0,0)
  3176. 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))
  3177. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  3178. CreateMesh(wed,"Wedge",0,0,0)
  3179. 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))
  3180. A1 = Instance.new('Attachment',wed)
  3181.  
  3182. tr3 = Instance.new('Trail',wed)
  3183. tr3.Attachment0 = A1
  3184. tr3.Attachment1 = A1
  3185. tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  3186. tr3.LightEmission = 1
  3187. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3188. tr3.Color = ColorSequence.new(BrickColor.new('Lapis').Color)
  3189. tr3.Lifetime = 0.6
  3190.  
  3191.  
  3192. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  3193. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  3194. 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))
  3195.  
  3196. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  3197. CreateMesh(wed,"Wedge",0,0,0)
  3198. 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))
  3199. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  3200. CreateMesh(wed,"Wedge",0,0,0)
  3201. 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))
  3202. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  3203. CreateMesh(wed,"Wedge",0,0,0)
  3204. 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))
  3205. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  3206. CreateMesh(wed,"Wedge",0,0,0)
  3207. 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))
  3208.  
  3209. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  3210. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  3211. 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))
  3212.  
  3213. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  3214. CreateMesh(wed,"Wedge",0,0,0)
  3215. 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))
  3216. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  3217. CreateMesh(wed,"Wedge",0,0,0)
  3218. 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))
  3219. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  3220. CreateMesh(wed,"Wedge",0,0,0)
  3221. 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))
  3222. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  3223. CreateMesh(wed,"Wedge",0,0,0)
  3224. 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))
  3225.  
  3226. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  3227. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  3228. 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))
  3229.  
  3230. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  3231. CreateMesh(wed,"Wedge",0,0,0)
  3232. 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))
  3233. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  3234. CreateMesh(wed,"Wedge",0,0,0)
  3235. 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))
  3236. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  3237. CreateMesh(wed,"Wedge",0,0,0)
  3238. 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))
  3239. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  3240. CreateMesh(wed,"Wedge",0,0,0)
  3241. 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))
  3242.  
  3243. ---- HERES THE RING
  3244.  
  3245.  
  3246. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  3247. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  3248. 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))
  3249. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  3250. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  3251. 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))
  3252. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  3253. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  3254. 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))
  3255.  
  3256.  
  3257. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  3258. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  3259. 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))
  3260.  
  3261. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  3262. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  3263. 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))
  3264.  
  3265.  
  3266.  
  3267. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  3268. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  3269. 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))
  3270.  
  3271. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  3272. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  3273. 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))
  3274.  
  3275. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  3276. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  3277. 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))
  3278.  
  3279. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  3280. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  3281. 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))
  3282. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  3283. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  3284. 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))
  3285.  
  3286. --- second ring
  3287.  
  3288. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  3289. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  3290. 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))
  3291. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  3292. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  3293. 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))
  3294. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  3295. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  3296. 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))
  3297.  
  3298. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  3299. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  3300. 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))
  3301.  
  3302. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  3303. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  3304. 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))
  3305.  
  3306.  
  3307.  
  3308. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  3309. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  3310. 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))
  3311.  
  3312. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  3313. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  3314. 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))
  3315.  
  3316. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  3317. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  3318. 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))
  3319.  
  3320. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  3321. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  3322. 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))
  3323. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  3324. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  3325. 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))
  3326.  
  3327.  
  3328.  
  3329. for i, v in pairs(m:GetChildren()) do
  3330. if v:IsA("Part") then
  3331. v.BrickColor = BrickColor.new("Really black")
  3332. v.Material = "Glass"
  3333. end
  3334. end
  3335. for i, v in pairs(m2:GetChildren()) do
  3336. if v:IsA("Part") then
  3337. v.BrickColor = BrickColor.new("Lapis")
  3338. v.Material = "Neon"
  3339. end
  3340. end
  3341. for i, v in pairs(m3:GetChildren()) do
  3342. if v:IsA("Part") then
  3343. v.BrickColor = BrickColor.new("Lapis")
  3344. v.Material = "Neon"
  3345. end
  3346. end
  3347. for i, v in pairs(mw2:GetChildren()) do
  3348. if v:IsA("Part") then
  3349. v.BrickColor = BrickColor.new("Lapis")
  3350. v.Material = "Neon"
  3351. end
  3352. end
  3353. for i, v in pairs(mw1:GetChildren()) do
  3354. if v:IsA("Part") then
  3355. v.Transparency = 1
  3356. v.BrickColor = BrickColor.new("Lapis")
  3357. v.Material = "Neon"
  3358. end
  3359. end
  3360. for i, v in pairs(extrawingmod1:GetChildren()) do
  3361. if v:IsA("Part") then
  3362. v.Transparency = 1
  3363. v.BrickColor = BrickColor.new("Cyan")
  3364. v.Material = "Neon"
  3365. end
  3366. end
  3367. for i, v in pairs(extrawingmod2:GetChildren()) do
  3368. if v:IsA("Part") then
  3369. v.Transparency = 1
  3370. v.BrickColor = BrickColor.new("Cyan")
  3371. v.Material = "Neon"
  3372. end
  3373. end
  3374. local MAINRUINCOLOR = BrickColor.new("Lapis")
  3375. ------
  3376.  
  3377.  
  3378. function RemoveOutlines(part)
  3379. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  3380. end
  3381. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  3382. local Part = Create("Part")({
  3383. Parent = Parent,
  3384. Reflectance = Reflectance,
  3385. Transparency = Transparency,
  3386. CanCollide = false,
  3387. Locked = true,
  3388. BrickColor = BrickColor.new(tostring(BColor)),
  3389. Name = Name,
  3390. Size = Size,
  3391. Material = Material
  3392. })
  3393. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  3394. RemoveOutlines(Part)
  3395. return Part
  3396. end
  3397. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  3398. local Msh = Create(Mesh)({
  3399. Parent = Part,
  3400. Offset = OffSet,
  3401. Scale = Scale
  3402. })
  3403. if Mesh == "SpecialMesh" then
  3404. Msh.MeshType = MeshType
  3405. Msh.MeshId = MeshId
  3406. end
  3407. return Msh
  3408. end
  3409. function CreateWeld(Parent, Part0, Part1, C0, C1)
  3410. local Weld = Create("Weld")({
  3411. Parent = Parent,
  3412. Part0 = Part0,
  3413. Part1 = Part1,
  3414. C0 = C0,
  3415. C1 = C1
  3416. })
  3417. return Weld
  3418. end
  3419.  
  3420. Player=game:GetService("Players").LocalPlayer
  3421. Character=Player.Character
  3422. PlayerGui=Player.PlayerGui
  3423. Backpack=Player.Backpack
  3424. Torso=Character.Torso
  3425. Head=Character.Head
  3426. Humanoid=Character.Humanoid
  3427. m=Instance.new('Model',Character)
  3428. LeftArm=Character["Left Arm"]
  3429. LeftLeg=Character["Left Leg"]
  3430. RightArm=Character["Right Arm"]
  3431. RightLeg=Character["Right Leg"]
  3432. LS=Torso["Left Shoulder"]
  3433. LH=Torso["Left Hip"]
  3434. RS=Torso["Right Shoulder"]
  3435. RH=Torso["Right Hip"]
  3436. Face = Head.face
  3437. Neck=Torso.Neck
  3438. it=Instance.new
  3439. attacktype=1
  3440. vt=Vector3.new
  3441. cf=CFrame.new
  3442. euler=CFrame.fromEulerAnglesXYZ
  3443. angles=CFrame.Angles
  3444. cloaked=false
  3445. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  3446. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  3447. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  3448. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  3449. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  3450. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  3451. RootPart=Character.HumanoidRootPart
  3452. RootJoint=RootPart.RootJoint
  3453. RootCF=euler(-1.57,0,3.14)
  3454. attack = false
  3455. attackdebounce = false
  3456. deb=false
  3457. equipped=true
  3458. hand=false
  3459. MMouse=nil
  3460. combo=0
  3461. mana=0
  3462. trispeed=.2
  3463. attackmode='none'
  3464. local idle=0
  3465. local Anim="Idle"
  3466. local Effects={}
  3467. local gun=false
  3468. local shoot=false
  3469. local sine = 0
  3470. local change = 1
  3471. player=nil
  3472.  
  3473.  
  3474. local toggleTag = true
  3475. local txt = Instance.new("BillboardGui", Head)
  3476. txt.Adornee = nil
  3477. txt.Name = "NameDetect"
  3478. txt.Size = UDim2.new(4, 0, 1.2, 0)
  3479. txt.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  3480. local text = Instance.new("TextLabel", txt)
  3481. text.Size = UDim2.new(10/2, 0, 7/2, 0)
  3482. text.FontSize = "Size8"
  3483. text.TextScaled = true
  3484. text.TextTransparency = 0
  3485. text.BackgroundTransparency = 1
  3486. text.TextTransparency = 0
  3487. text.TextStrokeTransparency = 0
  3488. text.Font = "Fantasy"
  3489. text.TextStrokeColor3 = Color3.new(0,0.2,1)
  3490. text.TextColor3 = Color3.new(0,0,0)
  3491. text.Text = " "
  3492.  
  3493. function RecolorTextAndRename(name,col1,col2)
  3494. text.TextStrokeColor3 = col2
  3495. text.TextColor3 = col1
  3496. text.Text = name
  3497. end
  3498. mouse=Player:GetMouse()
  3499. --save shoulders
  3500. RSH, LSH=nil, nil
  3501. --welds
  3502. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  3503. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  3504. LH=Torso["Left Hip"]
  3505. RH=Torso["Right Hip"]
  3506. TorsoColor=Torso.BrickColor
  3507. function NoOutline(Part)
  3508. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  3509. end
  3510. player=Player
  3511. ch=Character
  3512. RSH=ch.Torso["Right Shoulder"]
  3513. LSH=ch.Torso["Left Shoulder"]
  3514. --
  3515. RSH.Parent=nil
  3516. LSH.Parent=nil
  3517. --
  3518. RW.Name="Right Shoulder"
  3519. RW.Part0=ch.Torso
  3520. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  3521. RW.C1=cf(0, 0.5, 0)
  3522. RW.Part1=ch["Right Arm"]
  3523. RW.Parent=ch.Torso
  3524. --
  3525. LW.Name="Left Shoulder"
  3526. LW.Part0=ch.Torso
  3527. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  3528. LW.C1=cf(0, 0.5, 0)
  3529. LW.Part1=ch["Left Arm"]
  3530. LW.Parent=ch.Torso
  3531.  
  3532. local Stats=Instance.new("BoolValue")
  3533. Stats.Name="Stats"
  3534. Stats.Parent=Character
  3535. local Atk=Instance.new("NumberValue")
  3536. Atk.Name="Damage"
  3537. Atk.Parent=Stats
  3538. Atk.Value=1
  3539. local Def=Instance.new("NumberValue")
  3540. Def.Name="Defense"
  3541. Def.Parent=Stats
  3542. Def.Value=1
  3543. local Speed=Instance.new("NumberValue")
  3544. Speed.Name="Speed"
  3545. Speed.Parent=Stats
  3546. Speed.Value=1
  3547. local Mvmt=Instance.new("NumberValue")
  3548. Mvmt.Name="Movement"
  3549. Mvmt.Parent=Stats
  3550. Mvmt.Value=1
  3551.  
  3552. local donum=0
  3553.  
  3554.  
  3555. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  3556. local fp=it("Part")
  3557. fp.formFactor=formfactor
  3558. fp.Parent=parent
  3559. fp.Reflectance=reflectance
  3560. fp.Transparency=transparency
  3561. fp.CanCollide=false
  3562. fp.Locked=true
  3563. fp.BrickColor=brickcolor
  3564. fp.Name=name
  3565. fp.Size=size
  3566. fp.Position=Torso.Position
  3567. NoOutline(fp)
  3568. fp.Material="SmoothPlastic"
  3569. fp:BreakJoints()
  3570. return fp
  3571. end
  3572.  
  3573. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  3574. local mesh=it(Mesh)
  3575. mesh.Parent=part
  3576. if Mesh=="SpecialMesh" then
  3577. mesh.MeshType=meshtype
  3578. if meshid~="nil" then
  3579. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  3580. end
  3581. end
  3582. mesh.Offset=offset
  3583. mesh.Scale=scale
  3584. return mesh
  3585. end
  3586.  
  3587. function weld(parent,part0,part1,c0)
  3588. local weld=it("Weld")
  3589. weld.Parent=parent
  3590. weld.Part0=part0
  3591. weld.Part1=part1
  3592. weld.C0=c0
  3593. return weld
  3594. end
  3595.  
  3596. local Color1=Torso.BrickColor
  3597.  
  3598. local bodvel=Instance.new("BodyVelocity")
  3599. local bg=Instance.new("BodyGyro")
  3600.  
  3601. function swait(num)
  3602. if num==0 or num==nil then
  3603. game:service'RunService'.Stepped:wait(0)
  3604. else
  3605. for i=0,num do
  3606. game:service'RunService'.Stepped:wait(0)
  3607. end
  3608. end
  3609. end
  3610.  
  3611. -------- RAINBOW LEAVE IT TO ME
  3612. local r = 255
  3613. local g = 0
  3614. local b = 0
  3615. coroutine.resume(coroutine.create(function()
  3616. while wait() do
  3617. for i = 0, 254/5 do
  3618. swait()
  3619. g = g + 5
  3620. end
  3621. for i = 0, 254/5 do
  3622. swait()
  3623. r = r - 5
  3624. end
  3625. for i = 0, 254/5 do
  3626. swait()
  3627. b = b + 5
  3628. end
  3629. for i = 0, 254/5 do
  3630. swait()
  3631. g = g - 5
  3632. end
  3633. for i = 0, 254/5 do
  3634. swait()
  3635. r = r + 5
  3636. end
  3637. for i = 0, 254/5 do
  3638. swait()
  3639. b = b - 5
  3640. end
  3641. end
  3642. end))
  3643.  
  3644.  
  3645. so = function(id,par,vol,pit)
  3646. coroutine.resume(coroutine.create(function()
  3647. local sou = Instance.new("Sound",par or workspace)
  3648. sou.Volume=vol
  3649. sou.Pitch=pit or 1
  3650. sou.SoundId=id
  3651. swait()
  3652. sou:play()
  3653. game:GetService("Debris"):AddItem(sou,6)
  3654. end))
  3655. end
  3656.  
  3657. function clerp(a,b,t)
  3658. local qa = {QuaternionFromCFrame(a)}
  3659. local qb = {QuaternionFromCFrame(b)}
  3660. local ax, ay, az = a.x, a.y, a.z
  3661. local bx, by, bz = b.x, b.y, b.z
  3662. local _t = 1-t
  3663. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  3664. end
  3665.  
  3666. function QuaternionFromCFrame(cf)
  3667. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  3668. local trace = m00 + m11 + m22
  3669. if trace > 0 then
  3670. local s = math.sqrt(1 + trace)
  3671. local recip = 0.5/s
  3672. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  3673. else
  3674. local i = 0
  3675. if m11 > m00 then
  3676. i = 1
  3677. end
  3678. if m22 > (i == 0 and m00 or m11) then
  3679. i = 2
  3680. end
  3681. if i == 0 then
  3682. local s = math.sqrt(m00-m11-m22+1)
  3683. local recip = 0.5/s
  3684. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  3685. elseif i == 1 then
  3686. local s = math.sqrt(m11-m22-m00+1)
  3687. local recip = 0.5/s
  3688. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  3689. elseif i == 2 then
  3690. local s = math.sqrt(m22-m00-m11+1)
  3691. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  3692. end
  3693. end
  3694. end
  3695.  
  3696. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  3697. local xs, ys, zs = x + x, y + y, z + z
  3698. local wx, wy, wz = w*xs, w*ys, w*zs
  3699. local xx = x*xs
  3700. local xy = x*ys
  3701. local xz = x*zs
  3702. local yy = y*ys
  3703. local yz = y*zs
  3704. local zz = z*zs
  3705. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  3706. end
  3707.  
  3708. function QuaternionSlerp(a, b, t)
  3709. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  3710. local startInterp, finishInterp;
  3711. if cosTheta >= 0.0001 then
  3712. if (1 - cosTheta) > 0.0001 then
  3713. local theta = math.acos(cosTheta)
  3714. local invSinTheta = 1/math.sin(theta)
  3715. startInterp = math.sin((1-t)*theta)*invSinTheta
  3716. finishInterp = math.sin(t*theta)*invSinTheta
  3717. else
  3718. startInterp = 1-t
  3719. finishInterp = t
  3720. end
  3721. else
  3722. if (1+cosTheta) > 0.0001 then
  3723. local theta = math.acos(-cosTheta)
  3724. local invSinTheta = 1/math.sin(theta)
  3725. startInterp = math.sin((t-1)*theta)*invSinTheta
  3726. finishInterp = math.sin(t*theta)*invSinTheta
  3727. else
  3728. startInterp = t-1
  3729. finishInterp = t
  3730. end
  3731. end
  3732. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  3733. end
  3734.  
  3735. local function CFrameFromTopBack(at, top, back)
  3736. local right = top:Cross(back)
  3737. return CFrame.new(at.x, at.y, at.z,
  3738. right.x, top.x, back.x,
  3739. right.y, top.y, back.y,
  3740. right.z, top.z, back.z)
  3741. end
  3742.  
  3743. function Triangle(a, b, c)
  3744. local edg1 = (c-a):Dot((b-a).unit)
  3745. local edg2 = (a-b):Dot((c-b).unit)
  3746. local edg3 = (b-c):Dot((a-c).unit)
  3747. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  3748. a, b, c = a, b, c
  3749. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  3750. a, b, c = b, c, a
  3751. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  3752. a, b, c = c, a, b
  3753. else
  3754. assert(false, "unreachable")
  3755. end
  3756.  
  3757. local len1 = (c-a):Dot((b-a).unit)
  3758. local len2 = (b-a).magnitude - len1
  3759. local width = (a + (b-a).unit*len1 - c).magnitude
  3760.  
  3761. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  3762.  
  3763. local list = {}
  3764.  
  3765. if len1 > 0.01 then
  3766. local w1 = Instance.new('WedgePart', m)
  3767. game:GetService("Debris"):AddItem(w1,5)
  3768. w1.Material = "SmoothPlastic"
  3769. w1.FormFactor = 'Custom'
  3770. w1.BrickColor = BrickColor.new("Lapis")
  3771. w1.Transparency = 0
  3772. w1.Reflectance = 0
  3773. w1.Material = "SmoothPlastic"
  3774. w1.CanCollide = false
  3775. local l1 = Instance.new("PointLight",w1)
  3776. l1.Color = Color3.new(170,0,0)
  3777. NoOutline(w1)
  3778. local sz = Vector3.new(0.2, width, len1)
  3779. w1.Size = sz
  3780. local sp = Instance.new("SpecialMesh",w1)
  3781. sp.MeshType = "Wedge"
  3782. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  3783. w1:BreakJoints()
  3784. w1.Anchored = true
  3785. w1.Parent = workspace
  3786. w1.Transparency = 0.7
  3787. table.insert(Effects,{w1,"Disappear",.01})
  3788. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  3789. table.insert(list,w1)
  3790. end
  3791.  
  3792. if len2 > 0.01 then
  3793. local w2 = Instance.new('WedgePart', m)
  3794. game:GetService("Debris"):AddItem(w2,5)
  3795. w2.Material = "SmoothPlastic"
  3796. w2.FormFactor = 'Custom'
  3797. w2.BrickColor = BrickColor.new("Lapis")
  3798. w2.Transparency = 0
  3799. w2.Reflectance = 0
  3800. w2.Material = "SmoothPlastic"
  3801. w2.CanCollide = false
  3802. local l2 = Instance.new("PointLight",w2)
  3803. l2.Color = Color3.new(170,0,0)
  3804. NoOutline(w2)
  3805. local sz = Vector3.new(0.2, width, len2)
  3806. w2.Size = sz
  3807. local sp = Instance.new("SpecialMesh",w2)
  3808. sp.MeshType = "Wedge"
  3809. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  3810. w2:BreakJoints()
  3811. w2.Anchored = true
  3812. w2.Parent = workspace
  3813. w2.Transparency = 0.7
  3814. table.insert(Effects,{w2,"Disappear",.01})
  3815. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  3816. table.insert(list,w2)
  3817. end
  3818. return unpack(list)
  3819. end
  3820.  
  3821.  
  3822. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  3823. if hit.Parent == nil then
  3824. return
  3825. end
  3826. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  3827. for _, v in pairs(hit.Parent:children()) do
  3828. if v:IsA("Humanoid") then
  3829. h = v
  3830. end
  3831. end
  3832. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  3833. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  3834. return
  3835. end
  3836. local c = Create("ObjectValue")({
  3837. Name = "creator",
  3838. Value = game:service("Players").LocalPlayer,
  3839. Parent = h
  3840. })
  3841. game:GetService("Debris"):AddItem(c, 0.5)
  3842. if HitSound ~= nil and HitPitch ~= nil then
  3843. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  3844. end
  3845. local Damage = math.random(minim, maxim)
  3846. local blocked = false
  3847. local block = hit.Parent:findFirstChild("Block")
  3848. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  3849. blocked = true
  3850. block.Value = block.Value - 1
  3851. print(block.Value)
  3852. end
  3853. if blocked == false then
  3854. HitHealth = h.Health
  3855. h.Health = h.Health - Damage
  3856. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  3857. print("gained kill")
  3858. end
  3859. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  3860. else
  3861. h.Health = h.Health - Damage / 2
  3862. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  3863. end
  3864. if Type == "Knockdown" then
  3865. local hum = hit.Parent.Humanoid
  3866. hum.PlatformStand = true
  3867. coroutine.resume(coroutine.create(function(HHumanoid)
  3868. swait(1)
  3869. HHumanoid.PlatformStand = false
  3870. end), hum)
  3871. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  3872. local bodvol = Create("BodyVelocity")({
  3873. velocity = angle * knockback,
  3874. P = 5000,
  3875. maxForce = Vector3.new(8000, 8000, 8000),
  3876. Parent = hit
  3877. })
  3878. local rl = Create("BodyAngularVelocity")({
  3879. P = 3000,
  3880. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  3881. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  3882. Parent = hit
  3883. })
  3884. game:GetService("Debris"):AddItem(bodvol, 0.5)
  3885. game:GetService("Debris"):AddItem(rl, 0.5)
  3886. elseif Type == "Normal" then
  3887. local vp = Create("BodyVelocity")({
  3888. P = 500,
  3889. maxForce = Vector3.new(math.huge, 0, math.huge),
  3890. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  3891. })
  3892. if knockback > 0 then
  3893. vp.Parent = hit.Parent.Head
  3894. end
  3895. game:GetService("Debris"):AddItem(vp, 0.5)
  3896. elseif Type == "Up" then
  3897. local bodyVelocity = Create("BodyVelocity")({
  3898. velocity = Vector3.new(0, 20, 0),
  3899. P = 5000,
  3900. maxForce = Vector3.new(8000, 8000, 8000),
  3901. Parent = hit
  3902. })
  3903. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  3904. local bodyVelocity = Create("BodyVelocity")({
  3905. velocity = Vector3.new(0, 20, 0),
  3906. P = 5000,
  3907. maxForce = Vector3.new(8000, 8000, 8000),
  3908. Parent = hit
  3909. })
  3910. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  3911. elseif Type == "Leech" then
  3912. local hum = hit.Parent.Humanoid
  3913. if hum ~= nil then
  3914. for i = 0, 2 do
  3915. 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)
  3916. end
  3917. Humanoid.Health = Humanoid.Health + 10
  3918. end
  3919. elseif Type == "UpKnock" then
  3920. local hum = hit.Parent.Humanoid
  3921. hum.PlatformStand = true
  3922. if hum ~= nil then
  3923. hitr = true
  3924. end
  3925. coroutine.resume(coroutine.create(function(HHumanoid)
  3926. swait(5)
  3927. HHumanoid.PlatformStand = false
  3928. hitr = false
  3929. end), hum)
  3930. local bodyVelocity = Create("BodyVelocity")({
  3931. velocity = Vector3.new(0, 20, 0),
  3932. P = 5000,
  3933. maxForce = Vector3.new(8000, 8000, 8000),
  3934. Parent = hit
  3935. })
  3936. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  3937. local bodyVelocity = Create("BodyVelocity")({
  3938. velocity = Vector3.new(0, 20, 0),
  3939. P = 5000,
  3940. maxForce = Vector3.new(8000, 8000, 8000),
  3941. Parent = hit
  3942. })
  3943. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  3944. elseif Type == "Snare" then
  3945. local bp = Create("BodyPosition")({
  3946. P = 2000,
  3947. D = 100,
  3948. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3949. position = hit.Parent.Torso.Position,
  3950. Parent = hit.Parent.Torso
  3951. })
  3952. game:GetService("Debris"):AddItem(bp, 1)
  3953. elseif Type == "Slashnare" then
  3954. 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)
  3955. for i = 1, math.random(4, 5) do
  3956. 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)
  3957. end
  3958. local bp = Create("BodyPosition")({
  3959. P = 2000,
  3960. D = 100,
  3961. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3962. position = hit.Parent.Torso.Position,
  3963. Parent = hit.Parent.Torso
  3964. })
  3965. game:GetService("Debris"):AddItem(bp, 1)
  3966. elseif Type == "Spike" then
  3967. CreateBigIceSword(hit.Parent.Torso.CFrame)
  3968. local bp = Create("BodyPosition")({
  3969. P = 2000,
  3970. D = 100,
  3971. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3972. position = hit.Parent.Torso.Position,
  3973. Parent = hit.Parent.Torso
  3974. })
  3975. game:GetService("Debris"):AddItem(bp, 1)
  3976. elseif Type == "Freeze" then
  3977. local BodPos = Create("BodyPosition")({
  3978. P = 50000,
  3979. D = 1000,
  3980. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3981. position = hit.Parent.Torso.Position,
  3982. Parent = hit.Parent.Torso
  3983. })
  3984. local BodGy = Create("BodyGyro")({
  3985. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  3986. P = 20000,
  3987. Parent = hit.Parent.Torso,
  3988. cframe = hit.Parent.Torso.CFrame
  3989. })
  3990. hit.Parent.Torso.Anchored = true
  3991. coroutine.resume(coroutine.create(function(Part)
  3992. swait(1.5)
  3993. Part.Anchored = false
  3994. end), hit.Parent.Torso)
  3995. game:GetService("Debris"):AddItem(BodPos, 3)
  3996. game:GetService("Debris"):AddItem(BodGy, 3)
  3997. end
  3998. local debounce = Create("BoolValue")({
  3999. Name = "DebounceHit",
  4000. Parent = hit.Parent,
  4001. Value = true
  4002. })
  4003. game:GetService("Debris"):AddItem(debounce, Delay)
  4004. c = Instance.new("ObjectValue")
  4005. c.Name = "creator"
  4006. c.Value = Player
  4007. c.Parent = h
  4008. game:GetService("Debris"):AddItem(c, 0.5)
  4009. end
  4010. end
  4011. function ShowDamage(Pos, Text, Time, Color)
  4012. local Rate = 0.03333333333333333
  4013. local Pos = Pos or Vector3.new(0, 0, 0)
  4014. local Text = Text or ""
  4015. local Time = Time or 2
  4016. local Color = Color or Color3.new(1, 0, 1)
  4017. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  4018. EffectPart.Anchored = true
  4019. local BillboardGui = Create("BillboardGui")({
  4020. Size = UDim2.new(3, 0, 3, 0),
  4021. Adornee = EffectPart,
  4022. Parent = EffectPart
  4023. })
  4024. local TextLabel = Create("TextLabel")({
  4025. BackgroundTransparency = 1,
  4026. Size = UDim2.new(1, 0, 1, 0),
  4027. Text = Text,
  4028. TextColor3 = Color,
  4029. TextScaled = true,
  4030. Font = Enum.Font.ArialBold,
  4031. Parent = BillboardGui
  4032. })
  4033. game.Debris:AddItem(EffectPart, Time + 0.1)
  4034. EffectPart.Parent = game:GetService("Workspace")
  4035. delay(0, function()
  4036. local Frames = Time / Rate
  4037. for Frame = 1, Frames do
  4038. wait(Rate)
  4039. local Percent = Frame / Frames
  4040. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  4041. TextLabel.TextTransparency = Percent
  4042. end
  4043. if EffectPart and EffectPart.Parent then
  4044. EffectPart:Destroy()
  4045. end
  4046. end)
  4047. end
  4048. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  4049. for _, c in pairs(workspace:children()) do
  4050. local hum = c:findFirstChildOfClass("Humanoid")
  4051. if hum ~= nil then
  4052. local head = c:findFirstChild("Head")
  4053. if head ~= nil then
  4054. local targ = head.Position - Part.Position
  4055. local mag = targ.magnitude
  4056. if magni >= mag and c.Name ~= Player.Name then
  4057. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  4058. end
  4059. end
  4060. end
  4061. end
  4062. end
  4063.  
  4064. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  4065. for _, c in pairs(workspace:children()) do
  4066. local hum = c:findFirstChild("Humanoid")
  4067. if hum ~= nil then
  4068. local head = c:findFirstChild("Torso")
  4069. if head ~= nil then
  4070. local targ = head.Position - Part.Position
  4071. local mag = targ.magnitude
  4072. if magni >= mag and c.Name ~= Player.Name then
  4073. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  4074. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  4075. end
  4076. end
  4077. end
  4078. end
  4079. end
  4080.  
  4081. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  4082. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  4083. end
  4084.  
  4085. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  4086. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4087. prt.Anchored=true
  4088. prt.CFrame=cframe
  4089. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  4090. --http://www.roblox.com/asset/?id=4770560
  4091. game:GetService("Debris"):AddItem(prt,2)
  4092. CF=prt.CFrame
  4093. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  4094. for i=0,1,0.2 do
  4095. wait()
  4096. Part.CFrame=CF*cf(0,0,-0.4)
  4097. end
  4098. for i=0,1,delay do
  4099. wait()
  4100. --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)
  4101. Mesh.Scale=Mesh.Scale
  4102. end
  4103. for i=0,1,0.1 do
  4104. wait()
  4105. Part.Transparency=i
  4106. end
  4107. Part.Parent=nil
  4108. end),prt,msh,CF)
  4109. end
  4110.  
  4111. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4112. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4113. prt.Anchored=true
  4114. prt.Material = "Neon"
  4115. prt.CFrame=cframe
  4116. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4117. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4118. game:GetService("Debris"):AddItem(prt,5)
  4119. coroutine.resume(coroutine.create(function(Part,Mesh)
  4120. for i=0,1,delay do
  4121. swait()
  4122. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4123. Part.Transparency=i
  4124. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4125. end
  4126. Part.Parent=nil
  4127. end),prt,msh)
  4128. end
  4129.  
  4130. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  4131. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4132. prt.Anchored=true
  4133. prt.Material = "Neon"
  4134. prt.CFrame=cframe
  4135. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4136. game:GetService("Debris"):AddItem(prt,5)
  4137. coroutine.resume(coroutine.create(function(Part,Mesh)
  4138. local rtype = rottype
  4139. for i=0,1,delay do
  4140. swait()
  4141. if rtype == 1 then
  4142. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  4143. elseif rtype == 2 then
  4144. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  4145. end
  4146. Part.Transparency=i
  4147. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4148. end
  4149. Part.Parent=nil
  4150. end),prt,msh)
  4151. end
  4152.  
  4153. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4154. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4155. prt.Anchored=true
  4156. prt.CFrame=cframe
  4157. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4158. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  4159. game:GetService("Debris"):AddItem(prt,5)
  4160. coroutine.resume(coroutine.create(function(Part,Mesh)
  4161. for i=0,1,delay do
  4162. wait()
  4163. Part.Transparency=i
  4164. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4165. end
  4166. Part.Parent=nil
  4167. end),prt,msh)
  4168. end
  4169.  
  4170. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  4171. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4172. prt.Anchored=true
  4173. prt.Material = "Neon"
  4174. prt.CFrame=cframe
  4175. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4176. game:GetService("Debris"):AddItem(prt,5)
  4177. coroutine.resume(coroutine.create(function(Part,Mesh)
  4178. local rtype = rottype
  4179. for i=0,1,delay do
  4180. swait()
  4181. if rtype == 1 then
  4182. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  4183. elseif rtype == 2 then
  4184. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  4185. end
  4186. Part.Transparency=i
  4187. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4188. end
  4189. Part.Parent=nil
  4190. end),prt,msh)
  4191. end
  4192.  
  4193. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  4194. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4195. prt.Anchored=true
  4196. prt.Material = "Neon"
  4197. prt.CFrame=cframe
  4198. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  4199. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  4200. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  4201. game:GetService("Debris"):AddItem(prt,5)
  4202. coroutine.resume(coroutine.create(function(Part,Mesh)
  4203. local rtype = rottype
  4204. for i=0,1,delay do
  4205. swait()
  4206. if rtype == 1 then
  4207. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  4208. elseif rtype == 2 then
  4209. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  4210. end
  4211. dec.Transparency=i
  4212. dec2.Transparency=i
  4213. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  4214. end
  4215. Part.Parent=nil
  4216. end),prt,msh)
  4217. end
  4218.  
  4219. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  4220. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4221. prt.Anchored=true
  4222. prt.Material = "Neon"
  4223. prt.CFrame=cframe
  4224. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  4225. game:GetService("Debris"):AddItem(prt,5)
  4226. coroutine.resume(coroutine.create(function(Part,Mesh)
  4227. local rtype = rottype
  4228. for i=0,1,delay do
  4229. swait()
  4230. if rtype == 1 then
  4231. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  4232. elseif rtype == 2 then
  4233. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  4234. end
  4235. prt.Transparency=i
  4236. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  4237. end
  4238. Part.Parent=nil
  4239. end),prt,msh)
  4240. end
  4241.  
  4242. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  4243. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4244. prt.Anchored=true
  4245. prt.Material = "Neon"
  4246. prt.CFrame=cframe
  4247. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  4248. game:GetService("Debris"):AddItem(prt,5)
  4249. coroutine.resume(coroutine.create(function(Part,Mesh)
  4250. local rtype = rottype
  4251. for i=0,1,delay do
  4252. swait()
  4253. if rtype == 1 then
  4254. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  4255. elseif rtype == 2 then
  4256. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  4257. end
  4258. prt.Transparency=i
  4259. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  4260. end
  4261. Part.Parent=nil
  4262. end),prt,msh)
  4263. end
  4264.  
  4265. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  4266. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4267. prt.Anchored=true
  4268. prt.Material = "Neon"
  4269. prt.CFrame=cframe
  4270. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4271. game:GetService("Debris"):AddItem(prt,5)
  4272. coroutine.resume(coroutine.create(function(Part,Mesh)
  4273. local rtype = rottype
  4274. for i=0,1,delay do
  4275. swait()
  4276. if rtype == 1 then
  4277. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  4278. elseif rtype == 2 then
  4279. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  4280. end
  4281. prt.Transparency=i
  4282. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  4283. end
  4284. Part.Parent=nil
  4285. end),prt,msh)
  4286. end
  4287.  
  4288. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  4289. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4290. prt.Anchored=true
  4291. prt.Material = "Neon"
  4292. prt.CFrame=cframe
  4293. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4294. game:GetService("Debris"):AddItem(prt,5)
  4295. coroutine.resume(coroutine.create(function(Part,Mesh)
  4296. local rtype = rottype
  4297. for i=0,1,delay do
  4298. swait()
  4299. if rtype == 1 then
  4300. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  4301. elseif rtype == 2 then
  4302. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  4303. end
  4304. prt.Transparency=i
  4305. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4306. end
  4307. Part.Parent=nil
  4308. end),prt,msh)
  4309. end
  4310.  
  4311. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  4312. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4313. prt.Anchored=false
  4314. prt.CFrame=cframe
  4315. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4316. local wld=weld(prt,prt,Parent,cframe)
  4317. game:GetService("Debris"):AddItem(prt,5)
  4318. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  4319. for i=0,1,delay do
  4320. wait()
  4321. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  4322. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4323. Part.Transparency=i
  4324. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4325. end
  4326. Part.Parent=nil
  4327. end),prt,msh,wld)
  4328. end
  4329.  
  4330. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  4331. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4332. prt.Anchored=false
  4333. prt.CFrame=cframe
  4334. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4335. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  4336. game:GetService("Debris"):AddItem(prt,5)
  4337. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  4338. for i=0,1,delay do
  4339. wait()
  4340. Weld.C0=euler(i*20,0,0)
  4341. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4342. Part.Transparency=i
  4343. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4344. end
  4345. Part.Parent=nil
  4346. end),prt,msh,wld)
  4347. end
  4348.  
  4349. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4350. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4351. prt.Anchored=true
  4352. prt.CFrame=cframe
  4353. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4354. game:GetService("Debris"):AddItem(prt,2)
  4355. coroutine.resume(coroutine.create(function(Part,Mesh)
  4356. for i=0,1,delay do
  4357. wait()
  4358. Part.CFrame=Part.CFrame
  4359. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4360. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4361. prt2.Anchored=true
  4362. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4363. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  4364. game:GetService("Debris"):AddItem(prt2,2)
  4365. coroutine.resume(coroutine.create(function(Part,Mesh)
  4366. for i=0,1,0.1 do
  4367. wait()
  4368. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  4369. end
  4370. Part.Parent=nil
  4371. end),prt2,msh2)
  4372. end
  4373. for i=0,1,delay*2 do
  4374. wait()
  4375. Part.CFrame=Part.CFrame
  4376. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  4377. end
  4378. Part.Parent=nil
  4379. end),prt,msh)
  4380. end
  4381.  
  4382. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4383. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4384. prt.Anchored=true
  4385. prt.CFrame=cframe
  4386. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  4387. game:GetService("Debris"):AddItem(prt,2)
  4388. coroutine.resume(coroutine.create(function(Part,Mesh)
  4389. for i=0,1,delay do
  4390. wait()
  4391. Part.CFrame=Part.CFrame
  4392. Part.Transparency=i
  4393. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4394. end
  4395. Part.Parent=nil
  4396. end),prt,msh)
  4397. end
  4398.  
  4399. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  4400. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4401. prt.Anchored=true
  4402. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4403. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  4404. game:GetService("Debris"):AddItem(prt,2)
  4405. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  4406. CF=Part.CFrame
  4407. Numbb=0
  4408. randnumb=math.random()/10
  4409. rand1=math.random()/10
  4410. for i=0,1,rand1 do
  4411. wait()
  4412. CF=CF*cf(0,math.random()/2,0)
  4413. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  4414. Part.CFrame=CF*euler(Numbb,0,0)
  4415. Part.Transparency=i
  4416. Numbb=Numbb+randnumb
  4417. end
  4418. Part.Parent=nil
  4419. end),prt,CF,Numbb,randnumb)
  4420. end
  4421.  
  4422. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4423. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4424. prt.Anchored=true
  4425. prt.CFrame=cframe
  4426. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  4427. game:GetService("Debris"):AddItem(prt,5)
  4428. coroutine.resume(coroutine.create(function(Part,Mesh)
  4429. for i=0,1,delay do
  4430. wait()
  4431. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  4432. Part.Transparency=i
  4433. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4434. end
  4435. Part.Parent=nil
  4436. end),prt,msh)
  4437. end
  4438.  
  4439. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4440. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4441. prt.Anchored=true
  4442. prt.CFrame=cframe
  4443. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  4444. game:GetService("Debris"):AddItem(prt,2)
  4445. coroutine.resume(coroutine.create(function(Part,Mesh)
  4446. for i=0,1,delay do
  4447. wait()
  4448. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  4449. Part.Transparency=i
  4450. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4451. end
  4452. Part.Parent=nil
  4453. end),prt,msh)
  4454. end
  4455.  
  4456. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  4457. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4458. prt.Anchored=true
  4459. prt.CFrame=cframe*cf(x,y,z)
  4460. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  4461. game:GetService("Debris"):AddItem(prt,5)
  4462. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  4463. local num=math.random()
  4464. local num2=math.random(-3,2)+math.random()
  4465. local numm=0
  4466. for i=0,1,delay*2 do
  4467. swait()
  4468. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  4469. Part.Transparency=i
  4470. numm=numm+0.01
  4471. end
  4472. Part.Parent=nil
  4473. Mesh.Parent=nil
  4474. end),prt,msh,x,y,z)
  4475. end
  4476.  
  4477. function dmgstart(dmg,what)
  4478. hitcon = what.Touched:connect(function(hit)
  4479. local hum = hit.Parent:FindFirstChild("Humanoid")
  4480. if hum and not hum:IsDescendantOf(Character) then
  4481. hum:TakeDamage(dmg)
  4482. end
  4483. end)
  4484. end
  4485.  
  4486. function dmgstop()
  4487. hitcon:disconnect()
  4488. end
  4489.  
  4490. function Cloak()
  4491. Face.Parent=nil
  4492. cloaked=true
  4493. for _,v in pairs(Torso.Parent:children()) do
  4494. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  4495. coroutine.resume(coroutine.create(function()
  4496. for i=0,1,0.2 do
  4497. wait()
  4498. v.Transparency=i
  4499. end
  4500. v.Transparency=1
  4501. end))
  4502. end
  4503. if v.className=="Hat" then
  4504. hatp=v.Handle
  4505. coroutine.resume(coroutine.create(function(derp)
  4506. for i=0,1,0.2 do
  4507. wait()
  4508. derp.Transparency=i
  4509. end
  4510. derp.Transparency=1
  4511. end),hatp)
  4512. end
  4513. end
  4514. for _,v in pairs(m:children()) do
  4515. if v.className=="Part" then
  4516. coroutine.resume(coroutine.create(function()
  4517. for i=0,1,0.2 do
  4518. wait()
  4519. v.Transparency=i
  4520. end
  4521. v.Transparency=1
  4522. end))
  4523. end
  4524. end
  4525. end
  4526.  
  4527. function UnCloak()
  4528. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  4529. Face.Parent=Head
  4530. cloaked=false
  4531. for _,v in pairs(Torso.Parent:children()) do
  4532. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  4533. coroutine.resume(coroutine.create(function()
  4534. for i=0,1,0.1 do
  4535. wait()
  4536. v.Transparency=v.Transparency-0.1
  4537. end
  4538. v.Transparency=0
  4539. end))
  4540. end
  4541. if v.className=="Hat" then
  4542. hatp=v.Handle
  4543. coroutine.resume(coroutine.create(function(derp)
  4544. for i=0,1,0.1 do
  4545. wait()
  4546. derp.Transparency=derp.Transparency-0.1
  4547. end
  4548. derp.Transparency=0
  4549. end),hatp)
  4550. end
  4551. end
  4552. for _,v in pairs(m:children()) do
  4553. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  4554. coroutine.resume(coroutine.create(function()
  4555. for i=0,1,0.1 do
  4556. wait()
  4557. v.Transparency=v.Transparency-0.1
  4558. end
  4559. v.Transparency=0
  4560. end))
  4561. v.Transparency=0
  4562. end
  4563. end
  4564. end
  4565.  
  4566. local origcolor = BrickColor.new("Pastel light blue")
  4567. ---- This section of explosions.
  4568. function Explode(rad,par,pitch,vol,mindam,maxdam)
  4569. local expart = Instance.new("Part",char)
  4570. local expart2 = Instance.new("Part",char)
  4571. local rin = Instance.new("Part",char)
  4572. local rin2 = Instance.new("Part",char)
  4573. local partMesh = Instance.new("SpecialMesh",expart)
  4574. partMesh.MeshType = "Sphere"
  4575. local partMesh2 = Instance.new("SpecialMesh",expart2)
  4576. partMesh2.MeshType = "Sphere"
  4577. local partMesh3 = Instance.new("SpecialMesh",rin)
  4578. partMesh3.MeshType = "Brick"
  4579. local partMesh4 = Instance.new("SpecialMesh",rin2)
  4580. partMesh4.MeshType = "Brick"
  4581. CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
  4582. partMesh.Scale = vt(rad,rad,rad)
  4583. expart.Size = vt(1,1,1)
  4584. expart.Transparency = 0
  4585. expart.Anchored = true
  4586. expart.Material = "Neon"
  4587. expart.BrickColor = bc("Cyan")
  4588. expart.CFrame = par.CFrame
  4589. partMesh2.Scale = vt(rad,rad,rad)
  4590. expart2.Size = vt(1.15,1.15,1.15)
  4591. expart2.Transparency = 0.5
  4592. expart2.Anchored = true
  4593. expart2.Material = "Neon"
  4594. expart2.BrickColor = par.BrickColor
  4595. expart2.CFrame = par.CFrame
  4596. rin.Size = vt(1.15,1.15,1.15)
  4597. rin.Transparency = 1
  4598. rin.Anchored = true
  4599. rin.Material = "Neon"
  4600. rin.BrickColor = par.BrickColor
  4601. rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4602. rin2.Size = vt(1.15,1.15,1.15)
  4603. rin2.Transparency = 1
  4604. rin2.Anchored = true
  4605. rin2.Material = "Neon"
  4606. rin2.BrickColor = par.BrickColor
  4607. rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4608. partMesh3.Scale = vt(0,1,0)
  4609. partMesh4.Scale = vt(0,1,0)
  4610. local dec2 = Instance.new("Decal", rin)
  4611. dec2.Face = "Top"
  4612. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  4613. dec2.Parent = rin
  4614. local dec2b = dec2:Clone()
  4615. dec2b.Face = "Bottom"
  4616. dec2b.Parent = rin
  4617.  
  4618. local dec2a = Instance.new("Decal", rin2)
  4619. dec2a.Face = "Top"
  4620. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  4621. dec2a.Parent = rin2
  4622. local dec2ab = dec2a:Clone()
  4623. dec2ab.Face = "Bottom"
  4624. dec2ab.Parent = rin2
  4625. expart.CanCollide = false
  4626. expart2.CanCollide = false
  4627. rin.CanCollide = false
  4628. rin2.CanCollide = false
  4629. MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal")
  4630. local value = 1*rad/6.5
  4631. for i = 0, 199 do
  4632. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  4633. expart.CFrame = expart.CFrame
  4634. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  4635. expart2.CFrame = expart.CFrame
  4636. value = value - 0.035*rad/30
  4637. if value < 7.5 then
  4638. partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
  4639. rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0)
  4640. partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
  4641. rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0)
  4642. end
  4643. if value < 0 then
  4644. dec2.Transparency = dec2.Transparency + 0.025
  4645. dec2a.Transparency = dec2a.Transparency + 0.025
  4646. dec2b.Transparency = dec2b.Transparency + 0.025
  4647. dec2ab.Transparency = dec2ab.Transparency + 0.025
  4648. expart.Transparency = expart.Transparency + 0.025
  4649. expart2.Transparency = expart2.Transparency + 0.025
  4650. rin.Transparency = rin.Transparency + 0.025
  4651. rin2.Transparency = rin2.Transparency + 0.025
  4652. end
  4653. swait()
  4654. end
  4655. game:GetService("Debris"):AddItem(expart, 1)
  4656. game:GetService("Debris"):AddItem(expart2, 1)
  4657. game:GetService("Debris"):AddItem(rin, 1)
  4658. game:GetService("Debris"):AddItem(rin2, 1)
  4659. end
  4660.  
  4661. function ExplodeShort(rad,par,pitch,vol,mindam,maxdam)
  4662. local expart = Instance.new("Part",char)
  4663. local expart2 = Instance.new("Part",char)
  4664. local partMesh = Instance.new("SpecialMesh",expart)
  4665. partMesh.MeshType = "Sphere"
  4666. local partMesh2 = Instance.new("SpecialMesh",expart2)
  4667. partMesh2.MeshType = "Sphere"
  4668. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
  4669. partMesh.Scale = vt(rad,rad,rad)
  4670. expart.Size = vt(1,1,1)
  4671. expart.Transparency = 0
  4672. expart.Anchored = true
  4673. expart.Material = "Neon"
  4674. expart.BrickColor = bc("Cyan")
  4675. expart.CFrame = par.CFrame
  4676. partMesh2.Scale = vt(rad,rad,rad)
  4677. expart2.Size = vt(1.15,1.15,1.15)
  4678. expart2.Transparency = 0.5
  4679. expart2.Anchored = true
  4680. expart2.Material = "Neon"
  4681. expart2.BrickColor = par.BrickColor
  4682. expart2.CFrame = par.CFrame
  4683. expart.CanCollide = false
  4684. expart2.CanCollide = false
  4685. MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal")
  4686. local value = 1*rad/6.5
  4687. for i = 0, 75 do
  4688. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  4689. expart.CFrame = expart.CFrame
  4690. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  4691. expart2.CFrame = expart.CFrame
  4692. value = value - 0.035*rad/5
  4693. if value < 0 then
  4694. value = 0
  4695. expart.Transparency = expart.Transparency + 0.05
  4696. expart2.Transparency = expart2.Transparency + 0.05
  4697. end
  4698. swait()
  4699. end
  4700. game:GetService("Debris"):AddItem(expart, 1)
  4701. game:GetService("Debris"):AddItem(expart2, 1)
  4702. end
  4703.  
  4704. function AreaDanger(rad,par,mindam,maxdam)
  4705. local expart = Instance.new("Part",char)
  4706. local partMesh = Instance.new("SpecialMesh",expart)
  4707. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  4708. partMesh.MeshType = "Sphere"
  4709. partMesh.Scale = vt(rad,rad,rad)
  4710. expart.Size = vt(1,1,1)
  4711. expart.Transparency = 0.5
  4712. expart.Anchored = true
  4713. expart.Material = "Neon"
  4714. expart.CanCollide = false
  4715. expart.BrickColor = par.BrickColor
  4716. expart.CFrame = par.CFrame
  4717. local value = 1*rad/5
  4718. MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1)
  4719. for i = 0, 14 do
  4720. wait()
  4721. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  4722. expart.CFrame = expart.CFrame
  4723. value = value - 0.035*rad
  4724. if value < 0 then
  4725. value = 0
  4726. end
  4727. end
  4728. wait(0.25)
  4729. CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
  4730. wait(0.5)
  4731. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
  4732. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
  4733. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  4734. MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025)
  4735. for i = 0, 14 do
  4736. wait()
  4737. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  4738. expart.CFrame = expart.CFrame
  4739. value = value - 0.035*rad/2
  4740. end
  4741. expart.Transparency = 1
  4742. game:GetService("Debris"):AddItem(expart, 5)
  4743. end
  4744.  
  4745. function Swarmsplosions(negrad,rad,par,mindam,maxdam)
  4746. CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
  4747. CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
  4748. CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
  4749. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  4750. MagniDamageWithEffect(par, 25, 5,10, 0, "Normal")
  4751. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025)
  4752. for i = 0, 24 do
  4753. 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))
  4754. end
  4755. for i = 0, 24 do
  4756. local expart = Instance.new("Part",char)
  4757. expart.Transparency = 1
  4758. expart.Anchored = true
  4759. expart.CanCollide = false
  4760. expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad))
  4761. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
  4762. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  4763. MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal")
  4764. MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025)
  4765. for i = 0, 9 do
  4766. 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))
  4767. end
  4768. game:GetService("Debris"):AddItem(expart, 2)
  4769. wait(0.1)
  4770. end
  4771. end
  4772.  
  4773. function EXterPlosion(par)
  4774. CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
  4775. CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
  4776. CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
  4777. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  4778. MagniDamageWithEffect(par, 500, 80,99, 0, "Normal")
  4779. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005)
  4780. MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1)
  4781. for i = 0, 24 do
  4782. 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))
  4783. end
  4784. for i = 0, 24 do
  4785. 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))
  4786. end
  4787. end
  4788. ----
  4789.  
  4790.  
  4791. function ring(type,pos,scale,value)
  4792. local type = type
  4793. local rng = Instance.new("Part", char)
  4794. rng.Anchored = true
  4795. rng.BrickColor = origcolor
  4796. rng.CanCollide = false
  4797. rng.FormFactor = 3
  4798. rng.Name = "Ring"
  4799. rng.Size = Vector3.new(1, 1, 1)
  4800. rng.Transparency = 0
  4801. rng.TopSurface = 0
  4802. rng.BottomSurface = 0
  4803. rng.CFrame = pos
  4804. local rngm = Instance.new("SpecialMesh", rng)
  4805. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4806. rngm.Scale = scale
  4807. local scaler2 = 1
  4808. if type == "Add" then
  4809. scaler2 = 1*value
  4810. elseif type == "Divide" then
  4811. scaler2 = 1/value
  4812. end
  4813. coroutine.resume(coroutine.create(function()
  4814. for i = 0,10,0.1 do
  4815. swait()
  4816. if type == "Add" then
  4817. scaler2 = scaler2 - 0.01*value
  4818. elseif type == "Divide" then
  4819. scaler2 = scaler2 - 0.01/value
  4820. end
  4821. rng.Transparency = rng.Transparency + 0.01
  4822. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  4823. end
  4824. rng:Destroy()
  4825. end))
  4826. end
  4827.  
  4828.  
  4829. function wave(type,pos,scale,value)
  4830. local type = type
  4831. local rng = Instance.new("Part", char)
  4832. rng.Anchored = true
  4833. rng.BrickColor = origcolor
  4834. rng.CanCollide = false
  4835. rng.FormFactor = 3
  4836. rng.Name = "Ring"
  4837. rng.Size = Vector3.new(1, 1, 1)
  4838. rng.Transparency = 0
  4839. rng.TopSurface = 0
  4840. rng.BottomSurface = 0
  4841. rng.CFrame = pos
  4842. local rngm = Instance.new("SpecialMesh", rng)
  4843. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  4844. rngm.Scale = scale
  4845. local scaler2 = 1
  4846. if type == "Add" then
  4847. scaler2 = 1*value
  4848. elseif type == "Divide" then
  4849. scaler2 = 1/value
  4850. end
  4851. coroutine.resume(coroutine.create(function()
  4852. for i = 0,10,0.1 do
  4853. swait()
  4854. if type == "Add" then
  4855. scaler2 = scaler2 - 0.01*value
  4856. elseif type == "Divide" then
  4857. scaler2 = scaler2 - 0.01/value
  4858. end
  4859. rng.Transparency = rng.Transparency + 0.01
  4860. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  4861. end
  4862. rng:Destroy()
  4863. end))
  4864. end
  4865.  
  4866. function wind(type,pos,scale,value,speed)
  4867. local type = type
  4868. local rng = Instance.new("Part", char)
  4869. rng.Anchored = true
  4870. rng.BrickColor = origcolor
  4871. rng.CanCollide = false
  4872. rng.FormFactor = 3
  4873. rng.Name = "Ring"
  4874. rng.Size = Vector3.new(1, 1, 1)
  4875. rng.Transparency = 0
  4876. rng.TopSurface = 0
  4877. rng.BottomSurface = 0
  4878. rng.CFrame = pos
  4879. local rngm = Instance.new("SpecialMesh", rng)
  4880. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  4881. rngm.Scale = scale
  4882. local scaler2 = 1
  4883. if type == "Add" then
  4884. scaler2 = 1*value
  4885. elseif type == "Divide" then
  4886. scaler2 = 1/value
  4887. end
  4888. coroutine.resume(coroutine.create(function()
  4889. for i = 0,10,0.1 do
  4890. swait()
  4891. if type == "Add" then
  4892. scaler2 = scaler2 - 0.01*value
  4893. elseif type == "Divide" then
  4894. scaler2 = scaler2 - 0.01/value
  4895. end
  4896. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  4897. rng.Transparency = rng.Transparency + 0.01
  4898. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  4899. end
  4900. rng:Destroy()
  4901. end))
  4902. end
  4903.  
  4904. function groundwind(type,pos,scale,value,speed)
  4905. local type = type
  4906. local rng = Instance.new("Part", char)
  4907. rng.Anchored = true
  4908. rng.BrickColor = origcolor
  4909. rng.CanCollide = false
  4910. rng.FormFactor = 3
  4911. rng.Name = "Ring"
  4912. rng.Size = Vector3.new(1, 1, 1)
  4913. rng.Transparency = 0
  4914. rng.TopSurface = 0
  4915. rng.BottomSurface = 0
  4916. rng.CFrame = pos
  4917. local rngm = Instance.new("SpecialMesh", rng)
  4918. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  4919. rngm.Scale = scale
  4920. local scaler2 = 1
  4921. if type == "Add" then
  4922. scaler2 = 1*value
  4923. elseif type == "Divide" then
  4924. scaler2 = 1/value
  4925. end
  4926. coroutine.resume(coroutine.create(function()
  4927. for i = 0,10,0.1 do
  4928. swait()
  4929. if type == "Add" then
  4930. scaler2 = scaler2 - 0.01*value
  4931. elseif type == "Divide" then
  4932. scaler2 = scaler2 - 0.01/value
  4933. end
  4934. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  4935. rng.Transparency = rng.Transparency + 0.01
  4936. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  4937. end
  4938. rng:Destroy()
  4939. end))
  4940. end
  4941.  
  4942. function CameraManager()
  4943. if TwoD and not CamInterrupt then
  4944. if Humanoid.Health > 0 then
  4945. Camera.CameraSubject = Humanoid
  4946. Camera.CameraType = "Scriptable"
  4947. Humanoid.AutoRotate = false
  4948. if Booleans.GyroUse then
  4949. Directer.MaxTorque = Vec3(0, huge, 0)
  4950. else
  4951. Directer.MaxTorque = Vec3(0, 0, 0)
  4952. end
  4953. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  4954. if Booleans.CamFollow then
  4955. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  4956. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  4957. else
  4958. CPart.Position = RootPart.Position
  4959. end
  4960. else
  4961. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  4962. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  4963. end
  4964. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  4965. else
  4966. Camera.CameraSubject = Humanoid
  4967. Camera.CameraType = "Custom"
  4968. Controller.Disabled = false
  4969. end
  4970. end
  4971. end
  4972.  
  4973. function sphere(bonuspeed,type,pos,scale,value,color)
  4974. local type = type
  4975. local rng = Instance.new("Part", workspace)
  4976. rng.Anchored = true
  4977. rng.BrickColor = color
  4978. rng.CanCollide = false
  4979. rng.FormFactor = 3
  4980. rng.Name = "Ring"
  4981. rng.Material = "Neon"
  4982. rng.Size = Vector3.new(1, 1, 1)
  4983. rng.Transparency = 0
  4984. rng.TopSurface = 0
  4985. rng.BottomSurface = 0
  4986. rng.CFrame = pos
  4987. local rngm = Instance.new("SpecialMesh", rng)
  4988. rngm.MeshType = "Sphere"
  4989. rngm.Scale = scale
  4990. if rainbowmode == true then
  4991. rng.Color = Color3.new(r/255,g/255,b/255)
  4992. end
  4993. local scaler2 = 1
  4994. if type == "Add" then
  4995. scaler2 = 1*value
  4996. elseif type == "Divide" then
  4997. scaler2 = 1/value
  4998. end
  4999. coroutine.resume(coroutine.create(function()
  5000. for i = 0,10/bonuspeed,0.1 do
  5001. swait()
  5002. if rainbowmode == true then
  5003. rng.Color = Color3.new(r/255,g/255,b/255)
  5004. end
  5005. if type == "Add" then
  5006. scaler2 = scaler2 - 0.01*value/bonuspeed
  5007. elseif type == "Divide" then
  5008. scaler2 = scaler2 - 0.01/value*bonuspeed
  5009. end
  5010. if chaosmode == true then
  5011. rng.BrickColor = BrickColor.new("Lapis")
  5012. end
  5013. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  5014. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  5015. end
  5016. rng:Destroy()
  5017. end))
  5018. end
  5019.  
  5020. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  5021. local type = type
  5022. local rng = Instance.new("Part", char)
  5023. rng.Anchored = true
  5024. rng.BrickColor = color
  5025. rng.CanCollide = false
  5026. rng.FormFactor = 3
  5027. rng.Name = "Ring"
  5028. rng.Material = "Neon"
  5029. rng.Size = Vector3.new(1, 1, 1)
  5030. rng.Transparency = 0
  5031. rng.TopSurface = 0
  5032. rng.BottomSurface = 0
  5033. rng.CFrame = pos
  5034. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  5035. local rngm = Instance.new("SpecialMesh", rng)
  5036. rngm.MeshType = "Brick"
  5037. rngm.Scale = vt(x1,y1,z1)
  5038. if rainbowmode == true then
  5039. rng.Color = Color3.new(r/255,g/255,b/255)
  5040. end
  5041. local scaler2 = 1
  5042. local speeder = FastSpeed/10
  5043. if type == "Add" then
  5044. scaler2 = 1*value
  5045. elseif type == "Divide" then
  5046. scaler2 = 1/value
  5047. end
  5048. coroutine.resume(coroutine.create(function()
  5049. for i = 0,10/bonuspeed,0.1 do
  5050. swait()
  5051. if rainbowmode == true then
  5052. rng.Color = Color3.new(r/255,g/255,b/255)
  5053. end
  5054. if type == "Add" then
  5055. scaler2 = scaler2 - 0.01*value/bonuspeed
  5056. elseif type == "Divide" then
  5057. scaler2 = scaler2 - 0.01/value*bonuspeed
  5058. end
  5059. if chaosmode == true then
  5060. rng.BrickColor = BrickColor.new("Lapis")
  5061. end
  5062. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  5063. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  5064. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  5065. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  5066. end
  5067. rng:Destroy()
  5068. end))
  5069. end
  5070.  
  5071. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  5072. local type = type
  5073. local rng = Instance.new("Part", char)
  5074. rng.Anchored = true
  5075. rng.BrickColor = color
  5076. rng.CanCollide = false
  5077. rng.FormFactor = 3
  5078. rng.Name = "Ring"
  5079. rng.Material = "Neon"
  5080. rng.Size = Vector3.new(1, 1, 1)
  5081. rng.Transparency = 0
  5082. rng.TopSurface = 0
  5083. rng.BottomSurface = 0
  5084. rng.CFrame = pos
  5085. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  5086. local rngm = Instance.new("SpecialMesh", rng)
  5087. rngm.MeshType = "Brick"
  5088. rngm.Scale = vt(x1,y1,z1)
  5089. if rainbowmode == true then
  5090. rng.Color = Color3.new(r/255,g/255,b/255)
  5091. end
  5092. local scaler2 = 0
  5093. local speeder = FastSpeed/10
  5094. if type == "Add" then
  5095. scaler2 = 1*value
  5096. elseif type == "Divide" then
  5097. scaler2 = 1/value
  5098. end
  5099. coroutine.resume(coroutine.create(function()
  5100. for i = 0,10/bonuspeed,0.1 do
  5101. swait()
  5102. if rainbowmode == true then
  5103. rng.Color = Color3.new(r/255,g/255,b/255)
  5104. end
  5105. if type == "Add" then
  5106. scaler2 = scaler2 - 0.01*value/bonuspeed
  5107. elseif type == "Divide" then
  5108. scaler2 = scaler2 - 0.01/value*bonuspeed
  5109. end
  5110. if chaosmode == true then
  5111. rng.BrickColor = BrickColor.new("Lapis")
  5112. end
  5113. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  5114. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  5115. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  5116. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  5117. end
  5118. rng:Destroy()
  5119. end))
  5120. end
  5121.  
  5122. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  5123. local type = type
  5124. local rng = Instance.new("Part", workspace)
  5125. rng.Anchored = true
  5126. rng.BrickColor = color
  5127. rng.CanCollide = false
  5128. rng.FormFactor = 3
  5129. rng.Name = "Ring"
  5130. rng.Material = "Neon"
  5131. rng.Size = Vector3.new(1, 1, 1)
  5132. rng.Transparency = 0
  5133. rng.TopSurface = 0
  5134. rng.BottomSurface = 0
  5135. rng.CFrame = pos
  5136. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  5137. local rngm = Instance.new("SpecialMesh", rng)
  5138. rngm.MeshType = "Sphere"
  5139. rngm.Scale = vt(x1,y1,z1)
  5140. if rainbowmode == true then
  5141. rng.Color = Color3.new(r/255,g/255,b/255)
  5142. end
  5143. local scaler2 = 1
  5144. local speeder = FastSpeed
  5145. if type == "Add" then
  5146. scaler2 = 1*value
  5147. elseif type == "Divide" then
  5148. scaler2 = 1/value
  5149. end
  5150. coroutine.resume(coroutine.create(function()
  5151. for i = 0,10/bonuspeed,0.1 do
  5152. swait()
  5153. if rainbowmode == true then
  5154. rng.Color = Color3.new(r/255,g/255,b/255)
  5155. end
  5156. if type == "Add" then
  5157. scaler2 = scaler2 - 0.01*value/bonuspeed
  5158. elseif type == "Divide" then
  5159. scaler2 = scaler2 - 0.01/value*bonuspeed
  5160. end
  5161. if chaosmode == true then
  5162. rng.BrickColor = BrickColor.new("Lapis")
  5163. end
  5164. speeder = speeder - 0.01*FastSpeed*bonuspeed
  5165. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  5166. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  5167. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  5168. end
  5169. rng:Destroy()
  5170. end))
  5171. end
  5172.  
  5173.  
  5174. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  5175. local type = type
  5176. local rng = Instance.new("Part", char)
  5177. rng.Anchored = true
  5178. rng.BrickColor = color
  5179. rng.CanCollide = false
  5180. rng.FormFactor = 3
  5181. rng.Name = "Ring"
  5182. rng.Material = "Neon"
  5183. rng.Size = Vector3.new(1, 1, 1)
  5184. rng.Transparency = 1
  5185. rng.TopSurface = 0
  5186. rng.BottomSurface = 0
  5187. rng.CFrame = pos
  5188. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  5189. local rngm = Instance.new("SpecialMesh", rng)
  5190. rngm.MeshType = "Sphere"
  5191. rngm.Scale = vt(x1,y1,z1)
  5192. if rainbowmode == true then
  5193. rng.Color = Color3.new(r/255,g/255,b/255)
  5194. end
  5195. local scaler2 = 1
  5196. local speeder = FastSpeed
  5197. if type == "Add" then
  5198. scaler2 = 1*value
  5199. elseif type == "Divide" then
  5200. scaler2 = 1/value
  5201. end
  5202. coroutine.resume(coroutine.create(function()
  5203. for i = 0,10/bonuspeed,0.1 do
  5204. swait()
  5205. if rainbowmode == true then
  5206. rng.Color = Color3.new(r/255,g/255,b/255)
  5207. end
  5208. if type == "Add" then
  5209. scaler2 = scaler2 - 0.01*value/bonuspeed
  5210. elseif type == "Divide" then
  5211. scaler2 = scaler2 - 0.01/value*bonuspeed
  5212. end
  5213. if chaosmode == true then
  5214. rng.BrickColor = BrickColor.new("Lapis")
  5215. end
  5216. speeder = speeder - 0.01*FastSpeed*bonuspeed
  5217. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  5218. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  5219. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  5220. end
  5221. rng:Destroy()
  5222. end))
  5223. end
  5224.  
  5225. function dmg(dude)
  5226. if dude.Name ~= Character then
  5227. local bgf = Instance.new("BodyGyro",dude.Head)
  5228. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  5229. local val = Instance.new("BoolValue",dude)
  5230. val.Name = "IsHit"
  5231. local ds = coroutine.wrap(function()
  5232. dude:WaitForChild("Head"):BreakJoints()
  5233. wait(0.5)
  5234. targetted = nil
  5235. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
  5236. coroutine.resume(coroutine.create(function()
  5237. for i, v in pairs(dude:GetChildren()) do
  5238. if v:IsA("Accessory") then
  5239. v:Destroy()
  5240. end
  5241. if v:IsA("Humanoid") then
  5242. v:Destroy()
  5243. end
  5244. if v:IsA("CharacterMesh") then
  5245. v:Destroy()
  5246. end
  5247. if v:IsA("Model") then
  5248. v:Destroy()
  5249. end
  5250. if v:IsA("Part") or v:IsA("MeshPart") then
  5251. for x, o in pairs(v:GetChildren()) do
  5252. if o:IsA("Decal") then
  5253. o:Destroy()
  5254. end
  5255. end
  5256. coroutine.resume(coroutine.create(function()
  5257. v.Material = "Neon"
  5258. v.CanCollide = false
  5259. local bld = Instance.new("ParticleEmitter",v)
  5260. bld.LightEmission = 1
  5261. bld.Texture = "rbxassetid://284205403"
  5262. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  5263. bld.Rate = 50
  5264. bld.Lifetime = NumberRange.new(1)
  5265. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(0,0.2,1)})
  5266. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5267. bld.Speed = NumberRange.new(0,0)
  5268. bld.VelocitySpread = 50000
  5269. bld.Rotation = NumberRange.new(-500,500)
  5270. bld.RotSpeed = NumberRange.new(-500,500)
  5271. local sbs = Instance.new("BodyPosition", v)
  5272. sbs.P = 3000
  5273. sbs.D = 1000
  5274. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  5275. sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  5276. v.Color = Color3.new(1,1,1)
  5277. coroutine.resume(coroutine.create(function()
  5278. for i = 0, 49 do
  5279. swait(1)
  5280. v.Transparency = v.Transparency + 0.02
  5281. end
  5282. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1)
  5283. bld.Speed = NumberRange.new(1,5)
  5284. bld.Acceleration = vt(0,10,0)
  5285. wait(0.5)
  5286. bld.Enabled = false
  5287. wait(3)
  5288. v:Destroy()
  5289. dude:Destroy()
  5290. end))
  5291. end))
  5292. end
  5293. end
  5294. end))
  5295. end)
  5296. ds()
  5297. end
  5298. end
  5299.  
  5300.  
  5301. function FindNearestHead(Position, Distance, SinglePlayer)
  5302. if SinglePlayer then
  5303. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  5304. end
  5305. local List = {}
  5306. for i, v in pairs(workspace:GetChildren()) do
  5307. if v:IsA("Model") then
  5308. if v:findFirstChild("Head") then
  5309. if v ~= Character then
  5310. if (v.Head.Position - Position).magnitude <= Distance then
  5311. table.insert(List, v)
  5312. end
  5313. end
  5314. end
  5315. end
  5316. end
  5317. return List
  5318. end
  5319.  
  5320. function FaceMouse()
  5321. Cam = workspace.CurrentCamera
  5322. return {
  5323. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  5324. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  5325. }
  5326. end
  5327.  
  5328. function FaceMouse2()
  5329. Cam = workspace.CurrentCamera
  5330. return {
  5331. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  5332. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  5333. }
  5334. end
  5335.  
  5336. local ModeOfGlitch = 1
  5337. -- Functions are ready.
  5338. local storehumanoidWS = 16
  5339.  
  5340. function Blink()
  5341. for i = 0, 14 do
  5342. 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)
  5343. end
  5344. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5345. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  5346. CameraEnshaking(2,10)
  5347. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  5348. if v:FindFirstChild('Head') then
  5349. end
  5350. end
  5351. for i = 0, 14 do
  5352. 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)
  5353. end
  5354. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5355. end
  5356.  
  5357. function ExtinctiveHeartbreak()
  5358. local targetted = nil
  5359. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5360. targetted = mouse.Target.Parent
  5361. end
  5362. if targetted ~= nil then
  5363. attack = true
  5364. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5365. for i = 0, 9 do
  5366. 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("Lapis"),0)
  5367. end
  5368. for i = 0, 24 do
  5369. 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("Lapis"),0)
  5370. end
  5371. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Lapis"))
  5372. local originalpos = root.CFrame
  5373. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  5374. for i = 0, 9 do
  5375. 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("Lapis"),0)
  5376. end
  5377. for i = 0, 24 do
  5378. 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("Lapis"),0)
  5379. end
  5380. hum.WalkSpeed = 0
  5381. targetted.Head.Anchored = true
  5382. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Lapis"))
  5383. for i = 0,2,0.1 do
  5384. swait()
  5385. 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)
  5386. 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)
  5387. 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)
  5388. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5389. 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)
  5390. 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)
  5391. end
  5392. coroutine.resume(coroutine.create(function()
  5393. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  5394. bld.LightEmission = 0.1
  5395. bld.Texture = "rbxassetid://284205403"
  5396. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  5397. bld.Rate = 500
  5398. bld.Lifetime = NumberRange.new(1)
  5399. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0,0.2,1)})
  5400. bld.Acceleration = vt(0,-25,0)
  5401. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0,0.2,1)})
  5402. bld.Speed = NumberRange.new(10,50)
  5403. bld.EmissionDirection = "Front"
  5404. bld.VelocitySpread = 25
  5405. bld.Rotation = NumberRange.new(-500,500)
  5406. bld.RotSpeed = NumberRange.new(-500,500)
  5407. end))
  5408. coroutine.resume(coroutine.create(function()
  5409. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("UpperTorso"))
  5410. bld.LightEmission = 0.1
  5411. bld.Texture = "rbxassetid://284205403"
  5412. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  5413. bld.Rate = 500
  5414. bld.Lifetime = NumberRange.new(1)
  5415. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0,0.2,1)})
  5416. bld.Acceleration = vt(0,-25,0)
  5417. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0,0.2,1)})
  5418. bld.Speed = NumberRange.new(10,50)
  5419. bld.EmissionDirection = "Front"
  5420. bld.VelocitySpread = 25
  5421. bld.Rotation = NumberRange.new(-500,500)
  5422. bld.RotSpeed = NumberRange.new(-500,500)
  5423. end))
  5424. CameraEnshaking(5,5)
  5425. game:GetService("Debris"):AddItem(bld,3)
  5426. dmg(targetted)
  5427. CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Head, 1,1)
  5428. for i = 0,1,0.1 do
  5429. swait()
  5430. 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)
  5431. 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)
  5432. 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)
  5433. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  5434. 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)
  5435. 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)
  5436. end
  5437. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5438. for i = 0, 9 do
  5439. 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("Lapis"),0)
  5440. end
  5441. for i = 0, 24 do
  5442. 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("Lapis"),0)
  5443. end
  5444. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Lapis"))
  5445. root.CFrame = originalpos
  5446. for i = 0, 9 do
  5447. 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("Lapis"),0)
  5448. end
  5449. for i = 0, 24 do
  5450. 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("Lapis"),0)
  5451. end
  5452. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Lapis"))
  5453. bld.Enabled = false
  5454. attack = false
  5455. hum.WalkSpeed = storehumanoidWS
  5456. end
  5457. end
  5458. function test()
  5459. attack = true
  5460. for i = 0, 2, 0.1 do
  5461. swait()
  5462. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  5463. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  5464. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(65),math.rad(0),math.rad(0)),.4)
  5465. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-27),math.rad(0),math.rad(0)),.4)
  5466. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.35)*angles(math.rad(70),math.rad(20),math.rad(0)),.1)
  5467. 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)
  5468. end
  5469. CFuncs["Sound"].Create("rbxassetid://136007472", root, 1,2)
  5470. for i=1,20 do
  5471. sphereMKCharge(5,-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))),0.5,0.5,5,-0.005,MAINRUINCOLOR,10)
  5472. swait()
  5473. end
  5474. swait(30)
  5475. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  5476. for i =1,20 do
  5477. 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,MAINRUINCOLOR,0)
  5478. 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,MAINRUINCOLOR,0)
  5479. end
  5480. for i = 0,2,0.1 do
  5481. swait()
  5482. 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)),.5)
  5483. 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)),.5)
  5484. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,30 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  5485. 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))),.5)
  5486. 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))),.5)
  5487. 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))),.5)
  5488. end
  5489. for i =1,20 do
  5490. sphereMK(1,1,"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,10,0.05,MAINRUINCOLOR,0)
  5491. end
  5492. text.TextTransparency = 1
  5493. text.TextStrokeTransparency = 1
  5494. tr2.Enabled = false
  5495. tr1.Enabled = false
  5496. tr3.Enabled = false
  5497. tl1.Enabled = false
  5498. tl2.Enabled = false
  5499. tl3.Enabled = false
  5500. sphere(5,"Add",Torso.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR)
  5501. eff = false
  5502. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5503. local invtab = {}
  5504. local function search(targ)
  5505. if targ:IsA("BasePart") or targ:IsA("Decal") or targ:IsA("Texture") then
  5506. table.insert(invtab,targ)
  5507. end
  5508. for i,v in pairs(targ:GetChildren()) do
  5509. search(v)
  5510. end
  5511. end
  5512. search(plr.Character)
  5513. local frm = 0
  5514. local frmcon
  5515. frmcon = game:GetService("RunService").Heartbeat:connect(function()
  5516. if frm < 10 then
  5517. for i,v in pairs(invtab) do
  5518. if v:IsA("BasePart") or v:IsA("Decal") or v:IsA("Texture") then
  5519. v.Transparency = v.Transparency + 0.1
  5520. end
  5521. end
  5522. frm = frm + 1
  5523. else
  5524. frmcon:disconnect()
  5525. end
  5526. end)
  5527. swait(200)
  5528. text.TextTransparency = 0
  5529. text.TextStrokeTransparency = 0
  5530. tr2.Enabled = false
  5531. tr1.Enabled = false
  5532. tr3.Enabled = false
  5533. tl1.Enabled = false
  5534. tl2.Enabled = false
  5535. tl3.Enabled = false
  5536. eff = true
  5537. for i =1,20 do
  5538. sphereMK(1,1,"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,10,0.05,MAINRUINCOLOR,0)
  5539. end
  5540. sphere(5,"Add",Torso.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR)
  5541. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5542. local invtab = {}
  5543. local function search(targ)
  5544. if targ:IsA("BasePart") or targ:IsA("Decal") or targ:IsA("Texture") then
  5545. table.insert(invtab,targ)
  5546. end
  5547. for i,v in pairs(targ:GetChildren()) do
  5548. search(v)
  5549. end
  5550. end
  5551. search(plr.Character)
  5552. local frm = 0
  5553. local frmcon
  5554. frmcon = game:GetService("RunService").Heartbeat:connect(function()
  5555. if frm < 10 then
  5556. for i,v in pairs(invtab) do
  5557. if v:IsA("BasePart") or v:IsA("Decal") or v:IsA("Texture") then
  5558. v.Transparency = v.Transparency - 0.1
  5559. end
  5560. end
  5561. frm = frm + 1
  5562. else
  5563. frmcon:disconnect()
  5564. end
  5565. end)
  5566. swait(5)
  5567. for i = 0, 2, 0.1 do
  5568. swait()
  5569. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  5570. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  5571. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(65),math.rad(0),math.rad(0)),.4)
  5572. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-27),math.rad(0),math.rad(0)),.4)
  5573. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.35)*angles(math.rad(70),math.rad(20),math.rad(0)),.1)
  5574. 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)
  5575. end
  5576. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  5577. CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1)
  5578. MagniDamage(root, 30, 65,90, 0, "Normal")
  5579. for i =1,20 do
  5580. sphereMK(1,1,"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,10,0.05,MAINRUINCOLOR,0)
  5581. end
  5582. sphere(1,"Add",Torso.CFrame,vt(1,1,1),1,MAINRUINCOLOR)
  5583. for i =1,20 do
  5584. 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,MAINRUINCOLOR,0)
  5585. end
  5586. swait(20)
  5587. attack = false
  5588. tr2.Enabled = true
  5589. tr1.Enabled = true
  5590. tr3.Enabled = true
  5591. tl1.Enabled = true
  5592. tl2.Enabled = true
  5593. tl3.Enabled = true
  5594. end
  5595. function FinalCalam()
  5596. attack = true
  5597.  
  5598. local orb = Instance.new("Part", char)
  5599. orb.Anchored = true
  5600. orb.BrickColor = MAINRUINCOLOR
  5601. orb.CanCollide = false
  5602. orb.FormFactor = 3
  5603. orb.Name = "Ring"
  5604. orb.Material = "Neon"
  5605. orb.Size = Vector3.new(1, 1, 1)
  5606. orb.Transparency = 0
  5607. orb.TopSurface = 0
  5608. orb.BottomSurface = 0
  5609. local orbm = Instance.new("SpecialMesh", orb)
  5610. orbm.MeshType = "Sphere"
  5611. orbm.Name = "SizeMesh"
  5612. orbm.Scale = vt(0,0,0)
  5613. local scaled = 0.1
  5614. local posid = 0
  5615. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  5616. for i = 0, 5, 0.1 do
  5617. swait()
  5618. scaled = scaled - 0.001
  5619. posid = posid - scaled
  5620. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  5621. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  5622. 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,MAINRUINCOLOR,10)
  5623. 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,MAINRUINCOLOR,0)
  5624. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2 + 0.1 * math.cos(sine / 10))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  5625. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  5626. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  5627. 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)
  5628. end
  5629. swait(60)
  5630. for i =1,3 do
  5631. swait(30)
  5632. CFuncs["Sound"].Create("rbxassetid://847061203", orb, 1,0.9)
  5633. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR)
  5634. end
  5635. swait(30)
  5636. for i = 0, 2, 0.1 do
  5637. swait()
  5638. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  5639. 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)
  5640. 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)
  5641. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  5642. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  5643. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  5644. 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)
  5645. end
  5646. swait(60)
  5647. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  5648. CFuncs["Sound"].Create("rbxassetid://151304356", workspace, 5,1)
  5649. sphere(0.2,"Add",orb.CFrame,vt(10,10,10),5,MAINRUINCOLOR)
  5650. sphere(0.5,"Add",orb.CFrame,vt(1,1,1),5,MAINRUINCOLOR)
  5651. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  5652. if v:FindFirstChild('Head') then
  5653. dmg(v)
  5654. end
  5655. end
  5656. for i = 1,20 do
  5657. 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,MAINRUINCOLOR,0)
  5658. for i = 0, 10 do
  5659. 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,MAINRUINCOLOR,0)
  5660. end
  5661. end
  5662. orb:Remove()
  5663. attack = false
  5664. end
  5665. function PureBomb()
  5666. attack = true
  5667.  
  5668. local orb = Instance.new("Part", char)
  5669. orb.Anchored = true
  5670. orb.BrickColor = BrickColor.new("Toothpaste")
  5671. orb.CanCollide = false
  5672. orb.FormFactor = 3
  5673. orb.Name = "Ring"
  5674. orb.Material = "Neon"
  5675. orb.Size = Vector3.new(1, 1, 1)
  5676. orb.Transparency = 0
  5677. orb.TopSurface = 0
  5678. orb.BottomSurface = 0
  5679. local orbm = Instance.new("SpecialMesh", orb)
  5680. orbm.MeshType = "Sphere"
  5681. orbm.Name = "SizeMesh"
  5682. orbm.Scale = vt(0,0,0)
  5683. local scaled = 0.1
  5684. local posid = 0
  5685. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  5686. for i = 0, 5, 0.1 do
  5687. swait()
  5688. scaled = scaled - 0.001
  5689. posid = posid - scaled
  5690. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  5691. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  5692. 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)
  5693. 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)
  5694. 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)
  5695. 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)
  5696. 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)
  5697. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  5698. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  5699. 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)
  5700. end
  5701. for i = 0, 2, 0.1 do
  5702. swait()
  5703. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  5704. 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)
  5705. 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)
  5706. 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)
  5707. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  5708. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  5709. 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)
  5710. end
  5711. coroutine.resume(coroutine.create(function()
  5712. orb.Anchored = false
  5713. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  5714. local a = Instance.new("Part",workspace)
  5715. a.Name = "Direction"
  5716. a.Anchored = true
  5717. a.BrickColor = bc("Bright red")
  5718. a.Material = "Neon"
  5719. a.Transparency = 1
  5720. a.CanCollide = false
  5721. local ray = Ray.new(
  5722. orb.CFrame.p, -- origin
  5723. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  5724. )
  5725. local ignore = orb
  5726. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5727. a.BottomSurface = 10
  5728. a.TopSurface = 10
  5729. local distance = (orb.CFrame.p - position).magnitude
  5730. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5731. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  5732. orb.CFrame = a.CFrame
  5733. a:Destroy()
  5734. local bv = Instance.new("BodyVelocity")
  5735. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5736. bv.velocity = orb.CFrame.lookVector*125
  5737. bv.Parent = orb
  5738. local hitted = false
  5739. game:GetService("Debris"):AddItem(orb, 15)
  5740. wait()
  5741. local hit =orb.Touched:connect(function(hit)
  5742. if hitted == false then
  5743. hitted = true
  5744. CameraEnshaking(10,2.5)
  5745. MagniDamage(orb, 65, 65,90, 0, "Normal")
  5746. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  5747. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  5748. for i = 0, 49 do
  5749. 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)
  5750. end
  5751. for i = 0, 9 do
  5752. 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)
  5753. 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)
  5754. end
  5755. orb.Anchored = true
  5756. orb.Transparency = 1
  5757. wait(8)
  5758. orb:Destroy()
  5759. end
  5760. end)
  5761. end))
  5762. for i = 0, 1, 0.1 do
  5763. swait()
  5764. 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)
  5765. 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)
  5766. 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)
  5767. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  5768. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  5769. 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)
  5770. end
  5771. attack = false
  5772. end
  5773.  
  5774. function ChaosGroundStrike()
  5775. attack = true
  5776. for i = 0, 2, 0.1 do
  5777. swait()
  5778. 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)
  5779. 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)
  5780. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5781. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5782. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  5783. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  5784. end
  5785. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  5786. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  5787. CameraEnshaking(4,12)
  5788. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  5789. if v:FindFirstChild('Head') then
  5790. dmg(v)
  5791. end
  5792. end
  5793. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.new("Lapis"))
  5794. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.new("Lapis"))
  5795. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.new("Lapis"))
  5796. for i = 0, 2, 0.1 do
  5797. swait()
  5798. 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.new("Lapis"),0)
  5799. 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.new("Lapis"),0)
  5800. 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)
  5801. 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)
  5802. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  5803. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  5804. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  5805. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  5806. end
  5807. attack = false
  5808. end
  5809.  
  5810. function Starfall()
  5811. attack = true
  5812. hum.WalkSpeed = 0
  5813. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  5814. for i = 0, 5, 0.1 do
  5815. swait()
  5816. 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)
  5817. 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)
  5818. 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)
  5819. 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)
  5820. 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)
  5821. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  5822. 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)
  5823. 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)
  5824. end
  5825. local Overed = false
  5826. CameraEnshaking(2,20)
  5827. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  5828. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  5829. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  5830. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  5831. local orb = Instance.new("Part", char)
  5832. orb.Anchored = true
  5833. orb.BrickColor = BrickColor.new("Toothpaste")
  5834. orb.CanCollide = false
  5835. orb.FormFactor = 3
  5836. orb.Name = "Remenant"
  5837. orb.Material = "Neon"
  5838. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  5839. orb.Size = Vector3.new(1, 1, 1)
  5840. orb.Transparency = 1
  5841. orb.TopSurface = 0
  5842. orb.BottomSurface = 0
  5843. hum.WalkSpeed = storehumanoidWS
  5844. coroutine.resume(coroutine.create(function()
  5845. for i = 0, 9 do
  5846. swait(10)
  5847. local lb = Instance.new("Part")
  5848. lb.Color = MAINRUINCOLOR.Color
  5849. lb.CanCollide = false
  5850. lb.Material = "Neon"
  5851. lb.Anchored = true
  5852. lb.TopSurface = 0
  5853. lb.BottomSurface = 0
  5854. lb.Transparency = 0
  5855. lb.Size = vt(1,1,1)
  5856. 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)))
  5857. lb.Anchored = false
  5858. lb.Parent = char
  5859. local thingery = Instance.new("SpecialMesh",lb)
  5860. thingery.MeshType = "Sphere"
  5861. thingery.Scale = vt(20,20,20)
  5862. game:GetService("Debris"):AddItem(lb, 10)
  5863. local bv = Instance.new("BodyVelocity")
  5864. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5865. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  5866. bv.Parent = lb
  5867. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  5868. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  5869. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  5870. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  5871. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  5872. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  5873. local hitted = false
  5874. coroutine.resume(coroutine.create(function()
  5875. while true do
  5876. swait(1)
  5877. if lb.Parent ~= nil and hitted == false then
  5878. 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)
  5879. elseif lb.Parent == nil then
  5880. break
  5881. end
  5882. end
  5883. end))
  5884.  
  5885. game:GetService("Debris"):AddItem(a, 0.1)
  5886.  
  5887. coroutine.resume(coroutine.create(function()
  5888. swait(1)
  5889. lb.Touched:connect(function(hit)
  5890. if hitted == false then
  5891. hitted = true
  5892. lb.Transparency = 1
  5893. lb.Anchored = true
  5894. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  5895. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  5896. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  5897. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  5898. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  5899. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  5900. MagniDamage(lb, 45, 45,85, 0, "Normal")
  5901. CameraEnshaking(1,5)
  5902. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  5903. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  5904. for i = 0, 9 do
  5905. 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)
  5906. end
  5907. for i = 0, 49 do
  5908. swait()
  5909. MagniDamage(lb, 30, 2,4, 0, "Normal")
  5910. 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)
  5911. end
  5912. end
  5913. end)
  5914. end))
  5915. end
  5916. Overed = true
  5917. orb:Destroy()
  5918. end))
  5919.  
  5920. attack = false
  5921. end
  5922.  
  5923. function StarfallEX()
  5924. attack = true
  5925. hum.WalkSpeed = 0
  5926. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  5927. for i = 0, 5, 0.1 do
  5928. swait()
  5929. 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)
  5930. 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)
  5931. 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)
  5932. 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)
  5933. 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)
  5934. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  5935. 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)
  5936. 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)
  5937. end
  5938. local Overed = false
  5939. CameraEnshaking(2,20)
  5940. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  5941. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  5942. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  5943. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  5944. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  5945. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  5946. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  5947. local orb = Instance.new("Part", char)
  5948. orb.Anchored = true
  5949. orb.BrickColor = BrickColor.new("Toothpaste")
  5950. orb.CanCollide = false
  5951. orb.FormFactor = 3
  5952. orb.Name = "Remenant"
  5953. orb.Material = "Neon"
  5954. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  5955. orb.Size = Vector3.new(1, 1, 1)
  5956. orb.Transparency = 1
  5957. orb.TopSurface = 0
  5958. orb.BottomSurface = 0
  5959. hum.WalkSpeed = storehumanoidWS
  5960. coroutine.resume(coroutine.create(function()
  5961. for i = 0, 9 do
  5962. swait(10)
  5963. local lb = Instance.new("Part")
  5964. lb.Color = MAINRUINCOLOR.Color
  5965. lb.CanCollide = false
  5966. lb.Material = "Neon"
  5967. lb.Anchored = true
  5968. lb.TopSurface = 0
  5969. lb.BottomSurface = 0
  5970. lb.Transparency = 0
  5971. lb.Size = vt(1,1,1)
  5972. 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)))
  5973. lb.Anchored = false
  5974. lb.Parent = char
  5975. local thingery = Instance.new("SpecialMesh",lb)
  5976. thingery.MeshType = "Sphere"
  5977. thingery.Scale = vt(20,20,20)
  5978. game:GetService("Debris"):AddItem(lb, 10)
  5979. local bv = Instance.new("BodyVelocity")
  5980. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5981. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  5982. bv.Parent = lb
  5983. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  5984. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  5985. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  5986. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  5987. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  5988. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  5989. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  5990. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  5991. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  5992. local hitted = false
  5993. coroutine.resume(coroutine.create(function()
  5994. while true do
  5995. swait(1)
  5996. if lb.Parent ~= nil and hitted == false then
  5997. 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)
  5998. 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)
  5999. elseif lb.Parent == nil then
  6000. break
  6001. end
  6002. end
  6003. end))
  6004.  
  6005. game:GetService("Debris"):AddItem(a, 0.1)
  6006.  
  6007. coroutine.resume(coroutine.create(function()
  6008. swait(1)
  6009. lb.Touched:connect(function(hit)
  6010. if hitted == false then
  6011. hitted = true
  6012. lb.Transparency = 1
  6013. lb.Anchored = true
  6014. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  6015. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  6016. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  6017. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  6018. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  6019. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  6020. MagniDamage(lb, 45, 45,85, 0, "Normal")
  6021. CameraEnshaking(10,5)
  6022. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  6023. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  6024. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  6025. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  6026. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  6027. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  6028. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  6029. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  6030. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  6031. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  6032. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  6033. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  6034. for i = 0, 9 do
  6035. 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)
  6036. 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)
  6037. 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)
  6038. 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)
  6039. 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)
  6040. 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)
  6041. end
  6042. for i = 0, 49 do
  6043. swait()
  6044. MagniDamage(lb, 30, 30, 60, 0, "Normal")
  6045. 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)
  6046. 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)
  6047. 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)
  6048. end
  6049. end
  6050. end)
  6051. end))
  6052. end
  6053. Overed = true
  6054. orb:Destroy()
  6055. end))
  6056.  
  6057. attack = false
  6058. end
  6059.  
  6060. function StarDivision()
  6061. attack = true
  6062. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  6063. for i = 0, 2, 0.1 do
  6064. swait()
  6065. 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)
  6066. 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)
  6067. 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)
  6068. 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)
  6069. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-90)),.6)
  6070. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  6071. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.6)
  6072. end
  6073. local orb = Instance.new("Part", char)
  6074. orb.BrickColor = MAINRUINCOLOR
  6075. orb.CanCollide = false
  6076. orb.FormFactor = 3
  6077. orb.Name = "Ring"
  6078. orb.Material = "Neon"
  6079. orb.Size = Vector3.new(1, 1, 1)
  6080. orb.Transparency = 0
  6081. orb.TopSurface = 0
  6082. orb.BottomSurface = 0
  6083. local orbm = Instance.new("SpecialMesh", orb)
  6084. orbm.MeshType = "Sphere"
  6085. orbm.Name = "SizeMesh"
  6086. orbm.Scale = vt(2,2,2)
  6087. local a = Instance.new("Part",workspace)
  6088. a.Name = "Direction"
  6089. a.Anchored = true
  6090. a.BrickColor = bc("Bright red")
  6091. a.Material = "Neon"
  6092. a.Transparency = 1
  6093. a.CanCollide = false
  6094. local ray = Ray.new(
  6095. sorb.CFrame.p, -- origin
  6096. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  6097. )
  6098. local ignore = sorb
  6099. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6100. a.BottomSurface = 10
  6101. a.TopSurface = 10
  6102. local distance = (sorb.CFrame.p - position).magnitude
  6103. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6104. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  6105. orb.CFrame = a.CFrame
  6106. a:Destroy()
  6107. local bv = Instance.new("BodyVelocity")
  6108. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6109. bv.velocity = orb.CFrame.lookVector*100
  6110. bv.Parent = orb
  6111. local hitted = false
  6112. game:GetService("Debris"):AddItem(orb, 10)
  6113. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  6114. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  6115. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  6116. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  6117. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  6118. coroutine.resume(coroutine.create(function()
  6119. while true do
  6120. swait(1)
  6121. if orb.Parent ~= nil and hitted == false then
  6122. 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)
  6123. elseif orb.Parent == nil then
  6124. break
  6125. end
  6126. end
  6127. end))
  6128. coroutine.resume(coroutine.create(function()
  6129. swait(1)
  6130. orb.Touched:connect(function(hit)
  6131. if hitted == false then
  6132. hitted = true
  6133. game:GetService("Debris"):AddItem(orb, 5)
  6134. orb.Transparency = 1
  6135. orb.Anchored = true
  6136. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.new("Lapis"))
  6137. elocacenter.Anchored = true
  6138. elocacenter.CFrame = orb.CFrame
  6139. elocacenter.Orientation = vt(0,0,0)
  6140. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.new("Lapis"))
  6141. eloca1.Anchored = true
  6142. eloca1.CFrame = elocacenter.CFrame
  6143. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.new("Lapis"))
  6144. eloca2.Anchored = true
  6145. eloca2.CFrame = elocacenter.CFrame
  6146. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.new("Lapis"))
  6147. eloca3.Anchored = true
  6148. eloca3.CFrame = elocacenter.CFrame
  6149. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.new("Lapis"))
  6150. eloca4.Anchored = true
  6151. eloca4.CFrame = elocacenter.CFrame
  6152. local lookavec = 0
  6153. local speeds = 0
  6154. CameraEnshaking(1,1)
  6155. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  6156. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6157. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6158. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6159. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6160. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6161. for i = 0, 99 do
  6162. swait()
  6163. lookavec = lookavec + 1
  6164. speeds = speeds + 0.1
  6165. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  6166. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  6167. 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)
  6168.  
  6169. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  6170. 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)
  6171.  
  6172. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  6173. 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)
  6174.  
  6175. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  6176. 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)
  6177. end
  6178.  
  6179. for i = 0, 149 do
  6180. swait()
  6181. speeds = speeds + 0.1
  6182. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  6183. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  6184. 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)
  6185.  
  6186. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  6187. 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)
  6188.  
  6189. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  6190. 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)
  6191.  
  6192. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  6193. 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)
  6194. end
  6195. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  6196. if v:FindFirstChild('Head') then
  6197. dmg(v)
  6198. end
  6199. end
  6200. CameraEnshaking(7,30)
  6201. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  6202. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  6203. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  6204. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  6205. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  6206. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  6207. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  6208. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6209. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6210. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6211. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6212. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6213. for i = 0, 24 do
  6214. 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)
  6215. 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)
  6216. 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)
  6217. 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)
  6218. end
  6219. coroutine.resume(coroutine.create(function()
  6220. for i = 0, 499 do
  6221. swait(1)
  6222. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  6223. 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)
  6224. end
  6225. elocacenter:Destroy()
  6226. eloca1:Destroy()
  6227. eloca2:Destroy()
  6228. eloca3:Destroy()
  6229. eloca4:Destroy()
  6230. end))
  6231. end
  6232. end)
  6233. end))
  6234. attack = false
  6235. end
  6236.  
  6237.  
  6238. function UniversalCollapse()
  6239. attack = true
  6240. local speedearn = 0
  6241. hum.WalkSpeed = 0
  6242. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  6243. for i = 0, 10, 0.1 do
  6244. swait()
  6245. speedearn = speedearn + 0.1
  6246. 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)
  6247. 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)
  6248. 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)
  6249. 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)
  6250. 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)
  6251. 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)
  6252. 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)
  6253. 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)
  6254. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6255. 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)
  6256. 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)
  6257. end
  6258. CameraEnshaking(5,45)
  6259. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  6260. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  6261. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  6262. if v:FindFirstChild('Head') then
  6263. dmg(v)
  6264. end
  6265. end
  6266. hum.WalkSpeed = storehumanoidWS
  6267. attack = false
  6268. end
  6269. function ChaosBegone()
  6270. attack = true
  6271. local speedearn = 0
  6272. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.75)
  6273. for i = 0, 10, 0.1 do
  6274. swait()
  6275. speedearn = speedearn + 0.1
  6276. 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)
  6277. 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)
  6278. 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)
  6279. 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)
  6280. 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)
  6281. 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)
  6282. 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)
  6283. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  6284. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  6285. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  6286. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  6287. end
  6288. CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
  6289. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 1)
  6290. CameraEnshaking(5,25)
  6291. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  6292. if v:FindFirstChild('Head') then
  6293. dmg(v)
  6294. end
  6295. end
  6296. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.new("Lapis"))
  6297. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.new("Lapis"))
  6298. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.new("Lapis"))
  6299. for i = 0, 3, 0.1 do
  6300. swait()
  6301. 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.new("Lapis"),0)
  6302. 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.new("Lapis"),0)
  6303. 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.new("Lapis"),0)
  6304. 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.new("Lapis"),0)
  6305. 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)
  6306. 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)
  6307. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  6308. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  6309. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  6310. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  6311. end
  6312. attack = false
  6313. end
  6314.  
  6315. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  6316. local orb = Instance.new("Part", char)
  6317. orb.Anchored = true
  6318. orb.BrickColor = color
  6319. orb.CanCollide = false
  6320. orb.FormFactor = 3
  6321. orb.Name = "Ring"
  6322. orb.Material = "Neon"
  6323. orb.Size = Vector3.new(1, 1, 1)
  6324. orb.Transparency = 0
  6325. orb.TopSurface = 0
  6326. orb.BottomSurface = 0
  6327. local orbm = Instance.new("SpecialMesh", orb)
  6328. orbm.MeshType = "Sphere"
  6329. orb.CFrame = positted
  6330. orbm.Name = "SizeMesh"
  6331. orbm.Scale = vt(1,1,1)
  6332. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  6333. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  6334. for i = 0, 2 do
  6335. 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)
  6336. end
  6337. coroutine.resume(coroutine.create(function()
  6338. wait(timer)
  6339. CameraEnshaking(3,ShakePower)
  6340. orb.Transparency = 1
  6341. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  6342. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  6343. for i = 0, 4 do
  6344. 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)
  6345. end
  6346. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  6347. wait(3)
  6348. orb:Destroy()
  6349. end))
  6350. end
  6351.  
  6352. function orb_spawn(positted,timer)
  6353. local randomcol = math.random(1,2)
  6354. local orb = Instance.new("Part", char)
  6355. orb.Anchored = true
  6356. if randomcol == 1 then
  6357. orb.BrickColor = BrickColor.new("Cyan")
  6358. elseif randomcol == 2 then
  6359. orb.BrickColor = BrickColor.new("Really black")
  6360. end
  6361. orb.CanCollide = false
  6362. orb.FormFactor = 3
  6363. orb.Name = "Ring"
  6364. orb.Material = "Neon"
  6365. orb.Size = Vector3.new(1, 1, 1)
  6366. orb.Transparency = 0
  6367. orb.TopSurface = 0
  6368. orb.BottomSurface = 0
  6369. local orbm = Instance.new("SpecialMesh", orb)
  6370. orbm.MeshType = "Sphere"
  6371. orb.CFrame = positted
  6372. orbm.Name = "SizeMesh"
  6373. orbm.Scale = vt(1,1,1)
  6374. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
  6375. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  6376. for i = 0, 2 do
  6377. 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)
  6378. end
  6379. coroutine.resume(coroutine.create(function()
  6380. wait(timer)
  6381. CameraEnshaking(3,2)
  6382. orb.Transparency = 1
  6383. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  6384. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  6385. for i = 0, 4 do
  6386. 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)
  6387. end
  6388. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
  6389. wait(3)
  6390. orb:Destroy()
  6391. end))
  6392. end
  6393.  
  6394. function scattercorrupt()
  6395. attack = true
  6396. local rot = 0
  6397. local randomrotations = math.random(1,2)
  6398. local lookv = 2.5
  6399. local power = 5
  6400. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  6401. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  6402. for i = 0, 9 do
  6403. 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)
  6404. end
  6405. CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
  6406. CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
  6407. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
  6408. CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
  6409. CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
  6410. local hite = Instance.new("Part", char)
  6411. hite.Anchored = true
  6412. hite.CanCollide = false
  6413. hite.FormFactor = 3
  6414. hite.Name = "Ring"
  6415. hite.Material = "Neon"
  6416. hite.Size = Vector3.new(1, 1, 1)
  6417. hite.Transparency = 1
  6418. hite.TopSurface = 0
  6419. hite.BottomSurface = 0
  6420. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  6421. local rem = Instance.new("Part", char)
  6422. rem.Anchored = true
  6423. rem.CanCollide = false
  6424. rem.FormFactor = 3
  6425. rem.Name = "Ring"
  6426. rem.Material = "Neon"
  6427. rem.Size = Vector3.new(1, 1, 1)
  6428. rem.Transparency = 1
  6429. rem.TopSurface = 0
  6430. rem.BottomSurface = 0
  6431. rem.CFrame = hite.CFrame
  6432. local rem2 = rem:Clone()
  6433. rem2.Parent = char
  6434. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  6435. local rem3 = rem:Clone()
  6436. rem3.Parent = char
  6437. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  6438. local rem4 = rem:Clone()
  6439. rem4.Parent = char
  6440. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  6441. hite:Destroy()
  6442. coroutine.resume(coroutine.create(function()
  6443. for i = 0, 24 do
  6444. swait(1)
  6445. if randomrotations == 1 then
  6446. rot = rot + 1
  6447. elseif randomrotations == 2 then
  6448. rot = rot - 1
  6449. end
  6450. power = power + 0.5
  6451. lookv = lookv + 7.5
  6452. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  6453. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  6454. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  6455. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  6456. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  6457. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  6458. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  6459. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  6460. end
  6461. end))
  6462. attack = false
  6463. end
  6464. function yinyangi()
  6465. attack = true
  6466. for i = 0, 2, 0.1 do
  6467. swait()
  6468. 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)
  6469. 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)
  6470. 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)
  6471. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  6472. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  6473. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  6474. end
  6475. local bv = Instance.new("BodyVelocity")
  6476. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6477. bv.velocity = root.CFrame.lookVector*175
  6478. bv.Parent = root
  6479. for Rotations = 0, 9 do
  6480. for i = 0, 1, 0.5 do
  6481. swait()
  6482. bv.velocity = root.CFrame.lookVector*175
  6483. 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)
  6484. 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)
  6485. 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)
  6486. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  6487. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  6488. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  6489. end
  6490. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  6491. for i = 0, 1, 0.5 do
  6492. swait()
  6493. bv.velocity = root.CFrame.lookVector*175
  6494. 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)
  6495. 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)
  6496. 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)
  6497. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  6498. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  6499. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  6500. end
  6501. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  6502. for i = 0, 1, 0.5 do
  6503. swait()
  6504. bv.velocity = root.CFrame.lookVector*175
  6505. 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)
  6506. 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)
  6507. 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)
  6508. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  6509. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  6510. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  6511. end
  6512. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  6513. for i = 0, 1, 0.5 do
  6514. swait()
  6515. bv.velocity = root.CFrame.lookVector*175
  6516. 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)
  6517. 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)
  6518. 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)
  6519. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  6520. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  6521. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  6522. end
  6523. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  6524. end
  6525. bv:Destroy()
  6526. attack = false
  6527. end
  6528.  
  6529. function Wip()
  6530. attack = true
  6531.  
  6532. local rngb = Instance.new("Part", char)
  6533. rngb.Anchored = true
  6534. rngb.BrickColor = origcolor
  6535. rngb.CanCollide = false
  6536. rngb.FormFactor = 3
  6537. rngb.Name = "Ring"
  6538. rngb.Material = "Neon"
  6539. rngb.Size = Vector3.new(1, 0.05, 1)
  6540. rngb.Transparency = 1
  6541. rngb.TopSurface = 0
  6542. rngb.BottomSurface = 0
  6543. local rngmb = Instance.new("SpecialMesh", rngb)
  6544. rngmb.MeshType = "Brick"
  6545. rngmb.Name = "SizeMesh"
  6546. rngmb.Scale = vt(0,1,0)
  6547.  
  6548. local orb = rngb:Clone()
  6549. orb.Parent = char
  6550. orb.Transparency = 0
  6551. orb.BrickColor = BrickColor.new("Cyan")
  6552. orb.Size = vt(1,1,1)
  6553. local orbmish = orb.SizeMesh
  6554. orbmish.Scale = vt(0,0,0)
  6555. orbmish.MeshType = "Sphere"
  6556.  
  6557. local orbe = rngb:Clone()
  6558. orbe.Parent = char
  6559. orbe.Transparency = 0.5
  6560. orbe.BrickColor = BrickColor.new("New Yeller")
  6561. orbe.Size = vt(1,1,1)
  6562. local orbmish2 = orbe.SizeMesh
  6563. orbmish2.Scale = vt(0,0,0)
  6564. orbmish2.MeshType = "Sphere"
  6565. orbe.Color = Color3.new(r/255,g/255,b/255)
  6566.  
  6567. rngb:Destroy()
  6568. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  6569. local scaled = 1
  6570. for i = 0,5,0.1 do
  6571. swait()
  6572. scaled = scaled - 0.02
  6573. if rainbowmode == true then
  6574. orbe.Color = Color3.new(r/255,g/255,b/255)
  6575. end
  6576. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  6577. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  6578. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  6579. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  6580. 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)
  6581. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  6582. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  6583. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  6584. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  6585. 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)
  6586. 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)
  6587. RootPart.CFrame = FaceMouse()[1]
  6588. end
  6589. for i = 0,5,0.1 do
  6590. swait()
  6591. if rainbowmode == true then
  6592. orbe.Color = Color3.new(r/255,g/255,b/255)
  6593. end
  6594. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  6595. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  6596. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  6597. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  6598. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  6599. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  6600. 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)
  6601. 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)
  6602. RootPart.CFrame = FaceMouse()[1]
  6603. end
  6604. orbe.Transparency = 1
  6605. orb.Transparency = 1
  6606. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  6607. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  6608. local a = Instance.new("Part",Character)
  6609. a.Name = "Direction"
  6610. a.Anchored = true
  6611. a.BrickColor = bc("Cyan")
  6612. a.Material = "Neon"
  6613. a.Transparency = 0
  6614. a.Shape = "Cylinder"
  6615. a.CanCollide = false
  6616. local a2 = Instance.new("Part",Character)
  6617. a2.Name = "Direction"
  6618. a2.Anchored = true
  6619. a2.BrickColor = bc("New Yeller")
  6620. a2.Color = Color3.new(r/255,g/255,b/255)
  6621. a2.Material = "Neon"
  6622. a2.Transparency = 0.5
  6623. a2.Shape = "Cylinder"
  6624. a2.CanCollide = false
  6625. local ba = Instance.new("Part",Character)
  6626. ba.Name = "HitDirect"
  6627. ba.Anchored = true
  6628. ba.BrickColor = bc("Cool yellow")
  6629. ba.Material = "Neon"
  6630. ba.Transparency = 1
  6631. ba.CanCollide = false
  6632. local ray = Ray.new(
  6633. orb.CFrame.p, -- origin
  6634. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  6635. )
  6636. local ignore = Character
  6637. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6638. a.BottomSurface = 10
  6639. a.TopSurface = 10
  6640. a2.BottomSurface = 10
  6641. a2.TopSurface = 10
  6642. local distance = (orb.CFrame.p - position).magnitude
  6643. a.Size = Vector3.new(distance, 1, 1)
  6644. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  6645. a2.Size = Vector3.new(distance, 1, 1)
  6646. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  6647. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  6648. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  6649. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  6650. game:GetService("Debris"):AddItem(a, 20)
  6651. game:GetService("Debris"):AddItem(a2, 20)
  6652. game:GetService("Debris"):AddItem(ba, 20)
  6653. local msh = Instance.new("SpecialMesh",a)
  6654. msh.MeshType = "Cylinder"
  6655. msh.Scale = vt(1,5*5,5*5)
  6656. local msh2 = Instance.new("SpecialMesh",a2)
  6657. msh2.MeshType = "Cylinder"
  6658. msh2.Scale = vt(1,6*5,6*5)
  6659.  
  6660. for i = 0,10,0.1 do
  6661. swait()
  6662. CameraEnshaking(1,5)
  6663. a2.Color = Color3.new(r/255,g/255,b/255)
  6664. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  6665. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  6666. ray = Ray.new(
  6667. orb.CFrame.p, -- origin
  6668. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  6669. )
  6670. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6671. distance = (orb.CFrame.p - position).magnitude
  6672. if typrot == 1 then
  6673. rotation = rotation + 2.5
  6674. elseif typrot == 2 then
  6675. rotation = rotation - 2.5
  6676. end
  6677. RootPart.CFrame = FaceMouse()[1]
  6678. a.Size = Vector3.new(distance, 1, 1)
  6679. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  6680. a2.Size = Vector3.new(distance, 1, 1)
  6681. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  6682. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  6683. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  6684. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  6685. msh.Scale = msh.Scale - vt(0,0.05*5,0.05*5)
  6686. msh2.Scale = msh2.Scale - vt(0,0.06*5,0.06*5)
  6687. 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)
  6688. 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)
  6689. MagniDamage(ba, 30, 500,60000, 0, "Normal")
  6690. end
  6691. a:Destroy()
  6692. a2:Destroy()
  6693. ba:Destroy()
  6694. orb:Destroy()
  6695. orbe:Destroy()
  6696. attack = false
  6697. end
  6698. function HolyBarrier()
  6699. attack = true
  6700. for i = 0, 2, 0.1 do
  6701. swait()
  6702. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  6703. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  6704. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  6705. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.4)
  6706. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(120),math.rad(-230),math.rad(-40)),.1)
  6707. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(120),math.rad(230),math.rad(40)),.1)
  6708. end
  6709. CFuncs["Sound"].Create("rbxassetid://240429289", root, 7, 1)
  6710. stash = Instance.new("Model",workspace)
  6711. local barrier = Instance.new("Part",stash)
  6712. barrier.Anchored = true
  6713. barrier.CanCollide = false
  6714. barrier.Size = Vector3.new(20,20,20)
  6715. barrier.CFrame = root.CFrame
  6716. barrier.Transparency = 0.6
  6717. barrier.BrickColor = MAINRUINCOLOR
  6718. barrier.Material = Enum.Material.Neon
  6719. barrier.Shape = Enum.PartType.Ball
  6720. sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR)
  6721. Torso.Anchored = true
  6722. shielding = true
  6723. for i=1,50 do
  6724. local p = Instance.new("Part",stash)
  6725. p.Anchored = true
  6726. p.Transparency = 1
  6727. p.Size = Vector3.new(11,11,11)
  6728. p.CFrame = root.CFrame * CFrame.Angles(math.random(0,360),math.random(0,360),math.random(0,360))
  6729. end
  6730. end
  6731. function Judgement()
  6732. attack = true
  6733. hum.WalkSpeed = 0
  6734. local p = Instance.new("Part",root)
  6735. p.Anchored = true
  6736. p.CanCollide = false
  6737. p.BrickColor = MAINRUINCOLOR
  6738. p.Material = Enum.Material.Neon
  6739. p.Size = Vector3.new(1,1,1)
  6740. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  6741. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  6742. local m = Instance.new("SpecialMesh",p)
  6743. m.MeshType = "Cylinder"
  6744. m.Scale = Vector3.new(2000,2,2)
  6745. local targ = Instance.new("Part",root)
  6746. targ.Transparency = 1
  6747. targ.CanCollide = false
  6748. targ.Size = Vector3.new(1,1,1)
  6749. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  6750. CFuncs.Sound.Create("rbxassetid://164178927", targ, 5, 1)
  6751. CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1)
  6752. for i = 1,15 do
  6753. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  6754. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
  6755. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  6756. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  6757. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  6758. 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)
  6759. 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)
  6760. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR)
  6761. 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)
  6762. m.Scale = m.Scale+Vector3.new(0,1,1)
  6763. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  6764. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  6765. swait()
  6766. end
  6767. 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)
  6768. for i = 1,200 do
  6769. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  6770. 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)
  6771. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR)
  6772. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  6773. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  6774. MagniDamage(targ, 25, 5, 8, 0, "Normal")
  6775. swait()
  6776. end
  6777. for i =1,15 do
  6778. m.Scale = m.Scale-Vector3.new(1,1,1)
  6779. p.Transparency = i / 15
  6780. swait()
  6781. end
  6782. p:Destroy()
  6783. hum.WalkSpeed = storehumanoidWS
  6784. attack = false
  6785. end
  6786.  
  6787. function UniversalSpark()
  6788. attack = true
  6789.  
  6790. local rngb = Instance.new("Part", char)
  6791. rngb.Anchored = true
  6792. rngb.BrickColor = origcolor
  6793. rngb.CanCollide = false
  6794. rngb.FormFactor = 3
  6795. rngb.Name = "Ring"
  6796. rngb.Material = "Neon"
  6797. rngb.Size = Vector3.new(1, 0.05, 1)
  6798. rngb.Transparency = 1
  6799. rngb.TopSurface = 0
  6800. rngb.BottomSurface = 0
  6801. local rngmb = Instance.new("SpecialMesh", rngb)
  6802. rngmb.MeshType = "Brick"
  6803. rngmb.Name = "SizeMesh"
  6804. rngmb.Scale = vt(0,1,0)
  6805.  
  6806. local orb = rngb:Clone()
  6807. orb.Parent = char
  6808. orb.Transparency = 0
  6809. orb.BrickColor = BrickColor.new("Cyan")
  6810. orb.Size = vt(1,1,1)
  6811. local orbmish = orb.SizeMesh
  6812. orbmish.Scale = vt(0,0,0)
  6813. orbmish.MeshType = "Sphere"
  6814.  
  6815. local orbe = rngb:Clone()
  6816. orbe.Parent = char
  6817. orbe.Transparency = 0.5
  6818. orbe.BrickColor = BrickColor.new("New Yeller")
  6819. orbe.Size = vt(1,1,1)
  6820. local orbmish2 = orbe.SizeMesh
  6821. orbmish2.Scale = vt(0,0,0)
  6822. orbmish2.MeshType = "Sphere"
  6823. orbe.Color = Color3.new(r/255,g/255,b/255)
  6824.  
  6825. rngb:Destroy()
  6826. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  6827. local scaled = 1
  6828. for i = 0,5,0.1 do
  6829. swait()
  6830. scaled = scaled - 0.02
  6831. if rainbowmode == true then
  6832. orbe.Color = Color3.new(r/255,g/255,b/255)
  6833. end
  6834. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  6835. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  6836. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  6837. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  6838. 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)
  6839. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  6840. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  6841. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  6842. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  6843. 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)
  6844. 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)
  6845. RootPart.CFrame = FaceMouse()[1]
  6846. end
  6847. for i = 0,5,0.1 do
  6848. swait()
  6849. if rainbowmode == true then
  6850. orbe.Color = Color3.new(r/255,g/255,b/255)
  6851. end
  6852. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  6853. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  6854. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  6855. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  6856. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  6857. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  6858. 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)
  6859. 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)
  6860. RootPart.CFrame = FaceMouse()[1]
  6861. end
  6862. orbe.Transparency = 1
  6863. orb.Transparency = 1
  6864. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  6865. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  6866. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  6867. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  6868.  
  6869. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  6870. CFuncs["Sound"].Create("rbxassetid://741272936", char, 0.75, 1)
  6871. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  6872. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 0.75, 1)
  6873. CFuncs["Sound"].Create("rbxassetid://164881112", char, 0.75, 1)
  6874. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  6875. CFuncs["Sound"].Create("rbxassetid://164178927", char, 1, 1)
  6876. local xd= Instance.new("Sound",char)
  6877. xd.SoundId = "rbxassetid://445796828"
  6878. xd.Pitch = 0.75
  6879. xd.Looped = true
  6880. xd.Volume = 1.25
  6881. xd:Play()
  6882. local a = Instance.new("Part",Character)
  6883. a.Name = "Direction"
  6884. a.Anchored = true
  6885. a.BrickColor = bc("Alder")
  6886. a.Color = MAINRUINCOLOR.Color
  6887. a.Material = "Neon"
  6888. a.Transparency = 0.5
  6889. a.Shape = "Cylinder"
  6890. a.CanCollide = false
  6891. local a2 = Instance.new("Part",Character)
  6892. a2.Name = "Direction"
  6893. a2.Anchored = true
  6894. a2.BrickColor = bc("New Yeller")
  6895. a2.Color = MAINRUINCOLOR.Color
  6896. a2.Material = "Neon"
  6897. a2.Transparency = 0.5
  6898. a2.Shape = "Cylinder"
  6899. a2.CanCollide = false
  6900. local ba = Instance.new("Part",Character)
  6901. ba.Name = "HitDirect"
  6902. ba.Anchored = true
  6903. ba.BrickColor = bc("Cool yellow")
  6904. ba.Material = "Neon"
  6905. ba.Transparency = 1
  6906. ba.CanCollide = false
  6907. local ray = Ray.new(
  6908. orb.CFrame.p, -- origin
  6909. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  6910. )
  6911. local ignore = Character
  6912. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6913. a.BottomSurface = 10
  6914. a.TopSurface = 10
  6915. a2.BottomSurface = 10
  6916. a2.TopSurface = 10
  6917. local distance = (orb.CFrame.p - position).magnitude
  6918. a.Size = Vector3.new(distance, 1, 1)
  6919. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  6920. a2.Size = Vector3.new(distance, 1, 1)
  6921. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  6922. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  6923. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  6924. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  6925. game:GetService("Debris"):AddItem(a, 60)
  6926. game:GetService("Debris"):AddItem(a2, 60)
  6927. game:GetService("Debris"):AddItem(ba, 60)
  6928. local outerscale = 0
  6929. local msh = Instance.new("SpecialMesh",a)
  6930. msh.MeshType = "Cylinder"
  6931. msh.Scale = vt(0,0.2,1)
  6932. local msh2 = Instance.new("SpecialMesh",a2)
  6933. msh2.MeshType = "Cylinder"
  6934. msh2.Scale = vt(0,0.2,1)
  6935. for i = 0,2,0.1 do
  6936. swait()
  6937. CameraEnshaking(1,1)
  6938. msh2.Scale = msh2.Scale + vt(0,outerscale*20,outerscale*20)
  6939. msh.Scale = msh.Scale + vt(0,outerscale*15,outerscale*15)
  6940. outerscale = outerscale - 0.015
  6941. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  6942. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  6943. ray = Ray.new(
  6944. orb.CFrame.p, -- origin
  6945. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  6946. )
  6947. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6948. distance = (orb.CFrame.p - position).magnitude
  6949. if typrot == 1 then
  6950. rotation = rotation + 2.5
  6951. elseif typrot == 2 then
  6952. rotation = rotation - 2.5
  6953. end
  6954. RootPart.CFrame = FaceMouse()[1]
  6955. a.Size = Vector3.new(distance, 1, 1)
  6956. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  6957. a2.Size = Vector3.new(distance, 1, 1)
  6958. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  6959. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  6960. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  6961. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  6962. 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)
  6963. 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)
  6964. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  6965. end
  6966. for z = 0, 2 do
  6967. for i = 0,4,0.1 do
  6968. swait()
  6969. CameraEnshaking(1,1)
  6970. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  6971. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  6972. outerscale = outerscale + 0.015
  6973. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  6974. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  6975. ray = Ray.new(
  6976. orb.CFrame.p, -- origin
  6977. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  6978. )
  6979. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6980. distance = (orb.CFrame.p - position).magnitude
  6981. if typrot == 1 then
  6982. rotation = rotation + 2.5
  6983. elseif typrot == 2 then
  6984. rotation = rotation - 2.5
  6985. end
  6986. RootPart.CFrame = FaceMouse()[1]
  6987. a.Size = Vector3.new(distance, 1, 1)
  6988. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  6989. a2.Size = Vector3.new(distance, 1, 1)
  6990. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  6991. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  6992. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  6993. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  6994. 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)
  6995. 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)
  6996. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  6997. end
  6998. for i = 0,4,0.1 do
  6999. swait()
  7000. CameraEnshaking(1,1)
  7001. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  7002. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  7003. outerscale = outerscale - 0.015
  7004. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  7005. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  7006. ray = Ray.new(
  7007. orb.CFrame.p, -- origin
  7008. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  7009. )
  7010. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7011. distance = (orb.CFrame.p - position).magnitude
  7012. if typrot == 1 then
  7013. rotation = rotation + 2.5
  7014. elseif typrot == 2 then
  7015. rotation = rotation - 2.5
  7016. end
  7017. RootPart.CFrame = FaceMouse()[1]
  7018. a.Size = Vector3.new(distance, 1, 1)
  7019. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7020. a2.Size = Vector3.new(distance, 1, 1)
  7021. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7022. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7023. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7024. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  7025. 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)
  7026. 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)
  7027. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  7028. end
  7029. end
  7030. for i = 0,4,0.1 do
  7031. swait()
  7032. CameraEnshaking(1,1)
  7033. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  7034. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  7035. xd.Volume = xd.Volume - 0.025
  7036. a.Transparency = a.Transparency + 0.025
  7037. a2.Transparency = a2.Transparency + 0.025
  7038. outerscale = outerscale - 0.015
  7039. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  7040. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  7041. ray = Ray.new(
  7042. orb.CFrame.p, -- origin
  7043. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  7044. )
  7045. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7046. distance = (orb.CFrame.p - position).magnitude
  7047. if typrot == 1 then
  7048. rotation = rotation + 2.5
  7049. elseif typrot == 2 then
  7050. rotation = rotation - 2.5
  7051. end
  7052. RootPart.CFrame = FaceMouse()[1]
  7053. a.Size = Vector3.new(distance, 1, 1)
  7054. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7055. a2.Size = Vector3.new(distance, 1, 1)
  7056. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7057. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7058. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7059. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  7060. 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)
  7061. 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)
  7062. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  7063. end
  7064. xd:Destroy()
  7065. a:Destroy()
  7066. a2:Destroy()
  7067. ba:Destroy()
  7068. orb:Destroy()
  7069. orbe:Destroy()
  7070. attack = false
  7071. end
  7072.  
  7073.  
  7074. function resetmode()
  7075. rainbowmode = false
  7076. chaosmode = false
  7077. tl1.Enabled = false
  7078. tl2.Enabled = false
  7079. tl3.Enabled = false
  7080. ModeOfGlitch = 1
  7081. storehumanoidWS = 16
  7082. coroutine.resume(coroutine.create(function()
  7083. attack = true
  7084. hum.WalkSpeed = 0
  7085. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  7086. for i = 0,4,0.1 do
  7087. swait()
  7088. 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)
  7089. 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)),.5)
  7090. 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)),.5)
  7091. 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)),.5)
  7092. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.5)
  7093. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.5)
  7094. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.5)
  7095. end
  7096. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  7097. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  7098. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  7099. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  7100. RecolorTextAndRename(" ",Color3.new(0,0,0),Color3.new(0,0.2,1))
  7101. CameraEnshaking(5,2.5)
  7102. MAINRUINCOLOR = BrickColor.new("Lapis")
  7103. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7104. for i = 0, 49 do
  7105. 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)
  7106. end
  7107. for i = 0,3,0.1 do
  7108. 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)
  7109. end
  7110. for i, v in pairs(mw2:GetChildren()) do
  7111. if v:IsA("Part") then
  7112. v.BrickColor = BrickColor.new("Lapis")
  7113. v.Material = "Neon"
  7114. end
  7115. end
  7116. for i, v in pairs(mw1:GetChildren()) do
  7117. if v:IsA("Part") then
  7118. v.Transparency = 1
  7119. v.BrickColor = BrickColor.new("Lapis")
  7120. v.Material = "Neon"
  7121. end
  7122. end
  7123. for i, v in pairs(m:GetChildren()) do
  7124. if v:IsA("Part") then
  7125. v.BrickColor = BrickColor.new("Really black")
  7126. v.Material = "Glass"
  7127. end
  7128. end
  7129. for i, v in pairs(m2:GetChildren()) do
  7130. if v:IsA("Part") then
  7131. v.BrickColor = BrickColor.new("Lapis")
  7132. v.Material = "Neon"
  7133. end
  7134. end
  7135. for i, v in pairs(m3:GetChildren()) do
  7136. if v:IsA("Part") then
  7137. v.BrickColor = BrickColor.new("Lapis")
  7138. v.Material = "Neon"
  7139. end
  7140. end
  7141. for i, v in pairs(extrawingmod1:GetChildren()) do
  7142. if v:IsA("Part") then
  7143. v.Transparency = 1
  7144. v.BrickColor = BrickColor.new("Cyan")
  7145. v.Material = "Neon"
  7146. end
  7147. end
  7148. for i, v in pairs(extrawingmod2:GetChildren()) do
  7149. if v:IsA("Part") then
  7150. v.Transparency = 1
  7151. v.BrickColor = BrickColor.new("Cyan")
  7152. v.Material = "Neon"
  7153. end
  7154. end
  7155. for i = 0,2,0.1 do
  7156. swait()
  7157. 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)),.5)
  7158. 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)),.5)
  7159. 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)),.5)
  7160. 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))),.5)
  7161. 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))),.5)
  7162. 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))),.5)
  7163. end
  7164. hum.WalkSpeed = storehumanoidWS
  7165. attack = false
  7166. end))
  7167. newTheme("rbxassetid://661079869",48.6,1,0.3)
  7168. end
  7169.  
  7170. function attackone()
  7171. attack = true
  7172. for i = 0,1,0.1 do
  7173. swait()
  7174. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2)
  7175. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2)
  7176. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  7177. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  7178. 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)
  7179. 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)
  7180. end
  7181. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1)
  7182.  
  7183. local hitb = Instance.new("Part", char)
  7184. hitb.Anchored = true
  7185. hitb.CanCollide = false
  7186. hitb.FormFactor = 3
  7187. hitb.Name = "Ring"
  7188. hitb.Material = "Neon"
  7189. hitb.Size = Vector3.new(1, 1, 1)
  7190. hitb.Transparency = 1
  7191. hitb.TopSurface = 0
  7192. hitb.BottomSurface = 0
  7193. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  7194. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  7195. hitb:Destroy()
  7196. for i = 0,1,0.1 do
  7197. swait()
  7198. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4)
  7199. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4)
  7200. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
  7201. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
  7202. 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)
  7203. 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)
  7204. end
  7205.  
  7206. attack = false
  7207. end
  7208.  
  7209. function attacktwo()
  7210. attack = true
  7211. for i = 0,1,0.1 do
  7212. swait()
  7213. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2)
  7214. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  7215. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  7216. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  7217. 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)
  7218. 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)
  7219. end
  7220. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1)
  7221. local hitb = Instance.new("Part", char)
  7222. hitb.Anchored = true
  7223. hitb.CanCollide = false
  7224. hitb.FormFactor = 3
  7225. hitb.Name = "Ring"
  7226. hitb.Material = "Neon"
  7227. hitb.Size = Vector3.new(1, 1, 1)
  7228. hitb.Transparency = 1
  7229. hitb.TopSurface = 0
  7230. hitb.BottomSurface = 0
  7231. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  7232. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  7233. hitb:Destroy()
  7234. for i = 0,1,0.1 do
  7235. swait()
  7236. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4)
  7237. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4)
  7238. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
  7239. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
  7240. 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)
  7241. 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)
  7242. end
  7243. attack = false
  7244. end
  7245.  
  7246. function attackthree()
  7247. attack = true
  7248. for i = 0,1,0.1 do
  7249. swait()
  7250. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3)
  7251. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3)
  7252. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
  7253. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  7254. 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)
  7255. 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)
  7256. end
  7257. local distlook = 5
  7258. for i = 0, 4 do
  7259. swait(2)
  7260. CameraEnshaking(2,3)
  7261. local hite = Instance.new("Part", char)
  7262. hite.Anchored = true
  7263. hite.CanCollide = false
  7264. hite.FormFactor = 3
  7265. hite.Name = "Ring"
  7266. hite.Material = "Neon"
  7267. hite.Size = Vector3.new(1, 1, 1)
  7268. hite.Transparency = 1
  7269. hite.TopSurface = 0
  7270. hite.BottomSurface = 0
  7271. hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook
  7272. sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR)
  7273. sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR)
  7274. MagniDamage(hite, 10, 15,35, 0, "Normal")
  7275. for i = 0, 2 do
  7276. 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)
  7277. 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)
  7278. 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)
  7279. end
  7280. CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1)
  7281. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6)
  7282. game:GetService("Debris"):AddItem(hite, 5)
  7283. distlook = distlook + 10
  7284. end
  7285. attack = false
  7286. end
  7287.  
  7288. local ActiveGia = false
  7289. function THEHELLITSTHATBIG()
  7290. ActiveGia = true
  7291. attack = true
  7292. hum.WalkSpeed = 0
  7293. for i = 0,2,0.1 do
  7294. swait()
  7295. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
  7296. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  7297. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  7298. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  7299. 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)
  7300. 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)
  7301. end
  7302. for i = 0,1,0.1 do
  7303. torsweld.C1=clerp(torsweld.C1,cf(0,5*4,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  7304. larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),1)
  7305. rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),1)
  7306. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  7307. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  7308. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),1)
  7309. end
  7310. CFuncs["Sound"].Create("rbxassetid://528589382", sectors, 5, 1)
  7311. secrleg.Transparency = 0.5
  7312. seclleg.Transparency = 0.5
  7313. secrarm.Transparency = 0.5
  7314. seclarm.Transparency = 0.5
  7315. seched.Transparency = 0.5
  7316. sectors.Transparency = 0.5
  7317. for i = 0,25,0.1 do
  7318. swait()
  7319. PixelBlockNeg(1,math.random(1,5),"Add",sectors.CFrame*CFrame.new(math.random(-25,25),0,math.random(-25,25))*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.1,MAINRUINCOLOR,-10)
  7320. torsweld.C1=clerp(torsweld.C1,cf(0,-2 + 0.25 * math.cos(sine / 32) ,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.025)
  7321. larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),0.025)
  7322. rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),0.025)
  7323. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  7324. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  7325. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0.2)*angles(math.rad(-10),math.rad(0),math.rad(0)),0.025)
  7326. end
  7327. secrleg.Transparency = 1
  7328. seclleg.Transparency = 1
  7329. secrarm.Transparency = 1
  7330. seclarm.Transparency = 1
  7331. seched.Transparency = 1
  7332. sectors.Transparency = 1
  7333. torsweld.Part0 = root
  7334. hum.WalkSpeed = storehumanoidWS
  7335. attack = false
  7336. end
  7337.  
  7338. function removelol()
  7339. ActiveGia = false
  7340. attack = true
  7341. hum.WalkSpeed = 0
  7342. for i = 0,2,0.1 do
  7343. swait()
  7344. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
  7345. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  7346. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  7347. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  7348. 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)
  7349. 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)
  7350. end
  7351. CFuncs["Sound"].Create("rbxassetid://528589274", sectors, 5, 1)
  7352. for i = 0,25,0.1 do
  7353. swait()
  7354. secrleg.Transparency = secrleg.Transparency + 0.00225
  7355. seclleg.Transparency = secrleg.Transparency
  7356. secrarm.Transparency = secrleg.Transparency
  7357. seclarm.Transparency = secrleg.Transparency
  7358. seched.Transparency = secrleg.Transparency
  7359. sectors.Transparency = secrleg.Transparency
  7360. PixelBlockNeg(1,math.random(1,5),"Add",sectors.CFrame*CFrame.new(math.random(-25,25),0,math.random(-25,25))*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.1,MAINRUINCOLOR,-10)
  7361. torsweld.C1=clerp(torsweld.C1,cf(0,-2 + 0.25 * math.cos(sine / 32) ,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.025)
  7362. larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(20),math.rad(0),math.rad(20)),0.025)
  7363. rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(20),math.rad(0),math.rad(-20)),0.025)
  7364. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  7365. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  7366. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0.2)*angles(math.rad(-10),math.rad(0),math.rad(0)),0.025)
  7367. end
  7368. CFuncs["Sound"].Create("rbxassetid://468991944", sectors, 10, 1)
  7369. sphere(1,"Add",sectors.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7370. sphere(2,"Add",sectors.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7371. sphere(3,"Add",sectors.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7372. secrleg.Transparency = 1
  7373. seclleg.Transparency = 1
  7374. secrarm.Transparency = 1
  7375. seclarm.Transparency = 1
  7376. seched.Transparency = 1
  7377. sectors.Transparency = 1
  7378. torsweld.Part0 = root
  7379. hum.WalkSpeed = storehumanoidWS
  7380. attack = false
  7381. end
  7382.  
  7383. function FinalCalamity()
  7384. end
  7385.  
  7386. local attacktype = 1
  7387. mouse.Button1Down:connect(function()
  7388. if attack == false and attacktype == 1 then
  7389. attacktype = 2
  7390. attackone()
  7391. elseif attack == false and attacktype == 2 then
  7392. attacktype = 3
  7393. attacktwo()
  7394. elseif attack == false and attacktype == 3 then
  7395. attacktype = 1
  7396. attackthree()
  7397. elseif attack == false and attacktype == 4 then
  7398. attacktype = 1
  7399. --attackfour()
  7400. end
  7401. end)
  7402. mouse.KeyDown:connect(function(k)
  7403. if k == "|" and attack == false and ModeOfGlitch ~= 2 then
  7404. ModeOfGlitch = 2
  7405. storehumanoidWS = 16
  7406. hum.WalkSpeed = 16
  7407. rainbowmode = false
  7408. chaosmode = false
  7409. tl1.Enabled = false
  7410. tl2.Enabled = false
  7411. tl3.Enabled = false
  7412. RecolorTextAndRename("Purity",Color3.new(1,1,1),Color3.new(0,1,1))
  7413. newTheme("rbxassetid://1523462000",0,1,0.3)
  7414. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  7415. for i, v in pairs(mw2:GetChildren()) do
  7416. if v:IsA("Part") then
  7417. v.BrickColor = MAINRUINCOLOR
  7418. v.Material = "Neon"
  7419. end
  7420. end
  7421. for i, v in pairs(mw1:GetChildren()) do
  7422. if v:IsA("Part") then
  7423. v.Transparency = 1
  7424. v.BrickColor = MAINRUINCOLOR
  7425. v.Material = "Neon"
  7426. end
  7427. end
  7428. for i, v in pairs(m:GetChildren()) do
  7429. if v:IsA("Part") then
  7430. v.BrickColor = BrickColor.new("Cyan")
  7431. v.Material = "Neon"
  7432. end
  7433. end
  7434. for i, v in pairs(m2:GetChildren()) do
  7435. if v:IsA("Part") then
  7436. v.BrickColor = BrickColor.new("Pastel light blue")
  7437. v.Material = "Neon"
  7438. end
  7439. end
  7440. for i, v in pairs(m3:GetChildren()) do
  7441. if v:IsA("Part") then
  7442. v.BrickColor = BrickColor.new("Toothpaste")
  7443. v.Material = "Neon"
  7444. end
  7445. end
  7446. for i, v in pairs(extrawingmod1:GetChildren()) do
  7447. if v:IsA("Part") then
  7448. v.Transparency = 1
  7449. v.BrickColor = BrickColor.new("Cyan")
  7450. v.Material = "Neon"
  7451. end
  7452. end
  7453. for i, v in pairs(extrawingmod2:GetChildren()) do
  7454. if v:IsA("Part") then
  7455. v.Transparency = 1
  7456. v.BrickColor = BrickColor.new("Cyan")
  7457. v.Material = "Neon"
  7458. end
  7459. end
  7460. elseif k == "|" and attack == false and ModeOfGlitch == 2 then
  7461. resetmode()
  7462. end
  7463. if k == "|" and attack == false and ModeOfGlitch ~= 3 then
  7464. ModeOfGlitch = 3
  7465. storehumanoidWS = 16
  7466. hum.WalkSpeed = 16
  7467. rainbowmode = false
  7468. chaosmode = false
  7469. tl1.Enabled = false
  7470. tl2.Enabled = false
  7471. tl3.Enabled = false
  7472. RecolorTextAndRename("Corruption",Color3.new(0,0,0),Color3.new(0.35,0,1))
  7473. newTheme("rbxassetid://261807692",58.15,0.98,1.25)
  7474. MAINRUINCOLOR = BrickColor.new("Royal purple")
  7475. for i, v in pairs(mw2:GetChildren()) do
  7476. if v:IsA("Part") then
  7477. v.BrickColor = MAINRUINCOLOR
  7478. v.Material = "Neon"
  7479. end
  7480. end
  7481. for i, v in pairs(mw1:GetChildren()) do
  7482. if v:IsA("Part") then
  7483. v.Transparency = 1
  7484. v.BrickColor = MAINRUINCOLOR
  7485. v.Material = "Neon"
  7486. end
  7487. end
  7488. for i, v in pairs(m:GetChildren()) do
  7489. if v:IsA("Part") then
  7490. v.BrickColor = BrickColor.new("Black")
  7491. v.Material = "Neon"
  7492. end
  7493. end
  7494. for i, v in pairs(m2:GetChildren()) do
  7495. if v:IsA("Part") then
  7496. v.BrickColor = BrickColor.new("Dark indigo")
  7497. v.Material = "Neon"
  7498. end
  7499. end
  7500. for i, v in pairs(m3:GetChildren()) do
  7501. if v:IsA("Part") then
  7502. v.BrickColor = BrickColor.new("Royal purple")
  7503. v.Material = "Neon"
  7504. end
  7505. end
  7506. for i, v in pairs(extrawingmod1:GetChildren()) do
  7507. if v:IsA("Part") then
  7508. v.Transparency = 1
  7509. v.BrickColor = BrickColor.new("Cyan")
  7510. v.Material = "Neon"
  7511. end
  7512. end
  7513. for i, v in pairs(extrawingmod2:GetChildren()) do
  7514. if v:IsA("Part") then
  7515. v.Transparency = 1
  7516. v.BrickColor = BrickColor.new("Cyan")
  7517. v.Material = "Neon"
  7518. end
  7519. end
  7520. elseif k == "|" and attack == false and ModeOfGlitch == 3 then
  7521. resetmode()
  7522. end
  7523. if k == "|" and attack == false and ModeOfGlitch ~= 4 then
  7524. ModeOfGlitch = 4
  7525. storehumanoidWS = 16
  7526. hum.WalkSpeed = 16
  7527. rainbowmode = false
  7528. chaosmode = true
  7529. tl1.Enabled = true
  7530. tl2.Enabled = true
  7531. tl3.Enabled = true
  7532. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.new("Lapis").Color)
  7533. newTheme("rbxassetid://1117727239",0,1,1)
  7534. MAINRUINCOLOR = BrickColor.new("Black")
  7535. for i, v in pairs(mw2:GetChildren()) do
  7536. if v:IsA("Part") then
  7537. v.BrickColor = MAINRUINCOLOR
  7538. v.Material = "Neon"
  7539. end
  7540. end
  7541. for i, v in pairs(mw1:GetChildren()) do
  7542. if v:IsA("Part") then
  7543. v.Transparency = 0.75
  7544. v.BrickColor = BrickColor.new("Lapis")
  7545. v.Material = "Neon"
  7546. end
  7547. end
  7548. for i, v in pairs(m:GetChildren()) do
  7549. if v:IsA("Part") then
  7550. v.BrickColor = BrickColor.new("Black")
  7551. v.Material = "Neon"
  7552. end
  7553. end
  7554. for i, v in pairs(m2:GetChildren()) do
  7555. if v:IsA("Part") then
  7556. v.BrickColor = BrickColor.new("Lapis")
  7557. v.Material = "Neon"
  7558. end
  7559. end
  7560. for i, v in pairs(m3:GetChildren()) do
  7561. if v:IsA("Part") then
  7562. v.BrickColor = BrickColor.new("Black")
  7563. v.Material = "Neon"
  7564. end
  7565. end
  7566. for i, v in pairs(extrawingmod1:GetChildren()) do
  7567. if v:IsA("Part") then
  7568. v.Transparency = 1
  7569. v.BrickColor = BrickColor.new("Cyan")
  7570. v.Material = "Neon"
  7571. end
  7572. end
  7573. for i, v in pairs(extrawingmod2:GetChildren()) do
  7574. if v:IsA("Part") then
  7575. v.Transparency = 1
  7576. v.BrickColor = BrickColor.new("Cyan")
  7577. v.Material = "Neon"
  7578. end
  7579. end
  7580. elseif k == "|" and attack == false and ModeOfGlitch == 4 then
  7581. resetmode()
  7582. end
  7583. if k == "|" and attack == false and ModeOfGlitch ~= 5 then
  7584. ModeOfGlitch = 5
  7585. storehumanoidWS = 16
  7586. hum.WalkSpeed = 16
  7587. rainbowmode = false
  7588. chaosmode = false
  7589. tl1.Enabled = true
  7590. tl2.Enabled = true
  7591. tl3.Enabled = true
  7592. RecolorTextAndRename(" ",Color3.new(1,1,1),Color3.new(1,1,0.5))
  7593. newTheme("rbxassetid://661079869",0,1.02,1)
  7594. MAINRUINCOLOR = BrickColor.new("Lapis")
  7595. for i, v in pairs(mw2:GetChildren()) do
  7596. if v:IsA("Part") then
  7597. v.BrickColor = MAINRUINCOLOR
  7598. v.Material = "Neon"
  7599. end
  7600. end
  7601. for i, v in pairs(mw1:GetChildren()) do
  7602. if v:IsA("Part") then
  7603. v.Transparency = 0
  7604. v.BrickColor = MAINRUINCOLOR
  7605. v.Material = "Neon"
  7606. end
  7607. end
  7608. for i, v in pairs(m:GetChildren()) do
  7609. if v:IsA("Part") then
  7610. v.BrickColor = BrickColor.new("Cool yellow")
  7611. v.Material = "Neon"
  7612. end
  7613. end
  7614. for i, v in pairs(m2:GetChildren()) do
  7615. if v:IsA("Part") then
  7616. v.BrickColor = BrickColor.new("Lapis")
  7617. v.Material = "Neon"
  7618. end
  7619. end
  7620. for i, v in pairs(m3:GetChildren()) do
  7621. if v:IsA("Part") then
  7622. v.BrickColor = BrickColor.new("Lapis")
  7623. v.Material = "Neon"
  7624. end
  7625. end
  7626. for i, v in pairs(extrawingmod1:GetChildren()) do
  7627. if v:IsA("Part") then
  7628. v.Transparency = 1
  7629. v.BrickColor = BrickColor.new("Cyan")
  7630. v.Material = "Neon"
  7631. end
  7632. end
  7633. for i, v in pairs(extrawingmod2:GetChildren()) do
  7634. if v:IsA("Part") then
  7635. v.Transparency = 1
  7636. v.BrickColor = BrickColor.new("Cyan")
  7637. v.Material = "Neon"
  7638. end
  7639. end
  7640. elseif k == "|" and attack == false and ModeOfGlitch == 5 then
  7641. resetmode()
  7642. end
  7643. if k == "|" and attack == false and ModeOfGlitch ~= 6 then
  7644. ModeOfGlitch = 6
  7645. storehumanoidWS = 75
  7646. hum.WalkSpeed = 75
  7647. rainbowmode = false
  7648. chaosmode = false
  7649. tl1.Enabled = true
  7650. tl2.Enabled = true
  7651. tl3.Enabled = true
  7652. RecolorTextAndRename("Equinox",Color3.new(0,0,0),Color3.new(1,1,1))
  7653. newTheme("rbxassetid://239618330",0,1,1)
  7654. MAINRUINCOLOR = BrickColor.new("Cyan")
  7655. for i, v in pairs(mw2:GetChildren()) do
  7656. if v:IsA("Part") then
  7657. v.BrickColor = MAINRUINCOLOR
  7658. v.Material = "Neon"
  7659. end
  7660. end
  7661. for i, v in pairs(mw1:GetChildren()) do
  7662. if v:IsA("Part") then
  7663. v.Transparency = 0
  7664. v.BrickColor = MAINRUINCOLOR
  7665. v.Material = "Neon"
  7666. end
  7667. end
  7668. for i, v in pairs(m:GetChildren()) do
  7669. if v:IsA("Part") then
  7670. v.BrickColor = BrickColor.new("Cyan")
  7671. v.Material = "Neon"
  7672. end
  7673. end
  7674. for i, v in pairs(m2:GetChildren()) do
  7675. if v:IsA("Part") then
  7676. v.BrickColor = BrickColor.new("Really black")
  7677. v.Material = "Neon"
  7678. end
  7679. end
  7680. for i, v in pairs(m3:GetChildren()) do
  7681. if v:IsA("Part") then
  7682. v.BrickColor = BrickColor.new("Cyan")
  7683. v.Material = "Neon"
  7684. end
  7685. end
  7686. for i, v in pairs(extrawingmod1:GetChildren()) do
  7687. if v:IsA("Part") then
  7688. v.Transparency = 1
  7689. v.BrickColor = BrickColor.new("Cyan")
  7690. v.Material = "Neon"
  7691. end
  7692. end
  7693. for i, v in pairs(extrawingmod2:GetChildren()) do
  7694. if v:IsA("Part") then
  7695. v.Transparency = 1
  7696. v.BrickColor = BrickColor.new("Cyan")
  7697. v.Material = "Neon"
  7698. end
  7699. end
  7700. elseif k == "|" and attack == false and ModeOfGlitch == 6 then
  7701. resetmode()
  7702. end
  7703. if k == "|" and attack == false and ModeOfGlitch ~= 6127843 then
  7704. ModeOfGlitch = 6127843
  7705. storehumanoidWS = 50
  7706. hum.WalkSpeed = 50
  7707. rainbowmode = true
  7708. chaosmode = false
  7709. tl1.Enabled = true
  7710. tl2.Enabled = true
  7711. tl3.Enabled = true
  7712. RecolorTextAndRename("RAINBOW",Color3.new(1,1,1),Color3.new(1,1,1))
  7713. newTheme("rbxassetid://1563725999",0,1,1)
  7714. MAINRUINCOLOR = BrickColor.new("Cyan")
  7715. for i, v in pairs(mw2:GetChildren()) do
  7716. if v:IsA("Part") then
  7717. v.BrickColor = MAINRUINCOLOR
  7718. v.Material = "Neon"
  7719. end
  7720. end
  7721. for i, v in pairs(mw1:GetChildren()) do
  7722. if v:IsA("Part") then
  7723. v.Transparency = 0
  7724. v.BrickColor = MAINRUINCOLOR
  7725. v.Material = "Neon"
  7726. end
  7727. end
  7728. for i, v in pairs(m:GetChildren()) do
  7729. if v:IsA("Part") then
  7730. v.BrickColor = BrickColor.new("Cyan")
  7731. v.Material = "Neon"
  7732. end
  7733. end
  7734. for i, v in pairs(m2:GetChildren()) do
  7735. if v:IsA("Part") then
  7736. v.BrickColor = BrickColor.new("Cyan")
  7737. v.Material = "Neon"
  7738. end
  7739. end
  7740. for i, v in pairs(m3:GetChildren()) do
  7741. if v:IsA("Part") then
  7742. v.BrickColor = BrickColor.new("Cyan")
  7743. v.Material = "Neon"
  7744. end
  7745. end
  7746. for i, v in pairs(extrawingmod1:GetChildren()) do
  7747. if v:IsA("Part") then
  7748. v.Transparency = 1
  7749. v.BrickColor = BrickColor.new("Cyan")
  7750. v.Material = "Neon"
  7751. end
  7752. end
  7753. for i, v in pairs(extrawingmod2:GetChildren()) do
  7754. if v:IsA("Part") then
  7755. v.Transparency = 1
  7756. v.BrickColor = BrickColor.new("Cyan")
  7757. v.Material = "Neon"
  7758. end
  7759. end
  7760. elseif k == "|" and attack == false and ModeOfGlitch == 6127843 then
  7761. resetmode()
  7762. end
  7763. if k == "|" and attack == false and ModeOfGlitch ~= 1000000 then
  7764. ModeOfGlitch = 1000000
  7765. storehumanoidWS = 100
  7766. hum.WalkSpeed = 100
  7767. rainbowmode = false
  7768. chaosmode = false
  7769. tl1.Enabled = true
  7770. tl2.Enabled = true
  7771. tl3.Enabled = true
  7772. RecolorTextAndRename("CALAMITY",Color3.new(0.25,0,1),Color3.new(0.5,0,1))
  7773. newTheme("rbxassetid://1568123157",0,1,1)
  7774. MAINRUINCOLOR = BrickColor.new("Bright violet")
  7775. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7776. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7777. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7778. for i, v in pairs(mw2:GetChildren()) do
  7779. if v:IsA("Part") then
  7780. v.BrickColor = MAINRUINCOLOR
  7781. v.Material = "Neon"
  7782. end
  7783. end
  7784. for i, v in pairs(mw1:GetChildren()) do
  7785. if v:IsA("Part") then
  7786. v.Transparency = 0
  7787. v.BrickColor = MAINRUINCOLOR
  7788. v.Material = "Neon"
  7789. end
  7790. end
  7791. for i, v in pairs(m:GetChildren()) do
  7792. if v:IsA("Part") then
  7793. v.Color = Color3.new(0.5,0,1)
  7794. v.Material = "Neon"
  7795. end
  7796. end
  7797. for i, v in pairs(m2:GetChildren()) do
  7798. if v:IsA("Part") then
  7799. v.Color = Color3.new(0.25,0,1)
  7800. v.Material = "Neon"
  7801. end
  7802. end
  7803. for i, v in pairs(m3:GetChildren()) do
  7804. if v:IsA("Part") then
  7805. v.Color = Color3.new(0.45,0,1)
  7806. v.Material = "Neon"
  7807. end
  7808. end
  7809. for i, v in pairs(extrawingmod1:GetChildren()) do
  7810. if v:IsA("Part") then
  7811. v.Transparency = 0.75
  7812. v.Color = Color3.new(0.25,0,1)
  7813. v.Material = "Neon"
  7814. end
  7815. end
  7816. for i, v in pairs(extrawingmod2:GetChildren()) do
  7817. if v:IsA("Part") then
  7818. v.Transparency = 0.75
  7819. v.Color = Color3.new(0.5,0,1)
  7820. v.Material = "Neon"
  7821. end
  7822. end
  7823. elseif k == "|" and attack == false and ModeOfGlitch == 1000000 then
  7824. resetmode()
  7825. end
  7826. if k == "|" and attack == false and ModeOfGlitch == 1000000 and ModeOfGlitch ~= 12345678987654321 then
  7827. newThemeCust("rbxassetid://1614838208",0,1,1)
  7828. attack = true
  7829. hum.WalkSpeed = 0
  7830. MAINRUINCOLOR = BrickColor.new("Royal purple")
  7831. for i = 0, 24, 0.1 do
  7832. swait()
  7833. 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)
  7834. 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)
  7835. 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)
  7836. 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)
  7837. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  7838. 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)
  7839. 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)
  7840. end
  7841. CameraEnshaking(1,1)
  7842. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  7843. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  7844. wait(0.55)
  7845. CameraEnshaking(1,2)
  7846. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  7847. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  7848. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  7849. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  7850. wait(0.55)
  7851. CameraEnshaking(1,3)
  7852. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  7853. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  7854. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  7855. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  7856. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  7857. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  7858. wait(0.55)
  7859. CameraEnshaking(10,5)
  7860. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  7861. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  7862. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  7863. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  7864. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
  7865. sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7866. sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
  7867. sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
  7868. sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
  7869. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  7870. sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
  7871. sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
  7872. sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  7873. sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
  7874. sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
  7875. for i = 0, 49 do
  7876. 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)
  7877. 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)
  7878. 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)
  7879. 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)
  7880. end
  7881. ModeOfGlitch = 12345678987654321
  7882. storehumanoidWS = 200
  7883. hum.WalkSpeed = 200
  7884. rainbowmode = false
  7885. chaosmode = false
  7886. tl1.Enabled = true
  7887. tl2.Enabled = true
  7888. tl3.Enabled = true
  7889. RecolorTextAndRename("CATASTROPHE",Color3.new(0.5,0,1),Color3.new(0.75,0,1))
  7890. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7891. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7892. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7893. for i, v in pairs(mw2:GetChildren()) do
  7894. if v:IsA("Part") then
  7895. v.BrickColor = MAINRUINCOLOR
  7896. v.Material = "Neon"
  7897. end
  7898. end
  7899. for i, v in pairs(mw1:GetChildren()) do
  7900. if v:IsA("Part") then
  7901. v.Transparency = 0
  7902. v.BrickColor = MAINRUINCOLOR
  7903. v.Material = "Neon"
  7904. end
  7905. end
  7906. for i, v in pairs(m:GetChildren()) do
  7907. if v:IsA("Part") then
  7908. v.Color = Color3.new(0.5,0,1)
  7909. v.Material = "Neon"
  7910. end
  7911. end
  7912. for i, v in pairs(m2:GetChildren()) do
  7913. if v:IsA("Part") then
  7914. v.Color = Color3.new(0.5,0,1)
  7915. v.Material = "Neon"
  7916. end
  7917. end
  7918. for i, v in pairs(m3:GetChildren()) do
  7919. if v:IsA("Part") then
  7920. v.Color = Color3.new(0.5,0,1)
  7921. v.Material = "Neon"
  7922. end
  7923. end
  7924. for i, v in pairs(extrawingmod1:GetChildren()) do
  7925. if v:IsA("Part") then
  7926. v.Transparency = 0
  7927. v.Color = Color3.new(0.5,0,1)
  7928. v.Material = "Neon"
  7929. end
  7930. end
  7931. for i, v in pairs(extrawingmod2:GetChildren()) do
  7932. if v:IsA("Part") then
  7933. v.Transparency = 0
  7934. v.Color = Color3.new(0.5,0,1)
  7935. v.Material = "Neon"
  7936. end
  7937. attack = false
  7938. end
  7939. elseif k == "|" and attack == false and ModeOfGlitch == 12345678987654321 then
  7940. resetmode()
  7941. end
  7942. if k == "f" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 666 then
  7943. newTheme("rbxassetid://661079869",1,1,1)
  7944. attack = true
  7945. hum.WalkSpeed = 0
  7946. MAINRUINCOLOR = BrickColor.new("Lapis")
  7947. for i = 0, 24, 0.1 do
  7948. swait()
  7949. 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)
  7950. 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)
  7951. 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)
  7952. 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)
  7953. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  7954. 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)
  7955. 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)
  7956. end
  7957. CameraEnshaking(1,1)
  7958. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  7959. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  7960. wait(0.55)
  7961. CameraEnshaking(1,2)
  7962. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  7963. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  7964. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  7965. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  7966. wait(0.55)
  7967. CameraEnshaking(1,3)
  7968. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  7969. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  7970. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  7971. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  7972. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  7973. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  7974. wait(0.55)
  7975. CameraEnshaking(10,5)
  7976. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  7977. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  7978. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  7979. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  7980. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
  7981. sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7982. sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
  7983. sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
  7984. sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
  7985. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  7986. sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
  7987. sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
  7988. sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  7989. sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
  7990. sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
  7991. for i = 0, 49 do
  7992. 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)
  7993. 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)
  7994. 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)
  7995. 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)
  7996. end
  7997. ModeOfGlitch = 666
  7998. storehumanoidWS = 16
  7999. hum.WalkSpeed = 16
  8000. rainbowmode = false
  8001. chaosmode = false
  8002. tl1.Enabled = true
  8003. tl2.Enabled = true
  8004. tl3.Enabled = true
  8005. RecolorTextAndRename(" ",Color3.new(0,0.2,1),Color3.new(0,0,0))
  8006. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8007. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8008. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8009. for i, v in pairs(mw2:GetChildren()) do
  8010. if v:IsA("Part") then
  8011. v.BrickColor = MAINRUINCOLOR
  8012. v.Material = "Neon"
  8013. end
  8014. end
  8015. for i, v in pairs(mw1:GetChildren()) do
  8016. if v:IsA("Part") then
  8017. v.Transparency = 0
  8018. v.BrickColor = MAINRUINCOLOR
  8019. v.Material = "Neon"
  8020. end
  8021. end
  8022. for i, v in pairs(m:GetChildren()) do
  8023. if v:IsA("Part") then
  8024. v.Color = Color3.new(0,0.2,1)
  8025. v.Material = "Neon"
  8026. end
  8027. end
  8028. for i, v in pairs(m2:GetChildren()) do
  8029. if v:IsA("Part") then
  8030. v.Color = Color3.new(0,0.2,1)
  8031. v.Material = "Neon"
  8032. end
  8033. end
  8034. for i, v in pairs(m3:GetChildren()) do
  8035. if v:IsA("Part") then
  8036. v.Color = Color3.new(0,0.2,1)
  8037. v.Material = "Neon"
  8038. end
  8039. end
  8040. for i, v in pairs(extrawingmod1:GetChildren()) do
  8041. if v:IsA("Part") then
  8042. v.Transparency = 0
  8043. v.Color = Color3.new(0,0.2,1)
  8044. v.Material = "Neon"
  8045. end
  8046. end
  8047. for i, v in pairs(extrawingmod2:GetChildren()) do
  8048. if v:IsA("Part") then
  8049. v.Transparency = 0
  8050. v.Color = Color3.new(0,0.2,1)
  8051. v.Material = "Neon"
  8052. end
  8053. attack = false
  8054. end
  8055. elseif k == "f" and attack == false and ModeOfGlitch == 666 then
  8056. resetmode()
  8057. end
  8058. if k == "l" and toggleTag == false then
  8059. toggleTag = true
  8060. text.TextTransparency = 0
  8061. text.TextStrokeTransparency = 0
  8062. elseif k == "l" and toggleTag == true then
  8063. toggleTag = false
  8064. text.TextTransparency = 1
  8065. text.TextStrokeTransparency = 1
  8066. end
  8067. if k == "r" and attack == false and ModeOfGlitch == 666 then
  8068. ExtinctiveHeartbreak()
  8069. elseif k == "q" and attack == false and ModeOfGlitch == 2 then
  8070. PureBomb()
  8071. elseif k == "q" and attack == false and ModeOfGlitch == 3 then
  8072. scattercorrupt()
  8073. elseif k == "q" and attack == false and ModeOfGlitch == 4 then
  8074. ChaosGroundStrike()
  8075. elseif k == "q" and attack == false and ModeOfGlitch == 1 then
  8076. Judgement()
  8077. elseif k == "e" and attack == false and ModeOfGlitch == 1 then
  8078. HolyBarrier()
  8079. elseif k == "q" and attack == false and ModeOfGlitch == 1000000 then
  8080. Starfall()
  8081. elseif k == "q" and attack == false and ModeOfGlitch == 6 then
  8082. yinyangi()
  8083. elseif k == "e" and attack == false and ModeOfGlitch == 6 then
  8084. test()
  8085. elseif k == "q" and attack == false and ModeOfGlitch == 6127843 then
  8086. Wip()
  8087. elseif k == "q" and attack == false and ModeOfGlitch == 12345678987654321 then
  8088. StarfallEX()
  8089. elseif k == "r" and attack == false and ModeOfGlitch == 12345678987654321 then
  8090. FinalCalam()
  8091. end
  8092. if k == "n" and attack == false then
  8093. Blink()
  8094. elseif k == "e" and attack == false and ModeOfGlitch == 1000000 then
  8095. StarDivision()
  8096. end
  8097. if k == "t" and attack == false and ModeOfGlitch == 12345678987654321 then
  8098. UniversalCollapse()
  8099. end
  8100. if k == "k" and attack == false and ModeOfGlitch == 666 and hum.WalkSpeed < 200 then
  8101. hum.WalkSpeed = 16 + 184
  8102. elseif k == "k" and attack == false and ModeOfGlitch == 666 and hum.WalkSpeed == 200 then
  8103. hum.WalkSpeed = 200 - 184
  8104. end
  8105. if k == "e" and attack == false and ModeOfGlitch == 12345678987654321 then
  8106. UniversalSpark()
  8107. end
  8108. if k == "q" and attack == false and ModeOfGlitch == 666 then
  8109. StarDivision()
  8110. end
  8111. if k == "e" and attack == false and ModeOfGlitch == 666 then
  8112. Starfall()
  8113. end
  8114. if k == "t" and attack == false and ModeOfGlitch == 666 then
  8115. ChaosBegone()
  8116. elseif k == "|" and attack == false and ModeOfGlitch == 666 and ActiveGia == false then
  8117. THEHELLITSTHATBIG()
  8118. elseif k == "|" and attack == false and ModeOfGlitch == 666 and ActiveGia == true then
  8119. removelol()
  8120. end
  8121. end)
  8122. mouse.KeyUp:connect(function(k)
  8123. if k == "e" and ModeOfGlitch == 1 then
  8124. stash:Remove()
  8125. attack = false
  8126. Torso.Anchored = false
  8127. shielding = false
  8128. sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR)
  8129. end
  8130. end)
  8131. coroutine.resume(coroutine.create(function()
  8132. while true do
  8133. swait(2)
  8134. if rainbowmode == true or ModeOfGlitch == 6 then
  8135. if eff == true then
  8136. 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)
  8137. end
  8138. end
  8139. end
  8140. end))
  8141. coroutine.resume(coroutine.create(function()
  8142. while true do
  8143. swait(2)
  8144. if shielding == true then
  8145. 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("Cyan"),0)
  8146. end
  8147. end
  8148. end))
  8149.  
  8150.  
  8151. coroutine.resume(coroutine.create(function()
  8152. while true do
  8153. if ModeOfGlitch == 1000000 then
  8154. swait(0.5)
  8155. end
  8156. swait()
  8157. if ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then
  8158. 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)
  8159. end
  8160. if ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then
  8161. 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)
  8162. end
  8163. end
  8164. end))
  8165.  
  8166.  
  8167. coroutine.resume(coroutine.create(function()
  8168. while true do
  8169. swait(2)
  8170. if chaosmode == true then
  8171. tl1.Color = ColorSequence.new(BrickColor.new("Lapis").Color)
  8172. tl2.Color = ColorSequence.new(BrickColor.new("Lapis").Color)
  8173. tl3.Color = ColorSequence.new(BrickColor.new("Lapis").Color)
  8174. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.new("Lapis").Color)
  8175. for i, v in pairs(mw1:GetChildren()) do
  8176. if v:IsA("Part") then
  8177. v.Transparency = 0.75
  8178. v.BrickColor = BrickColor.new("Lapis")
  8179. v.Material = "Neon"
  8180. end
  8181. end
  8182. for i, v in pairs(m2:GetChildren()) do
  8183. if v:IsA("Part") then
  8184. v.BrickColor = BrickColor.new("Lapis")
  8185. v.Material = "Neon"
  8186. end
  8187. end
  8188. for i, v in pairs(secondchar:GetChildren()) do
  8189. if v:IsA("Part") then
  8190. v.BrickColor = BrickColor.new("Lapis")
  8191. v.Material = "Neon"
  8192. end
  8193. end
  8194. end
  8195. end
  8196. end))
  8197. Humanoid.Name = "STARGLITCHER"
  8198. Humanoid.MaxHealth = math.huge
  8199. Humanoid.Health = math.huge
  8200. Instance.new("ForceField",char).Visible = false
  8201. Humanoid.Animator.Parent = nil
  8202. idleanim=.4
  8203. while true do
  8204. if rainbowmode == false then
  8205. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8206. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8207. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8208. for i, v in pairs(secondchar:GetChildren()) do
  8209. if v:IsA("Part") then
  8210. v.BrickColor = MAINRUINCOLOR
  8211. v.Material = "Neon"
  8212. end
  8213. end
  8214. if chaosmode == false then
  8215. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8216. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8217. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8218. for i, v in pairs(secondchar:GetChildren()) do
  8219. if v:IsA("Part") then
  8220. v.BrickColor = MAINRUINCOLOR
  8221. v.Material = "Neon"
  8222. end
  8223. end
  8224. end
  8225. end
  8226. if rainbowmode == true then
  8227. RecolorTextAndRename("RAINBOW",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
  8228. MAINRUINCOLOR = BrickColor.new("Cyan")
  8229. tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8230. tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8231. tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8232. tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8233. tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8234. tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8235. for i, v in pairs(m:GetChildren()) do
  8236. if v:IsA("Part") then
  8237. v.Color = Color3.new(r/255,g/255,b/255)
  8238. end
  8239. end
  8240. for i, v in pairs(m2:GetChildren()) do
  8241. if v:IsA("Part") then
  8242. v.Color = Color3.new(r/255,g/255,b/255)
  8243. end
  8244. end
  8245. for i, v in pairs(secondchar:GetChildren()) do
  8246. if v:IsA("Part") then
  8247. v.Color = Color3.new(r/255,g/255,b/255)
  8248. v.Material = "Neon"
  8249. end
  8250. end
  8251. for i, v in pairs(m3:GetChildren()) do
  8252. if v:IsA("Part") then
  8253. v.Color = Color3.new(r/255,g/255,b/255)
  8254. end
  8255. end
  8256. for i, v in pairs(mw1:GetChildren()) do
  8257. if v:IsA("Part") then
  8258. v.Color = Color3.new(r/255,g/255,b/255)
  8259. v.Material = "Neon"
  8260. end
  8261. end
  8262. for i, v in pairs(mw2:GetChildren()) do
  8263. if v:IsA("Part") then
  8264. v.Color = Color3.new(r/255,g/255,b/255)
  8265. v.Material = "Neon"
  8266. end
  8267. end
  8268. end
  8269. CameraManager()
  8270. swait()
  8271. 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)
  8272. 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)
  8273. 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)
  8274. 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)
  8275. 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)
  8276. 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)
  8277.  
  8278. if attack == false and ActiveGia == false then
  8279. torsweld.C1=clerp(torsweld.C1,cf(2,5*4,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  8280. larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.25*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),1)
  8281. rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.25*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),1)
  8282. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  8283. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  8284. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),1)
  8285. elseif attack == false and ActiveGia == true then
  8286. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 666 then
  8287. torsweld.C1=clerp(torsweld.C1,cf(0,-2 + 0.25 * math.cos(sine / 32) ,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.025)
  8288. larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(20)),0.025)
  8289. rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(-20)),0.025)
  8290. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  8291. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  8292. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,-0.2)*angles(math.rad(10),math.rad(0),math.rad(0)),0.025)
  8293. elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then
  8294. torsweld.C1=clerp(torsweld.C1,cf(0,-25 + 0.5 * math.cos(sine / 32) ,-8)*angles(math.rad(20),math.rad(0),math.rad(0)),.025)
  8295. larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(20)),0.025)
  8296. rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(-20)),0.025)
  8297. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,1.5*8,0.6*8)*angles(math.rad(20),math.rad(0),math.rad(0)),0.025)
  8298. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0.11*8)*angles(math.rad(10),math.rad(0),math.rad(0)),0.025)
  8299. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,-0.2)*angles(math.rad(5),math.rad(0),math.rad(0)),0.025)
  8300. end
  8301. end
  8302.  
  8303. 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)
  8304. 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)
  8305. 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)
  8306. 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)
  8307. 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)
  8308. 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)
  8309. sine = sine + change
  8310. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  8311. local velderp=RootPart.Velocity.y
  8312. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  8313. if equipped==true or equipped==false then
  8314. if attack==false then
  8315. idle=idle+1
  8316. else
  8317. idle=0
  8318. end
  8319. if idle>=500 then
  8320. if attack==false then
  8321. --Sheath()
  8322. end
  8323. end
  8324. if RootPart.Velocity.y > 1 and hitfloor==nil then
  8325. Anim="Jump"
  8326. if attack==false then
  8327. 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)
  8328. 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)
  8329. 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)
  8330. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  8331. 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)
  8332. 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)
  8333. end
  8334. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  8335. Anim="Fall"
  8336. if attack==false then
  8337. 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)
  8338. 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)
  8339. 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)
  8340. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  8341. 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)
  8342. 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)
  8343. end
  8344. elseif torvel<1 and hitfloor~=nil then
  8345. Anim="Idle"
  8346. if attack==false then
  8347. if ModeOfGlitch == 1 then
  8348. 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)
  8349. 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)
  8350. 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)
  8351. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2.5 * math.cos(sine / 32)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(-20 - 5 * math.cos(sine / 0.465))),.1)
  8352. 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)
  8353. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  8354.  
  8355. elseif ModeOfGlitch == 666 then
  8356. 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)
  8357. 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)
  8358. 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)
  8359. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  8360. 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)
  8361. 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)
  8362.  
  8363. elseif ModeOfGlitch ~= 666 or ModeOfGlitch == 6127843 then
  8364. 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)
  8365. 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)
  8366. 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)
  8367. 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)
  8368. 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)
  8369. 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)
  8370.  
  8371. elseif ModeOfGlitch == 3 then
  8372. 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)
  8373. 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)
  8374. 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)
  8375. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1)
  8376. 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)
  8377. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1)
  8378.  
  8379. elseif ModeOfGlitch == 4 then
  8380. 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)
  8381. 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)
  8382. 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)
  8383. 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)
  8384. 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)
  8385. 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)
  8386.  
  8387. elseif ModeOfGlitch == 5 then
  8388. 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)
  8389. 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)
  8390. 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)
  8391. 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)
  8392. 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)
  8393. 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)
  8394.  
  8395. elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 then
  8396. 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)
  8397. 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)
  8398. 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)
  8399. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  8400. 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)
  8401. 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)
  8402.  
  8403. elseif ModeOfGlitch == 12345678987654321 then
  8404. 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)
  8405. 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)
  8406. 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)
  8407. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(40)),.1)
  8408. 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)
  8409. 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)
  8410. end
  8411. end
  8412. elseif torvel>2 and torvel<50 and hitfloor~=nil then
  8413. Anim="Walk"
  8414. if attack==false then
  8415. if ModeOfGlitch == 1 then
  8416. RH.C0=clerp(RH.C0,cf(1,-0.85,-0.15 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 25 * math.cos(sine / 8))),.1)
  8417. LH.C0=clerp(LH.C0,cf(-1,-0.85,-0.15 + 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 25 * math.cos(sine / 8))),.1)
  8418. 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)
  8419. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 5 * math.cos(sine / 0.325)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 + 5 * math.cos(sine / 8))),.1)
  8420. 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)
  8421. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  8422.  
  8423. elseif ModeOfGlitch == 4 or ModeOfGlitch == 666 then
  8424. RH.C0=clerp(RH.C0,cf(1,-0.85,-0.15 - 0.15 * math.cos(sine / 8))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 12)),math.rad(5 + 25 * math.cos(sine / 12))),.1)
  8425. LH.C0=clerp(LH.C0,cf(-1,-0.85,-0.15 + 0.15 * math.cos(sine / 8))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 12)),math.rad(-5 + 25 * math.cos(sine / 12))),.1)
  8426. 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)
  8427. 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)
  8428. 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)
  8429. 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)
  8430.  
  8431. elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 or ModeOfGlitch ~= 666 then
  8432. RH.C0=clerp(RH.C0,cf(1,-0.85,-0.15 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 25 * math.cos(sine / 8))),.1)
  8433. LH.C0=clerp(LH.C0,cf(-1,-0.85,-0.15 + 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 25 * math.cos(sine / 8))),.1)
  8434. 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)
  8435. 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)
  8436. 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)
  8437. 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)
  8438. end
  8439. end
  8440. elseif torvel>=22 and hitfloor~=nil then
  8441. Anim="Run"
  8442. if attack==false then
  8443. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 666 then
  8444. 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)
  8445. 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)
  8446. 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)
  8447. 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)
  8448. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 155 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 3))),.1)
  8449. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 155 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 3))),.1)
  8450. elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then
  8451. 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)
  8452. 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)
  8453. 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)
  8454. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  8455. 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)
  8456. 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)
  8457. end
  8458. end
  8459. end
  8460. end
  8461. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement