Advertisement
UltimateGate

Ruin III Script

Dec 18th, 2017
2,407
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 211.41 KB | None | 0 0
  1. maincolor = game.Players.LocalPlayer.Character.Torso.BrickColor
  2. maincolor = BrickColor.new("Really red")
  3. secondcolor = "Really black"
  4. wait(0.016666666666666666)
  5. Effects = {}
  6. local Player = game.Players.localPlayer
  7. local Character = Player.Character
  8. local Humanoid = Character.Humanoid
  9. local mouse = Player:GetMouse()
  10. local LeftArm = Character["Left Arm"]
  11. local RightArm = Character["Right Arm"]
  12. local LeftLeg = Character["Left Leg"]
  13. local RightLeg = Character["Right Leg"]
  14. local Head = Character.Head
  15. local Torso = Character.Torso
  16. local cam = game.Workspace.CurrentCamera
  17. local RootPart = Character.HumanoidRootPart
  18. local RootJoint = RootPart.RootJoint
  19. local equipped = true
  20. local attack = false
  21. local Anim = "Idle"
  22. local idle = 0
  23. local attacktype = 1
  24. local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  25. local velocity = RootPart.Velocity.y
  26. local sine = 0
  27. local change = 1
  28. local grabbed = false
  29. local cn = CFrame.new
  30. local mr = math.rad
  31. local angles = CFrame.Angles
  32. local ud = UDim2.new
  33. local c3 = Color3.new
  34. local dir = {
  35. w = 0,
  36. s = 0,
  37. a = 0,
  38. d = 0
  39. }
  40. Climbanim = false
  41. Runkey = false
  42. firemode = false
  43. inair = false
  44. blocking = false
  45. humHsave = 0
  46. humDsave = 0
  47. extralock = true
  48. lasthit = nil
  49. elementmode = "Mode 1"
  50. local BCsave = Character["Body Colors"]:Clone()
  51. local BC = Character["Body Colors"]
  52. function New(Object, Parent, Name, Data)
  53. local Object = Instance.new(Object)
  54. for Index, Value in pairs(Data or {}) do
  55. Object[Index] = Value
  56. end
  57. Object.Parent = Parent
  58. Object.Name = Name
  59. return Object
  60. end
  61. Model = New("Model", Workspace, "PowerGlow", {})
  62. Part = New("Part", Model, "Part", {
  63. BrickColor = maincolor,
  64. Material = Enum.Material.Neon,
  65. FormFactor = Enum.FormFactor.Custom,
  66. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  67. CFrame = CFrame.new(-15.4243536, 2.56596589, -77.4251709, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  68. Anchored = true,
  69. CanCollide = false,
  70. BottomSurface = Enum.SurfaceType.Smooth,
  71. TopSurface = Enum.SurfaceType.Smooth,
  72. Color = Color3.new(1, 0, 0)
  73. })
  74. Mesh = New("BlockMesh", Part, "Mesh", {
  75. Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395)
  76. })
  77. Part = New("Part", Model, "Part", {
  78. BrickColor = maincolor,
  79. Material = Enum.Material.Neon,
  80. FormFactor = Enum.FormFactor.Custom,
  81. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  82. CFrame = CFrame.new(-15.4243536, 2.56596589, -78.0972214, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  83. Anchored = true,
  84. CanCollide = false,
  85. BottomSurface = Enum.SurfaceType.Smooth,
  86. TopSurface = Enum.SurfaceType.Smooth,
  87. Color = Color3.new(1, 0, 0)
  88. })
  89. Mesh = New("BlockMesh", Part, "Mesh", {
  90. Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395)
  91. })
  92. Part = New("Part", Model, "Part", {
  93. BrickColor = BrickColor.new("Dark stone grey"),
  94. Material = Enum.Material.SmoothPlastic,
  95. FormFactor = Enum.FormFactor.Custom,
  96. Size = Vector3.new(1.08000004, 0.950000048, 0.200000033),
  97. CFrame = CFrame.new(-14.7160664, 3.91589618, -77.7635422, -1.13133467E-8, -0.258819193, 0.965925574, -4.22219522E-8, -0.965925694, -0.258819163, 0.99999994, -4.37113847E-8, 0),
  98. Anchored = true,
  99. CanCollide = false,
  100. BottomSurface = Enum.SurfaceType.Smooth,
  101. TopSurface = Enum.SurfaceType.Smooth,
  102. Color = Color3.new(0.388235, 0.372549, 0.384314)
  103. })
  104. Part = New("Part", Model, "Part", {
  105. BrickColor = maincolor,
  106. Material = Enum.Material.Neon,
  107. FormFactor = Enum.FormFactor.Custom,
  108. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  109. CFrame = CFrame.new(-15.3176498, 2.56596589, -77.2362442, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  110. Anchored = true,
  111. CanCollide = false,
  112. BottomSurface = Enum.SurfaceType.Smooth,
  113. TopSurface = Enum.SurfaceType.Smooth,
  114. Color = Color3.new(1, 0, 0)
  115. })
  116. Mesh = New("BlockMesh", Part, "Mesh", {
  117. Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395)
  118. })
  119. Part = New("Part", Model, "Part", {
  120. Material = Enum.Material.SmoothPlastic,
  121. FormFactor = Enum.FormFactor.Custom,
  122. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  123. CFrame = CFrame.new(-14.3333502, 2.41636896, -77.6300049, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  124. Anchored = true,
  125. CanCollide = false,
  126. BottomSurface = Enum.SurfaceType.Smooth,
  127. TopSurface = Enum.SurfaceType.Smooth
  128. })
  129. Mesh = New("CylinderMesh", Part, "Mesh", {
  130. Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364)
  131. })
  132. Part = New("Part", Model, "Part", {
  133. BrickColor = BrickColor.new("Lily white"),
  134. Material = Enum.Material.SmoothPlastic,
  135. FormFactor = Enum.FormFactor.Custom,
  136. Size = Vector3.new(1.10000002, 0.73999995, 0.220000014),
  137. CFrame = CFrame.new(-15.1012945, 3.79362583, -77.7635422, 3.78551768E-8, 0.866025448, 0.499999523, -2.18556764E-8, -0.499999583, 0.866025388, 0.99999994, -4.37113847E-8, 0),
  138. Anchored = true,
  139. CanCollide = false,
  140. BottomSurface = Enum.SurfaceType.Smooth,
  141. TopSurface = Enum.SurfaceType.Smooth,
  142. Color = Color3.new(0.929412, 0.917647, 0.917647)
  143. })
  144. Part = New("Part", Model, "Part", {
  145. Material = Enum.Material.SmoothPlastic,
  146. FormFactor = Enum.FormFactor.Custom,
  147. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  148. CFrame = CFrame.new(-15.4412384, 2.74341011, -78.2658386, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  149. Anchored = true,
  150. CanCollide = false,
  151. BottomSurface = Enum.SurfaceType.Smooth,
  152. TopSurface = Enum.SurfaceType.Smooth
  153. })
  154. Mesh = New("CylinderMesh", Part, "Mesh", {
  155. Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364)
  156. })
  157. Part = New("Part", Model, "Part", {
  158. Material = Enum.Material.SmoothPlastic,
  159. FormFactor = Enum.FormFactor.Custom,
  160. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  161. CFrame = CFrame.new(-14.4219961, 2.70039511, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  162. Anchored = true,
  163. CanCollide = false,
  164. BottomSurface = Enum.SurfaceType.Smooth,
  165. TopSurface = Enum.SurfaceType.Smooth
  166. })
  167. Mesh = New("BlockMesh", Part, "Mesh", {
  168. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  169. })
  170. Part = New("Part", Model, "Part", {
  171. BrickColor = BrickColor.new("Dark stone grey"),
  172. Material = Enum.Material.SmoothPlastic,
  173. FormFactor = Enum.FormFactor.Custom,
  174. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  175. CFrame = CFrame.new(-15.171958, 2.59506392, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  176. Anchored = true,
  177. CanCollide = false,
  178. BottomSurface = Enum.SurfaceType.Smooth,
  179. TopSurface = Enum.SurfaceType.Smooth,
  180. Color = Color3.new(0.388235, 0.372549, 0.384314)
  181. })
  182. Mesh = New("CylinderMesh", Part, "Mesh", {
  183. Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364)
  184. })
  185. Part = New("Part", Model, "Part", {
  186. BrickColor = maincolor,
  187. Material = Enum.Material.Neon,
  188. FormFactor = Enum.FormFactor.Custom,
  189. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  190. CFrame = CFrame.new(-15.3223877, 2.56596589, -78.3108215, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  191. Anchored = true,
  192. CanCollide = false,
  193. BottomSurface = Enum.SurfaceType.Smooth,
  194. TopSurface = Enum.SurfaceType.Smooth,
  195. Color = Color3.new(1, 0, 0)
  196. })
  197. Mesh = New("BlockMesh", Part, "Mesh", {
  198. Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395)
  199. })
  200. Part = New("Part", Model, "Part", {
  201. Material = Enum.Material.SmoothPlastic,
  202. FormFactor = Enum.FormFactor.Custom,
  203. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  204. CFrame = CFrame.new(-14.8567038, 2.74341011, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  205. Anchored = true,
  206. CanCollide = false,
  207. BottomSurface = Enum.SurfaceType.Smooth,
  208. TopSurface = Enum.SurfaceType.Smooth
  209. })
  210. Mesh = New("CylinderMesh", Part, "Mesh", {
  211. Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364)
  212. })
  213. Part = New("Part", Model, "Part", {
  214. Material = Enum.Material.SmoothPlastic,
  215. FormFactor = Enum.FormFactor.Custom,
  216. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  217. CFrame = CFrame.new(-14.5614405, 2.74341011, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  218. Anchored = true,
  219. CanCollide = false,
  220. BottomSurface = Enum.SurfaceType.Smooth,
  221. TopSurface = Enum.SurfaceType.Smooth
  222. })
  223. Mesh = New("CylinderMesh", Part, "Mesh", {
  224. Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364)
  225. })
  226. Part = New("Part", Model, "Part", {
  227. BrickColor = maincolor,
  228. Material = Enum.Material.Neon,
  229. FormFactor = Enum.FormFactor.Custom,
  230. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  231. CFrame = CFrame.new(-14.3643541, 2.56596589, -77.4805908, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  232. Anchored = true,
  233. CanCollide = false,
  234. BottomSurface = Enum.SurfaceType.Smooth,
  235. TopSurface = Enum.SurfaceType.Smooth,
  236. Color = Color3.new(1, 0, 0)
  237. })
  238. Mesh = New("BlockMesh", Part, "Mesh", {
  239. Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395)
  240. })
  241. Part = New("Part", Model, "Part", {
  242. Material = Enum.Material.SmoothPlastic,
  243. FormFactor = Enum.FormFactor.Custom,
  244. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  245. CFrame = CFrame.new(-15.171958, 2.41636896, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  246. Anchored = true,
  247. CanCollide = false,
  248. BottomSurface = Enum.SurfaceType.Smooth,
  249. TopSurface = Enum.SurfaceType.Smooth
  250. })
  251. Mesh = New("CylinderMesh", Part, "Mesh", {
  252. Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364)
  253. })
  254. Part = New("Part", Model, "Part", {
  255. BrickColor = BrickColor.new("Dark stone grey"),
  256. Material = Enum.Material.SmoothPlastic,
  257. FormFactor = Enum.FormFactor.Custom,
  258. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  259. CFrame = CFrame.new(-14.5614405, 2.59506392, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  260. Anchored = true,
  261. CanCollide = false,
  262. BottomSurface = Enum.SurfaceType.Smooth,
  263. TopSurface = Enum.SurfaceType.Smooth,
  264. Color = Color3.new(0.388235, 0.372549, 0.384314)
  265. })
  266. Mesh = New("CylinderMesh", Part, "Mesh", {
  267. Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364)
  268. })
  269. Part = New("Part", Model, "Part", {
  270. Material = Enum.Material.SmoothPlastic,
  271. FormFactor = Enum.FormFactor.Custom,
  272. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  273. CFrame = CFrame.new(-15.171958, 2.74341011, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  274. Anchored = true,
  275. CanCollide = false,
  276. BottomSurface = Enum.SurfaceType.Smooth,
  277. TopSurface = Enum.SurfaceType.Smooth
  278. })
  279. Mesh = New("CylinderMesh", Part, "Mesh", {
  280. Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364)
  281. })
  282. Part = New("Part", Model, "Part", {
  283. BrickColor = BrickColor.new("Really black"),
  284. Material = Enum.Material.SmoothPlastic,
  285. FormFactor = Enum.FormFactor.Custom,
  286. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  287. CFrame = CFrame.new(-14.4749603, 2.54138398, -77.7840576, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  288. Anchored = true,
  289. CanCollide = false,
  290. BottomSurface = Enum.SurfaceType.Smooth,
  291. TopSurface = Enum.SurfaceType.Smooth,
  292. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  293. })
  294. Mesh = New("BlockMesh", Part, "Mesh", {
  295. Scale = Vector3.new(0.441132545, 0.558395326, 1)
  296. })
  297. Part = New("Part", Model, "Part", {
  298. BrickColor = BrickColor.new("Dark stone grey"),
  299. Material = Enum.Material.SmoothPlastic,
  300. FormFactor = Enum.FormFactor.Custom,
  301. Size = Vector3.new(1.08000004, 0.0500000007, 0.200000033),
  302. CFrame = CFrame.new(-15.026329, 2.95079517, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0),
  303. Anchored = true,
  304. CanCollide = false,
  305. BottomSurface = Enum.SurfaceType.Smooth,
  306. TopSurface = Enum.SurfaceType.Smooth,
  307. Color = Color3.new(0.388235, 0.372549, 0.384314)
  308. })
  309. Part = New("Part", Model, "Part", {
  310. BrickColor = BrickColor.new("Dark stone grey"),
  311. Material = Enum.Material.SmoothPlastic,
  312. FormFactor = Enum.FormFactor.Custom,
  313. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  314. CFrame = CFrame.new(-15.4412384, 2.59506392, -77.2649994, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  315. Anchored = true,
  316. CanCollide = false,
  317. BottomSurface = Enum.SurfaceType.Smooth,
  318. TopSurface = Enum.SurfaceType.Smooth,
  319. Color = Color3.new(0.388235, 0.372549, 0.384314)
  320. })
  321. Mesh = New("CylinderMesh", Part, "Mesh", {
  322. Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364)
  323. })
  324. Part = New("Part", Model, "Part", {
  325. BrickColor = BrickColor.new("Really black"),
  326. Material = Enum.Material.SmoothPlastic,
  327. FormFactor = Enum.FormFactor.Custom,
  328. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  329. CFrame = CFrame.new(-15.3137436, 2.54138398, -77.4251709, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  330. Anchored = true,
  331. CanCollide = false,
  332. BottomSurface = Enum.SurfaceType.Smooth,
  333. TopSurface = Enum.SurfaceType.Smooth,
  334. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  335. })
  336. Mesh = New("BlockMesh", Part, "Mesh", {
  337. Scale = Vector3.new(0.441132545, 0.558395326, 1)
  338. })
  339. Part = New("Part", Model, "Part", {
  340. BrickColor = maincolor,
  341. Material = Enum.Material.Neon,
  342. FormFactor = Enum.FormFactor.Custom,
  343. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  344. CFrame = CFrame.new(-15.0171576, 2.56596589, -78.3108215, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  345. Anchored = true,
  346. CanCollide = false,
  347. BottomSurface = Enum.SurfaceType.Smooth,
  348. TopSurface = Enum.SurfaceType.Smooth,
  349. Color = Color3.new(1, 0, 0)
  350. })
  351. Mesh = New("BlockMesh", Part, "Mesh", {
  352. Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395)
  353. })
  354. Part = New("Part", Model, "Part", {
  355. BrickColor = BrickColor.new("Dark stone grey"),
  356. Material = Enum.Material.SmoothPlastic,
  357. FormFactor = Enum.FormFactor.Custom,
  358. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  359. CFrame = CFrame.new(-15.1691818, 2.59506392, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  360. Anchored = true,
  361. CanCollide = false,
  362. BottomSurface = Enum.SurfaceType.Smooth,
  363. TopSurface = Enum.SurfaceType.Smooth,
  364. Color = Color3.new(0.388235, 0.372549, 0.384314)
  365. })
  366. Mesh = New("CylinderMesh", Part, "Mesh", {
  367. Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364)
  368. })
  369. Part = New("Part", Model, "Part", {
  370. BrickColor = maincolor,
  371. Material = Enum.Material.Neon,
  372. FormFactor = Enum.FormFactor.Custom,
  373. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  374. CFrame = CFrame.new(-14.4300385, 2.56596589, -77.2362442, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  375. Anchored = true,
  376. CanCollide = false,
  377. BottomSurface = Enum.SurfaceType.Smooth,
  378. TopSurface = Enum.SurfaceType.Smooth,
  379. Color = Color3.new(1, 0, 0)
  380. })
  381. Mesh = New("BlockMesh", Part, "Mesh", {
  382. Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395)
  383. })
  384. Part = New("Part", Model, "Part", {
  385. Material = Enum.Material.SmoothPlastic,
  386. FormFactor = Enum.FormFactor.Custom,
  387. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  388. CFrame = CFrame.new(-14.8567038, 2.41636896, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  389. Anchored = true,
  390. CanCollide = false,
  391. BottomSurface = Enum.SurfaceType.Smooth,
  392. TopSurface = Enum.SurfaceType.Smooth
  393. })
  394. Mesh = New("CylinderMesh", Part, "Mesh", {
  395. Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364)
  396. })
  397. Part = New("Part", Model, "Part", {
  398. Material = Enum.Material.SmoothPlastic,
  399. FormFactor = Enum.FormFactor.Custom,
  400. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  401. CFrame = CFrame.new(-15.4412384, 2.41636896, -77.2649994, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  402. Anchored = true,
  403. CanCollide = false,
  404. BottomSurface = Enum.SurfaceType.Smooth,
  405. TopSurface = Enum.SurfaceType.Smooth
  406. })
  407. Mesh = New("CylinderMesh", Part, "Mesh", {
  408. Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364)
  409. })
  410. Part = New("Part", Model, "Part", {
  411. BrickColor = BrickColor.new("Really black"),
  412. Material = Enum.Material.SmoothPlastic,
  413. FormFactor = Enum.FormFactor.Custom,
  414. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  415. CFrame = CFrame.new(-14.7080917, 2.54138398, -77.3468628, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  416. Anchored = true,
  417. CanCollide = false,
  418. BottomSurface = Enum.SurfaceType.Smooth,
  419. TopSurface = Enum.SurfaceType.Smooth,
  420. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  421. })
  422. Mesh = New("BlockMesh", Part, "Mesh", {
  423. Scale = Vector3.new(0.441132545, 0.558395326, 1)
  424. })
  425. Part = New("Part", Model, "Part", {
  426. Material = Enum.Material.SmoothPlastic,
  427. FormFactor = Enum.FormFactor.Custom,
  428. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  429. CFrame = CFrame.new(-15.3188915, 2.42498994, -78.0982056, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  430. Anchored = true,
  431. CanCollide = false,
  432. BottomSurface = Enum.SurfaceType.Smooth,
  433. TopSurface = Enum.SurfaceType.Smooth
  434. })
  435. Mesh = New("BlockMesh", Part, "Mesh", {
  436. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  437. })
  438. Part = New("Part", Model, "Part", {
  439. BrickColor = BrickColor.new("Dark stone grey"),
  440. Material = Enum.Material.SmoothPlastic,
  441. FormFactor = Enum.FormFactor.Custom,
  442. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  443. CFrame = CFrame.new(-14.5560598, 2.59506392, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  444. Anchored = true,
  445. CanCollide = false,
  446. BottomSurface = Enum.SurfaceType.Smooth,
  447. TopSurface = Enum.SurfaceType.Smooth,
  448. Color = Color3.new(0.388235, 0.372549, 0.384314)
  449. })
  450. Mesh = New("CylinderMesh", Part, "Mesh", {
  451. Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364)
  452. })
  453. Part = New("Part", Model, "Part", {
  454. BrickColor = maincolor,
  455. Material = Enum.Material.Neon,
  456. FormFactor = Enum.FormFactor.Custom,
  457. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  458. CFrame = CFrame.new(-14.3643541, 2.56596589, -77.7840576, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  459. Anchored = true,
  460. CanCollide = false,
  461. BottomSurface = Enum.SurfaceType.Smooth,
  462. TopSurface = Enum.SurfaceType.Smooth,
  463. Color = Color3.new(1, 0, 0)
  464. })
  465. Mesh = New("BlockMesh", Part, "Mesh", {
  466. Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395)
  467. })
  468. Part = New("Part", Model, "Part", {
  469. Material = Enum.Material.SmoothPlastic,
  470. FormFactor = Enum.FormFactor.Custom,
  471. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  472. CFrame = CFrame.new(-15.318634, 2.70039511, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  473. Anchored = true,
  474. CanCollide = false,
  475. BottomSurface = Enum.SurfaceType.Smooth,
  476. TopSurface = Enum.SurfaceType.Smooth
  477. })
  478. Mesh = New("BlockMesh", Part, "Mesh", {
  479. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  480. })
  481. Part = New("Part", Model, "Part", {
  482. Material = Enum.Material.SmoothPlastic,
  483. FormFactor = Enum.FormFactor.Custom,
  484. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  485. CFrame = CFrame.new(-15.3213959, 2.70039511, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  486. Anchored = true,
  487. CanCollide = false,
  488. BottomSurface = Enum.SurfaceType.Smooth,
  489. TopSurface = Enum.SurfaceType.Smooth
  490. })
  491. Mesh = New("BlockMesh", Part, "Mesh", {
  492. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  493. })
  494. Part = New("Part", Model, "Part", {
  495. Material = Enum.Material.SmoothPlastic,
  496. FormFactor = Enum.FormFactor.Custom,
  497. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  498. CFrame = CFrame.new(-14.3547363, 2.41636896, -77.3155441, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  499. Anchored = true,
  500. CanCollide = false,
  501. BottomSurface = Enum.SurfaceType.Smooth,
  502. TopSurface = Enum.SurfaceType.Smooth
  503. })
  504. Mesh = New("CylinderMesh", Part, "Mesh", {
  505. Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364)
  506. })
  507. Part = New("Part", Model, "Part", {
  508. BrickColor = BrickColor.new("Really black"),
  509. Material = Enum.Material.SmoothPlastic,
  510. FormFactor = Enum.FormFactor.Custom,
  511. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  512. CFrame = CFrame.new(-14.4300385, 2.54138398, -77.3468628, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  513. Anchored = true,
  514. CanCollide = false,
  515. BottomSurface = Enum.SurfaceType.Smooth,
  516. TopSurface = Enum.SurfaceType.Smooth,
  517. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  518. })
  519. Mesh = New("BlockMesh", Part, "Mesh", {
  520. Scale = Vector3.new(0.441132545, 0.558395326, 1)
  521. })
  522. Part = New("Part", Model, "Part", {
  523. Material = Enum.Material.SmoothPlastic,
  524. FormFactor = Enum.FormFactor.Custom,
  525. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  526. CFrame = CFrame.new(-15.0161581, 2.70039511, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  527. Anchored = true,
  528. CanCollide = false,
  529. BottomSurface = Enum.SurfaceType.Smooth,
  530. TopSurface = Enum.SurfaceType.Smooth
  531. })
  532. Mesh = New("BlockMesh", Part, "Mesh", {
  533. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  534. })
  535. Part = New("Part", Model, "Part", {
  536. BrickColor = BrickColor.new("Lily white"),
  537. Material = Enum.Material.SmoothPlastic,
  538. FormFactor = Enum.FormFactor.Custom,
  539. Size = Vector3.new(1.10000002, 0.159999892, 0.99999994),
  540. CFrame = CFrame.new(-15.0029793, 4.39438772, -77.7635422, 1.13133387E-8, 0.258819014, 0.965925634, -4.22219557E-8, -0.965925753, 0.258818984, 0.99999994, -4.37113847E-8, 0),
  541. Anchored = true,
  542. CanCollide = false,
  543. BottomSurface = Enum.SurfaceType.Smooth,
  544. TopSurface = Enum.SurfaceType.Smooth,
  545. Color = Color3.new(0.929412, 0.917647, 0.917647)
  546. })
  547. Part = New("Part", Model, "Part", {
  548. Material = Enum.Material.SmoothPlastic,
  549. FormFactor = Enum.FormFactor.Custom,
  550. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  551. CFrame = CFrame.new(-15.4412384, 2.74341011, -77.2649994, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  552. Anchored = true,
  553. CanCollide = false,
  554. BottomSurface = Enum.SurfaceType.Smooth,
  555. TopSurface = Enum.SurfaceType.Smooth
  556. })
  557. Mesh = New("CylinderMesh", Part, "Mesh", {
  558. Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364)
  559. })
  560. Part = New("Part", Model, "Part", {
  561. Material = Enum.Material.SmoothPlastic,
  562. FormFactor = Enum.FormFactor.Custom,
  563. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  564. CFrame = CFrame.new(-14.4698181, 2.70039511, -77.7830658, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  565. Anchored = true,
  566. CanCollide = false,
  567. BottomSurface = Enum.SurfaceType.Smooth,
  568. TopSurface = Enum.SurfaceType.Smooth
  569. })
  570. Mesh = New("BlockMesh", Part, "Mesh", {
  571. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  572. })
  573. Part = New("Part", Model, "Part", {
  574. BrickColor = BrickColor.new("Really black"),
  575. Material = Enum.Material.SmoothPlastic,
  576. FormFactor = Enum.FormFactor.Custom,
  577. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  578. CFrame = CFrame.new(-15.3137436, 2.54138398, -78.0972214, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  579. Anchored = true,
  580. CanCollide = false,
  581. BottomSurface = Enum.SurfaceType.Smooth,
  582. TopSurface = Enum.SurfaceType.Smooth,
  583. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  584. })
  585. Mesh = New("BlockMesh", Part, "Mesh", {
  586. Scale = Vector3.new(0.441132545, 0.558395326, 1)
  587. })
  588. Part = New("Part", Model, "Part", {
  589. Material = Enum.Material.SmoothPlastic,
  590. FormFactor = Enum.FormFactor.Custom,
  591. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  592. CFrame = CFrame.new(-14.5614405, 2.41636896, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  593. Anchored = true,
  594. CanCollide = false,
  595. BottomSurface = Enum.SurfaceType.Smooth,
  596. TopSurface = Enum.SurfaceType.Smooth
  597. })
  598. Mesh = New("CylinderMesh", Part, "Mesh", {
  599. Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364)
  600. })
  601. Part = New("Part", Model, "Part", {
  602. BrickColor = BrickColor.new("Really black"),
  603. Material = Enum.Material.SmoothPlastic,
  604. FormFactor = Enum.FormFactor.Custom,
  605. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  606. CFrame = CFrame.new(-14.7046661, 2.54138398, -78.2002182, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  607. Anchored = true,
  608. CanCollide = false,
  609. BottomSurface = Enum.SurfaceType.Smooth,
  610. TopSurface = Enum.SurfaceType.Smooth,
  611. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  612. })
  613. Mesh = New("BlockMesh", Part, "Mesh", {
  614. Scale = Vector3.new(0.441132545, 0.558395326, 1)
  615. })
  616. Part = New("Part", Model, "Part", {
  617. Material = Enum.Material.SmoothPlastic,
  618. FormFactor = Enum.FormFactor.Custom,
  619. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  620. CFrame = CFrame.new(-14.4698181, 2.70039511, -77.4798431, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  621. Anchored = true,
  622. CanCollide = false,
  623. BottomSurface = Enum.SurfaceType.Smooth,
  624. TopSurface = Enum.SurfaceType.Smooth
  625. })
  626. Mesh = New("BlockMesh", Part, "Mesh", {
  627. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  628. })
  629. Part = New("Part", Model, "Part", {
  630. BrickColor = maincolor,
  631. Material = Enum.Material.Neon,
  632. FormFactor = Enum.FormFactor.Custom,
  633. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  634. CFrame = CFrame.new(-14.7122498, 2.32805109, -78.1807938, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  635. Anchored = true,
  636. CanCollide = false,
  637. BottomSurface = Enum.SurfaceType.Smooth,
  638. TopSurface = Enum.SurfaceType.Smooth,
  639. Color = Color3.new(1, 0, 0)
  640. })
  641. Mesh = New("BlockMesh", Part, "Mesh", {
  642. Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395)
  643. })
  644. Part = New("Part", Model, "Part", {
  645. BrickColor = maincolor,
  646. Material = Enum.Material.Neon,
  647. FormFactor = Enum.FormFactor.Custom,
  648. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  649. CFrame = CFrame.new(-14.7046738, 2.56596589, -78.3108215, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  650. Anchored = true,
  651. CanCollide = false,
  652. BottomSurface = Enum.SurfaceType.Smooth,
  653. TopSurface = Enum.SurfaceType.Smooth,
  654. Color = Color3.new(1, 0, 0)
  655. })
  656. Mesh = New("BlockMesh", Part, "Mesh", {
  657. Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395)
  658. })
  659. Part = New("Part", Model, "Part", {
  660. Material = Enum.Material.SmoothPlastic,
  661. FormFactor = Enum.FormFactor.Custom,
  662. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  663. CFrame = CFrame.new(-14.3411398, 2.74341011, -78.2349701, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  664. Anchored = true,
  665. CanCollide = false,
  666. BottomSurface = Enum.SurfaceType.Smooth,
  667. TopSurface = Enum.SurfaceType.Smooth
  668. })
  669. Mesh = New("CylinderMesh", Part, "Mesh", {
  670. Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364)
  671. })
  672. Part = New("Part", Model, "Part", {
  673. BrickColor = maincolor,
  674. Material = Enum.Material.Neon,
  675. FormFactor = Enum.FormFactor.Custom,
  676. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  677. CFrame = CFrame.new(-14.4229956, 2.56596589, -78.3108215, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  678. Anchored = true,
  679. CanCollide = false,
  680. BottomSurface = Enum.SurfaceType.Smooth,
  681. TopSurface = Enum.SurfaceType.Smooth,
  682. Color = Color3.new(1, 0, 0)
  683. })
  684. Mesh = New("BlockMesh", Part, "Mesh", {
  685. Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395)
  686. })
  687. Part = New("Part", Model, "Part", {
  688. BrickColor = BrickColor.new("Mid gray"),
  689. Material = Enum.Material.SmoothPlastic,
  690. FormFactor = Enum.FormFactor.Custom,
  691. Size = Vector3.new(0.239707053, 0.356012672, 0.327865243),
  692. CFrame = CFrame.new(-15.3217621, 2.53892994, -77.7649002, -2.80526753E-21, -3.37120127E-7, -0.99999994, 2.89002344E-7, 1, -3.37120156E-7, 0.99999994, -2.89002372E-7, 2.87535776E-21),
  693. Anchored = true,
  694. CanCollide = false,
  695. BottomSurface = Enum.SurfaceType.Smooth,
  696. TopSurface = Enum.SurfaceType.Smooth,
  697. Color = Color3.new(0.803922, 0.803922, 0.803922)
  698. })
  699. Part = New("Part", Model, "Part", {
  700. Material = Enum.Material.SmoothPlastic,
  701. FormFactor = Enum.FormFactor.Custom,
  702. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  703. CFrame = CFrame.new(-14.3411398, 2.41636896, -78.2349701, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  704. Anchored = true,
  705. CanCollide = false,
  706. BottomSurface = Enum.SurfaceType.Smooth,
  707. TopSurface = Enum.SurfaceType.Smooth
  708. })
  709. Mesh = New("CylinderMesh", Part, "Mesh", {
  710. Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364)
  711. })
  712. Part = New("Part", Model, "Part", {
  713. BrickColor = BrickColor.new("Really black"),
  714. Material = Enum.Material.SmoothPlastic,
  715. FormFactor = Enum.FormFactor.Custom,
  716. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  717. CFrame = CFrame.new(-14.4749603, 2.54138398, -77.4805908, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  718. Anchored = true,
  719. CanCollide = false,
  720. BottomSurface = Enum.SurfaceType.Smooth,
  721. TopSurface = Enum.SurfaceType.Smooth,
  722. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  723. })
  724. Mesh = New("BlockMesh", Part, "Mesh", {
  725. Scale = Vector3.new(0.441132545, 0.558395326, 1)
  726. })
  727. Part = New("Part", Model, "Part", {
  728. Material = Enum.Material.SmoothPlastic,
  729. FormFactor = Enum.FormFactor.Custom,
  730. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  731. CFrame = CFrame.new(-14.3333502, 2.74341011, -77.6300049, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  732. Anchored = true,
  733. CanCollide = false,
  734. BottomSurface = Enum.SurfaceType.Smooth,
  735. TopSurface = Enum.SurfaceType.Smooth
  736. })
  737. Mesh = New("CylinderMesh", Part, "Mesh", {
  738. Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364)
  739. })
  740. Part = New("Part", Model, "Part", {
  741. BrickColor = maincolor,
  742. Material = Enum.Material.Neon,
  743. FormFactor = Enum.FormFactor.Custom,
  744. Size = Vector3.new(0.150000006, 0.1199999, 0.339999944),
  745. CFrame = CFrame.new(-15.584116, 4.23808193, -77.7635422, 3.09086161E-8, 0.707106709, 0.70710665, -3.09086161E-8, -0.707106709, 0.70710665, 0.99999994, -4.37113847E-8, 0),
  746. Anchored = true,
  747. CanCollide = false,
  748. BottomSurface = Enum.SurfaceType.Smooth,
  749. TopSurface = Enum.SurfaceType.Smooth,
  750. Color = Color3.new(1, 0, 0)
  751. })
  752. Part = New("Part", Model, "Part", {
  753. BrickColor = BrickColor.new("Dark stone grey"),
  754. Material = Enum.Material.SmoothPlastic,
  755. FormFactor = Enum.FormFactor.Custom,
  756. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  757. CFrame = CFrame.new(-14.3411398, 2.59506392, -78.2349701, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  758. Anchored = true,
  759. CanCollide = false,
  760. BottomSurface = Enum.SurfaceType.Smooth,
  761. TopSurface = Enum.SurfaceType.Smooth,
  762. Color = Color3.new(0.388235, 0.372549, 0.384314)
  763. })
  764. Mesh = New("CylinderMesh", Part, "Mesh", {
  765. Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364)
  766. })
  767. Part = New("Part", Model, "Part", {
  768. BrickColor = BrickColor.new("Dark stone grey"),
  769. Material = Enum.Material.SmoothPlastic,
  770. FormFactor = Enum.FormFactor.Custom,
  771. Size = Vector3.new(1.08000004, 0.149999961, 0.100000046),
  772. CFrame = CFrame.new(-15.0022106, 3.1973877, -77.7635422, 1.13133387E-8, 0.258819014, 0.965925634, -4.22219557E-8, -0.965925753, 0.258818984, 0.99999994, -4.37113847E-8, 0),
  773. Anchored = true,
  774. CanCollide = false,
  775. BottomSurface = Enum.SurfaceType.Smooth,
  776. TopSurface = Enum.SurfaceType.Smooth,
  777. Color = Color3.new(0.388235, 0.372549, 0.384314)
  778. })
  779. Part = New("Part", Model, "Part", {
  780. BrickColor = BrickColor.new("Dark stone grey"),
  781. Material = Enum.Material.SmoothPlastic,
  782. FormFactor = Enum.FormFactor.Custom,
  783. Size = Vector3.new(1.08000004, 0.349999964, 0.100000046),
  784. CFrame = CFrame.new(-14.8763285, 3.00079513, -77.7635345, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0),
  785. Anchored = true,
  786. CanCollide = false,
  787. BottomSurface = Enum.SurfaceType.Smooth,
  788. TopSurface = Enum.SurfaceType.Smooth,
  789. Color = Color3.new(0.388235, 0.372549, 0.384314)
  790. })
  791. Part = New("Part", Model, "Part", {
  792. Material = Enum.Material.SmoothPlastic,
  793. FormFactor = Enum.FormFactor.Custom,
  794. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  795. CFrame = CFrame.new(-15.318634, 2.42498994, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  796. Anchored = true,
  797. CanCollide = false,
  798. BottomSurface = Enum.SurfaceType.Smooth,
  799. TopSurface = Enum.SurfaceType.Smooth
  800. })
  801. Mesh = New("BlockMesh", Part, "Mesh", {
  802. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  803. })
  804. Part = New("Part", Model, "Part", {
  805. BrickColor = BrickColor.new("Dark stone grey"),
  806. Material = Enum.Material.SmoothPlastic,
  807. FormFactor = Enum.FormFactor.Custom,
  808. Size = Vector3.new(1.08000004, 0.0500000007, 0.300000042),
  809. CFrame = CFrame.new(-15.0964251, 3.27579474, -77.7635422, -2.18556995E-8, -0.500000119, 0.86602515, -3.78551661E-8, -0.866025269, -0.50000006, 0.99999994, -4.37113847E-8, 0),
  810. Anchored = true,
  811. CanCollide = false,
  812. BottomSurface = Enum.SurfaceType.Smooth,
  813. TopSurface = Enum.SurfaceType.Smooth,
  814. Color = Color3.new(0.388235, 0.372549, 0.384314)
  815. })
  816. Part = New("Part", Model, "Part", {
  817. BrickColor = BrickColor.new("Lily white"),
  818. Material = Enum.Material.SmoothPlastic,
  819. FormFactor = Enum.FormFactor.Custom,
  820. Size = Vector3.new(1.10000002, 0.169999897, 0.339999944),
  821. CFrame = CFrame.new(-15.5664377, 4.16182661, -77.7635422, 3.09086161E-8, 0.707106709, 0.70710665, -3.09086161E-8, -0.707106709, 0.70710665, 0.99999994, -4.37113847E-8, 0),
  822. Anchored = true,
  823. CanCollide = false,
  824. BottomSurface = Enum.SurfaceType.Smooth,
  825. TopSurface = Enum.SurfaceType.Smooth,
  826. Color = Color3.new(0.929412, 0.917647, 0.917647)
  827. })
  828. Part = New("Part", Model, "Part", {
  829. BrickColor = BrickColor.new("Lily white"),
  830. Material = Enum.Material.SmoothPlastic,
  831. FormFactor = Enum.FormFactor.Custom,
  832. Size = Vector3.new(1.10000002, 0.349999905, 0.100000009),
  833. CFrame = CFrame.new(-15.3763304, 3.00079513, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0),
  834. Anchored = true,
  835. CanCollide = false,
  836. BottomSurface = Enum.SurfaceType.Smooth,
  837. TopSurface = Enum.SurfaceType.Smooth,
  838. Color = Color3.new(0.929412, 0.917647, 0.917647)
  839. })
  840. Part = New("Part", Model, "Part", {
  841. BrickColor = BrickColor.new("Lily white"),
  842. Material = Enum.Material.SmoothPlastic,
  843. FormFactor = Enum.FormFactor.Custom,
  844. Size = Vector3.new(1.10000002, 0.200000063, 1.10000002),
  845. CFrame = CFrame.new(-14.8763256, 2.37579489, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0),
  846. Anchored = true,
  847. CanCollide = false,
  848. BottomSurface = Enum.SurfaceType.Smooth,
  849. TopSurface = Enum.SurfaceType.Smooth,
  850. Color = Color3.new(0.929412, 0.917647, 0.917647)
  851. })
  852. Part = New("Part", Model, "Part", {
  853. Material = Enum.Material.SmoothPlastic,
  854. FormFactor = Enum.FormFactor.Custom,
  855. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  856. CFrame = CFrame.new(-14.4698181, 2.42498994, -78.0765381, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  857. Anchored = true,
  858. CanCollide = false,
  859. BottomSurface = Enum.SurfaceType.Smooth,
  860. TopSurface = Enum.SurfaceType.Smooth
  861. })
  862. Mesh = New("BlockMesh", Part, "Mesh", {
  863. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  864. })
  865. Part = New("Part", Model, "Part", {
  866. BrickColor = BrickColor.new("Dark stone grey"),
  867. Material = Enum.Material.SmoothPlastic,
  868. FormFactor = Enum.FormFactor.Custom,
  869. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  870. CFrame = CFrame.new(-14.3333502, 2.59506392, -77.6300049, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  871. Anchored = true,
  872. CanCollide = false,
  873. BottomSurface = Enum.SurfaceType.Smooth,
  874. TopSurface = Enum.SurfaceType.Smooth,
  875. Color = Color3.new(0.388235, 0.372549, 0.384314)
  876. })
  877. Mesh = New("CylinderMesh", Part, "Mesh", {
  878. Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364)
  879. })
  880. Part = New("Part", Model, "Part", {
  881. Material = Enum.Material.SmoothPlastic,
  882. FormFactor = Enum.FormFactor.Custom,
  883. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  884. CFrame = CFrame.new(-14.3333502, 2.74341011, -77.9314957, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  885. Anchored = true,
  886. CanCollide = false,
  887. BottomSurface = Enum.SurfaceType.Smooth,
  888. TopSurface = Enum.SurfaceType.Smooth
  889. })
  890. Mesh = New("CylinderMesh", Part, "Mesh", {
  891. Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364)
  892. })
  893. Part = New("Part", Model, "Part", {
  894. BrickColor = BrickColor.new("Lily white"),
  895. Material = Enum.Material.SmoothPlastic,
  896. FormFactor = Enum.FormFactor.Custom,
  897. Size = Vector3.new(1.10000002, 0.819999993, 0.170000002),
  898. CFrame = CFrame.new(-14.7231722, 3.88893676, -77.7635422, -1.13133209E-8, -0.258818597, 0.965925694, -4.22219593E-8, -0.965925813, -0.258818567, 0.99999994, -4.37113847E-8, 0),
  899. Anchored = true,
  900. CanCollide = false,
  901. BottomSurface = Enum.SurfaceType.Smooth,
  902. TopSurface = Enum.SurfaceType.Smooth,
  903. Color = Color3.new(0.929412, 0.917647, 0.917647)
  904. })
  905. Part = New("Part", Model, "Part", {
  906. Material = Enum.Material.SmoothPlastic,
  907. FormFactor = Enum.FormFactor.Custom,
  908. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  909. CFrame = CFrame.new(-15.1691818, 2.41636896, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  910. Anchored = true,
  911. CanCollide = false,
  912. BottomSurface = Enum.SurfaceType.Smooth,
  913. TopSurface = Enum.SurfaceType.Smooth
  914. })
  915. Mesh = New("CylinderMesh", Part, "Mesh", {
  916. Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364)
  917. })
  918. Part = New("Part", Model, "Part", {
  919. Material = Enum.Material.SmoothPlastic,
  920. FormFactor = Enum.FormFactor.Custom,
  921. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  922. CFrame = CFrame.new(-15.4412384, 2.74341011, -77.5747604, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  923. Anchored = true,
  924. CanCollide = false,
  925. BottomSurface = Enum.SurfaceType.Smooth,
  926. TopSurface = Enum.SurfaceType.Smooth
  927. })
  928. Mesh = New("CylinderMesh", Part, "Mesh", {
  929. Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364)
  930. })
  931. Part = New("Part", Model, "Part", {
  932. Material = Enum.Material.SmoothPlastic,
  933. FormFactor = Enum.FormFactor.Custom,
  934. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  935. CFrame = CFrame.new(-14.7036819, 2.42498994, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  936. Anchored = true,
  937. CanCollide = false,
  938. BottomSurface = Enum.SurfaceType.Smooth,
  939. TopSurface = Enum.SurfaceType.Smooth
  940. })
  941. Mesh = New("BlockMesh", Part, "Mesh", {
  942. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  943. })
  944. Part = New("Part", Model, "Part", {
  945. Material = Enum.Material.SmoothPlastic,
  946. FormFactor = Enum.FormFactor.Custom,
  947. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  948. CFrame = CFrame.new(-15.1691818, 2.74341011, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  949. Anchored = true,
  950. CanCollide = false,
  951. BottomSurface = Enum.SurfaceType.Smooth,
  952. TopSurface = Enum.SurfaceType.Smooth
  953. })
  954. Mesh = New("CylinderMesh", Part, "Mesh", {
  955. Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364)
  956. })
  957. Part = New("Part", Model, "Part", {
  958. BrickColor = maincolor,
  959. Material = Enum.Material.Neon,
  960. FormFactor = Enum.FormFactor.Custom,
  961. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  962. CFrame = CFrame.new(-14.3643541, 2.56596589, -78.0775299, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  963. Anchored = true,
  964. CanCollide = false,
  965. BottomSurface = Enum.SurfaceType.Smooth,
  966. TopSurface = Enum.SurfaceType.Smooth,
  967. Color = Color3.new(1, 0, 0)
  968. })
  969. Mesh = New("BlockMesh", Part, "Mesh", {
  970. Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395)
  971. })
  972. Part = New("Part", Model, "Part", {
  973. Material = Enum.Material.SmoothPlastic,
  974. FormFactor = Enum.FormFactor.Custom,
  975. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  976. CFrame = CFrame.new(-15.0161581, 2.42498994, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  977. Anchored = true,
  978. CanCollide = false,
  979. BottomSurface = Enum.SurfaceType.Smooth,
  980. TopSurface = Enum.SurfaceType.Smooth
  981. })
  982. Mesh = New("BlockMesh", Part, "Mesh", {
  983. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  984. })
  985. Part = New("Part", Model, "Part", {
  986. BrickColor = BrickColor.new("Lily white"),
  987. Material = Enum.Material.SmoothPlastic,
  988. FormFactor = Enum.FormFactor.Custom,
  989. Size = Vector3.new(1.10000002, 0.479999989, 0.25999999),
  990. CFrame = CFrame.new(-14.8763304, 3.39079523, -77.7635422, 8.8817842E-15, 2.08616257E-7, 0.999999762, -4.37113847E-8, -0.999999881, 2.08616257E-7, 0.99999994, -4.37113847E-8, 0),
  991. Anchored = true,
  992. CanCollide = false,
  993. BottomSurface = Enum.SurfaceType.Smooth,
  994. TopSurface = Enum.SurfaceType.Smooth,
  995. Color = Color3.new(0.929412, 0.917647, 0.917647)
  996. })
  997. Part = New("Part", Model, "Part", {
  998. BrickColor = BrickColor.new("Dark stone grey"),
  999. Material = Enum.Material.SmoothPlastic,
  1000. FormFactor = Enum.FormFactor.Custom,
  1001. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1002. CFrame = CFrame.new(-14.8513403, 2.59506392, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  1003. Anchored = true,
  1004. CanCollide = false,
  1005. BottomSurface = Enum.SurfaceType.Smooth,
  1006. TopSurface = Enum.SurfaceType.Smooth,
  1007. Color = Color3.new(0.388235, 0.372549, 0.384314)
  1008. })
  1009. Mesh = New("CylinderMesh", Part, "Mesh", {
  1010. Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364)
  1011. })
  1012. Part = New("Part", Model, "Part", {
  1013. BrickColor = BrickColor.new("Lily white"),
  1014. Material = Enum.Material.SmoothPlastic,
  1015. FormFactor = Enum.FormFactor.Custom,
  1016. Size = Vector3.new(1.10000002, 0.199999884, 1.30000007),
  1017. CFrame = CFrame.new(-15.0405703, 4.20417261, -77.7635422, 1.13133387E-8, 0.258819014, 0.965925634, -4.22219557E-8, -0.965925753, 0.258818984, 0.99999994, -4.37113847E-8, 0),
  1018. Anchored = true,
  1019. CanCollide = false,
  1020. BottomSurface = Enum.SurfaceType.Smooth,
  1021. TopSurface = Enum.SurfaceType.Smooth,
  1022. Color = Color3.new(0.929412, 0.917647, 0.917647)
  1023. })
  1024. Part = New("Part", Model, "Part", {
  1025. BrickColor = BrickColor.new("Really black"),
  1026. Material = Enum.Material.SmoothPlastic,
  1027. FormFactor = Enum.FormFactor.Custom,
  1028. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1029. CFrame = CFrame.new(-15.0171423, 2.54138398, -78.2002182, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  1030. Anchored = true,
  1031. CanCollide = false,
  1032. BottomSurface = Enum.SurfaceType.Smooth,
  1033. TopSurface = Enum.SurfaceType.Smooth,
  1034. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1035. })
  1036. Mesh = New("BlockMesh", Part, "Mesh", {
  1037. Scale = Vector3.new(0.441132545, 0.558395326, 1)
  1038. })
  1039. Part = New("Part", Model, "Part", {
  1040. Material = Enum.Material.SmoothPlastic,
  1041. FormFactor = Enum.FormFactor.Custom,
  1042. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1043. CFrame = CFrame.new(-15.4412384, 2.41636896, -78.2658386, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1044. Anchored = true,
  1045. CanCollide = false,
  1046. BottomSurface = Enum.SurfaceType.Smooth,
  1047. TopSurface = Enum.SurfaceType.Smooth
  1048. })
  1049. Mesh = New("CylinderMesh", Part, "Mesh", {
  1050. Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364)
  1051. })
  1052. Part = New("Part", Model, "Part", {
  1053. Material = Enum.Material.SmoothPlastic,
  1054. FormFactor = Enum.FormFactor.Custom,
  1055. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1056. CFrame = CFrame.new(-14.5560598, 2.74341011, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  1057. Anchored = true,
  1058. CanCollide = false,
  1059. BottomSurface = Enum.SurfaceType.Smooth,
  1060. TopSurface = Enum.SurfaceType.Smooth
  1061. })
  1062. Mesh = New("CylinderMesh", Part, "Mesh", {
  1063. Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364)
  1064. })
  1065. Part = New("Part", Model, "Part", {
  1066. BrickColor = BrickColor.new("Dark stone grey"),
  1067. Material = Enum.Material.SmoothPlastic,
  1068. FormFactor = Enum.FormFactor.Custom,
  1069. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1070. CFrame = CFrame.new(-15.4412384, 2.59506392, -77.9560776, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1071. Anchored = true,
  1072. CanCollide = false,
  1073. BottomSurface = Enum.SurfaceType.Smooth,
  1074. TopSurface = Enum.SurfaceType.Smooth,
  1075. Color = Color3.new(0.388235, 0.372549, 0.384314)
  1076. })
  1077. Mesh = New("CylinderMesh", Part, "Mesh", {
  1078. Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364)
  1079. })
  1080. Part = New("Part", Model, "Part", {
  1081. BrickColor = BrickColor.new("Lily white"),
  1082. Material = Enum.Material.SmoothPlastic,
  1083. FormFactor = Enum.FormFactor.Custom,
  1084. Size = Vector3.new(0.25, 0.449999988, 0.300000012),
  1085. CFrame = CFrame.new(-15.3963308, 3.55079508, -77.7635422, 1.13133387E-8, 0.258819014, 0.965925634, -4.22219557E-8, -0.965925753, 0.258818984, 0.99999994, -4.37113847E-8, 0),
  1086. Anchored = true,
  1087. CanCollide = false,
  1088. BottomSurface = Enum.SurfaceType.Smooth,
  1089. TopSurface = Enum.SurfaceType.Smooth,
  1090. Color = Color3.new(0.929412, 0.917647, 0.917647)
  1091. })
  1092. Part = New("Part", Model, "Part", {
  1093. Material = Enum.Material.SmoothPlastic,
  1094. FormFactor = Enum.FormFactor.Custom,
  1095. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1096. CFrame = CFrame.new(-14.7090759, 2.42498994, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1097. Anchored = true,
  1098. CanCollide = false,
  1099. BottomSurface = Enum.SurfaceType.Smooth,
  1100. TopSurface = Enum.SurfaceType.Smooth
  1101. })
  1102. Mesh = New("BlockMesh", Part, "Mesh", {
  1103. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  1104. })
  1105. Part = New("Part", Model, "Part", {
  1106. Material = Enum.Material.SmoothPlastic,
  1107. FormFactor = Enum.FormFactor.Custom,
  1108. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1109. CFrame = CFrame.new(-14.5560598, 2.41636896, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  1110. Anchored = true,
  1111. CanCollide = false,
  1112. BottomSurface = Enum.SurfaceType.Smooth,
  1113. TopSurface = Enum.SurfaceType.Smooth
  1114. })
  1115. Mesh = New("CylinderMesh", Part, "Mesh", {
  1116. Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364)
  1117. })
  1118. Part = New("Part", Model, "Part", {
  1119. Material = Enum.Material.SmoothPlastic,
  1120. FormFactor = Enum.FormFactor.Custom,
  1121. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1122. CFrame = CFrame.new(-15.4412384, 2.74341011, -77.9560776, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1123. Anchored = true,
  1124. CanCollide = false,
  1125. BottomSurface = Enum.SurfaceType.Smooth,
  1126. TopSurface = Enum.SurfaceType.Smooth
  1127. })
  1128. Mesh = New("CylinderMesh", Part, "Mesh", {
  1129. Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364)
  1130. })
  1131. Part = New("Part", Model, "Part", {
  1132. Material = Enum.Material.SmoothPlastic,
  1133. FormFactor = Enum.FormFactor.Custom,
  1134. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1135. CFrame = CFrame.new(-14.4219961, 2.42498994, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  1136. Anchored = true,
  1137. CanCollide = false,
  1138. BottomSurface = Enum.SurfaceType.Smooth,
  1139. TopSurface = Enum.SurfaceType.Smooth
  1140. })
  1141. Mesh = New("BlockMesh", Part, "Mesh", {
  1142. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  1143. })
  1144. Part = New("Part", Model, "Part", {
  1145. BrickColor = BrickColor.new("Lily white"),
  1146. Material = Enum.Material.SmoothPlastic,
  1147. FormFactor = Enum.FormFactor.Custom,
  1148. Size = Vector3.new(0.100000001, 0.169999897, 0.389999956),
  1149. CFrame = CFrame.new(-15.584115, 4.24414873, -77.7635422, 3.09086161E-8, 0.707106709, 0.70710665, -3.09086161E-8, -0.707106709, 0.70710665, 0.99999994, -4.37113847E-8, 0),
  1150. Anchored = true,
  1151. CanCollide = false,
  1152. BottomSurface = Enum.SurfaceType.Smooth,
  1153. TopSurface = Enum.SurfaceType.Smooth,
  1154. Color = Color3.new(0.929412, 0.917647, 0.917647)
  1155. })
  1156. Part = New("Part", Model, "Part", {
  1157. BrickColor = maincolor,
  1158. Material = Enum.Material.Neon,
  1159. FormFactor = Enum.FormFactor.Custom,
  1160. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1161. CFrame = CFrame.new(-15.4316874, 2.58891606, -77.7711258, 0, 0, -0.99999994, 0, 1, 0, 0.99999994, 0, 0),
  1162. Anchored = true,
  1163. CanCollide = false,
  1164. BottomSurface = Enum.SurfaceType.Smooth,
  1165. TopSurface = Enum.SurfaceType.Smooth,
  1166. Color = Color3.new(1, 0, 0)
  1167. })
  1168. Mesh = New("BlockMesh", Part, "Mesh", {
  1169. Scale = Vector3.new(0.194377586, 0.630986929, 0.435548395)
  1170. })
  1171. Part = New("Part", Model, "Part", {
  1172. Material = Enum.Material.SmoothPlastic,
  1173. FormFactor = Enum.FormFactor.Custom,
  1174. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1175. CFrame = CFrame.new(-15.0143118, 2.70039511, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1176. Anchored = true,
  1177. CanCollide = false,
  1178. BottomSurface = Enum.SurfaceType.Smooth,
  1179. TopSurface = Enum.SurfaceType.Smooth
  1180. })
  1181. Mesh = New("BlockMesh", Part, "Mesh", {
  1182. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  1183. })
  1184. Part = New("Part", Model, "Part", {
  1185. Material = Enum.Material.SmoothPlastic,
  1186. FormFactor = Enum.FormFactor.Custom,
  1187. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1188. CFrame = CFrame.new(-14.4698181, 2.42498994, -77.7830658, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  1189. Anchored = true,
  1190. CanCollide = false,
  1191. BottomSurface = Enum.SurfaceType.Smooth,
  1192. TopSurface = Enum.SurfaceType.Smooth
  1193. })
  1194. Mesh = New("BlockMesh", Part, "Mesh", {
  1195. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  1196. })
  1197. Part = New("Part", Model, "Part", {
  1198. Material = Enum.Material.SmoothPlastic,
  1199. FormFactor = Enum.FormFactor.Custom,
  1200. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1201. CFrame = CFrame.new(-15.3188915, 2.42498994, -77.4261551, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  1202. Anchored = true,
  1203. CanCollide = false,
  1204. BottomSurface = Enum.SurfaceType.Smooth,
  1205. TopSurface = Enum.SurfaceType.Smooth
  1206. })
  1207. Mesh = New("BlockMesh", Part, "Mesh", {
  1208. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  1209. })
  1210. Part = New("Part", Model, "Part", {
  1211. Material = Enum.Material.SmoothPlastic,
  1212. FormFactor = Enum.FormFactor.Custom,
  1213. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1214. CFrame = CFrame.new(-15.4412384, 2.41636896, -77.5747604, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1215. Anchored = true,
  1216. CanCollide = false,
  1217. BottomSurface = Enum.SurfaceType.Smooth,
  1218. TopSurface = Enum.SurfaceType.Smooth
  1219. })
  1220. Mesh = New("CylinderMesh", Part, "Mesh", {
  1221. Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364)
  1222. })
  1223. Part = New("Part", Model, "Part", {
  1224. Material = Enum.Material.SmoothPlastic,
  1225. FormFactor = Enum.FormFactor.Custom,
  1226. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1227. CFrame = CFrame.new(-14.4698181, 2.42498994, -77.4798431, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  1228. Anchored = true,
  1229. CanCollide = false,
  1230. BottomSurface = Enum.SurfaceType.Smooth,
  1231. TopSurface = Enum.SurfaceType.Smooth
  1232. })
  1233. Mesh = New("BlockMesh", Part, "Mesh", {
  1234. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  1235. })
  1236. Part = New("Part", Model, "Part", {
  1237. BrickColor = maincolor,
  1238. Material = Enum.Material.Neon,
  1239. FormFactor = Enum.FormFactor.Custom,
  1240. Size = Vector3.new(0.150000006, 0.209999889, 0.99999994),
  1241. CFrame = CFrame.new(-14.9994497, 4.42768335, -77.7635422, 1.13133387E-8, 0.258819014, 0.965925634, -4.22219557E-8, -0.965925753, 0.258818984, 0.99999994, -4.37113847E-8, 0),
  1242. Anchored = true,
  1243. CanCollide = false,
  1244. BottomSurface = Enum.SurfaceType.Smooth,
  1245. TopSurface = Enum.SurfaceType.Smooth,
  1246. Color = Color3.new(1, 0, 0)
  1247. })
  1248. Part = New("Part", Model, "Part", {
  1249. BrickColor = BrickColor.new("Lily white"),
  1250. Material = Enum.Material.SmoothPlastic,
  1251. FormFactor = Enum.FormFactor.Custom,
  1252. Size = Vector3.new(1.10000002, 0.100000009, 1.10000002),
  1253. CFrame = CFrame.new(-14.8763256, 2.77579546, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0),
  1254. Anchored = true,
  1255. CanCollide = false,
  1256. BottomSurface = Enum.SurfaceType.Smooth,
  1257. TopSurface = Enum.SurfaceType.Smooth,
  1258. Color = Color3.new(0.929412, 0.917647, 0.917647)
  1259. })
  1260. Part = New("Part", Model, "Part", {
  1261. BrickColor = BrickColor.new("Dark stone grey"),
  1262. Material = Enum.Material.SmoothPlastic,
  1263. FormFactor = Enum.FormFactor.Custom,
  1264. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1265. CFrame = CFrame.new(-14.3547363, 2.59506392, -77.3155441, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  1266. Anchored = true,
  1267. CanCollide = false,
  1268. BottomSurface = Enum.SurfaceType.Smooth,
  1269. TopSurface = Enum.SurfaceType.Smooth,
  1270. Color = Color3.new(0.388235, 0.372549, 0.384314)
  1271. })
  1272. Mesh = New("CylinderMesh", Part, "Mesh", {
  1273. Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364)
  1274. })
  1275. Part = New("Part", Model, "Part", {
  1276. BrickColor = BrickColor.new("Lily white"),
  1277. Material = Enum.Material.SmoothPlastic,
  1278. FormFactor = Enum.FormFactor.Custom,
  1279. Size = Vector3.new(0.100000001, 0.159999892, 1.00999999),
  1280. CFrame = CFrame.new(-14.9978085, 4.49309349, -77.7635422, 1.13133387E-8, 0.258819014, 0.965925634, -4.22219557E-8, -0.965925753, 0.258818984, 0.99999994, -4.37113847E-8, 0),
  1281. Anchored = true,
  1282. CanCollide = false,
  1283. BottomSurface = Enum.SurfaceType.Smooth,
  1284. TopSurface = Enum.SurfaceType.Smooth,
  1285. Color = Color3.new(0.929412, 0.917647, 0.917647)
  1286. })
  1287. Part = New("Part", Model, "Part", {
  1288. BrickColor = maincolor,
  1289. Material = Enum.Material.Neon,
  1290. FormFactor = Enum.FormFactor.Custom,
  1291. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1292. CFrame = CFrame.new(-14.7080917, 2.56596589, -77.2362442, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1293. Anchored = true,
  1294. CanCollide = false,
  1295. BottomSurface = Enum.SurfaceType.Smooth,
  1296. TopSurface = Enum.SurfaceType.Smooth,
  1297. Color = Color3.new(1, 0, 0)
  1298. })
  1299. Mesh = New("BlockMesh", Part, "Mesh", {
  1300. Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395)
  1301. })
  1302. Part = New("Part", Model, "Part", {
  1303. BrickColor = BrickColor.new("Really black"),
  1304. Material = Enum.Material.SmoothPlastic,
  1305. FormFactor = Enum.FormFactor.Custom,
  1306. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1307. CFrame = CFrame.new(-15.3223877, 2.54138398, -78.2002182, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  1308. Anchored = true,
  1309. CanCollide = false,
  1310. BottomSurface = Enum.SurfaceType.Smooth,
  1311. TopSurface = Enum.SurfaceType.Smooth,
  1312. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1313. })
  1314. Mesh = New("BlockMesh", Part, "Mesh", {
  1315. Scale = Vector3.new(0.441132545, 0.558395326, 1)
  1316. })
  1317. SwHandle = New("Part", Model, "Handle", {
  1318. BrickColor = BrickColor.new("Really black"),
  1319. Material = Enum.Material.SmoothPlastic,
  1320. FormFactor = Enum.FormFactor.Custom,
  1321. Size = Vector3.new(1.04999995, 2.04999995, 1.04999995),
  1322. CFrame = CFrame.new(-14.8763285, 3.25079489, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0),
  1323. Anchored = true,
  1324. CanCollide = false,
  1325. BottomSurface = Enum.SurfaceType.Smooth,
  1326. TopSurface = Enum.SurfaceType.Smooth,
  1327. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1328. })
  1329. Part = New("Part", Model, "Part", {
  1330. BrickColor = BrickColor.new("Dark stone grey"),
  1331. Material = Enum.Material.SmoothPlastic,
  1332. FormFactor = Enum.FormFactor.Custom,
  1333. Size = Vector3.new(1.08000004, 0.549999952, 0.300000042),
  1334. CFrame = CFrame.new(-14.8763285, 3.40079522, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0),
  1335. Anchored = true,
  1336. CanCollide = false,
  1337. BottomSurface = Enum.SurfaceType.Smooth,
  1338. TopSurface = Enum.SurfaceType.Smooth,
  1339. Color = Color3.new(0.388235, 0.372549, 0.384314)
  1340. })
  1341. Part = New("Part", Model, "Part", {
  1342. BrickColor = BrickColor.new("Dark stone grey"),
  1343. Material = Enum.Material.SmoothPlastic,
  1344. FormFactor = Enum.FormFactor.Custom,
  1345. Size = Vector3.new(1.08000004, 0.25, 0.800000012),
  1346. CFrame = CFrame.new(-15.0897255, 3.78739715, -77.7635422, -2.18556995E-8, -0.500000119, 0.86602515, -3.78551661E-8, -0.866025269, -0.50000006, 0.99999994, -4.37113847E-8, 0),
  1347. Anchored = true,
  1348. CanCollide = false,
  1349. BottomSurface = Enum.SurfaceType.Smooth,
  1350. TopSurface = Enum.SurfaceType.Smooth,
  1351. Color = Color3.new(0.388235, 0.372549, 0.384314)
  1352. })
  1353. Part = New("Part", Model, "Part", {
  1354. Material = Enum.Material.SmoothPlastic,
  1355. FormFactor = Enum.FormFactor.Custom,
  1356. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1357. CFrame = CFrame.new(-14.7036819, 2.70039511, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  1358. Anchored = true,
  1359. CanCollide = false,
  1360. BottomSurface = Enum.SurfaceType.Smooth,
  1361. TopSurface = Enum.SurfaceType.Smooth
  1362. })
  1363. Mesh = New("BlockMesh", Part, "Mesh", {
  1364. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  1365. })
  1366. Part = New("Part", Model, "Part", {
  1367. BrickColor = BrickColor.new("Dark stone grey"),
  1368. Material = Enum.Material.SmoothPlastic,
  1369. FormFactor = Enum.FormFactor.Custom,
  1370. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1371. CFrame = CFrame.new(-14.8567038, 2.59506392, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  1372. Anchored = true,
  1373. CanCollide = false,
  1374. BottomSurface = Enum.SurfaceType.Smooth,
  1375. TopSurface = Enum.SurfaceType.Smooth,
  1376. Color = Color3.new(0.388235, 0.372549, 0.384314)
  1377. })
  1378. Mesh = New("CylinderMesh", Part, "Mesh", {
  1379. Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364)
  1380. })
  1381. Part = New("Part", Model, "Part", {
  1382. BrickColor = BrickColor.new("Dark stone grey"),
  1383. Material = Enum.Material.SmoothPlastic,
  1384. FormFactor = Enum.FormFactor.Custom,
  1385. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1386. CFrame = CFrame.new(-14.3333502, 2.59506392, -77.9314957, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  1387. Anchored = true,
  1388. CanCollide = false,
  1389. BottomSurface = Enum.SurfaceType.Smooth,
  1390. TopSurface = Enum.SurfaceType.Smooth,
  1391. Color = Color3.new(0.388235, 0.372549, 0.384314)
  1392. })
  1393. Mesh = New("CylinderMesh", Part, "Mesh", {
  1394. Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364)
  1395. })
  1396. Part = New("Part", Model, "Part", {
  1397. Material = Enum.Material.SmoothPlastic,
  1398. FormFactor = Enum.FormFactor.Custom,
  1399. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1400. CFrame = CFrame.new(-14.8513403, 2.74341011, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  1401. Anchored = true,
  1402. CanCollide = false,
  1403. BottomSurface = Enum.SurfaceType.Smooth,
  1404. TopSurface = Enum.SurfaceType.Smooth
  1405. })
  1406. Mesh = New("CylinderMesh", Part, "Mesh", {
  1407. Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364)
  1408. })
  1409. Part = New("Part", Model, "Part", {
  1410. BrickColor = maincolor,
  1411. Material = Enum.Material.Neon,
  1412. FormFactor = Enum.FormFactor.Custom,
  1413. Size = Vector3.new(0.300000012, 0.5, 0.300000012),
  1414. CFrame = CFrame.new(-15.3863306, 3.55079508, -77.7635422, 1.13133387E-8, 0.258819014, 0.965925634, -4.22219557E-8, -0.965925753, 0.258818984, 0.99999994, -4.37113847E-8, 0),
  1415. Anchored = true,
  1416. CanCollide = false,
  1417. BottomSurface = Enum.SurfaceType.Smooth,
  1418. TopSurface = Enum.SurfaceType.Smooth,
  1419. Color = Color3.new(1, 0, 0)
  1420. })
  1421. Part = New("Part", Model, "Part", {
  1422. BrickColor = BrickColor.new("Dark stone grey"),
  1423. Material = Enum.Material.SmoothPlastic,
  1424. FormFactor = Enum.FormFactor.Custom,
  1425. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1426. CFrame = CFrame.new(-15.4412384, 2.59506392, -77.5747604, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1427. Anchored = true,
  1428. CanCollide = false,
  1429. BottomSurface = Enum.SurfaceType.Smooth,
  1430. TopSurface = Enum.SurfaceType.Smooth,
  1431. Color = Color3.new(0.388235, 0.372549, 0.384314)
  1432. })
  1433. Mesh = New("CylinderMesh", Part, "Mesh", {
  1434. Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364)
  1435. })
  1436. Part = New("Part", Model, "Part", {
  1437. Material = Enum.Material.SmoothPlastic,
  1438. FormFactor = Enum.FormFactor.Custom,
  1439. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1440. CFrame = CFrame.new(-14.3333502, 2.41636896, -77.9314957, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  1441. Anchored = true,
  1442. CanCollide = false,
  1443. BottomSurface = Enum.SurfaceType.Smooth,
  1444. TopSurface = Enum.SurfaceType.Smooth
  1445. })
  1446. Mesh = New("CylinderMesh", Part, "Mesh", {
  1447. Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364)
  1448. })
  1449. Part = New("Part", Model, "Part", {
  1450. Material = Enum.Material.SmoothPlastic,
  1451. FormFactor = Enum.FormFactor.Custom,
  1452. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1453. CFrame = CFrame.new(-14.8513403, 2.41636896, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  1454. Anchored = true,
  1455. CanCollide = false,
  1456. BottomSurface = Enum.SurfaceType.Smooth,
  1457. TopSurface = Enum.SurfaceType.Smooth
  1458. })
  1459. Mesh = New("CylinderMesh", Part, "Mesh", {
  1460. Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364)
  1461. })
  1462. Part = New("Part", Model, "Part", {
  1463. BrickColor = BrickColor.new("Dark stone grey"),
  1464. Material = Enum.Material.SmoothPlastic,
  1465. FormFactor = Enum.FormFactor.Custom,
  1466. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1467. CFrame = CFrame.new(-15.4412384, 2.59506392, -78.2658386, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1468. Anchored = true,
  1469. CanCollide = false,
  1470. BottomSurface = Enum.SurfaceType.Smooth,
  1471. TopSurface = Enum.SurfaceType.Smooth,
  1472. Color = Color3.new(0.388235, 0.372549, 0.384314)
  1473. })
  1474. Mesh = New("CylinderMesh", Part, "Mesh", {
  1475. Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364)
  1476. })
  1477. Part = New("Part", Model, "Part", {
  1478. BrickColor = maincolor,
  1479. Material = Enum.Material.Neon,
  1480. FormFactor = Enum.FormFactor.Custom,
  1481. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1482. CFrame = CFrame.new(-15.0133123, 2.56596589, -77.2362442, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1483. Anchored = true,
  1484. CanCollide = false,
  1485. BottomSurface = Enum.SurfaceType.Smooth,
  1486. TopSurface = Enum.SurfaceType.Smooth,
  1487. Color = Color3.new(1, 0, 0)
  1488. })
  1489. Mesh = New("BlockMesh", Part, "Mesh", {
  1490. Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395)
  1491. })
  1492. Part = New("Part", Model, "Part", {
  1493. Material = Enum.Material.SmoothPlastic,
  1494. FormFactor = Enum.FormFactor.Custom,
  1495. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1496. CFrame = CFrame.new(-15.3188915, 2.70039511, -78.0982056, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  1497. Anchored = true,
  1498. CanCollide = false,
  1499. BottomSurface = Enum.SurfaceType.Smooth,
  1500. TopSurface = Enum.SurfaceType.Smooth
  1501. })
  1502. Mesh = New("BlockMesh", Part, "Mesh", {
  1503. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  1504. })
  1505. Part = New("Part", Model, "Part", {
  1506. BrickColor = BrickColor.new("Really black"),
  1507. Material = Enum.Material.SmoothPlastic,
  1508. FormFactor = Enum.FormFactor.Custom,
  1509. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1510. CFrame = CFrame.new(-14.4229803, 2.54138398, -78.2002182, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  1511. Anchored = true,
  1512. CanCollide = false,
  1513. BottomSurface = Enum.SurfaceType.Smooth,
  1514. TopSurface = Enum.SurfaceType.Smooth,
  1515. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1516. })
  1517. Mesh = New("BlockMesh", Part, "Mesh", {
  1518. Scale = Vector3.new(0.441132545, 0.558395326, 1)
  1519. })
  1520. Part = New("Part", Model, "Part", {
  1521. Material = Enum.Material.SmoothPlastic,
  1522. FormFactor = Enum.FormFactor.Custom,
  1523. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1524. CFrame = CFrame.new(-14.4698181, 2.70039511, -78.0765381, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  1525. Anchored = true,
  1526. CanCollide = false,
  1527. BottomSurface = Enum.SurfaceType.Smooth,
  1528. TopSurface = Enum.SurfaceType.Smooth
  1529. })
  1530. Mesh = New("BlockMesh", Part, "Mesh", {
  1531. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  1532. })
  1533. Part = New("Part", Model, "Part", {
  1534. Material = Enum.Material.SmoothPlastic,
  1535. FormFactor = Enum.FormFactor.Custom,
  1536. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1537. CFrame = CFrame.new(-14.431016, 2.70039511, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1538. Anchored = true,
  1539. CanCollide = false,
  1540. BottomSurface = Enum.SurfaceType.Smooth,
  1541. TopSurface = Enum.SurfaceType.Smooth
  1542. })
  1543. Mesh = New("BlockMesh", Part, "Mesh", {
  1544. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  1545. })
  1546. Part = New("Part", Model, "Part", {
  1547. Material = Enum.Material.SmoothPlastic,
  1548. FormFactor = Enum.FormFactor.Custom,
  1549. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1550. CFrame = CFrame.new(-15.3213959, 2.42498994, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  1551. Anchored = true,
  1552. CanCollide = false,
  1553. BottomSurface = Enum.SurfaceType.Smooth,
  1554. TopSurface = Enum.SurfaceType.Smooth
  1555. })
  1556. Mesh = New("BlockMesh", Part, "Mesh", {
  1557. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  1558. })
  1559. Part = New("Part", Model, "Part", {
  1560. Material = Enum.Material.SmoothPlastic,
  1561. FormFactor = Enum.FormFactor.Custom,
  1562. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1563. CFrame = CFrame.new(-15.0143118, 2.42498994, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1564. Anchored = true,
  1565. CanCollide = false,
  1566. BottomSurface = Enum.SurfaceType.Smooth,
  1567. TopSurface = Enum.SurfaceType.Smooth
  1568. })
  1569. Mesh = New("BlockMesh", Part, "Mesh", {
  1570. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  1571. })
  1572. Part = New("Part", Model, "Part", {
  1573. Material = Enum.Material.SmoothPlastic,
  1574. FormFactor = Enum.FormFactor.Custom,
  1575. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1576. CFrame = CFrame.new(-15.4412384, 2.41636896, -77.9560776, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1577. Anchored = true,
  1578. CanCollide = false,
  1579. BottomSurface = Enum.SurfaceType.Smooth,
  1580. TopSurface = Enum.SurfaceType.Smooth
  1581. })
  1582. Mesh = New("CylinderMesh", Part, "Mesh", {
  1583. Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364)
  1584. })
  1585. Part = New("Part", Model, "Part", {
  1586. BrickColor = BrickColor.new("Lily white"),
  1587. Material = Enum.Material.SmoothPlastic,
  1588. FormFactor = Enum.FormFactor.Custom,
  1589. Size = Vector3.new(1.10000002, 0.379999995, 0.100000001),
  1590. CFrame = CFrame.new(-14.8763304, 3.34079528, -77.7635422, 8.8817842E-15, 2.08616257E-7, 0.999999762, -4.37113847E-8, -0.999999881, 2.08616257E-7, 0.99999994, -4.37113847E-8, 0),
  1591. Anchored = true,
  1592. CanCollide = false,
  1593. BottomSurface = Enum.SurfaceType.Smooth,
  1594. TopSurface = Enum.SurfaceType.Smooth,
  1595. Color = Color3.new(0.929412, 0.917647, 0.917647)
  1596. })
  1597. Part = New("Part", Model, "Part", {
  1598. Material = Enum.Material.SmoothPlastic,
  1599. FormFactor = Enum.FormFactor.Custom,
  1600. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1601. CFrame = CFrame.new(-14.431016, 2.42498994, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1602. Anchored = true,
  1603. CanCollide = false,
  1604. BottomSurface = Enum.SurfaceType.Smooth,
  1605. TopSurface = Enum.SurfaceType.Smooth
  1606. })
  1607. Mesh = New("BlockMesh", Part, "Mesh", {
  1608. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  1609. })
  1610. Part = New("Part", Model, "Part", {
  1611. BrickColor = BrickColor.new("Dark stone grey"),
  1612. Material = Enum.Material.SmoothPlastic,
  1613. FormFactor = Enum.FormFactor.Custom,
  1614. Size = Vector3.new(1.08000004, 0.370000094, 0.099999994),
  1615. CFrame = CFrame.new(-15.1763277, 3.01079535, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0),
  1616. Anchored = true,
  1617. CanCollide = false,
  1618. BottomSurface = Enum.SurfaceType.Smooth,
  1619. TopSurface = Enum.SurfaceType.Smooth,
  1620. Color = Color3.new(0.388235, 0.372549, 0.384314)
  1621. })
  1622. Part = New("Part", Model, "Part", {
  1623. BrickColor = BrickColor.new("Really black"),
  1624. Material = Enum.Material.SmoothPlastic,
  1625. FormFactor = Enum.FormFactor.Custom,
  1626. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1627. CFrame = CFrame.new(-14.4749603, 2.54138398, -78.0775299, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  1628. Anchored = true,
  1629. CanCollide = false,
  1630. BottomSurface = Enum.SurfaceType.Smooth,
  1631. TopSurface = Enum.SurfaceType.Smooth,
  1632. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1633. })
  1634. Mesh = New("BlockMesh", Part, "Mesh", {
  1635. Scale = Vector3.new(0.441132545, 0.558395326, 1)
  1636. })
  1637. Part = New("Part", Model, "Part", {
  1638. BrickColor = BrickColor.new("Really black"),
  1639. Material = Enum.Material.SmoothPlastic,
  1640. FormFactor = Enum.FormFactor.Custom,
  1641. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1642. CFrame = CFrame.new(-15.3176498, 2.54138398, -77.3468628, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1643. Anchored = true,
  1644. CanCollide = false,
  1645. BottomSurface = Enum.SurfaceType.Smooth,
  1646. TopSurface = Enum.SurfaceType.Smooth,
  1647. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1648. })
  1649. Mesh = New("BlockMesh", Part, "Mesh", {
  1650. Scale = Vector3.new(0.441132545, 0.558395326, 1)
  1651. })
  1652. Part = New("Part", Model, "Part", {
  1653. BrickColor = maincolor,
  1654. Material = Enum.Material.Neon,
  1655. FormFactor = Enum.FormFactor.Custom,
  1656. Size = Vector3.new(1.11000001, 0.300000012, 0.100000001),
  1657. CFrame = CFrame.new(-14.8763304, 3.39079523, -77.7635422, 8.8817842E-15, 2.08616257E-7, 0.999999762, -4.37113847E-8, -0.999999881, 2.08616257E-7, 0.99999994, -4.37113847E-8, 0),
  1658. Anchored = true,
  1659. CanCollide = false,
  1660. BottomSurface = Enum.SurfaceType.Smooth,
  1661. TopSurface = Enum.SurfaceType.Smooth,
  1662. Color = Color3.new(1, 0, 0)
  1663. })
  1664. Part = New("Part", Model, "Part", {
  1665. Material = Enum.Material.SmoothPlastic,
  1666. FormFactor = Enum.FormFactor.Custom,
  1667. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1668. CFrame = CFrame.new(-14.7090759, 2.70039511, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1669. Anchored = true,
  1670. CanCollide = false,
  1671. BottomSurface = Enum.SurfaceType.Smooth,
  1672. TopSurface = Enum.SurfaceType.Smooth
  1673. })
  1674. Mesh = New("BlockMesh", Part, "Mesh", {
  1675. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  1676. })
  1677. Part = New("Part", Model, "Part", {
  1678. BrickColor = BrickColor.new("Lily white"),
  1679. Material = Enum.Material.SmoothPlastic,
  1680. FormFactor = Enum.FormFactor.Custom,
  1681. Size = Vector3.new(1.10000002, 0.849999905, 0.300000012),
  1682. CFrame = CFrame.new(-15.3763304, 3.55079508, -77.7635422, 1.13133387E-8, 0.258819014, 0.965925634, -4.22219557E-8, -0.965925753, 0.258818984, 0.99999994, -4.37113847E-8, 0),
  1683. Anchored = true,
  1684. CanCollide = false,
  1685. BottomSurface = Enum.SurfaceType.Smooth,
  1686. TopSurface = Enum.SurfaceType.Smooth,
  1687. Color = Color3.new(0.929412, 0.917647, 0.917647)
  1688. })
  1689. Part = New("Part", Model, "Part", {
  1690. Material = Enum.Material.SmoothPlastic,
  1691. FormFactor = Enum.FormFactor.Custom,
  1692. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1693. CFrame = CFrame.new(-15.3188915, 2.70039511, -77.4261551, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  1694. Anchored = true,
  1695. CanCollide = false,
  1696. BottomSurface = Enum.SurfaceType.Smooth,
  1697. TopSurface = Enum.SurfaceType.Smooth
  1698. })
  1699. Mesh = New("BlockMesh", Part, "Mesh", {
  1700. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  1701. })
  1702. Part = New("Part", Model, "Part", {
  1703. BrickColor = BrickColor.new("Really black"),
  1704. Material = Enum.Material.SmoothPlastic,
  1705. FormFactor = Enum.FormFactor.Custom,
  1706. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1707. CFrame = CFrame.new(-15.0133123, 2.54138398, -77.3468628, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1708. Anchored = true,
  1709. CanCollide = false,
  1710. BottomSurface = Enum.SurfaceType.Smooth,
  1711. TopSurface = Enum.SurfaceType.Smooth,
  1712. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1713. })
  1714. Mesh = New("BlockMesh", Part, "Mesh", {
  1715. Scale = Vector3.new(0.441132545, 0.558395326, 1)
  1716. })
  1717. Part = New("Part", Model, "Part", {
  1718. Material = Enum.Material.SmoothPlastic,
  1719. FormFactor = Enum.FormFactor.Custom,
  1720. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1721. CFrame = CFrame.new(-14.3547363, 2.74341011, -77.3155441, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  1722. Anchored = true,
  1723. CanCollide = false,
  1724. BottomSurface = Enum.SurfaceType.Smooth,
  1725. TopSurface = Enum.SurfaceType.Smooth
  1726. })
  1727. Mesh = New("CylinderMesh", Part, "Mesh", {
  1728. Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364)
  1729. })
  1730. Part = New("Part", Model, "Part", {
  1731. BrickColor = BrickColor.new("Lily white"),
  1732. Material = Enum.Material.SmoothPlastic,
  1733. FormFactor = Enum.FormFactor.Custom,
  1734. Size = Vector3.new(1.08000004, 0.0599999726, 1.08000004),
  1735. CFrame = CFrame.new(-14.8763285, 2.24579477, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0),
  1736. Anchored = true,
  1737. CanCollide = false,
  1738. BottomSurface = Enum.SurfaceType.Smooth,
  1739. TopSurface = Enum.SurfaceType.Smooth,
  1740. Color = Color3.new(0.929412, 0.917647, 0.917647)
  1741. })
  1742. Part = New("Part", Model, "Part", {
  1743. BrickColor = BrickColor.new("Lily white"),
  1744. Material = Enum.Material.SmoothPlastic,
  1745. FormFactor = Enum.FormFactor.Custom,
  1746. Size = Vector3.new(0.0900000036, 0.459999859, 0.209999979),
  1747. CFrame = CFrame.new(-15.5471468, 4.27926397, -77.7635422, -2.1855703E-8, -0.500000179, 0.866025209, -3.7855159E-8, -0.866025209, -0.500000179, 0.99999994, -4.37113847E-8, 0),
  1748. Anchored = true,
  1749. CanCollide = false,
  1750. BottomSurface = Enum.SurfaceType.Smooth,
  1751. TopSurface = Enum.SurfaceType.Smooth,
  1752. Color = Color3.new(0.929412, 0.917647, 0.917647)
  1753. })
  1754. Part = New("Part", Model, "Part", {
  1755. BrickColor = BrickColor.new("Lily white"),
  1756. Material = Enum.Material.SmoothPlastic,
  1757. FormFactor = Enum.FormFactor.Custom,
  1758. Size = Vector3.new(0.899999976, 0.0599999987, 0.899999976),
  1759. CFrame = CFrame.new(-14.8763285, 2.22579479, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0),
  1760. Anchored = true,
  1761. CanCollide = false,
  1762. BottomSurface = Enum.SurfaceType.Smooth,
  1763. TopSurface = Enum.SurfaceType.Smooth,
  1764. Color = Color3.new(0.929412, 0.917647, 0.917647)
  1765. })
  1766. Part = New("Part", Model, "Part", {
  1767. BrickColor = BrickColor.new("Lily white"),
  1768. Material = Enum.Material.SmoothPlastic,
  1769. FormFactor = Enum.FormFactor.Custom,
  1770. Size = Vector3.new(0.0900000036, 0.509999812, 0.209999979),
  1771. CFrame = CFrame.new(-15.29809, 4.35893965, -77.7635422, 4.22219522E-8, 0.965925694, 0.258818924, -1.13133378E-8, -0.258818924, 0.965925694, 0.99999994, -4.37113847E-8, 0),
  1772. Anchored = true,
  1773. CanCollide = false,
  1774. BottomSurface = Enum.SurfaceType.Smooth,
  1775. TopSurface = Enum.SurfaceType.Smooth,
  1776. Color = Color3.new(0.929412, 0.917647, 0.917647)
  1777. })
  1778. Part = New("Part", Model, "Part", {
  1779. BrickColor = BrickColor.new("Dark stone grey"),
  1780. Material = Enum.Material.SmoothPlastic,
  1781. FormFactor = Enum.FormFactor.Custom,
  1782. Size = Vector3.new(1, 0.0599999987, 1),
  1783. CFrame = CFrame.new(-14.8763285, 2.23579478, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0),
  1784. Anchored = true,
  1785. CanCollide = false,
  1786. BottomSurface = Enum.SurfaceType.Smooth,
  1787. TopSurface = Enum.SurfaceType.Smooth,
  1788. Color = Color3.new(0.388235, 0.372549, 0.384314)
  1789. })
  1790. Part = New("Part", Model, "Part", {
  1791. BrickColor = BrickColor.new("Lily white"),
  1792. Material = Enum.Material.SmoothPlastic,
  1793. FormFactor = Enum.FormFactor.Custom,
  1794. Size = Vector3.new(0.0900000036, 0.259999871, 0.75999999),
  1795. CFrame = CFrame.new(-15.0625782, 4.56317425, -77.7635422, -2.18556693E-8, -0.499999553, -0.866025507, 3.78551803E-8, 0.866025507, -0.499999553, 0.99999994, -4.37113847E-8, 0),
  1796. Anchored = true,
  1797. CanCollide = false,
  1798. BottomSurface = Enum.SurfaceType.Smooth,
  1799. TopSurface = Enum.SurfaceType.Smooth,
  1800. Color = Color3.new(0.929412, 0.917647, 0.917647)
  1801. })
  1802. Part = New("Part", Model, "Part", {
  1803. BrickColor = maincolor,
  1804. Material = Enum.Material.Neon,
  1805. FormFactor = Enum.FormFactor.Custom,
  1806. Size = Vector3.new(0.949999988, 0.0700000003, 0.949999988),
  1807. CFrame = CFrame.new(-14.8763285, 2.23579478, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0),
  1808. Anchored = true,
  1809. CanCollide = false,
  1810. BottomSurface = Enum.SurfaceType.Smooth,
  1811. TopSurface = Enum.SurfaceType.Smooth,
  1812. Color = Color3.new(1, 0, 0)
  1813. })
  1814. Part = New("Part", Model, "Part", {
  1815. BrickColor = BrickColor.new("Lily white"),
  1816. Material = Enum.Material.SmoothPlastic,
  1817. FormFactor = Enum.FormFactor.Custom,
  1818. Size = Vector3.new(0.0900000036, 0.459999859, 0.209999979),
  1819. CFrame = CFrame.new(-14.627532, 4.49887943, -77.7635422, -1.42108547E-14, -2.38418579E-7, 0.999999881, -4.37113812E-8, -0.999999881, -2.38418579E-7, 0.99999994, -4.37113847E-8, 0),
  1820. Anchored = true,
  1821. CanCollide = false,
  1822. BottomSurface = Enum.SurfaceType.Smooth,
  1823. TopSurface = Enum.SurfaceType.Smooth,
  1824. Color = Color3.new(0.929412, 0.917647, 0.917647)
  1825. })
  1826. maincolor = game.Players.LocalPlayer.Character.Torso.BrickColor
  1827. ArmorColorParts = {}
  1828. NeonColorParts = {}
  1829. NeonColorParts2 = {}
  1830. Eye = New("Part", Character, "Eye", {
  1831. BrickColor = BrickColor.new("Really black"),
  1832. Size = Vector3.new(0.879999995, 0.699999976, 1.0999999),
  1833. CFrame = CFrame.new(48.0200577, 1.00104618, 0.0799999982, 0.99999994, -1.93715096E-7, 0, 1.93715096E-7, 0.99999994, 0, 0, 0, 1),
  1834. Anchored = false,
  1835. BottomSurface = Enum.SurfaceType.Smooth,
  1836. TopSurface = Enum.SurfaceType.Smooth
  1837. })
  1838. Mesh = New("SpecialMesh", Eye, "Mesh", {
  1839. Scale = Vector3.new(1.29999995, 1.25, 1.29999995)
  1840. })
  1841. test = -0.0200577000000024
  1842. test2 = -0.001045229999999897
  1843. print("" .. test)
  1844. test3 = 0.0499999968
  1845. print("" .. test2)
  1846. print("" .. test3)
  1847. local all, last = {}, nil
  1848. function scan(p)
  1849. for _, v in pairs(p:GetChildren()) do
  1850. if v:IsA("BasePart") then
  1851. if v.BrickColor == BrickColor.new("Lily white") then
  1852. table.insert(ArmorColorParts, v)
  1853. end
  1854. if v.BrickColor == BrickColor.new("Really red") then
  1855. table.insert(NeonColorParts, v)
  1856. table.insert(NeonColorParts2, v)
  1857. end
  1858. if last then
  1859. local w = Instance.new("Weld")
  1860. w.Part0, w.Part1 = last, v
  1861. w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse()
  1862. w.Parent = last
  1863. end
  1864. table.insert(all, v)
  1865. last = v
  1866. end
  1867. scan(v)
  1868. end
  1869. end
  1870. scan(Model)
  1871. for _, v in pairs(all) do
  1872. v.Anchored = false
  1873. v.CanCollide = false
  1874. end
  1875. Model.Parent = Character
  1876. local eye1 = Instance.new("Part")
  1877. eye1.Parent = Character
  1878. eye1.Size = Vector3.new(0.2, 0.2, 0.2)
  1879. eye1.Archivable = true
  1880. eye1.Transparency = 0
  1881. eye1.Shape = "Ball"
  1882. eye1.BrickColor = maincolor
  1883. eye1.Material = "Neon"
  1884. eye1.CanCollide = false
  1885. local mesh = Instance.new("SpecialMesh", eye1)
  1886. mesh.MeshType = "Sphere"
  1887. mesh.Scale = Vector3.new(1.2, 1.2, 1)
  1888. local weld1en = Instance.new("Weld")
  1889. weld1en.Parent = Character.Head
  1890. weld1en.Part0 = Character.Head
  1891. weld1en.Part1 = eye1
  1892. weld1en.C1 = CFrame.new(-0.18, -0.16, 0.5175)
  1893. table.insert(NeonColorParts, eye1)
  1894. for i, v in pairs(NeonColorParts) do
  1895. v.BrickColor = maincolor
  1896. end
  1897. local Services = {
  1898. SoundService = game:GetService("SoundService"),
  1899. Players = game:GetService("Players"),
  1900. Debris = game:GetService("Debris"),
  1901. Workspace = game:GetService("Workspace"),
  1902. Lighting = game:GetService("Lighting"),
  1903. HttpService = game:GetService("HttpService"),
  1904. InsertService = game:GetService("InsertService")
  1905. }
  1906. local NeckCF = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1907. Humanoid.Animator:Destroy()
  1908. Character.Animate:Destroy()
  1909. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  1910. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  1911. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  1912. EyeW = Instance.new("Weld")
  1913. EyeW.Name = "EyeW"
  1914. EyeW.Parent = Head
  1915. EyeW.Part0 = Eye
  1916. EyeW.C1 = cn(-test, test2 + 0.145, -test3)
  1917. EyeW.Part1 = Head
  1918. SWW = Instance.new("Weld")
  1919. SWW.Name = "SWW"
  1920. SWW.Part0 = RightArm
  1921. SWW.C0 = cn(0, 0, 0) * angles(math.rad(180), math.rad(-90), math.rad(0))
  1922. SWW.C1 = cn(0, 0, 0)
  1923. SWW.Part1 = SwHandle
  1924. SWW.Parent = RightArm
  1925. RSH, LSH = nil, nil
  1926. RW = Instance.new("Weld")
  1927. LW = Instance.new("Weld")
  1928. RH = Torso["Right Hip"]
  1929. LH = Torso["Left Hip"]
  1930. RSH = Torso["Right Shoulder"]
  1931. LSH = Torso["Left Shoulder"]
  1932. RSH.Parent = nil
  1933. LSH.Parent = nil
  1934. RW.Name = "RW"
  1935. RW.Part0 = Torso
  1936. RW.C0 = cn(1.5, 0.5, 0)
  1937. RW.C1 = cn(0, 0.5, 0)
  1938. RW.Part1 = RightArm
  1939. RW.Parent = Torso
  1940. LW.Name = "LW"
  1941. LW.Part0 = Torso
  1942. LW.C0 = cn(-1.5, 0.5, 0)
  1943. LW.C1 = cn(0, 0.5, 0)
  1944. LW.Part1 = LeftArm
  1945. LW.Parent = Torso
  1946. function clerp(a, b, t)
  1947. local qa = {
  1948. QuaternionFromCFrame(a)
  1949. }
  1950. local qb = {
  1951. QuaternionFromCFrame(b)
  1952. }
  1953. local ax, ay, az = a.x, a.y, a.z
  1954. local bx, by, bz = b.x, b.y, b.z
  1955. local _t = 1 - t
  1956. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1957. end
  1958. function QuaternionFromCFrame(cf)
  1959. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1960. local trace = m00 + m11 + m22
  1961. if trace > 0 then
  1962. local s = math.sqrt(1 + trace)
  1963. local recip = 0.5 / s
  1964. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1965. else
  1966. local i = 0
  1967. if m00 < m11 then
  1968. i = 1
  1969. end
  1970. if m22 > (i == 0 and m00 or m11) then
  1971. i = 2
  1972. end
  1973. if i == 0 then
  1974. local s = math.sqrt(m00 - m11 - m22 + 1)
  1975. local recip = 0.5 / s
  1976. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1977. elseif i == 1 then
  1978. local s = math.sqrt(m11 - m22 - m00 + 1)
  1979. local recip = 0.5 / s
  1980. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1981. elseif i == 2 then
  1982. local s = math.sqrt(m22 - m00 - m11 + 1)
  1983. local recip = 0.5 / s
  1984. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1985. end
  1986. end
  1987. end
  1988. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1989. local xs, ys, zs = x + x, y + y, z + z
  1990. local wx, wy, wz = w * xs, w * ys, w * zs
  1991. local xx = x * xs
  1992. local xy = x * ys
  1993. local xz = x * zs
  1994. local yy = y * ys
  1995. local yz = y * zs
  1996. local zz = z * zs
  1997. 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))
  1998. end
  1999. function QuaternionSlerp(a, b, t)
  2000. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  2001. local startInterp, finishInterp
  2002. if cosTheta >= 1.0E-4 then
  2003. if 1 - cosTheta > 1.0E-4 then
  2004. local theta = math.acos(cosTheta)
  2005. local invSinTheta = 1 / math.sin(theta)
  2006. startInterp = math.sin((1 - t) * theta) * invSinTheta
  2007. finishInterp = math.sin(t * theta) * invSinTheta
  2008. else
  2009. startInterp = 1 - t
  2010. finishInterp = t
  2011. end
  2012. elseif 1 + cosTheta > 1.0E-4 then
  2013. local theta = math.acos(-cosTheta)
  2014. local invSinTheta = 1 / math.sin(theta)
  2015. startInterp = math.sin((t - 1) * theta) * invSinTheta
  2016. finishInterp = math.sin(t * theta) * invSinTheta
  2017. else
  2018. startInterp = t - 1
  2019. finishInterp = t
  2020. end
  2021. 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
  2022. end
  2023. function swait(num)
  2024. if num == 0 or num == nil then
  2025. game:service("RunService").RenderStepped:wait(0)
  2026. else
  2027. for i = 0, num do
  2028. game:service("RunService").RenderStepped:wait(0)
  2029. end
  2030. end
  2031. end
  2032. local RbxUtility = LoadLibrary("RbxUtility")
  2033. local Create = RbxUtility.Create
  2034. function RemoveOutlines(part)
  2035. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  2036. end
  2037. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2038. local Part = Create("Part")({
  2039. formFactor = FormFactor,
  2040. Parent = Parent,
  2041. Reflectance = Reflectance,
  2042. Transparency = Transparency,
  2043. CanCollide = false,
  2044. Locked = true,
  2045. BrickColor = BrickColor.new(tostring(BColor)),
  2046. Name = Name,
  2047. Size = Size,
  2048. Material = Material
  2049. })
  2050. RemoveOutlines(Part)
  2051. return Part
  2052. end
  2053. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2054. local Msh = Create(Mesh)({
  2055. Parent = Part,
  2056. Offset = OffSet,
  2057. Scale = Scale
  2058. })
  2059. if Mesh == "SpecialMesh" then
  2060. Msh.MeshType = MeshType
  2061. Msh.MeshId = MeshId
  2062. end
  2063. return Msh
  2064. end
  2065. function CreateWeld(Parent, Part0, Part1, C0, C1)
  2066. local Weld = Create("Weld")({
  2067. Parent = Parent,
  2068. Part0 = Part0,
  2069. Part1 = Part1,
  2070. C0 = C0,
  2071. C1 = C1
  2072. })
  2073. return Weld
  2074. end
  2075. function rayCast(Position, Direction, Range, Ignore)
  2076. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  2077. end
  2078. function CreateSound(id, par, vol, pit)
  2079. coroutine.resume(coroutine.create(function()
  2080. local sou = Instance.new("Sound", par or workspace)
  2081. sou.Volume = vol
  2082. sou.Pitch = pit or 1
  2083. sou.SoundId = id
  2084. wait()
  2085. sou:play()
  2086. game:GetService("Debris"):AddItem(sou, 6)
  2087. end))
  2088. end
  2089. function CreateSong(id, par, vol, pit)
  2090. coroutine.resume(coroutine.create(function()
  2091. sou2 = Instance.new("Sound", par or workspace)
  2092. sou2.Volume = vol
  2093. sou2.Pitch = 1
  2094. sou2.SoundId = id
  2095. wait()
  2096. sou2:play()
  2097. sou2.Looped = true
  2098. end))
  2099. end
  2100. local function getclosest(obj, distance)
  2101. local last, lastx = distance + 1, nil
  2102. for i, v in pairs(workspace:GetChildren()) do
  2103. if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
  2104. local t = v.Torso
  2105. local dist = (t.Position - obj.Position).magnitude
  2106. if distance >= dist and last > dist then
  2107. last = dist
  2108. lastx = v
  2109. end
  2110. end
  2111. end
  2112. return lastx
  2113. end
  2114. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2115. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2116. prt.Anchored = true
  2117. prt.CFrame = cframe
  2118. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2119. game:GetService("Debris"):AddItem(prt, 10)
  2120. if Type == 1 or Type == nil then
  2121. table.insert(Effects, {
  2122. prt,
  2123. "Block1",
  2124. delay,
  2125. x3,
  2126. y3,
  2127. z3,
  2128. msh
  2129. })
  2130. elseif Type == 2 then
  2131. table.insert(Effects, {
  2132. prt,
  2133. "Block2",
  2134. delay,
  2135. x3,
  2136. y3,
  2137. z3,
  2138. msh
  2139. })
  2140. elseif Type == 3 then
  2141. table.insert(Effects, {
  2142. prt,
  2143. "Block3",
  2144. delay,
  2145. x3,
  2146. y3,
  2147. z3,
  2148. msh
  2149. })
  2150. end
  2151. end
  2152. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2153. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2154. prt.Anchored = true
  2155. prt.CFrame = cframe
  2156. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2157. game:GetService("Debris"):AddItem(prt, 10)
  2158. table.insert(Effects, {
  2159. prt,
  2160. "Cylinder",
  2161. delay,
  2162. x3,
  2163. y3,
  2164. z3,
  2165. msh
  2166. })
  2167. end
  2168. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2169. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2170. prt.Anchored = true
  2171. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  2172. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2173. game:GetService("Debris"):AddItem(prt, 10)
  2174. table.insert(Effects, {
  2175. prt,
  2176. "Cylinder",
  2177. delay,
  2178. x3,
  2179. y3,
  2180. z3,
  2181. msh
  2182. })
  2183. end
  2184. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2185. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2186. prt.Anchored = true
  2187. prt.CFrame = cframe
  2188. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2189. game:GetService("Debris"):AddItem(prt, 10)
  2190. table.insert(Effects, {
  2191. prt,
  2192. "Cylinder",
  2193. delay,
  2194. x3,
  2195. y3,
  2196. z3,
  2197. msh
  2198. })
  2199. end
  2200. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2201. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2202. prt.Anchored = true
  2203. prt.CFrame = cframe
  2204. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2205. game:GetService("Debris"):AddItem(prt, 10)
  2206. table.insert(Effects, {
  2207. prt,
  2208. "Cylinder",
  2209. delay,
  2210. x3,
  2211. y3,
  2212. z3,
  2213. msh
  2214. })
  2215. end
  2216. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2217. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2218. prt.Anchored = true
  2219. prt.CFrame = cframe
  2220. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2221. game:GetService("Debris"):AddItem(prt, 10)
  2222. table.insert(Effects, {
  2223. prt,
  2224. "Cylinder",
  2225. delay,
  2226. x3,
  2227. y3,
  2228. z3,
  2229. msh
  2230. })
  2231. end
  2232. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  2233. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2234. prt.Anchored = true
  2235. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2236. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2237. local num = math.random(10, 50) / 1000
  2238. game:GetService("Debris"):AddItem(prt, 10)
  2239. table.insert(Effects, {
  2240. prt,
  2241. "Shatter",
  2242. num,
  2243. prt.CFrame,
  2244. math.random() - math.random(),
  2245. 0,
  2246. math.random(50, 100) / 100
  2247. })
  2248. end
  2249. for i = 0, 1, 0.05 do
  2250. swait()
  2251. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  2252. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), 0.1)
  2253. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
  2254. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  2255. if Torsovelocity.y > 2 then
  2256. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50 * math.cos(sine / 4)), math.rad(0), math.rad(4 * math.cos(sine / 4))), 0.2)
  2257. RH.C0 = clerp(RH.C0, cn(1, -1 + 0.1 * math.cos(sine / 5), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), 0.3)
  2258. LH.C0 = clerp(LH.C0, cn(-1, -1 + 0.1 * math.cos(sine / 5), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), 0.3)
  2259. elseif Torsovelocity.y < 1 then
  2260. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
  2261. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), 0.1)
  2262. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), 0.1)
  2263. end
  2264. end
  2265. attack = false
  2266. game:GetService("RunService").Stepped:connect(function()
  2267. Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  2268. velocity = RootPart.Velocity.y
  2269. sine = sine + change
  2270. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  2271. if equipped == true or equipped == false then
  2272. if RootPart.Velocity.y > -1 and hit == nil then
  2273. Anim = "Jump"
  2274. inair = true
  2275. if attack == false then
  2276. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-9), math.rad(0), math.rad(0)), 0.1)
  2277. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  2278. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4, -0.1) * angles(math.rad(25), math.rad(0), math.rad(40)), 0.1)
  2279. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4, -0.1) * angles(math.rad(45), math.rad(0), math.rad(-70)), 0.1)
  2280. RH.C0 = clerp(RH.C0, cn(1, -0.8, -0.5) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), 0.3)
  2281. LH.C0 = clerp(LH.C0, cn(-1, -1, -0.1) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), 0.3)
  2282. end
  2283. elseif RootPart.Velocity.y < -1 and hit == nil then
  2284. Anim = "Fall"
  2285. inair = true
  2286. if attack == false then
  2287. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  2288. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  2289. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.05)
  2290. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.1)
  2291. RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1)
  2292. LH.C0 = clerp(LH.C0, cn(-1, -0.8, -0.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1)
  2293. end
  2294. elseif (Torso.Velocity).magnitude < 1 and hit ~= nil then
  2295. Anim = "Idle"
  2296. inair = false
  2297. if attack == false then
  2298. Humanoid.JumpPower = 50
  2299. if elementmode == "Mode 1" then
  2300. change = 0.8
  2301. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.02 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(1), math.rad(15)), 0.1)
  2302. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(9 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-15)), 0.1)
  2303. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.35) * angles(math.rad(90 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(-50)), 0.1)
  2304. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.15) * angles(math.rad(70 - 1 * math.cos(sine / 8)), math.rad(-7), math.rad(70)), 0.1)
  2305. RH.C0 = clerp(RH.C0, cn(1, -1 - 0.02 * math.cos(sine / 8), 0) * RHCF * angles(math.rad(-4), math.rad(0), math.rad(0 + 0.05 * math.cos(sine / 25))), 0.1)
  2306. LH.C0 = clerp(LH.C0, cn(-1, -1 - 0.02 * math.cos(sine / 8), 0) * LHCF * angles(math.rad(-4), math.rad(0), math.rad(0 + 0.05 * math.cos(sine / 25))), 0.1)
  2307. elseif elementmode == "Mode 2" then
  2308. change = 0.8
  2309. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.02 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(1), math.rad(25)), 0.1)
  2310. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(9 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-25)), 0.1)
  2311. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(5 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(10)), 0.1)
  2312. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(5 - 1 * math.cos(sine / 8)), math.rad(-7), math.rad(-10)), 0.1)
  2313. RH.C0 = clerp(RH.C0, cn(1, -1 - 0.02 * math.cos(sine / 8), 0) * RHCF * angles(math.rad(-4), math.rad(0), math.rad(0 + 0.05 * math.cos(sine / 25))), 0.1)
  2314. LH.C0 = clerp(LH.C0, cn(-1, -1 - 0.02 * math.cos(sine / 8), 0) * LHCF * angles(math.rad(-4), math.rad(0), math.rad(0 + 0.05 * math.cos(sine / 25))), 0.1)
  2315. elseif elementmode == "Mode 3" then
  2316. change = 0.8
  2317. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.02 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(1), math.rad(35)), 0.1)
  2318. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(9 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(-35)), 0.1)
  2319. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90 - 1 * math.cos(sine / 8)), math.rad(15), math.rad(45)), 0.1)
  2320. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -0.3) * angles(math.rad(45 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(45)), 0.1)
  2321. RH.C0 = clerp(RH.C0, cn(1, -1 - 0.02 * math.cos(sine / 8), 0) * RHCF * angles(math.rad(-4), math.rad(0), math.rad(-5 + 0.05 * math.cos(sine / 25))), 0.1)
  2322. LH.C0 = clerp(LH.C0, cn(-1, -1 - 0.02 * math.cos(sine / 8), 0) * LHCF * angles(math.rad(-4), math.rad(0), math.rad(-10 + 0.05 * math.cos(sine / 25))), 0.1)
  2323. elseif elementmode == "Mode 4" then
  2324. change = 0.6
  2325. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.5 + 0.02 * math.cos(sine / 2)) * angles(math.rad(-2), math.rad(1), math.rad(15)), 0.1)
  2326. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(19 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-15)), 0.1)
  2327. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.35) * angles(math.rad(90 - 2 * math.cos(sine / 1)), math.rad(0), math.rad(-50)), 0.1)
  2328. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.15) * angles(math.rad(70 + 2 * math.cos(sine / 1)), math.rad(-7), math.rad(70)), 0.1)
  2329. RH.C0 = clerp(RH.C0, cn(1, -0.5 - 0.02 * math.cos(sine / 2), -0.2) * RHCF * angles(math.rad(-4), math.rad(0), math.rad(-10 + 0.05 * math.cos(sine / 25))), 0.1)
  2330. LH.C0 = clerp(LH.C0, cn(-1, -0.5 - 0.02 * math.cos(sine / 2), -0.2) * LHCF * angles(math.rad(-4), math.rad(0), math.rad(10 + 0.05 * math.cos(sine / 25))), 0.1)
  2331. elseif elementmode == "Mode 5" then
  2332. change = 0.8
  2333. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -1.1 + 0.02 * math.cos(sine / 8)) * angles(math.rad(10), math.rad(1), math.rad(0)), 0.1)
  2334. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(45 + 1 * math.cos(sine / 1)), math.rad(0), math.rad(5 * math.cos(sine / 1))), 0.1)
  2335. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(10 - 4 * math.cos(sine / 1)), math.rad(0), math.rad(30)), 0.1)
  2336. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, 0) * angles(math.rad(110 + 4 * math.cos(sine / 1)), math.rad(0), math.rad(30)), 0.1)
  2337. RH.C0 = clerp(RH.C0, cn(1, -0.2 - 0.02 * math.cos(sine / 8), -0.2) * RHCF * angles(math.rad(0), math.rad(0), math.rad(40 + 0.05 * math.cos(sine / 25))), 0.1)
  2338. LH.C0 = clerp(LH.C0, cn(-1, -0.2 - 0.02 * math.cos(sine / 8), -0.5) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20 + 0.05 * math.cos(sine / 25))), 0.1)
  2339. elseif elementmode == "Mode 6" then
  2340. change = 0.5
  2341. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 1.2 + 0.2 * math.cos(sine / 8)) * angles(math.rad(-2), math.rad(1), math.rad(15)), 0.1)
  2342. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(15 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-15)), 0.1)
  2343. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(15 - 2 * math.cos(sine / 8))), 0.1)
  2344. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(-15 + 2 * math.cos(sine / 8))), 0.1)
  2345. RH.C0 = clerp(RH.C0, cn(1, -0.6 - 0.02 * math.cos(sine / 8), -0.3) * RHCF * angles(math.rad(-4), math.rad(0), math.rad(-25 + 2 * math.cos(sine / 8))), 0.1)
  2346. LH.C0 = clerp(LH.C0, cn(-1, -0.8 - 0.02 * math.cos(sine / 8), -0.2) * LHCF * angles(math.rad(-4), math.rad(0), math.rad(10 - 1 * math.cos(sine / 8))), 0.1)
  2347. end
  2348. end
  2349. elseif (Torso.Velocity).magnitude < 50 and hit ~= nil then
  2350. Anim = "Walk"
  2351. inair = false
  2352. if attack == false and Runkey == false then
  2353. if elementmode == "Mode 1" then
  2354. change = 0.9
  2355. Humanoid.WalkSpeed = 22
  2356. Humanoid.JumpPower = 50
  2357. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.15 * math.cos(sine / 3)) * angles(math.rad(15), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(10 * math.cos(sine / 4))), 0.3)
  2358. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-8.5 * math.cos(sine / 4)) + RootPart.RotVelocity.Y / 12), 0.2)
  2359. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10 + -75 * math.cos(sine / 4)), math.rad(5 + -35 * math.cos(sine / 4)), math.rad(2 + 10 * math.cos(sine / 4))), 0.2)
  2360. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10 + 75 * math.cos(sine / 4)), math.rad(5 + -35 * math.cos(sine / 4)), math.rad(-2 + 10 * math.cos(sine / 4))), 0.2)
  2361. RH.C0 = clerp(RH.C0, cn(1, -1 - -0.3 * math.cos(sine / 4), -0.1 - 0.1 * math.cos(sine / 4)) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(-10 + 60 * math.cos(sine / 4))), 0.3)
  2362. LH.C0 = clerp(LH.C0, cn(-1, -1 + -0.3 * math.cos(sine / 4), -0.1 + 0.1 * math.cos(sine / 4)) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10 + 60 * math.cos(sine / 4))), 0.3)
  2363. elseif elementmode == "Mode 2" then
  2364. change = 1.4
  2365. Humanoid.WalkSpeed = 14
  2366. Humanoid.JumpPower = 60
  2367. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -0.175 + 0.025 * math.cos(sine / 3.5) + -math.sin(sine / 3.5) / 7) * angles(math.rad(5 - 2.5 * math.cos(sine / 3.5)), math.rad(0), math.rad(10 * math.cos(sine / 7))), 0.2)
  2368. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * CFrame.new(0, 0, 0 + 0.025 * math.cos(sine / 3.5)) * angles(math.rad(0 + 1.5 * math.cos(sine / 3.5)), math.rad(0 - 0 * math.cos(sine / 3.5)), math.rad(-10 * math.cos(sine / 7)) + RootPart.RotVelocity.Y / 12), 0.2)
  2369. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(25 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(0), math.rad(10)), 0.2)
  2370. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(0), math.rad(-10)), 0.2)
  2371. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.925 - 0.5 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 35 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 10 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
  2372. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.925 + 0.5 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 35 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 10 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
  2373. elseif elementmode == "Mode 3" then
  2374. change = 0.9
  2375. Humanoid.WalkSpeed = 22
  2376. Humanoid.JumpPower = 60
  2377. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.15 * math.cos(sine / 3)) * angles(math.rad(15), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(10 * math.cos(sine / 4))), 0.3)
  2378. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-8.5 * math.cos(sine / 4)) + RootPart.RotVelocity.Y / 12), 0.2)
  2379. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10 + -75 * math.cos(sine / 4)), math.rad(5 + -35 * math.cos(sine / 4)), math.rad(2 + 10 * math.cos(sine / 4))), 0.2)
  2380. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10 + 75 * math.cos(sine / 4)), math.rad(5 + -35 * math.cos(sine / 4)), math.rad(-2 + 10 * math.cos(sine / 4))), 0.2)
  2381. RH.C0 = clerp(RH.C0, cn(1, -1 - -0.3 * math.cos(sine / 4), -0.1 - 0.1 * math.cos(sine / 4)) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(-10 + 60 * math.cos(sine / 4))), 0.3)
  2382. LH.C0 = clerp(LH.C0, cn(-1, -1 + -0.3 * math.cos(sine / 4), -0.1 + 0.1 * math.cos(sine / 4)) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10 + 60 * math.cos(sine / 4))), 0.3)
  2383. elseif elementmode == "Mode 4" then
  2384. change = 1.1
  2385. Humanoid.WalkSpeed = 9
  2386. Humanoid.JumpPower = 60
  2387. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -0.175 + 0.025 * math.cos(sine / 3.5) + -math.sin(sine / 3.5) / 7) * angles(math.rad(5 - 2.5 * math.cos(sine / 3.5)), math.rad(0), math.rad(10 * math.cos(sine / 7))), 0.2)
  2388. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * CFrame.new(0, 0, 0 + 0.025 * math.cos(sine / 3.5)) * angles(math.rad(0 + 1.5 * math.cos(sine / 3.5)), math.rad(0 - 0 * math.cos(sine / 3.5)), math.rad(-10 * math.cos(sine / 7)) + RootPart.RotVelocity.Y / 12), 0.2)
  2389. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(25 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(0), math.rad(10)), 0.2)
  2390. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(0), math.rad(-10)), 0.2)
  2391. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.925 - 0.5 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 35 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 10 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
  2392. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.925 + 0.5 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 35 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 10 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
  2393. elseif elementmode == "Mode 5" then
  2394. change = 1
  2395. Humanoid.WalkSpeed = 9
  2396. Humanoid.JumpPower = 100
  2397. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -0.175 + 0.025 * math.cos(sine / 3.5) + -math.sin(sine / 3.5) / 7) * angles(math.rad(5 - 2.5 * math.cos(sine / 3.5)), math.rad(0), math.rad(10 * math.cos(sine / 7))), 0.15)
  2398. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * CFrame.new(0, 0, 0 + 0.025 * math.cos(sine / 3.5)) * angles(math.rad(6 - 2.5 * math.cos(sine / 3.5)), math.rad(10 - 0.5 * math.cos(sine / 3.5)), math.rad(10 - 10 * math.cos(sine / 7))), 0.15)
  2399. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(0), math.rad(10)), 0.1)
  2400. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.3) * angles(math.rad(150 - 5.5 * math.cos(sine / 3.5)), math.rad(0 - 0.5 * math.cos(sine / 3.5)), math.rad(25 - -5 * math.cos(sine / 7))), 0.2)
  2401. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.925 - 0.5 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 15 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 10 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.2)
  2402. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.925 + 0.5 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 15 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 10 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.2)
  2403. elseif elementmode == "Mode 6" then
  2404. BlockEffect(BrickColor.new("Gold"), RightArm.CFrame * cn(0, 0, 0.2), 19, 39, 19, 0, 0, 0, 0.15, 2)
  2405. change = 0.9
  2406. Humanoid.WalkSpeed = 42
  2407. Humanoid.JumpPower = 80
  2408. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.5, 1.2 + 0.2 * math.cos(sine / 8)) * angles(math.rad(15), math.rad(1), math.rad(0)), 0.1)
  2409. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(0)), 0.1)
  2410. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(15 - 2 * math.cos(sine / 8))), 0.1)
  2411. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(-15 + 2 * math.cos(sine / 8))), 0.1)
  2412. RH.C0 = clerp(RH.C0, cn(1, -0.6 - 0.02 * math.cos(sine / 8), -0.3) * RHCF * angles(math.rad(-4), math.rad(0), math.rad(-35 + 5 * math.cos(sine / 8))), 0.1)
  2413. LH.C0 = clerp(LH.C0, cn(-1, -0.8 - 0.02 * math.cos(sine / 8), -0.2) * LHCF * angles(math.rad(-4), math.rad(0), math.rad(20 - 5 * math.cos(sine / 8))), 0.1)
  2414. end
  2415. end
  2416. function onClimbing(speed)
  2417. if attack == false then
  2418. attack = true
  2419. Climbanim = true
  2420. Humanoid.WalkSpeed = 14
  2421. while Climbanim == true do
  2422. for i = 0, 0, 0.1 do
  2423. swait()
  2424. change = 3
  2425. if RootPart.Velocity.y > 0.01 then
  2426. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.1, 0) * angles(math.rad(-2), math.rad(0), math.rad(0)), 0.2)
  2427. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  2428. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4, -0.1) * angles(math.rad(90 + 70 * math.cos(sine / 25)), math.rad(0), math.rad(5)), 0.2)
  2429. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4, -0.1) * angles(math.rad(90 - 70 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), 0.2)
  2430. RH.C0 = clerp(RH.C0, cn(1, -0.5 - 0.5 * math.cos(sine / 25), -0.2 + 0.1 * math.cos(sine / 25)) * RHCF * angles(math.rad(3), math.rad(0), math.rad(5 - 15 * math.cos(sine / 25))), 0.2)
  2431. LH.C0 = clerp(LH.C0, cn(-1, -0.5 + 0.5 * math.cos(sine / 25), -0.2 - 0.1 * math.cos(sine / 25)) * LHCF * angles(math.rad(3), math.rad(0), math.rad(-5 - 15 * math.cos(sine / 25))), 0.2)
  2432. end
  2433. if RootPart.Velocity.y < 0.5 and RootPart.Velocity.y > -0.5 then
  2434. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.1, 0) * angles(math.rad(-2), math.rad(0), math.rad(0)), 0.3)
  2435. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  2436. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.1) * angles(math.rad(90 + 0 * math.cos(sine / 25)), math.rad(0), math.rad(5)), 0.2)
  2437. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.1) * angles(math.rad(90 - 0 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), 0.2)
  2438. RH.C0 = clerp(RH.C0, cn(1, -0.5 - 0 * math.cos(sine / 25), -0.2 + 0 * math.cos(sine / 25)) * RHCF * angles(math.rad(-3), math.rad(0), math.rad(5 - 0 * math.cos(sine / 25))), 0.2)
  2439. LH.C0 = clerp(LH.C0, cn(-1, -0.5 + 0 * math.cos(sine / 25), -0.2 - 0 * math.cos(sine / 25)) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(-5 - 0 * math.cos(sine / 25))), 0.2)
  2440. end
  2441. if RootPart.Velocity.y < -1 then
  2442. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-2), math.rad(0), math.rad(0)), 0.2)
  2443. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  2444. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4, -0.1) * angles(math.rad(90 + 0 * math.cos(sine / 25)), math.rad(0), math.rad(20)), 0.2)
  2445. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4, -0.1) * angles(math.rad(90 - 0 * math.cos(sine / 25)), math.rad(0), math.rad(-20)), 0.2)
  2446. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(0), math.rad(0 - 0 * math.cos(sine / 25))), 0.2)
  2447. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0 - 0 * math.cos(sine / 25))), 0.2)
  2448. end
  2449. end
  2450. if Torsovelocity.y > 1 then
  2451. Climbanim = false
  2452. end
  2453. end
  2454. attack = false
  2455. end
  2456. end
  2457. Humanoid.Climbing:connect(onClimbing)
  2458. end
  2459. end
  2460. if 0 < #Effects then
  2461. for e = 1, #Effects do
  2462. if Effects[e] ~= nil then
  2463. local Thing = Effects[e]
  2464. if Thing ~= nil then
  2465. local Part = Thing[1]
  2466. local Mode = Thing[2]
  2467. local Delay = Thing[3]
  2468. local IncX = Thing[4]
  2469. local IncY = Thing[5]
  2470. local IncZ = Thing[6]
  2471. if 1 >= Thing[1].Transparency then
  2472. if Thing[2] == "Block1" then
  2473. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2474. local Mesh = Thing[1].Mesh
  2475. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2476. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2477. elseif Thing[2] == "Block2" then
  2478. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  2479. local Mesh = Thing[7]
  2480. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2481. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2482. elseif Thing[2] == "Block3" then
  2483. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  2484. local Mesh = Thing[7]
  2485. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2486. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2487. elseif Thing[2] == "Cylinder" then
  2488. local Mesh = Thing[1].Mesh
  2489. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2490. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2491. elseif Thing[2] == "Blood" then
  2492. local Mesh = Thing[7]
  2493. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2494. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2495. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2496. elseif Thing[2] == "Elec" then
  2497. local Mesh = Thing[1].Mesh
  2498. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2499. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2500. elseif Thing[2] == "Disappear" then
  2501. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2502. elseif Thing[2] == "Shatter" then
  2503. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2504. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2505. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2506. Thing[6] = Thing[6] + Thing[5]
  2507. end
  2508. else
  2509. Part.Parent = nil
  2510. table.remove(Effects, e)
  2511. end
  2512. end
  2513. end
  2514. end
  2515. end
  2516. end)
  2517. local BlackHole1 = Create("ParticleEmitter")({
  2518. Color = ColorSequence.new(Color3.new(0.7, 0, 0), Color3.new(0.1, 0, 0)),
  2519. Transparency = NumberSequence.new(0.8, 1),
  2520. Size = NumberSequence.new(3, 6),
  2521. Texture = "rbxassetid://153700391",
  2522. Lifetime = NumberRange.new(2),
  2523. Rate = 30,
  2524. VelocitySpread = 0,
  2525. Rotation = NumberRange.new(0),
  2526. RotSpeed = NumberRange.new(10),
  2527. Speed = NumberRange.new(0),
  2528. LightEmission = 0,
  2529. LockedToPart = true,
  2530. Acceleration = Vector3.new(0, 0, 0),
  2531. EmissionDirection = "Bottom"
  2532. })
  2533. Effects = {
  2534. Block = {
  2535. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2536. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2537. prt.Anchored = true
  2538. prt.CFrame = cframe
  2539. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2540. game:GetService("Debris"):AddItem(prt, 10)
  2541. if Type == 1 or Type == nil then
  2542. table.insert(Effects, {
  2543. prt,
  2544. "Block1",
  2545. delay,
  2546. x3,
  2547. y3,
  2548. z3,
  2549. msh
  2550. })
  2551. elseif Type == 2 then
  2552. table.insert(Effects, {
  2553. prt,
  2554. "Block2",
  2555. delay,
  2556. x3,
  2557. y3,
  2558. z3,
  2559. msh
  2560. })
  2561. else
  2562. table.insert(Effects, {
  2563. prt,
  2564. "Block3",
  2565. delay,
  2566. x3,
  2567. y3,
  2568. z3,
  2569. msh
  2570. })
  2571. end
  2572. end
  2573. },
  2574. Sphere = {
  2575. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2576. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2577. prt.Anchored = true
  2578. prt.CFrame = cframe
  2579. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2580. game:GetService("Debris"):AddItem(prt, 10)
  2581. table.insert(Effects, {
  2582. prt,
  2583. "Cylinder",
  2584. delay,
  2585. x3,
  2586. y3,
  2587. z3,
  2588. msh
  2589. })
  2590. end
  2591. },
  2592. Cylinder = {
  2593. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2594. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2595. prt.Anchored = true
  2596. prt.CFrame = cframe
  2597. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2598. game:GetService("Debris"):AddItem(prt, 10)
  2599. table.insert(Effects, {
  2600. prt,
  2601. "Cylinder",
  2602. delay,
  2603. x3,
  2604. y3,
  2605. z3,
  2606. msh
  2607. })
  2608. end
  2609. },
  2610. Wave = {
  2611. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2612. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2613. prt.Anchored = true
  2614. prt.CFrame = cframe
  2615. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://431164262", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  2616. game:GetService("Debris"):AddItem(prt, 10)
  2617. table.insert(Effects, {
  2618. prt,
  2619. "Cylinder",
  2620. delay,
  2621. x3 / 60,
  2622. y3 / 60,
  2623. z3 / 60,
  2624. msh
  2625. })
  2626. end
  2627. },
  2628. Ring = {
  2629. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2630. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2631. prt.Anchored = true
  2632. prt.CFrame = cframe
  2633. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2634. game:GetService("Debris"):AddItem(prt, 10)
  2635. table.insert(Effects, {
  2636. prt,
  2637. "Cylinder",
  2638. delay,
  2639. x3,
  2640. y3,
  2641. z3,
  2642. msh
  2643. })
  2644. end
  2645. },
  2646. Break = {
  2647. Create = function(brickcolor, cframe, x1, y1, z1)
  2648. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2649. prt.Anchored = true
  2650. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2651. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2652. local num = math.random(10, 50) / 1000
  2653. game:GetService("Debris"):AddItem(prt, 10)
  2654. table.insert(Effects, {
  2655. prt,
  2656. "Shatter",
  2657. num,
  2658. prt.CFrame,
  2659. math.random() - math.random(),
  2660. 0,
  2661. math.random(50, 100) / 100
  2662. })
  2663. end
  2664. }
  2665. }
  2666. function RemoveOutlines(part)
  2667. part.TopSurface = 10
  2668. end
  2669. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2670. local Part = Create("Part")({
  2671. Parent = Parent,
  2672. Reflectance = Reflectance,
  2673. Transparency = Transparency,
  2674. CanCollide = false,
  2675. Locked = true,
  2676. BrickColor = BrickColor.new(tostring(BColor)),
  2677. Name = Name,
  2678. Size = Size,
  2679. Material = Material
  2680. })
  2681. RemoveOutlines(Part)
  2682. return Part
  2683. end
  2684. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2685. local Msh = Create(Mesh)({
  2686. Parent = Part,
  2687. Offset = OffSet,
  2688. Scale = Scale
  2689. })
  2690. if Mesh == "SpecialMesh" then
  2691. Msh.MeshType = MeshType
  2692. Msh.MeshId = MeshId
  2693. end
  2694. return Msh
  2695. end
  2696. function CreateWeld(Parent, Part0, Part1, C0, C1)
  2697. local Weld = Create("Weld")({
  2698. Parent = Parent,
  2699. Part0 = Part0,
  2700. Part1 = Part1,
  2701. C0 = C0,
  2702. C1 = C1
  2703. })
  2704. return Weld
  2705. end
  2706. WSHM = {
  2707. "White",
  2708. "Pastel light red"
  2709. }
  2710. WSH = WSHM[math.random(1, #WSHM)]
  2711. function IcePartFunk(HPart, aria, Min, Max)
  2712. IcePart = Instance.new("Part", HPart)
  2713. IcePart.Size = Vector3.new(math.random(Min, Max), math.random(Min, Max), math.random(Min, Max))
  2714. IcePart.CanCollide = false
  2715. IuW = Instance.new("Weld")
  2716. IuW.Name = "GuW"
  2717. IuW.Part0 = HPart
  2718. IuW.C0 = cn(math.random(-aria, aria), math.random(-aria, aria), math.random(-aria, aria)) * angles(math.random(-180, 180), math.random(-180, 180), math.random(-180, 180))
  2719. IuW.C1 = cn(0, math.random(-aria / 2, aria / 2), 0)
  2720. IuW.Part1 = IcePart
  2721. IuW.Parent = HPart
  2722. IcePart.Transparency = 0.9
  2723. IcePart.Material = "Neon"
  2724. WSH = WSHM[math.random(1, #WSHM)]
  2725. IcePart.BrickColor = BrickColor.new("" .. WSH)
  2726. RemoveOutlines(IcePart)
  2727. game:GetService("Debris"):AddItem(IuW, 4)
  2728. game:GetService("Debris"):AddItem(IcePart, 6)
  2729. end
  2730. function GroundPartFunk2(Hit, HPart, color, aria, Min, Max, num)
  2731. IcePart2 = Instance.new("Part", HPart)
  2732. IcePart2.Size = Vector3.new(math.random(Min, Max), math.random(Min, Max), math.random(Min, Max))
  2733. IcePart2.CanCollide = false
  2734. RemoveOutlines(IcePart2)
  2735. IcePart2.Anchored = true
  2736. game:GetService("Debris"):AddItem(IcePart2, 0.4)
  2737. IcePart2.Transparency = 0.95
  2738. IcePart2.Material = "Neon"
  2739. IcePart2.BrickColor = BrickColor.new("Really black")
  2740. IcePart2.CFrame = CFrame.new(Hit.Position + Vector3.new(math.random(-aria, aria), math.random(-aria, 0), math.random(-aria, aria))) * angles(math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45)))
  2741. for i = 0, num do
  2742. if num > 1 then
  2743. GroundPartFunk2(Hit, HPart, color, aria, Min, Max, 0)
  2744. end
  2745. end
  2746. end
  2747. SpikeMeshId = 1033714
  2748. local CreateSpike = function(Parent, Name, Color, Size, Material, Transparency, Scale)
  2749. local Part = Instance.new("Part", Parent)
  2750. Part.Name = Name
  2751. Part.BrickColor = BrickColor.new(Color)
  2752. Part.Size = Size
  2753. Part.Material = Material
  2754. Part.Transparency = Transparency
  2755. Part.CanCollide = false
  2756. RemoveOutlines(Part)
  2757. local Mesh = Instance.new("SpecialMesh", Part)
  2758. Mesh.MeshType = "Sphere"
  2759. Mesh.Scale = Scale
  2760. return Mesh and Part
  2761. end
  2762. CFuncs = {
  2763. Part = {
  2764. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2765. local Part = Create("Part")({
  2766. Parent = Parent,
  2767. Reflectance = Reflectance,
  2768. Transparency = Transparency,
  2769. CanCollide = false,
  2770. Locked = true,
  2771. BrickColor = BrickColor.new(tostring(BColor)),
  2772. Name = Name,
  2773. Size = Size,
  2774. Material = Material
  2775. })
  2776. RemoveOutlines(Part)
  2777. return Part
  2778. end
  2779. },
  2780. Mesh = {
  2781. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2782. local Msh = Create(Mesh)({
  2783. Parent = Part,
  2784. Offset = OffSet,
  2785. Scale = Scale
  2786. })
  2787. if Mesh == "SpecialMesh" then
  2788. Msh.MeshType = MeshType
  2789. Msh.MeshId = MeshId
  2790. end
  2791. return Msh
  2792. end
  2793. },
  2794. Mesh = {
  2795. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2796. local Msh = Create(Mesh)({
  2797. Parent = Part,
  2798. Offset = OffSet,
  2799. Scale = Scale
  2800. })
  2801. if Mesh == "SpecialMesh" then
  2802. Msh.MeshType = MeshType
  2803. Msh.MeshId = MeshId
  2804. end
  2805. return Msh
  2806. end
  2807. },
  2808. Weld = {
  2809. Create = function(Parent, Part0, Part1, C0, C1)
  2810. local Weld = Create("Weld")({
  2811. Parent = Parent,
  2812. Part0 = Part0,
  2813. Part1 = Part1,
  2814. C0 = C0,
  2815. C1 = C1
  2816. })
  2817. return Weld
  2818. end
  2819. },
  2820. Sound = {
  2821. Create = function(id, par, vol, pit)
  2822. coroutine.resume(coroutine.create(function()
  2823. local S = Create("Sound")({
  2824. Volume = vol,
  2825. Pitch = pit or 1,
  2826. SoundId = id,
  2827. Parent = par or workspace
  2828. })
  2829. wait()
  2830. S:play()
  2831. game:GetService("Debris"):AddItem(S, 6)
  2832. end))
  2833. end
  2834. },
  2835. ParticleEmitter = {
  2836. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  2837. local fp = Create("ParticleEmitter")({
  2838. Parent = Parent,
  2839. Color = ColorSequence.new(Color1, Color2),
  2840. LightEmission = LightEmission,
  2841. Size = Size,
  2842. Texture = Texture,
  2843. Transparency = Transparency,
  2844. ZOffset = ZOffset,
  2845. Acceleration = Accel,
  2846. Drag = Drag,
  2847. LockedToPart = LockedToPart,
  2848. VelocityInheritance = VelocityInheritance,
  2849. EmissionDirection = EmissionDirection,
  2850. Enabled = Enabled,
  2851. Lifetime = LifeTime,
  2852. Rate = Rate,
  2853. Rotation = Rotation,
  2854. RotSpeed = RotSpeed,
  2855. Speed = Speed,
  2856. VelocitySpread = VelocitySpread
  2857. })
  2858. return fp
  2859. end
  2860. }
  2861. }
  2862. function Snow(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2863. local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2864. prt.Anchored = true
  2865. prt.CFrame = cframe
  2866. prt.Material = "Neon"
  2867. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2868. game:GetService("Debris"):AddItem(prt, 10)
  2869. coroutine.resume(coroutine.create(function(Part, Mesh)
  2870. local SnowTiltX = math.random(-1, 1)
  2871. local SnowTiltY = math.random(-1, 1)
  2872. local SnowTiltZ = math.random(-1, 1)
  2873. for i = 0, 6, delay do
  2874. swait()
  2875. Part.Transparency = i
  2876. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  2877. Part.CFrame = Part.CFrame * angles(math.rad(SnowTiltX), math.rad(SnowTiltY), math.rad(SnowTiltZ)) + Vector3.new(0, -0.11, 0)
  2878. end
  2879. Part.Parent = nil
  2880. end), prt, msh)
  2881. end
  2882. function BlockLaser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2883. local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2884. prt.Anchored = true
  2885. prt.CFrame = cframe
  2886. prt.Material = "Neon"
  2887. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2888. game:GetService("Debris"):AddItem(prt, 10)
  2889. coroutine.resume(coroutine.create(function(Part, Mesh)
  2890. for i = 0, 6, delay do
  2891. swait()
  2892. Part.Transparency = i
  2893. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  2894. end
  2895. Part.Parent = nil
  2896. end), prt, msh)
  2897. end
  2898. function ShadArm(mouse, partt, SpreadAmount)
  2899. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  2900. local MainPos = partt.Position + RootPart.CFrame.lookVector * 1.5
  2901. local MainPos2 = mouse + SpreadVectors
  2902. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  2903. local speed = 1000
  2904. local num = 0
  2905. coroutine.resume(coroutine.create(function()
  2906. repeat
  2907. swait()
  2908. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  2909. local mag = (MainPos - pos).magnitude
  2910. BlockLaser(BrickColor.new("Really black"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 0, mag * (speed / (speed / 2)), 0.5, -0.421, 0, -0.021, 0.1)
  2911. MainPos = MainPos + MouseLook.lookVector * speed
  2912. num = num - 1
  2913. MouseLook = MouseLook * angles(math.rad(0), 0, 0)
  2914. if hit ~= nil then
  2915. num = 0
  2916. local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  2917. refpart.Anchored = true
  2918. refpart.CFrame = CFrame.new(pos)
  2919. game:GetService("Debris"):AddItem(refpart, 2)
  2920. end
  2921. if num <= 0 then
  2922. local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  2923. refpart.Anchored = true
  2924. refpart.CFrame = CFrame.new(pos)
  2925. if hit ~= nil then
  2926. CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1)
  2927. end
  2928. game:GetService("Debris"):AddItem(refpart, 0)
  2929. end
  2930. until num <= 0
  2931. end))
  2932. end
  2933. function Lightning(Part0, Part1, Times, Offset, Color, Thickness, Trans, SizeAdd)
  2934. local magz = (Part0 - Part1).magnitude
  2935. local curpos = Part0
  2936. local trz = {
  2937. -Offset,
  2938. Offset
  2939. }
  2940. for i = 1, Times do
  2941. local li = Instance.new("Part", Torso)
  2942. li.Name = "Lightning"
  2943. li.TopSurface = 0
  2944. li.Material = "Neon"
  2945. li.BottomSurface = 0
  2946. li.Anchored = true
  2947. li.Locked = true
  2948. li.Transparency = 0
  2949. li.BrickColor = Color
  2950. li.formFactor = "Custom"
  2951. li.CanCollide = false
  2952. li.Size = Vector3.new(Thickness, Thickness, magz / Times)
  2953. local Offzet = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  2954. local trolpos = CFrame.new(curpos, Part1) * CFrame.new(0, 0, magz / Times).p + Offzet
  2955. if Times == i then
  2956. local magz2 = (curpos - Part1).magnitude
  2957. li.Size = Vector3.new(Thickness, Thickness, magz2)
  2958. li.CFrame = CFrame.new(curpos, Part1) * CFrame.new(0, 0, -magz2 / 2)
  2959. else
  2960. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / Times / 2)
  2961. end
  2962. curpos = li.CFrame * CFrame.new(0, 0, magz / Times / 2).p
  2963. game.Debris:AddItem(li, 0.01)
  2964. BlockEffect(Color, li.CFrame, li.Size.X * 20, li.Size.Y * 20, li.Size.Z * 20, SizeAdd, SizeAdd, 0, 0.07, 2)
  2965. end
  2966. end
  2967. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  2968. if hit.Parent == nil then
  2969. return
  2970. end
  2971. local h = hit.Parent:FindFirstChild("Humanoid")
  2972. for _, v in pairs(hit.Parent:children()) do
  2973. if v:IsA("Humanoid") then
  2974. h = v
  2975. end
  2976. end
  2977. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  2978. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  2979. return
  2980. end
  2981. local c = Create("ObjectValue")({
  2982. Name = "creator",
  2983. Value = game:service("Players").LocalPlayer,
  2984. Parent = h
  2985. })
  2986. game:GetService("Debris"):AddItem(c, 0.5)
  2987. if HitSound ~= nil and HitPitch ~= nil then
  2988. CreateSound(HitSound, hit, 1, HitPitch)
  2989. end
  2990. local Damage = math.random(minim, maxim)
  2991. local blocked = false
  2992. local block = hit.Parent:findFirstChild("Block")
  2993. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  2994. blocked = true
  2995. block.Value = block.Value - 1
  2996. print(block.Value)
  2997. end
  2998. if blocked == false then
  2999. h.Health = h.Health - Damage
  3000. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  3001. else
  3002. h.Health = h.Health - Damage / 2
  3003. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  3004. end
  3005. if Type == "Knockdown" then
  3006. local hum = hit.Parent.Humanoid
  3007. hum.PlatformStand = true
  3008. coroutine.resume(coroutine.create(function(HHumanoid)
  3009. swait(0.2)
  3010. HHumanoid.PlatformStand = false
  3011. end), hum)
  3012. local angle = hit.Position - Property.Position + Vector3.new(0, 0, 0).unit
  3013. local bodvol = Create("BodyVelocity")({
  3014. velocity = angle * knockback,
  3015. P = 50,
  3016. maxForce = Vector3.new(80000, 80000, 80000),
  3017. Parent = hit
  3018. })
  3019. local rl = Create("BodyAngularVelocity")({
  3020. P = 3000,
  3021. maxTorque = Vector3.new(5000, 5000, 5000) * 50,
  3022. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  3023. Parent = hit
  3024. })
  3025. game:GetService("Debris"):AddItem(bodvol, 0.1)
  3026. game:GetService("Debris"):AddItem(rl, 0.1)
  3027. elseif Type == "Normal" then
  3028. local vp = Create("BodyVelocity")({
  3029. P = 500,
  3030. maxForce = Vector3.new(math.huge, 0, math.huge),
  3031. velocity = Property.CFrame.lookVector * knockback
  3032. })
  3033. if knockback > 0 then
  3034. vp.Parent = hit.Parent.Torso
  3035. end
  3036. game:GetService("Debris"):AddItem(vp, 0.5)
  3037. elseif Type == "Impale" then
  3038. local Spike = CreateSpike(Services.Workspace, "Ice Spike", "Really red", Vector3.new(1, 2, 1), "Neon", 0.2, Vector3.new(0.5, 25, 0.5))
  3039. Spike.Anchored = true
  3040. Spike.Rotation = Vector3.new(math.random(-45, 45), 0, math.random(-45, 45))
  3041. Spike.Position = hit.Parent.Torso.Position
  3042. Services.Debris:AddItem(Spike, 4)
  3043. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=268249319", Spike, 0.8, 2)
  3044. hit.Parent.Humanoid.PlatformStand = true
  3045. swait(1)
  3046. hit.Parent.Humanoid.PlatformStand = false
  3047. elseif Type == "Stalk" then
  3048. if hit.Parent:FindFirstChild("Torso") ~= nil then
  3049. lasthit = hit.Parent.Torso
  3050. end
  3051. local bp = Create("BodyPosition")({
  3052. P = 900,
  3053. D = 1000,
  3054. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3055. position = hit.Parent.Torso.Position,
  3056. Parent = hit.Parent.Torso
  3057. })
  3058. game:GetService("Debris"):AddItem(bp, 5)
  3059. elseif Type == "Up" then
  3060. local bodyVelocity = Create("BodyVelocity")({
  3061. velocity = Vector3.new(0, 20, 0),
  3062. P = 5000,
  3063. maxForce = Vector3.new(8000, 8000, 8000),
  3064. Parent = hit
  3065. })
  3066. game:GetService("Debris"):AddItem(bodyVelocity, 0.1)
  3067. local bodyVelocity = Create("BodyVelocity")({
  3068. velocity = Vector3.new(0, 20, 0),
  3069. P = 5000,
  3070. maxForce = Vector3.new(8000, 8000, 8000),
  3071. Parent = hit
  3072. })
  3073. game:GetService("Debris"):AddItem(bodyVelocity, 0.1)
  3074. elseif Type == "Drag" then
  3075. coroutine.resume(coroutine.create(function()
  3076. for i = 1, 10 do
  3077. ShadArm(hit.Parent.Torso.Position, RootPart, 0)
  3078. Effects.Sphere.Create(BrickColor.new("Really black"), hit.Parent.Torso.CFrame * cn(0, 0, 0), -100, -0.5, -50, -1, 0, -1, 0.05)
  3079. local ShadeArmDrag = Create("BodyPosition")({
  3080. P = 9000,
  3081. D = 1000,
  3082. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3083. position = RootPart.Position + RootPart.CFrame.lookVector * 6,
  3084. Parent = hit.Parent.Torso
  3085. })
  3086. game:GetService("Debris"):AddItem(ShadeArmDrag, 0.2)
  3087. wait()
  3088. end
  3089. end))
  3090. elseif Type == "UltSlice" then
  3091. do
  3092. local BHE = BlackHole1:Clone()
  3093. local bp2 = Create("BodyPosition")({
  3094. P = 900,
  3095. D = 1000,
  3096. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3097. position = hit.Parent.Head.Position,
  3098. Parent = hit.Parent.Torso
  3099. })
  3100. game:GetService("Debris"):AddItem(bp2, 5)
  3101. if hit.Parent:FindFirstChild("Torso") ~= nil then
  3102. coroutine.resume(coroutine.create(function()
  3103. BHE.Parent = hit.Parent.Torso
  3104. game:GetService("Debris"):AddItem(BHE, 5)
  3105. wait(3)
  3106. BHE.Rate = 0
  3107. end))
  3108. end
  3109. if hit.Parent:FindFirstChild("HumanoidRootPart") ~= nil then
  3110. for i = 1, 30 do
  3111. Effects.Break.Create(maincolor, hit.Parent.HumanoidRootPart.CFrame, 10, 0.5, 0.5)
  3112. end
  3113. end
  3114. end
  3115. elseif Type == "Slice" then
  3116. local bp2 = Create("BodyPosition")({
  3117. P = 900,
  3118. D = 1000,
  3119. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3120. position = hit.Parent.Head.Position,
  3121. Parent = hit.Parent.Torso
  3122. })
  3123. game:GetService("Debris"):AddItem(bp2, 1)
  3124. if hit.Parent:FindFirstChild("HumanoidRootPart") ~= nil then
  3125. for i = 1, 10 do
  3126. Effects.Break.Create(maincolor, hit.Parent.HumanoidRootPart.CFrame, 10, 0.5, 0.5)
  3127. end
  3128. end
  3129. elseif Type == "Snare" then
  3130. local bp = Create("BodyPosition")({
  3131. P = 900,
  3132. D = 1000,
  3133. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3134. position = hit.Parent.Torso.Position,
  3135. Parent = hit.Parent.Torso
  3136. })
  3137. game:GetService("Debris"):AddItem(bp, 1)
  3138. elseif Type == "Slowness" then
  3139. local SpeedSave = hit.Parent.Humanoid.WalkSpeed
  3140. if SpeedSave > 6 then
  3141. if elementmode == "Mode 4" then
  3142. coroutine.resume(coroutine.create(function()
  3143. for i = 1, 10 do
  3144. hit.Parent.Humanoid.WalkSpeed = hit.Parent.Humanoid.WalkSpeed - 0.5
  3145. wait()
  3146. end
  3147. end))
  3148. wait(1)
  3149. coroutine.resume(coroutine.create(function()
  3150. for i = 1, 10 do
  3151. hit.Parent.Humanoid.WalkSpeed = hit.Parent.Humanoid.WalkSpeed + 0.5
  3152. wait()
  3153. end
  3154. end))
  3155. else
  3156. coroutine.resume(coroutine.create(function()
  3157. for i = 1, 10 do
  3158. hit.Parent.Humanoid.WalkSpeed = hit.Parent.Humanoid.WalkSpeed - 0.25
  3159. wait()
  3160. end
  3161. end))
  3162. wait(1)
  3163. coroutine.resume(coroutine.create(function()
  3164. for i = 1, 10 do
  3165. hit.Parent.Humanoid.WalkSpeed = hit.Parent.Humanoid.WalkSpeed + 0.25
  3166. wait()
  3167. end
  3168. end))
  3169. end
  3170. end
  3171. elseif Type == "Firedmg" then
  3172. coroutine.resume(coroutine.create(function()
  3173. for i = 1, 10 do
  3174. if hit.Parent:FindFirstChild("Torso") ~= nil then
  3175. BlockEffect(BrickColor.new("Really black"), hit.Parent.Head.CFrame, 0, 0, 0, 2, 2, 2, 0.035, 1)
  3176. wait()
  3177. end
  3178. end
  3179. end))
  3180. elseif Type == "Freeze" then
  3181. local bp = Create("BodyPosition")({
  3182. P = 1000,
  3183. D = 1000,
  3184. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3185. position = hit.Parent.Torso.Position,
  3186. Parent = hit.Parent.Torso
  3187. })
  3188. game:GetService("Debris"):AddItem(bp, 4)
  3189. coroutine.resume(coroutine.create(function()
  3190. for i = 1, 35 do
  3191. IcePartFunk(hit.Parent.Torso, 0.6, 1, 1.5)
  3192. end
  3193. hit.Parent.Torso.Anchored = true
  3194. wait(4)
  3195. hit.Parent.Torso.Anchored = false
  3196. end))
  3197. coroutine.resume(coroutine.create(function()
  3198. for i = 1, 10 do
  3199. Snow(maincolor, hit.Parent.Torso.CFrame * cn(math.random(-3, 3), math.random(4, 6), math.random(-3, 3)), 0.3, 0.2, 0.3, 0, 0, 0, 0.01)
  3200. wait(0.4)
  3201. end
  3202. end))
  3203. elseif Type == "Freeze2" then
  3204. local BodPos = Create("BodyPosition")({
  3205. P = 50000,
  3206. D = 1000,
  3207. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3208. position = hit.Parent.Torso.Position,
  3209. Parent = hit.Parent.Torso
  3210. })
  3211. local BodGy = Create("BodyGyro")({
  3212. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  3213. P = 20000,
  3214. Parent = hit.Parent.Torso,
  3215. cframe = hit.Parent.Torso.CFrame
  3216. })
  3217. hit.Parent.Torso.Anchored = true
  3218. coroutine.resume(coroutine.create(function(Part)
  3219. swait(1.5)
  3220. Part.Anchored = false
  3221. end), hit.Parent.Torso)
  3222. game:GetService("Debris"):AddItem(BodPos, 3)
  3223. game:GetService("Debris"):AddItem(BodGy, 3)
  3224. end
  3225. local debounce = Create("BoolValue")({
  3226. Name = "DebounceHit",
  3227. Parent = hit.Parent,
  3228. Value = true
  3229. })
  3230. game:GetService("Debris"):AddItem(debounce, Delay)
  3231. c = Instance.new("ObjectValue")
  3232. c.Name = "creator"
  3233. c.Value = Player
  3234. c.Parent = h
  3235. game:GetService("Debris"):AddItem(c, 0.5)
  3236. end
  3237. end
  3238. function ShowDamage(Pos, Text, Time, Color)
  3239. local Rate = 0.033333333333333
  3240. if not Pos then
  3241. local Pos = Vector3.new(0, 0, 0)
  3242. end
  3243. local Text = Text or ""
  3244. local Time = Time or 2
  3245. if not Color then
  3246. local Color = Color3.new(1, 0, 1)
  3247. end
  3248. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  3249. EffectPart.Anchored = true
  3250. local BillboardGui = Create("BillboardGui")({
  3251. Size = UDim2.new(3, 0, 3, 0),
  3252. Adornee = EffectPart,
  3253. Parent = EffectPart
  3254. })
  3255. local TextLabel = Create("TextLabel")({
  3256. BackgroundTransparency = 1,
  3257. Size = UDim2.new(1, 0, 1, 0),
  3258. Text = Text,
  3259. TextColor3 = Color,
  3260. TextScaled = true,
  3261. Font = Enum.Font.ArialBold,
  3262. Parent = BillboardGui
  3263. })
  3264. game.Debris:AddItem(EffectPart, Time + 0.1)
  3265. EffectPart.Parent = game:GetService("Workspace")
  3266. delay(0, function()
  3267. local Frames = Time / Rate
  3268. for Frame = 1, Frames do
  3269. wait(Rate)
  3270. local Percent = Frame / Frames
  3271. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  3272. TextLabel.TextTransparency = Percent
  3273. end
  3274. if EffectPart and EffectPart.Parent then
  3275. EffectPart:Destroy()
  3276. end
  3277. end)
  3278. end
  3279. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  3280. for _, c in pairs(workspace:children()) do
  3281. local hum = c:findFirstChild("Humanoid")
  3282. if hum ~= nil then
  3283. local head = c:findFirstChild("Head")
  3284. if head ~= nil then
  3285. local targ = head.Position - Part.Position
  3286. local mag = targ.magnitude
  3287. if magni >= mag and c.Name ~= Player.Name then
  3288. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1.2)
  3289. end
  3290. end
  3291. end
  3292. end
  3293. end
  3294. function MagniKILL(Part, magni, knock, Type)
  3295. for _, c in pairs(workspace:children()) do
  3296. local hum = c:findFirstChild("Humanoid")
  3297. if hum ~= nil then
  3298. local head = c:findFirstChild("Head")
  3299. if head ~= nil then
  3300. local targ = head.Position - Part.Position
  3301. local mag = targ.magnitude
  3302. if magni >= mag and c.Name ~= Player.Name then
  3303. hum.Health = 0
  3304. end
  3305. end
  3306. end
  3307. end
  3308. end
  3309. EffectModel = Instance.new("Model", Character)
  3310. EffectModel.Name = "Effects"
  3311. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  3312. local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  3313. prt.Anchored = true
  3314. prt.CFrame = cframe
  3315. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3316. game:GetService("Debris"):AddItem(prt, 10)
  3317. if Type == 1 or Type == nil then
  3318. table.insert(Effects, {
  3319. prt,
  3320. "Block1",
  3321. delay,
  3322. x3,
  3323. y3,
  3324. z3,
  3325. msh
  3326. })
  3327. elseif Type == 2 then
  3328. table.insert(Effects, {
  3329. prt,
  3330. "Block2",
  3331. delay,
  3332. x3,
  3333. y3,
  3334. z3,
  3335. msh
  3336. })
  3337. elseif Type == 3 then
  3338. table.insert(Effects, {
  3339. prt,
  3340. "Block3",
  3341. delay,
  3342. x3,
  3343. y3,
  3344. z3,
  3345. msh
  3346. })
  3347. end
  3348. end
  3349. function CreateSound(id, par, vol, pit)
  3350. coroutine.resume(coroutine.create(function()
  3351. local sou = Instance.new("Sound", par or workspace)
  3352. sou.Volume = vol
  3353. sou.Pitch = pit or 1
  3354. sou.SoundId = id
  3355. swait()
  3356. sou:play()
  3357. game:GetService("Debris"):AddItem(sou, 6)
  3358. end))
  3359. end
  3360. function Laser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3361. local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  3362. prt.Anchored = true
  3363. prt.CFrame = cframe
  3364. prt.Material = "Neon"
  3365. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3366. game:GetService("Debris"):AddItem(prt, 10)
  3367. coroutine.resume(coroutine.create(function(Part, Mesh)
  3368. for i = 0, 6, delay do
  3369. swait()
  3370. Part.Transparency = i
  3371. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  3372. end
  3373. Part.Parent = nil
  3374. end), prt, msh)
  3375. end
  3376. function shoottraildd(mouse, partt, SpreadAmount)
  3377. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount / 10, SpreadAmount / 10), math.random(-SpreadAmount, SpreadAmount))
  3378. local MainPos = mouse + Vector3.new(0, 6, 0) + RootPart.CFrame.lookVector * -2
  3379. local MainPos2 = mouse + SpreadVectors
  3380. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  3381. local speed = 100
  3382. local num = 1
  3383. coroutine.resume(coroutine.create(function()
  3384. repeat
  3385. swait()
  3386. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  3387. local mag = (MainPos - pos).magnitude
  3388. Laser(maincolor, CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 0, mag * (speed / (speed / 2)), 0, 0, 0, 0, 10)
  3389. MainPos = MainPos + MouseLook.lookVector * speed
  3390. num = num - 1
  3391. MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  3392. if hit ~= nil then
  3393. num = 0
  3394. local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  3395. refpart.Anchored = true
  3396. refpart.CFrame = CFrame.new(pos)
  3397. game:GetService("Debris"):AddItem(refpart, 2)
  3398. end
  3399. if num <= 0 then
  3400. local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  3401. refpart.Anchored = true
  3402. refpart.CFrame = CFrame.new(pos)
  3403. if hit ~= nil then
  3404. GroundPartFunk2(refpart, EffectModel, "Really black", 1, 0.05, 0.05, 10)
  3405. Effects.Sphere.Create(BrickColor.new("Really black"), refpart.CFrame * cn(0, 0, 0), 60, 0.05, 60, -10, 0, -10, 0.15)
  3406. Effects.Sphere.Create(maincolor, refpart.CFrame * cn(0, 2.97, 0), 60, 60, 60, -10, -10, -10, 0.15)
  3407. MagniDamage(refpart, 6, 30, 45, 0, "Slice")
  3408. end
  3409. game:GetService("Debris"):AddItem(refpart, 0)
  3410. end
  3411. until num <= 0
  3412. end))
  3413. end
  3414. function shoottraildd2(mouse, partt, SpreadAmount)
  3415. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  3416. local MainPos = partt.Position + RootPart.CFrame.lookVector * 1.5
  3417. local MainPos2 = mouse + SpreadVectors
  3418. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  3419. local speed = 1000
  3420. local num = 0
  3421. coroutine.resume(coroutine.create(function()
  3422. repeat
  3423. swait()
  3424. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  3425. local mag = (MainPos - pos).magnitude
  3426. BlockLaser(maincolor, CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.475, 0, -0.475, 0.14)
  3427. BlockLaser(BrickColor.new("Really red"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 0.5, mag * (speed / (speed / 2)), 0.5, -0.475, 0, -0.475, 0.14)
  3428. MainPos = MainPos + MouseLook.lookVector * speed
  3429. num = num - 1
  3430. MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  3431. if hit ~= nil then
  3432. num = 0
  3433. local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  3434. refpart.Anchored = true
  3435. refpart.CFrame = CFrame.new(pos)
  3436. game:GetService("Debris"):AddItem(refpart, 2)
  3437. end
  3438. if num <= 0 then
  3439. local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  3440. refpart.Anchored = true
  3441. refpart.CFrame = CFrame.new(pos)
  3442. if hit ~= nil then
  3443. CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1)
  3444. BlockEffect(BrickColor.new("Really black"), refpart.CFrame, 1, 1, 1, 2.5, 2.5, 2.5, 0.08, 3)
  3445. BlockEffect(maincolor, refpart.CFrame, 1, 1, 1, 2, 2, 2, 0.08)
  3446. BlockEffect(maincolor, refpart.CFrame, 1, 1, 1, 2, 2, 2, 0.08)
  3447. BlockEffect(BrickColor.new("Really red"), refpart.CFrame, 1, 1, 1, 3, 3, 3, 0.1)
  3448. MagniDamage(refpart, 6, 2, 5, 0, "Slowness")
  3449. end
  3450. game:GetService("Debris"):AddItem(refpart, 0)
  3451. end
  3452. until num <= 0
  3453. end))
  3454. end
  3455. function shoottraildd3(mouse, partt, SpreadAmount, dmg)
  3456. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  3457. local MainPos = mouse + Vector3.new(0, 500, 0) + SpreadVectors
  3458. local MainPos2 = mouse + SpreadVectors + Vector3.new(0, -110, 0)
  3459. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  3460. local speed = 1000000
  3461. local num = 5
  3462. coroutine.resume(coroutine.create(function()
  3463. repeat
  3464. swait()
  3465. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  3466. local mag = (MainPos - pos).magnitude
  3467. BlockLaser(maincolor, CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 0.5, mag * (speed / (speed / 2)), 0.5, -0.275, 0, -0.275, 0.35)
  3468. MainPos = MainPos + MouseLook.lookVector * speed
  3469. num = num - 1
  3470. MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  3471. if hit ~= nil then
  3472. num = 0
  3473. local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  3474. refpart.Anchored = true
  3475. refpart.CFrame = CFrame.new(pos)
  3476. game:GetService("Debris"):AddItem(refpart, 2)
  3477. end
  3478. if num <= 0 then
  3479. local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  3480. refpart.Anchored = true
  3481. refpart.CFrame = CFrame.new(pos)
  3482. if hit ~= nil then
  3483. Effects.Sphere.Create(BrickColor.new("Really black"), refpart.CFrame * cn(0, 0, 0), 60, 0.05, 60, -60, 0, -60, 0.1)
  3484. Effects.Sphere.Create(maincolor, refpart.CFrame * cn(0, 1.97, 0), 1, 10, 1, 15, 40, 15, 0.1)
  3485. Effects.Sphere.Create(maincolor, refpart.CFrame * cn(0, 1.97, 0), 10, 0.05, 10, 15, 0, 15, 0.1)
  3486. MagniDamage(refpart, 14, 15, 15, 0, "Slice")
  3487. end
  3488. game:GetService("Debris"):AddItem(refpart, 0)
  3489. end
  3490. until num <= 0
  3491. end))
  3492. end
  3493. function shoottraildd4(mouse, partt, SpreadAmount)
  3494. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  3495. local MainPos = partt.Position
  3496. local MainPos2 = mouse + SpreadVectors
  3497. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  3498. local speed = 150
  3499. local num = 0
  3500. coroutine.resume(coroutine.create(function()
  3501. repeat
  3502. swait()
  3503. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  3504. local mag = (MainPos - pos).magnitude
  3505. Laser(BrickColor.new("Gold"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 0, mag * (speed / (speed / 2)), 0, 0, 0, 0, 10)
  3506. MainPos = MainPos + MouseLook.lookVector * speed
  3507. num = num - 1
  3508. MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  3509. if hit ~= nil then
  3510. num = 0
  3511. local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  3512. refpart.Anchored = true
  3513. refpart.CFrame = CFrame.new(pos)
  3514. game:GetService("Debris"):AddItem(refpart, 2)
  3515. end
  3516. if num <= 0 then
  3517. local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  3518. refpart.Anchored = true
  3519. refpart.CFrame = CFrame.new(pos)
  3520. if hit ~= nil then
  3521. CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1)
  3522. MagniDamage(refpart, 3, 0.001, 0.01, 0, "Stalk")
  3523. end
  3524. game:GetService("Debris"):AddItem(refpart, 0)
  3525. end
  3526. until num <= 0
  3527. end))
  3528. end
  3529. function shoottraildd5(mouse, partt, SpreadAmount)
  3530. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  3531. local MainPos = partt.Position + RootPart.CFrame.lookVector * 2.5
  3532. local MainPos2 = mouse + SpreadVectors
  3533. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  3534. local speed = 3
  3535. local num = 50
  3536. coroutine.resume(coroutine.create(function()
  3537. repeat
  3538. swait()
  3539. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  3540. local mag = (MainPos - pos).magnitude
  3541. BlockLaser(BrickColor.new("Really black"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 0.1, 0.175, 0, 0.175, 0.14)
  3542. MainPos = MainPos + MouseLook.lookVector * speed
  3543. num = num - 1
  3544. MouseLook = MouseLook * angles(math.rad(0), 0, 0)
  3545. if hit ~= nil then
  3546. num = 0
  3547. local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  3548. refpart.Anchored = true
  3549. refpart.CFrame = CFrame.new(pos)
  3550. game:GetService("Debris"):AddItem(refpart, 2)
  3551. end
  3552. if num <= 0 then
  3553. local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  3554. refpart.Anchored = true
  3555. refpart.CFrame = CFrame.new(pos)
  3556. if hit ~= nil then
  3557. CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1)
  3558. BlockEffect(BrickColor.new("Really black"), refpart.CFrame, 1, 1, 1, 5, 5, 5, 0.1)
  3559. MagniDamage(refpart, 8, 3, 15, 0, "Drag")
  3560. end
  3561. game:GetService("Debris"):AddItem(refpart, 1)
  3562. end
  3563. until num <= 0
  3564. end))
  3565. end
  3566. local Blood1 = Create("ParticleEmitter")({
  3567. Color = ColorSequence.new(Color3.new(0.7, 0, 0), Color3.new(0.1, 0, 0)),
  3568. Transparency = NumberSequence.new(0.1, 1),
  3569. Size = NumberSequence.new(0.5, 0),
  3570. Texture = "rbxassetid://602578593",
  3571. Lifetime = NumberRange.new(0.8),
  3572. Rate = 255,
  3573. VelocitySpread = 40,
  3574. Rotation = NumberRange.new(100),
  3575. Speed = NumberRange.new(5),
  3576. LightEmission = 0,
  3577. LockedToPart = false,
  3578. Acceleration = Vector3.new(0, -10, 0),
  3579. EmissionDirection = "Bottom"
  3580. })
  3581. local Blood2 = Create("ParticleEmitter")({
  3582. Color = ColorSequence.new(Color3.new(0.7, 0, 0), Color3.new(0.1, 0, 0)),
  3583. Transparency = NumberSequence.new(0.1, 1),
  3584. Size = NumberSequence.new(0.3, 0),
  3585. Texture = "rbxassetid://602578593",
  3586. Lifetime = NumberRange.new(0.8),
  3587. Rate = 255,
  3588. VelocitySpread = 180,
  3589. Rotation = NumberRange.new(100),
  3590. Speed = NumberRange.new(2),
  3591. LightEmission = 0.1,
  3592. LockedToPart = false,
  3593. Acceleration = Vector3.new(0, -5, 0),
  3594. EmissionDirection = "Bottom"
  3595. })
  3596. function HitpartFunk3(HPart3, Xv, Yv, Zv)
  3597. Hitpart3 = Instance.new("Part", EffectModel)
  3598. RemoveOutlines(Hitpart3)
  3599. Hitpart3.Size = Vector3.new(1, 1, 1)
  3600. Hitpart3.CanCollide = false
  3601. HuW3 = Instance.new("Weld")
  3602. HuW3.Name = "GuW"
  3603. HuW3.Part0 = HPart3
  3604. HuW3.C0 = cn(Xv, Yv, Zv)
  3605. HuW3.C1 = cn(0, 0, 0)
  3606. HuW3.Part1 = Hitpart3
  3607. HuW3.Parent = HPart3
  3608. Hitpart3.Transparency = 1
  3609. game:GetService("Debris"):AddItem(Hitpart3, 20)
  3610. end
  3611. function HitpartFunk2(HPart2, Xv, Yv, Zv)
  3612. Hitpart2 = Instance.new("Part", EffectModel)
  3613. RemoveOutlines(Hitpart2)
  3614. Hitpart2.Size = Vector3.new(1, 1, 1)
  3615. Hitpart2.CanCollide = false
  3616. HuW2 = Instance.new("Weld")
  3617. HuW2.Name = "GuW"
  3618. HuW2.Part0 = HPart2
  3619. HuW2.C0 = cn(Xv, Yv, Zv)
  3620. HuW2.C1 = cn(0, 0, 0)
  3621. HuW2.Part1 = Hitpart2
  3622. HuW2.Parent = HPart2
  3623. Hitpart2.Transparency = 1
  3624. game:GetService("Debris"):AddItem(Hitpart2, 20)
  3625. end
  3626. function HitpartFunk(HPart, Min, Max, Xv, Yv, Zv, atype, kb)
  3627. Hitpart = Instance.new("Part", EffectModel)
  3628. RemoveOutlines(Hitpart)
  3629. Hitpart.Size = Vector3.new(1, 1, 1)
  3630. Hitpart.CanCollide = false
  3631. HuW = Instance.new("Weld")
  3632. HuW.Name = "GuW"
  3633. HuW.Part0 = HPart
  3634. HuW.C0 = cn(Xv, Yv, Zv)
  3635. HuW.C1 = cn(0, 0, 0)
  3636. HuW.Part1 = Hitpart
  3637. HuW.Parent = HPart
  3638. Hitpart.Transparency = 1
  3639. game:GetService("Debris"):AddItem(Hitpart2, 20)
  3640. MagniDamage(Hitpart, 4.5, Min, Max, kb, atype)
  3641. end
  3642. function HitpartFunk4(HPart, Min, Max, Xv, Yv, Zv, atype, kb)
  3643. Hitpart4 = Instance.new("Part", EffectModel)
  3644. RemoveOutlines(Hitpart4)
  3645. Hitpart4.Size = Vector3.new(1, 1, 1)
  3646. Hitpart4.CanCollide = false
  3647. HuW4 = Instance.new("Weld")
  3648. HuW4.Name = "HuW4"
  3649. HuW4.Part0 = HPart
  3650. HuW4.C0 = cn(Xv, Yv, Zv)
  3651. HuW4.C1 = cn(0, 0, 0)
  3652. HuW4.Part1 = Hitpart4
  3653. HuW4.Parent = HPart
  3654. Hitpart4.Transparency = 1
  3655. game:GetService("Debris"):AddItem(Hitpart4, 1)
  3656. MagniDamage(Hitpart4, 6.5, Min, Max, kb, atype)
  3657. end
  3658. function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
  3659. Hitboxpart = Instance.new("Part", EffectModel)
  3660. RemoveOutlines(Hitboxpart)
  3661. Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
  3662. Hitboxpart.CanCollide = false
  3663. Hitboxpart.Transparency = 1
  3664. Hitboxpart.Anchored = true
  3665. Hitboxpart.CFrame = Pose
  3666. game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  3667. MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  3668. end
  3669. wait2 = false
  3670. combo = 1
  3671. mouse.Button1Down:connect(function(key)
  3672. if attack == false then
  3673. attack = true
  3674. Humanoid.WalkSpeed = 3.01
  3675. if combo == 1 and wait2 == false then
  3676. wait2 = true
  3677. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=608537390", LeftArm, 1, 0.8)
  3678. for i = 0, 1, 0.1 do
  3679. swait()
  3680. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-45)), 0.3)
  3681. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(35)), 0.1)
  3682. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, 0.8) * angles(math.rad(90), math.rad(-10), math.rad(90)), 0.1)
  3683. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3)
  3684. RH.C0 = clerp(RH.C0, cn(1, -1, -0.2) * RHCF * angles(math.rad(0), math.rad(25), math.rad(-10)), 0.3)
  3685. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(45), math.rad(0)), 0.3)
  3686. end
  3687. HitboxFunction(RootPart.CFrame * cn(0, 0, -2), 0.01, 1, 1, 1, 7, 10, 20, 3, "Normal")
  3688. for i = 0, 1, 0.1 do
  3689. swait()
  3690. BlockEffect(maincolor, SwHandle.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2)
  3691. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3)
  3692. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(-25)), 0.1)
  3693. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(0)), 0.4)
  3694. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3)
  3695. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3)
  3696. LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3)
  3697. end
  3698. combo = 2
  3699. end
  3700. if combo == 2 and wait2 == false then
  3701. wait2 = true
  3702. for i = 0, 1, 0.1 do
  3703. swait()
  3704. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3)
  3705. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(-25)), 0.1)
  3706. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.3, -0.4) * angles(math.rad(90), math.rad(0), math.rad(45)), 0.1)
  3707. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(45)), 0.1)
  3708. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3)
  3709. LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3)
  3710. end
  3711. HitboxFunction(RootPart.CFrame * cn(0, 0, -3), 0.5, 1, 1, 1, 5, 10, 20, 3, "Normal")
  3712. for i = 0, 0.5, 0.1 do
  3713. swait()
  3714. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(4), math.rad(0), math.rad(45)), 0.3)
  3715. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(-25)), 0.1)
  3716. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.7, -0.4) * angles(math.rad(90), math.rad(0), math.rad(45)), 0.2)
  3717. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(45)), 0.3)
  3718. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3)
  3719. LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3)
  3720. end
  3721. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260435136", SwHandle, 2, 0.9)
  3722. BlockEffect(maincolor, Hitboxpart.CFrame, 11, 11, 11, 10, 10, 10, 0.08, 2)
  3723. for i = 0, 0.8, 0.1 do
  3724. swait()
  3725. HitboxFunction(RootPart.CFrame * cn(0, 0, -2), 0.01, 1, 1, 1, 7, 10, 20, 3, "Normal")
  3726. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(-16), math.rad(0), math.rad(-45)), 0.3)
  3727. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(35)), 0.1)
  3728. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.7, -0.4) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.5)
  3729. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(45)), 0.3)
  3730. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(45), math.rad(0)), 0.3)
  3731. LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(25), math.rad(50)), 0.3)
  3732. end
  3733. combo = 3
  3734. end
  3735. if combo == 3 and wait2 == false then
  3736. wait2 = true
  3737. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=608537390", SwHandle, 1, 0.8)
  3738. for i = 0, 1, 0.1 do
  3739. swait()
  3740. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(5), math.rad(-90)), 0.3)
  3741. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2)
  3742. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(95 + 0 * math.cos(sine / 25)), math.rad(95 + 1 * math.cos(sine / 25))), 0.4)
  3743. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.3, -0.2) * angles(math.rad(90), math.rad(0), math.rad(45 + 1 * math.cos(sine / 25))), 0.2)
  3744. RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2)
  3745. LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2)
  3746. end
  3747. HitboxFunction(RootPart.CFrame * cn(0, 0, -2), 0.1, 1, 1, 1, 5, 10, 20, 3, "Normal")
  3748. for i = 0, 1, 0.1 do
  3749. swait()
  3750. BlockEffect(maincolor, RightArm.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2)
  3751. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(5), math.rad(45)), 0.3)
  3752. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-45)), 0.2)
  3753. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(45 + 0 * math.cos(sine / 25)), math.rad(90 + 1 * math.cos(sine / 25))), 0.4)
  3754. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, 0) * angles(math.rad(45), math.rad(0), math.rad(20 + 1 * math.cos(sine / 25))), 0.3)
  3755. RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * RHCF * angles(math.rad(5 + 1 * math.cos(sine / 25)), math.rad(-50), math.rad(8 + 1 * math.cos(sine / 25))), 0.2)
  3756. LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * LHCF * angles(math.rad(-5 + 1 * math.cos(sine / 25)), math.rad(-50), math.rad(20 + 1 * math.cos(sine / 25))), 0.2)
  3757. end
  3758. for i = 0, 0.5, 0.1 do
  3759. swait()
  3760. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(5), math.rad(45)), 0.3)
  3761. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-45)), 0.2)
  3762. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(45 + 0 * math.cos(sine / 25)), math.rad(90 + 1 * math.cos(sine / 25))), 0.4)
  3763. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, 0) * angles(math.rad(45), math.rad(0), math.rad(20 + 1 * math.cos(sine / 25))), 0.3)
  3764. RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * RHCF * angles(math.rad(5 + 1 * math.cos(sine / 25)), math.rad(-50), math.rad(8 + 1 * math.cos(sine / 25))), 0.2)
  3765. LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * LHCF * angles(math.rad(-5 + 1 * math.cos(sine / 25)), math.rad(-50), math.rad(20 + 1 * math.cos(sine / 25))), 0.2)
  3766. end
  3767. combo = 1
  3768. end
  3769. Humanoid.WalkSpeed = 16
  3770. wait2 = false
  3771. attack = false
  3772. end
  3773. end)
  3774. local s = Instance.new("Sound", Torso)
  3775. s.Name = "BGMusic"
  3776. s.SoundId = "http://www.roblox.com/asset/?id=831135257"
  3777. s.Pitch = 1
  3778. s.Volume = 2
  3779. s.Looped = true
  3780. s.archivable = false
  3781. s:play()
  3782. function resetmode()
  3783. for i, v in pairs(ArmorColorParts) do
  3784. v.BrickColor = BrickColor.new("Dark stone grey")
  3785. v.Material = "Metal"
  3786. v.Transparency = 0
  3787. end
  3788. for i, v in pairs(NeonColorParts) do
  3789. maincolor = BrickColor.new("Gold")
  3790. v.BrickColor = maincolor
  3791. v.Material = "Neon"
  3792. v.Transparency = 0
  3793. end
  3794. s.SoundId = "http://www.roblox.com/asset/?id=831135257"
  3795. s:play()
  3796. Character.Head.face.Texture = "http://www.roblox.com/asset/?id=192316062"
  3797. Character.Head.face.Transparency = 0
  3798. Eye.BrickColor = BrickColor.new("Really black")
  3799. Eye.Transparency = 0
  3800. s.Volume = 1.7
  3801. end
  3802. elementwait = false
  3803. mouse.KeyDown:connect(function(key)
  3804. if attack == false then
  3805. if key == "q" and elementmode == "Mode 1" then
  3806. elementmode = "Mode 2"
  3807. s.SoundId = "http://www.roblox.com/asset/?id=539526132"
  3808. s:play()
  3809. RoHead = Instance.new("Part")
  3810. RoHead.Parent = Character
  3811. RoHead.Size = Vector3.new(0.2, 0.2, 0.2)
  3812. RoHead.Archivable = true
  3813. RoHead.Transparency = 0
  3814. RoHead.Shape = "Ball"
  3815. RoHead.BrickColor = BrickColor.new("Crimson")
  3816. RoHead.Material = "SmoothPlastic"
  3817. RoHead.CanCollide = false
  3818. local mesh = Instance.new("SpecialMesh", RoHead)
  3819. mesh.MeshId = "rbxassetid://1098615373"
  3820. mesh.Scale = Vector3.new(1, 1, 1)
  3821. local weld2en = Instance.new("Weld")
  3822. weld2en.Parent = Character.Head
  3823. weld2en.Part0 = Character.Head
  3824. weld2en.Part1 = RoHead
  3825. weld2en.C1 = cn(0, -0.01, 0) * angles(math.rad(0), math.rad(180), math.rad(0))
  3826. local eye2 = Instance.new("Part")
  3827. eye2.Parent = RoHead
  3828. eye2.Size = Vector3.new(0.2, 0.2, 0.2)
  3829. eye2.Archivable = true
  3830. eye2.Transparency = 0
  3831. eye2.Shape = "Ball"
  3832. eye2.BrickColor = maincolor
  3833. eye2.Material = "Neon"
  3834. eye2.CanCollide = false
  3835. local mesh = Instance.new("SpecialMesh", eye2)
  3836. mesh.MeshType = "Sphere"
  3837. mesh.Scale = Vector3.new(0.7, 0.7, 0.7)
  3838. local weld3en = Instance.new("Weld")
  3839. weld3en.Parent = Character.Head
  3840. weld3en.Part0 = Character.Head
  3841. weld3en.Part1 = eye2
  3842. weld3en.C1 = CFrame.new(-0.48, -0.2, 0.3275)
  3843. table.insert(NeonColorParts, eye2)
  3844. BC.HeadColor = BrickColor.new("Really black")
  3845. for i, v in pairs(ArmorColorParts) do
  3846. v.BrickColor = BrickColor.new("Bright red")
  3847. v.Material = "Metal"
  3848. v.Transparency = 0
  3849. end
  3850. for i, v in pairs(NeonColorParts) do
  3851. maincolor = BrickColor.new("White")
  3852. v.BrickColor = maincolor
  3853. v.Material = "Neon"
  3854. v.Transparency = 0
  3855. end
  3856. elseif key == "q" and elementmode == "Mode 2" then
  3857. elementmode = "Mode 1"
  3858. resetmode()
  3859. BC.HeadColor = BCsave.HeadColor
  3860. RoHead:Destroy()
  3861. end
  3862. if key == "e" and elementmode == "Mode 1" then
  3863. elementmode = "Mode 3"
  3864. s.SoundId = "http://www.roblox.com/asset/?id=250923014"
  3865. s:play()
  3866. for i, v in pairs(ArmorColorParts) do
  3867. v.BrickColor = BrickColor.new("Really black")
  3868. v.Material = "Plastic"
  3869. v.Transparency = 0
  3870. end
  3871. for i, v in pairs(NeonColorParts) do
  3872. maincolor = BrickColor.new("New Yeller")
  3873. v.BrickColor = maincolor
  3874. v.Material = "Neon"
  3875. v.Transparency = 0
  3876. end
  3877. Character.Head.face.Texture = "http://www.roblox.com/asset/?id=1058556354"
  3878. elseif key == "e" and elementmode == "Mode 3" then
  3879. elementmode = "Mode 1"
  3880. resetmode()
  3881. end
  3882. if key == "r" and elementmode == "Mode 1" then
  3883. elementmode = "Mode 4"
  3884. s.SoundId = "http://www.roblox.com/asset/?id=925488833"
  3885. s:play()
  3886. Character.Head.face.Texture = "http://www.roblox.com/asset/?id=419010253"
  3887. Character.Head.face.Transparency = 1
  3888. for i, v in pairs(ArmorColorParts) do
  3889. v.BrickColor = BrickColor.new("Hurricane grey")
  3890. v.Material = "Granite"
  3891. v.Transparency = 0.2
  3892. end
  3893. for i, v in pairs(NeonColorParts) do
  3894. maincolor = BrickColor.new("Pastel light blue")
  3895. v.BrickColor = maincolor
  3896. v.Material = "Neon"
  3897. v.Transparency = 0
  3898. end
  3899. elseif key == "r" and elementmode == "Mode 4" then
  3900. elementmode = "Mode 1"
  3901. resetmode()
  3902. end
  3903. if key == "t" and elementmode == "Mode 1" then
  3904. elementmode = "Mode 5"
  3905. s.SoundId = "http://www.roblox.com/asset/?id=156879167"
  3906. s:play()
  3907. for i, v in pairs(ArmorColorParts) do
  3908. v.BrickColor = BrickColor.new("Really black")
  3909. v.Material = "Slate"
  3910. v.Transparency = 0.01
  3911. end
  3912. for i, v in pairs(NeonColorParts) do
  3913. maincolor = BrickColor.new("Really red")
  3914. v.BrickColor = maincolor
  3915. v.Material = "Neon"
  3916. v.Transparency = 0
  3917. end
  3918. eye1.Material = "Neon"
  3919. eye1.BrickColor = BrickColor.new("Really red")
  3920. Character.Head.face.Texture = "http://www.roblox.com/asset/?id=939036084"
  3921. elseif key == "t" and elementmode == "Mode 5" then
  3922. elementmode = "Mode 1"
  3923. resetmode()
  3924. end
  3925. if key == "y" and elementmode == "Mode 1" then
  3926. elementmode = "Mode 6"
  3927. s.SoundId = "http://www.roblox.com/asset/?id=657142623"
  3928. s:play()
  3929. for i, v in pairs(ArmorColorParts) do
  3930. v.BrickColor = BrickColor.new("Gold")
  3931. v.Material = "Neon"
  3932. v.Transparency = 0
  3933. end
  3934. for i, v in pairs(NeonColorParts) do
  3935. maincolor = BrickColor.new("White")
  3936. v.BrickColor = maincolor
  3937. v.Material = "Neon"
  3938. v.Transparency = 0
  3939. end
  3940. s.Volume = 2
  3941. elseif key == "y" and elementmode == "Mode 6" then
  3942. elementmode = "Mode 1"
  3943. resetmode()
  3944. end
  3945. end
  3946. end)
  3947. attackz = false
  3948. attackx = false
  3949. attackc = false
  3950. mouse.KeyDown:connect(function(key)
  3951. if elementmode == "Mode 2" then
  3952. if key == "z" and attack == false and attackz == false then
  3953. attack = true
  3954. attackz = true
  3955. local bg2 = Instance.new("BodyGyro", game.Players.LocalPlayer.Character.HumanoidRootPart)
  3956. Humanoid.WalkSpeed = 4
  3957. for i = 0, 2, 0.1 do
  3958. swait()
  3959. bg2.D = 500
  3960. bg2.P = 9999
  3961. bg2.maxTorque = Vector3.new(100000, 1, 100000) * math.huge
  3962. bg2.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position, Vector3.new(game.Players.LocalPlayer:GetMouse().hit.p.x, game.Players.LocalPlayer.Character.HumanoidRootPart.Position.y, game.Players.LocalPlayer:GetMouse().hit.p.z))
  3963. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(25)), 0.3)
  3964. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(-25)), 0.2)
  3965. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, -0.2) * angles(math.rad(140), math.rad(0), math.rad(5)), 0.2)
  3966. LW.C0 = clerp(LW.C0, CFrame.new(-0.6, 0.5, -0.2) * angles(math.rad(120), math.rad(0), math.rad(25)), 0.1)
  3967. RH.C0 = clerp(RH.C0, cn(1, -1, 0.3) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3)
  3968. LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3)
  3969. end
  3970. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=698823472", SwHandle, 1, 1.1)
  3971. Humanoid.WalkSpeed = 2
  3972. for i = 0, 3, 0.1 do
  3973. swait()
  3974. bg2.D = 500
  3975. bg2.P = 9999
  3976. bg2.maxTorque = Vector3.new(100000, 1, 100000) * math.huge
  3977. bg2.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position, Vector3.new(game.Players.LocalPlayer:GetMouse().hit.p.x, game.Players.LocalPlayer.Character.HumanoidRootPart.Position.y, game.Players.LocalPlayer:GetMouse().hit.p.z))
  3978. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(25)), 0.1)
  3979. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(-25), math.rad(-25)), 0.1)
  3980. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.51, -0.2) * angles(math.rad(90), math.rad(0), math.rad(25)), 0.2)
  3981. LW.C0 = clerp(LW.C0, CFrame.new(-0.6, 0.5, -0.2) * angles(math.rad(90), math.rad(0), math.rad(45)), 0.2)
  3982. RH.C0 = clerp(RH.C0, cn(1.1, -0.2, -0.3) * RHCF * angles(math.rad(0), math.rad(-25), math.rad(0)), 0.1)
  3983. LH.C0 = clerp(LH.C0, cn(-0.9, -1.5, -0.8) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(90)), 0.1)
  3984. end
  3985. game:GetService("Debris"):AddItem(bg2, 1.5)
  3986. for i = 0, 17 do
  3987. Humanoid.WalkSpeed = 0
  3988. bg2.D = 50
  3989. bg2.P = 9999
  3990. bg2.maxTorque = Vector3.new(100000, 1, 100000) * math.huge
  3991. bg2.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position, Vector3.new(game.Players.LocalPlayer:GetMouse().hit.p.x, game.Players.LocalPlayer.Character.HumanoidRootPart.Position.y, game.Players.LocalPlayer:GetMouse().hit.p.z))
  3992. for i = 0, 0.3, 0.1 do
  3993. swait()
  3994. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(25)), 0.1)
  3995. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(-25), math.rad(-25)), 0.1)
  3996. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.51, -0.2) * angles(math.rad(90), math.rad(0), math.rad(25)), 0.4)
  3997. LW.C0 = clerp(LW.C0, CFrame.new(-0.6, 0.5, -0.2) * angles(math.rad(90), math.rad(0), math.rad(45)), 0.4)
  3998. RH.C0 = clerp(RH.C0, cn(1.1, -0.2, -0.3) * RHCF * angles(math.rad(0), math.rad(-25), math.rad(0)), 0.1)
  3999. LH.C0 = clerp(LH.C0, cn(-0.9, -1.5, -0.8) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(90)), 0.1)
  4000. end
  4001. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=397307108", RightArm, 1.4, 1.2)
  4002. shoottraildd2(mouse.Hit.p, RightArm, 0.55)
  4003. BlockEffect(BrickColor.new("Really red"), RightArm.CFrame * cn(0, -1.5, 0), 2, 2, 2, 2, 2, 2, 0.05, 1)
  4004. BlockEffect(BrickColor.new("White"), RightArm.CFrame * cn(0, -1.5, 0), 2, 2, 2, 1, 1, 1, 0.06, 1)
  4005. Effects.Sphere.Create(BrickColor.new("Really red"), RightArm.CFrame * cn(0, -1, 0), 10, 0.01, 10, 3, 0, 3, 0.05)
  4006. for i = 0, 0.1, 0.1 do
  4007. swait()
  4008. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(25)), 0.1)
  4009. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(-25), math.rad(-25)), 0.1)
  4010. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.51, 0) * angles(math.rad(120), math.rad(0), math.rad(25)), 0.2)
  4011. LW.C0 = clerp(LW.C0, CFrame.new(-0.6, 0.5, -0.3) * angles(math.rad(120), math.rad(0), math.rad(45)), 0.2)
  4012. RH.C0 = clerp(RH.C0, cn(1.1, -0.2, -0.3) * RHCF * angles(math.rad(0), math.rad(-25), math.rad(0)), 0.1)
  4013. LH.C0 = clerp(LH.C0, cn(-0.9, -1.5, -0.8) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(90)), 0.1)
  4014. end
  4015. end
  4016. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=698824317", SwHandle, 1, 1.1)
  4017. for i = 0, 2, 0.1 do
  4018. swait()
  4019. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(25)), 0.1)
  4020. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(-25), math.rad(-25)), 0.1)
  4021. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.51, 0) * angles(math.rad(40), math.rad(0), math.rad(25)), 0.2)
  4022. LW.C0 = clerp(LW.C0, CFrame.new(-0.6, 0.5, -0.3) * angles(math.rad(40), math.rad(0), math.rad(45)), 0.2)
  4023. RH.C0 = clerp(RH.C0, cn(1.1, -0.2, -0.3) * RHCF * angles(math.rad(0), math.rad(-25), math.rad(0)), 0.1)
  4024. LH.C0 = clerp(LH.C0, cn(-0.9, -1.5, -0.8) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(90)), 0.1)
  4025. end
  4026. attack = false
  4027. Humanoid.WalkSpeed = 16
  4028. wait(1.5)
  4029. attackz = false
  4030. end
  4031. if key == "x" and attack == false and attackx == false then
  4032. Effects.Sphere.Create(BrickColor.new("Really red"), RootPart.CFrame * cn(0, -2.97, 0), 60, 0.1, 60, -40, 3, -40, 0.05)
  4033. BlockEffect(BrickColor.new("White"), RightLeg.CFrame * cn(0, -1.5, 0), 23, 23, 23, 17, 17, 17, 0.1, 1)
  4034. BlockEffect(BrickColor.new("White"), LeftLeg.CFrame * cn(0, -1.5, 0), 23, 23, 23, 17, 17, 17, 0.1, 1)
  4035. attack = true
  4036. attackx = true
  4037. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=874376217", Torso, 2, 1)
  4038. local bodyVelocity = Create("BodyVelocity")({
  4039. velocity = Vector3.new(0, 200, 0) + RootPart.CFrame.lookVector * 40,
  4040. P = 5000,
  4041. maxForce = Vector3.new(80000, 80000, 80000),
  4042. Parent = RootPart
  4043. })
  4044. game:GetService("Debris"):AddItem(bodyVelocity, 0.2)
  4045. for i = 0, 2, 0.1 do
  4046. swait()
  4047. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0 + 360 * i), math.rad(0), math.rad(0)), 0.5)
  4048. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(45), math.rad(0), math.rad(0)), 0.1)
  4049. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.4) * angles(math.rad(80), math.rad(0 * math.cos(sine / 25)), math.rad(-45)), 0.2)
  4050. LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5, -0.4) * angles(math.rad(70), math.rad(0), math.rad(55)), 0.2)
  4051. RH.C0 = clerp(RH.C0, cn(1, -0.1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-20 - 2 * math.cos(sine / 25))), 0.2)
  4052. LH.C0 = clerp(LH.C0, cn(-1, -0.1 - 0.1 * math.cos(sine / 25), -0.6) * LHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(20 + 2 * math.cos(sine / 25))), 0.2)
  4053. end
  4054. for i = 0, 1, 0.1 do
  4055. swait()
  4056. local bodyVelocity2 = Create("BodyVelocity")({
  4057. velocity = Vector3.new(0, 0, 0) + RootPart.CFrame.lookVector * 0,
  4058. P = 5000,
  4059. maxForce = Vector3.new(8000, 8000, 8000),
  4060. Parent = RootPart
  4061. })
  4062. game:GetService("Debris"):AddItem(bodyVelocity2, 0.01)
  4063. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0 + 360 * i), math.rad(0), math.rad(0)), 0.5)
  4064. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(45), math.rad(0), math.rad(0)), 0.1)
  4065. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.4) * angles(math.rad(80), math.rad(0 * math.cos(sine / 25)), math.rad(-45)), 0.2)
  4066. LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5, -0.4) * angles(math.rad(70), math.rad(0), math.rad(55)), 0.2)
  4067. RH.C0 = clerp(RH.C0, cn(1, -0.1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-20 - 2 * math.cos(sine / 25))), 0.2)
  4068. LH.C0 = clerp(LH.C0, cn(-1, -0.1 - 0.1 * math.cos(sine / 25), -0.6) * LHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(20 + 2 * math.cos(sine / 25))), 0.2)
  4069. end
  4070. for i = 0, 20 do
  4071. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=287142895", Torso, 1, 0.8)
  4072. local targeto1 = RootPart.Position
  4073. shoottraildd3(targeto1, RootPart, 15)
  4074. for i = 0, 0.5, 0.1 do
  4075. swait()
  4076. local bodyVelocity2 = Create("BodyVelocity")({
  4077. velocity = Vector3.new(0, -10, 0) + RootPart.CFrame.lookVector * 50,
  4078. P = 5000,
  4079. maxForce = Vector3.new(8000, 8000, 8000),
  4080. Parent = RootPart
  4081. })
  4082. game:GetService("Debris"):AddItem(bodyVelocity2, 0.01)
  4083. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
  4084. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(45), math.rad(0), math.rad(0)), 0.1)
  4085. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.7, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(90)), 0.5)
  4086. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.7, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  4087. RH.C0 = clerp(RH.C0, cn(1, -0.6 - 0.01 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-20 - 2 * math.cos(sine / 25))), 0.2)
  4088. LH.C0 = clerp(LH.C0, cn(-1, -1 - 0.01 * math.cos(sine / 25), -0.2) * LHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(5 + 1 * math.cos(sine / 25))), 0.2)
  4089. end
  4090. end
  4091. while inair == true do
  4092. swait()
  4093. local bodyVelocity2 = Create("BodyVelocity")({
  4094. velocity = Vector3.new(0, -130, 0) + RootPart.CFrame.lookVector * 30,
  4095. P = 5000,
  4096. maxForce = Vector3.new(8000, 8000, 8000),
  4097. Parent = RootPart
  4098. })
  4099. game:GetService("Debris"):AddItem(bodyVelocity2, 0.01)
  4100. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05)
  4101. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(45), math.rad(0), math.rad(0)), 0.1)
  4102. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(40), math.rad(0 * math.cos(sine / 25)), math.rad(90)), 0.05)
  4103. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.05)
  4104. RH.C0 = clerp(RH.C0, cn(1, -0.5 - 0.1 * math.cos(sine / 25), -0.4) * RHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(0 - 1 * math.cos(sine / 25))), 0.05)
  4105. LH.C0 = clerp(LH.C0, cn(-1, -0.1 - 0.1 * math.cos(sine / 25), -0.6) * LHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(20 + 2 * math.cos(sine / 25))), 0.05)
  4106. end
  4107. MagniDamage(Torso, 12, 40, 60, 10, "Normal")
  4108. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=174580476", Torso, 2, 2)
  4109. Effects.Sphere.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -2.97, 0), 60, 0.1, 60, -20, 4, -20, 0.05)
  4110. Effects.Sphere.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -2.97, 0), 60, 0.1, 60, -40, 3, -40, 0.05)
  4111. Effects.Sphere.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -2.97, 0), 60, 0.1, 60, -60, 2, -60, 0.05)
  4112. Effects.Sphere.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -2.97, 0), 60, 0.1, 60, -80, 1, -80, 0.05)
  4113. for i = 0, 2, 0.1 do
  4114. swait()
  4115. local bodyVelocity3 = Create("BodyVelocity")({
  4116. velocity = Vector3.new(0, 0, 0) + RootPart.CFrame.lookVector * 0,
  4117. P = 5000,
  4118. maxForce = Vector3.new(8000, 8000, 8000),
  4119. Parent = RootPart
  4120. })
  4121. game:GetService("Debris"):AddItem(bodyVelocity3, 0.1)
  4122. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
  4123. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(45), math.rad(0), math.rad(0)), 0.1)
  4124. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0 * math.cos(sine / 25)), math.rad(10)), 0.2)
  4125. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.2)
  4126. RH.C0 = clerp(RH.C0, cn(1, 0 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(0 - 2 * math.cos(sine / 25))), 0.2)
  4127. LH.C0 = clerp(LH.C0, cn(-1, -1.5 - 0.1 * math.cos(sine / 25), -0.6) * LHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(90 + 1 * math.cos(sine / 25))), 0.2)
  4128. end
  4129. attack = false
  4130. attackx = false
  4131. end
  4132. if key == "c" and attack == false and attackc == false then
  4133. attack = true
  4134. attackc = true
  4135. Humanoid.WalkSpeed = 0.1
  4136. for i = 0, 1, 0.1 do
  4137. swait()
  4138. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.2, -0.15) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4139. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.3)
  4140. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(110 - 0 * math.cos(sine / 25)), math.rad(45), math.rad(90 + 0 * math.cos(sine / 25))), 0.3)
  4141. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20 - 0 * math.cos(sine / 25)), math.rad(0), math.rad(0 - 0 * math.cos(sine / 25))), 0.3)
  4142. RH.C0 = clerp(RH.C0, cn(1, -0.9, -0.6) * RHCF * angles(math.rad(0), math.rad(20), math.rad(20)), 0.3)
  4143. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(10)), 0.3)
  4144. end
  4145. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=178452241", RightArm, 2, 2)
  4146. for i = 0, 1, 0.1 do
  4147. swait()
  4148. BlockEffect(maincolor, RightArm.CFrame * cn(0, -1 - i * 5, 0 + i * 5), 10 + i * 15, 10 + i * 15, 10 + i * 15, 6 + i * 3, 6 + i * 3, 6 + i * 3, 0.2 - i / 6)
  4149. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.2, -0.15) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4150. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), 0.1)
  4151. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90 - 0 * math.cos(sine / 25)), math.rad(0), math.rad(-15 + 0 * math.cos(sine / 25))), 0.3)
  4152. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20 - 0 * math.cos(sine / 25)), math.rad(0), math.rad(-20 - 0 * math.cos(sine / 25))), 0.1)
  4153. RH.C0 = clerp(RH.C0, cn(1, -1, -0.4) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4154. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  4155. end
  4156. local Hitboxpart2 = Instance.new("Part", EffectModel)
  4157. RemoveOutlines(Hitboxpart2)
  4158. Hitboxpart2.Size = Vector3.new(1, 1, 1)
  4159. Hitboxpart2.CanCollide = false
  4160. Hitboxpart2.Transparency = 1
  4161. Hitboxpart2.Anchored = true
  4162. Hitboxpart2.CFrame = RootPart.CFrame * cn(0, 0, 0)
  4163. game:GetService("Debris"):AddItem(Hitboxpart2, 6)
  4164. for i = 0, 1, 0.1 do
  4165. swait()
  4166. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.2, -0.15) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4167. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  4168. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0 - 0 * math.cos(sine / 25)), math.rad(0), math.rad(20 + 0 * math.cos(sine / 25))), 0.05)
  4169. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0 - 0 * math.cos(sine / 25)), math.rad(0), math.rad(-20 - 0 * math.cos(sine / 25))), 0.1)
  4170. RH.C0 = clerp(RH.C0, cn(1, -1, -0.4) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4171. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  4172. end
  4173. local targetV1 = RootPart.Position + RootPart.CFrame.lookVector * 2
  4174. attack = false
  4175. Humanoid.WalkSpeed = 16
  4176. for i = 0, 5, 0.1 do
  4177. swait()
  4178. targetV1 = targetV1 + Hitboxpart2.CFrame.lookVector * i
  4179. shoottraildd(targetV1, RootPart, 0)
  4180. end
  4181. attackc = false
  4182. end
  4183. end
  4184. if elementmode == "Mode 4" and key == "z" and attack == false and attackz == false then
  4185. attack = true
  4186. attackz = true
  4187. Humanoid.WalkSpeed = 1
  4188. for i = 0, 3, 0.1 do
  4189. swait()
  4190. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.1)
  4191. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(-25)), 0.1)
  4192. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -0.4) * angles(math.rad(20), math.rad(0), math.rad(-5)), 0.1)
  4193. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.3, -0.3) * angles(math.rad(50), math.rad(0), math.rad(45)), 0.1)
  4194. RH.C0 = clerp(RH.C0, cn(1, -1, 0.2) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.1)
  4195. LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.1)
  4196. end
  4197. coroutine.resume(coroutine.create(function()
  4198. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=168513088", SwHandle, 1, 0.8)
  4199. wait(0.4)
  4200. HitboxFunction(RootPart.CFrame * cn(0, 0, -3), 0.5, 1, 1, 1, 10, 10, 20, 3, "Freeze")
  4201. BlockEffect(maincolor, Hitboxpart.CFrame, 55, 55, 55, -5, -5, -5, 0.08, 3)
  4202. BlockEffect(maincolor, Hitboxpart.CFrame, 77, 77, 77, -7, -7, -7, 0.08, 3)
  4203. wait()
  4204. BlockEffect(maincolor, Hitboxpart.CFrame, 77, 77, 77, -30, -30, -30, 0.08, 1)
  4205. end))
  4206. for i = 0, 3.5, 0.1 do
  4207. swait()
  4208. BlockEffect(maincolor, RightArm.CFrame * cn(0, -1.5, 0), -8, -8, -8, -1, -1, -1, 0.08, 3)
  4209. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.1)
  4210. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(-25)), 0.01)
  4211. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(75)), 0.05)
  4212. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.3, -0.3) * angles(math.rad(50), math.rad(0), math.rad(45)), 0.3)
  4213. RH.C0 = clerp(RH.C0, cn(1, -1, 0.2) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.1)
  4214. LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.1)
  4215. end
  4216. Humanoid.WalkSpeed = 16
  4217. attack = false
  4218. wait(1)
  4219. attackz = false
  4220. end
  4221. if elementmode == "Mode 5" then
  4222. if key == "z" and attack == false and attackz == false then
  4223. attack = true
  4224. attackz = true
  4225. coroutine.resume(coroutine.create(function()
  4226. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=565207203", RightArm, 5, 0.6)
  4227. shoottraildd5(mouse.hit.p, RootPart, 0)
  4228. end))
  4229. attack = false
  4230. wait(10)
  4231. attackz = false
  4232. end
  4233. if key == "x" and attack == false and attackx == false then
  4234. attack = true
  4235. attackc = true
  4236. Humanoid.WalkSpeed = 0.1
  4237. for i = 0, 2, 0.1 do
  4238. swait()
  4239. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1)
  4240. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(50), math.rad(0), math.rad(0)), 0.1)
  4241. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1)
  4242. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1)
  4243. RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.1)
  4244. LH.C0 = clerp(LH.C0, cn(-1, -1, -0.4) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10)), 0.1)
  4245. end
  4246. for i = 0, 4, 0.1 do
  4247. swait()
  4248. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1)
  4249. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(30)), 0.1)
  4250. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.51, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.1)
  4251. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.1)
  4252. RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.1)
  4253. LH.C0 = clerp(LH.C0, cn(-1, -1, -0.4) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10)), 0.1)
  4254. end
  4255. do
  4256. local ModelArm02 = New("Model", Character, "Arm", {})
  4257. local Humanoid02 = New("Humanoid", ModelArm02, "Humanoid", {})
  4258. local Arm02 = LeftArm:Clone()
  4259. LeftArm.Transparency = 1
  4260. Arm02.Parent = ModelArm02
  4261. for i, v in pairs(Arm02:GetChildren()) do
  4262. v:Destroy()
  4263. end
  4264. local weldArm02 = Instance.new("Weld")
  4265. weldArm02.Parent = Arm02
  4266. weldArm02.Part0 = LeftArm
  4267. weldArm02.Part1 = Arm02
  4268. weldArm02.C1 = CFrame.new(0, 0, 0)
  4269. for i, v in pairs(Character:GetChildren()) do
  4270. if v:IsA("Shirt") then
  4271. v:clone().Parent = ModelArm02
  4272. end
  4273. end
  4274. local BE1 = Blood1:Clone()
  4275. BE1.Parent = LeftArm
  4276. game:GetService("Debris"):AddItem(BE1, 3)
  4277. BE1.Rate = 0
  4278. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=180083298", Arm02, 3, 0.4)
  4279. for i = 0, 2, 0.1 do
  4280. swait()
  4281. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1)
  4282. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(15)), 0.05)
  4283. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(91), math.rad(0), math.rad(-70)), 0.1)
  4284. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.1)
  4285. RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.1)
  4286. LH.C0 = clerp(LH.C0, cn(-1, -1, -0.4) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10)), 0.1)
  4287. end
  4288. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=704141469", Arm02, 3, 0.8)
  4289. BE1.Rate = 255
  4290. weldArm02.Part0 = RightArm
  4291. weldArm02.C1 = CFrame.new(1.5, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90))
  4292. for i = 0, 2, 0.1 do
  4293. swait()
  4294. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1)
  4295. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.05)
  4296. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(91), math.rad(0), math.rad(0)), 0.05)
  4297. LW.C0 = clerp(LW.C0, CFrame.new(0, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.1)
  4298. RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.1)
  4299. LH.C0 = clerp(LH.C0, cn(-1, -1, -0.4) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10)), 0.1)
  4300. end
  4301. for i = 0, 2, 0.1 do
  4302. swait()
  4303. BE1.Rate = BE1.Rate - i * 10
  4304. weldArm02.C1 = clerp(weldArm02.C1, CFrame.new(0, 0.5, -1.5) * angles(math.rad(-90), math.rad(0), math.rad(0)), 0.2)
  4305. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(-40)), 0.3)
  4306. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.05)
  4307. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(200), math.rad(0), math.rad(40)), 0.05)
  4308. LW.C0 = clerp(LW.C0, CFrame.new(0, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-90)), 1)
  4309. RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-2), math.rad(20), math.rad(20)), 0.1)
  4310. LH.C0 = clerp(LH.C0, cn(-1, -1, -0.4) * LHCF * angles(math.rad(-2), math.rad(20), math.rad(10)), 0.1)
  4311. end
  4312. BE1.Rate = 0
  4313. for i = 0, 0.2, 0.1 do
  4314. swait()
  4315. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.3)
  4316. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.1)
  4317. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.51, 0.3) * angles(math.rad(45), math.rad(0), math.rad(-40)), 0.4)
  4318. LW.C0 = clerp(LW.C0, CFrame.new(0, 0.5, -0.3) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.1)
  4319. RH.C0 = clerp(RH.C0, cn(1, -1, 0.3) * RHCF * angles(math.rad(-2), math.rad(-40), math.rad(20)), 0.3)
  4320. LH.C0 = clerp(LH.C0, cn(-1, -0.9, -0.3) * LHCF * angles(math.rad(-2), math.rad(-40), math.rad(10)), 0.3)
  4321. end
  4322. weldArm02:Destroy()
  4323. Arm02.CanCollide = true
  4324. local bodyVelocity2 = Create("BodyVelocity")({
  4325. velocity = Vector3.new(0, 10, 0) + RootPart.CFrame.lookVector * 50,
  4326. P = 5000,
  4327. maxForce = Vector3.new(8000, 8000, 8000),
  4328. Parent = Arm02
  4329. })
  4330. game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
  4331. for i = 0, 2, 0.1 do
  4332. swait()
  4333. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.3)
  4334. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.1)
  4335. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.51, 0.3) * angles(math.rad(45), math.rad(0), math.rad(-40)), 0.4)
  4336. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.3) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  4337. RH.C0 = clerp(RH.C0, cn(1, -1, 0.3) * RHCF * angles(math.rad(-2), math.rad(-40), math.rad(20)), 0.3)
  4338. LH.C0 = clerp(LH.C0, cn(-1, -0.9, -0.3) * LHCF * angles(math.rad(-2), math.rad(-40), math.rad(10)), 0.3)
  4339. end
  4340. for i = 0, 3, 0.1 do
  4341. swait()
  4342. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)
  4343. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(15)), 0.1)
  4344. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(21), math.rad(0), math.rad(0)), 0.1)
  4345. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-20)), 0.3)
  4346. RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.1)
  4347. LH.C0 = clerp(LH.C0, cn(-1, -1, -0.4) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10)), 0.1)
  4348. end
  4349. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=301928691", LeftArm, 2, 2)
  4350. BlockEffect(BrickColor.new("Really black"), LeftArm.CFrame, 21, 41, 21, 0.5, 1, 0.5, 0.03, 2)
  4351. LeftArm.Transparency = 0
  4352. for i = 0, 4, 0.1 do
  4353. swait()
  4354. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1)
  4355. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(15)), 0.1)
  4356. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(21), math.rad(0), math.rad(0)), 0.1)
  4357. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-20)), 0.1)
  4358. RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.1)
  4359. LH.C0 = clerp(LH.C0, cn(-1, -1, -0.4) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10)), 0.1)
  4360. end
  4361. coroutine.resume(coroutine.create(function()
  4362. ModelArm02.Parent = workspace
  4363. wait(0.7)
  4364. if ModelArm02 ~= nil then
  4365. Effects.Sphere.Create(BrickColor.new("Really black"), Arm02.CFrame * cn(0, 0, 0), 60, 0.05, 60, -60, -10, -60, 0.088)
  4366. Effects.Sphere.Create(maincolor, Arm02.CFrame * cn(0, 0, 0), -55, -55, -55, -55, -55, -55, 0.09)
  4367. Effects.Sphere.Create(BrickColor.new("Really black"), Arm02.CFrame * cn(0, 0, 0), -55, -55, -55, -56, -56, -56, 0.04)
  4368. MagniDamage(Arm02, 20, 45, 45, 0, "UltSlice")
  4369. Arm02.Transparency = 1
  4370. Arm02.CanCollide = false
  4371. Arm02.Anchored = true
  4372. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=174580476", Arm02, 5, 0.7)
  4373. end
  4374. end))
  4375. game:GetService("Debris"):AddItem(ModelArm02, 4)
  4376. Humanoid.WalkSpeed = 16
  4377. LeftArm.Transparency = 0
  4378. attack = false
  4379. attackc = false
  4380. end
  4381. end
  4382. if key == "c" and attack == false and attackc == false then
  4383. attack = true
  4384. attackc = true
  4385. BlockEffect(BrickColor.new("Really red"), eye1.CFrame, 6, 6, 6, -0.1, -0.1, -0.1, 0.1, 1)
  4386. Humanoid.WalkSpeed = 5
  4387. shoottraildd4(mouse.Hit.p, RightArm, 0)
  4388. wait()
  4389. if lasthit ~= nil then
  4390. print("hit")
  4391. local lastplace = RootPart.CFrame
  4392. local tp1 = lasthit.CFrame + lasthit.CFrame.lookVector * -4
  4393. BlockEffect(BrickColor.new("Really red"), eye1.CFrame, 6, 6, 2, 0, 0, 0, 0.006, 2)
  4394. BlockEffect(BrickColor.new("Really black"), Head.CFrame, 21, 21, 21, 0, 0, 0, 0.005, 2)
  4395. BlockEffect(BrickColor.new("Really black"), Torso.CFrame, 41, 41, 21, 0, 0, 0, 0.005, 2)
  4396. BlockEffect(BrickColor.new("Really black"), RightArm.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2)
  4397. BlockEffect(BrickColor.new("Really black"), LeftArm.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2)
  4398. BlockEffect(BrickColor.new("Really black"), RightLeg.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2)
  4399. BlockEffect(BrickColor.new("Really black"), LeftLeg.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2)
  4400. RootPart.CFrame = tp1
  4401. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=301928691", Torso, 3, 0.5)
  4402. for i = 0, 3, 0.1 do
  4403. swait()
  4404. RootPart.CFrame = tp1
  4405. lasthit.CFrame = tp1 + lasthit.CFrame.lookVector * 4
  4406. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  4407. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(50), math.rad(0), math.rad(0)), 0.2)
  4408. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)
  4409. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1)
  4410. RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.3)
  4411. LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10)), 0.3)
  4412. end
  4413. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=649634100", Torso, 7, 0.5)
  4414. for i = 0, 1, 0.1 do
  4415. swait()
  4416. RootPart.CFrame = tp1
  4417. lasthit.CFrame = tp1 + lasthit.CFrame.lookVector * 4
  4418. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  4419. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(20), math.rad(0)), 0.05)
  4420. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)
  4421. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1)
  4422. RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.3)
  4423. LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10)), 0.3)
  4424. end
  4425. for i = 0, 3, 0.1 do
  4426. swait()
  4427. RootPart.CFrame = tp1
  4428. lasthit.CFrame = tp1 + lasthit.CFrame.lookVector * 4
  4429. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05)
  4430. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.05)
  4431. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05)
  4432. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05)
  4433. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(0)), 0.05)
  4434. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(0)), 0.05)
  4435. end
  4436. for i = 0, 8, 0.1 do
  4437. swait()
  4438. RootPart.CFrame = tp1
  4439. lasthit.CFrame = tp1 + lasthit.CFrame.lookVector * 4
  4440. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.05)
  4441. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(20), math.rad(40)), 0.05)
  4442. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.05)
  4443. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05)
  4444. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.05)
  4445. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.05)
  4446. end
  4447. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=444667859", RightArm, 2, 1)
  4448. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=144884872", RightArm, 2, 1)
  4449. for i = 0, 0.1, 0.1 do
  4450. swait()
  4451. RootPart.CFrame = tp1
  4452. lasthit.CFrame = tp1 + lasthit.CFrame.lookVector * 4
  4453. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(1.2, -2.5, -0.2) * angles(math.rad(0), math.rad(0), math.rad(40)), 1)
  4454. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(10), math.rad(-40)), 1)
  4455. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 1)
  4456. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  4457. RH.C0 = clerp(RH.C0, cn(1, -0.7, -0.4) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(-20)), 1)
  4458. LH.C0 = clerp(LH.C0, cn(-1, -0.7, -0.2) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(-20)), 1)
  4459. end
  4460. local BloodColor = Color3.new(1, 0, 0)
  4461. local PE1 = Blood1:Clone()
  4462. local PE2 = Blood2:Clone()
  4463. local OrbHeart = Instance.new("Part")
  4464. OrbHeart.Parent = workspace
  4465. OrbHeart.Size = Vector3.new(1, 1, 1)
  4466. OrbHeart.Archivable = true
  4467. OrbHeart.Transparency = 0
  4468. OrbHeart.BrickColor = BrickColor.new("Really red")
  4469. OrbHeart.Material = "Granite"
  4470. OrbHeart.CanCollide = true
  4471. local mesh = Instance.new("SpecialMesh", OrbHeart)
  4472. mesh.MeshType = "Sphere"
  4473. mesh.Scale = Vector3.new(1, 1, 1)
  4474. local weld1OrbHeart = Instance.new("Weld")
  4475. weld1OrbHeart.Parent = RightArm
  4476. weld1OrbHeart.Part0 = RightArm
  4477. weld1OrbHeart.Part1 = OrbHeart
  4478. weld1OrbHeart.C1 = CFrame.new(0, 1.2, 0)
  4479. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=131038747", Torso, 7, 1)
  4480. PE1.Parent = RightArm
  4481. PE2.Parent = OrbHeart
  4482. game:GetService("Debris"):AddItem(PE1, 3)
  4483. game:GetService("Debris"):AddItem(weld1OrbHeart, 1.5)
  4484. game:GetService("Debris"):AddItem(OrbHeart, 8)
  4485. for i = 0, 8, 0.1 do
  4486. swait()
  4487. RootPart.CFrame = tp1
  4488. lasthit.CFrame = tp1 + lasthit.CFrame.lookVector * 4
  4489. lasthit.Anchored = true
  4490. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(1.2, -2.5, -0.2) * angles(math.rad(0), math.rad(0), math.rad(40)), 1)
  4491. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(10), math.rad(-40)), 1)
  4492. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 1)
  4493. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  4494. RH.C0 = clerp(RH.C0, cn(1, -0.8, -0.4) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(-20)), 1)
  4495. LH.C0 = clerp(LH.C0, cn(-1, -0.8, -0.2) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(-20)), 1)
  4496. end
  4497. MagniKILL(RightArm, 4, 999, 999, 0, "Normal")
  4498. PE1.Rate = 0
  4499. for i = 0, 8, 0.1 do
  4500. swait()
  4501. RootPart.CFrame = tp1
  4502. lasthit.Anchored = false
  4503. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(1.2, -1.5, -0.2) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05)
  4504. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(20), math.rad(-30)), 0.05)
  4505. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.05)
  4506. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05)
  4507. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(0)), 0.05)
  4508. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(0)), 0.05)
  4509. end
  4510. lasthit = nil
  4511. for i = 0, 4, 0.1 do
  4512. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -1.1 + 0.02 * math.cos(sine / 8)) * angles(math.rad(10), math.rad(1), math.rad(0)), 0.1)
  4513. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(45 + 1 * math.cos(sine / 1)), math.rad(0), math.rad(5 * math.cos(sine / 1))), 0.1)
  4514. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(10 - 4 * math.cos(sine / 1)), math.rad(0), math.rad(30)), 0.1)
  4515. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, 0) * angles(math.rad(110 + 4 * math.cos(sine / 1)), math.rad(0), math.rad(30)), 0.1)
  4516. RH.C0 = clerp(RH.C0, cn(1, -0.2 - 0.02 * math.cos(sine / 8), -0.2) * RHCF * angles(math.rad(0), math.rad(0), math.rad(40 + 0.05 * math.cos(sine / 25))), 0.1)
  4517. LH.C0 = clerp(LH.C0, cn(-1, -0.2 - 0.02 * math.cos(sine / 8), -0.5) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20 + 0.05 * math.cos(sine / 25))), 0.1)
  4518. end
  4519. BlockEffect(BrickColor.new("Really red"), eye1.CFrame, 6, 6, 2, 0, 0, 0, 0.006, 2)
  4520. BlockEffect(BrickColor.new("Really black"), Head.CFrame, 21, 21, 21, 0, 0, 0, 0.005, 2)
  4521. BlockEffect(BrickColor.new("Really black"), Torso.CFrame, 41, 41, 21, 0, 0, 0, 0.005, 2)
  4522. BlockEffect(BrickColor.new("Really black"), RightArm.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2)
  4523. BlockEffect(BrickColor.new("Really black"), LeftArm.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2)
  4524. BlockEffect(BrickColor.new("Really black"), RightLeg.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2)
  4525. BlockEffect(BrickColor.new("Really black"), LeftLeg.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2)
  4526. RootPart.CFrame = lastplace
  4527. end
  4528. attack = false
  4529. attackc = false
  4530. end
  4531. end
  4532. end)
  4533. coroutine.resume(coroutine.create(function()
  4534. BillboardGui0 = Instance.new("BillboardGui")
  4535. ImageLabel1 = Instance.new("ImageLabel")
  4536. BillboardGui0.Name = "Healthbar"
  4537. BillboardGui0.Size = UDim2.new(2, 0, 0.4, 0)
  4538. BillboardGui0.AlwaysOnTop = true
  4539. BillboardGui0.StudsOffset = Vector3.new(0, 5, 0)
  4540. ImageLabel1.Parent = BillboardGui0
  4541. ImageLabel1.Transparency = 1
  4542. ImageLabel1.Size = UDim2.new(1, 0, 5, 0)
  4543. ImageLabel1.BackgroundColor3 = Color3.new(1, 1, 1)
  4544. ImageLabel1.BackgroundTransparency = 1
  4545. ImageLabel1.ImageTransparency = 1
  4546. ImageLabel1.Image = "rbxassetid://278806942"
  4547. BillboardGui0.Parent = Torso
  4548. end))
  4549. humHsave = Humanoid.Health
  4550. function GainCharge(Humanoid)
  4551. if Humanoid.Health == 0 then
  4552. equipped = false
  4553. end
  4554. if blocking == true then
  4555. humDsave = Humanoid.Health
  4556. humDsave = humHsave - humDsave
  4557. if humDsave > 0.01 then
  4558. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260433850", Torso, 1, 0.5)
  4559. BlockEffect(maincolor, Torso.CFrame, 42, 42, 22, 0.1, 0.1, 0.1, 0.02, 2)
  4560. BlockEffect(maincolor, RightArm.CFrame, 22, 42, 22, 0.1, 0.1, 0.1, 0.02, 2)
  4561. BlockEffect(maincolor, LeftArm.CFrame, 22, 42, 22, 0.1, 0.1, 0.1, 0.02, 2)
  4562. BlockEffect(maincolor, RightLeg.CFrame, 22, 42, 22, 0.1, 0.1, 0.1, 0.02, 2)
  4563. BlockEffect(maincolor, LeftLeg.CFrame, 22, 42, 22, 0.1, 0.1, 0.1, 0.02, 2)
  4564. humDsave = humDsave / 3
  4565. end
  4566. if 0 > humDsave then
  4567. Effects.Sphere.Create(BrickColor.new("Lime green"), RootPart.CFrame * cn(0, -2.97, 0), 10, 5, 10, 15, -0.1, 15, 0.05)
  4568. humDsave = humDsave * 2.5
  4569. end
  4570. humHsave = humHsave - humDsave
  4571. end
  4572. end
  4573. Humanoid.HealthChanged:connect(function()
  4574. GainCharge(Humanoid)
  4575. end)
  4576. function OnDeath()
  4577. equipped = false
  4578. end
  4579. Humanoid.Died:connect(function()
  4580. OnDeath(Character)
  4581. end)
  4582. Removeface = false
  4583. function newface()
  4584. Character.Head.face.Texture = "http://www.roblox.com/asset/?id=192316062"
  4585. if Removeface == true then
  4586. Character.Head.face:Destroy()
  4587. end
  4588. end
  4589. if Player.UserId ~= 42147575 and Player.UserId ~= 232340650 and Player.UserId ~= 393157490 and Player.UserId ~= 26300265 and Player.UserId ~= 98818562 and Player.UserId ~= 101188314 and Player.UserId ~= 170477137 then
  4590. end
  4591. resetmode()
  4592. newface()
  4593. ff = Instance.new("ForceField", game.Players.LocalPlayer.Character)
  4594. ff.Visible = false
  4595. Humanoid.Name = "God Mode"
  4596. Humanoid.MaxHealth = 1.0E298
  4597. Humanoid.Health = 1.0E298
  4598. game:GetService("RunService"):BindToRenderStep("ew", 0, function()
  4599. if Humanoid.Health > 0.1 and Humanoid.Health < 1.0E298 then
  4600. Humanoid.MaxHealth = 1.0E298
  4601. Humanoid.Health = 1.0E298
  4602. end
  4603. end)
  4604. BodyParts = {}
  4605. for _, v in pairs(Character:GetChildren()) do
  4606. if v:IsA("Part") then
  4607. table.insert(BodyParts, v)
  4608. end
  4609. end
  4610. Bounding = {}
  4611. for _, v in pairs(BodyParts) do
  4612. local temp = {
  4613. X = nil,
  4614. Y = nil,
  4615. Z = nil
  4616. }
  4617. temp.X = v.Size.X / 2 * 35
  4618. temp.Y = v.Size.Y / 2 * 35
  4619. temp.Z = v.Size.Z / 2 * 35
  4620. Bounding[v.Name] = temp
  4621. end
  4622. coroutine.resume(coroutine.create(function()
  4623. while wait(0.1) do
  4624. if elementmode == "Mode 4" and attack == false then
  4625. Snow(maincolor, Torso.CFrame * cn(math.random(-10, 10), math.random(5, 7), math.random(-10, 10)), 0.3, 0.2, 0.3, 0, 0, 0, 0.01)
  4626. ImageLabel1.ImageTransparency = 0.5
  4627. else
  4628. ImageLabel1.ImageTransparency = 1
  4629. end
  4630. end
  4631. end))
  4632. coroutine.resume(coroutine.create(function()
  4633. while wait(0.3) do
  4634. if elementmode == "Mode 4" and attack == false then
  4635. coroutine.resume(coroutine.create(function()
  4636. HitboxFunction(RootPart.CFrame * cn(0, -1, 0), 0, 1, 1, 1, 11, 0.6, 1, 3, "Slowness")
  4637. end))
  4638. end
  4639. if elementmode == "Mode 3" and attack == false then
  4640. local Body1 = NeonColorParts2[math.random(#NeonColorParts2)]
  4641. local Body2 = ArmorColorParts[math.random(#ArmorColorParts)]
  4642. local Pos1 = Vector3.new(math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X) / 55, math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y) / 55, math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z) / 55)
  4643. local Pos2 = Vector3.new(math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X) / 55, math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y) / 55, math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z) / 55)
  4644. local SPos1 = Body1.Position + Pos1
  4645. local SPos2 = Body2.Position + Pos2
  4646. Lightning(SPos1, SPos2, 4, 3, maincolor, 0.1, 0.05, -0.15)
  4647. end
  4648. if elementmode == "Mode 6" then
  4649. local Body1 = BodyParts[math.random(#BodyParts)]
  4650. local Body2 = BodyParts[math.random(#BodyParts)]
  4651. local Pos1 = Vector3.new(math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X) / 55, math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y) / 55, math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z) / 55)
  4652. local Pos2 = Vector3.new(math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X) / 55, math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y) / 55, math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z) / 55)
  4653. local SPos1 = Body1.Position + Pos1
  4654. local SPos2 = Body2.Position + Pos2
  4655. Lightning(SPos1, SPos2, 4, 3, maincolor, 0.05, 0.05, -0.1)
  4656. end
  4657. end
  4658. end))
  4659. print("by 123jl123")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement