Advertisement
PasterXIV

Untitled

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