Advertisement
MrSlakyx

rUINNN

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