Advertisement
Guest User

Mine

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