00fjg

Untitled

Aug 16th, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.35 KB | None | 0 0
  1. --[[
  2. love u iFractal
  3. <3
  4. leeked by CLarramore
  5. ]]
  6.  
  7. -- made by a new user (iFractal) leaked by a logger with love
  8. --One Punch Man Script
  9. p = game.Players.LocalPlayer
  10. char = p.Character
  11. des = false
  12. fling = true
  13. dot = false
  14. falling = false
  15. jump = true
  16. --char.Shirt:Remove()
  17. --for i,v in pairs(char:GetChildren()) do if v:IsA("Pants") then v:Remove() end end
  18. for i,v in pairs(char:GetChildren()) do if v:IsA("Hat") then v.Handle:Remove() end end
  19. wait()--shirt = Instance.new("Shirt", char)
  20. --shirt.Name = "Shirt"
  21. --pants = Instance.new("Pants", char)
  22. --pants.Name = "Pants"
  23.  
  24. --char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=451927425"
  25. --char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=236412261"
  26. tp = true
  27. shoot = true
  28. hum = char.Humanoid
  29. punch = true
  30. neckp = char.Torso.Neck.C0
  31. neck = char.Torso.Neck
  32. hum.MaxHealth = 999999999
  33. wait()
  34. hum.Health =hum.MaxHealth
  35. des = false
  36. root=char.HumanoidRootPart
  37. torso = char.Torso
  38. char.Head.face.Texture = "rbxassetid://332768867"
  39. local ChatService = game:GetService("Chat")
  40. local player = game.Players.LocalPlayer
  41. lig = Instance.new("PointLight",player.Character.Torso)
  42. lig.Color=Color3.new(255,0,0)
  43. m=player:GetMouse()
  44. bb = Instance.new("BillboardGui",player.Character.Head)
  45. bb.Enabled = true
  46. function newRay(start,face,range,wat)
  47. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  48. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  49. return rey,hit,pos
  50. end
  51. aa1={}
  52. torso=game.Players.LocalPlayer.Character.Torso
  53.  
  54. local WorldUp = Vector3.new(0,1,0)
  55. function look2(Vec1,Vec2)
  56. local Orig = Vec1
  57. Vec1 = Vec1+Vector3.new(0,1,0)
  58. Vec2 = Vec2+Vector3.new(0,1,0)
  59. local Forward = (Vec2-Vec1).unit
  60. local Up = (WorldUp-WorldUp:Dot(Forward)*Forward).unit
  61. local Right = Up:Cross(Forward).unit
  62. Forward = -Forward
  63. Right = -Right
  64. 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)
  65. end
  66.  
  67. function look(CFr,Vec2)
  68. local A = Vector3.new(0,0,0)
  69. local B = CFr:inverse()*Vec2
  70. local CF = look2(A,Vector3.new(A.X,B.Y,B.Z))
  71. if B.Z > 0 then
  72. CF = CFr*(CF*CFrame.Angles(0,0,math.pi))
  73. elseif B.Z == 0 then
  74. if B.Y > 0 then
  75. CF = CFr*CFrame.Angles(math.pi/2,0,0)
  76. elseif B.Y < 0 then
  77. CF = CFr*CFrame.Angles(-math.pi/2,0,0)
  78. else
  79. CF = CFr
  80. end
  81. end
  82. local _,_,_,_,X,_,_,Y,_,_,Z,_ = CF:components()
  83. local Up = Vector3.new(X,Y,Z)
  84. local Forward = (Vec2-CFr.p).unit
  85. local Right = Up:Cross(Forward)
  86. Forward = -Forward
  87. Right = -Right
  88. 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)
  89. end
  90.  
  91. function simulate(j,d,m,r,t)
  92. local joint = j
  93. for i,v in ipairs(t) do
  94. if v[1]:FindFirstChild("Weld") then
  95. local stiff = m.CFrame.lookVector*0.03
  96. if i > 1 then joint = t[i-1][1].CFrame*CFrame.new(0,0,d*.5) end
  97. local dir = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).unit
  98. local dis = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).magnitude
  99. local pos = joint.p+(dir*(d*0.5))
  100. --if v[1].CFrame.y<=workspace.Base.CFrame.y then pos = joint.p+(dir*(d*.5)) end
  101. local inv = v[1].Weld.Part0.CFrame
  102. local rel1 = inv:inverse()*pos
  103. local rel2 = inv:inverse()*(pos-(dir*dis))
  104. local cf = look(CFrame.new(rel1),rel2)--CFrame.new(pos,pos-(dir*dis))*CFrame.fromEulerAnglesXYZ(r.x,r.y,r.z)
  105. v[1].Weld.C0 = cf
  106. v[2] = inv*cf
  107. --v[1].CFrame = cf
  108. end
  109. end
  110. end
  111. for i=1,8 do
  112. local p = Instance.new("Part",char)
  113. p.Anchored = false
  114. p.BrickColor = BrickColor.new("Institutional white")
  115. p.CanCollide = false
  116. p.FormFactor="Custom"
  117. p.Material = "SmoothPlastic"
  118. p.TopSurface = "SmoothNoOutlines"
  119. p.BottomSurface = "SmoothNoOutlines"
  120. p.RightSurface = "SmoothNoOutlines"
  121. p.LeftSurface = "SmoothNoOutlines"
  122. p.FrontSurface = "SmoothNoOutlines"
  123. p.BackSurface = "SmoothNoOutlines"
  124.  
  125. p.Size=Vector3.new(2,.2,0.2)
  126. p:BreakJoints() -- sometimes the parts are stuck to something so you have to breakjoints them
  127. mesh = Instance.new("BlockMesh",p)
  128. mesh.Scale = Vector3.new(1,1,4)
  129. local w = Instance.new("Motor6D",p)
  130. w.Part0 = aa1[i-1] and aa1[i-1][1] or torso
  131. w.Part1 = p
  132. w.Name = "Weld"
  133. --table.insert(aa1,p)
  134. aa1[i] = {p,p.CFrame}
  135.  
  136. end
  137. game:service"RunService".Stepped:connect(function()
  138. simulate(torso.CFrame*CFrame.new(0,0.9,.5),.6,torso,Vector3.new(),aa1)
  139. end)
  140. bb.AlwaysOnTop = true
  141. bb.Size = UDim2.new(0,200,0,50)
  142. bb.StudsOffset = Vector3.new(0,1,0)
  143. gui=Instance.new("TextBox",bb)
  144. gui.Text = "* "
  145. gui.Size = UDim2.new(0,133,0,45)
  146. gui.Position=UDim2.new(0,57,0,-40)
  147. gui.TextColor3 = Color3.new(255,255,255)
  148. gui.BackgroundColor3=Color3.new(0,0,0)
  149. gui.TextWrapped = true
  150. gui.TextScaled = true
  151. gui.TextXAlignment = "Left"
  152. gui.TextYAlignment = "Top"
  153. gui.Visible = false
  154. gui.BorderColor3 = Color3.new(0,0,0)
  155. punch2 = true
  156. gui1=Instance.new("TextButton",bb)
  157. gui1.Position=UDim2.new(0,5,0,-43)
  158. gui1.Size = UDim2.new(0,190,0,51)
  159.  
  160. gui1.TextColor3 = Color3.new(255,255,255)
  161. gui1.BackgroundColor3=Color3.new(255,255,255)
  162. jump2 = true
  163. gui1.Visible = false
  164. img = Instance.new("ImageLabel",bb)
  165. img.Size = UDim2.new(0,46,0,47)
  166. img.Position = UDim2.new(0,10,0,-41)
  167. img.Image = "rbxassetid://447301252"
  168. img.BorderColor3 = Color3.new(0,0,0)
  169. img.Visible = false
  170. soka = Instance.new("Sound",char)
  171. soka.SoundId = "http://www.roblox.com/asset/?id = 447199232"
  172. soka.Volume = 1
  173. boom = Instance.new("Sound",char)
  174. boom.SoundId = "http://www.roblox.com/asset/?id = 447041606"
  175. boom.Volume = 1
  176. boom2 = Instance.new("Sound",char)
  177. boom2.SoundId = "http://www.roblox.com/asset/?id = 449025737"
  178. boom2.Volume = 1
  179. boom3 = Instance.new("Sound",char)
  180. boom3.SoundId = "http://www.roblox.com/asset/?id = 450719019"
  181. boom3.Volume = 1
  182. tps = Instance.new("Sound",char)
  183. tps.SoundId = "http://www.roblox.com/asset/?id = 449860746"
  184. tps.Volume = 1
  185. asd = Instance.new("Sound",char)
  186. asd.SoundId = "http://www.roblox.com/asset/?id = 447310433"
  187. asd.Volume =1
  188. asd1 = Instance.new("Sound",char)
  189. asd1.SoundId = "http://www.roblox.com/asset/?id = 358280695"
  190.  
  191. asd2 = Instance.new("Sound",char)
  192. asd2.SoundId = "http://www.roblox.com/asset/?id = 386713054"
  193. asd2.Looped = true
  194. asd2.Volume = 5
  195. asd3 = Instance.new("Sound",char)
  196. asd3.SoundId = "http://www.roblox.com/asset/?id = 378387996"
  197. asd3.Looped = true
  198. asd4 = Instance.new("Sound",char)
  199. asd4.SoundId = "http://www.roblox.com/asset/?id = 401258325"
  200. asd4.Looped = true
  201. asd5 = Instance.new("Sound",char)
  202. asd5.SoundId = "http://www.roblox.com/asset/?id = 362252261"
  203. asd5.Looped = true
  204. gas = Instance.new("Sound",char)
  205. gas.SoundId = "http://www.roblox.com/asset/?id = 345052019"
  206. asd6 = Instance.new("Sound",char)
  207. asd6.SoundId = "http://www.roblox.com/asset/?id = 401258325"
  208. asd6.Looped = true
  209. function play(play)
  210. asd:Play()
  211. wait(0.05)
  212. --asd1:Play()
  213. end
  214.  
  215.  
  216.  
  217. ------------
  218. -------------------------
  219.  
  220. function stream(origin,dir,length,size)
  221. local parts = {}
  222. for i = 1,length do
  223. local p = Instance.new("Part",char)
  224. p.Anchored = true
  225. p.Transparency = 0.5
  226. p.TopSurface = 0
  227. p.BottomSurface = 0
  228. p.CanCollide = false
  229. p.BrickColor = BrickColor.new("Institutional white")
  230. p.Size = Vector3.new(10,30,10) -- for now
  231. p.CFrame = CFrame.new(origin+dir*i*size)*CFrame.Angles(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi)
  232. parts[i] = {p,CFrame.Angles(math.random()*math.pi/5,math.random()*math.pi/5,math.random()*math.pi/5)}
  233. game:GetService("Debris"):AddItem(p,3)
  234. end
  235. Spawn(function()
  236. while parts do
  237. for i,v in pairs(parts) do
  238. if v[1].Parent == char then
  239. v[1].CFrame = v[1].CFrame*v[2]
  240. else
  241. parts = nil
  242. break
  243. end
  244. end
  245. wait(0.02)
  246. end
  247. end)
  248. end
  249.  
  250. --[[-- listen for their chatting
  251. player.Chatted:connect(function(message)
  252. a = string.len(message)
  253. gui.Text = ""
  254. gui.Visible = true
  255. gui1.Visible = true
  256. des = false
  257. img.Visible = true
  258. print(a)
  259. if dot == false then
  260. gui.Text = ""
  261. for i = 1,string.len(message) do
  262. gui.Text =gui.Text..message:sub(i,i)
  263. play()
  264.  
  265. end
  266. end
  267.  
  268.  
  269. des = true
  270. end)]]--
  271. m.KeyDown:connect(function(k)
  272. if k == "g" then
  273. asd2:Play()
  274.  
  275.  
  276. end
  277. end)
  278.  
  279. m.KeyDown:connect(function(k)
  280. if k == "r" then
  281.  
  282. asd4:Play()
  283. end
  284. end)
  285. m.KeyDown:connect(function(k)
  286. if k == "q" then
  287.  
  288. asd3:Play()
  289. end
  290. end)
  291. m.KeyDown:connect(function(k)
  292. if k == "z" then
  293. img.Image = "rbxassetid://332766052"
  294.  
  295. end
  296. end)
  297. m.KeyDown:connect(function(k)
  298. if k == "c" then
  299. img.Image = "rbxassetid://447301252"
  300.  
  301. end
  302. end)
  303. m.KeyDown:connect(function(k)
  304. if k == "b" then
  305.  
  306. asd6:Play()
  307. end
  308. end)
  309. mouse = p:GetMouse()
  310. m.KeyDown:connect(function(k)
  311. if k:byte() == 48 then
  312.  
  313. hum.WalkSpeed = 100
  314. end
  315. end)
  316. m.KeyDown:connect(function(k)
  317. if k:byte() == 50 then
  318.  
  319. soka:Play()
  320. end
  321. end)
  322. m.KeyDown:connect(function(k)
  323. if k:byte() == 52 then
  324.  
  325. char.Head.face.Texture = "rbxassetid://444037452"
  326. end
  327. end)
  328. m.KeyDown:connect(function(k)
  329. if k:byte() == 51 then
  330.  
  331. char.Head.face.Texture = "rbxassetid://332768867"
  332. end
  333. end)
  334. m.KeyUp:connect(function(k)
  335. if k:byte() == 48 then
  336.  
  337. hum.WalkSpeed = 16
  338. end
  339. end)
  340. p.Chatted:connect(function(m)
  341. if m == "Okay." then
  342. soka:Play()
  343. end
  344. end)
  345. m.KeyDown:connect(function(k)
  346. if k == "x" then
  347. if des == true then
  348. gui.Visible = false
  349. gui.Text = "* "
  350. gui1.Visible = false
  351. img.Visible = false
  352. end
  353. end
  354. end)
  355. m.KeyDown:connect(function(key)
  356. if key == "j" then
  357. if tp == true then
  358. tp = false
  359. tps:Play()
  360. char.Head.face.Parent = game.Lighting
  361. for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 1
  362. end
  363.  
  364. end
  365. wait(0.5)
  366. for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 0
  367. end
  368.  
  369. end
  370. char.HumanoidRootPart.CFrame = mouse.Hit * CFrame.new(0, 3, 0)
  371. char.HumanoidRootPart.Transparency = 1
  372. game.Lighting.face.Parent = char.Head
  373. wait(0.2)
  374.  
  375. tp = true
  376.  
  377.  
  378. end
  379. end
  380. end)
  381.  
  382.  
  383. m.KeyDown:connect(function(key)
  384. if key == "t" then
  385. if punch2 == true then
  386. punch2 = false
  387. punch = false
  388.  
  389. local ChatService = game:GetService("Chat")
  390.  
  391. neck.C0 = neck.C0 * CFrame.Angles(0.3,0,0)
  392. ChatService:Chat(char.Head, "Mind if I get Serious?")
  393. wait(1)
  394. local ChatService = game:GetService("Chat")
  395.  
  396.  
  397. ChatService:Chat(char.Head ,"Killer Move: Serious Series...")
  398. wait(1)
  399. local ChatService = game:GetService("Chat")
  400.  
  401.  
  402. ChatService:Chat(char.Head, "SERIOUS PUNCH.")
  403. neck.C0 = neckp
  404. wait(0.6)
  405. org = char.Torso["Left Shoulder"].C0
  406. char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90))
  407. wait()
  408. killbrick2 = Instance.new("Part",char)
  409. killbrick2.Size = Vector3.new(80,80,9000)
  410. killbrick2.Transparency = 1
  411.  
  412. killbrick2.CanCollide = true
  413. wait(0.1)
  414. killbrick2.CanCollide = false
  415.  
  416. killbrick2.Anchored = true
  417.  
  418. killbrick2.CFrame = char.Torso.CFrame * CFrame.new(0,0,-1005)
  419.  
  420. killbrick2.Touched:connect(function(h)
  421. local x = h.Parent:FindFirstChild("Humanoid")
  422. if x then
  423. if x.Parent.Name == game.Players.LocalPlayer.Name then
  424. safe = true
  425. else safe = false
  426. end
  427. if x then
  428. if safe == false then
  429. h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * 900
  430. local bodyforc = Instance.new("BodyForce", h.Parent.Torso)
  431. boom:Play()
  432. bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0)
  433.  
  434.  
  435. wait(0.2)
  436. x.Parent:BreakJoints()
  437. wait()
  438. safe = true
  439. end
  440. end
  441. end
  442. end)
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451. local rng = Instance.new("Part", char)
  452. rng.Anchored = true
  453. rng.BrickColor = BrickColor.new("Institutional white")
  454. rng.CanCollide = false
  455. rng.FormFactor = 3
  456. rng.Name = "Ring"
  457. rng.Size = Vector3.new(1, 1, 1)
  458. rng.Transparency = 0.8
  459. rng.TopSurface = 0
  460. rng.BottomSurface = 0
  461. rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
  462. --rng.Rotation = Vector3.new(math.pi/2,0,0)
  463. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  464. local rngm = Instance.new("SpecialMesh", rng)
  465. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  466. rngm.Scale = Vector3.new(1, 1.3, 2)
  467. local rng1 = Instance.new("Part", char)
  468. rng1.Anchored = true
  469. rng1.BrickColor = BrickColor.new("Institutional white")
  470. rng1.CanCollide = false
  471. rng1.FormFactor = 3
  472. rng1.Name = "Ring"
  473. rng1.Size = Vector3.new(1, 1, 1)
  474. rng1.Transparency = 0.8
  475. rng1.TopSurface = 0
  476. rng1.BottomSurface = 0
  477. rng1.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
  478. --rng1.Rotation = Vector3.new(math.pi/2,0,0)
  479. rng1.CFrame = rng1.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  480. local rngm1 = Instance.new("SpecialMesh", rng1)
  481. rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017"
  482. rngm1.Scale = Vector3.new(1, 1.3, 2)
  483.  
  484. local p = (torso.CFrame*CFrame.new(-20,0,3))
  485. 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
  486. local p = (torso.CFrame*CFrame.new(20,0,3))
  487. stream(p.p,((p*Vector3.new(0.7,0,1))-p.p).unit,90,5) -- same here
  488.  
  489. local rng2 = Instance.new("Part", char)
  490. rng2.Anchored = true
  491. rng2.BrickColor = BrickColor.new("Institutional white")
  492. rng2.CanCollide = false
  493. rng2.FormFactor = 3
  494. rng2.Name = "Ring"
  495. rng2.Size = Vector3.new(1, 1, 1)
  496. rng2.Transparency = 0.8
  497. rng2.TopSurface = 0
  498. rng2.BottomSurface = 0
  499. rng2.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
  500. --rng1.Rotation = Vector3.new(math.pi/2,0,0)
  501. rng2.CFrame = rng2.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  502. local rngm2 = Instance.new("SpecialMesh", rng2)
  503. rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  504. rngm2.Scale = Vector3.new(1, 1.3, 2)
  505. wait(0.1)
  506.  
  507. boom3:Play()
  508. coroutine.wrap(function()
  509. for i = 1, 35, 0.5 do
  510.  
  511.  
  512.  
  513.  
  514.  
  515. rngm.Scale = Vector3.new(50 + i*2, 10 + i*2, 2.5+ i*4)
  516. rngm1.Scale = Vector3.new(50 + i*2, 1.4 + i*2, 1.4+ i*4)
  517. rngm2.Scale = Vector3.new(50 + i*2, 10 + i*2, 1.2+ i*4)
  518.  
  519. wait()
  520. end
  521. wait()
  522. rng:Destroy()
  523. rng1:Destroy()
  524. rng2:Destroy()
  525. killbrick2:Remove()
  526. wait(0.5)
  527. char.Torso["Left Shoulder"].C0 = org
  528. wait(1)
  529. punch2 = true
  530. punch = true
  531. wait()
  532.  
  533.  
  534. end)()
  535.  
  536.  
  537.  
  538. end
  539.  
  540.  
  541. wait(.1)
  542.  
  543.  
  544. end
  545. end)
  546.  
  547.  
  548.  
  549.  
  550.  
  551. m.KeyDown:connect(function(key)
  552. if key == "k" then
  553. if punch == true then
  554. punch = false
  555. org = char.Torso["Left Shoulder"].C0
  556. char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90))
  557. killbrick = Instance.new("Part",char)
  558. killbrick.Size = Vector3.new(5,1,5)
  559. killbrick.Transparency = 1
  560. killbrick:BreakJoints()
  561. killbrick.CanCollide = false
  562. local wel = Instance.new("Weld",killbrick)
  563. wel.Part0 = killbrick
  564. wel.Part1 = char["Left Arm"]
  565. wel.C0 = CFrame.new(0,1,0)
  566. force = 90
  567.  
  568. killbrick.Touched:connect(function(h)
  569. local x = h.Parent.Humanoid
  570. if x.Health >= 6000 then
  571. fling = false
  572. end
  573. if x.Health < 6000 then
  574. fling = true
  575. end
  576. local stop = h.Parent.Torso.Velocity
  577. if x.Parent.Name == game.Players.LocalPlayer.Name then
  578. safe = true
  579. else safe = false
  580. end
  581. if x then
  582. if safe == false then
  583. if fling == true then
  584. force = 900
  585.  
  586. end
  587. if fling == false then
  588. force = 200
  589. end
  590.  
  591.  
  592. h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * force
  593. local bodyforc = Instance.new("BodyForce", h.Parent.Torso)
  594. boom:Play()
  595. bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0)
  596.  
  597.  
  598. wait(0.2)
  599. x:TakeDamage(5000)
  600. wait()
  601. safe = true
  602. bodyforc:Remove()
  603. h.Parent.Torso.Velocity = stop
  604.  
  605. end
  606. end
  607. end)
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618. local rng = Instance.new("Part", char)
  619. rng.Anchored = true
  620. rng.BrickColor = BrickColor.new("Institutional white")
  621. rng.CanCollide = false
  622. rng.FormFactor = 3
  623. rng.Name = "Ring"
  624. rng.Size = Vector3.new(1, 1, 1)
  625. rng.Transparency = 0.8
  626. rng.TopSurface = 0
  627. rng.BottomSurface = 0
  628. rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
  629. --rng.Rotation = Vector3.new(math.pi/2,0,0)
  630. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  631. local rngm = Instance.new("SpecialMesh", rng)
  632. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  633. rngm.Scale = Vector3.new(1, 1.3, 2)
  634. wait(0.1)
  635.  
  636. boom2:Play()
  637. coroutine.wrap(function()
  638. for i = 1, 10, .4 do
  639. rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
  640.  
  641. wait()
  642. end
  643. wait()
  644. rng:Destroy()
  645. killbrick:Remove()
  646. wait(0.5)
  647. char.Torso["Left Shoulder"].C0 = org
  648. wait(1)
  649.  
  650. punch = true
  651. wait()
  652. end)()
  653.  
  654.  
  655.  
  656. end
  657.  
  658.  
  659. wait(.1)
  660.  
  661.  
  662. end
  663. end)
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678. m.KeyDown:connect(function(key)
  679. if key == "m" then
  680. if jump == true then
  681. jump = false
  682.  
  683.  
  684. local rng = Instance.new("Part", char)
  685. rng.Anchored = true
  686. rng.BrickColor = BrickColor.new("Institutional white")
  687. rng.CanCollide = false
  688. rng.FormFactor = 3
  689. rng.Name = "Ring"
  690. rng.Size = Vector3.new(1, 1, 1)
  691. rng.Transparency = 0.35
  692. rng.TopSurface = 0
  693. rng.BottomSurface = 0
  694. rng.Position = torso.Position - Vector3.new(0,2,0)
  695. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  696. local rngm = Instance.new("SpecialMesh", rng)
  697. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  698. rngm.Scale = Vector3.new(1, 1.3, 2)
  699. wait(0.1)
  700. BV = Instance.new("BodyVelocity", torso)
  701. BV.maxForce = Vector3.new(0,20000,0)
  702. BV.P = 1000
  703. BV.velocity = Vector3.new(0,100,0)
  704. boom:Play()
  705. coroutine.wrap(function()
  706. for i = 1, 60, 2 do
  707. rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
  708. rng.Transparency = i/60
  709. wait()
  710. end
  711. wait()
  712. rng:Destroy()
  713.  
  714. hum.WalkSpeed = 50
  715. wait(1)
  716.  
  717. for i,v in pairs(torso:GetChildren()) do if v:IsA("BodyVelocity") then
  718. v:Destroy() jumping2 = true falling = true wait(0.3) jumping2 = false falling = false wait(1.7) jump = true hum.WalkSpeed = 16 falling = false
  719. end end
  720. wait()
  721. end)()
  722.  
  723.  
  724.  
  725. end
  726.  
  727.  
  728. wait(.1)
  729.  
  730.  
  731. end
  732. end)
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739. m.KeyDown:connect(function(key)
  740. if key == "n" then
  741.  
  742. if falling == true then
  743. falling = false
  744. if jumping2 == true then
  745. jumping2 = false
  746. jump = false
  747. BV = Instance.new("BodyVelocity", torso)
  748. BV.maxForce = Vector3.new(0,-20000,0)
  749. BV.P = -1000
  750. BV.velocity = Vector3.new(0,-70,0)
  751. wait(0.6)
  752. local rng = Instance.new("Part", char)
  753. rng.Anchored = true
  754. rng.BrickColor = BrickColor.new("Institutional white")
  755. rng.CanCollide = false
  756. rng.FormFactor = 3
  757. rng.Name = "Ring"
  758. rng.Size = Vector3.new(1, 1, 1)
  759. rng.Transparency = 0.35
  760. rng.TopSurface = 0
  761. rng.BottomSurface = 0
  762. rng.Position = torso.Position - Vector3.new(0,2,0)
  763. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  764. local rngm = Instance.new("SpecialMesh", rng)
  765. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  766. rngm.Scale = Vector3.new(1, 1.3, 2)
  767.  
  768.  
  769. boom:Play()
  770. coroutine.wrap(function()
  771. for i = 1, 60, 2 do
  772. rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
  773. rng.Transparency = i/60
  774. wait()
  775. end
  776. wait()
  777. rng:Destroy()
  778.  
  779.  
  780.  
  781.  
  782. for i,v in pairs(torso:GetChildren()) do if v:IsA("BodyVelocity") then
  783. v:Destroy() wait(2) jumping2 = true hum.WalkSpeed = 16
  784. end end
  785. wait()
  786. end)()
  787.  
  788.  
  789.  
  790. end
  791.  
  792.  
  793. wait(.1)
  794.  
  795. end
  796. end
  797. end)
  798. m.KeyDown:connect(function(k)
  799. if k == "f" then
  800. asd3:Stop()
  801. asd2:Stop()
  802. asd4:Stop()
  803. asd6:Stop()
  804. asd5:Stop()
  805. end
  806. end)
  807. ------------
  808. -- ~CLarramore 2016
  809.  
  810.  
  811.  
  812. --==Made by NextFlame==--
  813.  
  814.  
  815. repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character
  816. local player=game.Players.LocalPlayer
  817. local char=player.Character
  818. local torso=char.Torso
  819. local head=char.Head
  820. local human=char.Humanoid
  821. local arm={Left=char["Left Arm"], Right=char["Right Arm"]}
  822. local leg={Left=char["Left Leg"], Right=char["Right Leg"]}
  823. local joints={LeftShoulder=torso["Left Shoulder"], RightShoulder=torso["Right Shoulder"], LeftHip=torso["Left Hip"], RightHip=torso["Right Hip"]}
  824. joints.LeftShoulder.Part0=torso
  825. joints.RightShoulder.Part0=torso
  826. joints.LeftHip.Part0=torso
  827. joints.RightHip.Part0=torso
  828. local c=function(f) Spawn(f) end
  829. local add={
  830. Part=function(par, a, c, col, t, s, cf, ms)
  831. local p=Instance.new("Part", par) pcall(function() p.TopSurface="Smooth" p.BottomSurface="Smooth" p.formFactor="Custom" p.Anchored=a p.CanCollide=c p.BrickColor=BrickColor.new(col) p.Transparency=t p.Size=s p.CFrame=cf or CFrame.new() end)
  832. local m=Instance.new("BlockMesh", p) pcall(function() m.Scale=ms or Vector3.new(1, 1, 1) end)
  833. return p
  834. end,
  835. Wedge=function(par, a, c, col, t, s, cf, ms)
  836. local p=Instance.new("WedgePart", par) pcall(function() p.TopSurface="Smooth" p.BottomSurface="Smooth" p.formFactor="Custom" p.Anchored=a p.CanCollide=c p.BrickColor=BrickColor.new(col) p.Transparency=t p.Size=s p.CFrame=cf or CFrame.new() end)
  837. local m=Instance.new("SpecialMesh", p) pcall(function() m.Scale=ms or Vector3.new(1, 1, 1) m.MeshType="Wedge" end)
  838. return p
  839. end,
  840. Gui=function(ins, par, bc, bg, tc, fs, text, t, s, pos)
  841. local g=Instance.new(ins, par) pcall(function() g.BorderColor=BrickColor.new(bc) g.BackgroundColor=BrickColor.new(bg) g.TextColor=BrickColor.new(tc) g.FontSize=fs g.Font="ArialBold" g.Text=text g.Transparency=t g.Size=s g.Position=pos end)
  842. return g
  843. end,
  844. Weld=function(par, p1, cf)
  845. local w=Instance.new("Weld", par) pcall(function() w.Part0=w.Parent or par w.Part1=p1 w.C1=cf or CFrame.new() end)
  846. return w
  847. end,
  848. Mesh=function(ins, par, s, of, t, id)
  849. local m=Instance.new(ins, par) pcall(function() m.Scale=s or Vector3.new() m.Offset=of or Vector3.new() m.MeshId=id or "" m.MeshType=t end)
  850. return m
  851. end,
  852. Sound=function(parent, id, volume, pitch)
  853. local s=Instance.new("Sound", parent) pcall(function() s.SoundId=id s.Volume=volume s.Pitch=pitch end)
  854. return s
  855. end,
  856. }
  857. local modelName="Kung Fu" --Name here
  858. pcall(function() player.Backpack[modelName]:remove() char[modelName]:remove() char["CharacterParts"]:remove() end)
  859. local model=Instance.new("Model", char) model.Name="CharacterParts"
  860. local modelB=Instance.new("Model", char) modelB.Name=modelName
  861. local bin=Instance.new("HopperBin", player.Backpack) bin.Name=modelName
  862. local skincolor="Really black"
  863. local gui=Instance.new("ScreenGui")
  864. local body={}
  865. local animate={}
  866. local obj={}
  867. --Variables--
  868. local trailDeb=false
  869. local keyDeb=false
  870. local hitDeb=false
  871. local loop=false
  872. local speed=16
  873. local combo=0
  874. local Slash=add.Sound(torso, "rbxasset://sounds//swordslash.wav", 1, 1.2)
  875. local Hit=add.Sound(torso, "http://roblox.com/asset/?id=10209225", 1, 1)
  876. function createParts()
  877. --==PARTS==--
  878. torso.Transparency=1
  879. for i, v in pairs(char:children()) do if v:isA("CharacterMesh") then v:remove() end end
  880. gui.Parent=player.PlayerGui gui.Name=modelName
  881. body.Head=add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil)
  882. body.Torso=add.Part(model, false, false, skincolor, 0, Vector3.new(2, 2, 1), nil)
  883. body.ArmLeft, body.ArmRight=add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil), add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil)
  884. body.LegLeft, body.LegRight=add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil), add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil)
  885. --==WELDS==--
  886. body.HeadW=add.Weld(body.Head, body.Torso, CFrame.new(0, 1.5, 0))
  887. body.TorsoW=add.Weld(body.Torso, torso, nil)
  888. body.ArmLeftW, body.ArmRightW=add.Weld(body.ArmLeft, body.Torso, CFrame.new(-1.5, .5, 0)), add.Weld(body.ArmRight, body.Torso, CFrame.new(1.5, .5, 0))
  889. body.LegLeftW, body.LegRightW=add.Weld(body.LegLeft, body.Torso, CFrame.new(-.5, -1, 0)), add.Weld(body.LegRight, body.Torso, CFrame.new(.5, -1, 0))
  890. --==WELDS2==--
  891. add.Weld(body.Head, head, nil)
  892. add.Weld(arm.Left, body.ArmLeft, CFrame.new(0, -.5, 0))
  893. add.Weld(arm.Right, body.ArmRight, CFrame.new(0, -.5, 0))
  894. joints.LeftHip.Part0=body.Torso
  895. joints.RightHip.Part0=body.Torso
  896. --==Sign==--
  897. body.Part=add.Part(model, false, false, "White", 0, Vector3.new(.2, 1, .2))
  898. add.Weld(body.Part, body.Torso, CFrame.new(-.25, 0, .5))
  899. body.Part=add.Part(model, false, false, "White", 0, Vector3.new(.7, .2, .2))
  900. add.Weld(body.Part, body.Torso, CFrame.new(0, -.5, .5))
  901. body.Part=add.Part(model, false, false, "White", 0, Vector3.new(.2, 1, .2))
  902. add.Weld(body.Part, body.Torso, CFrame.new(.25, 0, -.5))
  903. body.Part=add.Part(model, false, false, "White", 0, Vector3.new(.7, .2, .2))
  904. add.Weld(body.Part, body.Torso, CFrame.new(0, -.5, -.5))
  905. ---------------------------------------------------------------------------------------
  906. animate={
  907. ["Head"]=function(cf)
  908. body.HeadW.C1=CFrame.new(0, 1.5, 0)*cf
  909. end;
  910. ["Torso"]=function(cf)
  911. body.TorsoW.C1=(cf or CFrame.new()*CFrame.Angles(0, 0, 0))
  912. end;
  913. ["ArmLeft"]=function(cf)
  914. body.ArmLeftW.C1=CFrame.new(-1.5, .5, 0)*(cf or CFrame.new()*CFrame.Angles(0, 0, 0))
  915. end;
  916. ["ArmRight"]=function(cf)
  917. body.ArmRightW.C1=CFrame.new(1.5, .5, 0)*(cf or CFrame.new()*CFrame.Angles(0, 0, 0))
  918. end;
  919. ["LegLeft"]=function(cf)
  920. legLeftW=add.Weld(leg.Left, body.LegLeft, CFrame.new(0, -1, 0))
  921. body.LegLeftW.C1=CFrame.new(-.5, -1, 0)*(cf or CFrame.new()*CFrame.Angles(0, 0, 0))
  922. coroutine.resume(coroutine.create(function()
  923. wait()
  924. legLeftW:remove()
  925. end))
  926. end;
  927. ["LegRight"]=function(cf)
  928. legRightW=add.Weld(leg.Right, body.LegRight, CFrame.new(0, -1, 0))
  929. body.LegRightW.C1=CFrame.new(.5, -1, 0)*(cf or CFrame.new()*CFrame.Angles(0, 0, 0))
  930. coroutine.resume(coroutine.create(function()
  931. wait()
  932. legRightW:remove()
  933. end))
  934. end;
  935. }
  936. --==Objects==--
  937. obj.attackLabel=add.Gui("TextLabel", gui, "Really black", "Really black", "White", "Size18", "(5) Combos", 0, UDim2.new(0, 150, 0, 50), UDim2.new(0, 0, 0, 150))
  938. obj.attackLabel2=add.Gui("TextLabel", obj.attackLabel, "Really black", "Really black", "White", "Size18", "Punch[Right]", 0, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 1, 0))
  939. obj.attackLabel3=add.Gui("TextLabel", obj.attackLabel2, "Really black", "Really black", "White", "Size18", "Punch[Left]", 0, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 1, 0))
  940. obj.attackLabel4=add.Gui("TextLabel", obj.attackLabel3, "Really black", "Really black", "White", "Size18", "Kick[Right]", 0, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 1, 0))
  941. obj.attackLabel5=add.Gui("TextLabel", obj.attackLabel4, "Really black", "Really black", "White", "Size18", "Kick[Left]", 0, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 1, 0))
  942. obj.attackLabel6=add.Gui("TextLabel", obj.attackLabel5, "Really black", "Really black", "White", "Size18", "RappidKick", 0, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 1, 0))
  943. for i, v in pairs(modelB:children()) do
  944. if i==0 then return end
  945. end
  946. --==Weapon==--
  947. end
  948. function removeParts()
  949. pcall(function()
  950. if torso then
  951. joints.LeftShoulder.Part0=torso
  952. joints.RightShoulder.Part0=torso
  953. joints.LeftHip.Part0=torso
  954. joints.RightHip.Part0=torso
  955. torso.Transparency=0
  956. end
  957. player.PlayerGui[modelName]:remove()
  958. for i, v in pairs(model:children()) do v:remove() end
  959. end)
  960. end
  961. function lightningGen(startPos, endPos)
  962. local magnitude=(startPos-endPos).magnitude
  963. local distance=(startPos+endPos)/2
  964. local pattern=add.Part(workspace, true, false, "White", 1, Vector3.new(.2, .2, magnitude), CFrame.new(distance, startPos))
  965. local startPosProx=startPos
  966. for i=1, 9 do
  967. local startPosProx2=startPosProx
  968. local random=Vector3.new(math.random(-1, 1), math.random(-1, 1), math.random(-1, 1))
  969. local findSize=pattern.Size.z/10
  970. local findOffSet=pattern.CFrame.lookVector*-1
  971. local compute=i*findSize*findOffSet
  972. local newStartPos=startPos
  973. local newEndPos=CFrame.new(random+compute+newStartPos).p
  974. local magnitude=(startPosProx2-newEndPos).magnitude
  975. local distance=(startPosProx2+newEndPos)/2
  976. local lightning=add.Part(workspace, true, false, "Bright yellow", 0, Vector3.new(.2, .2, magnitude), CFrame.new(distance, startPosProx2))
  977. c(function()
  978. for i=0, 1, .1 do wait()
  979. lightning.Transparency=i
  980. end
  981. lightning:remove()
  982. end)
  983. startPosProx=newEndPos
  984. end
  985. pattern:remove()
  986. end
  987. function computePos(pos, pos2)
  988. local pos3=Vector3.new(pos2.x, pos.y, pos2.z)
  989. return CFrame.new(pos, pos3)
  990. end
  991. function nearTorso(pos, dis)
  992. local temp
  993. local distance=dis
  994. for i, v in pairs(workspace:children()) do
  995. if v:isA("Model") then
  996. temp=v:findFirstChild("Torso")
  997. local humanoid=v:findFirstChild("Humanoid")
  998. if temp and humanoid and v~=char and (temp.CFrame.p-pos).magnitude<distance then
  999. distance=(temp.CFrame.p-pos).magnitude
  1000. return temp
  1001. end
  1002. end
  1003. end
  1004. end
  1005. function trail(pos, cf, col, size)
  1006. c(function()
  1007. local old=(pos.CFrame*cf).p
  1008. while trailDeb==true do
  1009. wait()
  1010. local new=(pos.CFrame*cf).p
  1011. local mag=(old-new).magnitude
  1012. local dis=(old+new)/2
  1013. local trail=add.Part(workspace, true, false, col or "White", 0, Vector3.new(size or .2, mag, size or .2), CFrame.new(dis, new)*CFrame.Angles(math.pi/2, 0, 0)) trail.Name="Effect"
  1014. local tMesh=add.Mesh("CylinderMesh", trail, Vector3.new(1, 1, 1), nil, nil)
  1015. old=new
  1016. c(function()
  1017. for i=1, 0, -.1 do
  1018. wait()
  1019. tMesh.Scale=tMesh.Scale*Vector3.new(i, 1, i)
  1020. end
  1021. trail:remove()
  1022. end)
  1023. c(function()
  1024. for i=0, 1, .1 do
  1025. wait()
  1026. trail.Transparency=i
  1027. end
  1028. end)
  1029. end
  1030. end)
  1031. end
  1032. function rayCast(pos, dir, col)
  1033. local magnitude=(pos-dir).magnitude
  1034. local distance=(pos+dir)/2
  1035. local ray=add.Part(workspace, true, false, col, 0, Vector3.new(.2, magnitude, .2), CFrame.new(distance, pos))
  1036. return ray
  1037. end
  1038. function dmgHit(h)
  1039. local dmg=math.random(5, 10)
  1040. if keyDeb==true and h.Parent:findFirstChild("Humanoid") and hitDeb==false and h.Parent~=char then
  1041. hitDeb=true
  1042. local hHuman=h.Parent:findFirstChild("Humanoid")
  1043. local hTorso=h.Parent:findFirstChild("Torso")
  1044. hHuman.Health=hHuman.Health-dmg
  1045. local fakeM=Instance.new("Model", workspace) fakeM.Name=-dmg
  1046. local fakeH=Instance.new("Humanoid", fakeM) fakeH.MaxHealth=0 fakeH.Health=0
  1047. local effect=add.Part(fakeM, true, false, "Bright red", 0, Vector3.new(1, 1, 1), hTorso.CFrame*CFrame.new(0, 4, 0)) effect.Name="Head"
  1048. local fakeMesh=add.Mesh("CylinderMesh", effect, Vector3.new(1, .5, 1), nil, nil)
  1049. local effect=add.Part(workspace, true, false, "White", .5, Vector3.new(1, 1, 1), CFrame.new(h.CFrame.p, torso.CFrame.p)*CFrame.Angles(-math.pi/2, 0, 0))
  1050. local effectM=add.Mesh("SpecialMesh", effect, Vector3.new(1, 1, 1), nil, nil, "http://www.roblox.com/asset/?id=20329976")
  1051. c(function()
  1052. for i=1, 2, .1 do wait()
  1053. effectM.Scale=Vector3.new(i, i/2, i)
  1054. end
  1055. effect:remove()
  1056. end)
  1057. game.Debris:addItem(fakeM, 1)
  1058. wait(.1)
  1059. hitDeb=false
  1060. end
  1061. end
  1062. function idled()
  1063. animate.ArmLeft(CFrame.new(.5, 0, 0)*CFrame.Angles(math.rad(135), 0, math.rad(5)))
  1064. animate.ArmRight(CFrame.new(-.5, 0, 0)*CFrame.Angles(math.rad(135), 0, -math.rad(5)))
  1065. end
  1066. function doAttacks()
  1067. combo=combo+1
  1068. if keyDeb==false then
  1069. keyDeb=true
  1070. if combo>0 then Slash:play()
  1071. trailDeb=true
  1072. trail(body.ArmRight, CFrame.new(0, -2.5, 0))
  1073. for i=0, 1, .2 do wait()
  1074. animate.Torso(CFrame.Angles(0, math.rad(90)*i, 0))
  1075. animate.ArmRight(CFrame.Angles(math.rad(90), 0, math.rad(90)*i))
  1076. end
  1077. trailDeb=false
  1078. for i=1, 0, -.2 do wait()
  1079. animate.Torso(CFrame.Angles(0, math.rad(90)*i, 0))
  1080. animate.ArmRight(CFrame.Angles(math.rad(90), 0, math.rad(90)*i))
  1081. end
  1082. end
  1083. if combo>2 then Slash:play()
  1084. trailDeb=true
  1085. trail(body.ArmLeft, CFrame.new(0, -2.5, 0))
  1086. for i=0, 1, .2 do wait()
  1087. animate.Torso(CFrame.Angles(0, -math.rad(90)*i, 0))
  1088. animate.ArmLeft(CFrame.Angles(math.rad(90), 0, -math.rad(90)*i))
  1089. end
  1090. trailDeb=false
  1091. for i=1, 0, -.2 do wait()
  1092. animate.Torso(CFrame.Angles(0, -math.rad(90)*i, 0))
  1093. animate.ArmLeft(CFrame.Angles(math.rad(90), 0, -math.rad(90)*i))
  1094. end
  1095. end
  1096. if combo>3 then Slash:play()
  1097. idled()
  1098. trailDeb=true
  1099. trail(body.LegRight, CFrame.new(0, -2.5, 0))
  1100. for i=0, 1, .2 do wait()
  1101. animate.Torso(CFrame.new(0, -1*i, 0)*CFrame.Angles(math.rad(135)*i, math.rad(90)*i, 0))
  1102. animate.LegLeft(CFrame.new(-.5*i, 0, 0)*CFrame.Angles(0, 0, -math.rad(135)*i))
  1103. end
  1104. trailDeb=false
  1105. for i=1, 0, -.2 do wait()
  1106. animate.Torso(CFrame.new(0, -1*i, 0)*CFrame.Angles(math.rad(135)*i, math.rad(90)*i, 0))
  1107. animate.LegLeft(CFrame.new(-.5*i, 0, 0)*CFrame.Angles(0, 0, -math.rad(135)*i))
  1108. end
  1109. end
  1110. if combo>4 then Slash:play()
  1111. idled()
  1112. trailDeb=true
  1113. trail(body.LegLeft, CFrame.new(0, -2.5, 0))
  1114. for i=0, 1, .2 do wait()
  1115. animate.Torso(CFrame.new(0, -1*i, 0)*CFrame.Angles(math.rad(135)*i, -math.rad(90)*i, 0))
  1116. animate.LegRight(CFrame.new(.5*i, 0, 0)*CFrame.Angles(0, 0, math.rad(135)*i))
  1117. end
  1118. trailDeb=false
  1119. for i=1, 0, -.2 do wait()
  1120. animate.Torso(CFrame.new(0, -1*i, 0)*CFrame.Angles(math.rad(135)*i, -math.rad(90)*i, 0))
  1121. animate.LegRight(CFrame.new(.5*i, 0, 0)*CFrame.Angles(0, 0, math.rad(135)*i))
  1122. end
  1123. end
  1124. if combo>5 then
  1125. idled()
  1126. for i=0, 1, .2 do wait()
  1127. animate.Torso(CFrame.new(0, -.8*i, 0)*CFrame.Angles(math.rad(80)*i, -math.rad(90)*i, 0))
  1128. end
  1129. for i=1, 20 do wait() Slash:play()
  1130. torso.CFrame=torso.CFrame+torso.CFrame.lookVector*.2
  1131. animate.LegLeft(CFrame.Angles(math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))))
  1132. animate.LegRight(CFrame.Angles(math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))))
  1133. end
  1134. for i=1, 0, -.2 do wait()
  1135. animate.Torso(CFrame.new(0, -.8*i, 0)*CFrame.Angles(math.rad(80)*i, -math.rad(90)*i, 0))
  1136. end
  1137. end
  1138. trailDeb=false
  1139. keyDeb=false
  1140. combo=0
  1141. idled()
  1142. end
  1143.  
  1144. for i, v in pairs(player.Character:GetChildren()) do
  1145. if v:IsA("BasePart") then
  1146. v.Touched:connect(function(player)
  1147. if player.Size.X<30 then
  1148. player.Anchored = false
  1149. player:BreakJoints()
  1150. end
  1151. end)
  1152. end
  1153. end
  1154. end
  1155. bin.Selected:connect(function(mouse) createParts()
  1156. for i, v in pairs(char:children()) do if v:isA("BasePart") then v.Touched:connect(dmgHit) end end
  1157. for i=0, 1, .1 do wait()
  1158. animate.ArmLeft(CFrame.new(.5*i, 0, 0)*CFrame.Angles(math.rad(135)*i, 0, math.rad(5)*i))
  1159. animate.ArmRight(CFrame.new(-.5*i, 0, 0)*CFrame.Angles(math.rad(135)*i, 0, -math.rad(5)*i))
  1160. end
  1161. mouse.Button1Down:connect(doAttacks)
  1162.  
  1163. end)
  1164. bin.Deselected:connect(function()
  1165. for i=1, 0, -.1 do wait()
  1166. animate.ArmLeft(CFrame.new(.5*i, 0, 0)*CFrame.Angles(math.rad(135)*i, 0, math.rad(5)*i))
  1167. animate.ArmRight(CFrame.new(-.5*i, 0, 0)*CFrame.Angles(math.rad(135)*i, 0, -math.rad(5)*i))
  1168. end
  1169. removeParts()
  1170. end)--mediafire
Add Comment
Please, Sign In to add comment