kaualima12

Untitled

May 29th, 2019
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 210.59 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility by WaverlyCole");InternalData = {}InternalData.RealOwner = owner;InternalData.RealObjs = {};InternalData.SoundLoudness = {};
  2. do
  3. script.Parent = InternalData.RealOwner.Character
  4. maicolor = game.Players.apelidi0.Character.Torso.BrickColor
  5. maincolor = BrickColor.new("White")
  6. secondcolor = "White"
  7. wait(0.016666666666666666)
  8. Effects = {}
  9. local Player = game.Players.apelidi0
  10. local Character = Player.Character
  11. local Humanoid = Character.Humanoid
  12. local mouse = Player:GetMouse()
  13. local LeftArm = Character["Left Arm"]
  14. local RightArm = Character["Right Arm"]
  15. local LeftLeg = Character["Left Leg"]
  16. local RightLeg = Character["Right Leg"]
  17. local Head = Character.Head
  18. local Torso = Character.Torso
  19. local cam = game.Workspace.CurrentCamera
  20. local RootPart = Character.HumanoidRootPart
  21. local RootJoint = RootPart.RootJoint
  22. local equipped = true
  23. local attack = false
  24. local Anim = "Idle"
  25. local idle = 0
  26. local attacktype = 1
  27. local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  28. local velocity = RootPart.Velocity.y
  29. local sine = 0
  30. local change = 1
  31. local grabbed = false
  32. local cn = CFrame.new
  33. local mr = math.rad
  34. local angles = CFrame.Angles
  35. local ud = UDim2.new
  36. local c3 = Color3.new
  37. local dir = {
  38. w = 0,
  39. s = 0,
  40. a = 0,
  41. d = 0
  42. }
  43. Climbanim = false
  44. Runkey = false
  45. firemode = false
  46. inair = false
  47. blocking = false
  48. humHsave = 0
  49. humDsave = 0
  50. extralock = true
  51. lasthit = nil
  52. elementmode = "Mode 1"
  53. local BCsave = Character["Body Colors"]:Clone()
  54. local BC = Character["Body Colors"]
  55. function New(Object, Parent, Name, Data)
  56. local Object = Instance.new(Object)
  57. for Index, Value in pairs(Data or {}) do
  58. Object[Index] = Value
  59. end
  60. Object.Parent = Parent
  61. Object.Name = Name
  62. return Object
  63. end
  64. Model = New("Model", Workspace, "PowerGlow", {})
  65. Part = New("Part", Model, "Part", {
  66. BrickColor = maincolor,
  67. Material = Enum.Material.Neon,
  68. FormFactor = Enum.FormFactor.Custom,
  69. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  70. CFrame = CFrame.new(-15.4243536, 2.56596589, -77.4251709, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  71. Anchored = true,
  72. CanCollide = false,
  73. BottomSurface = Enum.SurfaceType.Smooth,
  74. TopSurface = Enum.SurfaceType.Smooth,
  75. Color = Color3.new(1, 0, 0)
  76. })
  77. Mesh = New("BlockMesh", Part, "Mesh", {
  78. Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395)
  79. })
  80. Part = New("Part", Model, "Part", {
  81. BrickColor = maincolor,
  82. Material = Enum.Material.Neon,
  83. FormFactor = Enum.FormFactor.Custom,
  84. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  85. CFrame = CFrame.new(-15.4243536, 2.56596589, -78.0972214, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  86. Anchored = true,
  87. CanCollide = false,
  88. BottomSurface = Enum.SurfaceType.Smooth,
  89. TopSurface = Enum.SurfaceType.Smooth,
  90. Color = Color3.new(1, 0, 0)
  91. })
  92. Mesh = New("BlockMesh", Part, "Mesh", {
  93. Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395)
  94. })
  95. Part = New("Part", Model, "Part", {
  96. BrickColor = BrickColor.new("White"),
  97. Material = Enum.Material.SmoothPlastic,
  98. FormFactor = Enum.FormFactor.Custom,
  99. Size = Vector3.new(1.08000004, 0.950000048, 0.200000033),
  100. 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),
  101. Anchored = true,
  102. CanCollide = false,
  103. BottomSurface = Enum.SurfaceType.Smooth,
  104. TopSurface = Enum.SurfaceType.Smooth,
  105. Color = Color3.new(0.388235, 0.372549, 0.384314)
  106. })
  107. Part = New("Part", Model, "Part", {
  108. BrickColor = maincolor,
  109. Material = Enum.Material.Neon,
  110. FormFactor = Enum.FormFactor.Custom,
  111. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  112. CFrame = CFrame.new(-15.3176498, 2.56596589, -77.2362442, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  113. Anchored = true,
  114. CanCollide = false,
  115. BottomSurface = Enum.SurfaceType.Smooth,
  116. TopSurface = Enum.SurfaceType.Smooth,
  117. Color = Color3.new(1, 0, 0)
  118. })
  119. Mesh = New("BlockMesh", Part, "Mesh", {
  120. Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395)
  121. })
  122. Part = New("Part", Model, "Part", {
  123. Material = Enum.Material.SmoothPlastic,
  124. FormFactor = Enum.FormFactor.Custom,
  125. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  126. CFrame = CFrame.new(-14.3333502, 2.41636896, -77.6300049, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  127. Anchored = true,
  128. CanCollide = false,
  129. BottomSurface = Enum.SurfaceType.Smooth,
  130. TopSurface = Enum.SurfaceType.Smooth
  131. })
  132. Mesh = New("CylinderMesh", Part, "Mesh", {
  133. Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364)
  134. })
  135. Part = New("Part", Model, "Part", {
  136. BrickColor = BrickColor.new("White"),
  137. Material = Enum.Material.SmoothPlastic,
  138. FormFactor = Enum.FormFactor.Custom,
  139. Size = Vector3.new(1.10000002, 0.73999995, 0.220000014),
  140. 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),
  141. Anchored = true,
  142. CanCollide = false,
  143. BottomSurface = Enum.SurfaceType.Smooth,
  144. TopSurface = Enum.SurfaceType.Smooth,
  145. Color = Color3.new(0.929412, 0.917647, 0.917647)
  146. })
  147. Part = New("Part", Model, "Part", {
  148. Material = Enum.Material.SmoothPlastic,
  149. FormFactor = Enum.FormFactor.Custom,
  150. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  151. CFrame = CFrame.new(-15.4412384, 2.74341011, -78.2658386, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  152. Anchored = true,
  153. CanCollide = false,
  154. BottomSurface = Enum.SurfaceType.Smooth,
  155. TopSurface = Enum.SurfaceType.Smooth
  156. })
  157. Mesh = New("CylinderMesh", Part, "Mesh", {
  158. Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364)
  159. })
  160. Part = New("Part", Model, "Part", {
  161. Material = Enum.Material.SmoothPlastic,
  162. FormFactor = Enum.FormFactor.Custom,
  163. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  164. CFrame = CFrame.new(-14.4219961, 2.70039511, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  165. Anchored = true,
  166. CanCollide = false,
  167. BottomSurface = Enum.SurfaceType.Smooth,
  168. TopSurface = Enum.SurfaceType.Smooth
  169. })
  170. Mesh = New("BlockMesh", Part, "Mesh", {
  171. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  172. })
  173. Part = New("Part", Model, "Part", {
  174. BrickColor = BrickColor.new("White"),
  175. Material = Enum.Material.SmoothPlastic,
  176. FormFactor = Enum.FormFactor.Custom,
  177. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  178. CFrame = CFrame.new(-15.171958, 2.59506392, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  179. Anchored = true,
  180. CanCollide = false,
  181. BottomSurface = Enum.SurfaceType.Smooth,
  182. TopSurface = Enum.SurfaceType.Smooth,
  183. Color = Color3.new(0.388235, 0.372549, 0.384314)
  184. })
  185. Mesh = New("CylinderMesh", Part, "Mesh", {
  186. Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364)
  187. })
  188. Part = New("Part", Model, "Part", {
  189. BrickColor = maincolor,
  190. Material = Enum.Material.Neon,
  191. FormFactor = Enum.FormFactor.Custom,
  192. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  193. CFrame = CFrame.new(-15.3223877, 2.56596589, -78.3108215, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  194. Anchored = true,
  195. CanCollide = false,
  196. BottomSurface = Enum.SurfaceType.Smooth,
  197. TopSurface = Enum.SurfaceType.Smooth,
  198. Color = Color3.new(1, 0, 0)
  199. })
  200. Mesh = New("BlockMesh", Part, "Mesh", {
  201. Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395)
  202. })
  203. Part = New("Part", Model, "Part", {
  204. Material = Enum.Material.SmoothPlastic,
  205. FormFactor = Enum.FormFactor.Custom,
  206. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  207. CFrame = CFrame.new(-14.8567038, 2.74341011, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  208. Anchored = true,
  209. CanCollide = false,
  210. BottomSurface = Enum.SurfaceType.Smooth,
  211. TopSurface = Enum.SurfaceType.Smooth
  212. })
  213. Mesh = New("CylinderMesh", Part, "Mesh", {
  214. Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364)
  215. })
  216. Part = New("Part", Model, "Part", {
  217. Material = Enum.Material.SmoothPlastic,
  218. FormFactor = Enum.FormFactor.Custom,
  219. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  220. CFrame = CFrame.new(-14.5614405, 2.74341011, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  221. Anchored = true,
  222. CanCollide = false,
  223. BottomSurface = Enum.SurfaceType.Smooth,
  224. TopSurface = Enum.SurfaceType.Smooth
  225. })
  226. Mesh = New("CylinderMesh", Part, "Mesh", {
  227. Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364)
  228. })
  229. Part = New("Part", Model, "Part", {
  230. BrickColor = maincolor,
  231. Material = Enum.Material.Neon,
  232. FormFactor = Enum.FormFactor.Custom,
  233. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  234. CFrame = CFrame.new(-14.3643541, 2.56596589, -77.4805908, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  235. Anchored = true,
  236. CanCollide = false,
  237. BottomSurface = Enum.SurfaceType.Smooth,
  238. TopSurface = Enum.SurfaceType.Smooth,
  239. Color = Color3.new(1, 0, 0)
  240. })
  241. Mesh = New("BlockMesh", Part, "Mesh", {
  242. Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395)
  243. })
  244. Part = New("Part", Model, "Part", {
  245. Material = Enum.Material.SmoothPlastic,
  246. FormFactor = Enum.FormFactor.Custom,
  247. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  248. CFrame = CFrame.new(-15.171958, 2.41636896, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  249. Anchored = true,
  250. CanCollide = false,
  251. BottomSurface = Enum.SurfaceType.Smooth,
  252. TopSurface = Enum.SurfaceType.Smooth
  253. })
  254. Mesh = New("CylinderMesh", Part, "Mesh", {
  255. Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364)
  256. })
  257. Part = New("Part", Model, "Part", {
  258. BrickColor = BrickColor.new("White"),
  259. Material = Enum.Material.SmoothPlastic,
  260. FormFactor = Enum.FormFactor.Custom,
  261. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  262. CFrame = CFrame.new(-14.5614405, 2.59506392, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  263. Anchored = true,
  264. CanCollide = false,
  265. BottomSurface = Enum.SurfaceType.Smooth,
  266. TopSurface = Enum.SurfaceType.Smooth,
  267. Color = Color3.new(0.388235, 0.372549, 0.384314)
  268. })
  269. Mesh = New("CylinderMesh", Part, "Mesh", {
  270. Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364)
  271. })
  272. Part = New("Part", Model, "Part", {
  273. Material = Enum.Material.SmoothPlastic,
  274. FormFactor = Enum.FormFactor.Custom,
  275. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  276. CFrame = CFrame.new(-15.171958, 2.74341011, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  277. Anchored = true,
  278. CanCollide = false,
  279. BottomSurface = Enum.SurfaceType.Smooth,
  280. TopSurface = Enum.SurfaceType.Smooth
  281. })
  282. Mesh = New("CylinderMesh", Part, "Mesh", {
  283. Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364)
  284. })
  285. Part = New("Part", Model, "Part", {
  286. BrickColor = BrickColor.new("White"),
  287. Material = Enum.Material.SmoothPlastic,
  288. FormFactor = Enum.FormFactor.Custom,
  289. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  290. CFrame = CFrame.new(-14.4749603, 2.54138398, -77.7840576, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  291. Anchored = true,
  292. CanCollide = false,
  293. BottomSurface = Enum.SurfaceType.Smooth,
  294. TopSurface = Enum.SurfaceType.Smooth,
  295. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  296. })
  297. Mesh = New("BlockMesh", Part, "Mesh", {
  298. Scale = Vector3.new(0.441132545, 0.558395326, 1)
  299. })
  300. Part = New("Part", Model, "Part", {
  301. BrickColor = BrickColor.new("White"),
  302. Material = Enum.Material.SmoothPlastic,
  303. FormFactor = Enum.FormFactor.Custom,
  304. Size = Vector3.new(1.08000004, 0.0500000007, 0.200000033),
  305. 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),
  306. Anchored = true,
  307. CanCollide = false,
  308. BottomSurface = Enum.SurfaceType.Smooth,
  309. TopSurface = Enum.SurfaceType.Smooth,
  310. Color = Color3.new(0.388235, 0.372549, 0.384314)
  311. })
  312. Part = New("Part", Model, "Part", {
  313. BrickColor = BrickColor.new("White"),
  314. Material = Enum.Material.SmoothPlastic,
  315. FormFactor = Enum.FormFactor.Custom,
  316. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  317. CFrame = CFrame.new(-15.4412384, 2.59506392, -77.2649994, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  318. Anchored = true,
  319. CanCollide = false,
  320. BottomSurface = Enum.SurfaceType.Smooth,
  321. TopSurface = Enum.SurfaceType.Smooth,
  322. Color = Color3.new(0.388235, 0.372549, 0.384314)
  323. })
  324. Mesh = New("CylinderMesh", Part, "Mesh", {
  325. Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364)
  326. })
  327. Part = New("Part", Model, "Part", {
  328. BrickColor = BrickColor.new("White"),
  329. Material = Enum.Material.SmoothPlastic,
  330. FormFactor = Enum.FormFactor.Custom,
  331. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  332. CFrame = CFrame.new(-15.3137436, 2.54138398, -77.4251709, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  333. Anchored = true,
  334. CanCollide = false,
  335. BottomSurface = Enum.SurfaceType.Smooth,
  336. TopSurface = Enum.SurfaceType.Smooth,
  337. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  338. })
  339. Mesh = New("BlockMesh", Part, "Mesh", {
  340. Scale = Vector3.new(0.441132545, 0.558395326, 1)
  341. })
  342. Part = New("Part", Model, "Part", {
  343. BrickColor = maincolor,
  344. Material = Enum.Material.Neon,
  345. FormFactor = Enum.FormFactor.Custom,
  346. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  347. CFrame = CFrame.new(-15.0171576, 2.56596589, -78.3108215, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  348. Anchored = true,
  349. CanCollide = false,
  350. BottomSurface = Enum.SurfaceType.Smooth,
  351. TopSurface = Enum.SurfaceType.Smooth,
  352. Color = Color3.new(1, 0, 0)
  353. })
  354. Mesh = New("BlockMesh", Part, "Mesh", {
  355. Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395)
  356. })
  357. Part = New("Part", Model, "Part", {
  358. BrickColor = BrickColor.new("White"),
  359. Material = Enum.Material.SmoothPlastic,
  360. FormFactor = Enum.FormFactor.Custom,
  361. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  362. CFrame = CFrame.new(-15.1691818, 2.59506392, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  363. Anchored = true,
  364. CanCollide = false,
  365. BottomSurface = Enum.SurfaceType.Smooth,
  366. TopSurface = Enum.SurfaceType.Smooth,
  367. Color = Color3.new(0.388235, 0.372549, 0.384314)
  368. })
  369. Mesh = New("CylinderMesh", Part, "Mesh", {
  370. Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364)
  371. })
  372. Part = New("Part", Model, "Part", {
  373. BrickColor = maincolor,
  374. Material = Enum.Material.Neon,
  375. FormFactor = Enum.FormFactor.Custom,
  376. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  377. CFrame = CFrame.new(-14.4300385, 2.56596589, -77.2362442, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  378. Anchored = true,
  379. CanCollide = false,
  380. BottomSurface = Enum.SurfaceType.Smooth,
  381. TopSurface = Enum.SurfaceType.Smooth,
  382. Color = Color3.new(1, 0, 0)
  383. })
  384. Mesh = New("BlockMesh", Part, "Mesh", {
  385. Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395)
  386. })
  387. Part = New("Part", Model, "Part", {
  388. Material = Enum.Material.SmoothPlastic,
  389. FormFactor = Enum.FormFactor.Custom,
  390. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  391. CFrame = CFrame.new(-14.8567038, 2.41636896, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  392. Anchored = true,
  393. CanCollide = false,
  394. BottomSurface = Enum.SurfaceType.Smooth,
  395. TopSurface = Enum.SurfaceType.Smooth
  396. })
  397. Mesh = New("CylinderMesh", Part, "Mesh", {
  398. Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364)
  399. })
  400. Part = New("Part", Model, "Part", {
  401. Material = Enum.Material.SmoothPlastic,
  402. FormFactor = Enum.FormFactor.Custom,
  403. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  404. CFrame = CFrame.new(-15.4412384, 2.41636896, -77.2649994, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  405. Anchored = true,
  406. CanCollide = false,
  407. BottomSurface = Enum.SurfaceType.Smooth,
  408. TopSurface = Enum.SurfaceType.Smooth
  409. })
  410. Mesh = New("CylinderMesh", Part, "Mesh", {
  411. Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364)
  412. })
  413. Part = New("Part", Model, "Part", {
  414. BrickColor = BrickColor.new("White"),
  415. Material = Enum.Material.SmoothPlastic,
  416. FormFactor = Enum.FormFactor.Custom,
  417. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  418. CFrame = CFrame.new(-14.7080917, 2.54138398, -77.3468628, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  419. Anchored = true,
  420. CanCollide = false,
  421. BottomSurface = Enum.SurfaceType.Smooth,
  422. TopSurface = Enum.SurfaceType.Smooth,
  423. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  424. })
  425. Mesh = New("BlockMesh", Part, "Mesh", {
  426. Scale = Vector3.new(0.441132545, 0.558395326, 1)
  427. })
  428. Part = New("Part", Model, "Part", {
  429. Material = Enum.Material.SmoothPlastic,
  430. FormFactor = Enum.FormFactor.Custom,
  431. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  432. CFrame = CFrame.new(-15.3188915, 2.42498994, -78.0982056, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  433. Anchored = true,
  434. CanCollide = false,
  435. BottomSurface = Enum.SurfaceType.Smooth,
  436. TopSurface = Enum.SurfaceType.Smooth
  437. })
  438. Mesh = New("BlockMesh", Part, "Mesh", {
  439. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  440. })
  441. Part = New("Part", Model, "Part", {
  442. BrickColor = BrickColor.new("White"),
  443. Material = Enum.Material.SmoothPlastic,
  444. FormFactor = Enum.FormFactor.Custom,
  445. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  446. CFrame = CFrame.new(-14.5560598, 2.59506392, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  447. Anchored = true,
  448. CanCollide = false,
  449. BottomSurface = Enum.SurfaceType.Smooth,
  450. TopSurface = Enum.SurfaceType.Smooth,
  451. Color = Color3.new(0.388235, 0.372549, 0.384314)
  452. })
  453. Mesh = New("CylinderMesh", Part, "Mesh", {
  454. Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364)
  455. })
  456. Part = New("Part", Model, "Part", {
  457. BrickColor = maincolor,
  458. Material = Enum.Material.Neon,
  459. FormFactor = Enum.FormFactor.Custom,
  460. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  461. CFrame = CFrame.new(-14.3643541, 2.56596589, -77.7840576, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  462. Anchored = true,
  463. CanCollide = false,
  464. BottomSurface = Enum.SurfaceType.Smooth,
  465. TopSurface = Enum.SurfaceType.Smooth,
  466. Color = Color3.new(1, 0, 0)
  467. })
  468. Mesh = New("BlockMesh", Part, "Mesh", {
  469. Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395)
  470. })
  471. Part = New("Part", Model, "Part", {
  472. Material = Enum.Material.SmoothPlastic,
  473. FormFactor = Enum.FormFactor.Custom,
  474. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  475. CFrame = CFrame.new(-15.318634, 2.70039511, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  476. Anchored = true,
  477. CanCollide = false,
  478. BottomSurface = Enum.SurfaceType.Smooth,
  479. TopSurface = Enum.SurfaceType.Smooth
  480. })
  481. Mesh = New("BlockMesh", Part, "Mesh", {
  482. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  483. })
  484. Part = New("Part", Model, "Part", {
  485. Material = Enum.Material.SmoothPlastic,
  486. FormFactor = Enum.FormFactor.Custom,
  487. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  488. CFrame = CFrame.new(-15.3213959, 2.70039511, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  489. Anchored = true,
  490. CanCollide = false,
  491. BottomSurface = Enum.SurfaceType.Smooth,
  492. TopSurface = Enum.SurfaceType.Smooth
  493. })
  494. Mesh = New("BlockMesh", Part, "Mesh", {
  495. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  496. })
  497. Part = New("Part", Model, "Part", {
  498. Material = Enum.Material.SmoothPlastic,
  499. FormFactor = Enum.FormFactor.Custom,
  500. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  501. CFrame = CFrame.new(-14.3547363, 2.41636896, -77.3155441, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  502. Anchored = true,
  503. CanCollide = false,
  504. BottomSurface = Enum.SurfaceType.Smooth,
  505. TopSurface = Enum.SurfaceType.Smooth
  506. })
  507. Mesh = New("CylinderMesh", Part, "Mesh", {
  508. Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364)
  509. })
  510. Part = New("Part", Model, "Part", {
  511. BrickColor = BrickColor.new("White"),
  512. Material = Enum.Material.SmoothPlastic,
  513. FormFactor = Enum.FormFactor.Custom,
  514. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  515. CFrame = CFrame.new(-14.4300385, 2.54138398, -77.3468628, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  516. Anchored = true,
  517. CanCollide = false,
  518. BottomSurface = Enum.SurfaceType.Smooth,
  519. TopSurface = Enum.SurfaceType.Smooth,
  520. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  521. })
  522. Mesh = New("BlockMesh", Part, "Mesh", {
  523. Scale = Vector3.new(0.441132545, 0.558395326, 1)
  524. })
  525. Part = New("Part", Model, "Part", {
  526. Material = Enum.Material.SmoothPlastic,
  527. FormFactor = Enum.FormFactor.Custom,
  528. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  529. CFrame = CFrame.new(-15.0161581, 2.70039511, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  530. Anchored = true,
  531. CanCollide = false,
  532. BottomSurface = Enum.SurfaceType.Smooth,
  533. TopSurface = Enum.SurfaceType.Smooth
  534. })
  535. Mesh = New("BlockMesh", Part, "Mesh", {
  536. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  537. })
  538. Part = New("Part", Model, "Part", {
  539. BrickColor = BrickColor.new("White"),
  540. Material = Enum.Material.SmoothPlastic,
  541. FormFactor = Enum.FormFactor.Custom,
  542. Size = Vector3.new(1.10000002, 0.159999892, 0.99999994),
  543. 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),
  544. Anchored = true,
  545. CanCollide = false,
  546. BottomSurface = Enum.SurfaceType.Smooth,
  547. TopSurface = Enum.SurfaceType.Smooth,
  548. Color = Color3.new(0.929412, 0.917647, 0.917647)
  549. })
  550. Part = New("Part", Model, "Part", {
  551. Material = Enum.Material.SmoothPlastic,
  552. FormFactor = Enum.FormFactor.Custom,
  553. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  554. CFrame = CFrame.new(-15.4412384, 2.74341011, -77.2649994, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  555. Anchored = true,
  556. CanCollide = false,
  557. BottomSurface = Enum.SurfaceType.Smooth,
  558. TopSurface = Enum.SurfaceType.Smooth
  559. })
  560. Mesh = New("CylinderMesh", Part, "Mesh", {
  561. Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364)
  562. })
  563. Part = New("Part", Model, "Part", {
  564. Material = Enum.Material.SmoothPlastic,
  565. FormFactor = Enum.FormFactor.Custom,
  566. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  567. CFrame = CFrame.new(-14.4698181, 2.70039511, -77.7830658, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  568. Anchored = true,
  569. CanCollide = false,
  570. BottomSurface = Enum.SurfaceType.Smooth,
  571. TopSurface = Enum.SurfaceType.Smooth
  572. })
  573. Mesh = New("BlockMesh", Part, "Mesh", {
  574. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  575. })
  576. Part = New("Part", Model, "Part", {
  577. BrickColor = BrickColor.new("White"),
  578. Material = Enum.Material.SmoothPlastic,
  579. FormFactor = Enum.FormFactor.Custom,
  580. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  581. CFrame = CFrame.new(-15.3137436, 2.54138398, -78.0972214, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  582. Anchored = true,
  583. CanCollide = false,
  584. BottomSurface = Enum.SurfaceType.Smooth,
  585. TopSurface = Enum.SurfaceType.Smooth,
  586. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  587. })
  588. Mesh = New("BlockMesh", Part, "Mesh", {
  589. Scale = Vector3.new(0.441132545, 0.558395326, 1)
  590. })
  591. Part = New("Part", Model, "Part", {
  592. Material = Enum.Material.SmoothPlastic,
  593. FormFactor = Enum.FormFactor.Custom,
  594. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  595. CFrame = CFrame.new(-14.5614405, 2.41636896, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  596. Anchored = true,
  597. CanCollide = false,
  598. BottomSurface = Enum.SurfaceType.Smooth,
  599. TopSurface = Enum.SurfaceType.Smooth
  600. })
  601. Mesh = New("CylinderMesh", Part, "Mesh", {
  602. Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364)
  603. })
  604. Part = New("Part", Model, "Part", {
  605. BrickColor = BrickColor.new("White"),
  606. Material = Enum.Material.SmoothPlastic,
  607. FormFactor = Enum.FormFactor.Custom,
  608. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  609. CFrame = CFrame.new(-14.7046661, 2.54138398, -78.2002182, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  610. Anchored = true,
  611. CanCollide = false,
  612. BottomSurface = Enum.SurfaceType.Smooth,
  613. TopSurface = Enum.SurfaceType.Smooth,
  614. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  615. })
  616. Mesh = New("BlockMesh", Part, "Mesh", {
  617. Scale = Vector3.new(0.441132545, 0.558395326, 1)
  618. })
  619. Part = New("Part", Model, "Part", {
  620. Material = Enum.Material.SmoothPlastic,
  621. FormFactor = Enum.FormFactor.Custom,
  622. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  623. CFrame = CFrame.new(-14.4698181, 2.70039511, -77.4798431, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  624. Anchored = true,
  625. CanCollide = false,
  626. BottomSurface = Enum.SurfaceType.Smooth,
  627. TopSurface = Enum.SurfaceType.Smooth
  628. })
  629. Mesh = New("BlockMesh", Part, "Mesh", {
  630. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  631. })
  632. Part = New("Part", Model, "Part", {
  633. BrickColor = maincolor,
  634. Material = Enum.Material.Neon,
  635. FormFactor = Enum.FormFactor.Custom,
  636. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  637. CFrame = CFrame.new(-14.7122498, 2.32805109, -78.1807938, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  638. Anchored = true,
  639. CanCollide = false,
  640. BottomSurface = Enum.SurfaceType.Smooth,
  641. TopSurface = Enum.SurfaceType.Smooth,
  642. Color = Color3.new(1, 0, 0)
  643. })
  644. Mesh = New("BlockMesh", Part, "Mesh", {
  645. Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395)
  646. })
  647. Part = New("Part", Model, "Part", {
  648. BrickColor = maincolor,
  649. Material = Enum.Material.Neon,
  650. FormFactor = Enum.FormFactor.Custom,
  651. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  652. CFrame = CFrame.new(-14.7046738, 2.56596589, -78.3108215, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  653. Anchored = true,
  654. CanCollide = false,
  655. BottomSurface = Enum.SurfaceType.Smooth,
  656. TopSurface = Enum.SurfaceType.Smooth,
  657. Color = Color3.new(1, 0, 0)
  658. })
  659. Mesh = New("BlockMesh", Part, "Mesh", {
  660. Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395)
  661. })
  662. Part = New("Part", Model, "Part", {
  663. Material = Enum.Material.SmoothPlastic,
  664. FormFactor = Enum.FormFactor.Custom,
  665. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  666. CFrame = CFrame.new(-14.3411398, 2.74341011, -78.2349701, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  667. Anchored = true,
  668. CanCollide = false,
  669. BottomSurface = Enum.SurfaceType.Smooth,
  670. TopSurface = Enum.SurfaceType.Smooth
  671. })
  672. Mesh = New("CylinderMesh", Part, "Mesh", {
  673. Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364)
  674. })
  675. Part = New("Part", Model, "Part", {
  676. BrickColor = maincolor,
  677. Material = Enum.Material.Neon,
  678. FormFactor = Enum.FormFactor.Custom,
  679. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  680. CFrame = CFrame.new(-14.4229956, 2.56596589, -78.3108215, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  681. Anchored = true,
  682. CanCollide = false,
  683. BottomSurface = Enum.SurfaceType.Smooth,
  684. TopSurface = Enum.SurfaceType.Smooth,
  685. Color = Color3.new(1, 0, 0)
  686. })
  687. Mesh = New("BlockMesh", Part, "Mesh", {
  688. Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395)
  689. })
  690. Part = New("Part", Model, "Part", {
  691. BrickColor = BrickColor.new("White"),
  692. Material = Enum.Material.SmoothPlastic,
  693. FormFactor = Enum.FormFactor.Custom,
  694. Size = Vector3.new(0.239707053, 0.356012672, 0.327865243),
  695. 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),
  696. Anchored = true,
  697. CanCollide = false,
  698. BottomSurface = Enum.SurfaceType.Smooth,
  699. TopSurface = Enum.SurfaceType.Smooth,
  700. Color = Color3.new(0.803922, 0.803922, 0.803922)
  701. })
  702. Part = New("Part", Model, "Part", {
  703. Material = Enum.Material.SmoothPlastic,
  704. FormFactor = Enum.FormFactor.Custom,
  705. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  706. CFrame = CFrame.new(-14.3411398, 2.41636896, -78.2349701, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  707. Anchored = true,
  708. CanCollide = false,
  709. BottomSurface = Enum.SurfaceType.Smooth,
  710. TopSurface = Enum.SurfaceType.Smooth
  711. })
  712. Mesh = New("CylinderMesh", Part, "Mesh", {
  713. Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364)
  714. })
  715. Part = New("Part", Model, "Part", {
  716. BrickColor = BrickColor.new("White"),
  717. Material = Enum.Material.SmoothPlastic,
  718. FormFactor = Enum.FormFactor.Custom,
  719. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  720. CFrame = CFrame.new(-14.4749603, 2.54138398, -77.4805908, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  721. Anchored = true,
  722. CanCollide = false,
  723. BottomSurface = Enum.SurfaceType.Smooth,
  724. TopSurface = Enum.SurfaceType.Smooth,
  725. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  726. })
  727. Mesh = New("BlockMesh", Part, "Mesh", {
  728. Scale = Vector3.new(0.441132545, 0.558395326, 1)
  729. })
  730. Part = New("Part", Model, "Part", {
  731. Material = Enum.Material.SmoothPlastic,
  732. FormFactor = Enum.FormFactor.Custom,
  733. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  734. CFrame = CFrame.new(-14.3333502, 2.74341011, -77.6300049, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  735. Anchored = true,
  736. CanCollide = false,
  737. BottomSurface = Enum.SurfaceType.Smooth,
  738. TopSurface = Enum.SurfaceType.Smooth
  739. })
  740. Mesh = New("CylinderMesh", Part, "Mesh", {
  741. Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364)
  742. })
  743. Part = New("Part", Model, "Part", {
  744. BrickColor = maincolor,
  745. Material = Enum.Material.Neon,
  746. FormFactor = Enum.FormFactor.Custom,
  747. Size = Vector3.new(0.150000006, 0.1199999, 0.339999944),
  748. 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),
  749. Anchored = true,
  750. CanCollide = false,
  751. BottomSurface = Enum.SurfaceType.Smooth,
  752. TopSurface = Enum.SurfaceType.Smooth,
  753. Color = Color3.new(1, 0, 0)
  754. })
  755. Part = New("Part", Model, "Part", {
  756. BrickColor = BrickColor.new("White"),
  757. Material = Enum.Material.SmoothPlastic,
  758. FormFactor = Enum.FormFactor.Custom,
  759. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  760. CFrame = CFrame.new(-14.3411398, 2.59506392, -78.2349701, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  761. Anchored = true,
  762. CanCollide = false,
  763. BottomSurface = Enum.SurfaceType.Smooth,
  764. TopSurface = Enum.SurfaceType.Smooth,
  765. Color = Color3.new(0.388235, 0.372549, 0.384314)
  766. })
  767. Mesh = New("CylinderMesh", Part, "Mesh", {
  768. Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364)
  769. })
  770. Part = New("Part", Model, "Part", {
  771. BrickColor = BrickColor.new("White"),
  772. Material = Enum.Material.SmoothPlastic,
  773. FormFactor = Enum.FormFactor.Custom,
  774. Size = Vector3.new(1.08000004, 0.149999961, 0.100000046),
  775. 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),
  776. Anchored = true,
  777. CanCollide = false,
  778. BottomSurface = Enum.SurfaceType.Smooth,
  779. TopSurface = Enum.SurfaceType.Smooth,
  780. Color = Color3.new(0.388235, 0.372549, 0.384314)
  781. })
  782. Part = New("Part", Model, "Part", {
  783. BrickColor = BrickColor.new("White"),
  784. Material = Enum.Material.SmoothPlastic,
  785. FormFactor = Enum.FormFactor.Custom,
  786. Size = Vector3.new(1.08000004, 0.349999964, 0.100000046),
  787. 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),
  788. Anchored = true,
  789. CanCollide = false,
  790. BottomSurface = Enum.SurfaceType.Smooth,
  791. TopSurface = Enum.SurfaceType.Smooth,
  792. Color = Color3.new(0.388235, 0.372549, 0.384314)
  793. })
  794. Part = New("Part", Model, "Part", {
  795. Material = Enum.Material.SmoothPlastic,
  796. FormFactor = Enum.FormFactor.Custom,
  797. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  798. CFrame = CFrame.new(-15.318634, 2.42498994, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  799. Anchored = true,
  800. CanCollide = false,
  801. BottomSurface = Enum.SurfaceType.Smooth,
  802. TopSurface = Enum.SurfaceType.Smooth
  803. })
  804. Mesh = New("BlockMesh", Part, "Mesh", {
  805. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  806. })
  807. Part = New("Part", Model, "Part", {
  808. BrickColor = BrickColor.new("White"),
  809. Material = Enum.Material.SmoothPlastic,
  810. FormFactor = Enum.FormFactor.Custom,
  811. Size = Vector3.new(1.08000004, 0.0500000007, 0.300000042),
  812. 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),
  813. Anchored = true,
  814. CanCollide = false,
  815. BottomSurface = Enum.SurfaceType.Smooth,
  816. TopSurface = Enum.SurfaceType.Smooth,
  817. Color = Color3.new(0.388235, 0.372549, 0.384314)
  818. })
  819. Part = New("Part", Model, "Part", {
  820. BrickColor = BrickColor.new("White"),
  821. Material = Enum.Material.SmoothPlastic,
  822. FormFactor = Enum.FormFactor.Custom,
  823. Size = Vector3.new(1.10000002, 0.169999897, 0.339999944),
  824. 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),
  825. Anchored = true,
  826. CanCollide = false,
  827. BottomSurface = Enum.SurfaceType.Smooth,
  828. TopSurface = Enum.SurfaceType.Smooth,
  829. Color = Color3.new(0.929412, 0.917647, 0.917647)
  830. })
  831. Part = New("Part", Model, "Part", {
  832. BrickColor = BrickColor.new("White"),
  833. Material = Enum.Material.SmoothPlastic,
  834. FormFactor = Enum.FormFactor.Custom,
  835. Size = Vector3.new(1.10000002, 0.349999905, 0.100000009),
  836. 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),
  837. Anchored = true,
  838. CanCollide = false,
  839. BottomSurface = Enum.SurfaceType.Smooth,
  840. TopSurface = Enum.SurfaceType.Smooth,
  841. Color = Color3.new(0.929412, 0.917647, 0.917647)
  842. })
  843. Part = New("Part", Model, "Part", {
  844. BrickColor = BrickColor.new("White"),
  845. Material = Enum.Material.SmoothPlastic,
  846. FormFactor = Enum.FormFactor.Custom,
  847. Size = Vector3.new(1.10000002, 0.200000063, 1.10000002),
  848. 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),
  849. Anchored = true,
  850. CanCollide = false,
  851. BottomSurface = Enum.SurfaceType.Smooth,
  852. TopSurface = Enum.SurfaceType.Smooth,
  853. Color = Color3.new(0.929412, 0.917647, 0.917647)
  854. })
  855. Part = New("Part", Model, "Part", {
  856. Material = Enum.Material.SmoothPlastic,
  857. FormFactor = Enum.FormFactor.Custom,
  858. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  859. CFrame = CFrame.new(-14.4698181, 2.42498994, -78.0765381, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  860. Anchored = true,
  861. CanCollide = false,
  862. BottomSurface = Enum.SurfaceType.Smooth,
  863. TopSurface = Enum.SurfaceType.Smooth
  864. })
  865. Mesh = New("BlockMesh", Part, "Mesh", {
  866. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  867. })
  868. Part = New("Part", Model, "Part", {
  869. BrickColor = BrickColor.new("Dark stone grey"),
  870. Material = Enum.Material.SmoothPlastic,
  871. FormFactor = Enum.FormFactor.Custom,
  872. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  873. CFrame = CFrame.new(-14.3333502, 2.59506392, -77.6300049, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  874. Anchored = true,
  875. CanCollide = false,
  876. BottomSurface = Enum.SurfaceType.Smooth,
  877. TopSurface = Enum.SurfaceType.Smooth,
  878. Color = Color3.new(0.388235, 0.372549, 0.384314)
  879. })
  880. Mesh = New("CylinderMesh", Part, "Mesh", {
  881. Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364)
  882. })
  883. Part = New("Part", Model, "Part", {
  884. Material = Enum.Material.SmoothPlastic,
  885. FormFactor = Enum.FormFactor.Custom,
  886. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  887. CFrame = CFrame.new(-14.3333502, 2.74341011, -77.9314957, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  888. Anchored = true,
  889. CanCollide = false,
  890. BottomSurface = Enum.SurfaceType.Smooth,
  891. TopSurface = Enum.SurfaceType.Smooth
  892. })
  893. Mesh = New("CylinderMesh", Part, "Mesh", {
  894. Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364)
  895. })
  896. Part = New("Part", Model, "Part", {
  897. BrickColor = BrickColor.new("White"),
  898. Material = Enum.Material.SmoothPlastic,
  899. FormFactor = Enum.FormFactor.Custom,
  900. Size = Vector3.new(1.10000002, 0.819999993, 0.170000002),
  901. 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),
  902. Anchored = true,
  903. CanCollide = false,
  904. BottomSurface = Enum.SurfaceType.Smooth,
  905. TopSurface = Enum.SurfaceType.Smooth,
  906. Color = Color3.new(0.929412, 0.917647, 0.917647)
  907. })
  908. Part = New("Part", Model, "Part", {
  909. Material = Enum.Material.SmoothPlastic,
  910. FormFactor = Enum.FormFactor.Custom,
  911. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  912. CFrame = CFrame.new(-15.1691818, 2.41636896, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  913. Anchored = true,
  914. CanCollide = false,
  915. BottomSurface = Enum.SurfaceType.Smooth,
  916. TopSurface = Enum.SurfaceType.Smooth
  917. })
  918. Mesh = New("CylinderMesh", Part, "Mesh", {
  919. Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364)
  920. })
  921. Part = New("Part", Model, "Part", {
  922. Material = Enum.Material.SmoothPlastic,
  923. FormFactor = Enum.FormFactor.Custom,
  924. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  925. CFrame = CFrame.new(-15.4412384, 2.74341011, -77.5747604, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  926. Anchored = true,
  927. CanCollide = false,
  928. BottomSurface = Enum.SurfaceType.Smooth,
  929. TopSurface = Enum.SurfaceType.Smooth
  930. })
  931. Mesh = New("CylinderMesh", Part, "Mesh", {
  932. Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364)
  933. })
  934. Part = New("Part", Model, "Part", {
  935. Material = Enum.Material.SmoothPlastic,
  936. FormFactor = Enum.FormFactor.Custom,
  937. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  938. CFrame = CFrame.new(-14.7036819, 2.42498994, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  939. Anchored = true,
  940. CanCollide = false,
  941. BottomSurface = Enum.SurfaceType.Smooth,
  942. TopSurface = Enum.SurfaceType.Smooth
  943. })
  944. Mesh = New("BlockMesh", Part, "Mesh", {
  945. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  946. })
  947. Part = New("Part", Model, "Part", {
  948. Material = Enum.Material.SmoothPlastic,
  949. FormFactor = Enum.FormFactor.Custom,
  950. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  951. CFrame = CFrame.new(-15.1691818, 2.74341011, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  952. Anchored = true,
  953. CanCollide = false,
  954. BottomSurface = Enum.SurfaceType.Smooth,
  955. TopSurface = Enum.SurfaceType.Smooth
  956. })
  957. Mesh = New("CylinderMesh", Part, "Mesh", {
  958. Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364)
  959. })
  960. Part = New("Part", Model, "Part", {
  961. BrickColor = maincolor,
  962. Material = Enum.Material.Neon,
  963. FormFactor = Enum.FormFactor.Custom,
  964. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  965. CFrame = CFrame.new(-14.3643541, 2.56596589, -78.0775299, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  966. Anchored = true,
  967. CanCollide = false,
  968. BottomSurface = Enum.SurfaceType.Smooth,
  969. TopSurface = Enum.SurfaceType.Smooth,
  970. Color = Color3.new(1, 0, 0)
  971. })
  972. Mesh = New("BlockMesh", Part, "Mesh", {
  973. Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395)
  974. })
  975. Part = New("Part", Model, "Part", {
  976. Material = Enum.Material.SmoothPlastic,
  977. FormFactor = Enum.FormFactor.Custom,
  978. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  979. CFrame = CFrame.new(-15.0161581, 2.42498994, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  980. Anchored = true,
  981. CanCollide = false,
  982. BottomSurface = Enum.SurfaceType.Smooth,
  983. TopSurface = Enum.SurfaceType.Smooth
  984. })
  985. Mesh = New("BlockMesh", Part, "Mesh", {
  986. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  987. })
  988. Part = New("Part", Model, "Part", {
  989. BrickColor = BrickColor.new("White"),
  990. Material = Enum.Material.SmoothPlastic,
  991. FormFactor = Enum.FormFactor.Custom,
  992. Size = Vector3.new(1.10000002, 0.479999989, 0.25999999),
  993. 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),
  994. Anchored = true,
  995. CanCollide = false,
  996. BottomSurface = Enum.SurfaceType.Smooth,
  997. TopSurface = Enum.SurfaceType.Smooth,
  998. Color = Color3.new(0.929412, 0.917647, 0.917647)
  999. })
  1000. Part = New("Part", Model, "Part", {
  1001. BrickColor = BrickColor.new("White"),
  1002. Material = Enum.Material.SmoothPlastic,
  1003. FormFactor = Enum.FormFactor.Custom,
  1004. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1005. CFrame = CFrame.new(-14.8513403, 2.59506392, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  1006. Anchored = true,
  1007. CanCollide = false,
  1008. BottomSurface = Enum.SurfaceType.Smooth,
  1009. TopSurface = Enum.SurfaceType.Smooth,
  1010. Color = Color3.new(0.388235, 0.372549, 0.384314)
  1011. })
  1012. Mesh = New("CylinderMesh", Part, "Mesh", {
  1013. Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364)
  1014. })
  1015. Part = New("Part", Model, "Part", {
  1016. BrickColor = BrickColor.new("White"),
  1017. Material = Enum.Material.SmoothPlastic,
  1018. FormFactor = Enum.FormFactor.Custom,
  1019. Size = Vector3.new(1.10000002, 0.199999884, 1.30000007),
  1020. 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),
  1021. Anchored = true,
  1022. CanCollide = false,
  1023. BottomSurface = Enum.SurfaceType.Smooth,
  1024. TopSurface = Enum.SurfaceType.Smooth,
  1025. Color = Color3.new(0.929412, 0.917647, 0.917647)
  1026. })
  1027. Part = New("Part", Model, "Part", {
  1028. BrickColor = BrickColor.new("White"),
  1029. Material = Enum.Material.SmoothPlastic,
  1030. FormFactor = Enum.FormFactor.Custom,
  1031. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1032. CFrame = CFrame.new(-15.0171423, 2.54138398, -78.2002182, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  1033. Anchored = true,
  1034. CanCollide = false,
  1035. BottomSurface = Enum.SurfaceType.Smooth,
  1036. TopSurface = Enum.SurfaceType.Smooth,
  1037. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1038. })
  1039. Mesh = New("BlockMesh", Part, "Mesh", {
  1040. Scale = Vector3.new(0.441132545, 0.558395326, 1)
  1041. })
  1042. Part = New("Part", Model, "Part", {
  1043. Material = Enum.Material.SmoothPlastic,
  1044. FormFactor = Enum.FormFactor.Custom,
  1045. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1046. CFrame = CFrame.new(-15.4412384, 2.41636896, -78.2658386, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1047. Anchored = true,
  1048. CanCollide = false,
  1049. BottomSurface = Enum.SurfaceType.Smooth,
  1050. TopSurface = Enum.SurfaceType.Smooth
  1051. })
  1052. Mesh = New("CylinderMesh", Part, "Mesh", {
  1053. Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364)
  1054. })
  1055. Part = New("Part", Model, "Part", {
  1056. Material = Enum.Material.SmoothPlastic,
  1057. FormFactor = Enum.FormFactor.Custom,
  1058. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1059. CFrame = CFrame.new(-14.5560598, 2.74341011, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  1060. Anchored = true,
  1061. CanCollide = false,
  1062. BottomSurface = Enum.SurfaceType.Smooth,
  1063. TopSurface = Enum.SurfaceType.Smooth
  1064. })
  1065. Mesh = New("CylinderMesh", Part, "Mesh", {
  1066. Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364)
  1067. })
  1068. Part = New("Part", Model, "Part", {
  1069. BrickColor = BrickColor.new("White"),
  1070. Material = Enum.Material.SmoothPlastic,
  1071. FormFactor = Enum.FormFactor.Custom,
  1072. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1073. CFrame = CFrame.new(-15.4412384, 2.59506392, -77.9560776, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1074. Anchored = true,
  1075. CanCollide = false,
  1076. BottomSurface = Enum.SurfaceType.Smooth,
  1077. TopSurface = Enum.SurfaceType.Smooth,
  1078. Color = Color3.new(0.388235, 0.372549, 0.384314)
  1079. })
  1080. Mesh = New("CylinderMesh", Part, "Mesh", {
  1081. Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364)
  1082. })
  1083. Part = New("Part", Model, "Part", {
  1084. BrickColor = BrickColor.new("White"),
  1085. Material = Enum.Material.SmoothPlastic,
  1086. FormFactor = Enum.FormFactor.Custom,
  1087. Size = Vector3.new(0.25, 0.449999988, 0.300000012),
  1088. 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),
  1089. Anchored = true,
  1090. CanCollide = false,
  1091. BottomSurface = Enum.SurfaceType.Smooth,
  1092. TopSurface = Enum.SurfaceType.Smooth,
  1093. Color = Color3.new(0.929412, 0.917647, 0.917647)
  1094. })
  1095. Part = New("Part", Model, "Part", {
  1096. Material = Enum.Material.SmoothPlastic,
  1097. FormFactor = Enum.FormFactor.Custom,
  1098. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1099. CFrame = CFrame.new(-14.7090759, 2.42498994, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1100. Anchored = true,
  1101. CanCollide = false,
  1102. BottomSurface = Enum.SurfaceType.Smooth,
  1103. TopSurface = Enum.SurfaceType.Smooth
  1104. })
  1105. Mesh = New("BlockMesh", Part, "Mesh", {
  1106. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  1107. })
  1108. Part = New("Part", Model, "Part", {
  1109. Material = Enum.Material.SmoothPlastic,
  1110. FormFactor = Enum.FormFactor.Custom,
  1111. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1112. CFrame = CFrame.new(-14.5560598, 2.41636896, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  1113. Anchored = true,
  1114. CanCollide = false,
  1115. BottomSurface = Enum.SurfaceType.Smooth,
  1116. TopSurface = Enum.SurfaceType.Smooth
  1117. })
  1118. Mesh = New("CylinderMesh", Part, "Mesh", {
  1119. Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364)
  1120. })
  1121. Part = New("Part", Model, "Part", {
  1122. Material = Enum.Material.SmoothPlastic,
  1123. FormFactor = Enum.FormFactor.Custom,
  1124. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1125. CFrame = CFrame.new(-15.4412384, 2.74341011, -77.9560776, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1126. Anchored = true,
  1127. CanCollide = false,
  1128. BottomSurface = Enum.SurfaceType.Smooth,
  1129. TopSurface = Enum.SurfaceType.Smooth
  1130. })
  1131. Mesh = New("CylinderMesh", Part, "Mesh", {
  1132. Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364)
  1133. })
  1134. Part = New("Part", Model, "Part", {
  1135. Material = Enum.Material.SmoothPlastic,
  1136. FormFactor = Enum.FormFactor.Custom,
  1137. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1138. CFrame = CFrame.new(-14.4219961, 2.42498994, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  1139. Anchored = true,
  1140. CanCollide = false,
  1141. BottomSurface = Enum.SurfaceType.Smooth,
  1142. TopSurface = Enum.SurfaceType.Smooth
  1143. })
  1144. Mesh = New("BlockMesh", Part, "Mesh", {
  1145. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  1146. })
  1147. Part = New("Part", Model, "Part", {
  1148. BrickColor = BrickColor.new("White"),
  1149. Material = Enum.Material.SmoothPlastic,
  1150. FormFactor = Enum.FormFactor.Custom,
  1151. Size = Vector3.new(0.100000001, 0.169999897, 0.389999956),
  1152. 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),
  1153. Anchored = true,
  1154. CanCollide = false,
  1155. BottomSurface = Enum.SurfaceType.Smooth,
  1156. TopSurface = Enum.SurfaceType.Smooth,
  1157. Color = Color3.new(0.929412, 0.917647, 0.917647)
  1158. })
  1159. Part = New("Part", Model, "Part", {
  1160. BrickColor = maincolor,
  1161. Material = Enum.Material.Neon,
  1162. FormFactor = Enum.FormFactor.Custom,
  1163. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1164. CFrame = CFrame.new(-15.4316874, 2.58891606, -77.7711258, 0, 0, -0.99999994, 0, 1, 0, 0.99999994, 0, 0),
  1165. Anchored = true,
  1166. CanCollide = false,
  1167. BottomSurface = Enum.SurfaceType.Smooth,
  1168. TopSurface = Enum.SurfaceType.Smooth,
  1169. Color = Color3.new(1, 0, 0)
  1170. })
  1171. Mesh = New("BlockMesh", Part, "Mesh", {
  1172. Scale = Vector3.new(0.194377586, 0.630986929, 0.435548395)
  1173. })
  1174. Part = New("Part", Model, "Part", {
  1175. Material = Enum.Material.SmoothPlastic,
  1176. FormFactor = Enum.FormFactor.Custom,
  1177. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1178. CFrame = CFrame.new(-15.0143118, 2.70039511, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1179. Anchored = true,
  1180. CanCollide = false,
  1181. BottomSurface = Enum.SurfaceType.Smooth,
  1182. TopSurface = Enum.SurfaceType.Smooth
  1183. })
  1184. Mesh = New("BlockMesh", Part, "Mesh", {
  1185. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  1186. })
  1187. Part = New("Part", Model, "Part", {
  1188. Material = Enum.Material.SmoothPlastic,
  1189. FormFactor = Enum.FormFactor.Custom,
  1190. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1191. CFrame = CFrame.new(-14.4698181, 2.42498994, -77.7830658, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  1192. Anchored = true,
  1193. CanCollide = false,
  1194. BottomSurface = Enum.SurfaceType.Smooth,
  1195. TopSurface = Enum.SurfaceType.Smooth
  1196. })
  1197. Mesh = New("BlockMesh", Part, "Mesh", {
  1198. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  1199. })
  1200. Part = New("Part", Model, "Part", {
  1201. Material = Enum.Material.SmoothPlastic,
  1202. FormFactor = Enum.FormFactor.Custom,
  1203. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1204. CFrame = CFrame.new(-15.3188915, 2.42498994, -77.4261551, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  1205. Anchored = true,
  1206. CanCollide = false,
  1207. BottomSurface = Enum.SurfaceType.Smooth,
  1208. TopSurface = Enum.SurfaceType.Smooth
  1209. })
  1210. Mesh = New("BlockMesh", Part, "Mesh", {
  1211. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  1212. })
  1213. Part = New("Part", Model, "Part", {
  1214. Material = Enum.Material.SmoothPlastic,
  1215. FormFactor = Enum.FormFactor.Custom,
  1216. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1217. CFrame = CFrame.new(-15.4412384, 2.41636896, -77.5747604, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1218. Anchored = true,
  1219. CanCollide = false,
  1220. BottomSurface = Enum.SurfaceType.Smooth,
  1221. TopSurface = Enum.SurfaceType.Smooth
  1222. })
  1223. Mesh = New("CylinderMesh", Part, "Mesh", {
  1224. Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364)
  1225. })
  1226. Part = New("Part", Model, "Part", {
  1227. Material = Enum.Material.SmoothPlastic,
  1228. FormFactor = Enum.FormFactor.Custom,
  1229. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1230. CFrame = CFrame.new(-14.4698181, 2.42498994, -77.4798431, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  1231. Anchored = true,
  1232. CanCollide = false,
  1233. BottomSurface = Enum.SurfaceType.Smooth,
  1234. TopSurface = Enum.SurfaceType.Smooth
  1235. })
  1236. Mesh = New("BlockMesh", Part, "Mesh", {
  1237. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  1238. })
  1239. Part = New("Part", Model, "Part", {
  1240. BrickColor = maincolor,
  1241. Material = Enum.Material.Neon,
  1242. FormFactor = Enum.FormFactor.Custom,
  1243. Size = Vector3.new(0.150000006, 0.209999889, 0.99999994),
  1244. 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),
  1245. Anchored = true,
  1246. CanCollide = false,
  1247. BottomSurface = Enum.SurfaceType.Smooth,
  1248. TopSurface = Enum.SurfaceType.Smooth,
  1249. Color = Color3.new(1, 0, 0)
  1250. })
  1251. Part = New("Part", Model, "Part", {
  1252. BrickColor = BrickColor.new("White"),
  1253. Material = Enum.Material.SmoothPlastic,
  1254. FormFactor = Enum.FormFactor.Custom,
  1255. Size = Vector3.new(1.10000002, 0.100000009, 1.10000002),
  1256. 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),
  1257. Anchored = true,
  1258. CanCollide = false,
  1259. BottomSurface = Enum.SurfaceType.Smooth,
  1260. TopSurface = Enum.SurfaceType.Smooth,
  1261. Color = Color3.new(0.929412, 0.917647, 0.917647)
  1262. })
  1263. Part = New("Part", Model, "Part", {
  1264. BrickColor = BrickColor.new("White"),
  1265. Material = Enum.Material.SmoothPlastic,
  1266. FormFactor = Enum.FormFactor.Custom,
  1267. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1268. CFrame = CFrame.new(-14.3547363, 2.59506392, -77.3155441, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  1269. Anchored = true,
  1270. CanCollide = false,
  1271. BottomSurface = Enum.SurfaceType.Smooth,
  1272. TopSurface = Enum.SurfaceType.Smooth,
  1273. Color = Color3.new(0.388235, 0.372549, 0.384314)
  1274. })
  1275. Mesh = New("CylinderMesh", Part, "Mesh", {
  1276. Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364)
  1277. })
  1278. Part = New("Part", Model, "Part", {
  1279. BrickColor = BrickColor.new("White"),
  1280. Material = Enum.Material.SmoothPlastic,
  1281. FormFactor = Enum.FormFactor.Custom,
  1282. Size = Vector3.new(0.100000001, 0.159999892, 1.00999999),
  1283. 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),
  1284. Anchored = true,
  1285. CanCollide = false,
  1286. BottomSurface = Enum.SurfaceType.Smooth,
  1287. TopSurface = Enum.SurfaceType.Smooth,
  1288. Color = Color3.new(0.929412, 0.917647, 0.917647)
  1289. })
  1290. Part = New("Part", Model, "Part", {
  1291. BrickColor = maincolor,
  1292. Material = Enum.Material.Neon,
  1293. FormFactor = Enum.FormFactor.Custom,
  1294. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1295. CFrame = CFrame.new(-14.7080917, 2.56596589, -77.2362442, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1296. Anchored = true,
  1297. CanCollide = false,
  1298. BottomSurface = Enum.SurfaceType.Smooth,
  1299. TopSurface = Enum.SurfaceType.Smooth,
  1300. Color = Color3.new(1, 0, 0)
  1301. })
  1302. Mesh = New("BlockMesh", Part, "Mesh", {
  1303. Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395)
  1304. })
  1305. Part = New("Part", Model, "Part", {
  1306. BrickColor = BrickColor.new("White"),
  1307. Material = Enum.Material.SmoothPlastic,
  1308. FormFactor = Enum.FormFactor.Custom,
  1309. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1310. CFrame = CFrame.new(-15.3223877, 2.54138398, -78.2002182, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  1311. Anchored = true,
  1312. CanCollide = false,
  1313. BottomSurface = Enum.SurfaceType.Smooth,
  1314. TopSurface = Enum.SurfaceType.Smooth,
  1315. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1316. })
  1317. Mesh = New("BlockMesh", Part, "Mesh", {
  1318. Scale = Vector3.new(0.441132545, 0.558395326, 1)
  1319. })
  1320. SwHandle = New("Part", Model, "Handle", {
  1321. BrickColor = BrickColor.new("White"),
  1322. Material = Enum.Material.SmoothPlastic,
  1323. FormFactor = Enum.FormFactor.Custom,
  1324. Size = Vector3.new(1.04999995, 2.04999995, 1.04999995),
  1325. 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),
  1326. Anchored = true,
  1327. CanCollide = false,
  1328. BottomSurface = Enum.SurfaceType.Smooth,
  1329. TopSurface = Enum.SurfaceType.Smooth,
  1330. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1331. })
  1332. Part = New("Part", Model, "Part", {
  1333. BrickColor = BrickColor.new("White"),
  1334. Material = Enum.Material.SmoothPlastic,
  1335. FormFactor = Enum.FormFactor.Custom,
  1336. Size = Vector3.new(1.08000004, 0.549999952, 0.300000042),
  1337. 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),
  1338. Anchored = true,
  1339. CanCollide = false,
  1340. BottomSurface = Enum.SurfaceType.Smooth,
  1341. TopSurface = Enum.SurfaceType.Smooth,
  1342. Color = Color3.new(0.388235, 0.372549, 0.384314)
  1343. })
  1344. Part = New("Part", Model, "Part", {
  1345. BrickColor = BrickColor.new("White"),
  1346. Material = Enum.Material.SmoothPlastic,
  1347. FormFactor = Enum.FormFactor.Custom,
  1348. Size = Vector3.new(1.08000004, 0.25, 0.800000012),
  1349. 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),
  1350. Anchored = true,
  1351. CanCollide = false,
  1352. BottomSurface = Enum.SurfaceType.Smooth,
  1353. TopSurface = Enum.SurfaceType.Smooth,
  1354. Color = Color3.new(0.388235, 0.372549, 0.384314)
  1355. })
  1356. Part = New("Part", Model, "Part", {
  1357. Material = Enum.Material.SmoothPlastic,
  1358. FormFactor = Enum.FormFactor.Custom,
  1359. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1360. CFrame = CFrame.new(-14.7036819, 2.70039511, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  1361. Anchored = true,
  1362. CanCollide = false,
  1363. BottomSurface = Enum.SurfaceType.Smooth,
  1364. TopSurface = Enum.SurfaceType.Smooth
  1365. })
  1366. Mesh = New("BlockMesh", Part, "Mesh", {
  1367. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  1368. })
  1369. Part = New("Part", Model, "Part", {
  1370. BrickColor = BrickColor.new("White"),
  1371. Material = Enum.Material.SmoothPlastic,
  1372. FormFactor = Enum.FormFactor.Custom,
  1373. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1374. CFrame = CFrame.new(-14.8567038, 2.59506392, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  1375. Anchored = true,
  1376. CanCollide = false,
  1377. BottomSurface = Enum.SurfaceType.Smooth,
  1378. TopSurface = Enum.SurfaceType.Smooth,
  1379. Color = Color3.new(0.388235, 0.372549, 0.384314)
  1380. })
  1381. Mesh = New("CylinderMesh", Part, "Mesh", {
  1382. Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364)
  1383. })
  1384. Part = New("Part", Model, "Part", {
  1385. BrickColor = BrickColor.new("White"),
  1386. Material = Enum.Material.SmoothPlastic,
  1387. FormFactor = Enum.FormFactor.Custom,
  1388. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1389. CFrame = CFrame.new(-14.3333502, 2.59506392, -77.9314957, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  1390. Anchored = true,
  1391. CanCollide = false,
  1392. BottomSurface = Enum.SurfaceType.Smooth,
  1393. TopSurface = Enum.SurfaceType.Smooth,
  1394. Color = Color3.new(0.388235, 0.372549, 0.384314)
  1395. })
  1396. Mesh = New("CylinderMesh", Part, "Mesh", {
  1397. Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364)
  1398. })
  1399. Part = New("Part", Model, "Part", {
  1400. Material = Enum.Material.SmoothPlastic,
  1401. FormFactor = Enum.FormFactor.Custom,
  1402. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1403. CFrame = CFrame.new(-14.8513403, 2.74341011, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  1404. Anchored = true,
  1405. CanCollide = false,
  1406. BottomSurface = Enum.SurfaceType.Smooth,
  1407. TopSurface = Enum.SurfaceType.Smooth
  1408. })
  1409. Mesh = New("CylinderMesh", Part, "Mesh", {
  1410. Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364)
  1411. })
  1412. Part = New("Part", Model, "Part", {
  1413. BrickColor = maincolor,
  1414. Material = Enum.Material.Neon,
  1415. FormFactor = Enum.FormFactor.Custom,
  1416. Size = Vector3.new(0.300000012, 0.5, 0.300000012),
  1417. 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),
  1418. Anchored = true,
  1419. CanCollide = false,
  1420. BottomSurface = Enum.SurfaceType.Smooth,
  1421. TopSurface = Enum.SurfaceType.Smooth,
  1422. Color = Color3.new(1, 0, 0)
  1423. })
  1424. Part = New("Part", Model, "Part", {
  1425. BrickColor = BrickColor.new("White"),
  1426. Material = Enum.Material.SmoothPlastic,
  1427. FormFactor = Enum.FormFactor.Custom,
  1428. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1429. CFrame = CFrame.new(-15.4412384, 2.59506392, -77.5747604, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1430. Anchored = true,
  1431. CanCollide = false,
  1432. BottomSurface = Enum.SurfaceType.Smooth,
  1433. TopSurface = Enum.SurfaceType.Smooth,
  1434. Color = Color3.new(0.388235, 0.372549, 0.384314)
  1435. })
  1436. Mesh = New("CylinderMesh", Part, "Mesh", {
  1437. Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364)
  1438. })
  1439. Part = New("Part", Model, "Part", {
  1440. Material = Enum.Material.SmoothPlastic,
  1441. FormFactor = Enum.FormFactor.Custom,
  1442. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1443. CFrame = CFrame.new(-14.3333502, 2.41636896, -77.9314957, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  1444. Anchored = true,
  1445. CanCollide = false,
  1446. BottomSurface = Enum.SurfaceType.Smooth,
  1447. TopSurface = Enum.SurfaceType.Smooth
  1448. })
  1449. Mesh = New("CylinderMesh", Part, "Mesh", {
  1450. Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364)
  1451. })
  1452. Part = New("Part", Model, "Part", {
  1453. Material = Enum.Material.SmoothPlastic,
  1454. FormFactor = Enum.FormFactor.Custom,
  1455. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1456. CFrame = CFrame.new(-14.8513403, 2.41636896, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  1457. Anchored = true,
  1458. CanCollide = false,
  1459. BottomSurface = Enum.SurfaceType.Smooth,
  1460. TopSurface = Enum.SurfaceType.Smooth
  1461. })
  1462. Mesh = New("CylinderMesh", Part, "Mesh", {
  1463. Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364)
  1464. })
  1465. Part = New("Part", Model, "Part", {
  1466. BrickColor = BrickColor.new("White"),
  1467. Material = Enum.Material.SmoothPlastic,
  1468. FormFactor = Enum.FormFactor.Custom,
  1469. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1470. CFrame = CFrame.new(-15.4412384, 2.59506392, -78.2658386, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1471. Anchored = true,
  1472. CanCollide = false,
  1473. BottomSurface = Enum.SurfaceType.Smooth,
  1474. TopSurface = Enum.SurfaceType.Smooth,
  1475. Color = Color3.new(0.388235, 0.372549, 0.384314)
  1476. })
  1477. Mesh = New("CylinderMesh", Part, "Mesh", {
  1478. Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364)
  1479. })
  1480. Part = New("Part", Model, "Part", {
  1481. BrickColor = maincolor,
  1482. Material = Enum.Material.Neon,
  1483. FormFactor = Enum.FormFactor.Custom,
  1484. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1485. CFrame = CFrame.new(-15.0133123, 2.56596589, -77.2362442, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1486. Anchored = true,
  1487. CanCollide = false,
  1488. BottomSurface = Enum.SurfaceType.Smooth,
  1489. TopSurface = Enum.SurfaceType.Smooth,
  1490. Color = Color3.new(1, 0, 0)
  1491. })
  1492. Mesh = New("BlockMesh", Part, "Mesh", {
  1493. Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395)
  1494. })
  1495. Part = New("Part", Model, "Part", {
  1496. Material = Enum.Material.SmoothPlastic,
  1497. FormFactor = Enum.FormFactor.Custom,
  1498. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1499. CFrame = CFrame.new(-15.3188915, 2.70039511, -78.0982056, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  1500. Anchored = true,
  1501. CanCollide = false,
  1502. BottomSurface = Enum.SurfaceType.Smooth,
  1503. TopSurface = Enum.SurfaceType.Smooth
  1504. })
  1505. Mesh = New("BlockMesh", Part, "Mesh", {
  1506. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  1507. })
  1508. Part = New("Part", Model, "Part", {
  1509. BrickColor = BrickColor.new("White"),
  1510. Material = Enum.Material.SmoothPlastic,
  1511. FormFactor = Enum.FormFactor.Custom,
  1512. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1513. CFrame = CFrame.new(-14.4229803, 2.54138398, -78.2002182, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  1514. Anchored = true,
  1515. CanCollide = false,
  1516. BottomSurface = Enum.SurfaceType.Smooth,
  1517. TopSurface = Enum.SurfaceType.Smooth,
  1518. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1519. })
  1520. Mesh = New("BlockMesh", Part, "Mesh", {
  1521. Scale = Vector3.new(0.441132545, 0.558395326, 1)
  1522. })
  1523. Part = New("Part", Model, "Part", {
  1524. Material = Enum.Material.SmoothPlastic,
  1525. FormFactor = Enum.FormFactor.Custom,
  1526. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1527. CFrame = CFrame.new(-14.4698181, 2.70039511, -78.0765381, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  1528. Anchored = true,
  1529. CanCollide = false,
  1530. BottomSurface = Enum.SurfaceType.Smooth,
  1531. TopSurface = Enum.SurfaceType.Smooth
  1532. })
  1533. Mesh = New("BlockMesh", Part, "Mesh", {
  1534. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  1535. })
  1536. Part = New("Part", Model, "Part", {
  1537. Material = Enum.Material.SmoothPlastic,
  1538. FormFactor = Enum.FormFactor.Custom,
  1539. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1540. CFrame = CFrame.new(-14.431016, 2.70039511, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1541. Anchored = true,
  1542. CanCollide = false,
  1543. BottomSurface = Enum.SurfaceType.Smooth,
  1544. TopSurface = Enum.SurfaceType.Smooth
  1545. })
  1546. Mesh = New("BlockMesh", Part, "Mesh", {
  1547. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  1548. })
  1549. Part = New("Part", Model, "Part", {
  1550. Material = Enum.Material.SmoothPlastic,
  1551. FormFactor = Enum.FormFactor.Custom,
  1552. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1553. CFrame = CFrame.new(-15.3213959, 2.42498994, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  1554. Anchored = true,
  1555. CanCollide = false,
  1556. BottomSurface = Enum.SurfaceType.Smooth,
  1557. TopSurface = Enum.SurfaceType.Smooth
  1558. })
  1559. Mesh = New("BlockMesh", Part, "Mesh", {
  1560. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  1561. })
  1562. Part = New("Part", Model, "Part", {
  1563. Material = Enum.Material.SmoothPlastic,
  1564. FormFactor = Enum.FormFactor.Custom,
  1565. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1566. CFrame = CFrame.new(-15.0143118, 2.42498994, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1567. Anchored = true,
  1568. CanCollide = false,
  1569. BottomSurface = Enum.SurfaceType.Smooth,
  1570. TopSurface = Enum.SurfaceType.Smooth
  1571. })
  1572. Mesh = New("BlockMesh", Part, "Mesh", {
  1573. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  1574. })
  1575. Part = New("Part", Model, "Part", {
  1576. Material = Enum.Material.SmoothPlastic,
  1577. FormFactor = Enum.FormFactor.Custom,
  1578. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1579. CFrame = CFrame.new(-15.4412384, 2.41636896, -77.9560776, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1580. Anchored = true,
  1581. CanCollide = false,
  1582. BottomSurface = Enum.SurfaceType.Smooth,
  1583. TopSurface = Enum.SurfaceType.Smooth
  1584. })
  1585. Mesh = New("CylinderMesh", Part, "Mesh", {
  1586. Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364)
  1587. })
  1588. Part = New("Part", Model, "Part", {
  1589. BrickColor = BrickColor.new("White"),
  1590. Material = Enum.Material.SmoothPlastic,
  1591. FormFactor = Enum.FormFactor.Custom,
  1592. Size = Vector3.new(1.10000002, 0.379999995, 0.100000001),
  1593. 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),
  1594. Anchored = true,
  1595. CanCollide = false,
  1596. BottomSurface = Enum.SurfaceType.Smooth,
  1597. TopSurface = Enum.SurfaceType.Smooth,
  1598. Color = Color3.new(0.929412, 0.917647, 0.917647)
  1599. })
  1600. Part = New("Part", Model, "Part", {
  1601. Material = Enum.Material.SmoothPlastic,
  1602. FormFactor = Enum.FormFactor.Custom,
  1603. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1604. CFrame = CFrame.new(-14.431016, 2.42498994, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1605. Anchored = true,
  1606. CanCollide = false,
  1607. BottomSurface = Enum.SurfaceType.Smooth,
  1608. TopSurface = Enum.SurfaceType.Smooth
  1609. })
  1610. Mesh = New("BlockMesh", Part, "Mesh", {
  1611. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  1612. })
  1613. Part = New("Part", Model, "Part", {
  1614. BrickColor = BrickColor.new("White"),
  1615. Material = Enum.Material.SmoothPlastic,
  1616. FormFactor = Enum.FormFactor.Custom,
  1617. Size = Vector3.new(1.08000004, 0.370000094, 0.099999994),
  1618. 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),
  1619. Anchored = true,
  1620. CanCollide = false,
  1621. BottomSurface = Enum.SurfaceType.Smooth,
  1622. TopSurface = Enum.SurfaceType.Smooth,
  1623. Color = Color3.new(0.388235, 0.372549, 0.384314)
  1624. })
  1625. Part = New("Part", Model, "Part", {
  1626. BrickColor = BrickColor.new("White"),
  1627. Material = Enum.Material.SmoothPlastic,
  1628. FormFactor = Enum.FormFactor.Custom,
  1629. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1630. CFrame = CFrame.new(-14.4749603, 2.54138398, -78.0775299, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0),
  1631. Anchored = true,
  1632. CanCollide = false,
  1633. BottomSurface = Enum.SurfaceType.Smooth,
  1634. TopSurface = Enum.SurfaceType.Smooth,
  1635. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1636. })
  1637. Mesh = New("BlockMesh", Part, "Mesh", {
  1638. Scale = Vector3.new(0.441132545, 0.558395326, 1)
  1639. })
  1640. Part = New("Part", Model, "Part", {
  1641. BrickColor = BrickColor.new("White"),
  1642. Material = Enum.Material.SmoothPlastic,
  1643. FormFactor = Enum.FormFactor.Custom,
  1644. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1645. CFrame = CFrame.new(-15.3176498, 2.54138398, -77.3468628, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1646. Anchored = true,
  1647. CanCollide = false,
  1648. BottomSurface = Enum.SurfaceType.Smooth,
  1649. TopSurface = Enum.SurfaceType.Smooth,
  1650. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1651. })
  1652. Mesh = New("BlockMesh", Part, "Mesh", {
  1653. Scale = Vector3.new(0.441132545, 0.558395326, 1)
  1654. })
  1655. Part = New("Part", Model, "Part", {
  1656. BrickColor = maincolor,
  1657. Material = Enum.Material.Neon,
  1658. FormFactor = Enum.FormFactor.Custom,
  1659. Size = Vector3.new(1.11000001, 0.300000012, 0.100000001),
  1660. 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),
  1661. Anchored = true,
  1662. CanCollide = false,
  1663. BottomSurface = Enum.SurfaceType.Smooth,
  1664. TopSurface = Enum.SurfaceType.Smooth,
  1665. Color = Color3.new(1, 0, 0)
  1666. })
  1667. Part = New("Part", Model, "Part", {
  1668. Material = Enum.Material.SmoothPlastic,
  1669. FormFactor = Enum.FormFactor.Custom,
  1670. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1671. CFrame = CFrame.new(-14.7090759, 2.70039511, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1672. Anchored = true,
  1673. CanCollide = false,
  1674. BottomSurface = Enum.SurfaceType.Smooth,
  1675. TopSurface = Enum.SurfaceType.Smooth
  1676. })
  1677. Mesh = New("BlockMesh", Part, "Mesh", {
  1678. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  1679. })
  1680. Part = New("Part", Model, "Part", {
  1681. BrickColor = BrickColor.new("White"),
  1682. Material = Enum.Material.SmoothPlastic,
  1683. FormFactor = Enum.FormFactor.Custom,
  1684. Size = Vector3.new(1.10000002, 0.849999905, 0.300000012),
  1685. 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),
  1686. Anchored = true,
  1687. CanCollide = false,
  1688. BottomSurface = Enum.SurfaceType.Smooth,
  1689. TopSurface = Enum.SurfaceType.Smooth,
  1690. Color = Color3.new(0.929412, 0.917647, 0.917647)
  1691. })
  1692. Part = New("Part", Model, "Part", {
  1693. Material = Enum.Material.SmoothPlastic,
  1694. FormFactor = Enum.FormFactor.Custom,
  1695. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1696. CFrame = CFrame.new(-15.3188915, 2.70039511, -77.4261551, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0),
  1697. Anchored = true,
  1698. CanCollide = false,
  1699. BottomSurface = Enum.SurfaceType.Smooth,
  1700. TopSurface = Enum.SurfaceType.Smooth
  1701. })
  1702. Mesh = New("BlockMesh", Part, "Mesh", {
  1703. Scale = Vector3.new(0.513724029, 0.558395326, 1)
  1704. })
  1705. Part = New("Part", Model, "Part", {
  1706. BrickColor = BrickColor.new("White"),
  1707. Material = Enum.Material.SmoothPlastic,
  1708. FormFactor = Enum.FormFactor.Custom,
  1709. Size = Vector3.new(0.293578118, 0.293578744, 0.327865988),
  1710. CFrame = CFrame.new(-15.0133123, 2.54138398, -77.3468628, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881),
  1711. Anchored = true,
  1712. CanCollide = false,
  1713. BottomSurface = Enum.SurfaceType.Smooth,
  1714. TopSurface = Enum.SurfaceType.Smooth,
  1715. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1716. })
  1717. Mesh = New("BlockMesh", Part, "Mesh", {
  1718. Scale = Vector3.new(0.441132545, 0.558395326, 1)
  1719. })
  1720. Part = New("Part", Model, "Part", {
  1721. Material = Enum.Material.SmoothPlastic,
  1722. FormFactor = Enum.FormFactor.Custom,
  1723. Size = Vector3.new(0.293578118, 0.293578744, 0.293578714),
  1724. CFrame = CFrame.new(-14.3547363, 2.74341011, -77.3155441, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881),
  1725. Anchored = true,
  1726. CanCollide = false,
  1727. BottomSurface = Enum.SurfaceType.Smooth,
  1728. TopSurface = Enum.SurfaceType.Smooth
  1729. })
  1730. Mesh = New("CylinderMesh", Part, "Mesh", {
  1731. Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364)
  1732. })
  1733. Part = New("Part", Model, "Part", {
  1734. BrickColor = BrickColor.new("White"),
  1735. Material = Enum.Material.SmoothPlastic,
  1736. FormFactor = Enum.FormFactor.Custom,
  1737. Size = Vector3.new(1.08000004, 0.0599999726, 1.08000004),
  1738. 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),
  1739. Anchored = true,
  1740. CanCollide = false,
  1741. BottomSurface = Enum.SurfaceType.Smooth,
  1742. TopSurface = Enum.SurfaceType.Smooth,
  1743. Color = Color3.new(0.929412, 0.917647, 0.917647)
  1744. })
  1745. Part = New("Part", Model, "Part", {
  1746. BrickColor = BrickColor.new("Lily white"),
  1747. Material = Enum.Material.SmoothPlastic,
  1748. FormFactor = Enum.FormFactor.Custom,
  1749. Size = Vector3.new(0.0900000036, 0.459999859, 0.209999979),
  1750. 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),
  1751. Anchored = true,
  1752. CanCollide = false,
  1753. BottomSurface = Enum.SurfaceType.Smooth,
  1754. TopSurface = Enum.SurfaceType.Smooth,
  1755. Color = Color3.new(0.929412, 0.917647, 0.917647)
  1756. })
  1757. Part = New("Part", Model, "Part", {
  1758. BrickColor = BrickColor.new("White"),
  1759. Material = Enum.Material.SmoothPlastic,
  1760. FormFactor = Enum.FormFactor.Custom,
  1761. Size = Vector3.new(0.899999976, 0.0599999987, 0.899999976),
  1762. 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),
  1763. Anchored = true,
  1764. CanCollide = false,
  1765. BottomSurface = Enum.SurfaceType.Smooth,
  1766. TopSurface = Enum.SurfaceType.Smooth,
  1767. Color = Color3.new(0.929412, 0.917647, 0.917647)
  1768. })
  1769. Part = New("Part", Model, "Part", {
  1770. BrickColor = BrickColor.new("White"),
  1771. Material = Enum.Material.SmoothPlastic,
  1772. FormFactor = Enum.FormFactor.Custom,
  1773. Size = Vector3.new(0.0900000036, 0.509999812, 0.209999979),
  1774. 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),
  1775. Anchored = true,
  1776. CanCollide = false,
  1777. BottomSurface = Enum.SurfaceType.Smooth,
  1778. TopSurface = Enum.SurfaceType.Smooth,
  1779. Color = Color3.new(0.929412, 0.917647, 0.917647)
  1780. })
  1781. Part = New("Part", Model, "Part", {
  1782. BrickColor = BrickColor.new("White"),
  1783. Material = Enum.Material.SmoothPlastic,
  1784. FormFactor = Enum.FormFactor.Custom,
  1785. Size = Vector3.new(1, 0.0599999987, 1),
  1786. 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),
  1787. Anchored = true,
  1788. CanCollide = false,
  1789. BottomSurface = Enum.SurfaceType.Smooth,
  1790. TopSurface = Enum.SurfaceType.Smooth,
  1791. Color = Color3.new(0.388235, 0.372549, 0.384314)
  1792. })
  1793. Part = New("Part", Model, "Part", {
  1794. BrickColor = BrickColor.new("White"),
  1795. Material = Enum.Material.SmoothPlastic,
  1796. FormFactor = Enum.FormFactor.Custom,
  1797. Size = Vector3.new(0.0900000036, 0.259999871, 0.75999999),
  1798. 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),
  1799. Anchored = true,
  1800. CanCollide = false,
  1801. BottomSurface = Enum.SurfaceType.Smooth,
  1802. TopSurface = Enum.SurfaceType.Smooth,
  1803. Color = Color3.new(0.929412, 0.917647, 0.917647)
  1804. })
  1805. Part = New("Part", Model, "Part", {
  1806. BrickColor = maincolor,
  1807. Material = Enum.Material.Neon,
  1808. FormFactor = Enum.FormFactor.Custom,
  1809. Size = Vector3.new(0.949999988, 0.0700000003, 0.949999988),
  1810. 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),
  1811. Anchored = true,
  1812. CanCollide = false,
  1813. BottomSurface = Enum.SurfaceType.Smooth,
  1814. TopSurface = Enum.SurfaceType.Smooth,
  1815. Color = Color3.new(1, 0, 0)
  1816. })
  1817. Part = New("Part", Model, "Part", {
  1818. BrickColor = BrickColor.new("White"),
  1819. Material = Enum.Material.SmoothPlastic,
  1820. FormFactor = Enum.FormFactor.Custom,
  1821. Size = Vector3.new(0.0900000036, 0.459999859, 0.209999979),
  1822. 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),
  1823. Anchored = true,
  1824. CanCollide = false,
  1825. BottomSurface = Enum.SurfaceType.Smooth,
  1826. TopSurface = Enum.SurfaceType.Smooth,
  1827. Color = Color3.new(0.929412, 0.917647, 0.917647)
  1828. })
  1829. maincolor = game.Players.apelidi0.Character.Torso.BrickColor
  1830. ArmorColorParts = {}
  1831. NeonColorParts = {}
  1832. NeonColorParts2 = {}
  1833. Eye = New("Part", Character, "Eye", {
  1834. BrickColor = BrickColor.new("White"),
  1835. Size = Vector3.new(0.879999995, 0.699999976, 1.0999999),
  1836. CFrame = CFrame.new(48.0200577, 1.00104618, 0.0799999982, 0.99999994, -1.93715096E-7, 0, 1.93715096E-7, 0.99999994, 0, 0, 0, 1),
  1837. Anchored = false,
  1838. BottomSurface = Enum.SurfaceType.Smooth,
  1839. TopSurface = Enum.SurfaceType.Smooth
  1840. })
  1841. Mesh = New("SpecialMesh", Eye, "Mesh", {
  1842. Scale = Vector3.new(1.29999995, 1.25, 1.29999995)
  1843. })
  1844. test = -0.0200577000000024
  1845. test2 = -0.001045229999999897
  1846. print("" .. test)
  1847. test3 = 0.0499999968
  1848. print("" .. test2)
  1849. print("" .. test3)
  1850. local all, last = {}, nil
  1851. function scan(p)
  1852. for _, v in pairs(p:GetChildren()) do
  1853. if v:IsA("BasePart") then
  1854. if v.BrickColor == BrickColor.new("White") then
  1855. table.insert(ArmorColorParts, v)
  1856. end
  1857. if v.BrickColor == BrickColor.new("White") then
  1858. table.insert(NeonColorParts, v)
  1859. table.insert(NeonColorParts2, v)
  1860. end
  1861. if last then
  1862. local w = Instance.new("Weld")
  1863. w.Part0, w.Part1 = last, v
  1864. w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse()
  1865. w.Parent = last
  1866. end
  1867. table.insert(all, v)
  1868. last = v
  1869. end
  1870. scan(v)
  1871. end
  1872. end
  1873. scan(Model)
  1874. for _, v in pairs(all) do
  1875. v.Anchored = false
  1876. v.CanCollide = false
  1877. end
  1878. Model.Parent = Character
  1879. local eye1 = Instance.new("Part")
  1880. eye1.Parent = Character
  1881. eye1.Size = Vector3.new(0.2, 0.2, 0.2)
  1882. eye1.Archivable = true
  1883. eye1.Transparency = 0
  1884. eye1.Shape = "Ball"
  1885. eye1.BrickColor = maincolor
  1886. eye1.Material = "Neon"
  1887. eye1.CanCollide = false
  1888. local mesh = Instance.new("SpecialMesh", eye1)
  1889. mesh.MeshType = "Sphere"
  1890. mesh.Scale = Vector3.new(1.2, 1.2, 1)
  1891. local weld1en = Instance.new("Weld")
  1892. weld1en.Parent = Character.Head
  1893. weld1en.Part0 = Character.Head
  1894. weld1en.Part1 = eye1
  1895. weld1en.C1 = CFrame.new(-0.18, -0.16, 0.5175)
  1896. table.insert(NeonColorParts, eye1)
  1897. for i, v in pairs(NeonColorParts) do
  1898. v.BrickColor = maincolor
  1899. end
  1900. local Services = {
  1901. SoundService = game:GetService("SoundService"),
  1902. Players = game:GetService("Players"),
  1903. Debris = game:GetService("Debris"),
  1904. Workspace = game:GetService("Workspace"),
  1905. Lighting = game:GetService("Lighting"),
  1906. HttpService = game:GetService("HttpService"),
  1907. InsertService = game:GetService("InsertService")
  1908. }
  1909. local NeckCF = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1910. Humanoid.Animator:Destroy()
  1911. Character.Animate:Destroy()
  1912. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  1913. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  1914. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  1915. EyeW = Instance.new("Weld")
  1916. EyeW.Name = "EyeW"
  1917. EyeW.Parent = Head
  1918. EyeW.Part0 = Eye
  1919. EyeW.C1 = cn(-test, test2 + 0.145, -test3)
  1920. EyeW.Part1 = Head
  1921. SWW = Instance.new("Weld")
  1922. SWW.Name = "SWW"
  1923. SWW.Part0 = RightArm
  1924. SWW.C0 = cn(0, 0, 0) * angles(math.rad(180), math.rad(-90), math.rad(0))
  1925. SWW.C1 = cn(0, 0, 0)
  1926. SWW.Part1 = SwHandle
  1927. SWW.Parent = RightArm
  1928. RSH, LSH = nil, nil
  1929. RW = Instance.new("Weld")
  1930. LW = Instance.new("Weld")
  1931. RH = Torso["Right Hip"]
  1932. LH = Torso["Left Hip"]
  1933. RSH = Torso["Right Shoulder"]
  1934. LSH = Torso["Left Shoulder"]
  1935. RSH.Parent = nil
  1936. LSH.Parent = nil
  1937. RW.Name = "RW"
  1938. RW.Part0 = Torso
  1939. RW.C0 = cn(1.5, 0.5, 0)
  1940. RW.C1 = cn(0, 0.5, 0)
  1941. RW.Part1 = RightArm
  1942. RW.Parent = Torso
  1943. LW.Name = "LW"
  1944. LW.Part0 = Torso
  1945. LW.C0 = cn(-1.5, 0.5, 0)
  1946. LW.C1 = cn(0, 0.5, 0)
  1947. LW.Part1 = LeftArm
  1948. LW.Parent = Torso
  1949. function clerp(a, b, t)
  1950. local qa = {
  1951. QuaternionFromCFrame(a)
  1952. }
  1953. local qb = {
  1954. QuaternionFromCFrame(b)
  1955. }
  1956. local ax, ay, az = a.x, a.y, a.z
  1957. local bx, by, bz = b.x, b.y, b.z
  1958. local _t = 1 - t
  1959. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1960. end
  1961. function QuaternionFromCFrame(cf)
  1962. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1963. local trace = m00 + m11 + m22
  1964. if trace > 0 then
  1965. local s = math.sqrt(1 + trace)
  1966. local recip = 0.5 / s
  1967. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1968. else
  1969. local i = 0
  1970. if m00 < m11 then
  1971. i = 1
  1972. end
  1973. if m22 > (i == 0 and m00 or m11) then
  1974. i = 2
  1975. end
  1976. if i == 0 then
  1977. local s = math.sqrt(m00 - m11 - m22 + 1)
  1978. local recip = 0.5 / s
  1979. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1980. elseif i == 1 then
  1981. local s = math.sqrt(m11 - m22 - m00 + 1)
  1982. local recip = 0.5 / s
  1983. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1984. elseif i == 2 then
  1985. local s = math.sqrt(m22 - m00 - m11 + 1)
  1986. local recip = 0.5 / s
  1987. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1988. end
  1989. end
  1990. end
  1991. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1992. local xs, ys, zs = x + x, y + y, z + z
  1993. local wx, wy, wz = w * xs, w * ys, w * zs
  1994. local xx = x * xs
  1995. local xy = x * ys
  1996. local xz = x * zs
  1997. local yy = y * ys
  1998. local yz = y * zs
  1999. local zz = z * zs
  2000. 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))
  2001. end
  2002. function QuaternionSlerp(a, b, t)
  2003. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  2004. local startInterp, finishInterp
  2005. if cosTheta >= 1.0E-4 then
  2006. if 1 - cosTheta > 1.0E-4 then
  2007. local theta = math.acos(cosTheta)
  2008. local invSinTheta = 1 / math.sin(theta)
  2009. startInterp = math.sin((1 - t) * theta) * invSinTheta
  2010. finishInterp = math.sin(t * theta) * invSinTheta
  2011. else
  2012. startInterp = 1 - t
  2013. finishInterp = t
  2014. end
  2015. elseif 1 + cosTheta > 1.0E-4 then
  2016. local theta = math.acos(-cosTheta)
  2017. local invSinTheta = 1 / math.sin(theta)
  2018. startInterp = math.sin((t - 1) * theta) * invSinTheta
  2019. finishInterp = math.sin(t * theta) * invSinTheta
  2020. else
  2021. startInterp = t - 1
  2022. finishInterp = t
  2023. end
  2024. 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
  2025. end
  2026. ty")
  2027. local Create = RbxUtility.Create
  2028. function RemoveOutlines(part)
  2029. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  2030. end
  2031. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2032. local Part = Create("Part")({
  2033. formFactor = FormFactor,
  2034. Parent = Parent,
  2035. Reflectance = Reflectance,
  2036. Transparency = Transparency,
  2037. CanCollide = false,
  2038. Locked = true,
  2039. BrickColor = BrickColor.new(tostring(BColor)),
  2040. Name = Name,
  2041. Size = Size,
  2042. Material = Material
  2043. })
  2044. RemoveOutlines(Part)
  2045. return Part
  2046. end
  2047. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2048. local Msh = Create(Mesh)({
  2049. Parent = Part,
  2050. Offset = OffSet,
  2051. Scale = Scale
  2052. })
  2053. if Mesh == "SpecialMesh" then
  2054. Msh.MeshType = MeshType
  2055. Msh.MeshId = MeshId
  2056. end
  2057. return Msh
  2058. end
  2059. function CreateWeld(Parent, Part0, Part1, C0, C1)
  2060. local Weld = Create("Weld")({
  2061. Parent = Parent,
  2062. Part0 = Part0,
  2063. Part1 = Part1,
  2064. C0 = C0,
  2065. C1 = C1
  2066. })
  2067. return Weld
  2068. end
  2069. function rayCast(Position, Direction, Range, Ignore)
  2070. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  2071. end
  2072. function CreateSound(id, par, vol, pit)
  2073. coroutine.resume(coroutine.create(function()
  2074. local sou = Instance.new("Sound", par or workspace)
  2075. sou.Volume = vol
  2076. sou.Pitch = pit or 1
  2077. sou.SoundId = id
  2078. wait()
  2079. sou:play()
  2080. game:GetService("Debris"):AddItem(sou, 6)
  2081. end))
  2082. end
  2083. function CreateSong(id, par, vol, pit)
  2084. coroutine.resume(coroutine.create(function()
  2085. sou2 = Instance.new("Sound", par or workspace)
  2086. sou2.Volume = vol
  2087. sou2.Pitch = 1
  2088. sou2.SoundId = id
  2089. wait()
  2090. sou2:play()
  2091. sou2.Looped = true
  2092. end))
  2093. end
  2094. local function getclosest(obj, distance)
  2095. local last, lastx = distance + 1, nil
  2096. for i, v in pairs(workspace:GetChildren()) do
  2097. if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
  2098. local t = v.Torso
  2099. local dist = (t.Position - obj.Position).magnitude
  2100. if distance >= dist and last > dist then
  2101. last = dist
  2102. lastx = v
  2103. end
  2104. end
  2105. end
  2106. return lastx
  2107. end
  2108. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2109. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2110. prt.Anchored = true
  2111. prt.CFrame = cframe
  2112. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2113. game:GetService("Debris"):AddItem(prt, 10)
  2114. if Type == 1 or Type == nil then
  2115. table.insert(Effects, {
  2116. prt,
  2117. "Block1",
  2118. delay,
  2119. x3,
  2120. y3,
  2121. z3,
  2122. msh
  2123. })
  2124. elseif Type == 2 then
  2125. table.insert(Effects, {
  2126. prt,
  2127. "Block2",
  2128. delay,
  2129. x3,
  2130. y3,
  2131. z3,
  2132. msh
  2133. })
  2134. elseif Type == 3 then
  2135. table.insert(Effects, {
  2136. prt,
  2137. "Block3",
  2138. delay,
  2139. x3,
  2140. y3,
  2141. z3,
  2142. msh
  2143. })
  2144. end
  2145. end
  2146. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2147. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2148. prt.Anchored = true
  2149. prt.CFrame = cframe
  2150. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2151. game:GetService("Debris"):AddItem(prt, 10)
  2152. table.insert(Effects, {
  2153. prt,
  2154. "Cylinder",
  2155. delay,
  2156. x3,
  2157. y3,
  2158. z3,
  2159. msh
  2160. })
  2161. end
  2162. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2163. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2164. prt.Anchored = true
  2165. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  2166. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2167. game:GetService("Debris"):AddItem(prt, 10)
  2168. table.insert(Effects, {
  2169. prt,
  2170. "Cylinder",
  2171. delay,
  2172. x3,
  2173. y3,
  2174. z3,
  2175. msh
  2176. })
  2177. end
  2178. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2179. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2180. prt.Anchored = true
  2181. prt.CFrame = cframe
  2182. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2183. game:GetService("Debris"):AddItem(prt, 10)
  2184. table.insert(Effects, {
  2185. prt,
  2186. "Cylinder",
  2187. delay,
  2188. x3,
  2189. y3,
  2190. z3,
  2191. msh
  2192. })
  2193. end
  2194. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2195. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2196. prt.Anchored = true
  2197. prt.CFrame = cframe
  2198. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2199. game:GetService("Debris"):AddItem(prt, 10)
  2200. table.insert(Effects, {
  2201. prt,
  2202. "Cylinder",
  2203. delay,
  2204. x3,
  2205. y3,
  2206. z3,
  2207. msh
  2208. })
  2209. end
  2210. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2211. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2212. prt.Anchored = true
  2213. prt.CFrame = cframe
  2214. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2215. game:GetService("Debris"):AddItem(prt, 10)
  2216. table.insert(Effects, {
  2217. prt,
  2218. "Cylinder",
  2219. delay,
  2220. x3,
  2221. y3,
  2222. z3,
  2223. msh
  2224. })
  2225. end
  2226. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  2227. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2228. prt.Anchored = true
  2229. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2230. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2231. local num = math.random(10, 50) / 1000
  2232. game:GetService("Debris"):AddItem(prt, 10)
  2233. table.insert(Effects, {
  2234. prt,
  2235. "Shatter",
  2236. num,
  2237. prt.CFrame,
  2238. math.random() - math.random(),
  2239. 0,
  2240. math.random(50, 100) / 100
  2241. })
  2242. end
  2243. for i = 0, 1, 0.05 do
  2244. swait()
  2245. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  2246. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), 0.1)
  2247. 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)
  2248. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  2249. if Torsovelocity.y > 2 then
  2250. 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)
  2251. 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)
  2252. 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)
  2253. elseif Torsovelocity.y < 1 then
  2254. 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)
  2255. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), 0.1)
  2256. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), 0.1)
  2257. end
  2258. end
  2259. attack = false
  2260. game:GetService("RunService").Stepped:connect(function()
  2261. Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  2262. velocity = RootPart.Velocity.y
  2263. sine = sine + change
  2264. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  2265. if equipped == true or equipped == false then
  2266. if RootPart.Velocity.y > -1 and hit == nil then
  2267. Anim = "Jump"
  2268. inair = true
  2269. if attack == false then
  2270. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-9), math.rad(0), math.rad(0)), 0.1)
  2271. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  2272. 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)
  2273. 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)
  2274. RH.C0 = clerp(RH.C0, cn(1, -0.8, -0.5) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), 0.3)
  2275. LH.C0 = clerp(LH.C0, cn(-1, -1, -0.1) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), 0.3)
  2276. end
  2277. elseif RootPart.Velocity.y < -1 and hit == nil then
  2278. Anim = "Fall"
  2279. inair = true
  2280. if attack == false then
  2281. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  2282. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  2283. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.05)
  2284. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.1)
  2285. RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1)
  2286. LH.C0 = clerp(LH.C0, cn(-1, -0.8, -0.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1)
  2287. end
  2288. elseif (Torso.Velocity).magnitude < 1 and hit ~= nil then
  2289. Anim = "Idle"
  2290. inair = false
  2291. if attack == false then
  2292. Humanoid.JumpPower = 50
  2293. if elementmode == "Mode 1" then
  2294. change = 0.8
  2295. 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)
  2296. 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)
  2297. 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)
  2298. 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)
  2299. 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)
  2300. 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)
  2301. elseif elementmode == "Mode 2" then
  2302. change = 0.8
  2303. 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)
  2304. 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)
  2305. 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)
  2306. 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)
  2307. 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)
  2308. 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)
  2309. elseif elementmode == "Mode 3" then
  2310. change = 0.8
  2311. 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)
  2312. 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)
  2313. 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)
  2314. 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)
  2315. 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)
  2316. 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)
  2317. elseif elementmode == "Mode 4" then
  2318. change = 0.6
  2319. 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)
  2320. 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)
  2321. 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)
  2322. 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)
  2323. 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)
  2324. 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)
  2325. elseif elementmode == "Mode 5" then
  2326. change = 0.8
  2327. 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)
  2328. 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)
  2329. 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)
  2330. 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)
  2331. 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)
  2332. 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)
  2333. elseif elementmode == "Mode 6" then
  2334. change = 0.5
  2335. 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)
  2336. 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)
  2337. 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)
  2338. 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)
  2339. 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)
  2340. 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)
  2341. end
  2342. end
  2343. elseif (Torso.Velocity).magnitude < 50 and hit ~= nil then
  2344. Anim = "Walk"
  2345. inair = false
  2346. if attack == false and Runkey == false then
  2347. if elementmode == "Mode 1" then
  2348. change = 0.9
  2349. Humanoid.WalkSpeed = 22
  2350. Humanoid.JumpPower = 50
  2351. 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)
  2352. 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)
  2353. 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)
  2354. 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)
  2355. 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)
  2356. 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)
  2357. elseif elementmode == "Mode 2" then
  2358. change = 1.4
  2359. Humanoid.WalkSpeed = 14
  2360. Humanoid.JumpPower = 60
  2361. 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)
  2362. 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)
  2363. 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)
  2364. 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)
  2365. 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)
  2366. 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)
  2367. elseif elementmode == "Mode 3" then
  2368. change = 0.9
  2369. Humanoid.WalkSpeed = 22
  2370. Humanoid.JumpPower = 60
  2371. 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)
  2372. 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)
  2373. 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)
  2374. 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)
  2375. 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)
  2376. 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)
  2377. elseif elementmode == "Mode 4" then
  2378. change = 1.1
  2379. Humanoid.WalkSpeed = 9
  2380. Humanoid.JumpPower = 60
  2381. 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)
  2382. 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)
  2383. 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)
  2384. 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)
  2385. 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)
  2386. 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)
  2387. elseif elementmode == "Mode 5" then
  2388. change = 1
  2389. Humanoid.WalkSpeed = 9
  2390. Humanoid.JumpPower = 100
  2391. 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)
  2392. 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)
  2393. 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)
  2394. 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)
  2395. 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)
  2396. 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)
  2397. elseif elementmode == "Mode 6" then
  2398. BlockEffect(BrickColor.new("Gold"), RightArm.CFrame * cn(0, 0, 0.2), 19, 39, 19, 0, 0, 0, 0.15, 2)
  2399. change = 0.9
  2400. Humanoid.WalkSpeed = 42
  2401. Humanoid.JumpPower = 80
  2402. 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)
  2403. 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)
  2404. 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)
  2405. 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)
  2406. 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)
  2407. 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)
  2408. end
  2409. end
  2410. function onClimbing(speed)
  2411. if attack == false then
  2412. attack = true
  2413. Climbanim = true
  2414. Humanoid.WalkSpeed = 14
  2415. while Climbanim == true do
  2416. for i = 0, 0, 0.1 do
  2417. swait()
  2418. change = 3
  2419. if RootPart.Velocity.y > 0.01 then
  2420. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.1, 0) * angles(math.rad(-2), math.rad(0), math.rad(0)), 0.2)
  2421. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  2422. 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)
  2423. 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)
  2424. 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)
  2425. 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)
  2426. end
  2427. if RootPart.Velocity.y < 0.5 and RootPart.Velocity.y > -0.5 then
  2428. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.1, 0) * angles(math.rad(-2), math.rad(0), math.rad(0)), 0.3)
  2429. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  2430. 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)
  2431. 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)
  2432. 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)
  2433. 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)
  2434. end
  2435. if RootPart.Velocity.y < -1 then
  2436. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-2), math.rad(0), math.rad(0)), 0.2)
  2437. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  2438. 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)
  2439. 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)
  2440. 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)
  2441. 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)
  2442. end
  2443. end
  2444. if Torsovelocity.y > 1 then
  2445. Climbanim = false
  2446. end
  2447. end
  2448. attack = false
  2449. end
  2450. end
  2451. Humanoid.Climbing:connect(onClimbing)
  2452. end
  2453. end
  2454. if 0 < #Effects then
  2455. for e = 1, #Effects do
  2456. if Effects[e] ~= nil then
  2457. local Thing = Effects[e]
  2458. if Thing ~= nil then
  2459. local Part = Thing[1]
  2460. local Mode = Thing[2]
  2461. local Delay = Thing[3]
  2462. local IncX = Thing[4]
  2463. local IncY = Thing[5]
  2464. local IncZ = Thing[6]
  2465. if 1 >= Thing[1].Transparency then
  2466. if Thing[2] == "Block1" then
  2467. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2468. local Mesh = Thing[1].Mesh
  2469. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2470. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2471. elseif Thing[2] == "Block2" then
  2472. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  2473. local Mesh = Thing[7]
  2474. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2475. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2476. elseif Thing[2] == "Block3" then
  2477. 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)
  2478. local Mesh = Thing[7]
  2479. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2480. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2481. elseif Thing[2] == "Cylinder" then
  2482. local Mesh = Thing[1].Mesh
  2483. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2484. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2485. elseif Thing[2] == "Blood" then
  2486. local Mesh = Thing[7]
  2487. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2488. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2489. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2490. elseif Thing[2] == "Elec" then
  2491. local Mesh = Thing[1].Mesh
  2492. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2493. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2494. elseif Thing[2] == "Disappear" then
  2495. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2496. elseif Thing[2] == "Shatter" then
  2497. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2498. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2499. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2500. Thing[6] = Thing[6] + Thing[5]
  2501. end
  2502. else
  2503. Part.Parent = nil
  2504. table.remove(Effects, e)
  2505. end
  2506. end
  2507. end
  2508. end
  2509. end
  2510. end)
  2511. local BlackHole1 = Create("ParticleEmitter")({
  2512. Color = ColorSequence.new(Color3.new(0.7, 0, 0), Color3.new(0.1, 0, 0)),
  2513. Transparency = NumberSequence.new(0.8, 1),
  2514. Size = NumberSequence.new(3, 6),
  2515. Texture = "rbxassetid://153700391",
  2516. Lifetime = NumberRange.new(2),
  2517. Rate = 30,
  2518. VelocitySpread = 0,
  2519. Rotation = NumberRange.new(0),
  2520. RotSpeed = NumberRange.new(10),
  2521. Speed = NumberRange.new(0),
  2522. LightEmission = 0,
  2523. LockedToPart = true,
  2524. Acceleration = Vector3.new(0, 0, 0),
  2525. EmissionDirection = "Bottom"
  2526. })
  2527. Effects = {
  2528. Block = {
  2529. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2530. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2531. prt.Anchored = true
  2532. prt.CFrame = cframe
  2533. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2534. game:GetService("Debris"):AddItem(prt, 10)
  2535. if Type == 1 or Type == nil then
  2536. table.insert(Effects, {
  2537. prt,
  2538. "Block1",
  2539. delay,
  2540. x3,
  2541. y3,
  2542. z3,
  2543. msh
  2544. })
  2545. elseif Type == 2 then
  2546. table.insert(Effects, {
  2547. prt,
  2548. "Block2",
  2549. delay,
  2550. x3,
  2551. y3,
  2552. z3,
  2553. msh
  2554. })
  2555. else
  2556. table.insert(Effects, {
  2557. prt,
  2558. "Block3",
  2559. delay,
  2560. x3,
  2561. y3,
  2562. z3,
  2563. msh
  2564. })
  2565. end
  2566. end
  2567. },
  2568. Sphere = {
  2569. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2570. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2571. prt.Anchored = true
  2572. prt.CFrame = cframe
  2573. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2574. game:GetService("Debris"):AddItem(prt, 10)
  2575. table.insert(Effects, {
  2576. prt,
  2577. "Cylinder",
  2578. delay,
  2579. x3,
  2580. y3,
  2581. z3,
  2582. msh
  2583. })
  2584. end
  2585. },
  2586. Cylinder = {
  2587. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2588. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2589. prt.Anchored = true
  2590. prt.CFrame = cframe
  2591. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2592. game:GetService("Debris"):AddItem(prt, 10)
  2593. table.insert(Effects, {
  2594. prt,
  2595. "Cylinder",
  2596. delay,
  2597. x3,
  2598. y3,
  2599. z3,
  2600. msh
  2601. })
  2602. end
  2603. },
  2604. Wave = {
  2605. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2606. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2607. prt.Anchored = true
  2608. prt.CFrame = cframe
  2609. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://431164262", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  2610. game:GetService("Debris"):AddItem(prt, 10)
  2611. table.insert(Effects, {
  2612. prt,
  2613. "Cylinder",
  2614. delay,
  2615. x3 / 60,
  2616. y3 / 60,
  2617. z3 / 60,
  2618. msh
  2619. })
  2620. end
  2621. },
  2622. Ring = {
  2623. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2624. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2625. prt.Anchored = true
  2626. prt.CFrame = cframe
  2627. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2628. game:GetService("Debris"):AddItem(prt, 10)
  2629. table.insert(Effects, {
  2630. prt,
  2631. "Cylinder",
  2632. delay,
  2633. x3,
  2634. y3,
  2635. z3,
  2636. msh
  2637. })
  2638. end
  2639. },
  2640. Break = {
  2641. Create = function(brickcolor, cframe, x1, y1, z1)
  2642. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2643. prt.Anchored = true
  2644. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2645. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2646. local num = math.random(10, 50) / 1000
  2647. game:GetService("Debris"):AddItem(prt, 10)
  2648. table.insert(Effects, {
  2649. prt,
  2650. "Shatter",
  2651. num,
  2652. prt.CFrame,
  2653. math.random() - math.random(),
  2654. 0,
  2655. math.random(50, 100) / 100
  2656. })
  2657. end
  2658. }
  2659. }
  2660. function RemoveOutlines(part)
  2661. part.TopSurface = 10
  2662. end
  2663. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2664. local Part = Create("Part")({
  2665. Parent = Parent,
  2666. Reflectance = Reflectance,
  2667. Transparency = Transparency,
  2668. CanCollide = false,
  2669. Locked = true,
  2670. BrickColor = BrickColor.new(tostring(BColor)),
  2671. Name = Name,
  2672. Size = Size,
  2673. Material = Material
  2674. })
  2675. RemoveOutlines(Part)
  2676. return Part
  2677. end
  2678. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2679. local Msh = Create(Mesh)({
  2680. Parent = Part,
  2681. Offset = OffSet,
  2682. Scale = Scale
  2683. })
  2684. if Mesh == "SpecialMesh" then
  2685. Msh.MeshType = MeshType
  2686. Msh.MeshId = MeshId
  2687. end
  2688. return Msh
  2689. end
  2690. function CreateWeld(Parent, Part0, Part1, C0, C1)
  2691. local Weld = Create("Weld")({
  2692. Parent = Parent,
  2693. Part0 = Part0,
  2694. Part1 = Part1,
  2695. C0 = C0,
  2696. C1 = C1
  2697. })
  2698. return Weld
  2699. end
  2700. WSHM = {
  2701. "White",
  2702. "Pastel light red"
  2703. }
  2704. WSH = WSHM[math.random(1, #WSHM)]
  2705. function IcePartFunk(HPart, aria, Min, Max)
  2706. IcePart = Instance.new("Part", HPart)
  2707. IcePart.Size = Vector3.new(math.random(Min, Max), math.random(Min, Max), math.random(Min, Max))
  2708. IcePart.CanCollide = false
  2709. IuW = Instance.new("Weld")
  2710. IuW.Name = "GuW"
  2711. IuW.Part0 = HPart
  2712. 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))
  2713. IuW.C1 = cn(0, math.random(-aria / 2, aria / 2), 0)
  2714. IuW.Part1 = IcePart
  2715. IuW.Parent = HPart
  2716. IcePart.Transparency = 0.9
  2717. IcePart.Material = "Neon"
  2718. WSH = WSHM[math.random(1, #WSHM)]
  2719. IcePart.BrickColor = BrickColor.new("" .. WSH)
  2720. RemoveOutlines(IcePart)
  2721. game:GetService("Debris"):AddItem(IuW, 4)
  2722. game:GetService("Debris"):AddItem(IcePart, 6)
  2723. end
  2724. function GroundPartFunk2(Hit, HPart, color, aria, Min, Max, num)
  2725. IcePart2 = Instance.new("Part", HPart)
  2726. IcePart2.Size = Vector3.new(math.random(Min, Max), math.random(Min, Max), math.random(Min, Max))
  2727. IcePart2.CanCollide = false
  2728. RemoveOutlines(IcePart2)
  2729. IcePart2.Anchored = true
  2730. game:GetService("Debris"):AddItem(IcePart2, 0.4)
  2731. IcePart2.Transparency = 0.95
  2732. IcePart2.Material = "Neon"
  2733. IcePart2.BrickColor = BrickColor.new("Really black")
  2734. 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)))
  2735. for i = 0, num do
  2736. if num > 1 then
  2737. GroundPartFunk2(Hit, HPart, color, aria, Min, Max, 0)
  2738. end
  2739. end
  2740. end
  2741. SpikeMeshId = 1033714
  2742. local CreateSpike = function(Parent, Name, Color, Size, Material, Transparency, Scale)
  2743. local Part = Instance.new("Part", Parent)
  2744. Part.Name = Name
  2745. Part.BrickColor = BrickColor.new(Color)
  2746. Part.Size = Size
  2747. Part.Material = Material
  2748. Part.Transparency = Transparency
  2749. Part.CanCollide = false
  2750. RemoveOutlines(Part)
  2751. local Mesh = Instance.new("SpecialMesh", Part)
  2752. Mesh.MeshType = "Sphere"
  2753. Mesh.Scale = Scale
  2754. return Mesh and Part
  2755. end
  2756. CFuncs = {
  2757. Part = {
  2758. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2759. local Part = Create("Part")({
  2760. Parent = Parent,
  2761. Reflectance = Reflectance,
  2762. Transparency = Transparency,
  2763. CanCollide = false,
  2764. Locked = true,
  2765. BrickColor = BrickColor.new(tostring(BColor)),
  2766. Name = Name,
  2767. Size = Size,
  2768. Material = Material
  2769. })
  2770. RemoveOutlines(Part)
  2771. return Part
  2772. end
  2773. },
  2774. Mesh = {
  2775. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2776. local Msh = Create(Mesh)({
  2777. Parent = Part,
  2778. Offset = OffSet,
  2779. Scale = Scale
  2780. })
  2781. if Mesh == "SpecialMesh" then
  2782. Msh.MeshType = MeshType
  2783. Msh.MeshId = MeshId
  2784. end
  2785. return Msh
  2786. end
  2787. },
  2788. Mesh = {
  2789. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2790. local Msh = Create(Mesh)({
  2791. Parent = Part,
  2792. Offset = OffSet,
  2793. Scale = Scale
  2794. })
  2795. if Mesh == "SpecialMesh" then
  2796. Msh.MeshType = MeshType
  2797. Msh.MeshId = MeshId
  2798. end
  2799. return Msh
  2800. end
  2801. },
  2802. Weld = {
  2803. Create = function(Parent, Part0, Part1, C0, C1)
  2804. local Weld = Create("Weld")({
  2805. Parent = Parent,
  2806. Part0 = Part0,
  2807. Part1 = Part1,
  2808. C0 = C0,
  2809. C1 = C1
  2810. })
  2811. return Weld
  2812. end
  2813. },
  2814. Sound = {
  2815. Create = function(id, par, vol, pit)
  2816. coroutine.resume(coroutine.create(function()
  2817. local S = Create("Sound")({
  2818. Volume = vol,
  2819. Pitch = pit or 1,
  2820. SoundId = id,
  2821. Parent = par or workspace
  2822. })
  2823. wait()
  2824. S:play()
  2825. game:GetService("Debris"):AddItem(S, 6)
  2826. end))
  2827. end
  2828. },
  2829. ParticleEmitter = {
  2830. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  2831. local fp = Create("ParticleEmitter")({
  2832. Parent = Parent,
  2833. Color = ColorSequence.new(Color1, Color2),
  2834. LightEmission = LightEmission,
  2835. Size = Size,
  2836. Texture = Texture,
  2837. Transparency = Transparency,
  2838. ZOffset = ZOffset,
  2839. Acceleration = Accel,
  2840. Drag = Drag,
  2841. LockedToPart = LockedToPart,
  2842. VelocityInheritance = VelocityInheritance,
  2843. EmissionDirection = EmissionDirection,
  2844. Enabled = Enabled,
  2845. Lifetime = LifeTime,
  2846. Rate = Rate,
  2847. Rotation = Rotation,
  2848. RotSpeed = RotSpeed,
  2849. Speed = Speed,
  2850. VelocitySpread = VelocitySpread
  2851. })
  2852. return fp
  2853. end
  2854. }
  2855. }
  2856. function Snow(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2857. local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2858. prt.Anchored = true
  2859. prt.CFrame = cframe
  2860. prt.Material = "Neon"
  2861. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2862. game:GetService("Debris"):AddItem(prt, 10)
  2863. coroutine.resume(coroutine.create(function(Part, Mesh)
  2864. local SnowTiltX = math.random(-1, 1)
  2865. local SnowTiltY = math.random(-1, 1)
  2866. local SnowTiltZ = math.random(-1, 1)
  2867. for i = 0, 6, delay do
  2868. swait()
  2869. Part.Transparency = i
  2870. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  2871. Part.CFrame = Part.CFrame * angles(math.rad(SnowTiltX), math.rad(SnowTiltY), math.rad(SnowTiltZ)) + Vector3.new(0, -0.11, 0)
  2872. end
  2873. Part.Parent = nil
  2874. end), prt, msh)
  2875. end
  2876. function BlockLaser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2877. local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2878. prt.Anchored = true
  2879. prt.CFrame = cframe
  2880. prt.Material = "Neon"
  2881. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2882. game:GetService("Debris"):AddItem(prt, 10)
  2883. coroutine.resume(coroutine.create(function(Part, Mesh)
  2884. for i = 0, 6, delay do
  2885. swait()
  2886. Part.Transparency = i
  2887. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  2888. end
  2889. Part.Parent = nil
  2890. end), prt, msh)
  2891. end
  2892. function ShadArm(mouse, partt, SpreadAmount)
  2893. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  2894. local MainPos = partt.Position + RootPart.CFrame.lookVector * 1.5
  2895. local MainPos2 = mouse + SpreadVectors
  2896. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  2897. local speed = 1000
  2898. local num = 0
  2899. coroutine.resume(coroutine.create(function()
  2900. repeat
  2901. swait()
  2902. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  2903. local mag = (MainPos - pos).magnitude
  2904. 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)
  2905. MainPos = MainPos + MouseLook.lookVector * speed
  2906. num = num - 1
  2907. MouseLook = MouseLook * angles(math.rad(0), 0, 0)
  2908. if hit ~= nil then
  2909. num = 0
  2910. local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  2911. refpart.Anchored = true
  2912. refpart.CFrame = CFrame.new(pos)
  2913. game:GetService("Debris"):AddItem(refpart, 2)
  2914. end
  2915. if num <= 0 then
  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. if hit ~= nil then
  2920. CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1)
  2921. end
  2922. game:GetService("Debris"):AddItem(refpart, 0)
  2923. end
  2924. until num <= 0
  2925. end))
  2926. end
  2927. function Lightning(Part0, Part1, Times, Offset, Color, Thickness, Trans, SizeAdd)
  2928. local magz = (Part0 - Part1).magnitude
  2929. local curpos = Part0
  2930. local trz = {
  2931. -Offset,
  2932. Offset
  2933. }
  2934. for i = 1, Times do
  2935. local li = Instance.new("Part", Torso)
  2936. li.Name = "Lightning"
  2937. li.TopSurface = 0
  2938. li.Material = "Neon"
  2939. li.BottomSurface = 0
  2940. li.Anchored = true
  2941. li.Locked = true
  2942. li.Transparency = 0
  2943. li.BrickColor = Color
  2944. li.formFactor = "Custom"
  2945. li.CanCollide = false
  2946. li.Size = Vector3.new(Thickness, Thickness, magz / Times)
  2947. local Offzet = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  2948. local trolpos = CFrame.new(curpos, Part1) * CFrame.new(0, 0, magz / Times).p + Offzet
  2949. if Times == i then
  2950. local magz2 = (curpos - Part1).magnitude
  2951. li.Size = Vector3.new(Thickness, Thickness, magz2)
  2952. li.CFrame = CFrame.new(curpos, Part1) * CFrame.new(0, 0, -magz2 / 2)
  2953. else
  2954. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / Times / 2)
  2955. end
  2956. curpos = li.CFrame * CFrame.new(0, 0, magz / Times / 2).p
  2957. game.Debris:AddItem(li, 0.01)
  2958. BlockEffect(Color, li.CFrame, li.Size.X * 20, li.Size.Y * 20, li.Size.Z * 20, SizeAdd, SizeAdd, 0, 0.07, 2)
  2959. end
  2960. end
  2961. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  2962. if hit.Parent == nil then
  2963. return
  2964. end
  2965. local h = hit.Parent:FindFirstChild("Humanoid")
  2966. for _, v in pairs(hit.Parent:children()) do
  2967. if v:IsA("Humanoid") then
  2968. h = v
  2969. end
  2970. end
  2971. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  2972. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  2973. return
  2974. end
  2975. local c = Create("ObjectValue")({
  2976. Name = "creator",
  2977. Value = game:service("Players").apelidi0,
  2978. Parent = h
  2979. })
  2980. game:GetService("Debris"):AddItem(c, 0.5)
  2981. if HitSound ~= nil and HitPitch ~= nil then
  2982. CreateSound(HitSound, hit, 1, HitPitch)
  2983. end
  2984. local Damage = math.random(minim, maxim)
  2985. local blocked = false
  2986. local block = hit.Parent:findFirstChild("Block")
  2987. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  2988. blocked = true
  2989. block.Value = block.Value - 1
  2990. print(block.Value)
  2991. end
  2992. if blocked == false then
  2993. h.Health = h.Health - Damage
  2994. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2995. else
  2996. h.Health = h.Health - Damage / 2
  2997. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2998. end
  2999. if Type == "Knockdown" then
  3000. local hum = hit.Parent.Humanoid
  3001. hum.PlatformStand = true
  3002. coroutine.resume(coroutine.create(function(HHumanoid)
  3003. swait(0.2)
  3004. HHumanoid.PlatformStand = false
  3005. end), hum)
  3006. local angle = hit.Position - Property.Position + Vector3.new(0, 0, 0).unit
  3007. local bodvol = Create("BodyVelocity")({
  3008. velocity = angle * knockback,
  3009. P = 50,
  3010. maxForce = Vector3.new(80000, 80000, 80000),
  3011. Parent = hit
  3012. })
  3013. local rl = Create("BodyAngularVelocity")({
  3014. P = 3000,
  3015. maxTorque = Vector3.new(5000, 5000, 5000) * 50,
  3016. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  3017. Parent = hit
  3018. })
  3019. game:GetService("Debris"):AddItem(bodvol, 0.1)
  3020. game:GetService("Debris"):AddItem(rl, 0.1)
  3021. elseif Type == "Normal" then
  3022. local vp = Create("BodyVelocity")({
  3023. P = 500,
  3024. maxForce = Vector3.new(math.huge, 0, math.huge),
  3025. velocity = Property.CFrame.lookVector * knockback
  3026. })
  3027. if knockback > 0 then
  3028. vp.Parent = hit.Parent.Torso
  3029. end
  3030. game:GetService("Debris"):AddItem(vp, 0.5)
  3031. elseif Type == "Impale" then
  3032. local Spike = CreateSpike(Services.Workspace, "Ice Spike", "Really red", Vector3.new(1, 2, 1), "Neon", 0.2, Vector3.new(0.5, 25, 0.5))
  3033. Spike.Anchored = true
  3034. Spike.Rotation = Vector3.new(math.random(-45, 45), 0, math.random(-45, 45))
  3035. Spike.Position = hit.Parent.Torso.Position
  3036. Services.Debris:AddItem(Spike, 4)
  3037. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=268249319", Spike, 0.8, 2)
  3038. hit.Parent.Humanoid.PlatformStand = true
  3039. swait(1)
  3040. hit.Parent.Humanoid.PlatformStand = false
  3041. elseif Type == "Stalk" then
  3042. if hit.Parent:FindFirstChild("Torso") ~= nil then
  3043. lasthit = hit.Parent.Torso
  3044. end
  3045. local bp = Create("BodyPosition")({
  3046. P = 900,
  3047. D = 1000,
  3048. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3049. position = hit.Parent.Torso.Position,
  3050. Parent = hit.Parent.Torso
  3051. })
  3052. game:GetService("Debris"):AddItem(bp, 5)
  3053. elseif Type == "Up" then
  3054. local bodyVelocity = Create("BodyVelocity")({
  3055. velocity = Vector3.new(0, 20, 0),
  3056. P = 5000,
  3057. maxForce = Vector3.new(8000, 8000, 8000),
  3058. Parent = hit
  3059. })
  3060. game:GetService("Debris"):AddItem(bodyVelocity, 0.1)
  3061. local bodyVelocity = Create("BodyVelocity")({
  3062. velocity = Vector3.new(0, 20, 0),
  3063. P = 5000,
  3064. maxForce = Vector3.new(8000, 8000, 8000),
  3065. Parent = hit
  3066. })
  3067. game:GetService("Debris"):AddItem(bodyVelocity, 0.1)
  3068. elseif Type == "Drag" then
  3069. coroutine.resume(coroutine.create(function()
  3070. for i = 1, 10 do
  3071. ShadArm(hit.Parent.Torso.Position, RootPart, 0)
  3072. Effects.Sphere.Create(BrickColor.new("Really black"), hit.Parent.Torso.CFrame * cn(0, 0, 0), -100, -0.5, -50, -1, 0, -1, 0.05)
  3073. local ShadeArmDrag = Create("BodyPosition")({
  3074. P = 9000,
  3075. D = 1000,
  3076. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3077. position = RootPart.Position + RootPart.CFrame.lookVector * 6,
  3078. Parent = hit.Parent.Torso
  3079. })
  3080. game:GetService("Debris"):AddItem(ShadeArmDrag, 0.2)
  3081. wait()
  3082. end
  3083. end))
  3084. elseif Type == "UltSlice" then
  3085. do
  3086. local BHE = BlackHole1:Clone()
  3087. local bp2 = Create("BodyPosition")({
  3088. P = 900,
  3089. D = 1000,
  3090. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3091. position = hit.Parent.Head.Position,
  3092. Parent = hit.Parent.Torso
  3093. })
  3094. game:GetService("Debris"):AddItem(bp2, 5)
  3095. if hit.Parent:FindFirstChild("Torso") ~= nil then
  3096. coroutine.resume(coroutine.create(function()
  3097. BHE.Parent = hit.Parent.Torso
  3098. game:GetService("Debris"):AddItem(BHE, 5)
  3099. wait(3)
  3100. BHE.Rate = 0
  3101. end))
  3102. end
  3103. if hit.Parent:FindFirstChild("HumanoidRootPart") ~= nil then
  3104. for i = 1, 30 do
  3105. Effects.Break.Create(maincolor, hit.Parent.HumanoidRootPart.CFrame, 10, 0.5, 0.5)
  3106. end
  3107. end
  3108. end
  3109. elseif Type == "Slice" then
  3110. local bp2 = Create("BodyPosition")({
  3111. P = 900,
  3112. D = 1000,
  3113. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3114. position = hit.Parent.Head.Position,
  3115. Parent = hit.Parent.Torso
  3116. })
  3117. game:GetService("Debris"):AddItem(bp2, 1)
  3118. if hit.Parent:FindFirstChild("HumanoidRootPart") ~= nil then
  3119. for i = 1, 10 do
  3120. Effects.Break.Create(maincolor, hit.Parent.HumanoidRootPart.CFrame, 10, 0.5, 0.5)
  3121. end
  3122. end
  3123. elseif Type == "Snare" then
  3124. local bp = Create("BodyPosition")({
  3125. P = 900,
  3126. D = 1000,
  3127. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3128. position = hit.Parent.Torso.Position,
  3129. Parent = hit.Parent.Torso
  3130. })
  3131. game:GetService("Debris"):AddItem(bp, 1)
  3132. elseif Type == "Slowness" then
  3133. local SpeedSave = hit.Parent.Humanoid.WalkSpeed
  3134. if SpeedSave > 6 then
  3135. if elementmode == "Mode 4" then
  3136. coroutine.resume(coroutine.create(function()
  3137. for i = 1, 10 do
  3138. hit.Parent.Humanoid.WalkSpeed = hit.Parent.Humanoid.WalkSpeed - 0.5
  3139. wait()
  3140. end
  3141. end))
  3142. wait(1)
  3143. coroutine.resume(coroutine.create(function()
  3144. for i = 1, 10 do
  3145. hit.Parent.Humanoid.WalkSpeed = hit.Parent.Humanoid.WalkSpeed + 0.5
  3146. wait()
  3147. end
  3148. end))
  3149. else
  3150. coroutine.resume(coroutine.create(function()
  3151. for i = 1, 10 do
  3152. hit.Parent.Humanoid.WalkSpeed = hit.Parent.Humanoid.WalkSpeed - 0.25
  3153. wait()
  3154. end
  3155. end))
  3156. wait(1)
  3157. coroutine.resume(coroutine.create(function()
  3158. for i = 1, 10 do
  3159. hit.Parent.Humanoid.WalkSpeed = hit.Parent.Humanoid.WalkSpeed + 0.25
  3160. wait()
  3161. end
  3162. end))
  3163. end
  3164. end
  3165. elseif Type == "Firedmg" then
  3166. coroutine.resume(coroutine.create(function()
  3167. for i = 1, 10 do
  3168. if hit.Parent:FindFirstChild("Torso") ~= nil then
  3169. BlockEffect(BrickColor.new("Really black"), hit.Parent.Head.CFrame, 0, 0, 0, 2, 2, 2, 0.035, 1)
  3170. wait()
  3171. end
  3172. end
  3173. end))
  3174. elseif Type == "Freeze" then
  3175. local bp = Create("BodyPosition")({
  3176. P = 1000,
  3177. D = 1000,
  3178. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3179. position = hit.Parent.Torso.Position,
  3180. Parent = hit.Parent.Torso
  3181. })
  3182. game:GetService("Debris"):AddItem(bp, 4)
  3183. coroutine.resume(coroutine.create(function()
  3184. for i = 1, 35 do
  3185. IcePartFunk(hit.Parent.Torso, 0.6, 1, 1.5)
  3186. end
  3187. hit.Parent.Torso.Anchored = true
  3188. wait(4)
  3189. hit.Parent.Torso.Anchored = false
  3190. end))
  3191. coroutine.resume(coroutine.create(function()
  3192. for i = 1, 10 do
  3193. 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)
  3194. wait(0.4)
  3195. end
  3196. end))
  3197. elseif Type == "Freeze2" then
  3198. local BodPos = Create("BodyPosition")({
  3199. P = 50000,
  3200. D = 1000,
  3201. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3202. position = hit.Parent.Torso.Position,
  3203. Parent = hit.Parent.Torso
  3204. })
  3205. local BodGy = Create("BodyGyro")({
  3206. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  3207. P = 20000,
  3208. Parent = hit.Parent.Torso,
  3209. cframe = hit.Parent.Torso.CFrame
  3210. })
  3211. hit.Parent.Torso.Anchored = true
  3212. coroutine.resume(coroutine.create(function(Part)
  3213. swait(1.5)
  3214. Part.Anchored = false
  3215. end), hit.Parent.Torso)
  3216. game:GetService("Debris"):AddItem(BodPos, 3)
  3217. game:GetService("Debris"):AddItem(BodGy, 3)
  3218. end
  3219. local debounce = Create("BoolValue")({
  3220. Name = "DebounceHit",
  3221. Parent = hit.Parent,
  3222. Value = true
  3223. })
  3224. game:GetService("Debris"):AddItem(debounce, Delay)
  3225. c = Instance.new("ObjectValue")
  3226. c.Name = "creator"
  3227. c.Value = Player
  3228. c.Parent = h
  3229. game:GetService("Debris"):AddItem(c, 0.5)
  3230. end
  3231. end
  3232. function ShowDamage(Pos, Text, Time, Color)
  3233. local Rate = 0.033333333333333
  3234. if not Pos then
  3235. local Pos = Vector3.new(0, 0, 0)
  3236. end
  3237. local Text = Text or ""
  3238. local Time = Time or 2
  3239. if not Color then
  3240. local Color = Color3.new(1, 0, 1)
  3241. end
  3242. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  3243. EffectPart.Anchored = true
  3244. local BillboardGui = Create("BillboardGui")({
  3245. Size = UDim2.new(3, 0, 3, 0),
  3246. Adornee = EffectPart,
  3247. Parent = EffectPart
  3248. })
  3249. local TextLabel = Create("TextLabel")({
  3250. BackgroundTransparency = 1,
  3251. Size = UDim2.new(1, 0, 1, 0),
  3252. Text = Text,
  3253. TextColor3 = Color,
  3254. TextScaled = true,
  3255. Font = Enum.Font.ArialBold,
  3256. Parent = BillboardGui
  3257. })
  3258. game.Debris:AddItem(EffectPart, Time + 0.1)
  3259. EffectPart.Parent = game:GetService("Workspace")
  3260. delay(0, function()
  3261. local Frames = Time / Rate
  3262. for Frame = 1, Frames do
  3263. wait(Rate)
  3264. local Percent = Frame / Frames
  3265. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  3266. TextLabel.TextTransparency = Percent
  3267. end
  3268. if EffectPart and EffectPart.Parent then
  3269. EffectPart:Destroy()
  3270. end
  3271. end)
  3272. end
  3273. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  3274. for _, c in pairs(workspace:children()) do
  3275. local hum = c:findFirstChild("Humanoid")
  3276. if hum ~= nil then
  3277. local head = c:findFirstChild("Head")
  3278. if head ~= nil then
  3279. local targ = head.Position - Part.Position
  3280. local mag = targ.magnitude
  3281. if magni >= mag and c.Name ~= Player.Name then
  3282. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1.2)
  3283. end
  3284. end
  3285. end
  3286. end
  3287. end
  3288. function MagniKILL(Part, magni, knock, Type)
  3289. for _, c in pairs(workspace:children()) do
  3290. local hum = c:findFirstChild("Humanoid")
  3291. if hum ~= nil then
  3292. local head = c:findFirstChild("Head")
  3293. if head ~= nil then
  3294. local targ = head.Position - Part.Position
  3295. local mag = targ.magnitude
  3296. if magni >= mag and c.Name ~= Player.Name then
  3297. hum.Health = 0
  3298. end
  3299. end
  3300. end
  3301. end
  3302. end
  3303.  
  3304. ---rip cloths---
  3305. ---myface!1---
  3306.  
  3307.  
  3308.  
  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=592337949"
  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("White")
  3785. v.Material = "Metal"
  3786. v.Transparency = 0
  3787. end
  3788. for i, v in pairs(NeonColorParts) do
  3789. maincolor = BrickColor.new("White")
  3790. v.BrickColor = maincolor
  3791. v.Material = "Neon"
  3792. v.Transparency = 0
  3793. end
  3794. s.SoundId = "http://www.roblox.com/asset/?id=592337949"
  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("White")
  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=310519847"
  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("White")
  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("White")
  3845. for i, v in pairs(ArmorColorParts) do
  3846. v.BrickColor = BrickColor.new("White")
  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=863979846"
  3865. s:play()
  3866. for i, v in pairs(ArmorColorParts) do
  3867. v.BrickColor = BrickColor.new("White")
  3868. v.Material = "Plastic"
  3869. v.Transparency = 0
  3870. end
  3871. for i, v in pairs(NeonColorParts) do
  3872. maincolor = BrickColor.new("White")
  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=648405528"
  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("White")
  3890. v.Material = "Granite"
  3891. v.Transparency = 0.2
  3892. end
  3893. for i, v in pairs(NeonColorParts) do
  3894. maincolor = BrickColor.new("White")
  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("White")
  3909. v.Material = "Slate"
  3910. v.Transparency = 0.01
  3911. end
  3912. for i, v in pairs(NeonColorParts) do
  3913. maincolor = BrickColor.new("White")
  3914. v.BrickColor = maincolor
  3915. v.Material = "Neon"
  3916. v.Transparency = 0
  3917. end
  3918. eye1.Material = "Neon"
  3919. eye1.BrickColor = BrickColor.new("White")
  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=649630245"
  3928. s:play()
  3929. for i, v in pairs(ArmorColorParts) do
  3930. v.BrickColor = BrickColor.new("White")
  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.apelidi0.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.apelidi0.Character.HumanoidRootPart.Position, Vector3.new(game.Players.apelidi0:GetMouse().hit.p.x, game.Players.apelidi0.Character.HumanoidRootPart.Position.y, game.Players.apelidi0: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.apelidi0.Character.HumanoidRootPart.Position, Vector3.new(game.Players.apelidi0:GetMouse().hit.p.x, game.Players.apelidi0.Character.HumanoidRootPart.Position.y, game.Players.apelidi0: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.apelidi0.Character.HumanoidRootPart.Position, Vector3.new(game.Players.apelidi0:GetMouse().hit.p.x, game.Players.apelidi0.Character.HumanoidRootPart.Position.y, game.Players.apelidi0: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("White"), eye1.CFrame, 6, 6, 2, 0, 0, 0, 0.006, 2)
  4520. BlockEffect(BrickColor.new("White"), Head.CFrame, 21, 21, 21, 0, 0, 0, 0.005, 2)
  4521. BlockEffect(BrickColor.new("White"), Torso.CFrame, 41, 41, 21, 0, 0, 0, 0.005, 2)
  4522. BlockEffect(BrickColor.new("White"), RightArm.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2)
  4523. BlockEffect(BrickColor.new("White"), LeftArm.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2)
  4524. BlockEffect(BrickColor.new("White"), RightLeg.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2)
  4525. BlockEffect(BrickColor.new("White"), 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.  
  4590. resetmode()
  4591. newface()
  4592. ff = Instance.new("ForceField", game.Players.apelidi0.Character)
  4593. ff.Visible = false
  4594. Humanoid.Name = "God Mode"
  4595. Humanoid.MaxHealth = 1.0E298
  4596. Humanoid.Health = 1.0E298
  4597. if Humanoid.Health > 0.1 and Humanoid.Health < 1.0E298 then
  4598. Humanoid.MaxHealth = 1.0E298
  4599. Humanoid.Health = 1.0E298
  4600. end
  4601. end)
  4602. BodyParts = {}
  4603. for _, v in pairs(Character:GetChildren()) do
  4604. if v:IsA("Part") then
  4605. table.insert(BodyParts, v)
  4606. end
  4607. end
  4608. Bounding = {}
  4609. for _, v in pairs(BodyParts) do
  4610. local temp = {
  4611. X = nil,
  4612. Y = nil,
  4613. Z = nil
  4614. }
  4615. temp.X = v.Size.X / 2 * 35
  4616. temp.Y = v.Size.Y / 2 * 35
  4617. temp.Z = v.Size.Z / 2 * 35
  4618. Bounding[v.Name] = temp
  4619. end
  4620. coroutine.resume(coroutine.create(function()
  4621. while wait(0.1) do
  4622. if elementmode == "Mode 4" and attack == false then
  4623. 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)
  4624. ImageLabel1.ImageTransparency = 0.5
  4625. else
  4626. ImageLabel1.ImageTransparency = 1
  4627. end
  4628. end
  4629. end))
  4630. coroutine.resume(coroutine.create(function()
  4631. while wait(0.3) do
  4632. if elementmode == "Mode 4" and attack == false then
  4633. coroutine.resume(coroutine.create(function()
  4634. HitboxFunction(RootPart.CFrame * cn(0, -1, 0), 0, 1, 1, 1, 11, 0.6, 1, 3, "Slowness")
  4635. end))
  4636. end
  4637. if elementmode == "Mode 3" and attack == false then
  4638. local Body1 = NeonColorParts2[math.random(#NeonColorParts2)]
  4639. local Body2 = ArmorColorParts[math.random(#ArmorColorParts)]
  4640. 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)
  4641. 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)
  4642. local SPos1 = Body1.Position + Pos1
  4643. local SPos2 = Body2.Position + Pos2
  4644. Lightning(SPos1, SPos2, 4, 3, maincolor, 0.1, 0.05, -0.15)
  4645. end
  4646. if elementmode == "Mode 6" then
  4647. local Body1 = BodyParts[math.random(#BodyParts)]
  4648. local Body2 = BodyParts[math.random(#BodyParts)]
  4649. 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)
  4650. 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)
  4651. local SPos1 = Body1.Position + Pos1
  4652. local SPos2 = Body2.Position + Pos2
  4653. Lightning(SPos1, SPos2, 4, 3, maincolor, 0.05, 0.05, -0.1)
  4654. end
  4655. end
Advertisement
Add Comment
Please, Sign In to add comment