Advertisement
Guest User

Untitled

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