Advertisement
Theskyler900

mega goku power script

Jun 25th, 2017
518
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 185.00 KB | None | 0 0
  1. --[[
  2. ______ __ __ ____ __ ______
  3. / _/ _/ / \/ \ / __/___ __ _______/ /_ / / /
  4. / // / / /\/ /\ \ __/ /_/ __ \/ / / / ___/ __ \ / // /
  5. / // / / / /_/ \ \/_ __/ /_/ / /_/ / / / /_/ / / // /
  6. / // / /_/ \_\/_/ \____/\__,_/_/ /_.___/ _/ // /
  7. /__/__/ /__/__/
  8.  
  9. --]]
  10.  
  11. wait()
  12. Player = game.Players.LocalPlayer
  13. Object = Player.Character.HumanoidRootPart
  14. Arm1 = Player.Character["Right Arm"]
  15. PreviousA1 = Arm1.CFrame.p
  16. Arm2 = Player.Character["Left Arm"]
  17. PreviousA2 = Arm2.CFrame.p
  18.  
  19. Leg1 = Player.Character["Right Leg"]
  20. PreviousL1 = Leg1.CFrame.p
  21. Leg2 = Player.Character["Left Leg"]
  22. PreviousL2 = Leg2.CFrame.p
  23.  
  24. Run = game["Run Service"]
  25.  
  26. PreviousP = Object.CFrame.p
  27. Running = false
  28. Phase = false
  29. PhaseActive = false
  30. Morph = false
  31. MorphActive = false
  32. Tornado = false
  33. TornadoRadius = 50
  34. TornadoActive = false
  35. Portal = false
  36. PortalEnd = false
  37. MaxZ = 15
  38. MinZ = -15
  39. LightMaxX = 3
  40. LightMinX = 1
  41. LightMaxX2 = -1
  42. LightMinX2 = -3
  43. LightMaxY = 3
  44. LightMinY = -1
  45. Rotation = 0
  46. Length = 10
  47. Color = BrickColor.Yellow()
  48. PColor = Color3.new(255,255,0)
  49. PrevPoint1 = nil
  50. PrevPoint2 = nil
  51. PrevPoint3 = nil
  52. PrevPoint4 = nil
  53. PrevPoint5 = nil
  54. PrevPoint6 = nil
  55. PrevPoint7 = nil
  56. PrevPoint8 = nil
  57. PrevPoint9 = nil
  58. PrevPoint10 = nil
  59. PrevPoint11 = nil
  60. PrevPoint12 = nil
  61. angle = 0
  62. Mouse = Player:GetMouse()
  63. Player.Character.Humanoid.WalkSpeed = 100
  64.  
  65. Nil = function()
  66. PrevPoint1 = "Empty"
  67. PrevPoint2 = "Empty"
  68. PrevPoint3 = "Empty"
  69. PrevPoint4 = "Empty"
  70. PrevPoint5 = "Empty"
  71. PrevPoint6 = "Empty"
  72. PrevPoint7 = "Empty"
  73. PrevPoint8 = "Empty"
  74. PrevPoint9 = "Empty"
  75. PrevPoint10 = "Empty"
  76. PrevPoint11 = "Empty"
  77. PrevPoint12 = "Empty"
  78. end
  79.  
  80. local Lightning = coroutine.wrap(function()
  81. while wait() do
  82. if Portal == false then
  83. angle = angle + 0.6
  84. local Model = Instance.new("Model",workspace)
  85. Model.Name = "Lightning"
  86. local Point1 = Instance.new("Part",Model)
  87. Point1.Transparency = 1
  88. Point1.Size = Vector3.new(0.2,0.2,0.2)
  89. Point1.CFrame = Object.CFrame * CFrame.new(0,0,-(Object.Size.Z/2+Point1.Size.Z/2))
  90. Point1.Anchored = true
  91. Point1.CanCollide = false
  92. Point1.CFrame = Point1.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),-math.random(0,2))
  93.  
  94. local Point2 = Instance.new("Part",Model)
  95. Point2.Transparency = 1
  96. Point2.Size = Vector3.new(0.2,0.2,0.2)
  97. Point2.CFrame = Object.CFrame * CFrame.new(0,0,-(Object.Size.Z/2+Point2.Size.Z/2))
  98. Point2.Anchored = true
  99. Point2.CanCollide = false
  100. Point2.CFrame = Point2.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),-math.random(0,2))
  101.  
  102. local Point3 = Instance.new("Part",Model)
  103. Point3.Transparency = 1
  104. Point3.Size = Vector3.new(0.2,0.2,0.2)
  105. Point3.CFrame = Object.CFrame * CFrame.new(0,0,-(Object.Size.Z/2+Point3.Size.Z/2))
  106. Point3.Anchored = true
  107. Point3.CanCollide = false
  108. Point3.CFrame = Point3.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),-math.random(0,2))
  109.  
  110. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  111. local Light = Instance.new("Part",Model)
  112. local PointLight = Instance.new("PointLight",Light)
  113. PointLight.Range = 5
  114. PointLight.Color = PColor
  115. Light.Transparency = 0.5
  116. Light.BrickColor = Color
  117. Light.Material = "Neon"
  118. Light.Size = Vector3.new(0.25,0.25,distance)
  119. Light.Anchored = true
  120. Light.CanCollide = false
  121. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  122.  
  123. local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
  124. local Light = Instance.new("Part",Model)
  125. local PointLight = Instance.new("PointLight",Light)
  126. PointLight.Range = 5
  127. PointLight.Color = PColor
  128. Light.Transparency = 0.5
  129. Light.BrickColor = Color
  130. Light.Material = "Neon"
  131. Light.Size = Vector3.new(0.25,0.25,distance2)
  132. Light.Anchored = true
  133. Light.CanCollide = false
  134. Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
  135.  
  136. local Point1 = Instance.new("Part",Model)
  137. Point1.Transparency = 1
  138. Point1.Size = Vector3.new(0.2,0.2,0.2)
  139. Point1.CFrame = Object.CFrame * CFrame.new(0,0,(Object.Size.Z/2+Point1.Size.Z/2))
  140. Point1.Anchored = true
  141. Point1.CanCollide = false
  142. Point1.CFrame = Point1.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),math.random(0,2))
  143.  
  144. local Point2 = Instance.new("Part",Model)
  145. Point2.Transparency = 1
  146. Point2.Size = Vector3.new(0.2,0.2,0.2)
  147. Point2.CFrame = Object.CFrame * CFrame.new(0,0,(Object.Size.Z/2+Point2.Size.Z/2))
  148. Point2.Anchored = true
  149. Point2.CanCollide = false
  150. Point2.CFrame = Point2.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),math.random(0,2))
  151.  
  152. local Point3 = Instance.new("Part",Model)
  153. Point3.Transparency = 1
  154. Point3.Size = Vector3.new(0.2,0.2,0.2)
  155. Point3.CFrame = Object.CFrame * CFrame.new(0,0,(Object.Size.Z/2+Point3.Size.Z/2))
  156. Point3.Anchored = true
  157. Point3.CanCollide = false
  158. Point3.CFrame = Point3.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),math.random(0,2))
  159.  
  160. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  161. local Light = Instance.new("Part",Model)
  162. local PointLight = Instance.new("PointLight",Light)
  163. PointLight.Range = 5
  164. PointLight.Color = PColor
  165. Light.Transparency = 0.5
  166. Light.BrickColor = Color
  167. Light.Material = "Neon"
  168. Light.Size = Vector3.new(0.25,0.25,distance)
  169. Light.Anchored = true
  170. Light.CanCollide = false
  171. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  172.  
  173. local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
  174. local Light = Instance.new("Part",Model)
  175. local PointLight = Instance.new("PointLight",Light)
  176. PointLight.Range = 5
  177. PointLight.Color = PColor
  178. Light.Transparency = 0.5
  179. Light.BrickColor = Color
  180. Light.Material = "Neon"
  181. Light.Size = Vector3.new(0.3,0.3,distance2)
  182. Light.Anchored = true
  183. Light.CanCollide = false
  184. Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
  185.  
  186. local Point1 = Instance.new("Part",Model)
  187. Point1.Transparency = 1
  188. Point1.Size = Vector3.new(0.2,0.2,0.2)
  189. Point1.CFrame = Object.CFrame * CFrame.new((Object.Size.X/2+Point1.Size.X/2),0,0)
  190. Point1.Anchored = true
  191. Point1.CanCollide = false
  192. Point1.CFrame = Point1.CFrame * CFrame.new(math.random(0,2),math.random(-2,2),math.random(-2,2))
  193.  
  194. local Point2 = Instance.new("Part",Model)
  195. Point2.Transparency = 1
  196. Point2.Size = Vector3.new(0.2,0.2,0.2)
  197. Point2.CFrame = Object.CFrame * CFrame.new((Object.Size.X/2+Point1.Size.X/2),0,0)
  198. Point2.Anchored = true
  199. Point2.CanCollide = false
  200. Point2.CFrame = Point2.CFrame * CFrame.new(math.random(0,2),math.random(-2,2),math.random(-2,2))
  201.  
  202. local Point3 = Instance.new("Part",Model)
  203. Point3.Transparency = 1
  204. Point3.Size = Vector3.new(0.2,0.2,0.2)
  205. Point3.CFrame = Object.CFrame * CFrame.new((Object.Size.X/2+Point1.Size.X/2),0,0)
  206. Point3.Anchored = true
  207. Point3.CanCollide = false
  208. Point3.CFrame = Point3.CFrame * CFrame.new(math.random(0,2),math.random(-2,2),math.random(-2,2))
  209.  
  210. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  211. local Light = Instance.new("Part",Model)
  212. local PointLight = Instance.new("PointLight",Light)
  213. PointLight.Range = 5
  214. PointLight.Color = PColor
  215. Light.Transparency = 0.5
  216. Light.BrickColor = Color
  217. Light.Material = "Neon"
  218. Light.Size = Vector3.new(0.25,0.25,distance)
  219. Light.Anchored = true
  220. Light.CanCollide = false
  221. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  222.  
  223. local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
  224. local Light = Instance.new("Part",Model)
  225. local PointLight = Instance.new("PointLight",Light)
  226. PointLight.Range = 5
  227. PointLight.Color = PColor
  228. Light.Transparency = 0.5
  229. Light.BrickColor = Color
  230. Light.Material = "Neon"
  231. Light.Size = Vector3.new(0.25,0.25,distance2)
  232. Light.Anchored = true
  233. Light.CanCollide = false
  234. Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
  235.  
  236. local Point1 = Instance.new("Part",Model)
  237. Point1.Transparency = 1
  238. Point1.Size = Vector3.new(0.2,0.2,0.2)
  239. Point1.CFrame = Object.CFrame * CFrame.new(-(Object.Size.X/2+Point1.Size.X/2),0,0)
  240. Point1.Anchored = true
  241. Point1.CanCollide = false
  242. Point1.CFrame = Point1.CFrame * CFrame.new(-math.random(0,2),math.random(-2,2),math.random(-2,2))
  243.  
  244. local Point2 = Instance.new("Part",Model)
  245. Point2.Transparency = 1
  246. Point2.Size = Vector3.new(0.2,0.2,0.2)
  247. Point2.CFrame = Object.CFrame * CFrame.new(-(Object.Size.X/2+Point1.Size.X/2),0,0)
  248. Point2.Anchored = true
  249. Point2.CanCollide = false
  250. Point2.CFrame = Point2.CFrame * CFrame.new(-math.random(0,2),math.random(-2,2),math.random(-2,2))
  251.  
  252. local Point3 = Instance.new("Part",Model)
  253. Point3.Transparency = 1
  254. Point3.Size = Vector3.new(0.2,0.2,0.2)
  255. Point3.CFrame = Object.CFrame * CFrame.new(-(Object.Size.X/2+Point1.Size.X/2),0,0)
  256. Point3.Anchored = true
  257. Point3.CanCollide = false
  258. Point3.CFrame = Point3.CFrame * CFrame.new(-math.random(0,2),math.random(-2,2),math.random(-2,2))
  259.  
  260. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  261. local Light = Instance.new("Part",Model)
  262. local PointLight = Instance.new("PointLight",Light)
  263. PointLight.Range = 5
  264. PointLight.Color = PColor
  265. Light.Transparency = 0.5
  266. Light.BrickColor = Color
  267. Light.Material = "Neon"
  268. Light.Size = Vector3.new(0.25,0.25,distance)
  269. Light.Anchored = true
  270. Light.CanCollide = false
  271. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  272.  
  273. local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
  274. local Light = Instance.new("Part",Model)
  275. local PointLight = Instance.new("PointLight",Light)
  276. PointLight.Range = 5
  277. PointLight.Color = PColor
  278. Light.Transparency = 0.5
  279. Light.BrickColor = Color
  280. Light.Material = "Neon"
  281. Light.Size = Vector3.new(0.25,0.25,distance2)
  282. Light.Anchored = true
  283. Light.CanCollide = false
  284. Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
  285.  
  286. local Children = Model:GetChildren()
  287. wait(0.1)
  288. for i = 1,#Children do
  289. if Children[i]:IsA("Part") then
  290. Children[i].Transparency = 1
  291. end
  292. game.Debris:AddItem(Children[i],0)
  293. end
  294.  
  295. end
  296. end
  297. end)
  298. Lightning()
  299.  
  300. TornadoFunction = function()
  301. local TornadoModel = Instance.new("Model",workspace)
  302. local Center = Instance.new("Part",TornadoModel)
  303. Center.Anchored = true
  304. Center.CanCollide = false
  305. Center.Transparency = 1
  306. Center.Size = Vector3.new(2,2,2)
  307. Center.CFrame = Object.CFrame * CFrame.new(0,0,-20)
  308. local Death = Instance.new("Part",TornadoModel)
  309. Death.Anchored = true
  310. Death.CanCollide = false
  311. Death.Transparency = 1
  312. Death.Size = Vector3.new(TornadoRadius+10,TornadoRadius+10,TornadoRadius+10)
  313. Death.CFrame = Center.CFrame
  314. Death.Touched:connect(function(Touch)
  315. if Touch.Parent:FindFirstChild("Humanoid") ~= nil and Touch.Parent.Name ~= Player.Name then
  316. Touch.Parent.Humanoid.Health = 0
  317. end
  318. end)
  319. local TornadoFunc = function()
  320. local Tornanimation = coroutine.wrap(function()
  321. while Run.Stepped:wait() do
  322. if Tornado == false then Death:Destroy() break end
  323. angle = angle + 0.1
  324. Object.Anchored = false
  325. Object.CFrame = Center.CFrame * CFrame.Angles(0,angle,0) * CFrame.new(0,0,TornadoRadius)
  326. Object.CFrame = Object.CFrame * CFrame.Angles(0,-math.rad(90),0)
  327. end
  328. end)
  329. Tornanimation()
  330. end
  331. TornadoFunc()
  332. end
  333.  
  334. PhaseFunction = function()
  335. local Phase = coroutine.wrap(function()
  336. while wait() do
  337. if Phase == false then break end
  338. if Player.Character.Humanoid.WalkSpeed > 50 and Phase == true then
  339. Object.CFrame = Object.CFrame * CFrame.new(0,0,-Player.Character.Humanoid.WalkSpeed/20)
  340. end
  341. end
  342. end)
  343. Phase()
  344. end
  345.  
  346.  
  347. PortalFunction = function()
  348. local PortalBlock = Instance.new("Part",workspace)
  349. PortalBlock.CFrame = Object.CFrame * CFrame.new(0,0,-100)
  350. PortalBlock.Transparency = 1
  351. PortalBlock.Anchored = true
  352. PortalBlock.CanCollide = false
  353. PortalBlock.Size = Vector3.new(20,20,0.2)
  354. PortalBlock.CFrame = PortalBlock.CFrame * CFrame.new(0,(PortalBlock.Size.Y/2),0)
  355. local Gui = Instance.new("SurfaceGui",PortalBlock)
  356. local Img = Instance.new("ImageLabel",Gui)
  357. Img.Size = UDim2.new(2,0,2,0)
  358. Img.Position = UDim2.new(-0.5,0,-0.5,0)
  359. Img.Transparency = 1
  360. Img.Image = "http://www.roblox.com/asset/?id=21315275"
  361. local Gui = Instance.new("SurfaceGui",PortalBlock)
  362. Gui.Face = "Back"
  363. local Img = Instance.new("ImageLabel",Gui)
  364. Img.Size = UDim2.new(2,0,2,0)
  365. Img.Position = UDim2.new(-0.5,0,-0.5,0)
  366. Img.Transparency = 1
  367. Img.Image = "http://www.roblox.com/asset/?id=21315275"
  368. Object.CFrame = PortalBlock.CFrame
  369. local Face = Object.Parent.Head.face.Texture
  370. local ObjectC = Object.Parent:GetChildren()
  371. for i = 1,#ObjectC do
  372. if ObjectC[i]:IsA("Part") and ObjectC[i].Name ~= "HumanoidRootPart" then
  373. ObjectC[i].Transparency = 1
  374. elseif ObjectC[i]:IsA("Hat") then
  375. ObjectC[i].Handle.Transparency = 1
  376. end
  377. if ObjectC[i].Name == "Head" then
  378. ObjectC[i].face.Texture = ""
  379. end
  380. end
  381.  
  382. local PortalR = coroutine.wrap(function()
  383. wait(0.1)
  384. Portal = true
  385. PortalEnd = true
  386. while wait(0.001) do
  387. if Portal == false then
  388. break
  389. end
  390. Nil()
  391. PortalBlock.CFrame = PortalBlock.CFrame * CFrame.Angles(0,0,-0.1)
  392. wait(0.01)
  393. end
  394. PortalBlock:Destroy()
  395. for i = 1,#ObjectC do
  396. if ObjectC[i]:IsA("Part") and ObjectC[i].Name ~= "HumanoidRootPart" then
  397. ObjectC[i].Transparency = 0
  398. elseif ObjectC[i]:IsA("Hat") then
  399. ObjectC[i].Handle.Transparency = 0
  400. end
  401. if ObjectC[i].Name == "Head" then
  402. ObjectC[i].face.Texture = Face
  403. end
  404. end
  405. game.Players.LocalPlayer.Character.Part.Transparency = 1
  406. local PortalBlock = Instance.new("Part",workspace)
  407. PortalBlock.CFrame = Object.CFrame * CFrame.new(0,0,0)
  408. PortalBlock.Transparency = 1
  409. PortalBlock.Anchored = true
  410. PortalBlock.CanCollide = false
  411. PortalBlock.Size = Vector3.new(20,20,0.2)
  412. PortalBlock.CFrame = PortalBlock.CFrame * CFrame.new(0,(PortalBlock.Size.Y/2),0)
  413. local Gui = Instance.new("SurfaceGui",PortalBlock)
  414. local Img = Instance.new("ImageLabel",Gui)
  415. Img.Size = UDim2.new(2,0,2,0)
  416. Img.Position = UDim2.new(-0.5,0,-0.5,0)
  417. Img.Transparency = 1
  418. Img.Image = "http://www.roblox.com/asset/?id=21315275"
  419. local Gui = Instance.new("SurfaceGui",PortalBlock)
  420. Gui.Face = "Back"
  421. local Img = Instance.new("ImageLabel",Gui)
  422. Img.Size = UDim2.new(2,0,2,0)
  423. Img.Position = UDim2.new(-0.5,0,-0.5,0)
  424. Img.Transparency = 1
  425. Img.Image = "http://www.roblox.com/asset/?id=21315275"
  426. Object.CFrame = PortalBlock.CFrame
  427. PreviousA1 = Arm1.CFrame.p
  428. PreviousA2 = Arm2.CFrame.p
  429. PreviousL1 = Leg1.CFrame.p
  430. PreviousL2 = Leg2.CFrame.p
  431. PreviousP = Object.CFrame.p
  432. PortalEnd = false
  433. wait(2)
  434. PortalBlock:Destroy()
  435. end)
  436. PortalR()
  437. end
  438.  
  439. MorphFunction = function()
  440. local MaxX = 100
  441. local MinX = -100
  442. local MaxY = 100
  443. local MinY = -100
  444. local MaxZ = 100
  445. local MinZ = -100
  446. local Morph = coroutine.wrap(function()
  447. while Run.Stepped:wait(0.1) do
  448. if Morph == false then break end
  449. local Model = Instance.new("Model",workspace)
  450. if Player.Character:FindFirstChild("Shirt") then
  451. local Shirt = Player.Character.Shirt:Clone()
  452. Shirt.Parent = Model
  453. end
  454. if Player.Character:FindFirstChild("Pants") then
  455. local Pants = Player.Character.Pants:Clone()
  456. Pants.Parent = Model
  457. end
  458. local Humanoid = Instance.new("Humanoid",Model)
  459. local LeftArm = Player.Character["Left Arm"]:Clone()
  460. LeftArm.Parent = Model
  461. LeftArm.Transparency = 0.4
  462. LeftArm.Anchored = true
  463. LeftArm.CFrame = Player.Character["Left Arm"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
  464. local RightArm = Player.Character["Right Arm"]:Clone()
  465. RightArm.Parent = Model
  466. RightArm.Transparency = 0.4
  467. RightArm.Anchored = true
  468. RightArm.CFrame = Player.Character["Right Arm"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
  469. local LeftLeg = Player.Character["Left Leg"]:Clone()
  470. LeftLeg.Parent = Model
  471. LeftLeg.Transparency = 0.4
  472. LeftLeg.Anchored = true
  473. LeftLeg.CFrame = Player.Character["Left Leg"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
  474. local RightLeg = Player.Character["Right Leg"]:Clone()
  475. RightLeg.Parent = Model
  476. RightLeg.Transparency = 0.4
  477. RightLeg.Anchored = true
  478. RightLeg.CFrame = Player.Character["Right Leg"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
  479. local Children = Model:GetChildren()
  480. wait(0.01)
  481. for i = 1,#Children do
  482. if Children[i]:IsA("Part") then
  483. Children[i].Transparency = 1
  484. end
  485. game.Debris:AddItem(Children[i],0)
  486. end
  487. end
  488. end)
  489. Morph()
  490. end
  491.  
  492. local Guis = coroutine.wrap(function()
  493. local Gui = Instance.new("ScreenGui",Player.PlayerGui)
  494. local TextBox = Instance.new("TextBox",Gui)
  495. TextBox.Text = "Speed"
  496. TextBox.BackgroundColor3 = Color3.new(255,255,255)
  497. TextBox.BorderColor3 = Color3.new(0,0,0)
  498. TextBox.Size = UDim2.new(0,200,0,25)
  499. TextBox.Position = UDim2.new(0,10,0.5,-12.5)
  500. TextBox.FocusLost:connect(function(EnterPressed)
  501. if EnterPressed then
  502. Player.Character.Humanoid.WalkSpeed = TextBox.Text
  503. end
  504. end)
  505. local Flash = Instance.new("TextButton",Gui)
  506. Flash.BackgroundColor3 = Color3.new(255,255,255)
  507. Flash.BorderColor3 = Color3.new(0,0,0)
  508. Flash.Size = UDim2.new(0,200,0,25)
  509. Flash.Position = UDim2.new(0,10,0.5,22.5)
  510. Flash.Text = "The Flash"
  511. Flash.MouseButton1Click:connect(function()
  512. Color = BrickColor.Yellow()
  513. PColor = Color3.new(255,255,0)
  514. end)
  515. local RFlash = Instance.new("TextButton",Gui)
  516. RFlash.BackgroundColor3 = Color3.new(255,255,255)
  517. RFlash.BorderColor3 = Color3.new(0,0,0)
  518. RFlash.Size = UDim2.new(0,200,0,25)
  519. RFlash.Position = UDim2.new(0,10,0.5,57.5)
  520. RFlash.Text = "The Reverse Flash"
  521. RFlash.MouseButton1Click:connect(function()
  522. Color = BrickColor.new("Really red")
  523. PColor = Color3.new(255,0,0)
  524. end)
  525. local Zoom = Instance.new("TextButton",Gui)
  526. Zoom.BackgroundColor3 = Color3.new(255,255,255)
  527. Zoom.BorderColor3 = Color3.new(0,0,0)
  528. Zoom.Size = UDim2.new(0,200,0,25)
  529. Zoom.Position = UDim2.new(0,10,0.5,92.5)
  530. Zoom.Text = "Zoom"
  531. Zoom.MouseButton1Click:connect(function()
  532. Color = BrickColor.new("Cyan")
  533. PColor = Color3.new(0,170,255)
  534. end)
  535. local Radius = Instance.new("TextBox",Gui)
  536. Radius.Text = "Tornado Radius"
  537. Radius.BackgroundColor3 = Color3.new(255,255,255)
  538. Radius.BorderColor3 = Color3.new(0,0,0)
  539. Radius.Size = UDim2.new(0,200,0,25)
  540. Radius.Position = UDim2.new(0,10,0.5,127.5)
  541. Radius.FocusLost:connect(function(EnterPressed)
  542. if EnterPressed then
  543. TornadoRadius = Radius.Text
  544. end
  545. end)
  546. Mouse.KeyDown:connect(function(Key)
  547. if Key == "f" then
  548. if Portal == false then
  549. PortalFunction()
  550. Nil()
  551. else
  552. Portal = false
  553. end
  554. end
  555. if Key == "r" then
  556. if Phase == false then
  557. Phase = true
  558. PhaseFunction()
  559. print "PhaseFunction"
  560. else
  561. Phase = false
  562. end
  563. end
  564. if Key == "e" then
  565. if Tornado == false then
  566. Tornado = true
  567. TornadoFunction()
  568. else
  569. Tornado = false
  570. end
  571. end
  572. if Key == "t" then
  573. if Morph == false then
  574. Morph = true
  575. MorphFunction()
  576. else
  577. Morph = false
  578. end
  579. end
  580. end)
  581. end)
  582. Guis()
  583.  
  584. Run.RenderStepped:connect(function()
  585. if (Object.CFrame.p - PreviousP).magnitude > 7 and Player.Character.Humanoid.WalkSpeed > 25 and Portal == false and PortalEnd == false then
  586. local Model = Instance.new("Model",workspace)
  587. Model.Name = "Ray"
  588. local Humanoid = Instance.new("Humanoid",Model)
  589. if Player.Character:FindFirstChild("Shirt") ~= nil then
  590. Player.Character.Shirt:Clone().Parent = Model
  591. end
  592. if Player.Character:FindFirstChild("Pants") ~= nil then
  593. Player.Character.Pants:Clone().Parent = Model
  594. end
  595. local distance = (Object.CFrame.p - PreviousP).magnitude
  596. local Light = Instance.new("Part",Model)
  597. Light.Anchored = true
  598. Light.CanCollide = false
  599. Light.TopSurface = "SmoothNoOutlines"
  600. Light.BottomSurface = "SmoothNoOutlines"
  601. Light.BackSurface = "SmoothNoOutlines"
  602. Light.FrontSurface = "SmoothNoOutlines"
  603. Light.LeftSurface = "SmoothNoOutlines"
  604. Light.RightSurface = "SmoothNoOutlines"
  605. Light.Transparency = 1
  606. Light.BrickColor = BrickColor.Black()
  607. Light.Size = Vector3.new(2,2,distance)
  608. Light.CFrame = CFrame.new(Object.CFrame.p , PreviousP) * CFrame.new(0,0,-distance/2)
  609.  
  610. local PointLight = Instance.new("PointLight",Light)
  611. PointLight.Range = 15
  612. PointLight.Brightness = 100
  613. PointLight.Color = PColor
  614.  
  615. local distance = (Arm1.CFrame.p - PreviousA1).magnitude
  616.  
  617. local Arm1Light = Instance.new("Part",Model)
  618. Arm1Light.Name = "Right Arm"
  619. Arm1Light.Anchored = true
  620. Arm1Light.CanCollide = false
  621. Arm1Light.TopSurface = "SmoothNoOutlines"
  622. Arm1Light.BottomSurface = "SmoothNoOutlines"
  623. Arm1Light.BackSurface = "SmoothNoOutlines"
  624. Arm1Light.FrontSurface = "SmoothNoOutlines"
  625. Arm1Light.LeftSurface = "SmoothNoOutlines"
  626. Arm1Light.RightSurface = "SmoothNoOutlines"
  627. Arm1Light.Transparency = 0.5
  628. Arm1Light.BrickColor = BrickColor.Black()
  629. Arm1Light.Size = Vector3.new(1,2,distance)
  630. Arm1Light.CFrame = CFrame.new(Arm1.CFrame.p , PreviousA1) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
  631.  
  632. local distance = (Arm2.CFrame.p - PreviousA2).magnitude
  633.  
  634. local Arm2Light = Instance.new("Part",Model)
  635. Arm2Light.Name = "Left Arm"
  636. Arm2Light.Anchored = true
  637. Arm2Light.CanCollide = false
  638. Arm2Light.TopSurface = "SmoothNoOutlines"
  639. Arm2Light.BottomSurface = "SmoothNoOutlines"
  640. Arm2Light.BackSurface = "SmoothNoOutlines"
  641. Arm2Light.FrontSurface = "SmoothNoOutlines"
  642. Arm2Light.LeftSurface = "SmoothNoOutlines"
  643. Arm2Light.RightSurface = "SmoothNoOutlines"
  644. Arm2Light.Transparency = 0.5
  645. Arm2Light.BrickColor = BrickColor.Black()
  646. Arm2Light.Size = Vector3.new(1,2,distance)
  647. Arm2Light.CFrame = CFrame.new(Arm2.CFrame.p , PreviousA2) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
  648.  
  649. local distance = (Leg1.CFrame.p - PreviousL1).magnitude
  650.  
  651. local Leg1Light = Instance.new("Part",Model)
  652. Leg1Light.Name = "Right Leg"
  653. Leg1Light.Anchored = true
  654. Leg1Light.CanCollide = false
  655. Leg1Light.TopSurface = "SmoothNoOutlines"
  656. Leg1Light.BottomSurface = "SmoothNoOutlines"
  657. Leg1Light.BackSurface = "SmoothNoOutlines"
  658. Leg1Light.FrontSurface = "SmoothNoOutlines"
  659. Leg1Light.LeftSurface = "SmoothNoOutlines"
  660. Leg1Light.RightSurface = "SmoothNoOutlines"
  661. Leg1Light.Transparency = 0.5
  662. Leg1Light.BrickColor = BrickColor.Black()
  663. Leg1Light.Size = Vector3.new(1,2,distance)
  664. Leg1Light.CFrame = CFrame.new(Leg1.CFrame.p , PreviousL1) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
  665.  
  666. local distance = (Leg2.CFrame.p - PreviousL2).magnitude
  667.  
  668. local Leg1Light = Instance.new("Part",Model)
  669. Leg1Light.Name = "Left Leg"
  670. Leg1Light.Anchored = true
  671. Leg1Light.CanCollide = false
  672. Leg1Light.TopSurface = "SmoothNoOutlines"
  673. Leg1Light.BottomSurface = "SmoothNoOutlines"
  674. Leg1Light.BackSurface = "SmoothNoOutlines"
  675. Leg1Light.FrontSurface = "SmoothNoOutlines"
  676. Leg1Light.LeftSurface = "SmoothNoOutlines"
  677. Leg1Light.RightSurface = "SmoothNoOutlines"
  678. Leg1Light.Transparency = 0.5
  679. Leg1Light.BrickColor = BrickColor.Black()
  680. Leg1Light.Size = Vector3.new(1,2,distance)
  681. Leg1Light.CFrame = CFrame.new(Leg2.CFrame.p , PreviousL2) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
  682.  
  683. local Point1 = Instance.new("Part",Model)
  684. Point1.Transparency = 1
  685. Point1.Anchored = true
  686. Point1.CanCollide = false
  687. Point1.Size = Vector3.new(0.2,0.2,0.2)
  688. Point1.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
  689. * CFrame.new(Light.Size.X/2 ,0 ,0)
  690. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  691. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  692.  
  693. local Point2 = Instance.new("Part",Model)
  694. Point2.Transparency = 1
  695. Point2.Anchored = true
  696. Point2.CanCollide = false
  697. Point2.Size = Vector3.new(0.2,0.2,0.2)
  698. Point2.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
  699. * CFrame.new(Light.Size.X/2 ,0 ,0)
  700. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  701. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  702.  
  703. local Point5 = Instance.new("Part",Model)
  704. Point5.Transparency = 1
  705. Point5.Anchored = true
  706. Point5.CanCollide = false
  707. Point5.Size = Vector3.new(0.2,0.2,0.2)
  708. Point5.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
  709. * CFrame.new(Light.Size.X/2 ,0 ,0)
  710. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  711. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  712.  
  713. local Point6 = Instance.new("Part",Model)
  714. Point6.Transparency = 1
  715. Point6.Anchored = true
  716. Point6.CanCollide = false
  717. Point6.Size = Vector3.new(0.2,0.2,0.2)
  718. Point6.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
  719. * CFrame.new(Light.Size.X/2 ,0 ,0)
  720. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  721. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  722.  
  723. local Point3 = Instance.new("Part",Model)
  724. Point3.Transparency = 1
  725. Point3.Anchored = true
  726. Point3.CanCollide = false
  727. Point3.Size = Vector3.new(0.2,0.2,0.2)
  728. Point3.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
  729. * CFrame.new(-Light.Size.X/2 ,0 ,0)
  730. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  731. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  732.  
  733. local Point4 = Instance.new("Part",Model)
  734. Point4.Transparency = 1
  735. Point4.Anchored = true
  736. Point4.CanCollide = false
  737. Point4.Size = Vector3.new(0.2,0.2,0.2)
  738. Point4.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
  739. * CFrame.new(-Light.Size.X/2 ,0 ,0)
  740. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  741. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  742.  
  743. local Point7 = Instance.new("Part",Model)
  744. Point7.Transparency = 1
  745. Point7.Anchored = true
  746. Point7.CanCollide = false
  747. Point7.Size = Vector3.new(0.2,0.2,0.2)
  748. Point7.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
  749. * CFrame.new(-Light.Size.X/2 ,0 ,0)
  750. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  751. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  752.  
  753. local Point8 = Instance.new("Part",Model)
  754. Point8.Transparency = 1
  755. Point8.Anchored = true
  756. Point8.CanCollide = false
  757. Point8.Size = Vector3.new(0.2,0.2,0.2)
  758. Point8.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
  759. * CFrame.new(-Light.Size.X/2 ,0 ,0)
  760. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  761. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  762.  
  763. local Point9 = Instance.new("Part",Model)
  764. Point9.Transparency = 1
  765. Point9.Anchored = true
  766. Point9.CanCollide = false
  767. Point9.Size = Vector3.new(0.2,0.2,0.2)
  768. Point9.CFrame = Light.CFrame * CFrame.new(0,-1,-Light.Size.Z/2)
  769. * CFrame.new(Light.Size.X/2 ,-2 ,0)
  770. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  771. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  772.  
  773. local Point10 = Instance.new("Part",Model)
  774. Point10.Transparency = 1
  775. Point10.Anchored = true
  776. Point10.CanCollide = false
  777. Point10.Size = Vector3.new(0.2,0.2,0.2)
  778. Point10.CFrame = Light.CFrame * CFrame.new(0,-1,Light.Size.Z/2)
  779. * CFrame.new(Light.Size.X/2 ,0 ,0)
  780. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  781. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  782.  
  783. local Point11 = Instance.new("Part",Model)
  784. Point11.Transparency = 1
  785. Point11.Anchored = true
  786. Point11.CanCollide = false
  787. Point11.Size = Vector3.new(0.2,0.2,0.2)
  788. Point11.CFrame = Light.CFrame * CFrame.new(0,-1,-Light.Size.Z/2)
  789. * CFrame.new(Light.Size.X/2 ,-2 ,0)
  790. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  791. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  792.  
  793. local Point12 = Instance.new("Part",Model)
  794. Point12.Transparency = 1
  795. Point12.Anchored = true
  796. Point12.CanCollide = false
  797. Point12.Size = Vector3.new(0.2,0.2,0.2)
  798. Point12.CFrame = Light.CFrame * CFrame.new(0,-1,Light.Size.Z/2)
  799. * CFrame.new(Light.Size.X/2 ,-2 ,0)
  800. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  801. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  802.  
  803. if PrevPoint2 == nil or PrevPoint2 == "Empty" then
  804. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  805. local Light = Instance.new("Part",Model)
  806. Light.Anchored = true
  807. Light.CanCollide = false
  808. Light.TopSurface = "SmoothNoOutlines"
  809. Light.BottomSurface = "SmoothNoOutlines"
  810. Light.BackSurface = "SmoothNoOutlines"
  811. Light.FrontSurface = "SmoothNoOutlines"
  812. Light.LeftSurface = "SmoothNoOutlines"
  813. Light.RightSurface = "SmoothNoOutlines"
  814. Light.Transparency = 0
  815. Light.Size = Vector3.new(0.4,0.4,distance)
  816. Light.Material = "Neon"
  817. Light.BrickColor = Color
  818. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  819. elseif PrevPoint2 ~= nil then
  820. local distance = (Point2.CFrame.p - PrevPoint2).magnitude
  821. local Light = Instance.new("Part",Model)
  822. Light.Anchored = true
  823. Light.CanCollide = false
  824. Light.TopSurface = "SmoothNoOutlines"
  825. Light.BottomSurface = "SmoothNoOutlines"
  826. Light.BackSurface = "SmoothNoOutlines"
  827. Light.FrontSurface = "SmoothNoOutlines"
  828. Light.LeftSurface = "SmoothNoOutlines"
  829. Light.RightSurface = "SmoothNoOutlines"
  830. Light.Transparency = 0
  831. Light.Size = Vector3.new(0.4,0.4,distance)
  832. Light.Material = "Neon"
  833. Light.BrickColor = Color
  834. Light.CFrame = CFrame.new(Point2.CFrame.p , PrevPoint2) * CFrame.new(0,0,-distance/2)
  835. end
  836.  
  837. if PrevPoint4 == nil or PrevPoint4 == "Empty" then
  838. local distance = (Point4.CFrame.p - Point3.CFrame.p).magnitude
  839. local Light = Instance.new("Part",Model)
  840. Light.Anchored = true
  841. Light.CanCollide = false
  842. Light.TopSurface = "SmoothNoOutlines"
  843. Light.BottomSurface = "SmoothNoOutlines"
  844. Light.BackSurface = "SmoothNoOutlines"
  845. Light.FrontSurface = "SmoothNoOutlines"
  846. Light.LeftSurface = "SmoothNoOutlines"
  847. Light.RightSurface = "SmoothNoOutlines"
  848. Light.Transparency = 0
  849. Light.Size = Vector3.new(0.4,0.4,distance)
  850. Light.Material = "Neon"
  851. Light.BrickColor = Color
  852. Light.CFrame = CFrame.new(Point4.CFrame.p , Point3.CFrame.p) * CFrame.new(0,0,-distance/2)
  853. elseif PrevPoint4 ~= nil then
  854. local distance = (Point4.CFrame.p - PrevPoint4).magnitude
  855. local Light = Instance.new("Part",Model)
  856. Light.Anchored = true
  857. Light.CanCollide = false
  858. Light.TopSurface = "SmoothNoOutlines"
  859. Light.BottomSurface = "SmoothNoOutlines"
  860. Light.BackSurface = "SmoothNoOutlines"
  861. Light.FrontSurface = "SmoothNoOutlines"
  862. Light.LeftSurface = "SmoothNoOutlines"
  863. Light.RightSurface = "SmoothNoOutlines"
  864. Light.Transparency = 0
  865. Light.Size = Vector3.new(0.4,0.4,distance)
  866. Light.Material = "Neon"
  867. Light.BrickColor = Color
  868. Light.CFrame = CFrame.new(Point4.CFrame.p , PrevPoint4) * CFrame.new(0,0,-distance/2)
  869. end
  870.  
  871.  
  872. if PrevPoint6 == nil or PrevPoint6 == "Empty" then
  873. local distance = (Point6.CFrame.p - Point5.CFrame.p).magnitude
  874. local Light = Instance.new("Part",Model)
  875. Light.Anchored = true
  876. Light.CanCollide = false
  877. Light.TopSurface = "SmoothNoOutlines"
  878. Light.BottomSurface = "SmoothNoOutlines"
  879. Light.BackSurface = "SmoothNoOutlines"
  880. Light.FrontSurface = "SmoothNoOutlines"
  881. Light.LeftSurface = "SmoothNoOutlines"
  882. Light.RightSurface = "SmoothNoOutlines"
  883. Light.Transparency = 0
  884. Light.Size = Vector3.new(0.4,0.4,distance)
  885. Light.Material = "Neon"
  886. Light.BrickColor = Color
  887. Light.CFrame = CFrame.new(Point6.CFrame.p , Point5.CFrame.p) * CFrame.new(0,0,-distance/2)
  888. elseif PrevPoint6 ~= nil then
  889. local distance = (Point6.CFrame.p - PrevPoint6).magnitude
  890. local Light = Instance.new("Part",Model)
  891. Light.Anchored = true
  892. Light.CanCollide = false
  893. Light.TopSurface = "SmoothNoOutlines"
  894. Light.BottomSurface = "SmoothNoOutlines"
  895. Light.BackSurface = "SmoothNoOutlines"
  896. Light.FrontSurface = "SmoothNoOutlines"
  897. Light.LeftSurface = "SmoothNoOutlines"
  898. Light.RightSurface = "SmoothNoOutlines"
  899. Light.Transparency = 0
  900. Light.Size = Vector3.new(0.4,0.4,distance)
  901. Light.Material = "Neon"
  902. Light.BrickColor = Color
  903. Light.CFrame = CFrame.new(Point6.CFrame.p , PrevPoint6) * CFrame.new(0,0,-distance/2)
  904. end
  905.  
  906. if PrevPoint8 == nil or PrevPoint8 == "Empty" then
  907. local distance = (Point8.CFrame.p - Point7.CFrame.p).magnitude
  908. local Light = Instance.new("Part",Model)
  909. Light.Anchored = true
  910. Light.CanCollide = false
  911. Light.TopSurface = "SmoothNoOutlines"
  912. Light.BottomSurface = "SmoothNoOutlines"
  913. Light.BackSurface = "SmoothNoOutlines"
  914. Light.FrontSurface = "SmoothNoOutlines"
  915. Light.LeftSurface = "SmoothNoOutlines"
  916. Light.RightSurface = "SmoothNoOutlines"
  917. Light.Transparency = 0
  918. Light.Size = Vector3.new(0.4,0.4,distance)
  919. Light.Material = "Neon"
  920. Light.BrickColor = Color
  921. Light.CFrame = CFrame.new(Point8.CFrame.p , Point7.CFrame.p) * CFrame.new(0,0,-distance/2)
  922. elseif PrevPoint8 ~= nil then
  923. local distance = (Point8.CFrame.p - PrevPoint8).magnitude
  924. local Light = Instance.new("Part",Model)
  925. Light.Anchored = true
  926. Light.CanCollide = false
  927. Light.TopSurface = "SmoothNoOutlines"
  928. Light.BottomSurface = "SmoothNoOutlines"
  929. Light.BackSurface = "SmoothNoOutlines"
  930. Light.FrontSurface = "SmoothNoOutlines"
  931. Light.LeftSurface = "SmoothNoOutlines"
  932. Light.RightSurface = "SmoothNoOutlines"
  933. Light.Transparency = 0
  934. Light.Size = Vector3.new(0.4,0.4,distance)
  935. Light.Material = "Neon"
  936. Light.BrickColor = Color
  937. Light.CFrame = CFrame.new(Point8.CFrame.p , PrevPoint8) * CFrame.new(0,0,-distance/2)
  938. end
  939.  
  940. if PrevPoint10 == nil or PrevPoint10 == "Empty" then
  941. local distance = (Point10.CFrame.p - Point9.CFrame.p).magnitude
  942. local Light = Instance.new("Part",Model)
  943. Light.Anchored = true
  944. Light.CanCollide = false
  945. Light.TopSurface = "SmoothNoOutlines"
  946. Light.BottomSurface = "SmoothNoOutlines"
  947. Light.BackSurface = "SmoothNoOutlines"
  948. Light.FrontSurface = "SmoothNoOutlines"
  949. Light.LeftSurface = "SmoothNoOutlines"
  950. Light.RightSurface = "SmoothNoOutlines"
  951. Light.Transparency = 0
  952. Light.Size = Vector3.new(0.4,0.4,distance)
  953. Light.Material = "Neon"
  954. Light.BrickColor = Color
  955. Light.CFrame = CFrame.new(Point10.CFrame.p , Point9.CFrame.p) * CFrame.new(0,0,-distance/2)
  956. elseif PrevPoint10 ~= nil then
  957. local distance = (Point10.CFrame.p - PrevPoint10).magnitude
  958. local Light = Instance.new("Part",Model)
  959. Light.Anchored = true
  960. Light.CanCollide = false
  961. Light.TopSurface = "SmoothNoOutlines"
  962. Light.BottomSurface = "SmoothNoOutlines"
  963. Light.BackSurface = "SmoothNoOutlines"
  964. Light.FrontSurface = "SmoothNoOutlines"
  965. Light.LeftSurface = "SmoothNoOutlines"
  966. Light.RightSurface = "SmoothNoOutlines"
  967. Light.Transparency = 0
  968. Light.Size = Vector3.new(0.4,0.4,distance)
  969. Light.Material = "Neon"
  970. Light.BrickColor = Color
  971. Light.CFrame = CFrame.new(Point10.CFrame.p , PrevPoint10) * CFrame.new(0,0,-distance/2)
  972. end
  973.  
  974.  
  975. if PrevPoint12 == nil or PrevPoint12 == "Empty" then
  976. local distance = (Point12.CFrame.p - Point11.CFrame.p).magnitude
  977. local Light = Instance.new("Part",Model)
  978. Light.Anchored = true
  979. Light.CanCollide = false
  980. Light.TopSurface = "SmoothNoOutlines"
  981. Light.BottomSurface = "SmoothNoOutlines"
  982. Light.BackSurface = "SmoothNoOutlines"
  983. Light.FrontSurface = "SmoothNoOutlines"
  984. Light.LeftSurface = "SmoothNoOutlines"
  985. Light.RightSurface = "SmoothNoOutlines"
  986. Light.Transparency = 0
  987. Light.Size = Vector3.new(0.4,0.4,distance)
  988. Light.Material = "Neon"
  989. Light.BrickColor = Color
  990. Light.CFrame = CFrame.new(Point12.CFrame.p , Point11.CFrame.p) * CFrame.new(0,0,-distance/2)
  991. elseif PrevPoint12 ~= nil then
  992. local distance = (Point12.CFrame.p - PrevPoint12).magnitude
  993. local Light = Instance.new("Part",Model)
  994. Light.Anchored = true
  995. Light.CanCollide = false
  996. Light.TopSurface = "SmoothNoOutlines"
  997. Light.BottomSurface = "SmoothNoOutlines"
  998. Light.BackSurface = "SmoothNoOutlines"
  999. Light.FrontSurface = "SmoothNoOutlines"
  1000. Light.LeftSurface = "SmoothNoOutlines"
  1001. Light.RightSurface = "SmoothNoOutlines"
  1002. Light.Transparency = 0
  1003. Light.Size = Vector3.new(0.4,0.4,distance)
  1004. Light.Material = "Neon"
  1005. Light.BrickColor = Color
  1006. Light.CFrame = CFrame.new(Point12.CFrame.p , PrevPoint12) * CFrame.new(0,0,-distance/2)
  1007. end
  1008. PreviousP = Object.CFrame.p
  1009. PreviousA1 = Arm1.CFrame.p
  1010. PreviousA2 = Arm2.CFrame.p
  1011. PreviousL1 = Leg1.CFrame.p
  1012. PreviousL2 = Leg2.CFrame.p
  1013. PrevPoint1 = Point1.CFrame.p
  1014. PrevPoint2 = Point2.CFrame.p
  1015. PrevPoint3 = Point3.CFrame.p
  1016. PrevPoint4 = Point4.CFrame.p
  1017. PrevPoint5 = Point5.CFrame.p
  1018. PrevPoint6 = Point6.CFrame.p
  1019. PrevPoint7 = Point7.CFrame.p
  1020. PrevPoint8 = Point8.CFrame.p
  1021. PrevPoint9 = Point9.CFrame.p
  1022. PrevPoint10 = Point10.CFrame.p
  1023. PrevPoint11 = Point11.CFrame.p
  1024. PrevPoint12 = Point12.CFrame.p
  1025. local Children = Model:GetChildren()
  1026. wait(1)
  1027. for i = 1,10 do
  1028. local Remove = coroutine.wrap(function()
  1029. for i = 1,#Children do
  1030. if Children[i]:IsA("Part") then
  1031. Children[i].Transparency = Children[i].Transparency + 0.1
  1032. if Children[i].Transparency >= 1 and Children[i] ~= Light and Children[i] ~= Point1 and Children[i] ~= Point2 and Children[i] ~= Point3
  1033. and Children[i] ~= Point4 and Children[i] ~= Point5 and Children[i] ~= Point6 and Children[i] ~= Point7 and Children[i] ~= Point8
  1034. and Children[i] ~= Point9 and Children[i] ~= Point10 and Children[i] ~= Point11 and Children[i] ~= Point12 then
  1035. game.Debris:AddItem(Children[i],0)
  1036. end
  1037. end
  1038. if Children[i].ClassName ~= "Part" then
  1039. game.Debris:AddItem(Children[i],0)
  1040. end
  1041. end
  1042. end)
  1043. Remove()
  1044. wait(0.05)
  1045. end
  1046. game.Debris:AddItem(Light,0)
  1047. game.Debris:AddItem(Point1,0)
  1048. game.Debris:AddItem(Point2,0)
  1049. game.Debris:AddItem(Point3,0)
  1050. game.Debris:AddItem(Point4,0)
  1051. game.Debris:AddItem(Point5,0)
  1052. game.Debris:AddItem(Point6,0)
  1053. game.Debris:AddItem(Point7,0)
  1054. game.Debris:AddItem(Point8,0)
  1055. game.Debris:AddItem(Point9,0)
  1056. game.Debris:AddItem(Point10,0)
  1057. game.Debris:AddItem(Point11,0)
  1058. game.Debris:AddItem(Point12,0)
  1059. end
  1060. end)
  1061. --[[
  1062. User: TheDarkRevenant
  1063. Script: DSSJ3
  1064. Pass: QNAh3g8U
  1065.  
  1066. ]]
  1067.  
  1068. local p = game.Players.LocalPlayer
  1069. local char = p.Character
  1070. local mouse = p:GetMouse()
  1071. local larm = char["Left Arm"]
  1072. local rarm = char["Right Arm"]
  1073. local lleg = char["Left Leg"]
  1074. local rleg = char["Right Leg"]
  1075. local hed = char.Head
  1076. local torso = char.Torso
  1077. local hum = char.Humanoid
  1078. local cam = game.Workspace.CurrentCamera
  1079. local root = char.HumanoidRootPart
  1080. local deb = false
  1081. local shot = 0
  1082. local debris=game:service"Debris"
  1083. local l = game:GetService("Lighting")
  1084. local rs = game:GetService("RunService").RenderStepped
  1085. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  1086. math.randomseed(os.time())
  1087. for i,v in pairs(char:children()) do
  1088. if v:IsA("Hat") then
  1089. v:Destroy()
  1090. end
  1091. end
  1092. for i,v in pairs (hed:GetChildren()) do
  1093. if v:IsA("Sound") then
  1094. v:Destroy()
  1095. end
  1096. end
  1097. ----------------------------------------------------
  1098. Debounces = {
  1099. CanAttack = true;
  1100. NoIdl = false;
  1101. Slashing = false;
  1102. Slashed = false;
  1103. RPunch = false;
  1104. RPunched = false;
  1105. LPunch = false;
  1106. LPunched = false;
  1107. }
  1108. local Touche = {char.Name, }
  1109. ----------------------------------------------------
  1110. hed.face.Texture = "rbxassetid://34668268"
  1111. char["Body Colors"].HeadColor = BrickColor.new("Pastel brown")
  1112. char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown")
  1113. char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown")
  1114. char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown")
  1115. ----------------------------------------------------
  1116. ypcall(function()
  1117. char.Shirt:Destroy()
  1118. char.Pants:Destroy()
  1119. shirt = Instance.new("Shirt", char)
  1120. shirt.Name = "Shirt"
  1121. pants = Instance.new("Pants", char)
  1122. pants.Name = "Pants"
  1123. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=236410507"
  1124. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=236412261"
  1125. end)
  1126. ----------------------------------------------------
  1127. function lerp(a, b, t) -- Linear interpolation
  1128. return a + (b - a)*t
  1129. end
  1130.  
  1131. function slerp(a, b, t) --Spherical interpolation
  1132. dot = a:Dot(b)
  1133. if dot > 0.99999 or dot < -0.99999 then
  1134. return t <= 0.5 and a or b
  1135. else
  1136. r = math.acos(dot)
  1137. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  1138. end
  1139. end
  1140.  
  1141. function matrixInterpolate(a, b, t)
  1142. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  1143. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  1144. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  1145. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  1146. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  1147. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  1148. local t = v1:Dot(v2)
  1149. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  1150. return CFrame.new()
  1151. end
  1152. return CFrame.new(
  1153. v0.x, v0.y, v0.z,
  1154. v1.x, v1.y, v1.z,
  1155. v2.x, v2.y, v2.z,
  1156. v3.x, v3.y, v3.z)
  1157. end
  1158. ----------------------------------------------------
  1159. function genWeld(a,b)
  1160. local w = Instance.new("Weld",a)
  1161. w.Part0 = a
  1162. w.Part1 = b
  1163. return w
  1164. end
  1165. function weld(a, b)
  1166. local weld = Instance.new("Weld")
  1167. weld.Name = "W"
  1168. weld.Part0 = a
  1169. weld.Part1 = b
  1170. weld.C0 = a.CFrame:inverse() * b.CFrame
  1171. weld.Parent = a
  1172. return weld;
  1173. end
  1174. ----------------------------------------------------
  1175. function Lerp(c1,c2,al)
  1176. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  1177. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  1178. for i,v in pairs(com1) do
  1179. com1[i] = v+(com2[i]-v)*al
  1180. end
  1181. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  1182. end
  1183. ----------------------------------------------------
  1184. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  1185. local wld = Instance.new("Weld", wp1)
  1186. wld.Part0 = wp0
  1187. wld.Part1 = wp1
  1188. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  1189. end
  1190. ----------------------------------------------------
  1191. function weld5(part0, part1, c0, c1)
  1192. weeld=Instance.new("Weld", part0)
  1193. weeld.Part0=part0
  1194. weeld.Part1=part1
  1195. weeld.C0=c0
  1196. weeld.C1=c1
  1197. return weeld
  1198. end
  1199. ----------------------------------------------------
  1200. function HasntTouched(plrname)
  1201. local ret = true
  1202. for _, v in pairs(Touche) do
  1203. if v == plrname then
  1204. ret = false
  1205. end
  1206. end
  1207. return ret
  1208. end
  1209. ----------------------------------------------------
  1210. newWeld(torso, larm, -1.5, 0.5, 0)
  1211. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  1212. newWeld(torso, rarm, 1.5, 0.5, 0)
  1213. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  1214. newWeld(torso, hed, 0, 1.5, 0)
  1215. newWeld(torso, lleg, -0.5, -1, 0)
  1216. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  1217. newWeld(torso, rleg, 0.5, -1, 0)
  1218. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  1219. newWeld(root, torso, 0, -1, 0)
  1220. torso.Weld.C1 = CFrame.new(0, -1, 0)
  1221. ----------------------------------------------------
  1222. z = Instance.new("Sound", char)
  1223. z.SoundId = "rbxassetid://282572614"--303570180
  1224. z.Looped = true
  1225. z.Pitch = 1
  1226. z.Volume = 1
  1227. wait(.1)
  1228. z:Play()
  1229. ----------------------------------------------------
  1230. local Transforming = true
  1231. hum.WalkSpeed = 0
  1232. local fx = Instance.new("Part",torso)
  1233. fx.Anchored = true
  1234. fx.Material = "Neon"
  1235. fx.CanCollide = false
  1236. fx.Locked = true
  1237. fx.Transparency = 1
  1238. fx.Material = "SmoothPlastic"
  1239. fx.Size = Vector3.new(1,1,1)
  1240. fx.TopSurface = "SmoothNoOutlines"
  1241. fx.BottomSurface = "SmoothNoOutlines"
  1242. fx.BrickColor = BrickColor.new("Really black")
  1243. fxm = Instance.new("SpecialMesh",fx)
  1244. fxm.MeshType = "Sphere"
  1245. fxm.Scale = Vector3.new(1,1,1)
  1246. for i = 1, 20 do rs:wait()
  1247. fx.Transparency = fx.Transparency - (1/20)
  1248. fx.CFrame = torso.CFrame
  1249. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  1250. rs:wait()
  1251. end
  1252. ----------------------------------------------------
  1253. local m = Instance.new("Model")
  1254. m.Name = "Hair"
  1255. p1 = Instance.new("Part", m)
  1256. p1.BrickColor = BrickColor.new("Really black")
  1257. p1.FormFactor = Enum.FormFactor.Symmetric
  1258. p1.Size = Vector3.new(1, 1, 1)
  1259. p1.CFrame = CFrame.new(-2.49043155, 8.24595642, -3.40113306, -5.48362732e-006, -0.978699088, 0.205299795, 3.27825546e-007, -0.205299854, -0.978699148, 1, -5.28991222e-006, 1.48639083e-006)
  1260. p1.CanCollide = false
  1261. p1.Locked = true
  1262. p1.BottomSurface = Enum.SurfaceType.Smooth
  1263. p1.TopSurface = Enum.SurfaceType.Smooth
  1264. b1 = Instance.new("SpecialMesh", p1)
  1265. b1.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1266. b1.TextureId = ""
  1267. b1.MeshType = Enum.MeshType.FileMesh
  1268. b1.Name = "Mesh"
  1269. b1.VertexColor = Vector3.new(0, 0, 0)
  1270. b1.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  1271. p2 = Instance.new("Part", m)
  1272. p2.BrickColor = BrickColor.new("Pastel brown")
  1273. p2.Transparency = 1
  1274. p2.Name = "Head"
  1275. p2.FormFactor = Enum.FormFactor.Symmetric
  1276. p2.Size = Vector3.new(2, 1, 1)
  1277. p2.CFrame = CFrame.new(-1.70008016, 8.14794922, -3.40013027, 4.24603923e-006, 7.4505806e-008, -1, -1.50268988e-007, 1, 1.49011612e-008, 1.00000012, 6.79109462e-008, 4.23316806e-006)
  1278. p2.CanCollide = false
  1279. p2.Locked = true
  1280. p2.TopSurface = Enum.SurfaceType.Smooth
  1281. b2 = Instance.new("SpecialMesh", p2)
  1282. b2.MeshType = Enum.MeshType.Head
  1283. b2.Name = "Mesh"
  1284. b2.Scale = Vector3.new(1.25, 1.25, 1.25)
  1285. p3 = Instance.new("Part", m)
  1286. p3.BrickColor = BrickColor.new("Really black")
  1287. p3.FormFactor = Enum.FormFactor.Symmetric
  1288. p3.Size = Vector3.new(2, 2, 2)
  1289. p3.CFrame = CFrame.new(-1.70003617, 8.71796131, -3.4000442, 2.57710985e-006, 6.95607483e-008, -1.00000012, -1.20466638e-007, 1, 9.95640903e-009, 1.00000024, 3.81086345e-008, 2.56423846e-006)
  1290. p3.CanCollide = false
  1291. p3.Locked = true
  1292. p3.BottomSurface = Enum.SurfaceType.Smooth
  1293. p3.TopSurface = Enum.SurfaceType.Smooth
  1294. b3 = Instance.new("SpecialMesh", p3)
  1295. b3.MeshId = "http://www.roblox.com/asset/?id=16627529"
  1296. b3.TextureId = ""
  1297. b3.MeshType = Enum.MeshType.FileMesh
  1298. b3.Name = "Mesh"
  1299. b3.VertexColor = Vector3.new(0, 0, 0)
  1300. b3.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  1301. p4 = Instance.new("Part", m)
  1302. p4.BrickColor = BrickColor.new("Really black")
  1303. p4.FormFactor = Enum.FormFactor.Symmetric
  1304. p4.Size = Vector3.new(1, 1, 1)
  1305. p4.CFrame = CFrame.new(-1.77981007, 8.84795475, -3.40016508, 5.79576135e-006, 7.9450956e-008, -1.00000012, -1.80071311e-007, 1, 1.98458743e-008, 1.00000024, 9.77132402e-008, 5.78289018e-006)
  1306. p4.CanCollide = false
  1307. p4.Locked = true
  1308. p4.BottomSurface = Enum.SurfaceType.Smooth
  1309. p4.TopSurface = Enum.SurfaceType.Smooth
  1310. b4 = Instance.new("SpecialMesh", p4)
  1311. b4.MeshId = "http://www.roblox.com/asset/?id=19326912"
  1312. b4.TextureId = ""
  1313. b4.MeshType = Enum.MeshType.FileMesh
  1314. b4.Name = "Mesh"
  1315. b4.VertexColor = Vector3.new(0, 0, 0)
  1316. p5 = Instance.new("Part", m)
  1317. p5.BrickColor = BrickColor.new("Really black")
  1318. p5.FormFactor = Enum.FormFactor.Symmetric
  1319. p5.Size = Vector3.new(1, 1, 1)
  1320. p5.CFrame = CFrame.new(-1.70003772, 8.46796131, -3.40004301, -3.43517968e-007, 2.98088111e-007, -1, -1.00421907e-007, 1, 2.38484063e-007, 1.00000012, 1.80640072e-008, -3.56389592e-007)
  1321. p5.CanCollide = false
  1322. p5.Locked = true
  1323. p5.BottomSurface = Enum.SurfaceType.Smooth
  1324. p5.TopSurface = Enum.SurfaceType.Smooth
  1325. b5 = Instance.new("SpecialMesh", p5)
  1326. b5.MeshId = "http://www.roblox.com/asset/?id=45916884"
  1327. b5.TextureId = ""
  1328. b5.MeshType = Enum.MeshType.FileMesh
  1329. b5.Name = "Mesh"
  1330. b5.VertexColor = Vector3.new(0, 0, 0)
  1331. b5.Scale = Vector3.new(1, 0.899999976, 1)
  1332. p6 = Instance.new("Part", m)
  1333. p6.BrickColor = BrickColor.new("Really black")
  1334. p6.FormFactor = Enum.FormFactor.Symmetric
  1335. p6.Size = Vector3.new(1, 1, 1)
  1336. p6.CFrame = CFrame.new(-1.89967656, 8.58795834, -3.44990659, -5.81936433e-007, 5.36502284e-007, -0.99999994, -1.3998249e-007, 1, 4.76898265e-007, 1, 5.76247672e-008, -5.94808171e-007)
  1337. p6.CanCollide = false
  1338. p6.Locked = true
  1339. p6.BottomSurface = Enum.SurfaceType.Smooth
  1340. p6.TopSurface = Enum.SurfaceType.Smooth
  1341. b6 = Instance.new("SpecialMesh", p6)
  1342. b6.MeshId = "http://www.roblox.com/asset/?id=62246019"
  1343. b6.TextureId = ""
  1344. b6.MeshType = Enum.MeshType.FileMesh
  1345. b6.Name = "Mesh"
  1346. b6.VertexColor = Vector3.new(0, 0, 0)
  1347. p7 = Instance.new("Part", m)
  1348. p7.BrickColor = BrickColor.new("Really black")
  1349. p7.FormFactor = Enum.FormFactor.Symmetric
  1350. p7.Size = Vector3.new(1, 1, 1)
  1351. p7.CFrame = CFrame.new(-1.89918542, 8.31796837, -3.50097537, -4.62727087e-007, 5.36502228e-007, -0.999999881, -1.39982518e-007, 1, 4.76898208e-007, 0.99999994, 5.76247459e-008, -4.75598938e-007)
  1352. p7.CanCollide = false
  1353. p7.Locked = true
  1354. p7.BottomSurface = Enum.SurfaceType.Smooth
  1355. p7.TopSurface = Enum.SurfaceType.Smooth
  1356. b7 = Instance.new("SpecialMesh", p7)
  1357. b7.MeshId = "http://www.roblox.com/asset/?id=76056263"
  1358. b7.TextureId = ""
  1359. b7.MeshType = Enum.MeshType.FileMesh
  1360. b7.Name = "Mesh"
  1361. b7.VertexColor = Vector3.new(0, 0, 0)
  1362. p8 = Instance.new("Part", m)
  1363. p8.BrickColor = BrickColor.new("Really black")
  1364. p8.FormFactor = Enum.FormFactor.Symmetric
  1365. p8.Size = Vector3.new(1, 1, 1)
  1366. p8.CFrame = CFrame.new(-2.62433338, 7.66397905, -3.4010179, -1.17798254e-006, -0.805111349, 0.593123376, -2.5008859e-007, -0.593123615, -0.805111527, 0.999999881, -9.58229293e-007, 4.4941558e-007)
  1367. p8.CanCollide = false
  1368. p8.Locked = true
  1369. p8.BottomSurface = Enum.SurfaceType.Smooth
  1370. p8.TopSurface = Enum.SurfaceType.Smooth
  1371. b8 = Instance.new("SpecialMesh", p8)
  1372. b8.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1373. b8.TextureId = ""
  1374. b8.MeshType = Enum.MeshType.FileMesh
  1375. b8.Name = "Mesh"
  1376. b8.VertexColor = Vector3.new(0, 0, 0)
  1377. b8.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  1378. p9 = Instance.new("Part", m)
  1379. p9.BrickColor = BrickColor.new("Really black")
  1380. p9.FormFactor = Enum.FormFactor.Symmetric
  1381. p9.Size = Vector3.new(2, 1, 2)
  1382. p9.CFrame = CFrame.new(-1.76505995, 8.56096649, -3.40065479, -9.73168881e-007, -0.0995008349, -0.995037436, -1.70322267e-007, 0.995037675, -0.0995009243, 1, 1.13823972e-007, -6.80968242e-007)
  1383. p9.CanCollide = false
  1384. p9.Locked = true
  1385. p9.BottomSurface = Enum.SurfaceType.Smooth
  1386. p9.TopSurface = Enum.SurfaceType.Smooth
  1387. b9 = Instance.new("SpecialMesh", p9)
  1388. b9.MeshId = "http://www.roblox.com/asset/?id=12259089"
  1389. b9.TextureId = ""
  1390. b9.MeshType = Enum.MeshType.FileMesh
  1391. b9.Name = "Mesh"
  1392. b9.VertexColor = Vector3.new(0, 0, 0)
  1393. b9.Scale = Vector3.new(1.01999998, 1.04999995, 1.04999995)
  1394. p10 = Instance.new("Part", m)
  1395. p10.BrickColor = BrickColor.new("Really black")
  1396. p10.FormFactor = Enum.FormFactor.Symmetric
  1397. p10.Size = Vector3.new(1, 1, 1)
  1398. p10.CFrame = CFrame.new(-2.0207715, 9.06097031, -3.39961624, -1.10652763e-006, -0.683569431, -0.729885519, -2.85231891e-007, 0.729885638, -0.68356967, 1.00000012, -3.22293062e-007, -8.40051371e-007)
  1399. p10.CanCollide = false
  1400. p10.Locked = true
  1401. p10.BottomSurface = Enum.SurfaceType.Smooth
  1402. p10.TopSurface = Enum.SurfaceType.Smooth
  1403. b10 = Instance.new("SpecialMesh", p10)
  1404. b10.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1405. b10.TextureId = ""
  1406. b10.MeshType = Enum.MeshType.FileMesh
  1407. b10.Name = "Mesh"
  1408. b10.VertexColor = Vector3.new(0, 0, 0)
  1409. b10.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  1410. p11 = Instance.new("Part", m)
  1411. p11.BrickColor = BrickColor.new("Really black")
  1412. p11.FormFactor = Enum.FormFactor.Symmetric
  1413. p11.Size = Vector3.new(1, 1, 1)
  1414. p11.CFrame = CFrame.new(-2.16468835, 8.78595829, -3.40089417, -1.41617738e-006, -0.989475727, -0.144699216, -4.36450762e-007, 0.144699067, -0.989476085, 1.00000024, -9.47996682e-007, -7.38401468e-007)
  1415. p11.CanCollide = false
  1416. p11.Locked = true
  1417. p11.BottomSurface = Enum.SurfaceType.Smooth
  1418. p11.TopSurface = Enum.SurfaceType.Smooth
  1419. b11 = Instance.new("SpecialMesh", p11)
  1420. b11.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1421. b11.TextureId = ""
  1422. b11.MeshType = Enum.MeshType.FileMesh
  1423. b11.Name = "Mesh"
  1424. b11.VertexColor = Vector3.new(0, 0, 0)
  1425. b11.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  1426. p12 = Instance.new("Part", m)
  1427. p12.BrickColor = BrickColor.new("Really black")
  1428. p12.FormFactor = Enum.FormFactor.Custom
  1429. p12.Size = Vector3.new(1, 3.5, 1)
  1430. p12.CFrame = CFrame.new(-3.74216318, 6.74288082, -3.40101933, -1.20476273e-006, -0.553697288, 0.832718134, -3.31002866e-007, -0.832718611, -0.553697169, 1.00000036, -8.7345768e-007, 3.69213154e-007)
  1431. p12.CanCollide = false
  1432. p12.Locked = true
  1433. p12.BottomSurface = Enum.SurfaceType.Smooth
  1434. p12.TopSurface = Enum.SurfaceType.Smooth
  1435. b12 = Instance.new("SpecialMesh", p12)
  1436. b12.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1437. b12.TextureId = ""
  1438. b12.MeshType = Enum.MeshType.FileMesh
  1439. b12.Name = "Mesh"
  1440. b12.VertexColor = Vector3.new(0, 0, 0)
  1441. b12.Scale = Vector3.new(1, 3, 1.29999995)
  1442. p13 = Instance.new("Part", m)
  1443. p13.BrickColor = BrickColor.new("Really black")
  1444. p13.FormFactor = Enum.FormFactor.Custom
  1445. p13.Size = Vector3.new(1, 2, 1)
  1446. p13.CFrame = CFrame.new(-3.32689047, 6.86741829, -3.40101862, -9.81709945e-007, -0.319307148, 0.947651446, -5.6545997e-007, -0.947651923, -0.31930691, 1.00000048, -8.39551717e-007, 1.79318391e-007)
  1447. p13.CanCollide = false
  1448. p13.Locked = true
  1449. p13.BottomSurface = Enum.SurfaceType.Smooth
  1450. p13.TopSurface = Enum.SurfaceType.Smooth
  1451. b13 = Instance.new("SpecialMesh", p13)
  1452. b13.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1453. b13.TextureId = ""
  1454. b13.MeshType = Enum.MeshType.FileMesh
  1455. b13.Name = "Mesh"
  1456. b13.VertexColor = Vector3.new(0, 0, 0)
  1457. b13.Scale = Vector3.new(1, 3, 1.29999995)
  1458. p14 = Instance.new("Part", m)
  1459. p14.BrickColor = BrickColor.new("Really black")
  1460. p14.FormFactor = Enum.FormFactor.Custom
  1461. p14.Size = Vector3.new(1, 2, 1)
  1462. p14.CFrame = CFrame.new(-3.02689028, 7.96740961, -3.40101862, -1.33478545e-006, -0.750354111, 0.661036491, -5.20037702e-008, -0.661037207, -0.750354171, 1.0000006, -6.31296757e-007, 2.01137496e-007)
  1463. p14.CanCollide = false
  1464. p14.Locked = true
  1465. p14.BottomSurface = Enum.SurfaceType.Smooth
  1466. p14.TopSurface = Enum.SurfaceType.Smooth
  1467. b14 = Instance.new("SpecialMesh", p14)
  1468. b14.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1469. b14.TextureId = ""
  1470. b14.MeshType = Enum.MeshType.FileMesh
  1471. b14.Name = "Mesh"
  1472. b14.VertexColor = Vector3.new(0, 0, 0)
  1473. b14.Scale = Vector3.new(1, 3, 1.29999995)
  1474. p15 = Instance.new("Part", m)
  1475. p15.BrickColor = BrickColor.new("Really black")
  1476. p15.FormFactor = Enum.FormFactor.Custom
  1477. p15.Size = Vector3.new(1, 2.5, 1)
  1478. p15.CFrame = CFrame.new(-2.96531463, 7.75924349, -2.90101862, 0.342019022, -0.520305753, 0.782499552, -1.1920929e-007, -0.832718909, -0.553697407, 0.939693451, 0.189374983, -0.284806281)
  1479. p15.CanCollide = false
  1480. p15.Locked = true
  1481. p15.BottomSurface = Enum.SurfaceType.Smooth
  1482. p15.TopSurface = Enum.SurfaceType.Smooth
  1483. b15 = Instance.new("SpecialMesh", p15)
  1484. b15.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1485. b15.TextureId = ""
  1486. b15.MeshType = Enum.MeshType.FileMesh
  1487. b15.Name = "Mesh"
  1488. b15.VertexColor = Vector3.new(0, 0, 0)
  1489. b15.Scale = Vector3.new(1, 3, 1.29999995)
  1490. p16 = Instance.new("Part", m)
  1491. p16.BrickColor = BrickColor.new("Really black")
  1492. p16.FormFactor = Enum.FormFactor.Custom
  1493. p16.Size = Vector3.new(1, 2.5, 1)
  1494. p16.CFrame = CFrame.new(-2.96531439, 7.75924349, -3.80101967, -0.258820295, -0.534830391, 0.804343879, -1.78813934e-007, -0.832718968, -0.553697228, 0.96592629, -0.143308073, 0.215523779)
  1495. p16.CanCollide = false
  1496. p16.Locked = true
  1497. p16.BottomSurface = Enum.SurfaceType.Smooth
  1498. p16.TopSurface = Enum.SurfaceType.Smooth
  1499. b16 = Instance.new("SpecialMesh", p16)
  1500. b16.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1501. b16.TextureId = ""
  1502. b16.MeshType = Enum.MeshType.FileMesh
  1503. b16.Name = "Mesh"
  1504. b16.VertexColor = Vector3.new(0, 0, 0)
  1505. b16.Scale = Vector3.new(1, 3, 1.29999995)
  1506. p17 = Instance.new("Part", m)
  1507. p17.BrickColor = BrickColor.new("Really black")
  1508. p17.FormFactor = Enum.FormFactor.Custom
  1509. p17.Size = Vector3.new(1, 2.4000001, 1)
  1510. p17.CFrame = CFrame.new(-2.69075108, 7.07788849, -3.40101933, -1.13248825e-006, -0.319307148, 0.947651625, -1.1920929e-006, -0.947652161, -0.319306791, 1.0000006, -1.54972076e-006, 1.04308128e-007)
  1511. p17.CanCollide = false
  1512. p17.Locked = true
  1513. p17.BottomSurface = Enum.SurfaceType.Smooth
  1514. p17.TopSurface = Enum.SurfaceType.Smooth
  1515. b17 = Instance.new("SpecialMesh", p17)
  1516. b17.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1517. b17.TextureId = ""
  1518. b17.MeshType = Enum.MeshType.FileMesh
  1519. b17.Name = "Mesh"
  1520. b17.VertexColor = Vector3.new(0, 0, 0)
  1521. b17.Scale = Vector3.new(1, 3, 1.29999995)
  1522. p18 = Instance.new("Part", m)
  1523. p18.BrickColor = BrickColor.new("Really black")
  1524. p18.FormFactor = Enum.FormFactor.Custom
  1525. p18.Size = Vector3.new(2, 2, 2)
  1526. p18.CFrame = CFrame.new(-1.70003319, 8.71796608, -3.40004444, -2.37434961e-006, 1.78813934e-007, 1.00000036, -2.35242567e-007, 1.00000072, 3.27825546e-007, -1.0000006, 7.95440158e-009, -2.91315405e-006)
  1527. p18.CanCollide = false
  1528. p18.Locked = true
  1529. p18.BottomSurface = Enum.SurfaceType.Smooth
  1530. p18.TopSurface = Enum.SurfaceType.Smooth
  1531. b18 = Instance.new("SpecialMesh", p18)
  1532. b18.MeshId = "http://www.roblox.com/asset/?id=16627529"
  1533. b18.TextureId = ""
  1534. b18.MeshType = Enum.MeshType.FileMesh
  1535. b18.Name = "Mesh"
  1536. b18.VertexColor = Vector3.new(0, 0, 0)
  1537. b18.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  1538. w1 = Instance.new("Weld", p1)
  1539. w1.Name = "Head_Weld"
  1540. w1.Part0 = p1
  1541. w1.C0 = CFrame.new(3.40111661, -0.744508088, 8.58160019, -5.48362732e-006, 3.27825546e-007, 1, -0.978699088, -0.205299854, -5.30481339e-006, 0.205299824, -0.978699148, 1.49011612e-006)
  1542. w1.Part1 = p2
  1543. w1.C1 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006)
  1544. w2 = Instance.new("Weld", p2)
  1545. w2.Name = "Part_Weld"
  1546. w2.Part0 = p2
  1547. w2.C0 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006)
  1548. w2.Part1 = p3
  1549. w2.C1 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006)
  1550. w3 = Instance.new("Weld", p3)
  1551. w3.Name = "Part_Weld"
  1552. w3.Part0 = p3
  1553. w3.C0 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006)
  1554. w3.Part1 = p4
  1555. w3.C1 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006)
  1556. w4 = Instance.new("Weld", p4)
  1557. w4.Name = "Part_Weld"
  1558. w4.Part0 = p4
  1559. w4.C0 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006)
  1560. w4.Part1 = p5
  1561. w4.C1 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007)
  1562. w5 = Instance.new("Weld", p5)
  1563. w5.Name = "Part_Weld"
  1564. w5.Part0 = p5
  1565. w5.C0 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007)
  1566. w5.Part1 = p6
  1567. w5.C1 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007)
  1568. w6 = Instance.new("Weld", p6)
  1569. w6.Name = "Part_Weld"
  1570. w6.Part0 = p6
  1571. w6.C0 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007)
  1572. w6.Part1 = p7
  1573. w6.C1 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007)
  1574. w7 = Instance.new("Weld", p7)
  1575. w7.Name = "Part_Weld"
  1576. w7.Part0 = p7
  1577. w7.C0 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007)
  1578. w7.Part1 = p8
  1579. w7.C1 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007)
  1580. w8 = Instance.new("Weld", p8)
  1581. w8.Name = "Part_Weld"
  1582. w8.Part0 = p8
  1583. w8.C0 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007)
  1584. w8.Part1 = p9
  1585. w8.C1 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007)
  1586. w9 = Instance.new("Weld", p9)
  1587. w9.Name = "Part_Weld"
  1588. w9.Part0 = p9
  1589. w9.C0 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007)
  1590. w9.Part1 = p10
  1591. w9.C1 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007)
  1592. w10 = Instance.new("Weld", p10)
  1593. w10.Name = "Part_Weld"
  1594. w10.Part0 = p10
  1595. w10.C0 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007)
  1596. w10.Part1 = p11
  1597. w10.C1 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007)
  1598. w11 = Instance.new("Weld", p11)
  1599. w11.Name = "Part_Weld"
  1600. w11.Part0 = p11
  1601. w11.C0 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007)
  1602. w11.Part1 = p12
  1603. w11.C1 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007)
  1604. w12 = Instance.new("Weld", p12)
  1605. w12.Name = "Part_Weld"
  1606. w12.Part0 = p12
  1607. w12.C0 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007)
  1608. w12.Part1 = p13
  1609. w12.C1 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007)
  1610. w13 = Instance.new("Weld", p13)
  1611. w13.Name = "Part_Weld"
  1612. w13.Part0 = p13
  1613. w13.C0 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007)
  1614. w13.Part1 = p14
  1615. w13.C1 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007)
  1616. w14 = Instance.new("Weld", p14)
  1617. w14.Name = "Part_Weld"
  1618. w14.Part0 = p14
  1619. w14.C0 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007)
  1620. w14.Part1 = p15
  1621. w14.C1 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775)
  1622. w15 = Instance.new("Weld", p15)
  1623. w15.Name = "Part_Weld"
  1624. w15.Part0 = p15
  1625. w15.C0 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775)
  1626. w15.Part1 = p16
  1627. w15.C1 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928)
  1628. w16 = Instance.new("Weld", p16)
  1629. w16.Name = "Part_Weld"
  1630. w16.Part0 = p16
  1631. w16.C0 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928)
  1632. w16.Part1 = p17
  1633. w16.C1 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007)
  1634. w17 = Instance.new("Weld", p17)
  1635. w17.Name = "Part_Weld"
  1636. w17.Part0 = p17
  1637. w17.C0 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007)
  1638. w17.Part1 = p18
  1639. w17.C1 = CFrame.new(-3.40004683, -8.71796036, 1.70002675, -2.6504224e-006, -7.89943471e-008, -1, -2.47197018e-008, 1, -7.89942831e-008, 1, 2.47194887e-008, -2.6504224e-006)
  1640. m.Parent = char
  1641. m:MakeJoints()
  1642. ----------------------------------------------------
  1643. local cor = Instance.new("Part", char.Hair)
  1644. cor.Name = "Link"
  1645. cor.Locked = true
  1646. cor.BottomSurface = 0
  1647. cor.CanCollide = false
  1648. cor.Size = Vector3.new(1, 9, 1)
  1649. cor.Transparency = 1
  1650. cor.TopSurface = 0
  1651. corw = Instance.new("Weld", cor)
  1652. corw.Part0 = hed
  1653. corw.Part1 = cor
  1654. corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1655. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1656. weld1 = Instance.new("Weld", char.Hair)
  1657. weld1.Part0 = cor
  1658. weld1.Part1 = char.Hair.Head
  1659. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1660. ----------------------------------------------------
  1661. GroundWave1 = function()
  1662. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1663. local Colors = {"Royal purple", "Really black"}
  1664. local wave = Instance.new("Part", torso)
  1665. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  1666. wave.Anchored = true
  1667. wave.CanCollide = false
  1668. wave.Locked = true
  1669. wave.Size = Vector3.new(1, 1, 1)
  1670. wave.TopSurface = "Smooth"
  1671. wave.BottomSurface = "Smooth"
  1672. wave.Transparency = 0.35
  1673. wave.CFrame = HandCF
  1674. wm = Instance.new("SpecialMesh", wave)
  1675. wm.MeshId = "rbxassetid://3270017"
  1676. coroutine.wrap(function()
  1677. for i = 1, 30, 1 do
  1678. wm.Scale = Vector3.new(1 + i*1.2, 1 + i*1.2, 1)
  1679. wave.Size = wm.Scale
  1680. wave.CFrame = HandCF
  1681. wave.Transparency = i/30
  1682. wait()
  1683. end
  1684. wait()
  1685. wave:Destroy()
  1686. end)()
  1687. end
  1688. ----------------------------------------------------
  1689. GroundWave = function()
  1690. if Transforming == true then
  1691. local wave = Instance.new("Part", torso)
  1692. wave.BrickColor = BrickColor.new("Really black")
  1693. wave.Anchored = true
  1694. wave.CanCollide = false
  1695. wave.Locked = true
  1696. wave.Size = Vector3.new(1, 1, 1)
  1697. wave.TopSurface = "Smooth"
  1698. wave.BottomSurface = "Smooth"
  1699. wave.Transparency = 0.35
  1700. wave.CFrame = fx.CFrame
  1701. wm = Instance.new("SpecialMesh", wave)
  1702. wm.MeshType = "Sphere"
  1703. wm.Scale = Vector3.new(1,1,1)
  1704. coroutine.wrap(function()
  1705. for i = 1, 18, 1 do
  1706. wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2)
  1707. --wave.Size = wm.Scale
  1708. wave.CFrame = fx.CFrame
  1709. wave.Transparency = i/14
  1710. wait()
  1711. end
  1712. wait()
  1713. wave:Destroy()
  1714. end)()
  1715. elseif Transforming == false then
  1716. wait()
  1717. end
  1718. end
  1719.  
  1720. for i = 1, 100 do rs:wait()
  1721. fx.CFrame = torso.CFrame
  1722. end
  1723.  
  1724. Spawn(function()
  1725. while wait(1) do
  1726. GroundWave()
  1727. end
  1728. end)
  1729.  
  1730. wait(4)
  1731.  
  1732. Transforming = false
  1733.  
  1734. for i = 1, 20 do rs:wait()
  1735. fx.Transparency = fx.Transparency + (1/20)
  1736. fx.CFrame = torso.CFrame
  1737. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  1738. rs:wait()
  1739. end
  1740.  
  1741. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1742. local wave = Instance.new("Part", torso)
  1743. wave.BrickColor = BrickColor.new("Institutional white")
  1744. wave.Anchored = true
  1745. wave.CanCollide = false
  1746. wave.Locked = true
  1747. wave.Size = Vector3.new(1, 1, 1)
  1748. wave.TopSurface = "Smooth"
  1749. wave.BottomSurface = "Smooth"
  1750. wave.Transparency = 0.35
  1751. wave.CFrame = HandCF
  1752. wm = Instance.new("SpecialMesh", wave)
  1753. wm.MeshId = "rbxassetid://3270017"
  1754. coroutine.wrap(function()
  1755. for i = 1, 14, 1 do
  1756. wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
  1757. wave.Size = wm.Scale
  1758. wave.CFrame = HandCF
  1759. wave.Transparency = i/14
  1760. wait()
  1761. end
  1762. wait()
  1763. wave:Destroy()
  1764. end)()
  1765. hum.WalkSpeed = 16
  1766. ----------------------------------------------------
  1767. Blast = function()
  1768. local Colors = {"Really red", "Really black"}
  1769. local wave = Instance.new("Part", torso)
  1770. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  1771. wave.Anchored = true
  1772. wave.CanCollide = false
  1773. wave.Locked = true
  1774. wave.Size = Vector3.new(1, 1, 1)
  1775. wave.TopSurface = "Smooth"
  1776. wave.BottomSurface = "Smooth"
  1777. wave.Transparency = 0.35
  1778. wave.CFrame = rarm.CFrame
  1779. wm = Instance.new("SpecialMesh", wave)
  1780. wm.MeshType = "Sphere"
  1781. wm.Scale = Vector3.new(1,1,1)
  1782. z = Instance.new("Sound",wave)
  1783. z.SoundId = "rbxassetid://237035051"
  1784. z.Volume = 1
  1785. z.Pitch = .9
  1786. z:Play()
  1787. coroutine.wrap(function()
  1788. for i = 1, 30, 1 do
  1789. wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4)
  1790. --wave.Size = wm.Scale
  1791. wave.CFrame = rarm.CFrame
  1792. wave.Transparency = (1/14)
  1793. rs:wait()
  1794. end
  1795. rs:wait()
  1796. wave:Destroy()
  1797. z:Destroy()
  1798. end)()
  1799. end
  1800. ----------------------------------------------------
  1801. rarm.Touched:connect(function(ht)
  1802. hit = ht.Parent
  1803. if ht and hit:IsA("Model") then
  1804. if hit:FindFirstChild("Humanoid") then
  1805. if hit.Name ~= p.Name then
  1806. if Debounces.RPunch == true and Debounces.RPunched == false then
  1807. Debounces.RPunched = true
  1808. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  1809. if Debounces.ks==true then
  1810. z = Instance.new("Sound",hed)
  1811. z.SoundId = "rbxassetid://169380525"
  1812. z.Pitch = ptz[math.random(1,#ptz)]
  1813. z.Volume = 1
  1814. z:Play()
  1815. end
  1816. wait(.2)
  1817. Debounces.RPunched = false
  1818. end
  1819. end
  1820. end
  1821. elseif ht and hit:IsA("Hat") then
  1822. if hit.Parent.Name ~= p.Name then
  1823. if hit.Parent:FindFirstChild("Humanoid") then
  1824. if Debounces.RPunch == true and Debounces.RPunched == false then
  1825. Debounces.RPunched = true
  1826. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  1827. if Debounces.ks==true then
  1828. z = Instance.new("Sound",hed)
  1829. z.SoundId = "rbxassetid://169380525"
  1830. z.Pitch = ptz[math.random(1,#ptz)]
  1831. z.Volume = 1
  1832. z:Play()
  1833. end
  1834. wait(.2)
  1835. Debounces.RPunched = false
  1836. end
  1837. end
  1838. end
  1839. end
  1840. end)
  1841. larm.Touched:connect(function(ht)
  1842. hit = ht.Parent
  1843. if ht and hit:IsA("Model") then
  1844. if hit:FindFirstChild("Humanoid") then
  1845. if hit.Name ~= p.Name then
  1846. if Debounces.LPunch == true and Debounces.LPunched == false then
  1847. Debounces.LPunched = true
  1848. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1849. if Debounces.ks2==true then
  1850. z = Instance.new("Sound",hed)
  1851. z.SoundId = "rbxassetid://169380525"
  1852. z.Pitch = ptz[math.random(1,#ptz)]
  1853. z.Volume = 1
  1854. z:Play()
  1855. end
  1856. wait(.2)
  1857. Debounces.LPunched = false
  1858. end
  1859. end
  1860. end
  1861. elseif ht and hit:IsA("Hat") then
  1862. if hit.Parent.Name ~= p.Name then
  1863. if hit.Parent:FindFirstChild("Humanoid") then
  1864. if Debounces.LPunch == true and Debounces.LPunched == false then
  1865. Debounces.LPunched = true
  1866. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1867. if Debounces.ks2==true then
  1868. z = Instance.new("Sound",hed)
  1869. z.SoundId = "rbxassetid://169380525"
  1870. z.Pitch = ptz[math.random(1,#ptz)]
  1871. z.Volume = 1
  1872. z:Play()
  1873. end
  1874. wait(.2)
  1875. Debounces.LPunched = false
  1876. end
  1877. end
  1878. end
  1879. end
  1880. end)
  1881. ----------------------------------------------------
  1882. mod4 = Instance.new("Model",char)
  1883.  
  1884. ptez = {0.7, 0.8, 0.9, 1}
  1885.  
  1886. function FindNearestTorso(Position,Distance,SinglePlayer)
  1887. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1888. local List = {}
  1889. for i,v in pairs(workspace:GetChildren())do
  1890. if v:IsA("Model")then
  1891. if v:findFirstChild("Torso")then
  1892. if v ~= char then
  1893. if(v.Torso.Position -Position).magnitude <= Distance then
  1894. table.insert(List,v)
  1895. end
  1896. end
  1897. end
  1898. end
  1899. end
  1900. return List
  1901. end
  1902.  
  1903. function Punch()
  1904. part=Instance.new('Part',mod4)
  1905. part.Anchored=true
  1906. part.CanCollide=false
  1907. part.FormFactor='Custom'
  1908. part.Size=Vector3.new(.2,.2,.2)
  1909. part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0)
  1910. part.Transparency=.7
  1911. part.BrickColor=BrickColor.new('Really black')
  1912. mesh=Instance.new('SpecialMesh',part)
  1913. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  1914. mesh.Scale=Vector3.new(3,3,3)
  1915. part2=Instance.new('Part',mod4)
  1916. part2.Anchored=true
  1917. part2.CanCollide=false
  1918. part2.FormFactor='Custom'
  1919. part2.Size=Vector3.new(.2,.2,.2)
  1920. part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0)
  1921. part2.Transparency=.7
  1922. part2.BrickColor=BrickColor.new('Really red')
  1923. mesh2=Instance.new('SpecialMesh',part2)
  1924. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  1925. mesh2.Scale=Vector3.new(3,1.5,3)
  1926. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  1927. if v:FindFirstChild('Humanoid') then
  1928. v.Humanoid:TakeDamage(math.random(2,6))
  1929. end
  1930. end
  1931. coroutine.resume(coroutine.create(function()
  1932. for i=0,0.62,0.4 do
  1933. wait()
  1934. part.CFrame=part.CFrame
  1935. part.Transparency=i
  1936. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  1937. part2.CFrame=part2.CFrame
  1938. part2.Transparency=i
  1939. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  1940. end
  1941. part.Parent=nil
  1942. part2.Parent=nil
  1943. end))
  1944. end
  1945. ----------------------------------------------------
  1946. rarm.Touched:connect(function(ht)
  1947. hit = ht.Parent
  1948. if ht and hit:IsA("Model") then
  1949. if hit:FindFirstChild("Humanoid") then
  1950. if hit.Name ~= p.Name then
  1951. if Debounces.RPunch == true and Debounces.RPunched == false then
  1952. Debounces.RPunched = true
  1953. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  1954. if Debounces.ks==true then
  1955. z = Instance.new("Sound",hed)
  1956. z.SoundId = "rbxassetid://169380525"
  1957. z.Pitch = ptz[math.random(1,#ptz)]
  1958. z.Volume = 1
  1959. z:Play()
  1960. end
  1961. wait(.2)
  1962. Debounces.RPunched = false
  1963. end
  1964. end
  1965. end
  1966. elseif ht and hit:IsA("Hat") then
  1967. if hit.Parent.Name ~= p.Name then
  1968. if hit.Parent:FindFirstChild("Humanoid") then
  1969. if Debounces.RPunch == true and Debounces.RPunched == false then
  1970. Debounces.RPunched = true
  1971. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  1972. if Debounces.ks==true then
  1973. z = Instance.new("Sound",hed)
  1974. z.SoundId = "rbxassetid://169380525"
  1975. z.Pitch = ptz[math.random(1,#ptz)]
  1976. z.Volume = 1
  1977. z:Play()
  1978. end
  1979. wait(.2)
  1980. Debounces.RPunched = false
  1981. end
  1982. end
  1983. end
  1984. end
  1985. end)
  1986. larm.Touched:connect(function(ht)
  1987. hit = ht.Parent
  1988. if ht and hit:IsA("Model") then
  1989. if hit:FindFirstChild("Humanoid") then
  1990. if hit.Name ~= p.Name then
  1991. if Debounces.LPunch == true and Debounces.LPunched == false then
  1992. Debounces.LPunched = true
  1993. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1994. if Debounces.ks2==true then
  1995. z = Instance.new("Sound",hed)
  1996. z.SoundId = "rbxassetid://169380525"
  1997. z.Pitch = ptz[math.random(1,#ptz)]
  1998. z.Volume = 1
  1999. z:Play()
  2000. end
  2001. wait(.2)
  2002. Debounces.LPunched = false
  2003. end
  2004. end
  2005. end
  2006. elseif ht and hit:IsA("Hat") then
  2007. if hit.Parent.Name ~= p.Name then
  2008. if hit.Parent:FindFirstChild("Humanoid") then
  2009. if Debounces.LPunch == true and Debounces.LPunched == false then
  2010. Debounces.LPunched = true
  2011. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  2012. if Debounces.ks2==true then
  2013. z = Instance.new("Sound",hed)
  2014. z.SoundId = "rbxassetid://169380525"
  2015. z.Pitch = ptz[math.random(1,#ptz)]
  2016. z.Volume = 1
  2017. z:Play()
  2018. end
  2019. wait(.2)
  2020. Debounces.LPunched = false
  2021. end
  2022. end
  2023. end
  2024. end
  2025. end)
  2026. ----------------------------------------------------
  2027. local player = game.Players.LocalPlayer
  2028. local pchar = player.Character
  2029. local mouse = player:GetMouse()
  2030. local cam = workspace.CurrentCamera
  2031.  
  2032. local rad = math.rad
  2033.  
  2034. local keysDown = {}
  2035. local flySpeed = 0
  2036. local MAX_FLY_SPEED = 150
  2037.  
  2038. local canFly = false
  2039. local flyToggled = false
  2040.  
  2041. local forward, side = 0, 0
  2042. local lastForward, lastSide = 0, 0
  2043.  
  2044. local floatBP = Instance.new("BodyPosition")
  2045. floatBP.maxForce = Vector3.new(0, math.huge, 0)
  2046. local flyBV = Instance.new("BodyVelocity")
  2047. flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  2048. local turnBG = Instance.new("BodyGyro")
  2049. turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  2050.  
  2051. mouse.KeyDown:connect(function(key)
  2052. keysDown[key] = true
  2053.  
  2054. if key == "f" then
  2055. flyToggled = not flyToggled
  2056.  
  2057. if not flyToggled then
  2058. stanceToggle = "Normal"
  2059. floatBP.Parent = nil
  2060. flyBV.Parent = nil
  2061. turnBG.Parent = nil
  2062. root.Velocity = Vector3.new()
  2063. pchar.Humanoid.PlatformStand = false
  2064. end
  2065. end
  2066.  
  2067. end)
  2068. mouse.KeyUp:connect(function(key)
  2069. keysDown[key] = nil
  2070. end)
  2071.  
  2072. local function updateFly()
  2073.  
  2074. if not flyToggled then return end
  2075.  
  2076. lastForward = forward
  2077. lastSide = side
  2078.  
  2079. forward = 0
  2080. side = 0
  2081.  
  2082. if keysDown.w then
  2083. forward = forward + 1
  2084. end
  2085. if keysDown.s then
  2086. forward = forward - 1
  2087. end
  2088. if keysDown.a then
  2089. side = side - 1
  2090. end
  2091. if keysDown.d then
  2092. side = side + 1
  2093. end
  2094.  
  2095. canFly = (forward ~= 0 or side ~= 0)
  2096.  
  2097. if canFly then
  2098. stanceToggle = "Floating"
  2099. turnBG.Parent = root
  2100. floatBP.Parent = nil
  2101. flyBV.Parent = root
  2102.  
  2103. flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
  2104. if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
  2105. else
  2106. floatBP.position = root.Position
  2107. floatBP.Parent = root
  2108.  
  2109. flySpeed = flySpeed - 1
  2110. if flySpeed < 0 then flySpeed = 0 end
  2111. end
  2112.  
  2113. local camCF = cam.CoordinateFrame
  2114. local in_forward = canFly and forward or lastForward
  2115. local in_side = canFly and side or lastSide
  2116.  
  2117. flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,
  2118. in_forward * 0.2, 0).p) - camCF.p) * flySpeed
  2119.  
  2120. turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,
  2121. 0)
  2122. end
  2123.  
  2124. game:service'RunService'.RenderStepped:connect(function()
  2125. if flyToggled then
  2126. pchar.Humanoid.PlatformStand = true
  2127. end
  2128. updateFly()
  2129. end)
  2130. -------------------------------
  2131. mouse.KeyDown:connect(function(key)
  2132. if key == "q" then
  2133. if Debounces.CanAttack == true then
  2134. Debounces.CanAttack = false
  2135. Debounces.NoIdl = true
  2136. Debounces.on = true
  2137. function FindNearestTorso(Position,Distance,SinglePlayer)
  2138. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  2139. local List = {}
  2140. for i,v in pairs(workspace:GetChildren())do
  2141. if v:IsA("Model")then
  2142. if v:findFirstChild("Torso")then
  2143. if v ~= char then
  2144. if(v.Torso.Position -Position).magnitude <= Distance then
  2145. table.insert(List,v)
  2146. end
  2147. end
  2148. end
  2149. end
  2150. end
  2151. return List
  2152. end
  2153. z = Instance.new("Sound",hed)
  2154. z.SoundId = "rbxassetid://232213955"
  2155. z.Pitch = 1
  2156. z.Volume = 1
  2157. wait(0.2)
  2158. z:Play()
  2159. sp = Instance.new("Part",rarm)
  2160. sp.Anchored = true
  2161. sp.CanCollide = false
  2162. sp.Locked = true
  2163. sp.Transparency = 0
  2164. sp.Material = "Neon"
  2165. sp.Size = Vector3.new(1,1,1)
  2166. sp.TopSurface = "SmoothNoOutlines"
  2167. sp.BottomSurface = "SmoothNoOutlines"
  2168. sp.BrickColor = BrickColor.new("Royal purple")
  2169. spm = Instance.new("SpecialMesh",sp)
  2170. spm.MeshType = "Sphere"
  2171. spm.Scale = Vector3.new(21,21,21)
  2172. sp2 = Instance.new("Part", rarm)
  2173. sp2.Name = "Energy"
  2174. sp2.BrickColor = BrickColor.new("Royal purple")
  2175. sp2.Size = Vector3.new(1, 1, 1)
  2176. sp2.Shape = "Ball"
  2177. sp2.CanCollide = false
  2178. sp2.Anchored = true
  2179. sp2.Locked = true
  2180. sp2.TopSurface = 0
  2181. sp2.BottomSurface = 0
  2182. sp2.Transparency = 1
  2183. spm2 = Instance.new("SpecialMesh",sp2)
  2184. spm2.MeshId = "rbxassetid://9982590"
  2185. spm2.Scale = Vector3.new(2,2,2)
  2186. for i = 1, 20 do
  2187. spm.Scale = spm.Scale - Vector3.new(1,1,1)
  2188. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  2189. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4)
  2190. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4)
  2191. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  2192. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2193. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  2194. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  2195. if Debounces.on == false then break end
  2196. rs:wait()
  2197. end
  2198. for i = 1, 100, 20 do rs:wait()
  2199. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  2200. end
  2201. for i = 1, 20 do
  2202. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  2203. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
  2204. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.4)
  2205. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4)
  2206. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4)
  2207. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  2208. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  2209. if Debounces.on == false then break end
  2210. rs:wait()
  2211. end
  2212. sp.Transparency = 1
  2213. for i = 1, 20 do
  2214. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
  2215. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.4)
  2216. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4)
  2217. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4)
  2218. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  2219. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  2220. if Debounces.on == false then break end
  2221. rs:wait()
  2222. end
  2223. wait(1)
  2224. sp.Transparency = 0
  2225. sp2.Transparency = 0.84
  2226. for i = 1, 20 do
  2227. --spm.Scale = spm.Scale - Vector3.new(1,1,1)
  2228. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  2229. sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i))
  2230. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4)
  2231. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2)
  2232. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2)
  2233. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  2234. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2)
  2235. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2)
  2236. if Debounces.on == false then break end
  2237. rs:wait()
  2238. end
  2239. for i = 1, 2880, 50 do
  2240. rs:wait()
  2241. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  2242. sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  2243. rs:wait()
  2244. end
  2245. sp:Destroy()
  2246. sp2:Destroy()
  2247. local X = Instance.new("Part",char)
  2248. local O = Instance.new("ObjectValue",X)
  2249. O.Name = "creator"
  2250. X.Locked = true
  2251. X.Name = "Shell"
  2252. X.Anchored = false
  2253. X.CanCollide = false
  2254. X.Transparency = 0
  2255. X.Reflectance = 0
  2256. X.BottomSurface = 0
  2257. X.TopSurface = 0
  2258. X.Shape = 0
  2259. local V = Instance.new("ObjectValue",X)
  2260. V.Value = char
  2261. V.Name = "creator"
  2262. X.BrickColor = BrickColor.new("Royal purple")
  2263. X.Size = Vector3.new(2,2,2)
  2264. X.Material = "Neon"
  2265. local Z = Instance.new("SpecialMesh",X)
  2266. Z.MeshType = "Sphere"
  2267. Z.Scale = Vector3.new(0.5,0.5,1)
  2268. X.CFrame = rarm.CFrame*CFrame.new(-3,0,0)
  2269. local bv = Instance.new("BodyVelocity",X)
  2270. bv.maxForce = Vector3.new(99999,99999,99999)
  2271. X.CFrame = CFrame.new(X.Position,mouse.Hit.p)
  2272. bv.velocity = X.CFrame.lookVector*65
  2273.  
  2274. Explode = X.Touched:connect(function(hit)
  2275. if hit ~= char and hit.Name ~= "Shell" then
  2276. local cf = X.CFrame
  2277. bv:Destroy()
  2278. X.Anchored = true
  2279. Z:Remove()
  2280. Explode:disconnect()
  2281. X.Size = Vector3.new(3,3,3)
  2282. X.Touched:connect(function(hit) end)
  2283. X.CanCollide = false
  2284. local part3 = Instance.new("Part", rarm)
  2285. part3.Anchored=true
  2286. part3.CanCollide=false
  2287. part3.Locked = true
  2288. part3.TopSurface = "SmoothNoOutlines"
  2289. part3.BottomSurface = "SmoothNoOutlines"
  2290. part3.FormFactor='Custom'
  2291. part3.Size=Vector3.new(1,1, 1)
  2292. part3.CFrame=X.CFrame
  2293. part3.Transparency=0
  2294. part3.BrickColor=BrickColor.new("Royal purple")
  2295. local mesh3 = Instance.new("SpecialMesh",part3)
  2296. mesh3.MeshType = "Sphere"
  2297. mesh3.Scale = Vector3.new(1,1,1)
  2298. --debris:AddItem(X,8)
  2299. local part4 = Instance.new("Part", rarm)
  2300. part4.Material = "Neon"
  2301. part4.Anchored=true
  2302. part4.CanCollide=false
  2303. part4.Locked = true
  2304. part4.TopSurface = "SmoothNoOutlines"
  2305. part4.BottomSurface = "SmoothNoOutlines"
  2306. part4.FormFactor='Custom'
  2307. part4.Size=Vector3.new(1,1, 1)
  2308. part4.CFrame=X.CFrame
  2309. part4.Transparency=0
  2310. part4.BrickColor=BrickColor.new("Hot pink")
  2311. local mesh4 = Instance.new("SpecialMesh",part4)
  2312. mesh4.MeshType = "Sphere"
  2313. mesh4.Scale = Vector3.new(.5,.5,.5)
  2314. local part7 = Instance.new("Part", rarm)
  2315. part7.Material = "Neon"
  2316. part7.Anchored=true
  2317. part7.CanCollide=false
  2318. part7.Locked = true
  2319. part7.TopSurface = "SmoothNoOutlines"
  2320. part7.BottomSurface = "SmoothNoOutlines"
  2321. part7.FormFactor='Custom'
  2322. part7.Size=Vector3.new(1,1, 1)
  2323. part7.CFrame=X.CFrame
  2324. part7.Transparency=0
  2325. part7.BrickColor=BrickColor.new("Really black")
  2326. local mesh7 = Instance.new("SpecialMesh",part7)
  2327. mesh7.MeshType = "Sphere"
  2328. mesh7.Scale = Vector3.new(0.1, 0.1, 0.1)
  2329. --[[X.Touched:connect(function(ht)
  2330. hit = ht.Parent
  2331. if ht and hit:IsA("Model") then
  2332. if hit:FindFirstChild("Humanoid") then
  2333. if hit.Name ~= p.Name then
  2334. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  2335. wait(.3)
  2336. end
  2337. end
  2338. elseif ht and hit:IsA("Hat") then
  2339. if hit.Parent.Name ~= p.Name then
  2340. if hit.Parent:FindFirstChild("Humanoid") then
  2341. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  2342. wait(.3)
  2343. end
  2344. end
  2345. end
  2346. end)
  2347. part3.Touched:connect(function(ht)
  2348. hit = ht.Parent
  2349. if ht and hit:IsA("Model") then
  2350. if hit:FindFirstChild("Humanoid") then
  2351. if hit.Name ~= p.Name then
  2352. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  2353. wait(.3)
  2354. end
  2355. end
  2356. elseif ht and hit:IsA("Hat") then
  2357. if hit.Parent.Name ~= p.Name then
  2358. if hit.Parent:FindFirstChild("Humanoid") then
  2359. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  2360. wait(.3)
  2361. end
  2362. end
  2363. end
  2364. end)]]--
  2365. for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do
  2366. if v:FindFirstChild('Humanoid') then
  2367. v.Humanoid:TakeDamage(math.random(60,90))
  2368. v.Humanoid.PlatformStand = true
  2369. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  2370. end
  2371. end
  2372.  
  2373. local acos = math.acos
  2374. local sqrt = math.sqrt
  2375. local Vec3 = Vector3.new
  2376. local fromAxisAngle = CFrame.fromAxisAngle
  2377.  
  2378. local function toAxisAngle(CFr)
  2379. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  2380. local Angle = math.acos((R00+R11+R22-1)/2)
  2381. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  2382. A = A == 0 and 0.00001 or A
  2383. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  2384. B = B == 0 and 0.00001 or B
  2385. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  2386. C = C == 0 and 0.00001 or C
  2387. local x = (R21-R12)/sqrt(A)
  2388. local y = (R02-R20)/sqrt(B)
  2389. local z = (R10-R01)/sqrt(C)
  2390. return Vec3(x,y,z),Angle
  2391. end
  2392.  
  2393. function ApplyTrig(Num,Func)
  2394. local Min,Max = Func(0),Func(1)
  2395. local i = Func(Num)
  2396. return (i-Min)/(Max-Min)
  2397. end
  2398.  
  2399. function LerpCFrame(CFrame1,CFrame2,Num)
  2400. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  2401. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  2402. end
  2403.  
  2404. function Crater(Torso,Radius)
  2405. Spawn(function()
  2406. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  2407. local Ignore = {}
  2408. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2409. if v.Character ~= nil then
  2410. Ignore[#Ignore+1] = v.Character
  2411. end
  2412. end
  2413. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  2414. if Hit == nil then return end
  2415. local Parts = {}
  2416. for i = 1,360,10 do
  2417. local P = Instance.new("Part",Torso.Parent)
  2418. P.Anchored = true
  2419. P.FormFactor = "Custom"
  2420. P.BrickColor = Hit.BrickColor
  2421. P.Material = Hit.Material
  2422. P.TopSurface = "Smooth"
  2423. P.BottomSurface = "Smooth"
  2424. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  2425. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  2426. Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
  2427. if math.random(0,5) == 0 then -- rubble
  2428. local P = Instance.new("Part",Torso.Parent)
  2429. P.Anchored = true
  2430. P.FormFactor = "Custom"
  2431. P.BrickColor = Hit.BrickColor
  2432. P.Material = Hit.Material
  2433. P.TopSurface = "Smooth"
  2434. P.BottomSurface = "Smooth"
  2435. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  2436. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  2437. Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
  2438. end
  2439. end
  2440. for i = 0,1,0.05 do
  2441. for i2,v in pairs(Parts) do
  2442. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  2443. end
  2444. wait(0.02)
  2445. end
  2446. for i,v in pairs(Parts) do
  2447. if v[1].Size.X > 2.1 then
  2448. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  2449. end
  2450. v[1].Anchored = false
  2451. end
  2452. for i = 0,1,0.05 do
  2453. for i2,v in pairs(Parts) do
  2454. v[1].Transparency = i
  2455. if i == 1 then
  2456. v[1]:Destroy()
  2457. elseif i >= 0.25 then
  2458. v[1].CanCollide = false
  2459. end
  2460. end
  2461. wait(0.02)
  2462. end
  2463. Parts = nil
  2464. end)
  2465. end
  2466.  
  2467. ROW = function(out, trans, s, wt, t, ang, plus)
  2468. for i = 1, 360, 360/t do
  2469. local c = Instance.new("Part", game.Workspace)
  2470. c.FormFactor = 3
  2471. c.TopSurface = 0
  2472. c.BottomSurface = 0
  2473. c.Size = s
  2474. c.Anchored = true
  2475. c.CanCollide = wt
  2476. c.Material=workspace.Base.Material
  2477. c.Transparency = trans
  2478. c.BrickColor = workspace.Base.BrickColor
  2479. c.CFrame = CFrame.new(X.CFrame.x,0,X.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang
  2480. c.Locked=true
  2481. game.Debris:AddItem(c,15)
  2482. end
  2483. end
  2484.  
  2485. Part = function(x,y,z,color,tr,cc,an,parent)
  2486. local p = Instance.new('Part',parent or Weapon)
  2487. p.formFactor = 'Custom'
  2488. p.Size = Vector3.new(x,y,z)
  2489. p.BrickColor = BrickColor.new(color)
  2490. p.CanCollide = cc
  2491. p.Transparency = tr
  2492. p.Anchored = an
  2493. p.TopSurface,p.BottomSurface = 0,0
  2494. p.Locked=true
  2495. p:BreakJoints()
  2496. return p end
  2497.  
  2498. Mesh = function(par,num,x,y,z)
  2499. local msh = _
  2500. if num == 1 then msh = Instance.new("CylinderMesh",par)
  2501. elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
  2502. elseif num == 3 then msh = Instance.new("BlockMesh",par)
  2503. elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
  2504. elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
  2505. end msh.Scale = Vector3.new(x,y,z)
  2506. return msh end
  2507.  
  2508. function explosion(col1,col2,cfr,sz,rng,dmg)
  2509. local a= Part(1,1,1,col1,.5,false,true,workspace)
  2510. local a2= Part(1,1,1,col2,.5,false,true,workspace)
  2511. local a3= Part(1,1,1,col2,.5,false,true,workspace)
  2512. v1,v2,v3=sz.x,sz.y,sz.z
  2513. local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3)
  2514. local m2= Mesh(a2,3,v1/3,v2/3,v3/3)
  2515. local m3= Mesh(a3,3,v1/3,v2/3,v3/3)
  2516. a.CFrame=cfr
  2517. a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  2518. a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  2519.  
  2520. Spawn(function()
  2521. while wait() do
  2522. if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end
  2523. m.Scale=m.Scale+Vector3.new(.1,0.1,0.1)
  2524. m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1)
  2525. m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1)
  2526. a.Transparency=a.Transparency+0.05
  2527. a2.Transparency=a2.Transparency+0.05
  2528. a3.Transparency=a3.Transparency+0.05
  2529. end
  2530. end)
  2531. end
  2532.  
  2533. Crater(X,20)
  2534. ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0)
  2535. z = Instance.new("Sound",X)
  2536. z.SoundId = "rbxassetid://231917744"
  2537. z.Pitch = .5
  2538. z.Volume = 10
  2539. z1 = Instance.new("Sound",X)
  2540. z1.SoundId = "rbxassetid://231917744"
  2541. z1.Pitch = .5
  2542. z1.Volume = 10
  2543. z2 = Instance.new("Sound",X)
  2544. z2.SoundId = "rbxassetid://231917744"
  2545. z2.Pitch = .5
  2546. z2.Volume = 10
  2547. z3 = Instance.new("Sound",X)
  2548. z3.SoundId = "rbxassetid://245537790"
  2549. z3.Pitch = .7
  2550. z3.Volume = 1
  2551. z4 = Instance.new("Sound",X)
  2552. z4.SoundId = "rbxassetid://245537790"
  2553. z4.Pitch = .7
  2554. z4.Volume = 1
  2555. wait(0.1)
  2556. z:Play()
  2557. z1:Play()
  2558. z2:Play()
  2559. z3:Play()
  2560. z4:Play()
  2561.  
  2562. local part=Instance.new('Part',rarm)
  2563. part.Anchored=true
  2564. part.CanCollide=false
  2565. part.Locked = true
  2566. part.FormFactor='Custom'
  2567. part.Size=Vector3.new(1,1,1)
  2568. part.CFrame=X.CFrame*CFrame.new(0,0,0)
  2569. part.Transparency=0
  2570. part.BrickColor=BrickColor.new('Really black')
  2571. local mesh=Instance.new('SpecialMesh',part)
  2572. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  2573. mesh.Scale=Vector3.new(2,2,2)
  2574. local part2=part:clone()
  2575. part2.Parent = rarm
  2576. part2.BrickColor=BrickColor.new("Royal purple")
  2577. local part5=part:clone()
  2578. part5.Parent = rarm
  2579. part5.BrickColor=BrickColor.new("Magenta")
  2580. local part6=part:clone()
  2581. part6.Parent = rarm
  2582. part6.BrickColor=BrickColor.new("Black")
  2583. local mesh2=mesh:clone()
  2584. mesh2.Parent=part2
  2585. mesh2.Scale=Vector3.new(3, 3, 3)
  2586. local mesh5=mesh:clone()
  2587. mesh5.Parent=part5
  2588. mesh5.Scale=Vector3.new(3, 3, 3)
  2589. local mesh6=mesh:clone()
  2590. mesh6.Parent=part6
  2591. mesh6.Scale=Vector3.new(3, 3, 3)
  2592. local blast = Instance.new("Part", rarm)
  2593. blast.BrickColor = BrickColor.new("Really black")
  2594. blast.Anchored = true
  2595. blast.CanCollide = false
  2596. blast.Locked = true
  2597. blast.Size = Vector3.new(1, 1, 1)
  2598. blast.TopSurface = "Smooth"
  2599. blast.BottomSurface = "Smooth"
  2600. blast.Transparency = 0
  2601. blast.CFrame = HandCF
  2602. local bm = Instance.new("SpecialMesh", blast)
  2603. bm.Scale = Vector3.new(5,1,5)
  2604. bm.MeshId = "rbxassetid://3270017"
  2605. local blast2 = Instance.new("Part", rarm)
  2606. blast2.BrickColor = BrickColor.new("Really black")
  2607. blast2.Anchored = true
  2608. blast2.CanCollide = false
  2609. blast2.Locked = true
  2610. blast2.Size = Vector3.new(1, 1, 1)
  2611. blast2.TopSurface = "Smooth"
  2612. blast2.BottomSurface = "Smooth"
  2613. blast2.Transparency = 0
  2614. blast2.CFrame = HandCF
  2615. local bm2 = Instance.new("SpecialMesh", blast2)
  2616. bm2.Scale = Vector3.new(3,1,3)
  2617. bm2.MeshId = "rbxassetid://3270017"
  2618. local blast3 = Instance.new("Part", rarm)
  2619. blast3.BrickColor = BrickColor.new("Really black")
  2620. blast3.Anchored = true
  2621. blast3.CanCollide = false
  2622. blast3.Locked = true
  2623. blast3.Size = Vector3.new(1, 1, 1)
  2624. blast3.TopSurface = "Smooth"
  2625. blast3.BottomSurface = "Smooth"
  2626. blast3.Transparency = 0
  2627. blast3.CFrame = HandCF
  2628. local bm3 = Instance.new("SpecialMesh", blast3)
  2629. bm3.Scale = Vector3.new(3,1,3)
  2630. bm3.MeshId = "rbxassetid://3270017"
  2631. for i = 1,120 do rs:wait()
  2632. X.Transparency = X.Transparency + (1/120)
  2633. part.Transparency = part.Transparency + (1/120)
  2634. part2.Transparency = part2.Transparency + (1/120)
  2635. part3.Transparency = part3.Transparency + (1/120)
  2636. part4.Transparency = part4.Transparency + (1/120)
  2637. part5.Transparency = part5.Transparency + (1/120)
  2638. part6.Transparency = part6.Transparency + (1/120)
  2639. part7.Transparency = part7.Transparency + (1/120)
  2640. blast.Transparency = blast.Transparency + (1/120)
  2641. blast2.Transparency = blast2.Transparency + (1/120)
  2642. blast3.Transparency = blast3.Transparency + (1/120)
  2643. X.Size = X.Size + Vector3.new(.8,.8,.8)
  2644. --part3.Size = part3.Size + Vector3.new(3,3,3)
  2645. mesh.Scale = mesh.Scale + Vector3.new(1,.2,1)
  2646. mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1)
  2647. mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3)
  2648. mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7)
  2649. mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6)
  2650. mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2)
  2651. mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4)
  2652. bm.Scale = bm.Scale + Vector3.new(6,6,.2)
  2653. bm2.Scale = bm2.Scale + Vector3.new(4,4,.2)
  2654. bm3.Scale = bm3.Scale + Vector3.new(4,4,.2)
  2655. X.CFrame = cf
  2656. part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0)
  2657. part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0)
  2658. part3.CFrame=X.CFrame
  2659. part4.CFrame=X.CFrame
  2660. part7.CFrame=X.CFrame
  2661. part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0)
  2662. part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0)
  2663. blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  2664. blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0))
  2665. blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0))
  2666. rs:wait()
  2667. end
  2668. X:Destroy()
  2669. part:Destroy()
  2670. part2:Destroy()
  2671. part3:Destroy()
  2672. part4:Destroy()
  2673. part5:Destroy()
  2674. part6:Destroy()
  2675. blast:Destroy()
  2676. blast2:Destroy()
  2677. blast3:Destroy()
  2678. z:Destroy()
  2679. z1:Destroy()
  2680. z2:Destroy()
  2681. z3:Destroy()
  2682. z4:Destroy()
  2683. end
  2684. end)
  2685. for i = 1, 20 do
  2686. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2)
  2687. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2)
  2688. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
  2689. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4)
  2690. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2)
  2691. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2)
  2692. if Debounces.on == false then break end
  2693. rs:wait()
  2694. end
  2695. if Debounces.CanAttack == false then
  2696. Debounces.CanAttack = true
  2697. Debounces.NoIdl = false
  2698. Debounces.on = false
  2699. end
  2700. end
  2701. end
  2702. end)
  2703. ----------------------------------------------------
  2704. mouse.KeyDown:connect(function(key)
  2705. if key == "e" then
  2706. if Debounces.CanAttack == true then
  2707. Debounces.CanAttack = false
  2708. Debounces.on = true
  2709. Debounces.NoIdl = true
  2710. pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
  2711. z = Instance.new("Sound", rarm)
  2712. z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  2713. z.Volume = .6
  2714. z.Pitch = pt[math.random(1,#pt)]
  2715. z.Looped = false
  2716. z:Play()
  2717. Debounces.RPunch = true
  2718. Debounces.LPunch = true
  2719. Debounces.ks = true
  2720. Debounces.ks2 = true
  2721. for i = 1, 3 do
  2722. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  2723. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  2724. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2725. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2726. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2727. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2728. if Debounces.on == false then break end
  2729. wait()
  2730. end
  2731. z2 = Instance.new("Sound", larm)
  2732. z2.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2733. z2.Volume = .6
  2734. z2.Pitch = pt[math.random(1,#pt)]
  2735. z2.Looped = false
  2736. z2:Play()
  2737. for i = 1, 3 do
  2738. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2739. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  2740. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2741. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2742. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2743. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2744. if Debounces.on == false then break end
  2745. wait()
  2746. end
  2747. z3 = Instance.new("Sound", rarm)
  2748. z3.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2749. z3.Volume = 0.6
  2750. z3.Pitch = pt[math.random(1,#pt)]
  2751. z3.Looped = false
  2752. z3:Play()
  2753. for i = 1, 3 do
  2754. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  2755. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  2756. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2757. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2758. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2759. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2760. if Debounces.on == false then break end
  2761. wait()
  2762. end
  2763. z4 = Instance.new("Sound", larm)
  2764. z4.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2765. z4.Volume = .6
  2766. z4.Pitch = pt[math.random(1,#pt)]
  2767. z4.Looped = false
  2768. z4:Play()
  2769. for i = 1, 3 do
  2770. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2771. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2772. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2773. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2774. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2775. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2776. if Debounces.on == false then break end
  2777. wait()
  2778. end
  2779. z5 = Instance.new("Sound", rarm)
  2780. z5.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2781. z5.Volume = .6
  2782. z5.Pitch = pt[math.random(1,#pt)]
  2783. z5.Looped = false
  2784. z5:Play()
  2785. for i = 1, 3 do
  2786. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  2787. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
  2788. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  2789. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  2790. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  2791. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  2792. if Debounces.on == false then break end
  2793. wait()
  2794. end
  2795. z6 = Instance.new("Sound", larm)
  2796. z6.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2797. z6.Volume = .6
  2798. z6.Pitch = pt[math.random(1,#pt)]
  2799. z6.Looped = false
  2800. z6:Play()
  2801. for i = 1, 3 do
  2802. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2803. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2804. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2805. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2806. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2807. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2808. if Debounces.on == false then break end
  2809. wait()
  2810. end
  2811. z7 = Instance.new("Sound", rarm)
  2812. z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  2813. z7.Volume = .6
  2814. z7.Pitch = pt[math.random(1,#pt)]
  2815. z7.Looped = false
  2816. z7:Play()
  2817. for i = 1, 3 do
  2818. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  2819. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  2820. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2821. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2822. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2823. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2824. if Debounces.on == false then break end
  2825. wait()
  2826. end
  2827. z8 = Instance.new("Sound", larm)
  2828. z8.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2829. z8.Volume = .6
  2830. z8.Pitch = pt[math.random(1,#pt)]
  2831. z8.Looped = false
  2832. z8:Play()
  2833. for i = 1, 3 do
  2834. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2835. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  2836. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2837. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2838. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2839. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2840. if Debounces.on == false then break end
  2841. wait()
  2842. end
  2843. z9 = Instance.new("Sound", rarm)
  2844. z9.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2845. z9.Volume = 0.6
  2846. z9.Pitch = pt[math.random(1,#pt)]
  2847. z9.Looped = false
  2848. z9:Play()
  2849. for i = 1, 3 do
  2850. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  2851. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  2852. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2853. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2854. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2855. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2856. if Debounces.on == false then break end
  2857. wait()
  2858. end
  2859. z10 = Instance.new("Sound", larm)
  2860. z10.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2861. z10.Volume = .6
  2862. z10.Pitch = pt[math.random(1,#pt)]
  2863. z10.Looped = false
  2864. z10:Play()
  2865. for i = 1, 3 do
  2866. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2867. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2868. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2869. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2870. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2871. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2872. if Debounces.on == false then break end
  2873. wait()
  2874. end
  2875. z11 = Instance.new("Sound", rarm)
  2876. z11.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2877. z11.Volume = .6
  2878. z11.Pitch = pt[math.random(1,#pt)]
  2879. z11.Looped = false
  2880. z11:Play()
  2881. for i = 1, 3 do
  2882. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  2883. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
  2884. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  2885. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  2886. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  2887. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  2888. if Debounces.on == false then break end
  2889. wait()
  2890. end
  2891. z12 = Instance.new("Sound", larm)
  2892. z12.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2893. z12.Volume = .6
  2894. z12.Pitch = pt[math.random(1,#pt)]
  2895. z12.Looped = false
  2896. z12:Play()
  2897. for i = 1, 3 do
  2898. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2899. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  2900. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2901. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2902. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2903. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2904. if Debounces.on == false then break end
  2905. wait()
  2906. end
  2907. z13 = Instance.new("Sound", rarm)
  2908. z13.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2909. z13.Volume = 0.6
  2910. z13.Pitch = pt[math.random(1,#pt)]
  2911. z13.Looped = false
  2912. z13:Play()
  2913. for i = 1, 3 do
  2914. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  2915. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  2916. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2917. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2918. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2919. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2920. if Debounces.on == false then break end
  2921. wait()
  2922. end
  2923. z14 = Instance.new("Sound", larm)
  2924. z14.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2925. z14.Volume = .6
  2926. z14.Pitch = pt[math.random(1,#pt)]
  2927. z14.Looped = false
  2928. z14:Play()
  2929. for i = 1, 3 do
  2930. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2931. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2932. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2933. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2934. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2935. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2936. if Debounces.on == false then break end
  2937. wait()
  2938. end
  2939. z15 = Instance.new("Sound", rarm)
  2940. z15.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2941. z15.Volume = .6
  2942. z15.Pitch = pt[math.random(1,#pt)]
  2943. z15.Looped = false
  2944. z15:Play()
  2945. for i = 1, 3 do
  2946. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  2947. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
  2948. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  2949. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  2950. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  2951. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  2952. if Debounces.on == false then break end
  2953. wait()
  2954. end
  2955. z16 = Instance.new("Sound", larm)
  2956. z16.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2957. z16.Volume = .6
  2958. z16.Pitch = pt[math.random(1,#pt)]
  2959. z16.Looped = false
  2960. z16:Play()
  2961. for i = 1, 3 do
  2962. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2963. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2964. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2965. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2966. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2967. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2968. if Debounces.on == false then break end
  2969. wait()
  2970. end
  2971. z17 = Instance.new("Sound", rarm)
  2972. z17.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  2973. z17.Volume = .6
  2974. z17.Pitch = pt[math.random(1,#pt)]
  2975. z17.Looped = false
  2976. z17:Play()
  2977. for i = 1, 3 do
  2978. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  2979. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  2980. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2981. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2982. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2983. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2984. if Debounces.on == false then break end
  2985. wait()
  2986. end
  2987. z18 = Instance.new("Sound", larm)
  2988. z18.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2989. z18.Volume = .6
  2990. z18.Pitch = pt[math.random(1,#pt)]
  2991. z18.Looped = false
  2992. z18:Play()
  2993. for i = 1, 3 do
  2994. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2995. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  2996. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2997. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2998. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2999. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  3000. if Debounces.on == false then break end
  3001. wait()
  3002. end
  3003. z19 = Instance.new("Sound", rarm)
  3004. z19.SoundId = "http://www.roblox.com/asset/?id=206083107"
  3005. z19.Volume = 0.6
  3006. z19.Pitch = pt[math.random(1,#pt)]
  3007. z19.Looped = false
  3008. z19:Play()
  3009. for i = 1, 3 do
  3010. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  3011. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  3012. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  3013. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  3014. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  3015. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  3016. if Debounces.on == false then break end
  3017. wait()
  3018. end
  3019. z20 = Instance.new("Sound", larm)
  3020. z20.SoundId = "http://www.roblox.com/asset/?id=206083107"
  3021. z20.Volume = .6
  3022. z20.Pitch = pt[math.random(1,#pt)]
  3023. z20.Looped = false
  3024. z20:Play()
  3025. for i = 1, 3 do
  3026. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  3027. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  3028. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  3029. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  3030. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  3031. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  3032. if Debounces.on == false then break end
  3033. wait()
  3034. end
  3035. z:Destroy()
  3036. z2:Destroy()
  3037. z3:Destroy()
  3038. z4:Destroy()
  3039. z5:Destroy()
  3040. z6:Destroy()
  3041. z7:Destroy()
  3042. z8:Destroy()
  3043. z9:Destroy()
  3044. z10:Destroy()
  3045. z11:Destroy()
  3046. z12:Destroy()
  3047. z13:Destroy()
  3048. z14:Destroy()
  3049. z15:Destroy()
  3050. z16:Destroy()
  3051. z17:Destroy()
  3052. z18:Destroy()
  3053. z19:Destroy()
  3054. z20:Destroy()
  3055. Debounces.LPunch = false
  3056. Debounces.RPunch = false
  3057. Debounces.ks = false
  3058. Debounces.ks2 = false
  3059. if Debounces.CanAttack == false then
  3060. Debounces.CanAttack = true
  3061. Debounces.on = false
  3062. Debounces.NoIdl = false
  3063. end
  3064. end
  3065. end
  3066. end)
  3067. -------------------------------
  3068. mouse.KeyDown:connect(function(key)
  3069. if key == "t" then
  3070. if Debounces.CanAttack == true then
  3071. Debounces.CanAttack = false
  3072. Debounces.NoIdl = true
  3073. Debounces.on = true
  3074. Debounces.ks = true
  3075. kik = rleg.Touched:connect(function(ht)
  3076. hit = ht.Parent
  3077. if ht and hit:IsA("Model") then
  3078. if hit:FindFirstChild("Humanoid") then
  3079. if hit.Name ~= p.Name then
  3080. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  3081. Debounces.Slashed = true]]--
  3082. if Debounces.ks==true then
  3083. z = Instance.new("Sound",hed)
  3084. z.SoundId = "rbxassetid://169380525"
  3085. z.Volume = 1
  3086. z:Play()
  3087. Debounces.ks=false
  3088. end
  3089. hit:FindFirstChild("Humanoid"):TakeDamage(2)
  3090. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
  3091. --Debounces.Slashed = false
  3092. --end
  3093. end
  3094. end
  3095. elseif ht and hit:IsA("Hat") then
  3096. if hit.Parent.Name ~= p.Name then
  3097. if hit.Parent:FindFirstChild("Humanoid") then
  3098. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  3099. Debounces.Slashed = true]]--
  3100. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
  3101. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
  3102. --Debounces.Slashed = false
  3103. --end
  3104. end
  3105. end
  3106. end
  3107. end)
  3108. for i = 1,20 do
  3109. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
  3110. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.4)
  3111. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  3112. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4)
  3113. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4)
  3114. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
  3115. if Debounces.on == false then break end
  3116. rs:wait()
  3117. end
  3118. kik:disconnect()
  3119. if Debounces.CanAttack == false then
  3120. Debounces.CanAttack = true
  3121. Debounces.NoIdl = false
  3122. Debounces.on = false
  3123. end
  3124. end
  3125. end
  3126. end)
  3127. ----------------------------------------------------
  3128. mouse.KeyDown:connect(function(key)
  3129. if key == "y" then
  3130. if Debounces.CanAttack == true then
  3131. Debounces.CanAttack = false
  3132. Debounces.on = true
  3133. Debounces.NoIdl = true
  3134. for i = 1, 15 do
  3135. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.2)
  3136. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.6)
  3137. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
  3138. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4)
  3139. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  3140. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  3141. if Debounces.on == false then break end
  3142. rs:wait(2.7)
  3143. end
  3144. x = Instance.new("Sound",char)
  3145. x.SoundId = "rbxassetid://228343271"
  3146. x.Pitch = 1
  3147. x.Volume = .8
  3148. wait(.1)
  3149. x:Play()
  3150. Debounces.on = false
  3151. Debounces.Here = false
  3152. shot = shot + 1
  3153. local rng = Instance.new("Part", larm)
  3154. rng.Anchored = true
  3155. rng.BrickColor = BrickColor.new("Royal purple")
  3156. rng.CanCollide = false
  3157. rng.FormFactor = 3
  3158. rng.Name = "Ring"
  3159. rng.Size = Vector3.new(1, 1, 1)
  3160. rng.Transparency = 0.35
  3161. rng.TopSurface = 0
  3162. rng.BottomSurface = 0
  3163. rng2 = rng:clone()
  3164. rng3 = rng2:clone()
  3165. rng4 = rng2:clone()
  3166. local rngm = Instance.new("SpecialMesh", rng)
  3167. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3168. rngm.Scale = Vector3.new(10, 10, 1)
  3169. rngm2 = rngm:clone()
  3170. rngm2.Scale = Vector3.new(5, 5, 3)
  3171. rngm3=rngm2:clone()
  3172. rngm3.Parent = rng3
  3173. rngm3.Scale = Vector3.new(8, 8, 1)
  3174. rngm4 = rngm2:clone()
  3175. rngm4.Parent = rng4
  3176. rngm4.Scale = Vector3.new(6, 6, 1)
  3177. local bem = Instance.new("Part", larm)
  3178. bem.Anchored = true
  3179. bem.BrickColor = BrickColor.new("Really black")
  3180. bem.CanCollide = false
  3181. bem.FormFactor = 3
  3182. bem.Name = "Beam" .. shot
  3183. bem.Size = Vector3.new(1, 1, 1)
  3184. bem.Transparency = 0.35
  3185. bem.TopSurface = 0
  3186. bem.BottomSurface = 0
  3187. local bemm = Instance.new("SpecialMesh", bem)
  3188. bemm.MeshType = 4
  3189. bemm.Scale = Vector3.new(1, 4, 4)
  3190. local out = Instance.new("Part", larm)
  3191. out.Anchored = true
  3192. out.BrickColor = BrickColor.new("Really black")
  3193. out.CanCollide = false
  3194. out.FormFactor = 3
  3195. out.Name = "Out"
  3196. out.Size = Vector3.new(4, 4, 4)
  3197. out.Transparency = 0.35
  3198. out.TopSurface = 0
  3199. out.BottomSurface = 0
  3200. local outm = Instance.new("SpecialMesh", out)
  3201. outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
  3202. outm.Scale = Vector3.new(6, 4, 6)
  3203. local bnd = Instance.new("Part", larm)
  3204. bnd.Anchored = true
  3205. bnd.BrickColor = BrickColor.new("Really red")
  3206. bnd.CanCollide = false
  3207. bnd.FormFactor = 3
  3208. bnd.Name = "Bend"
  3209. bnd.Size = Vector3.new(1, 1, 1)
  3210. bnd.Transparency = 1
  3211. bnd.TopSurface = 0
  3212. bnd.BottomSurface = 0
  3213. local bndm = Instance.new("SpecialMesh", bnd)
  3214. bndm.MeshType = 3
  3215. bndm.Scale = Vector3.new(8, 8, 8)
  3216. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  3217. bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
  3218. bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
  3219. rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  3220. rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0)
  3221. rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0)
  3222. Debounces.Shewt = true
  3223. coroutine.wrap(function()
  3224. for i = 1, 20, 0.2 do
  3225. rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
  3226. rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1)
  3227. rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1)
  3228. rng.Transparency = i/20
  3229. rng3.Transparency = 1/24
  3230. rng4.Transparency = i/26
  3231. wait()
  3232. end
  3233. wait()
  3234. rng:Destroy()
  3235. end)()
  3236. if Debounces.Shewt == true then
  3237. larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
  3238. hit = ht.Parent
  3239. if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
  3240. if HasntTouched(hit.Name) == true and deb == false then
  3241. deb = true
  3242. coroutine.wrap(function()
  3243. hit:FindFirstChild("Humanoid").PlatformStand = true
  3244. hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  3245. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
  3246. end)()
  3247. table.insert(Touche, hit.Name)
  3248. deb = false
  3249. end
  3250. elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
  3251. if HasntTouched(hit.Parent.Name) == true and deb == false then
  3252. deb = true
  3253. coroutine.wrap(function()
  3254. hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
  3255. hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  3256. wait(1)
  3257. hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
  3258. end)()
  3259. table.insert(Touche, hit.Parent.Name)
  3260. deb = false
  3261. for i, v in pairs(Touche) do
  3262. print(v)
  3263. end
  3264. end
  3265. end
  3266. end)
  3267. end
  3268. for i = 0, 260, 8 do
  3269. bem.Size = Vector3.new(i, 3, 3)
  3270. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  3271. bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
  3272. bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
  3273. bnd.Size = Vector3.new(1,1,1)
  3274. bndm.Scale = Vector3.new(8,8,8)
  3275. if i % 10 == 0 then
  3276. local newRng = rng2:Clone()
  3277. newRng.Parent = larm
  3278. newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
  3279. local newRngm = rngm2:clone()
  3280. newRngm.Parent=newRng
  3281. coroutine.wrap(function()
  3282. for i = 1, 10, 0.2 do
  3283. newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3)
  3284. newRng.Transparency = i/10
  3285. wait()
  3286. end
  3287. wait()
  3288. newRng:Destroy()
  3289. end)()
  3290. end
  3291. wait()
  3292. end
  3293. wait()
  3294. Debounces.Shewt = false
  3295. bem:Destroy()
  3296. out:Destroy()
  3297. bnd:Destroy()
  3298. Debounces.Ready = false
  3299. for i, v in pairs(Touche) do
  3300. table.remove(Touche, i)
  3301. end
  3302. wait()
  3303. table.insert(Touche, char.Name)
  3304. Debounces.NoIdl = false
  3305. if Debounces.CanAttack == false then
  3306. Debounces.CanAttack = true
  3307. end
  3308. end
  3309. end
  3310. end)
  3311. ----------------------------------------------------
  3312. --[[mouse.KeyDown:connect(function(key)
  3313. if key == "y" then
  3314. if Debounces.CanAttack == true then
  3315. Debounces.CanAttack = false
  3316. Debounces.NoIdl = true
  3317. Debounces.on = true
  3318. local shell = Instance.new("Part",torso)
  3319. shell.BrickColor = BrickColor.new("Royal purple")
  3320. shell.Anchored = false
  3321. shell.CanCollide = false
  3322. shell.Locked = true
  3323. shell.TopSurface = "SmoothNoOutlines"
  3324. shell.BottomSurface = "SmoothNoOutlines"
  3325. shell.Size = Vector3.new(1.2,1.2,1.2)
  3326. shell.FormFactor = 3
  3327. local shellm = Instance.new("SpecialMesh",shell)
  3328. shellm.MeshType = "Sphere"
  3329. shellm.Scale = Vector3.new(1.2,1.2,1.2)
  3330. Omega = function()
  3331. local X = Instance.new("Part",char)
  3332. local O = Instance.new("ObjectValue",X)
  3333. O.Name = "creator"
  3334. X.Locked = true
  3335. X.Name = "Shell"
  3336. X.Anchored = false
  3337. X.CanCollide = false
  3338. X.Transparency = 0.5
  3339. X.Reflectance = 0
  3340. X.BottomSurface = 0
  3341. X.TopSurface = 0
  3342. X.Shape = 0
  3343. local V = Instance.new("ObjectValue",X)
  3344. V.Value = char
  3345. V.Name = "creator"
  3346. X.BrickColor = BrickColor.new("Royal purple")
  3347. X.Size = Vector3.new(40,40,40)
  3348. --X.Material = "Neon"
  3349. local Z = Instance.new("SpecialMesh",X)
  3350. Z.MeshType = "Sphere"
  3351. Z.Scale = Vector3.new(0.2,0.2,0.2)
  3352. X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
  3353. local bv = Instance.new("BodyVelocity",X)
  3354. bv.maxForce = Vector3.new(99999,99999,99999)
  3355. X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
  3356. bv.velocity = root.CFrame.lookVector*10
  3357. Explode = X.Touched:connect(function(hit)
  3358. if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart}") then
  3359. local cf = X.CFrame
  3360. bv:Destroy()
  3361. X.Anchored = true
  3362. Z:Remove()
  3363. Explode:disconnect()
  3364. X.Size = Vector3.new(3,3,3)
  3365. X.Touched:connect(function(hit) end)
  3366. X.CanCollide = false
  3367. for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do
  3368. if v:FindFirstChild('Humanoid') then
  3369. v.Humanoid:TakeDamage(math.random(80,120))
  3370. end
  3371. end
  3372. for i = 1, (40) do rs:wait()
  3373. X.Transparency = X.Transparency + (1/40)
  3374. X.Size = X.Size + Vector3.new(1,1,1)
  3375. X.CFrame = root.CFrame * CFrame.new(0,0,-10)
  3376. end
  3377. X:Destroy()
  3378. end
  3379. end)
  3380. end
  3381. for i = 1,200 do
  3382. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3383. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.03)
  3384. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)
  3385. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  3386. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3387. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3388. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3389. if Debounces.on == false then break end
  3390. rs:wait()
  3391. end
  3392. for i = 1,30 do
  3393. shell.CFrame = torso.CFrame * CFrame.new(0,8,0)
  3394. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.4)
  3395. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-170)), 0.4)
  3396. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  3397. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3398. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3399. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3400. if Debounces.on == false then break end
  3401. rs:wait()
  3402. end
  3403. for i = 1,40 do
  3404. shell.CFrame = torso.CFrame * CFrame.new(0,20,0)
  3405. shell.Size = shell.Size + Vector3.new(1,1,1)
  3406. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(100)), 0.4)
  3407. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-100)), 0.4)
  3408. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  3409. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3410. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3411. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3412. if Debounces.on == false then break end
  3413. rs:wait()
  3414. end
  3415. for i = 1,40 do
  3416. shell.CFrame = torso.CFrame * CFrame.new(0,0,-30)
  3417. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(20)), 0.4)
  3418. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.4)
  3419. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  3420. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3421. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3422. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3423. if Debounces.on == false then break end
  3424. rs:wait()
  3425. end
  3426. for i = 1,60 do
  3427. shell.CFrame = torso.CFrame * CFrame.new(0,0,-60)
  3428. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-30)), 0.4)
  3429. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.4)
  3430. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  3431. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3432. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3433. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3434. if Debounces.on == false then break end
  3435. rs:wait()
  3436. end
  3437. for i = 1,60 do
  3438. shell.CFrame = torso.CFrame * CFrame.new(0,0,-60)
  3439. shell.Size = shell.Size + Vector3.new(1,1,1)
  3440. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(120)), 0.4)
  3441. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-120)), 0.4)
  3442. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  3443. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3444. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3445. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3446. if Debounces.on == false then break end
  3447. rs:wait()
  3448. end
  3449. if Debounces.CanAttack == false then
  3450. Debounces.CanAttack = true
  3451. Debounces.NoIdl = false
  3452. Debounces.on = false
  3453. end
  3454. end
  3455. end
  3456. end)]]--
  3457. ----------------------------------------------------
  3458. Charging = false
  3459. mouse.KeyDown:connect(function(key)
  3460. if key == "r" then
  3461. if Charging == false then
  3462. Charging = true
  3463. if Debounces.CanAttack == true then
  3464. Debounces.CanAttack = false
  3465. Debounces.NoIdl = true
  3466. Debounces.on = true
  3467. for i = 1,20 do
  3468. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2)
  3469. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2)
  3470. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  3471. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  3472. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
  3473. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
  3474. if Debounces.on == false then break end
  3475. rs:wait()
  3476. end
  3477. --[[for i = 1,20 do
  3478. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4)
  3479. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4)
  3480. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4)
  3481. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4)
  3482. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4)
  3483. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4)
  3484. if Debounces.on == false then break end
  3485. rs:wait()
  3486. end]]--
  3487. pt=Instance.new('Part',torso)
  3488. pt.Anchored=true
  3489. pt.CanCollide=false
  3490. pt.Locked = true
  3491. pt.FormFactor='Custom'
  3492. pt.Size=Vector3.new(1,1,1)
  3493. pt.CFrame=root.CFrame*CFrame.new(0,-1,0)
  3494. pt.Transparency=.6
  3495. pt.BrickColor=BrickColor.new('Really black')
  3496. msh=Instance.new('SpecialMesh',pt)
  3497. msh.MeshId='http://www.roblox.com/asset/?id=20329976'
  3498. msh.Scale=Vector3.new(8,4,8)
  3499. pt2=pt:clone()
  3500. pt2.Parent = torso
  3501. pt2.CFrame=root.CFrame*CFrame.new(0,-1,0)
  3502. pt2.BrickColor=BrickColor.new("Royal purple")
  3503. msh2=msh:clone()
  3504. msh2.Parent=pt2
  3505. msh2.Scale=Vector3.new(10,5,10)
  3506.  
  3507. custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
  3508.  
  3509. bl = Instance.new("Part", char)
  3510. bl.Locked = true
  3511. bl.Name = "Shell"
  3512. bl.BrickColor = BrickColor.new("Really black")
  3513. bl.Anchored = true
  3514. bl.CanCollide = false
  3515. bl.Transparency = 0
  3516. bl.Reflectance = 0
  3517. bl.BottomSurface = 0
  3518. bl.TopSurface = 0
  3519. bl.Shape = 0
  3520. blm = Instance.new("SpecialMesh",bl)
  3521. blm.MeshType = "Sphere"
  3522. blm.Scale = Vector3.new(1,1,1)
  3523. blm.MeshId = "rbxassetid://9982590"
  3524.  
  3525. coroutine.resume(coroutine.create(function()
  3526. for i=1, math.huge, 4 do
  3527. if Charging == true then
  3528. rs:wait()
  3529. bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  3530. blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1)
  3531. bl.Transparency = bl.Transparency + 0.005
  3532. pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
  3533. pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
  3534. msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05)
  3535. msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05)
  3536. elseif Charging == false then break
  3537. end
  3538. end
  3539. end))
  3540.  
  3541. repeat
  3542. local p = Instance.new('Part',torso)
  3543. p.formFactor = 'Custom'
  3544. p.Size = Vector3.new(1,1,1)
  3545. p.BrickColor = workspace.Base.BrickColor
  3546. p.CanCollide = false
  3547. p.Transparency = 0
  3548. p.Anchored = true
  3549. p.Locked=true
  3550. p.Material = workspace.Base.Material
  3551. s = math.random(1,40)/10
  3552. local m = Instance.new("BlockMesh",p)
  3553. m.Scale = Vector3.new(s,s,s)
  3554. p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random())
  3555. --[[coroutine.wrap(function()
  3556. wait(2)
  3557. while Charging == true do
  3558. wait(2)
  3559. GroundWave1()
  3560. wait(2)
  3561. end
  3562. end)()]]--
  3563. Spawn(function()
  3564. while rs:wait() do
  3565. if Charging == true then
  3566. rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50)))
  3567. larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30)))
  3568. hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0))
  3569. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  3570. lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10)))
  3571. rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20)))
  3572. elseif Charging == false then break
  3573. end
  3574. end
  3575. end)
  3576. Spawn(function()
  3577. while rs:wait() do
  3578. if p.Transparency >= 1 then p:Destroy() break end
  3579. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
  3580. p.Transparency = p.Transparency+0.01
  3581. end
  3582. end)
  3583. wait(.3)
  3584. until Charging == false
  3585. end
  3586. end
  3587. end
  3588. end)
  3589. ----------------------------------------------------
  3590. mouse.KeyUp:connect(function(key)
  3591. if key == "r" then
  3592. if Charging == true then
  3593. Charging = false
  3594. pt:Destroy()
  3595. pt2:Destroy()
  3596. bl:Destroy()
  3597. if Debounces.CanAttack == false then
  3598. Debounces.CanAttack = true
  3599. Debounces.NoIdl = false
  3600. Debounces.on = false
  3601. end
  3602. end
  3603. end
  3604. end)
  3605. ----------------------------------------------------
  3606. mouse.KeyDown:connect(function(key)
  3607. if key == "g" then
  3608. if Debounces.CanAttack == true then
  3609. Debounces.CanAttack = false
  3610. Debounces.NoIdl = true
  3611. Debounces.on = true
  3612. local shell = Instance.new("Part",torso)
  3613. shell.BrickColor = BrickColor.new("Royal purple")
  3614. shell.Anchored = true
  3615. shell.CanCollide = false
  3616. shell.Locked = true
  3617. shell.TopSurface = "SmoothNoOutlines"
  3618. shell.BottomSurface = "SmoothNoOutlines"
  3619. shell.Size = Vector3.new(1,1,1)
  3620. shellm = Instance.new("SpecialMesh",shell)
  3621. shellm.MeshType = "Sphere"
  3622. shellm.Scale = Vector3.new(1,1,1)
  3623. local shell2 = Instance.new("Part",torso)
  3624. shell2.BrickColor = BrickColor.new("Royal purple")
  3625. shell2.Anchored = true
  3626. shell2.CanCollide = false
  3627. shell2.Locked = true
  3628. shell2.TopSurface = "SmoothNoOutlines"
  3629. shell2.BottomSurface = "SmoothNoOutlines"
  3630. shell2.Size = Vector3.new(1,1,1)
  3631. shellm2 = Instance.new("SpecialMesh",shell2)
  3632. shellm2.MeshType = "Sphere"
  3633. shellm2.Scale = Vector3.new(1,1,1)
  3634.  
  3635. function FindNearestTorso(Position,Distance,SinglePlayer)
  3636. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  3637. local List = {}
  3638. for i,v in pairs(workspace:GetChildren())do
  3639. if v:IsA("Model")then
  3640. if v:findFirstChild("Torso")then
  3641. if v ~= char then
  3642. if(v.Torso.Position -Position).magnitude <= Distance then
  3643. table.insert(List,v)
  3644. end
  3645. end
  3646. end
  3647. end
  3648. end
  3649. return List
  3650. end
  3651.  
  3652. Shell = function()
  3653. local X = Instance.new("Part",char)
  3654. local O = Instance.new("ObjectValue",X)
  3655. O.Name = "creator"
  3656. X.Locked = true
  3657. X.Name = "Shell"
  3658. X.Anchored = false
  3659. X.CanCollide = false
  3660. X.Transparency = 0
  3661. X.Reflectance = 0
  3662. X.BottomSurface = 0
  3663. X.TopSurface = 0
  3664. X.Shape = 0
  3665. local V = Instance.new("ObjectValue",X)
  3666. V.Value = char
  3667. V.Name = "creator"
  3668. X.BrickColor = BrickColor.new("Royal purple")
  3669. X.Size = Vector3.new(1,1,1)
  3670. --X.Material = "Neon"
  3671. local Z = Instance.new("SpecialMesh",X)
  3672. Z.MeshType = "Sphere"
  3673. Z.Scale = Vector3.new(1,1,1)
  3674. X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
  3675. local bv = Instance.new("BodyVelocity",X)
  3676. bv.maxForce = Vector3.new(99999,99999,99999)
  3677. X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
  3678. bv.velocity = root.CFrame.lookVector*65
  3679. Explode = X.Touched:connect(function(hit)
  3680. if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then
  3681. local cf = X.CFrame
  3682. bv:Destroy()
  3683. X.Anchored = true
  3684. Z:Remove()
  3685. Explode:disconnect()
  3686. X.Size = Vector3.new(3,3,3)
  3687. X.Touched:connect(function(hit) end)
  3688. X.CanCollide = false
  3689. for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do
  3690. if v:FindFirstChild('Humanoid') then
  3691. v.Humanoid:TakeDamage(math.random(6,12))
  3692. end
  3693. end
  3694. for i = 1, (40) do rs:wait()
  3695. X.Transparency = X.Transparency + (1/40)
  3696. X.Size = X.Size + Vector3.new(1,1,1)
  3697. X.CFrame = cf
  3698. end
  3699. X:Destroy()
  3700. end
  3701. end)
  3702. end
  3703. Shell()
  3704. for i = 1, 10 do
  3705. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3706. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3707. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  3708. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  3709. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7)
  3710. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7)
  3711. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.7)
  3712. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.7)
  3713. if Debounces.on == false then break end
  3714. rs:wait()
  3715. end
  3716. Shell()
  3717. shell.Transparency = 1
  3718. for i = 1, 10 do
  3719. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3720. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3721. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  3722. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  3723. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  3724. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  3725. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  3726. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  3727. if Debounces.on == false then break end
  3728. rs:wait()
  3729. end
  3730. Shell()
  3731. shell.Transparency = 0
  3732. shell2.Transparency = 1
  3733. for i = 1, 10 do
  3734. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3735. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3736. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  3737. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  3738. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  3739. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  3740. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  3741. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  3742. if Debounces.on == false then break end
  3743. rs:wait()
  3744. end
  3745. Shell()
  3746. shell2.Transparency = 0
  3747. shell.Transparency = 1
  3748. for i = 1, 10 do
  3749. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3750. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3751. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  3752. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  3753. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  3754. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  3755. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  3756. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  3757. if Debounces.on == false then break end
  3758. rs:wait()
  3759. end
  3760. Shell()
  3761. shell.Transparency = 0
  3762. shell2.Transparency = 1
  3763. for i = 1, 10 do
  3764. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3765. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3766. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  3767. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  3768. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  3769. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  3770. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  3771. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  3772. if Debounces.on == false then break end
  3773. rs:wait()
  3774. end
  3775. Shell()
  3776. shell2.Transparency = 0
  3777. shell.Transparency = 1
  3778. for i = 1, 10 do
  3779. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3780. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3781. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  3782. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  3783. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  3784. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  3785. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  3786. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  3787. if Debounces.on == false then break end
  3788. rs:wait()
  3789. end
  3790. Shell()
  3791. shell.Transparency = 0
  3792. shell2.Transparency = 1
  3793. for i = 1, 10 do
  3794. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3795. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3796. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  3797. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5)
  3798. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  3799. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  3800. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  3801. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  3802. if Debounces.on == false then break end
  3803. rs:wait()
  3804. end
  3805. Shell()
  3806. shell2.Transparency = 0
  3807. shell.Transparency = 1
  3808. for i = 1, 10 do
  3809. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3810. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3811. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  3812. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  3813. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  3814. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  3815. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  3816. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  3817. if Debounces.on == false then break end
  3818. rs:wait()
  3819. end
  3820. Shell()
  3821. shell.Transparency = 0
  3822. shell2.Transparency = 1
  3823. for i = 1, 10 do
  3824. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3825. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3826. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  3827. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  3828. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  3829. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  3830. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  3831. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  3832. if Debounces.on == false then break end
  3833. rs:wait()
  3834. end
  3835. Shell()
  3836. shell2.Transparency = 0
  3837. shell.Transparency = 1
  3838. for i = 1, 10 do
  3839. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3840. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3841. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  3842. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  3843. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  3844. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  3845. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  3846. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  3847. if Debounces.on == false then break end
  3848. rs:wait()
  3849. end
  3850. Shell()
  3851. shell.Transparency = 0
  3852. shell2.Transparency = 1
  3853. for i = 1, 10 do
  3854. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3855. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3856. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  3857. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  3858. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  3859. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  3860. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  3861. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  3862. if Debounces.on == false then break end
  3863. rs:wait()
  3864. end
  3865. Shell()
  3866. shell2.Transparency = 0
  3867. shell.Transparency = 1
  3868. for i = 1, 10 do
  3869. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3870. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3871. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  3872. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  3873. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  3874. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  3875. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  3876. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  3877. if Debounces.on == false then break end
  3878. rs:wait()
  3879. end
  3880. Shell()
  3881. shell.Transparency = 0
  3882. shell2.Transparency = 1
  3883. for i = 1, 10 do
  3884. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3885. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3886. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  3887. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  3888. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  3889. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  3890. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  3891. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  3892. if Debounces.on == false then break end
  3893. rs:wait()
  3894. end
  3895. shell.Transparency = 1
  3896. if Debounces.CanAttack == false then
  3897. Debounces.CanAttack = true
  3898. Debounces.NoIdl = false
  3899. Debounces.on = false
  3900. end
  3901. end
  3902. end
  3903. end)
  3904. ----------------------------------------------------
  3905. Search = false
  3906. mouse.KeyDown:connect(function(key)
  3907. if key == "n" then
  3908. if Search == false then
  3909. Search = true
  3910. for i,v in pairs(game.Players:getPlayers()) do
  3911. if v.Name~=char.Name then
  3912. for j,k in pairs(v.Character:GetChildren()) do
  3913. if k:IsA("BasePart") and k.Transparency >= 1 then
  3914. bawx=Instance.new("SelectionBox",cam)
  3915. bawx.Color = BrickColor.new("Bright red")
  3916. bawx.Transparency = .5
  3917. bawx.Adornee = k
  3918. end
  3919. end
  3920. end
  3921. end
  3922. elseif Search == true then
  3923. Search = false
  3924. for i, v in pairs(cam:GetChildren()) do
  3925. if v:IsA("SelectionBox") then
  3926. v:Destroy()
  3927. end
  3928. end
  3929. end
  3930. end
  3931. end)
  3932. ----------------------------------------------------
  3933. Grab = false
  3934. mouse.KeyDown:connect(function(key)
  3935. if key == "z" then
  3936. Debounces.on = true
  3937. Debounces.NoIdl = true
  3938. Debounces.ks = true
  3939. if Grab == false then
  3940. gp = nil
  3941. for i = 1, 20 do
  3942. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.2)
  3943. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.2)
  3944. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  3945. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  3946. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2)
  3947. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2)
  3948. if Debounces.on == false then break end
  3949. rs:wait()
  3950. end
  3951. con1=larm.Touched:connect(function(hit) -- this is grab
  3952. ht = hit.Parent
  3953. hum1=ht:FindFirstChild('Humanoid')
  3954. if hum1 ~= nil then
  3955. if Debounces.ks==true then
  3956. z = Instance.new("Sound",hed)
  3957. z.SoundId = "rbxassetid://169380525"
  3958. z.Volume = 1
  3959. z:Play()
  3960. Debounces.ks=false
  3961. end
  3962. hum1.PlatformStand=true
  3963. gp = ht
  3964. Grab = true
  3965. asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0))
  3966. asd.Parent = larm
  3967. asd.Name = "asd"
  3968. asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0)
  3969. --[[elseif hum1 == nil then
  3970. con1:disconnect()
  3971. wait() return]]--
  3972. end
  3973. end)
  3974. for i = 1, 20 do
  3975. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.2)
  3976. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.2)
  3977. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  3978. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  3979. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
  3980. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2)
  3981. if Debounces.on == false then break end
  3982. rs:wait()
  3983. end
  3984. if hum1 == nil then
  3985. Debounces.on = false
  3986. Debounces.NoIdl = false
  3987. end
  3988. con1:disconnect()
  3989. elseif Grab == true then
  3990. Grab = false
  3991. Punch()
  3992. z = Instance.new("Sound",hed)
  3993. z.SoundId = "rbxassetid://169380525"
  3994. z.Pitch = ptz[math.random(1,#ptz)]
  3995. z.Volume = 1
  3996. z:Play()
  3997. for i = 1, 10 do
  3998. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3999. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  4000. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  4001. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  4002. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4003. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4004. if Debounces.on == false then break end
  4005. rs:wait()
  4006. end
  4007. Punch()
  4008. z = Instance.new("Sound",hed)
  4009. z.SoundId = "rbxassetid://169380525"
  4010. z.Pitch = ptz[math.random(1,#ptz)]
  4011. z.Volume = 1
  4012. z:Play()
  4013. for i = 1, 10 do
  4014. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  4015. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  4016. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  4017. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  4018. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4019. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4020. if Debounces.on == false then break end
  4021. rs:wait()
  4022. end
  4023. Punch()
  4024. z = Instance.new("Sound",hed)
  4025. z.SoundId = "rbxassetid://169380525"
  4026. z.Pitch = ptz[math.random(1,#ptz)]
  4027. z.Volume = 1
  4028. z:Play()
  4029. for i = 1, 10 do
  4030. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  4031. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  4032. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  4033. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  4034. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4035. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4036. if Debounces.on == false then break end
  4037. rs:wait()
  4038. end
  4039. Punch()
  4040. z = Instance.new("Sound",hed)
  4041. z.SoundId = "rbxassetid://169380525"
  4042. z.Pitch = ptz[math.random(1,#ptz)]
  4043. z.Volume = 1
  4044. z:Play()
  4045. for i = 1, 10 do
  4046. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  4047. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  4048. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  4049. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  4050. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4051. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4052. if Debounces.on == false then break end
  4053. rs:wait()
  4054. end
  4055. Punch()
  4056. z = Instance.new("Sound",hed)
  4057. z.SoundId = "rbxassetid://169380525"
  4058. z.Pitch = ptz[math.random(1,#ptz)]
  4059. z.Volume = 1
  4060. z:Play()
  4061. for i = 1, 10 do
  4062. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  4063. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  4064. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  4065. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  4066. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4067. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4068. if Debounces.on == false then break end
  4069. rs:wait()
  4070. end
  4071. Punch()
  4072. z = Instance.new("Sound",hed)
  4073. z.SoundId = "rbxassetid://169380525"
  4074. z.Pitch = ptz[math.random(1,#ptz)]
  4075. z.Volume = 1
  4076. z:Play()
  4077. for i = 1, 10 do
  4078. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  4079. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  4080. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  4081. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  4082. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4083. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4084. if Debounces.on == false then break end
  4085. rs:wait()
  4086. end
  4087. Punch()
  4088. z = Instance.new("Sound",hed)
  4089. z.SoundId = "rbxassetid://169380525"
  4090. z.Pitch = ptz[math.random(1,#ptz)]
  4091. z.Volume = 1
  4092. z:Play()
  4093. for i = 1, 10 do
  4094. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  4095. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  4096. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  4097. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  4098. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4099. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4100. if Debounces.on == false then break end
  4101. rs:wait()
  4102. end
  4103. Punch()
  4104. z = Instance.new("Sound",hed)
  4105. z.SoundId = "rbxassetid://169380525"
  4106. z.Pitch = ptz[math.random(1,#ptz)]
  4107. z.Volume = 1
  4108. z:Play()
  4109. for i = 1, 10 do
  4110. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  4111. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  4112. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  4113. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  4114. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4115. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4116. if Debounces.on == false then break end
  4117. rs:wait()
  4118. end
  4119. Punch()
  4120. z = Instance.new("Sound",hed)
  4121. z.SoundId = "rbxassetid://169380525"
  4122. z.Pitch = ptz[math.random(1,#ptz)]
  4123. z.Volume = 1
  4124. z:Play()
  4125. for i = 1, 10 do
  4126. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  4127. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  4128. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  4129. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  4130. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4131. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4132. if Debounces.on == false then break end
  4133. rs:wait()
  4134. end
  4135. Punch()
  4136. z = Instance.new("Sound",hed)
  4137. z.SoundId = "rbxassetid://169380525"
  4138. z.Pitch = ptz[math.random(1,#ptz)]
  4139. z.Volume = 1
  4140. z:Play()
  4141. for i = 1, 10 do
  4142. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  4143. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  4144. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  4145. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  4146. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4147. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4148. if Debounces.on == false then break end
  4149. rs:wait()
  4150. end
  4151. Punch()
  4152. z = Instance.new("Sound",hed)
  4153. z.SoundId = "rbxassetid://169380525"
  4154. z.Pitch = ptz[math.random(1,#ptz)]
  4155. z.Volume = 1
  4156. z:Play()
  4157. for i = 1, 10 do
  4158. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  4159. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  4160. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  4161. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  4162. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4163. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4164. if Debounces.on == false then break end
  4165. rs:wait()
  4166. end
  4167. Punch()
  4168. z = Instance.new("Sound",hed)
  4169. z.SoundId = "rbxassetid://169380525"
  4170. z.Pitch = ptz[math.random(1,#ptz)]
  4171. z.Volume = 1
  4172. z:Play()
  4173. for i = 1, 10 do
  4174. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  4175. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  4176. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  4177. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  4178. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4179. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4180. if Debounces.on == false then break end
  4181. rs:wait()
  4182. end
  4183. con1:disconnect()
  4184. Debounces.on = false
  4185. Debounces.NoIdl = false
  4186. if gp ~= nil then
  4187. gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140
  4188. for i,v in pairs(larm:GetChildren()) do
  4189. if v.Name == "asd" and v:IsA("Weld") then
  4190. v:Remove()
  4191. end
  4192. end
  4193. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  4194. bv.maxForce = Vector3.new(400000, 400000, 400000)
  4195. bv.P = 125000
  4196. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  4197. hum1=nil
  4198. ht=nil
  4199. Debounces.on = false
  4200. Debounces.NoIdl = false
  4201. elseif ht == nil then wait()
  4202. Grab = false
  4203. Debounces.on = false
  4204. Debounces.NoIdl = false
  4205. end
  4206. end
  4207. end
  4208. end)
  4209. ----------------------------------------------------
  4210. mouse.KeyDown:connect(function(key)
  4211. if string.byte(key) == 52 then
  4212. char.Humanoid.WalkSpeed = 60
  4213. end
  4214. end)
  4215. mouse.KeyUp:connect(function(key)
  4216. if string.byte(key) == 52 then
  4217. char.Humanoid.WalkSpeed = 8
  4218. end
  4219. end)
  4220. -------------------------------
  4221. local animpose = "Idle"
  4222. local lastanimpose = "Idle"
  4223. local sine = 0
  4224. local change = 1
  4225. local val = 0
  4226. local ffing = false
  4227. -------------------------------
  4228. game:GetService("RunService").RenderStepped:connect(function()
  4229. --[[if char.Humanoid.Jump == true then
  4230. jump = true
  4231. else
  4232. jump = false
  4233. end]]
  4234. char.Humanoid.FreeFalling:connect(function(f)
  4235. if f then
  4236. ffing = true
  4237. else
  4238. ffing = false
  4239. end
  4240. end)
  4241. sine = sine + change
  4242. if jumpn == true then
  4243. animpose = "Jumping"
  4244. elseif ffing == true then
  4245. animpose = "Freefalling"
  4246. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  4247. animpose = "Idle"
  4248. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  4249. animpose = "Walking"
  4250. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  4251. animpose = "Running"
  4252. end
  4253. if animpose ~= lastanimpose then
  4254. sine = 0
  4255. if Debounces.NoIdl == false then
  4256. if animpose == "Idle" then
  4257. for i = 1, 2 do
  4258. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4)
  4259. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4)
  4260. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  4261. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  4262. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  4263. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  4264. end
  4265. elseif animpose == "Walking" then
  4266. for i = 1, 2 do
  4267. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
  4268. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
  4269. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  4270. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
  4271. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
  4272. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
  4273. end
  4274. elseif animpose == "Running" then
  4275. for i = 1, 2 do
  4276. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(-14),math.rad(8+2*math.cos(sine/14))), 0.2)
  4277. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(14),math.rad(-8-2*math.cos(sine/14))), 0.2)
  4278. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4)
  4279. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4)
  4280. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4)
  4281. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4)
  4282. wait()
  4283. end
  4284. end
  4285. else
  4286. end
  4287. end
  4288. lastanimpose = animpose
  4289. if Debounces.NoIdl == false then
  4290. if animpose == "Idle" then
  4291. change = 0.5
  4292. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8+2*math.cos(sine/14))), 0.4)
  4293. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8-2*math.cos(sine/14))), 0.4)
  4294. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  4295. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
  4296. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  4297. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  4298. elseif animpose == "Walking" then
  4299. change = 1
  4300. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
  4301. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
  4302. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  4303. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
  4304. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
  4305. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
  4306. elseif animpose == "Running" then
  4307. change = 1
  4308. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(-30),math.rad(14),math.rad(-30+2*math.cos(sine/14))), 0.2)
  4309. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2)
  4310. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4)
  4311. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2)
  4312. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.2) * CFrame.Angles(math.rad(-20), math.rad(10), math.rad(0)), 0.4)
  4313. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(10), math.rad(0)), 0.4)
  4314. end
  4315. end
  4316. end)
  4317.  
  4318. hum.MaxHealth = 9001
  4319. wait(3)
  4320. hum.Health = 9001
  4321.  
  4322. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
  4323. --[[Part0 = Vector3 (Start pos)
  4324. Part1 = Vector3 (End pos)
  4325. Times = number (Amount of lightning parts)
  4326. Offset = number (Offset)
  4327. Color = color (brickcolor value)
  4328. Thickness = number (thickness)
  4329. Trans = number (transparency)
  4330. ]]--
  4331. local magz = (Part0 - Part1).magnitude
  4332. local curpos = Part0
  4333. local trz = {-Offset,Offset}
  4334. for i=1,Times do
  4335. local li = Instance.new("Part", torso)
  4336. li.Name = "Lightning"
  4337. li.TopSurface =0
  4338. li.Material = "Neon"
  4339. li.BottomSurface = 0
  4340. li.Anchored = true
  4341. li.Locked = true
  4342. li.Transparency = Trans or 0.4
  4343. li.BrickColor = BrickColor.new(Color)
  4344. li.formFactor = "Custom"
  4345. li.CanCollide = false
  4346. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  4347. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  4348. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  4349. if Times == i then
  4350. local magz2 = (curpos - Part1).magnitude
  4351. li.Size = Vector3.new(Thickness,Thickness,magz2)
  4352. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  4353. else
  4354. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  4355. end
  4356. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  4357. game.Debris:AddItem(li,.1)
  4358. end
  4359. end
  4360.  
  4361. BodyParts = {} -- Parts to emit lightning effects from
  4362. for _, v in pairs(char:GetChildren()) do
  4363. if v:IsA("Part") then
  4364. table.insert(BodyParts, v)
  4365. end
  4366. end
  4367.  
  4368. Bounding = {} -- Calculate the bounding boxes
  4369. for _, v in pairs(BodyParts) do
  4370. local temp = {X=nil, Y=nil, Z=nil}
  4371. temp.X = v.Size.X/2 * 10
  4372. temp.Y = v.Size.Y/2 * 10
  4373. temp.Z = v.Size.Z/2 * 10
  4374. Bounding[v.Name] = temp
  4375. --table.insert(Bounding, v.Name, temp)
  4376. end
  4377.  
  4378. while wait(math.random(1,10)/10) do -- Emit the Lightning effects randomly
  4379. local Body1 = BodyParts[math.random(#BodyParts)]
  4380. local Body2 = BodyParts[math.random(#BodyParts)]
  4381. local Pos1 = Vector3.new(
  4382. math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
  4383. math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
  4384. math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
  4385. )
  4386. local Pos2 = Vector3.new(
  4387. math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
  4388. math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
  4389. math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
  4390. )
  4391. local SPos1 = Body1.Position + Pos1
  4392. local SPos2 = Body2.Position + Pos2
  4393. Lightning(SPos1, SPos2, 4, 3, "Bright blue", .3, .56)
  4394. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement