Advertisement
gdgrg

punchy

Aug 4th, 2019
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.36 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. local RealPlayer = Player
  4. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer end
  5.  
  6. --One Punch Man Script
  7. p = game.Players.LocalPlayer
  8. char = p.Character
  9. des = false
  10. fling = true
  11. dot = false
  12. falling = false
  13. jump = true
  14. --char.Shirt:Remove()
  15. --for i,v in pairs(char:GetChildren()) do if v:IsA("Pants") then v:Remove() end end
  16. for i,v in pairs(char:GetChildren()) do if v:IsA("Hat") then v.Handle:Remove() end end
  17. wait()--shirt = Instance.new("Shirt", char)
  18. --shirt.Name = "Shirt"
  19. --pants = Instance.new("Pants", char)
  20. --pants.Name = "Pants"
  21.  
  22. --char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=451927425"
  23. --char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=236412261"
  24. tp = true
  25. shoot = true
  26. hum = char.Humanoid
  27. punch = true
  28. neckp = char.Torso.Neck.C0
  29. neck = char.Torso.Neck
  30. hum.MaxHealth = 9999999999999999999999999999999999999999
  31. wait()
  32. hum.Health =hum.MaxHealth
  33. des = false
  34. root=char.HumanoidRootPart
  35. torso = char.Torso
  36. char.Head.face.Texture = "rbxassetid://332768867"
  37. local ChatService = game:GetService("Chat")
  38. local player = game.Players.LocalPlayer
  39. lig = Instance.new("PointLight",player.Character.Torso)
  40. lig.Color=Color3.new(255,0,0)
  41. m=player:GetMouse()
  42. bb = Instance.new("BillboardGui",player.Character.Head)
  43. bb.Enabled = true
  44. function newRay(start,face,range,wat)
  45. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  46. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  47. return rey,hit,pos
  48. end
  49. aa1={}
  50. torso=game.Players.LocalPlayer.Character.Torso
  51.  
  52. local WorldUp = Vector3.new(0,1,0)
  53. function look2(Vec1,Vec2)
  54. local Orig = Vec1
  55. Vec1 = Vec1+Vector3.new(0,1,0)
  56. Vec2 = Vec2+Vector3.new(0,1,0)
  57. local Forward = (Vec2-Vec1).unit
  58. local Up = (WorldUp-WorldUp:Dot(Forward)*Forward).unit
  59. local Right = Up:Cross(Forward).unit
  60. Forward = -Forward
  61. Right = -Right
  62. 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)
  63. end
  64.  
  65. function look(CFr,Vec2)
  66. local A = Vector3.new(0,0,0)
  67. local B = CFr:inverse()*Vec2
  68. local CF = look2(A,Vector3.new(A.X,B.Y,B.Z))
  69. if B.Z > 0 then
  70. CF = CFr*(CF*CFrame.Angles(0,0,math.pi))
  71. elseif B.Z == 0 then
  72. if B.Y > 0 then
  73. CF = CFr*CFrame.Angles(math.pi/2,0,0)
  74. elseif B.Y < 0 then
  75. CF = CFr*CFrame.Angles(-math.pi/2,0,0)
  76. else
  77. CF = CFr
  78. end
  79. end
  80. local _,_,_,_,X,_,_,Y,_,_,Z,_ = CF:components()
  81. local Up = Vector3.new(X,Y,Z)
  82. local Forward = (Vec2-CFr.p).unit
  83. local Right = Up:Cross(Forward)
  84. Forward = -Forward
  85. Right = -Right
  86. 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)
  87. end
  88.  
  89. function simulate(j,d,m,r,t)
  90. local joint = j
  91. for i,v in ipairs(t) do
  92. if v[1]:FindFirstChild("Weld") then
  93. local stiff = m.CFrame.lookVector*0.03
  94. if i > 1 then joint = t[i-1][1].CFrame*CFrame.new(0,0,d*.5) end
  95. local dir = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).unit
  96. local dis = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).magnitude
  97. local pos = joint.p+(dir*(d*0.5))
  98. --if v[1].CFrame.y<=workspace.Base.CFrame.y then pos = joint.p+(dir*(d*.5)) end
  99. local inv = v[1].Weld.Part0.CFrame
  100. local rel1 = inv:inverse()*pos
  101. local rel2 = inv:inverse()*(pos-(dir*dis))
  102. local cf = look(CFrame.new(rel1),rel2)--CFrame.new(pos,pos-(dir*dis))*CFrame.fromEulerAnglesXYZ(r.x,r.y,r.z)
  103. v[1].Weld.C0 = cf
  104. v[2] = inv*cf
  105. --v[1].CFrame = cf
  106. end
  107. end
  108. end
  109. for i=1,8 do
  110. local p = Instance.new("Part",char)
  111. p.Anchored = false
  112. p.BrickColor = BrickColor.new("Institutional white")
  113. p.CanCollide = false
  114. p.FormFactor="Custom"
  115. p.Material = "SmoothPlastic"
  116. p.TopSurface = "SmoothNoOutlines"
  117. p.BottomSurface = "SmoothNoOutlines"
  118. p.RightSurface = "SmoothNoOutlines"
  119. p.LeftSurface = "SmoothNoOutlines"
  120. p.FrontSurface = "SmoothNoOutlines"
  121. p.BackSurface = "SmoothNoOutlines"
  122.  
  123. p.Size=Vector3.new(2,.2,0.2)
  124. p:BreakJoints() -- sometimes the parts are stuck to something so you have to breakjoints them
  125. mesh = Instance.new("BlockMesh",p)
  126. mesh.Scale = Vector3.new(1,1,4)
  127. local w = Instance.new("Motor6D",p)
  128. w.Part0 = aa1[i-1] and aa1[i-1][1] or torso
  129. w.Part1 = p
  130. w.Name = "Weld"
  131. --table.insert(aa1,p)
  132. aa1[i] = {p,p.CFrame}
  133.  
  134. end
  135. game:service"RunService".Stepped:connect(function()
  136. simulate(torso.CFrame*CFrame.new(0,0.9,.5),.6,torso,Vector3.new(),aa1)
  137. end)
  138. bb.AlwaysOnTop = true
  139. bb.Size = UDim2.new(0,200,0,50)
  140. bb.StudsOffset = Vector3.new(0,1,0)
  141. gui=Instance.new("TextBox",bb)
  142. gui.Text = "* "
  143. gui.Size = UDim2.new(0,133,0,45)
  144. gui.Position=UDim2.new(0,57,0,-40)
  145. gui.TextColor3 = Color3.new(255,255,255)
  146. gui.BackgroundColor3=Color3.new(0,0,0)
  147. gui.TextWrapped = true
  148. gui.TextScaled = true
  149. gui.TextXAlignment = "Left"
  150. gui.TextYAlignment = "Top"
  151. gui.Visible = false
  152. gui.BorderColor3 = Color3.new(0,0,0)
  153. punch2 = true
  154. gui1=Instance.new("TextButton",bb)
  155. gui1.Position=UDim2.new(0,5,0,-43)
  156. gui1.Size = UDim2.new(0,190,0,51)
  157.  
  158. gui1.TextColor3 = Color3.new(255,255,255)
  159. gui1.BackgroundColor3=Color3.new(255,255,255)
  160. jump2 = true
  161. gui1.Visible = false
  162. img = Instance.new("ImageLabel",bb)
  163. img.Size = UDim2.new(0,46,0,47)
  164. img.Position = UDim2.new(0,10,0,-41)
  165. img.Image = "rbxassetid://447301252"
  166. img.BorderColor3 = Color3.new(0,0,0)
  167. img.Visible = false
  168. soka = Instance.new("Sound",char)
  169. soka.SoundId = "http://www.roblox.com/asset/?id = 447199232"
  170. soka.Volume = 1
  171. boom = Instance.new("Sound",char)
  172. boom.SoundId = "http://www.roblox.com/asset/?id = 447041606"
  173. boom.Volume = 1
  174. boom2 = Instance.new("Sound",char)
  175. boom2.SoundId = "http://www.roblox.com/asset/?id = 449025737"
  176. boom2.Volume = 1
  177. boom3 = Instance.new("Sound",char)
  178. boom3.SoundId = "http://www.roblox.com/asset/?id = 450719019"
  179. boom3.Volume = 1
  180. tps = Instance.new("Sound",char)
  181. tps.SoundId = "http://www.roblox.com/asset/?id = 449860746"
  182. tps.Volume = 1
  183. asd = Instance.new("Sound",char)
  184. asd.SoundId = "http://www.roblox.com/asset/?id = 447310433"
  185. asd.Volume =1
  186. asd1 = Instance.new("Sound",char)
  187. asd1.SoundId = "http://www.roblox.com/asset/?id = 358280695"
  188.  
  189. asd2 = Instance.new("Sound",char)
  190. asd2.SoundId = "http://www.roblox.com/asset/?id = 386713054"
  191. asd2.Looped = true
  192. asd2.Volume = 5
  193. asd3 = Instance.new("Sound",char)
  194. asd3.SoundId = "http://www.roblox.com/asset/?id = 378387996"
  195. asd3.Looped = true
  196. asd4 = Instance.new("Sound",char)
  197. asd4.SoundId = "http://www.roblox.com/asset/?id = 401258325"
  198. asd4.Looped = true
  199. asd5 = Instance.new("Sound",char)
  200. asd5.SoundId = "http://www.roblox.com/asset/?id = 362252261"
  201. asd5.Looped = true
  202. gas = Instance.new("Sound",char)
  203. gas.SoundId = "http://www.roblox.com/asset/?id = 345052019"
  204. asd6 = Instance.new("Sound",char)
  205. asd6.SoundId = "http://www.roblox.com/asset/?id = 401258325"
  206. asd6.Looped = true
  207. function play(play)
  208. asd:Play()
  209. wait(0.05)
  210. --asd1:Play()
  211. end
  212.  
  213.  
  214.  
  215. ------------
  216. -------------------------
  217.  
  218. function stream(origin,dir,length,size)
  219. local parts = {}
  220. for i = 1,length do
  221. local p = Instance.new("Part",char)
  222. p.Anchored = true
  223. p.Transparency = 0.5
  224. p.TopSurface = 0
  225. p.BottomSurface = 0
  226. p.CanCollide = false
  227. p.BrickColor = BrickColor.new("Institutional white")
  228. p.Size = Vector3.new(10,30,10) -- for now
  229. p.CFrame = CFrame.new(origin+dir*i*size)*CFrame.Angles(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi)
  230. parts[i] = {p,CFrame.Angles(math.random()*math.pi/5,math.random()*math.pi/5,math.random()*math.pi/5)}
  231. game:GetService("Debris"):AddItem(p,3)
  232. end
  233. Spawn(function()
  234. while parts do
  235. for i,v in pairs(parts) do
  236. if v[1].Parent == char then
  237. v[1].CFrame = v[1].CFrame*v[2]
  238. else
  239. parts = nil
  240. break
  241. end
  242. end
  243. wait(0.02)
  244. end
  245. end)
  246. end
  247.  
  248. --[[-- listen for their chatting
  249. player.Chatted:connect(function(message)
  250. a = string.len(message)
  251. gui.Text = ""
  252. gui.Visible = true
  253. gui1.Visible = true
  254. des = false
  255. img.Visible = true
  256. print(a)
  257. if dot == false then
  258. gui.Text = ""
  259. for i = 1,string.len(message) do
  260. gui.Text =gui.Text..message:sub(i,i)
  261. play()
  262.  
  263. end
  264. end
  265.  
  266.  
  267. des = true
  268. end)]]--
  269. m.KeyDown:connect(function(k)
  270. if k == "g" then
  271. asd2:Play()
  272.  
  273.  
  274. end
  275. end)
  276.  
  277. m.KeyDown:connect(function(k)
  278. if k == "r" then
  279.  
  280. asd4:Play()
  281. end
  282. end)
  283. m.KeyDown:connect(function(k)
  284. if k == "q" then
  285.  
  286. asd3:Play()
  287. end
  288. end)
  289. m.KeyDown:connect(function(k)
  290. if k == "z" then
  291. img.Image = "rbxassetid://332766052"
  292.  
  293. end
  294. end)
  295. m.KeyDown:connect(function(k)
  296. if k == "c" then
  297. img.Image = "rbxassetid://447301252"
  298.  
  299. end
  300. end)
  301. m.KeyDown:connect(function(k)
  302. if k == "b" then
  303.  
  304. asd6:Play()
  305. end
  306. end)
  307. mouse = p:GetMouse()
  308. m.KeyDown:connect(function(k)
  309. if k:byte() == 48 then
  310.  
  311. hum.WalkSpeed = 100
  312. end
  313. end)
  314. m.KeyDown:connect(function(k)
  315. if k:byte() == 50 then
  316.  
  317. soka:Play()
  318. end
  319. end)
  320. m.KeyDown:connect(function(k)
  321. if k:byte() == 52 then
  322.  
  323. char.Head.face.Texture = "rbxassetid://444037452"
  324. end
  325. end)
  326. m.KeyDown:connect(function(k)
  327. if k:byte() == 51 then
  328.  
  329. char.Head.face.Texture = "rbxassetid://332768867"
  330. end
  331. end)
  332. m.KeyUp:connect(function(k)
  333. if k:byte() == 48 then
  334.  
  335. hum.WalkSpeed = 16
  336. end
  337. end)
  338. p.Chatted:connect(function(m)
  339. if m == "Okay." then
  340. soka:Play()
  341. end
  342. end)
  343. m.KeyDown:connect(function(k)
  344. if k == "x" then
  345. if des == true then
  346. gui.Visible = false
  347. gui.Text = "* "
  348. gui1.Visible = false
  349. img.Visible = false
  350. end
  351. end
  352. end)
  353. m.KeyDown:connect(function(key)
  354. if key == "j" then
  355. if tp == true then
  356. tp = false
  357. tps:Play()
  358. char.Head.face.Parent = game.Lighting
  359. for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 1
  360. end
  361.  
  362. end
  363. wait(0.5)
  364. for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 0
  365. end
  366.  
  367. end
  368. char.HumanoidRootPart.CFrame = mouse.Hit * CFrame.new(0, 3, 0)
  369. char.HumanoidRootPart.Transparency = 1
  370. game.Lighting.face.Parent = char.Head
  371. wait(0.2)
  372.  
  373. tp = true
  374.  
  375.  
  376. end
  377. end
  378. end)
  379.  
  380.  
  381. m.KeyDown:connect(function(key)
  382. if key == "t" then
  383. if punch2 == true then
  384. punch2 = false
  385. punch = false
  386.  
  387. local ChatService = game:GetService("Chat")
  388.  
  389. neck.C0 = neck.C0 * CFrame.Angles(0.3,0,0)
  390. ChatService:Chat(char.Head, "Mind if I get Serious?")
  391. wait(1)
  392. local ChatService = game:GetService("Chat")
  393.  
  394.  
  395. ChatService:Chat(char.Head ,"Killer Move: Serious Series...")
  396. wait(1)
  397. local ChatService = game:GetService("Chat")
  398.  
  399.  
  400. ChatService:Chat(char.Head, "SERIOUS PUNCH.")
  401. neck.C0 = neckp
  402. wait(0.6)
  403. org = char.Torso["Left Shoulder"].C0
  404. char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90))
  405. wait()
  406. killbrick2 = Instance.new("Part",char)
  407. killbrick2.Size = Vector3.new(80,80,9000)
  408. killbrick2.Transparency = 1
  409.  
  410. killbrick2.CanCollide = true
  411. wait(0.1)
  412. killbrick2.CanCollide = false
  413.  
  414. killbrick2.Anchored = true
  415.  
  416. killbrick2.CFrame = char.Torso.CFrame * CFrame.new(0,0,-1005)
  417.  
  418. killbrick2.Touched:connect(function(h)
  419. local x = h.Parent:FindFirstChild("Humanoid")
  420. if x then
  421. if x.Parent.Name == game.Players.LocalPlayer.Name then
  422. safe = true
  423. else safe = false
  424. end
  425. if x then
  426. if safe == false then
  427. h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * 900
  428. local bodyforc = Instance.new("BodyForce", h.Parent.Torso)
  429. boom:Play()
  430. bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0)
  431.  
  432.  
  433. wait(0.2)
  434. x.Parent:BreakJoints()
  435. wait()
  436. safe = true
  437. end
  438. end
  439. end
  440. end)
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449. local rng = Instance.new("Part", char)
  450. rng.Anchored = true
  451. rng.BrickColor = BrickColor.new("Institutional white")
  452. rng.CanCollide = false
  453. rng.FormFactor = 3
  454. rng.Name = "Ring"
  455. rng.Size = Vector3.new(1, 1, 1)
  456. rng.Transparency = 0.8
  457. rng.TopSurface = 0
  458. rng.BottomSurface = 0
  459. rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
  460. --rng.Rotation = Vector3.new(math.pi/2,0,0)
  461. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  462. local rngm = Instance.new("SpecialMesh", rng)
  463. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  464. rngm.Scale = Vector3.new(1, 1.3, 2)
  465. local rng1 = Instance.new("Part", char)
  466. rng1.Anchored = true
  467. rng1.BrickColor = BrickColor.new("Institutional white")
  468. rng1.CanCollide = false
  469. rng1.FormFactor = 3
  470. rng1.Name = "Ring"
  471. rng1.Size = Vector3.new(1, 1, 1)
  472. rng1.Transparency = 0.8
  473. rng1.TopSurface = 0
  474. rng1.BottomSurface = 0
  475. rng1.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
  476. --rng1.Rotation = Vector3.new(math.pi/2,0,0)
  477. rng1.CFrame = rng1.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  478. local rngm1 = Instance.new("SpecialMesh", rng1)
  479. rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017"
  480. rngm1.Scale = Vector3.new(1, 1.3, 2)
  481.  
  482. local p = (torso.CFrame*CFrame.new(-20,0,3))
  483. 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
  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) -- same here
  486.  
  487. local rng2 = Instance.new("Part", char)
  488. rng2.Anchored = true
  489. rng2.BrickColor = BrickColor.new("Institutional white")
  490. rng2.CanCollide = false
  491. rng2.FormFactor = 3
  492. rng2.Name = "Ring"
  493. rng2.Size = Vector3.new(1, 1, 1)
  494. rng2.Transparency = 0.8
  495. rng2.TopSurface = 0
  496. rng2.BottomSurface = 0
  497. rng2.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
  498. --rng1.Rotation = Vector3.new(math.pi/2,0,0)
  499. rng2.CFrame = rng2.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  500. local rngm2 = Instance.new("SpecialMesh", rng2)
  501. rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  502. rngm2.Scale = Vector3.new(1, 1.3, 2)
  503. wait(0.1)
  504.  
  505. boom3:Play()
  506. coroutine.wrap(function()
  507. for i = 1, 35, 0.5 do
  508.  
  509.  
  510.  
  511.  
  512.  
  513. rngm.Scale = Vector3.new(50 + i*2, 10 + i*2, 2.5+ i*4)
  514. rngm1.Scale = Vector3.new(50 + i*2, 1.4 + i*2, 1.4+ i*4)
  515. rngm2.Scale = Vector3.new(50 + i*2, 10 + i*2, 1.2+ i*4)
  516.  
  517. wait()
  518. end
  519. wait()
  520. rng:Destroy()
  521. rng1:Destroy()
  522. rng2:Destroy()
  523. killbrick2:Remove()
  524. wait(0.5)
  525. char.Torso["Left Shoulder"].C0 = org
  526. wait(1)
  527. punch2 = true
  528. punch = true
  529. wait()
  530.  
  531.  
  532. end)()
  533.  
  534.  
  535.  
  536. end
  537.  
  538.  
  539. wait(.1)
  540.  
  541.  
  542. end
  543. end)
  544.  
  545.  
  546.  
  547.  
  548.  
  549. m.KeyDown:connect(function(key)
  550. if key == "k" then
  551. if punch == true then
  552. punch = false
  553. org = char.Torso["Left Shoulder"].C0
  554. char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90))
  555. killbrick = Instance.new("Part",char)
  556. killbrick.Size = Vector3.new(5,1,5)
  557. killbrick.Transparency = 1
  558. killbrick:BreakJoints()
  559. killbrick.CanCollide = false
  560. local wel = Instance.new("Weld",killbrick)
  561. wel.Part0 = killbrick
  562. wel.Part1 = char["Left Arm"]
  563. wel.C0 = CFrame.new(0,1,0)
  564. force = 90
  565.  
  566. killbrick.Touched:connect(function(h)
  567. local x = h.Parent.Humanoid
  568. if x.Health >= 6000 then
  569. fling = false
  570. end
  571. if x.Health < 6000 then
  572. fling = true
  573. end
  574. local stop = h.Parent.Torso.Velocity
  575. if x.Parent.Name == game.Players.LocalPlayer.Name then
  576. safe = true
  577. else safe = false
  578. end
  579. if x then
  580. if safe == false then
  581. if fling == true then
  582. force = 900
  583.  
  584. end
  585. if fling == false then
  586. force = 200
  587. end
  588.  
  589.  
  590. h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * force
  591. local bodyforc = Instance.new("BodyForce", h.Parent.Torso)
  592. boom:Play()
  593. bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0)
  594.  
  595.  
  596. wait(0.2)
  597. x:TakeDamage(5000)
  598. wait()
  599. safe = true
  600. bodyforc:Remove()
  601. h.Parent.Torso.Velocity = stop
  602.  
  603. end
  604. end
  605. end)
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616. local rng = Instance.new("Part", char)
  617. rng.Anchored = true
  618. rng.BrickColor = BrickColor.new("Institutional white")
  619. rng.CanCollide = false
  620. rng.FormFactor = 3
  621. rng.Name = "Ring"
  622. rng.Size = Vector3.new(1, 1, 1)
  623. rng.Transparency = 0.8
  624. rng.TopSurface = 0
  625. rng.BottomSurface = 0
  626. rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
  627. --rng.Rotation = Vector3.new(math.pi/2,0,0)
  628. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  629. local rngm = Instance.new("SpecialMesh", rng)
  630. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  631. rngm.Scale = Vector3.new(1, 1.3, 2)
  632. wait(0.1)
  633.  
  634. boom2:Play()
  635. coroutine.wrap(function()
  636. for i = 1, 10, .4 do
  637. rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
  638.  
  639. wait()
  640. end
  641. wait()
  642. rng:Destroy()
  643. killbrick:Remove()
  644. wait(0.5)
  645. char.Torso["Left Shoulder"].C0 = org
  646. wait(1)
  647.  
  648. punch = true
  649. wait()
  650. end)()
  651.  
  652.  
  653.  
  654. end
  655.  
  656.  
  657. wait(.1)
  658.  
  659.  
  660. end
  661. end)
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672.  
  673.  
  674.  
  675.  
  676. m.KeyDown:connect(function(key)
  677. if key == "m" then
  678. if jump == true then
  679. jump = false
  680.  
  681.  
  682. local rng = Instance.new("Part", char)
  683. rng.Anchored = true
  684. rng.BrickColor = BrickColor.new("Institutional white")
  685. rng.CanCollide = false
  686. rng.FormFactor = 3
  687. rng.Name = "Ring"
  688. rng.Size = Vector3.new(1, 1, 1)
  689. rng.Transparency = 0.35
  690. rng.TopSurface = 0
  691. rng.BottomSurface = 0
  692. rng.Position = torso.Position - Vector3.new(0,2,0)
  693. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  694. local rngm = Instance.new("SpecialMesh", rng)
  695. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  696. rngm.Scale = Vector3.new(1, 1.3, 2)
  697. wait(0.1)
  698. BV = Instance.new("BodyVelocity", torso)
  699. BV.maxForce = Vector3.new(0,20000,0)
  700. BV.P = 1000
  701. BV.velocity = Vector3.new(0,100,0)
  702. boom:Play()
  703. coroutine.wrap(function()
  704. for i = 1, 60, 2 do
  705. rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
  706. rng.Transparency = i/60
  707. wait()
  708. end
  709. wait()
  710. rng:Destroy()
  711.  
  712. hum.WalkSpeed = 50
  713. wait(1)
  714.  
  715. for i,v in pairs(torso:GetChildren()) do if v:IsA("BodyVelocity") then
  716. v:Destroy() jumping2 = true falling = true wait(0.3) jumping2 = false falling = false wait(1.7) jump = true hum.WalkSpeed = 16 falling = false
  717. end end
  718. wait()
  719. end)()
  720.  
  721.  
  722.  
  723. end
  724.  
  725.  
  726. wait(.1)
  727.  
  728.  
  729. end
  730. end)
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737. m.KeyDown:connect(function(key)
  738. if key == "n" then
  739.  
  740. if falling == true then
  741. falling = false
  742. if jumping2 == true then
  743. jumping2 = false
  744. jump = false
  745. BV = Instance.new("BodyVelocity", torso)
  746. BV.maxForce = Vector3.new(0,-20000,0)
  747. BV.P = -1000
  748. BV.velocity = Vector3.new(0,-70,0)
  749. wait(0.6)
  750. local rng = Instance.new("Part", char)
  751. rng.Anchored = true
  752. rng.BrickColor = BrickColor.new("Institutional white")
  753. rng.CanCollide = false
  754. rng.FormFactor = 3
  755. rng.Name = "Ring"
  756. rng.Size = Vector3.new(1, 1, 1)
  757. rng.Transparency = 0.35
  758. rng.TopSurface = 0
  759. rng.BottomSurface = 0
  760. rng.Position = torso.Position - Vector3.new(0,2,0)
  761. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  762. local rngm = Instance.new("SpecialMesh", rng)
  763. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  764. rngm.Scale = Vector3.new(1, 1.3, 2)
  765.  
  766.  
  767. boom:Play()
  768. coroutine.wrap(function()
  769. for i = 1, 60, 2 do
  770. rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
  771. rng.Transparency = i/60
  772. wait()
  773. end
  774. wait()
  775. rng:Destroy()
  776.  
  777.  
  778.  
  779.  
  780. for i,v in pairs(torso:GetChildren()) do if v:IsA("BodyVelocity") then
  781. v:Destroy() wait(2) jumping2 = true hum.WalkSpeed = 16
  782. end end
  783. wait()
  784. end)()
  785.  
  786.  
  787.  
  788. end
  789.  
  790.  
  791. wait(.1)
  792.  
  793. end
  794. end
  795. end)
  796. m.KeyDown:connect(function(k)
  797. if k == "f" then
  798. asd3:Stop()
  799. asd2:Stop()
  800. asd4:Stop()
  801. asd6:Stop()
  802. asd5:Stop()
  803. end
  804. end)
  805. ------------
  806. -- ~CLarramore 2016
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement