Advertisement
wamandnj

Untitled

Mar 19th, 2019
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Covered By Red_Jack142 | FE Made By Red_Jack142")
  5. print("Have Fun!")
  6. script.Parent = Player.Character
  7.  
  8. --RemoteEvent for communicating
  9. local Event = Instance.new("RemoteEvent")
  10. Event.Name = "UserInput_Event"
  11.  
  12. --Fake event to make stuff like Mouse.KeyDown work
  13. local function fakeEvent()
  14. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  15. t.connect = t.Connect
  16. return t
  17. end
  18.  
  19. --Creating fake input objects with fake variables
  20. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  21. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  22. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  23. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  24. end}
  25. --Merged 2 functions into one by checking amount of arguments
  26. CAS.UnbindAction = CAS.BindAction
  27.  
  28. --This function will trigger the events that have been :Connect()'ed
  29. local function te(self,ev,...)
  30. local t = m[ev]
  31. if t and t._fakeEvent and t.Function then
  32. t.Function(...)
  33. end
  34. end
  35. m.TrigEvent = te
  36. UIS.TrigEvent = te
  37.  
  38. Event.OnServerEvent:Connect(function(plr,io)
  39. if plr~=Player then return end
  40. if io.isMouse then
  41. m.Target = io.Target
  42. m.Hit = io.Hit
  43. else
  44. local b = io.UserInputState == Enum.UserInputState.Begin
  45. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  46. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  47. end
  48. for _,t in pairs(CAS.Actions) do
  49. for _,k in pairs(t.Keys) do
  50. if k==io.KeyCode then
  51. t.Function(t.Name,io.UserInputState,io)
  52. end
  53. end
  54. end
  55. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  56. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  57. end
  58. end)
  59. Event.Parent = NLS([==[
  60. local Player = game:GetService("Players").LocalPlayer
  61. local Event = script:WaitForChild("UserInput_Event")
  62.  
  63. local UIS = game:GetService("UserInputService")
  64. local input = function(io,a)
  65. if a then return end
  66. --Since InputObject is a client-side instance, we create and pass table instead
  67. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  68. end
  69. UIS.InputBegan:Connect(input)
  70. UIS.InputEnded:Connect(input)
  71.  
  72. local Mouse = Player:GetMouse()
  73. local h,t
  74. --Give the server mouse data 30 times every second, but only if the values changed
  75. --If player is not moving their mouse, client won't fire events
  76. while wait(1/30) do
  77. if h~=Mouse.Hit or t~=Mouse.Target then
  78. h,t=Mouse.Hit,Mouse.Target
  79. Event:FireServer({isMouse=true,Target=t,Hit=h})
  80. end
  81. end]==],Player.Character)
  82. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  83. end
  84.  
  85.  
  86.  
  87. local oc = oc or function(...) return ... end
  88.  
  89. function weld(p0,p1,c0,c1,par)
  90. local w = Instance.new("Weld",p0 or par)
  91. w.Part0 = p0
  92. w.Part1 = p1
  93. w.C0 = c0 or CFrame.new()
  94. w.C1 = c1 or CFrame.new()
  95. return w
  96. end
  97.  
  98. function lerp(a, b, t)
  99. return a + (b - a)*t
  100. end
  101.  
  102. do
  103. 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
  104.  
  105. 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
  106.  
  107. 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
  108.  
  109. function clerp(a,b,t)
  110. local qa = {QuaternionFromCFrame(a)}
  111. local qb = {QuaternionFromCFrame(b)}
  112. local ax, ay, az = a.x, a.y, a.z
  113. local bx, by, bz = b.x, b.y, b.z
  114.  
  115. local _t = 1-t
  116. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  117. end
  118. end
  119. local his = {}
  120.  
  121. function ctween(tar,prop,c2,t,b)
  122. local function doIt()
  123. local now = tick()
  124. his[tar] = now
  125. local c1 = tar[prop]
  126. for i=1,t do
  127. if his[tar] ~= now then return end
  128. tar[prop] = clerp(c1,c2,1/t*i)
  129. wait(1/60)
  130. end
  131. end
  132. if b then coroutine.wrap(doIt)() else doIt() end
  133. end
  134.  
  135. function tickwave(time,length,offset)
  136. return (math.abs((tick()+(offset or 0))%time-time/2)*2-time/2)/time/2*length
  137. end
  138.  
  139. function playSound(id,parent,volume,pitch)
  140. local sound = Instance.new("Sound",parent or workspace)
  141. sound.SoundId = "http://www.roblox.com/asset?id="..id
  142. sound.Volume = volume or 1
  143. sound.Pitch = pitch or 1
  144. coroutine.wrap(function()
  145. wait()
  146. sound:Play()
  147. wait(10)
  148. sound:Stop()
  149. sound:Destroy()
  150. end)()
  151. return sound
  152. end
  153.  
  154. local plr = owner
  155. local char = plr.Character
  156.  
  157. local nk = char.Torso.Neck
  158. local nk0 = CFrame.new(0,1,0) * CFrame.Angles(-math.pi/2,0,math.pi)
  159. local ra,la = char["Right Arm"], char["Left Arm"]
  160. ra:BreakJoints()
  161. la:BreakJoints()
  162. local rs = weld(char.Torso,ra,CFrame.new(1.25,.5,0), CFrame.new(-.25,.5,0),stuff)
  163. local ls = weld(char.Torso,la,CFrame.new(-1.25,.5,0), CFrame.new(.25,.5,0),stuff)
  164. ls.Part1.FrontSurface = "Hinge"
  165. rs.Part1.FrontSurface = "Hinge"
  166. local rs0 = rs.C0
  167. local ls0 = ls.C0
  168.  
  169. local color1 = BrickColor.new("Dark gray")
  170. local color2 = BrickColor.new("Navy blue")
  171.  
  172. local stuff = Instance.new("Model",char)
  173. pcall(function() char["Hammur"]:Destroy() end)
  174. stuff.Name = "Hammur"
  175. wait(.5)
  176. local handle = Instance.new("Part")
  177. handle.FormFactor = "Custom"
  178. handle.BrickColor = color1
  179. handle.Reflectance = .25
  180. handle.Size = Vector3.new(.5,5,.5)
  181. handle.TopSurface = "Smooth"
  182. handle.BottomSurface = "Smooth"
  183. handle.CanCollide = false
  184. handle.Parent = stuff
  185.  
  186. 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))
  187. local grip0 = grip.C0
  188. local hamend = handle:Clone()
  189. Instance.new("BlockMesh",hamend)
  190. hamend.Parent = stuff
  191. hamend.Size = Vector3.new(2,2,3.5)
  192. local hamwel = weld(handle,hamend,CFrame.new(0,3,0))
  193. local hamsd1 = hamend:Clone()
  194. hamsd1.Mesh.Scale = Vector3.new(1,1,1)
  195. hamsd1.Parent = stuff
  196. hamsd1.Size = Vector3.new(2.3,2.3,.3)
  197. weld(hamend,hamsd1,CFrame.new(0,0,1.75))
  198. local hamsd2 = hamsd1:Clone()
  199. hamsd2.Parent = stuff
  200. weld(hamend,hamsd2,CFrame.new(0,0,-1.75))
  201. local hamp = hamsd1:Clone()
  202. hamp.Parent = stuff
  203. hamp.Size = Vector3.new(.2,.2,3.5)
  204. weld(hamend,hamp,CFrame.new(.95,.95,0))
  205. hamp = hamp:Clone()
  206. hamp.Parent = stuff
  207. weld(hamend,hamp,CFrame.new(.95,-.95,0))
  208. hamp = hamp:Clone()
  209. hamp.Parent = stuff
  210. weld(hamend,hamp,CFrame.new(-.95,-.95,0))
  211. hamp = hamp:Clone()
  212. hamp.Parent = stuff
  213. weld(hamend,hamp,CFrame.new(-.95,.95,0))
  214. hamp = hamp:Clone()
  215. hamp.BrickColor = color2
  216. hamp.Reflectance = .2
  217. hamp.Size = Vector3.new(.2,.2,2.5)
  218. hamp.Parent = stuff
  219. weld(hamend,hamp,CFrame.new(0,.95,0))
  220. hamp = hamp:Clone()
  221. hamp.Parent = stuff
  222. weld(hamend,hamp,CFrame.new(0,-.95,0))
  223. hamp = hamp:Clone()
  224. hamp.Parent = stuff
  225. weld(hamend,hamp,CFrame.new(.95,0,0))
  226. hamp = hamp:Clone()
  227. hamp.Parent = stuff
  228. weld(hamend,hamp,CFrame.new(-.95,0,0))
  229. hamp = handle:Clone()
  230. hamp.BrickColor = color2
  231. hamp.Reflectance = .2
  232. hamp.Parent = stuff
  233. hamp.Size = Vector3.new(.4,.2,.4)
  234. Instance.new("CylinderMesh",hamp)
  235. weld(hamend,hamp,CFrame.new(0,-.955,1.2))
  236. hamp = hamp:Clone()
  237. hamp.Parent = stuff
  238. weld(hamend,hamp,CFrame.new(0,-.955,-1.2))
  239. hamp = hamp:Clone()
  240. hamp.Parent = stuff
  241. weld(hamend,hamp,CFrame.new(0,.955,1.2))
  242. hamp = hamp:Clone()
  243. hamp.Parent = stuff
  244. weld(hamend,hamp,CFrame.new(0,.955,-1.2))
  245. hamp = hamp:Clone()
  246. hamp.Parent = stuff
  247. weld(hamend,hamp,CFrame.new(.955,0,-1.2) * CFrame.Angles(0,0,math.rad(90)))
  248. hamp = hamp:Clone()
  249. hamp.Parent = stuff
  250. weld(hamend,hamp,CFrame.new(.955,0,1.2) * CFrame.Angles(0,0,math.rad(90)))
  251. hamp = hamp:Clone()
  252. hamp.Parent = stuff
  253. weld(hamend,hamp,CFrame.new(-.955,0,-1.2) * CFrame.Angles(0,0,math.rad(90)))
  254. hamp = hamp:Clone()
  255. hamp.Parent = stuff
  256. weld(hamend,hamp,CFrame.new(-.955,0,1.2) * CFrame.Angles(0,0,math.rad(90)))
  257. hamp = hamp:Clone()
  258. hamp.Parent = stuff
  259. weld(hamend,hamp,CFrame.new(.6,.955,0))
  260. hamp = hamp:Clone()
  261. hamp.Parent = stuff
  262. weld(hamend,hamp,CFrame.new(-.6,.955,0))
  263. hamp = hamp:Clone()
  264. hamp.Parent = stuff
  265. weld(hamend,hamp,CFrame.new(.6,-.955,0))
  266. hamp = hamp:Clone()
  267. hamp.Parent = stuff
  268. weld(hamend,hamp,CFrame.new(-.6,-.955,0))
  269. hamp = hamp:Clone()
  270. hamp.Parent = stuff
  271. weld(hamend,hamp,CFrame.new(-.955,.6,0) * CFrame.Angles(0,0,math.rad(90)))
  272. hamp = hamp:Clone()
  273. hamp.Parent = stuff
  274. weld(hamend,hamp,CFrame.new(-.955,-.6,0) * CFrame.Angles(0,0,math.rad(90)))
  275. hamp = hamp:Clone()
  276. hamp.Parent = stuff
  277. weld(hamend,hamp,CFrame.new(.955,.6,0) * CFrame.Angles(0,0,math.rad(90)))
  278. hamp = hamp:Clone()
  279. hamp.Parent = stuff
  280. weld(hamend,hamp,CFrame.new(.955,-.6,0) * CFrame.Angles(0,0,math.rad(90)))
  281. local luacyl = hamp:Clone()
  282. luacyl.BrickColor = BrickColor.Blue()
  283. luacyl.Parent = stuff
  284. luacyl.Mesh.Scale = Vector3.new(1,.2,1)
  285. luacyl.Size = Vector3.new(2,.2,2)
  286. weld(hamsd1,luacyl,CFrame.new(0,0,.14) * CFrame.Angles(math.rad(90),0,0))
  287. hamp = luacyl:Clone()
  288. hamp.BrickColor = BrickColor.White()
  289. hamp.Parent = stuff
  290. hamp.Size = Vector3.new(.7,.2,.7)
  291. weld(luacyl,hamp,CFrame.new(.35,.01,-.35))
  292. local luamoon = luacyl:Clone()
  293. luamoon.Parent = stuff
  294. luamoon.Size = Vector3.new(.7,.2,.7)
  295. local mnw = weld(luacyl,luamoon,CFrame.new(1.2,.02,-1.2))
  296. for r = 1,180,10 do
  297. local r2 = 2 * (math.pi/180*r)
  298. local l = hamsd1:Clone()
  299. l.Parent = stuff
  300. l.BrickColor = luacyl.BrickColor
  301. l.Size = Vector3.new(.3,.2,.2)
  302. l.Mesh.Scale = Vector3.new(1,.3,.3)
  303. weld(luacyl,l,CFrame.new(Vector3.new(math.sin(r2)*1.7,0,math.cos(r2)*1.7),Vector3.new()))
  304. end
  305. hamp = hamend:Clone()
  306. hamp.BrickColor = color2
  307. hamp.Reflectance = .2
  308. hamp.Size = Vector3.new(.2,.2,3.5)
  309. hamp.Mesh.Scale = Vector3.new(.25,.25,1)
  310. hamp.Parent = stuff
  311. weld(hamend,hamp,CFrame.new(-1.05,.95,0))
  312. hamp = hamp:Clone()
  313. hamp.Parent = stuff
  314. weld(hamend,hamp,CFrame.new(-.95,1.05,0))
  315. hamp = hamp:Clone()
  316. hamp.Parent = stuff
  317. weld(hamend,hamp,CFrame.new(1.05,.95,0))
  318. hamp = hamp:Clone()
  319. hamp.Parent = stuff
  320. weld(hamend,hamp,CFrame.new(.95,1.05,0))
  321. hamp = hamp:Clone()
  322. hamp.Parent = stuff
  323. weld(hamend,hamp,CFrame.new(1.05,-.95,0))
  324. hamp = hamp:Clone()
  325. hamp.Parent = stuff
  326. weld(hamend,hamp,CFrame.new(.95,-1.05,0))
  327. hamp = hamp:Clone()
  328. hamp.Parent = stuff
  329. weld(hamend,hamp,CFrame.new(-1.05,-.95,0))
  330. hamp = hamp:Clone()
  331. hamp.Parent = stuff
  332. weld(hamend,hamp,CFrame.new(-.95,-1.05,0))
  333. for x = -1,1 do
  334. for y = -1,1 do
  335. hamp = hamp:Clone()
  336. hamp.Mesh.Scale = Vector3.new(1,1,1)
  337. hamp.Size = Vector3.new(.5,.5,.2)
  338. hamp.Parent = stuff
  339. weld(hamsd2,hamp,CFrame.new(x*.7,y*.7,-.1))
  340. end
  341. end
  342.  
  343. rs.C0 = rs0 * CFrame.Angles(math.rad(70),math.rad(50),math.rad(-20))
  344. 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)
  345.  
  346. function endScript()
  347. pcall(function() runcon:disconnect() end)
  348. pcall(function() kdcon:disconnect() end)
  349. pcall(function() kucon:disconnect() end)
  350. pcall(game.Destroy,stuff)
  351. pcall(game.Destroy,bg)
  352. pcall(game.Destroy,bv)
  353. end
  354.  
  355. local spintime = 3
  356. local idling = true
  357.  
  358. runcon = game:GetService("RunService").Stepped:connect(oc(function()
  359. if not stuff:IsDescendantOf(workspace) then
  360. endScript()
  361. end
  362. local an = (tick()%spintime)*360/spintime
  363. mnw.C0 = CFrame.Angles(0,math.rad(an),0) * CFrame.new(0,.04,1.7)
  364. if idling then
  365. rs.C0 = clerp(rs.C0,rs0 * CFrame.Angles(math.rad(70+tickwave(3,5)),math.rad(50),math.rad(-20)),.4)
  366. 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)
  367. nk.C0 = clerp(nk.C0,nk0 * CFrame.Angles(tickwave(4,-.1),0,0),.4)
  368. grip.C0 = clerp(grip.C0,grip0,.4)
  369. end
  370. end))
  371.  
  372. function cfot(tar,cf,t)
  373. coroutine.wrap(function()
  374. for i=1,t do
  375. tar.CFrame = tar.CFrame * cf
  376. wait(1/30)
  377. end
  378. end)()
  379. end
  380.  
  381. function DoDamage(hum,dmg)
  382. if hum.Health == 0 then return end
  383. local a,b = ypcall(function()
  384. --hum:TakeDamage(dmg)
  385. hum.Health = hum.Health - dmg
  386. if not hum.Parent:FindFirstChild("Torso") then return end
  387. local m = Instance.new("Model",workspace)
  388. m.Name = -dmg
  389. local h = Instance.new("Humanoid",m)
  390. h.MaxHealth = 0
  391. local p = Instance.new("Part",m)
  392. p.Name = "Head"
  393. p.FormFactor = "Custom"
  394. p.Size = Vector3.new(.2,.2,.2)
  395. p.Transparency = 0.97
  396. p.CanCollide = false
  397. p.Anchored = true
  398. p:BreakJoints()
  399. game.Debris:AddItem(m,5)
  400. p.CFrame = CFrame.new(hum.Parent.Torso.Position) * CFrame.new(math.random(-2,2),2.5,math.random(-2,2))
  401. local rAm = math.random(3,6)/100
  402. coroutine.wrap(function()
  403. for i=1,300 do
  404. p.CFrame = p.CFrame * CFrame.new(0,rAm,0)
  405. wait()
  406. end
  407. p:Destroy()
  408. end)()
  409. end)
  410. if not a then print(b) end
  411. end
  412.  
  413. local atdeb = false
  414. local basiccombo = 0
  415. local basiccombotimer = 0
  416. bg = Instance.new("BodyGyro",char.Torso)
  417. bg.maxTorque = Vector3.new(1,0,1)*9e10
  418. bg.P = 10000
  419. bg.D = 500
  420. bv = Instance.new("BodyVelocity",char.Torso)
  421. bv.maxForce = Vector3.new()
  422. bv.P = 50000
  423.  
  424. kucon = mouse.KeyUp:connect(oc(function(k)
  425. if k == "0" and sprint then
  426. pcall(function() char.Humanoid.WalkSpeed = char.Humanoid.WalkSpeed / 1.5 end)
  427. sprint = false
  428. end
  429. end))
  430.  
  431. kdcon = mouse.KeyDown:connect(oc(function(k)
  432. if k == "0" and not sprint then
  433. pcall(function() char.Humanoid.WalkSpeed = char.Humanoid.WalkSpeed * 1.5 end)
  434. sprint = true
  435. end
  436. if k == "f" then
  437. if atdeb then return end
  438. atdeb = true
  439. idling = false
  440. playSound(105374058,hamend,1,1)
  441. --- bg.cframe = char.Torso.CFrame * CFrame.Angles(math.rad(7),0,0)
  442. -- ctween(nk,"C0",nk0 * CFrame.Angles(math.rad(-20),0,0),7,true)
  443. ctween(rs,"C0",rs0*CFrame.new(-.7,0,-.7) * CFrame.Angles(math.rad(150),math.rad(0),math.rad(-90)),7)
  444. ctween(ls,"C0",ls0*CFrame.new(.7,0,-.7) * CFrame.Angles(math.rad(160),math.rad(0),math.rad(30)),13,true)
  445. ctween(nk,"C0",nk0 * CFrame.Angles(math.rad(-35),0,0),13,true)
  446. ctween(rs,"C0",rs0*CFrame.new(-.7,0,-.7) * CFrame.Angles(math.rad(160),math.rad(0),math.rad(60)),13)
  447. playSound(92597296,hamend,1,1.07)
  448. local s = playSound(96626016,hamend)
  449. s.Volume = 0
  450. local hitcon
  451. hitcon = hamend.Touched:connect(function(hit)
  452. s.Volume = 1
  453. if not hit.Anchored then
  454. hit.Velocity = hit.Velocity + hamend.CFrame.lookVector*-20
  455. end
  456. local hum = hit.Parent:FindFirstChild("Humanoid")
  457. if hum and not hum:IsDescendantOf(char) then
  458. DoDamage(hum,30)
  459. hum.PlatformStand = true
  460. wait(.6)
  461. hum.PlatformStand = false
  462. end
  463. end)
  464. bg.maxTorque = Vector3.new(1,1,1)*9e10
  465. ctween(ls,"C0",ls0*CFrame.new(.7,0,-.7) * CFrame.Angles(math.rad(35),math.rad(0),math.rad(30)),4,true)
  466. ctween(nk,"C0",nk0 * CFrame.Angles(math.rad(35),0,0),4,true)
  467. ctween(rs,"C0",rs0*CFrame.new(-.7,0,-.7) * CFrame.Angles(math.rad(35),math.rad(0),math.rad(-30)),4)
  468. if workspace:FindPartOnRay(Ray.new(hamend.Position,hamend.CFrame.lookVector*3),char) then
  469. s.Volume = 1
  470. end
  471. wait(.2)
  472. bg.maxTorque = Vector3.new(1,0,1)*9e10
  473. hitcon:disconnect()
  474. atdeb = false
  475. idling = true
  476. end
  477. if k == "q" then
  478. if atdeb then return end
  479. atdeb = true
  480. idling = false
  481. playSound(105374058,hamend,1,1)
  482. bg.cframe = char.Torso.CFrame * CFrame.Angles(math.rad(7),0,0)
  483. ctween(grip,"C0",grip0*CFrame.Angles(math.rad(-30),math.rad(-25),math.rad(-15)),9,true)
  484. ctween(ls,"C0",ls0*CFrame.new(.7,0,-.7) * CFrame.Angles(math.rad(150),math.rad(0),math.rad(30)),7,true)
  485. ctween(nk,"C0",nk0 * CFrame.Angles(math.rad(-20),0,0),7,true)
  486. ctween(rs,"C0",rs0*CFrame.new(-.7,0,-.7) * CFrame.Angles(math.rad(150),math.rad(0),math.rad(-30)),7)
  487. ctween(ls,"C0",ls0*CFrame.new(.7,0,-.7) * CFrame.Angles(math.rad(160),math.rad(0),math.rad(30)),13,true)
  488. ctween(nk,"C0",nk0 * CFrame.Angles(math.rad(-35),0,0),13,true)
  489. ctween(rs,"C0",rs0*CFrame.new(-.7,0,-.7) * CFrame.Angles(math.rad(160),math.rad(0),math.rad(-30)),13)
  490. playSound(92597296,hamend,1,1.07)
  491. local s = playSound(96626016,hamend)
  492. s.Volume = 0
  493. local hitcon
  494. hitcon = hamend.Touched:connect(function(hit)
  495. s.Volume = 1
  496. if not hit.Anchored then
  497. hit.Velocity = hit.Velocity + hamend.CFrame.lookVector*-20
  498. end
  499. local hum = hit.Parent:FindFirstChild("Humanoid")
  500. if hum and not hum:IsDescendantOf(char) then
  501. DoDamage(hum,30)
  502. hum.PlatformStand = true
  503. wait(.6)
  504. hum.PlatformStand = false
  505. end
  506. end)
  507. bg.cframe = char.Torso.CFrame * CFrame.Angles(math.rad(7),0,0)
  508. wait(.05)
  509. bg.cframe = char.Torso.CFrame * CFrame.Angles(math.rad(-20),0,0)
  510. bg.maxTorque = Vector3.new(1,1,1)*9e10
  511. ctween(ls,"C0",ls0*CFrame.new(.7,0,-.7) * CFrame.Angles(math.rad(55),math.rad(5),math.rad(50)),7,true)
  512. ctween(nk,"C0",nk0 * CFrame.Angles(math.rad(5),0,0),4,true)
  513. ctween(rs,"C0",rs0*CFrame.new(-.9,0,-.9) * CFrame.Angles(math.rad(50),math.rad(5),math.rad(-50)),7)
  514. if workspace:FindPartOnRay(Ray.new(hamend.Position,hamend.CFrame.lookVector*3),char) then
  515. s.Volume = 1
  516. end
  517. wait(.2)
  518. bg.maxTorque = Vector3.new(1,0,1)*9e10
  519. hitcon:disconnect()
  520. atdeb = false
  521. idling = true
  522. end
  523. if k == "r" then
  524. if atdeb then return end
  525. atdeb = true
  526. idling = false
  527. ctween(ls,"C0",ls0*CFrame.new(.7,0,-.7) * CFrame.Angles(math.rad(70),math.rad(0),math.rad(30)),7,true)
  528. ctween(grip,"C0",grip0*CFrame.Angles(math.rad(0),math.rad(90),math.rad(-60))*CFrame.Angles(0,math.rad(180),0),9,true)
  529. bg.maxTorque = Vector3.new(1,1,1)*9e10
  530. bg.cframe = char.Torso.CFrame
  531. ctween(rs,"C0",rs0*CFrame.new(-.7,0,-.7) * CFrame.Angles(math.rad(70),math.rad(0),math.rad(-30)),7,true)
  532. local s = playSound(92597296,hamend,1,1.07)
  533. s.Looped = true
  534. local sndmd = {}
  535. local hitcon
  536. hitcon = hamend.Touched:connect(function(hit)
  537. if not sndmd[hit] then sndmd[hit] = playSound(10730819,hamend) end
  538.  
  539. if not hit.Anchored then
  540. hit.Velocity = hit.Velocity + hamend.CFrame.lookVector*60
  541. end
  542. local hum = hit.Parent:FindFirstChild("Humanoid")
  543. if hum and not hum:IsDescendantOf(char) then
  544. DoDamage(hum,math.random(4,6))
  545. hum.Sit = true
  546. wait(2)
  547. hum.Sit = false
  548. end
  549. end)
  550. for i=1,20 do
  551. bg.cframe = bg.cframe * CFrame.Angles(0,math.rad(-1440/20),0)
  552. wait(.1)
  553. end
  554. hitcon:disconnect()
  555. bg.maxTorque = Vector3.new(1,0,1)*9e10
  556. s:Stop()
  557. s:Destroy()
  558. atdeb = false
  559. idling = true
  560. end
  561. if k == "e" then
  562. if atdeb then return end
  563. basiccombo = (tick()-basiccombotimer > .5 or basiccombo == 2) and 1 or basiccombo + 1
  564. idling = false
  565. atdeb = true
  566. if basiccombo == 1 then
  567. 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)
  568. ctween(rs,"C0",rs0*CFrame.new(0,0,-.3) * CFrame.Angles(math.rad(120),math.rad(70),math.rad(-30)),7)
  569. bg.maxTorque = Vector3.new(1,1,1)*9e10
  570. bg.cframe = char.Torso.CFrame * CFrame.Angles(0,math.rad(-40),0)
  571. playSound(92597296,hamend,1,1.2)
  572. local ac
  573. local hitcon
  574. hitcon = hamend.Touched:connect(function(hit)
  575. if not ac then ac = playSound(10730819,hamend,1,1) end
  576. if not hit.Anchored then
  577. hit.Velocity = hit.Velocity + hamend.CFrame.lookVector*50
  578. end
  579. local hum = hit.Parent:FindFirstChild("Humanoid")
  580. if hum and not hum:IsDescendantOf(char) then
  581. DoDamage(hum,10)
  582. end
  583. end)
  584. 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)
  585. 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)
  586. wait(.1)
  587. bg.cframe = char.Torso.CFrame * CFrame.Angles(0,math.rad(40),0)
  588. hitcon:disconnect()
  589. elseif basiccombo == 2 then
  590. ctween(ls,"C0",ls0*CFrame.new(1,0,-1) * CFrame.Angles(math.rad(5),math.rad(0),math.rad(70)),10,true)
  591. ctween(grip,"C0",grip0*CFrame.Angles(math.rad(10),0,0),12,true)
  592. ctween(rs,"C0",rs0*CFrame.new(0,0,0) * CFrame.Angles(math.rad(-5),math.rad(0),math.rad(0)),10,true)
  593. wait(.2)
  594. playSound(92597296,hamend,1,.7)
  595. wait(.1)
  596. bg.maxTorque = Vector3.new(1,1,1)*9e10
  597. bg.cframe = char.Torso.CFrame
  598. bv.maxForce = Vector3.new(1,0,1)*9e5
  599. bv.velocity = bg.cframe.lookVector * 70
  600. coroutine.wrap(function() for i=1,25 do bv.velocity = bv.velocity*.9 wait(1/30) end bv.maxForce = Vector3.new() end)()
  601. local thrustcon
  602. thrustcon = hamend.Touched:connect(function(hit)
  603. if not hit.Anchored then
  604. hit.Velocity = hit.Velocity + hamend.CFrame.lookVector*-40
  605. end
  606. local hum = hit.Parent:FindFirstChild("Humanoid")
  607. if hum and not hum:IsDescendantOf(char) then
  608. DoDamage(hum,5)
  609. --thrustcon:disconnect()
  610. hum.Sit = true
  611. ctween(grip,"C0",grip0*CFrame.Angles(math.rad(30),0,0),5,true)
  612. if not ac then ac = playSound(92597296,hamend,1,1.15) end
  613. local tor = hum.Parent:FindFirstChild("Torso")
  614. if tor and not tor:FindFirstChild("torv") then
  615. --tor.Velocity = bg.cframe.lookVector*30 + Vector3.new(0,100,0)
  616. local torv = Instance.new("BodyVelocity",tor)
  617. torv.maxForce = Vector3.new(1,1,1)*9e9
  618. torv.P = 2000
  619. torv.velocity = bg.cframe.lookVector*20 + Vector3.new(0,120,0)
  620. torv.Name = "torv"
  621. local torav = Instance.new("BodyAngularVelocity",tor)
  622. torav.maxTorque = Vector3.new(1,1,1)*9e9
  623. torav.P = 5000
  624. torav.angularvelocity = Vector3.new(math.random()-.5,math.random()-.5,math.random()-.5)*2
  625. coroutine.wrap(function()
  626. for i=1,torv.velocity.Y/196.22*30 do
  627. hum.Sit = true
  628. torv.velocity = torv.velocity - Vector3.new(0,196.22/30,0)
  629. wait(1/30)
  630. end
  631. torv:Destroy()
  632. torav:Destroy()
  633. tor.Velocity = Vector3.new()
  634. end)()
  635. end
  636. end
  637. end)
  638. ctween(ls,"C0",ls0*CFrame.new(1,0,-1) * CFrame.Angles(math.rad(80),math.rad(0),math.rad(50)),12,true)
  639. ctween(grip,"C0",grip0*CFrame.Angles(math.rad(-70),0,0),12,true)
  640. ctween(rs,"C0",rs0*CFrame.new(-.6,0,-.7) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(-10)),12,true)
  641. Delay(.3,function() thrustcon:disconnect() end)
  642.  
  643. end
  644. wait(.1)
  645. bg.maxTorque = Vector3.new(1,0,1)*9e10
  646.  
  647. basiccombotimer = tick()
  648. atdeb = false
  649. idling = true
  650.  
  651. end -- 96626016, 92597296
  652. bg.cframe = CFrame.new(char.Torso.Position,char.Torso.Position+char.Torso.CFrame.lookVector*Vector3.new(1,0,1))
  653. end))
  654.  
  655. char.Humanoid.MaxHealth = math.huge
  656. char.Humanoid.WalkSpeed = 250
  657. wait(.3)
  658. char.Humanoid.Health = math.huge
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement