Advertisement
memberhero

titan....

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