Advertisement
ghostpunser202

Untitled

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