Advertisement
refrop

goku ssj, wssj (beta 2.0)

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