Advertisement
Guest User

NEW SCRIPTew

a guest
Jun 7th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 167.73 KB | None | 0 0
  1. --One Punch Man Script
  2. p = game.Players.LocalPlayer
  3. char = p.Character
  4. des = false
  5. fling = true
  6. dot = false
  7. falling = false
  8. jump = true
  9. --char.Shirt:Remove()
  10. --for i,v in pairs(char:GetChildren()) do if v:IsA("Pants") then v:Remove() end end
  11. for i,v in pairs(char:GetChildren()) do if v:IsA("Hat") then v.Handle:Remove() end end
  12. wait()--shirt = Instance.new("Shirt", char)
  13. --shirt.Name = "Shirt"
  14. --pants = Instance.new("Pants", char)
  15. --pants.Name = "Pants"
  16.  
  17. --char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=451927425"
  18. --char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=236412261"
  19. tp = true
  20. shoot = true
  21. hum = char.Humanoid
  22. punch = true
  23. neckp = char.Torso.Neck.C0
  24. neck = char.Torso.Neck
  25. hum.MaxHealth = 9999999999999999999999999999999999999999
  26. wait()
  27. hum.Health =hum.MaxHealth
  28. des = false
  29. root=char.HumanoidRootPart
  30. torso = char.Torso
  31. char.Head.face.Texture = "rbxassetid://332768867"
  32. local ChatService = game:GetService("Chat")
  33. local player = game.Players.LocalPlayer
  34. lig = Instance.new("PointLight",player.Character.Torso)
  35. lig.Color=Color3.new(255,0,0)
  36. m=player:GetMouse()
  37. bb = Instance.new("BillboardGui",player.Character.Head)
  38. bb.Enabled = true
  39. function newRay(start,face,range,wat)
  40. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  41. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  42. return rey,hit,pos
  43. end
  44. aa1={}
  45. torso=game.Players.LocalPlayer.Character.Torso
  46.  
  47. local WorldUp = Vector3.new(0,1,0)
  48. function look2(Vec1,Vec2)
  49. local Orig = Vec1
  50. Vec1 = Vec1+Vector3.new(0,1,0)
  51. Vec2 = Vec2+Vector3.new(0,1,0)
  52. local Forward = (Vec2-Vec1).unit
  53. local Up = (WorldUp-WorldUp:Dot(Forward)*Forward).unit
  54. local Right = Up:Cross(Forward).unit
  55. Forward = -Forward
  56. Right = -Right
  57. return CFrame.new(Orig.X,Orig.Y,Orig.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z)
  58. end
  59.  
  60. function look(CFr,Vec2)
  61. local A = Vector3.new(0,0,0)
  62. local B = CFr:inverse()*Vec2
  63. local CF = look2(A,Vector3.new(A.X,B.Y,B.Z))
  64. if B.Z > 0 then
  65. CF = CFr*(CF*CFrame.Angles(0,0,math.pi))
  66. elseif B.Z == 0 then
  67. if B.Y > 0 then
  68. CF = CFr*CFrame.Angles(math.pi/2,0,0)
  69. elseif B.Y < 0 then
  70. CF = CFr*CFrame.Angles(-math.pi/2,0,0)
  71. else
  72. CF = CFr
  73. end
  74. end
  75. local _,_,_,_,X,_,_,Y,_,_,Z,_ = CF:components()
  76. local Up = Vector3.new(X,Y,Z)
  77. local Forward = (Vec2-CFr.p).unit
  78. local Right = Up:Cross(Forward)
  79. Forward = -Forward
  80. Right = -Right
  81. return CFrame.new(CFr.X,CFr.Y,CFr.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z)
  82. end
  83.  
  84. function simulate(j,d,m,r,t)
  85. local joint = j
  86. for i,v in ipairs(t) do
  87. if v[1]:FindFirstChild("Weld") then
  88. local stiff = m.CFrame.lookVector*0.03
  89. if i > 1 then joint = t[i-1][1].CFrame*CFrame.new(0,0,d*.5) end
  90. local dir = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).unit
  91. local dis = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).magnitude
  92. local pos = joint.p+(dir*(d*0.5))
  93. --if v[1].CFrame.y<=workspace.Base.CFrame.y then pos = joint.p+(dir*(d*.5)) end
  94. local inv = v[1].Weld.Part0.CFrame
  95. local rel1 = inv:inverse()*pos
  96. local rel2 = inv:inverse()*(pos-(dir*dis))
  97. local cf = look(CFrame.new(rel1),rel2)--CFrame.new(pos,pos-(dir*dis))*CFrame.fromEulerAnglesXYZ(r.x,r.y,r.z)
  98. v[1].Weld.C0 = cf
  99. v[2] = inv*cf
  100. --v[1].CFrame = cf
  101. end
  102. end
  103. end
  104. for i=1,8 do
  105. local p = Instance.new("Part",char)
  106. p.Anchored = false
  107. p.BrickColor = BrickColor.new("Institutional white")
  108. p.CanCollide = false
  109. p.FormFactor="Custom"
  110. p.Material = "SmoothPlastic"
  111. p.TopSurface = "SmoothNoOutlines"
  112. p.BottomSurface = "SmoothNoOutlines"
  113. p.RightSurface = "SmoothNoOutlines"
  114. p.LeftSurface = "SmoothNoOutlines"
  115. p.FrontSurface = "SmoothNoOutlines"
  116. p.BackSurface = "SmoothNoOutlines"
  117.  
  118. p.Size=Vector3.new(2,.2,0.2)
  119. p:BreakJoints() -- sometimes the parts are stuck to something so you have to breakjoints them
  120. mesh = Instance.new("BlockMesh",p)
  121. mesh.Scale = Vector3.new(1,1,4)
  122. local w = Instance.new("Motor6D",p)
  123. w.Part0 = aa1[i-1] and aa1[i-1][1] or torso
  124. w.Part1 = p
  125. w.Name = "Weld"
  126. --table.insert(aa1,p)
  127. aa1[i] = {p,p.CFrame}
  128.  
  129. end
  130. game:service"RunService".Stepped:connect(function()
  131. simulate(torso.CFrame*CFrame.new(0,0.9,.5),.6,torso,Vector3.new(),aa1)
  132. end)
  133. bb.AlwaysOnTop = true
  134. bb.Size = UDim2.new(0,200,0,50)
  135. bb.StudsOffset = Vector3.new(0,1,0)
  136. gui=Instance.new("TextBox",bb)
  137. gui.Text = "* "
  138. gui.Size = UDim2.new(0,133,0,45)
  139. gui.Position=UDim2.new(0,57,0,-40)
  140. gui.TextColor3 = Color3.new(255,255,255)
  141. gui.BackgroundColor3=Color3.new(0,0,0)
  142. gui.TextWrapped = true
  143. gui.TextScaled = true
  144. gui.TextXAlignment = "Left"
  145. gui.TextYAlignment = "Top"
  146. gui.Visible = false
  147. gui.BorderColor3 = Color3.new(0,0,0)
  148. punch2 = true
  149. gui1=Instance.new("TextButton",bb)
  150. gui1.Position=UDim2.new(0,5,0,-43)
  151. gui1.Size = UDim2.new(0,190,0,51)
  152.  
  153. gui1.TextColor3 = Color3.new(255,255,255)
  154. gui1.BackgroundColor3=Color3.new(255,255,255)
  155. jump2 = true
  156. gui1.Visible = false
  157. img = Instance.new("ImageLabel",bb)
  158. img.Size = UDim2.new(0,46,0,47)
  159. img.Position = UDim2.new(0,10,0,-41)
  160. img.Image = "rbxassetid://447301252"
  161. img.BorderColor3 = Color3.new(0,0,0)
  162. img.Visible = false
  163. soka = Instance.new("Sound",char)
  164. soka.SoundId = "http://www.roblox.com/asset/?id = 447199232"
  165. soka.Volume = 1
  166. boom = Instance.new("Sound",char)
  167. boom.SoundId = "http://www.roblox.com/asset/?id = 447041606"
  168. boom.Volume = 1
  169. boom2 = Instance.new("Sound",char)
  170. boom2.SoundId = "http://www.roblox.com/asset/?id = 449025737"
  171. boom2.Volume = 1
  172. boom3 = Instance.new("Sound",char)
  173. boom3.SoundId = "http://www.roblox.com/asset/?id = 450719019"
  174. boom3.Volume = 1
  175. tps = Instance.new("Sound",char)
  176. tps.SoundId = "http://www.roblox.com/asset/?id = 449860746"
  177. tps.Volume = 1
  178. asd = Instance.new("Sound",char)
  179. asd.SoundId = "http://www.roblox.com/asset/?id = 447310433"
  180. asd.Volume =1
  181. asd1 = Instance.new("Sound",char)
  182. asd1.SoundId = "http://www.roblox.com/asset/?id = 358280695"
  183.  
  184. asd2 = Instance.new("Sound",char)
  185. asd2.SoundId = "http://www.roblox.com/asset/?id = 386713054"
  186. asd2.Looped = true
  187. asd2.Volume = 5
  188. asd3 = Instance.new("Sound",char)
  189. asd3.SoundId = "http://www.roblox.com/asset/?id = 378387996"
  190. asd3.Looped = true
  191. asd4 = Instance.new("Sound",char)
  192. asd4.SoundId = "http://www.roblox.com/asset/?id = 401258325"
  193. asd4.Looped = true
  194. asd5 = Instance.new("Sound",char)
  195. asd5.SoundId = "http://www.roblox.com/asset/?id = 362252261"
  196. asd5.Looped = true
  197. gas = Instance.new("Sound",char)
  198. gas.SoundId = "http://www.roblox.com/asset/?id = 345052019"
  199. asd6 = Instance.new("Sound",char)
  200. asd6.SoundId = "http://www.roblox.com/asset/?id = 401258325"
  201. asd6.Looped = true
  202. function play(play)
  203. asd:Play()
  204. wait(0.05)
  205. --asd1:Play()
  206. end
  207.  
  208.  
  209.  
  210. ------------
  211. -------------------------
  212.  
  213. function stream(origin,dir,length,size)
  214. local parts = {}
  215. for i = 1,length do
  216. local p = Instance.new("Part",char)
  217. p.Anchored = true
  218. p.Transparency = 0.5
  219. p.TopSurface = 0
  220. p.BottomSurface = 0
  221. p.CanCollide = false
  222. p.BrickColor = BrickColor.new("Institutional white")
  223. p.Size = Vector3.new(10,30,10) -- for now
  224. p.CFrame = CFrame.new(origin+dir*i*size)*CFrame.Angles(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi)
  225. parts[i] = {p,CFrame.Angles(math.random()*math.pi/5,math.random()*math.pi/5,math.random()*math.pi/5)}
  226. game:GetService("Debris"):AddItem(p,3)
  227. end
  228. Spawn(function()
  229. while parts do
  230. for i,v in pairs(parts) do
  231. if v[1].Parent == char then
  232. v[1].CFrame = v[1].CFrame*v[2]
  233. else
  234. parts = nil
  235. break
  236. end
  237. end
  238. wait(0.02)
  239. end
  240. end)
  241. end
  242.  
  243. --[[-- listen for their chatting
  244. player.Chatted:connect(function(message)
  245. a = string.len(message)
  246. gui.Text = ""
  247. gui.Visible = true
  248. gui1.Visible = true
  249. des = false
  250. img.Visible = true
  251. print(a)
  252. if dot == false then
  253. gui.Text = ""
  254. for i = 1,string.len(message) do
  255. gui.Text =gui.Text..message:sub(i,i)
  256. play()
  257.  
  258. end
  259. end
  260.  
  261.  
  262. des = true
  263. end)]]--
  264. m.KeyDown:connect(function(k)
  265. if k == "g" then
  266. asd2:Play()
  267.  
  268.  
  269. end
  270. end)
  271.  
  272. m.KeyDown:connect(function(k)
  273. if k == "r" then
  274.  
  275. asd4:Play()
  276. end
  277. end)
  278. m.KeyDown:connect(function(k)
  279. if k == "q" then
  280.  
  281. asd3:Play()
  282. end
  283. end)
  284. m.KeyDown:connect(function(k)
  285. if k == "z" then
  286. img.Image = "rbxassetid://332766052"
  287.  
  288. end
  289. end)
  290. m.KeyDown:connect(function(k)
  291. if k == "c" then
  292. img.Image = "rbxassetid://447301252"
  293.  
  294. end
  295. end)
  296. m.KeyDown:connect(function(k)
  297. if k == "b" then
  298.  
  299. asd6:Play()
  300. end
  301. end)
  302. mouse = p:GetMouse()
  303. m.KeyDown:connect(function(k)
  304. if k:byte() == 48 then
  305.  
  306. hum.WalkSpeed = 100
  307. end
  308. end)
  309. m.KeyDown:connect(function(k)
  310. if k:byte() == 50 then
  311.  
  312. soka:Play()
  313. end
  314. end)
  315. m.KeyDown:connect(function(k)
  316. if k:byte() == 52 then
  317.  
  318. char.Head.face.Texture = "rbxassetid://444037452"
  319. end
  320. end)
  321. m.KeyDown:connect(function(k)
  322. if k:byte() == 51 then
  323.  
  324. char.Head.face.Texture = "rbxassetid://332768867"
  325. end
  326. end)
  327. m.KeyUp:connect(function(k)
  328. if k:byte() == 48 then
  329.  
  330. hum.WalkSpeed = 16
  331. end
  332. end)
  333. p.Chatted:connect(function(m)
  334. if m == "Okay." then
  335. soka:Play()
  336. end
  337. end)
  338. m.KeyDown:connect(function(k)
  339. if k == "x" then
  340. if des == true then
  341. gui.Visible = false
  342. gui.Text = "* "
  343. gui1.Visible = false
  344. img.Visible = false
  345. end
  346. end
  347. end)
  348. m.KeyDown:connect(function(key)
  349. if key == "j" then
  350. if tp == true then
  351. tp = false
  352. tps:Play()
  353. char.Head.face.Parent = game.Lighting
  354. for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 1
  355. end
  356.  
  357. end
  358. wait(0.5)
  359. for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 0
  360. end
  361.  
  362. end
  363. char.HumanoidRootPart.CFrame = mouse.Hit * CFrame.new(0, 3, 0)
  364. char.HumanoidRootPart.Transparency = 1
  365. game.Lighting.face.Parent = char.Head
  366. wait(0.2)
  367.  
  368. tp = true
  369.  
  370.  
  371. end
  372. end
  373. end)
  374.  
  375.  
  376. m.KeyDown:connect(function(key)
  377. if key == "t" then
  378. if punch2 == true then
  379. punch2 = false
  380. punch = false
  381.  
  382. local ChatService = game:GetService("Chat")
  383.  
  384. neck.C0 = neck.C0 * CFrame.Angles(0.3,0,0)
  385. ChatService:Chat(char.Head, "Mind if I get Serious?")
  386. wait(1)
  387. local ChatService = game:GetService("Chat")
  388.  
  389.  
  390. ChatService:Chat(char.Head ,"Killer Move: Serious Series...")
  391. wait(1)
  392. local ChatService = game:GetService("Chat")
  393.  
  394.  
  395. ChatService:Chat(char.Head, "SERIOUS PUNCH.")
  396. neck.C0 = neckp
  397. wait(0.6)
  398. org = char.Torso["Left Shoulder"].C0
  399. char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90))
  400. wait()
  401. killbrick2 = Instance.new("Part",char)
  402. killbrick2.Size = Vector3.new(80,80,9000)
  403. killbrick2.Transparency = 1
  404.  
  405. killbrick2.CanCollide = true
  406. wait(0.1)
  407. killbrick2.CanCollide = false
  408.  
  409. killbrick2.Anchored = true
  410.  
  411. killbrick2.CFrame = char.Torso.CFrame * CFrame.new(0,0,-1005)
  412.  
  413. killbrick2.Touched:connect(function(h)
  414. local x = h.Parent:FindFirstChild("Humanoid")
  415. if x then
  416. if x.Parent.Name == game.Players.LocalPlayer.Name then
  417. safe = true
  418. else safe = false
  419. end
  420. if x then
  421. if safe == false then
  422. h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * 900
  423. local bodyforc = Instance.new("BodyForce", h.Parent.Torso)
  424. boom:Play()
  425. bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0)
  426.  
  427.  
  428. wait(0.2)
  429. x.Parent:BreakJoints()
  430. wait()
  431. safe = true
  432. end
  433. end
  434. end
  435. end)
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444. local rng = Instance.new("Part", char)
  445. rng.Anchored = true
  446. rng.BrickColor = BrickColor.new("Institutional white")
  447. rng.CanCollide = false
  448. rng.FormFactor = 3
  449. rng.Name = "Ring"
  450. rng.Size = Vector3.new(1, 1, 1)
  451. rng.Transparency = 0.8
  452. rng.TopSurface = 0
  453. rng.BottomSurface = 0
  454. rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
  455. --rng.Rotation = Vector3.new(math.pi/2,0,0)
  456. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  457. local rngm = Instance.new("SpecialMesh", rng)
  458. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  459. rngm.Scale = Vector3.new(1, 1.3, 2)
  460. local rng1 = Instance.new("Part", char)
  461. rng1.Anchored = true
  462. rng1.BrickColor = BrickColor.new("Institutional white")
  463. rng1.CanCollide = false
  464. rng1.FormFactor = 3
  465. rng1.Name = "Ring"
  466. rng1.Size = Vector3.new(1, 1, 1)
  467. rng1.Transparency = 0.8
  468. rng1.TopSurface = 0
  469. rng1.BottomSurface = 0
  470. rng1.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
  471. --rng1.Rotation = Vector3.new(math.pi/2,0,0)
  472. rng1.CFrame = rng1.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  473. local rngm1 = Instance.new("SpecialMesh", rng1)
  474. rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017"
  475. rngm1.Scale = Vector3.new(1, 1.3, 2)
  476.  
  477. local p = (torso.CFrame*CFrame.new(-20,0,3))
  478. stream(p.p,((p*Vector3.new(-0.7,0,1))-p.p).unit,90,5) -- 20 is number of parts, 6 is distance between each one
  479. local p = (torso.CFrame*CFrame.new(20,0,3))
  480. stream(p.p,((p*Vector3.new(0.7,0,1))-p.p).unit,90,5) -- same here
  481.  
  482. local rng2 = Instance.new("Part", char)
  483. rng2.Anchored = true
  484. rng2.BrickColor = BrickColor.new("Institutional white")
  485. rng2.CanCollide = false
  486. rng2.FormFactor = 3
  487. rng2.Name = "Ring"
  488. rng2.Size = Vector3.new(1, 1, 1)
  489. rng2.Transparency = 0.8
  490. rng2.TopSurface = 0
  491. rng2.BottomSurface = 0
  492. rng2.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
  493. --rng1.Rotation = Vector3.new(math.pi/2,0,0)
  494. rng2.CFrame = rng2.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  495. local rngm2 = Instance.new("SpecialMesh", rng2)
  496. rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  497. rngm2.Scale = Vector3.new(1, 1.3, 2)
  498. wait(0.1)
  499.  
  500. boom3:Play()
  501. coroutine.wrap(function()
  502. for i = 1, 35, 0.5 do
  503.  
  504.  
  505.  
  506.  
  507.  
  508. rngm.Scale = Vector3.new(50 + i*2, 10 + i*2, 2.5+ i*4)
  509. rngm1.Scale = Vector3.new(50 + i*2, 1.4 + i*2, 1.4+ i*4)
  510. rngm2.Scale = Vector3.new(50 + i*2, 10 + i*2, 1.2+ i*4)
  511.  
  512. wait()
  513. end
  514. wait()
  515. rng:Destroy()
  516. rng1:Destroy()
  517. rng2:Destroy()
  518. killbrick2:Remove()
  519. wait(0.5)
  520. char.Torso["Left Shoulder"].C0 = org
  521. wait(1)
  522. punch2 = true
  523. punch = true
  524. wait()
  525.  
  526.  
  527. end)()
  528.  
  529.  
  530.  
  531. end
  532.  
  533.  
  534. wait(.1)
  535.  
  536.  
  537. end
  538. end)
  539.  
  540.  
  541.  
  542.  
  543.  
  544. m.KeyDown:connect(function(key)
  545. if key == "k" then
  546. if punch == true then
  547. punch = false
  548. org = char.Torso["Left Shoulder"].C0
  549. char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90))
  550. killbrick = Instance.new("Part",char)
  551. killbrick.Size = Vector3.new(5,1,5)
  552. killbrick.Transparency = 1
  553. killbrick:BreakJoints()
  554. killbrick.CanCollide = false
  555. local wel = Instance.new("Weld",killbrick)
  556. wel.Part0 = killbrick
  557. wel.Part1 = char["Left Arm"]
  558. wel.C0 = CFrame.new(0,1,0)
  559. force = 90
  560.  
  561. killbrick.Touched:connect(function(h)
  562. local x = h.Parent.Humanoid
  563. if x.Health >= 6000 then
  564. fling = false
  565. end
  566. if x.Health < 6000 then
  567. fling = true
  568. end
  569. local stop = h.Parent.Torso.Velocity
  570. if x.Parent.Name == game.Players.LocalPlayer.Name then
  571. safe = true
  572. else safe = false
  573. end
  574. if x then
  575. if safe == false then
  576. if fling == true then
  577. force = 900
  578.  
  579. end
  580. if fling == false then
  581. force = 200
  582. end
  583.  
  584.  
  585. h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * force
  586. local bodyforc = Instance.new("BodyForce", h.Parent.Torso)
  587. boom:Play()
  588. bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0)
  589.  
  590.  
  591. wait(0.2)
  592. x:TakeDamage(5000)
  593. wait()
  594. safe = true
  595. bodyforc:Remove()
  596. h.Parent.Torso.Velocity = stop
  597.  
  598. end
  599. end
  600. end)
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611. local rng = Instance.new("Part", char)
  612. rng.Anchored = true
  613. rng.BrickColor = BrickColor.new("Institutional white")
  614. rng.CanCollide = false
  615. rng.FormFactor = 3
  616. rng.Name = "Ring"
  617. rng.Size = Vector3.new(1, 1, 1)
  618. rng.Transparency = 0.8
  619. rng.TopSurface = 0
  620. rng.BottomSurface = 0
  621. rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
  622. --rng.Rotation = Vector3.new(math.pi/2,0,0)
  623. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  624. local rngm = Instance.new("SpecialMesh", rng)
  625. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  626. rngm.Scale = Vector3.new(1, 1.3, 2)
  627. wait(0.1)
  628.  
  629. boom2:Play()
  630. coroutine.wrap(function()
  631. for i = 1, 10, .4 do
  632. rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
  633.  
  634. wait()
  635. end
  636. wait()
  637. rng:Destroy()
  638. killbrick:Remove()
  639. wait(0.5)
  640. char.Torso["Left Shoulder"].C0 = org
  641. wait(1)
  642.  
  643. punch = true
  644. wait()
  645. end)()
  646.  
  647.  
  648.  
  649. end
  650.  
  651.  
  652. wait(.1)
  653.  
  654.  
  655. end
  656. end)
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671. m.KeyDown:connect(function(key)
  672. if key == "m" then
  673. if jump == true then
  674. jump = false
  675.  
  676.  
  677. local rng = Instance.new("Part", char)
  678. rng.Anchored = true
  679. rng.BrickColor = BrickColor.new("Institutional white")
  680. rng.CanCollide = false
  681. rng.FormFactor = 3
  682. rng.Name = "Ring"
  683. rng.Size = Vector3.new(1, 1, 1)
  684. rng.Transparency = 0.35
  685. rng.TopSurface = 0
  686. rng.BottomSurface = 0
  687. rng.Position = torso.Position - Vector3.new(0,2,0)
  688. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  689. local rngm = Instance.new("SpecialMesh", rng)
  690. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  691. rngm.Scale = Vector3.new(1, 1.3, 2)
  692. wait(0.1)
  693. BV = Instance.new("BodyVelocity", torso)
  694. BV.maxForce = Vector3.new(0,20000,0)
  695. BV.P = 1000
  696. BV.velocity = Vector3.new(0,100,0)
  697. boom:Play()
  698. coroutine.wrap(function()
  699. for i = 1, 60, 2 do
  700. rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
  701. rng.Transparency = i/60
  702. wait()
  703. end
  704. wait()
  705. rng:Destroy()
  706.  
  707. hum.WalkSpeed = 50
  708. wait(1)
  709.  
  710. for i,v in pairs(torso:GetChildren()) do if v:IsA("BodyVelocity") then
  711. v:Destroy() jumping2 = true falling = true wait(0.3) jumping2 = false falling = false wait(1.7) jump = true hum.WalkSpeed = 16 falling = false
  712. end end
  713. wait()
  714. end)()
  715.  
  716.  
  717.  
  718. end
  719.  
  720.  
  721. wait(.1)
  722.  
  723.  
  724. end
  725. end)
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732. m.KeyDown:connect(function(key)
  733. if key == "n" then
  734.  
  735. if falling == true then
  736. falling = false
  737. if jumping2 == true then
  738. jumping2 = false
  739. jump = false
  740. BV = Instance.new("BodyVelocity", torso)
  741. BV.maxForce = Vector3.new(0,-20000,0)
  742. BV.P = -1000
  743. BV.velocity = Vector3.new(0,-70,0)
  744. wait(0.6)
  745. local rng = Instance.new("Part", char)
  746. rng.Anchored = true
  747. rng.BrickColor = BrickColor.new("Institutional white")
  748. rng.CanCollide = false
  749. rng.FormFactor = 3
  750. rng.Name = "Ring"
  751. rng.Size = Vector3.new(1, 1, 1)
  752. rng.Transparency = 0.35
  753. rng.TopSurface = 0
  754. rng.BottomSurface = 0
  755. rng.Position = torso.Position - Vector3.new(0,2,0)
  756. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  757. local rngm = Instance.new("SpecialMesh", rng)
  758. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  759. rngm.Scale = Vector3.new(1, 1.3, 2)
  760.  
  761.  
  762. boom:Play()
  763. coroutine.wrap(function()
  764. for i = 1, 60, 2 do
  765. rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
  766. rng.Transparency = i/60
  767. wait()
  768. end
  769. wait()
  770. rng:Destroy()
  771.  
  772.  
  773.  
  774.  
  775. for i,v in pairs(torso:GetChildren()) do if v:IsA("BodyVelocity") then
  776. v:Destroy() wait(2) jumping2 = true hum.WalkSpeed = 16
  777. end end
  778. wait()
  779. end)()
  780.  
  781.  
  782.  
  783. end
  784.  
  785.  
  786. wait(.1)
  787.  
  788. end
  789. end
  790. end)
  791. m.KeyDown:connect(function(k)
  792. if k == "f" then
  793. asd3:Stop()
  794. asd2:Stop()
  795. asd4:Stop()
  796. asd6:Stop()
  797. asd5:Stop()
  798. end
  799. end)
  800. ------------
  801. -- ~CLarramore 2016
  802. --[[
  803. User: TheDarkRevenant
  804. Script: DSSJ3
  805. Pass: QNAh3g8U
  806.  
  807. ]]
  808.  
  809. local p = game.Players.LocalPlayer
  810. local char = p.Character
  811. local mouse = p:GetMouse()
  812. local larm = char["Left Arm"]
  813. local rarm = char["Right Arm"]
  814. local lleg = char["Left Leg"]
  815. local rleg = char["Right Leg"]
  816. local hed = char.Head
  817. local torso = char.Torso
  818. local hum = char.Humanoid
  819. local cam = game.Workspace.CurrentCamera
  820. local root = char.HumanoidRootPart
  821. local deb = false
  822. local shot = 0
  823. local debris=game:service"Debris"
  824. local l = game:GetService("Lighting")
  825. local rs = game:GetService("RunService").RenderStepped
  826. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  827. math.randomseed(os.time())
  828. for i,v in pairs(char:children()) do
  829. if v:IsA("Hat") then
  830. v:Destroy()
  831. end
  832. end
  833. for i,v in pairs (hed:GetChildren()) do
  834. if v:IsA("Sound") then
  835. v:Destroy()
  836. end
  837. end
  838. ----------------------------------------------------
  839. Debounces = {
  840. CanAttack = true;
  841. NoIdl = false;
  842. Slashing = false;
  843. Slashed = false;
  844. RPunch = false;
  845. RPunched = false;
  846. LPunch = false;
  847. LPunched = false;
  848. }
  849. local Touche = {char.Name, }
  850. ----------------------------------------------------
  851. hed.face.Texture = "rbxassetid://34668268"
  852. char["Body Colors"].HeadColor = BrickColor.new("Pastel brown")
  853. char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown")
  854. char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown")
  855. char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown")
  856. ----------------------------------------------------
  857. ypcall(function()
  858. char.Shirt:Destroy()
  859. char.Pants:Destroy()
  860. shirt = Instance.new("Shirt", char)
  861. shirt.Name = "Shirt"
  862. pants = Instance.new("Pants", char)
  863. pants.Name = "Pants"
  864. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=236410507"
  865. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=236412261"
  866. end)
  867. ----------------------------------------------------
  868. function lerp(a, b, t) -- Linear interpolation
  869. return a + (b - a)*t
  870. end
  871.  
  872. function slerp(a, b, t) --Spherical interpolation
  873. dot = a:Dot(b)
  874. if dot > 0.99999 or dot < -0.99999 then
  875. return t <= 0.5 and a or b
  876. else
  877. r = math.acos(dot)
  878. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  879. end
  880. end
  881.  
  882. function matrixInterpolate(a, b, t)
  883. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  884. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  885. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  886. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  887. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  888. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  889. local t = v1:Dot(v2)
  890. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  891. return CFrame.new()
  892. end
  893. return CFrame.new(
  894. v0.x, v0.y, v0.z,
  895. v1.x, v1.y, v1.z,
  896. v2.x, v2.y, v2.z,
  897. v3.x, v3.y, v3.z)
  898. end
  899. ----------------------------------------------------
  900. function genWeld(a,b)
  901. local w = Instance.new("Weld",a)
  902. w.Part0 = a
  903. w.Part1 = b
  904. return w
  905. end
  906. function weld(a, b)
  907. local weld = Instance.new("Weld")
  908. weld.Name = "W"
  909. weld.Part0 = a
  910. weld.Part1 = b
  911. weld.C0 = a.CFrame:inverse() * b.CFrame
  912. weld.Parent = a
  913. return weld;
  914. end
  915. ----------------------------------------------------
  916. function Lerp(c1,c2,al)
  917. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  918. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  919. for i,v in pairs(com1) do
  920. com1[i] = v+(com2[i]-v)*al
  921. end
  922. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  923. end
  924. ----------------------------------------------------
  925. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  926. local wld = Instance.new("Weld", wp1)
  927. wld.Part0 = wp0
  928. wld.Part1 = wp1
  929. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  930. end
  931. ----------------------------------------------------
  932. function weld5(part0, part1, c0, c1)
  933. weeld=Instance.new("Weld", part0)
  934. weeld.Part0=part0
  935. weeld.Part1=part1
  936. weeld.C0=c0
  937. weeld.C1=c1
  938. return weeld
  939. end
  940. ----------------------------------------------------
  941. function HasntTouched(plrname)
  942. local ret = true
  943. for _, v in pairs(Touche) do
  944. if v == plrname then
  945. ret = false
  946. end
  947. end
  948. return ret
  949. end
  950. ----------------------------------------------------
  951. newWeld(torso, larm, -1.5, 0.5, 0)
  952. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  953. newWeld(torso, rarm, 1.5, 0.5, 0)
  954. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  955. newWeld(torso, hed, 0, 1.5, 0)
  956. newWeld(torso, lleg, -0.5, -1, 0)
  957. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  958. newWeld(torso, rleg, 0.5, -1, 0)
  959. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  960. newWeld(root, torso, 0, -1, 0)
  961. torso.Weld.C1 = CFrame.new(0, -1, 0)
  962. ----------------------------------------------------
  963. z = Instance.new("Sound", char)
  964. z.SoundId = "rbxassetid://282572614"--303570180
  965. z.Looped = true
  966. z.Pitch = 1
  967. z.Volume = 1
  968. wait(.1)
  969. z:Play()
  970. ----------------------------------------------------
  971. local Transforming = true
  972. hum.WalkSpeed = 0
  973. local fx = Instance.new("Part",torso)
  974. fx.Anchored = true
  975. fx.Material = "Neon"
  976. fx.CanCollide = false
  977. fx.Locked = true
  978. fx.Transparency = 1
  979. fx.Material = "SmoothPlastic"
  980. fx.Size = Vector3.new(1,1,1)
  981. fx.TopSurface = "SmoothNoOutlines"
  982. fx.BottomSurface = "SmoothNoOutlines"
  983. fx.BrickColor = BrickColor.new("Really black")
  984. fxm = Instance.new("SpecialMesh",fx)
  985. fxm.MeshType = "Sphere"
  986. fxm.Scale = Vector3.new(1,1,1)
  987. for i = 1, 20 do rs:wait()
  988. fx.Transparency = fx.Transparency - (1/20)
  989. fx.CFrame = torso.CFrame
  990. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  991. rs:wait()
  992. end
  993. ----------------------------------------------------
  994. local m = Instance.new("Model")
  995. m.Name = "Hair"
  996. p1 = Instance.new("Part", m)
  997. p1.BrickColor = BrickColor.new("Really black")
  998. p1.FormFactor = Enum.FormFactor.Symmetric
  999. p1.Size = Vector3.new(1, 1, 1)
  1000. p1.CFrame = CFrame.new(-2.49043155, 8.24595642, -3.40113306, -5.48362732e-006, -0.978699088, 0.205299795, 3.27825546e-007, -0.205299854, -0.978699148, 1, -5.28991222e-006, 1.48639083e-006)
  1001. p1.CanCollide = false
  1002. p1.Locked = true
  1003. p1.BottomSurface = Enum.SurfaceType.Smooth
  1004. p1.TopSurface = Enum.SurfaceType.Smooth
  1005. b1 = Instance.new("SpecialMesh", p1)
  1006. b1.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1007. b1.TextureId = ""
  1008. b1.MeshType = Enum.MeshType.FileMesh
  1009. b1.Name = "Mesh"
  1010. b1.VertexColor = Vector3.new(0, 0, 0)
  1011. b1.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  1012. p2 = Instance.new("Part", m)
  1013. p2.BrickColor = BrickColor.new("Pastel brown")
  1014. p2.Transparency = 1
  1015. p2.Name = "Head"
  1016. p2.FormFactor = Enum.FormFactor.Symmetric
  1017. p2.Size = Vector3.new(2, 1, 1)
  1018. p2.CFrame = CFrame.new(-1.70008016, 8.14794922, -3.40013027, 4.24603923e-006, 7.4505806e-008, -1, -1.50268988e-007, 1, 1.49011612e-008, 1.00000012, 6.79109462e-008, 4.23316806e-006)
  1019. p2.CanCollide = false
  1020. p2.Locked = true
  1021. p2.TopSurface = Enum.SurfaceType.Smooth
  1022. b2 = Instance.new("SpecialMesh", p2)
  1023. b2.MeshType = Enum.MeshType.Head
  1024. b2.Name = "Mesh"
  1025. b2.Scale = Vector3.new(1.25, 1.25, 1.25)
  1026. p3 = Instance.new("Part", m)
  1027. p3.BrickColor = BrickColor.new("Really black")
  1028. p3.FormFactor = Enum.FormFactor.Symmetric
  1029. p3.Size = Vector3.new(2, 2, 2)
  1030. p3.CFrame = CFrame.new(-1.70003617, 8.71796131, -3.4000442, 2.57710985e-006, 6.95607483e-008, -1.00000012, -1.20466638e-007, 1, 9.95640903e-009, 1.00000024, 3.81086345e-008, 2.56423846e-006)
  1031. p3.CanCollide = false
  1032. p3.Locked = true
  1033. p3.BottomSurface = Enum.SurfaceType.Smooth
  1034. p3.TopSurface = Enum.SurfaceType.Smooth
  1035. b3 = Instance.new("SpecialMesh", p3)
  1036. b3.MeshId = "http://www.roblox.com/asset/?id=16627529"
  1037. b3.TextureId = ""
  1038. b3.MeshType = Enum.MeshType.FileMesh
  1039. b3.Name = "Mesh"
  1040. b3.VertexColor = Vector3.new(0, 0, 0)
  1041. b3.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  1042. p4 = Instance.new("Part", m)
  1043. p4.BrickColor = BrickColor.new("Really black")
  1044. p4.FormFactor = Enum.FormFactor.Symmetric
  1045. p4.Size = Vector3.new(1, 1, 1)
  1046. p4.CFrame = CFrame.new(-1.77981007, 8.84795475, -3.40016508, 5.79576135e-006, 7.9450956e-008, -1.00000012, -1.80071311e-007, 1, 1.98458743e-008, 1.00000024, 9.77132402e-008, 5.78289018e-006)
  1047. p4.CanCollide = false
  1048. p4.Locked = true
  1049. p4.BottomSurface = Enum.SurfaceType.Smooth
  1050. p4.TopSurface = Enum.SurfaceType.Smooth
  1051. b4 = Instance.new("SpecialMesh", p4)
  1052. b4.MeshId = "http://www.roblox.com/asset/?id=19326912"
  1053. b4.TextureId = ""
  1054. b4.MeshType = Enum.MeshType.FileMesh
  1055. b4.Name = "Mesh"
  1056. b4.VertexColor = Vector3.new(0, 0, 0)
  1057. p5 = Instance.new("Part", m)
  1058. p5.BrickColor = BrickColor.new("Really black")
  1059. p5.FormFactor = Enum.FormFactor.Symmetric
  1060. p5.Size = Vector3.new(1, 1, 1)
  1061. p5.CFrame = CFrame.new(-1.70003772, 8.46796131, -3.40004301, -3.43517968e-007, 2.98088111e-007, -1, -1.00421907e-007, 1, 2.38484063e-007, 1.00000012, 1.80640072e-008, -3.56389592e-007)
  1062. p5.CanCollide = false
  1063. p5.Locked = true
  1064. p5.BottomSurface = Enum.SurfaceType.Smooth
  1065. p5.TopSurface = Enum.SurfaceType.Smooth
  1066. b5 = Instance.new("SpecialMesh", p5)
  1067. b5.MeshId = "http://www.roblox.com/asset/?id=45916884"
  1068. b5.TextureId = ""
  1069. b5.MeshType = Enum.MeshType.FileMesh
  1070. b5.Name = "Mesh"
  1071. b5.VertexColor = Vector3.new(0, 0, 0)
  1072. b5.Scale = Vector3.new(1, 0.899999976, 1)
  1073. p6 = Instance.new("Part", m)
  1074. p6.BrickColor = BrickColor.new("Really black")
  1075. p6.FormFactor = Enum.FormFactor.Symmetric
  1076. p6.Size = Vector3.new(1, 1, 1)
  1077. p6.CFrame = CFrame.new(-1.89967656, 8.58795834, -3.44990659, -5.81936433e-007, 5.36502284e-007, -0.99999994, -1.3998249e-007, 1, 4.76898265e-007, 1, 5.76247672e-008, -5.94808171e-007)
  1078. p6.CanCollide = false
  1079. p6.Locked = true
  1080. p6.BottomSurface = Enum.SurfaceType.Smooth
  1081. p6.TopSurface = Enum.SurfaceType.Smooth
  1082. b6 = Instance.new("SpecialMesh", p6)
  1083. b6.MeshId = "http://www.roblox.com/asset/?id=62246019"
  1084. b6.TextureId = ""
  1085. b6.MeshType = Enum.MeshType.FileMesh
  1086. b6.Name = "Mesh"
  1087. b6.VertexColor = Vector3.new(0, 0, 0)
  1088. p7 = Instance.new("Part", m)
  1089. p7.BrickColor = BrickColor.new("Really black")
  1090. p7.FormFactor = Enum.FormFactor.Symmetric
  1091. p7.Size = Vector3.new(1, 1, 1)
  1092. p7.CFrame = CFrame.new(-1.89918542, 8.31796837, -3.50097537, -4.62727087e-007, 5.36502228e-007, -0.999999881, -1.39982518e-007, 1, 4.76898208e-007, 0.99999994, 5.76247459e-008, -4.75598938e-007)
  1093. p7.CanCollide = false
  1094. p7.Locked = true
  1095. p7.BottomSurface = Enum.SurfaceType.Smooth
  1096. p7.TopSurface = Enum.SurfaceType.Smooth
  1097. b7 = Instance.new("SpecialMesh", p7)
  1098. b7.MeshId = "http://www.roblox.com/asset/?id=76056263"
  1099. b7.TextureId = ""
  1100. b7.MeshType = Enum.MeshType.FileMesh
  1101. b7.Name = "Mesh"
  1102. b7.VertexColor = Vector3.new(0, 0, 0)
  1103. p8 = Instance.new("Part", m)
  1104. p8.BrickColor = BrickColor.new("Really black")
  1105. p8.FormFactor = Enum.FormFactor.Symmetric
  1106. p8.Size = Vector3.new(1, 1, 1)
  1107. p8.CFrame = CFrame.new(-2.62433338, 7.66397905, -3.4010179, -1.17798254e-006, -0.805111349, 0.593123376, -2.5008859e-007, -0.593123615, -0.805111527, 0.999999881, -9.58229293e-007, 4.4941558e-007)
  1108. p8.CanCollide = false
  1109. p8.Locked = true
  1110. p8.BottomSurface = Enum.SurfaceType.Smooth
  1111. p8.TopSurface = Enum.SurfaceType.Smooth
  1112. b8 = Instance.new("SpecialMesh", p8)
  1113. b8.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1114. b8.TextureId = ""
  1115. b8.MeshType = Enum.MeshType.FileMesh
  1116. b8.Name = "Mesh"
  1117. b8.VertexColor = Vector3.new(0, 0, 0)
  1118. b8.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  1119. p9 = Instance.new("Part", m)
  1120. p9.BrickColor = BrickColor.new("Really black")
  1121. p9.FormFactor = Enum.FormFactor.Symmetric
  1122. p9.Size = Vector3.new(2, 1, 2)
  1123. p9.CFrame = CFrame.new(-1.76505995, 8.56096649, -3.40065479, -9.73168881e-007, -0.0995008349, -0.995037436, -1.70322267e-007, 0.995037675, -0.0995009243, 1, 1.13823972e-007, -6.80968242e-007)
  1124. p9.CanCollide = false
  1125. p9.Locked = true
  1126. p9.BottomSurface = Enum.SurfaceType.Smooth
  1127. p9.TopSurface = Enum.SurfaceType.Smooth
  1128. b9 = Instance.new("SpecialMesh", p9)
  1129. b9.MeshId = "http://www.roblox.com/asset/?id=12259089"
  1130. b9.TextureId = ""
  1131. b9.MeshType = Enum.MeshType.FileMesh
  1132. b9.Name = "Mesh"
  1133. b9.VertexColor = Vector3.new(0, 0, 0)
  1134. b9.Scale = Vector3.new(1.01999998, 1.04999995, 1.04999995)
  1135. p10 = Instance.new("Part", m)
  1136. p10.BrickColor = BrickColor.new("Really black")
  1137. p10.FormFactor = Enum.FormFactor.Symmetric
  1138. p10.Size = Vector3.new(1, 1, 1)
  1139. p10.CFrame = CFrame.new(-2.0207715, 9.06097031, -3.39961624, -1.10652763e-006, -0.683569431, -0.729885519, -2.85231891e-007, 0.729885638, -0.68356967, 1.00000012, -3.22293062e-007, -8.40051371e-007)
  1140. p10.CanCollide = false
  1141. p10.Locked = true
  1142. p10.BottomSurface = Enum.SurfaceType.Smooth
  1143. p10.TopSurface = Enum.SurfaceType.Smooth
  1144. b10 = Instance.new("SpecialMesh", p10)
  1145. b10.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1146. b10.TextureId = ""
  1147. b10.MeshType = Enum.MeshType.FileMesh
  1148. b10.Name = "Mesh"
  1149. b10.VertexColor = Vector3.new(0, 0, 0)
  1150. b10.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  1151. p11 = Instance.new("Part", m)
  1152. p11.BrickColor = BrickColor.new("Really black")
  1153. p11.FormFactor = Enum.FormFactor.Symmetric
  1154. p11.Size = Vector3.new(1, 1, 1)
  1155. p11.CFrame = CFrame.new(-2.16468835, 8.78595829, -3.40089417, -1.41617738e-006, -0.989475727, -0.144699216, -4.36450762e-007, 0.144699067, -0.989476085, 1.00000024, -9.47996682e-007, -7.38401468e-007)
  1156. p11.CanCollide = false
  1157. p11.Locked = true
  1158. p11.BottomSurface = Enum.SurfaceType.Smooth
  1159. p11.TopSurface = Enum.SurfaceType.Smooth
  1160. b11 = Instance.new("SpecialMesh", p11)
  1161. b11.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1162. b11.TextureId = ""
  1163. b11.MeshType = Enum.MeshType.FileMesh
  1164. b11.Name = "Mesh"
  1165. b11.VertexColor = Vector3.new(0, 0, 0)
  1166. b11.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  1167. p12 = Instance.new("Part", m)
  1168. p12.BrickColor = BrickColor.new("Really black")
  1169. p12.FormFactor = Enum.FormFactor.Custom
  1170. p12.Size = Vector3.new(1, 3.5, 1)
  1171. p12.CFrame = CFrame.new(-3.74216318, 6.74288082, -3.40101933, -1.20476273e-006, -0.553697288, 0.832718134, -3.31002866e-007, -0.832718611, -0.553697169, 1.00000036, -8.7345768e-007, 3.69213154e-007)
  1172. p12.CanCollide = false
  1173. p12.Locked = true
  1174. p12.BottomSurface = Enum.SurfaceType.Smooth
  1175. p12.TopSurface = Enum.SurfaceType.Smooth
  1176. b12 = Instance.new("SpecialMesh", p12)
  1177. b12.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1178. b12.TextureId = ""
  1179. b12.MeshType = Enum.MeshType.FileMesh
  1180. b12.Name = "Mesh"
  1181. b12.VertexColor = Vector3.new(0, 0, 0)
  1182. b12.Scale = Vector3.new(1, 3, 1.29999995)
  1183. p13 = Instance.new("Part", m)
  1184. p13.BrickColor = BrickColor.new("Really black")
  1185. p13.FormFactor = Enum.FormFactor.Custom
  1186. p13.Size = Vector3.new(1, 2, 1)
  1187. p13.CFrame = CFrame.new(-3.32689047, 6.86741829, -3.40101862, -9.81709945e-007, -0.319307148, 0.947651446, -5.6545997e-007, -0.947651923, -0.31930691, 1.00000048, -8.39551717e-007, 1.79318391e-007)
  1188. p13.CanCollide = false
  1189. p13.Locked = true
  1190. p13.BottomSurface = Enum.SurfaceType.Smooth
  1191. p13.TopSurface = Enum.SurfaceType.Smooth
  1192. b13 = Instance.new("SpecialMesh", p13)
  1193. b13.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1194. b13.TextureId = ""
  1195. b13.MeshType = Enum.MeshType.FileMesh
  1196. b13.Name = "Mesh"
  1197. b13.VertexColor = Vector3.new(0, 0, 0)
  1198. b13.Scale = Vector3.new(1, 3, 1.29999995)
  1199. p14 = Instance.new("Part", m)
  1200. p14.BrickColor = BrickColor.new("Really black")
  1201. p14.FormFactor = Enum.FormFactor.Custom
  1202. p14.Size = Vector3.new(1, 2, 1)
  1203. p14.CFrame = CFrame.new(-3.02689028, 7.96740961, -3.40101862, -1.33478545e-006, -0.750354111, 0.661036491, -5.20037702e-008, -0.661037207, -0.750354171, 1.0000006, -6.31296757e-007, 2.01137496e-007)
  1204. p14.CanCollide = false
  1205. p14.Locked = true
  1206. p14.BottomSurface = Enum.SurfaceType.Smooth
  1207. p14.TopSurface = Enum.SurfaceType.Smooth
  1208. b14 = Instance.new("SpecialMesh", p14)
  1209. b14.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1210. b14.TextureId = ""
  1211. b14.MeshType = Enum.MeshType.FileMesh
  1212. b14.Name = "Mesh"
  1213. b14.VertexColor = Vector3.new(0, 0, 0)
  1214. b14.Scale = Vector3.new(1, 3, 1.29999995)
  1215. p15 = Instance.new("Part", m)
  1216. p15.BrickColor = BrickColor.new("Really black")
  1217. p15.FormFactor = Enum.FormFactor.Custom
  1218. p15.Size = Vector3.new(1, 2.5, 1)
  1219. p15.CFrame = CFrame.new(-2.96531463, 7.75924349, -2.90101862, 0.342019022, -0.520305753, 0.782499552, -1.1920929e-007, -0.832718909, -0.553697407, 0.939693451, 0.189374983, -0.284806281)
  1220. p15.CanCollide = false
  1221. p15.Locked = true
  1222. p15.BottomSurface = Enum.SurfaceType.Smooth
  1223. p15.TopSurface = Enum.SurfaceType.Smooth
  1224. b15 = Instance.new("SpecialMesh", p15)
  1225. b15.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1226. b15.TextureId = ""
  1227. b15.MeshType = Enum.MeshType.FileMesh
  1228. b15.Name = "Mesh"
  1229. b15.VertexColor = Vector3.new(0, 0, 0)
  1230. b15.Scale = Vector3.new(1, 3, 1.29999995)
  1231. p16 = Instance.new("Part", m)
  1232. p16.BrickColor = BrickColor.new("Really black")
  1233. p16.FormFactor = Enum.FormFactor.Custom
  1234. p16.Size = Vector3.new(1, 2.5, 1)
  1235. p16.CFrame = CFrame.new(-2.96531439, 7.75924349, -3.80101967, -0.258820295, -0.534830391, 0.804343879, -1.78813934e-007, -0.832718968, -0.553697228, 0.96592629, -0.143308073, 0.215523779)
  1236. p16.CanCollide = false
  1237. p16.Locked = true
  1238. p16.BottomSurface = Enum.SurfaceType.Smooth
  1239. p16.TopSurface = Enum.SurfaceType.Smooth
  1240. b16 = Instance.new("SpecialMesh", p16)
  1241. b16.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1242. b16.TextureId = ""
  1243. b16.MeshType = Enum.MeshType.FileMesh
  1244. b16.Name = "Mesh"
  1245. b16.VertexColor = Vector3.new(0, 0, 0)
  1246. b16.Scale = Vector3.new(1, 3, 1.29999995)
  1247. p17 = Instance.new("Part", m)
  1248. p17.BrickColor = BrickColor.new("Really black")
  1249. p17.FormFactor = Enum.FormFactor.Custom
  1250. p17.Size = Vector3.new(1, 2.4000001, 1)
  1251. p17.CFrame = CFrame.new(-2.69075108, 7.07788849, -3.40101933, -1.13248825e-006, -0.319307148, 0.947651625, -1.1920929e-006, -0.947652161, -0.319306791, 1.0000006, -1.54972076e-006, 1.04308128e-007)
  1252. p17.CanCollide = false
  1253. p17.Locked = true
  1254. p17.BottomSurface = Enum.SurfaceType.Smooth
  1255. p17.TopSurface = Enum.SurfaceType.Smooth
  1256. b17 = Instance.new("SpecialMesh", p17)
  1257. b17.MeshId = "http://www.roblox.com/asset/?id=12212520"
  1258. b17.TextureId = ""
  1259. b17.MeshType = Enum.MeshType.FileMesh
  1260. b17.Name = "Mesh"
  1261. b17.VertexColor = Vector3.new(0, 0, 0)
  1262. b17.Scale = Vector3.new(1, 3, 1.29999995)
  1263. p18 = Instance.new("Part", m)
  1264. p18.BrickColor = BrickColor.new("Really black")
  1265. p18.FormFactor = Enum.FormFactor.Custom
  1266. p18.Size = Vector3.new(2, 2, 2)
  1267. p18.CFrame = CFrame.new(-1.70003319, 8.71796608, -3.40004444, -2.37434961e-006, 1.78813934e-007, 1.00000036, -2.35242567e-007, 1.00000072, 3.27825546e-007, -1.0000006, 7.95440158e-009, -2.91315405e-006)
  1268. p18.CanCollide = false
  1269. p18.Locked = true
  1270. p18.BottomSurface = Enum.SurfaceType.Smooth
  1271. p18.TopSurface = Enum.SurfaceType.Smooth
  1272. b18 = Instance.new("SpecialMesh", p18)
  1273. b18.MeshId = "http://www.roblox.com/asset/?id=16627529"
  1274. b18.TextureId = ""
  1275. b18.MeshType = Enum.MeshType.FileMesh
  1276. b18.Name = "Mesh"
  1277. b18.VertexColor = Vector3.new(0, 0, 0)
  1278. b18.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  1279. w1 = Instance.new("Weld", p1)
  1280. w1.Name = "Head_Weld"
  1281. w1.Part0 = p1
  1282. w1.C0 = CFrame.new(3.40111661, -0.744508088, 8.58160019, -5.48362732e-006, 3.27825546e-007, 1, -0.978699088, -0.205299854, -5.30481339e-006, 0.205299824, -0.978699148, 1.49011612e-006)
  1283. w1.Part1 = p2
  1284. w1.C1 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006)
  1285. w2 = Instance.new("Weld", p2)
  1286. w2.Name = "Part_Weld"
  1287. w2.Part0 = p2
  1288. w2.C0 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006)
  1289. w2.Part1 = p3
  1290. w2.C1 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006)
  1291. w3 = Instance.new("Weld", p3)
  1292. w3.Name = "Part_Weld"
  1293. w3.Part0 = p3
  1294. w3.C0 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006)
  1295. w3.Part1 = p4
  1296. w3.C1 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006)
  1297. w4 = Instance.new("Weld", p4)
  1298. w4.Name = "Part_Weld"
  1299. w4.Part0 = p4
  1300. w4.C0 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006)
  1301. w4.Part1 = p5
  1302. w4.C1 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007)
  1303. w5 = Instance.new("Weld", p5)
  1304. w5.Name = "Part_Weld"
  1305. w5.Part0 = p5
  1306. w5.C0 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007)
  1307. w5.Part1 = p6
  1308. w5.C1 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007)
  1309. w6 = Instance.new("Weld", p6)
  1310. w6.Name = "Part_Weld"
  1311. w6.Part0 = p6
  1312. w6.C0 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007)
  1313. w6.Part1 = p7
  1314. w6.C1 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007)
  1315. w7 = Instance.new("Weld", p7)
  1316. w7.Name = "Part_Weld"
  1317. w7.Part0 = p7
  1318. w7.C0 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007)
  1319. w7.Part1 = p8
  1320. w7.C1 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007)
  1321. w8 = Instance.new("Weld", p8)
  1322. w8.Name = "Part_Weld"
  1323. w8.Part0 = p8
  1324. w8.C0 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007)
  1325. w8.Part1 = p9
  1326. w8.C1 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007)
  1327. w9 = Instance.new("Weld", p9)
  1328. w9.Name = "Part_Weld"
  1329. w9.Part0 = p9
  1330. w9.C0 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007)
  1331. w9.Part1 = p10
  1332. w9.C1 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007)
  1333. w10 = Instance.new("Weld", p10)
  1334. w10.Name = "Part_Weld"
  1335. w10.Part0 = p10
  1336. w10.C0 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007)
  1337. w10.Part1 = p11
  1338. w10.C1 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007)
  1339. w11 = Instance.new("Weld", p11)
  1340. w11.Name = "Part_Weld"
  1341. w11.Part0 = p11
  1342. w11.C0 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007)
  1343. w11.Part1 = p12
  1344. w11.C1 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007)
  1345. w12 = Instance.new("Weld", p12)
  1346. w12.Name = "Part_Weld"
  1347. w12.Part0 = p12
  1348. w12.C0 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007)
  1349. w12.Part1 = p13
  1350. w12.C1 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007)
  1351. w13 = Instance.new("Weld", p13)
  1352. w13.Name = "Part_Weld"
  1353. w13.Part0 = p13
  1354. w13.C0 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007)
  1355. w13.Part1 = p14
  1356. w13.C1 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007)
  1357. w14 = Instance.new("Weld", p14)
  1358. w14.Name = "Part_Weld"
  1359. w14.Part0 = p14
  1360. w14.C0 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007)
  1361. w14.Part1 = p15
  1362. w14.C1 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775)
  1363. w15 = Instance.new("Weld", p15)
  1364. w15.Name = "Part_Weld"
  1365. w15.Part0 = p15
  1366. w15.C0 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775)
  1367. w15.Part1 = p16
  1368. w15.C1 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928)
  1369. w16 = Instance.new("Weld", p16)
  1370. w16.Name = "Part_Weld"
  1371. w16.Part0 = p16
  1372. w16.C0 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928)
  1373. w16.Part1 = p17
  1374. w16.C1 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007)
  1375. w17 = Instance.new("Weld", p17)
  1376. w17.Name = "Part_Weld"
  1377. w17.Part0 = p17
  1378. w17.C0 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007)
  1379. w17.Part1 = p18
  1380. w17.C1 = CFrame.new(-3.40004683, -8.71796036, 1.70002675, -2.6504224e-006, -7.89943471e-008, -1, -2.47197018e-008, 1, -7.89942831e-008, 1, 2.47194887e-008, -2.6504224e-006)
  1381. m.Parent = char
  1382. m:MakeJoints()
  1383. ----------------------------------------------------
  1384. local cor = Instance.new("Part", char.Hair)
  1385. cor.Name = "Link"
  1386. cor.Locked = true
  1387. cor.BottomSurface = 0
  1388. cor.CanCollide = false
  1389. cor.Size = Vector3.new(1, 9, 1)
  1390. cor.Transparency = 1
  1391. cor.TopSurface = 0
  1392. corw = Instance.new("Weld", cor)
  1393. corw.Part0 = hed
  1394. corw.Part1 = cor
  1395. corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1396. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1397. weld1 = Instance.new("Weld", char.Hair)
  1398. weld1.Part0 = cor
  1399. weld1.Part1 = char.Hair.Head
  1400. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1401. ----------------------------------------------------
  1402. GroundWave1 = function()
  1403. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1404. local Colors = {"Royal purple", "Really black"}
  1405. local wave = Instance.new("Part", torso)
  1406. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  1407. wave.Anchored = true
  1408. wave.CanCollide = false
  1409. wave.Locked = true
  1410. wave.Size = Vector3.new(1, 1, 1)
  1411. wave.TopSurface = "Smooth"
  1412. wave.BottomSurface = "Smooth"
  1413. wave.Transparency = 0.35
  1414. wave.CFrame = HandCF
  1415. wm = Instance.new("SpecialMesh", wave)
  1416. wm.MeshId = "rbxassetid://3270017"
  1417. coroutine.wrap(function()
  1418. for i = 1, 30, 1 do
  1419. wm.Scale = Vector3.new(1 + i*1.2, 1 + i*1.2, 1)
  1420. wave.Size = wm.Scale
  1421. wave.CFrame = HandCF
  1422. wave.Transparency = i/30
  1423. wait()
  1424. end
  1425. wait()
  1426. wave:Destroy()
  1427. end)()
  1428. end
  1429. ----------------------------------------------------
  1430. GroundWave = function()
  1431. if Transforming == true then
  1432. local wave = Instance.new("Part", torso)
  1433. wave.BrickColor = BrickColor.new("Really black")
  1434. wave.Anchored = true
  1435. wave.CanCollide = false
  1436. wave.Locked = true
  1437. wave.Size = Vector3.new(1, 1, 1)
  1438. wave.TopSurface = "Smooth"
  1439. wave.BottomSurface = "Smooth"
  1440. wave.Transparency = 0.35
  1441. wave.CFrame = fx.CFrame
  1442. wm = Instance.new("SpecialMesh", wave)
  1443. wm.MeshType = "Sphere"
  1444. wm.Scale = Vector3.new(1,1,1)
  1445. coroutine.wrap(function()
  1446. for i = 1, 18, 1 do
  1447. wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2)
  1448. --wave.Size = wm.Scale
  1449. wave.CFrame = fx.CFrame
  1450. wave.Transparency = i/14
  1451. wait()
  1452. end
  1453. wait()
  1454. wave:Destroy()
  1455. end)()
  1456. elseif Transforming == false then
  1457. wait()
  1458. end
  1459. end
  1460.  
  1461. for i = 1, 100 do rs:wait()
  1462. fx.CFrame = torso.CFrame
  1463. end
  1464.  
  1465. Spawn(function()
  1466. while wait(1) do
  1467. GroundWave()
  1468. end
  1469. end)
  1470.  
  1471. wait(4)
  1472.  
  1473. Transforming = false
  1474.  
  1475. for i = 1, 20 do rs:wait()
  1476. fx.Transparency = fx.Transparency + (1/20)
  1477. fx.CFrame = torso.CFrame
  1478. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  1479. rs:wait()
  1480. end
  1481.  
  1482. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1483. local wave = Instance.new("Part", torso)
  1484. wave.BrickColor = BrickColor.new("Institutional white")
  1485. wave.Anchored = true
  1486. wave.CanCollide = false
  1487. wave.Locked = true
  1488. wave.Size = Vector3.new(1, 1, 1)
  1489. wave.TopSurface = "Smooth"
  1490. wave.BottomSurface = "Smooth"
  1491. wave.Transparency = 0.35
  1492. wave.CFrame = HandCF
  1493. wm = Instance.new("SpecialMesh", wave)
  1494. wm.MeshId = "rbxassetid://3270017"
  1495. coroutine.wrap(function()
  1496. for i = 1, 14, 1 do
  1497. wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
  1498. wave.Size = wm.Scale
  1499. wave.CFrame = HandCF
  1500. wave.Transparency = i/14
  1501. wait()
  1502. end
  1503. wait()
  1504. wave:Destroy()
  1505. end)()
  1506. hum.WalkSpeed = 16
  1507. ----------------------------------------------------
  1508. Blast = function()
  1509. local Colors = {"Really red", "Really black"}
  1510. local wave = Instance.new("Part", torso)
  1511. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  1512. wave.Anchored = true
  1513. wave.CanCollide = false
  1514. wave.Locked = true
  1515. wave.Size = Vector3.new(1, 1, 1)
  1516. wave.TopSurface = "Smooth"
  1517. wave.BottomSurface = "Smooth"
  1518. wave.Transparency = 0.35
  1519. wave.CFrame = rarm.CFrame
  1520. wm = Instance.new("SpecialMesh", wave)
  1521. wm.MeshType = "Sphere"
  1522. wm.Scale = Vector3.new(1,1,1)
  1523. z = Instance.new("Sound",wave)
  1524. z.SoundId = "rbxassetid://237035051"
  1525. z.Volume = 1
  1526. z.Pitch = .9
  1527. z:Play()
  1528. coroutine.wrap(function()
  1529. for i = 1, 30, 1 do
  1530. wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4)
  1531. --wave.Size = wm.Scale
  1532. wave.CFrame = rarm.CFrame
  1533. wave.Transparency = (1/14)
  1534. rs:wait()
  1535. end
  1536. rs:wait()
  1537. wave:Destroy()
  1538. z:Destroy()
  1539. end)()
  1540. end
  1541. ----------------------------------------------------
  1542. rarm.Touched:connect(function(ht)
  1543. hit = ht.Parent
  1544. if ht and hit:IsA("Model") then
  1545. if hit:FindFirstChild("Humanoid") then
  1546. if hit.Name ~= p.Name then
  1547. if Debounces.RPunch == true and Debounces.RPunched == false then
  1548. Debounces.RPunched = true
  1549. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  1550. if Debounces.ks==true then
  1551. z = Instance.new("Sound",hed)
  1552. z.SoundId = "rbxassetid://169380525"
  1553. z.Pitch = ptz[math.random(1,#ptz)]
  1554. z.Volume = 1
  1555. z:Play()
  1556. end
  1557. wait(.2)
  1558. Debounces.RPunched = false
  1559. end
  1560. end
  1561. end
  1562. elseif ht and hit:IsA("Hat") then
  1563. if hit.Parent.Name ~= p.Name then
  1564. if hit.Parent:FindFirstChild("Humanoid") then
  1565. if Debounces.RPunch == true and Debounces.RPunched == false then
  1566. Debounces.RPunched = true
  1567. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  1568. if Debounces.ks==true then
  1569. z = Instance.new("Sound",hed)
  1570. z.SoundId = "rbxassetid://169380525"
  1571. z.Pitch = ptz[math.random(1,#ptz)]
  1572. z.Volume = 1
  1573. z:Play()
  1574. end
  1575. wait(.2)
  1576. Debounces.RPunched = false
  1577. end
  1578. end
  1579. end
  1580. end
  1581. end)
  1582. larm.Touched:connect(function(ht)
  1583. hit = ht.Parent
  1584. if ht and hit:IsA("Model") then
  1585. if hit:FindFirstChild("Humanoid") then
  1586. if hit.Name ~= p.Name then
  1587. if Debounces.LPunch == true and Debounces.LPunched == false then
  1588. Debounces.LPunched = true
  1589. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1590. if Debounces.ks2==true then
  1591. z = Instance.new("Sound",hed)
  1592. z.SoundId = "rbxassetid://169380525"
  1593. z.Pitch = ptz[math.random(1,#ptz)]
  1594. z.Volume = 1
  1595. z:Play()
  1596. end
  1597. wait(.2)
  1598. Debounces.LPunched = false
  1599. end
  1600. end
  1601. end
  1602. elseif ht and hit:IsA("Hat") then
  1603. if hit.Parent.Name ~= p.Name then
  1604. if hit.Parent:FindFirstChild("Humanoid") then
  1605. if Debounces.LPunch == true and Debounces.LPunched == false then
  1606. Debounces.LPunched = true
  1607. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1608. if Debounces.ks2==true then
  1609. z = Instance.new("Sound",hed)
  1610. z.SoundId = "rbxassetid://169380525"
  1611. z.Pitch = ptz[math.random(1,#ptz)]
  1612. z.Volume = 1
  1613. z:Play()
  1614. end
  1615. wait(.2)
  1616. Debounces.LPunched = false
  1617. end
  1618. end
  1619. end
  1620. end
  1621. end)
  1622. ----------------------------------------------------
  1623. mod4 = Instance.new("Model",char)
  1624.  
  1625. ptez = {0.7, 0.8, 0.9, 1}
  1626.  
  1627. function FindNearestTorso(Position,Distance,SinglePlayer)
  1628. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1629. local List = {}
  1630. for i,v in pairs(workspace:GetChildren())do
  1631. if v:IsA("Model")then
  1632. if v:findFirstChild("Torso")then
  1633. if v ~= char then
  1634. if(v.Torso.Position -Position).magnitude <= Distance then
  1635. table.insert(List,v)
  1636. end
  1637. end
  1638. end
  1639. end
  1640. end
  1641. return List
  1642. end
  1643.  
  1644. function Punch()
  1645. part=Instance.new('Part',mod4)
  1646. part.Anchored=true
  1647. part.CanCollide=false
  1648. part.FormFactor='Custom'
  1649. part.Size=Vector3.new(.2,.2,.2)
  1650. part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0)
  1651. part.Transparency=.7
  1652. part.BrickColor=BrickColor.new('Really black')
  1653. mesh=Instance.new('SpecialMesh',part)
  1654. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  1655. mesh.Scale=Vector3.new(3,3,3)
  1656. part2=Instance.new('Part',mod4)
  1657. part2.Anchored=true
  1658. part2.CanCollide=false
  1659. part2.FormFactor='Custom'
  1660. part2.Size=Vector3.new(.2,.2,.2)
  1661. part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0)
  1662. part2.Transparency=.7
  1663. part2.BrickColor=BrickColor.new('Really red')
  1664. mesh2=Instance.new('SpecialMesh',part2)
  1665. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  1666. mesh2.Scale=Vector3.new(3,1.5,3)
  1667. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  1668. if v:FindFirstChild('Humanoid') then
  1669. v.Humanoid:TakeDamage(math.random(2,6))
  1670. end
  1671. end
  1672. coroutine.resume(coroutine.create(function()
  1673. for i=0,0.62,0.4 do
  1674. wait()
  1675. part.CFrame=part.CFrame
  1676. part.Transparency=i
  1677. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  1678. part2.CFrame=part2.CFrame
  1679. part2.Transparency=i
  1680. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  1681. end
  1682. part.Parent=nil
  1683. part2.Parent=nil
  1684. end))
  1685. end
  1686. ----------------------------------------------------
  1687. rarm.Touched:connect(function(ht)
  1688. hit = ht.Parent
  1689. if ht and hit:IsA("Model") then
  1690. if hit:FindFirstChild("Humanoid") then
  1691. if hit.Name ~= p.Name then
  1692. if Debounces.RPunch == true and Debounces.RPunched == false then
  1693. Debounces.RPunched = true
  1694. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  1695. if Debounces.ks==true then
  1696. z = Instance.new("Sound",hed)
  1697. z.SoundId = "rbxassetid://169380525"
  1698. z.Pitch = ptz[math.random(1,#ptz)]
  1699. z.Volume = 1
  1700. z:Play()
  1701. end
  1702. wait(.2)
  1703. Debounces.RPunched = false
  1704. end
  1705. end
  1706. end
  1707. elseif ht and hit:IsA("Hat") then
  1708. if hit.Parent.Name ~= p.Name then
  1709. if hit.Parent:FindFirstChild("Humanoid") then
  1710. if Debounces.RPunch == true and Debounces.RPunched == false then
  1711. Debounces.RPunched = true
  1712. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  1713. if Debounces.ks==true then
  1714. z = Instance.new("Sound",hed)
  1715. z.SoundId = "rbxassetid://169380525"
  1716. z.Pitch = ptz[math.random(1,#ptz)]
  1717. z.Volume = 1
  1718. z:Play()
  1719. end
  1720. wait(.2)
  1721. Debounces.RPunched = false
  1722. end
  1723. end
  1724. end
  1725. end
  1726. end)
  1727. larm.Touched:connect(function(ht)
  1728. hit = ht.Parent
  1729. if ht and hit:IsA("Model") then
  1730. if hit:FindFirstChild("Humanoid") then
  1731. if hit.Name ~= p.Name then
  1732. if Debounces.LPunch == true and Debounces.LPunched == false then
  1733. Debounces.LPunched = true
  1734. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1735. if Debounces.ks2==true then
  1736. z = Instance.new("Sound",hed)
  1737. z.SoundId = "rbxassetid://169380525"
  1738. z.Pitch = ptz[math.random(1,#ptz)]
  1739. z.Volume = 1
  1740. z:Play()
  1741. end
  1742. wait(.2)
  1743. Debounces.LPunched = false
  1744. end
  1745. end
  1746. end
  1747. elseif ht and hit:IsA("Hat") then
  1748. if hit.Parent.Name ~= p.Name then
  1749. if hit.Parent:FindFirstChild("Humanoid") then
  1750. if Debounces.LPunch == true and Debounces.LPunched == false then
  1751. Debounces.LPunched = true
  1752. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1753. if Debounces.ks2==true then
  1754. z = Instance.new("Sound",hed)
  1755. z.SoundId = "rbxassetid://169380525"
  1756. z.Pitch = ptz[math.random(1,#ptz)]
  1757. z.Volume = 1
  1758. z:Play()
  1759. end
  1760. wait(.2)
  1761. Debounces.LPunched = false
  1762. end
  1763. end
  1764. end
  1765. end
  1766. end)
  1767. ----------------------------------------------------
  1768. local player = game.Players.LocalPlayer
  1769. local pchar = player.Character
  1770. local mouse = player:GetMouse()
  1771. local cam = workspace.CurrentCamera
  1772.  
  1773. local rad = math.rad
  1774.  
  1775. local keysDown = {}
  1776. local flySpeed = 0
  1777. local MAX_FLY_SPEED = 150
  1778.  
  1779. local canFly = false
  1780. local flyToggled = false
  1781.  
  1782. local forward, side = 0, 0
  1783. local lastForward, lastSide = 0, 0
  1784.  
  1785. local floatBP = Instance.new("BodyPosition")
  1786. floatBP.maxForce = Vector3.new(0, math.huge, 0)
  1787. local flyBV = Instance.new("BodyVelocity")
  1788. flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  1789. local turnBG = Instance.new("BodyGyro")
  1790. turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  1791.  
  1792. mouse.KeyDown:connect(function(key)
  1793. keysDown[key] = true
  1794.  
  1795. if key == "f" then
  1796. flyToggled = not flyToggled
  1797.  
  1798. if not flyToggled then
  1799. stanceToggle = "Normal"
  1800. floatBP.Parent = nil
  1801. flyBV.Parent = nil
  1802. turnBG.Parent = nil
  1803. root.Velocity = Vector3.new()
  1804. pchar.Humanoid.PlatformStand = false
  1805. end
  1806. end
  1807.  
  1808. end)
  1809. mouse.KeyUp:connect(function(key)
  1810. keysDown[key] = nil
  1811. end)
  1812.  
  1813. local function updateFly()
  1814.  
  1815. if not flyToggled then return end
  1816.  
  1817. lastForward = forward
  1818. lastSide = side
  1819.  
  1820. forward = 0
  1821. side = 0
  1822.  
  1823. if keysDown.w then
  1824. forward = forward + 1
  1825. end
  1826. if keysDown.s then
  1827. forward = forward - 1
  1828. end
  1829. if keysDown.a then
  1830. side = side - 1
  1831. end
  1832. if keysDown.d then
  1833. side = side + 1
  1834. end
  1835.  
  1836. canFly = (forward ~= 0 or side ~= 0)
  1837.  
  1838. if canFly then
  1839. stanceToggle = "Floating"
  1840. turnBG.Parent = root
  1841. floatBP.Parent = nil
  1842. flyBV.Parent = root
  1843.  
  1844. flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
  1845. if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
  1846. else
  1847. floatBP.position = root.Position
  1848. floatBP.Parent = root
  1849.  
  1850. flySpeed = flySpeed - 1
  1851. if flySpeed < 0 then flySpeed = 0 end
  1852. end
  1853.  
  1854. local camCF = cam.CoordinateFrame
  1855. local in_forward = canFly and forward or lastForward
  1856. local in_side = canFly and side or lastSide
  1857.  
  1858. flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,
  1859. in_forward * 0.2, 0).p) - camCF.p) * flySpeed
  1860.  
  1861. turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,
  1862. 0)
  1863. end
  1864.  
  1865. game:service'RunService'.RenderStepped:connect(function()
  1866. if flyToggled then
  1867. pchar.Humanoid.PlatformStand = true
  1868. end
  1869. updateFly()
  1870. end)
  1871. -------------------------------
  1872. mouse.KeyDown:connect(function(key)
  1873. if key == "q" then
  1874. if Debounces.CanAttack == true then
  1875. Debounces.CanAttack = false
  1876. Debounces.NoIdl = true
  1877. Debounces.on = true
  1878. function FindNearestTorso(Position,Distance,SinglePlayer)
  1879. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1880. local List = {}
  1881. for i,v in pairs(workspace:GetChildren())do
  1882. if v:IsA("Model")then
  1883. if v:findFirstChild("Torso")then
  1884. if v ~= char then
  1885. if(v.Torso.Position -Position).magnitude <= Distance then
  1886. table.insert(List,v)
  1887. end
  1888. end
  1889. end
  1890. end
  1891. end
  1892. return List
  1893. end
  1894. z = Instance.new("Sound",hed)
  1895. z.SoundId = "rbxassetid://232213955"
  1896. z.Pitch = 1
  1897. z.Volume = 1
  1898. wait(0.2)
  1899. z:Play()
  1900. sp = Instance.new("Part",rarm)
  1901. sp.Anchored = true
  1902. sp.CanCollide = false
  1903. sp.Locked = true
  1904. sp.Transparency = 0
  1905. sp.Material = "Neon"
  1906. sp.Size = Vector3.new(1,1,1)
  1907. sp.TopSurface = "SmoothNoOutlines"
  1908. sp.BottomSurface = "SmoothNoOutlines"
  1909. sp.BrickColor = BrickColor.new("Royal purple")
  1910. spm = Instance.new("SpecialMesh",sp)
  1911. spm.MeshType = "Sphere"
  1912. spm.Scale = Vector3.new(21,21,21)
  1913. sp2 = Instance.new("Part", rarm)
  1914. sp2.Name = "Energy"
  1915. sp2.BrickColor = BrickColor.new("Royal purple")
  1916. sp2.Size = Vector3.new(1, 1, 1)
  1917. sp2.Shape = "Ball"
  1918. sp2.CanCollide = false
  1919. sp2.Anchored = true
  1920. sp2.Locked = true
  1921. sp2.TopSurface = 0
  1922. sp2.BottomSurface = 0
  1923. sp2.Transparency = 1
  1924. spm2 = Instance.new("SpecialMesh",sp2)
  1925. spm2.MeshId = "rbxassetid://9982590"
  1926. spm2.Scale = Vector3.new(2,2,2)
  1927. for i = 1, 20 do
  1928. spm.Scale = spm.Scale - Vector3.new(1,1,1)
  1929. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1930. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4)
  1931. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4)
  1932. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  1933. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  1934. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1935. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1936. if Debounces.on == false then break end
  1937. rs:wait()
  1938. end
  1939. for i = 1, 100, 20 do rs:wait()
  1940. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1941. end
  1942. for i = 1, 20 do
  1943. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1944. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
  1945. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.4)
  1946. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4)
  1947. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4)
  1948. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1949. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1950. if Debounces.on == false then break end
  1951. rs:wait()
  1952. end
  1953. sp.Transparency = 1
  1954. for i = 1, 20 do
  1955. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
  1956. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.4)
  1957. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4)
  1958. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4)
  1959. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1960. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1961. if Debounces.on == false then break end
  1962. rs:wait()
  1963. end
  1964. wait(1)
  1965. sp.Transparency = 0
  1966. sp2.Transparency = 0.84
  1967. for i = 1, 20 do
  1968. --spm.Scale = spm.Scale - Vector3.new(1,1,1)
  1969. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  1970. sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i))
  1971. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4)
  1972. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2)
  1973. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2)
  1974. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  1975. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2)
  1976. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2)
  1977. if Debounces.on == false then break end
  1978. rs:wait()
  1979. end
  1980. for i = 1, 2880, 50 do
  1981. rs:wait()
  1982. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  1983. sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  1984. rs:wait()
  1985. end
  1986. sp:Destroy()
  1987. sp2:Destroy()
  1988. local X = Instance.new("Part",char)
  1989. local O = Instance.new("ObjectValue",X)
  1990. O.Name = "creator"
  1991. X.Locked = true
  1992. X.Name = "Shell"
  1993. X.Anchored = false
  1994. X.CanCollide = false
  1995. X.Transparency = 0
  1996. X.Reflectance = 0
  1997. X.BottomSurface = 0
  1998. X.TopSurface = 0
  1999. X.Shape = 0
  2000. local V = Instance.new("ObjectValue",X)
  2001. V.Value = char
  2002. V.Name = "creator"
  2003. X.BrickColor = BrickColor.new("Royal purple")
  2004. X.Size = Vector3.new(2,2,2)
  2005. X.Material = "Neon"
  2006. local Z = Instance.new("SpecialMesh",X)
  2007. Z.MeshType = "Sphere"
  2008. Z.Scale = Vector3.new(0.5,0.5,1)
  2009. X.CFrame = rarm.CFrame*CFrame.new(-3,0,0)
  2010. local bv = Instance.new("BodyVelocity",X)
  2011. bv.maxForce = Vector3.new(99999,99999,99999)
  2012. X.CFrame = CFrame.new(X.Position,mouse.Hit.p)
  2013. bv.velocity = X.CFrame.lookVector*65
  2014.  
  2015. Explode = X.Touched:connect(function(hit)
  2016. if hit ~= char and hit.Name ~= "Shell" then
  2017. local cf = X.CFrame
  2018. bv:Destroy()
  2019. X.Anchored = true
  2020. Z:Remove()
  2021. Explode:disconnect()
  2022. X.Size = Vector3.new(3,3,3)
  2023. X.Touched:connect(function(hit) end)
  2024. X.CanCollide = false
  2025. local part3 = Instance.new("Part", rarm)
  2026. part3.Anchored=true
  2027. part3.CanCollide=false
  2028. part3.Locked = true
  2029. part3.TopSurface = "SmoothNoOutlines"
  2030. part3.BottomSurface = "SmoothNoOutlines"
  2031. part3.FormFactor='Custom'
  2032. part3.Size=Vector3.new(1,1, 1)
  2033. part3.CFrame=X.CFrame
  2034. part3.Transparency=0
  2035. part3.BrickColor=BrickColor.new("Royal purple")
  2036. local mesh3 = Instance.new("SpecialMesh",part3)
  2037. mesh3.MeshType = "Sphere"
  2038. mesh3.Scale = Vector3.new(1,1,1)
  2039. --debris:AddItem(X,8)
  2040. local part4 = Instance.new("Part", rarm)
  2041. part4.Material = "Neon"
  2042. part4.Anchored=true
  2043. part4.CanCollide=false
  2044. part4.Locked = true
  2045. part4.TopSurface = "SmoothNoOutlines"
  2046. part4.BottomSurface = "SmoothNoOutlines"
  2047. part4.FormFactor='Custom'
  2048. part4.Size=Vector3.new(1,1, 1)
  2049. part4.CFrame=X.CFrame
  2050. part4.Transparency=0
  2051. part4.BrickColor=BrickColor.new("Hot pink")
  2052. local mesh4 = Instance.new("SpecialMesh",part4)
  2053. mesh4.MeshType = "Sphere"
  2054. mesh4.Scale = Vector3.new(.5,.5,.5)
  2055. local part7 = Instance.new("Part", rarm)
  2056. part7.Material = "Neon"
  2057. part7.Anchored=true
  2058. part7.CanCollide=false
  2059. part7.Locked = true
  2060. part7.TopSurface = "SmoothNoOutlines"
  2061. part7.BottomSurface = "SmoothNoOutlines"
  2062. part7.FormFactor='Custom'
  2063. part7.Size=Vector3.new(1,1, 1)
  2064. part7.CFrame=X.CFrame
  2065. part7.Transparency=0
  2066. part7.BrickColor=BrickColor.new("Really black")
  2067. local mesh7 = Instance.new("SpecialMesh",part7)
  2068. mesh7.MeshType = "Sphere"
  2069. mesh7.Scale = Vector3.new(0.1, 0.1, 0.1)
  2070. --[[X.Touched:connect(function(ht)
  2071. hit = ht.Parent
  2072. if ht and hit:IsA("Model") then
  2073. if hit:FindFirstChild("Humanoid") then
  2074. if hit.Name ~= p.Name then
  2075. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  2076. wait(.3)
  2077. end
  2078. end
  2079. elseif ht and hit:IsA("Hat") then
  2080. if hit.Parent.Name ~= p.Name then
  2081. if hit.Parent:FindFirstChild("Humanoid") then
  2082. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  2083. wait(.3)
  2084. end
  2085. end
  2086. end
  2087. end)
  2088. part3.Touched:connect(function(ht)
  2089. hit = ht.Parent
  2090. if ht and hit:IsA("Model") then
  2091. if hit:FindFirstChild("Humanoid") then
  2092. if hit.Name ~= p.Name then
  2093. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  2094. wait(.3)
  2095. end
  2096. end
  2097. elseif ht and hit:IsA("Hat") then
  2098. if hit.Parent.Name ~= p.Name then
  2099. if hit.Parent:FindFirstChild("Humanoid") then
  2100. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  2101. wait(.3)
  2102. end
  2103. end
  2104. end
  2105. end)]]--
  2106. for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do
  2107. if v:FindFirstChild('Humanoid') then
  2108. v.Humanoid:TakeDamage(math.random(60,90))
  2109. v.Humanoid.PlatformStand = true
  2110. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  2111. end
  2112. end
  2113.  
  2114. local acos = math.acos
  2115. local sqrt = math.sqrt
  2116. local Vec3 = Vector3.new
  2117. local fromAxisAngle = CFrame.fromAxisAngle
  2118.  
  2119. local function toAxisAngle(CFr)
  2120. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  2121. local Angle = math.acos((R00+R11+R22-1)/2)
  2122. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  2123. A = A == 0 and 0.00001 or A
  2124. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  2125. B = B == 0 and 0.00001 or B
  2126. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  2127. C = C == 0 and 0.00001 or C
  2128. local x = (R21-R12)/sqrt(A)
  2129. local y = (R02-R20)/sqrt(B)
  2130. local z = (R10-R01)/sqrt(C)
  2131. return Vec3(x,y,z),Angle
  2132. end
  2133.  
  2134. function ApplyTrig(Num,Func)
  2135. local Min,Max = Func(0),Func(1)
  2136. local i = Func(Num)
  2137. return (i-Min)/(Max-Min)
  2138. end
  2139.  
  2140. function LerpCFrame(CFrame1,CFrame2,Num)
  2141. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  2142. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  2143. end
  2144.  
  2145. function Crater(Torso,Radius)
  2146. Spawn(function()
  2147. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  2148. local Ignore = {}
  2149. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2150. if v.Character ~= nil then
  2151. Ignore[#Ignore+1] = v.Character
  2152. end
  2153. end
  2154. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  2155. if Hit == nil then return end
  2156. local Parts = {}
  2157. for i = 1,360,10 do
  2158. local P = Instance.new("Part",Torso.Parent)
  2159. P.Anchored = true
  2160. P.FormFactor = "Custom"
  2161. P.BrickColor = Hit.BrickColor
  2162. P.Material = Hit.Material
  2163. P.TopSurface = "Smooth"
  2164. P.BottomSurface = "Smooth"
  2165. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  2166. 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)))
  2167. 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}
  2168. if math.random(0,5) == 0 then -- rubble
  2169. local P = Instance.new("Part",Torso.Parent)
  2170. P.Anchored = true
  2171. P.FormFactor = "Custom"
  2172. P.BrickColor = Hit.BrickColor
  2173. P.Material = Hit.Material
  2174. P.TopSurface = "Smooth"
  2175. P.BottomSurface = "Smooth"
  2176. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  2177. 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)))
  2178. 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}
  2179. end
  2180. end
  2181. for i = 0,1,0.05 do
  2182. for i2,v in pairs(Parts) do
  2183. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  2184. end
  2185. wait(0.02)
  2186. end
  2187. for i,v in pairs(Parts) do
  2188. if v[1].Size.X > 2.1 then
  2189. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  2190. end
  2191. v[1].Anchored = false
  2192. end
  2193. for i = 0,1,0.05 do
  2194. for i2,v in pairs(Parts) do
  2195. v[1].Transparency = i
  2196. if i == 1 then
  2197. v[1]:Destroy()
  2198. elseif i >= 0.25 then
  2199. v[1].CanCollide = false
  2200. end
  2201. end
  2202. wait(0.02)
  2203. end
  2204. Parts = nil
  2205. end)
  2206. end
  2207.  
  2208. ROW = function(out, trans, s, wt, t, ang, plus)
  2209. for i = 1, 360, 360/t do
  2210. local c = Instance.new("Part", game.Workspace)
  2211. c.FormFactor = 3
  2212. c.TopSurface = 0
  2213. c.BottomSurface = 0
  2214. c.Size = s
  2215. c.Anchored = true
  2216. c.CanCollide = wt
  2217. c.Material=workspace.Base.Material
  2218. c.Transparency = trans
  2219. c.BrickColor = workspace.Base.BrickColor
  2220. c.CFrame = CFrame.new(X.CFrame.x,0,X.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang
  2221. c.Locked=true
  2222. game.Debris:AddItem(c,15)
  2223. end
  2224. end
  2225.  
  2226. Part = function(x,y,z,color,tr,cc,an,parent)
  2227. local p = Instance.new('Part',parent or Weapon)
  2228. p.formFactor = 'Custom'
  2229. p.Size = Vector3.new(x,y,z)
  2230. p.BrickColor = BrickColor.new(color)
  2231. p.CanCollide = cc
  2232. p.Transparency = tr
  2233. p.Anchored = an
  2234. p.TopSurface,p.BottomSurface = 0,0
  2235. p.Locked=true
  2236. p:BreakJoints()
  2237. return p end
  2238.  
  2239. Mesh = function(par,num,x,y,z)
  2240. local msh = _
  2241. if num == 1 then msh = Instance.new("CylinderMesh",par)
  2242. elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
  2243. elseif num == 3 then msh = Instance.new("BlockMesh",par)
  2244. elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
  2245. elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
  2246. end msh.Scale = Vector3.new(x,y,z)
  2247. return msh end
  2248.  
  2249. function explosion(col1,col2,cfr,sz,rng,dmg)
  2250. local a= Part(1,1,1,col1,.5,false,true,workspace)
  2251. local a2= Part(1,1,1,col2,.5,false,true,workspace)
  2252. local a3= Part(1,1,1,col2,.5,false,true,workspace)
  2253. v1,v2,v3=sz.x,sz.y,sz.z
  2254. local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3)
  2255. local m2= Mesh(a2,3,v1/3,v2/3,v3/3)
  2256. local m3= Mesh(a3,3,v1/3,v2/3,v3/3)
  2257. a.CFrame=cfr
  2258. a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  2259. a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  2260.  
  2261. Spawn(function()
  2262. while wait() do
  2263. if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end
  2264. m.Scale=m.Scale+Vector3.new(.1,0.1,0.1)
  2265. m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1)
  2266. m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1)
  2267. a.Transparency=a.Transparency+0.05
  2268. a2.Transparency=a2.Transparency+0.05
  2269. a3.Transparency=a3.Transparency+0.05
  2270. end
  2271. end)
  2272. end
  2273.  
  2274. Crater(X,20)
  2275. ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0)
  2276. z = Instance.new("Sound",X)
  2277. z.SoundId = "rbxassetid://231917744"
  2278. z.Pitch = .5
  2279. z.Volume = 10
  2280. z1 = Instance.new("Sound",X)
  2281. z1.SoundId = "rbxassetid://231917744"
  2282. z1.Pitch = .5
  2283. z1.Volume = 10
  2284. z2 = Instance.new("Sound",X)
  2285. z2.SoundId = "rbxassetid://231917744"
  2286. z2.Pitch = .5
  2287. z2.Volume = 10
  2288. z3 = Instance.new("Sound",X)
  2289. z3.SoundId = "rbxassetid://245537790"
  2290. z3.Pitch = .7
  2291. z3.Volume = 1
  2292. z4 = Instance.new("Sound",X)
  2293. z4.SoundId = "rbxassetid://245537790"
  2294. z4.Pitch = .7
  2295. z4.Volume = 1
  2296. wait(0.1)
  2297. z:Play()
  2298. z1:Play()
  2299. z2:Play()
  2300. z3:Play()
  2301. z4:Play()
  2302.  
  2303. local part=Instance.new('Part',rarm)
  2304. part.Anchored=true
  2305. part.CanCollide=false
  2306. part.Locked = true
  2307. part.FormFactor='Custom'
  2308. part.Size=Vector3.new(1,1,1)
  2309. part.CFrame=X.CFrame*CFrame.new(0,0,0)
  2310. part.Transparency=0
  2311. part.BrickColor=BrickColor.new('Really black')
  2312. local mesh=Instance.new('SpecialMesh',part)
  2313. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  2314. mesh.Scale=Vector3.new(2,2,2)
  2315. local part2=part:clone()
  2316. part2.Parent = rarm
  2317. part2.BrickColor=BrickColor.new("Royal purple")
  2318. local part5=part:clone()
  2319. part5.Parent = rarm
  2320. part5.BrickColor=BrickColor.new("Magenta")
  2321. local part6=part:clone()
  2322. part6.Parent = rarm
  2323. part6.BrickColor=BrickColor.new("Black")
  2324. local mesh2=mesh:clone()
  2325. mesh2.Parent=part2
  2326. mesh2.Scale=Vector3.new(3, 3, 3)
  2327. local mesh5=mesh:clone()
  2328. mesh5.Parent=part5
  2329. mesh5.Scale=Vector3.new(3, 3, 3)
  2330. local mesh6=mesh:clone()
  2331. mesh6.Parent=part6
  2332. mesh6.Scale=Vector3.new(3, 3, 3)
  2333. local blast = Instance.new("Part", rarm)
  2334. blast.BrickColor = BrickColor.new("Really black")
  2335. blast.Anchored = true
  2336. blast.CanCollide = false
  2337. blast.Locked = true
  2338. blast.Size = Vector3.new(1, 1, 1)
  2339. blast.TopSurface = "Smooth"
  2340. blast.BottomSurface = "Smooth"
  2341. blast.Transparency = 0
  2342. blast.CFrame = HandCF
  2343. local bm = Instance.new("SpecialMesh", blast)
  2344. bm.Scale = Vector3.new(5,1,5)
  2345. bm.MeshId = "rbxassetid://3270017"
  2346. local blast2 = Instance.new("Part", rarm)
  2347. blast2.BrickColor = BrickColor.new("Really black")
  2348. blast2.Anchored = true
  2349. blast2.CanCollide = false
  2350. blast2.Locked = true
  2351. blast2.Size = Vector3.new(1, 1, 1)
  2352. blast2.TopSurface = "Smooth"
  2353. blast2.BottomSurface = "Smooth"
  2354. blast2.Transparency = 0
  2355. blast2.CFrame = HandCF
  2356. local bm2 = Instance.new("SpecialMesh", blast2)
  2357. bm2.Scale = Vector3.new(3,1,3)
  2358. bm2.MeshId = "rbxassetid://3270017"
  2359. local blast3 = Instance.new("Part", rarm)
  2360. blast3.BrickColor = BrickColor.new("Really black")
  2361. blast3.Anchored = true
  2362. blast3.CanCollide = false
  2363. blast3.Locked = true
  2364. blast3.Size = Vector3.new(1, 1, 1)
  2365. blast3.TopSurface = "Smooth"
  2366. blast3.BottomSurface = "Smooth"
  2367. blast3.Transparency = 0
  2368. blast3.CFrame = HandCF
  2369. local bm3 = Instance.new("SpecialMesh", blast3)
  2370. bm3.Scale = Vector3.new(3,1,3)
  2371. bm3.MeshId = "rbxassetid://3270017"
  2372. for i = 1,120 do rs:wait()
  2373. X.Transparency = X.Transparency + (1/120)
  2374. part.Transparency = part.Transparency + (1/120)
  2375. part2.Transparency = part2.Transparency + (1/120)
  2376. part3.Transparency = part3.Transparency + (1/120)
  2377. part4.Transparency = part4.Transparency + (1/120)
  2378. part5.Transparency = part5.Transparency + (1/120)
  2379. part6.Transparency = part6.Transparency + (1/120)
  2380. part7.Transparency = part7.Transparency + (1/120)
  2381. blast.Transparency = blast.Transparency + (1/120)
  2382. blast2.Transparency = blast2.Transparency + (1/120)
  2383. blast3.Transparency = blast3.Transparency + (1/120)
  2384. X.Size = X.Size + Vector3.new(.8,.8,.8)
  2385. --part3.Size = part3.Size + Vector3.new(3,3,3)
  2386. mesh.Scale = mesh.Scale + Vector3.new(1,.2,1)
  2387. mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1)
  2388. mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3)
  2389. mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7)
  2390. mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6)
  2391. mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2)
  2392. mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4)
  2393. bm.Scale = bm.Scale + Vector3.new(6,6,.2)
  2394. bm2.Scale = bm2.Scale + Vector3.new(4,4,.2)
  2395. bm3.Scale = bm3.Scale + Vector3.new(4,4,.2)
  2396. X.CFrame = cf
  2397. part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0)
  2398. part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0)
  2399. part3.CFrame=X.CFrame
  2400. part4.CFrame=X.CFrame
  2401. part7.CFrame=X.CFrame
  2402. part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0)
  2403. part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0)
  2404. blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  2405. blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0))
  2406. blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0))
  2407. rs:wait()
  2408. end
  2409. X:Destroy()
  2410. part:Destroy()
  2411. part2:Destroy()
  2412. part3:Destroy()
  2413. part4:Destroy()
  2414. part5:Destroy()
  2415. part6:Destroy()
  2416. blast:Destroy()
  2417. blast2:Destroy()
  2418. blast3:Destroy()
  2419. z:Destroy()
  2420. z1:Destroy()
  2421. z2:Destroy()
  2422. z3:Destroy()
  2423. z4:Destroy()
  2424. end
  2425. end)
  2426. for i = 1, 20 do
  2427. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2)
  2428. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2)
  2429. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
  2430. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4)
  2431. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2)
  2432. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2)
  2433. if Debounces.on == false then break end
  2434. rs:wait()
  2435. end
  2436. if Debounces.CanAttack == false then
  2437. Debounces.CanAttack = true
  2438. Debounces.NoIdl = false
  2439. Debounces.on = false
  2440. end
  2441. end
  2442. end
  2443. end)
  2444. ----------------------------------------------------
  2445. mouse.KeyDown:connect(function(key)
  2446. if key == "e" then
  2447. if Debounces.CanAttack == true then
  2448. Debounces.CanAttack = false
  2449. Debounces.on = true
  2450. Debounces.NoIdl = true
  2451. pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
  2452. z = Instance.new("Sound", rarm)
  2453. z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  2454. z.Volume = .6
  2455. z.Pitch = pt[math.random(1,#pt)]
  2456. z.Looped = false
  2457. z:Play()
  2458. Debounces.RPunch = true
  2459. Debounces.LPunch = true
  2460. Debounces.ks = true
  2461. Debounces.ks2 = true
  2462. for i = 1, 3 do
  2463. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  2464. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  2465. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2466. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2467. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2468. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2469. if Debounces.on == false then break end
  2470. wait()
  2471. end
  2472. z2 = Instance.new("Sound", larm)
  2473. z2.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2474. z2.Volume = .6
  2475. z2.Pitch = pt[math.random(1,#pt)]
  2476. z2.Looped = false
  2477. z2:Play()
  2478. for i = 1, 3 do
  2479. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2480. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  2481. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2482. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2483. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2484. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2485. if Debounces.on == false then break end
  2486. wait()
  2487. end
  2488. z3 = Instance.new("Sound", rarm)
  2489. z3.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2490. z3.Volume = 0.6
  2491. z3.Pitch = pt[math.random(1,#pt)]
  2492. z3.Looped = false
  2493. z3:Play()
  2494. for i = 1, 3 do
  2495. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  2496. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  2497. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2498. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2499. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2500. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2501. if Debounces.on == false then break end
  2502. wait()
  2503. end
  2504. z4 = Instance.new("Sound", larm)
  2505. z4.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2506. z4.Volume = .6
  2507. z4.Pitch = pt[math.random(1,#pt)]
  2508. z4.Looped = false
  2509. z4:Play()
  2510. for i = 1, 3 do
  2511. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2512. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2513. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2514. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2515. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2516. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2517. if Debounces.on == false then break end
  2518. wait()
  2519. end
  2520. z5 = Instance.new("Sound", rarm)
  2521. z5.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2522. z5.Volume = .6
  2523. z5.Pitch = pt[math.random(1,#pt)]
  2524. z5.Looped = false
  2525. z5:Play()
  2526. for i = 1, 3 do
  2527. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  2528. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
  2529. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  2530. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  2531. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  2532. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  2533. if Debounces.on == false then break end
  2534. wait()
  2535. end
  2536. z6 = Instance.new("Sound", larm)
  2537. z6.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2538. z6.Volume = .6
  2539. z6.Pitch = pt[math.random(1,#pt)]
  2540. z6.Looped = false
  2541. z6:Play()
  2542. for i = 1, 3 do
  2543. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2544. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2545. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2546. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2547. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2548. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2549. if Debounces.on == false then break end
  2550. wait()
  2551. end
  2552. z7 = Instance.new("Sound", rarm)
  2553. z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  2554. z7.Volume = .6
  2555. z7.Pitch = pt[math.random(1,#pt)]
  2556. z7.Looped = false
  2557. z7:Play()
  2558. for i = 1, 3 do
  2559. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  2560. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  2561. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2562. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2563. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2564. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2565. if Debounces.on == false then break end
  2566. wait()
  2567. end
  2568. z8 = Instance.new("Sound", larm)
  2569. z8.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2570. z8.Volume = .6
  2571. z8.Pitch = pt[math.random(1,#pt)]
  2572. z8.Looped = false
  2573. z8:Play()
  2574. for i = 1, 3 do
  2575. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2576. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  2577. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2578. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2579. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2580. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2581. if Debounces.on == false then break end
  2582. wait()
  2583. end
  2584. z9 = Instance.new("Sound", rarm)
  2585. z9.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2586. z9.Volume = 0.6
  2587. z9.Pitch = pt[math.random(1,#pt)]
  2588. z9.Looped = false
  2589. z9:Play()
  2590. for i = 1, 3 do
  2591. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  2592. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  2593. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2594. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2595. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2596. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2597. if Debounces.on == false then break end
  2598. wait()
  2599. end
  2600. z10 = Instance.new("Sound", larm)
  2601. z10.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2602. z10.Volume = .6
  2603. z10.Pitch = pt[math.random(1,#pt)]
  2604. z10.Looped = false
  2605. z10:Play()
  2606. for i = 1, 3 do
  2607. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2608. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2609. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2610. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2611. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2612. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2613. if Debounces.on == false then break end
  2614. wait()
  2615. end
  2616. z11 = Instance.new("Sound", rarm)
  2617. z11.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2618. z11.Volume = .6
  2619. z11.Pitch = pt[math.random(1,#pt)]
  2620. z11.Looped = false
  2621. z11:Play()
  2622. for i = 1, 3 do
  2623. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  2624. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
  2625. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  2626. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  2627. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  2628. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  2629. if Debounces.on == false then break end
  2630. wait()
  2631. end
  2632. z12 = Instance.new("Sound", larm)
  2633. z12.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2634. z12.Volume = .6
  2635. z12.Pitch = pt[math.random(1,#pt)]
  2636. z12.Looped = false
  2637. z12:Play()
  2638. for i = 1, 3 do
  2639. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2640. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  2641. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2642. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2643. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2644. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2645. if Debounces.on == false then break end
  2646. wait()
  2647. end
  2648. z13 = Instance.new("Sound", rarm)
  2649. z13.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2650. z13.Volume = 0.6
  2651. z13.Pitch = pt[math.random(1,#pt)]
  2652. z13.Looped = false
  2653. z13:Play()
  2654. for i = 1, 3 do
  2655. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  2656. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  2657. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2658. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2659. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2660. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2661. if Debounces.on == false then break end
  2662. wait()
  2663. end
  2664. z14 = Instance.new("Sound", larm)
  2665. z14.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2666. z14.Volume = .6
  2667. z14.Pitch = pt[math.random(1,#pt)]
  2668. z14.Looped = false
  2669. z14:Play()
  2670. for i = 1, 3 do
  2671. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2672. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2673. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2674. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2675. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2676. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2677. if Debounces.on == false then break end
  2678. wait()
  2679. end
  2680. z15 = Instance.new("Sound", rarm)
  2681. z15.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2682. z15.Volume = .6
  2683. z15.Pitch = pt[math.random(1,#pt)]
  2684. z15.Looped = false
  2685. z15:Play()
  2686. for i = 1, 3 do
  2687. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  2688. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
  2689. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  2690. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  2691. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  2692. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  2693. if Debounces.on == false then break end
  2694. wait()
  2695. end
  2696. z16 = Instance.new("Sound", larm)
  2697. z16.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2698. z16.Volume = .6
  2699. z16.Pitch = pt[math.random(1,#pt)]
  2700. z16.Looped = false
  2701. z16:Play()
  2702. for i = 1, 3 do
  2703. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2704. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2705. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2706. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2707. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2708. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2709. if Debounces.on == false then break end
  2710. wait()
  2711. end
  2712. z17 = Instance.new("Sound", rarm)
  2713. z17.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  2714. z17.Volume = .6
  2715. z17.Pitch = pt[math.random(1,#pt)]
  2716. z17.Looped = false
  2717. z17:Play()
  2718. for i = 1, 3 do
  2719. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  2720. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  2721. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2722. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2723. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2724. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2725. if Debounces.on == false then break end
  2726. wait()
  2727. end
  2728. z18 = Instance.new("Sound", larm)
  2729. z18.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2730. z18.Volume = .6
  2731. z18.Pitch = pt[math.random(1,#pt)]
  2732. z18.Looped = false
  2733. z18:Play()
  2734. for i = 1, 3 do
  2735. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2736. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  2737. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2738. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2739. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2740. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2741. if Debounces.on == false then break end
  2742. wait()
  2743. end
  2744. z19 = Instance.new("Sound", rarm)
  2745. z19.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2746. z19.Volume = 0.6
  2747. z19.Pitch = pt[math.random(1,#pt)]
  2748. z19.Looped = false
  2749. z19:Play()
  2750. for i = 1, 3 do
  2751. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  2752. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  2753. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2754. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2755. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2756. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2757. if Debounces.on == false then break end
  2758. wait()
  2759. end
  2760. z20 = Instance.new("Sound", larm)
  2761. z20.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2762. z20.Volume = .6
  2763. z20.Pitch = pt[math.random(1,#pt)]
  2764. z20.Looped = false
  2765. z20:Play()
  2766. for i = 1, 3 do
  2767. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2768. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2769. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2770. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2771. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2772. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2773. if Debounces.on == false then break end
  2774. wait()
  2775. end
  2776. z:Destroy()
  2777. z2:Destroy()
  2778. z3:Destroy()
  2779. z4:Destroy()
  2780. z5:Destroy()
  2781. z6:Destroy()
  2782. z7:Destroy()
  2783. z8:Destroy()
  2784. z9:Destroy()
  2785. z10:Destroy()
  2786. z11:Destroy()
  2787. z12:Destroy()
  2788. z13:Destroy()
  2789. z14:Destroy()
  2790. z15:Destroy()
  2791. z16:Destroy()
  2792. z17:Destroy()
  2793. z18:Destroy()
  2794. z19:Destroy()
  2795. z20:Destroy()
  2796. Debounces.LPunch = false
  2797. Debounces.RPunch = false
  2798. Debounces.ks = false
  2799. Debounces.ks2 = false
  2800. if Debounces.CanAttack == false then
  2801. Debounces.CanAttack = true
  2802. Debounces.on = false
  2803. Debounces.NoIdl = false
  2804. end
  2805. end
  2806. end
  2807. end)
  2808. -------------------------------
  2809. mouse.KeyDown:connect(function(key)
  2810. if key == "t" then
  2811. if Debounces.CanAttack == true then
  2812. Debounces.CanAttack = false
  2813. Debounces.NoIdl = true
  2814. Debounces.on = true
  2815. Debounces.ks = true
  2816. kik = rleg.Touched:connect(function(ht)
  2817. hit = ht.Parent
  2818. if ht and hit:IsA("Model") then
  2819. if hit:FindFirstChild("Humanoid") then
  2820. if hit.Name ~= p.Name then
  2821. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  2822. Debounces.Slashed = true]]--
  2823. if Debounces.ks==true then
  2824. z = Instance.new("Sound",hed)
  2825. z.SoundId = "rbxassetid://169380525"
  2826. z.Volume = 1
  2827. z:Play()
  2828. Debounces.ks=false
  2829. end
  2830. hit:FindFirstChild("Humanoid"):TakeDamage(2)
  2831. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
  2832. --Debounces.Slashed = false
  2833. --end
  2834. end
  2835. end
  2836. elseif ht and hit:IsA("Hat") then
  2837. if hit.Parent.Name ~= p.Name then
  2838. if hit.Parent:FindFirstChild("Humanoid") then
  2839. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  2840. Debounces.Slashed = true]]--
  2841. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
  2842. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
  2843. --Debounces.Slashed = false
  2844. --end
  2845. end
  2846. end
  2847. end
  2848. end)
  2849. for i = 1,20 do
  2850. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
  2851. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.4)
  2852. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2853. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4)
  2854. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4)
  2855. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
  2856. if Debounces.on == false then break end
  2857. rs:wait()
  2858. end
  2859. kik:disconnect()
  2860. if Debounces.CanAttack == false then
  2861. Debounces.CanAttack = true
  2862. Debounces.NoIdl = false
  2863. Debounces.on = false
  2864. end
  2865. end
  2866. end
  2867. end)
  2868. ----------------------------------------------------
  2869. mouse.KeyDown:connect(function(key)
  2870. if key == "y" then
  2871. if Debounces.CanAttack == true then
  2872. Debounces.CanAttack = false
  2873. Debounces.on = true
  2874. Debounces.NoIdl = true
  2875. for i = 1, 15 do
  2876. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.2)
  2877. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.6)
  2878. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
  2879. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4)
  2880. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  2881. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  2882. if Debounces.on == false then break end
  2883. rs:wait(2.7)
  2884. end
  2885. x = Instance.new("Sound",char)
  2886. x.SoundId = "rbxassetid://228343271"
  2887. x.Pitch = 1
  2888. x.Volume = .8
  2889. wait(.1)
  2890. x:Play()
  2891. Debounces.on = false
  2892. Debounces.Here = false
  2893. shot = shot + 1
  2894. local rng = Instance.new("Part", larm)
  2895. rng.Anchored = true
  2896. rng.BrickColor = BrickColor.new("Royal purple")
  2897. rng.CanCollide = false
  2898. rng.FormFactor = 3
  2899. rng.Name = "Ring"
  2900. rng.Size = Vector3.new(1, 1, 1)
  2901. rng.Transparency = 0.35
  2902. rng.TopSurface = 0
  2903. rng.BottomSurface = 0
  2904. rng2 = rng:clone()
  2905. rng3 = rng2:clone()
  2906. rng4 = rng2:clone()
  2907. local rngm = Instance.new("SpecialMesh", rng)
  2908. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2909. rngm.Scale = Vector3.new(10, 10, 1)
  2910. rngm2 = rngm:clone()
  2911. rngm2.Scale = Vector3.new(5, 5, 3)
  2912. rngm3=rngm2:clone()
  2913. rngm3.Parent = rng3
  2914. rngm3.Scale = Vector3.new(8, 8, 1)
  2915. rngm4 = rngm2:clone()
  2916. rngm4.Parent = rng4
  2917. rngm4.Scale = Vector3.new(6, 6, 1)
  2918. local bem = Instance.new("Part", larm)
  2919. bem.Anchored = true
  2920. bem.BrickColor = BrickColor.new("Really black")
  2921. bem.CanCollide = false
  2922. bem.FormFactor = 3
  2923. bem.Name = "Beam" .. shot
  2924. bem.Size = Vector3.new(1, 1, 1)
  2925. bem.Transparency = 0.35
  2926. bem.TopSurface = 0
  2927. bem.BottomSurface = 0
  2928. local bemm = Instance.new("SpecialMesh", bem)
  2929. bemm.MeshType = 4
  2930. bemm.Scale = Vector3.new(1, 4, 4)
  2931. local out = Instance.new("Part", larm)
  2932. out.Anchored = true
  2933. out.BrickColor = BrickColor.new("Really black")
  2934. out.CanCollide = false
  2935. out.FormFactor = 3
  2936. out.Name = "Out"
  2937. out.Size = Vector3.new(4, 4, 4)
  2938. out.Transparency = 0.35
  2939. out.TopSurface = 0
  2940. out.BottomSurface = 0
  2941. local outm = Instance.new("SpecialMesh", out)
  2942. outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
  2943. outm.Scale = Vector3.new(6, 4, 6)
  2944. local bnd = Instance.new("Part", larm)
  2945. bnd.Anchored = true
  2946. bnd.BrickColor = BrickColor.new("Really red")
  2947. bnd.CanCollide = false
  2948. bnd.FormFactor = 3
  2949. bnd.Name = "Bend"
  2950. bnd.Size = Vector3.new(1, 1, 1)
  2951. bnd.Transparency = 1
  2952. bnd.TopSurface = 0
  2953. bnd.BottomSurface = 0
  2954. local bndm = Instance.new("SpecialMesh", bnd)
  2955. bndm.MeshType = 3
  2956. bndm.Scale = Vector3.new(8, 8, 8)
  2957. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  2958. bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
  2959. bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
  2960. rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  2961. rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0)
  2962. rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0)
  2963. Debounces.Shewt = true
  2964. coroutine.wrap(function()
  2965. for i = 1, 20, 0.2 do
  2966. rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
  2967. rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1)
  2968. rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1)
  2969. rng.Transparency = i/20
  2970. rng3.Transparency = 1/24
  2971. rng4.Transparency = i/26
  2972. wait()
  2973. end
  2974. wait()
  2975. rng:Destroy()
  2976. end)()
  2977. if Debounces.Shewt == true then
  2978. larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
  2979. hit = ht.Parent
  2980. if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
  2981. if HasntTouched(hit.Name) == true and deb == false then
  2982. deb = true
  2983. coroutine.wrap(function()
  2984. hit:FindFirstChild("Humanoid").PlatformStand = true
  2985. hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  2986. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
  2987. end)()
  2988. table.insert(Touche, hit.Name)
  2989. deb = false
  2990. end
  2991. elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
  2992. if HasntTouched(hit.Parent.Name) == true and deb == false then
  2993. deb = true
  2994. coroutine.wrap(function()
  2995. hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
  2996. hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  2997. wait(1)
  2998. hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
  2999. end)()
  3000. table.insert(Touche, hit.Parent.Name)
  3001. deb = false
  3002. for i, v in pairs(Touche) do
  3003. print(v)
  3004. end
  3005. end
  3006. end
  3007. end)
  3008. end
  3009. for i = 0, 260, 8 do
  3010. bem.Size = Vector3.new(i, 3, 3)
  3011. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  3012. bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
  3013. bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
  3014. bnd.Size = Vector3.new(1,1,1)
  3015. bndm.Scale = Vector3.new(8,8,8)
  3016. if i % 10 == 0 then
  3017. local newRng = rng2:Clone()
  3018. newRng.Parent = larm
  3019. newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
  3020. local newRngm = rngm2:clone()
  3021. newRngm.Parent=newRng
  3022. coroutine.wrap(function()
  3023. for i = 1, 10, 0.2 do
  3024. newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3)
  3025. newRng.Transparency = i/10
  3026. wait()
  3027. end
  3028. wait()
  3029. newRng:Destroy()
  3030. end)()
  3031. end
  3032. wait()
  3033. end
  3034. wait()
  3035. Debounces.Shewt = false
  3036. bem:Destroy()
  3037. out:Destroy()
  3038. bnd:Destroy()
  3039. Debounces.Ready = false
  3040. for i, v in pairs(Touche) do
  3041. table.remove(Touche, i)
  3042. end
  3043. wait()
  3044. table.insert(Touche, char.Name)
  3045. Debounces.NoIdl = false
  3046. if Debounces.CanAttack == false then
  3047. Debounces.CanAttack = true
  3048. end
  3049. end
  3050. end
  3051. end)
  3052. ----------------------------------------------------
  3053. --[[mouse.KeyDown:connect(function(key)
  3054. if key == "y" then
  3055. if Debounces.CanAttack == true then
  3056. Debounces.CanAttack = false
  3057. Debounces.NoIdl = true
  3058. Debounces.on = true
  3059. local shell = Instance.new("Part",torso)
  3060. shell.BrickColor = BrickColor.new("Royal purple")
  3061. shell.Anchored = false
  3062. shell.CanCollide = false
  3063. shell.Locked = true
  3064. shell.TopSurface = "SmoothNoOutlines"
  3065. shell.BottomSurface = "SmoothNoOutlines"
  3066. shell.Size = Vector3.new(1.2,1.2,1.2)
  3067. shell.FormFactor = 3
  3068. local shellm = Instance.new("SpecialMesh",shell)
  3069. shellm.MeshType = "Sphere"
  3070. shellm.Scale = Vector3.new(1.2,1.2,1.2)
  3071. Omega = function()
  3072. local X = Instance.new("Part",char)
  3073. local O = Instance.new("ObjectValue",X)
  3074. O.Name = "creator"
  3075. X.Locked = true
  3076. X.Name = "Shell"
  3077. X.Anchored = false
  3078. X.CanCollide = false
  3079. X.Transparency = 0.5
  3080. X.Reflectance = 0
  3081. X.BottomSurface = 0
  3082. X.TopSurface = 0
  3083. X.Shape = 0
  3084. local V = Instance.new("ObjectValue",X)
  3085. V.Value = char
  3086. V.Name = "creator"
  3087. X.BrickColor = BrickColor.new("Royal purple")
  3088. X.Size = Vector3.new(40,40,40)
  3089. --X.Material = "Neon"
  3090. local Z = Instance.new("SpecialMesh",X)
  3091. Z.MeshType = "Sphere"
  3092. Z.Scale = Vector3.new(0.2,0.2,0.2)
  3093. X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
  3094. local bv = Instance.new("BodyVelocity",X)
  3095. bv.maxForce = Vector3.new(99999,99999,99999)
  3096. X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
  3097. bv.velocity = root.CFrame.lookVector*10
  3098. Explode = X.Touched:connect(function(hit)
  3099. if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart}") then
  3100. local cf = X.CFrame
  3101. bv:Destroy()
  3102. X.Anchored = true
  3103. Z:Remove()
  3104. Explode:disconnect()
  3105. X.Size = Vector3.new(3,3,3)
  3106. X.Touched:connect(function(hit) end)
  3107. X.CanCollide = false
  3108. for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do
  3109. if v:FindFirstChild('Humanoid') then
  3110. v.Humanoid:TakeDamage(math.random(80,120))
  3111. end
  3112. end
  3113. for i = 1, (40) do rs:wait()
  3114. X.Transparency = X.Transparency + (1/40)
  3115. X.Size = X.Size + Vector3.new(1,1,1)
  3116. X.CFrame = root.CFrame * CFrame.new(0,0,-10)
  3117. end
  3118. X:Destroy()
  3119. end
  3120. end)
  3121. end
  3122. for i = 1,200 do
  3123. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3124. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.03)
  3125. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)
  3126. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  3127. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3128. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3129. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3130. if Debounces.on == false then break end
  3131. rs:wait()
  3132. end
  3133. for i = 1,30 do
  3134. shell.CFrame = torso.CFrame * CFrame.new(0,8,0)
  3135. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.4)
  3136. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-170)), 0.4)
  3137. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  3138. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3139. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3140. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3141. if Debounces.on == false then break end
  3142. rs:wait()
  3143. end
  3144. for i = 1,40 do
  3145. shell.CFrame = torso.CFrame * CFrame.new(0,20,0)
  3146. shell.Size = shell.Size + Vector3.new(1,1,1)
  3147. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(100)), 0.4)
  3148. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-100)), 0.4)
  3149. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  3150. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3151. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3152. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3153. if Debounces.on == false then break end
  3154. rs:wait()
  3155. end
  3156. for i = 1,40 do
  3157. shell.CFrame = torso.CFrame * CFrame.new(0,0,-30)
  3158. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(20)), 0.4)
  3159. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.4)
  3160. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  3161. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3162. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3163. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3164. if Debounces.on == false then break end
  3165. rs:wait()
  3166. end
  3167. for i = 1,60 do
  3168. shell.CFrame = torso.CFrame * CFrame.new(0,0,-60)
  3169. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-30)), 0.4)
  3170. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.4)
  3171. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  3172. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3173. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3174. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3175. if Debounces.on == false then break end
  3176. rs:wait()
  3177. end
  3178. for i = 1,60 do
  3179. shell.CFrame = torso.CFrame * CFrame.new(0,0,-60)
  3180. shell.Size = shell.Size + Vector3.new(1,1,1)
  3181. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(120)), 0.4)
  3182. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-120)), 0.4)
  3183. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  3184. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3185. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3186. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3187. if Debounces.on == false then break end
  3188. rs:wait()
  3189. end
  3190. if Debounces.CanAttack == false then
  3191. Debounces.CanAttack = true
  3192. Debounces.NoIdl = false
  3193. Debounces.on = false
  3194. end
  3195. end
  3196. end
  3197. end)]]--
  3198. ----------------------------------------------------
  3199. Charging = false
  3200. mouse.KeyDown:connect(function(key)
  3201. if key == "r" then
  3202. if Charging == false then
  3203. Charging = true
  3204. if Debounces.CanAttack == true then
  3205. Debounces.CanAttack = false
  3206. Debounces.NoIdl = true
  3207. Debounces.on = true
  3208. for i = 1,20 do
  3209. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2)
  3210. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2)
  3211. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  3212. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  3213. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
  3214. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
  3215. if Debounces.on == false then break end
  3216. rs:wait()
  3217. end
  3218. --[[for i = 1,20 do
  3219. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4)
  3220. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4)
  3221. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4)
  3222. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4)
  3223. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4)
  3224. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4)
  3225. if Debounces.on == false then break end
  3226. rs:wait()
  3227. end]]--
  3228. pt=Instance.new('Part',torso)
  3229. pt.Anchored=true
  3230. pt.CanCollide=false
  3231. pt.Locked = true
  3232. pt.FormFactor='Custom'
  3233. pt.Size=Vector3.new(1,1,1)
  3234. pt.CFrame=root.CFrame*CFrame.new(0,-1,0)
  3235. pt.Transparency=.6
  3236. pt.BrickColor=BrickColor.new('Really black')
  3237. msh=Instance.new('SpecialMesh',pt)
  3238. msh.MeshId='http://www.roblox.com/asset/?id=20329976'
  3239. msh.Scale=Vector3.new(8,4,8)
  3240. pt2=pt:clone()
  3241. pt2.Parent = torso
  3242. pt2.CFrame=root.CFrame*CFrame.new(0,-1,0)
  3243. pt2.BrickColor=BrickColor.new("Royal purple")
  3244. msh2=msh:clone()
  3245. msh2.Parent=pt2
  3246. msh2.Scale=Vector3.new(10,5,10)
  3247.  
  3248. custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
  3249.  
  3250. bl = Instance.new("Part", char)
  3251. bl.Locked = true
  3252. bl.Name = "Shell"
  3253. bl.BrickColor = BrickColor.new("Really black")
  3254. bl.Anchored = true
  3255. bl.CanCollide = false
  3256. bl.Transparency = 0
  3257. bl.Reflectance = 0
  3258. bl.BottomSurface = 0
  3259. bl.TopSurface = 0
  3260. bl.Shape = 0
  3261. blm = Instance.new("SpecialMesh",bl)
  3262. blm.MeshType = "Sphere"
  3263. blm.Scale = Vector3.new(1,1,1)
  3264. blm.MeshId = "rbxassetid://9982590"
  3265.  
  3266. coroutine.resume(coroutine.create(function()
  3267. for i=1, math.huge, 4 do
  3268. if Charging == true then
  3269. rs:wait()
  3270. bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  3271. blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1)
  3272. bl.Transparency = bl.Transparency + 0.005
  3273. pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
  3274. pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
  3275. msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05)
  3276. msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05)
  3277. elseif Charging == false then break
  3278. end
  3279. end
  3280. end))
  3281.  
  3282. repeat
  3283. local p = Instance.new('Part',torso)
  3284. p.formFactor = 'Custom'
  3285. p.Size = Vector3.new(1,1,1)
  3286. p.BrickColor = workspace.Base.BrickColor
  3287. p.CanCollide = false
  3288. p.Transparency = 0
  3289. p.Anchored = true
  3290. p.Locked=true
  3291. p.Material = workspace.Base.Material
  3292. s = math.random(1,40)/10
  3293. local m = Instance.new("BlockMesh",p)
  3294. m.Scale = Vector3.new(s,s,s)
  3295. p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random())
  3296. --[[coroutine.wrap(function()
  3297. wait(2)
  3298. while Charging == true do
  3299. wait(2)
  3300. GroundWave1()
  3301. wait(2)
  3302. end
  3303. end)()]]--
  3304. Spawn(function()
  3305. while rs:wait() do
  3306. if Charging == true then
  3307. rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50)))
  3308. larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30)))
  3309. hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0))
  3310. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  3311. lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10)))
  3312. rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20)))
  3313. elseif Charging == false then break
  3314. end
  3315. end
  3316. end)
  3317. Spawn(function()
  3318. while rs:wait() do
  3319. if p.Transparency >= 1 then p:Destroy() break end
  3320. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
  3321. p.Transparency = p.Transparency+0.01
  3322. end
  3323. end)
  3324. wait(.3)
  3325. until Charging == false
  3326. end
  3327. end
  3328. end
  3329. end)
  3330. ----------------------------------------------------
  3331. mouse.KeyUp:connect(function(key)
  3332. if key == "r" then
  3333. if Charging == true then
  3334. Charging = false
  3335. pt:Destroy()
  3336. pt2:Destroy()
  3337. bl:Destroy()
  3338. if Debounces.CanAttack == false then
  3339. Debounces.CanAttack = true
  3340. Debounces.NoIdl = false
  3341. Debounces.on = false
  3342. end
  3343. end
  3344. end
  3345. end)
  3346. ----------------------------------------------------
  3347. mouse.KeyDown:connect(function(key)
  3348. if key == "g" then
  3349. if Debounces.CanAttack == true then
  3350. Debounces.CanAttack = false
  3351. Debounces.NoIdl = true
  3352. Debounces.on = true
  3353. local shell = Instance.new("Part",torso)
  3354. shell.BrickColor = BrickColor.new("Royal purple")
  3355. shell.Anchored = true
  3356. shell.CanCollide = false
  3357. shell.Locked = true
  3358. shell.TopSurface = "SmoothNoOutlines"
  3359. shell.BottomSurface = "SmoothNoOutlines"
  3360. shell.Size = Vector3.new(1,1,1)
  3361. shellm = Instance.new("SpecialMesh",shell)
  3362. shellm.MeshType = "Sphere"
  3363. shellm.Scale = Vector3.new(1,1,1)
  3364. local shell2 = Instance.new("Part",torso)
  3365. shell2.BrickColor = BrickColor.new("Royal purple")
  3366. shell2.Anchored = true
  3367. shell2.CanCollide = false
  3368. shell2.Locked = true
  3369. shell2.TopSurface = "SmoothNoOutlines"
  3370. shell2.BottomSurface = "SmoothNoOutlines"
  3371. shell2.Size = Vector3.new(1,1,1)
  3372. shellm2 = Instance.new("SpecialMesh",shell2)
  3373. shellm2.MeshType = "Sphere"
  3374. shellm2.Scale = Vector3.new(1,1,1)
  3375.  
  3376. function FindNearestTorso(Position,Distance,SinglePlayer)
  3377. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  3378. local List = {}
  3379. for i,v in pairs(workspace:GetChildren())do
  3380. if v:IsA("Model")then
  3381. if v:findFirstChild("Torso")then
  3382. if v ~= char then
  3383. if(v.Torso.Position -Position).magnitude <= Distance then
  3384. table.insert(List,v)
  3385. end
  3386. end
  3387. end
  3388. end
  3389. end
  3390. return List
  3391. end
  3392.  
  3393. Shell = function()
  3394. local X = Instance.new("Part",char)
  3395. local O = Instance.new("ObjectValue",X)
  3396. O.Name = "creator"
  3397. X.Locked = true
  3398. X.Name = "Shell"
  3399. X.Anchored = false
  3400. X.CanCollide = false
  3401. X.Transparency = 0
  3402. X.Reflectance = 0
  3403. X.BottomSurface = 0
  3404. X.TopSurface = 0
  3405. X.Shape = 0
  3406. local V = Instance.new("ObjectValue",X)
  3407. V.Value = char
  3408. V.Name = "creator"
  3409. X.BrickColor = BrickColor.new("Royal purple")
  3410. X.Size = Vector3.new(1,1,1)
  3411. --X.Material = "Neon"
  3412. local Z = Instance.new("SpecialMesh",X)
  3413. Z.MeshType = "Sphere"
  3414. Z.Scale = Vector3.new(1,1,1)
  3415. X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
  3416. local bv = Instance.new("BodyVelocity",X)
  3417. bv.maxForce = Vector3.new(99999,99999,99999)
  3418. X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
  3419. bv.velocity = root.CFrame.lookVector*65
  3420. Explode = X.Touched:connect(function(hit)
  3421. if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then
  3422. local cf = X.CFrame
  3423. bv:Destroy()
  3424. X.Anchored = true
  3425. Z:Remove()
  3426. Explode:disconnect()
  3427. X.Size = Vector3.new(3,3,3)
  3428. X.Touched:connect(function(hit) end)
  3429. X.CanCollide = false
  3430. for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do
  3431. if v:FindFirstChild('Humanoid') then
  3432. v.Humanoid:TakeDamage(math.random(6,12))
  3433. end
  3434. end
  3435. for i = 1, (40) do rs:wait()
  3436. X.Transparency = X.Transparency + (1/40)
  3437. X.Size = X.Size + Vector3.new(1,1,1)
  3438. X.CFrame = cf
  3439. end
  3440. X:Destroy()
  3441. end
  3442. end)
  3443. end
  3444. Shell()
  3445. for i = 1, 10 do
  3446. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3447. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3448. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  3449. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  3450. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7)
  3451. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7)
  3452. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.7)
  3453. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.7)
  3454. if Debounces.on == false then break end
  3455. rs:wait()
  3456. end
  3457. Shell()
  3458. shell.Transparency = 1
  3459. for i = 1, 10 do
  3460. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3461. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3462. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  3463. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  3464. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  3465. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  3466. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  3467. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  3468. if Debounces.on == false then break end
  3469. rs:wait()
  3470. end
  3471. Shell()
  3472. shell.Transparency = 0
  3473. shell2.Transparency = 1
  3474. for i = 1, 10 do
  3475. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3476. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3477. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  3478. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  3479. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  3480. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  3481. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  3482. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  3483. if Debounces.on == false then break end
  3484. rs:wait()
  3485. end
  3486. Shell()
  3487. shell2.Transparency = 0
  3488. shell.Transparency = 1
  3489. for i = 1, 10 do
  3490. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3491. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3492. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  3493. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  3494. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  3495. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  3496. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  3497. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  3498. if Debounces.on == false then break end
  3499. rs:wait()
  3500. end
  3501. Shell()
  3502. shell.Transparency = 0
  3503. shell2.Transparency = 1
  3504. for i = 1, 10 do
  3505. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3506. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3507. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  3508. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  3509. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  3510. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  3511. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  3512. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  3513. if Debounces.on == false then break end
  3514. rs:wait()
  3515. end
  3516. Shell()
  3517. shell2.Transparency = 0
  3518. shell.Transparency = 1
  3519. for i = 1, 10 do
  3520. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3521. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3522. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  3523. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  3524. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  3525. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  3526. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  3527. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  3528. if Debounces.on == false then break end
  3529. rs:wait()
  3530. end
  3531. Shell()
  3532. shell.Transparency = 0
  3533. shell2.Transparency = 1
  3534. for i = 1, 10 do
  3535. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3536. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3537. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  3538. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5)
  3539. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  3540. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  3541. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  3542. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  3543. if Debounces.on == false then break end
  3544. rs:wait()
  3545. end
  3546. Shell()
  3547. shell2.Transparency = 0
  3548. shell.Transparency = 1
  3549. for i = 1, 10 do
  3550. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3551. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3552. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  3553. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  3554. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  3555. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  3556. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  3557. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  3558. if Debounces.on == false then break end
  3559. rs:wait()
  3560. end
  3561. Shell()
  3562. shell.Transparency = 0
  3563. shell2.Transparency = 1
  3564. for i = 1, 10 do
  3565. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3566. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3567. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  3568. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  3569. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  3570. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  3571. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  3572. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  3573. if Debounces.on == false then break end
  3574. rs:wait()
  3575. end
  3576. Shell()
  3577. shell2.Transparency = 0
  3578. shell.Transparency = 1
  3579. for i = 1, 10 do
  3580. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3581. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3582. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  3583. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  3584. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  3585. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  3586. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  3587. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  3588. if Debounces.on == false then break end
  3589. rs:wait()
  3590. end
  3591. Shell()
  3592. shell.Transparency = 0
  3593. shell2.Transparency = 1
  3594. for i = 1, 10 do
  3595. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3596. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3597. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  3598. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  3599. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  3600. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  3601. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  3602. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  3603. if Debounces.on == false then break end
  3604. rs:wait()
  3605. end
  3606. Shell()
  3607. shell2.Transparency = 0
  3608. shell.Transparency = 1
  3609. for i = 1, 10 do
  3610. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3611. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3612. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  3613. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  3614. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  3615. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  3616. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  3617. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  3618. if Debounces.on == false then break end
  3619. rs:wait()
  3620. end
  3621. Shell()
  3622. shell.Transparency = 0
  3623. shell2.Transparency = 1
  3624. for i = 1, 10 do
  3625. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3626. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3627. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  3628. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  3629. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  3630. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  3631. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  3632. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  3633. if Debounces.on == false then break end
  3634. rs:wait()
  3635. end
  3636. shell.Transparency = 1
  3637. if Debounces.CanAttack == false then
  3638. Debounces.CanAttack = true
  3639. Debounces.NoIdl = false
  3640. Debounces.on = false
  3641. end
  3642. end
  3643. end
  3644. end)
  3645. ----------------------------------------------------
  3646. Search = false
  3647. mouse.KeyDown:connect(function(key)
  3648. if key == "n" then
  3649. if Search == false then
  3650. Search = true
  3651. for i,v in pairs(game.Players:getPlayers()) do
  3652. if v.Name~=char.Name then
  3653. for j,k in pairs(v.Character:GetChildren()) do
  3654. if k:IsA("BasePart") and k.Transparency >= 1 then
  3655. bawx=Instance.new("SelectionBox",cam)
  3656. bawx.Color = BrickColor.new("Bright red")
  3657. bawx.Transparency = .5
  3658. bawx.Adornee = k
  3659. end
  3660. end
  3661. end
  3662. end
  3663. elseif Search == true then
  3664. Search = false
  3665. for i, v in pairs(cam:GetChildren()) do
  3666. if v:IsA("SelectionBox") then
  3667. v:Destroy()
  3668. end
  3669. end
  3670. end
  3671. end
  3672. end)
  3673. ----------------------------------------------------
  3674. Grab = false
  3675. mouse.KeyDown:connect(function(key)
  3676. if key == "z" then
  3677. Debounces.on = true
  3678. Debounces.NoIdl = true
  3679. Debounces.ks = true
  3680. if Grab == false then
  3681. gp = nil
  3682. for i = 1, 20 do
  3683. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.2)
  3684. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.2)
  3685. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  3686. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  3687. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2)
  3688. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2)
  3689. if Debounces.on == false then break end
  3690. rs:wait()
  3691. end
  3692. con1=larm.Touched:connect(function(hit) -- this is grab
  3693. ht = hit.Parent
  3694. hum1=ht:FindFirstChild('Humanoid')
  3695. if hum1 ~= nil then
  3696. if Debounces.ks==true then
  3697. z = Instance.new("Sound",hed)
  3698. z.SoundId = "rbxassetid://169380525"
  3699. z.Volume = 1
  3700. z:Play()
  3701. Debounces.ks=false
  3702. end
  3703. hum1.PlatformStand=true
  3704. gp = ht
  3705. Grab = true
  3706. asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0))
  3707. asd.Parent = larm
  3708. asd.Name = "asd"
  3709. asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0)
  3710. --[[elseif hum1 == nil then
  3711. con1:disconnect()
  3712. wait() return]]--
  3713. end
  3714. end)
  3715. for i = 1, 20 do
  3716. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.2)
  3717. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.2)
  3718. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  3719. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  3720. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
  3721. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2)
  3722. if Debounces.on == false then break end
  3723. rs:wait()
  3724. end
  3725. if hum1 == nil then
  3726. Debounces.on = false
  3727. Debounces.NoIdl = false
  3728. end
  3729. con1:disconnect()
  3730. elseif Grab == true then
  3731. Grab = false
  3732. Punch()
  3733. z = Instance.new("Sound",hed)
  3734. z.SoundId = "rbxassetid://169380525"
  3735. z.Pitch = ptz[math.random(1,#ptz)]
  3736. z.Volume = 1
  3737. z:Play()
  3738. for i = 1, 10 do
  3739. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3740. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  3741. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3742. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3743. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3744. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3745. if Debounces.on == false then break end
  3746. rs:wait()
  3747. end
  3748. Punch()
  3749. z = Instance.new("Sound",hed)
  3750. z.SoundId = "rbxassetid://169380525"
  3751. z.Pitch = ptz[math.random(1,#ptz)]
  3752. z.Volume = 1
  3753. z:Play()
  3754. for i = 1, 10 do
  3755. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  3756. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  3757. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3758. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3759. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3760. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3761. if Debounces.on == false then break end
  3762. rs:wait()
  3763. end
  3764. Punch()
  3765. z = Instance.new("Sound",hed)
  3766. z.SoundId = "rbxassetid://169380525"
  3767. z.Pitch = ptz[math.random(1,#ptz)]
  3768. z.Volume = 1
  3769. z:Play()
  3770. for i = 1, 10 do
  3771. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3772. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  3773. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3774. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3775. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3776. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3777. if Debounces.on == false then break end
  3778. rs:wait()
  3779. end
  3780. Punch()
  3781. z = Instance.new("Sound",hed)
  3782. z.SoundId = "rbxassetid://169380525"
  3783. z.Pitch = ptz[math.random(1,#ptz)]
  3784. z.Volume = 1
  3785. z:Play()
  3786. for i = 1, 10 do
  3787. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  3788. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  3789. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3790. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3791. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3792. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3793. if Debounces.on == false then break end
  3794. rs:wait()
  3795. end
  3796. Punch()
  3797. z = Instance.new("Sound",hed)
  3798. z.SoundId = "rbxassetid://169380525"
  3799. z.Pitch = ptz[math.random(1,#ptz)]
  3800. z.Volume = 1
  3801. z:Play()
  3802. for i = 1, 10 do
  3803. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3804. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  3805. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3806. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3807. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3808. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3809. if Debounces.on == false then break end
  3810. rs:wait()
  3811. end
  3812. Punch()
  3813. z = Instance.new("Sound",hed)
  3814. z.SoundId = "rbxassetid://169380525"
  3815. z.Pitch = ptz[math.random(1,#ptz)]
  3816. z.Volume = 1
  3817. z:Play()
  3818. for i = 1, 10 do
  3819. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  3820. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  3821. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3822. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3823. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3824. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3825. if Debounces.on == false then break end
  3826. rs:wait()
  3827. end
  3828. Punch()
  3829. z = Instance.new("Sound",hed)
  3830. z.SoundId = "rbxassetid://169380525"
  3831. z.Pitch = ptz[math.random(1,#ptz)]
  3832. z.Volume = 1
  3833. z:Play()
  3834. for i = 1, 10 do
  3835. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3836. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  3837. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3838. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3839. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3840. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3841. if Debounces.on == false then break end
  3842. rs:wait()
  3843. end
  3844. Punch()
  3845. z = Instance.new("Sound",hed)
  3846. z.SoundId = "rbxassetid://169380525"
  3847. z.Pitch = ptz[math.random(1,#ptz)]
  3848. z.Volume = 1
  3849. z:Play()
  3850. for i = 1, 10 do
  3851. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  3852. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  3853. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3854. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3855. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3856. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3857. if Debounces.on == false then break end
  3858. rs:wait()
  3859. end
  3860. Punch()
  3861. z = Instance.new("Sound",hed)
  3862. z.SoundId = "rbxassetid://169380525"
  3863. z.Pitch = ptz[math.random(1,#ptz)]
  3864. z.Volume = 1
  3865. z:Play()
  3866. for i = 1, 10 do
  3867. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3868. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  3869. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3870. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3871. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3872. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3873. if Debounces.on == false then break end
  3874. rs:wait()
  3875. end
  3876. Punch()
  3877. z = Instance.new("Sound",hed)
  3878. z.SoundId = "rbxassetid://169380525"
  3879. z.Pitch = ptz[math.random(1,#ptz)]
  3880. z.Volume = 1
  3881. z:Play()
  3882. for i = 1, 10 do
  3883. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  3884. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  3885. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3886. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3887. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3888. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3889. if Debounces.on == false then break end
  3890. rs:wait()
  3891. end
  3892. Punch()
  3893. z = Instance.new("Sound",hed)
  3894. z.SoundId = "rbxassetid://169380525"
  3895. z.Pitch = ptz[math.random(1,#ptz)]
  3896. z.Volume = 1
  3897. z:Play()
  3898. for i = 1, 10 do
  3899. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3900. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  3901. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3902. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3903. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3904. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3905. if Debounces.on == false then break end
  3906. rs:wait()
  3907. end
  3908. Punch()
  3909. z = Instance.new("Sound",hed)
  3910. z.SoundId = "rbxassetid://169380525"
  3911. z.Pitch = ptz[math.random(1,#ptz)]
  3912. z.Volume = 1
  3913. z:Play()
  3914. for i = 1, 10 do
  3915. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  3916. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  3917. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3918. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3919. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3920. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3921. if Debounces.on == false then break end
  3922. rs:wait()
  3923. end
  3924. con1:disconnect()
  3925. Debounces.on = false
  3926. Debounces.NoIdl = false
  3927. if gp ~= nil then
  3928. gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140
  3929. for i,v in pairs(larm:GetChildren()) do
  3930. if v.Name == "asd" and v:IsA("Weld") then
  3931. v:Remove()
  3932. end
  3933. end
  3934. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  3935. bv.maxForce = Vector3.new(400000, 400000, 400000)
  3936. bv.P = 125000
  3937. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  3938. hum1=nil
  3939. ht=nil
  3940. Debounces.on = false
  3941. Debounces.NoIdl = false
  3942. elseif ht == nil then wait()
  3943. Grab = false
  3944. Debounces.on = false
  3945. Debounces.NoIdl = false
  3946. end
  3947. end
  3948. end
  3949. end)
  3950. ----------------------------------------------------
  3951. mouse.KeyDown:connect(function(key)
  3952. if string.byte(key) == 52 then
  3953. char.Humanoid.WalkSpeed = 60
  3954. end
  3955. end)
  3956. mouse.KeyUp:connect(function(key)
  3957. if string.byte(key) == 52 then
  3958. char.Humanoid.WalkSpeed = 8
  3959. end
  3960. end)
  3961. -------------------------------
  3962. local animpose = "Idle"
  3963. local lastanimpose = "Idle"
  3964. local sine = 0
  3965. local change = 1
  3966. local val = 0
  3967. local ffing = false
  3968. -------------------------------
  3969. game:GetService("RunService").RenderStepped:connect(function()
  3970. --[[if char.Humanoid.Jump == true then
  3971. jump = true
  3972. else
  3973. jump = false
  3974. end]]
  3975. char.Humanoid.FreeFalling:connect(function(f)
  3976. if f then
  3977. ffing = true
  3978. else
  3979. ffing = false
  3980. end
  3981. end)
  3982. sine = sine + change
  3983. if jumpn == true then
  3984. animpose = "Jumping"
  3985. elseif ffing == true then
  3986. animpose = "Freefalling"
  3987. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  3988. animpose = "Idle"
  3989. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  3990. animpose = "Walking"
  3991. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  3992. animpose = "Running"
  3993. end
  3994. if animpose ~= lastanimpose then
  3995. sine = 0
  3996. if Debounces.NoIdl == false then
  3997. if animpose == "Idle" then
  3998. for i = 1, 2 do
  3999. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4)
  4000. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4)
  4001. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  4002. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  4003. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  4004. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  4005. end
  4006. elseif animpose == "Walking" then
  4007. for i = 1, 2 do
  4008. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
  4009. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
  4010. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  4011. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
  4012. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
  4013. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
  4014. end
  4015. elseif animpose == "Running" then
  4016. for i = 1, 2 do
  4017. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(-14),math.rad(8+2*math.cos(sine/14))), 0.2)
  4018. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(14),math.rad(-8-2*math.cos(sine/14))), 0.2)
  4019. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4)
  4020. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4)
  4021. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4)
  4022. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4)
  4023. wait()
  4024. end
  4025. end
  4026. else
  4027. end
  4028. end
  4029. lastanimpose = animpose
  4030. if Debounces.NoIdl == false then
  4031. if animpose == "Idle" then
  4032. change = 0.5
  4033. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8+2*math.cos(sine/14))), 0.4)
  4034. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8-2*math.cos(sine/14))), 0.4)
  4035. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  4036. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
  4037. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  4038. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  4039. elseif animpose == "Walking" then
  4040. change = 1
  4041. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
  4042. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
  4043. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  4044. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
  4045. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
  4046. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
  4047. elseif animpose == "Running" then
  4048. change = 1
  4049. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(-30),math.rad(14),math.rad(-30+2*math.cos(sine/14))), 0.2)
  4050. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2)
  4051. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4)
  4052. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2)
  4053. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.2) * CFrame.Angles(math.rad(-20), math.rad(10), math.rad(0)), 0.4)
  4054. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(10), math.rad(0)), 0.4)
  4055. end
  4056. end
  4057. end)
  4058.  
  4059. hum.MaxHealth = 9001
  4060. wait(3)
  4061. hum.Health = 9001
  4062.  
  4063. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
  4064. --[[Part0 = Vector3 (Start pos)
  4065. Part1 = Vector3 (End pos)
  4066. Times = number (Amount of lightning parts)
  4067. Offset = number (Offset)
  4068. Color = color (brickcolor value)
  4069. Thickness = number (thickness)
  4070. Trans = number (transparency)
  4071. ]]--
  4072. local magz = (Part0 - Part1).magnitude
  4073. local curpos = Part0
  4074. local trz = {-Offset,Offset}
  4075. for i=1,Times do
  4076. local li = Instance.new("Part", torso)
  4077. li.Name = "Lightning"
  4078. li.TopSurface =0
  4079. li.Material = "Neon"
  4080. li.BottomSurface = 0
  4081. li.Anchored = true
  4082. li.Locked = true
  4083. li.Transparency = Trans or 0.4
  4084. li.BrickColor = BrickColor.new(Color)
  4085. li.formFactor = "Custom"
  4086. li.CanCollide = false
  4087. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  4088. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  4089. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  4090. if Times == i then
  4091. local magz2 = (curpos - Part1).magnitude
  4092. li.Size = Vector3.new(Thickness,Thickness,magz2)
  4093. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  4094. else
  4095. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  4096. end
  4097. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  4098. game.Debris:AddItem(li,.1)
  4099. end
  4100. end
  4101.  
  4102. BodyParts = {} -- Parts to emit lightning effects from
  4103. for _, v in pairs(char:GetChildren()) do
  4104. if v:IsA("Part") then
  4105. table.insert(BodyParts, v)
  4106. end
  4107. end
  4108.  
  4109. Bounding = {} -- Calculate the bounding boxes
  4110. for _, v in pairs(BodyParts) do
  4111. local temp = {X=nil, Y=nil, Z=nil}
  4112. temp.X = v.Size.X/2 * 10
  4113. temp.Y = v.Size.Y/2 * 10
  4114. temp.Z = v.Size.Z/2 * 10
  4115. Bounding[v.Name] = temp
  4116. --table.insert(Bounding, v.Name, temp)
  4117. end
  4118.  
  4119. while wait(math.random(1,10)/10) do -- Emit the Lightning effects randomly
  4120. local Body1 = BodyParts[math.random(#BodyParts)]
  4121. local Body2 = BodyParts[math.random(#BodyParts)]
  4122. local Pos1 = Vector3.new(
  4123. math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
  4124. math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
  4125. math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
  4126. )
  4127. local Pos2 = Vector3.new(
  4128. math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
  4129. math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
  4130. math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
  4131. )
  4132. local SPos1 = Body1.Position + Pos1
  4133. local SPos2 = Body2.Position + Pos2
  4134. Lightning(SPos1, SPos2, 4, 3, "Bright blue", .3, .56)
  4135. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement