Advertisement
memberhero

Ruin 3 script

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