Advertisement
ghostteen14

Untitled

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