Advertisement
Hermaxs

Untitled

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