Godofadmin1337

dun judge me

Mar 29th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.41 KB | None | 0 0
  1.  
  2. local oc = oc or function(...) return ... end
  3.  
  4. function weld(p0,p1,c0,c1,par)
  5. local w = Instance.new("Weld",p0 or par)
  6. w.Part0 = p0
  7. w.Part1 = p1
  8. w.C0 = c0 or CFrame.new()
  9. w.C1 = c1 or CFrame.new()
  10. return w
  11. end
  12.  
  13. function lerp(a, b, t)
  14. return a + (b - a)*t
  15. end
  16.  
  17. do
  18. local function QuaternionFromCFrame(cf) local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() local trace = m00 + m11 + m22 if trace > 0 then local s = math.sqrt(1 + trace) local recip = 0.5/s return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 else local i = 0 if m11 > m00 then i = 1 end if m22 > (i == 0 and m00 or m11) then i = 2 end if i == 0 then local s = math.sqrt(m00-m11-m22+1) local recip = 0.5/s return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip elseif i == 1 then local s = math.sqrt(m11-m22-m00+1) local recip = 0.5/s return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip elseif i == 2 then local s = math.sqrt(m22-m00-m11+1) local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip end end end
  19.  
  20. local function QuaternionToCFrame(px, py, pz, x, y, z, w) local xs, ys, zs = x + x, y + y, z + z local wx, wy, wz = w*xs, w*ys, w*zs local xx = x*xs local xy = x*ys local xz = x*zs local yy = y*ys local yz = y*zs local zz = z*zs return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) end
  21.  
  22. local function QuaternionSlerp(a, b, t) local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] local startInterp, finishInterp; if cosTheta >= 0.0001 then if (1 - cosTheta) > 0.0001 then local theta = math.acos(cosTheta) local invSinTheta = 1/math.sin(theta) startInterp = math.sin((1-t)*theta)*invSinTheta finishInterp = math.sin(t*theta)*invSinTheta else startInterp = 1-t finishInterp = t end else if (1+cosTheta) > 0.0001 then local theta = math.acos(-cosTheta) local invSinTheta = 1/math.sin(theta) startInterp = math.sin((t-1)*theta)*invSinTheta finishInterp = math.sin(t*theta)*invSinTheta else startInterp = t-1 finishInterp = t end end return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp end
  23.  
  24. function clerp(a,b,t)
  25. local qa = {QuaternionFromCFrame(a)}
  26. local qb = {QuaternionFromCFrame(b)}
  27. local ax, ay, az = a.x, a.y, a.z
  28. local bx, by, bz = b.x, b.y, b.z
  29.  
  30. local _t = 1-t
  31. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  32. end
  33. end
  34. local his = {}
  35.  
  36. function ctween(tar,prop,c2,t,b)
  37. local function doIt()
  38. local now = tick()
  39. his[tar] = now
  40. local c1 = tar[prop]
  41. for i=1,t do
  42. if his[tar] ~= now then return end
  43. tar[prop] = clerp(c1,c2,1/t*i)
  44. wait(1/60)
  45. end
  46. end
  47. if b then coroutine.wrap(doIt)() else doIt() end
  48. end
  49.  
  50. function tickwave(time,length,offset)
  51. return (math.abs((tick()+(offset or 0))%time-time/2)*2-time/2)/time/2*length
  52. end
  53.  
  54. function playSound(id,parent,volume,pitch)
  55. local sound = Instance.new("Sound",parent or workspace)
  56. sound.SoundId = "http://www.roblox.com/asset?id="..id
  57. sound.Volume = volume or 1
  58. sound.Pitch = pitch or 1
  59. coroutine.wrap(function()
  60. wait()
  61. sound:Play()
  62. wait(10)
  63. sound:Stop()
  64. sound:Destroy()
  65. end)()
  66. return sound
  67. end
  68.  
  69. local plr = game.Players.LocalPlayer
  70. local char = plr.Character
  71. local mouse = plr:GetMouse()
  72.  
  73. local nk = char.Torso.Neck
  74. local nk0 = CFrame.new(0,1,0) * CFrame.Angles(-math.pi/2,0,math.pi)
  75. local ra,la = char["Right Arm"], char["Left Arm"]
  76. ra:BreakJoints()
  77. la:BreakJoints()
  78. local rs = weld(char.Torso,ra,CFrame.new(1.25,.5,0), CFrame.new(-.25,.5,0),stuff)
  79. local ls = weld(char.Torso,la,CFrame.new(-1.25,.5,0), CFrame.new(.25,.5,0),stuff)
  80. ls.Part1.FrontSurface = "Hinge"
  81. rs.Part1.FrontSurface = "Hinge"
  82. local rs0 = rs.C0
  83. local ls0 = ls.C0
  84.  
  85. local color1 = BrickColor.new("Dark gray")
  86. local color2 = BrickColor.new("Navy blue")
  87.  
  88. local stuff = Instance.new("Model",char)
  89. pcall(function() char["Hammur"]:Destroy() end)
  90. stuff.Name = "Hammur"
  91. wait(.5)
  92. local handle = Instance.new("Part")
  93. handle.FormFactor = "Custom"
  94. handle.BrickColor = color1
  95. handle.Reflectance = .25
  96. handle.Size = Vector3.new(.5,5,.5)
  97. handle.TopSurface = "Smooth"
  98. handle.BottomSurface = "Smooth"
  99. handle.CanCollide = false
  100. handle.Parent = stuff
  101.  
  102. local grip = weld(char["Right Arm"],handle,CFrame.new(0,-.95,0)*CFrame.Angles(math.rad(-90),0,0),CFrame.new(0,-1.4,0))
  103. local grip0 = grip.C0
  104. local hamend = handle:Clone()
  105. Instance.new("BlockMesh",hamend)
  106. hamend.Parent = stuff
  107. hamend.Size = Vector3.new(2,2,3.5)
  108. local hamwel = weld(handle,hamend,CFrame.new(0,3,0))
  109. local hamsd1 = hamend:Clone()
  110. hamsd1.Mesh.Scale = Vector3.new(1,1,1)
  111. hamsd1.Parent = stuff
  112. hamsd1.Size = Vector3.new(2.3,2.3,.3)
  113. weld(hamend,hamsd1,CFrame.new(0,0,1.75))
  114. local hamsd2 = hamsd1:Clone()
  115. hamsd2.Parent = stuff
  116. weld(hamend,hamsd2,CFrame.new(0,0,-1.75))
  117. local hamp = hamsd1:Clone()
  118. hamp.Parent = stuff
  119. hamp.Size = Vector3.new(.2,.2,3.5)
  120. weld(hamend,hamp,CFrame.new(.95,.95,0))
  121. hamp = hamp:Clone()
  122. hamp.Parent = stuff
  123. weld(hamend,hamp,CFrame.new(.95,-.95,0))
  124. hamp = hamp:Clone()
  125. hamp.Parent = stuff
  126. weld(hamend,hamp,CFrame.new(-.95,-.95,0))
  127. hamp = hamp:Clone()
  128. hamp.Parent = stuff
  129. weld(hamend,hamp,CFrame.new(-.95,.95,0))
  130. hamp = hamp:Clone()
  131. hamp.BrickColor = color2
  132. hamp.Reflectance = .2
  133. hamp.Size = Vector3.new(.2,.2,2.5)
  134. hamp.Parent = stuff
  135. weld(hamend,hamp,CFrame.new(0,.95,0))
  136. hamp = hamp:Clone()
  137. hamp.Parent = stuff
  138. weld(hamend,hamp,CFrame.new(0,-.95,0))
  139. hamp = hamp:Clone()
  140. hamp.Parent = stuff
  141. weld(hamend,hamp,CFrame.new(.95,0,0))
  142. hamp = hamp:Clone()
  143. hamp.Parent = stuff
  144. weld(hamend,hamp,CFrame.new(-.95,0,0))
  145. hamp = handle:Clone()
  146. hamp.BrickColor = color2
  147. hamp.Reflectance = .2
  148. hamp.Parent = stuff
  149. hamp.Size = Vector3.new(.4,.2,.4)
  150. Instance.new("CylinderMesh",hamp)
  151. weld(hamend,hamp,CFrame.new(0,-.955,1.2))
  152. hamp = hamp:Clone()
  153. hamp.Parent = stuff
  154. weld(hamend,hamp,CFrame.new(0,-.955,-1.2))
  155. hamp = hamp:Clone()
  156. hamp.Parent = stuff
  157. weld(hamend,hamp,CFrame.new(0,.955,1.2))
  158. hamp = hamp:Clone()
  159. hamp.Parent = stuff
  160. weld(hamend,hamp,CFrame.new(0,.955,-1.2))
  161. hamp = hamp:Clone()
  162. hamp.Parent = stuff
  163. weld(hamend,hamp,CFrame.new(.955,0,-1.2) * CFrame.Angles(0,0,math.rad(90)))
  164. hamp = hamp:Clone()
  165. hamp.Parent = stuff
  166. weld(hamend,hamp,CFrame.new(.955,0,1.2) * CFrame.Angles(0,0,math.rad(90)))
  167. hamp = hamp:Clone()
  168. hamp.Parent = stuff
  169. weld(hamend,hamp,CFrame.new(-.955,0,-1.2) * CFrame.Angles(0,0,math.rad(90)))
  170. hamp = hamp:Clone()
  171. hamp.Parent = stuff
  172. weld(hamend,hamp,CFrame.new(-.955,0,1.2) * CFrame.Angles(0,0,math.rad(90)))
  173. hamp = hamp:Clone()
  174. hamp.Parent = stuff
  175. weld(hamend,hamp,CFrame.new(.6,.955,0))
  176. hamp = hamp:Clone()
  177. hamp.Parent = stuff
  178. weld(hamend,hamp,CFrame.new(-.6,.955,0))
  179. hamp = hamp:Clone()
  180. hamp.Parent = stuff
  181. weld(hamend,hamp,CFrame.new(.6,-.955,0))
  182. hamp = hamp:Clone()
  183. hamp.Parent = stuff
  184. weld(hamend,hamp,CFrame.new(-.6,-.955,0))
  185. hamp = hamp:Clone()
  186. hamp.Parent = stuff
  187. weld(hamend,hamp,CFrame.new(-.955,.6,0) * CFrame.Angles(0,0,math.rad(90)))
  188. hamp = hamp:Clone()
  189. hamp.Parent = stuff
  190. weld(hamend,hamp,CFrame.new(-.955,-.6,0) * CFrame.Angles(0,0,math.rad(90)))
  191. hamp = hamp:Clone()
  192. hamp.Parent = stuff
  193. weld(hamend,hamp,CFrame.new(.955,.6,0) * CFrame.Angles(0,0,math.rad(90)))
  194. hamp = hamp:Clone()
  195. hamp.Parent = stuff
  196. weld(hamend,hamp,CFrame.new(.955,-.6,0) * CFrame.Angles(0,0,math.rad(90)))
  197. local luacyl = hamp:Clone()
  198. luacyl.BrickColor = BrickColor.Blue()
  199. luacyl.Parent = stuff
  200. luacyl.Mesh.Scale = Vector3.new(1,.2,1)
  201. luacyl.Size = Vector3.new(2,.2,2)
  202. weld(hamsd1,luacyl,CFrame.new(0,0,.14) * CFrame.Angles(math.rad(90),0,0))
  203. hamp = luacyl:Clone()
  204. hamp.BrickColor = BrickColor.White()
  205. hamp.Parent = stuff
  206. hamp.Size = Vector3.new(.7,.2,.7)
  207. weld(luacyl,hamp,CFrame.new(.35,.01,-.35))
  208. local luamoon = luacyl:Clone()
  209. luamoon.Parent = stuff
  210. luamoon.Size = Vector3.new(.7,.2,.7)
  211. local mnw = weld(luacyl,luamoon,CFrame.new(1.2,.02,-1.2))
  212. for r = 1,180,10 do
  213. local r2 = 2 * (math.pi/180*r)
  214. local l = hamsd1:Clone()
  215. l.Parent = stuff
  216. l.BrickColor = luacyl.BrickColor
  217. l.Size = Vector3.new(.3,.2,.2)
  218. l.Mesh.Scale = Vector3.new(1,.3,.3)
  219. weld(luacyl,l,CFrame.new(Vector3.new(math.sin(r2)*1.7,0,math.cos(r2)*1.7),Vector3.new()))
  220. end
  221. hamp = hamend:Clone()
  222. hamp.BrickColor = color2
  223. hamp.Reflectance = .2
  224. hamp.Size = Vector3.new(.2,.2,3.5)
  225. hamp.Mesh.Scale = Vector3.new(.25,.25,1)
  226. hamp.Parent = stuff
  227. weld(hamend,hamp,CFrame.new(-1.05,.95,0))
  228. hamp = hamp:Clone()
  229. hamp.Parent = stuff
  230. weld(hamend,hamp,CFrame.new(-.95,1.05,0))
  231. hamp = hamp:Clone()
  232. hamp.Parent = stuff
  233. weld(hamend,hamp,CFrame.new(1.05,.95,0))
  234. hamp = hamp:Clone()
  235. hamp.Parent = stuff
  236. weld(hamend,hamp,CFrame.new(.95,1.05,0))
  237. hamp = hamp:Clone()
  238. hamp.Parent = stuff
  239. weld(hamend,hamp,CFrame.new(1.05,-.95,0))
  240. hamp = hamp:Clone()
  241. hamp.Parent = stuff
  242. weld(hamend,hamp,CFrame.new(.95,-1.05,0))
  243. hamp = hamp:Clone()
  244. hamp.Parent = stuff
  245. weld(hamend,hamp,CFrame.new(-1.05,-.95,0))
  246. hamp = hamp:Clone()
  247. hamp.Parent = stuff
  248. weld(hamend,hamp,CFrame.new(-.95,-1.05,0))
  249. for x = -1,1 do
  250. for y = -1,1 do
  251. hamp = hamp:Clone()
  252. hamp.Mesh.Scale = Vector3.new(1,1,1)
  253. hamp.Size = Vector3.new(.5,.5,.2)
  254. hamp.Parent = stuff
  255. weld(hamsd2,hamp,CFrame.new(x*.7,y*.7,-.1))
  256. end
  257. end
  258.  
  259. rs.C0 = rs0 * CFrame.Angles(math.rad(70),math.rad(50),math.rad(-20))
  260. ls.C0 = ls0 * CFrame.new(.4,.2,-.3) * CFrame.Angles(math.rad(110),math.rad(0),math.rad(00)) * CFrame.Angles(0,math.rad(60),0)
  261.  
  262. function endScript()
  263. pcall(function() runcon:disconnect() end)
  264. pcall(function() kdcon:disconnect() end)
  265. pcall(function() kucon:disconnect() end)
  266. pcall(game.Destroy,stuff)
  267. pcall(game.Destroy,bg)
  268. pcall(game.Destroy,bv)
  269. end
  270.  
  271. local spintime = 3
  272. local idling = true
  273.  
  274. runcon = game:GetService("RunService").Stepped:connect(oc(function()
  275. if not stuff:IsDescendantOf(workspace) then
  276. endScript()
  277. end
  278. local an = (tick()%spintime)*360/spintime
  279. mnw.C0 = CFrame.Angles(0,math.rad(an),0) * CFrame.new(0,.04,1.7)
  280. if idling then
  281. rs.C0 = clerp(rs.C0,rs0 * CFrame.Angles(math.rad(70+tickwave(3,5)),math.rad(50),math.rad(-20)),.4)
  282. ls.C0 = clerp(ls.C0,ls0 * CFrame.new(.4,.2,-.3) * CFrame.Angles(math.rad(115+tickwave(3,5)),math.rad(0),math.rad(-5)) * CFrame.Angles(0,math.rad(60),0),.4)
  283. nk.C0 = clerp(nk.C0,nk0 * CFrame.Angles(tickwave(4,-.1),0,0),.4)
  284. grip.C0 = clerp(grip.C0,grip0,.4)
  285. end
  286. end))
  287.  
  288. function cfot(tar,cf,t)
  289. coroutine.wrap(function()
  290. for i=1,t do
  291. tar.CFrame = tar.CFrame * cf
  292. wait(1/30)
  293. end
  294. end)()
  295. end
  296.  
  297. function DoDamage(hum,dmg)
  298. if hum.Health == 0 then return end
  299. local a,b = ypcall(function()
  300. --hum:TakeDamage(dmg)
  301. hum.Health = hum.Health - dmg
  302. if not hum.Parent:FindFirstChild("Torso") then return end
  303. local m = Instance.new("Model",workspace)
  304. m.Name = -dmg
  305. local h = Instance.new("Humanoid",m)
  306. h.MaxHealth = 0
  307. local p = Instance.new("Part",m)
  308. p.Name = "Head"
  309. p.FormFactor = "Custom"
  310. p.Size = Vector3.new(.2,.2,.2)
  311. p.Transparency = 0.97
  312. p.CanCollide = false
  313. p.Anchored = true
  314. p:BreakJoints()
  315. game.Debris:AddItem(m,5)
  316. p.CFrame = CFrame.new(hum.Parent.Torso.Position) * CFrame.new(math.random(-2,2),2.5,math.random(-2,2))
  317. local rAm = math.random(3,6)/100
  318. coroutine.wrap(function()
  319. for i=1,300 do
  320. p.CFrame = p.CFrame * CFrame.new(0,rAm,0)
  321. wait()
  322. end
  323. p:Destroy()
  324. end)()
  325. end)
  326. if not a then print(b) end
  327. end
  328.  
  329. local atdeb = false
  330. local basiccombo = 0
  331. local basiccombotimer = 0
  332. bg = Instance.new("BodyGyro",char.Torso)
  333. bg.maxTorque = Vector3.new(1,0,1)*9e10
  334. bg.P = 10000
  335. bg.D = 500
  336. bv = Instance.new("BodyVelocity",char.Torso)
  337. bv.maxForce = Vector3.new()
  338. bv.P = 50000
  339.  
  340. kucon = mouse.KeyUp:connect(oc(function(k)
  341. if k == "0" and sprint then
  342. pcall(function() char.Humanoid.WalkSpeed = char.Humanoid.WalkSpeed / 1.5 end)
  343. sprint = false
  344. end
  345. end))
  346.  
  347. kdcon = mouse.KeyDown:connect(oc(function(k)
  348. if k == "0" and not sprint then
  349. pcall(function() char.Humanoid.WalkSpeed = char.Humanoid.WalkSpeed * 1.5 end)
  350. sprint = true
  351. end
  352. if k == "f" then
  353. if atdeb then return end
  354. atdeb = true
  355. idling = false
  356. playSound(105374058,hamend,1,1)
  357. --- bg.cframe = char.Torso.CFrame * CFrame.Angles(math.rad(7),0,0)
  358. -- ctween(nk,"C0",nk0 * CFrame.Angles(math.rad(-20),0,0),7,true)
  359. ctween(rs,"C0",rs0*CFrame.new(-.7,0,-.7) * CFrame.Angles(math.rad(150),math.rad(0),math.rad(-90)),7)
  360. ctween(ls,"C0",ls0*CFrame.new(.7,0,-.7) * CFrame.Angles(math.rad(160),math.rad(0),math.rad(30)),13,true)
  361. ctween(nk,"C0",nk0 * CFrame.Angles(math.rad(-35),0,0),13,true)
  362. ctween(rs,"C0",rs0*CFrame.new(-.7,0,-.7) * CFrame.Angles(math.rad(160),math.rad(0),math.rad(60)),13)
  363. playSound(92597296,hamend,1,1.07)
  364. local s = playSound(96626016,hamend)
  365. s.Volume = 0
  366. local hitcon
  367. hitcon = hamend.Touched:connect(function(hit)
  368. s.Volume = 1
  369. if not hit.Anchored then
  370. hit.Velocity = hit.Velocity + hamend.CFrame.lookVector*-20
  371. end
  372. local hum = hit.Parent:FindFirstChild("Humanoid")
  373. if hum and not hum:IsDescendantOf(char) then
  374. DoDamage(hum,30)
  375. hum.PlatformStand = true
  376. wait(.6)
  377. hum.PlatformStand = false
  378. end
  379. end)
  380. bg.maxTorque = Vector3.new(1,1,1)*9e10
  381. ctween(ls,"C0",ls0*CFrame.new(.7,0,-.7) * CFrame.Angles(math.rad(35),math.rad(0),math.rad(30)),4,true)
  382. ctween(nk,"C0",nk0 * CFrame.Angles(math.rad(35),0,0),4,true)
  383. ctween(rs,"C0",rs0*CFrame.new(-.7,0,-.7) * CFrame.Angles(math.rad(35),math.rad(0),math.rad(-30)),4)
  384. if workspace:FindPartOnRay(Ray.new(hamend.Position,hamend.CFrame.lookVector*3),char) then
  385. s.Volume = 1
  386. end
  387. wait(.2)
  388. bg.maxTorque = Vector3.new(1,0,1)*9e10
  389. hitcon:disconnect()
  390. atdeb = false
  391. idling = true
  392. end
  393. if k == "q" then
  394. if atdeb then return end
  395. atdeb = true
  396. idling = false
  397. playSound(105374058,hamend,1,1)
  398. bg.cframe = char.Torso.CFrame * CFrame.Angles(math.rad(7),0,0)
  399. ctween(grip,"C0",grip0*CFrame.Angles(math.rad(-30),math.rad(-25),math.rad(-15)),9,true)
  400. ctween(ls,"C0",ls0*CFrame.new(.7,0,-.7) * CFrame.Angles(math.rad(150),math.rad(0),math.rad(30)),7,true)
  401. ctween(nk,"C0",nk0 * CFrame.Angles(math.rad(-20),0,0),7,true)
  402. ctween(rs,"C0",rs0*CFrame.new(-.7,0,-.7) * CFrame.Angles(math.rad(150),math.rad(0),math.rad(-30)),7)
  403. ctween(ls,"C0",ls0*CFrame.new(.7,0,-.7) * CFrame.Angles(math.rad(160),math.rad(0),math.rad(30)),13,true)
  404. ctween(nk,"C0",nk0 * CFrame.Angles(math.rad(-35),0,0),13,true)
  405. ctween(rs,"C0",rs0*CFrame.new(-.7,0,-.7) * CFrame.Angles(math.rad(160),math.rad(0),math.rad(-30)),13)
  406. playSound(92597296,hamend,1,1.07)
  407. local s = playSound(96626016,hamend)
  408. s.Volume = 0
  409. local hitcon
  410. hitcon = hamend.Touched:connect(function(hit)
  411. s.Volume = 1
  412. if not hit.Anchored then
  413. hit.Velocity = hit.Velocity + hamend.CFrame.lookVector*-20
  414. end
  415. local hum = hit.Parent:FindFirstChild("Humanoid")
  416. if hum and not hum:IsDescendantOf(char) then
  417. DoDamage(hum,30)
  418. hum.PlatformStand = true
  419. wait(.6)
  420. hum.PlatformStand = false
  421. end
  422. end)
  423. bg.cframe = char.Torso.CFrame * CFrame.Angles(math.rad(7),0,0)
  424. wait(.05)
  425. bg.cframe = char.Torso.CFrame * CFrame.Angles(math.rad(-20),0,0)
  426. bg.maxTorque = Vector3.new(1,1,1)*9e10
  427. ctween(ls,"C0",ls0*CFrame.new(.7,0,-.7) * CFrame.Angles(math.rad(55),math.rad(5),math.rad(50)),7,true)
  428. ctween(nk,"C0",nk0 * CFrame.Angles(math.rad(5),0,0),4,true)
  429. ctween(rs,"C0",rs0*CFrame.new(-.9,0,-.9) * CFrame.Angles(math.rad(50),math.rad(5),math.rad(-50)),7)
  430. if workspace:FindPartOnRay(Ray.new(hamend.Position,hamend.CFrame.lookVector*3),char) then
  431. s.Volume = 1
  432. end
  433. wait(.2)
  434. bg.maxTorque = Vector3.new(1,0,1)*9e10
  435. hitcon:disconnect()
  436. atdeb = false
  437. idling = true
  438. end
  439. if k == "r" then
  440. if atdeb then return end
  441. atdeb = true
  442. idling = false
  443. ctween(ls,"C0",ls0*CFrame.new(.7,0,-.7) * CFrame.Angles(math.rad(70),math.rad(0),math.rad(30)),7,true)
  444. ctween(grip,"C0",grip0*CFrame.Angles(math.rad(0),math.rad(90),math.rad(-60))*CFrame.Angles(0,math.rad(180),0),9,true)
  445. bg.maxTorque = Vector3.new(1,1,1)*9e10
  446. bg.cframe = char.Torso.CFrame
  447. ctween(rs,"C0",rs0*CFrame.new(-.7,0,-.7) * CFrame.Angles(math.rad(70),math.rad(0),math.rad(-30)),7,true)
  448. local s = playSound(92597296,hamend,1,1.07)
  449. s.Looped = true
  450. local sndmd = {}
  451. local hitcon
  452. hitcon = hamend.Touched:connect(function(hit)
  453. if not sndmd[hit] then sndmd[hit] = playSound(10730819,hamend) end
  454.  
  455. if not hit.Anchored then
  456. hit.Velocity = hit.Velocity + hamend.CFrame.lookVector*60
  457. end
  458. local hum = hit.Parent:FindFirstChild("Humanoid")
  459. if hum and not hum:IsDescendantOf(char) then
  460. DoDamage(hum,math.random(4,6))
  461. hum.Sit = true
  462. wait(2)
  463. hum.Sit = false
  464. end
  465. end)
  466. for i=1,20 do
  467. bg.cframe = bg.cframe * CFrame.Angles(0,math.rad(-1440/20),0)
  468. wait(.1)
  469. end
  470. hitcon:disconnect()
  471. bg.maxTorque = Vector3.new(1,0,1)*9e10
  472. s:Stop()
  473. s:Destroy()
  474. atdeb = false
  475. idling = true
  476. end
  477. if k == "e" then
  478. if atdeb then return end
  479. basiccombo = (tick()-basiccombotimer > .5 or basiccombo == 2) and 1 or basiccombo + 1
  480. idling = false
  481. atdeb = true
  482. if basiccombo == 1 then
  483. ctween(ls,"C0",ls0 * CFrame.new(.2,.2,-.1) * CFrame.Angles(math.rad(120),math.rad(0),math.rad(5)) * CFrame.Angles(0,math.rad(60),0),7,true)
  484. ctween(rs,"C0",rs0*CFrame.new(0,0,-.3) * CFrame.Angles(math.rad(120),math.rad(70),math.rad(-30)),7)
  485. bg.maxTorque = Vector3.new(1,1,1)*9e10
  486. bg.cframe = char.Torso.CFrame * CFrame.Angles(0,math.rad(-40),0)
  487. playSound(92597296,hamend,1,1.2)
  488. local ac
  489. local hitcon
  490. hitcon = hamend.Touched:connect(function(hit)
  491. if not ac then ac = playSound(10730819,hamend,1,1) end
  492. if not hit.Anchored then
  493. hit.Velocity = hit.Velocity + hamend.CFrame.lookVector*50
  494. end
  495. local hum = hit.Parent:FindFirstChild("Humanoid")
  496. if hum and not hum:IsDescendantOf(char) then
  497. DoDamage(hum,10)
  498. end
  499. end)
  500. ctween(ls,"C0",ls0 * CFrame.new(1,.2,-1) * CFrame.Angles(math.rad(115),math.rad(0),math.rad(40)) * CFrame.Angles(0,math.rad(60),0),6,true)
  501. ctween(rs,"C0",rs0*CFrame.new(0,0,-.3) * CFrame.Angles(math.rad(120),math.rad(80),math.rad(-30))* CFrame.Angles(math.rad(-50),0,0),6,true)
  502. wait(.1)
  503. bg.cframe = char.Torso.CFrame * CFrame.Angles(0,math.rad(40),0)
  504. hitcon:disconnect()
  505. elseif basiccombo == 2 then
  506. ctween(ls,"C0",ls0*CFrame.new(1,0,-1) * CFrame.Angles(math.rad(5),math.rad(0),math.rad(70)),10,true)
  507. ctween(grip,"C0",grip0*CFrame.Angles(math.rad(10),0,0),12,true)
  508. ctween(rs,"C0",rs0*CFrame.new(0,0,0) * CFrame.Angles(math.rad(-5),math.rad(0),math.rad(0)),10,true)
  509. wait(.2)
  510. playSound(92597296,hamend,1,.7)
  511. wait(.1)
  512. bg.maxTorque = Vector3.new(1,1,1)*9e10
  513. bg.cframe = char.Torso.CFrame
  514. bv.maxForce = Vector3.new(1,0,1)*9e5
  515. bv.velocity = bg.cframe.lookVector * 70
  516. coroutine.wrap(function() for i=1,25 do bv.velocity = bv.velocity*.9 wait(1/30) end bv.maxForce = Vector3.new() end)()
  517. local thrustcon
  518. thrustcon = hamend.Touched:connect(function(hit)
  519. if not hit.Anchored then
  520. hit.Velocity = hit.Velocity + hamend.CFrame.lookVector*-40
  521. end
  522. local hum = hit.Parent:FindFirstChild("Humanoid")
  523. if hum and not hum:IsDescendantOf(char) then
  524. DoDamage(hum,5)
  525. --thrustcon:disconnect()
  526. hum.Sit = true
  527. ctween(grip,"C0",grip0*CFrame.Angles(math.rad(30),0,0),5,true)
  528. if not ac then ac = playSound(92597296,hamend,1,1.15) end
  529. local tor = hum.Parent:FindFirstChild("Torso")
  530. if tor and not tor:FindFirstChild("torv") then
  531. --tor.Velocity = bg.cframe.lookVector*30 + Vector3.new(0,100,0)
  532. local torv = Instance.new("BodyVelocity",tor)
  533. torv.maxForce = Vector3.new(1,1,1)*9e9
  534. torv.P = 2000
  535. torv.velocity = bg.cframe.lookVector*20 + Vector3.new(0,120,0)
  536. torv.Name = "torv"
  537. local torav = Instance.new("BodyAngularVelocity",tor)
  538. torav.maxTorque = Vector3.new(1,1,1)*9e9
  539. torav.P = 5000
  540. torav.angularvelocity = Vector3.new(math.random()-.5,math.random()-.5,math.random()-.5)*2
  541. coroutine.wrap(function()
  542. for i=1,torv.velocity.Y/196.22*30 do
  543. hum.Sit = true
  544. torv.velocity = torv.velocity - Vector3.new(0,196.22/30,0)
  545. wait(1/30)
  546. end
  547. torv:Destroy()
  548. torav:Destroy()
  549. tor.Velocity = Vector3.new()
  550. end)()
  551. end
  552. end
  553. end)
  554. ctween(ls,"C0",ls0*CFrame.new(1,0,-1) * CFrame.Angles(math.rad(80),math.rad(0),math.rad(50)),12,true)
  555. ctween(grip,"C0",grip0*CFrame.Angles(math.rad(-70),0,0),12,true)
  556. ctween(rs,"C0",rs0*CFrame.new(-.6,0,-.7) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(-10)),12,true)
  557. Delay(.3,function() thrustcon:disconnect() end)
  558.  
  559. end
  560. wait(.1)
  561. bg.maxTorque = Vector3.new(1,0,1)*9e10
  562.  
  563. basiccombotimer = tick()
  564. atdeb = false
  565. idling = true
  566.  
  567. end -- 96626016, 92597296
  568. bg.cframe = CFrame.new(char.Torso.Position,char.Torso.Position+char.Torso.CFrame.lookVector*Vector3.new(1,0,1))
  569. end))
  570.  
  571. char.Humanoid.MaxHealth = 220
  572. char.Humanoid.WalkSpeed = 20
  573. wait(.3)
  574. char.Humanoid.Health = 220
Add Comment
Please, Sign In to add comment