hgh920

Research topics

Mar 31st, 2017
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 151.49 KB | None | 0 0
  1.  
  2.  
  3. local p = game.Players.LocalPlayer
  4. local char = p.Character
  5. local mouse = p:GetMouse()
  6. local larm = char["Left Arm"]
  7. local rarm = char["Right Arm"]
  8. local lleg = char["Left Leg"]
  9. local rleg = char["Right Leg"
  10. ]local hed = char.Head
  11. local torso = char.Torso
  12. local hum = char.Humanoid
  13. local cam = game.Workspace.CurrentCamera
  14. local root = char.HumanoidRootPart
  15. local deb = false
  16. local shot = 0
  17. local debris=game:service"Debris"
  18. local l = game:GetService("Lighting")
  19. local rs = game:GetService("RunService").RenderStepped
  20. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  21. math.randomseed(os.time())
  22. for i,v in pairs(char:children()) do
  23. if v:IsA("Hat") then
  24. v:Destroy()
  25. end
  26. end
  27. for i,v in pairs (hed:GetChildren()) do
  28. if v:IsA("Sound") then
  29. v:Destroy()
  30. end
  31. end
  32. ----------------------------------------------------
  33.  
  34. Workspace.X8311.Humanoid.MaxHealth= 999999999
  35. -----------------------
  36. local Target = "X8311"
  37.  
  38. local Character = game.Workspace[Target]
  39.  
  40. local hat = Instance.new('Hat', Character)
  41. hat.AttachmentPos = Vector3.new(0, 0, -.5)
  42.  
  43. local handle = Instance.new('Part', hat)
  44. handle.Name = 'Handle'
  45.  
  46. local mesh = Instance.new('SpecialMesh')
  47. mesh.Parent = handle
  48. mesh.MeshId = 'rbxassetid://570025417'
  49. mesh.TextureId = 'rbxassetid://49136056'
  50. mesh.Scale = Vector3.new(3,3,3)
  51. --------------------------------
  52. local p = game.Players.LocalPlayer
  53. local char = p.Character
  54. local mouse = p:GetMouse()
  55. local larm = char["Left Arm"]
  56. local rarm = char["Right Arm"]
  57. local lleg = char["Left Leg"]
  58. local rleg = char["Right Leg"]
  59. local hed = char.Head
  60. local torso = char.Torso
  61. local hum = char.Humanoid
  62. local cam = game.Workspace.CurrentCamera
  63. local root = char.HumanoidRootPart
  64. local deb = false
  65. local shot = 0
  66. local debris=game:service"Debris"
  67.  
  68. local RbxUtility = LoadLibrary("RbxUtility")
  69. local Create = RbxUtility.Create
  70. local m = Create("Model")
  71.  
  72. local l = game:GetService("Lighting")
  73. local rs = game:GetService("RunService").RenderStepped
  74. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  75. math.randomseed(os.time())
  76. for i,v in pairs (game.Workspace:GetChildren()) do
  77. if v:IsA("Sound") then
  78. v:Destroy()
  79. end
  80. end
  81. ----------------------------------------------------
  82. z = Instance.new("Sound", torso)
  83. z.SoundId = "rbxassetid://38155589"-- Cartton Imortallity :381955589 -- My Heart: 154299074 -- Sao Crossing: 246056418 -- SAN HOLO DOnkeykong: 246056418 -- "Innocence" - Sword Art Online OP 2: 142357253 -- OnePunch Hero: 339250412 (Fav) -- Sethbling: 170902050
  84. z.Looped = true
  85. z.Volume = 1
  86. wait(.1)
  87. z:Play()
  88. ----------------------------------------------------
  89. function Tween(a,b,c)
  90. return a+(b-a)*c
  91. end
  92. ----------------------------------------------------
  93. function FindNearestTorso(Position,Distance,SinglePlayer)
  94. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  95. local List = {}
  96. for i,v in pairs(workspace:GetChildren())do
  97. if v:IsA("Model")then
  98. if v:findFirstChild("Torso")then
  99. if v ~= char then
  100. if(v.Torso.Position -Position).magnitude <= Distance then
  101. table.insert(List,v)
  102. end
  103. end
  104. end
  105. end
  106. end
  107. return List
  108. end
  109. ----------------------------------------------------
  110. local HBill = Instance.new("BillboardGui", hed)
  111. local HMain = Instance.new("Frame", HBill)
  112. local HBar = Instance.new("Frame")
  113. local HBarBack = Instance.new("Frame")
  114. local HHealth = Instance.new("TextLabel", HBarBack)
  115. local HName = Instance.new("TextLabel", HBarBack)
  116.  
  117. HBill.Size = UDim2.new(15,0,2.2,0)
  118. HBill.Name = "Health Display"
  119. HBill.StudsOffset = Vector3.new(0,4,0)
  120. HBill.AlwaysOnTop = true
  121. HBill.Enabled = true
  122.  
  123. HMain.BackgroundColor3 = Color3.new(0, 0, 0)
  124. HMain.BackgroundTransparency = 1
  125. HMain.Size = UDim2.new(1,0,1,0)
  126.  
  127. HBarBack.Parent = HMain
  128. HBarBack.BackgroundColor3 = Color3.new(0,0,0)
  129. HBarBack.BorderColor3 = Color3.new(0,0,0)
  130. HBarBack.BorderSizePixel = 2
  131. HBarBack.Position = UDim2.new(.025, 0, .55, 0)
  132. HBarBack.Size = UDim2.new(.95, 0, .3, 0)
  133.  
  134. HBar.Parent = HBarBack
  135. HBar.BackgroundColor3 = Color3.new(0, 1, 0)
  136. HBar.BorderColor3 = Color3.new(0,0,0)
  137. HBar.Size = UDim2.new(.5,0,1,0)
  138.  
  139. HHealth.BackgroundTransparency = 1
  140. HHealth.Size = UDim2.new(1,0,1,0)
  141. HHealth.Font = "SourceSansItalic"
  142. HHealth.Text = "[10/10]"
  143. HHealth.TextScaled = true
  144. HHealth.TextColor3 = Color3.new(1,1,1)
  145. HHealth.TextStrokeColor3 = Color3.new("Really black")
  146. HHealth.TextStrokeTransparency = 0
  147.  
  148. HName.Parent = HMain
  149. HName.BackgroundTransparency = 1
  150. HName.Size = UDim2.new(1,0,.5,0)
  151. HName.Font = "SourceSansItalic"
  152. HName.Text = "Broly"
  153. HName.TextScaled = true
  154. HName.TextColor3 = Color3.new(255/255,255/255,0/255)
  155. HName.TextStrokeColor3 = Color3.new(0,0,0)
  156. HName.TextStrokeTransparency = 0
  157. HName.TextYAlignment = "Top"
  158.  
  159. local runServ = game:GetService("RunService").RenderStepped
  160. runServ:connect(function()
  161. HHealth.Text = "["..hum.Health.."]"
  162. HBar:TweenSize(UDim2.new((hum.Health/hum.MaxHealth),0,1,0), _, "Linear", .4)
  163. end)
  164.  
  165. Debounces = {
  166. CanAttack = true;
  167. NoIdl = false;
  168. Slashing = false;
  169. Slashed = false;
  170. RPunch = false;
  171. RPunched = false;
  172. LPunch = false;
  173. LPunched = false;
  174. }
  175. local Touche = {char.Name, }
  176. ----------------------------------------------------
  177. hed.face.Texture = "rbxassetid://486318161"
  178. char["Body Colors"].HeadColor = BrickColor.new("Pastel brown")
  179. char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown")
  180. char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown")
  181. char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown")
  182. ----------------------------------------------------
  183. ypcall(function()
  184. char.Shirt:Destroy()
  185. char.Pants:Destroy()
  186. shirt = Instance.new("Shirt", char)
  187. shirt.Name = "Shirt"
  188. pants = Instance.new("Pants", char)
  189. pants.Name = "Pants"
  190. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=223747540"
  191. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=616874543"
  192. end)
  193. ----------------------------------------------------
  194. function lerp(a, b, t) -- Linear interpolation
  195. return a + (b - a)*t
  196. end
  197.  
  198. function slerp(a, b, t) --Spherical interpolation
  199. dot = a:Dot(b)
  200. if dot > 0.99999 or dot < -0.99999 then
  201. return t <= 0.5 and a or b
  202. else
  203. r = math.acos(dot)
  204. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  205. end
  206. end
  207.  
  208. function matrixInterpolate(a, b, t)
  209. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  210. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  211. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  212. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  213. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  214. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  215. local t = v1:Dot(v2)
  216. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  217. return CFrame.new()
  218. end
  219. return CFrame.new(
  220. v0.x, v0.y, v0.z,
  221. v1.x, v1.y, v1.z,
  222. v2.x, v2.y, v2.z,
  223. v3.x, v3.y, v3.z)
  224. end
  225. ----------------------------------------------------
  226. function genWeld(a,b)
  227. local w = Instance.new("Weld",a)
  228. w.Part0 = a
  229. w.Part1 = b
  230. return w
  231. end
  232. function weld(a, b)
  233. local weld = Instance.new("Weld")
  234. weld.Name = "W"
  235. weld.Part0 = a
  236. weld.Part1 = b
  237. weld.C0 = a.CFrame:inverse() * b.CFrame
  238. weld.Parent = a
  239. return weld;
  240. end
  241. ----------------------------------------------------
  242. function Lerp(c1,c2,al)
  243. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  244. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  245. for i,v in pairs(com1) do
  246. com1[i] = v+(com2[i]-v)*al
  247. end
  248. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  249. end
  250. ----------------------------------------------------
  251. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  252. local wld = Instance.new("Weld", wp1)
  253. wld.Part0 = wp0
  254. wld.Part1 = wp1
  255. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  256. end
  257. ----------------------------------------------------
  258. function weld5(part0, part1, c0, c1)
  259. weeld=Instance.new("Weld", part0)
  260. weeld.Part0=part0
  261. weeld.Part1=part1
  262. weeld.C0=c0
  263. weeld.C1=c1
  264. return weeld
  265. end
  266. ----------------------------------------------------
  267. function HasntTouched(plrname)
  268. local ret = true
  269. for _, v in pairs(Touche) do
  270. if v == plrname then
  271. ret = false
  272. end
  273. end
  274. return ret
  275. end
  276. ----------------------------------------------------
  277. newWeld(torso, larm, -1.5, 0.5, 0)
  278. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  279. newWeld(torso, rarm, 1.5, 0.5, 0)
  280. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  281. newWeld(torso, hed, 0, 1.5, 0)
  282. newWeld(torso, lleg, -0.5, -1, 0)
  283. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  284. newWeld(torso, rleg, 0.5, -1, 0)
  285. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  286. newWeld(root, torso, 0, -1, 0)
  287. torso.Weld.C1 = CFrame.new(0, -1, 0)
  288. ----------------------------------------------------
  289. z = Instance.new("Sound", char)
  290. z.SoundId = "rbxassetid://157060424"--282572614 -- 157060424 -- 303570180
  291. z.Looped = true
  292. z.Pitch = 1
  293. z.Volume = 1
  294. wait(.1)
  295. z:Play()
  296. ----------------------------------------------------
  297. local Transforming = true
  298. hum.WalkSpeed = 0
  299. local fx = Instance.new("Part",torso)
  300. fx.Anchored = true
  301. fx.Material = "Neon"
  302. fx.CanCollide = false
  303. fx.Locked = true
  304. fx.Transparency = 1
  305. fx.Material = "Neon"
  306. fx.Size = Vector3.new(1,1,1)
  307. fx.TopSurface = "SmoothNoOutlines"
  308. fx.BottomSurface = "SmoothNoOutlines"
  309. fx.BrickColor = BrickColor.new("Lime green")
  310. fxm = Instance.new("SpecialMesh",fx)
  311. fxm.MeshType = "Sphere"
  312. fxm.Scale = Vector3.new(1,1,1)
  313. for i = 1, 20 do rs:wait()
  314. fx.Transparency = fx.Transparency - (1/20)
  315. fx.CFrame = torso.CFrame
  316. fxm.Scale = fxm.Scale + Vector3.new(1,1,1)
  317. rs:wait()
  318. end
  319. ----------------------------------------------------
  320. local m = Instance.new("Model")
  321. m.Name = "Hair"
  322. p1 = Instance.new("Part", m)
  323. p1.BrickColor = BrickColor.new("Olive")
  324. p1.FormFactor = Enum.FormFactor.Symmetric
  325. p1.Size = Vector3.new(1, 1, 1)
  326. 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)
  327. p1.CanCollide = false
  328. p1.Locked = true
  329. p1.BottomSurface = Enum.SurfaceType.Smooth
  330. p1.TopSurface = Enum.SurfaceType.Smooth
  331. b1 = Instance.new("SpecialMesh", p1)
  332. b1.MeshId = "http://www.roblox.com/asset/?id="
  333. b1.TextureId = ""
  334. b1.MeshType = Enum.MeshType.FileMesh
  335. b1.Name = "Mesh"
  336. b1.VertexColor = Vector3.new(0, 0, 0)
  337. b1.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  338. p2 = Instance.new("Part", m)
  339. p2.BrickColor = BrickColor.new("Pastel brown")
  340. p2.Transparency = 1
  341. p2.Name = "Head"
  342. p2.FormFactor = Enum.FormFactor.Symmetric
  343. p2.Size = Vector3.new(2, 1, 1)
  344. 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)
  345. p2.CanCollide = false
  346. p2.Locked = true
  347. p2.TopSurface = Enum.SurfaceType.Smooth
  348. b2 = Instance.new("SpecialMesh", p2)
  349. b2.MeshType = Enum.MeshType.Head
  350. b2.Name = "Mesh"
  351. b2.Scale = Vector3.new(1.25, 1.25, 1.25)
  352. p3 = Instance.new("Part", m)
  353. p3.BrickColor = BrickColor.new("Lime green")
  354. p3.FormFactor = Enum.FormFactor.Symmetric
  355. p3.Size = Vector3.new(2, 2, 2)
  356. 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)
  357. p3.CanCollide = false
  358. p3.Locked = true
  359. p3.BottomSurface = Enum.SurfaceType.Smooth
  360. p3.TopSurface = Enum.SurfaceType.Smooth
  361. b3 = Instance.new("SpecialMesh", p3)
  362. b3.MeshId = "http://www.roblox.com/asset/?id="
  363. b3.TextureId = ""
  364. b3.MeshType = Enum.MeshType.FileMesh
  365. b3.Name = "Mesh"
  366. b3.VertexColor = Vector3.new(0, 0, 0)
  367. b3.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  368. p4 = Instance.new("Part", m)
  369. p4.BrickColor = BrickColor.new("Lime green")
  370. p4.FormFactor = Enum.FormFactor.Symmetric
  371. p4.Size = Vector3.new(1, 1, 1)
  372. 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)
  373. p4.CanCollide = false
  374. p4.Locked = true
  375. p4.BottomSurface = Enum.SurfaceType.Smooth
  376. p4.TopSurface = Enum.SurfaceType.Smooth
  377. b4 = Instance.new("SpecialMesh", p4)
  378. b4.MeshId = "http://www.roblox.com/asset/?id=192"
  379. b4.TextureId = ""
  380. b4.MeshType = Enum.MeshType.FileMesh
  381. b4.Name = "Mesh"
  382. b4.VertexColor = Vector3.new(0, 0, 0)
  383. p5 = Instance.new("Part", m)
  384. p5.BrickColor = BrickColor.new("Lime green")
  385. p5.FormFactor = Enum.FormFactor.Symmetric
  386. p5.Size = Vector3.new(1, 1, 1)
  387. 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)
  388. p5.CanCollide = false
  389. p5.Locked = true
  390. p5.BottomSurface = Enum.SurfaceType.Smooth
  391. p5.TopSurface = Enum.SurfaceType.Smooth
  392. b5 = Instance.new("SpecialMesh", p5)
  393. b5.MeshId = "http://www.roblox.com/asset/?id=484"
  394. b5.TextureId = ""
  395. b5.MeshType = Enum.MeshType.FileMesh
  396. b5.Name = "Mesh"
  397. b5.VertexColor = Vector3.new(0, 0, 0)
  398. b5.Scale = Vector3.new(1, 0.899999976, 1)
  399. p6 = Instance.new("Part", m)
  400. p6.BrickColor = BrickColor.new("Lime green")
  401. p6.FormFactor = Enum.FormFactor.Symmetric
  402. p6.Size = Vector3.new(1, 1, 1)
  403. 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)
  404. p6.CanCollide = false
  405. p6.Locked = true
  406. p6.BottomSurface = Enum.SurfaceType.Smooth
  407. p6.TopSurface = Enum.SurfaceType.Smooth
  408. b6 = Instance.new("SpecialMesh", p6)
  409. b6.MeshId = "http://www.roblox.com/asset/?id=019"
  410. b6.TextureId = ""
  411. b6.MeshType = Enum.MeshType.FileMesh
  412. b6.Name = "Mesh"
  413. b6.VertexColor = Vector3.new(0, 0, 0)
  414. p7 = Instance.new("Part", m)
  415. p7.BrickColor = BrickColor.new("Lime green")
  416. p7.FormFactor = Enum.FormFactor.Symmetric
  417. p7.Size = Vector3.new(1, 1, 1)
  418. 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)
  419. p7.CanCollide = false
  420. p7.Locked = true
  421. p7.BottomSurface = Enum.SurfaceType.Smooth
  422. p7.TopSurface = Enum.SurfaceType.Smooth
  423. b7 = Instance.new("SpecialMesh", p7)
  424. b7.MeshId = "http://www.roblox.com/asset/?id3"
  425. b7.TextureId = ""
  426. b7.MeshType = Enum.MeshType.FileMesh
  427. b7.Name = "Mesh"
  428. b7.VertexColor = Vector3.new(0, 0, 0)
  429. p8 = Instance.new("Part", m)
  430. p8.BrickColor = BrickColor.new("Lime green")
  431. p8.FormFactor = Enum.FormFactor.Symmetric
  432. p8.Size = Vector3.new(1, 1, 1)
  433. 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)
  434. p8.CanCollide = false
  435. p8.Locked = true
  436. p8.BottomSurface = Enum.SurfaceType.Smooth
  437. p8.TopSurface = Enum.SurfaceType.Smooth
  438. b8 = Instance.new("SpecialMesh", p8)
  439. b8.MeshId = "http://www.roblox.com/asset/?id20"
  440. b8.TextureId = ""
  441. b8.MeshType = Enum.MeshType.FileMesh
  442. b8.Name = "Mesh"
  443. b8.VertexColor = Vector3.new(0, 0, 0)
  444. b8.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  445. p9 = Instance.new("Part", m)
  446. p9.BrickColor = BrickColor.new("Lime green")
  447. p9.FormFactor = Enum.FormFactor.Symmetric
  448. p9.Size = Vector3.new(2, 1, 2)
  449. 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)
  450. p9.CanCollide = false
  451. p9.Locked = true
  452. p9.BottomSurface = Enum.SurfaceType.Smooth
  453. p9.TopSurface = Enum.SurfaceType.Smooth
  454. b9 = Instance.new("SpecialMesh", p9)
  455. b9.MeshId = "http://www.roblox.com/asset/?id="
  456. b9.TextureId = ""
  457. b9.MeshType = Enum.MeshType.FileMesh
  458. b9.Name = "Mesh"
  459. b9.VertexColor = Vector3.new(0, 0, 0)
  460. b9.Scale = Vector3.new(1.01999998, 1.04999995, 1.04999995)
  461. p10 = Instance.new("Part", m)
  462. p10.BrickColor = BrickColor.new("Lime green")
  463. p10.FormFactor = Enum.FormFactor.Symmetric
  464. p10.Size = Vector3.new(1, 1, 1)
  465. 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)
  466. p10.CanCollide = false
  467. p10.Locked = true
  468. p10.BottomSurface = Enum.SurfaceType.Smooth
  469. p10.TopSurface = Enum.SurfaceType.Smooth
  470. b10 = Instance.new("SpecialMesh", p10)
  471. b10.MeshId = "http://www.roblox.com/asset/?id=1220"
  472. b10.TextureId = ""
  473. b10.MeshType = Enum.MeshType.FileMesh
  474. b10.Name = "Mesh"
  475. b10.VertexColor = Vector3.new(0, 0, 0)
  476. b10.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  477. p11 = Instance.new("Part", m)
  478. p11.BrickColor = BrickColor.new("Lime green")
  479. p11.FormFactor = Enum.FormFactor.Symmetric
  480. p11.Size = Vector3.new(1, 1, 1)
  481. 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)
  482. p11.CanCollide = false
  483. p11.Locked = true
  484. p11.BottomSurface = Enum.SurfaceType.Smooth
  485. p11.TopSurface = Enum.SurfaceType.Smooth
  486. b11 = Instance.new("SpecialMesh", p11)
  487. b11.MeshId = "http://www.roblox.com/asset/?id=12"
  488. b11.TextureId = ""
  489. b11.MeshType = Enum.MeshType.FileMesh
  490. b11.Name = "Mesh"
  491. b11.VertexColor = Vector3.new(0, 0, 0)
  492. b11.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  493. p12 = Instance.new("Part", m)
  494. p12.BrickColor = BrickColor.new("Lime green")
  495. p12.FormFactor = Enum.FormFactor.Custom
  496. p12.Size = Vector3.new(1, 3.5, 1)
  497. 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)
  498. p12.CanCollide = false
  499. p12.Locked = true
  500. p12.BottomSurface = Enum.SurfaceType.Smooth
  501. p12.TopSurface = Enum.SurfaceType.Smooth
  502. b12 = Instance.new("SpecialMesh", p12)
  503. b12.MeshId = "http://www.roblox.com/asset/?id=120"
  504. b12.TextureId = ""
  505. b12.MeshType = Enum.MeshType.FileMesh
  506. b12.Name = "Mesh"
  507. b12.VertexColor = Vector3.new(0, 0, 0)
  508. b12.Scale = Vector3.new(1, 3, 1.29999995)
  509. p13 = Instance.new("Part", m)
  510. p13.BrickColor = BrickColor.new("Lime green")
  511. p13.FormFactor = Enum.FormFactor.Custom
  512. p13.Size = Vector3.new(1, 2, 1)
  513. 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)
  514. p13.CanCollide = false
  515. p13.Locked = true
  516. p13.BottomSurface = Enum.SurfaceType.Smooth
  517. p13.TopSurface = Enum.SurfaceType.Smooth
  518. b13 = Instance.new("SpecialMesh", p13)
  519. b13.MeshId = "http://www.roblox.com/asset/?id=1520"
  520. b13.TextureId = ""
  521. b13.MeshType = Enum.MeshType.FileMesh
  522. b13.Name = "Mesh"
  523. b13.VertexColor = Vector3.new(0, 0, 0)
  524. b13.Scale = Vector3.new(1, 3, 1.29999995)
  525. p14 = Instance.new("Part", m)
  526. p14.BrickColor = BrickColor.new("Lime green")
  527. p14.FormFactor = Enum.FormFactor.Custom
  528. p14.Size = Vector3.new(1, 2, 1)
  529. 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)
  530. p14.CanCollide = false
  531. p14.Locked = true
  532. p14.BottomSurface = Enum.SurfaceType.Smooth
  533. p14.TopSurface = Enum.SurfaceType.Smooth
  534. b14 = Instance.new("SpecialMesh", p14)
  535. b14.MeshId = "http://www.roblox.com/asset/?id=12"
  536. b14.TextureId = ""
  537. b14.MeshType = Enum.MeshType.FileMesh
  538. b14.Name = "Mesh"
  539. b14.VertexColor = Vector3.new(0, 0, 0)
  540. b14.Scale = Vector3.new(1, 3, 1.29999995)
  541. p15 = Instance.new("Part", m)
  542. p15.BrickColor = BrickColor.new("Lime green")
  543. p15.FormFactor = Enum.FormFactor.Custom
  544. p15.Size = Vector3.new(1, 2.5, 1)
  545. 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)
  546. p15.CanCollide = false
  547. p15.Locked = true
  548. p15.BottomSurface = Enum.SurfaceType.Smooth
  549. p15.TopSurface = Enum.SurfaceType.Smooth
  550. b15 = Instance.new("SpecialMesh", p15)
  551. b15.MeshId = "http://www.roblox.com/asset/?id=12"
  552. b15.TextureId = ""
  553. b15.MeshType = Enum.MeshType.FileMesh
  554. b15.Name = "Mesh"
  555. b15.VertexColor = Vector3.new(0, 0, 0)
  556. b15.Scale = Vector3.new(1, 3, 1.29999995)
  557. p16 = Instance.new("Part", m)
  558. p16.BrickColor = BrickColor.new("Lime green")
  559. p16.FormFactor = Enum.FormFactor.Custom
  560. p16.Size = Vector3.new(1, 2.5, 1)
  561. 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)
  562. p16.CanCollide = false
  563. p16.Locked = true
  564. p16.BottomSurface = Enum.SurfaceType.Smooth
  565. p16.TopSurface = Enum.SurfaceType.Smooth
  566. b16 = Instance.new("SpecialMesh", p16)
  567. b16.MeshId = "http://www.roblox.com/asset/?id=12"
  568. b16.TextureId = ""
  569. b16.MeshType = Enum.MeshType.FileMesh
  570. b16.Name = "Mesh"
  571. b16.VertexColor = Vector3.new(0, 0, 0)
  572. b16.Scale = Vector3.new(1, 3, 1.29999995)
  573. p17 = Instance.new("Part", m)
  574. p17.BrickColor = BrickColor.new("Lime green")
  575. p17.FormFactor = Enum.FormFactor.Custom
  576. p17.Size = Vector3.new(1, 2.4000001, 1)
  577. 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)
  578. p17.CanCollide = false
  579. p17.Locked = true
  580. p17.BottomSurface = Enum.SurfaceType.Smooth
  581. p17.TopSurface = Enum.SurfaceType.Smooth
  582. b17 = Instance.new("SpecialMesh", p17)
  583. b17.MeshId = "http://www.roblox.com/asset/?id=1220"
  584. b17.TextureId = ""
  585. b17.MeshType = Enum.MeshType.FileMesh
  586. b17.Name = "Mesh"
  587. b17.VertexColor = Vector3.new(0, 0, 0)
  588. b17.Scale = Vector3.new(1, 3, 1.29999995)
  589. p18 = Instance.new("Part", m)
  590. p18.BrickColor = BrickColor.new("Lime green")
  591. p18.FormFactor = Enum.FormFactor.Custom
  592. p18.Size = Vector3.new(2, 2, 2)
  593. 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)
  594. p18.CanCollide = false
  595. p18.Locked = true
  596. p18.BottomSurface = Enum.SurfaceType.Smooth
  597. p18.TopSurface = Enum.SurfaceType.Smooth
  598. b18 = Instance.new("SpecialMesh", p18)
  599. b18.MeshId = "http://www.roblox.com/asset/?id=1629"
  600. b18.TextureId = ""
  601. b18.MeshType = Enum.MeshType.FileMesh
  602. b18.Name = "Mesh"
  603. b18.VertexColor = Vector3.new(0, 0, 0)
  604. b18.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  605. w1 = Instance.new("Weld", p1)
  606. w1.Name = "Head_Weld"
  607. w1.Part0 = p1
  608. w1.C0 = CFrame.new(3.40111661, -0.744508088, 8.58160019, -5.48362732e-006, 3.27825546e-007, 1, -0.978699088, -0.205299854, -5.30481339e-006, 0.205299824, -0.978699148, 1.49011612e-006)
  609. w1.Part1 = p2
  610. w1.C1 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006)
  611. w2 = Instance.new("Weld", p2)
  612. w2.Name = "Part_Weld"
  613. w2.Part0 = p2
  614. w2.C0 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006)
  615. w2.Part1 = p3
  616. w2.C1 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006)
  617. w3 = Instance.new("Weld", p3)
  618. w3.Name = "Part_Weld"
  619. w3.Part0 = p3
  620. w3.C0 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006)
  621. w3.Part1 = p4
  622. w3.C1 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006)
  623. w4 = Instance.new("Weld", p4)
  624. w4.Name = "Part_Weld"
  625. w4.Part0 = p4
  626. w4.C0 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006)
  627. w4.Part1 = p5
  628. w4.C1 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007)
  629. w5 = Instance.new("Weld", p5)
  630. w5.Name = "Part_Weld"
  631. w5.Part0 = p5
  632. w5.C0 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007)
  633. w5.Part1 = p6
  634. w5.C1 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007)
  635. w6 = Instance.new("Weld", p6)
  636. w6.Name = "Part_Weld"
  637. w6.Part0 = p6
  638. w6.C0 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007)
  639. w6.Part1 = p7
  640. w6.C1 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007)
  641. w7 = Instance.new("Weld", p7)
  642. w7.Name = "Part_Weld"
  643. w7.Part0 = p7
  644. w7.C0 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007)
  645. w7.Part1 = p8
  646. w7.C1 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007)
  647. w8 = Instance.new("Weld", p8)
  648. w8.Name = "Part_Weld"
  649. w8.Part0 = p8
  650. w8.C0 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007)
  651. w8.Part1 = p9
  652. w8.C1 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007)
  653. w9 = Instance.new("Weld", p9)
  654. w9.Name = "Part_Weld"
  655. w9.Part0 = p9
  656. w9.C0 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007)
  657. w9.Part1 = p10
  658. w9.C1 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007)
  659. w10 = Instance.new("Weld", p10)
  660. w10.Name = "Part_Weld"
  661. w10.Part0 = p10
  662. w10.C0 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007)
  663. w10.Part1 = p11
  664. w10.C1 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007)
  665. w11 = Instance.new("Weld", p11)
  666. w11.Name = "Part_Weld"
  667. w11.Part0 = p11
  668. w11.C0 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007)
  669. w11.Part1 = p12
  670. w11.C1 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007)
  671. w12 = Instance.new("Weld", p12)
  672. w12.Name = "Part_Weld"
  673. w12.Part0 = p12
  674. w12.C0 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007)
  675. w12.Part1 = p13
  676. w12.C1 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007)
  677. w13 = Instance.new("Weld", p13)
  678. w13.Name = "Part_Weld"
  679. w13.Part0 = p13
  680. w13.C0 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007)
  681. w13.Part1 = p14
  682. w13.C1 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007)
  683. w14 = Instance.new("Weld", p14)
  684. w14.Name = "Part_Weld"
  685. w14.Part0 = p14
  686. w14.C0 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007)
  687. w14.Part1 = p15
  688. w14.C1 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775)
  689. w15 = Instance.new("Weld", p15)
  690. w15.Name = "Part_Weld"
  691. w15.Part0 = p15
  692. w15.C0 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775)
  693. w15.Part1 = p16
  694. w15.C1 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928)
  695. w16 = Instance.new("Weld", p16)
  696. w16.Name = "Part_Weld"
  697. w16.Part0 = p16
  698. w16.C0 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928)
  699. w16.Part1 = p17
  700. w16.C1 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007)
  701. w17 = Instance.new("Weld", p17)
  702. w17.Name = "Part_Weld"
  703. w17.Part0 = p17
  704. w17.C0 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007)
  705. w17.Part1 = p18
  706. w17.C1 = CFrame.new(-3.40004683, -8.71796036, 1.70002675, -2.6504224e-006, -7.89943471e-008, -1, -2.47197018e-008, 1, -7.89942831e-008, 1, 2.47194887e-008, -2.6504224e-006)
  707. m.Parent = char
  708. m:MakeJoints()
  709. ----------------------------------------------------
  710. local cor = Instance.new("Part", char.Hair)
  711. cor.Name = "Link"
  712. cor.Locked = true
  713. cor.BottomSurface = 0
  714. cor.CanCollide = false
  715. cor.Size = Vector3.new(1, 9, 1)
  716. cor.Transparency = 1
  717. cor.TopSurface = 0
  718. corw = Instance.new("Weld", cor)
  719. corw.Part0 = hed
  720. corw.Part1 = cor
  721. corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  722. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  723. weld1 = Instance.new("Weld", char.Hair)
  724. weld1.Part0 = cor
  725. weld1.Part1 = char.Hair.Head
  726. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  727. ----------------------------------------------------
  728. GroundWave1 = function()
  729. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  730. local Colors = {"Lime green", "Lime green"}
  731. local wave = Instance.new("Part", torso)
  732. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  733. wave.Anchored = true
  734. wave.CanCollide = false
  735. wave.Locked = true
  736. wave.Size = Vector3.new(1, 1, 1)
  737. wave.TopSurface = "Smooth"
  738. wave.BottomSurface = "Smooth"
  739. wave.Transparency = 0.35
  740. wave.CFrame = HandCF
  741. wm = Instance.new("SpecialMesh", wave)
  742. wm.MeshId = "rbxassetid://3270017"
  743. coroutine.wrap(function()
  744. for i = 1, 30, 1 do
  745. wm.Scale = Vector3.new(1 + i*1.2, 1 + i*1.2, 1)
  746. wave.Size = wm.Scale
  747. wave.CFrame = HandCF
  748. wave.Transparency = i/30
  749. wait()
  750. end
  751. wait()
  752. wave:Destroy()
  753. end)()
  754. end
  755. ----------------------------------------------------
  756. GroundWave = function()
  757. if Transforming == true then
  758. local wave = Instance.new("Part", torso)
  759. wave.BrickColor = BrickColor.new("Lime green")
  760. wave.Anchored = true
  761. wave.CanCollide = false
  762. wave.Locked = true
  763. wave.Size = Vector3.new(1, 1, 1)
  764. wave.TopSurface = "Smooth"
  765. wave.BottomSurface = "Smooth"
  766. wave.Transparency = 0.35
  767. wave.CFrame = fx.CFrame
  768. wm = Instance.new("SpecialMesh", wave)
  769. wm.MeshType = "Sphere"
  770. wm.Scale = Vector3.new(1,1,1)
  771. coroutine.wrap(function()
  772. for i = 1, 18, 1 do
  773. wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2)
  774. --wave.Size = wm.Scale
  775. wave.CFrame = fx.CFrame
  776. wave.Transparency = i/14
  777. wait()
  778. end
  779. wait()
  780. wave:Destroy()
  781. end)()
  782. elseif Transforming == false then
  783. wait()
  784. end
  785. end
  786.  
  787. for i = 1, 100 do rs:wait()
  788. fx.CFrame = torso.CFrame
  789. end
  790.  
  791. Spawn(function()
  792. while wait(1) do
  793. GroundWave()
  794. end
  795. end)
  796.  
  797. wait(4)
  798.  
  799. Transforming = false
  800.  
  801. for i = 1, 20 do rs:wait()
  802. fx.Transparency = fx.Transparency + (1/20)
  803. fx.CFrame = torso.CFrame
  804. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  805. rs:wait()
  806. end
  807.  
  808. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  809. local wave = Instance.new("Part", torso)
  810. wave.BrickColor = BrickColor.new("Institutional white")
  811. wave.Anchored = true
  812. wave.CanCollide = false
  813. wave.Locked = true
  814. wave.Size = Vector3.new(1, 1, 1)
  815. wave.TopSurface = "Smooth"
  816. wave.BottomSurface = "Smooth"
  817. wave.Transparency = 0.35
  818. wave.CFrame = HandCF
  819. wm = Instance.new("SpecialMesh", wave)
  820. wm.MeshId = "rbxassetid://3270017"
  821. coroutine.wrap(function()
  822. for i = 1, 14, 1 do
  823. wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
  824. wave.Size = wm.Scale
  825. wave.CFrame = HandCF
  826. wave.Transparency = i/14
  827. wait()
  828. end
  829. wait()
  830. wave:Destroy()
  831. end)()
  832. hum.WalkSpeed = 16
  833. ----------------------------------------------------
  834. Blast = function()
  835. local Colors = {"Lime green", "Lime green"}
  836. local wave = Instance.new("Part", torso)
  837. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  838. wave.Anchored = true
  839. wave.CanCollide = false
  840. wave.Locked = true
  841. wave.Size = Vector3.new(1, 1, 1)
  842. wave.TopSurface = "Smooth"
  843. wave.BottomSurface = "Smooth"
  844. wave.Transparency = 0.35
  845. wave.CFrame = rarm.CFrame
  846. wm = Instance.new("SpecialMesh", wave)
  847. wm.MeshType = "Sphere"
  848. wm.Scale = Vector3.new(1,1,1)
  849. z = Instance.new("Sound",wave)
  850. z.SoundId = "rbxassetid://237035051"
  851. z.Volume = 1
  852. z.Pitch = .9
  853. z:Play()
  854. coroutine.wrap(function()
  855. for i = 1, 30, 1 do
  856. wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4)
  857. --wave.Size = wm.Scale
  858. wave.CFrame = rarm.CFrame
  859. wave.Transparency = (1/14)
  860. rs:wait()
  861. end
  862. rs:wait()
  863. wave:Destroy()
  864. z:Destroy()
  865. end)()
  866. end
  867. ----------------------------------------------------
  868. rarm.Touched:connect(function(ht)
  869. hit = ht.Parent
  870. if ht and hit:IsA("Model") then
  871. if hit:FindFirstChild("Humanoid") then
  872. if hit.Name ~= p.Name then
  873. if Debounces.RPunch == true and Debounces.RPunched == false then
  874. Debounces.RPunched = true
  875. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  876. if Debounces.ks==true then
  877. z = Instance.new("Sound",hed)
  878. z.SoundId = "rbxassetid://169380525"
  879. z.Pitch = ptz[math.random(1,#ptz)]
  880. z.Volume = 1
  881. z:Play()
  882. end
  883. wait(.2)
  884. Debounces.RPunched = false
  885. end
  886. end
  887. end
  888. elseif ht and hit:IsA("Hat") then
  889. if hit.Parent.Name ~= p.Name then
  890. if hit.Parent:FindFirstChild("Humanoid") then
  891. if Debounces.RPunch == true and Debounces.RPunched == false then
  892. Debounces.RPunched = true
  893. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  894. if Debounces.ks==true then
  895. z = Instance.new("Sound",hed)
  896. z.SoundId = "rbxassetid://169380525"
  897. z.Pitch = ptz[math.random(1,#ptz)]
  898. z.Volume = 1
  899. z:Play()
  900. end
  901. wait(.2)
  902. Debounces.RPunched = false
  903. end
  904. end
  905. end
  906. end
  907. end)
  908. larm.Touched:connect(function(ht)
  909. hit = ht.Parent
  910. if ht and hit:IsA("Model") then
  911. if hit:FindFirstChild("Humanoid") then
  912. if hit.Name ~= p.Name then
  913. if Debounces.LPunch == true and Debounces.LPunched == false then
  914. Debounces.LPunched = true
  915. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  916. if Debounces.ks2==true then
  917. z = Instance.new("Sound",hed)
  918. z.SoundId = "rbxassetid://169380525"
  919. z.Pitch = ptz[math.random(1,#ptz)]
  920. z.Volume = 1
  921. z:Play()
  922. end
  923. wait(.2)
  924. Debounces.LPunched = false
  925. end
  926. end
  927. end
  928. elseif ht and hit:IsA("Hat") then
  929. if hit.Parent.Name ~= p.Name then
  930. if hit.Parent:FindFirstChild("Humanoid") then
  931. if Debounces.LPunch == true and Debounces.LPunched == false then
  932. Debounces.LPunched = true
  933. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  934. if Debounces.ks2==true then
  935. z = Instance.new("Sound",hed)
  936. z.SoundId = "rbxassetid://169380525"
  937. z.Pitch = ptz[math.random(1,#ptz)]
  938. z.Volume = 1
  939. z:Play()
  940. end
  941. wait(.2)
  942. Debounces.LPunched = false
  943. end
  944. end
  945. end
  946. end
  947. end)
  948. ----------------------------------------------------
  949. mod4 = Instance.new("Model",char)
  950.  
  951. ptez = {0.7, 0.8, 0.9, 1}
  952.  
  953. function FindNearestTorso(Position,Distance,SinglePlayer)
  954. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  955. local List = {}
  956. for i,v in pairs(workspace:GetChildren())do
  957. if v:IsA("Model")then
  958. if v:findFirstChild("Torso")then
  959. if v ~= char then
  960. if(v.Torso.Position -Position).magnitude <= Distance then
  961. table.insert(List,v)
  962. end
  963. end
  964. end
  965. end
  966. end
  967. return List
  968. end
  969.  
  970. function Punch()
  971. part=Instance.new('Part',mod4)
  972. part.Anchored=true
  973. part.CanCollide=false
  974. part.FormFactor='Custom'
  975. part.Size=Vector3.new(.2,.2,.2)
  976. part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0)
  977. part.Transparency=.7
  978. part.BrickColor=BrickColor.new('Lime green')
  979. mesh=Instance.new('SpecialMesh',part)
  980. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  981. mesh.Scale=Vector3.new(3,3,3)
  982. part2=Instance.new('Part',mod4)
  983. part2.Anchored=true
  984. part2.CanCollide=false
  985. part2.FormFactor='Custom'
  986. part2.Size=Vector3.new(.2,.2,.2)
  987. part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0)
  988. part2.Transparency=.7
  989. part2.BrickColor=BrickColor.new('Lime green')
  990. mesh2=Instance.new('SpecialMesh',part2)
  991. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  992. mesh2.Scale=Vector3.new(3,1.5,3)
  993. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  994. if v:FindFirstChild('Humanoid') then
  995. v.Humanoid:TakeDamage(math.random(2,6))
  996. end
  997. end
  998. coroutine.resume(coroutine.create(function()
  999. for i=0,0.62,0.4 do
  1000. wait()
  1001. part.CFrame=part.CFrame
  1002. part.Transparency=i
  1003. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  1004. part2.CFrame=part2.CFrame
  1005. part2.Transparency=i
  1006. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  1007. end
  1008. part.Parent=nil
  1009. part2.Parent=nil
  1010. end))
  1011. end
  1012. ----------------------------------------------------
  1013. rarm.Touched:connect(function(ht)
  1014. hit = ht.Parent
  1015. if ht and hit:IsA("Model") then
  1016. if hit:FindFirstChild("Humanoid") then
  1017. if hit.Name ~= p.Name then
  1018. if Debounces.RPunch == true and Debounces.RPunched == false then
  1019. Debounces.RPunched = true
  1020. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  1021. if Debounces.ks==true then
  1022. z = Instance.new("Sound",hed)
  1023. z.SoundId = "rbxassetid://169380525"
  1024. z.Pitch = ptz[math.random(1,#ptz)]
  1025. z.Volume = 1
  1026. z:Play()
  1027. end
  1028. wait(.2)
  1029. Debounces.RPunched = false
  1030. end
  1031. end
  1032. end
  1033. elseif ht and hit:IsA("Hat") then
  1034. if hit.Parent.Name ~= p.Name then
  1035. if hit.Parent:FindFirstChild("Humanoid") then
  1036. if Debounces.RPunch == true and Debounces.RPunched == false then
  1037. Debounces.RPunched = true
  1038. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  1039. if Debounces.ks==true then
  1040. z = Instance.new("Sound",hed)
  1041. z.SoundId = "rbxassetid://169380525"
  1042. z.Pitch = ptz[math.random(1,#ptz)]
  1043. z.Volume = 1
  1044. z:Play()
  1045. end
  1046. wait(.2)
  1047. Debounces.RPunched = false
  1048. end
  1049. end
  1050. end
  1051. end
  1052. end)
  1053. larm.Touched:connect(function(ht)
  1054. hit = ht.Parent
  1055. if ht and hit:IsA("Model") then
  1056. if hit:FindFirstChild("Humanoid") then
  1057. if hit.Name ~= p.Name then
  1058. if Debounces.LPunch == true and Debounces.LPunched == false then
  1059. Debounces.LPunched = true
  1060. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1061. if Debounces.ks2==true then
  1062. z = Instance.new("Sound",hed)
  1063. z.SoundId = "rbxassetid://169380525"
  1064. z.Pitch = ptz[math.random(1,#ptz)]
  1065. z.Volume = 1
  1066. z:Play()
  1067. end
  1068. wait(.2)
  1069. Debounces.LPunched = false
  1070. end
  1071. end
  1072. end
  1073. elseif ht and hit:IsA("Hat") then
  1074. if hit.Parent.Name ~= p.Name then
  1075. if hit.Parent:FindFirstChild("Humanoid") then
  1076. if Debounces.LPunch == true and Debounces.LPunched == false then
  1077. Debounces.LPunched = true
  1078. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1079. if Debounces.ks2==true then
  1080. z = Instance.new("Sound",hed)
  1081. z.SoundId = "rbxassetid://169380525"
  1082. z.Pitch = ptz[math.random(1,#ptz)]
  1083. z.Volume = 1
  1084. z:Play()
  1085. end
  1086. wait(.2)
  1087. Debounces.LPunched = false
  1088. end
  1089. end
  1090. end
  1091. end
  1092. end)
  1093. ----------------------------------------------------
  1094. local player = game.Players.LocalPlayer
  1095. local pchar = player.Character
  1096. local mouse = player:GetMouse()
  1097. local cam = workspace.CurrentCamera
  1098.  
  1099. local rad = math.rad
  1100.  
  1101. local keysDown = {}
  1102. local flySpeed = 0
  1103. local MAX_FLY_SPEED = 150
  1104.  
  1105. local canFly = false
  1106. local flyToggled = false
  1107.  
  1108. local forward, side = 0, 0
  1109. local lastForward, lastSide = 0, 0
  1110.  
  1111. local floatBP = Instance.new("BodyPosition")
  1112. floatBP.maxForce = Vector3.new(0, math.huge, 0)
  1113. local flyBV = Instance.new("BodyVelocity")
  1114. flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  1115. local turnBG = Instance.new("BodyGyro")
  1116. turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  1117.  
  1118. mouse.KeyDown:connect(function(key)
  1119. keysDown[key] = true
  1120.  
  1121. if key == "f" then
  1122. flyToggled = not flyToggled
  1123.  
  1124. if not flyToggled then
  1125. stanceToggle = "Normal"
  1126. floatBP.Parent = nil
  1127. flyBV.Parent = nil
  1128. turnBG.Parent = nil
  1129. root.Velocity = Vector3.new()
  1130. pchar.Humanoid.PlatformStand = false
  1131. end
  1132. end
  1133.  
  1134. end)
  1135. mouse.KeyUp:connect(function(key)
  1136. keysDown[key] = nil
  1137. end)
  1138.  
  1139. local function updateFly()
  1140.  
  1141. if not flyToggled then return end
  1142.  
  1143. lastForward = forward
  1144. lastSide = side
  1145.  
  1146. forward = 0
  1147. side = 0
  1148.  
  1149. if keysDown.w then
  1150. forward = forward + 1
  1151. end
  1152. if keysDown.s then
  1153. forward = forward - 1
  1154. end
  1155. if keysDown.a then
  1156. side = side - 1
  1157. end
  1158. if keysDown.d then
  1159. side = side + 1
  1160. end
  1161.  
  1162. canFly = (forward ~= 0 or side ~= 0)
  1163.  
  1164. if canFly then
  1165. stanceToggle = "Floating"
  1166. turnBG.Parent = root
  1167. floatBP.Parent = nil
  1168. flyBV.Parent = root
  1169.  
  1170. flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
  1171. if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
  1172. else
  1173. floatBP.position = root.Position
  1174. floatBP.Parent = root
  1175.  
  1176. flySpeed = flySpeed - 1
  1177. if flySpeed < 0 then flySpeed = 0 end
  1178. end
  1179.  
  1180. local camCF = cam.CoordinateFrame
  1181. local in_forward = canFly and forward or lastForward
  1182. local in_side = canFly and side or lastSide
  1183.  
  1184. flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,
  1185. in_forward * 0.2, 0).p) - camCF.p) * flySpeed
  1186.  
  1187. turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,
  1188. 0)
  1189. end
  1190.  
  1191. game:service'RunService'.RenderStepped:connect(function()
  1192. if flyToggled then
  1193. pchar.Humanoid.PlatformStand = true
  1194. end
  1195. updateFly()
  1196. end)
  1197. -------------------------------
  1198. mouse.KeyDown:connect(function(key)
  1199. if key == "q" then
  1200. if Debounces.CanAttack == true then
  1201. Debounces.CanAttack = false
  1202. Debounces.NoIdl = true
  1203. Debounces.on = true
  1204. function FindNearestTorso(Position,Distance,SinglePlayer)
  1205. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1206. local List = {}
  1207. for i,v in pairs(workspace:GetChildren())do
  1208. if v:IsA("Model")then
  1209. if v:findFirstChild("Torso")then
  1210. if v ~= char then
  1211. if(v.Torso.Position -Position).magnitude <= Distance then
  1212. table.insert(List,v)
  1213. end
  1214. end
  1215. end
  1216. end
  1217. end
  1218. return List
  1219. end
  1220. z = Instance.new("Sound",hed)
  1221. z.SoundId = "rbxassetid://232213955"
  1222. z.Pitch = 1
  1223. z.Volume = 1
  1224. wait(0.2)
  1225. z:Play()
  1226. sp = Instance.new("Part",rarm)
  1227. sp.Anchored = true
  1228. sp.CanCollide = false
  1229. sp.Locked = true
  1230. sp.Transparency = 0
  1231. sp.Material = "Neon"
  1232. sp.Size = Vector3.new(1,1,1)
  1233. sp.TopSurface = "SmoothNoOutlines"
  1234. sp.BottomSurface = "SmoothNoOutlines"
  1235. sp.BrickColor = BrickColor.new("Lime green")
  1236. spm = Instance.new("SpecialMesh",sp)
  1237. spm.MeshType = "Sphere"
  1238. spm.Scale = Vector3.new(21,21,21)
  1239. sp2 = Instance.new("Part", rarm)
  1240. sp2.Name = "Energy"
  1241. sp2.BrickColor = BrickColor.new("Lime green")
  1242. sp2.Size = Vector3.new(1, 1, 1)
  1243. sp2.Shape = "Ball"
  1244. sp2.CanCollide = false
  1245. sp2.Anchored = true
  1246. sp2.Locked = true
  1247. sp2.TopSurface = 0
  1248. sp2.BottomSurface = 0
  1249. sp2.Transparency = 1
  1250. spm2 = Instance.new("SpecialMesh",sp2)
  1251. spm2.MeshId = "rbxassetid://9982590"
  1252. spm2.Scale = Vector3.new(2,2,2)
  1253. for i = 1, 20 do
  1254. spm.Scale = spm.Scale - Vector3.new(1,1,1)
  1255. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1256. 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)
  1257. 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)
  1258. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  1259. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  1260. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1261. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1262. if Debounces.on == false then break end
  1263. rs:wait()
  1264. end
  1265. for i = 1, 100, 20 do rs:wait()
  1266. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1267. end
  1268. for i = 1, 20 do
  1269. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1270. 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)
  1271. 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)
  1272. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4)
  1273. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4)
  1274. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1275. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1276. if Debounces.on == false then break end
  1277. rs:wait()
  1278. end
  1279. sp.Transparency = 1
  1280. for i = 1, 20 do
  1281. 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)
  1282. 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)
  1283. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4)
  1284. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4)
  1285. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1286. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1287. if Debounces.on == false then break end
  1288. rs:wait()
  1289. end
  1290. wait(1)
  1291. sp.Transparency = 0
  1292. sp2.Transparency = 0.84
  1293. for i = 1, 20 do
  1294. --spm.Scale = spm.Scale - Vector3.new(1,1,1)
  1295. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  1296. sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i))
  1297. 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)
  1298. 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)
  1299. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2)
  1300. 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)
  1301. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2)
  1302. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2)
  1303. if Debounces.on == false then break end
  1304. rs:wait()
  1305. end
  1306. for i = 1, 2880, 50 do
  1307. rs:wait()
  1308. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  1309. sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  1310. rs:wait()
  1311. end
  1312. sp:Destroy()
  1313. sp2:Destroy()
  1314. local X = Instance.new("Part",char)
  1315. local O = Instance.new("ObjectValue",X)
  1316. O.Name = "creator"
  1317. X.Locked = true
  1318. X.Name = "Shell"
  1319. X.Anchored = false
  1320. X.CanCollide = false
  1321. X.Transparency = 0
  1322. X.Reflectance = 0
  1323. X.BottomSurface = 0
  1324. X.TopSurface = 0
  1325. X.Shape = 0
  1326. local V = Instance.new("ObjectValue",X)
  1327. V.Value = char
  1328. V.Name = "creator"
  1329. X.BrickColor = BrickColor.new("Lime green")
  1330. X.Size = Vector3.new(2,2,2)
  1331. X.Material = "Neon"
  1332. local Z = Instance.new("SpecialMesh",X)
  1333. Z.MeshType = "Sphere"
  1334. Z.Scale = Vector3.new(0.5,0.5,1)
  1335. X.CFrame = rarm.CFrame*CFrame.new(-3,0,0)
  1336. local bv = Instance.new("BodyVelocity",X)
  1337. bv.maxForce = Vector3.new(99999,99999,99999)
  1338. X.CFrame = CFrame.new(X.Position,mouse.Hit.p)
  1339. bv.velocity = X.CFrame.lookVector*65
  1340.  
  1341. Explode = X.Touched:connect(function(hit)
  1342. if hit ~= char and hit.Name ~= "Shell" then
  1343. local cf = X.CFrame
  1344. bv:Destroy()
  1345. X.Anchored = true
  1346. Z:Remove()
  1347. Explode:disconnect()
  1348. X.Size = Vector3.new(3,3,3)
  1349. X.Touched:connect(function(hit) end)
  1350. X.CanCollide = false
  1351. local part3 = Instance.new("Part", rarm)
  1352. part3.Anchored=true
  1353. part3.CanCollide=false
  1354. part3.Locked = true
  1355. part3.TopSurface = "SmoothNoOutlines"
  1356. part3.BottomSurface = "SmoothNoOutlines"
  1357. part3.FormFactor='Custom'
  1358. part3.Size=Vector3.new(1,1, 1)
  1359. part3.CFrame=X.CFrame
  1360. part3.Transparency=0
  1361. part3.BrickColor=BrickColor.new("Lime green")
  1362. local mesh3 = Instance.new("SpecialMesh",part3)
  1363. mesh3.MeshType = "Sphere"
  1364. mesh3.Scale = Vector3.new(1,1,1)
  1365. --debris:AddItem(X,8)
  1366. local part4 = Instance.new("Part", rarm)
  1367. part4.Material = "Neon"
  1368. part4.Anchored=true
  1369. part4.CanCollide=false
  1370. part4.Locked = true
  1371. part4.TopSurface = "SmoothNoOutlines"
  1372. part4.BottomSurface = "SmoothNoOutlines"
  1373. part4.FormFactor='Custom'
  1374. part4.Size=Vector3.new(1,1, 1)
  1375. part4.CFrame=X.CFrame
  1376. part4.Transparency=0
  1377. part4.BrickColor=BrickColor.new("Lime green")
  1378. local mesh4 = Instance.new("SpecialMesh",part4)
  1379. mesh4.MeshType = "Sphere"
  1380. mesh4.Scale = Vector3.new(.5,.5,.5)
  1381. local part7 = Instance.new("Part", rarm)
  1382. part7.Material = "Neon"
  1383. part7.Anchored=true
  1384. part7.CanCollide=false
  1385. part7.Locked = true
  1386. part7.TopSurface = "SmoothNoOutlines"
  1387. part7.BottomSurface = "SmoothNoOutlines"
  1388. part7.FormFactor='Custom'
  1389. part7.Size=Vector3.new(1,1, 1)
  1390. part7.CFrame=X.CFrame
  1391. part7.Transparency=0
  1392. part7.BrickColor=BrickColor.new("Lime green")
  1393. local mesh7 = Instance.new("SpecialMesh",part7)
  1394. mesh7.MeshType = "Sphere"
  1395. mesh7.Scale = Vector3.new(0.1, 0.1, 0.1)
  1396. --[[X.Touched:connect(function(ht)
  1397. hit = ht.Parent
  1398. if ht and hit:IsA("Model") then
  1399. if hit:FindFirstChild("Humanoid") then
  1400. if hit.Name ~= p.Name then
  1401. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1402. wait(.3)
  1403. end
  1404. end
  1405. elseif ht and hit:IsA("Hat") then
  1406. if hit.Parent.Name ~= p.Name then
  1407. if hit.Parent:FindFirstChild("Humanoid") then
  1408. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1409. wait(.3)
  1410. end
  1411. end
  1412. end
  1413. end)
  1414. part3.Touched:connect(function(ht)
  1415. hit = ht.Parent
  1416. if ht and hit:IsA("Model") then
  1417. if hit:FindFirstChild("Humanoid") then
  1418. if hit.Name ~= p.Name then
  1419. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1420. wait(.3)
  1421. end
  1422. end
  1423. elseif ht and hit:IsA("Hat") then
  1424. if hit.Parent.Name ~= p.Name then
  1425. if hit.Parent:FindFirstChild("Humanoid") then
  1426. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1427. wait(.3)
  1428. end
  1429. end
  1430. end
  1431. end)]]--
  1432. for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do
  1433. if v:FindFirstChild('Humanoid') then
  1434. v.Humanoid:TakeDamage(math.random(1000,10000))
  1435. v.Humanoid.PlatformStand = true
  1436. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  1437. end
  1438. end
  1439.  
  1440. local acos = math.acos
  1441. local sqrt = math.sqrt
  1442. local Vec3 = Vector3.new
  1443. local fromAxisAngle = CFrame.fromAxisAngle
  1444.  
  1445. local function toAxisAngle(CFr)
  1446. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  1447. local Angle = math.acos((R00+R11+R22-1)/2)
  1448. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1449. A = A == 0 and 0.00001 or A
  1450. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1451. B = B == 0 and 0.00001 or B
  1452. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1453. C = C == 0 and 0.00001 or C
  1454. local x = (R21-R12)/sqrt(A)
  1455. local y = (R02-R20)/sqrt(B)
  1456. local z = (R10-R01)/sqrt(C)
  1457. return Vec3(x,y,z),Angle
  1458. end
  1459.  
  1460. function ApplyTrig(Num,Func)
  1461. local Min,Max = Func(0),Func(1)
  1462. local i = Func(Num)
  1463. return (i-Min)/(Max-Min)
  1464. end
  1465.  
  1466. function LerpCFrame(CFrame1,CFrame2,Num)
  1467. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  1468. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  1469. end
  1470.  
  1471. function Crater(Torso,Radius)
  1472. Spawn(function()
  1473. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  1474. local Ignore = {}
  1475. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1476. if v.Character ~= nil then
  1477. Ignore[#Ignore+1] = v.Character
  1478. end
  1479. end
  1480. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  1481. if Hit == nil then return end
  1482. local Parts = {}
  1483. for i = 1,360,10 do
  1484. local P = Instance.new("Part",Torso.Parent)
  1485. P.Anchored = true
  1486. P.FormFactor = "Custom"
  1487. P.BrickColor = Hit.BrickColor
  1488. P.Material = Hit.Material
  1489. P.TopSurface = "Smooth"
  1490. P.BottomSurface = "Smooth"
  1491. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  1492. 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)))
  1493. 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}
  1494. if math.random(0,5) == 0 then -- rubble
  1495. local P = Instance.new("Part",Torso.Parent)
  1496. P.Anchored = true
  1497. P.FormFactor = "Custom"
  1498. P.BrickColor = Hit.BrickColor
  1499. P.Material = Hit.Material
  1500. P.TopSurface = "Smooth"
  1501. P.BottomSurface = "Smooth"
  1502. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  1503. 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)))
  1504. 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}
  1505. end
  1506. end
  1507. for i = 0,1,0.05 do
  1508. for i2,v in pairs(Parts) do
  1509. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  1510. end
  1511. wait(0.02)
  1512. end
  1513. for i,v in pairs(Parts) do
  1514. if v[1].Size.X > 2.1 then
  1515. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  1516. end
  1517. v[1].Anchored = false
  1518. end
  1519. for i = 0,1,0.05 do
  1520. for i2,v in pairs(Parts) do
  1521. v[1].Transparency = i
  1522. if i == 1 then
  1523. v[1]:Destroy()
  1524. elseif i >= 0.25 then
  1525. v[1].CanCollide = false
  1526. end
  1527. end
  1528. wait(0.02)
  1529. end
  1530. Parts = nil
  1531. end)
  1532. end
  1533.  
  1534. ROW = function(out, trans, s, wt, t, ang, plus)
  1535. for i = 1, 360, 360/t do
  1536. local c = Instance.new("Part", game.Workspace)
  1537. c.FormFactor = 3
  1538. c.TopSurface = 0
  1539. c.BottomSurface = 0
  1540. c.Size = s
  1541. c.Anchored = true
  1542. c.CanCollide = wt
  1543. c.Material=workspace.Base.Material
  1544. c.Transparency = trans
  1545. c.BrickColor = workspace.Base.BrickColor
  1546. 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
  1547. c.Locked=true
  1548. game.Debris:AddItem(c,15)
  1549. end
  1550. end
  1551.  
  1552. Part = function(x,y,z,color,tr,cc,an,parent)
  1553. local p = Instance.new('Part',parent or Weapon)
  1554. p.formFactor = 'Custom'
  1555. p.Size = Vector3.new(x,y,z)
  1556. p.BrickColor = BrickColor.new(color)
  1557. p.CanCollide = cc
  1558. p.Transparency = tr
  1559. p.Anchored = an
  1560. p.TopSurface,p.BottomSurface = 0,0
  1561. p.Locked=true
  1562. p:BreakJoints()
  1563. return p end
  1564.  
  1565. Mesh = function(par,num,x,y,z)
  1566. local msh = _
  1567. if num == 1 then msh = Instance.new("CylinderMesh",par)
  1568. elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
  1569. elseif num == 3 then msh = Instance.new("BlockMesh",par)
  1570. elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
  1571. elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
  1572. end msh.Scale = Vector3.new(x,y,z)
  1573. return msh end
  1574.  
  1575. function explosion(col1,col2,cfr,sz,rng,dmg)
  1576. local a= Part(1,1,1,col1,.5,false,true,workspace)
  1577. local a2= Part(1,1,1,col2,.5,false,true,workspace)
  1578. local a3= Part(1,1,1,col2,.5,false,true,workspace)
  1579. v1,v2,v3=sz.x,sz.y,sz.z
  1580. local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3)
  1581. local m2= Mesh(a2,3,v1/3,v2/3,v3/3)
  1582. local m3= Mesh(a3,3,v1/3,v2/3,v3/3)
  1583. a.CFrame=cfr
  1584. a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  1585. a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  1586.  
  1587. Spawn(function()
  1588. while wait() do
  1589. if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end
  1590. m.Scale=m.Scale+Vector3.new(.1,0.1,0.1)
  1591. m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1)
  1592. m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1)
  1593. a.Transparency=a.Transparency+0.05
  1594. a2.Transparency=a2.Transparency+0.05
  1595. a3.Transparency=a3.Transparency+0.05
  1596. end
  1597. end)
  1598. end
  1599.  
  1600. Crater(X,20)
  1601. 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)
  1602. z = Instance.new("Sound",X)
  1603. z.SoundId = "rbxassetid://231917744"
  1604. z.Pitch = .5
  1605. z.Volume = 10
  1606. z1 = Instance.new("Sound",X)
  1607. z1.SoundId = "rbxassetid://231917744"
  1608. z1.Pitch = .5
  1609. z1.Volume = 10
  1610. z2 = Instance.new("Sound",X)
  1611. z2.SoundId = "rbxassetid://231917744"
  1612. z2.Pitch = .5
  1613. z2.Volume = 10
  1614. z3 = Instance.new("Sound",X)
  1615. z3.SoundId = "rbxassetid://245537790"
  1616. z3.Pitch = .7
  1617. z3.Volume = 1
  1618. z4 = Instance.new("Sound",X)
  1619. z4.SoundId = "rbxassetid://245537790"
  1620. z4.Pitch = .7
  1621. z4.Volume = 1
  1622. wait(0.1)
  1623. z:Play()
  1624. z1:Play()
  1625. z2:Play()
  1626. z3:Play()
  1627. z4:Play()
  1628.  
  1629. local part=Instance.new('Part',rarm)
  1630. part.Anchored=true
  1631. part.CanCollide=false
  1632. part.Locked = true
  1633. part.FormFactor='Custom'
  1634. part.Size=Vector3.new(1,1,1)
  1635. part.CFrame=X.CFrame*CFrame.new(0,0,0)
  1636. part.Transparency=0
  1637. part.BrickColor=BrickColor.new('Lime green')
  1638. local mesh=Instance.new('SpecialMesh',part)
  1639. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  1640. mesh.Scale=Vector3.new(2,2,2)
  1641. local part2=part:clone()
  1642. part2.Parent = rarm
  1643. part2.BrickColor=BrickColor.new("Lime green")
  1644. local part5=part:clone()
  1645. part5.Parent = rarm
  1646. part5.BrickColor=BrickColor.new("Lime green")
  1647. local part6=part:clone()
  1648. part6.Parent = rarm
  1649. part6.BrickColor=BrickColor.new("Lime green")
  1650. local mesh2=mesh:clone()
  1651. mesh2.Parent=part2
  1652. mesh2.Scale=Vector3.new(3, 3, 3)
  1653. local mesh5=mesh:clone()
  1654. mesh5.Parent=part5
  1655. mesh5.Scale=Vector3.new(3, 3, 3)
  1656. local mesh6=mesh:clone()
  1657. mesh6.Parent=part6
  1658. mesh6.Scale=Vector3.new(3, 3, 3)
  1659. local blast = Instance.new("Part", rarm)
  1660. blast.BrickColor = BrickColor.new("Lime green")
  1661. blast.Anchored = true
  1662. blast.CanCollide = false
  1663. blast.Locked = true
  1664. blast.Size = Vector3.new(1, 1, 1)
  1665. blast.TopSurface = "Smooth"
  1666. blast.BottomSurface = "Smooth"
  1667. blast.Transparency = 0
  1668. blast.CFrame = HandCF
  1669. local bm = Instance.new("SpecialMesh", blast)
  1670. bm.Scale = Vector3.new(5,1,5)
  1671. bm.MeshId = "rbxassetid://3270017"
  1672. local blast2 = Instance.new("Part", rarm)
  1673. blast2.BrickColor = BrickColor.new("Lime green")
  1674. blast2.Anchored = true
  1675. blast2.CanCollide = false
  1676. blast2.Locked = true
  1677. blast2.Size = Vector3.new(1, 1, 1)
  1678. blast2.TopSurface = "Smooth"
  1679. blast2.BottomSurface = "Smooth"
  1680. blast2.Transparency = 0
  1681. blast2.CFrame = HandCF
  1682. local bm2 = Instance.new("SpecialMesh", blast2)
  1683. bm2.Scale = Vector3.new(3,1,3)
  1684. bm2.MeshId = "rbxassetid://3270017"
  1685. local blast3 = Instance.new("Part", rarm)
  1686. blast3.BrickColor = BrickColor.new("Lime green")
  1687. blast3.Anchored = true
  1688. blast3.CanCollide = false
  1689. blast3.Locked = true
  1690. blast3.Size = Vector3.new(1, 1, 1)
  1691. blast3.TopSurface = "Smooth"
  1692. blast3.BottomSurface = "Smooth"
  1693. blast3.Transparency = 0
  1694. blast3.CFrame = HandCF
  1695. local bm3 = Instance.new("SpecialMesh", blast3)
  1696. bm3.Scale = Vector3.new(3,1,3)
  1697. bm3.MeshId = "rbxassetid://3270017"
  1698. for i = 1,120 do rs:wait()
  1699. X.Transparency = X.Transparency + (1/120)
  1700. part.Transparency = part.Transparency + (1/120)
  1701. part2.Transparency = part2.Transparency + (1/120)
  1702. part3.Transparency = part3.Transparency + (1/120)
  1703. part4.Transparency = part4.Transparency + (1/120)
  1704. part5.Transparency = part5.Transparency + (1/120)
  1705. part6.Transparency = part6.Transparency + (1/120)
  1706. part7.Transparency = part7.Transparency + (1/120)
  1707. blast.Transparency = blast.Transparency + (1/120)
  1708. blast2.Transparency = blast2.Transparency + (1/120)
  1709. blast3.Transparency = blast3.Transparency + (1/120)
  1710. X.Size = X.Size + Vector3.new(.8,.8,.8)
  1711. --part3.Size = part3.Size + Vector3.new(3,3,3)
  1712. mesh.Scale = mesh.Scale + Vector3.new(1,.2,1)
  1713. mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1)
  1714. mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3)
  1715. mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7)
  1716. mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6)
  1717. mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2)
  1718. mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4)
  1719. bm.Scale = bm.Scale + Vector3.new(6,6,.2)
  1720. bm2.Scale = bm2.Scale + Vector3.new(4,4,.2)
  1721. bm3.Scale = bm3.Scale + Vector3.new(4,4,.2)
  1722. X.CFrame = cf
  1723. part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0)
  1724. part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0)
  1725. part3.CFrame=X.CFrame
  1726. part4.CFrame=X.CFrame
  1727. part7.CFrame=X.CFrame
  1728. part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0)
  1729. part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0)
  1730. blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1731. blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0))
  1732. blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0))
  1733. rs:wait()
  1734. end
  1735. X:Destroy()
  1736. part:Destroy()
  1737. part2:Destroy()
  1738. part3:Destroy()
  1739. part4:Destroy()
  1740. part5:Destroy()
  1741. part6:Destroy()
  1742. blast:Destroy()
  1743. blast2:Destroy()
  1744. blast3:Destroy()
  1745. z:Destroy()
  1746. z1:Destroy()
  1747. z2:Destroy()
  1748. z3:Destroy()
  1749. z4:Destroy()
  1750. end
  1751. end)
  1752. for i = 1, 20 do
  1753. 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)
  1754. 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)
  1755. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
  1756. 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)
  1757. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2)
  1758. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2)
  1759. if Debounces.on == false then break end
  1760. rs:wait()
  1761. end
  1762. if Debounces.CanAttack == false then
  1763. Debounces.CanAttack = true
  1764. Debounces.NoIdl = false
  1765. Debounces.on = false
  1766. end
  1767. end
  1768. end
  1769. end)
  1770. ----------------------------------------------------
  1771. mouse.KeyDown:connect(function(key)
  1772. if key == "e" then
  1773. if Debounces.CanAttack == true then
  1774. Debounces.CanAttack = false
  1775. Debounces.on = true
  1776. Debounces.NoIdl = true
  1777. pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
  1778. z = Instance.new("Sound", rarm)
  1779. z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  1780. z.Volume = .6
  1781. z.Pitch = pt[math.random(1,#pt)]
  1782. z.Looped = false
  1783. z:Play()
  1784. Debounces.RPunch = true
  1785. Debounces.LPunch = true
  1786. Debounces.ks = true
  1787. Debounces.ks2 = true
  1788. for i = 1, 3 do
  1789. 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)
  1790. 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)
  1791. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1792. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1793. 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)
  1794. 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)
  1795. if Debounces.on == false then break end
  1796. wait()
  1797. end
  1798. z2 = Instance.new("Sound", larm)
  1799. z2.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1800. z2.Volume = .6
  1801. z2.Pitch = pt[math.random(1,#pt)]
  1802. z2.Looped = false
  1803. z2:Play()
  1804. for i = 1, 3 do
  1805. 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)
  1806. 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)
  1807. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1808. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1809. 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)
  1810. 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)
  1811. if Debounces.on == false then break end
  1812. wait()
  1813. end
  1814. z3 = Instance.new("Sound", rarm)
  1815. z3.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1816. z3.Volume = 0.6
  1817. z3.Pitch = pt[math.random(1,#pt)]
  1818. z3.Looped = false
  1819. z3:Play()
  1820. for i = 1, 3 do
  1821. 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)
  1822. 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)
  1823. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1824. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1825. 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)
  1826. 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)
  1827. if Debounces.on == false then break end
  1828. wait()
  1829. end
  1830. z4 = Instance.new("Sound", larm)
  1831. z4.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1832. z4.Volume = .6
  1833. z4.Pitch = pt[math.random(1,#pt)]
  1834. z4.Looped = false
  1835. z4:Play()
  1836. for i = 1, 3 do
  1837. 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)
  1838. 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)
  1839. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1840. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1841. 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)
  1842. 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)
  1843. if Debounces.on == false then break end
  1844. wait()
  1845. end
  1846. z5 = Instance.new("Sound", rarm)
  1847. z5.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1848. z5.Volume = .6
  1849. z5.Pitch = pt[math.random(1,#pt)]
  1850. z5.Looped = false
  1851. z5:Play()
  1852. for i = 1, 3 do
  1853. 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)
  1854. 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)
  1855. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  1856. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  1857. 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)
  1858. 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)
  1859. if Debounces.on == false then break end
  1860. wait()
  1861. end
  1862. z6 = Instance.new("Sound", larm)
  1863. z6.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1864. z6.Volume = .6
  1865. z6.Pitch = pt[math.random(1,#pt)]
  1866. z6.Looped = false
  1867. z6:Play()
  1868. for i = 1, 3 do
  1869. 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)
  1870. 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)
  1871. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1872. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1873. 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)
  1874. 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)
  1875. if Debounces.on == false then break end
  1876. wait()
  1877. end
  1878. z7 = Instance.new("Sound", rarm)
  1879. z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  1880. z7.Volume = .6
  1881. z7.Pitch = pt[math.random(1,#pt)]
  1882. z7.Looped = false
  1883. z7:Play()
  1884. for i = 1, 3 do
  1885. 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)
  1886. 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)
  1887. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1888. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1889. 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)
  1890. 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)
  1891. if Debounces.on == false then break end
  1892. wait()
  1893. end
  1894. z8 = Instance.new("Sound", larm)
  1895. z8.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1896. z8.Volume = .6
  1897. z8.Pitch = pt[math.random(1,#pt)]
  1898. z8.Looped = false
  1899. z8:Play()
  1900. for i = 1, 3 do
  1901. 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)
  1902. 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)
  1903. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1904. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1905. 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)
  1906. 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)
  1907. if Debounces.on == false then break end
  1908. wait()
  1909. end
  1910. z9 = Instance.new("Sound", rarm)
  1911. z9.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1912. z9.Volume = 0.6
  1913. z9.Pitch = pt[math.random(1,#pt)]
  1914. z9.Looped = false
  1915. z9:Play()
  1916. for i = 1, 3 do
  1917. 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)
  1918. 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)
  1919. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1920. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1921. 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)
  1922. 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)
  1923. if Debounces.on == false then break end
  1924. wait()
  1925. end
  1926. z10 = Instance.new("Sound", larm)
  1927. z10.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1928. z10.Volume = .6
  1929. z10.Pitch = pt[math.random(1,#pt)]
  1930. z10.Looped = false
  1931. z10:Play()
  1932. for i = 1, 3 do
  1933. 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)
  1934. 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)
  1935. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1936. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1937. 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)
  1938. 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)
  1939. if Debounces.on == false then break end
  1940. wait()
  1941. end
  1942. z11 = Instance.new("Sound", rarm)
  1943. z11.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1944. z11.Volume = .6
  1945. z11.Pitch = pt[math.random(1,#pt)]
  1946. z11.Looped = false
  1947. z11:Play()
  1948. for i = 1, 3 do
  1949. 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)
  1950. 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)
  1951. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  1952. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  1953. 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)
  1954. 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)
  1955. if Debounces.on == false then break end
  1956. wait()
  1957. end
  1958. z12 = Instance.new("Sound", larm)
  1959. z12.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1960. z12.Volume = .6
  1961. z12.Pitch = pt[math.random(1,#pt)]
  1962. z12.Looped = false
  1963. z12:Play()
  1964. for i = 1, 3 do
  1965. 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)
  1966. 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)
  1967. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1968. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1969. 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)
  1970. 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)
  1971. if Debounces.on == false then break end
  1972. wait()
  1973. end
  1974. z13 = Instance.new("Sound", rarm)
  1975. z13.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1976. z13.Volume = 0.6
  1977. z13.Pitch = pt[math.random(1,#pt)]
  1978. z13.Looped = false
  1979. z13:Play()
  1980. for i = 1, 3 do
  1981. 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)
  1982. 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)
  1983. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1984. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1985. 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)
  1986. 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)
  1987. if Debounces.on == false then break end
  1988. wait()
  1989. end
  1990. z14 = Instance.new("Sound", larm)
  1991. z14.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1992. z14.Volume = .6
  1993. z14.Pitch = pt[math.random(1,#pt)]
  1994. z14.Looped = false
  1995. z14:Play()
  1996. for i = 1, 3 do
  1997. 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)
  1998. 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)
  1999. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2000. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2001. 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)
  2002. 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)
  2003. if Debounces.on == false then break end
  2004. wait()
  2005. end
  2006. z15 = Instance.new("Sound", rarm)
  2007. z15.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2008. z15.Volume = .6
  2009. z15.Pitch = pt[math.random(1,#pt)]
  2010. z15.Looped = false
  2011. z15:Play()
  2012. for i = 1, 3 do
  2013. 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)
  2014. 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)
  2015. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  2016. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  2017. 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)
  2018. 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)
  2019. if Debounces.on == false then break end
  2020. wait()
  2021. end
  2022. z16 = Instance.new("Sound", larm)
  2023. z16.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2024. z16.Volume = .6
  2025. z16.Pitch = pt[math.random(1,#pt)]
  2026. z16.Looped = false
  2027. z16:Play()
  2028. for i = 1, 3 do
  2029. 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)
  2030. 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)
  2031. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2032. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2033. 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)
  2034. 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)
  2035. if Debounces.on == false then break end
  2036. wait()
  2037. end
  2038. z17 = Instance.new("Sound", rarm)
  2039. z17.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  2040. z17.Volume = .6
  2041. z17.Pitch = pt[math.random(1,#pt)]
  2042. z17.Looped = false
  2043. z17:Play()
  2044. for i = 1, 3 do
  2045. 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)
  2046. 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)
  2047. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2048. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2049. 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)
  2050. 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)
  2051. if Debounces.on == false then break end
  2052. wait()
  2053. end
  2054. z18 = Instance.new("Sound", larm)
  2055. z18.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2056. z18.Volume = .6
  2057. z18.Pitch = pt[math.random(1,#pt)]
  2058. z18.Looped = false
  2059. z18:Play()
  2060. for i = 1, 3 do
  2061. 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)
  2062. 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)
  2063. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2064. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2065. 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)
  2066. 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)
  2067. if Debounces.on == false then break end
  2068. wait()
  2069. end
  2070. z19 = Instance.new("Sound", rarm)
  2071. z19.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2072. z19.Volume = 0.6
  2073. z19.Pitch = pt[math.random(1,#pt)]
  2074. z19.Looped = false
  2075. z19:Play()
  2076. for i = 1, 3 do
  2077. 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)
  2078. 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)
  2079. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2080. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2081. 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)
  2082. 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)
  2083. if Debounces.on == false then break end
  2084. wait()
  2085. end
  2086. z20 = Instance.new("Sound", larm)
  2087. z20.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2088. z20.Volume = .6
  2089. z20.Pitch = pt[math.random(1,#pt)]
  2090. z20.Looped = false
  2091. z20:Play()
  2092. for i = 1, 3 do
  2093. 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)
  2094. 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)
  2095. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2096. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2097. 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)
  2098. 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)
  2099. if Debounces.on == false then break end
  2100. wait()
  2101. end
  2102. z:Destroy()
  2103. z2:Destroy()
  2104. z3:Destroy()
  2105. z4:Destroy()
  2106. z5:Destroy()
  2107. z6:Destroy()
  2108. z7:Destroy()
  2109. z8:Destroy()
  2110. z9:Destroy()
  2111. z10:Destroy()
  2112. z11:Destroy()
  2113. z12:Destroy()
  2114. z13:Destroy()
  2115. z14:Destroy()
  2116. z15:Destroy()
  2117. z16:Destroy()
  2118. z17:Destroy()
  2119. z18:Destroy()
  2120. z19:Destroy()
  2121. z20:Destroy()
  2122. Debounces.LPunch = false
  2123. Debounces.RPunch = false
  2124. Debounces.ks = false
  2125. Debounces.ks2 = false
  2126. if Debounces.CanAttack == false then
  2127. Debounces.CanAttack = true
  2128. Debounces.on = false
  2129. Debounces.NoIdl = false
  2130. end
  2131. end
  2132. end
  2133. end)
  2134. -------------------------------
  2135. mouse.KeyDown:connect(function(key)
  2136. if key == "t" then
  2137. if Debounces.CanAttack == true then
  2138. Debounces.CanAttack = false
  2139. Debounces.NoIdl = true
  2140. Debounces.on = true
  2141. Debounces.ks = true
  2142. kik = rleg.Touched:connect(function(ht)
  2143. hit = ht.Parent
  2144. if ht and hit:IsA("Model") then
  2145. if hit:FindFirstChild("Humanoid") then
  2146. if hit.Name ~= p.Name then
  2147. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  2148. Debounces.Slashed = true]]--
  2149. if Debounces.ks==true then
  2150. z = Instance.new("Sound",hed)
  2151. z.SoundId = "rbxassetid://169380525"
  2152. z.Volume = 1
  2153. z:Play()
  2154. Debounces.ks=false
  2155. end
  2156. hit:FindFirstChild("Humanoid"):TakeDamage(2)
  2157. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
  2158. --Debounces.Slashed = false
  2159. --end
  2160. end
  2161. end
  2162. elseif ht and hit:IsA("Hat") then
  2163. if hit.Parent.Name ~= p.Name then
  2164. if hit.Parent:FindFirstChild("Humanoid") then
  2165. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  2166. Debounces.Slashed = true]]--
  2167. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
  2168. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
  2169. --Debounces.Slashed = false
  2170. --end
  2171. end
  2172. end
  2173. end
  2174. end)
  2175. for i = 1,20 do
  2176. 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)
  2177. 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)
  2178. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2179. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4)
  2180. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4)
  2181. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
  2182. if Debounces.on == false then break end
  2183. rs:wait()
  2184. end
  2185. kik:disconnect()
  2186. if Debounces.CanAttack == false then
  2187. Debounces.CanAttack = true
  2188. Debounces.NoIdl = false
  2189. Debounces.on = false
  2190. end
  2191. end
  2192. end
  2193. end)
  2194. ----------------------------------------------------
  2195. mouse.KeyDown:connect(function(key)
  2196. if key == "y" then
  2197. if Debounces.CanAttack == true then
  2198. Debounces.CanAttack = false
  2199. Debounces.on = true
  2200. Debounces.NoIdl = true
  2201. for i = 1, 15 do
  2202. 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)
  2203. 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)
  2204. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
  2205. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4)
  2206. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  2207. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  2208. if Debounces.on == false then break end
  2209. rs:wait(2.7)
  2210. end
  2211. x = Instance.new("Sound",char)
  2212. x.SoundId = "rbxassetid://228343271"
  2213. x.Pitch = 1
  2214. x.Volume = .8
  2215. wait(.1)
  2216. x:Play()
  2217. Debounces.on = false
  2218. Debounces.Here = false
  2219. shot = shot + 1
  2220. local rng = Instance.new("Part", larm)
  2221. rng.Anchored = true
  2222. rng.BrickColor = BrickColor.new("Lime green")
  2223. rng.CanCollide = false
  2224. rng.FormFactor = 3
  2225. rng.Name = "Ring"
  2226. rng.Size = Vector3.new(1, 1, 1)
  2227. rng.Transparency = 0.35
  2228. rng.TopSurface = 0
  2229. rng.BottomSurface = 0
  2230. rng2 = rng:clone()
  2231. rng3 = rng2:clone()
  2232. rng4 = rng2:clone()
  2233. local rngm = Instance.new("SpecialMesh", rng)
  2234. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2235. rngm.Scale = Vector3.new(10, 10, 1)
  2236. rngm2 = rngm:clone()
  2237. rngm2.Scale = Vector3.new(5, 5, 3)
  2238. rngm3=rngm2:clone()
  2239. rngm3.Parent = rng3
  2240. rngm3.Scale = Vector3.new(8, 8, 1)
  2241. rngm4 = rngm2:clone()
  2242. rngm4.Parent = rng4
  2243. rngm4.Scale = Vector3.new(6, 6, 1)
  2244. local bem = Instance.new("Part", larm)
  2245. bem.Anchored = true
  2246. bem.BrickColor = BrickColor.new("Lime green")
  2247. bem.CanCollide = false
  2248. bem.FormFactor = 3
  2249. bem.Name = "Beam" .. shot
  2250. bem.Size = Vector3.new(1, 1, 1)
  2251. bem.Transparency = 0.35
  2252. bem.TopSurface = 0
  2253. bem.BottomSurface = 0
  2254. local bemm = Instance.new("SpecialMesh", bem)
  2255. bemm.MeshType = 4
  2256. bemm.Scale = Vector3.new(1, 4, 4)
  2257. local out = Instance.new("Part", larm)
  2258. out.Anchored = true
  2259. out.BrickColor = BrickColor.new("Lime green")
  2260. out.CanCollide = false
  2261. out.FormFactor = 3
  2262. out.Name = "Out"
  2263. out.Size = Vector3.new(4, 4, 4)
  2264. out.Transparency = 0.35
  2265. out.TopSurface = 0
  2266. out.BottomSurface = 0
  2267. local outm = Instance.new("SpecialMesh", out)
  2268. outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
  2269. outm.Scale = Vector3.new(6, 4, 6)
  2270. local bnd = Instance.new("Part", larm)
  2271. bnd.Anchored = true
  2272. bnd.BrickColor = BrickColor.new("Lime green")
  2273. bnd.CanCollide = false
  2274. bnd.FormFactor = 3
  2275. bnd.Name = "Bend"
  2276. bnd.Size = Vector3.new(1, 1, 1)
  2277. bnd.Transparency = 1
  2278. bnd.TopSurface = 0
  2279. bnd.BottomSurface = 0
  2280. local bndm = Instance.new("SpecialMesh", bnd)
  2281. bndm.MeshType = 3
  2282. bndm.Scale = Vector3.new(8, 8, 8)
  2283. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  2284. bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
  2285. bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
  2286. rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  2287. rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0)
  2288. rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0)
  2289. Debounces.Shewt = true
  2290. coroutine.wrap(function()
  2291. for i = 1, 20, 0.2 do
  2292. rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
  2293. rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1)
  2294. rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1)
  2295. rng.Transparency = i/20
  2296. rng3.Transparency = 1/24
  2297. rng4.Transparency = i/26
  2298. wait()
  2299. end
  2300. wait()
  2301. rng:Destroy()
  2302. end)()
  2303. if Debounces.Shewt == true then
  2304. larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
  2305. hit = ht.Parent
  2306. if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
  2307. if HasntTouched(hit.Name) == true and deb == false then
  2308. deb = true
  2309. coroutine.wrap(function()
  2310. hit:FindFirstChild("Humanoid").PlatformStand = true
  2311. hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  2312. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
  2313. end)()
  2314. table.insert(Touche, hit.Name)
  2315. deb = false
  2316. end
  2317. elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
  2318. if HasntTouched(hit.Parent.Name) == true and deb == false then
  2319. deb = true
  2320. coroutine.wrap(function()
  2321. hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
  2322. hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  2323. wait(1)
  2324. hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
  2325. end)()
  2326. table.insert(Touche, hit.Parent.Name)
  2327. deb = false
  2328. for i, v in pairs(Touche) do
  2329. print(v)
  2330. end
  2331. end
  2332. end
  2333. end)
  2334. end
  2335. for i = 0, 260, 8 do
  2336. bem.Size = Vector3.new(i, 3, 3)
  2337. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  2338. bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
  2339. bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
  2340. bnd.Size = Vector3.new(1,1,1)
  2341. bndm.Scale = Vector3.new(8,8,8)
  2342. if i % 10 == 0 then
  2343. local newRng = rng2:Clone()
  2344. newRng.Parent = larm
  2345. newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
  2346. local newRngm = rngm2:clone()
  2347. newRngm.Parent=newRng
  2348. coroutine.wrap(function()
  2349. for i = 1, 10, 0.2 do
  2350. newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3)
  2351. newRng.Transparency = i/10
  2352. wait()
  2353. end
  2354. wait()
  2355. newRng:Destroy()
  2356. end)()
  2357. end
  2358. wait()
  2359. end
  2360. wait()
  2361. Debounces.Shewt = false
  2362. bem:Destroy()
  2363. out:Destroy()
  2364. bnd:Destroy()
  2365. Debounces.Ready = false
  2366. for i, v in pairs(Touche) do
  2367. table.remove(Touche, i)
  2368. end
  2369. wait()
  2370. table.insert(Touche, char.Name)
  2371. Debounces.NoIdl = false
  2372. if Debounces.CanAttack == false then
  2373. Debounces.CanAttack = true
  2374. end
  2375. end
  2376. end
  2377. end)
  2378. ----------------------------------------------------
  2379. mouse.KeyDown:connect(function(key)
  2380. if key == "x" then
  2381. if Debounces.CanAttack == true then
  2382. Debounces.CanAttack = false
  2383. Debounces.NoIdl = true
  2384. Debounces.on = true
  2385. local shell = Instance.new("Part",torso)
  2386. shell.BrickColor = BrickColor.new("Lime green")
  2387. shell.Anchored = false
  2388. shell.CanCollide = false
  2389. shell.Locked = true
  2390. shell.TopSurface = "SmoothNoOutlines"
  2391. shell.BottomSurface = "SmoothNoOutlines"
  2392. shell.Size = Vector3.new(1.2,1.2,1.2)
  2393. shell.FormFactor = 3
  2394. local shellm = Instance.new("SpecialMesh",shell)
  2395. shellm.MeshType = "Sphere"
  2396. shellm.Scale = Vector3.new(1.2,1.2,1.2)
  2397. Omega = function()
  2398. local X = Instance.new("Part",char)
  2399. local O = Instance.new("ObjectValue",X)
  2400. O.Name = "creator"
  2401. X.Locked = true
  2402. X.Name = "Shell"
  2403. X.Anchored = false
  2404. X.CanCollide = false
  2405. X.Transparency = 0.5
  2406. X.Reflectance = 0
  2407. X.BottomSurface = 0
  2408. X.TopSurface = 0
  2409. X.Shape = 0
  2410. local V = Instance.new("ObjectValue",X)
  2411. V.Value = char
  2412. V.Name = "creator"
  2413. X.BrickColor = BrickColor.new("Lime green")
  2414. X.Size = Vector3.new(40,40,40)
  2415. --X.Material = "Neon"
  2416. local Z = Instance.new("SpecialMesh",X)
  2417. Z.MeshType = "Sphere"
  2418. Z.Scale = Vector3.new(0.2,0.2,0.2)
  2419. X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
  2420. local bv = Instance.new("BodyVelocity",X)
  2421. bv.maxForce = Vector3.new(99999,99999,99999)
  2422. X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
  2423. bv.velocity = root.CFrame.lookVector*10
  2424. Explode = X.Touched:connect(function(hit)
  2425. if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart}") then
  2426. local cf = X.CFrame
  2427. bv:Destroy()
  2428. X.Anchored = true
  2429. Z:Remove()
  2430. Explode:disconnect()
  2431. X.Size = Vector3.new(3,3,3)
  2432. X.Touched:connect(function(hit) end)
  2433. X.CanCollide = false
  2434. for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do
  2435. if v:FindFirstChild('Humanoid') then
  2436. v.Humanoid:TakeDamage(math.random(80,120))
  2437. end
  2438. end
  2439. for i = 1, (40) do rs:wait()
  2440. X.Transparency = X.Transparency + (1/40)
  2441. X.Size = X.Size + Vector3.new(1,1,1)
  2442. X.CFrame = root.CFrame * CFrame.new(0,0,-10)
  2443. end
  2444. X:Destroy()
  2445. end
  2446. end)
  2447. end
  2448. for i = 1,200 do
  2449. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2450. 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)
  2451. 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)
  2452. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2453. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2454. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2455. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2456. if Debounces.on == false then break end
  2457. rs:wait()
  2458. end
  2459. for i = 1,30 do
  2460. shell.CFrame = torso.CFrame * CFrame.new(0,8,0)
  2461. 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)
  2462. 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)
  2463. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2464. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2465. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2466. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2467. if Debounces.on == false then break end
  2468. rs:wait()
  2469. end
  2470. for i = 1,40 do
  2471. shell.CFrame = torso.CFrame * CFrame.new(0,20,0)
  2472. shell.Size = shell.Size + Vector3.new(1,1,1)
  2473. 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)
  2474. 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)
  2475. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2476. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2477. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2478. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2479. if Debounces.on == false then break end
  2480. rs:wait()
  2481. end
  2482. for i = 1,40 do
  2483. shell.CFrame = torso.CFrame * CFrame.new(0,0,-30)
  2484. 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)
  2485. 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)
  2486. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2487. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2488. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2489. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2490. if Debounces.on == false then break end
  2491. rs:wait()
  2492. end
  2493. for i = 1,60 do
  2494. shell.CFrame = torso.CFrame * CFrame.new(0,0,-60)
  2495. 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)
  2496. 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)
  2497. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2498. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2499. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2500. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2501. if Debounces.on == false then break end
  2502. rs:wait()
  2503. end
  2504. for i = 1,60 do
  2505. shell.CFrame = torso.CFrame * CFrame.new(0,0,-60)
  2506. shell.Size = shell.Size + Vector3.new(1,1,1)
  2507. 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)
  2508. 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)
  2509. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2510. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), 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(0)), 0.4)
  2512. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2513. if Debounces.on == false then break end
  2514. rs:wait()
  2515. end
  2516. if Debounces.CanAttack == false then
  2517. Debounces.CanAttack = true
  2518. Debounces.NoIdl = false
  2519. Debounces.on = false
  2520. end
  2521. end
  2522. end
  2523. end)
  2524. ----------------------------------------------------
  2525. Charging = false
  2526. mouse.KeyDown:connect(function(key)
  2527. if key == "r" then
  2528. if Charging == false then
  2529. Charging = true
  2530. if Debounces.CanAttack == true then
  2531. Debounces.CanAttack = false
  2532. Debounces.NoIdl = true
  2533. Debounces.on = true
  2534. for i = 1,20 do
  2535. 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)
  2536. 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)
  2537. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  2538. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  2539. 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)
  2540. 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)
  2541. if Debounces.on == false then break end
  2542. rs:wait()
  2543. end
  2544. --[[for i = 1,20 do
  2545. 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)
  2546. 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)
  2547. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4)
  2548. 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)
  2549. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4)
  2550. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4)
  2551. if Debounces.on == false then break end
  2552. rs:wait()
  2553. end]]--
  2554. pt=Instance.new('Part',torso)
  2555. pt.Anchored=true
  2556. pt.CanCollide=false
  2557. pt.Locked = true
  2558. pt.FormFactor='Custom'
  2559. pt.Size=Vector3.new(1,1,1)
  2560. pt.CFrame=root.CFrame*CFrame.new(0,-1,0)
  2561. pt.Transparency=.6
  2562. pt.BrickColor=BrickColor.new('Lime green')
  2563. msh=Instance.new('SpecialMesh',pt)
  2564. msh.MeshId='http://www.roblox.com/asset/?id=20329976'
  2565. msh.Scale=Vector3.new(8,4,8)
  2566. pt2=pt:clone()
  2567. pt2.Parent = torso
  2568. pt2.CFrame=root.CFrame*CFrame.new(0,-1,0)
  2569. pt2.BrickColor=BrickColor.new("Lime green")
  2570. msh2=msh:clone()
  2571. msh2.Parent=pt2
  2572. msh2.Scale=Vector3.new(10,5,10)
  2573.  
  2574. 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}
  2575.  
  2576. bl = Instance.new("Part", char)
  2577. bl.Locked = true
  2578. bl.Name = "Shell"
  2579. bl.BrickColor = BrickColor.new("Lime green")
  2580. bl.Anchored = true
  2581. bl.CanCollide = false
  2582. bl.Transparency = 0
  2583. bl.Reflectance = 0
  2584. bl.BottomSurface = 0
  2585. bl.TopSurface = 0
  2586. bl.Shape = 0
  2587. blm = Instance.new("SpecialMesh",bl)
  2588. blm.MeshType = "Sphere"
  2589. blm.Scale = Vector3.new(1,1,1)
  2590. blm.MeshId = "rbxassetid://9982590"
  2591.  
  2592. coroutine.resume(coroutine.create(function()
  2593. for i=1, math.huge, 4 do
  2594. if Charging == true then
  2595. rs:wait()
  2596. bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  2597. blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1)
  2598. bl.Transparency = bl.Transparency + 0.005
  2599. pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
  2600. pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
  2601. msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05)
  2602. msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05)
  2603. elseif Charging == false then break
  2604. end
  2605. end
  2606. end))
  2607.  
  2608. repeat
  2609. local p = Instance.new('Part',torso)
  2610. p.formFactor = 'Custom'
  2611. p.Size = Vector3.new(1,1,1)
  2612. p.BrickColor = workspace.Base.BrickColor
  2613. p.CanCollide = false
  2614. p.Transparency = 0
  2615. p.Anchored = true
  2616. p.Locked=true
  2617. p.Material = workspace.Base.Material
  2618. s = math.random(1,40)/10
  2619. local m = Instance.new("BlockMesh",p)
  2620. m.Scale = Vector3.new(s,s,s)
  2621. 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())
  2622. --[[coroutine.wrap(function()
  2623. wait(2)
  2624. while Charging == true do
  2625. wait(2)
  2626. GroundWave1()
  2627. wait(2)
  2628. end
  2629. end)()]]--
  2630. Spawn(function()
  2631. while rs:wait() do
  2632. if Charging == true then
  2633. 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)))
  2634. 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)))
  2635. 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))
  2636. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  2637. 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)))
  2638. 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)))
  2639. elseif Charging == false then break
  2640. end
  2641. end
  2642. end)
  2643. Spawn(function()
  2644. while rs:wait() do
  2645. if p.Transparency >= 1 then p:Destroy() break end
  2646. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
  2647. p.Transparency = p.Transparency+0.01
  2648. end
  2649. end)
  2650. wait(.3)
  2651. until Charging == false
  2652. end
  2653. end
  2654. end
  2655. end)
  2656. ----------------------------------------------------
  2657. mouse.KeyUp:connect(function(key)
  2658. if key == "r" then
  2659. if Charging == true then
  2660. Charging = false
  2661. pt:Destroy()
  2662. pt2:Destroy()
  2663. bl:Destroy()
  2664. if Debounces.CanAttack == false then
  2665. Debounces.CanAttack = true
  2666. Debounces.NoIdl = false
  2667. Debounces.on = false
  2668. end
  2669. end
  2670. end
  2671. end)
  2672. ----------------------------------------------------
  2673. mouse.KeyDown:connect(function(key)
  2674. if key == "g" then
  2675. if Debounces.CanAttack == true then
  2676. Debounces.CanAttack = false
  2677. Debounces.NoIdl = true
  2678. Debounces.on = true
  2679. local shell = Instance.new("Part",torso)
  2680. shell.BrickColor = BrickColor.new("Lime green")
  2681. shell.Anchored = true
  2682. shell.CanCollide = false
  2683. shell.Locked = true
  2684. shell.TopSurface = "SmoothNoOutlines"
  2685. shell.BottomSurface = "SmoothNoOutlines"
  2686. shell.Size = Vector3.new(1,1,1)
  2687. shellm = Instance.new("SpecialMesh",shell)
  2688. shellm.MeshType = "Sphere"
  2689. shellm.Scale = Vector3.new(1,1,1)
  2690. local shell2 = Instance.new("Part",torso)
  2691. shell2.BrickColor = BrickColor.new("Lime green")
  2692. shell2.Anchored = true
  2693. shell2.CanCollide = false
  2694. shell2.Locked = true
  2695. shell2.TopSurface = "SmoothNoOutlines"
  2696. shell2.BottomSurface = "SmoothNoOutlines"
  2697. shell2.Size = Vector3.new(1,1,1)
  2698. shellm2 = Instance.new("SpecialMesh",shell2)
  2699. shellm2.MeshType = "Sphere"
  2700. shellm2.Scale = Vector3.new(1,1,1)
  2701.  
  2702. function FindNearestTorso(Position,Distance,SinglePlayer)
  2703. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  2704. local List = {}
  2705. for i,v in pairs(workspace:GetChildren())do
  2706. if v:IsA("Model")then
  2707. if v:findFirstChild("Torso")then
  2708. if v ~= char then
  2709. if(v.Torso.Position -Position).magnitude <= Distance then
  2710. table.insert(List,v)
  2711. end
  2712. end
  2713. end
  2714. end
  2715. end
  2716. return List
  2717. end
  2718.  
  2719. Shell = function()
  2720. local X = Instance.new("Part",char)
  2721. local O = Instance.new("ObjectValue",X)
  2722. O.Name = "creator"
  2723. X.Locked = true
  2724. X.Name = "Shell"
  2725. X.Anchored = false
  2726. X.CanCollide = false
  2727. X.Transparency = 0
  2728. X.Reflectance = 0
  2729. X.BottomSurface = 0
  2730. X.TopSurface = 0
  2731. X.Shape = 0
  2732. local V = Instance.new("ObjectValue",X)
  2733. V.Value = char
  2734. V.Name = "creator"
  2735. X.BrickColor = BrickColor.new("Lime green")
  2736. X.Size = Vector3.new(1,1,1)
  2737. --X.Material = "Neon"
  2738. local Z = Instance.new("SpecialMesh",X)
  2739. Z.MeshType = "Sphere"
  2740. Z.Scale = Vector3.new(1,1,1)
  2741. X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
  2742. local bv = Instance.new("BodyVelocity",X)
  2743. bv.maxForce = Vector3.new(99999,99999,99999)
  2744. X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
  2745. bv.velocity = root.CFrame.lookVector*65
  2746. Explode = X.Touched:connect(function(hit)
  2747. if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then
  2748. local cf = X.CFrame
  2749. bv:Destroy()
  2750. X.Anchored = true
  2751. Z:Remove()
  2752. Explode:disconnect()
  2753. X.Size = Vector3.new(3,3,3)
  2754. X.Touched:connect(function(hit) end)
  2755. X.CanCollide = false
  2756. for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do
  2757. if v:FindFirstChild('Humanoid') then
  2758. v.Humanoid:TakeDamage(math.random(6,12))
  2759. end
  2760. end
  2761. for i = 1, (40) do rs:wait()
  2762. X.Transparency = X.Transparency + (1/40)
  2763. X.Size = X.Size + Vector3.new(1,1,1)
  2764. X.CFrame = cf
  2765. end
  2766. X:Destroy()
  2767. end
  2768. end)
  2769. end
  2770. Shell()
  2771. for i = 1, 10 do
  2772. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2773. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2774. 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)
  2775. 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)
  2776. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7)
  2777. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7)
  2778. 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)
  2779. 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)
  2780. if Debounces.on == false then break end
  2781. rs:wait()
  2782. end
  2783. Shell()
  2784. shell.Transparency = 1
  2785. for i = 1, 10 do
  2786. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2787. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2788. 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)
  2789. 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)
  2790. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2791. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2792. 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)
  2793. 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)
  2794. if Debounces.on == false then break end
  2795. rs:wait()
  2796. end
  2797. Shell()
  2798. shell.Transparency = 0
  2799. shell2.Transparency = 1
  2800. for i = 1, 10 do
  2801. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2802. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2803. 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)
  2804. 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)
  2805. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  2806. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2807. 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)
  2808. 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)
  2809. if Debounces.on == false then break end
  2810. rs:wait()
  2811. end
  2812. Shell()
  2813. shell2.Transparency = 0
  2814. shell.Transparency = 1
  2815. for i = 1, 10 do
  2816. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2817. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2818. 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)
  2819. 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)
  2820. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2821. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2822. 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)
  2823. 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)
  2824. if Debounces.on == false then break end
  2825. rs:wait()
  2826. end
  2827. Shell()
  2828. shell.Transparency = 0
  2829. shell2.Transparency = 1
  2830. for i = 1, 10 do
  2831. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2832. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2833. 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)
  2834. 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)
  2835. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  2836. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2837. 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)
  2838. 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)
  2839. if Debounces.on == false then break end
  2840. rs:wait()
  2841. end
  2842. Shell()
  2843. shell2.Transparency = 0
  2844. shell.Transparency = 1
  2845. for i = 1, 10 do
  2846. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2847. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2848. 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)
  2849. 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)
  2850. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2851. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2852. 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)
  2853. 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)
  2854. if Debounces.on == false then break end
  2855. rs:wait()
  2856. end
  2857. Shell()
  2858. shell.Transparency = 0
  2859. shell2.Transparency = 1
  2860. for i = 1, 10 do
  2861. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2862. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2863. 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)
  2864. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5)
  2865. 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)
  2866. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2867. 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)
  2868. 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)
  2869. if Debounces.on == false then break end
  2870. rs:wait()
  2871. end
  2872. Shell()
  2873. shell2.Transparency = 0
  2874. shell.Transparency = 1
  2875. for i = 1, 10 do
  2876. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2877. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2878. 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)
  2879. 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)
  2880. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2881. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2882. 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)
  2883. 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)
  2884. if Debounces.on == false then break end
  2885. rs:wait()
  2886. end
  2887. Shell()
  2888. shell.Transparency = 0
  2889. shell2.Transparency = 1
  2890. for i = 1, 10 do
  2891. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2892. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2893. 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)
  2894. 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)
  2895. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  2896. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2897. 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)
  2898. 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)
  2899. if Debounces.on == false then break end
  2900. rs:wait()
  2901. end
  2902. Shell()
  2903. shell2.Transparency = 0
  2904. shell.Transparency = 1
  2905. for i = 1, 10 do
  2906. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2907. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2908. 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)
  2909. 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)
  2910. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2911. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2912. 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)
  2913. 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)
  2914. if Debounces.on == false then break end
  2915. rs:wait()
  2916. end
  2917. Shell()
  2918. shell.Transparency = 0
  2919. shell2.Transparency = 1
  2920. for i = 1, 10 do
  2921. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2922. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2923. 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)
  2924. 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)
  2925. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  2926. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2927. 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)
  2928. 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)
  2929. if Debounces.on == false then break end
  2930. rs:wait()
  2931. end
  2932. Shell()
  2933. shell2.Transparency = 0
  2934. shell.Transparency = 1
  2935. for i = 1, 10 do
  2936. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2937. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2938. 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)
  2939. 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)
  2940. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2941. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2942. 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)
  2943. 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)
  2944. if Debounces.on == false then break end
  2945. rs:wait()
  2946. end
  2947. Shell()
  2948. shell.Transparency = 0
  2949. shell2.Transparency = 1
  2950. for i = 1, 10 do
  2951. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2952. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2953. 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)
  2954. 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)
  2955. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  2956. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2957. 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)
  2958. 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)
  2959. if Debounces.on == false then break end
  2960. rs:wait()
  2961. end
  2962. shell.Transparency = 1
  2963. if Debounces.CanAttack == false then
  2964. Debounces.CanAttack = true
  2965. Debounces.NoIdl = false
  2966. Debounces.on = false
  2967. end
  2968. end
  2969. end
  2970. end)
  2971. ----------------------------------------------------
  2972. Search = false
  2973. mouse.KeyDown:connect(function(key)
  2974. if key == "n" then
  2975. if Search == false then
  2976. Search = true
  2977. for i,v in pairs(game.Players:getPlayers()) do
  2978. if v.Name~=char.Name then
  2979. for j,k in pairs(v.Character:GetChildren()) do
  2980. if k:IsA("BasePart") and k.Transparency >= 1 then
  2981. bawx=Instance.new("SelectionBox",cam)
  2982. bawx.Color = BrickColor.new("Lime green")
  2983. bawx.Transparency = .5
  2984. bawx.Adornee = k
  2985. end
  2986. end
  2987. end
  2988. end
  2989. elseif Search == true then
  2990. Search = false
  2991. for i, v in pairs(cam:GetChildren()) do
  2992. if v:IsA("SelectionBox") then
  2993. v:Destroy()
  2994. end
  2995. end
  2996. end
  2997. end
  2998. end)
  2999. ----------------------------------------------------
  3000. Grab = false
  3001. mouse.KeyDown:connect(function(key)
  3002. if key == "z" then
  3003. Debounces.on = true
  3004. Debounces.NoIdl = true
  3005. Debounces.ks = true
  3006. if Grab == false then
  3007. gp = nil
  3008. for i = 1, 20 do
  3009. 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)
  3010. 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)
  3011. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  3012. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  3013. 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)
  3014. 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)
  3015. if Debounces.on == false then break end
  3016. rs:wait()
  3017. end
  3018. con1=larm.Touched:connect(function(hit) -- this is grab
  3019. ht = hit.Parent
  3020. hum1=ht:FindFirstChild('Humanoid')
  3021. if hum1 ~= nil then
  3022. if Debounces.ks==true then
  3023. z = Instance.new("Sound",hed)
  3024. z.SoundId = "rbxassetid://169380525"
  3025. z.Volume = 1
  3026. z:Play()
  3027. Debounces.ks=false
  3028. end
  3029. hum1.PlatformStand=true
  3030. gp = ht
  3031. Grab = true
  3032. asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0))
  3033. asd.Parent = larm
  3034. asd.Name = "asd"
  3035. asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0)
  3036. --[[elseif hum1 == nil then
  3037. con1:disconnect()
  3038. wait() return]]--
  3039. end
  3040. end)
  3041. for i = 1, 20 do
  3042. 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)
  3043. 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)
  3044. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  3045. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  3046. 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)
  3047. 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)
  3048. if Debounces.on == false then break end
  3049. rs:wait()
  3050. end
  3051. if hum1 == nil then
  3052. Debounces.on = false
  3053. Debounces.NoIdl = false
  3054. end
  3055. con1:disconnect()
  3056. elseif Grab == true then
  3057. Grab = false
  3058. Punch()
  3059. z = Instance.new("Sound",hed)
  3060. z.SoundId = "rbxassetid://169380525"
  3061. z.Pitch = ptz[math.random(1,#ptz)]
  3062. z.Volume = 1
  3063. z:Play()
  3064. for i = 1, 10 do
  3065. 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)
  3066. 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)
  3067. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3068. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3069. 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)
  3070. 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)
  3071. if Debounces.on == false then break end
  3072. rs:wait()
  3073. end
  3074. Punch()
  3075. z = Instance.new("Sound",hed)
  3076. z.SoundId = "rbxassetid://169380525"
  3077. z.Pitch = ptz[math.random(1,#ptz)]
  3078. z.Volume = 1
  3079. z:Play()
  3080. for i = 1, 10 do
  3081. 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)
  3082. 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)
  3083. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3084. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3085. 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)
  3086. 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)
  3087. if Debounces.on == false then break end
  3088. rs:wait()
  3089. end
  3090. Punch()
  3091. z = Instance.new("Sound",hed)
  3092. z.SoundId = "rbxassetid://169380525"
  3093. z.Pitch = ptz[math.random(1,#ptz)]
  3094. z.Volume = 1
  3095. z:Play()
  3096. for i = 1, 10 do
  3097. 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)
  3098. 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)
  3099. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3100. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3101. 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)
  3102. 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)
  3103. if Debounces.on == false then break end
  3104. rs:wait()
  3105. end
  3106. Punch()
  3107. z = Instance.new("Sound",hed)
  3108. z.SoundId = "rbxassetid://169380525"
  3109. z.Pitch = ptz[math.random(1,#ptz)]
  3110. z.Volume = 1
  3111. z:Play()
  3112. for i = 1, 10 do
  3113. 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)
  3114. 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)
  3115. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3116. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3117. 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)
  3118. 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)
  3119. if Debounces.on == false then break end
  3120. rs:wait()
  3121. end
  3122. Punch()
  3123. z = Instance.new("Sound",hed)
  3124. z.SoundId = "rbxassetid://169380525"
  3125. z.Pitch = ptz[math.random(1,#ptz)]
  3126. z.Volume = 1
  3127. z:Play()
  3128. for i = 1, 10 do
  3129. 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)
  3130. 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)
  3131. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3132. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3133. 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)
  3134. 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)
  3135. if Debounces.on == false then break end
  3136. rs:wait()
  3137. end
  3138. Punch()
  3139. z = Instance.new("Sound",hed)
  3140. z.SoundId = "rbxassetid://169380525"
  3141. z.Pitch = ptz[math.random(1,#ptz)]
  3142. z.Volume = 1
  3143. z:Play()
  3144. for i = 1, 10 do
  3145. 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)
  3146. 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)
  3147. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3148. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3149. 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)
  3150. 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)
  3151. if Debounces.on == false then break end
  3152. rs:wait()
  3153. end
  3154. Punch()
  3155. z = Instance.new("Sound",hed)
  3156. z.SoundId = "rbxassetid://169380525"
  3157. z.Pitch = ptz[math.random(1,#ptz)]
  3158. z.Volume = 1
  3159. z:Play()
  3160. for i = 1, 10 do
  3161. 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)
  3162. 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)
  3163. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3164. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3165. 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)
  3166. 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)
  3167. if Debounces.on == false then break end
  3168. rs:wait()
  3169. end
  3170. Punch()
  3171. z = Instance.new("Sound",hed)
  3172. z.SoundId = "rbxassetid://169380525"
  3173. z.Pitch = ptz[math.random(1,#ptz)]
  3174. z.Volume = 1
  3175. z:Play()
  3176. for i = 1, 10 do
  3177. 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)
  3178. 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)
  3179. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3180. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3181. 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)
  3182. 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)
  3183. if Debounces.on == false then break end
  3184. rs:wait()
  3185. end
  3186. Punch()
  3187. z = Instance.new("Sound",hed)
  3188. z.SoundId = "rbxassetid://169380525"
  3189. z.Pitch = ptz[math.random(1,#ptz)]
  3190. z.Volume = 1
  3191. z:Play()
  3192. for i = 1, 10 do
  3193. 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)
  3194. 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)
  3195. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3196. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3197. 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)
  3198. 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)
  3199. if Debounces.on == false then break end
  3200. rs:wait()
  3201. end
  3202. Punch()
  3203. z = Instance.new("Sound",hed)
  3204. z.SoundId = "rbxassetid://169380525"
  3205. z.Pitch = ptz[math.random(1,#ptz)]
  3206. z.Volume = 1
  3207. z:Play()
  3208. for i = 1, 10 do
  3209. 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)
  3210. 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)
  3211. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3212. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3213. 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)
  3214. 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)
  3215. if Debounces.on == false then break end
  3216. rs:wait()
  3217. end
  3218. Punch()
  3219. z = Instance.new("Sound",hed)
  3220. z.SoundId = "rbxassetid://169380525"
  3221. z.Pitch = ptz[math.random(1,#ptz)]
  3222. z.Volume = 1
  3223. z:Play()
  3224. for i = 1, 10 do
  3225. 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)
  3226. 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)
  3227. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3228. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3229. 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)
  3230. 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)
  3231. if Debounces.on == false then break end
  3232. rs:wait()
  3233. end
  3234. Punch()
  3235. z = Instance.new("Sound",hed)
  3236. z.SoundId = "rbxassetid://169380525"
  3237. z.Pitch = ptz[math.random(1,#ptz)]
  3238. z.Volume = 1
  3239. z:Play()
  3240. for i = 1, 10 do
  3241. 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)
  3242. 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)
  3243. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3244. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3245. 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)
  3246. 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)
  3247. if Debounces.on == false then break end
  3248. rs:wait()
  3249. end
  3250. con1:disconnect()
  3251. Debounces.on = false
  3252. Debounces.NoIdl = false
  3253. if gp ~= nil then
  3254. gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140
  3255. for i,v in pairs(larm:GetChildren()) do
  3256. if v.Name == "asd" and v:IsA("Weld") then
  3257. v:Remove()
  3258. end
  3259. end
  3260. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  3261. bv.maxForce = Vector3.new(400000, 400000, 400000)
  3262. bv.P = 125000
  3263. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  3264. hum1=nil
  3265. ht=nil
  3266. Debounces.on = false
  3267. Debounces.NoIdl = false
  3268. elseif ht == nil then wait()
  3269. Grab = false
  3270. Debounces.on = false
  3271. Debounces.NoIdl = false
  3272. end
  3273. end
  3274. end
  3275. end)
  3276. ----------------------------------------------------
  3277. mouse.KeyDown:connect(function(key)
  3278. if string.byte(key) == 52 then
  3279. char.Humanoid.WalkSpeed = 60
  3280. end
  3281. end)
  3282. mouse.KeyUp:connect(function(key)
  3283. if string.byte(key) == 52 then
  3284. char.Humanoid.WalkSpeed = 8
  3285. end
  3286. end)
  3287. -------------------------------
  3288. local animpose = "Idle"
  3289. local lastanimpose = "Idle"
  3290. local sine = 0
  3291. local change = 1
  3292. local val = 0
  3293. local ffing = false
  3294. -------------------------------
  3295. game:GetService("RunService").RenderStepped:connect(function()
  3296. --[[if char.Humanoid.Jump == true then
  3297. jump = true
  3298. else
  3299. jump = false
  3300. end]]
  3301. char.Humanoid.FreeFalling:connect(function(f)
  3302. if f then
  3303. ffing = true
  3304. else
  3305. ffing = false
  3306. end
  3307. end)
  3308. sine = sine + change
  3309. if jumpn == true then
  3310. animpose = "Jumping"
  3311. elseif ffing == true then
  3312. animpose = "Freefalling"
  3313. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  3314. animpose = "Idle"
  3315. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  3316. animpose = "Walking"
  3317. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  3318. animpose = "Running"
  3319. end
  3320. if animpose ~= lastanimpose then
  3321. sine = 0
  3322. if Debounces.NoIdl == false then
  3323. if animpose == "Idle" then
  3324. for i = 1, 2 do
  3325. 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)
  3326. 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)
  3327. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  3328. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3329. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  3330. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  3331. end
  3332. elseif animpose == "Walking" then
  3333. for i = 1, 2 do
  3334. 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)
  3335. 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)
  3336. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  3337. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
  3338. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
  3339. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
  3340. end
  3341. elseif animpose == "Running" then
  3342. for i = 1, 2 do
  3343. 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)
  3344. 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)
  3345. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4)
  3346. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4)
  3347. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4)
  3348. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4)
  3349. wait()
  3350. end
  3351. end
  3352. else
  3353. end
  3354. end
  3355. lastanimpose = animpose
  3356. if Debounces.NoIdl == false then
  3357. if animpose == "Idle" then
  3358. change = 0.5
  3359. 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)
  3360. 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)
  3361. 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)
  3362. 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)
  3363. 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)
  3364. 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)
  3365. elseif animpose == "Walking" then
  3366. change = 1
  3367. 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)
  3368. 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)
  3369. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  3370. 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)
  3371. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
  3372. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
  3373. elseif animpose == "Running" then
  3374. change = 1
  3375. 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)
  3376. 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)
  3377. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4)
  3378. 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)
  3379. 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)
  3380. 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)
  3381. end
  3382. end
  3383. end)
  3384.  
  3385. hum.MaxHealth = 9001
  3386. wait(3)
  3387. hum.Health = 9001
  3388.  
  3389. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
  3390. --[[Part0 = Vector3 (Start pos)
  3391. Part1 = Vector3 (End pos)
  3392. Times = number (Amount of lightning parts)
  3393. Offset = number (Offset)
  3394. Color = color (brickcolor value)
  3395. Thickness = number (thickness)
  3396. Trans = number (transparency)
  3397. ]]--
  3398. local magz = (Part0 - Part1).magnitude
  3399. local curpos = Part0
  3400. local trz = {-Offset,Offset}
  3401. for i=1,Times do
  3402. local li = Instance.new("Part", torso)
  3403. li.Name = "Lightning"
  3404. li.TopSurface =0
  3405. li.Material = "Neon"
  3406. li.BottomSurface = 0
  3407. li.Anchored = true
  3408. li.Locked = true
  3409. li.Transparency = Trans or 0.4
  3410. li.BrickColor = BrickColor.new(Color)
  3411. li.formFactor = "Custom"
  3412. li.CanCollide = false
  3413. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  3414. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  3415. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  3416. if Times == i then
  3417. local magz2 = (curpos - Part1).magnitude
  3418. li.Size = Vector3.new(Thickness,Thickness,magz2)
  3419. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  3420. else
  3421. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  3422. end
  3423. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  3424. game.Debris:AddItem(li,.1)
  3425. end
  3426. end
  3427.  
  3428. BodyParts = {} -- Parts to emit lightning effects from
  3429. for _, v in pairs(char:GetChildren()) do
  3430. if v:IsA("Part") then
  3431. table.insert(BodyParts, v)
  3432. end
  3433. end
  3434.  
  3435. Bounding = {} -- Calculate the bounding boxes
  3436. for _, v in pairs(BodyParts) do
  3437. local temp = {X=nil, Y=nil, Z=nil}
  3438. temp.X = v.Size.X/2 * 10
  3439. temp.Y = v.Size.Y/2 * 10
  3440. temp.Z = v.Size.Z/2 * 10
  3441. Bounding[v.Name] = temp
  3442. --table.insert(Bounding, v.Name, temp)
  3443. end
  3444.  
  3445. while wait(math.random(1,10)/10) do -- Emit the Lightning effects randomly
  3446. local Body1 = BodyParts[math.random(#BodyParts)]
  3447. local Body2 = BodyParts[math.random(#BodyParts)]
  3448. local Pos1 = Vector3.new(
  3449. math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
  3450. math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
  3451. math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
  3452. )
  3453. local Pos2 = Vector3.new(
  3454. math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
  3455. math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
  3456. math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
  3457. )
  3458. local SPos1 = Body1.Position + Pos1
  3459. local SPos2 = Body2.Position + Pos2
  3460. Lightning(SPos1, SPos2, 4, 3, "Lime green", .3, .56)
  3461. end
Add Comment
Please, Sign In to add comment