Advertisement
Acc_kili

Untitled

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