Advertisement
voidman

Untitled

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