kjlaza

form 1

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