Advertisement
Animescapetower

Untitled

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