Advertisement
MrSlakyx

Ruin

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