sneakydodge123

glove

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